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

Programmer Humor

32171 readers
1094 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
[–] FearfulSalad@ttrpg.network 34 points 10 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.

[–] yogthos@lemmy.ml 16 points 10 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.

[–] evatronic@lemm.ee 14 points 10 months ago

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

[–] Unforeseen@sh.itjust.works 7 points 10 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.

[–] yogthos@lemmy.ml -2 points 10 months ago
[–] penquin@lemm.ee 7 points 10 months ago (2 children)

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

[–] RagingToad@feddit.nl 18 points 10 months ago

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

[–] xmunk@sh.itjust.works 7 points 10 months ago (1 children)

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

[–] Cysioland@lemmygrad.ml 5 points 10 months ago

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

[–] 1984 6 points 10 months ago* (last edited 10 months ago)

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

[–] Transporter_Room_3@startrek.website 6 points 10 months ago* (last edited 10 months ago)

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

[–] MonkderZweite@feddit.ch 3 points 10 months ago

Why would you do that? It sounds unpleasant.