Posts
All the articles I've posted.
Vectorization in Python — NumPy vs Pandas vs Polars vs Numba
Posted on:April 14, 2025 at 10:00 AMSystematic benchmarks comparing four vectorization approaches across different dataset sizes and operation types. When to use NumPy directly, when Polars wins, and when Numba's JIT compilation is the only answer.
Building a Real-Time DEX Price Monitor with Node.js and WebSockets
Posted on:March 17, 2025 at 10:00 AMStep-by-step guide to building a real-time DEX price monitor that listens to Uniswap V2/V3 swap events via WebSocket, decodes transaction logs, and broadcasts live price updates to connected clients. Complete TypeScript implementation with reconnection logic.
Compound Interest — A Software Engineer's Mathematical Guide (Interactive)
Posted on:February 24, 2025 at 10:00 AMCompound interest from first principles: discrete vs continuous compounding, the Fisher equation for real returns, the Rule of 72, and why the difference between annual and monthly compounding matters more than most people think. All interactive.
Spec-Driven Development — The AI-Native Engineering Workflow I Use Daily
Posted on:February 10, 2025 at 10:00 AMSpec-Driven Development is the workflow where you write a precise specification first, then use AI to generate and iterate on the implementation. It sounds like prompt engineering — it's actually a different way of thinking about software design.
Gas Optimization in Solidity — Techniques That Saved Real ETH
Posted on:January 13, 2025 at 10:00 AMConcrete Solidity gas optimization techniques with before/after gas measurements: storage layout packing, calldata vs memory, custom errors, unchecked arithmetic, and mapping vs array tradeoffs. Numbers from a real ERC-20 + staking contract optimization.
Node.js Worker Threads — True Parallelism Without the Cluster Mess
Posted on:December 9, 2024 at 10:00 AMNode.js Worker Threads enable true CPU parallelism in a single process. This post covers the communication model, SharedArrayBuffer for zero-copy data sharing, thread pool patterns, and benchmarks showing when Workers outperform cluster vs when they don't.