The Shuffle Button is a Lie. Here's Why.

Поделиться
HTML-код
  • Опубликовано: 6 фев 2023
  • Spotify's Shuffle is one of the most popular features for being able to randomly select music for you to listen to. However, how is the algorithm able to be random?! Is it truly random!? 🤔
    In this video, we talk about Spotify's shuffle and why software developers build algorithms to trick us into believing what random actually is.
    My name is Lewis, I am a self-employed software developer looking to share my knowledge of technology and inspire developers worldwide. If you are interested in joining my journey, please like comment and subscribe!
    MY NEW NEWSLETTER 💌
    thebetter.dev
    ------
    CONNECT WITH ME ON SOCIAL
    📸 Instagram:
    / lewismenelaws
    🎚TikTok:
    / lewismenelaws
    🐣 Twitter:
    / lewismenelaws
    --
    My gear 💻
    liinks.co/lewismenelaws
    -----
  • НаукаНаука

Комментарии • 78

  • @CodingWithLewis
    @CodingWithLewis  Год назад +9

    New studio! 🎥 let me know what you think :) What tech company should I cover next!? 🤔

    • @SamirRSharma
      @SamirRSharma Год назад +1

      I would love a deep dive into how google chooses what to show as top results. I know back in the day it was based on backlinks or something and they were thinking of calling the company backrub or something. That could be cool

    • @krateskim4169
      @krateskim4169 Год назад +2

      shazam by apple

    • @mnayeembasha6299
      @mnayeembasha6299 Год назад

      The algorithm using ML by which RUclips or Instagram suggest us type of content that we like

    • @VolodymyrInTech
      @VolodymyrInTech Год назад

    • @PythonisLove
      @PythonisLove 8 месяцев назад

      Been watching your videos for last 1hr, you're successful in your mission!

  • @petrowi
    @petrowi Год назад +54

    Not only it's not random - it's meant to annoy you probably. 300 songs in a playlist, yet it plays the same 5 over and over.

    • @d_ino.
      @d_ino. 4 месяца назад +1

      YEA AND I FUCKIGN HATE IT SO MUCH

  • @mrlilhobbes
    @mrlilhobbes Год назад +43

    This is one of those questions I’ve always had but never really bothered to look up. This video does an amazing job explaining “random”!

  • @Lynchszn
    @Lynchszn Год назад +20

    I always though they get a song with a similar beat and style and keep shuffling

  • @j.r.r.tolkien8724
    @j.r.r.tolkien8724 Год назад +7

    'Random' is just a concept. It doesn't exist in reality but in our perception.

  • @HarryDaDevSecond
    @HarryDaDevSecond Год назад +10

    bloody hell, this is one great video. love when u talk about all the maths that goes behind this, really makes me want to just never stop maths. keep going

  • @cocoasulphur
    @cocoasulphur Год назад +5

    _Going to need you to demonstrate what the 'Fisher-Yates Shuffle' dance would look like for science_

  • @caster863
    @caster863 5 дней назад

    RUclips doesn't hide it. They just play the same order of videos over and over again everytime I press it.

  • @Briglair
    @Briglair Год назад +5

    Yet I still seem to hear the same songs repeated after a bit and get frustrated by having to skip over and over

  • @zyrenth
    @zyrenth Год назад +6

    Wow, great content but seriously we need more content like this. Keep it up, Lewis. ❤

  • @gothlemons
    @gothlemons 3 месяца назад +1

    3:49 W deathgrips shout

  • @liubayseee
    @liubayseee Год назад +3

    Great content Lewis! too bad the algorithm hasn't picked up on it. Hopefully tomorrow it'll blow up. Keep up the good work :)
    Also whats the 'drawing-like' animation style on your images at 5:29 and such?

  • @SolelyCS
    @SolelyCS Год назад +3

    Great video as always. I really wanted to know this. Thank u!

  • @edwinndzi4869
    @edwinndzi4869 Год назад +1

    Great explanation. I’ve been very curious how it worked. Thanks

  • @vitruvius1202
    @vitruvius1202 8 месяцев назад +1

    These videos are really cool. Please keep making them!

  • @YashSharma0605
    @YashSharma0605 Год назад +1

    Definitely would like to see more of these videos 👌

  • @ohimdabiggestbird
    @ohimdabiggestbird Год назад +2

    Plot twist: there is nothing random, neither in computers nor the real world

  • @hasinistiak3473
    @hasinistiak3473 Год назад +2

    Need more vids like this

  • @ZipplyZane
    @ZipplyZane 5 месяцев назад

    A recommendation: while the moving background makes sense, I do think it probably would have been better for your example images for dithering to not be animated, as dithering is a very fine detail.

  • @TiffInTech
    @TiffInTech Год назад +2

    This video is 🔥!!

  • @jcblou8948
    @jcblou8948 5 месяцев назад

    Why don’t they shuffle with removal from the list? Each time a song is played , it is removed from the list of songs that can be played in the code. This loops until there is just one song left that hasn’t been played in the playlist. Then it repeats again

  • @viktorashistan7207
    @viktorashistan7207 Год назад +1

    3:47 LEWIS IS NOIDEDD

  • @ExplodeCode
    @ExplodeCode Год назад +2

    Great video lewis. I was thinking of installing Spotify earlier

  • @nyeonii
    @nyeonii Месяц назад

    This may have been true at the time of posting, but I can tell you the shuffle is no longer random at all. I often get 5 or 6 songs in a row by the same two artists. It’s only when I skip a couple times that it switches and plays something different, but then I get multiple songs by THAT artist. I’ve calculated the probability of this happening each time, and the number literally can’t be displayed on my calculator because there are too many decimals

  • @khadeerdudekula7168
    @khadeerdudekula7168 Год назад

    bro i havent felt bored not even a single sec, and my advise is it would be best to add source for ur info because now am interested to look more into this ....

  • @krateskim4169
    @krateskim4169 Год назад +2

    The new set is cool

  • @dwalmsley85
    @dwalmsley85 Месяц назад

    Spotify shuffle is better than RUclips music.
    YM I shuffled my songs all the time like on Sfy, and my son waits for one song out of 50 songs.
    But 20 drives the song never plays 0/20 but the songs at the top of the list plays 8/20 times.
    So I stopped playing the shuffle list and had to make new playlists now out of 20 songs.
    Feels like Spotify used a shuffle like it will play 5/20 every song

  • @gabrielarrhenius6252
    @gabrielarrhenius6252 Год назад +5

    I never use shuffle, I hate it, I want it to follow my playlist song by song, like a CD.

  • @jasno_
    @jasno_ Год назад

    So interesting, banger vid!

  • @SamirRSharma
    @SamirRSharma Год назад +3

    Interesting! Looks like a great video

  • @logos1396
    @logos1396 Год назад +2

    Great video

  • @pppluronwrj
    @pppluronwrj Год назад +3

    I want back to back artists in my playlist though

  • @daisyking1977
    @daisyking1977 Год назад +1

    love quackers 🐥🐤🐤

  • @shadowwodahs5489
    @shadowwodahs5489 7 месяцев назад

    Human true random is easy
    you pick 2 predefined numbers like 31 and 75
    assign a number 1 and 2 respectively
    get someone else to pick 1 or 2
    true random :)

  • @RemotHuman
    @RemotHuman Год назад +2

    If this is true it would be fine I just feel like nowadays they use ml algorithms that guess our preferences but that ends up playing the same songs over and over over time. Which isnt what I asked for

    • @ZipplyZane
      @ZipplyZane 5 месяцев назад

      I think a shuffle algorithm is only used on your preexisting playlists. It wouldn't be used when they're trying to predict which songs you like.
      Though I guess maybe it could be. But, if that was the case, they'd use some algorithm first to predict a list of songs you'd like, then they'd shuffle that list.

  • @sahilyadav349
    @sahilyadav349 Год назад +2

    My last vid of the day, better be worth it
    Edit : NVM I'll watch this when I'm more awake. I don't understand a thing

  • @peckychicken
    @peckychicken Год назад +2

    Wow

  • @leticiafariasvieira
    @leticiafariasvieira Год назад

    great video

  • @couldbejake
    @couldbejake 8 месяцев назад

    I used to work at a quantum computing company specializing in quantum entropy

    • @couldbejake
      @couldbejake 8 месяцев назад

      Pretty accurate explanation.

  • @rishiraj2548
    @rishiraj2548 Год назад +2

    👍👍

  • @blizzard_gaming
    @blizzard_gaming Год назад +3

    hmmmmmmmmmmm Very interesting video, as always!

  • @mier-kd6id
    @mier-kd6id 8 месяцев назад

    Is it me or intentional, but did you said Botify instead of Spotify 2 times?
    Once At 0:23 and at 2:45

    • @ZipplyZane
      @ZipplyZane 5 месяцев назад

      Both are at the beginning of sentences, and might be the first part of a recording. I suspect he's saying "Spotify", but the S is getting cut off.

  • @pmrd
    @pmrd Год назад

    "Couple lines of code" + 20 libraries

  • @ahmedgamberli2250
    @ahmedgamberli2250 Год назад +2

    6th comment and view! Here we go!!!

  • @oreotalha5767
    @oreotalha5767 8 месяцев назад

    I made it 1k likes

  • @jhudson_tiedye
    @jhudson_tiedye 2 месяца назад

    personally I dont like it at all, I wish we would get true shuffle

  • @utsavkhadka3184
    @utsavkhadka3184 Год назад +3

    first

  • @sangitachakraborty2465
    @sangitachakraborty2465 Год назад +2

    467th view

  • @ZipplyZane
    @ZipplyZane 5 месяцев назад

    I'd say it's more that humans don't really want their song lists to be purely random. We choose "shuffle" to add some level of novelty and diversity to our existing playlist. We don't want similar songs in that list to be bunched together.
    I would actually suspect that grouping only by artist would not be sufficient. Same artist is just one similarity of many. You'd probably want multiple different ways that songs could be similar, or maybe even some sort of algorithm that assigns numerical scores for how similar something is, and then groups by a threshold of similarity.

    • @ZipplyZane
      @ZipplyZane 5 месяцев назад

      As for Floyd-Steinberg: I'd say the issue is that randomness isn't enough to achieve a dithering effect. It's also necessary to reduce clumping. A clump of black dots followed by a clump of white dots just looks like big black and white dots. But alternating black and white dots look like shades of gray.
      It's more about how vision works than it is about our perception of randomness. The random dithering looks bad because the clumping is obscuring parts of the image.

  • @pokemaniac3977
    @pokemaniac3977 Год назад +2

    First

  • @pokemon_2887
    @pokemon_2887 Год назад +2

    WoW, such an empty place right here...

  • @omarvpg4006
    @omarvpg4006 Год назад +2

    fisrt

  • @VolodymyrInTech
    @VolodymyrInTech Год назад +1

    👍👍