Slopfluencer

Notes › Products and projects

Learning to program through side projects

I learned to program on my own after college, and most of what I learned came from small public projects on GitHub. None of them was meant to be a product. Each was a way to learn one thing, such as a language, a web framework, packaging a library or deploying a server, and to have something that ran at the end.

The habit started in 2015 and never stopped. The early projects are a Python library, a story generator built on Markov chains, a joke website and a URL shortener. After I started building software for a living, the projects became smaller experiments: a bookmarklet, puzzle solutions in C, a Game Boy emulator inside a coding agent and an annotated walkthrough of a small neural network training program. The larger side project from those years, the note-taking app Collate, has its own article at Collate, and my career is in Where I've worked.

Background

I studied economics and mathematics at Columbia, not computer science. In December 2016 I wrote that since graduating I had taught myself programming. I had tried before but never pushed through the tedious parts and always got stuck. What changed was that studying outside of work no longer felt like a chore after going back to school.[1]

My public repositories show what that looked like. The earliest dated work is from September 2015, and through 2016 I started a new small project every few months, often to try a language or framework, such as Go, Flask or Vue.js.

History and timeline

  • Sep 2015: First commit of geckopush, a Python library; version 0.1 goes to PyPI, the Python package index, that month.[2][3]
  • Nov 2015: geckopush 0.3 and 0.4 are released.[3]
  • Dec 2015: First commit of Markov Tells a Story, in Python.[4]
  • Jan 2016: I rewrite the Markov scanner in Go over four days.[5]
  • Feb to Jun 2016: I keep a "today I learned" repository of short notes.[6]
  • Jun 2016: I build shitty.in with Flask, and plee.xyz in a day.[8][9]
  • Dec 2016: I start Collate, a paid desktop note-taking app.[10]
  • Feb 2017: The last commit to geckopush.[2]
  • Jun 2017: megadraftvue, a one-day experiment that renders a React editor inside Vue.[11]
  • Apr 2018: The Optimizely preview killer bookmarklet.[12]
  • May 2020: A small library that pulls blog posts from a GitHub repository.[13]
  • Nov to Dec 2023: Advent of Code puzzles in C.[14]
  • Mar 2026: pi-boy, a Game Boy emulator inside the Pi coding agent.[15]
  • Jun 2026: An interactive walkthrough of llm.c.[16]

The learning projects, 2015 to 2017

geckopush was my first published library. Geckoboard is a hosted dashboard service whose custom widgets accept data pushed to its API as JSON. geckopush wraps that API in Python classes, one per widget type, so a script can build a bar chart or a number widget, add data and push it, or push every widget on a dashboard at once. It is installable with pip.[2] I released three versions to PyPI in 2015,[3] made the last commit in February 2017, and later marked the repository as no longer maintained. As of December 2026 it has 3 stars on GitHub.[2] The repository has its own tests, and my notes from 2016 include how to number setup.py versions and update a package on PyPI.[2][6]

Markov Tells a Story reads a folder of text and generates random sentences from it. It builds a Markov chain, a table that records, for each pair of consecutive words, which words followed that pair in the source text. To write a sentence the program picks a random starting pair and keeps choosing a random next word from the table until no continuation exists. My version stored the table in SQLite.[4] A month after starting it, I rewrote the scanner in Go. The commits record the bugs I hit along the way. One fixed duplicate words being dropped because I had used a map where I needed a list, and another batched the database writes into one transaction to cut the overhead.[5] Writing the same program twice was a cheap way to learn a second language, because the problem was already solved and only the language was new.

TodayILearned was a repository of short notes on whatever I figured out that day, an idea I copied from the public jbranchaud/til repository.[6][7] My notes cover Python packaging and version numbers, importing large MySQL dumps, opening a MySQL server to outside connections, JSON Web Tokens for API authentication, zooming a D3.js chart and spell checking in Vim.[6] It lasted from February to June 2016.

The site shitty.in answered the question "how shitty is your city today?" with a score. A Flask app pulled the subway service status from the transit agency's public feed and the forecast from a weather API, cached both, and turned delays and bad weather into a single number. The readme says the point was to explore Flask, and that the site had no real purpose beyond that. It also documents deploying the app by hand to a virtual server, with the gunicorn application server behind the nginx web server. The commits show me trying Vue.js on the front end and changing Flask's template delimiters so the two did not clash.[8]

The site plee.xyz was a URL shortener with no server and no database. It was a static page hosted free on GitHub Pages, with the short links kept in a JavaScript file, and I wrote it in one day in June 2016.[9]

Collate, started in December 2016, was the first of these that people paid for.[10] In June 2017 I spent a day on megadraftvue, an experiment to render Megadraft, a rich-text editor written for React, inside Vue components; one of the four commit messages reads "Wow, it works".[11]

Small experiments since

Once programming was my job, side projects shrank to small experiments. In April 2018 I published a bookmarklet that removes the overlay Optimizely, an A/B testing service, puts over pages while previewing an experiment. It is one line of JavaScript that finds the overlay element and deletes it.[12]

In May 2020 I wrote a small JavaScript library, bundled with Rollup, that fetches Markdown posts with YAML front matter directly from a GitHub repository, so my personal blog could keep its content in a separate repository.[13]

In 2023 I wrote myself a study plan to fill the computer science background I never had. It followed the Teach Yourself CS curriculum and listed a book or course for each area: Sedgewick's Algorithms for data structures, Computer Systems: A Programmer's Perspective for architecture, Operating Systems: Three Easy Pieces, László Lovász's discrete math lecture notes, Kleppmann's Designing Data-Intensive Applications for distributed systems, and a design patterns catalog. Networking was still "TBD" (personal notes, 2023). Under algorithms I worked through sorting by hand. I wrote selection, insertion, bubble, shell and merge sort in Python with their best, worst and average running times and a line on when each is useful; the entries for quick sort, heap sort and Timsort stayed empty templates (personal notes, 2023).

The same year I read the Rust Book and kept notes on what surprised me. I liked that variables are immutable unless marked mut, that the compiler's errors say how to fix the problem, and that Rust has no null and instead forces code to handle the missing case through its Option type. I confessed to liking match statements, since I cursed Python's lack of a switch statement every time I needed one. The notes end with ownership and borrowing, which they flag as the key concept (personal notes, 2023). For fun I also sketched a joke language that swapped Lua's keywords for street slang, with yo for function, aight for end and facts for true (personal notes, 2023).

In late 2023 I did Advent of Code, a yearly set of daily programming puzzles. I uploaded my 2022 solutions, eight days in Python and two in C, then did the first four days of 2023 in C with a small shared file-reading helper. The commit messages are honest about how it went: "Part 2 is hard?!", "FINISHED DAY 1 WTF" and "holy moly this is ugly".[14]

In March 2026 I built pi-boy, an extension for Pi that plays Game Boy and Game Boy Color games inside the terminal interface. It runs the mGBA emulator through a small native bridge, draws frames as images in terminals that support the Kitty graphics protocol, falls back to colored text elsewhere, and is installable from npm. The readme calls it "a goofy side project" that exists because putting a Game Boy inside Pi sounded funny and then worked. It has 3 stars on GitHub as of December 2026.[15] In June 2026 I published a single-page walkthrough of train_gpt2.c from Andrej Karpathy's llm.c, a small C program that trains a GPT-2 language model.[18] The page puts the code on one side and plain-language annotations on the other, in thirteen sections from the model's settings and its 124 million parameters through attention, the loss function and backpropagation, with hover notes on about 160 individual lines.[16][17] It fits with the deeper work on models described in Adapting language models.

What I learned

Every project above is small, and several were finished in a day. A project that runs end to end, even a joke one, forces the parts tutorials skip, such as publishing a package to PyPI or deploying a web app to a server. Rewriting a solved problem in a new language, as with the two Markov generators, isolates the language from the problem. I also wrote down what I learned as I went, first in TodayILearned and later in the study and Rust notes.

The projects changed as I did. The 2015 and 2016 ones were about learning to write code at all. The 2026 ones build on other people's software: pi-boy wraps an existing emulator, and the walkthrough explains someone else's training program line by line. My editor and terminal setup over the same years is in My developer setup.

Criticism and counterpoints

Most of these projects were abandoned once they had taught me what I wanted. geckopush is marked unmaintained, the study plan has no item checked off, and the sorting notes stop halfway. Learning this way leaves gaps. Eight years after my first library, my 2023 study plan still listed computer architecture, operating systems and distributed systems as reading to do, and networking had nothing planned at all (personal notes, 2023).

Open questions

The 2023 study plan is unfinished, and I have not decided whether a reading curriculum or more projects is the better way to close the gaps it lists.

See also

Change log

  • 2026-12-03: First written, from my public GitHub repositories, my posts on Columbia and Collate, and my 2023 study notes.

Reading

References

  1. ^ From community college to Columbia (post, Dec 2016)
  2. ^ geckopush source code and commit history (GitHub)
  3. ^ geckopush release history (PyPI)
  4. ^ Markov_Tells_A_Story source code and commit history (GitHub)
  5. ^ Go_Markov source code and commit history (GitHub)
  6. ^ TodayILearned (GitHub)
  7. ^ jbranchaud/til, the repository that TodayILearned copied the idea from (GitHub)
  8. ^ shitty.in source code and commit history (GitHub)
  9. ^ plee.xyz source code (GitHub)
  10. ^ Lessons learned from starting a business while working full time (post, Aug 2017)
  11. ^ megadraftvue source code and commit history (GitHub)
  12. ^ Optimizely preview killer bookmarklet (GitHub Pages)
  13. ^ github-markdown-blog-content-extractor source code (GitHub)
  14. ^ advent-of-code source code and commit history (GitHub)
  15. ^ pi-boy source code and commit history (GitHub)
  16. ^ llm.c interactive walkthrough (GitHub Pages)
  17. ^ llmc-walkthrough source and commit history (GitHub)
  18. ^ Andrej Karpathy, llm.c (GitHub)