What I’m doing, learning, reading and coding. Mostly .NET, Kubernetes, SQL Server, Postgres, AI and algorithms. One dated line when it happens, never edited to look current: a missing month was a quiet month.
Log
November2026 · 4
Self-attention in C#, with TorchSharp
Mostly to prove to myself I understand it. Python is still where the tooling lives.
LoRA and fine-tuning
Getting my hands dirty with adapters, instead of only calling someone else’s model over an API.
TypeSafe’s first System One model. Unstructured state in, typed decisions out.
The Lean Startup
Eric Ries. Build, measure, learn, and how much of it survives contact with an enterprise roadmap.
October2026 · 2
LoRA: Low-Rank Adaptation of Large Language Models
Freeze the model, train two skinny matrices. The math fits on a napkin, which is why it caught on.
PgBouncer in front of Postgres on Kubernetes
Transaction pooling, and finding out which code was quietly relying on session state.
September2026 · 5
Topological sort for job dependencies
Kahn’s algorithm in about thirty lines of C#. A batch pipeline is a DAG whether you admit it or not.
User conference at /$DAYJOB/
Demos, slides, and the particular dread of running live software in front of the people who pay for it.
Budget season
ARR, P&L, headcount math. A distributed system with worse observability and a feedback loop measured in quarters.
Working out what the team needs to become
Which skills actually matter in 2027, and which ones I’d be hiring for out of muscle memory.
House of Huawei
Eva Dou. Equal parts corporate history and geopolitics.
August2026 · 2
Chaos day on the staging cluster
Killed nodes, filled disks, broke DNS on purpose. DNS won, as usual.
Designing Data-Intensive Applications, again
Martin Kleppmann. Third read. A different chapter hurts every time.
July2026 · 2
Declarative partitioning
Range partitions by month on a table that should have been partitioned three years ago. Partition pruning shows up right in the plan.
An LRU cache, then an LFU
LRU is a dictionary and a linked list. LFU is where it gets interesting, and where O(1) stops being obvious.
June2026 · 2
Vector search in SQL Server 2025
The VECTOR type and VECTOR_DISTANCE in plain T-SQL. Not pgvector, but the embeddings can live next to the data they describe.
Attention Is All You Need, reread
Reads very differently after a year of building on the thing it describes.
May2026 · 5
Watching the price of the cloud
Cluster spend, while AI workloads scale up unpredictably.
AI document extraction
Deterministic checks first, then a model when the deterministic layer can’t reach a verdict. The hybrid catches more than either side alone.
Production AI agents at /$DAYJOB/
Internal agent infrastructure with real customer data behind it. Compliance edges, eval suites, on-call playbooks.
TypeScript 7 beta
The Go rewrite is real. Compile feels like Go.
LLM eval papers
More of them than I expected to.
April2026 · 2
EF Core vs Dapper, in BenchmarkDotNet
Same queries, both ways. The gap is smaller than the internet says and bigger than the EF team says.
A* in C#
PriorityQueue<TElement, TPriority> has been in the box since .NET 6. A* is twenty lines once you stop writing your own heap.
March2026 · 2
A small MCP server in C#
Read-only access to a database for an agent. The protocol is simple. The permissions are the actual work.
Writing High-Performance .NET Code
Ben Watson. GC generations, allocation budgets, and why the fastest code is the code that never allocates.
February2026 · 2
Gateway API
Routes as real objects instead of a pile of Ingress annotations, with the platform and app teams owning different pieces.
A Bloom filter and a HyperLogLog
Two data structures that trade being exactly right for being tiny. Both fit on one screen of C#.
January2026 · 2
SQL Server Execution Plans
Grant Fritchey. I’ve read plans for fifteen years and still picked up three things in the first hundred pages.
Logical replication
Publications, subscriptions, and what happens to a replication slot nobody is reading. The disk fills up, that’s what happens.
December2025 · 2
BFS, dynamic programming, and one day where the answer was a priority queue I should have reached for an hour earlier.
Build a Large Language Model (From Scratch)
Sebastian Raschka. Tokenizer, attention, training loop. After this the model stops being a black box and becomes a very large matrix multiply.
November2025 · 2
Started moving services to .NET 10
Mostly a package bump. The surprises live in the tests that depended on behavior nobody documented.
.NET 10 and C# 14
LTS, so it’s the one that matters. Extension members are the feature I didn’t know I was waiting for.
October2025 · 2
Rate limiters, by hand
Token bucket, fixed window, sliding window. Then I remembered System.Threading.RateLimiting already ships all three.
KEDA
Scaling queue workers on queue depth instead of CPU. CPU was always the wrong signal for a consumer.
September2025 · 2
PostgreSQL 18
Asynchronous I/O and a built-in uuidv7(). The second one ends a long argument about primary keys.
Kubernetes Patterns
Bilgin Ibryam and Roland Huß. Half of what I write in YAML turns out to have a pattern name I didn’t know.
August2025 · 2
pgvector
Embeddings in the database I already run, with an HNSW index. A separate vector store needs a reason now.
A toy Raft in C#
Three nodes in one process and a fake network that drops packets on purpose. It works until it doesn’t, which is the point.
July2025 · 2
In Search of an Understandable Consensus Algorithm
The Raft paper. Leader election and log replication, written so a human can follow it. etcd makes more sense afterwards.
Database Internals
Alex Petrov. Storage engines in the first half, distributed systems in the second. Both halves made me a better reader of query plans.
June2025 · 2
Query Store on everything
Turned it on for every database that didn’t have it. Plan regressions stop being folklore when you can see the old plan.
A consistent hashing ring
Virtual nodes, a sorted array, a binary search. About eighty lines of C#. Every distributed cache I’ve used is doing this underneath.
May2025 · 2
AI Engineering
Chip Huyen. The best map I’ve found of building on top of models instead of training them. The evaluation chapters alone are worth it.
The SQL Server 2025 preview
Native vector and JSON types in the engine. Vector search is the headline. Optimized locking is the part I actually want.
April2025 · 2
In-place pod resize
Changing CPU and memory on a running pod without a restart. Beta in 1.33, and it changes how I think about right-sizing.
A B-tree in C#
Insert, search, split. Delete can wait. Writing the split by hand explains index fragmentation better than any DMV.
March2025 · 2
Reading EXPLAIN (ANALYZE, BUFFERS)
Coming from SQL Server’s graphical plans, the text output felt like a stack trace. Then it clicked. Buffers tell you more than timings do.
The Algorithm Design Manual
Steven Skiena. The war stories are the best part. Most hard problems are an old problem wearing a hat.