Writing

Technical notes, experiments and postmortems. Measurements state their method, dataset and date.

Writing

  • Tagging threat reports with ATT&CK offline: language model or classifier?

    On 1,160 sentences about Russian and Chinese state hacking groups, a model on one GPU put the right ATT&CK technique in its top five 92.7% of the time. A plain classifier came within two points, more than a thousand times faster. Start with the classifier.

  • Could public ship tracking catch an anchor drag over a Baltic cable?

    A week of public AIS data and 700 synthetic anchor drags in the western Baltic. A simple rule caught 88% of longer drags, at about nine false alarms a day. Cables run under busy lanes, so the watch works only with a person clearing the alerts.

  • GPS jamming over Lithuania: what public aircraft data shows

    Three days of public aircraft broadcasts over the Baltic. A quarter of the flight time over Lithuania had degraded GPS, against 1.3% over Ireland. Jamming can be mapped from a desktop computer; careful spoofing cannot be seen from the same data.

  • Your AI agent should not decide when it is done

    A local coding agent with access to tests still reported broken code as fixed in 8 of 40 tasks. One harness rule, finished means tests pass, brought that to zero.

  • How to evaluate a RAG system without fooling yourself

    A small, honest evaluation set beats a large, vague one. How to build one, which numbers to track, and the mistakes that make RAG systems look better than they are.

  • Hybrid search and reranking, measured

    The standard advice for RAG retrieval is BM25 plus embeddings plus a reranker. On three public benchmarks, a single good embedding model was hard to beat, and the reranker's value depended on the domain.

  • What a 12 GB GPU can run for private document AI

    Seven open-weight model setups on one consumer graphics card. All were fast enough. The real differences were memory, and how often each model answered a question it should have refused.

  • The cheapest way to trust AI document extraction

    A vision-language model read 200 public receipts. Simple arithmetic checks decided which results could skip human review, and every receipt they let through had the right total.

  • When not to use an LLM

    A practical test for deciding whether a step in your system should be a language model, ordinary code, a search index, or a person.

  • Why RAG retrieval fails

    Most bad RAG answers are retrieval failures in disguise. A field guide to the common failure modes, how to recognise each one, and what usually fixes it.