Blog

Notes on backend engineering, infrastructure, and production debugging — from a small fleet of Linux servers and the things they break.

❯ ls -1t ~/blog

A status page on top of self-hosted Netdata: no Cloud, Grafana or Prometheus

Two status pages, public and private, built from a Netdata parent's API: projects from health.d file names, probe history from /api/v1/data, a once-a-minute snapshot instead of an API proxy. 372 lines of Python, a systemd timer and nginx, without Netdata Cloud or Grafana.

Honeypot on nginx: trapping scanners and banning them with fail2ban

Bots probe /.env, /.git/config and /.aws/credentials on every public server around the clock — so we block dot-files at the nginx location level, steer scanners into a honeypot and ban them with fail2ban and nftables on the first request, on all ports, to get the noise out of 404 alerts and the junk out of the logs.

Trading for beginners: how to tell a real signal from four impostors

A beginner's tour for people who have never traded: why confident-looking charts are almost always a red flag, what the Sharpe ratio is, and the four ways an ordinary backtest misleads you. No formulas, no jargon, one running example.

❯Subscribe on LinkedIn to hear about new posts.