Automated updates: 2023-01-09

This commit is contained in:
John Colagioia 2023-01-09 06:40:28 -05:00
parent 76d05c78b5
commit 5526e8c3bc
3 changed files with 72 additions and 2 deletions

View file

@ -1,6 +1,6 @@
---
layout: post
title: Free Culture Book Club — Life Blood, chapters 1 -- 3
title: Free Culture Book Club — Life Blood, chapters 1 3
date: 2022-12-31 07:09:12-0500
categories:
tags: [freeculture, bookclub]

View file

@ -1,6 +1,6 @@
---
layout: post
title: Free Culture Book Club — Life Blood, chapters 4 -- 5
title: Free Culture Book Club — Life Blood, chapters 4 5
date: 2023-01-07 06:22:12-0500
categories:
tags: [freeculture, bookclub]

70
2023-01-09-hoonko.md Normal file
View file

@ -0,0 +1,70 @@
---
layout: post
title: Developer Diary, Hōonkō
date: 2023-01-09 06:59:05-0500
categories:
tags: [programming, project, devjournal]
summary: Progress on assorted projects
thumbnail: /blog/assets/Shinran-Shonin.png
proofed: true
---
Today kicks off [Hōonkō](https://en.wikipedia.org/wiki/H%C5%8Donk%C5%8D) in most Jōdo Shinshū Buddhist communities, celebrating the tradition's founder. It seems to stand in opposition to the theory that early winter and near-longest-night holidays make for large raucous gatherings with plenty of food to metaphorically fight back the darkness and cold.
![A portrait of Shinran Shōnin](/blog/assets/Shinran-Shonin.png "I prefer to believe that this shows a fantasy-franchise dwarf, rather than an older Japanese man on his knees...")
Either way, let's move on to software.
## Ham Newsletter
{% github jcolag/ham-newsletter %}
The [newsletter for December](https://www.buymeacoffee.com/jcolag/entropy-arbitrage-newsletter-december-2022) went out on New Year's Eve, and the following Tuesday. While putting it together, I noticed a new problem: My scripts hadn't picked up any new bookmarks since August.
Investigating, I discovered that this---unsurprisingly, in retrospect---resulted from the change to using the Snap packaging for Firefox. It maintains its configuration and history in a different location, which my script didn't know about.
Since I didn't feel like researching a way to automatically discover the bookmark storage for the current default browser, I took the more expedient route of turning the location into a configuration option. Maybe one day, I'll go back and improve that, but it works for now. And if you've missed seeing the pages that I've bookmarked, I have a bumper-crop of them in a [newsletter supplement](https://www.buymeacoffee.com/jcolag/newsletter-supplement-2002-august-november) to keep you occupied.
I also optimized the month calculation---the awkward two-step, where I jump back a month, if I run the script early in the month, to generate the content for the previous month---outside the script's main loop. It should never run twice, so I don't know how it got inside the loop in the first place.
## Boring CSS
{% github jcolag/boring-css %}
Quick confession: I don't care for CSS frameworks. Don't get me wrong, here. I acknowledge their utility. However, I don't like how they make everything a CSS class, even things that already existed as standard HTML elements. If I need to write something like `<button class="framework-button"></button>`, that feels more like self-service vendor lock-in than the framework helping me.
In addition, I've started thinking increasingly about laying out web pages specifically for readability.
As a result of those two feelings, I've started tinkering with a more straightforward approach to CSS, suitable at least for prototyping. I haven't committed---or *written*---most of what I want, but I have a vision of providing a set of CSS files to mix and match, to create at least a passable user experience, without putting in much work.
This will probably come in three pieces, with options for some pieces.
* Some styles that I currently consider mostly universal, such as focusing the page to a narrow column for more effective reading, and providing plenty of empty space.
* Standard and tested color palettes, such as Solarized or Nord, pre-configured for the page. The palettes should use media queries to automatically implement light- and dark-modes.
* A subset of design languages, such as Material Design or Carbon.
In particular, I want every style in the design language adaptation to target a specific kind of HTML element, so that the styling happens with no work on the developer's part. In other words, I want to use these files to kick off a new project, where I say "this app should adhere to Material Design, but use a Solarized theme," and not need to think about CSS past that point, if I don't want to.
This will require sacrifices, since the majority of a typical modern design language applies to things other than standard HTML controls, such as fonts, icons, and controls beyond the HTML standard. But I suspect that, for a lot of straightforward work, I'll feel more content with a "good enough" design that I only needed to implement once.
## Morning Dashboard
{% github jcolag/dash %}
Early in the week, the **Morning Dashboard** program started throwing a long series of warnings, all the following message.
> Using TZID without Luxon available is unsupported. Returned times are in UTC, not the requested time zone.
It'd repeat that a few dozen times before finishing the task. It made some sense for the code to have so many issues with time zones, given how many maybe-suspect time calculations the program makes. At least, it makes sense *in theory*. In practice, it makes no sense, since none of this code has changed since November, so it apparently decided to bide its time through December, to surprise me in the new year.
Searching around for the error message didn't turn up much insight, but I did detect an occasional undercurrent that the problem no longer exists in whatever underlying library has this problem, so I updated all the JavaScript libraries, while I had to give it my attention.
I suppose that I could've replaced those hundred-fifty words with "I updated some libraries." Oh, well, at least people looking for the error have more direct advice than I got...
## Next
**Boring CSS** seems like the shiniest thing in front of my face, at the moment, so it'll probably get the most attention. I'd like to have at least have a few interesting color palettes and one design language implemented, before I move on.
* * *
**Credits**: The header image is [Shinran Shonin](https://commons.wikimedia.org/wiki/File:Shinran_Shonin.jpg) by an unknown thirteenth century artist, long in the public domain.