skysight-inc/HackerNews huggingface dataset:
Until we figure out immortality, everybody that is born will die. The most effective strategy currently available for preventing deaths, then, is to put an immediate moratorium on births, capping the future total number of deaths at the current world population.

If you're going to go the utilitarian route, you need a more complex utility function. Otherwise you end up with really weird badness.
NWS actually stopped using all-caps in its forecasts back in May: http://www.noaa.gov/national-weather-service-will-stop-using...
Keep in mind that autopilot is relatively young feature. This feature is a double edged sword, it helps driver that pays attention, but at the same it allows driver to be distracted.

The distraction is especially bad since most of the time the feature works well so with time it makes you less careful.
Very cool. Great work!

Small suggestion: Maybe put a link to /hidden somewhere, like the user's own profile page.
ECommerce Link Building Using Ahrefs and URL Profiler
IMHO, scheduling four people to cross a bridge with one torch is not a puzzle; it's a simple constraint satisfaction problem, one that any competent engineer should be able to solve in less than 5 minutes. If you hate problems like this or can't solve them, then as a developer, you won't be useful to your employer as more than a grunt coder. And unfortunately, most coder jobs are being outsourced rapidly.

But if algorithms are not your cup of tea, consider an alternative role where you can add value in solving problems that you like better -- like process management, data curation, UI / UX design, product development, user support, testing, etc. Not everyone who works in software has to solve math problems.
Love the collapse comments in threads feature.
Hisense Debuts World's First 4k Wide-Angle Laser Television
Why is hiding stories available to logged-out users? Reloading just makes them appear again. :p (EDIT: may be bug)

On a related tangent, why have all instances of "submissions" on HN been replaced with "stories"? It's an change which IMO does not fit the usage. (A Show HN wouldn't make sense as a "story.")
Is there a place to ask for features?
The idea of having a globally accessible Store with all the variables from the system might sound promising, but listen to me: [It's a trap!]

No doubt. This has been my biggest issue with Redux. Any tutorial pretty much says don't ever use component state. But when I couldn't come up with a good reason on why I needed to write an action creator, action, reducer, and state mapper to expand/collapse a menu, over using this.setState(), I came to the conclusion that was pretty much bs.

The article also touches on the related issue of stale state. I experienced a similar bug where modals would randomly appear. It was because the user backed out of a page with an open modal, and then revisited it, and the state was never reset, so the modal immediately opened. I understand that I need to clean up state, but in Javascript land, deconstruction/cleanup feels very unnatural.

I really think Redux is a great idea, but it has suffered from a lack of best practices and good, complex examples. The toy examples work great, but quickly break down once state gets complicated, and components become deeply nested.

Dan Abramov dropped a great piece of technology into the Javscript environment, and did that amazing time travel debug demo. The idea of an single immutable state is awesome. But he has failed to progress the project any further. In a github issue titled "Recommended usage of connect()," Dans answers a question regarding best practices with "Maybe we should just say “people have difference preferences here”."[1]

Simple things like state clean up, how best to leverage containers, what belongs in state, have all been left unanswered. Also there is a debate if data should be processed in the action creator, in middleware before the reducer, in the reducer, or with state selectors. There are so many layers to put logic, but there has never been a clear answers as to what each layer's responsibility is.

[[1]https://github.com/reactjs/redux/issues/419
I routinely do thick 100% fill parts in ABS with no issues.
if Ingress were anywhere near as popular their servers would have been down constantly and we would have heard about it being so popular...
I agree, especially when you compare with the humility in Danny Hillis' account: http://longnow.org/essays/richard-feynman-connection-machine...

"In retrospect I realize that in almost everything that we worked on together, we were both amateurs. In digital physics, neural networks, even parallel computing, we never really knew what we were doing. But the things that we studied were so new that no one else knew exactly what they were doing either. It was amateurs who made the progress."

That being said, Wolfram does have enough interesting stuff to say that I'll forgive his occasional bit of self promotion.
Good idea. Will add to list.
How is the desktop version more "actual" than the mobile version?
Huge thanks to you guys. Collapsing comments are working perfectly on iPad.
Very useful updates. Especially glad to see #2 and #3, as those have been features where I've naturally run into their absence when using HN
The article is arguing for inaction in the Trolley Problem [1]. In short: You have a choice between saving five people and letting one other person die, or doing nothing and letting five people die.

Which is a controversial position, but not stupid exactly. I would call it misguided, and certainly not a very utilitarian position. And given the options I personally would vote for the utilitarian answer: Save five people even if the one who dies wasn't otherwise threatened.

[1] https://en.wikipedia.org/wiki/Trolley_problem
U.S. law forbids doing business with designated terrorist groups. If Gaza Office Supply provided the paper used to print Hamas propaganda, they'd be on the hook, too.
I'm gonna get in trouble saying this. But IMO OpenCL needs to die. IMO it's a half-baked open standard that's hard to use relative to CUDA. IMO what needs to happen is that AMD and Intel need to provide CUDA runtime (just say no to the driver API) API interfaces to their hardware.

Evidence: OpenGL is a wonderful open standard. But OpenGL happened after nearly a decade of evolution of closed IrisGL that ironed out a lot of weird quirks that infest OpenCL to this day.

I joined the CUDA team in March of 2006 (that's why I have 14 single-inventor CUDA patents, including one that is the basis of persistent RNNS by Baidu). IMO CUDA is a mature API. And CUDA needs to escape NVIDIA's vendor lock. AMD is attempting to make this happen with HIP and ROC.

http://gpuopen.com/getting-started-with-boltzmann-components...
http://www.anandtech.com/show/9792/amd-sc15-boltzmann-initia...

IMO as CUDA team member #6, we need to help AMD with this effort. To that end, we need to let go of OpenCL: I'm sorry but it's a dead-end. And we need to get as much of the existing CUDA code out there running on AMD hardware as we can. And I hope (but I don't think they'll agree because reasons(tm)) that Intel will provide a CUDA runtime API to Xeon Phi (Knights Landing or better) because CUDA is a better API for parallel computation than any other existing contender at this point.

And that's my story and I'm sticking to it. But don't get me started on both Google and Apple refusing to expose OpenCL on mobile where it could have once made a real difference. That time has now passed. CUDA won, but we still don't have a CUDA or OpenCL interface on either Android or IOS.
There were no multi-level collapsible threads, so I'm replying to your post to see it work :)
>Save and share the best stories and comments.

Tried using different bookmarking apps etc but always prefer native saving of items on actual sites, great addition!

...Also welcome Scott!
Hm. I've been programming professionally for 36 years, just looked up the "Cheryl's Birthday" problem, and really enjoyed figuring out the solution. I wouldn't ask this sort of thing as an interview question, though, because of the odds of a "false negative".
I bet whoever has the top comment on this one is going to see their karma go up and down as everyone tests out the unvote and undown feature. :)
As someone who can never keep track of interesting links, I welcome the "favorite" functionality as another system I will use for a while, until it gets cluttered up and meaningless :) But honestly, good stuff.
Oh, they do. When someone manages to claw their way out of dirt poverty, they ended up cutting off contact with their poor relative and former friends so that they don't have to give all their newfound wealth away.
A brief overview of the Raft algorithm
Bug: This appears as a "Please read about some new features. [x]" heading, but clicking the "x" does nothing (including after page reload)

Otherwise: Awesome! The collapse feature in particular is something I've long wanted.
Agreed! While I do tell myself "right lang for the right job", I've come to the conclusion that I am lazy. :) So if Elm can run on Erlang/OTP like Elixir, that would be an interesting option for the webdev space. I don't even know if something like that is feasible, but I wonder someone's thought of such a thing?
You can set isolcpus to earmark some cores for your application, and let the kernel manage the rest.
Ah, I noticed sctb a few days ago when he posted along the lines of "we detached this thread" or something like that and wondered how many low-key or sporadic moderators there are.
Should I be able to see the unvote link on older votes or is it only available for a limited time or only on stuff voted on from now on?
Another reply for deeper testing!
Ah, I for one really appreciate the unvote feature! I have an awful habit of mis-voting or accidentally voting when I just want to see a profile. Thanks!
Is it possible through some sort of post production processing to have white individuals appear black and vice versa?

I'm curious how reactions change, if at all, when the situation is reversed.
Thanks for the submission! This is short and sweet and does what's advertised.

I also found the source code informative to show how a similar job-submission service could be constructed with python.
The Quantum Origin of Time
The persistence of collapsing is a killer feature that I wish reddit had.
Well, for one thing, because that's the "Communications Decency Act of 1996", and the US-law claims here arise under the "Anti-Terrorism Act of 2001", and one of the long-established canons of statutory construction is that, where there is a conflict, the newer enactment supercedes the older one.

For another, the suit doesn't ask for them to be "treated as the publisher or speaker" of the information, only a knowing collaborator with such a "publisher or speaker", based on their own Data Usage Policy and the manner in which they selectively promote content to particular users.
I recall vaguely that one of the reasons for not allowing collapsable comment trees in the past was related to the desire to make it difficult to continue comment trees, which was a good thing (more comments is generally bad, beyond a point, was the underlying philosophy).

Does this represent a departure from that philosophy, or was this never part of consideration for the feature?
The comment-collapsing feature is nice, but the big [-] on every comment is somewhat ugly, visually speaking.
> Reloading just makes them appear again

Well, that's true of collapsed comment threads as well, and I somehow doubt that logged-in users are the only ones who see things on the front page they'd rather not.

> why have all instances of "submissions" on HN been replaced with "stories"

Because posts to HN are either stories or comments? Happy to discuss this at hn@ycombinator.com if you want to apply some lexicographical fine points.
Nepal's Light:Earthquake Survivor Builds Life Saving Solar Powered Device
Still, the most urgently needed feature is missing: telling me which comments I haven't seen, yet. It's a constant nuisance in longer threads. Really, this is much more vital than just about every feature you've introduced over the last months.
As I see it in the picture, it's pretty obvious, that the hole moves with the handle. The indicator behind the hole is probably stationary, so moving the handle to the left makes the hole show red.
By the way I think it's standard with hot to the left and cold to the right.
Edit: He! Maybe there is no hole and the indicator is painted on the handle? If so, I agree.
Welcome Scott.
When hiding the first and then the last story, this was the result: https://news.ycombinator.com/snip-story?onop=news&id=1207282...

I guess that's not intended...
>"hire remotely and get the best of both worlds", why the first option is ever chosen?

Because while you and many others may believe you don't lose anything of significant value by giving up an office, lots of us disagree.
Well, on the web you're generally following redirects to a URL. You can verify the owner and authenticity of the host. (A phone app could kick you out to a browser app (not a web view) to authenticate.) Then after you've signed in and granted permission on, say, Google, Google will redirect you to a URL that the other app configured with Google. On a phone that URL should have a host or protocol that the app has registered with so your phone's OS will kick you back to the app after you signed in on the web browser.

Of course, you're absolutely right that it would be trivial to spoof, say, Google or Facebook or Twitter and collect credentials. I would _hope_ that behavior would be detected by Apple or Google during app security screening, but maybe not. Regardless, I totally agree with you about OAuth and security. It does present a lot of problems.
Should be able to when required, yes. But not necessarily enjoy it. There are all sorts of problems. In many cases, finding the problem is more difficult that solving it, and IMO that requires a totally different skillset altogether.
Welcome Scott. These are all good features, thanks.
And thank you for extending the test case!
Create unforgetable long passwords using a file
Great features!

Request: Feature 5 most-popular-by-day is almost exactly what I've wanted for a long time, except in RSS form - a feed that updates once per day with the top 30 stories from the previous day in the order of most time on front page. None of the external HN-specific RSS generators do it quite right.
In case anyone's interested in ready-made solutions, this company builds Interrotron-like gear:

http://eyedirect.tv/ (video overview: https://vimeo.com/108373352)
This is my first favorited story! Thanks dang and HN team!
Damn it, first bug. Ok will try to reproduce. Can I email you if we can't?

Edit: this should be fixed now. Thanks!
Cargo Cults
Why not just use Haskell for the backend? It's really not much harder than Elm, and it's considerably more flexible and general. Of course, it's lazy, not strict, and you're totally right that records in Haskell suck. But my understanding is that strictness for Elm was chosen mainly to overcome issues with FRP, which it's now abandoned. So I'm not sure if that difference matters anymore.
Given two closed intervals [a,b] and [c,d], write a simple predicate in any programming language that evaluates to TRUE if and only if the intervals overlap.
Congrats. Simple solution for big problem.
I started to read your comment, but stopped after the first sentence when you made it clear you didn't read the article.
WebStorm 2016.2 released: TypeScript 2.0, improved React support, Angular CLI
I tested it on you, and left the upvote. :)
The problem is that the collapse is on the right. It used to be this way on Reddit too, but after users complained they moved it to the left. Right now it's hard to collapse a series of top level comments in a row since you have to keep moving the mouse around a lot.

Feature request to move the collapse to the left side, like on reddit?
Suggestion: Can you move the collapse button to the left of the username? One way I tend to use nested comment threads is reading all top comments, collapsing as I go.

Great stuff, overall -- thanks!
Similarly, I created www.lite-engine.com for people who want to trivially post data to an SQLite database. I've not attracted much notice yet. I certainly appreciate any feedback on the concept!
> Here you are, on HN, saying why things aren't possible. Yet these guys are out there making them work. Food for thought

Just because someone has an idea doesn't make it a sound idea, nor legal. Changing vehicle fluids commercially in random parking lots is not allowed in a lot of places, for fairly obvious reasons.

And frankly, the company this thread is about even acknowledges the legality of what they are doing may be shaky. Driving around town with hundreds of gallons of fuel is likely to make certain regulatory bodies unhappy.

In another article, the San Franciso fire department stated fuel delivery services were not permitted[1].

[1] http://www.bloomberg.com/news/articles/2016-05-02/gas-delive...
We'll look into RSSifying this if you'll email hn@ycombinator.com to remind us.
What a tragic misnaming of a feature. I see this over and over again, people expect the "autopilot" to drive the car for them.

Naming it something like "cruise-assist" or similar would remove so much confusion and expectation.

It's a wonderful car, with great features and one terrible UX flaw in labeling a core feature.
For others interested in looking at ELM, I found Richard Feldman's walk through at NoRedInk to be a pretty convincing examination of it's usefulness:

http://tech.noredink.com/post/126978281075/walkthrough-intro...

On another note, with Web Assembly coming, I think ELM could stand to benefit greatly from compiling to WA instead of JS...but that is perhaps just me.
Will Feature #5 be available through the Firebase API?
Re: 5

> We don't have this data before 2014-11-11.

Aww bummer. Would have been cool to see what was the new shiny over time. Still a cool feature!
No, Sir, I do not like it.
One fewer now!
The "different people will die" argument has been debated for decades in the philosophical question called the "Trolley Problem." [1]

The short answer is that yes, it's generally agreed to make the active choice to save more people, even if it means different people die.

Air bags kill people sometimes in accidents where they likely wouldn't have died, but we put up with the risk because overall we're more likely to live through a serious accident. Air bags are fired off because a computer reading a sensor decides that they're needed. It's a very close analog situation, and yet the people making the moral argument against them have been downvoted to oblivion, and air bags are now mandatory.

[1] https://en.wikipedia.org/wiki/Trolley_problem
Are you saying malware apps are created inadvertently? If anything this would lead to more complex malware apps.
Pokémon Go shows that Nintendo's franchises are way bigger than its hardware
Yay, thank you HN developers, whomever you are! One more Chrome extension I can disable :-)
How long does the "unvote" option last? Permanently? If I accidentally bump the "unvote" button on a comment that's years old, can I re-apply my vote, or only if it's an upvote?
Lots of people don't fly because they are afraid of planes, for example.

Expect people to be highly resistant to that change at the beginning.
Correct. Google Drive, for example, requires fewer permissions: https://pbs.twimg.com/media/CnG3kslW8AA1iZM.jpg:large
Cops: Pokémon Go used to lure victims of armed robbery spree
Welcome Scott!
They'd want it indirectly, because they want to use or target javascript, which has always had both. There's very little reason why someone would have a primary goal of using both.
Try RES :) https://redditenhancementsuite.com/ lots of other nice features aside from collapsible comments (got no affiliation to them, just a happy user).
>> I managed to get competing bids for it from multiple companies, so the whole sale process is a story of its own.

I am interested in hearing this story! :) Thank you for the original comment as well!
It seems to work. I mean of course it will, and it's going to be a great way to skip "I'm surprised by all the negativity here" posts.
Having a Reddit-style inbox for responses to comments is urgently overdue. Most new users would never think to click on "threads" to find replies.
Intel Brings 360-Degree Replay Technology to MLB
That would certainly increase the number of accidental votes.
> its worth approaching this exciting new technology with a slightly less cavalier attitude

While I'm a huge fan of vehicle automation, I have plenty of concern that it not be commonly used until it is in fact safer overall (I allow that come circumstances become less safe while others become more). I'm not sure what "cavalier" attitude you refer to? Where, exactly, are people claiming there is no concern for safety? What legislation has been passed that is seeing through rose-colored glasses?

Heck, the death referenced in the headline got lots of attention, both in criticism and in praise of automation, so I can see a lot of conclusions from that but "cavalier" isn't one of them. Looks to me like all sorts of caution is being considered, proclaimed, and hammered.

So what cavalier attitude is there that this article, with it's admittedly weak arguments, is good to be fighting?
Just to rule out the obvious, you looked at the branch mispredict counter, right?
The device will see power, but very little else. USB chargers could leave the two data pins floating, tied together, or exhibiting various resistances between pins. Depending on what it's supposedly built for charging.

Here's a link to start you off with.

http://electronics.stackexchange.com/questions/123172/what-i...

Most usb devices will look for data before thinking about initialising.

Hard way to solve your problem:
If you wanted to power it up and set it up for a certain configuration without a PC, you'd probably be best off starting to sniff the usb bus and possibly play back the results (YMMV) with an arduino or similar.

You'd need something along the lines of a bus pirate to do all that https://en.wikipedia.org/wiki/Bus_Pirate

Less Hard Way:
Or if you're a software person, you could just sniff the usb bus of a virtual machine, but I imagine that you may miss certain bits of handshaking, then program an arduino or similar appropriately

Easier way:
If the device has linux drivers you could hunt down a raspberry pi zero (or a regular one, or beagle bone or any number of other ARM linux boards) and just drive it from that.
>You can collapse comments in threads

Oh thank you so much for this.
This would be appreciated here too. The functionality is great but it feels unnatural where it's currently positioned.
Typings is only necessary when you cannot find the d.ts files from http://microsoft.github.io/TypeSearch/.
I'm glad to see you guys finally got the resources you deserve to make these changes!

I'm also happy you guys are stealing all the best stuff from Reddit and leaving the other stuff behind. Great set of new features!
That is a subtle point and I was curious if someone would ask about it!

Unvote links last for an hour. This is because the main use of voting data is to rank posts, and that's time sensitive. If we let people go back and unvote after hours have gone by (let alone years), that would be rewriting history, or counterfactually messing with it.

Even an hour is arguably too long. Since the main purpose of this feature is to correct misclicks and over-hasty impulses, a few minutes would probably be enough.
Jesus Christ, They wants to catch 'em all
Welcome to Scott, people have long wondered whether you were using the royal "we". We'll have to start writing "Dan/Scott". :)
It looks like this can happen if you have local storage disabled (perhaps temporarily, if you're using an incognito window).
I've helped several buyers of 2-4 man companies (mainly SaaS). Feel free to reach out.
not my best analogy.