Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,250 posts.

Any topic
Any year
25116

Reflected Diffusion Models

Diffusion models are trained to reverse a stochastic process through score matching. However, a lot of diffusion models rely on a small but critical implementation detail called thresholding. Thresholding projects the sampling process to the data support after each discretized diffusion step, stabilizing generation at…

25136

Body Margin 8px

All browsers add an 8px margin on the body element – it’s part of the w3c-recommended default stylesheet which browsers generally use as a starting point for their own ‘user agent’ styles. But why 8px ? Where does that come from?

25137

Separate Your Billing from Entitlements

Building your own entitlement service is key for supporting a modern, flexible SaaS product. Whenever I read about billing systems, there’s a lot of talk about the billing aspects but not so much around entitlements. In the spirit of sharing, and since I haven’t found any good articles about it, I decided to tell you…

25138

Life is Beautiful

I haven’t slept. For much of last night, my daughter Ava cried out in her sleep with nightmares. Eventually her cries would wake us both. Instead of going back to sleep, Ava would chat with me about her day. I wish I could remember all the amazing things she told me at 2:00 AM.