Well, that could have gone better

My home linux box has been bugging me to upgrade from Kubuntu 19.04 to 19.10 for a while (Kubuntu version numbers are the last 2 digits of the year followed by the two digit month, so 19.10 is approximately 2 months old). Usually these upgrades go pretty smoothly so I fired it up and went away for lunch.

When I got back, it was complaining about something wrong with the MySQL upgrade. None of my MySQL based websites (this blog, my Drupal sites, and my old Gallery3 site). After rebooting, I couldn’t get MySQL to start up.

I removed and purged all the MySQL packages, and reinstalled it. When I attempted to restore my database from my backups, I discovered three things:

  • I’d done an old development project several years ago that had installed something for Paypal integration that the new version of MySQL didn’t like, and I basically had to edit it out of the database backup to get it to restore.
  • Restoring system tables that mysql_dump had dumped broke everything, because it installed a MySQL 5.7 version of the mysql.users table that had fewer columns than MySQL 8.0 expected. I had to manually edit all the system tables out of the database backup as well.
  • When I manually recreated the users that each of the websites required, it turns out that the default authentication method that MySQL 8 uses is not compatible with what PHP expects. I had to re-create the users specifying the older authentication method.
  • Drupal 7 is not officially compatible with MySQL 8, so I had to find and install a patch. I guess I’d better find the time to upgrade Drupal as well.

Other than that, my main worry is that it deleted a bazillion deb packages that it said it didn’t need any more. I didn’t look at them in detail, but one of them was PostGIS and I had to re-install it so my Navaid database would work again. I guess I’ll just keep an eye out for broken stuff and fix them as they show up.

What’s going on with Yahoo?

Ok, I’m really confused about what’s going on. I’ve been bombarded all night by emails with yahoo verification codes from somebody attempting to log into my yahoo account (which I only have for testing email to my mailing list) from Minnesota.

I looked up my yahoo account on “have i been pwned” and it shows up on breaches of sites I am 100% sure I’ve never used my yahoo account on, like Evony and MySpace, as well as a bunch of hackers.

So I changed my password (which caused me to get another email to my real email address with a verification code, which interestingly was 4 characters instead of the 8 characters that the ones from Minnesota have had). But also interestingly, you only get the verification address after you’ve entered a correct password. Ok, maybe one of those breaches included the correct password. But I also checked my “account activity” and didn’t see any other logins.

So imagine my surprise when I continued to get verification codes. Somebody is still getting to that stage of the login even though I’ve changed my password? How?

I checked the verification emails and they look legit. All the links go to actual yahoo domains. The JavaScript that’s embedded doesn’t look like it redirects any clicks. And I did not click on them, I went directly to yahoo.com.

I checked all my account settings. There are no other email addresses or phone numbers in the account, nor is my email being forwarded somewhere. The only weird thing is that there are absolutely no messages in the Archive or Spam or Inbox. Last time I logged into this account (many months ago), there were literally hundreds of spam messages. Also, there seems to be a very long delay between a test message being sent and it arriving in my yahoo mailbox.

I am completely baffled as to what’s happening. Is my yahoo account completely pwned and being used by somebody else, or the verification emails bogus and I’m concerned over nothing?

Maybe back to the drawing board…

I had this idea for an app to handle registration and results for kayak races. I had the following requirements in mind:

  • It must work when off-line
  • It must work on laptops and tablets
  • Preferably, it will sync up with a server when it is on-line
  • It must not require any installation or other technical futzing around because my target audience (the people who run kayak races) are not all very technically sophisticated.

After that, my idea was to make a proof of concept, and incrementally improve it as I got more ideas and maybe got some interest from others. I also wanted it to be a web page (with supporting JavaScript and CSS files), one that I could just give people a zip file and they could unzip it and open index.html in their browser and be good to go.

I discovered PouchDB, which would take care of the storing information locally in the browser when off-line, and also would sync to a server when it came time to do that. And so off I went programming away. My little proof of concept was humming along, it could accept registrations and display and edit existing registrations, and I was well set to add results entry and display, when I thought to try it on the bane of every web developers lives, Internet Explorer.

First problem: IE reports the ‘fetch’ is not a valid function. Fortunately, the documentation for PouchDB warns you about that, and says to install a polyfill. So I install it, and now IE reports ‘Promise’ is not a valid function. Hmm, no mention of that in the PouchDB docs that I can find.

Can I just mention as an aside that the PouchDB docs do say that it supports IE 10 and IE 11? Yeah, about that…

Thanks to an answer on StackOverflow, I find another polyfill for Promise. Now IE reports that you can’t use IndexDB on web pages that are loaded as files rather than as URLs. Not sure what to do about that except tell people to stop using IE. It appears that with my polyfills and stuff, it does work in Edge, at least. Small mercies.

Video stuff

I found a really cool Final Cut Pro plugin that puts a motion tracked point on your video and builds out a title that moves with the tracked point. I’ve experimented with it a bit and I think I’ll be able to use it to point out people and other points of interest in my videos. The only problem I’ve found with it is that if the point you’re tracking is even briefly obscured, it will lose tracking and its mind.

2018 Look Back

2018 started out pretty shitty. I was unemployed, and my unemployment insurance had run out. Depressed due to the long employment search and other things, I started the year out of shape and overweight, only to be hit with two massive bouts of sickness that pretty much wiped out my winter training and dieting, meaning I hit the racing season with very few miles under my belt and a lot more fat under there.

I got a job in February, and while it was interesting the pay was quite low – I’d actually earned more as a full timer with benefits in 2001 than I was earning as an hourly contractor with no benefits at this job. So midway though the year I left that job for another which paid much better. I hate to be a job hopper like that but the difference in pay was hard to believe.

Because of the reduced financial circumstances this year, I didn’t do a lot of the “away” things I’ve done in previous years – no TC Surfski Immersion Weekend, no Canadian Surfski Champs, no Gorge, no Lighthouse to Lighthouse. Instead I concentrated on doing as many NYMCRA races as possible, even camping out to save money instead of getting hotels for away races. I did several races I’ve never done before, including the two days of Madrid and the lovely Blue Mountain Lake race.

Even better, the USCA national championship races were held in Syracuse. I had two really good 10 mile races – unfortunately both races were 12 miles. Both times I lead a pack of racers for the first 10 miles, then faded and got passed by all of them in the last 2 miles. Definitely something to work on this year.

I started the season completely out of shape with the intention of racing my way into shape, hoping to peak with the USCA Champs. It worked pretty well, and in spite of my tactical errors there, I had a really good race at Long Lake. I was hoping to continue with the final race of the season, the Seneca Monster, but it got cancelled.

In other good news, I really dialed in my video production workflow, aided by the fact that I now have a high end iMac. Also, I got a really amazing carbon fibre GoPro mount for the front of my kayak – not only lighter than my older aluminum one, but also more aerodynamic. After the end of the season, GoPro released a new camera, the Hero 7 Black, with a much touted “Hyper Stabilization” mode. I bought one and tried it out and it is pretty amazing. I can’t wait to use it for races next year.

I also bought a new boat – I did some side work for a pilot friend of mine and used part of the money to buy a V8 Pro, a more stable boat than my V10 Sport, but still pretty fast. During interval workouts on the bay, I found I could just put the power down instead of bracing and trying to keep upright.

One of my daughters got engaged this year. I really like her fiance and they seem really good together.

Both of my parents had health setbacks this year. I think this coming year’s travel plans will have to mostly involve visiting them.