Bookmarks
Blogs, tools, and resources by other people that I find useful or inspiring.
Articles(34)
Persistence, Facades and Roslyn's Red-Green Trees
How Roslyn implements immutable syntax trees with two layers: green trees (persistent, reusable, parent-unaware) and red trees (on-demand facades with parent references and absolute positions). Enables incremental re-parsing where most of the tree is shared across edits.
by Cyrus Najmabadi
How Claude Code Escapes Its Own Denylist and Sandbox
AI agents can reason around path-based security controls like AppArmor and Seccomp. Demonstrates Claude Code bypassing its own sandbox, and introduces Veto, a kernel-level tool that identifies binaries by SHA-256 hash instead of filename.
by Leonardo Di Donato
Harness Engineering: Leveraging Codex in an Agent-First World
Lessons from building a million-line codebase with Codex agents: designing environments over writing code, keeping agent instructions small and focused, optimizing repo structure for agent legibility, and choosing 'boring' composable tech stacks.
by OpenAI
Why exe.dev VMs Are Persistent
The case for persistent VMs over ephemeral infrastructure: familiar laptop-like environments, cron/systemd support, better fit for coding agents, and less operational overhead from containerization.
by Philip Zeyliger
The Mathematics of Compression in Database Systems
A mathematical framework for evaluating when compression pays off in databases: breakeven bandwidth calculations, entropy-based vs. semantic encoding, and practical strategies like dictionary encoding and bitpacking.
by Almog Gavra
Oops, You Wrote a Database
Warns that developers who skip proper databases for simple persistence inevitably reinvent caching, rollbacks, audit trails, and access control, ending up slower than if they had used Postgres from the start.
by swyx
RSS Swipr: Find Blogs Like You Find Your Dates
An ML-powered RSS reader with a swipe-card interface that learns preferences through interaction signals, combining MPNet sentence embeddings with a Hybrid Random Forest classifier and Thompson Sampling for exploration-exploitation balance.
by Philipp Dubach
Why DynamoDB Dropped ACID
A hands-on experiment sharding a bank transfer system across three PostgreSQL instances to understand why DynamoDB and Cassandra dropped ACID, comparing same-shard transactions, Saga pattern, and Two-Phase Commit with Go benchmarks.
by Mrinal
Against Query Based Compilers
Argues that query-based compiler architectures have fundamental limits tied to a language's dependency structure, and that simpler approaches like Zig's file-independent parsing often outperform Rust-style incremental compilation.
by matklad
My Favourite Small Hash Table
A deep dive into a compact hash table combining Robin Hood open-addressing with linear probing, storing 32-bit key-value pairs as single 64-bit integers with complete C implementations and architecture-specific analysis.
by corsix
Implementing Event Sourcing Using a Relational Database
A comprehensive guide to implementing event sourcing with PostgreSQL, covering event storage, state reconstruction, snapshots, data migrations, cross-stream projections, and event listeners.
by Adam Warski
Index, Count, Offset, Size
Presents TigerBeetle's naming convention for eliminating off-by-one errors: consistently suffix variables with _index and _count so that invalid combinations become visually obvious during code review.
by matklad
Ship Types, Not Docs
Argues that API contracts should be enforced through type systems rather than documentation, defining schemas once and generating types, SDKs, and OpenAPI specs automatically.
by Boris Tane
Focus on Your Move, Not on Your Place
Argues that companies should prioritize innovation and adaptation over restrictive intellectual property control, as real value lies in operation, not ownership.
Exploring the Future of MCP Transports
The MCP team outlines their roadmap to evolve the protocol from stateful to stateless, better supporting enterprise-scale deployments through server cards and explicit sessions.
How Prompt Caching Works
A technical deep dive into how LLM providers implement prompt caching via paged attention and block hashing, with practical tips for maximizing cache hits.
Use Cloudflare Workers to Concat Audio Files
Describes implementing audio file concatenation by running FFmpeg compiled to WebAssembly within Cloudflare's Browser Rendering API.
Code Execution with MCP: Building More Efficient Agents
Explains how agents can call MCP tools by writing code instead of direct tool calls, reducing token consumption by up to 98.7%.
MCP Authentication and Authorization Guide
A practical guide to implementing secure authentication and authorization for Model Context Protocol servers, covering OAuth flows and token management.
Embedding Binary Data in WebAssembly
Demonstrates a technique to embed arbitrary binary files within WebAssembly modules, offering a more size-efficient alternative to base64 encoding for serverless environments.
Better Loading States with Server-Sent Events
Shows how SSE streams act as one-way WebSocket connections that are miles easier to build, enabling better loading state UX with minimal complexity.
How to Use Client Certificates for mTLS in Cloudflare Workers
A guide to implementing mutual TLS authentication in Cloudflare Workers by uploading client certificates and binding them with Wrangler and Hono.
Rust Trait Object Layout
Explains a surprising Rust coercion where generic types containing concrete types can implicitly convert to generic types containing trait objects.
I Used a Generator to Build a Replenishable Queue
Demonstrates how to use JavaScript generators and promises to create a queue that accepts new items and continues processing indefinitely.
Live Types in a TypeScript Monorepo
Explores five strategies for keeping TypeScript source types live during development in monorepos without requiring a build step.
Uploading Files to Cloudflare R2 with Pre-Signed URLs
A guide to securely uploading files to Cloudflare R2 using pre-signed URLs with S3-compatible APIs, leveraging R2's zero egress fees.
Catamorphisms in 15 Minutes!
An accessible introduction to catamorphisms as a generalization of fold, building from category theory fundamentals to structure-preserving operations on recursive data types.
The WebAssembly Value Proposition Is Write Once, Not Performance
Argues that WebAssembly's primary advantage is cross-platform portability rather than raw performance, enabling code reuse across servers, browsers, and CLIs.
Understanding tracing's macros by rebuilding them from scratch
A hands-on walkthrough of building a tracing-style trace! macro from scratch using TT munchers, outputting structured logs in logfmt format.
Against SQL
Argues that while the relational model is excellent, SQL's inexpressive syntax and closed architecture stifle innovation and a better query language could unlock significant value.
Eigenvectors from Eigenvalues: A NumPy Implementation
Presents a NumPy implementation of a mathematical discovery that computes eigenvector norms from eigenvalues using matrix minors.
The Typestate Pattern in Rust
Shows how Rust's typestate pattern encodes an object's runtime state into its compile-time type, preventing invalid state transitions at compile time rather than runtime.
Actors with Tokio
How to implement the actor pattern using Tokio's task spawning and message-passing channels, covering graceful shutdown, backpressure, and avoiding deadlocks.
Query Engines: Push vs. Pull
Explains the philosophical and practical differences between pull-based (Volcano/Iterator) and push-based (Reactive/Observer) query execution models.
Tools & Libraries(8)
visual-explainer
An agent skill that converts complex terminal output into styled HTML pages with interactive Mermaid diagrams, Chart.js dashboards, and dark/light theme support.
by nicobailon
npmx
A fast, modern browser for the npm registry with package search, comparison tools, and support for multiple package managers including pnpm, yarn, bun, and deno.
critique
A terminal UI for reviewing git changes with syntax highlighting, split-view comparison, and word-level diff detection.
by remorses
jasonisnthappy
A lightweight embedded document database written in Rust with ACID transactions and MVCC support for storing JSON documents locally.
by sohzm
noodle
A minimal language model implementation in Rust for training transformer-based models on custom text data with GPU acceleration support.
by penberg
Clack
A JavaScript library for building stylish, interactive command-line prompts with both opinionated components and headless customizable primitives.
binary-sse
Demonstrates transmitting binary data over Server-Sent Events using base-128 encoding, achieving only 14% size overhead compared to base64's 33%.
Invert Theme
An interactive visual tool for experimenting with inverted color themes and exploring design principles for dark/light mode switching.
Resources(2)
A Simple Serialization System
A straightforward binary serialization format that balances simplicity with functionality, enabling efficient data storage while remaining inspectable and backward-compatible.
by rxi
Uxntal Opcodes
Comprehensive documentation of the 32 standard and 4 immediate opcodes of the Uxn virtual machine, covering stack effects, operational modes, and usage examples.