Shelter-in-Place Journal, Day 334

Soon after I woke up this morning, I thought about ways to make the code I’d rewritten yesterday slightly clearer and cleaner. I resisted.

The rest of the day was pretty quiet; we attended services this morning, talked for an hour with a friend we’d met on the Costa Rica/Panama trip, picked up a wine club shipment at Silver Mountain Winery, walked, and watched some TV before I wrote and edited the photos for today’s installment of the retroblog.

Shelter-in-Place Journal, Day 333

A couple of weeks ago, I made an emergency fix to one of the programs I’d written for Toastmasters. And by “emergency fix”, I mean “kludge”. Unsurprisingly, it broke other parts of the code – I found out about the problem yesterday.

I didn’t think my successor would be able to fix my fix (he’s still learning Python, and this was not very clean code, especially after the fix was in), so I told him I’d do it. Instead of hacking at the code and adding yet more special cases, I refactored it to move all of the access to the WordPress calendar into its own module, preserve only those calendar fields we absolutely need (instead of keeping everything around), and in general, cleaned up the code.

It took longer than I’d like, but I think the code is understandable now. I even added comments in a few places!

Shelter-in-Place Journal, Day 332

The day started with a Toastmasters meeting – one of the speakers had to cancel due to a family emergency, so we finished quite early!

Beyond that, it was a typical day – walking, cooking, eating, editing the retroblog, and watching a little TV. In other words, a day with almost nothing to write about – and yet I’ve written something anyway. Practice makes it all possible!

Shelter-in-Place Journal, Day 331

I’ve been retroblogging our Costa Rica/Panama trip which happened exactly one year ago. Looking at the photos and notes from our trip to Sibö Chocolate made me wonder if I could find their chocolate here in the US.

I found it at Chocosphere near Portland, Oregon – with Valentine’s Day just a few days away, the obvious action was to order a few bars.

They arrived today.

We finished a Cardamom and Coffee bar after lunch today – it brought back nice memories.

It tasted good, too!

Shelter-in-Place Journal, Day 330

I took off the bandage this morning; there was hardly any blood on it. Diane said she thought it didn’t need a new bandage, and the directions from the doctor said a new bandage was “optional”, so I opted out (no photos, sorry not sorry). So far, so good – and thanks to everyone who sent good wishes and prayers! I realize how lucky I am to have caught this one early while it was trivial to take care of.

This morning, my Pushover weather notification had yesterday’s outside temperature instead of today’s. I could see the current temperature on the bedside thermometer display, so I assumed that the Raspberry Pi which gets the temperature and sends it to my Mac had a problem. I was wrong – it was working fine. When I tried to connect to the MQTT broker (Mosquitto) from my desktop Mac, the connection was rejected…but I could connect from the Mac running Mosquitto.

I did a little research and eventually discovered that a recent update to Mosquitto had made it more secure – so that the default behavior was to only allow connections from the machine running Mosquitto. I updated the configuration file to allow connections from anywhere and all was well again. They’d even documented the change as a breaking change but I hadn’t seen it – the update got installed automagically as part of something else. *sigh*