Developer Diary, Day of UN Peacekeepers
Today celebrates the International Day of United Nations Peacekeepers, paying tribute to those who have served in peacekeeping operations.
If you wonder why you canât contact your American colleagues, we also celebrate Memorial Day on the last Monday of May, honoring military personnel who died while serving the country. The media prefers to explain it as âthe unofficial start of summer,â because theyâd just as soon not remind us that the wars that invariably benefit their parent corporations have a human cost to them, but do want to remind us to start shopping for barbecues and trips to the beach.
Since I canât think of much to say about that, Iâll move on to programming.
Entropy Arbitrage Newsletter
For those of you interested in such things, Iâll have the next issue of the Entropy Arbitrage newsletter ready to go on Saturday the third.
If you have signed up on Mailchimpâthough I donât quite trust the companyâyouâll get the e-mail on Saturday. If you have subscribed on Buy Me a Coffee (the link in the previous paragraph, the Follow button to the upper-right of the page), youâll get it on Tuesday morning, the sixth of June, because I never publish blog posts on Tuesdays, making that a nicer match than Saturdays.
What will you find inside? For May, I wrote a piece on the visual design of alternate universes, talked a bit about the current state of job-hunting, a maybe-final update on a side-project, and media consumption skewed toward honoring Asian American and Pacific Islander Heritage Month. If you have joined as a member on Buy Me a Coffee, then you can already see previews for some of that.
Periodic Scripts
GitHub - jcolag/periodic-scripts
Iâve finished my first pass of archiving at least the most modular scripts that I have, adding an empty configuration file, and providing some bare-bones documentation. Currently, the repository contains three scripts.
Youâve seen diary.sh
previously. It generates the ârecord fileâ for my nightly journal, which forces me to recall my day. The files increasingly also serve as data for my Morning Dashboard.
You have probably not seen editor.sh
, however, a script that takes a few steps to determine the systemâs default handler for a text MIME type, and opens that editor. I wonât get into the detailsâpartly because I donât understand themâbut for a while, the text editor installed on my system stopped working, so I began using an alternative. I have scripts that open certain files on startup and every morning, and it grew tiring to update the scripts to choose the correct editor, so I created something to do it for me.
Finally, you have also not seen night.sh
âŚor actually, you have seen the code, in my post on changing day/night mode at sundown. This takes that code and builds it into a standalone script. If you supply it with an optional parameter, it switches everything (that I could find) to night mode; without the parameter, it switches everything to day mode.
Mastodon Tool Trunk
Work on the Rummager continues as usual, though not much that I would call exciting.
Earlier in the week, a lot of the styling and layout settled down, including making the buttons more compact by preventing the contents to a separate line (white-space: nowrap;
), giving the âpreview cardâ of links a distinct style, and preventing header information from wrapping to another line.
The HTMX now sits in the project, as well, so that I can begin experimenting with it. As Iâve mentioned, if it can reduce the work involved with getting the buttons and other features working, Iâll gladly take it over building everything from scratch or adding a compilation step to this code.
Boring CSS
As befits the name of the project, I only had one small change.
Somewhere along the way, the default text color for a textarea
element became a light color and, because I donât often use many multi-line edit elements, I didnât notice that it had no contrast for many cases.
As a result, I changed the text to the neutral color used by other text, so it should look fine against most backgrounds.
Next
Because I may become busier than usual over the next couple of weeksâyou might detect my letting the reason slip earlier in this postâI may put a lot of projects on a brief hiatus and spend most of my discretionary GitHub time clearing out the backlog of library updates.
Credits: The header image is Blue helmet by Daniel KoĹĄinĂĄr, released into the public domain.
By commenting, you agree to follow the blog's Code of Conduct and that your comment is released under the same license as the rest of the blog.
Tags: programming project devjournal