Better HN
topnewbestaskshowjobs
Log inSign up

accountLost

150 karma · joined Aug 26, 2020 (6y ago) · 36 submissions

Submissions

comment 4y ago · link · parent

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 4y ago · link · parent

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.

3.

Instant estimation of the effect on LE of a range of dietary changes(food4healthylife.org ↗)

1 points · by accountLost · 4y ago · discuss

comment 4y ago · link · parent

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 4y ago · link · parent

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 4y ago · link · parent

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 4y ago · link · parent

React health has already taken a hit with the introduction of hooks.

comment 4y ago · link · parent

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 4y ago · link · parent

Thank you for your answer. I got instantly buried below the "bad perf per watt" comments and thought nobody would see my question.

comment 4y ago · link · parent

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 4y ago · link · parent

Some context:

https://dawnproject.com/full-self-driving-cars-software-at-i...

comment 5y ago · link · parent

That would be the median, not the average (but then it sounds less funny somehow...)

comment 5y ago · link · parent

First They Ignore You, Then They Laugh at You, Then They Attack You, Then You Win.

"The statement evolved from a large family of sayings that originated in the nineteenth century. In 1918 a closely similar remark emerged in a speech by Nicholas Klein, a union representative. Gandhi discussed stages that a movement passes through in a collection of writings he published in 1921, but his words did not really match the target expression."

https://quoteinvestigator.com/2017/08/13/stages/

comment 5y ago · link · parent

It is still alive and very active but is now called MyBatis.

https://blog.mybatis.org/p/about.html

comment 5y ago · link · parent

You can't easily create a instance of the generic type in java. for example :

return new T();

is possible in C#, not in java.

comment 5y ago · link · parent

Even hardworking developers will sometimes don't care about the user experience. For example, Linus could have spent a few hours polishing the git CLI. Instead we have had millions of developer hours wasted in making sens of the CLI inconsistencies...

17.

The Five Pillars of Self-Discipline(stevepavlina.com ↗)

3 points · by accountLost · 5y ago · discuss

comment 5y ago · link · parent

On the other hand on my android phone I use firefox+uBlock and see no ad at all even on youtube...

comment 5y ago · link · parent

Took me a few minutes to figure it out. chipotle_coyote comment make sens if the tax is 800k. 50m*0.04 = 2m = 800k+600k+600k The tax is not 800k but 80k though. So it should be 80k+960k+960k.

So you could pay the tax, draw out $960K a year (I mean, you can live on that, right? Not a hardship?), and still have another $960K left over.

comment 5y ago · link · parent

Should be 125% though (or is it already obvious for everyone and just me being pedant ?)

comment 5y ago · link · parent

Or the medium link : https://medium.com/@maartenvandoorn/the-complete-guide-to-ef...

comment 5y ago · link · parent

On the other hand these people can sometimes lead you to some more serious material if they share their sources. Seems to be the case here with this link in the post : https://maartenvandoorn.nl/reading-guide/ (changed to the direct link to the author site to avoid medium.com)

23.

Guide to Effective Reading(maartenvandoorn.nl ↗)

201 points · by accountLost · 5y ago · 21 comments

comment 6y ago · link · parent

Maybe the article means that PHP interprets the OPCodes as opposed to java that uses a JIT compiler that produces machine code for part of the bytecodes. Anyway JIT is coming with PHP8 :

https://stitcher.io/blog/new-in-php-8

comment 6y ago · link · parent

See also https://matt.diephouse.com/2018/08/value-oriented-programmin... for a very quick introduction.

comment 6y ago · link · parent

Thanks. I don't expect a great experience but I'd like to see if a eInk reader would be easier on my eyes since I am already 10 hours a day on LCD. The following video gave me the impression that pdf on Kindle Oasis was acceptable...

https://m.youtube.com/watch?v=f-CIESDs78g

comment 6y ago · link · parent

Does anyone here have some experience using a kindle without account as describe here :

https://www.techjunkie.com/kindle-without-amazon-account/

Or here :

https://ebookfriendly.com/unregistered-kindle-pros-cons/

I think after some research that the oasis may be the best value for money reader for my use case (pdf CS books) but I'm not sure about the amazon account and if it is worth the hassle to avoid it.

comment 6y ago · link · parent

#2 A few thousands iPhone owners out of 900 millions willing to pay $28 for a icon pack. Not that mind blowing for me. Compare that to the billions of $ users spend on loot boxes.

https://www.gamesindustry.biz/articles/2018-05-01-loot-boxes...

comment 6y ago · link · parent

Maybe they just all went the wrong path when it comes to managing complexity : trying to much to abstract it away with abstractions like kubernetes.

https://www.protocol.com/apple-hires-cloud-open-source-engin...

12