HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by netmare | Hacker News Reader
Parent
Full thread
netmare
·
That's like a programming language with 0.5-based array indexing.
View on HN
n4r9
·
It's the classic "off by half" index bug.
BizarroLand
·
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.
MawKKe
·
Don't give people ideas
https://gist.github.com/MawKKe/1fafc1f4a5eb79ed654cf0567c284...
brookst
·
No fence post problems if you just put each post in the middle of each span!
Reply on news.ycombinator.com