475
submitted 9 months ago by Stamets@startrek.website to c/memes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] intensely_human@lemm.ee 9 points 9 months ago

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.

this post was submitted on 06 Nov 2023
475 points (94.1% liked)

memes

9280 readers
1930 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 !politicalmemes@lemmy.world

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