Weeknotes 2022-12-19
modern js frameworks are only possible in a negative real interest rate environment --htmx.org
Got more stuff done last week - getting better I guess 😀:
- Merged a PR avoiding death by unintentional yield reduction for kptncook.
- Wrote a TIL about changing the owner of objects in a Postgres database after restore
- Wrote a TIL about how to flush the dns cache of a fritz box
- Deployed Takahē and it works 🥳. Now powering @show@python-podcast.de
- Did some work on fastdeploy after quite some time to bring it up to date with Python 3.11 and the latest Vue.js version. Had to fix some bugs (message bus for command line entry points , CORS headers for local development had the wrong port (yay, Vue.js update)). Initially, I didn't want to update Vue.js but it broke on the
npm run buildduring deployment 🙄. After updating all of the dependencies to their latest versions, it magically worked again. Bonus points for the npm error message being completely unrelated (something about failing imports). This has to be the terrific developer experience I constantly hear people getting excited about. - Now using furo as the sphinx template for django-cast
- Updated the
commands.pyscript for django-cast - Released django-cast 0.2.0 which includes all the changes made in the last few weeks (since I'm now sure enough it will probably work)
Articles
-
Enums vs Check Constraints in Postgres
ChoiceField uses Python enums in Django, but there aren't any constraints checked. How hard could it be to add check constraints to ChoiceFields?
-
Webcomic
-
Somebody fine-tuned the stable diffusion model to generate images of spectrograms which then can be converted into an audio clip 😳
-
I Wish I Could Tell You This One Is Not All About Twitter
This escalated quickly
Videos
-
Async Django: The practical guide you've been **awaiting** for with Carlton Gibson - DCUS 2022
The use cases are good, but it does not go beyond the basics.
Weeknotes
Mastodon / Twitter
Software
-
pedalboard is a Python library for working with audio
from Spotify
-
Yay 🥳!
-
django-request is a statistics module for Django
I built something similar (analytics module for django-cast) but trying to move it out of django-cast for some time. Maybe use this instead, or self-host plausible
Podcasts
-
Yoshua Bengio: The Past, Present, and Future of Deep Learning The Gradient Podcast
-
Wie kann für Sie ein kollektiver Weg aus der Klimakrise aussehen? Das philosophische Radio
Brr, I hate it when someone sounds eloquent and reasonable and then makes some really obvious mistake (easy translation error from billions in English to german which is less by a factor of 1000). It's not the mistake that annoys me, but then just going on as if nothing happened assuming something is true which for me is obviously impossible. Bah. And people complain about ChatGPT? This is far worse.