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.
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…
Some people did, like Warren Buffett. https://qz.com/67052/heres-how-warren-buffett-made-3-1-billi...
>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…
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.…
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…
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…
>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:…
I think a lot of firms already do something like that through internship programs.
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:…
World's Strongest Man, Mr. Olympia.
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.
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…
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…
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'm not…
AFAIK boolean circuits proofs generally don't relativize, so there's no need to discuss that.
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…
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…
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.
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…
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?
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…
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…
> 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…
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…
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.
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…
Some people did, like Warren Buffett. https://qz.com/67052/heres-how-warren-buffett-made-3-1-billi...
>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…
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.…
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…
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…
>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:…
I think a lot of firms already do something like that through internship programs.
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:…
World's Strongest Man, Mr. Olympia.
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.
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…
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…
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'm not…
AFAIK boolean circuits proofs generally don't relativize, so there's no need to discuss that.
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…
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…
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.
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…
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?
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…
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…
> 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…
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…