Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,834 posts.
Refactoring Python with Tree-sitter and Jedi
I was toying around with a refactor the other day that would have taken me ages by hand as it involved 100s of files. I wanted to rename every instance of...
The Background Noise Was Louder than I Realized
It's not about technology for its own sake. It's about being able to implement your ideas.
Demystifying Floating Point Precision
Floating point numbers have limited precision. If you are a game programmer, you have likely encountered bugs where things start breaking after too much time has elapsed, or after something has mov…
Add a const here, delete a const there
Update, February 2019: Two years later the VC++ bug I reported here still exists, even in VS 2019 preview. However Chromium no longer builds with VC++ so I’m reverting the changes where I del…
Working with Git Worktrees in Magit
I’ll admit that until fairly recently I had no idea git worktrees existed. They’ve been part of git for a decade1 and I never once needed them. Feature branches did the job just fine - create a branch, do the work, merge it, delete it, and start over. What finally introduced me to worktrees was, of all things, AI…
Understanding C by learning assembly
The Recurse Center is a self-directed, community-driven educational retreat for programmers in New York City.
"I think that djb redo will turn out to be the Git of build systems."
I think that djb redo will turn out to be the Git of build systems. What do I mean by that? Well, think about version control systems before the cryptographic-DAG systems, and especially Git, came along. Everyone (everyone you'd want to work with, at least) agreed that a version control system was…
Corrupt App Store binaries crashing on launch
Update, July 6: This is now resolved . Go to the App Store and redownload any affected apps — they should show up in the Updates tab. Do not delete and reinstall: it’s no longer necessary and you may lose data in those apps.
Taking the Raspberry Pi 2 for a Test Drive with GNU Radio
Installing GNU Radio and receiving aircraft radar with a USB TV tuner.
Gtk-rs: The huge and long awaited release is finally here
Rust bindings for GTK and GLib-based libraries
Random Solutions are Often Good Enough
Sometimes taking the easy way out isn’t nearly as bad as it might seem! posted Thursday February 13th, 2014 Tagged: Math
The quadratic formula and low-precision arithmetic
The familiar quadratic formula can give the wrong answer in a program due to numerical precision issues. This post shows what can go wrong and how to fix it. Especially important in low-precision arithmetic.
How Command Line Parameters Are Parsed (2016)
It's difficult to get the Windows Console to display Unicode characters, so here's a C++ WinForms program that will display the arguments in a TextBox.
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.
Backbone vs Ember
Ember and Backbone are both promising JavaScript frameworks but have completely different philosophies. In this post, I'll compare the two, both from a practical and philosophical perspective. I'll defer to real world experience with Backbone and SproutCore (Ember's predecessor), as well as basic experiments with…
CJIT: C, Just in Time
Run, compile, and link C programs instantly with CJIT.
The Design and Use of QuickCheck
QuickCheck is the grandfather of property-based testing libraries. Despite being imitated in over thirty languages, the original implementation remains pre-eminent due to the type system and consistent logic of the Haskell language in which it is written.
Debugging with Elm 0.18
A delightful language with friendly error messages, great performance, small assets, and no runtime exceptions.
Origins and History of Unix, 1969-1995 (2003)
A notorious ‘second-system effect‘ often afflicts the successors of small experimental prototypes. The urge to add everything that was left out the first time around all too frequently leads to huge and overcomplicated design. Less well known, because less common, is the ‘third-system effect’; sometimes, after the…
Smart Pointers in (GNU) C
I am a big fan of C, but some part of me always yearn to have just enough higher level constructs.