HNHacker News
TopNewBestAskShowJobs

foobar2020

118 karma · joined January 30, 2015

submissionscomments
foobar2020··on You're not irrational, you're just quantum probabilistic
Quantum mechanics does not permit parallel states to "communicate" in any way. The theory is purely linear (i.e. acts somewhat independently on all states), except for the wavefunction collapse phenomena. Any non-linenarity would, for instance, immediately imply that we can easily solve NP-complete problems using quantum computing:

http://arxiv.org/abs/quant-ph/9801041

So QM is probably a poor model for explaining human indecisiveness and irrationality. Much better is that it is simply the thing that evolution has come up with that can a) fit in our brains and b) yields proper results.

foobar2020··on Understanding Hitler’s Anti-Semitism
Concentration camps were mainly in Poland, because at that time Poland had about as many Jews (~3 mil) as the rest of the Europe combined (~3.5 mil), and it was a fully controlled, occupied state. It was just an engineering optimisation, however dark this sounds.
foobar2020··on Computing 10,000x more efficiently (2010) [pdf]
The bottleneck is often RAM. This is especially clear when writing performance-oriented code in CUDA, where the amount of cores (threads) per one shared memory controller is in the order of thousands.
foobar2020··on A millisecond isn't fast (and how we made it 100x faster)
Is it denormalised numbers [1]? Or is it just math.pow being slow?

[1] http://stackoverflow.com/a/9314926

foobar2020··on Ada Lovelace: Enchantress of abstraction
It is, you just have to be familiar with details. He called her "the Enchantress of Numbers"
foobar2020··on St. Petersburg paradox
The paradox does not depend on the fairness of the coin.

A real coin toss is, say, at least 25% probability for heads and at least 25% probability for tails. Therefore you can multiply the winnings by 4 and not by 2, which will give you a divergent series even with a real, "unfair" coin.

foobar2020··on St. Petersburg paradox
I don't get your idea with sampling. It will work in practice. To see that yourself: write a program that repeats this experiment again and again, compute the averages of the winnings, and you will see that they cannot be bounded by any constant. Or use a real coin and a piece of paper, though this will require a lot of patience.
foobar2020··on A neuroscientist who believes addiction is not a disease
It is true that a mental patient can be forced to treatment only if (s)he is considered a serious danger to the society, or herself/himself (includes suicidal tendencies). In many jurisdictions a court's decision is necessary, usually obtained on a rather short notice (24-48 hours).

But this does not mean that patient's consent is required for a valid diagnosis of a mental disorder. Denial is a serious problem and somehow an internal part of certain diseases such as mania, or, as you mentioned, early stage addictions.

foobar2020··on A neuroscientist who believes addiction is not a disease
The real problem, I believe, is the shame associated with mental disorders, and addiction in particular. Addiction is in many cases a (sign of a) legitimate disease, rooted deeper than just a nasty habit of popping Hydrocodone pills. We have reasons to believe that while addiction can be influenced by individual's choices, it is often not exclusively the patient's fault.

We allow patients to follow a slightly different path than the rest of the society till full recovery in the case of disorders such as cancer or depression, which can take years. Addiction should be treated the same way.

foobar2020··on Reliably measuring IQ through commercial puzzle games
Reaction time is good in general, but rather useless in the traditional IQ tests, i.e. culture-neutral multiple choice pattern-based questions. If you are 25% faster than your neighbour it gives you the benefit of the additional 25% of the reaction time, not total answering time, which is usually much larger in the context of IQ tests. Or nearly any test, for that matter.
foobar2020··on Why It's Safe for Founders to Be Nice
> As an venture investor, I would prefer my startup CEO's to be nice. Easier to manipulate nice.

I doubt it. You don't think you are the only person manipulating such a CEO, do you?

foobar2020··on Why I'm Selling My Google Stock Grant
Then why not sell your stock grants and buy some competitor shares? Similar risk, more diversification. Also this requires you to pay actual attention, instead of simply believing that "your company is the best company".
foobar2020··on Movfuscator: A single-instruction C compiler
The x86 is actually Turing-complete without even executing a single instruction. Page faulting is enough: https://github.com/jbangert/trapcc
foobar2020··on The 'No True Programmer' Fallacy
Some of the claims. From the abstract:

I continue to believe, however, that Dehnadi had uncovered the first evidence of an important phenomenon in programming learners. Later research seems to confirm that belief.

foobar2020··on A call to PHP's mt_rand generates only odd numbers
Whoops, you are right, I should have written (modulus) and not (modulus + 1). Another reason why this is an anti-pattern :). Thanks for correcting me!
foobar2020··on A call to PHP's mt_rand generates only odd numbers
It is OK to do (rand() % modulus) when (modulus + 1) divides (MAX_RAND + 1). Otherwise you will end up with non-uniform distribution.

But yes, in general the rand-modulo pair is an anti-pattern.

foobar2020··on How Berlin’s Futuristic Airport Became a $6B Embarrassment
Lands, at least the better ones, are also borrowing at zero/slightly negative yields: http://www.boerse-frankfurt.de/en/bonds/lfa+f+b+bayern+is+r2...

This happens not (only) because it is safer to keep piles of German bonds than piles of EUR, but because of the unorthodox ECB monetary policy. We certainly live in some very interesting times.

foobar2020··on Amazon Web Services revenue rises 81% year over year
Seems like Google does not like to share details on a regular basis: http://fortune.com/2015/04/24/google-cloud-numbers/

Side note: numbers between Microsoft and Amazon are not directly comparable because Microsoft includes SaaS solutions such as Office 365 in their cloud revenue. So it is not Azure versus AWS.

foobar2020··on Amazon Web Services revenue rises 81% year over year
The entire cloud is growing at a similar rate. Comparing market shares seems more reasonable at this point:

https://www.srgresearch.com/articles/aws-market-share-reache...

foobar2020··on Lufthansa flight has near-miss with drone near Warsaw
It is a criminal offence to operate any flying device in a controlled airspace in Europe without prior authorization from the appropriate air space control (EASA regulations). It does not really matter whether it is a Cessna, a paraglide, a Chinese lantern, or a UAV drone. I bet a similar law is in effect in the US.

The responsible guy will probably avoid jail, but will surely be convicted.

foobar2020··on NP-Complete Problems and Physical Reality (2005)
The whole difficulty of the hard complexity questions such as "Is P=NP?" hides in the non-trivial, "corner" cases. Sure, we have SAT solvers that are by many practical standards really good. P=NP would imply that we can relatively easily find polynomially long proofs to many hard propositions, such as the P=NP problem itself! Or many other open mathematical problems.

Creativity is an anthropomorphic, abstract concept, a way of describing human ways to find solutions. What really matters is the proofs.

foobar2020··on Greece
Wait wait, how do cross currency swaps hide debt?

Edit: these were not just regular cross currency swaps

> But in the Greek case the US bankers devised a special kind of swap with fictional exchange rates. That enabled Greece to receive a far higher sum than the actual euro market value of 10 billion dollars or yen. In that way Goldman Sachs secretly arranged additional credit of up to $1 billion for the Greeks.

foobar2020··on Greece
Germany is the direct descendant of Nazi Germany, just like Russia is the direct descendant of USSR.
foobar2020··on Ross Ulbricht Sentenced to Life in Prison
An idiot is "an intellectually disabled person, or someone who acts in a self-defeating or significantly counterproductive way". Does not seem to fit the definition.
foobar2020··on Ross Ulbricht Sentenced to Life in Prison
Anecdotally? Where does that come from, do you have any sources?

Also, withdrawal is not the major problem when combating addiction.

foobar2020··on Identifying Arbitrage Opportunities with Graphs
Yes. But if your arbitrage pattern is only 3 pips profitable, and you are exchanging millions at once, you might expect that the amount of available orders matching your path may actually matter.
foobar2020··on Amphetamines Are Hiding in Your Supplements
So did Hitler, along with frequent opioid shots, which had only exacerbated his bipolar disorder.
foobar2020··on Accidentally Quadratic
There is: you either have to use atomic operations on all the reference counters, which is costly, and not available on all platforms, or you can have only one thread active at a time. This is the most classic problem: "x == 0"; parallel execution of "x += 1" and "x += 1"; now "x == 1" or "x == 2".

I don't see why tracing collectors need GIL in particular to stop all threads, i.e. why should only one thread be running at a time.

foobar2020··on Wait ages for a bus and then two come along at once
It does if the explanations are contradictory. In this case this means one of two things:

1) The "first bus collects delay" theory is responsible for a part of the difference between the data and the model, after all there is some.

2) There is another mechanism at action that statistically reverses the effect of the "first bus collects delay" theory, not necessarily in the same bus runs.

Number 1) is coherent with Occam's razor.

foobar2020··on Wait ages for a bus and then two come along at once
This is a nice analysis, but the data in the article actually disproves it, at least to the degree show in the last plot (quite reliably in my opinion). The distribution of the waiting time is exponential, is a Poisson process, which means that buses do not influence each other.
← PreviousPage 2 of 3Next →