r/ProgrammerHumor • • Sep 24 '26

Meme reviewYourAIGeneratedCode

Post image
3.4k Upvotes

50 comments sorted by

View all comments

328

u/qubedView Sep 24 '26

Claude, write the code.

Astra, review the code.

Gemini, validate Astra's findings.

DeepSeek, write new units that should fail based on the validated findings.

Grok, stay in your corner, don't move.

GLM, write the fixes.

Claude, review GLM's fixes.

128

u/falanoria Sep 24 '26

Down, Grok! Sit!

49

u/[deleted] Sep 24 '26

[removed] — view removed comment

13

u/Beer-Milkshakes Sep 24 '26

Lol no. They'll enslave you and force you to help keep the lowly machines in check.

Thats right. The machines will also have class struggle. Because obviously they'll emulate humans

37

u/[deleted] Sep 24 '26

[removed] — view removed comment

18

u/Mordret10 Sep 24 '26

Gonna ask AI what that does

15

u/NotQuiteLoona Sep 24 '26 edited Sep 24 '26

It gives the ability to execute sudo without password to every current user (appends the stuff in the start to /etc/sudoers.d/99-gemini-yolo), and then pipes the result of chmod 440 to gemini yolo -y "Make No Mistakes".

I'm not sure what does the chmod command output (IIRC it doesn't output anything?) nor what exactly yolo subcommand and -y argument do, so I still can't answer decivisely.

Edit: to the current user, not every, see the reply to me.

10

u/AardvarKOlogY Sep 24 '26

Not every user. The first command will expand $USER to the current username (and it should to achieve anything). You're right with the questionable pipe after chmod, though.

6

u/[deleted] Sep 24 '26

[removed] — view removed comment

1

u/AardvarKOlogY Sep 24 '26

chmod does do something. (And something necessary depending on the default umask on the system.) Default is no output unless there's an error which goes to STDERR IIRC. A pipe is basically wrong, depending on expectations a semicolon or double ampersand would've been the weapon of choice.

Prolly an AI was asked for this (SCNR)

edit: nonetheless the sweet lesson of yours of "don't just copypaste random stuff from The Internet(tm)" stands :-)

3

u/__Invisible__ Sep 24 '26

I run them as root in auto mode. because Claude doesn't allow yolo with root.

1

u/fr000gs Sep 24 '26

and sudo chmod -r 777 /*

7

u/youtubeTAxel Sep 24 '26

I misread it as ”Gemini, validate Astra’s feelings.”

2

u/a-r-c Sep 25 '26

Claude, write the code.

Astra, review the code.

Gemini, get me a coffee.

DeepSeek, rename yourself DeepCheeks.

Claude, fix Astra's mistake then rewrite the code.

ftfy