Top posts

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

Web & Frontend
Any year
2464

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?

2466

Deploying ES2015+ Code in Production Today

Most web developers I talk to these days love writing JavaScript with all the newest language features—async/await, classes, arrow functions, etc. However, despite the fact that all modern browsers can run ES2015+ code and natively support the features I just mentioned, most developers still transpile their code to…

2485

Fake It 'Til You Fake It

Since Google’s introduction of its Pixel 8 phones earlier this month, it has been interesting and a little amusing to me to read the reactions to its image manipulation tools. It feels like we have been asking the same questions every year — questions like what is a photograph, anyway?, and has technology gone too […]