this post was submitted on 16 Apr 2025
701 points (99.4% liked)

Programmer Humor

23119 readers
2595 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

founded 2 years ago
MODERATORS
 

So today I discovered that there's a cron job that holds non-reproducible state that died, and now our system is fucked.

The cron job doesn't live inside any source control. This morning it entered a terminal state, and because it overwrites its state there's no way to revert it.

I'm currently waiting for the database rollback and have rewritten it in a reproducible/idempotent way.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 167 points 3 weeks ago (19 children)

What's extra frustrating is the previous guy did create a git repo of these types of hacks, but this one doesn't live in it for no discernible reason.

[–] [email protected] 140 points 3 weeks ago (17 children)
[–] [email protected] 115 points 3 weeks ago (14 children)

He does charge a consulting fee to "fix" these issues

Almost all of them are dumb shit like this, where something is built in super hacky and dumbass ways.

[–] [email protected] 59 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Smart man. This is how we fight being replaced by AI.

[–] [email protected] 19 points 3 weeks ago (1 children)

Judgement day postponed indefinitely due to "Object reference not set to an instance of an object"

[–] [email protected] 2 points 3 weeks ago

I don't know why but this is the first time I read this phrase and it actually makes sense.

I knew exactly what it meant before, but it didn't make sense until now

load more comments (12 replies)
load more comments (14 replies)
load more comments (15 replies)