
Sign up to save your podcasts
Or


I sat down in the studio the Matt Rainnie yesterday morning (although I wasn’t in the studio, I was on Skype, and Matt, oddly, was standing not sitting) to have a conversation about Using Her Marbles.
You can listen to our conversation, which aired between 5:30 p.m. and 6:00 p.m. last night on Mainstreet.
Update: the CBC has posted a “web story” version of the interview.
Shortcuts are a delightfully powerful set of digital Lego blocks for iOS, a modern day HyperCard, in a way. This guide from Apple to creating Siri Shortcuts using web APIs prompted me to try creating one for myself, a Shortcut to retrieve the percentage of PEI’s electricity load generated from the wind.
As a starting place, I used this wind energy API endpoint, the same endpoint that my PEI Electricity web app uses. It returns real time data about wind energy load and generation on Prince Edward Island, like this:
{That’s got everything I need in an endpoint to make a Shortcut: I want the Shortcut to use the “percentage-wind” value, 80.77 in this example.
To create the Shortcut, I launched the Shortcuts app on my iPhone, tapped the “+” to create a new one, gave it the name “what’s the wind energy,” and then added my first action, a Get Contents of URL action to get the contents of that endpoint:
Next, a Get Dictionary Value action, as I needed to pull out just the value for percentage wind energy generation, using simple dot notation for current.percentage-wind:
Because that’s returned as a decimal value, and I didn’t need that much granularity, I rounded off the value using a Round Number action:
I added the words “per cent” using a Text action:
Finally, I added a Speak Text action to read the result:
With the Shortcut saved, I can say “hey siri, what’s the wind energy” to my iPhone and it tells me.
You can save yourself the trouble of recreating the Shortcut from scratch by installing on your iPhone here.
That was so much fun I decided to make another Shortcut, this one to tell me how much water our household has used today.
For this one, I used this API endpoint, which returns data, used also by my Consuming.ca web app, about my water usage, like:
{The Shortcut for this is essentially the same as “what’s the wind energy,” but it’s called “how much water have we used today,” and it uses the value consumption.today. If you have particular interest in knowing how much water I’ve used today, you can install this Shortcut on your iPhone too.
Back in the day, when it seemed like Nickelback was playing at the Charlottetown waterfront every second weekend, I developed the reputation of being something of a curmudgeon. Truth be told my protests were always rooted in a feeling that public land should remain public, not given over to concert prompters, but the subtlety was often lost on the readership.
As such, I celebrate the sweet sounds coming out of the third floor apartment next door unreservedly: if I can’t revel in the vigorous music-making of the young, what’s the point of being alive?
When Oliver and I were on the beach at Wood Islands Provincial Park on Sunday, I recorded just under two minutes of the same of the water lapping against the rocks. You’ll hear birdsong in the background if you listen carefully.
An interesting project in these pandemic times would be to stick a permanent microphone at the shore to broadcast sounds of the PEI surf 24/7 to those unable to be on the beach in person.
I was saddened to read of the death of former Member of Parliament, Member of the Legislative Assembly, and Speaker Wilbur Macdonald this morning.
I could not help but think back to the warm summer afternoon of June 27, 2006 when, from the public gallery in Province House, I witnessed him hold forth at some length so as to keep the Legislative Assembly busy while, behind the scenes, the Pat Binns government sought to put the finishing touches on its electoral redistricting plan, An Act to Amend the Electoral Boundaries Act (the “Cletus Dunn map,” as it had come to be known).
With the introduction from the Speaker, “The hon. Member from Belfast-Pownal Bay,” he began (you can follow along in the day’s Hansard, starting on page 3,304):
I rise to speak on the budget which we had brought in in the spring. It’s an opportunity for me to talk about my riding and about what is taking place in the province.
One of the things that has really happened in this province in the last number of years is the expansion of the economy. I think it all started with the industrial malls a number of years ago and is continuing over the last number of years. The federal government has also contributed to that in Charlottetown and in Summerside.
At this point he departed from his prepared notes to address the issue of the lawnmower making noise outside, clearly audible in the background, something that had been on my mind as well:
I must say every time that this House opens that lawn mower seems to be going outside. Is the guy going over and over the lawn or what is he doing out there? If it’s under the department of public works, I wish the minister would tell him to take off. Go someplace else. He can cut the grass in the morning, then we can hear one another. But he’s been going for the last two hours and I don’t know where the lawn is. But anyway.
From there he continued for more than 4,200 words and 30 minutes, covered topics ranging from the lobster fishery to the Northumberland Strait to Lord Selkirk to wind power to the quality of the roads in his district to the life expectancy of males and females.
Eventually the Act to Amend the Electoral Boundaries Act was ready for introduction, and so Macdonald got the nod and finished off with the same good humour he started with:
Mr. Speaker, I could go on for a little longer, but I think I have spoke long enough. I will adjourn the debate.
While Macdonald was simply doing his loyal best to keep the puck in play, his speech, looking back 14 years, is a thorough survey of Prince Edward Island through his eyes, and we are the better for it, and for his years of service as a legislator.
(Audio from the Legislative Assembly of PEI Video Archive).
My friend Dave Atkinson mused that an oral history of how I learned the things I learned the other day came to be learned.
So I recorded one.
In this brave new world we’re all jacked into Zoom (or, maybe, Jitsi) all day long. We’ve been at this for a month, and it’s remarkable how little most of us continue to pay attention to video and audio, as if living the Dick Tracy future is enough, and we don’t really need to be concerned with seeing and hearing other clearly.
Here in my office I mostly use the “Display Audio” microphone built into the front of my Apple Cinema Display. It’s always been good enough. But, I wondered, could I do better.
So I dug the old Live from the Formosa Tea House audio setup (Apex 435 microphone, Behringer 802 mixer) out of storage, bought myself a line-to-USB cable, and set everything up beside my computer to see if that would prove the audio quality.
If you listen to the same here, I think you’ll agree that it did.
I’m taking it out for a real ride in 15 minutes on my weekly conference call with my colleagues in New Hampshire.
I’m also using the opportunity to promote the brand (get your Vegetable Gardener’s Handbook by The Old Farmer’s Almanac today!):
Recorded eight days ago (8 months in quarantine years) on the Charlottetown waterfront at the end of a drive in the countryside on a sunny Sunday.
On Thursday morning I was immersed in a video conference, with the personable Josh MacFadyen, when I got a text message:
As Oliver was across the street, at home, and “five machine” sounds a lot like “fire machine,” which is something someone might say when the house is burning down and they are panicking, I immediately ran across the street to rescue Oliver.
Oliver was fine.
The buzzer on the clothes dryer had gone off, and Oliver was simply, helpfully, letting me know.
Here’s how the text message got to me:
Oliver was upstairs in bed.
The dryer’s buzzer went off.
Oliver has a Google Home in his bedroom, so he asked it to call me:
OK Google, call Peter.
The Google Home dutifully called my office number.
But my officer number automatically goes to voicemail, so Oliver left a voicemail (the one you can listen to above).
The voicemail went to my voicemail system, which is set to automatically speech-to-text transcribe voicemails and email them to me.
Which is how I got the text message “Five machine went off at home.”
Lower shields.
My friend Dave does a regular segment on CBC’s Island Morning called The Things We Do For Love, wherein he interviews people about their esoteric passions.
Tuesday morning Dave dipped into Pen Night.
Things don’t get much more esoteric than pen geeks talking about pens, inks and paper.
I’ve attached the MP3 that aired this morning.
From the publisher's feed