skysight-inc/HackerNews huggingface dataset:
Show HN: An example GraphQL server written in Rust
> until the pilot agreed to open the door

That's the problem -- that there was a door that could be opened. It seems to me that there shouldn't be. The pilots should have their own separate entrance from the exterior of the aircraft.
The cost is in typing effort, fluency, legibility and complexity. There is no Good reason to prefix every field access with get, and end it with (). It’s five more keys to type and makes the code more verbose.

thing.getId() is longer and less readable than “thing.id”.

Why does the compiler have to spend time inlining the call? Can you guarantee that it does?

IMO the question shouldn’t be “what is the cost of this complexity?” The question should be, “what is the benefit?”. And in 20+ years of java dev, I just don’t see any benefit in accessor methods at all. We never wire up our components with JavaBeans introspection... so why do we keep this nonsense going?
That assumes they have bandwidth graphs. And sure, ES generates a lot of logs, but have you ever tried using them to investigate an exposure like this? Unless the “xpack.security” module is on (off by default), it’s nothing useful.
"similar incidents issue while in HP"

Considering the politics at HP and all the crazy things that happened, I'm not sure journalists were were even required to get less than positive news out of HP. Plenty of folks inside HP playing games there before and after she left.
Will fix the name! Thanks for catching
In what way do you think I present a caricature of feminism? Where would "non-caricature" feminism differ from my presentation?
Sure, if you can find an edge case, then yeah, I guess. But in the great bulk of cases, people could get another job if they put effort into it, even parents.
Read the post before you get your knickers in a twist. The purpose of this change is so a special type of business client can allow their employees to search not just the web, but also their company’s internal resources.

Considering that most businesses provide their employees with company laptops, this isn’t something that is going to affect consumers.
Do they really? Students who have taken an applied ethics class may be faced with inconvenient truths, like:

- There is no universal truth (like "killing is bad"). Whatever "bad thing" people are concerned that tech companies are doing might not actually be bad in context. Perhaps there are multiple contexts, and possibly unknown states, creating a multitude of potential ethical states for a single "thing". This may conflict with the very reason they're getting interested in ethics, creating a dilemma (and possible paradox).

- Ethics is uncomfortable, because you find yourself wrestling with questions like whether the "greater good" is more important than "individual good", or who should have rights, and what kind, and why.

- You find that what are often generally-held truths are in fact not true when taken under study with evidence, so you have to decide whether you will accept a generally-held truth or a truth backed by evidence, and when there is no evidence, what to do.

- It could be that Mozilla is just trying to influence people into not taking certain jobs at specific companies so they can achieve whatever their own organization's goals are. If so, what does that say of Mozilla's ethics?

- You may not find any answers, and still have to decide what to do with a dilemma.
Thanks for a shout-out to Simply Fortran! I'm the primary developer behind it (had to finally create an account to reply...), and we're always trying to improve the development environment.
Amazon does provide a mechanism to define private networks disconnected from the internet.

https://aws.amazon.com/vpc/
What are you using to tag things in this way? I agree entirely and would love to build a collection of "this one gets it"
The sentiment is fine, but after someone knows the original context attributing this sentiment to Franklin out of context seems dishonest.
Editorialized titles violate HN guidelines.
This is a quite good list of recommendations!
what kinds of ideas?
I’ve had some great experiences with public transit in some of the cities you listed, and I would never suggest trying to replace those well-working systems. However a lot of cities have really broken public transit that almost nobody uses, and are dominated by people driving solo in gasoline-fueled cars.
I know full well it could've been accessed, I never rejected such a possibility. I'm just saying that so far, there is no sign that the data has been dumped anywhere. It could exist, but right now we can't "grep through it" because there isn't a dump of it in the wild yet.
and hence, you can't use the "i'm only doing my job" excuse.
> but if all the IPs you visit are in AWS (and their ilk) over 443 (including real time communication protocols), it becomes meaningless.

Perhaps, but what about all the traffic that doesn't go to AWS or use port 443? The vast majority of my traffic doesn't do those things, and very probably won't within my lifetime.
Comparison of I2C and SPI: https://news.ycombinator.com/item?id=9303405
Since it has GPS coordinates, is in a standardized format, and generated by default on most phones, they probably are.
My friends and I were looking for a free solution. We tried WhatsApp for a bit but eventually stuck with Discord despite the quality because it allows us to just hop on and off arbitrarily. Nobody has to set up calls with the exact participants and do that all over again if someone else joins.
Surveillance is not about security!

It's about control.

Security is just how it's sold to the public, the politicians, etc.
Which you can still totally do with zero effort? Razor blades/utility blades don't really show up well on the xray machines. If you know how the machines work you can get one through 100% of the time.

Also, they don't forbid you from bringing an abrasive stone through with which you can make a shiv out of LITERALLY ANYTHING.

What's changed is twofold. Physical access to the cabin, and the knowledge that no pilot will ever let another soul onto the flight deck no matter how many people they can shiv to death.
> recommend that anybody who wants to avoid criminal charges should not base any decisions on your definition of a personal transaction.

Well of course
“Like” at Your Own Risk
So great! I believe it could also show the difference between quiet and signaling NaN
Awesome. It would be cool to incorporate it into the Wikipedia article (or at least, link to it).
How Saudi Arabia Allegedly Hacked Jeff Bezos Through WhatsApp
I have to disagree. The role of (this kind of) "gotcha" is to say,

"Hey, you're asking something unrealistic; people are under the same constraints that lead you to do what you advised against. How can you expect us to operate under constraints even you can't live up to? Isn't that a prerequisite to giving such advice?"

With that said, I don't think executive pay with layoffs is a good example of unethical behavior. A better one would be their behavior in the Looking Glass/Mr. Robot extension [1] or the forced updates via a mislabeled feature to cover their own screwup [2].

If a non-profit is so careless with security to promote their marketing and analytics, why would you expect others to heed less a stronger siren's call?

[1] https://news.ycombinator.com/item?id=15931730

[2] https://news.ycombinator.com/item?id=19823701
The SF bay area in general has done very well for the past 50 years, not just 10. The San Jose house my parents bought brand new for $34k in 1973 was sold for $95k in 1978. Similar houses in that neighborhood sell for a bit over 1 million dollars today.
The pull quote at the end of the article is heart breaking. Internal employee email saying if they have to cover up one more deficiency they know they're going to hell.
So run your own VPN, at least you can minimize the trust to yourself?
Let's not add more unnecessary holes to pressurized aircraft...

Also, the pilots occasionally need to be able to get back to the cabin for troubleshooting in emergencies and to use the toilet/crew rest.
Don't forget systemic pressure to make "more baddies"!
At some point it’s the job of the government to protect people when they can’t protect themselves.

Live and let live is fine until your actions are causing people to die all over the world due to completely new, evolved and deadly viruses.

All the brutal shit starts in places like this where humans and animals are mixing in dirty environments and freak meetings literally birth a destructive new threat instantly.

So on one hand you can interpret this as a “first world comment” but on the other hand you need to acknowledge that this level of negligence is no longer limited and isolated in scope to one tiny part of the world. It goes global overnight. There is absolutely no excuse for that.
The previous Coronavirus (SARS) to come out of China was traced back to wild bats (that were not being sold in markets). It remains to be determined where 2019-nCoV originated.

Most of the diseases that come out of China and spread to any great extent are avian or swine flus, which originate in chickens and pigs on massive, largely unregulated, farms.
Octi launches social network built on AR and facial identification
And, in the event that this configuration fails to do what you expect it to you, or your network is breached via other means, you should be utilizing defense and depth and all of your DBs and other sensitive systems should require authentication.
Yup, GC bugs, mostly; some fixed, some are hard to repro...
Looks interesting, but not so easy grasp what makes it so easy and what this new method for making web apps is exactly? Bear in mind Im using a phone so that may be why.
Three things:

So much of the price of housing is related to the cost of a high value location - city center, near a transit stop, in a metro area with good jobs, near a nice natural feature, near a beach, etc.

Mobile housing that can dock somewhere cheap at night but take you into a city while you are still sleeping or allow you to commute from the comfort of bed or a desk or couch alleviates that cost by making it possible to both live and work in these high cost locations while avoiding paying for the price of land there.

Second is the added value of being able to go on vacation or visit friends while bringing your house with you.

Set a destination, go to bed, and wake up several states away in your friends driveway. Makes a trip to Chicago for the weekend much cheaper if you only need to pay for a lot to park and the cost of charging your presumably electric vehicle. As opposed to renting an Airbnb or hotel.

Third reason - climate change. If we start seeing major property value losses to coastal areas, people will start to see a lot of value in the idea of having their home be mobile.
Google Research Publications Database
It's easy to hate on those accused of heinous crimes (both the person and their employer) but what about the concept of a fair trial?

Imagine you were accused of doing something decades ago. Do you have an alibi for December 17, 1955? (adjust if you are younger, or imagine being accused of today's crime in 2077) You will have lost receipts, calendars, and ticket stubs. The people you were with, who could have served as witnesses, are long dead. You'll go up against a jury that hears a tragic story about some helpless child you supposedly harmed. Good luck with that.

It's especially bad that changes in statue of limitations don't just apply going forward. It really feels like ex-post-facto law, which is expressly forbidden by the United States Constitution. Cases from about 70 years back are pushing Scouting BSA into Chapter 11.
The biggest problem with any BSD - at least for me - is that I can't watch Netflix. I like watching crappy TV shows while I code and that only really works on Linux. I canceled my trial of Disney+ just for that reason.
I love how elegant it is!

Unfortunately it can't seem to find most cities I try. Just one example, typing "New Hartford" only finds one in Iowa, instead of listing all of them [1]. Most other medium-sized towns I tried show no results at all.

I'd also love it if there were a way to export as SVG's -- these seem like they would make amazing posters to frame.

[1] https://en.wikipedia.org/wiki/New_Hartford
If you want to prevent this without installing the Office ADMX January update, you can set the following registry entry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\office\16.0\common\officeupdate]
"preventbinginstall"=dword:00000001

Save the above in a .Reg file and execute.
Same here, was interested to see it was only certain suburbs which had the driveways mapped.
I saw a thing about Typhoid Mary a couple years back. I hadn't realized that she was contagious for most of her life.

She was a cook, and they told her she should never handle food for others again. They later caught her working with food, and she went (back) into mandatory quarantine for the last 23 years of her life. She lived to 69, having spent a little over half of her adult life imprisoned.

They had a theory that removing her gallbladder would cure her, but she refused.
Defense in depth is important. Lots of data breaches have been caused because things that should have just been viewable from a local network, weren't, or the network was compromised. Unless you think every single employee is invulnerable to spear-phishing (which is impossible), you should never be leaving anything sensitive wide open on your local network.
I think he's subtly referencing https://en.wikipedia.org/wiki/Germanwings_Flight_9525
First I'm hearing of this. Citation?
Sure, but Waymo also doesn't do manufacturing from scratch. They partner with existing manufacturers such as Chrysler for their vans, and could've easily found partners to develop more futuristic "prototypes" if they wanted.

The point still stands that it's mostly a waste of time and resources while we are still years away from fully functioning self-driving cars. You could argue that if GM has artists and designers who are bored and need a side project, it may be worth the news cycle generated by the reveal, but other than that it doesn't add much to the conversation.

There have been plenty of such prototypes; just at CES a few weeks ago, LG had an almost identical prototype [0].

[0] https://www.youtube.com/watch?v=T5SRXzAtcuY
Fuck no it hasn't...

The FAA still systematically pulls medicals for mental health issues rather than allowing treatment. If your livelihood and a couple hundred thousand dollars of debt depend on it, you'll conceal extreme depression just fine. Pilots are terrified of getting help and an absurd proportion of the community is suffering from depression as a result.
> the pilots occasionally need to be able to get back to the cabin for troubleshooting in emergencies and to use the toilet/crew rest.

Toilet, crew rest, and meals can be provided in the pilot's cabin. Troubleshooting may be a good point, but perhaps it would suffice to have a tech in the non-cabin portion of the plane.

In any case, it was just a thought. This is not an issue that I actually have a strong opinion about either way.
Nice!

Would be nice to get various 16-bit float formats as well. They're getting more and more common in graphics and NN domains.

Or perhaps generic n-width exponent and m-width mantissa.
While the tech may be impressive, this seems so creepy that I doubt it will catch on.
Isn't this overreacting?

In the US, the common flu has killed up to 61,000 people each year. This new virus has so far only killed 15 as of 2020/1/22.

https://www.cdc.gov/flu/about/burden/index.html
> Microsoft is clearly doing a lot right in terms of UX

Such as? Win 7 is generally retarded as peak Windows UX, and its main feature was undoing junk from Vista/XP before it got rejunked in 8.
Windows 8.1/10 main improvement was in undoing part of 8.
I see that it is defined as `node` in osm: https://nominatim.openstreetmap.org/details.php?place_id=164...

We need `relationship` osm type to get the boundaries...

There is an ongoing discussion on the repository to give a better fallback: https://github.com/anvaka/city-roads/issues/7
Sounds like Tildes is not the right community for you.
How can I remove the colors from the output? It's hard to read on mobile (termux).
Well, man pages cover more than just command-line utilities. These typically go in section 1 only. What about section 2 (system calls) or section 3 (library functions)? I guess the audience of this tool doesn't really need these?
Redundancies at Mixmax
> My incentive is to sell it now and make sure that it lasts long enough to build me a nice fat retirement fund. Who cares about people 200 years from now.
Mindsparkle Services, truly selected experts and services for your brand
Finding the right expert for delegating tasks from SEO or Writing to Digital Marketing was truly challenging. We went through hell & selected services and experts that significantly helped grow our business. Save yourself time searching & see our selected list of verified services that deliver results.
http://www.mindsparkle.services
Tribal knowledge is not your friend
Unless the private subnet is airgapped from the Internet, it's not a good enough separation.

Hell, even if it is airgapped, it can still be compromised by viruses on USB sticks and such.

You should never be leaving sensitive systems wide open, period, regardless of how secure you might think that network is. Thousands of data breaches have been caused because networks didn't end up being as secure or as separated as hoped for.
I stand corrected. The contiguous vector is better and more cache-friendly.

#include <chrono>
#include <iostream>
#include <memory>

static constexpr size_t MAX_NODES = 1 << 27;

struct Node {
size_t index_self;
Node** ptr_self = nullptr;
};

struct TopLevel {
Node** ptr_children;
size_t n = 0;
explicit TopLevel() : ptr_children(new Node*[MAX_NODES]) {}
~TopLevel() { delete[] ptr_children; }
void add(const std::shared_ptr<Node>& descendant) {
if (n < MAX_NODES) {
ptr_children[n] = descendant.get();
descendant->index_self = n;
descendant->ptr_self = &ptr_children[n];
n += 1;
}
}
};

int main(void) {
TopLevel top_level{};
for (int i = 0; i < MAX_NODES; ++i) {
auto node = std::make_shared<Node>();
top_level.add(node);
}
// access by pointer
{
auto t_0 = std::chrono::high_resolution_clock::now();
Node** it = &top_level.ptr_children[0];
for (int i = 0; i < MAX_NODES; ++i) {
Node* via = *(*it)->ptr_self;
it += 1;
}
auto t_1 = std::chrono::high_resolution_clock::now();
std::cout
<< "Via pointer: "
<< std::chrono::duration_cast<std::chrono::nanoseconds>(
t_1 - t_0)
.count()
<< " ns\n";
}
// access by index
{
auto t_0 = std::chrono::high_resolution_clock::now();
Node* it = top_level.ptr_children[0];
auto idx = it->index_self;
for (int i = 0; i < MAX_NODES; ++i) {
Node* via = top_level.ptr_children[idx];
idx += 1;
}
auto t_1 = std::chrono::high_resolution_clock::now();
std::cout
<< "Via index: "
<< std::chrono::duration_cast<std::chrono::nanoseconds>(
t_1 - t_0)
.count()
<< " ns\n";
}
return 0;
}

Results:

% clang++ -O3 bench.cc && ./a.out
Via pointer: 90 ns
Via index: 41 ns
You should definitely have it too, though.
Hence having two or three of them up there. They can't all be suicidal...
Very much could be! Then again, I doubt Google would want to intentionally spin technical content for its own engineers, that might have implications for its own codebase, culture, and other deliverables.
It's bad fiscal policy that's leading these trends. Our government has a huge deficit and huge debt. QE is essentially money printing, but rather than simply printing money, they (central banks) take equivalent value in assets off the market until they can be repaid the money to destroy. As so it has the same affect as inflation in the form of asset price bubbles until said money is destroyed. A large part of the FED's balance sheet is composed of mortgage backed securities and government debt, and it continues to grow with the repo stuff going on now. Other central banks around the world have been doing similar things...

When will it all end? Not sure, but the way I see it, there's 3 ways things can play out...

1) It will not end, and we continue to accept runaway inequality, where housing/healthcare/education etc. become more and more unaffordable in comparison to normal wages. Only owners of capital will be protected (i.e. stocks/assets continue to get propped up).

2) We somehow turn ship and slowly fix our fiscal problems (not going to happen so long as we have deficits). This would mean accepting economical stagnation for a long while to essentially pay off our accrued debts

3) We let things start crashing

So far 1 is playing out...
I see an empty page when I enter my city (after it downloads it, I disabled uBlock but that didn't change anything) :(
> If they had phrased this [...]

If you want to censor someone, just censor them! Trying to come up with PR gobbledygook to make the action seem less bad is lame as fuck.

That said, your actual argument about "cost" I reject. Infrastructure providers should be required to service everyone, even though some cost more than others. Indeed, that's the whole point—imagine if AT&T didn't have to handle phone service for the whole United States, and instead only did more profitable, cheaper urban centers?

I'm more than willing to pay a small amount more so that everyone is treated equally. That's just part of living in a society.
A similar probably more well presented site:
https://float.exposed/0x40490fdb
If applications can't write to the Application Data folder then what's the point of an application data folder?

> Why is this even possible?

Well they said "on execution" so that's what made it possible. Now if it could install to that location without being explicitly executed (say on download or via a browser bug) then THAT would be a much bigger deal.
Here is an attempt at a less jargon-filled summary: Nuclei have energy levels that arise from how the protons and neutrons oscillate against each other. Nuclei generally prefer to be at lower energy levels, and the transitions between levels are dictated by rules having to do with properties of the levels like spin and parity. The group used a proton accelerator to populate a particular level in a particular nucleus that is forbidden from decaying by emitting a gamma ray. They observed electrons and their antimatter counterparts coming out, which often suggests that some neutral particle produced them. Gamma rays can do this too through "pair production," but gamma rays are mass-less and carry very little momentum compared to a heavy particle of the same energy. This is where the angular correlations come in, because they are ultimately influenced by the mass of the intermediate particle. They also measured the energy of the pairs and found it to be comparable to the mass energy of the proposed X17 particle.
I think this is really interesting, and I'm not a theorist, but I don't think I'm convinced that this is necessarily evidence of a fifth fundamental force. The transition they used in 4He is really convenient from an experimental standpoint, since tritium is commonly used as a proton target to make neutrons for other experiments.
Interesting, what kind of guarantees does Rust give that Haskell's abstractions cannot do?

Haskell also has metaprogramming in terms of Generics and Template Haskell, allowing you to create custom DSLs and such. Sadly, it kind of leads to pretty ridiculous compile times and mixed editor support so I'm trying to avoid that.

We should remember productivity is really subjective and not the same thing as high level abstractions. We're typically the most productive on the language we have the most exposure to, whatever it may be.
Stack Today, Stack Tomorrow
The Attempted Corporate Takeover of .Org
That could be. I don't know. But I do know that I won't personally install or use any such devices -- the security and reliability downsides are far too severe -- so I'll need to keep WiFi. If for some reason WiFi becomes unavailable and there is no suitable substitute (even if it's one that I build myself), then I'll be back to stringing cables everywhere.