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.Dockerfiledistroless resulting in a smaller image - Use
sayinstead ofprint "...\n";intumblelog.pl - Obtain current year using year method in
tumblelog.pl - Optimize
create_tag_pagesby using adefaultdictintumblelog.py - Use
meta.get('id');more Pythonic, intumblelog.py - Use f-string in
get_tag_pathintumblelog.py - Use generator expression instead of list comprehension
tumblelog.py - Use
groupbyfromitertoolsincreate_tag_pagesintumblelog.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.