Best of 2022

The blog posts Hacker News loved most in 2022. 6,153 posts.

Any topic
2712

A Poor Man's API

Creating a full-fledged API requires resources, both time and money. You need to think about the model, the design, the REST principles, etc., without writing a single line of code. Most of the time, you don’t know whether it’s worth it: you’d like to offer a Minimum Viable Product and iterate from there. I want to…

2720

Geometry from Another Universe

You start on an enclosed lawn, surrounded by four walls with a doorway in one of them. If you go in and explore, you might begin to feel trapped. You'll find you can visit five different rooms in the house, or go back outside to the lawn, but there's no way to go anywhere else. It's not because there are walls…

2723

Sleep helps process emotions

Researchers at the Department of Neurology of the University of Bern and University Hospital Bern identified how the brain triages emotions during dream sleep to consolidate the storage of positive emotions while dampening the consolidation of negative ones. The work expands the importance of sleep in mental health…

2729

Who's Attacking My Server?

One of the unexpected 1 outcomes of the Russian invasion in Ukraine is a large increase in nefarious access attempts to servers under my control, not necessarily appearing to arise from Russian IP addresses. There are the usual attempts at brute-forcing SSH access, for instance, but also a flurry of malevolent HTTP(S)…