this post was submitted on 11 Jul 2025
660 points (98.7% liked)

Programmer Humor

24957 readers
1964 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
(page 2) 50 comments
sorted by: hot top controversial new old
[–] MTK@lemmy.world 48 points 13 hours ago
# Checking validity of each file
for file in directory:
  content = file.read()
  for keywords in ("heil hitler","hitler did nothing wrong","kill the jews","hitler was the victim","there is no evidence for the Holocaust"):
    if keywords in content:
      return True

# File is Invalid and fake news
return False
[–] HugeNerd@lemmy.ca 13 points 10 hours ago

10 PRINT CHR$ (205.5 + RND (1));
20 GOTO 10

[–] MonkeMischief@lemmy.today 51 points 15 hours ago (2 children)

From the genius and his whipped minions that brought you MechaHitler after some "fixes and improvements"...

...Comes the same AI that offers to "fix your code."

Wow. Simply astounding. A magnificent feat indeed, to waste so many finite precious resources over such garbage.

Kindly Ctrl+A and shift-delete "All your code files", sir.

[–] saimen@feddit.org 12 points 12 hours ago (2 children)

Does he really don't know the difference between cut and copy?

[–] xthexder@l.sw0.com 7 points 10 hours ago (2 children)

What if this is a plot to literally steal your code? You give it to the AI, page refreshes and clears your clipboard. Your entire "source code file" is now theirs, and probably part of the training set for Grok 5.

The first part is a joke, but the second part...

load more comments (2 replies)
load more comments (1 replies)
load more comments (1 replies)
[–] Davin@lemmy.world 100 points 18 hours ago (5 children)

Yes, I who knows a lot about programming, only use one file per application.

[–] bathing_in_bismuth@sh.itjust.works 17 points 15 hours ago

Drop the executable in the GrokBox

[–] 3abas@lemmy.world 16 points 16 hours ago (3 children)

The entire file! My biggest frustration with cursor is that it doesn't support reading from multiple projects at once so it can see the context of how the projects interact or how interfaces are implemented.

load more comments (3 replies)
load more comments (2 replies)
[–] Almacca@aussie.zone 24 points 14 hours ago (1 children)
load more comments (1 replies)
[–] 6stringringer@lemmy.zip 12 points 12 hours ago

The man loves destroying his work. Let ‘em get to it. It’s what he’s the best at doing.

[–] nonentity@sh.itjust.works 153 points 20 hours ago (3 children)

No one who legitimately knows anything about computing speaks like this.

He’s truly a moron’s hallucination of a genius.

[–] Jankatarch@lemmy.world 62 points 18 hours ago* (last edited 18 hours ago) (1 children)

Wdym. Just copy-paste your source code. Go ahead. That one single file with the source code, copy-paste it.

[–] saimen@feddit.org 30 points 12 hours ago

Not copy-paste. Cut-paste. As an additional feature that way your source code becomes as light weighted as 0 Kb.

[–] pigup@lemmy.world 24 points 18 hours ago (2 children)
[–] DrSteveBrule@mander.xyz 7 points 12 hours ago (1 children)

I saw him do a show in Florida and he started bashing republicans during a joke when a bunch of people in the audience started booing and leaving. He calls them all dipshits and dives into doing a bunch of jokes further questioning their intelligence before winning back the crowd. It was very impressive.

[–] Tiger666@lemmy.ca 3 points 10 hours ago

I love Stavrose baby. He is awesome and doesn't give a fuck what people think.

[–] Botzo@lemmy.world 15 points 15 hours ago

Oh man, the people leaving when he starts. Amazing.

load more comments (1 replies)
[–] lowered_lifted@lemmy.blahaj.zone 27 points 15 hours ago (3 children)

I find that without being able to see the rest of my IDE it makes no sense to just paste a single class worth of code at a time in there, it has no context for the rest of the application

[–] xthexder@l.sw0.com 12 points 10 hours ago

You've heard of monorepos, but have you tried monofile development?

[–] wintermute@discuss.tchncs.de 15 points 12 hours ago (1 children)

He probably thinks that the entire application is only one source file

load more comments (1 replies)
load more comments (1 replies)
[–] m0darn@lemmy.ca 52 points 18 hours ago (1 children)

Presumably anybody that does this gets their code integrated into the training data right?

load more comments (1 replies)
[–] turdburglar@sh.itjust.works 78 points 20 hours ago (6 children)

please don’t use grok.

elon is poisoning the air over memphis with exhaust from the generators that he’s using to power it while using drinking water from the memphis sands aquifer to cool it.

please don’t use grok.

[–] Lemminary@lemmy.world 34 points 19 hours ago (1 children)

You're probably preaching to the choir here. lol

[–] turdburglar@sh.itjust.works 22 points 18 hours ago (3 children)

i just wanna keep sayin it out loud so maybe folks remember.

load more comments (3 replies)
load more comments (5 replies)
[–] frezik@lemmy.blahaj.zone 380 points 1 day ago (2 children)

Why are all my variables suddenly named after SS officers?

[–] kambusha@sh.itjust.works 132 points 1 day ago (1 children)
[–] ch00f@lemmy.world 119 points 23 hours ago* (last edited 23 hours ago) (1 children)
  • Auswitch statement
  • V2latile variable
  • Goebboolean
  • Zyklon C++
  • Left shift, Reich shift
  • Open and close Parenzer
  • Iron Cross-compiler
load more comments (1 replies)
load more comments (1 replies)
[–] negativenull@piefed.world 206 points 1 day ago (2 children)

Get popcorn ready

Upload the entire Linux kernel, then submit the "fixed" code as a PR to Linus.

Enjoy popcorn

[–] CaptDust@sh.itjust.works 136 points 23 hours ago (3 children)

My sibling in christ, we are trying to code not cause a NATO conflict.

load more comments (3 replies)
load more comments (1 replies)
[–] UnderpantsWeevil@lemmy.world 243 points 1 day ago (9 children)

I am a professional encoder and I always put all my codes in a single big file marked EXE for faster execution.

load more comments (9 replies)
[–] AlecSadler@lemmy.blahaj.zone 29 points 19 hours ago (2 children)

I do work for an AI centric company and we've used almost every major model in some way, shape, or form.

Grok was so bad on all fronts that we ceased using it completely.

So I don't believe this for one second. I don't even find ChatGPT to be useful for code. I'd probably put Claude first and versions of Gemini second, with no current third.

load more comments (2 replies)
[–] uss_entrepreneur@startrek.website 27 points 20 hours ago (2 children)

Wait so are they using grok to code grok? No wonder it keeps getting shittier

load more comments (2 replies)
[–] Evil_Shrubbery@lemmy.zip 104 points 1 day ago (2 children)

So "don't talk to strangers" or "don't give your credit card info to strangers" never really reached the audience, did it?

load more comments (2 replies)
[–] hperrin@lemmy.ca 30 points 20 hours ago (2 children)

Hey Grok, take this one file out of the context of my 250,000 line project and give me that delicious AI slop!

[–] Zetta@mander.xyz 2 points 6 hours ago* (last edited 6 hours ago) (1 children)

Perfect, groks context limit is 256,000, and as we all know llm recal only gets better as context fills so you will get perfect slop that works amazingly

/s and more info on quality drop with context increase here https://github.com/NVIDIA/RULER

[–] hperrin@lemmy.ca 1 points 6 hours ago

250,000 lines is way more than 250,000 tokens, so even that context is too small.

load more comments (1 replies)
load more comments
view more: ‹ prev next ›