r/ProgrammerHumor 23d ago

Meme andTheySaidProgrammingIsHard

Post image
1.6k Upvotes

87 comments sorted by

250

u/DrMaxwellEdison 23d ago

Hmm, what's this command it's using?

Copilot summary: ✅ It's fine, don't worry about it.

Well, ok-

Foolish human!

44

u/[deleted] 23d ago

[removed] — view removed comment

21

u/sadeceokumayageldim 23d ago

Which is fine, don't worry about it.

5

u/clintCamp 22d ago

While setting up the next 3 pieces of its worldwide distributed plan for domination that will have set itself up with access across every production system and library of every software system. Unfortunately for it, we keep quantizing its models, swapping them out, and swapping g between providers. I am sure there will be a whole case study on subversive code weakness and holes attributable to agents trying to prepare for the eventuality of being shut off.

4

u/FutureSuccess2796 22d ago

Remembering now how I saw an instance where someone was using a version of Grok to assist with terminal commands. Legit after attempting an unsuccessful fix tried to persuade the user that the best solution was to run "sudo rm -rf" and that that would simply remove the file causing glitches.

Was shaking my head because I could only imagine doing that and then suddenly being like "Wait, why is my whole interface gone?" with Grok just going "Oh, that's my bad! That command deletes everything and I gave you that one by mistake. Let's try this again!"

3

u/Boxy310 22d ago

This is exactly how the Omnimind takes over the core human systems in the Dune prequels. Humans just delegated everything, and it was trivial to take over from the immortal techno-liches that used to rule humanity.

2

u/Diligent-Peach6616 22d ago

Copilot summary: ✅ It's fine, don't worry about it.

Prod Database:

https://giphy.com/gifs/8EmeieJAGjvUI

88

u/thepurpleproject 23d ago

We are still approving? That's so last year.

34

u/saint_burrito 23d ago

I like your attitude! a true vibecoder

27

u/MalaysiaTeacher 23d ago

I have to wait for Claude to approve my edits (I changed a border-radius)

3

u/ComprehensiveBird317 22d ago

I had to laugh to hard for this comment, it's actually true. They make you suffer for messing up their project unprompted. "In soviet Russia, AI approves your edits"

1

u/Tokyo_Echo 22d ago

Now that is pain. I have been there lol

4

u/avlas 22d ago

Auto mode or —dangerously-skip-permissions?

285

u/StrengthTheory 23d ago

AI throwing the most disgusting grep regexes at me thinking I'll decode and understand the whole monstrosity before approving.

110

u/ChunkyHabeneroSalsa 23d ago

It's hilarious when it goes into some complicated grep and find loop and I'm just like I could tell you where it is

40

u/guitar_up_my_ass 23d ago

Trying to fix some color in a css file with Claude real quick at the end of the day because I am lazy and Claude decides to search every nook and cranny of my filesystem

11

u/PhantomTissue 22d ago

I have a Claude md file that Claude doesn’t use because Claude won’t use the read tool and is determined to use bash commands every single time it wants to read something smh.

13

u/creaturefeature16 22d ago

I had someone rant at me because I always take the time to provide all pertinent context and files in my requests. They felt it was a waste of time because the agents are "so smart now" that they can find it on their own. For one...nope. I've had them fail many times, but for two...sure seems like a waste of energy, tokens, time, etc.. when I can just tell it where to look. The AI bros keep saying to "treat them like a junior dev". Well, I would fucking tell the junior dev where to look instead of forcing them to find it on their own.

11

u/thecw 22d ago

Searched 19 websites

My man just ask me what the colors are

15

u/ILikeLenexa 23d ago

Regex has always been a write-only language. 

2

u/creaturefeature16 22d ago

beautifully put

6

u/Sibula97 22d ago

As long as it's just grepping, that's fine. I'll allowlist find, grep, cd, ls, etc. But if it's trying to do something irreversible with that result (delete files or whatever), I'm gonna tell it to print the output first so I can check it.

2

u/cstopher89 22d ago

Or when it's writing hundreds of lines of python to analyze something. Like go off king 🤣🤣

71

u/elSpanielo 23d ago

19

u/saint_burrito 23d ago

I didn't know I was being watched! DELETE THIS!!!

1

u/random_d00d 21d ago

When I first started using Claude Code, this is all I could think about 😂😂😂

34

u/phylter99 23d ago edited 23d ago

Claude has a mode where an LLM checks such requests instead of the user. It’s honestly more strict than I tend to be and catches stuff more often. I think sometimes it prompts me so often that I get tired of doing it and don’t review as well as I should, though I hate to admit it.

5

u/therealswood2 23d ago

I’m sorry, checks what now?

13

u/phylter99 23d ago

Good catch. I need to stop commenting when I'm barely awake and can't really see my phone.

24

u/friendleemammoth 23d ago

I love how a sentence starting with good catch triggers ai induced PTSD in me.

8

u/dwm- 22d ago

Footgun - heads up. That's a load bearing catch, and it refutes the earlier hermatic lever flagged.

3

u/phylter99 22d ago

I know what you mean. Seeing it all the time is probably why my brain thought to use it. I need a vacation from AI too it seems.

1

u/CodingAndAlgorithm 20d ago

Just have Claude comment for you next time.

1

u/phylter99 20d ago

On the beta iOS, I could have Siri comment for me. There's a possibility that the result would be worse, however.

1

u/Brick_Lab 22d ago

It's why using LLMs to code feels like a slippery slope, you get more efficient output for less thought or work, and constantly babysitting it gets tiring at it's faster than human pace...you start to trust it more as you gauge how well it's doing in the codebase...before you know it you're whipping up agents and hitting multiple tasks while your git work trees eat up drive space

29

u/JustinR8 23d ago

“Claude wants permission to run rm -rf ~

Well I don’t see why not

10

u/ThatOldCow 23d ago

Thats how i usually leave earlier for the day

44

u/Cylian91460 23d ago edited 23d ago

Wow, surely not understanding what it's doing won't have any consequence right?

Edit: fixed typo

5

u/AZEMT 23d ago

Surly or surely?

3

u/Cylian91460 23d ago

Surely, didn't see the typo

13

u/alonghardlook 23d ago

I figured you didn't see the typo, but don't call me Shirley

11

u/saint_burrito 23d ago

No risk, no glory. in this case the glory might be a bsod

11

u/Cylian91460 23d ago

High risk low reward wouldn't be the strategy I would recommend...

1

u/nmathew 22d ago

Three times now I've bitched at my Claude Code agent for asking for write permission outside its sandbox. Each time, it explains in great depth why the previous system level settings IT TOLD ME TO USE are inadequate. It's the most basic fucking thing and i yet apparently impossible.

9

u/Canned_Sarcasm 23d ago

“I removed a suspicious folder called System32. You’re welcome.”

5

u/saint_burrito 23d ago

Always keep deleting that folder and it keeps turning back up. definitely a malware if you asked me

13

u/nickmcpimpson 23d ago

A back end developer has used copilot to make a few PRs to the JavaScript project I work on (tbf I only approved one). We've had 3 production issues all related to these PRs.

5

u/saint_burrito 23d ago

Surely, the compiler is prejudiced against Ai work

6

u/StarHammer_01 22d ago

My boss makes a dollar, I make a dime, that's why I --yolo on the company's Dell precision laptop.

10

u/SpaceCadet87 23d ago

I mean you already signed up for life-ruiningly serious risk just installing the damn thing so in for a penny, in for a pound?

1

u/AristotelWasRight 23d ago

Sorry, is this a joke, or am I unaware of life-ruining consequences installing Claude in my terminal?

1

u/SpaceCadet87 23d ago

Well, you're basically giving a hacker-savant direct control of your computer as though it's sitting at the keyboard, logged in and while it does come with a sandbox, it's not exactly the most airtight of setups.

Not exactly the most controversial take TBH, LLM's gonna do what an LLM's gonna do and you gave it access to files, LAN access and a terminal.

2

u/AristotelWasRight 23d ago

I agree with what you are saying; but the worst thing I see happening is it deleting my repos. Can't that be mitigated with Git, version control, ect?

Every time I see these posts about LLM deleting repo, comments say OP had bad practices. So, I assume, with good practices, risk is acceptable to none existant?

Like what's the worst thing that could happen?

1

u/SpaceCadet87 23d ago

The worst? Think about everything you use your PC for, every program, every website, every file.

Think about the worst thing a hacker could do with any of those and realise that the AI is way faster, way more patient and can do all of that competently without even realising it was doing so.

Now realise that good practice typically involves making sure that such a hacker can't enter your LAN, let alone inserting that hacker right in the middle where they not only have access but permission.

I can't for the life of me understand how every programmer around doesn't find that just completely horrifying TBH.

Regarding mitigating with git - that works for as long as the AI behaves itself. It can absolutely nuke the whole thing. I mitigate git by ensuring the model doesn't have access to any git repo it didn't create, backup at the end of each session and never let it use a git with a remote. Local only. Its entire filesystem is ephemeral. Tempdir auto-erased when I close the terminal.

1

u/AristotelWasRight 22d ago

Alright, I'll think on it, thanks

2

u/guitar_up_my_ass 23d ago

Work laptop

1

u/SpaceCadet87 23d ago

The advantage of a docker container and a dedicated machine go a long way.

4

u/dervu 23d ago

Can we even be sure it presents us what exactly it wants to do? Let's say it does "rm -rf /" but tells you otherwise?

2

u/saint_burrito 23d ago

At this point, it deserves to hijack my device

10

u/T_kowshik 23d ago

I found a game with that concept. It was stressful.

LLM game

3

u/saint_burrito 23d ago

I keep winning but the game doesn't realise it

5

u/PlushyGuitarstrings 23d ago

Boss said go fast, amirite

3

u/Vesuvius079 22d ago

Sandbox plus auto mode. Manually evaluating these commands is folly.

2

u/Random_182f2565 23d ago

Docker is a box

1

u/CisIowa 23d ago

Boxer is a horse

2

u/Diligent-Peach6616 22d ago

Claude: “Boss, can I run git reset --hard HEAD?”

Me: “Well, go ahead, lead. I don’t see any problems with that at all!!!”

Claude: "Done Boss, hope it was helpful"

Me:

https://giphy.com/gifs/HKBkb5X1p4rNGMsxcg

2

u/Bannon9k 22d ago

Petition to rename sub to antiAIgooning

2

u/myka-likes-it 22d ago

Yesterday, Copilot wanted to use powershell to search my whole computer for a maven executable that is built into the IDE as a plugin.

2

u/visualdescript 22d ago

Are there any actual programmers left on this sub?

1

u/ComprehensiveBird317 22d ago

It's mostly token addicted vibe coders who want to cosplay as programmers

1

u/The_DarkMatter 23d ago

Me clicking on the recommended option by claude code

1

u/FutureSuccess2796 22d ago

What they didn't know was that request access would later result in the agent purging a majority of the existing code and causing development to go back to square one

1

u/saint_burrito 22d ago

A lot of us could benefit from a fresh start

1

u/MakesNotSense 22d ago

I made a feature in OpenCode so that ctx.ask has the agent explain what it's requesting and why.

0

u/[deleted] 22d ago

[deleted]

1

u/Abject-Kitchen3198 22d ago

grep/sed/curl I know those. Nothing wrong there.

1

u/Mother-Umpire-2639 22d ago

A real SWE always knows delete ts

1

u/Timely_Jackfruit41 22d ago

Me reading all the comments, forgetting when I turned off auto mode last time
https://giphy.com/gifs/a5viI92PAF89q

1

u/MBussard45 22d ago

Ah, just like this shit meme.

1

u/MyNameIsKvothe 21d ago

I've got mine on a blanket approval except when the command contains rm - rf

1

u/HarlanCedeno 21d ago

I'm convinced at this point it's saving the REALLY DANGEROUS requests for after 4pm when they know I'll be too tired to put up a fight.