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 build
during 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.py
script 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?
- Life Sentence | Webcomic
- Riffusion | Somebody fine-tuned the stable diffusion model to generate images of spectrograms which then can be converted into an audio clip 😳
- Scaling Mastodon is Impossible
- I Wish I Could Tell You This One Is Not All About Twitter | This escalated quickly
Weeklogs
- Weeklog for Week 49: December 05 to December 11 | Johannes
- Week in Review 2022-12-12 | Luis
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.
Mastodon / Twitter
Software
- [ANNOUNCE] Git v2.39.0
- pedalboard is a Python library for working with audio | from Spotify
- Django 4.2 supports Psycopg 3 📢 💥 Thanks to Daniele Varrazzo, @apollo13 and Simon Charette for their humongous work 🌟 🌟 🌟 | Yay 🥳!
- 🆕🦀 Just an hour ago, #rustlang 1.66.0 was released! As usual, here's a thread with some of the highlights. 🧵 1/12
- 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
- Postgres - Craig Kerstiens (Django Chat)
- Yoshua Bengio: The Past, Present, and Future of Deep Learning (The Gradient Podcast)
- Episode 75: Podcasting and Philosophy (Hotel Bar Sessions)
- Bits und so #822 (Pablo Escobear) (Bits und so)
- 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.