Y
Hacker News
new
|
ask
|
show
|
jobs
by
netmare
789 days ago
That's like a programming language with 0.5-based array indexing.
3 comments
n4r9
789 days ago
It's the classic "off by half" index bug.
link
BizarroLand
788 days 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.
link
MawKKe
788 days ago
Don't give people ideas
https://gist.github.com/MawKKe/1fafc1f4a5eb79ed654cf0567c284...
link
brookst
789 days ago
No fence post problems if you just put each post in the middle of each span!
link