Understanding the Total Cost of Car Ownership (Dollar-Per-Mile)

A comprehensive guide to calculating the true cost of owning and operating a car, including fixed and variable expenses, state-by-state differences, and vehicle type impacts.

Building Modern Terminal Apps with Mouse Support

From raw escape sequences to a polished Ink component

Building a 2D Physics Engine: From Newton to Pinball

Learn how to build a 2D physics engine from scratch, starting with basic motion and building up to springs, constraints, and interactive simulations.

Building an Efficient Undo-Redo Stack with Rope Data Structure

Learn how to implement a rope data structure from scratch and use it to build a memory-efficient undo-redo system for text editors.

Canvas Rendering with WebAssembly SIMD

Learn how to use WASM-SIMD by implementing a NURBS curve editor in Rust

How Model Context Protocol (MCP) Works

Sharing notes on the Model Context Protocol (MCP) and its role in AI model interactions and build a sample MCP server to see how LLM-base agent tools interact with the server.

All about Heatmaps

An in-depth exploration of heatmaps, their applications, and how to create them using TypeScript.

Running DOOM in Browser with React using WebAssembly

Learn how WebAssembly bridges C programs and web browsers by compiling DOOM to run in React. A practical guide to understanding WASM's translation magic.

Recreating HP 10bII+ Financial Calculator Simulator

Interactive HP 10bII+ financial calculator with RPN mode, complete TVM functions, statistics, depreciation, and bond calculations

Realtime face detection on browser using MediaPipe

Exploring techniques to detect faces in real-time using MediaPipe and TypeScript.

How to Access Webcam in Browsers

Learn how to access and use webcam streams in web browsers, including security considerations, common pitfalls, and best practices for streaming to Canvas

Image Morphing using the Beier-Neely Algorithm

A deep dive into understanding and implementing the classic image morphing algorithm that powered 90s visual effects

Perceptual Image Hashing - Creating Visual Fingerprints

Learn how perceptual hashing creates compact fingerprints of images that survive modifications. Build your own pHash implementation in TypeScript.

Structural Image Similarity Check using SSIM

A practical guide to implementing image similarity checks using SSIM (Structural Similarity Index). Learn how to compare images effectively.

Building a Secure SVG Upload Pipeline

A comprehensive guide to safely processing user-uploaded SVG files with defense against XSS, SSRF, and XML bomb attacks. Includes production-tested implementation patterns.