4 ms·
That's like a programming language with 0.5-based array indexing.
by netmare 2y ago
That's like a programming language with 0.5-based array indexing.
- n4r9 2y agoIt's the classic "off by half" index bug.
- BizarroLand 2y agoDoing 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.
- brookst 2y agoNo fence post problems if you just put each post in the middle of each span!
- MawKKe 2y agoDon't give people ideas https://gist.github.com/MawKKe/1fafc1f4a5eb79ed654cf0567c284651 https://gist.github.com/MawKKe/1fafc1f4a5eb79ed654cf0567c284...