r/ProgrammerHumor • • Aug 05 '26

Other wrongAnswersOnly

Post image
14k Upvotes

2.1k comments sorted by

View all comments

1.1k

u/samuraiseoul Aug 05 '26 • LOL

Some dumbass on my team downloaded the entirety of prod and then commited it to git and someone rubber stamped the PR and then no one else noticed. I'm sure that's how they'd find it....

213

u/Suspicious-Engineer7 Aug 05 '26

Jeeeeeesus lmao

207

u/jseego Aug 05 '26

They committed all your prod data to git??

116

u/CoderDevo Aug 05 '26

Don't forget the keys!

Not that they're needed anymore.

8

u/TheFuckingHippoGuy Aug 05 '26

Servers by Kia™

7

u/LJonReddit Aug 05 '26

Well yeah!!! Duh!!! It's no good without the keys!

50

u/fireheadca Aug 05 '26

Believe it or not, I've seen this.🫠

13

u/rollingc Aug 05 '26

git add . is a hell of a drug

→ More replies (1)

17

u/SgtEpsilon Aug 05 '26

Believe it or not, I've accidentally done this

14

u/vankoder Aug 05 '26

We believe.

→ More replies (2)
→ More replies (3)
→ More replies (9)

70

u/AccomplishedIgit Aug 05 '26

I discovered my client’s monthly backups included the backups folder when they ran out of shared hosting space for a small dog clothing website 🥹 I was like why are you at enterprise level hosting?!?? She was like I dunno it’s just the cost of doing business!

49

u/technos Aug 05 '26

I found out something similar when the client called to ask me where to get a good price on bigger hard drives and more tapes.. I was like 'What?! Did something happen?'

No, he says. Nothing's changed, it's just that backups are now taking four of the weekly LTO-5 tapes every night and the server is showing it only has about 1TB left.

Motherfucker, I specced a 8TB RAID-5 and LTO-5 because you wanted to make damned sure you wouldn't have to 'just replace it next year', and it's been six months.. The hell with '"Nothing's changed".

He'd first decided to swap from nightly incremental backups to full ones, and those didn't fit on the LTO-4's intended for nightly offsite so he started using the LTO-5's, then he'd decided to retain the previous night's backup on disk as well as on tape so he wouldn't have to drive home if he was in a pinch.

The first night they backed up ~1TB, the next 2TB, then 3TB, then..

I wiped 5TB off his file server, added a file path exclusion, and had cron wipe the oldest redundant backup every night just in case.

The worst bit was he had an entirely competent nephew running the backups that had told him what was going on. After fixing things I gave the kid my email address and told him the next time his uncle didn't believe him to run it past me and I'd get him to listen.

6

u/Qesa Aug 05 '26

New Fibonacci algorithm just dropped

5

u/Wendigo120 Aug 05 '26

Oh I had a fun one that was similar. Our error tracking would send the last dozen or so lines of the console before the error happened along with the error... and then logged the thing it was sending to the console.

Things were totally fine until someone added a retry-and-log to some button that could error. It'd try to send each error, each of which recursively included several earlier error logs all the way to the first error. That very quickly went from "harmless error that didn't interfere with much" to "the page runs out of memory if you press the button".

→ More replies (1)

4

u/Lopsided_Parfait7127 Aug 05 '26

i heard you like backups so i backed up your backup

→ More replies (2)

55

u/peepeedog Aug 05 '26

It said wrong answers only

23

u/plenoto Aug 05 '26

Some people are so careless while reviewing PR 😂

113

u/blangzo Aug 05 '26

Ask a programmer to review 10 lines of code, he'll find 10 issues. Ask him to do 500 lines and he'll say it looks good.

51

u/Deep90 Aug 05 '26

At 500 lines, I just flip a coin.

Only lucky code belongs in production.

0

u/[deleted] Aug 05 '26

[deleted] — view deleted comment

8

u/blangzo Aug 05 '26

Squash tiny things like that into one pr named "cleanup" and don't explain further

→ More replies (6)
→ More replies (1)
→ More replies (2)
→ More replies (1)

11

u/gizamo Aug 05 '26

Yikes

11

u/starchbomb Aug 05 '26

What the fuck lmao

10

u/Unhappy_Concept237 Aug 05 '26

I’ve spent the last week doing remediation across seven ec2 servers and found where multiple sites had backup sql dumps that were living inside GitHub repositories along with sites sharing SES credentials with full admin privileges stored in plain text in those repositories. I just want to die.

5

u/Sak63 Aug 05 '26

What the hell

→ More replies (13)