this post was submitted on 06 Nov 2023
472 points (94.0% liked)

memes

10395 readers
1887 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 1 year ago (1 children)

You can definitely make a truly random shuffle that doesn’t play the same song twice within a gap of ten songs.

You just make a list of all the song IDs that aren’t in the last ten played, and grab an item at a random index.

Randomness is a texture not a shape. Dice are random despite only being able to present six outcomes.