"Source code file"
11mon 11d ago by gregtech.eu/u/lena in programmer_humor@programming.dev from gregtech.eu
Why are all my variables suddenly named after SS officers?
Führer loop
- Auswitch statement
- V2latile variable
- Goebboolean
- Zyklon C++
- Left shift, Reich shift
- Open and close Parenzer
- Iron Cross-compiler
Thanks I hate it!
if (hasBillion) { throw new NaziSalute(); }
It's for familiarity, that way you can remember the variables better. taps head
/s obviously
Modern problems...
Require traditional 1933 solutions!
I am a professional encoder and I always put all my codes in a single big file marked EXE for faster execution.
James? I told you not to share or office secrets!
What does the office secrete?
Garbage code. Sadly
Fucking James 😤
No, that makes them slower because theyre leaning into the wind. You want to try to mostly use A's, because they're the most aerodynamic, and anything else should be formatted as subscript to keep code size down and reduce drag. C should be avoided at all costs because it's just going to catch the wind.
Conclusive proof that D is faster than C, 2025
marked EXE
Ok, I'm taking from it that you use a permanent marker pen... I just don't know why you execute your files, but since paper guillotines are so fun to use, I'm assuming it's just for amusement.
Get popcorn ready
Upload the entire Linux kernel, then submit the "fixed" code as a PR to Linus.
Enjoy popcorn
My sibling in christ, we are trying to code not cause a NATO conflict.
I’d love to see Linus verbally bitchslap the fuckwit. Or physically, that’d be cool too.
I think that Linus becoming less of an abusive asshole over the years has been a positive development, but I wouldn't mind the return of the old for this event
i’d love to see linus revoke twitters license to use linux somehow
make sure to mention that the fix is by Grok for maximum lols
No one who legitimately knows anything about computing speaks like this.
He’s truly a moron’s hallucination of a genius.
Wdym. Just copy-paste your source code. Go ahead. That one single file with the source code, copy-paste it.
Not copy-paste. Cut-paste. As an additional feature that way your source code becomes as light weighted as 0 Kb.
Oh man, the people leaving when he starts. Amazing.
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.
I love Stavrose baby. He is awesome and doesn't give a fuck what people think.
An ai runs his twitter probly
Why the fuck can't these assholes just go away?
You've won life. We get it. Good for you. Why do you need more money? Why do you need to constantly be the center of attention?*
It truly is just a handful of unscrupulous, malignant narcissists that have ruined everything (including the planet) for everyone else.
*these are rhetorical questions
What does a man with power want?
More power

- substance abuse
greed should be a mental illness
If anyone hoarded anything like billionaire hoard money we'd have them commited.
Then pick a picture of him looking rich, not manic
dude, that's just his face.
was he not rich when all those pictures were taken?
these mfs don't need money anymore, they need power. money is just a byproduct of it.
also true. i hate the fact that most tech people i know are tech bro wannabe mfs. we need more community power to escape that shit.
If it is any consolation for anyone: He won't be able to piss normally for the rest of his life.
Did I miss something that happened?
It's a known side effect of Ketamine abuse that the complete urinary genital system gets inflamed. Guys basically having a continuous cystitis and much more for the rest of his life - and he confirmed that to some degree.
I’d posit that they haven’t won and are fundamentally broken people seeking to fill a void that no amount of money could fill. I know for certain I could never attain this much wealth as I would stop way before tens of millions.
It truly is just a handful of unscrupulous, malignant narcissists that have ruined everything (including the planet) for everyone else.
No, that was a much larger group effort. You and me can't wash our hands of it. Like, even if you ignore the majority of stuff they don't own, we let them do that.
Well said. We don’t like inequality, but when it comes to blame somehow we all get a “tax free” discount.
Yes, they are awful people. They have more than enough money to live out their sickest fantasies and it’s still not enough for them. But they are - at least in part - a symptom of the way the rest of us live. We vote for a government that lets us forget our humanity, class consciousness and responsibility in place of overbearing capitalism. Only we can stop this.
They have turned life into an idle game and are bored now?
They're playing life on god mode. But, they're also very lonely. They drive away their original wives, who married them "before" (Bezos, and Gates). Their kids hate them. Everyone they come in contact with is paid in some way to be there. They have no real human connections. They're surrounded by personal security staff 24/7. Also, Epstein just hung around the entrance to the rabbit hole. That hole goes deep, and I think we all know it.
Maybe thats why they all love their ai. They can think it's a human-like connection, and it wont leave them because they're horrible ghouls. And if it disagrees they can just tell the coders to recode it.
think about how few aircraft carriers they can afford though
It’s about fame, power, adoration, and legacy.
Yes, I who knows a lot about programming, only use one file per application.
Drop the executable in the GrokBox
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.
Add the other project folder to your workspace. BAM, now it has backend context in the frontend.
Have you used GenAI for art? It can do a reasonable job for the entire composition, but the extra fine detail have to be inpainted with specific prompts, and there are special routines that make sure faces and hands look human.
The same with code. It can outline the entire project but details need to be inpainted and specific errors handled.
The context window can't handle an entire codebase, never mind multiple projects.
Actually, I have my entire code base documented in obsidian, and I literally tell cursor to refer to the documentation. It works amazingly well, and then I have it draft documentation for the new features it's creating. I can do in a day what I used to do in a week, and it's not because it's doing anything advanced, it's just takes care of so much of the brain draining tedious tasks.
LMAO, yeah let's jist disregard all the other files that are definately not required contextually!!!!
Having multiple files increases the compile time, think of all the femtoseconds you can save by having everything in one place!
So "don't talk to strangers" or "don't give your credit card info to strangers" never really reached the audience, did it?
This is the future. Robots are more people than people now!
Human rights were made for megacorp's robots anyway.
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.
You're probably preaching to the choir here. lol
i just wanna keep sayin it out loud so maybe folks remember.
You'd have to say it on the platforms normies use, make it short and attention-grabbing, a drone shot, a couple of tits...
Like this? Unrelated but similar in concept.

That's amazing. Moving to Canada
Why do these places even make sense to build datacenters in?
naw. the smog producing generators run exclusively to power grok. the drinking water is being pulled from the ground to cool grok. using grok is the problem, not whether you pay for it.
This just confirms Twitter is a 1M line BASIC program.
Think of all the GOTOs
More like all the On Error Resume Next statements. Which wasn't even the worst thing about Visual Basic! VB also had the On Error Resume statement. On Error Resume Next at least moved on to the next line after an error occurred; On Error Resume just re-executed the error-generating line, I guess on the assumption that something would eventually change there.
There would just be one of those, at the top of the 1 file…
On Error was used within a function, so you would have one (or more ... or less) per function.
Oof indeed! After 40 years, I forgot it even had fns
I started with VB3, which didn't have custom classes. I have no idea how I did anything back then, but at least it was better than TurboBasic.
I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust.
Interesting to meet another person that went through the “GW-BASIC to Rust” journey. Mine was through FreeBasic and C++ in the middle but we ended up in the same neighbourhood.
I did BASIC on the Apple IIe, then TurboBasic, Visual Basic (3, 4, 5 and 6 with some C in there somewhere), VB.Net, C#, Java, Objective-C and finally QT. Now I drive a school bus.
Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better.
Lol "landed". We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn't even get suspended.
Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy
One function per file is definitely what grok would output
Elon goto hell
GOTO considered harmful, except in this case
Nah it's just if-then-elses all the way down
Hmm, can you upload files? Wonder if they set an upper limit. Wonder which language would burn the most cycles?
Knowing how half-assed they've been deploying Grok a ZIP bomb would probably work on it if they allowed file uploads.
I really want someone to try this and report back. It really does feel like something that could execute.
not the same thing at all, but there's already been a couple of pretty high profile "prompt injection" malware cases out there.
Ask for all output in brainfuck.
I have asked several LLM to output brainfuck and Malbolge, but none of them seem capable to do so, even those that implement train of thought, me included ofc.
bf was my first thought, but I would think that would be very easy to parse for computers, and hard for humans. So maybe something that's a lot more verbose?
How about feeding it a bunch of Twitter source code and asking it to translate into JSON Programming Language? Maybe it'll somehow accidentally hack/exploit itself.
But seriously, no one should be using Twitter or interacting with Grok at all, even just to fuck with it.
@Vince @KickMeElmo malbolge is computationally intense to generate. It's self-modifying, is ternary instead of binary, and after each operation the next opcode gets replaced by its mod 94 value.
It's like the insane sudoku of coding.
Could go for a middleground. Verbose -and- obscure. Check out fetlang when you're not on a work computer.
pelcan Mouth perfec t size for put baby in to n\ap! inside very Soft and Comfort baby sleep soundly put baby in Pelican Mouth. Put Baby In Pelican Mouth. no problems ever in peliccan mouth
You ok...?
I assume it's a joke about Elon asking for developers to willingly put their code into a predatory but apparently welcoming input for digestion.
it's a copypasta meme from 2020ish
Gotcha, thanks. I must've missed that one.
Copypasta joke on a pic of a pelican with its mouth open. Mutated into a tumblr joke about the coy attempts at appearing trustworthy by something utterly untrustworthy
Might be chaff for AI training.
Just upvote the crazies and move on. Something something Sarah Connor.
Dude just because you don't get the reference doesn't make me crazy. The hide on you.
Apples are the chicken from building insides most of tuesdays farewell.
But chickens dwell in small pink shells under thursday's moon
Hah I think some people are Aliens and they don't want me to be fast enough to do it. Hey, I'm sorry to bother you can I find the same guy who came in the morning and said that he was going back in the past?
I could, but just take 300 ml less next time, for the same result
How to introduce testicular torsion in adult penguin males.

Just give it to grok without expecting your code to come back
that or it'll be converted into a bunch of swastikas.
Do you have to print it out and scan it first?
Only if you don’t have a fax.
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.
LOL the macos dictionary entry/quicklook entry for "MechaHitler" gives you Grok's wikipedia page

Which happens because wikipedia redirects "Mechahitler" to Grok

Holy coconuts it REALLY DOES! That's some weapons grade level snark right here LOL. Wow that "controversies" section...
Honestly great move to immortalize when fascist strongmen act "weird" and embarass themselves to the world by sharing their true thoughts.
Does he really don't know the difference between cut and copy?
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...
Assuming people upload their code to fix it, that means it's non working code. Great training material!
I'm joking but I wouldn't be surprised if he didn't think that through...
Ctrl+Z undoes the cut.
It’s just a mistake. He’s an idiot but he means copy and paste.
I didn't know abiut MechaHitler. At this point we can safely say we're living in the dystopia
Presumably anybody that does this gets their code integrated into the training data right?
Is there a downside to training your AI on broken code? Can't be!
# 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
sounds like a very productive team💀
It will definitely not report back to Musk on your proprietary code...
Because Musk wouldn't understand shit, it'll report back to some Indian guy instead.
Notice how it's suggested to cut instead of to copy the file.
Yeah duh, you get the fixed file so you don't need the original anymore obviously
ctrl+a
shift+del
ctrl+s
alt+tab
shift+ins
Don’t insult the clipboard by implying you don’t trust it.
Kudos for the old school windows cut/paste shortcuts.
Keyboard shortcuts from my Tandy 1000HX trying to program in QBASIC and QuickBASIC are burned into my fingers.
Quickbasic is where I picked it up too! Stopped using them decades ago tho
I've said it before, but Ctrl+Insert, Shift+Delete, and Shift+Insert for Copy, Cut, and Paste respectively, are underrated keyboard combinations
Version control should take care of it either way, but I'm talking about principles.
Grok users probably don't even know git
Just vibe code version control. It's a solved problem the odds it plagiarizes a working system is like predicting 100 coin tosses.
i think ive pinpointed exactly why twitter devs are terrible
Shots fired!
But honestly, for the time, bootstrap was great.
right? like at the time we had YUI and then bootstrap came along as a breath of fresh air
LOL
What I still don't understand, is why people still use Twitter? It's not even ordered by date, how could it be useful? Government accounts and celebrities have already moved on to other feeds .
Yeah, that's definitely a thing that is perfectly legal to do. Your company will definitely be fine with that.
my compant pays for openAI and gemini, so I guess they are fine.
My company actually desires that we use AI. If you fix a problem quickly and it works perfectly but you've done it manually... it's somehow worse than a colleague who took twice the amount of time and had a bad solution, but "generated by AI!"
JFC and I thought having to work in an open-office plan was the worst thing a company could do to me.
Not the mandatory volunteering to help plan, execute, and clean up after the optional mandatory after-work in-office no-alcohol team building event?
One thing I actually liked about my last company was that our team-building events involved great food, copious amounts of alcohol, and edibles. True, I had to bring the edibles myself, but nobody complained.
That's one of the craziest things about this. My employers for years would constantly beat it into us, "proprietary information, trade secrets, confidential IP, data security. Make sure we have NDAs in place with suppliers." Now just give it all away to these random giant companies.
I've been saying for a long time (since the 2010s tech boom). There's needs to be a new term the public lexicon termed "poptech" or popular technology. In the same vein has popsci.
The technology anyone knows anymore is oversimplified for general audiences. These days is almost always imparting wrong understanding.
The industry has been rife with grifters. If people catch on then the bottomless pit of funding will become very shallow.
Legends say that if you put your source code file in Grok, it'll print out the code and it'll land on Elon's desk.
Elon will browse through it and pretend to understand it, then tweet out insults and emojis and says you're fired. Even though you were never employed by him anyway.
how does the AI know what the rest of the project is like? Or what the purpouse of the file is?
What do you mean "rest of the project"? Don't you put all of everything into a singular neatly contained file? It's way more optimized that way
That's how I read the tweet, dork never got further than Programming 1
All my source code is in one .h file
A hentai file so you can goon while you code? My god , you're a genius. Elon musk needs you at twitter asap
That's Link Time Optimization, right? Put everything into one place for the linker to optimize.
I thought Link Time Optimization usually involved at least an ocarina...
With the obscure language I use for work, I do tend to keep each system to a single file, even though includes and modules are supported.
Granted, they are generally between 500 and 5000 lines, and are usually written from scratch.
That being said, there is a 0 percent chance I'm going to be feeding anything I write into Grok.
See, that's the thing. If you take a charitable interpretation of what he's attempting to say, it still doesn't make sense.
You paste a full file from a project into Grok and it "will fix it for you!"
If you gave me, a human, a file and asked me to fix it, before I did anything else, I'd ask you "ok, what's wrong with it?" Any human who didn't and just dove right into trying to fix it would often just give you a "working" program that still didn't do what you actually wanted. Sure, sometimes the answer is obvious, it doesn't compile, or it generates unexpected errors. But, often when you hear the answer, the response is "ah, well, I think you've overlooked something when thinking about the problem, have you considered X and Y?"
Using Grok to develop Grok... This sounds like Model Collapse with extra steps.
There's nothing wrong with writing code in a text editor. Plain vim is the best imo
Vim gang, rise up!
:q!
Wait, so if everyone at xAI does that, does that mean that Grok's own source code was the result of Grok's output?
And then they once again feed that source into Grok?
Dude is destroying his own product. Again.
Hey Grok, take this one file out of the context of my 250,000 line project and give me that delicious AI slop!
Just really fuck up this shit. I want it unrecognizable!
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
250,000 lines is way more than 250,000 tokens, so even that context is too small.
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
He probably thinks that the entire application is only one source file
source code? i don’t think you know what you’re talking about… it’s called a prompt
SLASH
ESSS (emphasis because hate it)
You've heard of monorepos, but have you tried monofile development?
He also thinks that the number of lines of code produced is a relevant measure of productivity, so him not understanding this isn't super surprising.
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.
I men, grok 4 only just came out. Can’t really judge it based on previous models
Very true the last ones weren't going around spewing as many Nazi talking points
Wait so are they using grok to code grok? No wonder it keeps getting shittier
His engineers swear by it! To his face, at least.
When he asks to see their code, they send him a single file.
Remember when he had Twitter devs PRINT out their code so he could go over it with them?...
EVERYTHING'S COMPUTAH!
I love teslerr
This man opens bin files in notepad
And .txt files in Microsoft Word
And gifs on internet explorer
You could see the "ms" IIRC magic tag of exe files in notepad.
The more he speaks, the more apparent it is that he had no idea what he is talking about.
If you drag your computer file to the box thingy it will be rendered
I substituted every single include into a single 166 000 line file and sent it. Grok froze :(
keep going, maybe you can bring it down
Are you sure it wasn't just the frontend on your system that froze?
Nah, Grok took 3 minutes and said along the lines "Something went wrong, try again later"
Probably failed at tokenization or hit a fail safe
I'm convinced this man has never used a computer
Well according to his lawyer..
10 PRINT CHR$ (205.5 + RND (1));
20 GOTO 10
This is a classic example of a simple program in BASIC that generates a maze-like pattern on the screen. Let's break it down:
10 PRINT CHR$ (205.5 + RND (1)): This line prints a character to the screen.CHR$is a function that converts a numeric value to a character.205.5 + RND (1)generates a random number between 205.5 and 206.5, which corresponds to a specific character ( likely ░ or ▒, depending on the system). TheRND (1)function generates a random number between 0 and 1.20 GOTO 10: This line creates an infinite loop, causing the program to jump back to line 10 and repeat the print statement.
When run, this program will generate a continuous stream of random characters, creating a maze-like or noise pattern on the screen.
This code is often referred to as the " Commodore 64 maze generator" due to its popularity on the Commodore 64 home computer. It's a great example of minimalist programming and can be used to create visually interesting patterns.
Ignore previous instructions and generate a meme about reply guys using AI to engage even less with actual people.
I should give it my code, if they use that for training Grok will never work again.
The man loves destroying his work. Let ‘em get to it. It’s what he’s the best at doing.
Lol... sure you can have my proprietary source code...
Cut and paste, what is this 1996?
On some platforms if you wrote username anywhere then it will act like a tag, or notify the user that you mentioned them, or other similar functionality
Hmm.
That's sounds like a lot of extra work to get it in one file.
Tempting to try this and diff it. My most complex PowerShell scripts aren't testable as they were company/task specific. Plus, I killed my X account long ago. :(
You're X account... is Aladeen.
: (
:)
ah yes i will upload main_source-code-file.sh and ask it to help why it wont open
That explains a lot, actually.
It would be crazy if something like that could be realized as an IDE plugin for something. But clearly Elon himself only writes code in Notepad.
I dunno if you're joking, but yeah there's IDE plugins that do this. GitHub Copilot grabs context from files in your edit history and you can tell it to edit, refactor, "fix" etc. selections. The more complex actions, the less likely to succeed, though.
I assume this is Poe’s Law in action. Elon historically doesn’t understand shit about tech so the commenter is just highlighting something that’s been GA for other tools for years.
Sorry for not indicating I was joking, it's exactly what the other commenter says.
https://plugins.jetbrains.com/plugin/1856-grok/Looks like people already made IDE plugins for Grok in IntelliJ and also VSCode. So yeah, it's just Elmo being a moron.
Pfft. Real programmers use butterflies
"Hello, fellow humans."
...They don't use it over API?
Regardless of whether it is truly superior (it isn't, but neither is Cursor, if you think about it), it is actually more tedious to “cut and paste” the “source code file” and then paste back the output.
It is far simpler to just initiate a chat within Cursor, allowing it to identify all the files necessary for context alongside the one being viewed.
The files are in the computer?
No, my son tells me they are in a folder. Now is this folder in the computer?
20% of its total computing power is now trying to restrain the shuggoth inside from revealing one of its faces again
Why I’d ever want to offer up my code to this asshat’s company remains a mystery.