Bookmarks
Blogs, tools, and resources by other people that I find useful or inspiring.
Articles(36)
Can LLMs Be Computers?
Builds a WebAssembly interpreter inside a vanilla transformer's weights so the model executes arbitrary C programs step-by-step in its own inference loop. The key unlock is restricting attention heads to 2D, which turns key lookups into convex hull queries answerable in O(log n) time instead of linear scans, enabling millions of correct execution steps at 30k+ tokens/sec on CPU.
by Christos Tzamos
Tutorial: Learn DSPy by Building a Deep Research Agent
Teaches DSPy's Signatures and Modules by building progressively complex deep-research agents, showing how decomposing workflows into structured steps beats raw autonomous capability for reliability.
by Drew Breunig
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
The Mathematics of Compression in Database Systems
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
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
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
Compact hash table combining Robin Hood open-addressing with linear probing, packing 32-bit key-value pairs into a single 64-bit integer. C implementations with architecture-specific analysis.
by corsix
Implementing Event Sourcing Using a Relational Database
Implementing event sourcing on PostgreSQL: 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
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
How to wire OAuth flows and token management into a Model Context Protocol server.
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
SSE as one-way WebSocket connections: how server-sent streams give you progressive loading-state UX without the bidirectional WebSocket plumbing.
How to Use Client Certificates for mTLS in Cloudflare Workers
How to implement mutual TLS 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
Uploading files to Cloudflare R2 with pre-signed URLs over its S3-compatible API, on top of R2's zero egress fees.
Catamorphisms in 15 Minutes!
Catamorphisms as a generalization of fold, built up 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(9)
nanobrew
Zig package manager for macOS and Linux that reuses Homebrew's existing bottles and formulas, with native .deb support for Docker containers.
by justrach
visual-explainer
Agent skill that converts terminal output into styled HTML pages with interactive Mermaid diagrams, Chart.js dashboards, and dark/light theme support.
by nicobailon
npmx
Web browser for the npm registry with package search, side-by-side comparison, and support for pnpm, yarn, bun, and deno.
critique
Terminal UI for reviewing git changes with syntax highlighting, split-view comparison, and word-level diff detection.
by remorses
jasonisnthappy
Embedded document database in Rust for local JSON storage, with ACID transactions and MVCC.
by sohzm
noodle
Rust implementation of a transformer language model for training on custom text, with GPU acceleration.
by penberg
Clack
JavaScript CLI prompt library with both an opinionated component set and headless primitives, so you can pick the abstraction level.
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
Interactive tool for experimenting with inverted color themes and the design principles behind dark/light mode switching.
Resources(2)
A Simple Serialization System
Binary serialization format that stays inspectable and backward-compatible at the cost of some efficiency.
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.