A use case for Python assignment expressions
Blog comments via Mastodon
I’ve replaced my Disqus comment integration with a Mastodon-powered solution. On posts where I’ve enabled comments, you’ll now see a “Load Comments” button and a “Reply” button, both of which talk to the Mastodon API.
Adding commenting to a static site is an interesting puzzle.
I like writing tests
From Sublime Text to Visual Studio Code
Welp, I did it, I switched from Sublime Text to Visual Studio Code. Sublime Text was my primary editor for many years, but I’ve moved on!
The care and feeding of tickets
I can be kind of a stickler about leveraging the ticket/issue tracker in software projects (which always seems to be Jira these days, but nevermind that). I write tickets carefully; I link to related issues; I add comments to note the status of work in progress, or to record info that’s important to the work to be done.
Static files for Python apps behind CDNs: WhiteNoise
(Note: this post presumes you have, or want, a CDN in front of your site, which not everybody does. If you are satisfied without one, this post may be moot for you.)
I recently came across WhiteNoise, “Radically simplified static file serving for Python web apps”.