Posts

Sara Sleep Talking Quotes, Part 31

Paul. Pauley. Leave that alone. Mm hm. - Sara, February 4, 2019

Sara Sleep Talking Quotes, Part 30

Please take this from me, ok? Can you pour one on the table? - Sara, January 19, 2019
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...