Enough of the Moon already?

The Moon, seen from Ireland in 2021.

With the solar eclipse in the United States, and Ireland and the UK getting a partial eclipse, you’re probably sick of Moon coverage, but I would just like to point you to a couple of podcasts you’ll enjoy if you want more.

  1. Tom Hanks talking about the Moon walkers on The Rest is History podcast. Who doesn’t love listening to Tom Hanks?
  2. The Moon itself from Radiolab is a fairly basic look at the Moon, but gets a lot more interesting later on.

Both shows are great, but if you’re only going to listen to one, listen to The Rest is History, sorry Radiolab. But you should listen to both!

If you have even more time to spare, you should listen to the Omega Tau podcast episodes on the Apollo missions I listed in this blog post about Apollo. Fascinating listening. So many technical details.

As expected, the sky outside was a grey blanket on the island of Ireland. I hope someone saw something.

I’m a little tired after walking home

A screenshot of Google Fit showing the path from Amsterdam to Cork as the app recorded it.
The text "Morning walk" is below, showing a I did 14 heart points and 5,571 steps during the flight.

It’s good to be back in Cork today, even with Storm Kathleen on the way. I forgot to end my tracked walk when I got to Gate 26 in Schiphol Airport, and Google Fit somehow managed to pick up GPS signals every now and again as we flew home. So, it looks like I walked from Amsterdam to Cork. 🙂

I’ve no idea how I walked 2km off the coast of Ireland, somewhere south of Waterford. There was some bad turbulence on the flight, but we weren’t quite bouncing up and down in our seats!

The Netnewswire Reader View rocks

Netnewswire is an RSS reader for macOS and iOS devices. You know podcasts? Like that, but for reading.

RSS readers have been around for a long time, long before social media sites like Twitter and Facebook. They allow you to follow updates on your favourites sites, which could also include the personal sites of people you know. Twitter used to have RSS feeds, Facebook never did (AFAIR), but Mastodon sites (and other Fediverse services) do.

This blog has an RSS feed. You can follow my interesting posts there. Chances are, if you’re reading this, you already know all this.

Anyway, Netnewswire has a “Reader View” that will load entire posts in the reader, which is very useful if a site only shares extracts of their articles. Sometimes it doesn’t load the entire article, so you’ll need to visit the site anyway. It’s a convenient way to read without leaving the app when it works.

Oher RSS readers include the WordPress.com Reader, Feedly and many more. Wired has an overview of some, as does Zapier.

RSS won’t replace social media, it’s just another way to read the news.

R.I.P. John Free

John Free was a very talented street photographer in Los Angelus, who I have admired for many years. I saw on Facebook that he passed away last night. If you’re at all interested in photography, have a look at his YouTube channel, where you will get a taste of his excitement, enthusiasm and energy for photography and people.

I forgot he posted a video from the Musée D’Orsay a few years ago, but I’m extra happy that I visited there last year, and as John suggested in the video, I was able to balance the subject with the art.

TIL there’s an underground roundabout in the Faroe Islands

11Km of tunnels were built between some of the islands of the Faroe Islands, and right in the middle of one of those tunnels, 70 metres underground, is a roundabout. It enables drivers to go to Runavik or Strendur. It cuts travel time from just over an hour to 16 minutes. Hugely impressive.

An underground roundabout. A man points down towards one tunnel exit while a car pulls into the roundabout.
The centre of the roundabout is lit up in soft blue and red colours with silhouettes of people visible.

Keith Jarrett – The Cologne Concert

I’d heard of the troubles Keith Jarrett had when he played in Cologne but forgot to find out what his music sounded like until I came across the incident again this morning while listening to Cautionary Tales.

Jarrett was due to play in the opera house there and requested a particular type of piano. Unfortunately, they couldn’t find the one he wanted and provided him with a beaten up rehearsal model. It was out of tune, the pedals were sticky, and it was in a terrible condition.

He refused to play at first, but after the promoter, an 18yo woman named Vera Brandes pleaded with him to play. He had to avoid broken keys, and concentrated most of his playing in the middle of the keyboard.

To make things worse, he had driven over the mountains from Switzerland the previous night, his back was in a brace, and he was hungry, having had to miss his dinner earlier in the evening.

I haven’t listened to all of it, but it is remarkable what he coaxed out of such a broken piano! Sometimes, less is more.

Gimme all your cache!

Today saw the release of updates to two plugins I work on. The first, unsurprisingly, is WP Super Cache, and it’s a bug fix release. It fixed a PHP8.2 warning, adjusted some labels on the settings page, solved a problem with “late init” and POST requests, and some other changes, but the major news I want to share is not about that plugin at all.

I’m on the Jetpack Boost team in Automattic, and for the last month or so, we’ve been working on adding a full-page cache to the plugin!

Jetpack Boost is already a pretty remarkable plugin, with what it does to CSS, JavaScript and images, so a page cache was an obvious next step.

Screenshot from the Jetpack Boost settings page.
It shows the "Cache Site Pages" module, with a checkbox to enable.
Text says, "Store and serve preloaded content to reduce load times and enhance your site performance and user experience."
"No exceptions of logging"

A link says, "Clear Cache" and there's a down arrow with another link saying, "Show Options"

If you’re already using WP Super Cache, but you’re not using any of the advanced features, I think you should give Jetpack Boost a go. It works really well at serving cached pages fast. Jetpack Boost will be a drop-in replacement if you have these features enabled in WP Super Cache:

  1. Simple caching
  2. Caching Disabled for logged in visitors
  3. Garbage collection set to one hour.

You’ll have to disable WP Super Cache first before trying Boost Cache, as they both rely on the same mechanism to load. Disable Jetpack Boost to go back to WP Super Cache. You can enable Boost again, without using the Cache module, and the two plugins will happily co-exist.

I’ve been using it here for the last two weeks, and it has worked flawlessly. I post images daily on my photoblog, and they get shared to Mastodon, where the expected deluge of requests from hundreds of servers happens each time. Between Jetpack Boost and WP Rest Cache, my server barely noticed. Just like with WP Super Cache.

“If it performs just like WP Super Cache, why should I use Boost?” I hear you asking. For some, you’ll need the extra features of WP Super Cache, but otherwise, Boost may be just what you need. Apart from the cache, it also has remarkable features that will squash your CSS and JavaScript in various ways that load super quick. Give it a go, and let WP Super Cache handle the cache if you need to.

If you’re still here, read on, and I’ll give you a whirlwind tour.

The Cache module enabled with the expanded view showing the exceptions textarea and logging checkbox.

Boost supports an exception list like WP Super Cache does, and logging of activities in a similar, but easier to use way.

Output from the logging feature of the plugin shouwing date, pid, URL and description.

To simplify caching, only requests by logged out visitors are cached now, but that’s the recommended way of using WP Super Cache too.

Developers: like WP Super Cache, it also supports the “DONOTCACHEPAGE” constant. If you define that while a page is being created, then Jetpack Boost won’t cache it. If you can enable it before the page loads, then the plugin won’t serve a cached page either, but that will be difficult since the cache system loads so early.

To learn more, there’s a fine manual to read. It explains in detail how to enable the cache and how to use it. Yes, I’m biased, but I think you should give Jetpack Boost a go! Caching helps a lot, but the extra CSS and JavaScript features help render the page quickly once loaded.

You’re voting today in the referendum?

Here in Ireland, we are holding a referendum on changing two sections of our constitution.

If I were to summarise the changes, I’d say:

  • The family one is to recognise that marriage isn’t the only type of long-term relationship a couple or two people have.
  • The carer one has been called an attempt to remove archaic and sexist language from the constitution when it says, “the State recognises that by her life within the home, woman gives to the State a support”. That text will be removed and the replacement text recognise that family members care for one another.

On this, International Women’s Day, many of the woman I know are voting NO to both changes.

Women and men march in protest at the cervical check scandal. May 2018.

Here are the main objections I see:

  1. what defines a durable relationship?
  2. what if someone is married and has a durable relationship elsewhere?
  3. “endeavour” vs “strive” to support. Which is stronger? Which word puts more pressure on the Gov to provide care?

I’m still not sure how I’ll vote. It will probably be no-no, but I may vote yet to the family one, as any ambiguity about the definition of “durable relationship” may be less trouble than the positives of having more relationships recognised. That’s up to the courts, however, which makes voting for this change so hard. Many of the people urging a no-no vote are not groups I would associate with, being conservative or right-wing. Meanwhile, all the Government parties and even Sinn Féin support a yes-yes vote. Sinn Féin say they’ll rerun the carer referendum if it’s rejected, and they’re elected into government:

Ms McDonald said that if the referendum was rejected, it would be her ambition to put the question to the people again “early in our term” if the party was elected to Government.
….
She said the party would be returning to the recommendation from the Citizen’s Assembly which would include care not just at home, but in wider society.

The Irish Council for Civil Liberties (ICCL) has said it welcomes the referendum widening the definition of the family beyond just those based on marriage. But on the care referendum, it said the Government should have gone further.

“Based on our analysis, ICCL believes that the proposed text on ‘care’ will not provide meaningful legal protections to any person who gives or receives care.

Overall, we feel the Government should have gone further to implement the recommendation of the Citizen’s Assembly and the Oireachtas Committee. This would have represented a more legally impactful proposal.”

Sinn Féin would re-run care referendum if rejected on 8 March

There is an appeal by the mother of a disabled man who provides 24 hour care to him due to be heard in the Supreme Court in April. She wants to receive the carer’s allowance she deserves, but unfortunately for her, her partner has a job outside the home.

The appellant mother, who effectively provides 24-hour care to her son and has no means of her own, is disputing the Department of Social Protection’s decision that she is not entitled to the full-rate of the carer’s allowance because the weekly income of her partner, the man’s father, is €850.

If the constitution is changed, will it make it easier for the Government to ignore pleas for carer’s allowance?

Also, the Taoiseach, Leo Varadkar, says it’s not the State’s responsibility to look after those that need care. The joke is he said the quiet bit out loud but read on …

https://twitter.com/DrHaroldNews/status/1764705340610781225/

As I was writing this post, I discovered that Simon McGarr reported a couple of hours ago that The Ditch has uncovered advice from the attorney general to the Minister for Children, Equality, Disability, Integration and Youth about the referendums. Simon has some interesting commentary in his Mastodon thread. Here’s the bit from that doc about the Heneghan case:

The need for such clarity is particularly important when one considers this year’s Supreme Court judgment in Heneghan v Minister for Housing, Planning and Local Government. This is a notable example of the courts finding that they are entitled to consider the background and campaign leading up to a constitutional amendment when interpreting its purpose or scope. While that occurred in Heneghan in the context of apparent inconsistencies between different constitutional provisions, it is nevertheless a reason to exercise caution in communicating the purpose of the amendment in the course of the referendum campaign.

Irish Attorney General to Roderic O’Gorman TD

Leo saying that family should take care of family speaks volumes in that case. On the other hand, Simon admits that the future is uncertain.

Just in case you want more:

Free Legal Advice Centres are recommending a yes-no vote. An interesting piece explaining their stance that I found very convincing.

Mario Rosenstock interviews Larissa Nolan (she will be voting no-no)
And I can’t believe I’m linking to an interview with Peadar Tóibín, leader of Aontú where he argues for a no-no vote.

The yesyes.ie website urges a yes-yes vote but covers none of the grey areas of the changes.

As Anita says, most of the work done in the home will still be done by women, and that’s not going to change, no matter what happens today. My wife is meeting some friends this morning, but two have already had to cancel because they need to care for family members. Happy International Women’s Day.

I’m not a lawyer/solicitor. I just have a vote today. How will you vote? Did you vote already?

Edit: much later in the day:

Well done to all that voted, all 44.36% of you. Both changes were defeated by huge margins.
Family: 32.31% Yes, 67.69% No.
Care: 26.07% Yes, 73.93% No.

Now, let’s get back to not supporting the right-wing part of this country, ok?

Referendum results showing both changes were defeated:
Family: 32.31% Yes, 67.69% No.
Care: 26.07% Yes, 73.93% No.

Resize Images with Tasker

Motivated by the change in Google Photos that stopped offering “free storage” I worked on a script that would resize images on my Android phone and released the first version in November 2022. The script requires Tasker to run.

The Arc de Triomphe in France photographed on my phone.

There were a couple of problems with it, however. I wasn’t entirely happy with the workflow.

  • Images were deleted from DCIM/Camera immediately (and moved elsewhere), making it impossible to review the image I just photographed in the camera gallery.
  • When I opened the gallery app separately, the resized images wouldn’t show until some time later, or not at all. I verified the files were there using a file manager. Android’s media system just didn’t know about them.

I put up with these downsides for quite a while, occasionally researching how to fix the disappearing image problem, but I couldn’t find any good answer until last month.

A leprechaun dances on the street.

I found out that Tasker must run the “Media Scan” command when it creates a new image file. The documentation says you can give it a directory, but that didn’t work for me. When I gave it the filename of the newly created image, it all worked! The image appeared in my gallery apps immediately!

Next up was the problem with deleted images. Originally, I moved the files into a “work in progress” directory to easily work on them, but if I left them in DCIM/Camera, I could check if a file of the same name existed in DCIM/Resized/. If it didn’t, then it’s time for a new file!

That did leave the problem that files were left in DCIM/Camera. Some of which might have been resized, some not. (It happens if I burst mode photos, where the task starts and works while new files are being created. It doesn’t catch the very new files). I created a new task “Photo Backup” that simply runs the resize task, and then runs the shell command “mv” to move all the Jpg files to where Lightroom will see them on my computer. I added that task to my launcher with an icon. I tap that when I get home and within a few minutes, the files are synced to my computer, using Syncthing.

A horse in a field

To better track changes, I’ve uploaded the task to GitHub in this Resize Images task for Tasker repository. All development happens on my phone, and I’ll publish it to Taskernet first, but then changes will be copied there.

To install the task, go to the Taskernet page for it on your phone and click on Import. You can also manually import the .xml file if you like. How you use the task is up to you, but I created a profile that uses the “File Modified” event, and gave it “DCIM/Camera” as the File. The action to fire is the “Resize Jpeg Files And Leave Originals” task listed here.

“Verify this email is yours” spam

Yesterday I got an unusual email spam. It hit my inbox on Fastmail, coming from my Google account. The spam link was embedded in the actual email address, using the plus notation that Gmail supports. On Fastmail, the link wasn’t clickable, but on Gmail it was. When I checked Gmail, the email had been moved into Spam, so I guess they were dealing with many copies of this. Surprisingly, the link is still clickable, even with the email in the Spam folder.

I thought I hadn’t received spam like this before but looking at it again, I think I did. Just once.

The email came from “Google <noreply@google.com>”, and the spammers used some online service that requires verification. They stuffed the spam link into the email address. Here’s what it looks like on Gmail:

A spam email I received. I have obscured the spam link in this ALT text:

Verify this email is yours
[my email]+~New~messages~Read-[spam link]#@
googlemail.com
This email address was recently entered to verify your email address.
You can use this code to verify that this email belongs to you.
793352
If this wasn't you, someone may have mistyped their email address. Keep this code to yourself, and no other action is needed at this moment.
The Google Accounts team

They added a “#” character at the end of the link, so the @googlemail.com part of the email would become an anchor tag. Pretty clever, pretty devious. The link goes to a 404 now, but had an image with a link yesterday.

So, be careful if you get any email verification emails. Especially if you weren’t expecting it. It’s probably spam.