Writing

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

JavaScript · frontend · DOM · troubleshooting · safari

Troubleshooting Client-Side HTML-to-Image Conversion in Safari and In-App Browsers

How to fix font dropping, missing background assets, and mobile download failures when exporting DOM nodes to PNG using modern-screenshot.
retrospective · learning · side-projects

What I Am Working On: English, flopha, and Exercise

A 2024 reflection on practicing English, preparing a CLI release, and building an exercise habit.
retrospective · side-projects · philosophy

Building My Own Solar System: Principles for Sustainable Side Projects

A framework for managing personal ambition by launching one self-sustaining 'planet' at a time into orbit rather than juggling multiple fragmented side projects.
retrospective · AI · learning

Thoughts After Reading A.I. Doctor: Learning in the Age of AI

A reflection on an AI-assisted doctor, expanding one's knowledge, and writing more personally on a blog.
React · Three.js · React Three Fiber · Web3D · frontend

Building Interactive 3D on the Web with React Three Fiber: Concepts and Review

A foundational review of 3D web development with Three.js and React Three Fiber (R3F): scene graphs, cameras, declarative 3D modeling, and production takeaways.
Python · VS Code · tooling · poetry · ruff

Setting Up a Modern Python Development Environment in VS Code

Configure VS Code for Python using pyenv for version management, Poetry (or uv) for dependencies, Ruff for blazingly fast linting, and mypy/pyright for static typing.
retrospective · excellence · culture · growth

Reflecting on Excellence: Raising Standards, Study Groups, and Deliberate Practice

Thoughts on pursuing true excellence over mere competence, lessons from facilitating engineering study groups, and the power of peer accountability.
Python · JavaScript · regex

Named Capture Groups in Regular Expressions: Python and JavaScript

How to make regular expressions more readable and robust using named capture groups, with side-by-side examples in Python (?P<name>) and modern JavaScript (?<name>).
Python · typing · generics · protocols

Advanced Python Typing: TypeVar, Generic, ParamSpec, and Protocol

Master generic types with TypeVar and Generic, preserve decorator signatures with ParamSpec, and implement structural subtyping using Protocol in Python.
Python · typing · pyright · mypy

Python Type Hints: Foundations and Static Type Checking

A guide to type hinting in Python, using mypy and pyright, and working with built-in generics, TypedDict, Callable, and collections.abc.