Recent submissions

Comment · 5 years ago
Did Alpha Zero play games against Stockfish on regular PC hardware or big specialized hardware.
Comment · 5 years ago
That carfentanil looks like about a milligram, but impossible to say without knowing its density.
Comment · 5 years ago
Reddit repost bots execute with full (though unintended) support of moderators and legitimate users.
Comment · 5 years ago
You forgot to add /s to the end of your comment.
Comment · 5 years ago
"memory issue" seems overly broad or vague.
Comment · 5 years ago
Doesn't that apply only to older phones?
Comment · 5 years ago
I once had auto reset enabled on my phone after 10 attempts, and then somehow while it was in my gym bag it proceeded to accidentally get buttons pressed and reset itself. Better to set that number to 1000 instead of 10.
Comment · 5 years ago
Doesn't that require the device to have been unlocked in the first place?
Comment · 5 years ago
For advanced players do the 9+ discs perform better?
Comment · 5 years ago
The first gen of PS3 included a PS2 on board.
Comment · 5 years ago
OK, I must have mistaken what the original was, because I thought it was like this:

processWidget(new Widget, priority());

I think I saw the above code elsewhere.

Comment · 5 years ago
> Is now impossible

I don't see how that is so. C++ 17 allows new Widget to complete and then the priority() call to execute and throw before both are passed to shared_ptr(), thus creating a leak. Your cited example [1] doesn't leak because both arguments are shared_ptr. Seems to me that C++ 17 does indeed solve this latter case but not the former.

Comment · 5 years ago
I'm not arguing this change as good or bad, but the pattern of one or two key people deciding something and others getting on board to implement it is common.
Comment · 5 years ago
> Am I the only person who likes this change?

yes

Comment · 5 years ago
I'm not convinced.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton