Refactoring with Claude: Lessons from a Real Django Project
I used Claude to refactor the PostFlow codebase, cutting refactoring time by 70%. Here's what worked, what didn't, and the lessons learned about AI-assisted code refactoring.
Thoughts on building thoughtful software
I used Claude to refactor the PostFlow codebase, cutting refactoring time by 70%. Here's what worked, what didn't, and the lessons learned about AI-assisted code refactoring.
Exploring HTTP's most whimsical status code—418 I'm a Teapot. An April Fools' joke from 1998 that became a beloved internet easter egg still found across the web.
How to enforce composite uniqueness constraints in SQLAlchemy. Learn to make fields unique per user rather than globally unique.
Using Python and OSMnx to analyze bicycle network connectivity in cities. Discover why most bike infrastructure is fragmented and how to measure it.
How software tools can evaluate urban infrastructure and identify opportunities for 15-minute city development. Using Python, OSMnx, and OpenStreetMap data to assess accessibility.
Moving beyond stereotypes to analyze cities through transportation networks. Using urban fingerprints and k-means clustering to identify six distinct city types based on multimodal infrastructure.
Using Django migrations with RunPython to correct problematic data across multiple environments. A cleaner approach than manually fixing database records.
A quick lesson learned about the importance of the name attribute when integrating HTML form templates with Django form processing and validation.
An introduction to GeoPandas for working with geospatial data in Python. Learn how to download, manipulate, and visualize geographic data with interactive maps.
Commemorating Euler's birthday and his founding of graph theory through the Seven Bridges of Königsberg problem. How this 1735 puzzle laid the foundation for modern network science.
Published research developing a data-driven, network-based method to quantify city liveability through walkability. Analyzing Budapest's pedestrian infrastructure and amenity access.
Teaching an intensive network science course using hands-on activities. Students built networks with toys before coding, learning through play and problem-solving rather than formulas.
Research examining how cities integrate transportation modes through network analysis. Identifying optimal locations for new bicycle infrastructure using multiplex network analysis across 15 global cities.
Analyzing Guadalajara's MiBici bike-sharing system using network analysis. 405,169 trips reveal centralized usage patterns and identify heavily-used corridors for infrastructure planning.
A data visualization project analyzing bars, pubs, and nightclubs in Manhattan using Python, OSMnx, and GeoPandas. Mapping NYC's nightlife infrastructure over the walking network.
Exploring community detection in Guadalajara's street network using Louvain Modularity and a custom color palette inspired by architect Luis Barragán's iconic use of color.
Exploring urban infrastructure through network analysis. Using OSMnx to map Budapest's street network and reveal critical infrastructure like bridges through attack tolerance analysis.