Its Happy Fun Function!
Programming Humor
Related Communities [email protected] [email protected] [email protected] [email protected]
Other Programming Communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Good Lord, this makes my hands sweaty. Why is your entire prod database leaning on one line of code that's prone to human error? There should be 20 extra accidental steps taken to do something like this.
Dropping the database is not recoverable
This is the real problem
I sure hope they can recover from last night's backup. Right?
that's assuming they tested the backup system
I usually tend to leave "written by ChatGPT" so colleagues can feed it back and ask to explain lol.
You wonder why spaceships have self-destruct option?
Found this in production while migrating SSO providers. Made me chuckle ๐
DO NOT RUN IN PROD
Found this in production
Classic
Only thing better is finding commented out code below that which would actually prevent it from running in Prod. Bonus if there's a code comment next to it saying "disabled per email" with no further explanation.
When I sat down today I thought I was just going to be updating some properties file with oauth end points.
This is so blatantly stupid that I now have to pick through the code base and write up a change request and incident avoidance report ๐