~/home
~/blog — ls posts/

$ ls -la content/blog/

total 1414 markdown files, 0 directories

Tech Blog

Writing about what I build

Deep dives on frontend architecture, design systems, and product engineering — straight from the terminal.

Subscribe via RSS
Featured

Every Markdown Feature This Blog Supports

markdown-showcase.md·June 7, 2025

A living reference for writing posts — thumbnails, code, tables, alerts, footnotes, images, audio, video, and YouTube embeds.

  • Markdown
  • Blog
  • Reference
4 min
Featured

Ray Marching and Signed Distance Fields

ray-marching-sdf-shaders.md·May 24, 2025

Render infinite geometry on a fullscreen triangle — SDFs, sphere tracing, and the shader loop that replaced polygon soup.

  • Shaders
  • WebGL
  • Graphics
2 min
Featured

File-Based Blogs on Next.js Static Export

file-based-blog-with-nextjs.md·May 12, 2025

How to ship a markdown blog with zero database, full SEO, and static export — the same stack powering mahdi.is-a.dev.

  • Next.js
  • Markdown
  • Static Export
3 min
Featured

Design Systems That Actually Ship

design-systems-that-ship.md·April 2, 2025

Lessons from building NPUI — tokens, primitives, and the gap between Figma and production.

  • Design Systems
  • React
  • NPUI
2 min

B-Trees: Why Every Database Index Looks the Same

b-trees-database-indexes.md·May 16, 2025

The data structure behind PostgreSQL, SQLite, and MySQL indexes — balanced trees, page alignment, and why O(log n) isn't enough.

  • Databases
  • Algorithms
  • Backend
2 min

WebAssembly Beyond the Browser

webassembly-beyond-browser.md·May 12, 2025

From Figma's design engine to Cloudflare Workers — why WASM is becoming the portable bytecode layer of the web stack.

  • WebAssembly
  • Systems
  • Performance
2 min

Raft Consensus: Leader Election Without the PhD

raft-consensus-explained.md·May 8, 2025

How distributed systems agree on a log when nodes fail — terms, heartbeats, and why Paxos stayed in papers while Raft got textbooks.

  • Distributed Systems
  • Algorithms
  • Backend
2 min

Privacy-First Analytics Without the Tradeoffs

privacy-first-analytics.md·March 18, 2025

Building Analytick taught me that you can have real-time dashboards and respect user privacy — if you design constraints in from day one.

  • Analytics
  • Privacy
  • SaaS
2 min