1.5k
u/aayush_aryan Mar 16 '20
That happiness after getting it sorted... Her Programming methods and languages might change, but that happiness will always be there.
375
u/ununium Mar 16 '20
I make the same expression and dance after solving a programming problem. This girl will enjoy CS.
→ More replies (4)293
u/EnIdiot Mar 16 '20
Yep. No other profession can make you go from idiot to genius in under 60 seconds flat. Unfortunately, the opposite is also true.
→ More replies (9)43
u/you-are-not-yourself Mar 16 '20
In CS, you spend a lot more time feeling like a dunce than a genius. Once you hit your Eureka moment, then it's on to the next problem. It's humbling.
→ More replies (4)20
→ More replies (3)14
1.5k
u/NimbusHeart Mar 16 '20
The last reaction exactly resembles my reaction when my program runs successfully.
351
Mar 16 '20
Yesss! It says "Hello World"! Yeeeeessss!
46
u/Ekstdo Mar 16 '20
tbh, if you spend hours trying to glue libraries and languages with all sorts of stuff and frameworks together, a simple thing as "Hello World" might give you a bigger smile, than you'd want to admit.
12
8
12
u/vanderZwan Mar 16 '20
Including the last second crash back to the reality of opening the next ticket
15
3
2
u/Grizknot Mar 16 '20
I just had the reaction two minutes ago when my program that was taking 8 hours to run finished in 5 min. Wife who's also working from home behind me was like what are you so happy about?
hashtables are the elixir of the gods
→ More replies (5)2
1.8k
u/aser92 Mar 16 '20
Ah the infamous cute sort.
Heard of it but I've never seen it with my own eyes till today.
259
u/T-T-N Mar 16 '20
Looks like a variant of insertion sort
271
u/elperroborrachotoo Mar 16 '20
An insertion / bogosort hybrid.
All our algorithms lack that victory dance, though.
75
u/maybeSkywalker Mar 16 '20
And are therefore not good enough
37
u/Fear-Surprise-And Mar 16 '20
We need an algorithm that sorts and then shuffles the numbers up again solitaire-win style
13
u/aalapshah12297 Mar 16 '20
Now someone will make a variant of std where every algorithm prints 'Fuck yeah! I did it!' on termination.
→ More replies (2)3
59
u/stealthcwj Mar 16 '20
I am thinking of the computer sorting my arrays and doing the dance at the end... no wonder there is a lag after sorting...
14
u/Aethermancer Mar 16 '20 edited Apr 14 '26
If you're reading this, the original post got nuked by Redact. I use it to automatically purge my digital footprint from social networks, people search sites and messaging apps.
capable aback spoon soup steep historical snow rock many longing
146
u/Curtmister25 Mar 16 '20
Sort of an algorithm.
→ More replies (2)42
145
u/DrOverbuild Mar 16 '20
How do I get my program to do that little dance at the end? I’m using python
85
38
u/Unlock17A Mar 16 '20
child.Pop()
38
u/ThreeJumpingKittens Mar 16 '20
instructions unclear: blood all over the floor now and I've been arrested by the police. perhaps I'll try again under the debugger
5
87
u/LetReasonRing Mar 16 '20
I had to do a couple Towers of Hanoi puzzles for an ADHD evaluation a few weeks ago, and this video depicts exactly how I felt my evaluator was looking at me (except I'm a near 40 year old man).
25
Mar 16 '20
I feel like that's not a fair evaluation considering there's an algorithm that you can learn to solve any Tower of Hanoi problem just by counting in binary. So what is you're just really good at those puzzles like me?
→ More replies (9)
379
Mar 16 '20
My cousin would probably just try putting them on his head and drooling, this seems to be a higher level language specimen
284
u/vancity- Mar 16 '20
I can recommend the book So Your Child Is A PHP Programmer
→ More replies (4)92
3
137
u/ChaosOS Mar 16 '20
Why aren't the cups in roygbiv order?
150
u/RainbowDarter Mar 16 '20
The table needs to be reindexed.
28
u/jasmin3dragon Mar 16 '20
Or it’s a hash index. So the order of the buckets doesn’t matter. You just have to search for exactly one color only, then you can find it super quick.
→ More replies (10)6
u/hate_picking_names Mar 16 '20
We have two sets of similar cups at home (both of our sets are from the same place, but they are different than the ones in the video) and the colors don't match between the sets. If I had to guess, they might just make all sizes (or several sizes) with a bunch of colors and you get what you get.
71
u/firefox57endofaddons Mar 16 '20
the most adorable sorting algorithm i've ever seen :)
also so happy once she was done :)
15
4
2
34
27
22
u/ribo Mar 16 '20
Had these cups for my kids too. In all seriousness it really is amazing watching them master it and evolve their spatial reasoning to sort them.
21
37
u/PaperCrane828 Mar 16 '20
Wholesome :) lol I thought for a second she threw up two middle fingers at the end
16
u/bowmans1993 Mar 16 '20
This video is so much better with sound
7
u/Ionlypost1ce Mar 16 '20
Well can you send that please. As usual moron OP didn’t provide. I hate redditors.
20
7
u/egw Mar 16 '20
Here's the original tweet, too: https://twitter.com/_mommanat/status/1103008450328563714
→ More replies (1)
14
u/ollomulder Mar 16 '20
It's called toddlersort and represents the result of almost everyone that tries to implement a sorting algorithm by themselves.
11
u/AssG0blin69 Mar 16 '20
Imagine hugging your algorithm whenever it completes a task
3
u/KingJellyfishII Mar 16 '20
That's literally neural networks though (well not really but you get the point)
10
8
8
22
7
10
5
5
5
5
5
u/Err0r_Dog Mar 16 '20
That’s what I needed to see at the end of my 12h shift. You’re a good wo/man, thank you.
5
9
4
7
u/0IsNotANaturalNumber Mar 16 '20
Is this how kids learn the difference between efficiency and effectiveness these days?
→ More replies (1)
3
3
3
3
3
3
3
3
u/Morpheyz Mar 16 '20
Her reaction is definitely the same reaction every programmer has when they implement their first sorting algorithm
3
Mar 16 '20
Why did I just watch a child sort colored buckets for 45 seconds and then get so happy when she succeeded? Is this what's it like to be a parent?
→ More replies (2)
3
3
3
3
3
3
3
Mar 17 '20
Little known fact: ksort accepts a second arg (bool) and if set to true does a dance on completion.
3
u/audra_williams Mar 17 '20
My partner just showed me this video! I am not a programmer, but I used to be an ASL interpreter. I'm pretty sure at the end the little girl gleefully signs something like "You tried to do the same thing but can't!" And then "Yesss."
Aaaa my heart. This precious child!! <3
3
3
5
u/Lasdary Mar 16 '20
Maybe I'm just reading too much into it but it's fascinating how the learning process works on a toddler like this.
4
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
u/RaymondMasseyXbox Mar 16 '20
Dang did sort algorithms improve since I went to college?
→ More replies (1)
2
2
2
2
2
u/Allanon32 Mar 16 '20
Hell yea, sitting at working watching this little girl figure that out is the highlight of my day.
2
2
2
2
u/I2ed3ye Mar 16 '20
After she finished sorting the stack and started celebrating, I swear I heard "Knuck If You Buck" by Crime Mob blasting
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
u/CrypticGuru Mar 17 '20
I feel like my computer does a similar dance after it finishes a rather complex sort 🤣
2
2
2
2
u/droxius Mar 17 '20
These cups are my favorite toy that my 1-yr-old has. This video is part of the appeal, but they also stack like a pyramid if the cups are mouth down, or like an inverted pyramid if the cups are mouth up. Plus there's this whole phase where a kid first discovers they can put small stuff inside them and that's fun to watch. There's like 20 different ways to play with them and yet the set is completely self contained. Understated genius and I love it.
2
2
2
2
2
3
2
2
2
u/Janephox Mar 16 '20
She is so patient 😄 trying every combination without angering when it doesn't fit. How cute ♥️
2
2
u/djShmooShmoo Mar 16 '20
2
u/RepostSleuthBot Mar 16 '20
Sorry, I don't support this post type (video) right now. Feel free to check back in the future!
2
u/johnnyfiveundead Mar 16 '20
No, no, no, NO! Sort them like I sort pots and pans. Pile them up in the cabinet and then wedge the lids at an angle so it all doesn’t fall out every time you open the door. My way is so simple and my wife loves it, right honey?
Mi amor? Where are you going? Hey, we’re supposed to be social distanc- Damn.
→ More replies (1)
2
u/JackBlack76 Mar 16 '20
5
u/RepostSleuthBot Mar 16 '20
Sorry, I don't support this post type (video) right now. Feel free to check back in the future!
1
1
1
1
1
1
u/senaya Mar 16 '20
Me after corrrectly placing that one missing </div> somewhere in the html document.
1
1
1
1
Mar 16 '20
Anybody else expecting her to say (not literally) "fuck it" and throw the cups across the room? Perhaps checking nestoverflow.com afterwards.
1
1
1
1
1
u/voicesinmyhand Mar 16 '20
0:28 This is where most of my sorting code initial attempts escape whatever it is in and begin gobbling the boot sector of the local hard disk.
1
1
1
1
u/AlexanderYip Mar 16 '20
She's pretty good at buckets but let's she how she handles Professor Layton.
1
1
1
3.8k
u/theeggman84 Mar 16 '20
If she's doing bucket sort at this age, then she's set.