ParentFull threadanewhnaccount2·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.View on HN