Let's write a macro in Rust
Macros are required to do some very helpful things in Rust, but this isn't an article about any of those things.
New prompt injection papers: Agents rule of two and the attacker moves second
Two interesting new papers regarding LLM security and prompt injection came to my attention this weekend. Agents Rule of Two: A Practical Approach to AI Agent Security The first is …
ZX Spectrum graphics magic
Hey friends! (Or just curious readers peeking under the hood of good old retro games).
Implicit ODE solvers are not universally more robust than explicit ODE solvers
A very common adage in ODE solvers is that if you run into trouble with an explicit method, usually some explicit Runge-Kutta method like RK4, then you should try an implicit method. Implicit methods, because they are doing more work, solving an implicit system via a Newton method having “better” stability, should be…
Why Rust nextest is process-per-test
Why nextest runs each test in its own process: a game-theoretic view.
Who invented deep residual learning?
Who invented residual neural networks?
How I Choose What to Work On (2023)
A reader, "Moo", asked me to write about my process for entrepreneurship and how I choose what to write on. Despite being a lifelong entrepreneur and being relatively successful at...
Database Protocols Are Underwhelming
If you’ve been in this trade for a while, you have probably seen dozens of debates on the merits and problems of SQL as a relational database query language. As an ORM maintainer, I have a few gripes with SQL, but overall it is workable, and anyway, it has so much inertia that there’s no point fantasizing about a…
Writing our own cheat engine (2021)
First entry on completing Cheat Engine's tutorial without Cheat Engine
Reverse engineering Claude Code
I’ve been curious about what happens inside Claude Code so I’ve spent a couple hours digging through prompts that it sends back to Anthropic.
Copy Excel to Markdown Table (and vice versa)
Easily create Markdown tables by copying data from Excel or Google Sheets and pasting it into the text box below using Ctrl+V. Alternatively, as a new feature, paste a Markdown table to convert it to Excel/Google Sheets format. The result is automatically copied to your clipboard and ready to use. Error: This tool…
The Tabs vs. Spaces war is over, and spaces have emerged victorious
The great indentation war is over and it seems like we have a clear winner.
Why I Disappeared – My week with minimal internet in a remote island chain
My week with minimal internet in a remote island chain
Model intelligence is no longer the constraint for automation
Why automation lags even as models get better
Dead Framework Theory
These are my opinions and are ruminations on what might be happening as more and more developers use LLMs and Frameworks to build on the web. In October last year I wrote “will developers care …
Experiment: Making TypeScript immutable-by-default
I got it working with arrays and records, but couldn't make it work for regular objects.
The first big AI disaster is yet to happen
The first public passenger locomotive, Locomotion No. 1, began service in September 1825. The first mass-casualty railway disaster happened seventeen years…
Zig's dot star syntax (value.*)
Karl Seguin's Blog - A mix of coding and creative writing
Result is all I need
Rocky Jaiswal. Christian developer living in Berlin. Blogs about programming & technology.
Path Isn't Real on Linux
where my words occasionally escape /dev/null
Serving a half billion requests per day with Rust and CGI
In my previous post Serving 200 million requests per day with a cgi-bin, I did some quick performance testing of CGI using a program written in Go. Go works excellently for CGI programs, for many of the same reasons it works so well for CLI programs and system daemons. But, out of curiosity, I decided to do a bit more…
Terminal Latency on Windows (2024)
UPDATE 2024-04-15: Windows Terminal 1.19 contains a fix that reduces latency by half! It’s now competitive with WSLtty on my machine. Details in the GitHub Issue.
Malleable Software
In the AI era, the winners won’t be the tools you adapt to — they’ll be the tools that adapt to you.
De-Clouding: Music
I’m going through a phase of figuring out what I can get out of the cloud and “own”. Particularly with regard to streaming services. I’ve never paid for Spotify. But I’ve had iTunes Match so that I can take all of the weird, not-on-streaming music that I have (I wrote about this back in 2013!!!!), […]
Airbus A320 Fly by wire corrupted by radiation in flight
Aviation insiders say an airworthiness directive may soon require software updates across the Airbus A320 fleet after investigators linked a JetBlue incident—where the aircraft entered a sudden uncommanded descent—to a faulty ELAC computer. Any grounding is expected to be short and staggered, with airlines updating…
Open source projects could sell SBOM fragments
Musings on SBOMs and licensing woes.
How OpenElections uses LLMs
In the 12-plus years that we’ve been turning official precinct election results into data at OpenElections , the single biggest problem has been converting pictures of results into CSV files. Many of the precinct results files we get are image PDFs, and for those there are essentially two options: data entry or…