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

Programmer Humor

35561 readers
236 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) 41 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 month ago (1 children)

He should be promoted to management! Specifically head of cyber security! They also love security by obscurity and knowing nothing about what they are doing!

load more comments (1 replies)
[–] [email protected] 59 points 1 month ago* (last edited 1 month ago)
[–] [email protected] 3 points 1 month ago (2 children)
[–] [email protected] 12 points 1 month ago

Man uses AI to make software. Man learns hard way that AI doesn't care about stuff like security.

load more comments (1 replies)
[–] [email protected] 14 points 1 month 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 1 month ago
[–] [email protected] 21 points 1 month ago* (last edited 1 month ago)

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

[–] [email protected] 24 points 1 month 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] 163 points 1 month ago (4 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] 11 points 1 month ago (2 children)

To be fair.. If this guy would have hired a dev team, the same thing could happen.

load more comments (2 replies)
[–] [email protected] 73 points 1 month ago (4 children)

Yeah! I have two typewriters!

load more comments (4 replies)
load more comments (2 replies)
[–] [email protected] 6 points 1 month ago* (last edited 1 month 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 1 month ago

2 days, LMAO

[–] [email protected] 5 points 1 month ago

hahahahahahahahahahahaha

[–] [email protected] 10 points 1 month ago (1 children)

But I thought vibe coding was good actually 😂

[–] [email protected] 10 points 1 month ago

Vibe coding is a hilarious term for this too. As if it's not just letting AI write your code.

[–] [email protected] 45 points 1 month 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 1 month ago (4 children)

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

[–] [email protected] 7 points 1 month ago* (last edited 1 month 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 1 month 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 1 month 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

[–] [email protected] 7 points 1 month ago

I would also add that usually i will be used inside the code block to index locations within whatever data structures need to be accessed. Keeping track of how many times the loop has run has more utility than just making sure something is repeated 10 times.

[–] [email protected] 16 points 1 month ago

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

load more comments (6 replies)
[–] [email protected] 58 points 1 month 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 1 month 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 1 month 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 1 month 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] 154 points 1 month ago (3 children)

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

[–] [email protected] 44 points 1 month 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 1 month 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] 24 points 1 month ago* (last edited 1 month 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 1 month ago

Good point! Thanks for pointing that out.

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

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

[–] [email protected] 115 points 1 month 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] 49 points 1 month ago (3 children)

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

[–] [email protected] 5 points 1 month ago (1 children)

This is the opposite of the singularity

[–] [email protected] 12 points 1 month ago* (last edited 1 month ago) (2 children)

It is a singularity, in the sense that it is an infinitely escalating level of suck.

load more comments (2 replies)
[–] [email protected] 24 points 1 month ago (5 children)

Not only internet. Soon everybody will use AI for everything. Lawyers will use AI in court on both sides. AI will fight against AI.

load more comments (5 replies)
load more comments (1 replies)
load more comments (3 replies)
load more comments (1 replies)
[–] [email protected] 102 points 1 month ago

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

[–] [email protected] 16 points 1 month ago

Two days later...

load more comments
view more: ‹ prev next ›