Taking its date from the birthday of Argentinian composer and conductor Julio de Caro, at least Argentina marks Tango Day today, celebrating the genre of music and dance.

Julio and his orchestra

And I suppose that we can try to dance our way into the project updates. No? Well, get your own blog and see if you can do betterā€¦

Mystic T-Square

GitHub - jcolag/mystic-t-squareA possible game. Contribute to jcolag/mystic-t-square development by creating an account on GitHub.

As mentioned in last weekā€™s developer diary post, I needed to fix some minor issues to wrap up my (ever so brief) return to the game. These changes provide the ability to test the results of answers to trivia questions, along with explicitly completing each turn.

As mentioned, these adjustments and shifts shouldnā€™t change the existing behavior of the gameā€”please notify me, if you find a problemā€”but it should make it less convoluted to eventually wire in an algorithmic opponent, since the infrastructure exists to test which player has a greater chance of benefiting from a given choice.

Periodic Scripts

GitHub - jcolag/periodic-scriptsAn archive of daily (or similar) scripts that John uses to maintain processes - jcolag/periodic-scripts

My light-/dark-mode script improves the sequencing, for better maintainability, refers to a more readable dark theme in a restricted color spaceā€”specifically, with Redshift turned on and me wearing red glasses to reduce blue and green lightā€”and notes that opening gnome-control-center might no longer serve a purpose for most systems.

Some readers might find it at least mildly interesting that I believed that I had more changes to go out for these scripts, since I had changed several of them recently. However, it turns out that I changed them in the repository and published the changes, rather than updating my local versions. As such, I did have some work to do, but not work that shows up in the repositoryā€¦

Entropy Arbitrage

GitHub - jcolag/entropy-arbitrage-codeThe Jekyll blog for https://john.colagioia.net/blog - jcolag/entropy-arbitrage-code

Iā€™ll talk about documentation updates below, but I cleaned up the overview for the repository, some.

More interesting for most people, however, I have decided to add unrotāˆ™link enhancements to the blog. Specifically, if an old post links to a page that no longer exists, the service will automatically check to see if a copy exists on the Internet Archiveā€™s Wayback Machine andā€”if it finds somethingā€”silently redirects you there.

If youā€™d like to try it for yourself, I found my first test case of an outdated link in an early postā€”itself outdated, now that I think about itā€”about software that I have published up to that point, under the Class Management section. In the second paragraph, youā€™ll find a link to a tool called antiword, whose website has vanished or moved. While I have not touched the post, and the link itself points you to a not-found (HTTP 404) error, if you click the link, though, instead of copying and pasting it, then the script will bring you to the copy of the page archived in February 2020, when I published the post.

Of possible interest, Iā€™d like to draw attention to the fact that it picked a version of the page that matches the age of the post, despite the link itself having no metadata for that. That may not make sense for every application, but I appreciate that it went to that trouble.

Years ago, I used a browser plugin that did something similar, but I vastly prefer it if the blog itselfā€”with access to a serviceā€”does the work for readers. If the service starts to look at all shady, Iā€™ll try running a local instance of the service and redirect through there. But I canā€™t see how Remy Sharp could plan to violate privacy worse than the news and social media sites that I have sometimes needed to link toā€¦

Thorough (JSON Resume Theme)

GitHub - jcolag/jsonresume-theme-thoroughPlaceholder experiment with Handlebars.js. Contribute to jcolag/jsonresume-theme-thorough development by creating an account on GitHub.

I have briefly returned to this rĆ©sumĆ© layout, becauseā€”as my colleague pointed outā€”the generated PDF file didnā€™t come out as a standard page format in every case, preferring some long sheet that I canā€™t identify, in one scenario. To fix this, I added a style to force the page size. Apparently, you can use units in here, if you want exported HTML on some custom-sized card.

@page {
  size: letter;
}

It looks like I can also use this block to set a page margin, so that the non-first pages donā€™t start right at the top of the page, but that fouls up a lot more of the remaining formatting than I like, so itā€™ll require more experimentation to decide what to do, there.

Picture to Nonogram

GitHub - jcolag/picture-nonogramGenerate a nonogram from a picture. Contribute to jcolag/picture-nonogram development by creating an account on GitHub.

I donā€™t have anything exciting to report, here, honestly.

In short, though, when I originally published this repository, I did so with a ā€œplaceholderā€ stylesheet, so that anybody who wanted to use this game for another purpose could drop the project into place without giving it much thought. However, making that choice means that I need to keep track of my ā€œcustomā€ stylesheet separate from the rest of the repository, and it probably doesnā€™t actually save anybody any time to have a white background instead of a blue background.

Therefore, the code in the repository now includes the stylesheet that I use for the Daily Nonogram.

Documentation Updates

I didnā€™t have much time for code, as you can guess, but I realized that some documentation had fallen out of date, so I spent some time updating README.md files for the following.

  • Mastodon Tool Trunk, which no longer suggests that I never got the scheduling/posting script to workā€”I use it every weekā€”and now describes the parser that I use to drive the scheduler.
  • Entropy Arbitrage (part 1), cleaning up some verbiage and introducing the existence of the aforementioned unrotāˆ™link client code, in addition to cleaning up a lot of the phrasing.
  • Entropy Arbitrage (part 2), clarifying some verbiage and no longer hedging around updates.

I should probably take some time to do this for more repositories, but I use these often enough to have noticed the problems, and so started there.

Next

As we close in on the end of the year, I honestly donā€™t know what Iā€™ll work on. After a few days of testing on the blog, I may see about the difficulty of adding unrotāˆ™link to my Twitter and Pebble archives. Pebble may not make sense, since I probably only ever linked from there back to the blog. By contrast, tweets have pointed to all sorts of placesā€”tens of thousands of links, by a quick countā€”but each tweet has its own page, making inclusion of the client script significantly more difficult.

I may also look into adding a step to the blogā€™s rebuild-and-republish script to extract all external URLs for the most recent post and direct the Internet Archive to grab a copy.


Credits: The header image is Orquesta tipica julio de caro by an unknown photographer, in the public domain due to expired copyright.