Srijan Guchhait

Blog

Notes on systems, infrastructure, and software that keeps working.

  1. A notebook CLI that breaks cell magics

    Cell magics like %%writefile and %%bash only work on the first line of a cell. A tool that adds lines before your code breaks them, and plain Python is the fix.

    • python
    • jupyter
    • tooling
  2. Making test gates honest under machine load

    Why a test gate can pass or fail for the wrong reason when the machine is busy, and the rules I use to make a green result mean something.

    • testing
    • reliability
    • tooling
  3. Make a missing registry entry a type error

    A table keyed by every registered type, typed so that adding a new type without an entry fails the typecheck, and why two pull requests that each pass CI can still break main together.

    • typescript
    • ci
    • reliability
  4. Keeping a laptop usable with memory caps for background jobs

    How to cap the memory, CPU and disk priority of a background job on Linux with systemd-run, so a runaway process gets killed instead of freezing your machine.

    • linux
    • systemd
    • reliability
  5. Running parallel coding-agent lanes on a server

    What one small server needs so that several coding agents can work at once: worktrees, a memory guard, a lock for heavy jobs and a time limit on every command.

    • agents
    • linux
    • reliability
  6. Reading Cloudflare Worker logs from the CLI

    How to watch a Worker's logs from a terminal with wrangler tail, filter the stream with its flags and with jq, and what the limits are.

    • cloudflare
    • cli
    • debugging
  7. Delta backups with restic to Google Drive

    A daily restic backup of a server to Google Drive through rclone: only changed chunks upload, old snapshots expire on a schedule, and the job yields to everything else.

    • backup
    • linux
    • devops
  8. Retargeting a stacked PR does not run its CI

    Why changing the base branch of a pull request leaves its checks missing, what makes GitHub run them again, and how to change the base through the API and check that it worked.

    • github
    • ci
    • git
  9. What a minimal personal site needs

    The few files a personal site actually needs, what I left out on purpose, and the one place where I spent weight on purpose.

    • web
    • performance
    • tooling
  10. A blog with one Bun script

    How this site gets a blog without a framework: markdown in, static HTML out, build-time highlighting, RSS, and one decision about where the output lives.

    • bun
    • static-sites
    • web
  11. A rule-based safety layer around a learned drone policy

    Shadow mode, a small mode machine with hysteresis, and collision-driven probing: wrapping a PPO obstacle-avoidance policy without retraining it, in simulation.

    • robotics
    • reinforcement-learning
    • safety
  12. A voice loop for a coding agent

    Speaking to a coding agent from a desktop orb or a phone: speech-to-text, a text-to-speech fallback chain, and keeping the brain on one machine.

    • voice
    • agents
    • tauri
    • bun
  13. A watchdog that nudges instead of nagging

    A silence ladder, batched delivery to busy panes, a host guard and a kill switch: the duty loop that keeps parallel coding-agent sessions moving.

    • agents
    • reliability
    • tooling
  14. Calibrating four ESCs from a microcontroller

    What ESC firmware expects during throttle calibration, the ways it fails silently, and why the idle floor matters more than the calibration.

    • robotics
    • embedded
    • esp32
  15. A merge gate that does not trust the agent

    How a lead session, per-task lanes and an evidence-carrying ready command keep a multi-agent coding harness honest.

    • agents
    • tooling
    • typescript
  16. Offline sync without a clock

    Per-object sequence numbers, revision preconditions and field-level conflicts: how a workspace app lets you edit offline without last-write-wins.

    • sync
    • architecture
    • distributed-systems
  17. One Durable Object per object

    Single-writer ordering, an op log with a bounded tail, and idempotent action calls: how a workspace product gets its consistency on Cloudflare.

    • cloudflare
    • architecture
    • distributed-systems