this post was submitted on 28 Apr 2026
74 points (84.3% liked)
Programmer Humor
31215 readers
642 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I need someone to explain what this has to do with Harry Potter. Off by one, too?
Voldemort made 6 horcruxes so his soul would be in 7 pieces.
Diadem, Locket, Goblet, Ring, Diary, and Snek.
Harry was accidentally made into one as well, thus the off by one.
Cache invalidation: The locket was cached but later substituted, resulting in stale information. Furthermore, a layer of indirection would ultimately conceal critical updates to the assumed ownership of a certain principal object.
Naming things: He wanted to live forever, but stuck himself with a name he invented as a teenager, and later banned its pronunciation. Also, another of the principal objects had a highly misleading name that tricked both the one who first received it and others later.
Off by one errors: u/chuckleslord@lemmy.world got it right, the auspicious number was spoilt by careless dilution. Meanwhile, the bearer of the third symbol escaped doom at his pleasure and contributed many an off-by-one (or two, or three) error to the occupancy of various rooms in the future.