Aaron's blog

Drupal upgrade to version 9

By aaron.axvig, Tue, 06/16/2020 - 11:13

This went OK.  I had some tangles with incompatible modules, almost surely my fault for doing things wrong. Fixing it was a good way to become more familiar with composer and the Drupal module system!

To get Drupal upgraded I edited the composer.json file manually to remove the Matomo module, which was a bad idea.  I suppose it was using its versioning info to signify that it was not compatible with Drupal 9.  So once composer no longer knew that I wanted the Matomo module it was happy to upgrade to Drupal 9.  But Drupal's internal config still knew that I had the Matomo module installed.  Eventually I figured out how to uninstall with the Matomo module with drush, but only after figuring out a workaround for a bug with the module uninstaller.  BTW the Matomo code was no longer in the modules/contrib folder on my server and composer refused to install it since it was incompatible with the already installed Drupal 9, so I had to manually download the Matomo module code into that folder in order to be able to run the drush command to uninstall the module.

Then I found that I had similar problems with two other modules: popular_tags and tagclouds.  Fortunately I WAS able to add and remove those at will using composer as I was learning that I needed to uninstall them using drush, and they did not have any uninstall errors.  I actual wrote this up backwards--I think I figured out the Matomo module after solving the issue with these other two.

It would have been a lot easier to disable/uninstall those modules in the Drupal admin pages before upgrading!

Tags

Bahamas: Great Harbor Cay to Norman's Cay

By aaron.axvig, Tue, 04/21/2020 - 11:26

Better late than never to write about what we did in the Bahamas...

Our first day in Great Harbor Key we went and talked to Rhett and Deb on SV Twin as we recognized them from the marina in South Bimini (and they have the same model boat as we do).  They were planning to move around a point about 1/2 mile away and we decided to move with them.  We would be more protected from the winds for the next day or two.  Then we went to walk around town.  There was a wild preaching sort of thing going on in the city park, sort of like slam poetry maybe.  The one lady was rhythmically shouting (rapping?) into the microphone and a few others were gathered around.  They had their maxed out PA system pointed outwards so everyone could experience it!  We went to a little restaurant on top of a hill and had some OK food.  We also bought a few things at the relatively well-stocked grocery store.  Then that evening we went over to their boat for supper; I was a little late as I took the dinghy to the marina to get the MyIslandWiFi hotspot unit.  The cut through rock into the harbor is pretty neat.  It was dark on the way back and I had the dinghy lights on.  As I was about halfways back to the boat (a couple miles trip) I felt a wake.  You can tell from the feel of the waves how recently the wake was made, and these felt very recent.  And then I smelled exhaust.  So basically some maniac with no lights on buzzed right past me in the pitch dark.

The next day we decided to go to the beach on the island.  As we rounded the point on the way to the dinghy parking area the waves really picked up.  We were very glad to be anchored on the calm side!  We walked about 1.5 miles to the east side of the island and played with Louise there for an hour or so.  The sand was soooo fine!

We spent one or two more nights there and then went with SV Twin and SV Make Way to Hoffman Key.  We had a really nice sail to there.  Aaron and Rhett went to check out the blue hole.  The anchorage was just OK as there was some surge that made the boat rock in funny ways all night.  Then we motorsailed to Nassau where we fueled up and anchored a bit west of the conch shacks area.  We stayed there for several nights while some wild winds blew through.  We walked a long ways to do laundry one day, went to the grocery store another day (very nearly stocked and priced as well as an American grocery store), and ate at the conch shacks.  Overall we enjoyed it there, despite having heard many bad things.

Then we motorsailed over to Allen's Cay.  We anchored there for a few days and had an amazing time snorkeling and paddleboarding around the boat, exploring some nearby reefs, checking out the iguanas, and just really loving the incredibly clear water and sunny days.  Rhett and Matt had their spears out at one of the reefs and some snorkelers from a tour boat were very upset that we would fish inside of the national park where it is prohibited.  They didn't believe that the park starts about 10 miles south of where we were...probably thought all of the Exumas were in the park.

Our next stop was Norman's Cay.  There were quite a few boats in the channel there but we easily found a spot near the mostly submerged plane wreck which is a very popular snorkeling spot.  So we did some snorkeling and spent a few nights there too.  A big front blew through and one night at about 2:30am our anchor alarm went off.  I quickly determined that it was NOT a false alarm and that we were indeed on the move.  As I popped up on deck and got the engine started our anchor rehooked and we swung sideways into a sailboat that had previously been a few hundred feet behind us.  I was able to drive ahead into the 35-40 mph wind then and keep us ahead of that boat while Anna pulled the anchor up.  Then drove in the dark and crazy wind and two foot waves back to pretty near our old spot and were able to anchor again.  There was no sleep until the wind finally started to abate later in the morning.  As for a root cause, I think that the anchor plugged up with grass and therefore did not handle the 90 degree change in wind direction well.  We talked to the other boat that afternoon and they didn't really have any damage other than some very scared kids.  One of our stantions was bent a little.

Also that night a charter catamaran had one of their lazy jacks break so their mainsail was flying around in the wind.  And then their anchor must have drug too because they were driving around.  Eventually they got re-anchored but still couldn't figure out how to get the sail under control.  They asked for help on the radio but no one was willing to go help them in the dark...I'm certain it would have been different if there was a significant risk of harm to them.  Eventually they figured out that they could lay on the sail and once it was light out and slightly calmer I went over to help them out.  The front end of the dinghy was VERY light in the high winds, definitely a risk of flipping in those sort of conditions.  Once I got there I used an old reefing line that I had brought along and laced their sail down to the boom.

One morning I went with Rhett, Don, and Matt to spearfish at a reef maybe a couple miles south.  It was pretty hard to find as no one had brought any electronic navigation devices but eventually we found it.  It was mostly 15 feet or more deep and there was a pretty strong current.  Don speared a fish and was hollering for us to hurry up and get him because a shark was trying to get the fish from him.  There were lots of barracuda around there too, and I really did not like snorkeling in that spot.

At all of these places we were trading nights hosting dinner with Rhett and Deb on Twin, Matt and Laurie on Make Way, and Don and Mary on Lovely Lady.  It was a very fun group!

Leaving the Bahamas

By aaron.axvig, Tue, 04/21/2020 - 11:07

About a week ago we decided that it was finally time to leave the Bahamas.  We had basically been sitting on the boat for three weeks as more and more restrictions were put in place.  I don't remember all the details but it was a progression: first all gatherings were prohibited, then all beaches were closed, then more and more until we were literally forbidden from leaving our boat for any purpose.  Grocery delivery was to be arranged with a $150 minimum and $15 delivery fee.

Every time a new restriction was announced it was always slightly open to interpretation so the situation was changing every day as different officials were asked questions.  There were many interpretations of whether travel back to the US was allowed, with or without stops to sleep, refuel, get groceries/water, etc.  I was very stressed out and losing a lot of sleep.  Most recently they did publish guidelines to answer some of those questions, which also included a line "encouraging boaters to return to their home country".

So we eventually came to an agreement that we would start the return trip on Friday.  Then Anna found out that she had a role in a murder-mystery held via VHF radio on Saturday night so negotiated that we would leave on Sunday.  But the weather window was too good starting on Friday and we found friends on SV Keelin It that were also going back to the US on Friday.  We were talking to them at 10:00am on Thursday and they were 60 miles north in Staniel Cay.  We quickly decided to leave at 11:00am to make it 50 miles to Blackpoint and then we would be caught up to them if we just left a little earlier than them on the next morning.  So we got off the phone with them and then quickly prepared to leave.  Aaron had just gotten the steering system repaired the evening before and half of the steering pedestal remained to be put back together!  But we did get everything done and leave at 11:00am as planned.

Another friend, Eric on SV Medicinal, joined us for that trip up to Blackpoint.  We had a nice motorsail for the first half of the trip and then the wind died out and it was just motoring.  We passed through Dotham Cut just as the sun set over the beautiful "White Horses" cliffs.  The cut was in full ebb flow at about 3 knots against us and even with hardly any swell in Exuma Sound it was developing a two-foot "rage" as they call the tide rips here.  Pretty exciting.

We motored north Friday morning at sunrise and Keelin It popped out of the Staniel Cay harbor to join us as we passed by.  We soon turned west to follow the Decca Channel over to the Tongue of the Ocean and then followed that north.  As dark settled in we could see the glow of Nassau to the northeast and a few of the smaller towns on Andros to the west.  We pretty much always had 8-10 knots of wind at our backs so had the motor running just above idle to keep our speed in the 5-5.5 knot range.  I was very nervous about fuel levels as I hadn't filled the tank to overflowing but was "pretty sure" it was basically full when we left George Town.  "Pretty sure" feels a lot like "pretty dumb" when you are out with no land in sight!  Our fuel gauge does not give very good readings when the tank is full-ish.  Anna reassured me that my calculations made sense and that we should be fine, and by midnight we burned enough that the tank level indications became steady enough to inspire confidence, showing that we had 70% of our 35 gallon tank left and 10 gallons on deck.  We burn about 0.5gph at slow speed and 0.8gph at a fast cruise, so this would easily be enough to motor the whole way if necessary.

And it basically was necessary.  As we passed through the Northwest Channel at dawn on Saturday we turned west which put us on a good angle to the wind so we had the engine off for about four hours, but that was it.  The wind became westerly so we motored into it towards Bimini.  We heard from another boat on the radio that thunderstorms were forecast in the Gulf Stream between 3:00pm and 9:00pm so planned to anchor off of the NE tip of Bimini until those passed.  On our way there a rain shower blew north ahead of us and then built into a nice looking storm.  And then it reversed course and came back at us!  It wasn't too bad, 30mph winds and moderate rain, not much lightning.  We arrived at Bimini at about 6:30 and anchored.  We siphoned our 10 gallons of diesel from on deck into the fuel tank, had some supper, had a nap, and then took off in the pitch dark at 9:00pm.  As we got around Bimini we were welcomed by the crazy glow of lights from Florida only 45 miles distant.  Again the winds were pretty calm so we were motoring, but having basically no waves is very nice too.

We arrived at the Fort Pierce inlet at about 3:30pm on Sunday.  Just outside the inlet I filled out our info for US Customs on their app and received notification that they approved our arrival a few minutes later.  Inside the inlet it was a culture shock as the sand bars were lined with boats and people partying, maybe 80% of them observing any sort of 6 foot separation rule.  We quickly got fuel at the nearby marina and then took off to make it through a bridge that only opens every half-hour.  Keelin It didn't make it through so we turned off the engine and sailed downwind with just the jib at a leisurely pace.  Big center-console boats with three or four 400 horsepower engines were screaming past us up and down the channel (is there anything more American?!) and it felt really good to see such normal activity after 3-4 weeks of sitting there in the Bahamas on crazy lockdown.

Eventually Keelin It caught up to us and we anchored just south of the Vero Beach City Marina.  Anna and I took Louise to land for the first time in maybe three weeks and we picked up some pasta and pizza to go.  It was amazing, not only in taste but also most importantly in having the freedom to get it in the first place.

Death's End by Liu Cixin

By aaron.axvig, Tue, 04/14/2020 - 09:30
Date completed
3 years 11 months ago

This was a great end to the trilogy, featuring some of the grandest sci-fi themes I have encountered.

Completion status
Rating

The House on Mango Street by Sandra Cisneros

By aaron.axvig, Tue, 04/07/2020 - 17:48
Date completed
3 years 11 months ago

I read about half of this book a week or two ago.  Today I picked it up to finish it and only got a few paragraphs in.

The lack of punctuation absolutely kills me.  Most egregious is no quotation marks to show when someone is talking.  But there are plenty of other liberties taken and frankly I just don't like that.

The stories themselves are good enough that I would finish the book if it was normally written.  Reading about "hard" lives isn't exactly of strong interest to me, and at two weeks past reading them I don't really remember anything else about them.

Completion status
Rating

The Dark Forest by Liu Cixin

By aaron.axvig, Tue, 04/07/2020 - 17:44
Date completed
3 years 11 months ago

Very good read!  Plenty of great spaceship-type action, and grand plot strategies that reminded me of the style of the Foundation trilogy.  But also I really enjoyed the sequence where the main character dreams comprehensively about spending time with the perfect woman.

I think I am getting better at processing Chinese names as they were a little easier to remember in this second book of the trilogy.

Completion status
Rating

How I make coffee with the AeroPress

By aaron.axvig, Fri, 04/03/2020 - 07:55
AeroPress and other coffee making things

I was reading some discussion about the AeroPress recently and many people were describing their process.  There are some people who love their coffee in a very precise way!  My process is probably close to the ultimate in laziness (80% of the quality for 20% of the effort).

I use a vacuum mug that is probably 16 oz. capacity.  Over time I have become able to eyeball how much water in the electric kettle will result in the mug being almost full.  So I fill the kettle to a little over the top of the "0.5L" text and start it.  While it heats, I put the filter and grounds (a couple heaping teaspoons of cheap stuff) into the AeroPress.    As the kettle heats up it starts making noise.  After about 10 seconds of noise it is the temperature that will result in an easily drinkable cup of coffee immediately after brewing.  So I take the water and poor it over the grounds, slowly at first so that all the grounds become wet and then rapidly so that they get mixed up more.  If I don't wet all the grounds then some of them tend to stay floating on the surface.

About 70% of the time I do some mixing with the paddle that comes with the AeroPress.  Coffee drips out the bottom and as the water level lowers I add more water, sometimes stirring more.  I let it drip and keep adding water until the kettle is empty.  Then it is time to press; I go all the way to the bottom and squeeze the last bit out of the grounds.  I'm not sure if that is recommended!  If I overfilled the kettle a little this is when I will find out, as coffee dribbles over the edge of the mug.  Then I pop the puck of grounds into the trash, rinse everything, and wipe it down with a paper towel.

Some places where I am probably losing quality:

  • In that discussion many people rinse the filter to avoid a paper taste; I don't do that.
  • It is very common guidance for any brewing method that the water should be heated to just under boiling.  My water is significantly cooler than that.
  • Many people optimize some sort of blooming process; I just go for the full immersion of the grounds right away.
  • I squeeze the juice out of the grounds into the coffee cup and I'm not sure that is a good idea.

Tags

Filename issues when moving from Dropbox to SharePoint

By aaron.axvig, Tue, 03/31/2020 - 16:47

I was recently helping someone with a transition from Dropbox to SharePoint/Teams/OneDrive for Business.  They were running into issues with filenames.  As an all-Mac business there were many files they had created with colons in the file or folder name.  Windows doesn't allow those characters and SharePoint does not appreciate them either.

Some Googling suggested that downloading a ZIP of the Dropbox folder might solve the problem.  I found that when I extracted the ZIP the offending files were just missing.

I ended up creating a droplet on Digital Ocean and syncing the Dropbox folder to it.  Even though it was 20GB and 14,000 files, the sync only took three or four minutes!

Then I set about carefully renaming things.  Thanks to StackOverflow I mainly worked with variations of this command: find . -type f -name "*:*" -exec rename -n 's/:/-/g' {} + It renames all files that contain a colon by replacing that with a dash.  If you have directories that contain a colon then it will fail to rename those.  Run again with -type d to rename those.  Remove the -n to actually make the changes; with -n it just tells you what it would do.  Append | wc -l on the end if you want to count how many issues you have.

Towards the end I was just using find . -name "*:*" to do final checks.  And I checked all the invalid characters.  Some of them require \ as an escape character; for example find . -name "*\?*"

Then you may find out other odd things.  For example, file and folder names cannot start with a space.  find . -type f -name " *" -exec rename -n 's/\/ /\//' {} + can help with that.

For the actual sync I setup Dropbox and OneDrive for Business on the same machine (enable long file names).  Then I used robocopy /MIR to copy files into the OneDrive folder.  After my first run of that, OneDrive started syncing as expected.  Then it got upset about some filenames, which is when I realized that there are additional characters not allowed in SharePoint that are OK in Windows.  It offered to fix those, replacing the characters with an underscore.  Then I found out about the spaces issue and fixed that back on the Linux droplet.  After Dropbox synced I ran robocopy /MIR again to put in those new fixes.  A significant problem with this method is that OneDrive for Business changes the filesize on some Microsoft filetypes so if you have a large amount of those types of files it might cause difficulties.  After the initial robocopy the magnitude of this issue can be quite reduced by using the /MAXAGE parameter to limit the files that it copies to the last few days.

Tags

Trivia via VHF

By aaron.axvig, Fri, 03/20/2020 - 20:15
Our VHF radio

For entertainment tonight we played trivia via the VHF radio. There were about 15 teams playing.

The host read four questions for each round on the radio and we submitted our responses for each of the five rounds in a Google Docs form. At 5 points per question and a bonus point for signing up early we were in the middle of the pack with 31 points going into the final question. We wagered two points!

The final question asked who performed the song that was played at the beginning of the cruisers net this morning.  The cruisers net is also a VHF affair which consists of announcements, comings and goings, buy/sell/trade, and requests for help.  The host typically plays snippet of a song at the beginning of the program.  Of course no one knew that it would be a question in trivia that night, and based on the scores we heard I don't think anyone got it right.  It was '39 by Queen.  Pretty interesting that Queen wrote a folk song like that.  Betting only two points paid off and we tied with one group for third place!

In other business, everything except essential services was shut down yesterday in the Bahamas. It turns out most things that we care about ARE essential services...groceries, gas, water, laundry, and shipping parts (our steering needs some maintenance). And restaurants are doing take-out if we really want some fried food. No big social events is one of the few significant changes for us. And our friend Daniel is not coming to visit for a week as planned (it is interesting that he technically could, but it would be unwise).

We still plan to be in Georgetown until well into April, but that could easily change. Ideally tourism would be encouraged again by then and we would see a few more places on the way back to the US sometime in May. If we want to go back to the US anytime, we are able to, and stopping at Bahamas islands along the way for essential services is OK too.

Tags

The Rothschilds: A Family Portrait by Frederic Morton

By aaron.axvig, Wed, 03/18/2020 - 13:39
Date completed
3 years 11 months ago

Fairly interesting book about the Rothschilds family.  I'm writing this up maybe six months after I stopped reading it, and I made it about 2/3 of the way through.  I guess now I know that there was a father and five sons, they were into banking, had a lot of nice houses/castles, etc.  To many names to remember though!

Completion status
Rating