1 point

I always run my queries in a script that will automatically rollback if the number of rows changed isn’t one. If I have to change multiple rows I should probably ask myself what am I doing.

permalink
report
reply
1 point

A few months back I crashed a db in prod. I detached it and when I tried to reattach it simply refused, saying it was corrupted or some shit.
Lucky me we have a backup solution.
Unfortunately it was being upgraded, with difficulties.
That was a long day.

permalink
report
reply
1 point
*

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.

permalink
report
reply
1 point

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
1 point

This is the way usually but some people just don’t learn from their mistakes…

permalink
report
parent
reply
0 points

Don’t you people have a development environment?

permalink
report
reply
1 point

The P in Prod stands for “It’ll be Pfine”

permalink
report
parent
reply
0 points

The letter you want after the P is an H.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 5.3K

    Monthly active users

  • 880

    Posts

  • 8.8K

    Comments

Community moderators