this post was submitted on 04 Jun 2024
1016 points (99.0% liked)
Technology
60076 readers
3677 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
True random shuffle would be a terrible idea. No one wants the same track showing up multiple times in a row, which would not be uncommon in true random shuffle.
I think the idea is that the play order for the entire playlist is shuffled on each loop, so you play all songs in one order, then it shuffles, and you play all songs again but in a different order.
^this - why is it so hard to implement sigh
I disagree that that's what it means, IMO "shuffle" explicitly means each track exactly once. Pedantry aside, what I meant was a truly randomized order when you shuffle a playlist. It's a major critique of Spotify among users and has been for a very long time.
You can make a truly random shuffle that doesn’t do that in like five pibes of code. This is the most pointless objection to random shuffle that I’ve ever seen.
I mean, not really. This is actually a non-trivial topic, and true random is a really bad label for what someone actually wants out of a shuffling algorithm.
See the following engineering blog post on the subject: https://engineering.atspotify.com/2014/02/how-to-shuffle-songs/
Lines of code. Lines. Not pibes.
In unrelated news, I hate autocorrect. Pibes is not a fucking word.