Saturday, December 16, 2023
Adafruit Circuit Playground Express as an “On Air” Light
I made myself a super rudimentary on-air light from a gizmo I got in my PyCon US 2019 swag bag, and here’s how you can do it too.
Monday, November 27, 2023
TIL About shlex.split
Today I learned about shlex.split and it’s really cool.
Friday, April 21, 2023
Boolean Properties in Python: A Pitfall
I love using class properties as boolean flags, but occasionally forget the @property decorator.
Thursday, March 30, 2023
Getting Nothing Out of a Python Dictionary
A bit of nuance about dealing with null and missing values in Python dictionaries.
Wednesday, March 8, 2023
Dedupe a List in Python, Slowly
A pretty slow way of removing duplicate elements in a Python list.
Sunday, January 16, 2022
Reversioning mdut
I goofed up the CalVer implementation because I had the dumbs, and now I’ve fixed it. Oops.
Saturday, January 8, 2022
Introducing mdut
I made a tiny tool for generating Markdown URL tags and want to tell you about it.
Sunday, July 18, 2021
Quick and Dirty Python: HOWTO
Let’s build up small Python script.
Wednesday, March 31, 2021
Quick and Dirty Python
Something I absolutely love about Python is just how well it scales from tiny scripts to complex systems. Here’s an example of the former.
Wednesday, February 24, 2021
Introducing Parsenvy
I made an environment variable parsing library for Python, and forgot to tell you all about it!
Thursday, January 21, 2021
Django Site Dispatch, Improved
Turns out I like this problem so much I had to solve it again.
Friday, January 15, 2021
Django Site Dispatch
Django’s “sites” framework is quite cool, but what if you need to make some exceptions?
Monday, December 28, 2020
Python’s dict.setdefault Rocks
Python’s dictionaries are awesome, and I just learned about yet another reason that’s the case.
Thursday, October 15, 2020
Introducing sus
I made a URL shortener with a static site generator.
Thursday, October 5, 2017
✶ Modifying a List in Place in Python
A neat (if questionably legible) trick for modifying a list in place in Python, and a more Pythonic solution for the same problem.
Monday, July 31, 2017
Introducing Starminder
I got tired of forgetting all about my 400+ starred GitHub projects and made a reminder app.
Tuesday, December 2, 2014
Sorting with Randomization
Sorting with pure chance, with some elementary stats.