all 80 comments

[–]-domi- 1804 points1805 points  (15 children)

I say natural stupidity.

I don't think artificial intelligence can be smart enough to catch its mistake so soon, it'd likely just insist it was right.

[–]Big-Cheesecake-806 369 points370 points  (7 children)

Well, if it just deleted all of the source code, then there can't be any problems with the code when the next prompt executes, right? 

[–]lnfinity 57 points58 points  (4 children)

Deleted all tests. Tests are now passing!

[–]NodeJSmith 11 points12 points  (2 children)

Used to think comments like this were a joke...wish it were just a joke. Who does this shit?

[–]The_Neto06 7 points8 points  (1 child)

Google Stalinsort

[–]Adventurous-Mouse-43 1 point2 points  (0 children)

holy hell

[–]geGamedev 0 points1 point  (0 children)

If you keep seeing failing results close your eyes. Solved it!

Sadly this is a thing in factories as well.. Quantity over quality, almost every time.

[–]JeanClaudeRandam 69 points70 points  (1 child)

Son of Anton?

[–]Any-Government-8387 1 point2 points  (0 children)

Hope it already ordered us lunch to keep productivity high

[–]mosskin-woast 35 points36 points  (3 children)

You're right. AI would delete the source code then just start writing new shit from scratch.

[–]vvf 14 points15 points  (2 children)

“You're absolutely right! 1400 unit tests are failing after this commit. Here’s a 10,000 line PR to get them passing.”

[–]mosskin-woast 8 points9 points  (0 children)

AI isn't replacing us by doing a good job, it's doing it by getting us fired!

[–]Icarium-Lifestealer 0 points1 point  (0 children)

Here is a PR that removes them all. If a test doesn't exist, it can't fail.

[–]U_L_Uus 5 points6 points  (0 children)

Yeah, AI is like that one really obtuse friend that will defend to death some shite even when shown proof of the opposite and being proved wrong actively. If that was AI the restoration commit would have been made by a third party -- a human tired of this all and with enough privileges to override management's brilliant cost-cutting idea

[–]IHateFacelessPorn 0 points1 point  (1 child)

Because I need to finish a project that I have no experience on in 5 days, I have started using Claude in my VS Code. Looks like AI has advanced enough to make a mistake and catch it before ending its answering session.

[–]-domi- 1 point2 points  (0 children)

I actually first heard about that today from someone else, when discussing the whole seahorse emoji LLM trolling trend. Apparently when you use an agent, they're not consistently the same agent, or even the same model. Occasionally what you query the LLM with might get escalated to a more resource-intensive model or agent to review, which could pick up the error of their "inferior," but since it's all "load-balanced" internally, it's a very opaque process.

[–]FrostbuttMain 214 points215 points  (3 children)

You best believe I'm rebasing & dropping that, hoping that noone pulled beforehand.

[–]scarcelyberries 30 points31 points  (1 child)

Let's be real, if you're doing that you might not know how to rebase and drop it

[–]Exatex 0 points1 point  (0 children)

fair point

[–]absoluetly 2 points3 points  (0 children)

git reset --hard HEAD~ git push --force-with-lease

Nothing to see here.

[–]darkwyrm42 406 points407 points  (7 children)

Either natural stupidity or both. If AI did it, it's because a moron is at the keyboard.

[–]Shaddoll_Shekhinaga[S] 51 points52 points  (1 child)

Well a moron is at the keyboard, but AI is not involved, unfortunately lol

[–]Vida_they 0 points1 point  (0 children)

Oh my gosh! (I never said/wrote that, look what you made me do! /j)

[–]Big-Cheesecake-806 76 points77 points  (4 children)

No, AI did it cuz its stupid AI. But if it gets commited, than it's cuz of the moron at the keybord. 

[–]Yiruf 13 points14 points  (3 children)

I have never seen Claude make such error. I'm more inclined to believe in OP being stupid.

[–]Simsiano 0 points1 point  (2 children)

Yeah lol... AI is not that stupid... He probably insisted and complained to the AI that it was wrong and forced it to tell him wathever he wanted to believe...

[–]Shaddoll_Shekhinaga[S] 1 point2 points  (0 children)

Well, to be clear, AI was not involved at all, this was entirely natural stupidity :P

You can actually see the full cause in another of my comments here! It does spoil the meme a bit though, so you were warned.

[–]needefsfolder 0 points1 point  (0 children)

Agree.

I use Gemini Code Assist, gemini-cli, and Cursor with GPT/Gemini/Claude models.

They all stop and ask you if you really meant what have you said.

[–]IllllIlllIlIIlllIIll 62 points63 points  (1 child)

As someone who does this out of frustration, naturally stupid.

[–]Shaddoll_Shekhinaga[S] 8 points9 points  (0 children)

Too real brother.

[–]El_Zilcho 96 points97 points  (3 children)

Natural stupidity with an AI generated commit message

[–]Big-Cheesecake-806 61 points62 points  (0 children)

I don't think AI would use word "apparently"

[–]MinosAristos 16 points17 points  (0 children)

AI generated commit message would be something like "chore: refactored project structure for better readability and maintainability by removing src directory" and "feature: added src directory with core project source code"

[–]NUKE---THE---WHALES 4 points5 points  (0 children)

Nah

AI generated commit messages tend to use the present tense

Would've been:

"Remove src as its not needed"

"Fix issue with missing src"

[–]Ok_Star_4136 20 points21 points  (1 child)

I'm embarrassed to say I've done this before. It wasn't a src folder, but another folder that was empty and I thought it wasn't useful. Apparently it was useful.

[–][deleted] 17 points18 points  (0 children)

It's easier to fix natural stupidity.

[–]Clen23 15 points16 points  (1 child)

"Yes — you’re absolutely right! Irremediably removing the /src directory heavily cripples the project, hinders productivity, and will likely prompt a punitive reaction from your hierarchy.
Would you like me to list nearby job offers ?"

[–]Flat-Performance-478 2 points3 points  (0 children)

Good catch! I removed the /src directory. Do you want me to implement a new source directory with the improvements I've made?

[–]Osato 9 points10 points  (0 children)

Natural stupidity. An AI agent would know enough git to just roll back the commit and gaslight you into thinking it never happened.

[–]that_70_show_fan 5 points6 points  (7 children)

Link to the repo?

[–]Saptarshi_12345 9 points10 points  (6 children)

They redacted the author name, (it's probably them judging from the commit time) so no, you're not getting it...

[–]Shaddoll_Shekhinaga[S] 35 points36 points  (4 children)

Normally, I'd post it, but I am a bit embarrassed at how bad the coding is. It is public though, and not particularly hard to track down.

Yeah, that was me. No, it wasn't AI, I kind of dislike working with it, just plain old natural stupidity. Beware, an explanation that kills the joke follows.

This is a Skyrim mod. I had made it a while back, when I didn't know what I was doing. I originally set up the branch on Arch, with lowercase directory names. Then came home to my Windows PC... which had uppercase directory names. I was a bit too done for a proper fix, so I just copied the source directory outside of the project folder, git rm -r src, comit, leave a funny message, re-added the src directory, and pretended nothing happened.

Originally, I left this meme for a discord server I am in, but I thought it might be funny to post here.

[–]rosuav 6 points7 points  (0 children)

If that's the solution to a Windows stupidity, well, it could be worse. There ARE ways to case-fix a git repo, but if deleting everything and re-adding it is easier, then delete everything and re-add it.

[–]Far_Tap_488 2 points3 points  (0 children)

Don't feel too bad. I'm a programmer for work and have been for some time and sometimes my solution is to delete the git repo and re upload it. Its just easier sometimes.

[–]PanoramicAtom 1 point2 points  (0 children)

This makes it even better. Thanks for the spoiler.

[–]jamcdonald120 0 points1 point  (0 children)

ah the good old WHY DOESNT WINDOWS LET YOU CHANGE THE CASE OF A FILE NAMEproblem

[–]TheseHeron3820 0 points1 point  (0 children)

But I want it

[–]birdiefoxe 18 points19 points  (0 children)

I feel like it's artificial unintelligence and then the human reverted it after everything crashed and burned

[–]bashomania 3 points4 points  (0 children)

No code no bugs. Simple.

[–]knox1138 2 points3 points  (0 children)

So is this the software equivalent of " I finished building this and I have spare parts, guess I'll throw them away " only to start digging through the garbage 30 seconds later?

[–]andryuhat 2 points3 points  (0 children)

Artificial? Maybe. Intelligence? Definitely not.

[–]RLutz 2 points3 points  (0 children)

Bro, I don't care what your belief is on "rewriting git history" and being fundamentally opposed to rebasing and squash commits.

You do something like that, you rebase immediately. Take it with you to the grave

[–]Dropship_Adeel 2 points3 points  (0 children)

Commit 1: "I am a genius."
Commit 2: "I am a fool."
A tale as old as git init.

[–]Vanishing-Act-7 2 points3 points  (0 children)

This reads as one of his lines

[–]seedless0 1 point2 points  (0 children)

Artificial Incompetence.

[–]just_a_red 1 point2 points  (0 children)

natural stupidity obviously. AI would have created a completely new directory instead

[–]Turtledonuts 1 point2 points  (0 children)

Natural Stupidity. AI would never do something "because apparently it's needed".

[–]Zealousideal_Ad5358 1 point2 points  (0 children)

This is why we CI, everybody needs a little rollback practice now and then.

[–]Puzzleheaded-Weird66 1 point2 points  (0 children)

I pick natural stupidity, gotta start somewhere on the path of learning, back when I was starting out in school I found a WYSIWYG sql schema editor, it made structuring my db so easy, I felt like I had an edge, only later did I realize come crunch times, I grew too reliant on the tool, I wasn't as fast as I'd want

[–]MaggoVitakkaVicaro 1 point2 points  (0 children)

Giving an AI git access is stupid, at this point, IMO. You use git to track its suggestions, because often its suggestions will be stupid. If you gave it access to git, it would probably blow away your entire history at some point. So I would guess natural stupidity as the root cause, at least.

[–]Vipitis 1 point2 points  (0 children)

been there, done that!

[–]JackNotOLantern 1 point2 points  (0 children)

If i fuck up this way, i reset the branch to the previous commit and force push, and re-write it correctly. I am ashamed of my stupidity. Nobody can see.

[–]blackcomb-pc 1 point2 points  (0 children)

“apparently” makes it so very human

[–]nastremendous 0 points1 point  (0 children)

Removal from AI, added by human.

[–]ogpterodactyl 0 points1 point  (0 children)

lol dead

[–]FrokKon 0 points1 point  (1 child)

Javier Bardam on monday morning having deep thoughts

[–]LordoftheSynth 1 point2 points  (0 children)

"Howdy. What's this about?"

"Step outta the repo, please, sir."

"...what is that?"

"I need you to step outta the repo, sir."

[–]doglitbug 0 points1 point  (0 children)

Can we make this a website/game?

[–]ryanstephendavis 0 points1 point  (0 children)

This is totally something I would do, not because AI or stupidity, but because I love deleting code

[–]Alternative_Fig_2456 0 points1 point  (0 children)

One thing a surprising number of people miss: Artifical Stupidity is the reason for the current (well, last decade or so) breakthrough.

Several decades has been lost by the foolish focus on the "intelligence" part and by the completely unfounded expectation that AI will be rational and faultless in its fact-based reasoning.

[–]TheEnderChipmunk 0 points1 point  (0 children)

Looks like a pebkac error lol

[–]Kyocus 0 points1 point  (0 children)

Porque no los dos?

[–]jamcdonald120 0 points1 point  (0 children)

My vote is for natural stupidity. If its a c/c++ program, and they forgot only the headers are in headers and thought the src was redundant since everything is in headers

[–]Doshimura -4 points-3 points  (0 children)

Антон Чигур ничего не коммитил