Blog

#python

Practice LeetCode locally: 1,404 problems, one command

One pip install turns any of 1,404 LeetCode problems into a local practice environment: typed stubs, pytest suites, visual debugging, and full study plans.

Jul 2026
bakefile in practice: the supporting cast

The second bakefile in practice post: the helpers behind the patterns. Setup, secrets, publish, environments, config, the CLI, shipped once as library code.

Jul 2026
bakefile in practice: four patterns that scale

Composition over configuration, Template Method, a uniform interface, workflows as libraries: four patterns from every repo I run bakefile in. Part one.

Jul 2026
Version every build: semantic-release on main, zerv everywhere else

semantic-release versions main beautifully. Every other branch builds unversioned. zerv gives every commit a SemVer, PEP 440 included, without touching tags.

May 2026
Make vs Just vs Task vs mise: which reuses workflows?

An audit of how five task runners share workflows between repos: Make include, Just import, Task includes, mise extends, Invoke collections. Where each breaks.

Apr 2026
Developer Workflows Need an Abstraction

Every repo re-copies the same lint, test, and deploy recipes. Workflows need what code already has: inheritance, mixins, and versioned distribution.

Feb 2026
Smarter Python Configs: an OOP Framework

Replace duplicated .env files with a layered Pydantic config framework: base, service, and instance mixins plus a CLI that unifies deploys across environments.

Aug 2025
Building a Resilient API Gateway

How a queue-driven API gateway with Cloud Tasks, Firestore caching, and queue-level rate limiting cut downtime by 70% and handled 40 req/s peaks.

Dec 2024
A Scalable ML Framework with Monadic Design

A Python ML framework built on monadic design: DataPod state carriers, composable trained transformers, and reproducible pipelines from research to production.

Jan 2024
A Python Pipeline Network Modeling Tool

How I replaced manual Excel-to-simulator data transfer with a Python tree-modeling tool for offshore pipeline design, cutting $49.8M from the investment plan.

Feb 2022
How Linear Programming Lifted Oil Production by 15%

A linear programming optimization app for a gas field of nearly 1,000 wells: the LP model, the data pipelines behind it, and the 15.2% production lift.

May 2021