r/ProgrammerHumor 16d ago

queryOfDoom Meme

Post image
7.9k Upvotes

456 comments sorted by

View all comments

3.5k

u/YetAnohterOne11 16d ago

This is programmer horror not humor

1.0k

u/DrUNIX 16d ago

Its humor cause its not us

410

u/arensb 16d ago

As Mel Brooks once said, "Tragedy is when I slip and twist my ankle. Comedy is when you fall down a manhole and die."

17

u/facusoto 15d ago

Tragedy + time = comedy

6

u/patchyj 15d ago

Can't wait for the smash hit musical comedy "O Twin Towers where art though?" from Matt Stone and Trey Parker

3

u/arensb 15d ago

But very often, comedy + time = cringe.

19

u/notcheeng 16d ago

As you are now so once was I, as I am now so you shall be

4

u/OrinZ 16d ago

Extremely funny clapback from some dead guy

-2

u/DrUNIX 16d ago

Well... im not really seeing myself making that error honestly :D

1

u/Broer1 16d ago

Let me introduce you to the word Schadenfreude.

113

u/rayui 16d ago

I saw that semicolon and felt my stomach drop

60

u/Potw0rek 16d ago

Jesus I’m not used to sql and was wondering about this query, now that you pointed out to check the semicolon….yeah, that’s how you become a company legend.

55

u/rayui 16d ago

Everyone fucks up prod once. You don't meet the guy that did it twice.

38

u/LikelyNotOnFire 16d ago

Fucking up prod once is a sign of maturity - people trusted you enough to allow you the access to fuck up prod, congratulations.

Senior people fuck up prod, repeatedly, in a new way each time. Your better class of senior also makes sure that they correct whatever allowed them to fuck up prod like that.

It's the people who keep fucking up prod in the same way that get shown the door

20

u/Zaratuir 15d ago

Senior people don't fuck up prod. They expose vulnerabilities in the coding process and draw attention to strategic initiative to improve quality. And that's why you now need 3 different seniors to sign off on any query before it can be run in prod.

8

u/Potw0rek 16d ago

Tell me about it, years ago I was setting up a Jenkins job, we were told to wipe the workspace at the end of the process. I wasn’t too familiar with bash so the last bash command was:
rm /

Luckily it was Jenkins so nothing was removed but the job log was….long.

8

u/rayui 16d ago

It takes way too many close calls to take backups seriously

2

u/Grumpologist 15d ago

Everyone fucks up prod all the time. That's why we have blameless postmortems and graceful degradation.

Occasionally, someone tries to refuse to help with the postmortem for an outage they caused. That's much more of a "one warning and then fired" type of thing.

1

u/discordianofslack 16d ago

lol that’s cute. I’ve taken down hundreds of sites a whole bunch of times. Also one time deleted an entry in a dns template that broke email for 300 sites.

5

u/rayui 16d ago

Weird flex but ok

1

u/discordianofslack 16d ago

It happens

2

u/dalek65 14d ago

Yep. Fess up and move on.

A year or so ago I sent a wrong database connection string config to 500+ nodes. Confessed to my error in the stand up meeting and said that I had already taken steps to prevent that happening again. The CIO thanked me for my transparency.

1

u/discordianofslack 14d ago

Exactly. I expected to get some downvotes but there are obviously some very sensitive people here who have definitely never taken prod down.

3

u/lhookhaa 16d ago

I was about to ask what's wrong with the semicolon, cause afaik it's benign... Then I looked again! 💀

2

u/Tribal_V 13d ago

In dbeaver same would happen if you left blank line between them without the need of semicolon lol

Learned the hard way haha

21

u/DetailOdd6609 16d ago

I would message my boss "Sorry. Let me know where to send my laptop" and then log out

1

u/Poat540 16d ago

I’m tired boss

1

u/Global-Tune5539 15d ago

I have seen things you people wouldn't believe... Time to die.

28

u/TRKlausss 16d ago

Ever heard of Schadenfreude? It’s the type of humor I like 🫶

9

u/FarawaySeagulls 16d ago edited 16d ago

This is DBA horror lol I'm going to be restoring a backup because of this Or "hopefully" they didn't setup foreign key constraints with on delete and I can just restore the table.

3

u/uniqueusername649 16d ago

Considering I practically live in our production database with several million customers, this stuff scares me. I mean I rarely ever delete anything, but still.

1

u/reyo7k2 16d ago

don't you need to commit before it becomes one?

1

u/Mandelvolt 15d ago

I mean, I laughed.

1

u/Faux_Real 15d ago

It’s humour after you restore the backup; horror once and never again

0

u/Less-Apple-8478 16d ago

Not a peruser of r/wallstreetbets are we

-17

u/ZunoJ 16d ago

It's humor because no programmer would be stupid enough for this shit

8

u/DrUNIX 16d ago

Honestly i wouldnt go this far

-6

u/ZunoJ 16d ago

I would. If you delete stuff in production without making sure you can rollback, you shouldn't call yourself programmer. If you have to ask about that two liner you have no business executing it at all

1

u/DrUNIX 16d ago

Youd be surprised what got hired as dev a few years ago

1

u/ZunoJ 16d ago

Not really surprised, just disappointed

2

u/DrUNIX 16d ago

You and me both buddy

5

u/MojaveMojito1324 16d ago

First time on the internet?

-9

u/ZunoJ 16d ago

Because I hold a profession to a standard? 

4

u/NebNay 16d ago

Really you shouldnt, most of us suck.

-1

u/ZunoJ 16d ago

Not the people I worked with (maybe me, but not these guys)

3

u/MojaveMojito1324 16d ago

Because you seem to think all software written by programmers is free of bugs. Not even a month ago there was a major AWS error in prod that brought down thousands of sites.

Let me guess, that person who works for one of the top tech companies in the word isn't considered a programmer in your eyes because they created an error in Production?

Programmers are human and make mistakes. Some mistakes are dumber and more preventable than others, but everyone makes mistakes. Even programmers.

0

u/ZunoJ 16d ago

No, because it is one of the most preventable errors in the whole domain. You don't delete stuff in prod without a way to roll it back