this post was submitted on 02 Mar 2024
569 points (98.3% liked)

Programmer Humor

32464 readers
266 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] YtA4QCam2A9j7EfTgHrH@infosec.pub 104 points 8 months ago* (last edited 8 months ago) (2 children)

If you can fuck up a database in prod you have a systems problem caused by your boss. Getting fired for that shit would be a blessing because that company sucks ass.

[–] fidodo@lemmy.world 50 points 8 months ago (2 children)

What if you're the one that was in charge of adding safe guards?

[–] YtA4QCam2A9j7EfTgHrH@infosec.pub 40 points 8 months ago (1 children)

Never fire someone who fucked up (again; it isn’t their fault anyways). They know more about the system than anyone. They can help fix it.

[–] raldone01@lemmy.world 14 points 8 months ago

This is the way usually but some people just don't learn from their mistakes...

[–] bane_killgrind@lemmy.ml 5 points 8 months ago (1 children)

If you are adding guardrails to production... It's the same story.

Boss should purchase enough equipment to have a staging environment. Don't touch prod, redeploy everything on a secondary, with the new guardrails, read only export from prod, and cutover services to the secondary when complete.

[–] meat_popsicle@sh.itjust.works 9 points 8 months ago (1 children)

Sorry, not in budget for this year. Do it in prod and write up the cap-ex proposal for next year.

[–] bane_killgrind@lemmy.ml 3 points 8 months ago

Yeah right? Offset via the cortisol of developers

[–] daq@lemmy.sdf.org 9 points 8 months ago

Small companies often allow devs access to prod DBs. It doesn't change the fact that it's a catastrophically stupid decision, but you often can't do anything about it.

And of course, when they inevitably fuck up the blame will be on the IT team for not implementing necessary restrictions.

Frequent snapshots ftmfw.