Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xxs
on May 22, 2019
|
parent
|
context
|
favorite
| on:
A new core playlist for VLC 4
The main issue would be naively using mod to obtain a number in range of (0-n].
jchw
on May 22, 2019
|
next
[–]
I understand the issue with modulo bias, but there's plenty of techniques for dealing with that issue. (Not to say that people always do, even in real-world code, but oh well.)
rom1v
on May 22, 2019
|
prev
[–]
TBH, I think this is acceptable for a playlist random order, even if it's not perfectly evenly distributed.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: