News for hackers. Stuff that matters.
Re:How random is xkcd? (2015) by Dylan16807 on Thursday December 28, 2023 @01:41PM (#38796892)
You don't need to make it less random to achieve that. A 100% random shuffle won't have that issue, you just have to make sure it's actually a shuffle and not something else.
Re:How random is xkcd? (2015) by xtagon on Thursday December 28, 2023 @02:28PM (#38797458)
Given a set of songs or albums {a, b, c}

Suppose shuffling results in ordered set [b, a, c]

Suppose user plays through the entire set. Now it's shuffled again before repating.

Suppose the new shuffle results in ordered set [c, a, b]

The user now hears c play after c

Re:How random is xkcd? (2015) by Dylan16807 on Thursday December 28, 2023 @02:50PM (#38797765)
I'm going to ignore the other ways to handle that and just point out that that is multiple shuffles and won't be a problem if the user initiates all shuffles.
Re:How random is xkcd? (2015) by xtagon on Friday December 29, 2023 @12:31AM (#38802059)
If the user has to initiate all shuffles, it won't play continuously. If you handle it another way, that demonstrates that it doesn't "just" work with a pure shuffle without using those tricks.
Re:How random is xkcd? (2015) by Dylan16807 on Friday December 29, 2023 @02:23AM (#38802496)
1. Without a clearer spec, we should not assume the user wants any repeats at all.

2. Your claim is not even true as written.

3. I'm tempted to assume the user has a reasonable amount of music, so it will last as long as necessary. And you can't force me not to assume that.