New
The latest blog posts to take off on Hacker News. 14,535 posts.
Why I forked httpx
I forked the python library httpx to httpxyz after over a year without a release of this popular package
Go Naming Conventions: A Practical Guide
My new book guides you through the start-to-finish build of a real world web application in Go — covering topics like how to structure your code, manage dependencies, create dynamic database-driven pages, and how to authenticate and authorize users securely .
Detecting file changes on macOS with kqueue
A while ago I wrote a small file watcher in Go for my own use with an accompanying blog post . I needed a tool that I could just plop in front of the command I was running as part of my iteration loop. I use it for recompiling C files when I modify them,
Improved Git Diffs with Delta, Fzf and a Little Shell Scripting
Spotting differences in code is an important part of what we do, Delta is by far the best CLI diff tool I ever used.
Missile defense is NP-complete
Exploring the Weapon-Target Assignment problem: how missile defense connects to NP-completeness, SSPK probability calculations, and how saturation attacks exploit computational limits.
Optimizing a lock-free ring buffer
A single-producer single-consumer (SPSC) queue is a great example of how far constraints can take a design. In this post, you will learn how to implement a ring …
LLM Neuroanatomy II: Modern LLM Hacking and Hints of a Universal Language?
In Part 1, I described how duplicating a block of seven middle layers in Qwen2-72B — no weight changes, no training — produced the #1 model on the HuggingFace Open LLM Leaderboard. The method, which I called RYS (Repeat Your Self), was discovered using nothing but hard math probes and EQ-Bench on a pair of RTX 4090s.
curl > /dev/sda: How I made a Linux distro that runs wget | dd
How I made a Linux distro that runs `wget | dd`
From zero to a RAG system: successes and failures
A few months ago I was tasked with creating an internal tool for the company's engineers: a Chat that used a local LLM. Nothing extraordinary so far…
Gzip decompression in 250 lines of Rust
i wanted to have a deeper grasp of how compression works, so i wrote a gzip decompressor from scratch. the result is about 250 lines of rust that can decompress gzip from a file or stdin.
Whistler: Live eBPF Programming from the Common Lisp REPL
Writing, compiling, loading, and querying eBPF programs in one Lisp form.
How I'm Productive with Claude Code
It’s been about 6 weeks since I joined Tano, and this is what my commit history looks like:
Everything old is new again: memory optimization
At this point in history, AI sociopaths have purchased all the world's RAM in order to run their copyright infringement factories at full bl...
An incoherent Rust
Coherence and the orphan rules are a frequent source of complaints about Rust, and a common topic of language proposals. This post covers most of the existing proposals around coherence and my vision for how we should solve coherence once and for all.
If DSPy is so great, why isn't anyone using it?
Any sufficiently complicated AI system contains an ad hoc, informally-specified, bug-ridden implementation of half of DSPy.
I built an AI receptionist for a mechanic shop
Learn how I built an ai receptionist for my brother's mechanic shop
Teaching Claude to QA a mobile app
“When life looks like Easy Street, there is danger at your door”— Grateful Dead, “Uncle John’s Band”
Why I love NixOS
Why I love NixOS is really about the Nix package manager, reproducibility, and sane system management in the LLM coding era.
Two studies in compiler optimisations
A deep dive into the intricacies of the LLVM optimisation pipeline.
The future of version control
A Coherent Vision for the Future of Version Control
I hate: Programming Wayland applications
If you want to program a graphical application for linux, your primary choices are using either X11 or Wayland. According to Wikipedia, X11 had its first release in 1984. X11 follows a client-server-model. I assume it's because the whole computational environment, was very different back then. If you have a central…
Building an FPGA 3dfx Voodoo with Modern RTL Tools
This frame of Screamer 2 was rendered not by an original 3dfx card and not by an emulator, but by an FPGA reimplementation of the Voodoo 1 that I wrote in SpinalHDL. Available on GitHub .
A case against currying
Curried functions are probably one of the first new things you come across if you go from an imperative language to a functional language. In purely functional languages, the convention is to define an n-parameter function inductively by staggering the parameters: applying the function to argument #1 returns a…
Reports of code's death are greatly exaggerated
There is a profound tension here: english specifications intuitively feel precise until you learn better from bitter experience. (It's all in that facial expression of the last frame.)
Windows native app development is a mess
I tried to build a Windows native app using Microsoft's latest technologies. Now I understand why everyone builds Electron apps.
The three pillars of JavaScript bloat
A brief look at the three main causes of bloat in our JavaScript dependency trees, and how we can start to address them.
Looking at Unity made me understand the point of C++ coroutines
I had seen many talks about coroutines but it never really clicked where I could use them outisde of async IO. Until I looked at how Unity uses them in C#.
Common Lisp Development Tooling
A beginner's exploration of the many layers of Common Lisp development environments.