Recent submissions

Comment · 4 years ago
My take :

let M be the maximum amount of money that a envelope can contain (at worst it can be the total amount of money in the world). You don't know the value of this upper bound M.

Most of the time, you get 2*x or x/2 with 50% chance if you choose the other envelope (which on average is a win)

But when x=M you get M/2 instead of M and therefore you loose M/2 with 100% chance. And when it happens you have lost much more than in the other cases (because exponentiel...)

If you do the math, you can see that what you win for 1 2 4 8 16 ... M/2 is equal to what you loose for M.

And so on average what win from switching is 0.

Comment · 4 years ago
Not a good heuristic for me as it would make me skip most of the science stuff. For example the Webb space telescope. It certainly won't have any impact of my life.
Comment · 4 years ago
Yes, when possible it is better to give people time to figure out things by themselves. That's how you learn.

The question is why pointing out something wrong would have automatically damaged your relationship with her ?

Everyone can agree that making mistake is natural. Can't people learn not to get upset when being told they made one ?

One way is by exposure in an environment where the feedback is factual and without drama.

Comment · 4 years ago
I can't agree with that. If there is something wrong, it must be dealt with as soon as possible. We engineers must learn to be professional and not let our ego get in the way.

Maybe it is a cultural thing ? I worked once in Germany and thought at first that the error pointing was brutal. But you get used to it and learn not to involve your self esteem. And retrospectively I found it to be a fair and effective work environment.

Comment · 4 years ago
Considering that even futur users of crud applications cannot come up with decent requirements for these applications, I am not sure AI will help.
Comment · 4 years ago
React health has already taken a hit with the introduction of hooks.
Comment · 4 years ago
I remember seeing one occurence of bubblesort in the source code of Crafty chess engine with a comment explaining that this was unexpectingly the fastest sort in that particular case. (It was the ordering of a few moves in the quiesce algorithm I think).
Comment · 4 years ago
Thank you for your answer. I got instantly buried below the "bad perf per watt" comments and thought nobody would see my question.
Comment · 4 years ago
This is a 10nm processor, right ? So a 10mn processor can be as fast as a 5mn processor but at more than double the voltage ? Not so bad. What would be the perf of this processor with TSMC 5nm tech ?
Comment · 4 years ago
Comment · 5 years ago
That would be the median, not the average (but then it sounds less funny somehow...)
Comment · 5 years ago
Comment · 5 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton