Welcome to my website! Read on for essays about data processing engines, databases, functional programming, math, and other technical topics.
I’m a big proponent of AI for technical work, but my writings are fully in my own words.
Photos
Here are some of my favorite photos I’ve taken.
Posts

Faster data processing with zero-copy filters
• 6 min readConsider a simple filter operation passed to a data processing engine: val highEarners = salaries.filter(_.salary > 100000).collect() A simple query engine executes this by first …

Vectorized data processing, explained
• 9 min readVectorization is the technique of running a tight loop over a column of values, typically a few thousand values at a time. It’s used by ClickHouse, DuckDB, Numpy, Datafusion, and …

Reviving a 9-year-old laptop with Linux and new hardware
• 10 min readI have a 2017 HP Pavilion 15-cc6xx, with an Intel i7-8550U (8th-gen) and 12GB RAM. This machine has been through a lot: it’s what got me through my last 3 years of my Chemical …

Navier-Stokes: A Gentle Introduction
• 13 min readWe know the solution to another Millennium Prize problem! Navier-Stokes is the one problem with the most connection to the physical world; it’s probably the problem that anyone has …

Autoformalizer: Build math proofs in Lean with LLMs
• 10 min readI built a project called Autoformalizer, which is a simple Python tool that builds verifiable proofs for simple math theorems in Lean 4. Autoformalizer is a system that passes …

A simple web scraper in Rust
• 17 min readI’ve been itching to learn Rust for a while! Here I document my brief adventure building a simple Rust web scraper over the course of an afternoon. My main goal here is of course …

A Clean Spark Project Template for Scala
• 13 min readNew software projects can be tricky to set up, especially if it’s for an unfamiliar language or framework. Early on, a few poor decisions can cause issues that stick around for …
Rebuilding Apache Spark's StageBuilder from Scratch
• 12 min readI’ve been working on rebuilding Apache Spark from scratch in Scala 3 with a project called Sparklet. My main goal is to learn more about data processing engine internals and …

Safer Scala with WartRemover Part 3: Null and Option.get
• 4 min readThis is the third post in a series about using WartRemover to improve Scala code quality, and more broadly about language safety. Nulls Nulls (None for Pythonistas) are a common …

Safer Scala with WartRemover Part 2: A Basic Guide to Removing Any
• 5 min readThis is the second in a series of posts about improving Scala code quality using the WartRemover static analysis tool, and more broadly about language restrictions to improve …

Safer Scala with WartRemover Part 1: Seq.apply and head
• 4 min readThis is the first of a series of posts about using WartRemover to improve the quality of Scala codebases. WartRemover is a static analysis tool for Scala. I find it useful because …
Rebuilding Spark with Scala 3
• 3 min readGithub Link: Sparklet Over the last two years at Tesla, I’ve spent about 80% of my coding time in Spark. My team has moved a 50K-ish LOC data pipeline codebase from un-tested …

A simple Git alias setup
• 1 min readHere are a few simple but useful Git shortcuts that I use dozens of times a day. TLDR: Add these to your .bashrc or .zshrc: alias g='git' alias gs='git status -sb' alias glog="git …
Introduction
• 2 min readWelcome to my website! I plan to post about various topics that interest me, including programming, data analytics, databases, and how data is used in organizations. I may also …