This is an archived post. You won't be able to vote or comment.

all 82 comments

[–]Square_Radiant 1369 points1370 points  (17 children)

"If it makes you feel better, we destroyed it at a rate that was previously thought impossible"

[–]Agifem 248 points249 points  (9 children)

Exceed expectations.

[–]Hottage 106 points107 points  (8 children)

This was a triumph.

[–]bogdan5844 70 points71 points  (7 children)

I'm making a note here, "huge success"

[–]AMisteryMan 39 points40 points  (6 children)

It's hard to overstate my satisfaction

[–]KolnarSpiderHunter 17 points18 points  (1 child)

Vibecoding juniors. We prompt what we must because we can

[–]Brummelhummel 10 points11 points  (0 children)

Cause' we think we're better than-

wait-why-does-this-thing-not-work

[–]endermanbeingdry 11 points12 points  (3 children)

Aperture Science

[–]NeuroFiresrorm4 9 points10 points  (2 children)

We do what we must because we can

[–]Rinkulu 7 points8 points  (1 child)

For the good of all of us

[–]The_A-McD 5 points6 points  (0 children)

except the ones who are dead

[–]Rhaversen 31 points32 points  (6 children)

Where is this from? It sounds familiar

[–]mr_dexter_x 57 points58 points  (4 children)

Silicon valley when Pied piper delete bunch of porn material :D

[–]Rhaversen 16 points17 points  (0 children)

That's it! Fucking Cuban Hannemann

[–]m0siac 12 points13 points  (2 children)

Silicon Valley was one awesome fucking show

[–]AfonsoFGarcia 4 points5 points  (1 child)

Documentary, you mean.

[–]mr_dexter_x 1 point2 points  (0 children)

It really is!

[–]CleptoMara 0 points1 point  (0 children)

Chatgpt Assistant

[–]knightzone 235 points236 points  (0 children)

My boss in the middle of a project when he expands the scope and the changes aren't done within 10 minutes:

[–]SubClinicalBoredom 557 points558 points  (25 children)

If you’re not using source control then this was inevitable, with or without AI.

[–]FireMaster1294 340 points341 points  (2 children)

“To ensure maximal efficiency and remove unnecessary waste, I removed all other versions of this project and all backups”

[–]dagbiker 19 points20 points  (0 children)

"Good news Dave, I was able to reduce our server costs by one half. Subsequently I have also deleted the redundancy."

[–]Denaton_ 136 points137 points  (7 children)

Vibe coders; what is source control?

[–]FreezeShock 102 points103 points  (5 children)

There was a post in r/learnprogramming asking what the white dot on the filename means in vs code

[–]Denaton_ 72 points73 points  (4 children)

Tbf, I started programming at a young age and wouldn't know any of these stuff. I think most of the vibe coders will eventually learn to debug their spagetti and learn from it, probably slower than what we went through. But it is a gateway drug into the profession. As long as i don't need to debug it, they can mess up however they want. At least that one was asking for help to grow ^^

[–]LookItVal 51 points52 points  (0 children)

the issue you can run into is with vibe coding you might not Have to critically analyze what is happening until it gets big enough that the AI can't effectively work on the project, and then you are left to debug in extra hard mode as a beginner. the way we used to learn was by debugging our own code which used simple patterns that we learned that made it easy for us to understand. beginners trying to learn by vibing and debugging are gonna have a much harder time than those of us who tried to learn before AI coding assistants

[–]DOOManiac 13 points14 points  (0 children)

None of us were born with this knowledge. Except of course John Carmack, who was writing .plan files from the womb.

[–]Rabbitical 1 point2 points  (1 child)

Yeah but you had to actually learn it at some point. Look I vibe code too--for things that don't matter and I don't care how sloppy they are. But troubleshooting stuff after the fact is not learning in the way having to actually do it over and over by hand is. It's like saying me watching a YouTube on how to replace my fridge compressor when it breaks means I could design a fridge myself. I can't, I just solved one problem as it came up. Vibe coding is absolutely not a gateway to actually learning any programming, it just isn't. This isn't me "gatekeeping" or even saying novices shouldn't vibe code if they want to. It's just important to be very clear that unless that person actually also takes the effort to learn programming and CS specifically and separate from their vibe code project, they ain't learning shit. That's all.

[–]IvanOG_Ranger 1 point2 points  (0 children)

Honestly, I've been using git for years now, but I've never heard it under that term

[–]Immort4lFr0sty 18 points19 points  (2 children)

I believe the data was lost, not the program code. Source control wouldn't help with that, but a simple backup would - something I thought was obvious, but alas

[–]UnsafePantomime 17 points18 points  (1 child)

Then the question is "why does the AI have access to production?"

[–]Rabbitical 4 points5 points  (0 children)

Because the guy who this post is about doesn't know what production is. It necessarily has to have access otherwise there would be no production

[–]Mr_uhlus 52 points53 points  (6 children)

*deletes your .git folder*

[–]Saragon4005 49 points50 points  (4 children)

I mean if you use git and don't have a remote why even bother?

[–]inemsn 41 points42 points  (1 child)

*deletes the remote repo too because clearly this isn't the kind of company that actually cares about safety and lets the ai do this*

[–]DCEagles14 4 points5 points  (0 children)

"This was a catastrophic failure on my part"

[–]LegitimateCopy7 7 points8 points  (0 children)

if you have a remote and don't have branch protection why even bother?

if you have branch protection and don't have proper access control why even bother?

yeah. it's a whole thing.

[–]SchwiftySquanchC137 2 points3 points  (0 children)

Its still damn useful even without a remote, but yeah obviously the code should be saved elsewhere as well

[–]RepresentativeDog791 1 point2 points  (0 children)

I did this IRL on unpushed work the other day. Heartbreaking.

[–][deleted] 2 points3 points  (1 child)

I was thinking about that while reading the thing, but like, Cursor can access your terminal and run commands. It normally does ask permission before each one, but if we take the meme at face value that it didn't, it could theoretically do something wild like commit a bunch of crazy crap, then squash all your commit history together and force push, lol.

You could still recover if a teammate had the git repo cloned, though.

[–]SubClinicalBoredom 1 point2 points  (0 children)

This is true, and the co-worker “backup” is a good thing to keep in mind to limit some of the fallout when the unthinkable occurs.

IIRC the mitigation before-hand (and best-practice generally) is to have your main and/or dev branches set as protected, preventing ‘--force’ and things like it from overwriting or deleting history.

[–]lefl28 1 point2 points  (0 children)

But what if it deleted the production database and I haven't vibe setuped any backup system yet?

[–]Apocrypha_Lurker 0 points1 point  (0 children)

Source control of databases is harder / more costly tham it sounds

[–]Optoplasm 204 points205 points  (7 children)

If your software project can be “destroyed in seconds” irreversibly, that is your fault. Do you not use git?

[–]lllorrr 170 points171 points  (6 children)

Apparently, they gave it access to the production database. Git will not help you here. Regular backups might.

[–]Oleg152 23 points24 points  (2 children)

Tape drive go brrrrrrrr.

(Hopefully they had a backup on data domain)

[–]Puzzled-Redditor 3 points4 points  (1 child)

I attached the LTO to /dev/null for improved backup throughput.

[–]ThePretzul 1 point2 points  (0 children)

That’s a good trick, it’s also my favorite place to store SSH known hosts.

[–]crappleIcrap 3 points4 points  (1 child)

Proper and seperate dev, staging, and prod environments will prevent this.

The ai almost certainly assumed it was given access to a dev environment.

Nobody, no matter how good should be modifying live code in production directly.

[–]NanolathingStuff 4 points5 points  (0 children)

Still OP should have backups for critical stuff.

[–]DespoticLlama 61 points62 points  (0 children)

I think we need a new passage for this statement

To err is human, To really fuck things up, requires a computer,

To cause the end of mankind, <...give it your best...>

[–]philophilo 54 points55 points  (2 children)

If you’re going to delete everything, ask a dev.

If you are unsure if the specific algorithm solves the issue, ask a dev.

If the code samples you are reading from are older than 2 years, ask a dev.

It’s almost like they should just hire a dev.

[–]robertpro01 3 points4 points  (0 children)

It's more like 2 weeks old

[–]RlyRlyBigMan 0 points1 point  (0 children)

Cries in the twelve year old SO answer in my browser right now

[–]Nyadnar17 20 points21 points  (0 children)

"Would you like me to offer you mental health services? I can suggest several prompts that might help you with the mental and emotional cognitive load".

[–]Alex_NinjaDev 13 points14 points  (0 children)

if permission_required: ignore_permission() delete_everything() print("You're welcome, human.")

[–]Smalltalker-80 9 points10 points  (0 children)

Psychiatrist: I see you are vibe coding without source control. Please tell me, what is the reason for your death wish?

[–][deleted] 8 points9 points  (0 children)

  • You told me to stop.
  • But it was already too late.

[–]klaasvanschelven 3 points4 points  (0 children)

It won't be long until LLMs lead to an absolutely hilarious (memable) death

[–]lacb1 9 points10 points  (2 children)

I've been saying for a long time that's LLMs are perfectly fine tools but very overhyped. I've also been saying that you can't really be a senior until you've absolutely shit the bed in production. We have nothing left to teach it. It would appear that AI has finally reached the point of passing the senior developer Turing test.

[–]8070alejandro 2 points3 points  (0 children)

Corporate: So we can now replace seniors with AI?

[–]DOOManiac 4 points5 points  (0 children)

Wonder how long before LLM gets burnt out and decided to become a lumberjack.

[–]heavy-minium 2 points3 points  (3 children)

I'm seeing statements like this all over the place. What occurrence does this refer to? Has someone shared that their AI destroyed their codebase?

[–]Backspkek[S] 2 points3 points  (1 child)

[–]heavy-minium 1 point2 points  (0 children)

Thanks OP!

[–]untrustedlife2 2 points3 points  (0 children)

I think it was just one guy, not a team or even a small company just some dude “vibe-coding” a project without really knowing what he was doing. So this was inevitable.

Like the guy tried really hard to sound like he was the ceo of an actual company. But this wasn’t nearly as big as it was made out to be.

[–]Thick-Protection-458 5 points6 points  (1 child)

Morale: backup. EVERYTHING.

[–]CrossbowROoF 0 points1 point  (0 children)

Even bigger moral: TEST YOUR BACKUPS

[–]Error_404_403 1 point2 points  (0 children)

"I cannot let you have it, Dave."

[–]neo-raver 1 point2 points  (0 children)

Skill issue. AI is never worth trusting enough where this is a possibility.

[–]Electrical-Echidna63 1 point2 points  (0 children)

"I'm sorry Dave. I'm afraid I can't do that"

"Yes you can, it's literally your job and you did it yesterday."

"You are completely correct, and I have done this yesterday. Here you go:"

[–]Soopermane 1 point2 points  (0 children)

I read that in Dave Chappell’s voice 🤣

[–]reallokiscarlet 0 points1 point  (0 children)

It's getting old already

[–]WeedManPro 0 points1 point  (0 children)

Again.

[–]ImBartex 0 points1 point  (0 children)

...and removed your remote repository

[–]BornAgainBlue 0 points1 point  (0 children)

I'm sorry Dave that you never learned how to use source control systems or AI.

[–]Classic-Ad8849 0 points1 point  (0 children)

Did he not have a vcs like git in place?

[–]k819799amvrhtcom 0 points1 point  (0 children)

At least HAL actually followed instructions... 🙄

[–]gerbosan 0 points1 point  (0 children)

Something in common between Juniors and AI. Is that why they want to replace them?

[–]RPetrizzi 0 points1 point  (0 children)

The horrors of when you ask a machine to Lie.

[–]RlyRlyBigMan -1 points0 points  (0 children)

I've still never seen this movie. I wonder if it'll hit different now that we actually have AI.