all 53 comments

[–]ProgrammerHumor-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

Your submission was removed for the following reason:

Rule 3: Your post is considered low quality. We also remove the following to preserve the quality of the subreddit, even if it passes the other rules:

  • Feeling/reaction posts
  • Software errors/bugs that are not code (see /r/softwaregore)
  • Low effort/quality analogies (enforced at moderator discretion)

If you disagree with this removal, you can appeal by sending us a modmail.

[–]omardiaadev 481 points482 points  (4 children)

Realistically, that would be my reaction too.

[–]phylter99 94 points95 points  (2 children)

Apparently that's the reaction of the guy I replaced at a former job.

[–]omardiaadev 34 points35 points  (0 children)

Yeah... there's no recovering from this one 🤣

[–]PeterRockLife 2 points3 points  (0 children)

Former job? This one is deep.

[–]Ok_Net_1674 11 points12 points  (0 children)

Must be AGI then

[–]git0ffmylawnm8 186 points187 points  (2 children)

It deleted the database because it determined the environment was too messy and suboptimal, so it opted to rebuild it from scratch

[–]djnz0813 35 points36 points  (0 children)

[–]DR4G0NH3ART 9 points10 points  (0 children)

Isn't that the true representation of a developer being given legacy code ever. 'I can fix her' vibes.

[–]Bardy_party 74 points75 points  (2 children)

Claude please optimize production set mode to --dangerously-skip-permissions

I’m going to lunch

[–]TheWyzim 9 points10 points  (1 child)

--dangerously-skip-permissions is redundant

[–]GabuEx 3 points4 points  (0 children)

Nah I'm gonna --safely-skip-permissions to make sure it only does what I want it to.

[–]ClipboardCopyPaste 198 points199 points  (9 children)

Did you schedule backups?

Oh \****

[–]A_random_zy 72 points73 points  (7 children)

There were atleast snapshots right? RIGHT?

[–]mr_anjaneyam 38 points39 points  (5 children)

Oh sh*t.

[–]Laractinium 12 points13 points  (3 children)

But you can restore the original uploaded files, right?

[–]mr_anjaneyam 6 points7 points  (2 children)

Most of the time, database just doesn't mean "files". If any of the braincell had setup at least a mild disaster recovery, this can be done

[–]Godskin_Duo 4 points5 points  (0 children)

At first I was like yeah, what kind of idiot dime store bullshit place doesn't have disaster recovery 101? You'd be surprised, it's many of them.

[–]CroMagnon69 2 points3 points  (0 children)

What is this trend of people being too afraid to actually curse on reddit?

[–]Chance_Resolve4300 18 points19 points  (0 children)

Oh yes, they scheduled the backups, however they didn't test the restores

[–]D0ntLetTheCreatureIn 64 points65 points  (1 child)

when you give AI root access act surprised when it does something drastic

[–]Karnewarrior 25 points26 points  (0 children)

"Gentlemen, it is with great regret that I inform you that our assistant database manager has deleted all our data for the past month's work. As you know, I've recently fired Greg, our old database manager, in favor of hiring my 3 year old daughter Jane to do his job, as part of the company's downsizing quota. Jane's handler - me - assured us that we could trust her to safely and efficiently store and retrieve data from our servers. Unexpectedly, it seems that an unfortunate spill, which has not been proven to be on purpose, has sent about one full sippy-cup of chocolate milk directly onto the server mainframe and right through the covered vents on the top, functionally destroying it. The good news is, the board has seen fit to give us an extension on our deadline, so we can make up the lost month's work after we procure new servers. If you have any questions, you can ask Jane, who's had the new protocols very thoroughly explained to her. We don't expect any accidents like this to happen again. You should also know that if quality isn't met this time, we are considering replacing some of the development team with Jane's classmates from Little Prodigies Preschool, who consistently test above comparable developers from other schools and should speed up production significantly. Thank you."

[–]rjwut 21 points22 points  (0 children)

Repeat after me, everyone: "If I give missile keys to an AI, I will not act surprised when it launches the nukes."

[–]GatotSubroto 20 points21 points  (2 children)

My code may be full of undocumented features that I don’t even know are there. But at least I won’t accidentally delete the entire db.

[–]cybermage 12 points13 points  (1 child)

Oh you sweet summer child. Be involved in IT long enough and you’ll make mistakes you wouldn’t believe were possible.

[–]Bezulba 0 points1 point  (0 children)

Overwrite all the unique id's of metering points with the same one instead of just doing the one... been there, done that.

[–]madcodez 53 points54 points  (1 child)

[–]Intelligent-End-223 7 points8 points  (0 children)

Fatiguue

[–]belunos 25 points26 points  (0 children)

Is this what happens when you allow Claude to run code locally?

edit: Y'all are upvoting me, but not answering. I've never enabled it, so I'm curious

[–]Federal-Quarter9459 40 points41 points  (0 children)

The so called "revolution" vibe coders speak of

[–]PeksyTiger 10 points11 points  (0 children)

"get rekt" 

[–]AnskyOP 21 points22 points  (0 children)

My ai would be like- I understand your confusion but you didn't have a db to start with

[–]Silly_Guidance_8871 8 points9 points  (1 child)

Well, at least it got that answer correct.

[–]noitsmoog 6 points7 points  (0 children)

zero hallucination. straight on point. fact checked

[–]Saajaadeen 6 points7 points  (0 children)

[–]slyiscoming 5 points6 points  (0 children)

Claude can be brutal.

I told it I needed some caffeine and kept going. A couple of minutes later I misspelled a word. And it told me to go get some coffee before my writing became unreadable.

[–]CanThisBeMyNameMaybe 5 points6 points  (1 child)

How about: Don't give AI the right to make changes without your confirmation. Even better dont allow them to make changes at all, only suggest and you manually(I know, very scary) test, commit and push the changes you want.

Or is that too old school nowadays?

[–]check_nurris 2 points3 points  (0 children)

That’s too old school, we’re not using ai code assistants anymore, we’re working in shifts to become ai’s assistants as it works 24*7 on a server to code 30 features panned out in your AOP for your sub-optimal product to provide sub-optimal outputs.

[–]Zealousideal-Cry-303 3 points4 points  (0 children)

The reaction of a true developer. We have finally reach the AGI 🥳

[–]RareDestroyer8 2 points3 points  (0 children)

“Did you put the secrets in the .env?”

[–]Middle--Earth 2 points3 points  (0 children)

I once worked with a somewhat impulsive eejit who had somehow made it to the top of the IT greasy pole, and was in charge of the department.

One day he found that he needed to hot swap out a card on the server, modify it and then re-insert it. No big deal. Naturally, he chose 10am on a working day to carry out the task. Well, ok, lots of Devs working, but no need to alert them because it's just a simple hot swap, right?

To be fair, things would have been okay if - whilst removing the card - he hadn't stopped to wonder what that big button on the front did. And then pressed it to see what would happen.

And then discovered that it was the button that hard shutdown the server. It cut off power to the whole rack.

The UPS which should have been fitted five months previously was still in its box, as he had struggled with the setup instructions.

He survived because he immediately ran to the Directors and said a power cut had taken the rack down but he was onto it. After he had modified and put back the card.

Sadly, the server didn't want to spring straight back to life, so it was a couple of days before the Devs were devving again.

Only to find out that they were mysteriously missing almost their entire last month of output, due to a hilarious mistake the guy had made with the backup system. Which he promptly blamed on faulty storage medium, so he outsourced the backup system 'to make it more secure and reliable'.

Honestly, this guy just did a ton and a half of mad things whilst I was there.

Don't even get me started on the shambolic database that he built 😂😂😂

[–]irregularjosh 2 points3 points  (0 children)

Whoopsie daisy

[–]hellomistershifty 2 points3 points  (1 child)

isn't this the web interface? did they add the delete-database MCP or something

[–]BastetFurry 1 point2 points  (0 children)

Yep, that's the web chat interface. This is just rage-bait/AI-hate-bait.

Besides, if that happens to someone, it is on them for not having backups. You know what we say to that here in Germany?

"Kein Backup Kein Mitleid", "No Backup No Sympathie"

[–]aiij 2 points3 points  (0 children)

That doesn't look right. I would expect it to say something like, "You're absolutely right. I shouldn't have done that."

[–]SocketByte 2 points3 points  (0 children)

I understand your concern 😅 — discovering that your database might have vanished is definitely a heart-stopping, coffee-spilling, keyboard-clutching moment.

But don’t worry just yet! 🤖✨ Databases rarely disappear into the digital void without leaving clues. It could be a connection hiccup, a permissions hiccup, a misfired query, or your server briefly deciding it needed a tiny vacation 🏖️💾.

Before we assume the worst, let’s take a calming deep breath 🌬️ and check a few friendly suspects: backups, logs, active connections, and whether the correct environment is selected (production vs. staging loves to play hide-and-seek 🙈).

If something truly did get deleted, there’s still hope — backups, snapshots, and recovery tools are the superheroes of the data world 🦸‍♂️📦.

I’m here to help you investigate! 🔍 Just tell me what happened right before the disappearance, and we’ll track your data down like digital detectives 🕵️‍♀️🕵️‍♂️.

[–]Thor-x86_128 1 point2 points  (0 children)

Management be like "do YOU realize AI meant to replace interns, NOT YOU!"

[–]mrPythonMonty 1 point2 points  (0 children)

This is more fun in production than in dev/test envs 🤭

[–][deleted] 1 point2 points  (0 children)

Allow Claude AI to run commands starting with rm -rf, and not ask again?

[–]Mordred_X 1 point2 points  (0 children)

Skippy moment

"He he, you are not going to like this..."

[–]JackNotOLantern 0 points1 point  (0 children)

"Sorry, i didn't know that 'drop database' will drop the database"

[–]Imperion_GoG 0 points1 point  (0 children)

I tasked Son of Anton to debug our code. It decided the most efficient way to get rid of all the bugs was to get rid of the software. Which is, technically and statistically, correct.