r/ProgrammerHumor • • 16d ago

Meme whatSortingAlgorithmIsThis

874 Upvotes

149 comments sorted by

703

u/titpetric 16d ago

Bucket sort?

217

u/ehtio 16d ago

That sounds a bit fishy

96

u/Okay_Ocean_Flower 16d ago

Flood fill

8

u/pondus24 16d ago

That's a good one

27

u/daveprogrammer 15d ago

Requires a lot of FLOPS, though.

8

u/Wide_Smoke_2564 15d ago

10’000 terrorflops

24

u/grumpy_autist 16d ago

crate sort

11

u/NefariousZhen 16d ago

Pretty sure it's a lock free parallel bucket sort, yes.

2

u/snakesoup124 15d ago

gaussian binning

184

u/SomeRedTeapot 16d ago

Wiggle sort?

27

u/ehtio 16d ago

Certainly wiggles

132

u/Belhgabad 16d ago • Heartwarming

All the good jokes under here aside, this is disgusting both visual and morally

28

u/ehtio 16d ago edited 16d ago

Yes, in fact I didn't even know this was a thing and I did some research. Apparently death by asphyxia is normal...but not widely accepted any more. No wonder why. It's horrible.

19

u/wishstruck 16d ago

Google “foam depopulation”.

10

u/ehtio 16d ago

Oh wow. What the hell. I don't even want to know more about it. I can believe the amount of stuff we don't even think about and it's just there, happening all the time...horrible.

5

u/Kindly_Bee7549 15d ago

And "live shackle slaughter". Legit seems worse than a horror movie

6

u/Negative_Acadia6554 16d ago

Wait till you find out where meats come from.

13

u/Belhgabad 16d ago

That's why I'm mostly not eating any. I'm disgusted not stupid.

If you want to be shocked, look up how milk is made.

12

u/lordkabab 16d ago

I know exactly how milk and meat is produced, hasn't stopped me.

-11

u/TldrDev 16d ago

You'll always know someone doesnt eat meat, because they will always tell you that they dont.

A bear will rip a fish apart ass first.

Sorry fish, but I am a humane and civilized bear, and you are a fish. Itll be quick, and ill eat you with a knife and fork. Maybe some lemon and a nice glass of wine. I will complement you on your light and delicate meat, but this bin is the end.

-9

u/CrimsonPiranha 16d ago

By milking a cow. Shocking.

-2

u/CaseyG 16d ago

The same way sausage is made by killing a pig. There are some other steps you might not know about.

And after you do, you might wish you didn't.

4

u/ScwB00 14d ago

I’m not sure what you’re referring to here. They don’t kill cows to get milk.

1

u/CaseyG 14d ago

Milk is made by squeezing cow tits.

Sausage is made by killing a pig.

Both of these are true.

Neither tells the full story.

-7

u/CrimsonPiranha 16d ago

Big whoop. Humans killing animals for food. I'm so shocked. And before you come back with "But they do it inhumaneky" - just stop. I live in a country with very high standards in this regard. You can safely assume that the animals live a better life than many humans do, before they get painlessly killed.

8

u/CaseyG 16d ago

You dodged the point so deftly that I can only assume you've been practicing for years.

-9

u/CrimsonPiranha 16d ago

I didn't dodge it, I merely skipped over what would most likely be your only argument: a cheap and pointless appeal to emotions. Move along.

5

u/Ecthyr 16d ago

It's not an appeal to emotions. It's an appeal to life. You cannot possibly assume that animals live a better life than many humans do, that's such an incredibly ridiculous statement.

1

u/CrimsonPiranha 15d ago

Let's see: free food, free roof over their head, medical care, general care to keep them happy, painless and quick death... Yeah, sounds like a better deal than many humans get.

25

u/ehtio 16d ago

Ok, I waited long enough and nobody said it...

Afishxiation sort

There you go, I said it myself.

127

u/FlourBouque 16d ago

Isn't this the flood fill algorithm?

367

u/goOfCheese 16d ago • Bravo

Its a great visualization of Poisson distribution

35

u/XenusParadox 15d ago • Bravo

Wow... technically correct and an S+ tier pun holy shit

39

u/Dry-Cauliflower-7824 16d ago

Not to be confused with Poseidon

78

u/lNFORMATlVE 16d ago • Bravo

“Poisson” is the French word for fish.

45

u/chiqu3n 16d ago • Bravo

Username checks out

11

u/The_Mdk 16d ago

I thought that was the joke

9

u/samtresler 16d ago

Well. It was.

It's dead, Jim.

4

u/Oranges13 16d ago

Steve

Le

26

u/HolyGarbage 16d ago

That's not sorting, that's partitioning.

51

u/MrHackerMr 16d ago

What a horrible gif this is...

-4

u/ClearOptics 16d ago

Yeah, it needs sound

16

u/mangoman94 16d ago

Flood sort

14

u/SnooStories251 16d ago

Fish sort

13

u/TripleFreeErr 16d ago

this is binning, not sorting

10

u/derksaurus 16d ago • Mindblown

Whatever it is, it will certainly scale!

6

u/dottybotty 16d ago

Floodfill

5

u/Free-Artist 16d ago

Pascal-sort

5

u/LutimoDancer3459 16d ago

Overfill sort is my guess

5

u/deadmazebot 16d ago

stack and overflow

4

u/[deleted] 16d ago

Chaos sort

4

u/LauraTFem 16d ago

Sort-yourself-out.

4

u/CaffeinatedTech 16d ago

Its not really sorting. I'd call it high-water distribution or spillover routing.

6

u/Malarthyn 16d ago

Suffocation sort

3

u/Wojtek1250XD 16d ago

That's not a sorting algorithm in the first place.

4

u/rosuav 16d ago

Shh, the OP doesn't know that there are any other kinds of algorithms out there.... don't scare the noobs...

3

u/mosaic_the_j 16d ago

Flood fill with O(N)

2

u/epicsquare 16d ago

Whatever it is, it scales well

2

u/jhwheuer 16d ago

Avalanche Sort

2

u/Media_Dunce 16d ago

Random Sort

2

u/triandclimb 16d ago

Fifo: fish in, fish out

2

u/filtastisch_tv 16d ago

Overflow sort?

2

u/mrbilly222 11d ago

Overflow sort

2

u/dipps18 10d ago

This is really sad. These poor creatures are literally suffocating. It's unfortunate that our society is so desensitized and such cruelty is normalized, that we find this funny.

2

u/The_L1ne 16d ago

Fish-Sort?

1

u/SwannSwanchez 16d ago

Bell curve i'd say

1

u/Andischa 16d ago

Radial LiFo Tree

1

u/Daemontatox 16d ago

There are many fish in the sea sort

1

u/Only_One_Kenobi 16d ago

If fish then sort, else flop

1

u/aberroco 16d ago

Looks more like annealing optimization.

1

u/mpdcayman 16d ago

K Nearest Neighbors

1

u/Ksorkrax 16d ago

Well, obviously SortFish.

1

u/ShAped_Ink 16d ago

Flip flop blub sort

1

u/caeljk 16d ago

School sort

or nemo sort

1

u/Celemourn 16d ago

Fishtributed compute.

1

u/RTSUPH 16d ago

That’s the under the sea plinko, the new price is right game.

1

u/lonelyroom-eklaghor 16d ago

Cellular automaton

1

u/Zenamys 16d ago

Looks more like a statistical tool for Poisson distribution than a sorting algorithm.

1

u/Rough-Supermarket-97 16d ago

Pisces sort based on a ying-yang minimum spanning tree optimization to reduce the average flop to hop rate

1

u/bbjaii 16d ago

Dump sort

1

u/moduspol 16d ago

It’s definitely one that’s going to show up in my next tech screen as if it’s something any software developer would use every day.

1

u/MkemCZ 16d ago

BucketSort

1

u/Terrorscream 16d ago

looks like classic fishsort to me

1

u/mr_nonameuser 16d ago

Chaotic Overflow Sort

1

u/catastrophic_111 16d ago

Marine-sort

1

u/therealjohnidis 16d ago

AI flippity flop /s

1

u/han4578 16d ago

Gaussian

1

u/BrightLuchr 16d ago

It is something I cannot unsee.

1

u/namezam 16d ago

“So anyway, I started sorting”

1

u/StickFigureFan 16d ago

Bounce sort
Jump sort

1

u/WetWilly17 16d ago

Diffusion sort

1

u/amanjain121230 16d ago

Brute force sort

1

u/FartArfunkle 16d ago

Box sort

1

u/DecisionOk5750 16d ago

Leaky bucket

1

u/backstubb 16d ago

Gaussian

1

u/Awfulmasterhat 16d ago

Pathfinding not sort, flood fill!

1

u/Forward_Republic_610 16d ago

Overflow sort?

If a bucket overflows -> next please

1

u/0x7974 16d ago

Trickle down economics… sort?

1

u/nonaln 16d ago

Tis just UDP

1

u/richardathome 16d ago

Flood fill.

1

u/FalteringSpam 16d ago

Dump sort

1

u/__sean_eng__ 16d ago

fih algorithm

1

u/Due_Satisfaction2167 16d ago

Poisson sort, obviously. 

1

u/abednego-gomes 16d ago

npm install

1

u/shotgunocelot 16d ago

Fin packing

1

u/puan0601 16d ago

bukkake bucket

1

u/khalamar 16d ago

Blowfish algorithm. Quite a cryptic way of sorting stuff.

1

u/ThatGazzie 16d ago

The “eh just put em anywhere” sort

1

u/raviteja777 16d ago

Looks more like Self Organizing Maps

1

u/_Skotia_ 16d ago

looks like AI?

1

u/aeropl3b 15d ago

Radix sort

1

u/LetterheadAshamed716 15d ago

codratic probing

1

u/Maniklas 15d ago

Not sure but looks fishy. Could use a flush.

1

u/Shazvox 15d ago

Overflow sort

1

u/Knukun 15d ago

Floodsort, O(shit)

1

u/MethodNo4837 15d ago

Eventually full

1

u/pyaracetamol0mg 15d ago

Leaky truck algorithm ( variant of Leaky bucket algo)

1

u/Keganator 15d ago

Really this is just a hashing algorithm.

1

u/blindgorgon 15d ago

I’ve seen this one in my fundamentals class.

1

u/mckenzie_keith 15d ago

Diffusion.

1

u/JustSoni 14d ago

justsort

1

u/Apprehensive_Egg_944 14d ago

At least you know they're fresh..

1

u/spinkelben 14d ago

I don't know, but it definitely is using different hardware to what I got under my desk

1

u/S1xT 13d ago

torture sort

1

u/CoatNeat7792 11d ago

I call it Microsoft server sorting

-1

u/_-Maris-_ 16d ago

Bro - This is docker-compose pull

-2

u/gcarson8 16d ago

The animal industry is gross. Capitalism at its worst.

35

u/Piotrrrrr 16d ago

Mass suffocation, that’s so inhumane

1

u/burgonies 16d ago

TortureSort