A No-Repeat Random Draw Looks Trivial Until Round 70
DEV Community·3 points·ruixuan_jiang_663eb75f3fa·6 days ago·dev.to
Rejection sampling on a shrinking set is a performance bug and a fairness bug. Here is the version I ship instead, plus how to validate the persisted state on read.
Read the full article at dev.to →
Related stories
- Hacker News · 1 points · 1 day ago
- Hacker News · 2 points · about 11 hours ago
- Show HN: Draw something once a day with friendsjustdraw.peerdiem.comHacker News · 1 points · 5 days ago
- Hacker News · 1 points · 6 days ago
- AI-native React components that signal how oversubscribed your funding round isperformative-ui.cncl.coHacker News · 3 points · 4 days ago
- TimeLord: Choose Your Random Futuregithub.comHacker News · 1 points · 3 days ago