New

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

Any topic
2025
3844

Stepping Back

The other day I was playing around with Claude Code, experimenting with porting some C code to Rust - not for any particular reason, just because I was curious how well it could do. As these things happen, I got more and more invested in the process, instead of just letting Claude do something and noting what…

3851

Consider Knitting

Let’s say that, like me, you are a person who stares at a computer and writes code for a living. As a straight male who grew up in a time where knitting was very strongly female coded, it for the most part never occurred to me that knitting was a thing I could do and might enjoy. Regardless of your demographic…

3857

How to Store Data on Paper?

How to print my voice? How to put music on paper? How to print an executable program? All this boils down to storing digital data on paper. This is also called paper data storage . Arrived in this domain from poetry, I’ve been investigating the area for some time. Here is what I found.

3858

Beware of Fast-Math

One of my more frequent rants, both online and in person, is the danger posed by the "fast-math" compiler flag. While these rants may elicit resigned acknowledgment from those who already understand the dangers involved, they do little to help those who don't. So given the remarkable paucity of writing on the topic…

3865

Simpler Backoff

Exponential backoff with jitter is de rigeur for making service calls. This code, or something like it, probably looks really familiar: func do(ctx context.Context) error { const ( maxAttempts = 10 baseDelay = 1 * time.Second maxDelay = 60 * time.Second ) delay := baseDelay for attempt := range maxAttempts { err :=…