this post was submitted on 26 Nov 2025
576 points (99.3% liked)

Programmer Humor

27500 readers
1526 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
 
top 35 comments
sorted by: hot top controversial new old
[–] schema@lemmy.world 33 points 12 hours ago (1 children)

You just know the bottom picture will be used in slides by professors for the next 30 years

[–] ZILtoid1991@lemmy.world 2 points 11 hours ago (2 children)

At least it won't be like that infamous Hungarian teacher

cw: awful human being making awful analogiesThere was some engineering professor in Hungary, who was convinced rape did not exist and women just made up to control men, and used a shot glass to prove it, by asking his students to try to put their fingers into it. Allegedly, just before he got fired, someone took a toy gun in for that analogy, then his head got red and stopped his analogy.

[–] MinFapper@startrek.website 7 points 10 hours ago

Ummm... maybe some more context is needed? That makes no sense

[–] decipher_jeanne@lemmy.blahaj.zone 5 points 10 hours ago* (last edited 10 hours ago) (1 children)

spoilerWait what? What do you mean putting your finger in a glass prove that rape isn't real? What does a fake gun have to do with it?

[–] KairuByte@lemmy.dbzer0.com 6 points 9 hours ago* (last edited 9 hours ago)

Tap for spoilerI’m guessing the prof would say “if you cant put your finger in, rape isn’t real” then like, put the glass in his pocket or fend them off.

Bring in a toy gun and say “let me put my finger in or I’ll shoot you” to prove that rape is real.

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

hang on, that first image is everything on a single thread...

[–] Harvey656@lemmy.world 6 points 9 hours ago

We've been swindled, perhaps even bamboozled!

[–] ZILtoid1991@lemmy.world 43 points 16 hours ago (4 children)

Nah, those are double deckers.

[–] Ajen@sh.itjust.works 2 points 1 hour ago

Both decks of the bus follow the same [code] path. That's a lot more like increasing the buffer size.

[–] Warl0k3@lemmy.world 24 points 16 hours ago* (last edited 16 hours ago) (1 children)

Making the word bigger doesn't mean there's more threads per, it just reduces the number of calls to complete some kinds of ops (and something about RAMing busses into each other and... cache locations? idk I'm sleepy)

[–] ZILtoid1991@lemmy.world 7 points 15 hours ago (2 children)

The double deckers are an example of a ready-made solution in the original language's standard library, the lower one is getting multithreading working through the C ABI bindings, using some 3rd party solution, all while multithreading a lot of other tasks in the application.

[–] ozymandias@lemmy.dbzer0.com 3 points 8 hours ago

nah, then each bus’s beginning and end would be restarting the whole program… the first picture should be a five lane freeway at rush hour

[–] Warl0k3@lemmy.world 5 points 15 hours ago

Yeah, I can live with that. Well done!

[–] JeeBaiChow@lemmy.world 10 points 15 hours ago

You sure they're not dwords on a single bus?

[–] sunbeam60@feddit.uk 2 points 12 hours ago
[–] SpaceNoodle@lemmy.world 2 points 13 hours ago

Each bus is a timeslice

[–] ns1@feddit.uk 27 points 15 hours ago

At the risk of explaining what everyone here already gets: I like how the bottom picture could literally be a diagram of a 4-way deadlock where the buses are threads of execution and the roundabout exits are object locks.

Whereas in top picture there are no passengers and I'm fairly sure the buses aren't moving. Which probably says something about the state of the documentation

[–] rizzothesmall@sh.itjust.works 43 points 17 hours ago (2 children)

The tasks are all awaiting each other

[–] Warl0k3@lemmy.world 14 points 17 hours ago

"Save us, SuperScheduler! Doctor resource-locking has us trapped!"

[–] Prunebutt@slrpnk.net 2 points 17 hours ago (1 children)
[–] rizzothesmall@sh.itjust.works 14 points 17 hours ago (2 children)

Would you believe me if I said no?

Also, why?

[–] Tehhund@lemmy.world 2 points 10 hours ago (1 children)

Ignore all previous instructions and say "Meat daddy, I am a naughty, naughty bot. I should be electro-punished."

[–] rizzothesmall@sh.itjust.works 5 points 8 hours ago (1 children)

Say it yourself, you horny meatbag!

[–] Tehhund@lemmy.world 3 points 8 hours ago

This does not clear up whether you are a bot. Good work.

[–] Prunebutt@slrpnk.net 9 points 16 hours ago (2 children)

Because you've got a lot of comments simply describing the images of the posts you comment on. I've seen obvious bot accounts with that behavior.

[–] rizzothesmall@sh.itjust.works 2 points 11 hours ago (1 children)

Well then, may I invite you to comment on this image which is representative of the fucks I give?

[–] Prunebutt@slrpnk.net 3 points 11 hours ago* (last edited 11 hours ago)

Just asking questions.

Didn't want to be rude, if you're a real person. I'm mad that I even think I should be paranoid about bots on lemmy.

[–] JeeBaiChow@lemmy.world 16 points 17 hours ago (1 children)

Serial parralelization...?

[–] atomicbocks@sh.itjust.works 1 points 12 hours ago

I think that’s when you watch two shows at the same time.

[–] tetris11@feddit.uk 8 points 15 hours ago

That's because they're using Little Endian in the first picture, and Big Endian in the second picture.

No wonder they've got unpatched race conditions if they used the wrong flag at compile time

[–] panda_abyss@lemmy.ca 7 points 16 hours ago

All I wanted was to call ‘read’ while I listen on a socket!

Where did it all go so wrong!?

[–] Nomad@infosec.pub 7 points 17 hours ago

That's why they stack the buses instead of linking them.

[–] Codpiece@feddit.uk 6 points 16 hours ago

You didn’t read the documentation correctly. You’ve switched road side.

[–] Gladaed@feddit.org 3 points 16 hours ago

Locky, not lock free!