Blog
Notes on TypeScript, Next.js, SQL, Go, and the craft of building fast, pragmatic web products.
blog posts
How I Got a Free MacBook Pro by Accident
A story about luck, quitting a job and ending up with a free 2020 M1 MacBook Pro after a shipping label never made it back to the US.
Roman Numerals to Integer in JavaScript
Convert Roman numerals like III or IX to integers in JavaScript. A fun logic problem that rewards careful step-by-step thinking.
Solve Palindrome in JavaScript
LeetCode problem 9 solved in one line using JavaScript built-ins. A quick look at toString, split, reverse and why knowing the basics helps.
Solving the Two Sum Problem in JavaScript
My first LeetCode problem started as a naive O(n²) mess and ended with a hash map. A walkthrough of the mistakes and the final O(n) solution.
SQLite vs Postgres: Which Is Best for You?
SQLite or Postgres? I measured both in real scenarios to move past 'it depends'. A practical guide to picking the right database for your project.
Self-Host Next.js on Coolify in 5 Minutes
You do not need Vercel to deploy Next.js. Here is how to self-host it on a VPS with Coolify, step by step, in about five minutes.