News for hackers. Stuff that matters.
Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by michaelmcmillan on Wednesday July 19, 2017 @12:37PM (#14805572)
I actually tested the random distribution of Spotify's shuffle functionality: http://michaelmcmillan.net
Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by ganonm on Wednesday July 19, 2017 @01:17PM (#14805951)
Spotify wrote a brilliant blog post on this. Highly recommend reading.

https://labs.spotify.com/2014/02/28/how-to-shuffle-songs/

Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by gt565k on Wednesday July 19, 2017 @01:33PM (#14806108)
As it is apparent from the comments, most people want the playlists shuffled, but after a song is played, it is taken out of the set that's to be shuffled. So a song is never repeated.
Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by hoschicz on Wednesday July 19, 2017 @03:11PM (#14807000)
Read the blog post, what you their feedback was about is the same artist playing for too long.
Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by GrantSolar on Thursday July 20, 2017 @07:50AM (#14811609)
From anecdotal evidence, I understand that the algorithm has since been changed
Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by wodenokoto on Wednesday July 19, 2017 @12:49PM (#14805685)
I have a theory that Spotify doesn't do random shuffling, but weighted shuffling, so that new items are more likely to be at the top of a shuffle (or maybe even popular items). I also believe that this will satisfy users better than true random shuffling.

About your linked post: You don't test the randomness of the shuffling, you only test if a shuffled list contain one and only of each original item.

Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by surement on Wednesday July 19, 2017 @02:57PM (#14806878)
>I have a theory that Spotify doesn't do random shuffling, but weighted shuffling, so that new items are more likely to be at the top of a shuffle

Amazon Music does this and it annoys me. Just because I added something a while ago doesn't mean I want to hear it less.

Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by c3534l on Wednesday July 19, 2017 @01:03PM (#14805801)
Spotify officially says it's not random.
Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by lwansbrough on Wednesday July 19, 2017 @12:56PM (#14805737)
Spotify's shuffling is most certainly not random. Every once in a while I get a bug where it simply shuffles through various songs from 4-5 albums and will never pick songs outside that set. Restarting the app corrects the behaviour. To me that's some level of proof, because the songs are all there. So what's the algorithm really doing?
Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by fhood on Wednesday July 19, 2017 @01:03PM (#14805811)
I get this as well, and I think it gets worse the larger the playlist. It really makes me miss itunes' shuffling algorithms.
Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by Jackim on Wednesday July 19, 2017 @12:45PM (#14805638)
I appreciate the simplicity of your site but it is definitely difficult to quickly see where one post ends and another one starts.
Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by RugnirViking on Wednesday July 19, 2017 @12:45PM (#14805642)
On your website you put a source mark on the statement 'This is the same reason the Brits mistakenly assumed that the Germans had an exceptionally good aim with their V-1 flying bombs during World War II '

I'd like to read about this, do you still have the intended link?

Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by michaelmcmillan on Wednesday July 19, 2017 @01:25PM (#14806007)
Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by feider on Wednesday July 19, 2017 @12:49PM (#14805680)
Thinking fast & slow by D.Kahneman mentioned this same story