Posts

Tutorials, hot takes, and a running journal of what I'm learning and experimenting with. Newest first.

2026

  1. Keras in Python, Rebuilding My 2020 Notebook (Step by Step)

    Keras in Python in eight steps. Predict California house prices with a small neural network, beat linear regression, then save the model the Keras 3 way.

  2. Comprehensive Tutorial on Django ORM, Migrations and makemigrations

    Learn the ORM in Django, django makemigrations and django migrations by building a small store, with backfills, rollbacks and team conflicts fixed.

  3. Einstein 3, Me 0 (My Impulsive Attempt at General Relativity in Python)

    I drafted a plan with Claude to rebuild space navigation on Einstein. My Python tests and a 3D black hole show why it can't get us to the stars.

  4. How to Build a Claude Dashboard for PRs, CI and Deploys

    How to build a Claude dashboard with live GitHub data in Claude Code. Open PRs, CI runs and deploys, the GitHub connector setup, and every number checked.

  5. I Built a 3D Sky City to Monitor Claude Code Sessions

    Skyborne is a free, open source, local 3D sky city to monitor Claude Code sessions. See which agent needs you, approve or deny its prompts, trace every step.

  6. How to Build Your Own AI Assistant With Django Framework & Anthropic SDK (Step by Step)

    A step-by-step guide to building your own AI assistant with the Django framework & Anthropic SDK. Nine steps, a streaming chat UI, and code I tested.

  7. Comprehensive Tutorial on django-htmx for People Who Hate JavaScript Builds

    A django-htmx tutorial for Django beginners and veterans. Build live search and a Load more button with no JavaScript build, and dodge the CSRF 403.

  8. How to Run a Local LLM on Your Mac in Under 10 Minutes (Step by Step)

    A local LLM runs on your own Mac, free and offline. How to pick a model that fits your memory, set up LM Studio, give it file tools, and read PDFs.

  9. I Tracked Claude Token Usage on Wasted Commands (Case Study)

    In one week Claude ran 1,286 commands it never needed to read, about 384M tokens. How I measured my Claude token usage, and how to stop it.

  10. LLM Evals for My Claude Code Agent (Walkthrough + Prompts)

    My plan-reviewing Claude Code subagent went from 6/10 to 9/10. LLM evals with and without it scored 24 runs to 19. Here is every step and prompt.

  11. Claude Code vs Codex: Claude Writes, Codex Reviews

    I just adopted a new workflow: Claude Code writes, Codex reviews. Here are the cost data, benchmarks and setup, and what I'm still testing.

  12. How to Use Linux on Windows: Windows Subsystem for Linux

    A step-by-step guide to installing Windows Subsystem for Linux, plus a Mac and bash person's real experience running it at two jobs: WSL 1 vs 2, fixes and all.

  13. Pinecone Vector Database: A Hands-On Python Tutorial

    A hands-on Pinecone vector database tutorial in Python: embeddings, namespaces, upserts, metadata filters and a RAG loop, checked against SDK 10.

  14. How to Get the Most Out of a $20 Claude Plan as a Developer

    I started on Pro and barely used it. Here is how to get the most from the $20 Claude plan as a developer, checked against Anthropic's docs.

  15. Automated Code Review Pipeline with Claude Code

    My real eight-stage review pipeline for Claude Code changes: independent agents, fresh context at every stage, and a CI gate before anything merges.

  16. I Despise Vibe Coding. Here's the Only Place It Belongs

    I use AI to code every day, and I despise vibe coding. Here's the real difference, where vibe coding belongs, and why it has no place near real users or data.

  17. My Open Source AI Project: 347 Commits, No Users

    I spent four months on an open source AI project and never launched it. 347 commits, a benchmark that couldn't fail, no users. Here's what that taught me.

  18. Claude Code Cost: 4 Rules That Work, 4 That Don't

    I checked my rules for cutting Claude Code cost against the docs and 8 billion real tokens. Four hold up. Four don't, and one is a file that isn't real.

  19. Linear Regression in Python: Study Hours vs Score With SciPy

    Linear regression in Python, step by step: fit study hours against exam score with SciPy, read the slope and R-squared, then add a second variable.

  20. Overfitting vs Underfitting: How to Tell Which One You Have

    Overfitting vs underfitting, explained with a small Python experiment: how train and test error give each one away, and when to stop training.

  21. Claude Code Auto Mode: Lessons From the Source Leak

    How Claude Code auto mode keeps an agent from doing something stupid: a three-layer funnel with a fast judge and a slow judge, and what to copy.

2024

  1. TensorFlow in Python: How to Create Tensors

    What deep learning and neural networks are, why tensors matter, and how to create tensors in TensorFlow with Python, using Google Colab.

  2. Python Exception Handling: Try, Except, Finally

    Catch and handle runtime errors with try-except blocks. Learn when to use else and finally, and how to work with built-in exceptions.

  3. 150 Python Interview Questions You Should Know

    A study guide of 150 Python interview questions with plain-English answers and code, from syntax basics to functions and core language features.

2023

  1. Django vs. Flask: Choosing the Right Web Framework

    Django or Flask? Compare the two Python web frameworks on databases, ease of learning, scalability, security, and community, and when to use each.

  2. An Essential Guide to Python Text Editing & Processing

    A practical guide to Python text editing and processing: searching, manipulating, formatting, replacing, and removing characters in strings.

  3. Python List Comprehension: The Complete Guide

    Master list comprehension syntax to create lists concisely. Learn filtering, transformations, nested loops, and when to use plain loops instead.

  4. Pandas read_csv: Loading and Parsing CSV Files

    Master pandas.read_csv() by understanding key parameters: sep, dtype, parse_dates, usecols, and on_bad_lines for robust data import.

  5. KNN Algorithm Using Scikit-Learn: Classifying Iris Species

    Learn how the KNN algorithm works, then build a scikit-learn classifier for the iris dataset step by step, from exploring the data to 97% accuracy.

2022

  1. Python Project Ideas for Beginners

    50+ Python project ideas from easy to advanced: build real projects teaching loops, data structures, databases, APIs, and web frameworks.

2021

  1. Introduction to Neural Networks

    How neural networks work: layers, neurons, the forward pass, and activation functions like ReLU and sigmoid. From theory to working Python code you can run.

  2. Pandas Tutorial for Beginners: The Ultimate Guide

    A beginner's guide to Pandas: what it is, how to install it, and how to work with Series and DataFrames, with hands-on Python examples.

  3. Python Modules and Packages for Beginners

    Learn how to organize Python code with modules and packages. Import built-in modules, write your own, and structure projects using packages and namespaces.

  4. NumPy Standard Deviation (ddof and Axes)

    NumPy's std() defaults to population standard deviation, but the ddof parameter and axis behavior differ from pandas and the statistics module.

2020

  1. Reading and Writing Files in Python

    Learn how to read and write files in Python: opening files, the access modes, and the file operations you need, with a worked example of each mode.

  2. JSON with Python: Reading & Writing (With Examples)

    How to work with JSON in Python: serialize and de-serialize data with dumps, dump, loads, and load, including custom objects, with examples.

  3. NumPy Array Indexing and Slicing

    NumPy arrays support multidimensional indexing, boolean masks, and fancy indexing that go far beyond what plain Python lists can do.

2019

  1. NumPy Tutorial for Beginners: Arrays

    Learn NumPy arrays in Python: install NumPy, create arrays from lists, built-in functions and random numbers, and reshape vectors into matrices.

  2. Supervised vs Unsupervised Learning

    What machine learning is, how supervised and unsupervised learning differ, and when to reach for each one with working Python examples.

2018

  1. Python Recursion and Hash Tables Explained

    Understand recursion with the base case, then master hash tables (Python dictionaries). See how memoization combines both for efficient algorithms.