Blog
Software engineering, AI systems and technical paper reviews.

Axum "Handler<_, _> Is Not Satisfied": Eight Causes, Eight Repros
The trait bound fn(...): Handler<_, _> is not satisfied looks the same whatever you broke. I reproduced eight causes on axum 0.8.9, ran each one with and without #[axum::debug_handler], and wrote down the line that names the cause and the fix.
11 min read

Ollama from C# in 2026: IChatClient with OllamaSharp, Without the Deprecated Package
Which NuGet packages to install to call a local Ollama model from .NET 10, how to register IChatClient in a minimal API, stream tokens over SSE and get typed JSON back. Measured on two small models, plus what the deprecated package still does.
11 min read

Ollama "truncating input prompt": the RAG that silently ignored half its context
A RAG prompt longer than Ollama's context window gets cut from the front, the API still answers 200, and the only trace is one WARN line in the server log. A measured repro on Ollama 0.40.18 and 0.12.10, the three fixes, why /v1 ignores num_ctx, and the flag that makes it fail loudly.
12 min read

GLIBC_2.38 Not Found: a Rust Binary in debian-slim and Distroless
My Axum binary built on rust:1 ran fine on bookworm-slim. Then I added vendored OpenSSL and it died before main with version GLIBC_2.38 not found. How to read the error, the objdump line that explains it, and three fixes I built and measured.
11 min read

sqlx Offline Mode: Building in Docker and CI With No Database in Sight
sqlx's query! macros check every query against a live Postgres at compile time, so a plain docker build fails. How I build with SQLX_OFFLINE and a committed .sqlx folder, the .env that quietly turned it off, and the schema change that compiled fine and panicked at runtime.
12 min read

What It Actually Costs to Run a RAG Pipeline: a Mac, Cloud CPUs and an H100
A case study on a RAG ingest over 18,000 drug leaflets, measured on an M4 Mac, two cloud CPU VMs and an H100 provisioned with Terraform on Chameleon Cloud. Where each phase should run, what it costs across four providers, and where my sample lied.
14 min read
6 of 36 posts