With few opportunities for great adventures, 2021 has been a quiet year on this blog. However my camera did get a run out on Christmas Day, and so I thought I would post some food photography to wish everyone a Merry Christmas and Happy New Year. Here’s to more adventures in 2022.
The wind was cold but the sunshine made for a brilliant walk from Porthcothan Bay Beach to Bedruthan Steps, where I enjoyed a proper Cornish pasty and decent coffee at the National Trust tea room.
Working from home and eating dinner with the little ones at 5pm means I am often foraging in the cupboards for an evening snack. I remembered reading sometime last year that cheese is one of the many culinary experiences you can have delivered to your doorstep and decided to break up the monotony of lockdown with an Introduction Box from The Cheese Collective.
The website ordering process was slick and efficient, and allowed me to state whether I want to exclude blue cheeses and goats’ cheese–handy if you are put off trying traditional selection boxes because of the risk that you will definitely not like a significant proportion of it. The Cheese Collective supply only British cheeses, although the supplied little tasting cards note to which well-known cheese it is similar. The cheeses I received hailed from Hampshire, Scotland, and Somerset—all fantastic classic cheeses from small producers. This is perhaps not the box to try if you are looking for something with more je ne sais quoi.
It was a cold winter evening, but we were sustained by a delicious sausage and apple pie and gravy from the foodhall, plus a very decent coffee. These photographs were all captured handheld using the default settings on an iPhone 12.
Back in August, in the time Before Second Wave, we enjoyed a grand day out riding a steam train at the Dean Forest Railway in Gloucestershire. It is a really lovely experience, especially for little ones, and I hope they will be able to survive the pandemic.
The spiders had been very busy spinning over night, and were enjoying a lazy Sunday morning in their webs. (Click for a higher resolution photo.)
18th September 2010: overnight our floating hotel had conveyed us to another beautiful harbour, the town of Skagway (population 968). Our morning began with the walk around the preserved and restored Klondike gold rush era central business district, learning about the history and conditions of frontier life.
Later we took a trip on the incredibly scenic White Pass & Yukon Route Railway. This follows the same path as the prospectors up into the mountains, and crosses into the Canadian province of British Columbia. The train continues to the Yukon Territory but we alighted at the customs post in B.C. and enjoyed an exhilarating bicycle free-wheel back down the road to Skagway.
The 17th September 2010 was our first day in Alaska, the previous one being spent at sea cruising up from Vancouver. The first item on the itinerary was to cruise into the majestic Tracy Arm Fjord in glorious sunshine. We later docked in Juneau—the State Capital, which can only be accessed by sea and air—and took an excursion to see Bald Eagles and Humpback Whales.
16th September 2010: formal dinner on the MS Volendam in Alaska.
Photographic entertainment while the Little One enjoyed an ice lolly during a day out to see the sights of London. This was taken by resting the camera on my backpack, which was across my lap. I had to do quite a lot of work on the RAW file but the end result is surprisingly good for basically a handheld shot in the middle of the day.
Visiting a dinosaur museum in August is never going to be a calm or relaxing experience. Our chance to go earlier in the year whilst older children were in school had been nixed by COVID-19, but with numbers limited by social distancing, it was a fun and enjoyable outing.
Having caught up on my backlog of reading during lockdown, I decided to accept Apple’s offer of a free trial of their News+ service. The concept seems attractive for someone who would like to read widely without the great investment of time and money needed to take individual subscriptions to many publications. Unfortunately as I near the end of my month-long trial, I do not intend to continue with it.
The News+ “anchor-tenant” for current affairs in the UK is The Times. It had been my expectation that I could open the News+ app every day and peruse a digital newspaper, with all the in-depth articles and quality journalism that one gets that is so often missing from the 24/7 Internet news cycle. However the News+ service just seemed to give me access to a selection of online stories from The Times, with little to differentiate this offering from non-News+ providers such as The Evening Standard, The Independent or BBC News.
Some of these aforementioned providers have very aggressive advertising on their websites so even an advert-free reading experience would have potentially been a benefit, except News+ continues to display adverts, mostly terrible ones, in a way that seemed to maximise the interruption to the reading experience. In contrast, The Guardian app has the option to remove all adverts for £5.99 per month.
News+ also offer a selection of electronic magazines on a wide variety of topics. Some of these magazines are natively formatted for the app which offers a pleasing reading experience on screens both large and small (such as a phone). Sadly the majority I am interested in are just PDFs. Many local libraries (including my own) already offer free access to e-magazine services that include what are termed digital replicas of paper magazines so there is little incentive to subscribe just for the magazines.
Over the Easter break I spent some time making changes to this blog so that the posts from 2004 through to 2014 are displayed in the style in which they were originally posted rather than the current theme. This might seem like an odd thing to do: these old designs do not conform to modern layout standards, nor are they optimised for the typical screen resolutions in use today. However, as I looked through the older posts, some of them had visual oddities where the original formatting had not translated properly to a new theme, and even when the formatting was OK, there was something odd about reading text written 15 years ago but presented in an up-to-date way.
I was able to implement this by creating a directory structure for the older years and populating it with static files for the older posts. The default WordPress configuration means that if these files and directories exist then they are served instead being given to WordPress to render dynamically. The easiest way to generate the static pages is to use the Preload setting of the WordPress Super Cache plugin, then copy the files it generates from
wp-content/cache/supercache to the correct location. Before doing this you should review your theme to make sure that any time-sensitive dynamic content (for example, an instagram feed) is turned off, otherwise the generated pages will remain stuck with today’s content which which may look rather odd in a few months time.
One problem I encountered is that my initial approach broke some of the auto-generated year archive pages (e.g. /tooBusy/2005). The monthly archive pages were produced consistently, but the year ones were sometimes missing. I used the curl command to fill in the missing ones, but it also highlighted that any private posts will no longer appear in these year and month archive pages when you are logged in, although they will be shown in other views such as tags and categories.
Executing this for posts using two older themes, presented a slightly harder problem. I did not want to reconfigure my live website while I experimented with this setup, so I spun up a copy of WordPress on my laptop using Docker and loaded into it a backup of my live website. I then used the WP2Static plugin which, in addition to generating the files, can also post-process them to change any references to the web server running on my laptop to the correct one.
I reviewed many, but not all, of the generated files—if you spot any problems, please let me know. Getting a good quality result using an offline copy of the website took considerably more time and effort than I hoped, but looking through those older posts I am struck by how much better many of them look in their original style, while I find the current theme to be equally good for more recent posts. WordPress continues to offer a first-class writing experience for new posts, and the fact that the same software is still running this blog after 16 years is a triumph of longevity and backwards compatibility. The existence of practical solutions for migrating away from it are just another point in its favour.
Despite its reputation for flashy graphics, macOS has a number of nifty features and shortcuts for terminal users. Here are some of my favourite keyboard shortcuts within the Terminal application itself:
- ⇧⌘a (“shift-cmd-a”) to copy the output of the last command.
- ⇧⌘v (“shift-cmd-v”) to paste the currently selected text.
- ⌃⌘v (“control-cmd-v”) to paste escaped text.
The following keyboard shortcuts work in other applications:
- ⌥⌘c (“option-cmd-c”) in Finder will copy the path to the selected file(s) (via @scriptingosx).
- ⇧⌘. (“shift-cmd-fullstop”) toggles
show hidden files, even in file open/save dialogs (via @howardnoakley).
- ⌃t (“control-t”) transposes the two characters to the left of the cursor (via @eWhizz).
While testing the copy & paste shortcuts in this post, I also discovered—after 15 years of being a Mac user—that Finder has the ability to show the current contents of the clipboard (Edit→Show Clipboard).
A combination of a growing volume of personal media from 24+ megapixel cameras/4k HD video-recording phones, the switch to smaller solid-state internal drives, and the increasing life-span of our desktop computers, means that at some point you are likely to find yourself needing to offload data to an external storage device. Having gone down this path earlier in the year I thought I would share my experiences with the WD My Book Duo.Continue reading “MacOS External Storage Setup”