this post was submitted on 04 Jun 2024
1015 points (99.0% liked)

Technology

59207 readers
2520 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


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

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.

[–] [email protected] 16 points 5 months ago (1 children)

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.

[–] [email protected] 2 points 5 months ago

^this - why is it so hard to implement sigh

[–] [email protected] 8 points 5 months ago

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.

[–] [email protected] 1 points 5 months ago (2 children)

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.

[–] [email protected] 2 points 5 months ago

Lines of code. Lines. Not pibes.

In unrelated news, I hate autocorrect. Pibes is not a fucking word.

[–] [email protected] 1 points 5 months ago

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/