Best of 2024

The blog posts Hacker News loved most in 2024. 3,433 posts.

Any topic
404

How to center a div in CSS

Back in the day, centering an element was one of the trickiest things in CSS. As the language has evolved, we’ve been given lots of new tools we can use… But how do we pick the best option? When do we use Flexbox, or CSS Grid, or something else? Let's dig into it.

413

Care Doesn't Scale

I met a social worker whose job was to look after four orphaned children. She’d alternate with her coworkers spending 24 hours at a time living with the kids, effectively acting as their parent. The children, unsurprisingly, had a lot of trauma and so her job was certainly not an easy one, but she found it deeply…