News for hackers. Stuff that matters.
Re:Magic Numbers by n4r9 on Thursday April 25, 2024 @03:52AM (#40154682)
It's the classic "off by half" index bug.
Re:Magic Numbers by BizarroLand on Friday April 26, 2024 @02:28PM (#40172584)
Doing the mental math is a lot harder, too. Any halfway decent computer nerd knows on some level that 2^10=1024, but 1/2^10=0.0009765625.

Doesn't quite lock into the memory banks so easily.