Nonzero Chance
Development Blog
An Ill-Advised Introduction to vi
This week of class they’re going to have people actually use vi for a little while. I suppose they’ll at least learn how to quit it!
2nd Course Project, Insomnia
We're using a development tool for web-based APIs called Insomnia. I reasoned NuCamp will want me to submit an Insomnia config file with all my endpoints so I collated a list. Across 8 endpoints my…
NuCamp Bootcamp 2nd Course Project
I’ve start worked on the bootcamp’s 2nd course’s term project. We've picked our conceits and set up our Postgres databases; now we're using Flask + SQLAlchemy to author RESTful python middleware which…
The Limits of Testing
I’m wrapping up work on my term project, and learning an essential lesson about software development in the process. I've caught several tricksy bugs, some of which there's no way to test for with…
Python as a Pocket Calculater: the datetime Module
My favorite pocket-calculator use of Python is date math. The datetime library can be used to calculate the difference between two dates & times. For example: >>> import datetime >>> print(datetime…
PCRE Cheat Sheet
A cheatsheet for Perl-compatible regular expressions, useful with any language that uses them. (Python's re library does.)
Mastodon Profile Scraper 1
I’ve returned to my mastodon profile scraper, arachnea.py, and am writing a new version for the new mastodon web interface. Eugen has rewritten the interface to be dynamic and JavaScript-dependent.…
ExtremeProgramming Influences
I cut my teeth on ExtremeProgramming, a predecessor to AGILE that was promulgated by the Portland Pattern Repository in the early '00s. Among the habits I still retain are refactoring for clarity and.…
Vim Tip, Increment/Decrement
In vim command mode, the command ^A will find the next integer on the current line and increment it by one. The command ^X does the opposite; it finds the next integer on the line and decrements it by…
Term Project Progress
I'm maybe halfway into my term project. I've written most of the supporting libraries, which are straightforward. I've wanted to encode D&D into code for years, that's easy. Now I have to write the…