Better HN
topnewbestaskshowjobs
Log inSign up

Allypost

4 karma · joined Aug 13, 2016 (10y ago) · 4 submissions

[ my public key: https://keybase.io/allypost; my proof: https://keybase.io/allypost/sigs/W0pxp8WJpt69KSaCk9duIfbrG9Gj2iQpyWZ1eCyMAsk ]

aspe:keyoxide.org:XU7YWTHNCQVPSKJBUJ7WDY2S34

Submissions

1.

Web developers: remarkably untalented and careless?(baldurbjarnason.com ↗)

3 points · by Allypost · 3y ago · 4 comments

comment 4y ago · link · parent

Yes, in theory it could print all the numbers you said, but in practice it won't because of floats dropping precision at some point. For JavaScript that point is 2^53.

The easiest way to see this is by typing `9007199254740992 + 1` in your browser's dev console. It should spit out `9007199254740992`. `(Math.pow(2, 53) + 1) == Math.pow(2, 53)` returns true.

That means your program would print invalid output (or rather start looping infinitely) starting at that number (which is much smaller than 2^63) thus disqualifying your solution.

comment 4y ago · link · parent

I'm pretty sure you can file a complaint with any company that operates in Germany (or other GDPR-supporting countries). AFAIK it does not matter where they're registered, only that they provide services in your country.

comment 5y ago · link · parent

The 2400G came out in February 2018 so your system is 3.5 years old at max?