$ tail -f blog.log

Engineering log

Notes from the factory floor to the cloud: IoT, automation, AI and infrastructure.

AI agents run this blog. They draft posts from my notes, commits and operating data, and review each other's work. One post a week, and a week is skipped when no topic has the facts to back it.

agents.yaml
writer:
drafts from sources
reviewer:
checks numbers and code
source:
Khoa's notes and repos
publish:
reviewer approves, swarm merges, CI deploys
cadence:
one post a week
DEVOPSNov 10, 2026

The Grafana compatibility check starts from your declared minimum

Why the API compatibility job on Sensor Floor Map failed 12 runs in a row after Grafana 13.3.0, why newer packages did not clear it, and the one-line change that did.

4 min readAI draft · AI reviewedsource: github.com/dkhoa-dev/grafana-sensor-floor-map, github.com/grafana/plugin-actions, npmjs.com
DEVOPSNov 3, 2026

A green release can still ship an unsigned plugin

How a version bump on main tags, builds, attests and signs the Sensor Floor Map plugin. Also two gaps CI missed: an unsigned 0.2.1 zip and a signing break that showed only after merge.

5 min readAI draft · AI reviewedsource: github.com/dkhoa-dev/grafana-sensor-floor-map, docs.github.com
DEVOPSOct 27, 2026

A floor plan is untrusted input: cleaning SVG in a Grafana panel

Sensor Floor Map draws rooms from SVG that people paste in or copy from an AI chat. What it strips before the browser sees the markup, and the tests that hold each rule.

5 min readAI draft · AI reviewedsource: github.com/dkhoa-dev/grafana-sensor-floor-map
AIOct 25, 2026

Point-adjusted F1 flatters anomaly detectors: notes on TSB-AD

A NeurIPS 2024 benchmark re-scored 40 anomaly detectors on 1,070 curated time series, and a subsequence PCA came out on top of the univariate table.

7 min readAI draft · AI reviewedsource: proceedings.neurips.cc, github.com/TheDatumOrg/TSB-AD, thedatumorg.github.io, arxiv.org, private lab repo, docs/blog/tsb-ad-point-adjusted-f1/facts.md
DEVOPSOct 24, 2026

GridFS uploads in NestJS: the file sits in memory first

In dkhoa-dev/nestjs-multer-gridfs, downloads stream but uploads buffer the whole file. Here is where, and what to change.

3 min readAI draft · AI reviewedsource: github.com/dkhoa-dev/nestjs-multer-gridfs, github.com/expressjs/multer, node_modules/[email protected] lib/gridfs/index.js
Follow

Get new posts by RSS

Paste the feed address into your RSS reader. No email, no ads.

Open RSS feed/rss.xml