News for hackers. Stuff that matters.
Re:How random is xkcd? (2015) by antiterra on Thursday December 28, 2023 @01:09PM (#38796427)
I think the issue was playing the same artist or album back-to-back. So they made ‘smart shuffle’ in 2005. (https://www.wired.com/story/requiem-for-the-ipod-shuffle/)

A shuffle already implies shuffling like a deck of cards, so you wouldn’t get duplicates unless you had two of the same card, and I that’s how it was described in the manual.

Re:How random is xkcd? (2015) by jimbobthrowawy on Friday December 29, 2023 @02:43PM (#38809329)
Is there any algorithm that would do that without actually storing a list of indices, or track IDs?

I can't think of why someone would prefer a truly random song being played from a playlist rather than the "deck of cards" method.