Writing

Technical notes on software engineering, architecture, and developer tools.

Architecture · clean code · project structure · engineering

Heuristics for Organizing Codebases: utils, helpers, core, and Shallow Hierarchies

How to structure project directories rationally by distinguishing domain-specific logic from generic utilities and favoring shallow file hierarchies.
philosophy · growth · mindset

Support, Resistance, and Personal Growth: Turning Plateaus into Baselines

A financial technical analysis metaphor applied to personal growth: why hitting a ceiling means a new baseline is within reach if you push through.
fintech · charts · product-design · alphasquare

Smarter Financial Analysis and Web Charting with AlphaSquare

A product engineering retrospective on building AlphaSquare, a modern web-based charting and financial analytics platform designed to replace legacy desktop HTS applications.
Python · dataclasses

Building Data Classes with Python's dataclasses Module

Learn how Python's dataclass decorator cuts boilerplate by auto-generating __init__, __repr__, and __eq__, and how field configures defaults and representation.
Python · asyncio · concurrency

Protecting Shared State Across Coroutines with asyncio.Lock

Why race conditions happen in single-threaded Python asynchronous code when coroutines mutate shared state, and how to safely synchronize access using asyncio.Lock.
Python · CLI

Building a Python CLI #2: Click

Use Click decorators and command groups to build Python command-line programs.
Python · CLI

Building a Python CLI #1: argparse

Build a command-line program with argparse, arguments, options, and a console entry point.
Data Science · statistics · machine learning · data cleaning

Detecting and Handling Data Outliers: Visualizations, IQR, and Robust Statistics

A statistical guide to identifying outliers via Boxplots and IQR, understanding their impact on skewed distributions, and choosing between trimming, Winsorizing, and robust methods.
Python · asyncio

Python Asynchronous Programming #3: Network Requests

Compare sequential requests, a thread executor, and aiohttp for network-bound work.
Python · asyncio

Python Asynchronous Programming #2: Getting Started with asyncio

Learn about event loops, coroutines, asyncio.gather, and executors through examples.