HNHacker News
TopNewBestAskShowJobs

khulat

10 karma · joined October 9, 2013

submissionscomments
khulat··on Python wats
Well to be fair it is only a wat if you don't know about floating point imprecision. Because that is exactly what is causing this contrary to what is stated. Also python just gets this behavior from C, so the other claim that this is a special case of python is also not true.

Since the 1 is shifted 53 bits to the left the number is right at the start of the number range where only even numbers can be represented.

You get 900719925470993 as the decimal number which you cast to float : 900719925470992.0

Then you add 1.0 and get 900719925470992.0 because of floating point imprecision and rounding. The next floating point number would be 900719925470994.0.

92 is less than 93 and this gets you this seemingly weird x+1.0 < x = true.

khulat··on APA Review Confirms Link Between Playing Violent Video Games and Aggression
To get another perspective on this read this article:

http://www.rockpapershotgun.com/2015/08/18/apa-studies-video...

khulat··on Websrvr – Deploy your websites to a CDN using Dropbox
Yeah, but it doesn't tell you that.
khulat··on Some problems with SQRL
I think that basically all concerns that are raised are invalid, because the person who posted them doesn't understand how SQRL works.

See https://www.grc.com/sqrl/sqrl.htm for an explanation, which differs drastically from everything that is described in the post.