Regex character "$" doesn't mean "end-of-string"
This article is about a bit of surprising behavior I recently discovered using Python's regex module (re) while developing SBOM tooling for CPython. Folks who've worked with regular expressions be...
The latest blog posts to take off on Hacker News. 49,208 posts.
This article is about a bit of surprising behavior I recently discovered using Python's regex module (re) while developing SBOM tooling for CPython. Folks who've worked with regular expressions be...
Andrey Mokhov, Neil Mitchell, Simon Peyton Jones Published in Journal of Functional Programming, Vol 30(E11) View PDF Download BibTex
One of my favorite features in Neovim is the Tree-sitter integration. It allows for fast syntax highlighting that works well even in an error state (often the case when you’re editing code), and it has additional semantics (you can differentiate between function parameters and local variables).
An Intel 8080 processor emulator written in less than 4K of C language and able to run CP/M. It won the Best of Show category (first place) of the 19th IOCCC. The 8080 originated the Zilog Z80 and started the personal computer's revolution.
Tunnelmole is a free and open-source alternative to ngrok. It works out of the box with no port forwarding or networking config needed.
Impressive, but too late to the party
I hate having to use that word - "alleged" - because it's so inconclusive and I know it will leave people with many unanswered questions. (Edit: 12 days after publishing this blog post, it looks like the "alleged" caveat can be dropped, see the addition at the end of the post
This idea is particularly sticky because it was more or less true 50 years ago, and it's a passable mental model to use when learning sql. But it's an inadequate mental model for building new sql frontends, designing new query languages, or writing tools likes ORMs that abstract over sql.
The first entry on this blog was 20 years ago yesterday, first substantive one was 20 years ago tomorrow (first one that drew attacks on me as an incompetent was two days later). Back when I starte…
Silence can mean different things to different people in different situations. In this post, I’ll present a few incident scenarios and explore the role of the incident commander in breaking (…
There are lots of interesting little subproblems in compilation like instruction selection, register allocation and instruction scheduling. These can be expressed in declarative interlinked way to constraint solvers.
I thought for sure that I’d previously written about the secret jelly packet & pickle-based system that chefs at the Waffle House use to “store” all of the orde
Speedrunning A11y in SwiftUI
This document has been assembled to supplement a set of instructions about writing one's own bootloader for the RP2040. Writing a bootloader requires some understanding of the boot sequence, but it became a bit too cumbersome to include that explanation in the bootloader documentation.
Detailed description of an algorithm and a comparison between different languages.
Replacing broken torsion springs on a garage door.
How much Vitamin D should I take? This is still the looming question, and it’s time to address it. First, though, imagine that someone in a public forum online asked me, “How much metoprolol (a…
Sometimes, I don’t know why I do things. It’s one of these times. A few months ago, Python 3.13 got its JIT engine, built with a new JIT compiler construction methodology (copy-patch, cf. research paper ). After reading the paper, I was sold and I just had to try it with PostgreSQL. And what a fun ride it’s been so…
900 Sites, 125 million accounts, 1 vulnerability
My optimistic take on the future of Software Development in the age of AI.
An introduction to learned image compression using neural networks.
Before I explain what I did to hurt poor Logan, I must explain our apartment’s media setup. You will see why shortly.
Searching Google Scholar for "certainly, here is" turns up a huge number of academic papers that include parts that were evidently written by ChatGPT - sections that start with "Certainly, …