News for hackers. Stuff that matters.
Re:Show HN: A Set of Dice That Follows the Gambler's Fallacy by xg15 on Wednesday July 19, 2017 @03:26PM (#14807132)
> My friends, who are also CS grads and should know better...

I know this is about being "technically correct" but I'd argue that even if you're pedantic and know the behavior of true randomness, the complaints are justified.

First, "pick a song from a uniform distribution" is an implementation detail, not the use case. The use case is "pick songs in a pleasant, novel order". If the implementer chose to do this using uniform randomness, that's their descision. If that implementation does not fulfill the use case, it's a bug and also their responsibility.

Second, the function is frequently called "shuffle" - so it even gives some hints about the implementation expected. No shuffling algorithm should ever result in duplicates. (except at the beginning and end of playlists)

There are no comments on this comment yet.