February 3, 2022

30 Days of Silence

A pair of headphones.
(Image: Garrett Morrow)

For the last 30 days, at 12:00 am I dutifully put my headphones in and pressed play on a podcast. This podcast was a little different. Rather than piping animated conversation or thrilling stories into my ears, this one played silence. Yep, just silence. I kept the podcast going, episode after episode, for every hour of the day. I alternated my left and right earbuds into their charging case to keep the batteries going. I did not press pause until 11:59 pm.

At 12:00 am, I started again. For 30 days straight.

Okay, no, I didn’t actually do that. Because that would be bonkers, and because I use Overcast. It’s the podcast player that pioneered Smart Speed, a feature that has become standard for good podcast apps. Smart Speed strips out the pauses in speech, which extend between sentences and words as people gather their thoughts, to speed up the playback without actually speeding up anyone’s speech. And, critically, it’s done proportionally so that extended silences sound longer than shorter ones. It just” compresses the silences relative to their length, leaving the flow of the conversation still sounding very natural.

So, instead of those 724 hours of silence, I’ve been able to listen to 724 more hours of my favorite podcasts, without adding any extra time over the last six years.

These little time savings that add up every day are perhaps the best unseen and under-appreciated benefits of technology. If you’re not using a podcast player that saves you time without resorting to bumping up the playback speed, give Overcast a try. (I hear Pocket Casts on Android does it pretty well, too.)

Podcasts


John Gruber at Daring Fireball:

It’s not just a one-time principled stand, either. Neil Young is an artist with a lifetime of principled credibility. Cynicism runs so deep right now that many people overlook the obvious: that Young is putting his money where his mouth is by pulling his catalog from Spotify. There is no catch. Young’s goal was not to get Spotify to dump Rogan, as many seem to think. His goal was simply to force Spotify to go on the record, in public, with their explicit support for Rogan, and to raise awareness that their rules — right or wrong — accommodate his show’s commentary on COVID and vaccines. Genuine virtue, not mere virtue signaling.

I had started to collect similar tweets and stories about how Young’s stance has played out, but Gruber has done such a good job that I won’t duplicate his efforts.

I’m with him on this; I commend Young (and others) for acting on their principles but am not surprised in the slightest that Spotify didn’t blink. They knew what they were getting for the $100 million they paid for Rogan’s show.

I’m glad that Gruber called attention to the distinction between Spotify as the publisher of Rogan’s show and Apple as an indexer. It’s an important difference when considering where the responsibility resides for the content.

Go to the linked site →


Another worthwhile story that has popped up since then:

The Joe Rogan controversy is what happens when you put podcasts behind a wall | The Verge

Linked


February 2, 2022

PS5 vs. iPad Shipments

A PlayStation controller, upside down.
(Image: Garrett Morrow)

It’s not news that Sony is still struggling to get enough PS5s out the door to meet demand. I still see posts every week when units are in stock at this retailer or that, alerting customers to grab them fast. They’re always sold out by the time I click through.

But two articles I read this morning couldn’t have put a finer point on how differently Sony and Apple are shipping products of similar caliber.

Sam Byform, reporting for The Verge:

Sony shipped just 3.9 million PlayStation 5 consoles in its all-important holiday quarter, a slight bump over the previous quarter’s figure of 3.3 million, demonstrating how the electronics giant is still struggling to meet demand during the ongoing global supply chain crunch. 17.3 million units in total have been shipped as of December 31st, nearly three million fewer than the PlayStation 4 had managed at the equivalent point after its release.

Ben Lovejoy, writing for 9to5Mac:

The report shows that Apple shipped 17.5M iPads in Q4 2021, against 19.1 in the same quarter of 2020, a decline of 8.6%.

Now, I know that iPads and PlayStations are very different products that appeal to different people, but I still think it’s a worthwhile comparison. They’re in a similar price range. Most people use them primarily for entertainment (I write, tapping away this very blog post on my iPad). Neither is a necessary device like a smartphone, so most households probably don’t have more than one of them. They’re secondary computers.

And yet, Apple shipped more iPads last quarter than Sony has shipped PlayStation 5 consoles in its entire five quarters since its introduction. (Even after they added two extra days to the year, according to Wikipedia. 😆)

It’s not like Sony has been slouching. They need to get enough of these units into the hands of eager customers to start making a profit on them. And more PS5 consoles mean more PS5 games sold, which is where the real money is made. So I imagine they’re doing everything they can to make more.

But Apple’s legendary prowess in the supply chain, their massive war chest, and their insistence on custom parts for their products have afforded them the luxury of avoiding more of the chip shortage problems facing their peers. As a result, they shipped 17.5 million iPads while giving some prioritization to making iPhones.

That’s wild.


Last week, John Voorhees at MacStories wrote up a terrific piece for their Starter Pack’ series in which he detailed how he’s been streamlining his workflows using deep links. You should definitely go read John’s story, but the gist is that by using URLs that bring you directly to the place or content you need, you can avoid unnecessary distractions. For instance, if I have the deep link that gets me back into a specific email conversation, I can skip the inbox and save the time I’d inevitably lose when I feel compelled to scan and clear it out.

I’ve been relying on deep links on Apple’s platforms for a few years now and could not go back from this style of contextual computing. It’s ingrained in me primarily due to three world-class apps: Things, Drafts, and Shortcuts. Things and Drafts are available everywhere, and their URL schemes open to the right place no matter if you’re using an iPhone, iPad, or Mac. As I’ll detail below, Shortcuts augments the experience by gluing together other apps that don’t offer comprehensive linking.

Things as the Hub

Despite Things having a fully-featured URL scheme and a clever web tool to help users build them, I don’t end up linking to a task or project very often. But Things plays a central role in my contextual computing by housing most of the other deep links that I create from around the system. Here’s a typical example. I often write down story titles and pre-formatted linked posts in Drafts. It’s where all my HeyDingus ideas live. But if there’s a particular article that I want to write on a day, I’ll make a task for it in Things. Rather than checking Things then opening Drafts and searching for the title, I copy a link directly to the Draft entry and paste it into the notes field of the task. That way, when I come to that item on my to-do list, I just click the link to go straight to the draft and start writing.

A screenshot of Drafts and how to get links to each entry, and a Things item with the link in its note field.
Left: Drafts has multiple ways of getting a link to its entries. Right: The Things task linked back to the draft, and the project linked to my writing Workspace.

The same can be done with web pages or apps that I want to check out and emails to which I need to reference or return. In those cases, I can take advantage of the Things for Mac’s Quick Entry with Autofill feature to create a new Things task. With a global keyboard shortcut (Control-Option-Space) that works from anywhere, the system tries to get a URL back to whatever you were last doing. For me, most often, it’s a website or a message in Spark, my go-to email client.

The Quick Entry with Autofill window.
These tasks with deep links let me clear out my inbox without losing a message that I need to come back to.

Running Shortcuts from URLs

My favorite way of quickly getting things done from deep links is by working Shortcuts into the mix. For many tasks in Things, the deep link is one that, when tapped, runs a specific shortcut. The scheme goes like this: shortcuts://run-shortcut?name=XXX where XXX is the URL encoded name of the shortcut. I find this type of deep link is most useful for reoccurring tasks. I’ll show you two examples and then how you can quickly build these Run Shortcut URLs yourself using, of course, Shortcuts.

Play Wordle

Wordle is my daily morning obsession. It gets my mind moving after waking up and gives me one small success for the day before even taking a shower. In my Play Wordle task, I used to just link straight to the Wordle website. Then I realized I could string together all the parts of my Wordle habit — going to the website, creating and sharing accessible results, deleting the created photo, and getting back to the task so it can be checked off — all from Shortcuts.

A screenshot of my ‘Play Wordle’ shortcut.
This shortcut saves me a lot of tapping around.

The Wait to Return’ action is critical. Even if other shortcuts are run from the Share Sheet in between, like WordleBot, it waits until you swipe back to the Shortcuts app to move on in the flow. So to play, I tap the Run Shortcut URL in Things, play the game, share my results, and then swipe on the Home Indicator to get back to Shortcuts. At that point, Shortcuts asks if I want to delete that most recent photo, I confirm, and then I’m brought straight back to the Things task to complete. No jumping around, and no task gets left unchecked.

Get the Play Wordle’ shortcut → Original Version | Latest Version

Time Saved with Overcast

I listen to many podcasts, and because I use Smart Speed in Overcast, I save a ton of time that otherwise would have been spent listening to silences between speakers. I’ve been interested in tracking the number of hours saved over time and running a shortcut at the end of every month to keep track on a spreadsheet.

A screenshot of the saved hours tracking shortcut.
This shortcut guides me to the right number, adds it to the right spreadsheet, and then takes me back to my task manager.

A few things to note from this shortcut:

1️⃣ Dismiss Siri and Continue’ and Wait to return’ actions are used to ensure that no matter how the shortcut is run, it’ll keep the flow suspended until returning to the Shortcuts app and then asking for the number.

2️⃣ The Add Row to Top or Bottom of Table’ action (not available on Mac) is integral to getting the data right where it needs to go. There is no need to track down the spreadsheet in the file system or add a row and manually paste in the data.

Screenshots of the Overcast settings screen and Numbers spreadsheet.
Left: You can find your Smart Speed hours saved at the bottom of Overcast’s settings screen. Right: My history of hours saved. I’ve saved over a month of listening to just silence in podcasts! (And yes, I gained an extra hour since logging it yesterday.)

This shortcut gets double points for deep linking because it fetches the Numbers spreadsheet for us. Again, staying in context is valuable when I know that I’d get off track if I had to go looking for it.

I’ve made a blank Time Saved with Overcast’ Numbers spreadsheet available to download if you want to track your own saved time.

Get the Time Saved with Overcast’ shortcut → Original Version | Latest Version

Now, we get into the nitty-gritty. How do you make these shortcut URLs that let you run them from anywhere you can paste text? Well, if you know percent-encoding, you could do it by hand. But why do by hand what you can automate? I’ve created a shortcut that lets you pick from all your shortcuts and makes its URL — in the style of your choosing — to put on your clipboard.

Get the Get URL to Run Shortcuts’ shortcut → Original Version | Latest Version

Steps 1-3 ⌘

1️⃣ First, we get all the shortcuts installed and present a choice to either choose from a list of them all or search for a specific one.

2️⃣ The Filter Files’ action lets us use the provided search text to filter out the list of shortcuts. It’s case-sensitive, though, so make sure you know what you’re looking for.

3️⃣ We haven’t actually selected any shortcut to make a URL from yet. The shortcutsList’ variable contains the possible shortcuts to choose from — either all of them or only those that match the search term.

Steps 4-7 ⌘

4️⃣ We take that variable containing the possible shortcuts and use another Choose from List’ action to select one or more of them to continue with.

5️⃣ Here’s where things get interesting. I originally intended to do all the actions related to the text type using a dictionary. But since this shortcut supports working with multiple shortcuts at one, we need to know what the final text type will be before we start repeating through the selected shortcuts. Notice the comment that we must make sure this list matches the Dictionary’ action below.

6️⃣ The Repeat with Each’ action lets us transform each shortcut into its own run URL.

7️⃣ This variable is constructed by getting the shortcut’s name and tacking it onto the end of the standard URL for running a shortcut. Luckily, the URL action takes care of percent-encoding the name portion without any additional action.

Steps 8-11 ⌘

8️⃣ Here’s the Dictionary’ action that lets us pair the text type we chose above to a format. The Rich Text key is paired with a Markdown-style link that will eventually show Run SHORTCUT NAME” with the URL included as hypertext.

The Markdown and Plain URL keys are built from similar variables but won’t go through an additional transformation.

9️⃣ Now, we take the text type chosen back in the Choose from List’ action and use it to get the value from the matching dictionary key. We’ll use this value later to build the final text.

🔟 A quick error check in case the List’ and Dictionary’ don’t match up.

1️⃣1️⃣ Since Rich Text needs a conversion, an If’ action here lets us take the dictionary value, make sure the Markdown is plain text, and then convert it to rich text with a Make Rich Text from Markdown’ action.

Steps 12-15 ⌘

1️⃣2️⃣ Since the Markdown Link and Plain URL options need no conversion, we just get their value from the dictionary. Before repeating onto the following shortcut, we add the final text to a variable. Since it will add on each repeat, we’ll get a list with all the shortcut URLs in the end.

1️⃣3️⃣ The moment we’ve been waiting for! The complete list of shortcut URLs is copied to the clipboard, ready for pasting elsewhere to make our computing more contextual.

1️⃣4️⃣ This If’ action lets us format the confirmation notification correctly based on the result for a Count’ action, which determined the number of different links that were gotten.

1️⃣5️⃣ While I’d typically use a Show Result’ action here to avoid spamming up the notification center, a Show Notification’ action showing the clipboard means we can double-check the URL list after navigating to the pasting location.

Screenshots of the shortcut in action, and the pasted results in Drafts.
Select and you shall receive.

I have dozens of shortcuts linked up and ready to run using this method. Using this URL scheme, I’m not limited to opening the Shortcuts app, taking a valuable Home Screen spot, or adding one to a widget. I can have the right shortcut — and therefore app, website, or workflow — at my fingertips precisely when I need it.

Get the Get URL to Run Shortcuts’ shortcut → Original Version | Latest Version


Platform compatibility note: Due to an unresolved bug in Shortcuts for Mac, the Rich Text option will not work correctly on macOS. However, you can still use the Markdown Link or Plain URL options there.

Shortcuts


I thought it was just something that we lived with as Mac users. If you wanted to use the built-in photo picker to grab an image from your photo library, it was going to take a while. For as long as I can remember, the photo picker has taken a long time to load when choosing a file from the first-party interface.

Naively, I thought the introduction of the M1 chip might speed things up. Everything else was faster, so why not? But, no dice, it felt as sluggish as ever, even on my M1 Mac mini. Other files were instantly available to choose from, but something about Photos bogged things down. I put it out of mind.

Enter the Home app. A little-known feature in that app is that you can customize the background image for specific rooms to your liking, either with a built-in color or one of your images. I was recently changing the backgrounds of my rooms to make them more recognizable, and since those images don’t sync between devices, I found myself in the Home app on the Mac to update them there. But when I went to the Home icon → Room Settings → Room Wallpaper → Choose Photo…, my jaw dropped. My photos were immediately available!

The home app background customization UI.
Click here, and prepare to be amazed.

The reason is apparent; it’s using the iOS-style Photo Picker. My educated guess is that since the Home app is built using the Catalyst framework (basically an easy, but not the easiest, way to convert an iPad app to work on the Mac), it had shed the decades of cruft that slows down getting to those photos.

It’s possible that getting photos with this method has been lightning-quick since 2018 when macOS Mojave unveiled the Sneak Peek’ which brought the News, Stocks, Voice Memos, and Home apps over from iOS using frameworks that later became known as Mac Catalyst. But I never had a reason to upload a photo to one of those apps before, so I wouldn’t know.

You can test it yourself. In Safari, try to upload a photo from a specific album by navigating through the Choose File’ UI to the Photos location in the sidebar. Count how many seconds it takes before any photos appear. For me, with a 15,000+ item library, it takes about 7.5 seconds.

The Safari photo picker UI.
Almost 8 seconds from clicking to loaded images.

Next, go through the Home app. Less than 2 seconds for me, and often even quicker. That’s nearly 4x faster.

Choosing a photo from the Home app.
Under 2 seconds to load the library.

Let’s try one final test. Shortcuts is perhaps the most complicated app Apple has built with its newest cross-platform framework, SwiftUI. When pulling up the Photos Picker on macOS, my library loads, if anything, even faster than the Home app. It feels instant.

Picking photos from the Shortcuts UI.
The fastest yet, Shortcuts loads photos almost instantly.

So, Apple, if you’re looking for some low-hanging fruit to pick to speed up what is supposed to be the world’s fastest web browser”, I’d suggest digging down through that old file-choosing code and sprucing it up with something more modern.


Feedback reported: FB9870403


Wordle continues to be part of the zeitgeist weeks after it exploded in popularity — in large part due to its ingenious built-in sharing mechanism. Honestly, Wordle’s 15 minutes of fame have far outlasted my expectations, but I’m glad! I love Wordle, and haven’t missed (or failed!) a day since I started playing.

Almost as soon as Wordle made Twitter’s trending lists, people started discussing the accessibility, or lack thereof, of those colorful emoji squares that have become iconic to the game. While they’re fun and mysterious to look at while scrolling your timeline, those emojis are not very inclusive for people who use screen readers to engage with content.

A tweet with a video documenting how Wordle emojis are described by text-to-speech software. Follow the link to read on Twitter.
Read on Twitter.

The first stab I saw at making Wordle tweets more accessible came from Zach Knox, who made the Wordle Normalizer shortcut. This simply replaces the yellow squares (🟨) and green squares (🟩) in the shared text with different emojis (🟡 and ✅) so that they are differentiated for people who have more trouble distinguishing colors. Everything else about the text stays the same, which means it didn’t solve the screen reader issue.

Federico Viticci went further with WordleBot, which automatically added plain text to the end of each row of emojis, describing the game’s progress line-by-line. He quickly found, though, that just adding text next to the emojis still didn’t solve the accessibility problem since screen readers would continue to read out each emoji square. A clever update to WordleBot added the ability to export the emoji to an actual image that could include Alt Text — the gold standard for describing pictures for screen readers.

But I thought I could take it one step further with a few tweaks to Federico’s shortcut. I’ve combined the best of both Wordle Normalizer and WordleBot to make a more complete solution for those who can see the emojis and those who use screen readers. It keeps the mechanics of WordleBot, but before converting the grid to an image, it replaces the colored squares with their more distinguishable counterparts from Wordle Normalizer. I also added a couple of quality-of-life enhancements that smooth out the sharing flow, which I’ll describe below.

Get the WordleBot’ shortcut → My Original Version | Latest Version

Building It Better

First things first, when I share my Wordle results, I like to take advantage of the power of the hashtag, so I replaced Wordle” with #Wordle” in the first line of text. That gets saved for later use to put together the final shared text.

A screenshot comparing WordleBot shortcuts, highlighting where an action changes “Wordle” into a hashtag.
The first small diversion.

I left all of Federico’s ReGex alone to match and tally up all the line results. Those results get formatted into the line descriptions that will be used as the Alt Text (e.g., Line 1 - 2 partial, 1 perfect). However, I realized that there was no description given to lines that had neither partial nor perfect matches — it was just blank. I used an If’ action to check for a letter that would be present in either case, p”, and if it isn’t found, then it replaces the line to show that 0 letters were correct.

A screenshot comparing the shortcuts, highlighting where a line description is given if no letters were counted as partial or correct.
Each line gets a description, even if no partials or perfects were counted.

Once the line text is saved as a variable, I replace the standard square emojis with their alternate shapes inspired by Wordle Normalizer.

A screenshot comparing the two WordleBot shortcuts, highlighting where emojis are replaced with differentiated versions.
Here’s where the emojis are replaced.

I only ever want to share the image version of the puzzle grid with Alt Text, so there was no reason to keep the extra actions for copying the original emojis. I removed that Choose from Menu’ and its associated actions. Luckily, Federico’s technique for converting emoji to images still works perfectly, even with the new emoji shapes.

A screenshot of the shortcut showing the actions that convert the emoji to images, and then combine them.
This part is unchanged.

I realized in the original WordleBot that only when sharing the text/emoji version, not the image one, would 5 perfect” be replaced with a phrase confirming puzzle completion. I fixed it, so the Alt Text also gets that same treatment. I also added an explainer for how users can customize the text that ultimately gets shared and use the Alt Text.

A screenshot of the shortcut actions that explain how to share the result to social media.
If folks decide they want to change how the final text is formatted, here’s where it can be customized.

The rest of the flow for sharing remains the same from Federico’s WordleBot. You still get the grid image from your photo library when you’re ready to share. But I added one final option: if you always share your Wordle results to the same place, you can automatically open that web page. For me, it’s a Twitter thread. The URL action is populated during a setup question, and if you choose not to use that feature, the shortcut ends by outputting the saved grid image.

A screenshot showing the shortcut actions that share and confirm the final text.
Copying, confirming, and (optionally) continuing to sharing destination.

In the end, we’re left with the quintessential Wordle grid — readable by people regardless of seeing ability — and text to share with the world. A few clipboard maneuvers get the Alt Text in the right place (the +ALT’ button below), and it’s ready.

A tweet compose screen with the created image and text, ready for adding as Alt Text.
The results, ready for cutting/pasting as Alt Text, and then posting.

Get the WordleBot’ shortcut → My Original Version | Latest Version


This whole saga around Wordle accessibility warms my heart. A few years ago, it may not have been part of the discussion at all. But I’m glad that folks are thinking about making even small things, like silly game emoji on social media, more inclusive. I’m happy to have played a small role and look forward to using WordleBot again tomorrow morning.

My thanks to Zach Knox for getting the ball rolling and to Federico Viticci for doing the heavy lifting on this shortcut. I decided not to change the WordleBot’ name since most of it is still Federico’s work.

If you see how WordleBot can be further improved, please do let me know! And if you’re using it to share your results, best of luck on tomorrow’s word.

Shortcuts


January 30, 2022

7 Things This Week [#46]

A weekly list of things I found interesting, posted on Sundays. Sometimes themed, often not.


1️⃣ Apple now lets developers create custom offer codes for subscriptions | 9to5Mac

Filipe Espósito:

As announced on the Apple Developer website, developers can now create their own custom discount codes (like SPRINGPROMO) to distribute to customers, similar to what online stores already offer.

A good move that means we’ll probably been seeing more app ads in podcasts.

2️⃣ The eject button held all the power on the original Xbox | The Verge

Chaim Gartenberg:

The console’s design reflects the eject button’s priority. The disc eject button is bigger, higher up, and surrounded by an LED ring in the console’s iconic green glow, drawing even more attention to it.

The reasoning here is simple: the original Xbox (like its contemporaries and predecessors) was useless without discs for games, DVDs, and CDs. Without the disc tray button, your Xbox was never more than a hulking hunk of green and black plastic. So Microsoft wanted to direct you toward that button because it meant that you had bought a game and were ready to play or that you wanted to swap out discs to play something else.

What’s in a button? A good reflection on how product design should reflect the use of it, both intended and actual.

3️⃣ Concept: How Apple could turn HomePod mini into a delightful and adorable smart display | 9to5Mac

Parker Ortolani:

HomePod mini’s light-up surface is on the top of the device, but I propose that Apple angle the surface and add a proper touch display. The new angle would allow users to more easily use controls and view content — it’d be far better and add more utility to the product.

I would love this product for around the house, and it seems like the natural evolution for added functionality in the HomePod mini. Basing it off the watchOS interface makes sense for the limited interaction I’d expect, and it plays nicely into the fact that the HomePod mini already runs on the Apple Watch processor. I share Matt Birchler’s concern for its usefulness across a room due to the display size, and continue to long for an iPad/HomePod mashup device for the kitchen in particular.

4️⃣ Mile-1 App | OnStarboard LLC

Mile 1 provides you with the most comprehensive highway milepost locator service ever built. Easy to use day or night, quickly know your distance to the nearest posts. Nearly every highway on the U.S. Interstate system is included along with a growing list of state and U.S. highways.

It’s in the worst situations on the highway, like when you’re stuck, that you need to know your mile marker. But if there’s not one in sight, what do you do? This free Mile-1 app made by developer Chris Dry saves you from walking up and down the interstate to determine the closest mile marker. I haven’t had to use it yet, but I’m glad to have it in my toolbox. It’s just too bad that it can’t get an entitlement to work with CarPlay.

5️⃣ Something New in Something Old | Pixel Envy

Nick Heer:

So: Last.fm. There are a few things I like about it. First, it seems to take into account my entire listening history, though it does give greater weight to recency and frequency. Second, it shows me why it is recommending a particular artist or album. Something as simple as that helps me contextualize a recommendation. Third, its suggestions are a blend of artists I am familiar with in passing and those that I have never heard of.

Most importantly, it feels free of artificial limitations. Apple Music only shows a maximum of eight similar artists on my iPhone, but there are pages of recommendations on Last.fm. Echo and the Bunnymen has twenty-five pages with ten artists each. I can go back and see my entire listening history since I started my account there. Why can I only see the last forty things I listened to on Apple Music?

Should Apple buy Last.fm? It would booster their recommendations. People love Last.fm. It would give them another lens into up-and-coming artists. I’ve been giving Last.fm a try over the last month to get more insight into my listening habits, and hopefully some better new artist suggestions than I’m getting from Apple Music itself.

6️⃣ Room Key in Apple Wallet demo | Rich DeMuro

If you’ve ever tried using a hotel app as your digital room key, this is so much better. The key is now stored in Apple Wallet, which means there is no need to unlock your phone, open an app or activate a key before you want to use it.

The key is always ready, just tap your phone to unlock a door in seconds.

The apps use Bluetooth, this new Apple feature uses NFC.

The future is here!

7️⃣ Lessons on Living Well, From Nick Offerman | The Ezra Klein Show

If you’re a fan of Nick Offerman, you’ve got to listen to this podcast interview of him with Ezra Klein. I love Nick’s outlook on life, and was tickled by his study of Aldo Leopold, who is another favorite of mine.


Thanks for reading 7 Things! If you enjoyed these links, or have something else neat to share, please hit me up on Twitter or send me an email!

7 Things


David Heinemeier Hansson:

The Mac is such an inconvenient platform for Apple. It prevents the company from making any credible claim of an impending security catastrophe, if lawmakers force the iPhone to allow installation of apps without the App Store. With the Mac, we have almost forty years of proof that computers don’t need an App Store to be safe. Made by the same company that now tries to pretend to legislators that this isn’t possible!

Worse still, Apple continues to brag about this solid security record for the Mac when they try to sell you a new computer while their lobbyists argue the opposite on Capitol Hill.

I mean, he has an agenda, but he’s got a point.

If you think back to the Mac vs. PC ads, Apple pushed pretty hard on the rock-solid security of their platform. Sure, things have gotten more complicated since those aired, but does Apple really think users should worry about trusting their Mac?

Here are a couple of other examples.

To be clear, I’m not in favor of allowing side-loading on iOS. Nor do I think that the Mac should be locked down to iOS levels. I like that iOS and macOS are different in that regard. I just think that Hansson is rightfully holding Apple’s feet to the flame on how they characterize the relative security of their platforms.

Go to the linked site →


As an aside, I still love the Mac vs. PC ads. They were a stroke of genius and hold up to this day.

Linked


As a follow-on to my Copy as Embedded Tweet’ shortcut that I made last year, I set out to further improve my workflow for preparing posts for 7 Things. That shortcut let me get the proper HTML for embedding a live Tweet right from the Share Sheet. Since I also share a lot of videos in those weekly posts, I wanted a similar solution for embedding videos without having to click through the YouTube website. So, I give you a new shortcut that accomplishes a similar task, but in a different way.

The shortcut in action.

Get the Copy as Embedded YouTube Video’ shortcut → Original Version | Latest Version

This time around, I used very different techniques to build the embed code. Instead of putting together a longer URL by combining one with another, this time I needed to break down the canonical YouTube link for the video.

A screenshot of the shortcut’s actions, labeled in sections.
Can we build it? Yes we can!

1️⃣ To make sure we’re working with a real link and not just text, we use a Get URLs from Input’ action. That pulls the Shortcut Input’ variable, which was either passed into the shortcut or retrieved from the clipboard.

Since we can’t rely on the shared URL to be a youtube.com link, the first step is to expand the URL out in case it’s a bit.ly or youtu.be version.

2️⃣ Once we have the full-length URL, we make the first of two splits using the Split Text’ action. Our goal is to narrow down to just the video’s ID, which always comes directly after the ?v= characters in the URL. After splitting it by those characters, we get the last variable, which includes the ID, using Get Item from List’.

3️⃣ The next split for that variable is by & since additional attributes are after ampersands. We get the first variable from the list this time, which we know must be the video’s ID.

4️⃣ Now that we have the ID, it’s just a matter of filling in that string of characters as a variable into the pre-formatted Text’ action. Since the ID is the only important thing that changes between different embedded HTML for YouTube videos, that’s the only bit we need to change. The text is then copied to the clipboard.

5️⃣ The final two actions serve to confirm that everything has been copied as expected. The Text’ action just lets us format the confirmation message as we please, and the Show Result’ action displays it.

Now the code is ready to be pasted into another text document or website.

Here’s an example:

<iframe width="560" height="315" src="https://www.youtube.com/embed/Xv0BEyKi6lM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

My next challenge is going to be to combine my two embedding shortcuts into one, or running them as functions from a different menu. That, however, will be for another time. So far, using this shortcut throughout the week to prepare links for 7 Things has been working great and saves me time.

Get the Copy as Embedded YouTube Video’ shortcut → Original Version | Latest Version

Let me know if you get some use out of this shortcut, too!

Shortcuts Blogging


In what I believe to be a first for Apple TV+, the full pilot episode of a premiering series has been published on YouTube to the official Apple TV channel.

The Afterparty is the latest series to come to Apple’s streaming service, which is one of the only services not to feature a free tier. They do offer generous free trial periods, three months with any new Apple product that can play their movies and shows, but it’s a one-time deal. That’s why posting an entire episode to YouTube is so notable. Now anyone can watch the first episode, whether or not they’ve ever tried or paid for Apple TV+.

I’ve been looking forward to this show, the first three episodes of which are available to watch now on Apple TV+. It’s directed by Christopher Miller and has an all-star cast. I’ve got Knives Out vibes from the trailer, not just from the murder mystery genre, but also the laugh-out-loud humor. It’s going to the top of my watch list.

The video’s description shows that this YouTube premier will be short-lived and points viewers to Apple TV+ to continue watching the series:

Watch the first episode of The Afterparty, a new whodunnit comedy from Lord Miller starring Tiffany Haddish, Ben Schwartz, Sam Richardson, Ilana Glazer, Ike Barinholtz, Zoe Chao, and Dave Franco. Continue watching the next two episodes, available now on Apple TV+ and don’t miss Xavier’s final EP and music video for Imma Live Forever” dropping February 1 https://apple.co/_TheAfterpartyEpisode2

[…]

Available on YouTube until February 6 at 11:59p PST

Apple has made their streaming content freely available before, but not in full on another platform — you always had to figure out how to get to Apple TV+. I could see this being the start of a new strategy to hook potential subscribers on a new show by meeting them where they already find new video content, and that’s YouTube.

TV Shows