Articles

Notes on engineering, architecture, and the things I learn while building software.

View Medium

Using AI Series

Abundant Intelligence Series

Application Design Series

Other Posts

What if we got online shopping wrong?
experimentJul 2023

What if we got online shopping wrong?

Reimagine online shopping: open and decentralized. Reviving community, transparency & competition.

3 min read
Building my go-to web server with TypeScript and Koa
experimentNov 2020

Building my go-to web server with TypeScript and Koa

Set up a lightweight web server in TypeScript using Koa, routing, middleware and typing in minutes.

8 min read
My journey into expert systems with Python
experimentSep 2019

My journey into expert systems with Python

Guide to expert systems: code a backward-chaining inference engine in Python, with rules and facts.

7 min read
Let's dive into assembly and build our first functions (Intel x86-64)
experimentAug 2019

Let's dive into assembly and build our first functions (Intel x86-64)

Set up toolchain, grasp registers & calling conventions, and code/link your first assembly functions.

9 min read
Building a program that writes itself (a quine)
experimentAug 2019

Building a program that writes itself (a quine)

Craft self-replicating quine programs in multiple languages, understand theory, and master code that prints itself.

3 min read
Decoding the magic, my journey building nm and otool
experimentJul 2019

Decoding the magic, my journey building nm and otool

A guide to Mach-O analysis: decode symbol tables, headers, sections, and build your own nm/otool utilities in C.

10 min read
Hashing in C, a deep dive into SHA-256 and MD5
experimentJun 2019

Hashing in C, a deep dive into SHA-256 and MD5

Implement SHA-256 and MD5 from scratch in C: bitwise ops, message padding, compression loops and test vectors.

6 min read
Master memory management, I built my own malloc, and you should too
experimentJun 2019

Master memory management, I built my own malloc, and you should too

Build your own malloc in C, learn mmap, buckets, first-fit, coalescing, alignment fixes to master dynamic memory.

8 min read