Re:FBI Checks Wrong Box, Places Student on No-Fly List
by Sharlin on Friday February 07, 2014 @05:27AM
(#7195609)
The "random" algorithm in a media player is not supposed to be "random pick with replacement". It is meant to be shuffle, and that's indeed what it is called instead of "random". A shuffle algorithm that plays the same song twice is indeed a broken shuffle algorithm (except if, of course, the playlist actually contains two instances of the same song).
[ Parent
| on HN ]
Re:FBI Checks Wrong Box, Places Student on No-Fly List
by andrewaylett on Friday February 07, 2014 @06:06AM
(#7195715)
Yes, but that's not what the GP was talking about. Sometimes shuffle will play two consecutive songs from the same album consecutively, just from randomness, and people will complain.
Incidentally, I prefer random pick with replacement, at least when selecting from a set of tracks greater than one album.
Re:FBI Checks Wrong Box, Places Student on No-Fly List
by moocowduckquack on Friday February 07, 2014 @08:30AM
(#7196130)
Sometimes shuffle will play two consecutive songs from the same album consecutively
only if it is coded badly
Re:FBI Checks Wrong Box, Places Student on No-Fly List
by andrewaylett on Friday February 07, 2014 @11:13AM
(#7196927)
That depends: is it supposed to be a random shuffle or a 'random' shuffle?
Believe it or not, some of us quite like it when we are randomly presented with two tracks in order.