this post was submitted on 09 Jan 2026
127 points (97.7% liked)

Programmer Humor

40120 readers
3 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 

๐Ÿ’€โ˜ ๏ธ

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Peffse@lemmy.world 4 points 2 weeks ago (1 children)

I had a coworker preparing a customer database that arrived via sneakernet. He typo'd a variable during an rm -f step and ended up wiping the device because it was his working directory and the variable was undefined.

[โ€“] sepi@piefed.social 1 points 1 week ago* (last edited 1 week ago)

Last evening, I deleted a file by mistake in my dhcp server. Five minutes later I had recovered the file from the previous night's backup and was going about my merry way as if nothing happened.
If humans can make mistakes with the files, you should consider having backups. Having backups is something you decide to engage in BEFORE you have a loss event, so that you are prepared for when humans make their mistakes.
I am a human, and I know I make mistakes, therefore I prep even my silly infrastructure at home to defend against my sillyness.