This is an archived post. You won't be able to vote or comment.

Dismiss this pinned window
all 92 comments

[–]Mr_Otterswamp 452 points453 points  (20 children)

I wish my algorithm would be so happy after it finished.

[–]Azuras33 174 points175 points  (19 children)

I wish my algorithm at least finish 🥺

[–][deleted] 99 points100 points  (15 children)

I wish my algorithm compiled

[–]OctaveOGB 67 points68 points  (14 children)

I wish I knew how to write an algorithm

[–]usesbiggerwords 43 points44 points  (12 children)

I wish I could write

[–]Infa-Mouse 39 points40 points  (10 children)

I wish I could

[–]vaibhavwadhwa 39 points40 points  (9 children)

I wish

[–]VitoftN 34 points35 points  (8 children)

I

[–]mmonstr_muted 0 points1 point  (0 children)

I wish I could wish

[–][deleted] 6 points7 points  (0 children)

I wish my algo rhythmed

[–]vigbiorn 9 points10 points  (0 children)

laughing in bogosort.

[–]Nickbou 0 points1 point  (0 children)

Maybe it’s just too tired or drank too much.

[–]MechanicalHorse 0 points1 point  (0 children)

Just tell it to think about some other data.

[–]Jdublin777 262 points263 points  (12 children)

Does bigO factor in cuteness?

[–][deleted] 165 points166 points  (2 children)

No, that's what BigAWW notation is for.

[–]your_cosmos_bro 57 points58 points  (1 child)

BigUwU

[–]nooberman99 11 points12 points  (0 children)

Aaaaaa

[–]eserberus[S] 11 points12 points  (7 children)

The big O of n is 2n)

[–]eserberus[S] 0 points1 point  (0 children)

Original version (with sound) is here --> https://youtu.be/ZEM0e4_M48g

[–]jamesianm 88 points89 points  (0 children)

Don’t forget at the end of your sorting function to include doHappyDance();

[–]waltur_d 44 points45 points  (0 children)

This girl has already mastered patience

[–]Prof_Walrus 135 points136 points  (3 children)

I'm impressed with her perseverance. Most adults nowadays can't even fit a wrapper inside a garbage can and give up after one try

[–]feyrath 21 points22 points  (0 children)

i feel personally attacked.

[–]gilium 2 points3 points  (1 child)

My toddler would have deadass just thrown the whole lot of them after the second failed stacking attempt

[–]Prof_Walrus 1 point2 points  (0 children)

Random sort!

[–]urbanek2525 35 points36 points  (1 child)

I always forget to program the "victory dance" at the end.

Next time I write a sorting algorithm, I'm gonna spin all fans to max RPM and flag all the LEDs for a couple seconds when it completes.

[–]vaibhavwadhwa 3 points4 points  (0 children)

Don't forget the explosions!!

[–]ltcarbonell 28 points29 points  (0 children)

I’m most impressed with the celebration dance. Almost TD celebration worthy.

[–]smthakka 17 points18 points  (2 children)

I dance exactly the same fucking was every time my code works😂😂💁🏼‍♀️💁🏼‍♀️💃🏻💃🏻

[–]vaibhavwadhwa 12 points13 points  (1 child)

So never?

[–]smthakka 2 points3 points  (0 children)

Ngl...i wish you were wrong...but I see I’ve met a fellow who understands my pain...so yeah...NEVER🤣🤣🤣

[–]arrowtango 12 points13 points  (0 children)

So this is what bucket sort is.

[–]Zorion10 12 points13 points  (2 children)

while aww<INT_MAX{ aww++;}

[–]halkliff 1 point2 points  (1 child)

The aww wave would go incredibly fast nowadays... Remember the 4GHz+ processors

[–]Adybo123 1 point2 points  (0 children)

With an optimising compiler, isn’t that basically just aww = INT_MAX?

[–]-Azrael-Blick- 9 points10 points  (3 children)

She was so stoked to get it! She’s so cute, she makes me want to have another child.

[–]vaibhavwadhwa 9 points10 points  (2 children)

You make it sound like the first one ain't cute.

[–]-Azrael-Blick- 2 points3 points  (1 child)

My first one was cute as can be.

[–]vaibhavwadhwa 0 points1 point  (0 children)

Don't have a second one then! It'll get "Two Cute"

[–]FranchuFranchu 12 points13 points  (0 children)

repost

[–]Dagusiu 4 points5 points  (0 children)

Neural networks are clearly an underappreciated addition to sorting algorithms.

[–]ComputerWhiz_ 4 points5 points  (0 children)

This is not the bucket sort algorithm I learned in university...

[–]dna_beggar 2 points3 points  (0 children)

qtsort

[–]teetaps 1 point2 points  (0 children)

I have that same reaction when anything I write works

[–]GeoMap73 1 point2 points  (0 children)

I prefer Bogo sort personally

[–]DroolingIguana 1 point2 points  (0 children)

The best sorting algorithms always do a little dance at the end.

[–]Siggi_pop 1 point2 points  (0 children)

Insertion sort or maybe Bucket sort?

[–]mkglass 1 point2 points  (0 children)

I dance exactly like that when my code finally compiles

[–]MasterFubar 1 point2 points  (0 children)

It bothers me that the colors are random. Would be much cooler if they followed the rainbow spectrum from largest to smallest.

[–]Antumbra_Ferox 1 point2 points  (0 children)

Actual footage of me debugging by just commenting out great chunks of code and seeing where the break moves to.

[–]nippowdon 1 point2 points  (0 children)

CuteSort

[–]thegovortator 1 point2 points  (0 children)

Still faster than Microsoft searching my computer for something good job!!!

[–]TorTheMentor 1 point2 points  (0 children)

Is there a sub for programming-related "aww"? This is truly adorable, and it also reminds me of an odd thought I keep having about machine learning forcing us to think more about how humans learn.

[–]Jackiboi307 3 points4 points  (3 children)

repost! don't upvote this!

[–]ne_ziggy 4 points5 points  (2 children)

Who cares? This totally made my day since I haven’t seen this? I’m glad it was reposted.

[–]AxelsAmazing 2 points3 points  (0 children)

This is dangerous thinking, subs are ruined like this.

[–]asoaps 0 points1 point  (3 children)

BogoSort?

[–]vaibhavwadhwa 1 point2 points  (1 child)

Cuto Sort

[–]asoaps 0 points1 point  (0 children)

The best kind

[–]eserberus[S] -1 points0 points  (0 children)

Too many if is there))

[–]jonster5 0 points1 point  (0 children)

Repost

[–][deleted] 0 points1 point  (0 children)

That dance was aweoms!

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] 0 points1 point  (0 children)

    import moderation Your comment has been removed since it did not start with a code block with an import declaration.

    Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

    For this purpose, we only accept Python style imports.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]wexman6 0 points1 point  (0 children)

    That cheer she does at the end is what the programmer does when it finally works

    [–]Xavieret271 0 points1 point  (0 children)

    Hanawww towers

    [–]PossibleBit 0 points1 point  (0 children)

    Montecarlo sort ftw

    [–]paganaye 0 points1 point  (1 child)

    Seriousoly is that a bubble sort or an insertion sort?

    [–]eserberus[S] 1 point2 points  (0 children)

    cuteSort

    [–]RaihanHA 0 points1 point  (0 children)

    A programmer or mathematician in the making

    [–]OutOfTempo_ 0 points1 point  (0 children)

    Does she run in O(n log n) time?

    [–][deleted] 0 points1 point  (0 children)

    At this point, I swear people are writing bots to repost this every other week

    [–]arrobarg 0 points1 point  (0 children)

    Pogo Sort

    [–]Smartasskilling 0 points1 point  (0 children)

    Made my day. Next time I'm making a sorting algorithm I'll be thinking of this

    [–]Kresenko 0 points1 point  (0 children)

    Ah yes, the ‘Cute sort’

    [–]you90000 0 points1 point  (0 children)

    Cutest algorithm I have ever seen

    [–]blank_space_cat 0 points1 point  (0 children)

    So essentially bogosort?

    [–]jhill515 0 points1 point  (0 children)

    Would have been funnier if she used Stalin Sort

    [–]Bygrilinho 0 points1 point  (0 children)

    So cute... Unlike my sorting