Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,823 posts.
API design note: Beware of adding an "Other" enum value
What are you going to do when you add a new kind?
Letters between Backus and Dijkstra (1979)
Letters between John W Backus and Edsger W Dijkstra, 1979
1.5 is the midpoint between 0 and infinity in Ruby
What's the midpoint between 0 and infinity in Ruby? It's 1.5 for some reason. What's the reason you might ask? Read on to find out.
A Man from the Future: Why Johnny Can't Stop Abstracting
I have come to suspect that to most people thinking is painful. Some of us are addicted to thinking. Some of us find it a necessity. Johnny ...
A Taste of JavaScript's New Parallel Primitives
Author's note: Since this post was written, the API of postMessage has changed slightly. When sending a SharedArrayBuffer with postMessage, the buffer should no longer be in the transfer list ...
Let's write a setjmp
Yesterday I wrote that setjmp is handy and that it would be nice to have without linking the C standard library. It’s conceptually simple, after all. Today let’s explore some differently-portable implementation possibilities with distinct trade-offs. At the very least it should illuminate why setjmp sometimes requires…
Julia 1.7 Highlights
Some highlights of the Julia 1.7 release.
Understanding Memory Management, Part 1: C
UPDATED: 2025-02-15: Fixed some bugs in the examples and pointed out that you don't usually just want to panic on memory allocation failure.
Sublime Text 2: Beta
Since the first public Alpha at the end of January, there have been 12 new releases, and many more dev builds. On average, that's a new version every two weeks for the past five months. During this time, Sublime Text 2 has made great strides in functionality, and a correspondingly large increase in users. Sublime Text…
Rust and WebAssembly in 2019
Compiling Rust to WebAssembly should be the best choice for fast, reliable codefor the Web. Additionally, the same way that Rust integrates with C callingcon...
The lifecycle of a code AI completion
Demystifying code AI: Learn how Cody analyzes context, retrieves references, prompts models, and refines completions behind the scenes.
Hands-on WebAssembly
Learn the basics of WebAssembly through code examples and try different ways to compile C and Rust programs for the browser with the help of Docker image from Evil Martians.
My first impressions of Gleam
What I’ve learned in my first few hours using Gleam for a small project.
How many lines of code is Candy Japan?
Guess how many lines of code you end up with when writing a subscription box site from scratch.
Software engineering is a learning process, working code is a side effect
I have come to the conclusion that Software Engineering is primarily a learning endeavour, the working code is rather a side effect. This quote is actually not mine but I am paraphrasing Alberto Brandolini who is making this very point in Event Storming (he was actually talking about Software Development, but I do not…
Bootstrapping a multiplayer server with Elixir
A case study of how Elixir is being used at X-Plane.
Toit v2.0.0
Celebrating Toit v2.0.0 after more than four years of alpha development.
Donut math - How donut.c works
There has been a sudden resurgence of interest in my "donut" code from 2006 , and I've had a couple requests to explain this one. It's been five years now, so it's not exactly fresh in my memory, so I will reconstruct it from scratch, in great detail, and hopefully get approximately the same result.
Ruby 3, Concurrency and the Ecosystem
I'm a technologist with a focus in ecommerce, GenAI, and developer productivity. I enjoy building reliable and fast software, and helping others to do the same.
Debugging a rustc segfault on Illumos
Using `mdb` and `pmap` to find the cause of a crash.
Code Like a Pythonista: Idiomatic Python
The home of pythonistas
Hot-code reloading on macOS/arm64 with Zig
Jakub Konka's weblog about programming, game theory, maths, and more.
Why the original transformer figure is wrong, and some other tidbits about LLMs
A few months ago, I shared the article, Understanding Large Language Models: A Cross-Section of the Most Relevant Literature To Get Up to Speed, and the positive feedback was very motivating!