Secrets and Certs - Rotation Is a Drill, Not a Ticket

The staging environment died on a Saturday morning, and for twenty minutes everyone was sure it was a bad deploy. It was not a bad deploy. Friday evening someone had pushed a perfectly good build, and Saturday morning every call to one Spring Boot service started failing TLS handshakes. The certificate on the ingress had expired at midnight, quietly, while we were all asleep.

I have seen the long-lived database password version of the same movie too. A credential that has not changed in two years, pasted into three config files and one wiki page, and rotating it feels like defusing something because nobody knows what will break. Both outages taught me the same lesson: rotation is not a ticket you handle when it fires. It is a drill you practice until it is boring.

Our staging cluster back then ran cert-manager, so in theory this could not happen. In practice, theory had a gap. The Certificate resource for that ingress pointed at an issuer that someone had renamed during a cleanup, and the renewal failures had been sitting in kubectl describe certificate for weeks where nobody looked. cert-manager retries with backoff and re-issues when the expiry approaches or when the SANs or issuer drift, but it cannot fix a reference that no longer resolves. The cert sat there, valid until it was not.

Read More

Faster Feelings, Slower Merges - What Our AI Numbers Actually Showed

A few weeks ago, someone two levels above me asked a simple question: how much faster is the team with AI coding tools? I opened my mouth, and what came out was a feeling dressed up as a number. Everyone feels faster. I feel faster. The cursor barely rests before the next suggestion lands, and on a good day with a Spring Boot service I have written before, the boilerplate practically types itself.

Then I looked at our actual delivery numbers for the quarter, and the feeling did not survive contact with them. Throughput was flat. Review times were up. That gap between what my fingers tell me and what the merge log says has been living in my head ever since.

I had been halfway through building a deck around our Copilot rollout when I read the METR experiment from last year, and it quietly deleted my favourite slide. METR, a non-profit that evaluates AI systems, ran a randomized trial in early 2025: sixteen experienced open-source developers working in huge repositories they knew intimately, 246 real tasks, each one randomly assigned to allow or forbid AI help, mostly Cursor with Claude 3.5 and 3.7 Sonnet. Beforehand the developers predicted AI would make them 24% faster. Afterwards they still believed it had made them about 20% faster.

Read More

Mixture of Experts - My Old Laptop Runs Bigger Models Than It Should

I have written about running LLMs on this laptop twice before. In late 2023 I got Mistral 7B humming away in llama.cpp and called it a glimpse of the future. Early last year the DeepSeek-R1 distills made reasoning models light enough for my hardware. Both times the punchline was the same though: local models were promising but compromised. You traded down to a smaller dense model, and you felt it in every single response.

This spring something changed, and it is not that my aging IdeaPad got faster. It did not. The models got sparser instead of smaller, and that turns out to be exactly the trade my hardware needed.

Most models I used to run locally were dense: one generalist who has read every book in the library, and every question engages their entire brain. Ask them for a haiku and the same full brain lights up as when you ask for a distributed systems design.

Read More

Local Models - My Laptop Is Running Production Now

One Saturday morning I opened Task Manager before I opened my mail. There it was: a model server holding nine-odd gigabytes of RAM, alive since Friday night, with a couple of things on the machine quietly pointing HTTP requests at it. A summarisation job had run overnight against my local model, on schedule, nobody watching. Somewhere in the past year or so, without any ceremony, my laptop stopped being a machine that occasionally plays with AI and became a small server that other software depends on.

I did not plan this. When I first ran models locally back in late 2023, it was a toy: Mistral 7B in a terminal, mostly to see whether it could hold a conversation at all. Fun toy. But a toy.

What changed is not really the models, it is where they sit. For the first year, running a local model meant opening a chat window, typing into it, marvelling, closing it. Then everything started speaking the same dialect: OpenAI-compatible HTTP endpoints. Editor extensions, note-taking tools, little Python scripts, agent harnesses, all of them just want a base URL and something shaped like an API key, and none of them care whether the answer comes from a hyperscale datacenter or from the i3 wheezing beside my knees.

Read More

Object Storage - Storing Is Cheap, Getting It Out Is the Bill

Somewhere in our account there is an S3 bucket that nobody owns and everybody uses. Our Spring Boot services dump daily statements, audit exports, and application logs into it, versioning switched on years ago by someone careful, lifecycle rules configured by nobody. Last quarter I opened Storage Lens out of curiosity and just stared. One prefix held three years of files nobody had opened since the week they were written, all sitting in Standard storage, all billed every single month.

Storing data feels free because the per-GB number is tiny. Keeping it there forever, and then moving it around carelessly, is where the real money goes.

This is how it happens in every team I have seen. The application needs a place to put exports, so someone creates a bucket. Versioning gets turned on because an overwrite scare during a release taught everyone a lesson. Then time passes. Each deploy writes more objects. Old versions pile up silently because nobody wrote a rule to expire noncurrent versions. A few large uploads fail halfway through the night and leave multipart parts behind, which S3 bills you for until you explicitly abort them.

Read More

Model Risk Board - Getting My LLM App Past the People Paid to Say No

A few weeks ago I demoed a small internal assistant to my team — a chat box over our runbooks and incident notes, Spring Boot service in front, retrieval over docs we already own, pinned model version behind it. People liked it. Then one senior asked the question that ended the celebration early: “Is it registered?” He did not mean the demo URL. He meant the model inventory.

So I spent the next two weeks doing something I had never done for any CRUD service: filing my LLM app with the model-risk board. Forms, diagrams, eval sheets, a meeting where serious people asked unserious-sounding questions like “what stops it from making things up about a production database?” I walked in annoyed at the paperwork. I walked out thinking every team building LLM apps in a bank should do this on purpose.

Registering a model is like applying for a visa. The form looks bureaucratic until you realise it is forcing you to answer questions you should have answered anyway: where are you going, exactly what will you do there, what will you do if things go wrong, and how will anyone find you afterwards. The board does not care how clever your retrieval pipeline is. They care whether someone can reconstruct what happened six months from now.

Read More