Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Provides interestingly titled code example "random(random(...."

> Accidentally(?) shows nonuniform-looking distribution of points from uniform random() due to polar coordinate conversions

> Shows effects of nesting random calls in a way reminiscent of security papers showing design flaws, but it's not really showing that

> Refuses to elaborate further

The more I think about this, the better it is. The imperfection is what makes this little bit of code so interesting to us nerds, while even trolling some people, but we have no idea what the intent was. It's great.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: