Blog
Notes on TypeScript, Next.js, SQL, Go, and the craft of building fast, pragmatic web products.
blog posts
How to Read Age of Empires II .aoe2record Files with TypeScript
I built agelens, an open-source parser for Age of Empires II .aoe2record and .mgz files that works with JavaScript, Node.js, or directly in the browser without uploading replays to a server.
I Built a Silence Remover (No One Pays)
I turned a small ffmpeg script into a desktop app that removes silences from videos. People around the world use it, but almost nobody pays.
Nextjs server actions in depth
Next.js Server Actions let you run mutations and server logic from React components. A practical look at how they work and when to use them.
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.
Host Your Node + React App on a VPS (2/2)
Finish the deployment with free HTTPS via Let's Encrypt, fine-tune Nginx and see the live app. Part 2 closes the VPS setup from Part 1.
8 JavaScript Array Methods to Know
Eight practical JavaScript array methods explained with examples: filter, map, some, includes, every, forEach, reduce and find.