skysight-inc/HackerNews huggingface dataset:
getDerivedStateFromProps , getSnapshotBeforeUpdate

Java is leaking on the client side ...
A Simple Blockchain in Kotlin – Proof of Work and Public API
1) On average the Uber car had to be intervened every 20 km or so. That's every 20-30min. If it happens that often, the additional driver would have to be doing something regularly during the day. Not looking so often at the road is dangerous. Uber should've been monitoring for this as well, just like they do with train drivers.

2) The train drivers in Europe are specifically hired to do just that. The ones in Netherlands are tested yearly. They're put on suspension when they run a red sign. Every so often they have to go through a special test for their attention span training. Uber obviously didn't do any of that.
When you get off the plane in a new country, not having an immediate SIM card at the airport often means the exchange rate will be 10% above, the SIMs sold at the airport will be $10 above their normal price, and the taxi will cheat you by $10 more. Just the feeling of not being cheated is worth a fee. Plus you can check the route that the taxi driver uses, even you can share your location if a fake taxi tries to kidnap you (ever traveled in Mexico?).
> The sharing largely flows one way.

While this may hit on our sense of fairness, it has no relation to legal "fair use". My political parody show owes no profits to the subjects of my derision, IoW.
Show HN: The Green Tea Licence
Please replace this link to the New York Times with something without a Paywall.
Apparently every self driving company does that. So e.g. Waymo also disables such safety systems.
Blinding laser weapons are banned from use by most UN members due to the 1995 Protocol on Blinding Laser Weapons. Although I guess it's only for "permanently" blinding weapons, so temporary blinding (ala a flashbang) might be permissible?
Mapping SSH and Telnet Bots
The thing is that any other industry that works like this(we have to accept some people will be hurt/die to achieve progress) - like the medical testing industry - is extremely heavily regulated and most crucially, all participants in testing are consenting to being tested. Letting autonomous cars on public roads is testing it on people who have not consented being tested on. If I get hit by an autonomous car I really don't care that thanks to this Uber/Google/Waymo/Whoever gets to improve their algorithm. I don't care how they want to do it - but I don't want them testing this stuff on public roads.
The whole paragraph makes me wonder what went through the author's head …

>And fuck Sony Pictures. They make the worst fucking movies. What does that have to do with free software? Not much. Maybe use free software to make great movies and don't waste money going to a Sony movie? Fuck.

>And fuck Dave Morin. And Gary Vaynerchuk. Ugh.
Indeed, it's dc. Muscle memory knows which one I use.
What do you mean? This has been working since way before 1.0.
Gun companies are a bad analogy because they are one of the only exceptions to having legal liability when their products kill people. Almost every other industry can be held liable if their product kills someone.
Atleast for regulations like these, yeah. Big corps like facebook don't care if they get hit with 200 M€. 4% of Facebook's global turnover however...

I'm sure the EU will find some way to spend 2 billion € for something useful. (13% of their net income btw)
If we can make cars that actually drive themselves, I'm sure we can make them refuse to run if there are serious maintenance issues.
It depends hugely on the conditions. Fuel tanks (car or otherwise) containing petrol are most dangerous when nearly empty, and even then the air/fuel ratio needs to be exactly right. If it is, though, it's possible to get your movie-style explosion... just not very likely.
What’s that old saying; “Fix the problem, not the blame”?
reflash the $20 WYZE cameras with https://openip.cam/ and then capture the RTSP stream.
Saudi Arabia, SoftBank ink deal on $200B solar project
Yep, it's like the study done by US government on the chances of accidental detonation of any of their nuclear weapons - and basically the study concluded that the chances are zero, because it hasn't happened yet(the study also found that the cold-war era weapons had no locks, no redundant fail safe mechanisms, and could be detonated by literally anyone who got their hands on one - but hey, none of them were so they must be safe!)
Realistically, are network operators going to add artificial delay to packets going through their network? If they don't get their bit, and they start slowing down communication, it would seem like market correction would solve it.
When Facebook published private messages to your timeline
Maybe I'm naive but I'm not sure how you could spin something as fundamental as "deleting does not actually delete anything" as the work of one rogue employee. What would said employee have to gain from it anyway?

I'm sure Facebook would do anything it could to work around these regulations and lobby as much as possible to have them overturned but I doubt they're reckless enough to simply ignore them and hope for the best.
So much people here mention it would be pointless to poison the profile data with noise. This is giving up before trying. In the end it's a fight of our algorithms against Facebooks. I'm quite confident who wins.
The Las Vegas shooter hit the airport's avgas containers and nothing happened.

Also IIRC Mythbusters did an episode on this.
Postgres: LLVM JIT for expression compilation and tuple deforming is committed
VR seems to “click” with me more than anyone I know personally. I’ve wondered why.
I experience vertigo exactly as I do in real life. I’m trying to use VR to overcome this.
I recently went to ‘The Void’ Star Wars - completely blew me away. Although you can do this as a four player team I went in alone the first time and really couldn’t believe it.
The second time I went with a friend and although it was more fun it was far less real (I think it was due to the sub optimal renderering of my friend in a stormstrooper outfit that was jarring.)
Because it works. Worse is better.
Very nice! Instantly made me think of that receptionist girl in Total Recall, Schwarzenegger version.

Edit, this: https://www.youtube.com/watch?v=in7QyUBV6Fk
> A 747 fits about 400 passengers and only needs 2 pilots

It needs many more than that. Depending on the workload it could be 10 or more per plane.

Consider a daily shuttle between LAX-NRT, a 11h40m flight. This will usually require 3 pilots, as pilots cannot legally fly more than 8-9 hours per day. When they arrive, the plane is turned around in a few hours and comes back - but the original crew needs rest, so at least 3 pilots have to be waiting at the other end, ready to go. And when the plane arrives back in LAX, who's going to take it back to tokyo? Those 3 are resting! So straight up that's 9 required, at an absolute minimum, with no margin for sickness or holiday.

Longer segments can require 4 pilots, so again that's 12 at an absolute minimum. Realistically speaking, depending on a whole bunch of factors, airlines would aim to actually have about 15-20 pilots per plane in a long haul heavy scenario.

And we haven't even mentioned cabin crew, which would be 12 or so on our hypothetical 747. So again, multiply that by 3 at a minimum and you've got something like 40 cabin crew per aircraft.

So 15 highly paid pilots (say 150k/yr) and 45 slightly less paid cabin crew (50k/yr) - that's close to $4.5m/yr just on crew. For ONE airplane. You've got to be making $12k/day on that plane just to pay flight staff, let alone ground staff and everything else.

In the world of narrowbodies the economics are even more brutal. If a plane's on the ground it's not making money, so say you try to have the plane in the air 10 hours a day. Due to flying limits over extended periods you would need 8 pilots to fill that with no margin, and probably 8 or so crew for a 737 with 4 active. Realistically you're looking at a crew bill of $2m/yr, or ~$35 per seat per day. Even if you manage to squeeze 7 segments out of the plane per day with 100% load factor that's $5 per ticket just on crew in a market where every single dollar counts.

Now obviously I'm grossly oversimplifying and pretty much every number I mentioned can vary - but not by all that much. I'd say those numbers are at least in the ballpark for a full service carrier and if anything the long haul estimate is probably too low - I've heard up to 24 pilots per plane for long haul carriers like the ME3. So finally the point is, crew wages absolutely make a difference!
> The difference is that Go relies on escape analysis a lot more than the JVM does, because Go's GC has much slower allocation due to not being generational.

True, but this is only a part of the story. In Java, every custom type is a reference type. This puts a lot of pressure on the GC because a lot of multiple small objects are created. Go has value types and doesn't suffer from this issue, which is a reason why having a generational GC is not that important for Go.
Hi, I’m Sophie and I work at Facebook.

The behavior here was not intentional, and we deployed a fix today so that a login that fails 2FA (even with a correct password) will not result in the reactivation of a deactivated account.

Thanks for noticing this bug and posting!
They can't. Keepass uses a Salt (and Nonce) for the key derivation. Modern settings also include Argon2 (which I have enabled for my DB), which excludes everything but CPUs from efficient cracking.

The DB attack surface is to some extend expected to be eventually obtained by an attacker. As long as your master password is nice and long, they "can't do shit" for a long long long while.
"Condor" was the name of the now defunct "Blizzard North" subsidiary.
Atlanta government just beginning to recover from ransomware attack
Last Responsible Moment (2014)
Simple Card View v0.3.0 released
There would be an adversarial neural network on the other end trying to fool the former into falsely detecting attention, i'm not sure this would end well. In the end they might have ended up with a perfectly distracted driver that shows no visible signs of inattentiveness in the interior video.

But I fully agree with the general idea: if Uber had quickly conjured up one of their glossy presentations outlining an impressive arsenal of countermeasures against safety driver inattentiveness, they would be in a much better position now. They didn't though, and everybody (including myself) is assuming that Uber just did not care: if a safety driver fails at their impossible job, it's their responsibility, not Uber's. Turns out it might still be Uber's problem though.
> IIRC the nutrient that makes cats obligate carnivores is taurine.

> That said, human edible != cat edible, don’t just feed seaweed to your cat without asking an expert

Or energy drinks.
> It's then able to install a CA root

Under what conditions does iOS allow an app to do this?
How to biohack your intelligence – with everything from sex to modafinil to MDMA
And how about in the rest of Arizona and/or the rest of the week?
I know it sounds like a first world problem but I don't like having to take care of my sim card situation when I travel.

When I fly I have enough on my mind already and I don't want to have to sorry about getting a new sim, changing plans, enabling something, changing numbers, ...

I just want my phone number, data, calls and texts. No fuss. Fi is expensive but gives me peace of mind, I never have to worry about my phone, I know it will work just as well as back home.
Celebrities die in e's
Hmm, all I can see is a brownish blurry ... uhm ... something (Chrome, Desktop). Could someone explain what we are expected to see here?
The main difference is that for search you need to specify an image to emulate it, while the RL method aim to generate new ones after observing some examples.
Nice page,
Seems very similar to https://webgradients.com
I've no idea what techniques will actually be applied by operators - I never expected middleboxes to go to the extremes they currently do either. But the technique I mentioned, of briefly delaying a short burst of packets, if done only occasionally, isn't really going to be noticed during a large transfer. I'm not claiming its a good idea though!
This is amazing, the frame-generator is so futuristic I feel like it could almost replace Frameforge as is. I can't wait to see how this matures.
Show HN: Markdown pastebin from command line
>I know there's a typescript preset for babel, and am passively interested in seeing where that goes.

That's probably going to be less popular, because with TypeScript, you often don't need Babel at all (you can transpile directly to ES5, JSX works out of the box, etc.).
Had Windows RDP at a recent client visit. According to the logs it was getting hammered. Anyone know how 3389 compares to 22 in terms of volume.
Machines cannot have an operating mode where they can kill someone, even if in the grand scheme of things they are saving lives. Prime example: Therac radiotheraphy machines - it's without a doubt that these machines have saved countless lives, but they had a weird error state where instead of treating the patient, they would kill them instead. At that point we didn't go "oh well, a human operated radiotherapy machine would have killed more people because humans are inherently worse at this stuff" - we banned all of them until the problem could be found, rectified, the solution tested and implemented. It also contributed to much stronger industry testing standards for medical devices.

I'd say an automonous car which can completely fail to react to a person in its path is firmly in the "therac-level of failure" category - even if on average they crash much less than humans do. They should all be taken off road and only allowed once we determine through rigorous industrial-level proof testing that it can't happen again.
Top Most Popular Accounting Software
Introversion and shyness are two different things.
Oscar Health raises $165M at reported $3B valuation
Why jumping to radical conclusions like smoking?
To me it looks like he's just having a vape.
Agreed.

As a manager, take the blame, pass on the fame.

In a small minority of accidents people are to blame though, usually those who are not learning and repeat the same mistakes over and over again, often due to over confidence.

Often it's coworkers who urge for action, if none taken will lead to the best people leaving - no good developers want to work with people who don't want to learn and progress forward.
Yea this is spot on and the pattern of probing the opposite argument for possible pay off is a classic contrarian move.
Train drivers are expected do just that. Driving a train has way less interaction than a car. They managed to setup a system (at least in Netherlands) where they do pay attention. Specifically hiring people based on personality/skill, various things in the train, checks, suspension when you miss a red sign, etc.

It seems Uber did none of that. It's super obvious the safety driver isn't paying attention. Why wasn't this noticed? Why wasn't a system setup to handle this? It feels like they cut corners.
Clearly he has a vendetta against key people in the industry and wishes to call them out with school-yard bully insults.
I like software tools which is handy. I needed to do mindmapping in my way and I built MindVisualizer (http://innovationgear.com/mind-mapping-software/); I needed to edit my web pages in my way and I built LIVEditor (http://liveditor.com/index.php).
MVP: What? Why? How?
Here's some open source projects I maintain that could do with more translations:

- https://github.com/homebrew/homebrew.github.io
- https://github.com/ossfriday/ossfriday/
- https://github.com/github/opensource.guide/
Or in Thiel's own(?) words: "Competition is for losers"
> A SIM-card is something you need to wait to arrive in snail mail. When going abroad you need to order one ahead of time to get a good price. Switching requires weeks of waiting for new cards to arrive, or going to a store. If you lose your device you need to wait for a replacement.

What do you mean? You just pay a small amount of money at any store/cigarette shop and you get a SIM card in 10 seconds.
Coding practices at their worst
https errror and it's not just that the certificate is unknown.
How to Choose the Best Web Hosting Company
Online Chinese Learning for Kids – Lingo Bus
Online children mandarin chinese learning courses overview – Lingo Bus
You've described "Top Down" and "Bottom Up" means of knowledge production. Often cast as rationalism and empiricism respectively. One favours knowledge that is known already and seeks to generalise that to explain the world, and the other favours knowledge that is produced trying to deal with specific problems on a case-by-case basis.

Each approach has it's conceits, strengths and weaknesses but truth emerges where these are reconciled and a synthesis is arrived at.
Before I get the chance to read the book, can you please explain in short what von Braun wanted that wouldn’t be a Moon race?
From what I understood elsewhere, the numbers in that article are about different measures (apples vs oranges comparison).

Article states:

> 5,600 miles before the driver had to take control from the computer to steer out of trouble

Apparently they have a number for a) number of miles per intervention and b) number of miles per intervention to prevent an accident. Waymo's number is measure b, Uber's number if measure a.
Adorable 3D Animal Print Penties with Ears
Startup? Need Funding?
> Machnes cannot have an operating mode where they can kill someone.

I agree that they shouldn’t, but they certain do. Strangely we seem fairly ok with devices that kill us when we use them wrong (eg cars, power tools, weapons) but we are outraged when devices that make decisions for themselves kills us. For the victim it’s little different, but somehow it is.
I agree, another option is needed for a previous social network to die. Hope whatever is the next one is a federated one, that works like emails (SMTP) under the hood.
I agree with you on "open source", that term was basically introduced by the OSI and people still stick to the OSI definition, but I cannot agree with you on the term "free", that word has a very long history of meaning gratis long before the FSF.
Was Social Media a Mistake?  Heres an Experiment to Find Out
Looks like this app is the one mentioned in that article. They appear to do both Safari content blocking and use the VPN profiles to block DNS requests (as in no traffic hits their servers).
Thanks. I'm not the greatest fan of your employer/product but it's great that you are responsive to stuff like this.

Out of curiosity, is the inability to log in with recovery codes also a bug? The help page I linked to explains the process for getting recovery codes, but when I was attempting to log in I couldn't find any option to actually use one. The 2FA input wouldn't accept an 8 digit code. Maybe I was missing something obvious.

Perhaps this is something that only happens with deactivated accounts? (Although people with deactivated accounts are arguably the group most likely to need recovery codes).
PickleJar Studio – aims to improve TDD/BDD process management
What do you do if a user slightly mistypes the correct song title?
A Million Dollar Donation from OmiseGo for World's “Extreme Poor”
That’s how awful cell carrier oligopoly is here. Wired internet is even worse, even in Silicon Valley. I have the choice of Comcast 100mbit Internet (used to be ~20mbit a few years ago) for ~$80 USD per month or nothing. Literally my only real high-speed choice is Comcast in every apartment I’ve rented in the Bay Area in the past 6 years. Many friends are in the same situation.

Think about that: ISPs in the US are so firmly entrenched, so highly organized and with such strong lobbies that even in the Bay Area it’s awful.

I want to believe that this will change, but I’ll bwlieve it when I see it. Google tried, and it looks like they’re scaling down their expectations for G Fiber rollouts. Wireless likely can’t work without some quantum leap in the tech, and the infra costs for a buildout are MASSIVE (on the order of tens-hundreds of billions for a nation wide network) plus you need permits for every eyesore tower that every city will individually fight you on. These are just some of the reasons that all the people and all the money in the valley can’t fix US ISPs.
This is what happens when you don't have a QA department.
> we don't stop using trains, or buses when a pedestrian makes an error and gets killed

This isn't about autonomous cars as a general mode of transport, it's about Uber's autonomous cars specifically.

If Uber's cars are more dangerous than human-driven cars, then Uber's cars shouldn't be on public roads.

Waymo's cars can continue to operate since from all reports it appears they've been appropriately conservative when managing risk.

And don't blame the pedestrian. There was plenty of time to stop or swerve to keep this woman alive, but Uber's systems and "safety driver" failed miserably.
Probably it doesn't and will die early.
So what you're saying is that Stoicism is not only a philosophy for soldiers and prisoners, but for sysadmins as well.
6 Common Pitfalls of Cloud Migration You Should Avoid
Have you read Religion for Atheists by Alain de Botton? You don’t have to be an atheist to enjoy it but it does have an interesting view on the void that you mentioned.

In some places there are even “church”/gatherings for non-religious people called Sunday Assembly
Apps can do this by presenting a configuration profile to the user. This requires entering the passcode and a few steps - it’s not something they can do silently.
Make it optional then. If it's not tagged it won't show up for people that filter but for anybody else it will.
A bit offtopic, but anyway:

The more I use the command line, the more I type full path on my commands. So (when I recall them from history) I can run them from anywhere.

Next step is to store path in variables, and my command lines contain the variable instead of the path (depending whether I want the history to include the variable or the path, I will Ctrl-Alt-e the commande line before running it).

Next step is to define functions to aggregate several command lines together. And be able to replay them later. (I built a small utility to make it super simple, otherwise it is a complex time-consuming process to define and manage functions in shell).

Next step is to separate those functions into several local accounts, so tasks (and bash history) are cleanly separated.

Next step is to use screen/tmux to have one (or more) shell open for all those local accounts. (i usually have a "master" tmux, with one window per user, and each user can launch its own tmux inside it).

That sounds insanely complex. But I find a kind of calmness now.
My tasks are organized by user, histories are very semantic (each command line is a function name, very few "cd" or other non-meaningful commands).

And when I need to type commands, I think whether I will go the usual way (aka the _quick and dirty_ way). Or if I will build a clean workflow so I can replay my commands later.