Articles
24 postsBuilding a Custom TCP File Transfer Protocol from Scratch
A CS310 Computer Networking assignment: hand-rolling a request/response protocol on top of raw TCP sockets in Python, and where the server and client implementations actually diverge in robustness.
Shipping Analytics Safely: Caching, Budgets, Deployment, and Handoff
User-scoped caching with TTLs, mutation-driven invalidation, rule-based budgets, Render deployment with health checks, and unambiguous mobile handoff.
Forecasting Cash Flow with Uncertainty, Not Just Averages
Separate income/expense LightGBM regressors, time-aware features, walk-forward validation, and 80% confidence intervals make cash-flow projections actionable.
Transaction Categorization That Survives Cold Starts
A hybrid categorization system with rule-based fallback, LightGBM classifier, and confidence-gated ML predictions—ensuring sensible behavior from day one.
Migrating Production Auth Without Breaking the Product
A four-phase migration from local JWT to Supabase Auth with reversible migrations, additive verification, and 82 integration tests passing throughout.
Making a Personal-Finance API Trustworthy: Tests, Isolation, and Balance Accounting
How to build an API that guarantees correct account balances, strict user isolation, and consistent analytics through isolated integration tests, immutable transaction rules, and cache invalidation.