Essays, prose, and software.

A personal notebook for essays, short prose, general thoughts, and technical field notes. Some posts carry Rust code and benchmarks; others are just things worth thinking through in public.

Writing

  1. 01

    Why Zstd barely compresses model weights, and where FastCDC actually wins

    Measuring Shard on 256 MiB high-entropy payloads, JSONL datasets, and 64 MiB FP32 safetensors-style checkpoints shows 1.00x weight compression, 0.0% dedup on full fine-tuning, 89.0% dedup on frozen backbones, and 98.5% FastCDC dedup on offset shifts.

    Engineering#Rust#Storage#Benchmarks
    2026-11-25
    6 min
  2. 02

    Inspecting 50,000-file Delta Lake tables in 111ms and 89MB RAM without a JVM

    How DeltaLens parses NDJSON commits, V2 Parquet checkpoints, sidecars, and Deletion Vectors from a single 13.8 MB binary, plus head-to-head cold and warm benchmarks against delta-rs.

    Engineering#Rust#Storage#Benchmarks
    2026-11-25
    6 min
  3. 03

    How one unbounded ONNX batch pushed our local MCP daemon to 2.25 GB RAM

    Micro-benchmarks on 100 synthetic chunks hid a 2.25 GB RAM spike and a 16.5-second query stall in contextd. Here is how an end-to-end codebase benchmark caught it, the micro-batch fix, the v4.1.0 int8 numbers, and the v4.2.0 retrieval changes that beat ripgrep across 72 queries in 3 repos.

    Engineering#Rust#Local AI#Benchmarks
    2026-11-25
    7 min
  4. 04

    Phantom of the Floodlights

    Atmospheric prose on Champions League nights beneath the floodlights, meant to be read slowly with headphones on.

    Prose#Football#Fiction
    2025-10-03
    4 min
  5. 05

    Shai-Hulud: How the Latest npm Supply-Chain Worm Threatens Crypto Wallets & Developer Trust

    How the Shai-Hulud npm worm spreads across maintainer accounts, steals credentials and crypto wallet traffic, and the immediate checklist to lock down dependencies.

    Engineering#Security#npm#Crypto
    2025-09-18
    2 min
  6. 06

    Sapiens — How 70,000 Years of Human History Made Me Rethink My Life, Work, and Goals

    Retelling Yuval Noah Harari's Sapiens through my eyes, my background, and life as a software engineer in Bangalore.

    Books#Personal#Mindset
    2025-08-10
    4 min
  7. 07

    The Psychology of Money: Lessons for a Young Professional in Bangalore

    Chapter-by-chapter notes, quotes, and practical takeaways from Morgan Housel's The Psychology of Money as a 22-year-old software engineer in Bangalore.

    Books#Personal#Money
    2025-07-07
    9 min

Software & open source

deltalens

Rust / v2.2.0 / MIT

Read-only CLI and library to inspect, diff, trace, and CI-gate Delta Lake tables directly from _delta_log/ across local disk, S3, GCS, and Azure ADLS, verified against all 19 Apache Spark DAT tables, delta-rs differential tests, and 4 continuous fuzz targets.

2.91 ms cold CLI / 12.5 MB RSS
111 ms / 89 MB on 50k files

contextd

Rust / v4.2.0 / MIT

Local-first semantic search and MCP daemon using method-level Tree-sitter AST chunking, path-contextualized int8 or FP32 ONNX embeddings, and Stage-2 hybrid reranking over SQLite WAL (sqlite-vec plus FTS5) with loopback hardening.

0.884 MRR / 0.896 nDCG@10 (72q)
4.84 ms p50 query / 989 MB RSS

shard

Rust + PyO3 / v2.5.2 / MIT

Content-addressed, Ed25519-signed version control and libp2p sync for ML artifacts using FastCDC content-defined chunking, Blake3, AES-256-GCM envelopes, and a durable crash-atomic checkout journal with automatic recovery.

98.5% FastCDC dedup on shifts
89.0% on frozen 90% checkpoints