Hacker News new | ask | show | jobs
by anewhnaccount2 339 days ago
I wouldn't describe it as a hack necessarily. This is called rejection sampling, and it's just fine as long as the rejection rate is low enough.