Read-Only SQL Analyst Agent for Postgres
Give an agent a SELECT-only Postgres role and a table allowlist so it can explain slow queries and row counts without ever writing to production.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
599 articles · 24 topics
Give an agent a SELECT-only Postgres role and a table allowlist so it can explain slow queries and row counts without ever writing to production.
Evaluate prompts, retrieval, and routing on a VPS before you collect a fine-tune set, because most quality gaps are instructions and data, not weights.
Learn how systemd units define services, how to control them, and how journalctl gives you structured service logs.
Leap for point-release calm, Tumbleweed for rolling freshness on the same project. Compare patches, snapshots, and testing before you host anything.
Run containers without root and manage them with systemd Quadlets — a rootless-first workflow that fits systemd-based VPS hosts cleanly.
Manage Terraform state safely: keep it in a remote backend with locking, never hand-edit it, and use state commands for real renames.
Use sqlite3 .schema, EXPLAIN QUERY PLAN, and ANALYZE on the live file to see what SQLite stores, how it will read it, and which indexes it trusts.
Issue a Let's Encrypt certificate with certbot and nginx on Ubuntu, complete HTTP-01, and wire the live cert into a working TLS server block.
Reuse one SSH TCP handshake with ControlMaster and ControlPersist so scp, git, and extra shells stay fast on high-latency links into Lucknow.
Compare blue-green, canary, and rolling deployments, and learn how CI gates each so you release with less risk and faster rollback.
Deploy Miniflux on a VPS to aggregate thousands of feeds into a fast, keyboard-driven RSS reader with a Postgres backend and complete privacy.
Per-user and per-filesystem disk quotas on Linux, plus a capacity monitoring loop with thresholds and alerting so no volume ever fills silently.