Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ethan_g
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
ethan_g
8y 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.
2.
▲
by
ethan_g
9y 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 ). Ev
3.
▲
by
ethan_g
9y ago
Some people did, like Warren Buffett. https://qz.com/67052/heres-how-warren-buffett-made-3-1-billi...
4.
▲
by
ethan_g
9y 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 art
5.
▲
by
ethan_g
9y ago
Unfortunately, regulations are complicated, vague, and enforced unequally. And yes, sometimes they're even secret, because of fear that if their exact model is publicized, the banks will just optimize around it. "Security through
6.
▲
by
ethan_g
9y ago
To be clear, regulatory capture is when the regulator advances the interests of the industry rather than of the public. Revolving door is a separate issue. There's an interesting argument that the revolving door actually prevents re
7.
▲
by
ethan_g
9y 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
8.
▲
by
ethan_g
9y ago
>I'd be very curious to see a proof of an impossible sequence which adheres to the official rules, as that would be quite a feat indeed! It sounds like, given enough piece previews, you can play without ever losing: http:/
9.
▲
by
ethan_g
9y ago
I think a lot of firms already do something like that through internship programs.
10.
▲
by
ethan_g
9y ago
By the way, that's not a 10% increase in individual performance, but rather a 10% increase in relative performance for your weight. People on PEDs will usually move up a weight class from increased muscle mass. Edit: See here for a re
11.
▲
by
ethan_g
9y ago
World's Strongest Man, Mr. Olympia.
12.
▲
by
ethan_g
9y 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.
13.
▲
by
ethan_g
9y ago
Keep in mind weightlifting has weight classes, so getting bigger muscles by taking lots of steroids is partially offset by moving up a weight class. Steroids can make small guys big, but big guys are expected to lift that much more. Given
14.
▲
by
ethan_g
9y 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 re
15.
▲
by
ethan_g
9y ago
Interesting that this is the second P!=NP proof from a University of Bonn researcher. Other one, by Mathias Hauptmann, is here: https://arxiv.org/abs/1602.04781 I never did hear the status of Hauptmann's proof (I
16.
▲
by
ethan_g
9y ago
AFAIK boolean circuits proofs generally don't relativize, so there's no need to discuss that.
17.
▲
by
ethan_g
9y ago
If I could go back in time to my teenage self and give one piece of advice, it would be to do heavy squats. They're that good. Though I'm not athletic by any competitive standards, being physically active has always been importan
18.
▲
by
ethan_g
9y ago
No, this is not the approach at any of the large banks. It's not the fine that kills you. It's when your customers lose your trust and no one trades with you any more. Goldman has a ton of competitors in all their businesses tha
19.
▲
by
ethan_g
9y ago
Research and trading have strong information barriers, to avoid just the sort of thing you're suggesting. Banks enforce this very seriously. Search for "Global Analyst Research Settlement" if you want the history.
20.
▲
by
ethan_g
9y ago
The thing about this approach--where you learn by assimilation rather than structured study--is that it you need to have amazing intuition for it to work. One of the benefits of structured study is gradually building intuition of the defin
21.
▲
by
ethan_g
9y ago
While I generally agree with your point, it's hard to make this into law. Do you think it should be illegal to have a company with only 1 programmer? If not, how do you prevent them from making catastrophic mistakes?
22.
▲
by
ethan_g
9y ago
Whether you can give real-world questions depends a lot on the domain. If you're using popular open-source tools, you may be able to test a candidate on the ability to complete standard tasks with them. But what if you're using
23.
▲
by
ethan_g
9y ago
Your example of rewrite rules reminds me a lot of expression templates in C++, though there's no direct support by the language and it's done through the type system instead. Some libraries (e.g. eigen or the boost library for li
24.
▲
by
ethan_g
9y ago
> The top-rated answer is either defeatist, or just rationalization for the sentiment "I had to go through this and figure out everything myself, so you should too". Yes, I agree this MO answer (and several others) seem to be r
25.
▲
by
ethan_g
9y ago
I'm not an expert in logic, but I can help a bit here. For reference, here is the theorem in the blog post: There is a Turing machine program e, such that (1) PA proves that e accepts only finitely many inputs. (2) For any particular f
26.
▲
by
ethan_g
9y ago
>Soylent has 20% of calories from protein - good luck with that if you do any physical activity. 20% calories from protein is fine. Even for a strength athlete, if you are trying to gain muscle mass, 20kcal/lb and 1g protein/l
27.
▲
by
ethan_g
10y ago
It's not just the fool's problem if they lose their money. It becomes society's problem. Someone has to take care of them. And it's not a small problem, there are a lot of "fools" out there. That's why
28.
▲
by
ethan_g
10y ago
This is why I still enjoy listening to recordings from the earlier half of the 20th century, despite the reduced sound quality. Musicians seemed a lot more adventurous back then. Today, many of the top performers sound very similar.
29.
▲
by
ethan_g
10y ago
I was a bit suspicious when he claimed 20 lbs in 3 months; usually 1 lb/week is considered the upper limit for beginners. Then I saw he was suggesting a high creatine intake, which for many people will cause them to retain water. I i
30.
▲
by
ethan_g
10y ago
If you define "really make it" as making millions every year, yes that's rare. But if it's making 300k+ per year, there are multitudes of math-types doing that, and not much luck is involved.
More ›