Hacker News new | ask | show | jobs
by wruza 1051 days ago
Classical off by one when you wrap through zero (not sure if this one has a specific name).
2 comments

It’s actually also an example of cache invalidation being difficult if you think about it…
off by 1 (order of magnitude)
Off by one floating point
off by one em
Wouldn’t it be 1ch