Plurrrr

Fri 19 Dec 2025

Some small changes to tumblelog

In the evening I pushed a new version of tumblelog to GitHub. Most of the changes I had done in the evening but the Docker related ones I had done earlier. The complete change log is as follows:

  • Pin Alpine version to avoid gcc 15 issue in perl.Dockerfile
  • Pin versions and optimize sass.Dockerfile
  • Make sass.Dockerfile distroless resulting in a smaller image
  • Use say instead of print "...\n"; in tumblelog.pl
  • Obtain current year using year method in tumblelog.pl
  • Optimize create_tag_pages by using a defaultdict in tumblelog.py
  • Use meta.get('id'); more Pythonic, in tumblelog.py
  • Use f-string in get_tag_path in tumblelog.py
  • Use generator expression instead of list comprehension tumblelog.py
  • Use groupby from itertools in create_tag_pages in tumblelog.py

I also posted an announcement to the Usenet group comp.lang.python. Yes, I am back on Usenet after like 15 years or so. It's still not dead but not much traffic. Some of the groups I was subscribed to in the past hardly get any messages if any.