Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
netmare
· 2y ago · 0 comments
That's like a programming language with 0.5-based array indexing.
Comments
[–]
n4r9
2y ago
It's the classic "off by half" index bug.
[–]
BizarroLand
2y ago
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
2y ago
Don't give people ideas
https://gist.github.com/MawKKe/1fafc1f4a5eb79ed654cf0567c284...
[–]
brookst
2y ago
No fence post problems if you just put each post in the middle of each span!