this post was submitted on 27 Jul 2023
2 points (100.0% liked)

Programming Humor

2542 readers
2 users here now

Related Communities !programmerhumor@lemmy.ml !programmer_humor@programming.dev !programmerhumor@kbin.social !programming_horror@programming.dev

Other Programming Communities !programming@beehaw.org !programming@programming.dev !programming@lemmy.ml !programming@kbin.social !learn_programming@programming.dev !functional_programming@programming.dev !embedded_prog@lemmy.ml

founded 1 year ago
MODERATORS
 

Edit: so im done with my preliminary research into this codebase.

Our corporate SSO provider is changing, so I've been updating our tools to take advantage of the new badges. I found this in a web application that I started on today. The original developer is long gone, and according to our PaaS, this app has been running for just under 3 years without an update.

There is no CI/CD, blue-green deployment, or back ups. The database is an H2 db with ddl-auto set to create-drop on startup, meaning that this database will delete itself if the app is restaged but thanks to this guys code, it won't populate itself. ๐Ÿคท

top 5 comments
sorted by: hot top controversial new old
[โ€“] shukufuku@lemmy.ml 1 points 1 year ago

You wonder why spaceships have self-destruct option?

[โ€“] dgendreau@lemmy.world 0 points 1 year ago* (last edited 1 year ago)
[โ€“] devil_d0c@lemmy.world 0 points 1 year ago (1 children)

Found this in production while migrating SSO providers. Made me chuckle ๐Ÿ™ƒ

[โ€“] yamsham@lemm.ee 0 points 1 year ago* (last edited 1 year ago) (1 children)

DO NOT RUN IN PROD

Found this in production

Classic

[โ€“] yukichigai@lemmy.world 1 points 1 year ago

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.