Asuka Roasts Your Sorting Algorithms

  Рет қаралды 73,858

LaurieWired

LaurieWired

7 ай бұрын

In this video, Asuka tears apart the sorting algorithms you submitted for The LaurieWired 2023 Halloween Sorting Challenge!
Link to the challenge here:
github.com/LaurieWired/Laurie...
---
laurieWIRED Twitter:
/ lauriewired
laurieWIRED Website:
lauriewired.com
laurieWIRED Github:
github.com/LaurieWired
laurieWIRED HN:
news.ycombinator.com/user?id=...
laurieWIRED Reddit:
/ lauriewired

Пікірлер: 230
@H3wastooshort
@H3wastooshort Ай бұрын
Actual shinji sort: 1. Check if array is sorted 2. If not, give up and cry
@-book
@-book 28 күн бұрын
the depressed bogosort
@blarblablarblar
@blarblablarblar 4 ай бұрын
Guy threw one million digits of pi in the same file as his source code. What a chad
@delicious_seabass
@delicious_seabass 3 ай бұрын
The only thing Chad programs is his digits into women's phones, but little do they know, he never picks up.
@franukito
@franukito Ай бұрын
this person refuses to accept imprecise floating point arithmetics
@lox7182
@lox7182 20 күн бұрын
@@franukito -that's still imprecise-
@ivolol
@ivolol 6 ай бұрын
++points unhinged video idea -points asuka would've been way meaner and have far less patience
@semasemasemasema
@semasemasemasema 4 ай бұрын
I don't know why but 3 is definitely the spookiest digit and even numbers are not spooky at all. Idk how he nailed it
@lylyscuir
@lylyscuir 3 ай бұрын
2 Is kinda spooky. An even number AND a prime? wtf
@Maxjoker98
@Maxjoker98 Ай бұрын
@@lylyscuir nah man, 2 is not spooky, you can chop it right in half.
@ourinator692
@ourinator692 16 күн бұрын
Because of divisibility. If you look at the prime numbers smaller than 100, 37195 is exactly the order of how many primes end with that digit. This is why to me it felt like that order just nails the order of spookiness perfectly. Yes, so much that I had to look up whether that is actually the order XD (If you look at more primes, the distribution evens out)
@lylyscuir
@lylyscuir 16 күн бұрын
⁠@@ourinator692Thank you for this lore.
@ourinator692
@ourinator692 16 күн бұрын
@@lylyscuir No problem. I'm happy someone actually read it
@galen__
@galen__ Ай бұрын
13:36 - XZ Utils backdoor 💀
@jhonm6347
@jhonm6347 Ай бұрын
3 is clearly the spookier. 5 is such a nice number, it almost feels round.
@_neophyte
@_neophyte 17 күн бұрын
nah 7 is spookiest. it can't be trusted
@RushOrbit
@RushOrbit Ай бұрын
The worst she can say is no
@BroCodez
@BroCodez 23 күн бұрын
This video is great 😂! As a fellow NGE fan, I appreciate the Asuka sass
@deadbeef2482
@deadbeef2482 6 ай бұрын
coding meets anime & cosplay meets humiliation fetish? thank you based Laurie
@laurensa.1803
@laurensa.1803 6 ай бұрын
There are multiple kinks in here... 😅
@tear728
@tear728 6 ай бұрын
Dude
@dakiitto
@dakiitto 5 ай бұрын
dude
@rubiye
@rubiye 3 ай бұрын
dude
@caretchara
@caretchara 3 ай бұрын
dude
@LonelyShield
@LonelyShield 15 күн бұрын
Man, beutifully cosplaying and smartly reviewung code. This is so original! Love this!
@ArtemPlays
@ArtemPlays 4 ай бұрын
How is this NOT in trending and top? This is one of the most vell presented and fun takes on programming. The whole channel is criminallly underserved to viewers. YT algo should recommend this to way more ppl.
@vizualyse
@vizualyse 6 ай бұрын
Never thought watching sorting algorithms, the first thing in the morning, could be this entertaining. Well done to everyone, especially the Neon Evangelion person! Great video, "Asuka" XD
@Nelster
@Nelster 3 ай бұрын
Introducing the Visual Studio Visual Novel reader, a platform where your ascii characters come alive.
@Dr-Zed
@Dr-Zed 6 ай бұрын
Enterprise sort needs more SortingAlgorithProviderFactoryBuilderImpl
@flymetothemoon5138
@flymetothemoon5138 Ай бұрын
What I like about the Enterprise sorting pricing model is that the more the customer pays the lower your cloud compute costs go
@zeerooth
@zeerooth 6 ай бұрын
pi sort really works I promise, but for bigger arrays you just need infinite time (simple requirement really) (and infinite digits of pi, not just 1 million) anyway, I loved the video :D I can't wait for the next year's challenge where we have to submit our logins and passwords to be roasted!
@shadamethyst1258
@shadamethyst1258 Ай бұрын
Thankfully there is an algorithm for computing the n-th digit of pi in polynomial time, so assuming that pi is normal, you only need `O(poly(n)*2^n)` time to sort the array :)
@diandradeeke
@diandradeeke 3 ай бұрын
holy hell it really is Asuka
@Gabriel_Bento
@Gabriel_Bento 4 күн бұрын
KZfaq: "Hey random dude, don't u wanna see Asuka roasting sorting alg?" Honestly, this is the funniest thing that I've seen in 2024 😂
@Kikker861
@Kikker861 6 ай бұрын
The enterprise code is by far the spookiest. Made by spooks, for spooks
@YuvrajSingh-hr9rh
@YuvrajSingh-hr9rh 6 ай бұрын
4:16 peak Asuka moment
@godnyx117
@godnyx117 6 ай бұрын
"You think that you can out-do decades of research and come up with an ever more optional sorting algorithm" Never before in my life have I been roasted so badly.... You didn't only get the cosplay on point but also Asuka's personality XD!
@AnnatarTheMaia
@AnnatarTheMaia Ай бұрын
The whole point of using a tabulator for indentation is that it's only a single byte in a file but can be redefined in an editor to be arbitrary width. People who use spaces for indentation simply never learned this, or understood it. Tabulation byte is meant for indentation.
@tzimmermann
@tzimmermann 3 күн бұрын
What character you should use for indentation depends on your coding standards / style and language. Google and NASA use all spaces in C++, for example, and it would be a bit presumptuous to say they don't know / understand what they're doing. Most people use spaces and configure their editor to emit spaces when they press . If you insist on using tabs in a project where people already use spaces, it will screw up alignment for everybody who's not using the same tab indentation settings. (And in Python, it will just fail miserably) Also, version control systems will likely register any change to the space + tabs salad as changes in lines (when no actual code has been changed) which makes comparing revisions more cumbersome. All spaces fixes all that. And if you ever wrote a lexer, you'd know that skipping a single byte vs multiple bytes of whitespace is not gonna make a difference as far as speed is concerned.
@naesone2653
@naesone2653 3 ай бұрын
Banger Chanel I’d sub monthly for this unique content combo
@neilclay5835
@neilclay5835 6 ай бұрын
Brilliant. So funny. I had a hard day and I needed that laugh.
@tackvector
@tackvector 6 ай бұрын
Okay, first I have to say about your cosplay: SLAY. Okay, anyway, I did not expect to have as much fun watching this as I did. If you decide to do one next year, I'll submit code just to have it roasted honestly (I promise to follow all the rules). Anyway, thank you for this. Best 17.5 minutes of my entire year.
@grigorovludmil
@grigorovludmil Ай бұрын
This channel is severely underrated - leaving a comment and a like for the KZfaq algorithms...
@sybersurfer
@sybersurfer 6 ай бұрын
This channel is going places! Love the content and the style is on point 👌
@jasonlusk7287
@jasonlusk7287 2 ай бұрын
I dont know anything about this stuff but i sure like to watch you do it !
@jean-michelgilbert8136
@jean-michelgilbert8136 2 ай бұрын
The Shinji/Asuka sort was like an Eva version of Introsort. Start with Quicksort and finish up the work with Insertion Sort because it's more efficient on small arrays due to cache properties.
@w2lkm2n
@w2lkm2n 2 ай бұрын
This is the most entertaining programming video I have ever seen!
@likeazir
@likeazir 3 ай бұрын
i love this, this is art
@i_might_be_lying
@i_might_be_lying 4 ай бұрын
I belive, whatever data that "De-Enterprised" algo was getting and replacing your algo's data with, would've made for a great visualization. Also subscribed! Gold!
@lucianchauvin8587
@lucianchauvin8587 6 ай бұрын
Great! Happy halloween!
@___aZa___
@___aZa___ 6 ай бұрын
Your Videos are so well-made. Very nice!
@stacksmasherninja7266
@stacksmasherninja7266 Ай бұрын
especially love the tokyo-3 sort because copilot would go crazy if I opened that file and asked for completions lmao
@Sevalecan
@Sevalecan 2 ай бұрын
This video is like an addendum to the guide on writing unmaintainable code
@yjlom
@yjlom 13 күн бұрын
6:20 one could write a sort function that sorts by ascending index in the input array aka identity
@MeriaDuck
@MeriaDuck 3 ай бұрын
You should have at least 10x the subs that you do, you're so funny and great!
@nonetrix3066
@nonetrix3066 Ай бұрын
Maybe a BIT late but here is my sorting algorithm really efficient: import random numbers = [] for i in range(1, 11): for j in range(1000): numbers.append(i) random.shuffle(numbers) def sort_numbers(numbers): del numbers numbers = [] for i in range(1, 11): for j in range(1000): numbers.append(i) return numbers
@swankidelic
@swankidelic 3 ай бұрын
This is best computer science channel on KZfaq hands down. The attention to detail on the graphics is just 😚👌
@fireandsound
@fireandsound 6 ай бұрын
This video is gold :D
@dominikb1284
@dominikb1284 3 ай бұрын
Oh boy my motivation for studying for my cs classes in my ee degree just increased !
@swannschilling474
@swannschilling474 3 ай бұрын
Made me sub!! ❤
@Embassy_of_Jupiter
@Embassy_of_Jupiter Ай бұрын
you definitely get it. all of it, you get everything. 🌞
@ThiagoSTeixeir4
@ThiagoSTeixeir4 6 ай бұрын
I love this channel.
@shuumii4805
@shuumii4805 18 күн бұрын
Huh. This just popped up in my feed, Me like!
@Shovelzzzz
@Shovelzzzz 6 ай бұрын
I'm high as balls right now and this was a great video
@LeethLee1
@LeethLee1 Ай бұрын
absolutely perfect situation
@delibellus
@delibellus 4 ай бұрын
the fanfic program was awesome
@gjkdshgkjshjkgdfg
@gjkdshgkjshjkgdfg Ай бұрын
crossover of all time
@DominikJaniec
@DominikJaniec 3 ай бұрын
intriguing episode ;)
@hermmint
@hermmint 19 күн бұрын
spooky algorithm made the spooky polybius title sound
@ayonsamajder
@ayonsamajder Ай бұрын
She is Lain guyss
@Gersberms
@Gersberms 11 күн бұрын
When it's a number you can express within a reasonabe amount of memory, use counting sort which doesn't sort at all. Otherwise, don't bother and use quicksort. It's just busywork any way you look at it.
@ersetzbar.
@ersetzbar. Ай бұрын
YandereDev sort: instead of using greater/lesser than use all combinations of the two arguments written in one big if-else block
@J-qak
@J-qak 18 күн бұрын
To be honest, I felt same as the last guy when I saw that Rust print array function. You could write it almost same way as in JavaScript to make it look good.
@IncognitoDeveloper
@IncognitoDeveloper Ай бұрын
OMG, THAT'S THE BEST VIDEO ON THE INTERNET
@gdclemo
@gdclemo 24 күн бұрын
My favourite sorting algorithm is Procrastination Sort. It's just an empty function with a comment that says /* TODO add some code to sort this array */
@R_E_T_R_0_
@R_E_T_R_0_ 2 ай бұрын
i love watching your videos even thought i don't even understands a single things show on the screen and don't even understand even one sentence that come out of your mouth. but solid content, hey i might just learn things and become a legendary hacker or whatever
@NoneOfYourBeesWax1
@NoneOfYourBeesWax1 3 ай бұрын
So, the shitck here is... she reviews code and shit-talks the dev like he insulted her mom. I love it.
@OneAndOnlyMe
@OneAndOnlyMe Ай бұрын
Well apparently having my code roasted by a hot cosplayer is a fetish I didn't know I had. You learn something about yourself everyday.
@Gazstao
@Gazstao 4 ай бұрын
loved it! 😁☠💜
@mookfaru835
@mookfaru835 Ай бұрын
AHAHAHHAHAHAHHAHAHAHAHAHHA Man you're tropes are spot on, Great job!
@GIJOEG36
@GIJOEG36 13 күн бұрын
Imagine someone had provided a Java bussiness applications version of a sorting algorithm, or maybe a Java bussiness applications style submission in C with structs and functions manipulating the structs....
@hungryhedgehog4201
@hungryhedgehog4201 Ай бұрын
sure I'll watch this
@alexandermcalpine
@alexandermcalpine 3 ай бұрын
well, Subscribed. +1 for the SE/30!
@Comrade_Santos
@Comrade_Santos 2 ай бұрын
I went in fully expecting her to call'em all sore losers not disapponited
@turolretar
@turolretar 4 ай бұрын
I'm on the weird side of youtube again, yet I somehow like this...
@jt16omes
@jt16omes 3 ай бұрын
I love the references to the enterprise code, so accurate 😅
@EricLS
@EricLS 15 күн бұрын
I was about to call out the Enterprise algorithm for being not immersive because it didn't have any hard-coded servers or IPs in it, thereby completely failing if IT upgrades something, but was immediately proven wrong.
@francovacirca9070
@francovacirca9070 Ай бұрын
i would never have imagined one day Asuka would rate my sorting algorithms
@mr.bulldops7692
@mr.bulldops7692 6 ай бұрын
Is that default 8 space indents? Like you have in raw-ass Neovim?
@golu_paswan
@golu_paswan Ай бұрын
You looking awesome 😮
@GordieGii
@GordieGii Ай бұрын
The pancake sort sounds like what used to be called the tape sort back when RAM was expensive and tape drives were plentiful. You'd start with three tape drives with the input file on drive 1. Sort into a bunch of ascending stacks, alternating between drive 2 and drive 3. Next you merge the first list on each of drive 2 and 3 back onto drive 1. Now you have half as many files that are twice the size. (yeah I know, they are actually random lengths, but half as many) Next you move half of them to drive 2 and merge from 1 and 2 to 3. Move half back to 1 and merge from 1 and 3 to 2. Repeat. If you happen to have four tape drives you can do it even more efficiently by merging from 2 and 3 and putting the merged files alternately onto 1 and 4, then merge from 1 and 4 to 2 and 3 so you don't need to move half the files to the empty drive, just constantly merge back and forth. If the files were big, step two would be to sort from 2 and 3 back to 1 and 4 in descending order by reading drives 2 and 3 backwards so you wouldn't have to rewind to the beginning each time. You might end up with the whole sorted file in descending order, depending on how many stacks there were originally, but that's easy to deal with when you con read the file backwards.
@sis_sos
@sis_sos Ай бұрын
How did you recreate that flashing EVA title card animation? I've been trying to do exactly that for weeks
@rcookman
@rcookman 6 ай бұрын
Hahaha, good content. Got anything coming for Christmas?
@farmerfootball27
@farmerfootball27 2 ай бұрын
I respect you more the more I learn about you
@ijlala3799
@ijlala3799 6 ай бұрын
3am videoas are wild
@illegalsmirf
@illegalsmirf 3 ай бұрын
she's so adorable, how come she doesn't have millions of subs
@jamesclements997
@jamesclements997 4 ай бұрын
This is off the hook
@kailashbtw9103
@kailashbtw9103 Ай бұрын
This was such a fun cute video!
@kxmode
@kxmode 27 күн бұрын
The classic eating a gummy worm while staring at pi.
@iuer4643
@iuer4643 12 күн бұрын
i think spooky order is related to prime number abundance
@ivanvz
@ivanvz 26 күн бұрын
You're too good-hearted for Asuka. Dr. Akagi would suit you best.
@SteffyCush
@SteffyCush 6 ай бұрын
what are the videos on those background screens?
@Zhuk-zc8es
@Zhuk-zc8es 28 күн бұрын
1:19 That is proper indentation...
@ZealotPewPewPew
@ZealotPewPewPew 9 күн бұрын
The KZfaq Algorithm found the perfect woman, and I'm honored to be one of the first million subscribers.
@saxtonnova
@saxtonnova 2 ай бұрын
2:59 AHAHAHAHAHAHHA THAT'S THE FUNNIEST SHIT I HAVE EVER HEARD LMAO even the idea of it is hilarious i bet they were giggling when they were making this ASDFHADFJHADJAHJAHAHAHA
@MariyaShidou
@MariyaShidou 2 ай бұрын
awesome
@DanteHaroun
@DanteHaroun Ай бұрын
oh my fucking god
@muratozsoy7116
@muratozsoy7116 28 күн бұрын
so based, we need more
@andrewdunbar828
@andrewdunbar828 Ай бұрын
Just when I thought π was endless we discover a program with all the digits of π.
@ralfrosenberger666
@ralfrosenberger666 Ай бұрын
Sort by cuteness... you have won 😉
@kaos092
@kaos092 6 ай бұрын
Technically pi is a computable number.
@lost4468yt
@lost4468yt 2 ай бұрын
But there's no pattern to it.
@monad_tcp
@monad_tcp 6 ай бұрын
Nothing beats bogosort
@taihounaishi7261
@taihounaishi7261 29 күн бұрын
Hey, is that a Miyoo Mini on your shelf? :D
@mr.hashford713
@mr.hashford713 15 күн бұрын
content creators: *insert some gameplay of GTA cars falling or other games under the actual content to keep viewers with short attention span watching* coders: *insert book in between actual code to keep colleges with short attention span doing code review*
@backupchannel8865
@backupchannel8865 28 күн бұрын
I think the spooky one is afraid of nurses.
@user-jj2tr4pi3z
@user-jj2tr4pi3z 6 ай бұрын
If I was a sorting algorithm I would be radix sort.
@apophisca2163
@apophisca2163 2 ай бұрын
jokes on you I'm into that....
@berndeckenfels
@berndeckenfels 2 ай бұрын
The Pi sort assumes there are all patterns in pi, you just have to find the place inside where it is the right pattern to sort.
Extended Cut: Asuka Roasts Your Sorting Algorithms
33:53
LaurieWired
Рет қаралды 24 М.
Dynamically Analyzing Linux Black Basta Ransomware
24:33
LaurieWired
Рет қаралды 17 М.
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 44 МЛН
WHY DOES SHE HAVE A REWARD? #youtubecreatorawards
00:41
Levsob
Рет қаралды 28 МЛН
8 Sorting Algorithms in Minecraft
3:38
Cymaera
Рет қаралды 883 М.
BTMC REACTS TO SORTING ALGORITHMS
10:46
BTMC Highlights
Рет қаралды 37 М.
Why I Like Programming in C.
3:16
Francisco Jinto Fox
Рет қаралды 15 М.
From my point of view the Jedi are evil (Extended Version)
1:51
A Competition for Unreadable Code?
12:33
LaurieWired
Рет қаралды 130 М.
Shinji Has A Secret
2:08
CrystalAvengerVA
Рет қаралды 528 М.
10 FORBIDDEN Sorting Algorithms
9:41
Ardens
Рет қаралды 777 М.
I Optimised My Game Engine Up To 12000 FPS
11:58
Vercidium
Рет қаралды 474 М.
Trying to actually program something that isn't Leetcode
17:08
projectMaria
Рет қаралды 38 М.
15 Sorting Algorithms in 6 Minutes
5:50
Timo Bingmann
Рет қаралды 24 МЛН
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,5 МЛН
AMD больше не конкурент для Intel
0:57
ITMania - Сборка ПК
Рет қаралды 456 М.