Recent submissions

Comment · 8 years ago
No the gp is correct, references in c++ can't be null. Your code invoked undefined behavior before you did anything with a reference, namely *a which is a null pointer dereference.
Comment · 9 years ago
I don't know why this was getting downvoted, because it's correct. All the banks repaid their TARP loans from the Fed at a significant profit (https://en.wikipedia.org/wiki/Troubled_Asset_Relief_Program).

Even QE, which is not a direct bailout but certainly helped banks' profits, was substantially profitable for the treasury the last I heard.

(edit) Let me add, I was no fan of the bail-outs when they happened. But I can't deny they were, in retrospect, really profitable.

Comment · 9 years ago
Comment · 9 years ago
>stable of smart people operate in the stable of the corporations writing arguments for newspapers and magazine

I'm not sure if you're suggesting Matt Levine is "in the stable of corporations", but if you read his article history, he's clearly not. One reason (among many) it's fun to read him, is his incisive criticism of his previous jobs in finance and law.

Comment · 9 years ago
Comment · 9 years ago
Comment · 9 years ago
Certainly the first thing that's apparent when watching pros play is their speed. However, after playing years of Tetris myself (though nowhere near pro level), I've really come to appeciate that speed is only a small fraction of what makes pros pro.

* Many multiplayer games give bonuses for combos (multiple consecutive line clears), T-spins, and Tetrises. Setting these up efficiently can require reading several pieces ahead and takes a ton of practice. An example where both players do a fairly elaborate setup, one with combos and the other with T-spins: https://www.youtube.com/watch?v=mASSHXLTuU4

* 20G mode, made famous by games like TGM, drastically reduces the ability to manipulate the pieces. Even surviving takes new strategies (you're forced to play a lot of strange moves), much less making tetrises like the pros do. https://www.youtube.com/watch?v=aoU0DQh7zdU

* Some multiplayer games give difficult garbage, I'm thinking of Cultris 2 specifically. Clearing garbage efficiently, known as "downstacking", requires much more careful piece placement than regular play. It's hard to appreciate from video, but if you compare pros downstacking to a normal person, you can see they use fewer pieces to clear the same amount of garbage, which is a real competitive advantage. https://www.youtube.com/watch?v=OgK4aJ_3zCw

Comment · 9 years ago
Comment · 9 years ago
I think a lot of firms already do something like that through internship programs.
Comment · 9 years ago
Comment · 9 years ago
World's Strongest Man, Mr. Olympia.
Comment · 9 years ago
Indeed, Jamaica doesn't have strong anti-doping organizations and Bolt has teammates caught doping. I'd love to believe Bolt is clean, but I find it hard to give him the benefit of the doubt.
Comment · 9 years ago
Comment · 9 years ago
I tend to agree with GP that this is suspiciously simple. I've only skimmed it, but the novel part of the proof appears to only be Thm 5-6 which is less than 10 pages, and it's not especially dense writing. So this would be a relatively simple proof. Moreover, the technique used appears to be rather incremental over known techniques, so it's surprising it would be strong enough to prove PvNP which is so far away from the frontier of known techniques.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton