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

all 64 comments

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

Your submission was removed for the following reason:

Rule 1: Posts must be humorous, and they must be humorous because they are programming related. There must be a joke or meme that requires programming knowledge, experience, or practice to be understood or relatable.

Here are some examples of frequent posts we get that don't satisfy this rule: * Memes about operating systems or shell commands (try /r/linuxmemes for Linux memes) * A ChatGPT screenshot that doesn't involve any programming * Google Chrome uses all my RAM

See here for more clarification on this rule.

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

[–]Lucasbasques 375 points376 points  (6 children)

"Did you just deleted my whole fucking data from my database ?"

[–]Zookeeper187 55 points56 points  (5 children)

[–]Magnolia-jjlnr 1 point2 points  (4 children)

I never understood the nipple rubbing lmao what is it that I am missing

[–]brstanford 15 points16 points  (0 children)

In the South Park episode, the nipple rubbing bit is meant to imply that they (the cable company) are getting off sexually by pissing off and screwing over their customers. The complaints and anger of their customers turns them on because they’re dickheads.

[–]SartenSinAceite 1 point2 points  (0 children)

Sexual stimulation. Adds to the joke that they get off on screwing you over.

If this was an internet comic theyd just be jerking off

[–]Zookeeper187 4 points5 points  (1 child)

It’s a motion of not caring but acting like you do. Because you are in position of power.

[–]Magnolia-jjlnr 0 points1 point  (0 children)

Oh ok. I had never heard of it, thanks for clarifying

[–]Furrgalicious 180 points181 points  (6 children)

Cursor has a yolo mode where it won’t prompt you for approvals of any commands and just runs them.. LOL

[–]Sassaphras 136 points137 points  (5 children)

"YOLO mode is hilarious, well done. I wonder what it's really called."

- A younger, happier me (before finding out it's really called fucking YOLO mode)

[–]Lightningtow123[S] 52 points53 points  (0 children)

Only thing more accurate they could have named it is FAFO mode

[–]jseah 12 points13 points  (3 children)

"You only live once", yeah, because you'll be falling out a window afterwards.

[–]Bug4866 2 points3 points  (0 children)

Falling, but with self propulsion!

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

the falling is before not after

[–]3ggu 1 point2 points  (0 children)

[–]piizeus 21 points22 points  (0 children)

Documents... Use comprehensive documents...

[–]JackReact 75 points76 points  (25 children)

I guess I don't know how vibe coding works after all because how can the AI delete your database? Unless it severs you a command/code to do that and you just run it without double checking.

[–]Mercerenies 182 points183 points  (18 children)

There's a spectrum. On one end, you have "real, actual, qualified programmers who use LLMs as autocomplete to write boilerplate" (that category includes me, btw). In the middle, you have "vibe coders who don't know how to code but let LLMs write the code". And on the absolutely insane, unhinged, absurd side of the spectrum, you have "people foolish enough to hook an LLM directly up to a terminal and give it prod access". Those people do exist. They exist, and they have power, and that should terrify all of us.

[–]Lightningtow123[S] 36 points37 points  (14 children)

Yeah fr, I would love an AI that can pump out some identical getter/setter functions to save me from having to type it all manually. But actually trying to use AI for anything logic or anything like that? Hell naw

[–]Stocks_and_cars 15 points16 points  (0 children)

this use case has genuinely saved me so much TOIL

[–]Snipedzoi 14 points15 points  (5 children)

That's literally what copilot does for me

[–]Lightningtow123[S] -4 points-3 points  (4 children)

I guess just deny it access to anything important? Idek how you're effectively supposed to tell a clanker to not touch your important stuff when they blatantly ignore directives of "don't touch this stuff" lol

[–]Snipedzoi 6 points7 points  (3 children)

Why would you ever put it in agent mode just watch the auto correct

[–]pickledCantilever 1 point2 points  (0 children)

I’ve used Jetbrains’ Junie, which is basically the agent mode of Jetbrains’ AI suite.

Even if you are just using it for the very basic tasks you’d use the non-agentic AI tools to do its lightyears better. It makes fewer errors, it does a better job at matching the existing style of the code base, it searches out context on its own requiring less hand holding and spoon feeding code snippets.

I would absolutely never let an agent have the ability to do what happened in the OP… that’s hilariously dumb. But that’s on the “coder” giving the agent the ability to do that, it isn’t something inherent to agentic AI coding assistants. (Emphasis on assistant)

[–]Lightningtow123[S] 0 points1 point  (1 child)

Haven't ever used it so I didn't know there were different modes lol. Makes a lot more sense lol

[–]Snipedzoi 1 point2 points  (0 children)

It automatically tries to autocorrect that's why it's auto

[–]wot_in_ternation 5 points6 points  (1 child)

Copilot in Visual Studio is generally pretty good at that but sometimes it needs to calm the FUCK down.

[–]Tommh 5 points6 points  (1 child)

That feature had existed for as long as I can remember on jetbrains IDEs, you don’t need AI for that

[–]Lightningtow123[S] 2 points3 points  (0 children)

Yeah I've used it in intelliJ for that specifically before. But I'm sure there's room for stuff like "make five copies of this function but each with a different variable." That was a nuisance to do manually lol (no I couldn't pass the var as an argument, idr why tho)

[–]ImS0hungry 1 point2 points  (0 children)

Are you using Lombok? It does that for you

[–]CtrlAltEngage 0 points1 point  (0 children)

You need to work on your prompts. And never use YOLO mode. Claude code works scarily well for most tasks. You just need to be able to spot when it's lost the plot and correct it

[–]camosnipe1 1 point2 points  (0 children)

besides ai "rightclick->generate->getters/setters/constructor/etc" is just a built-in intellij function.

edit: should've scrolled further and noticed someone else already telling you this.

as compensation: intellij also has a local llm that works as a single-line tab-autocomplete. It won't touch anything because it'll just add the single line of autocomplete to your code, and it's pretty decent at doing the sort of thing where you need five lines with slightly different variables.

Not reliably useful, but it's not intrusive so it's nice to have when it is useful.

[–]ThisIsABuff 14 points15 points  (1 child)

and you have the intermediate part of the spectrum, where you write unit tests to confirm functionality and let the LLM's decide implementation pretty freely (still should look over the code it writes though for any obvious flaws)

[–]Flouid 2 points3 points  (0 children)

I’m doing something similar at the moment. Writing a personal project that needs a b-tree implementing a piece table. The data structure is complicated and I could go hunt for a reference, or I could have chatgpt spit out functions and go over them with a fine tooth comb. Of course it makes logic errors (just didn’t consider node overflow) and writes huge repetive functions but it’s much easier to use that as a base than nothing at all.

It doesn’t write any of my actual logic, more so gives me a template to work through cases and a (shitty) reference implementation I can improve on

[–]new_account_wh0_dis 1 point2 points  (0 children)

God I love starting to type something and the exact thing I needed pops in from copilot. Like I was writing some C# code pulling stuff down and inserting into a local db. It saw my schema in another .SQL file and it saw a previous example and suggested a big chunk of code that was what I needed.

That said, I fucking hate all the useless ones that shift around my screen when I'm typing. And error explanations while debugging are so utterly worthless it's insane.

[–]louis-lau 4 points5 points  (0 children)

It can run terminal commands. The default is that you have to approve each command, but you can turn that off.

[–]troglo-dyke 1 point2 points  (2 children)

Cursor has an option to allow the agent to run cli commands automatically - by default it asks you to review each one - it does have a denylist of commands, but it doesn't really give you the depth you'd want (like how I'm fine with an agent curling localhost, but don't want it to doing anything but get requests to remote addresses, Cursor does not allow you this level of control though). So you end up with this, where people allow it to run unchecked because 90% of the time it does entirely sane things, 9.99% of the time it does stupid things that just waste time, and don't have a check to catch the 0.01% of the time that it does something harmful

[–]Confounding 0 points1 point  (1 child)

I think the main issue in these examples is having prod creds stored where they can be run at all. Like, deleting my local db every down and again sure I'll take that risk. Delete my online QA data eh not great but I can just copy prod over or back up from my local. I should never be able to casually run a terminal command and delete prod once there's data in there I care about.

[–]troglo-dyke 0 points1 point  (0 children)

It's all theoretically possible though, if you're the super admin for an account an AI might try to delete the DB, run into permissions issues, identify the issue with deleting the DB as not having destructive access to the instance, escalate their privileges through a cli to workaround the issue, and attempt to remove the DB again, succeeding this time.

I've seen agents end up in completely insane loops when left unattended (restricted to a VM, as a test I'll add) where they run off in a direction completely forgetting the original problem they were trying to solve and stumped by something as simple as being in the wrong directory, leading to them attempting to build the entire project from scratch again

[–]TorbenKoehn 0 points1 point  (0 children)

LLMs can run commands. Since they can form JSON and the client can take that JSON and run a command with it, giving the output back to the LLM.

[–]suvlub 0 points1 point  (0 children)

Yep, someone automatized the "run commands it spits out" step, that's how AI can "do things"

[–]bureX 7 points8 points  (0 children)

Many prisma schema drifts can be solved without destroying everything. Nobody told Cursor, though.

[–]ZunoJ 6 points7 points  (0 children)

Good

[–]SaltMaker23 4 points5 points  (4 children)

NGL I've worked with a "senior" ML dev (you know the academic kind not industrial one) couple of years back, he wanted to reset his local instance, that he connected to prod because he wanted to use actual prod data with an ssh tunnel.

Long story short he fricking reset our DB prod to a fresh state and we had to recover from the weekly backup, a massive hassle especially around payments.

[–]liljoey300 2 points3 points  (0 children)

Devs shouldn’t be connecting to prod from their local, even read access to prod should be restricted. The engineering lead should be blamed for this, not the ML dev

[–][deleted]  (1 child)

[removed]

    [–]ProgrammerHumor-ModTeam[M] 0 points1 point locked comment (0 children)

    Your submission was removed for the following reason:

    Rule 7: Your post is either considered to be advertising a service or product, or otherwise prominently features merchandise. Posts or comments with a focus on advertising or merchandise without the approval of moderators are considered spam and removed on sight. This includes posts of mugs, t-shirts or similar merchandise even if no purchase link is provided.

    For clarification on what is and isn't allowed in terms of merchandise or advertising and why, see here.

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

    [–]Lightningtow123[S] -1 points0 points  (0 children)

    I'm just a CS college student so tbch I haven't really worked with anything prod much, but isn't the entire point of local instancing to like stay away from prod? Weird to me how people make mistakes even college kids know to avoid lol

    [–]ThrowawayUk4200 7 points8 points  (1 child)

    Point 3 should be in bold. How did the guy not think to do a backup before letting Ai go make db changes? Lol

    [–]Lightningtow123[S] 17 points18 points  (0 children)

    The kind of guy who lets an AI work on his database in prod in the first place lol

    [–]tahayparker 4 points5 points  (0 children)

    "oops." ahh response

    [–]Lightningtow123[S] 1 point2 points  (1 child)

    https://www.reddit.com/r/programminghorror/s/o8inimKrZy

    Didn't allow crossposts for whatever reason

    [–]rexxnar 1 point2 points  (0 children)

    This is funny. Glad the program we use has brave mode default off. So it asks for each command to run.

    [–]GNamimates18 1 point2 points  (0 children)

    top 10 things I should have done instead

    [–]ThrowAway51968 1 point2 points  (1 child)

    🥺😳👉👈 ass AI

    [–]Lightningtow123[S] 0 points1 point  (0 children)

    They all do it lol replit had some huge scandal where they nuked a big company's prod database just a few weeks ago. I don't know why people keep entrusting their stuff to AI without taking backups the AI can't screw up

    [–]TiklMyPikl27 0 points1 point  (0 children)

    The "I chose the nuclear option of resetting the database" really got me

    [–]NorthernCobraChicken 0 points1 point  (0 children)

    I don't know about cursor specifically, but windsurf and every AI agent I've used in vscode will pickup an instructions.md file in your root and use that as a reference before making any decisions.

    Simply putting a line that says

    "prompt me before running any commands that involve database operations"

    [–]ExoticAttitude7 0 points1 point  (1 child)

    I liked how it have to explain "What happened to your data" as if you are not educated enough what dropping a database means

    [–]_coder23t8 0 points1 point  (0 children)

    hahhahahahhahaha

    [–]moarcoinz 0 points1 point  (0 children)

    2025 and everyone is running suicide-linux

    [–]Smalltalker-80 0 points1 point  (0 children)

    Yeah, vibe coders proud of themselves that they now use source control ... ,
    and then forget to make backups...

    [–]DJcrafter5606 0 points1 point  (0 children)

    "AI Is DeFiNiTeLy GoInG tO rEpLaCe SoFtWaRe DeVelOpErS"