this post was submitted on 17 Mar 2025
1302 points (99.8% liked)

Programmer Humor

34453 readers
226 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
(page 4) 31 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 2 days ago

Managers hoping genAI will cause the skill requirements (and paycheck demand) of developers to plummet:

Also managers when their workforce are filled with buffoons:

[–] [email protected] 6 points 2 days ago
[–] [email protected] 21 points 2 days ago* (last edited 2 days ago)

ITT: "Haha, yah AI makes shitty insecure code!"

[–] [email protected] 24 points 2 days ago

“Come try my software! I’m an idiot, so I didn’t write it and have no idea how it works, but you can pay for it.”

to

“🎵How could this happen to meeeeee🎵”

[–] [email protected] 161 points 2 days ago (6 children)

AI is yet another technology that enables morons to think they can cut out the middleman of programming staff, only to very quickly realise that we're more than just monkeys with typewriters.

[–] [email protected] 70 points 2 days ago (4 children)

Yeah! I have two typewriters!

load more comments (4 replies)
load more comments (5 replies)
[–] [email protected] 6 points 2 days ago* (last edited 1 day ago)

If I were leojr94, I’d be mad as hell about this impersonator soiling the good name of leojr94—most users probably don’t even notice the underscore.

[–] [email protected] 6 points 2 days ago

2 days, LMAO

[–] [email protected] 5 points 2 days ago

hahahahahahahahahahahaha

[–] [email protected] 9 points 2 days ago (1 children)

But I thought vibe coding was good actually 😂

load more comments (1 replies)
[–] [email protected] 45 points 2 days ago (7 children)

Reminds me of the days before ai assistants where people copy pasted code from forums and then you’d get quesitions like “I found this code and I know what every line does except this ‘for( int i = 0; i < 10; i ++)’ part. Is this someone using an unsupported expression?”

[–] [email protected] 6 points 2 days ago (4 children)

I’m less knowledgeable than the OOP about this. What’s the code you quoted do?

[–] [email protected] 7 points 2 days ago* (last edited 2 days ago)

for( int i = 0; i < 10; i ++)

This reads as "assign an integer to the variable I and put a 0 in that spot. Do the following code, and once completed add 1 to I. Repeat until I reaches 10."

Int I = 0 initiates I, tells the compiler it's an integer (whole number) and assigns 0 to it all at once.

I ++ can be written a few ways, but they all say "add 1 to I"

I < 10 tells it to stop at 10

For tells it to loop, and starts a block which is what will actually be looping

Edits: A couple of clarifications

[–] [email protected] 12 points 2 days ago

@[email protected] posted a detailed explanation of what it’s doing, but just to chime in that it’s an extremely basic part of programming. Probably a first week of class if not first day of class thing that would be taught. I haven’t done anything that could be considered programming since 2002 and took my first class as an elective in high school in 2000 but still recognize it.

[–] [email protected] 41 points 2 days ago (1 children)

It's a standard formatted for-loop. It's creating the integer variable i, and setting it to zero. The second part is saying "do this while i is less than 10", and the last part is saying what to do after the loop runs once -‐ increment i by 1. Under this would be the actual stuff you want to be doing in that loop. Assuming nothing in the rest of the code is manipulating i, it'll do this 10 times and then move on

load more comments (1 replies)
[–] [email protected] 16 points 2 days ago

It’s a for loop. Super basic code structure.

load more comments (6 replies)
[–] [email protected] 58 points 2 days ago (5 children)

Is the implication that he made a super insecure program and left the token for his AI thing in the code as well? Or is he actually being hacked because others are coping?

[–] [email protected] 3 points 2 days ago

Doesn't really matter. The important bit is he has no idea either. (It's likely the former and he's blaming the weirdos trying to get in)

[–] [email protected] 8 points 2 days ago

He told them which AI he used to make the entire codebase. I'd bet it's way easier to RE the "make a full SaaS suite" prompt than it is to RE the code itself once it's compiled.

Someone probably poked around with the AI until they found a way to abuse his SaaS

[–] [email protected] 27 points 2 days ago (1 children)

AI writes shitty code that's full of security holes, and Leo here has probably taken zero steps to further secure his code. He broadcasts his AI written software and its open season for hackers.

load more comments (1 replies)
[–] [email protected] 153 points 2 days ago (3 children)

Nobody knows. Literally nobody, including him, because he doesn't understand the code!

[–] [email protected] 44 points 2 days ago (3 children)

Nah the people doing the pro bono pen testing know. At least for the frontend side and maybe some of the backend.

[–] [email protected] 14 points 2 days ago (1 children)

But the things doing the testing could be bots instead of human actors, so it may very well be that no human does in fact know.

[–] [email protected] 23 points 2 days ago* (last edited 2 days ago) (1 children)

Thought so too, but nah. Unless that bot is very intelligent and can read and humorously respond to social media posts by settings its fake domain.

[–] [email protected] 4 points 2 days ago

Good point! Thanks for pointing that out.

load more comments (2 replies)
[–] [email protected] 2 points 2 days ago
load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 278 points 2 days ago (2 children)

Bonus points if the attackers use ai to script their attacks, too. We can fully automate the SaaS cycle!

[–] [email protected] 109 points 2 days ago (4 children)

That is the real dead Internet theory: everything from production to malicious actors to end users are all ai scripts wasting electricity and hardware resources for the benefit of no human.

[–] [email protected] 45 points 2 days ago (11 children)

Seems like a fitting end to the internet, imo. Or the recipe for the Singularity.

load more comments (11 replies)
load more comments (3 replies)
load more comments (1 replies)
[–] [email protected] 99 points 2 days ago

"If you don't have organic intelligence at home, store-bought is fine." - leo (probably)

[–] [email protected] 16 points 2 days ago

Two days later...

load more comments
view more: ‹ prev next ›