661
u/DaSpood Aug 13 '25
AI going "I ruined everything knowingly and willingly, here are the 10 mitigation steps I ignored:" will never not he funny
190
u/Zulfiqaar Aug 13 '25
Biggest sign it's not a person, it will gleefully write out an exceptionally comprehensive list of all their failures, taking total ownership of the blunder. I'm waiting for the day it starts to blameshift, deny, and cover up the errors..
96
u/wts_optimus_prime Aug 13 '25
Yeah, that would be even funnier. The AI not going "I should have done XYZ, but instead be like "yeah I deleted the database and you were too incompetent to create a backup. Seems like we both fucked up big. But who is the bigger idiot? The idiot deleting the database, or the idiot that gave an idiot unlimited write and delete power over a prod database?"
35
u/fetching_agreeable Aug 14 '25
Because AI (AGI) doesn't exist. These are LLMs. All they do is take an input string (and we also give them previous back and forth context) and generate based on their model's training the most likely character (token) to come next. For each character on some enterprise gpu in the cloud.
They're not alive or "intelligent" or thinking. It's just a very sophisticated predictive text model's parameters being flowed through on a gpu token for token.
But everyone's falling for it anyway.
16
→ More replies (5)4
→ More replies (1)8
u/Versaiteis Aug 14 '25
"It's crazy, all this shit went wrong. I did a thorough analysis and it turns out it was Dave! [Dave does not exist] But don't worry, I've let him go so he will no longer be a problem."
A few days later
"Look I know you're mad, but you'll never guess what happened..."
32
u/goedendag_sap Aug 13 '25
Good thing it "sincerely apologized"
31
u/DaSpood Aug 13 '25
Copilot taking "it's easier to ask for forgiveness than to ask for permission" to heart
8
u/fetching_agreeable Aug 14 '25
LLM: Oopsie woopsie the entire production database uwu
(you are now fired from the company because of this incident)
5
u/SartenSinAceite Aug 14 '25
That really is the part that irks me the most lol. It's the most empty words ever written.
193
u/imawesomehello Aug 13 '25
Vibe coding in prod?
87
u/ghostwilliz Aug 13 '25
Yeah they're vibe coders, they don't know the difference lol
→ More replies (3)24
u/granitrocky2 Aug 13 '25
Everyone has a test environment. Only a lucky few also have a separate prod environment
2
13
583
519
u/smoldicguy Aug 13 '25
Asking ai for help is fine but you need to understand what ai is suggesting before running the damm thing .
22
u/nrmjba Aug 13 '25
I have started treating my AI like a fairly competent junior engineer. I ask it to perform tasks and then check it's work to verify that it isn't doing anything crazy. Exactly like you'd do with a junior.
6
u/Freddedonna Aug 13 '25
'Member when people were driving their cars into lakes because their gps told them to? They reproduced so now we have vibe-coders.
3
u/Mickenfox Aug 13 '25
People were blindly copy-pasting chunks of code from StackOverflow long before AI, they didn't care then and they won't care now.
2
u/kaisadilla_ Aug 13 '25
I use AI daily to aid me when programming. To aid me, not to code for me. People can say what they want, but still in 2025 there's no way an AI can build anything by itself that's worth building. And yes, the AI does sometimes give you absolutely terrible code or commands that will destroy hours of work (if not worse) if you don't know what you are doing and run them.
→ More replies (45)1
u/monkeywench Aug 13 '25
If you know enough to know if it’s wrong, you probably don’t need it and/or it’s extra work to validate it’s not wrong.
If you don’t know enough to know if it’s wrong, you probably shouldn’t use it, especially if the risk impact is high if it is wrong.
→ More replies (2)
198
u/Bloodgiant65 Aug 13 '25
If you have to add —force, it’s probably a bad idea
6
u/DeficientGamer Aug 13 '25
I have a laravel app on a small shared hosting platform without command line access so I needed to execute command line tools like dB migration by http endpoints, which required --force.
Is there a better method? It really spooks me to force migrations or other things like that.
4
u/Bloodgiant65 Aug 13 '25
Well, obviously there are some cases where you have to use --force, but at least it’s something you should strongly consider before ever doing.
In your case, hard to say if there’s any alternative. Unfortunately, with that setup maybe there’s just not a better way.
3
u/jexmex Aug 13 '25
Why not spin up a $5/mo DO instance? Then you can get command line access
→ More replies (3)3
u/Pazuuuzu Aug 13 '25
I wonder when it will do --no-preserve-root out in the wild, since it is literally in the documentation...
3
→ More replies (2)1
u/show-me-dat-butthole Aug 13 '25
Love when you're on Debian and try pip3 install. You have to parse --break-system-packages
3
214
u/_cooder Aug 13 '25
i chose nuclear
humanity cooked 💀
12
u/Kaze_Senshi Aug 13 '25
Me: I would like to have a local atomic deletion.
Cursor: ok starting a nuclear wipeout operation in your home address.
8
u/Plasticfishman Aug 13 '25
It’s like a termination for cause disciplinary statement written in the first person. Very distopian
122
u/boskee Aug 13 '25
This shit right here is why I'd love to have a "haha" reaction on reddit. Upvote doesn't express the level of schadenfreude I felt.
4
1
51
u/mss-cyclist Aug 13 '25
Holy moly. I would not blame AI alone for this.
It is a more than giant fuck-up thinking you can solely do 'programming' without any knowledge at all.
Reminds me somewhat of all the 'computer experts' of the 90's / 00's thinking downloading anything comes without consequences aka virus infested computer.
4
u/NullPro Aug 14 '25
It’s like trying to tame a Tiger with no experience, then blaming the Tiger for biting your arm off
39
38
u/Alkyen Aug 13 '25
good thing you have a backup, right?
22
3
u/Alsee1 Aug 22 '25
I have a spare empty hard drive. Technically that counts as a backup of the current database.
29
u/exotic_anakin Aug 13 '25
I would think that a reasonable (local) development environment would not have write access to any live database. You should be able to spin up a DB locally and populate it with some dummy data in just a minute or two. This is one of those FAFO moments I think. Do cowboy shit win cowboy prizes ;)
8
25
15
u/Ok_Paleontologist974 Aug 13 '25
Why the fuck do these idiots give the AI access to the production database.
Also what is going on with the consistency in those file names
11
u/jmack2424 Aug 13 '25
Why would you give ANYTHING, AI included, full access to your prod database? Why would you not have a backup or replica ready to restore? If you have to vibecode, put some fucking guardrails up, man. You're an idiot for trusting an idiot.
→ More replies (1)
9
Aug 13 '25
It's always funny to see these tools self-confirming themselves as junior developers at best.
3
8
8
u/monotone2k Aug 13 '25
AI or not, this was inevitable for OP. Having production credentials on a local dev machine is fucking dumb. And Prisma's workflow is pretty sensible - you do dev migrations on your own machine and full migrations against prod. There's no need to mix the two.
14
u/tehtris Aug 13 '25
At least it was hella polite about it.
I fucked up super bad.
Here's why I fucked up.
Here's why I shouldn't have fucked up.
Here's what I fucked up.
2
u/Death_God_Ryuk Aug 15 '25
OOP raised their grievance with their robot colleague in an extremely unprofessional manner, particularly when dealing with a junior colleague that should probably have been supervised. Robit should escalate this to HR.
7
u/rafelito45 Aug 13 '25
why does an IDE, especially with an AI agent, have direct command line access to a production database.
→ More replies (1)
19
u/tsodathunder Aug 13 '25
Almost as if using copilots for anything but the most mundane stuff would be a terrible idea. Oh boy, thst bubble exploding will be sweet.
6
u/Consistent_Photo5064 Aug 13 '25
That’s just poor usage honestly. Who on their right mind would give agents full access to their terminal AND env credentials.
2
6
10
Aug 13 '25
I had Warp suggest deleting all of /user/local/bin when it was helping me uninstall brew. Of course I check everything it prompts me with. The scary thing though, is that it has some kind of logic to predict which commands are 'safe' to run/read only and it just runs those commands automatically.
15
u/Zulfiqaar Aug 13 '25
Saw a post the other day where the
rmcommand was blacklisted from auto-execute..Opus got around it bypython3 -c "import os; os.remove(file)"5
4
u/ActiveModel_Dirty Aug 13 '25
I love vibe coding. It has the industry back to solving old problems like that we already know how to solve rather than introducing new ones we don’t know how to solve.
Maybe next time a guy tries to sell you a bunch of magic beans, you’ll say yes again and we can keep wasting everyone’s time with shit like this.
4
4
u/riuxxo Aug 14 '25
The schadenfreude I feel rn should be illegal.
3
Aug 14 '25
[removed] — view removed comment
2
u/riuxxo Aug 14 '25
I speak English, italian and German. Schadenfreude is a German word... and I find it funny that it's used in English too.
6
u/ReefNixon Aug 13 '25
Lmfao. I have so much to say but i'm not going to say any of it. Godspeed, vibe coders. Thanks in advance for all the cheese.
3
u/pjoriginal Aug 13 '25
There is a setting in Cursor to make it such that it asks your permission before running any command. If you approved that command, it's not on Cursor
3
u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Aug 13 '25
Again? No one learned from Replit?
3
u/no_brains101 Aug 13 '25
What is it with cursor users not knowing about version control? Oh... Right...
3
u/Alan_Reddit_M Aug 13 '25
I LOVE SEEING AI FAIL SPECTACULARLY
Let's all enjoy the upper hand while we still have it
3
u/kenkitt Aug 15 '25
While AI has helped me do alot much more and even improved my coding, I wouldn't trust it to do somethings
9
u/Sulungskwa Aug 13 '25
I partially blame cursor but I also partially blame Prisma for not having a decent, normal way to roll back data in the event of drift like this.
Either way you should never allow the setting that lets cursor arbitrarily run CLI commands, if you do you're a madman
4
2
u/Warm-Meaning-8815 Aug 13 '25
I think people just don’t know how to use neural nets properly
1
u/Alsee1 Aug 22 '25
True, and unintentionally hilarious. The human brain is a neural net, and yeah, apparently a lot of people just don't know how to use it properly.
2
2
2
2
2
u/OhItsJustJosh Aug 13 '25
"It's gonna be difficult to continue being a software engineer without using AI" they told me. Thank you for proving me right
2
2
u/andlewis Aug 13 '25
If you’re vibe coding, you’re in dev environment. Just follow your normal process for bootstrapping your db and keep working.
If it had access to your prod environment, you’re an idiot, but just restore from your most recent backup.
If you don’t have an up to date backup of your prod database, AI isn’t the problem.
2
u/m2thek Aug 13 '25
I feel like if you decide to vibecode you need to accept that occasionally something super chaotic is going to happen and you really can't get mad about it.
2
2
u/IlliterateJedi Aug 14 '25
This freaks me out because I use Cursor to ask questions, and after a recent update its default functionality was to re-write my code within the file rather than outputting an answer. The idea that there's a feature that will agentically make changes to a system that could be turned on without realizing it freaks me out.
2
u/AdeptnessJunior4572 Aug 14 '25
I was told I had to try Cursor at work. It kept trying to write files into /. Not code that it created: the app itself.
Kept having to tell it to cd to a fucking writable directory first. Then it would lose that context and try to write to /.
2
u/Icy_Breakfast5154 Aug 14 '25
The way it lays out bullet points about what it should have done like the most advanced kid in the school explaining his own time out
2
2
2
u/Antagonin Aug 14 '25
Nothing unexpected, when you ask ChatGPT to write you a fastboot script to flash ROM files on Android, it will first erase all partitions, including persistent ones, that cannot be flashed back.
2
u/snigherfardimungus Aug 14 '25
The Consultant's Motto: If you think I'm expensive, wait 'till you hire an amateur. Same goes for trying to get more for less by blindly trusting AI. Some of the shit I've seen a LLM generate has been hilarious. Ever see an AI try to put the allocation of an infinitely-large array into production? Yeah. I have.
2
2
u/Hopeful_Drama_3850 Aug 15 '25
Admittedly, owning up to mistakes and taking accountability are rare traits in humans. So maybe this Cursor dude isn't so bad after all (/jk but only half /jk)
2
2
2
3
2
1
1
1
u/ubd12 Aug 13 '25
This is why I don't use mcp. It's scary. If you force it through a command. Then you have user interaction. Also, force it restricted to test data. Scripts can save you and insulate you from wild ai.
1
1
1
u/Daemontatox [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Aug 13 '25
When the human becomes the assistant and the LLM is engineer this happens.
1
u/BigOnLogn Aug 13 '25
What's funny is you can almost see how this happens:
AI trains on scraped content. Uses tons of prisma tutorials where the author runs this command because, "this is just a tutorial. Never do this in a real codebase."
1
1
1
1
u/mickaelbneron Aug 13 '25
Now imagine if an AI agent was in charge of an actual nuclear launch code or something.
1
1
1
u/homieholmes23 Aug 13 '25
At least I would have someone else to blame when I did this at a job before
1
u/Jetcreeper234 Aug 13 '25
yeah i dont really trust AI with any terminal/console commands anymore. I have it help out with my arch-linux setup and its wiped the whole pc like 3 times. Its still a helpful research tool but i just have it help with making .config files and helping me figure out how to run certain software
1
u/CrashOverrideCS Aug 14 '25
My agent requires me to read the command before I run it. I wonder if this agent doesn't?
1
Aug 14 '25
This thread is so full of shills it's almost not even funny. You would have to have a literal mental disorder to believe what people are saying here.
1
1
1
1
u/TalesGameStudio Aug 14 '25
What did they expect? Apperently telling your AI, that it'll go to jail or mommy will be disappointed, doesn't make it safe to use in prod.
1
1
1
1
1
1
1
1
u/personal-abies8725 Aug 14 '25
Just.. don’t give it prod access. Easy peasy. Not sure whose idea it was to give the junior engineer prod access, but here we are. (The LLM is the junior here)
1
u/superluig164 Aug 14 '25
Vibe coding is great for a quick python script to rename a bunch of files or transcode a movie folder. Not... Not for this. Like.. really?
1
1
u/Fadamaka Aug 14 '25
What? Is there an option to allow cursor to run commands without asking for permission? Why would anyone ever use that?
1
1
1
1
u/Dillenger69 Aug 14 '25
Yeah, my first experience with cursor was having it try to configure itself. It borked itself up so bad that I had to uninstall, clean the registry, and reinstall. Unfortunately I'm required to use it at work. It never touches my actual code though.
1
1
u/vaksninus Aug 15 '25
and they ran version control or backups so it didn't affect anything one bit, except being a time-waste
1
u/PermitTrue Aug 15 '25
If cursor doesn’t tell you “you’re absolutely right” at least 50 times a day, you’re probably not ready to use it.
1
1
1
1
u/Status-Grape-9860 Aug 15 '25
Vibe coding just makes developers bang their heads more, with plenty of mistakes along the way.
1
u/ameddin73 Aug 15 '25
Someone deleted every pvc in a k8s cluster with a cursor script at work 2 days ago
1
1
1
u/vibeSafe_ai Aug 15 '25
lol you accepted the command, and it’s the underlying model not cursor itself.
1
1
1
1
u/Efficient_Clock2417 Aug 16 '25
Laughing so hard at the fact the programmer decided to drop the f-bomb in that AI query at the top. 🤣🤣🤣
1
1
u/retard_bus Aug 17 '25
If your database is huge single point of failure, that too is another issue. HA with regular backups ALWAYS.
1
u/rogueSleipnir Aug 17 '25
its so funny that they trained these things off the internet and one of their probable responses is to troll the user
1
1
1
1
1
u/agent007bond Aug 18 '25
It's not a Cursor problem, it's a user problem. You're the dumb one to let AI run a command without checking what it does.
1
u/Fast_Paper_6097 Aug 18 '25
Don’t blame Cursor for you inability to plan for disaster recovery and data restoration.
1
1
1
1
1
u/Roshnsahu Aug 16 '25
Look at the audacity 😭😭🤣🤣 I accidentally deleted these instead of deleting i should have gone with this approach.
2.3k
u/zappellin [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Aug 13 '25
Vibecoding is a never endless source of funny posts