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
- 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
Lines of code. Lines. Not pibes.
In unrelated news, I hate autocorrect. Pibes is not a fucking word.
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/