this post was submitted on 03 Dec 2023
209 points (93.7% liked)

Programmer Humor

32472 readers
601 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 34 points 11 months ago (1 children)

If dropping a database scares you, you are either unaware of the disaster recovery process, or there isn't one. Edumacate yourself, or the org, as appropriate, so as to increase your confidence when dropping databases.

[–] [email protected] 16 points 11 months ago (2 children)

On a related note, a lot of companies establish recovery processes without actually testing them. Then the first time a recovery is needed they find out that it doesn't work as expected.

[–] [email protected] 14 points 11 months ago

I wasn't prepared to be personally attacked like this.

[–] [email protected] 7 points 11 months ago (1 children)

And also not updating them when things change. The recovery process for a database changes considerably once it's involved in replication, which one client found out the hard way.

[–] [email protected] -2 points 11 months ago
[–] [email protected] 7 points 11 months ago (2 children)

I'm going to be a junior soon. Thanks for the heads-up not do this 🤦🏽‍♂️

[–] [email protected] 18 points 11 months ago

No, the message is: you might do this and don't worry, you'll be fine :-)

[–] [email protected] 7 points 11 months ago (1 children)

My protip for juniors and databases... never modify the production database and always use bound parameters.

[–] [email protected] 5 points 11 months ago

If junior gets write access to prod that's on whoever gave them that access

[–] [email protected] 6 points 11 months ago* (last edited 11 months ago)

They put de niro twice? :) Or 3 times, top left is him too?

[–] [email protected] 6 points 11 months ago* (last edited 11 months ago)

This meme works in multiple ways, and I've worked in at least two of them.

[–] [email protected] 3 points 11 months ago

Why would you do that? It sounds unpleasant.