3 ms·
I remember they thought Y2K would pose a challenge and everybody laughed it off afterwards. Could they have ever imagined bugs like these would become prevalent
by pearjuice 11y ago
I remember they thought Y2K would pose a challenge and everybody laughed it off afterwards. Could they have ever imagined bugs like these would become prevalent in the future?
- Elv13 11y agoWe (at ring.cx) had a "Y2K" bug on Jan 1. Some old boring code was replaced with more "readable" one and "underflowed" (technically, it did not expect negative values). Explosion: https://gist.github.com/Elv13/73ae14074c85974ca952 https://gist.github.com/Elv13/73ae14074c85974ca952 Fixed: https://gist.github.com/Elv13/5fc6bb2bba51aeb14f63 https://gist.github.com/Elv13/5fc6bb2bba51aeb14f63 (LGPLv2+, not designed to be "correct", but close enough so it isn't noticeable.)