Hacker News new | past | comments | ask | show | jobs | submit login
Flickr reaches photo #2147483647, causing an integer overflow in a 3rd-party library (driftr.com)
12 points by nickb on Jan 3, 2008 | hide | past | favorite | 3 comments



What boggles me is that people there are suggesting using a float to represent an arbitrary precision number.

Not only will that not solve their problem indefinitely (no better than using an unsigned number of the same size), but when it does fail due to floating point inaccuracies, it will do so in subtle ways.


an unmaintained PHP library with a significant design flaw? no way!


Err, a string?




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: