Posts

Image
The Cult of LEGO by John Baichtal My rating: 3 of 5 stars This book caught my eye as the cover screamed out to me from the shelves as I was spending the day working from the local public library, and I just had to check it out. There was a lot of interesting information on the history of the LEGO company, its place in Danish culture, and about the different kinds of builds done by various types of Adult Fans of LEGO (AFOL). Perhaps it is just the nature of the beast for a company that continuously updates multiple product lines but, unfortunately, having read it 12 years after its publishing date, much of the information felt dated. It got frustrating finding that the overwhelming majority of the URLs printed in the book led either to 404 errors or "this domain up for sale" squatter pages. The section on LEGO software was the most dated, with virtually all of the listed software being discontinued. [One nice exception was, as I write this, for a LEGO photo mosaic making so

Sara Sleep Talking Quotes, Part 29

My hand. The X ray of the hand. That's it. The snake. It's gonna bite ya! - Sara, November 17, 2018

Sara Sleep Talking Quotes, Part 28

Hey! Oh, I don't know. - Sara, November 15, 2018

Making REST Calls Retryable in Biking Weather Suitability Forecast Application

One frustration I had noticed with my Biking Weather Suitability Forecast Application was that I found it often would not show results until I reloaded the page, and a look at the application logs showed that the REST calls to one of the APIs called had failed or timed out. After doing some research into using Spring's Retryable options for methods, I decided to make the DailyReportCollectionService method getCurrentDailyReports() retryable, so that it would be attempted a second time after a one second pause if the first try didn't succeed in returning complete data, with a third and final attempt made as the " Recover " option. First, I added the following two required dependencies to the dependencies section of the application's pom.xml file. <dependency> <groupId>org.springframework.retry</groupId> <artifactId>spring-retry</artifactId> </dependency> <dependency>

Adding Verbal Warnings and Time Quotas Configurable by Account for Forced Logouts in Programmatic MacOS Parental Controls

Building upon the original Restoring Forced Logouts Removed from MacOS Parental Controls , the original refinements , and the New Year updates to them, I have since added code to add the following features. Give two verbal warnings about (approximate) time remaining before forced logout; and Make the minutes allowed per day a configurable property which can be customized for individual accounts. The first was added as a courtesy to our boys. The second was added to allow cutting back or eliminating hours for each boy individually if they didn't complete their list of basic daily tasks to be done to be allowed the full amount of computer time for the following day, or to increase it for sick days and the like. Making it a property also allows changing it on the fly, without having to alter the code, and also eliminates some very inconvenient hard-coded values. The properties were added to the end of the application.properties file. At the same time, I added a missing J

Sara Sleep Talking Quotes, Part 27

Hey, where are you going? Come here. - Sara, November 15, 2018

Website FINALLY Adapted to Apple Silicon

Back in March, I took advantage of a sale at Costco, advanced the inevitable update, and bought a blue-colored iMac. With its Apple M1 chip , after reinstalling essential packages using Homebrew , I had to make multiple changes to the Apache and Tomcat server configurations to allow my website, and the Tomcat server serving the biking weather suitability forecast application, to work properly again. Since these explorations - including a dead end trying to switch from using Apache to Nginx for the web server, given what seems to be the trend and the latter's apparent strength being reverse proxy work - were done very sporadically, it took me until this month finally to get it right. One thing I am glad I did relatively early in the process was to make the new configuration folders git repositories, so I could review the history of document changes and, more importantly, reverse them if needed. This was done using the following steps for the Apache (httpd) folder: cd /