Python
146 posts
Optimizing PyGeoHash Without Touching the C
A few days after benchmarking PyGeoHash against the field, I closed most of the gap to the C++ library without writing any C. Here is how.
Benchmarking PyGeoHash: Where It Lands Against the Field
I benchmarked PyGeoHash against six Python geohash libraries with pytest-benchmark. It trails the Rust and C++ options and beats pure Python by a mile.
The Full McGinnis Stack: An Opinionated Python Developer Setup
How to wire together ContextSwitch, python-skills, makefile-mcp, mutmut-mcp, Rampart, and the rest into a complete AI-powered Python development workflow.
Using Claude Code Hooks to Force uv
A simple pre-tool-use hook that intercepts bare pip and python commands in Claude Code and redirects them to use uv instead.
uv Changed How I Think About Python Projects
After years of pip, virtualenv, poetry, and conda, uv has quietly become the only Python packaging tool I recommend. Here's why.
Code Archaeology with AI
Using AI coding assistants to understand, document, and revive legacy codebases. What works, what doesn't, and where the hallucinations live.
You Don't Need a Justfile
Justfiles, Pixi tasks, Taskfiles, and other modern Make replacements are solving a problem that was already solved in 1976.
Advanced Makefile Patterns for Python Projects
Beyond the basics: self-documenting targets, environment detection, conditional logic, and other Makefile patterns I use in real Python projects.
A Full SDLC with MCP Servers
How I use a collection of MCP servers to cover the full software development lifecycle, from task management to testing to deployment.
Rating Systems Compared: Choosing the Right Algorithm
A head-to-head comparison of Elo, Glicko, TrueSkill, DWZ, Colley Matrix and other rating systems. Know when to use each algorithm.