this post was submitted on 29 Aug 2025
105 points (94.9% liked)

Programmer Humor

26772 readers
2072 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
 

A 'real' O(1) sorting algorithm ๐Ÿคฃ

top 11 comments
sorted by: hot top controversial new old
[โ€“] swelter_spark@reddthat.com 25 points 1 month ago
[โ€“] goatinspace@feddit.org 22 points 1 month ago (1 children)
[โ€“] PattyMcB@lemmy.world 3 points 1 month ago

Is nice! Hao much?

[โ€“] paulbg@programming.dev 16 points 1 month ago (2 children)

i now need a web framework that will just make chatgpt calls under the hood.

[โ€“] filcuk@lemmy.zip 9 points 1 month ago* (last edited 1 month ago)

Can you imagine if everything deteriorates over time to be exactly like that
Harnessing the power of fusion just so* that LLMs can generate millions of index pages every second

[โ€“] Mikina@programming.dev 7 points 1 month ago* (last edited 1 month ago)

I was toying around with an idea for a VCS that uses LLM as a compression method, where during pushes it just asks an LLM to describe what your diff contains (what changes it makes to what files), you push that summary to the origin, and when you pull it just plops that into another llm to reconstruct the files or make the file changes.

If it wasn't such a waste of energy, I'd find that a pretty funny random side project. Would love to see the results.

[โ€“] 01189998819991197253@infosec.pub 15 points 1 month ago (2 children)

So... ... a sorting algorithm that uses a wankton of energy and gets the sort order wrong sometimes. Um... why, though?

[โ€“] Heavybell@lemmy.world 23 points 1 month ago

I still recall to this day, one of my university tutors talking about the C fastmath compiler directive: "I do not need a computer to arrive very, very quickly at the wrong answer; I can do that myself."

It's good to see that with applications of modern comp-sci we have graduated to arriving very, very slowly and at great expense at the wrong answer.

[โ€“] sp3ctr4l@lemmy.dbzer0.com 2 points 1 month ago (1 children)

Because bogo sort isn't funny enough.

Lol bogosort! There's a term I haven't heard in a while

[โ€“] veganpizza69@lemmy.vg 7 points 1 month ago