New

The latest blog posts to take off on Hacker News. 6,153 posts.

Any topic
2022
543

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…

546

The Buy and Hold Mindset

When markets are in turmoil, like they have been for most of this year, I like to have a buy-and-hold mindset when it comes to making new investments. It is hard to know when you’ve reached the bottom and can start buying again, but if you think about a ten or twenty-year hold, then it […]

548

Protect me from what I want

Over on Mastodon, there are many people who enjoy not being in the grip of software like Facebook or Twitter that single-mindedly tries to maximize “engagement”, which means the amount of time you stare at the screen so they can show you ads. These algorithms don’t care what they’re showing you and if it turns out…

549

How thick is a three-sided coin?

Matt Parker, employing the enviably pithy prose typical of a content creator forged on the unforgiving fires of social media, asked the simple question back in 2018: > How thick is a three-sided coin? Translated into mathematician-ese, this means > What aspect ratio of a flipped coin leads to the chance of landing on…

556

SwiftUI Is Convenient, but Slow

I've been sitting on publishing these notes for a while, because I don't want to diminish the work of the talented people that engineered SwiftUI and plowed through years of AppKit and UIKit code to get to this state. But I'd like to draw attention to some performance limitations, in the hope that a SwiftUI engineer…