The Robservatory

Robservations on everything…


Show albums a given Photos’ photo has been added to

A friend asked if there was a way in Photos to see which albums a selected photo had been added to. This is one of those things that would be incredibly easy for Apple to provide: Select a photo, press Command-I, and in the info window, you could see a list of all albums containing the selected photo.

Unfortunately, Apple doesn’t seem to think people might care about what albums a photo is in, so this feature exists only in my mind. Thankfully, Mac users Jacques Rious and léonie wrote an AppleScript to solve the problem. I used the first instance (version 4) of the script in that post and it worked fine in High Sierra. (In case Apple ever decides to remove its forums, I’ve recreated the script below.)

To use the script, paste it all into AppleScript Editor and save it as an application (or you can just run it in AppleScript Editor). In Photos, create a top-level album (I named mine Find Albums Photo Is In), and place the photo you want to know about into that album. Leave it selected, then run the AppleScript. You’ll see one dialog stating what photo is being used, then after a bit, you should see a results dialog, like this:

As you can see, the album used for the search is included in the results; someone with better AppleScript skills than I could probably modify the script to exclude that album (any takers?). While I’d much prefer Apple include this feature directly in Photos, at least there’s an alternative when you need this information.


Review: Olala SG1 Bluetooth earbuds

Recently, Olala sent me a set of their SG1 Bluetooth wireless earbuds to review.1I received the SG1s for free, but my review is based solely on their performance and my impressions of their build quality. While I listen to music in a number of ways, none of them currently include wireless earbuds, so I was interested in seeing how the SG1s performed. These earbuds are also very reasonably priced—only $32 at Amazon as I write this today.

And for that $32, you get a very complete setup: The earbuds on about a two-foot cable, three sizes of ear cushions, a complete (though tiny) instruction manual, a shirt clip, a cable separator, and a leather-look carrying case.

(Also included, but not shown in the photo, is a USB charging cable.)


How to download macOS Sierra

This morning on Twitter, Antonio asked…

I thought “Well, that’s an easy question to answer—via the Mac App Store, of course.” As it turns out, that’s the right answer, but it was much harder to find than I expected it to be. I started on the Purchased tab in the Mac App Store app, where you can (theoretically) see all past purchases, including prior Mac OS X versions. However, those old releases stop with Mac OS X El Capitan from 2015; neither Sierra nor High Sierra are listed.

Next I tried searching the Mac App Store for Sierra, but that nets only Server and High Sierra, and a few apps that appear to have gotten away with using “Sierra” in their descriptions:

I then tried the Apple Developer site, but they don’t offer Sierra for download either.

Somewhat stumped, I then started searching, and after way too many attempts, I finally landed on this useful page at Stack Exchange, which attempts to explain how to download all older versions of Mac OS X/macOS. Here’s the relevant bit for Sierra:

For OS versions since Sierra.

Sierra itself has now vanished from everybody’s Purchase History. However, Apple are keeping Sierra fully available, even though High Sierra is out. No Apple ID is required.

Apple KB – How to download macOS Sierra
Sierra – Direct download link from the App Store

Given how much trouble I had finding this page, I thought I’d post it here for anyone looking for Sierra. Going forward, keep that Stack Exchange link handy, as it should be updated in the future as new releases come out.

A neat detail in Star Wars: The Last Jedi [Coded Spoiler]

We saw Star Wars: The Last Jedi for a second time a while back, mainly because a large group of friends was going and we had most of the theater to ourselves, so it was sort of like a private screening. During my re-watching, I spotted a number of things that I’d missed the first time, but one in particular stood out…

Note: The remainder of this post is ROT13 encoded, as the subject being discussed is a major—really major—plot spoiler. This should keep it disguised both here on the site, and in the RSS feed. However, commenters may not disguise their comments, which means you may not want to scroll down at all if you haven’t seen the movie yet.

If you don’t want a major plot element revealed, do not single-click on any of the encoded text!


A useless analysis of macOS (OS X) release dates

Updated and republished for macOS 10.13.3 Supplemental Update; skip it unless you really really care about all the macOS releases. Originally published on November 14th, 2005.

Below the break is a table showing all major releases of macOS (previously Mac OS X) from the public beta through the latest public version, which is macOS 10.13.3 Supplemental Update, as of February 20, 2018—the 110th release in total.

Note: Click the ⓘ symbol to read Apple’s release notes for a given update.


Number of days until fifth update for macOS releases

When the third release of macOS High Sierra came out, I charted the pace of its updates compared to all prior Mac OS X/macOS releases. I said I planned to keep that chart current, so here it is now that the fifth High Sierra update (10.13.3) is out. (Note that 10.0 has vanished from the chart, because it had only four releases.)

Click the above image for an in-window larger version, or just view the full-size version directly.

As you can see, macOS 10.13 took just 120 days to reach its fifth update; that’s nearly half the time (229 days, macOS 10.11) as the next quickest release.

Is it better software updating, catching more bugs earlier and pushing releases faster, or is it just buggier software receiving multiple quick-release critical updates? I obviously don’t know, but my perception as a user is that it’s the latter.

Easily delete albums in Photos

Last fall, I finally made the move from iPhoto to Photos…months later, I still find myself frustrated by many things in the Photos’ user interface.

Today’s aggravation dealt with cleaning up a bunch of older photo albums—some I just wanted to delete, others I wanted to convert from Smart Albums into normal albums (because I wouldn’t be adding any more photos that used the keywords in the Smart Album). That meant I wanted to delete a bunch of albums—well over 100.

Deleting an album in Photos can only be done from either the My Albums overview, where you can select more than one (though not across folders), or via the contextual menu in the sidebar.

The My Albums view wasn’t going to work for me, as I needed to look at and work with many of the albums, across many folders. But after the sixth time of doing the “right click, select Delete Album, tab to Delete in the confirmation dialog, press Return” dance, I was sick of it. Time for another Keyboard Maestro macro.

This one is very simple—it just replicates the actions required to delete an album. With it in place, I click on the album I wish to delete, then press Control-D. It’s still more mouse interaction than I’d prefer—why can’t I select albums via the keyboard?—but it’s oh so much faster than using the contextual menu.


A much-improved run-tracking Excel workbook

About two years ago, I created a basic-but-functional run tracking workbook (created in Excel). It worked well, and helped me through my 2,016 mile year in 2016. I didn’t run nearly as much in 2017 (on purpose), but 2018 is upon us, and I’m going to up my mileage this year—probably not to 2,018, though!

In preparing this year’s version of the workbook, I addressed a few things that bugged me about the first one: It was ugly, changing years was difficult, and it was ugly. It was also really ugly. Did I mention it was ugly? Anyway, here’s what I’ve changed with the new version:

  • Years are now easily handled; just input the year you wish to track, and the workbook does the rest, including leap years.
  • All run data can be deleted with one button click—and yes, there’s a confirmation first. (Requires macro version of workbook.)
  • The pace calculator is no longer a separate worksheet; it’s integrated into the Overall worksheet.
  • It’s not nearly as ugly as it was before—layout is improved, gridlines are gone, tables are cleaned up, etc.

As noted, there are two versions of the workbook—one contains a macro that can erase the run data from each monthly worksheet, the other does not contain that macro. This is something you’ll only do once a year, but it’s much easier with the macro version.


The iMac Pro—and upcoming Mac Pro—are Apple’s ‘halo cars’

Writing on his blog, Kirk McElhearn talks about profit and the iMac Pro/new Mac Pro (emphasis added):

I’m speculating, but I think Apple won’t be making much of a profit from the iMac Pro, or the coming Mac Pro, but rather needs to have these computers as flagship devices to show that the company can innovate. If they take a loss, because of R&D costs, it’s not a big deal, because for every iMac Pro or Mac Pro they’ll sell, they probably book 10,000 iPhones.

I think Kirk’s spot on here (though this being Apple, I wouldn’t be surprised if they make a small profit on the Pro models). And there’s a perfect corollary in the automotive world: halo cars

A halo vehicle (or halo model) in automobile marketing is one designed and marketed to showcase the talents and resources of the manufacturers and to promote sales of other vehicles within a marque.

Consider Ford and the new Ford GT, which is a stunning $495,000 sports car…

Ford won’t sell may of these—I believe they’ve capped production at 1,000 units or so, and they’re probably taking a loss on each car. But it’s a car that shows what Ford can do given unlimited budget and working outside the constraints of a typical production line—it takes one full day to assemble each car. Compare that to the roughly 300,000 Ford Fusions sold each year, which means they’re producing over 820 cars per day.

It also gives the owner of a Fusion or Fiesta or Mustang the ability to say “Yea, it’s a Ford—the same company that makes that amazing GT.” It may even draw them into a showroom to see the car, where they may leave with some lesser vehicle. (Though with so few GTs being built, Chevrolet’s Corvette is a better real-world example of a halo car, as you can find those at any Chevy dealer.)

Thinking about the iMac Pro/new Mac Pro as Apple’s halo cars makes perfect sense. These are expensive machines that will sell to relatively few people, but every Mac (and iPhone) owner can say “Yea, the same company that makes those amazing high-end desktop machines.” It may also draw users to an Apple Store to see this amazing metal, and they may end up leaving with a “normal” iMac or MacBook Pro.

And it lets Phil keep saying “Can’t innovate any more, my ass!” for a few more years.

Revisiting a PDF page counting script

A couple of years back, I created a bash script to count PDF pages across subfolders. Here’s how it looks when run on my folder of Apple manuals:

I use this script on the top-level folder where I save all my Fujitsu ScanSnap iX500 scans. Why? Partly because I’m a geek, and partly because it helps me identify folders I might not need to keep on their own—if there are only a few pages in a folder, I’ll generally try to consolidate its contents into another lightly-used folder.

The script I originally wrote worked fine, and still works fine—sort of. When I originally wrote about it, I said…

I feared this would be incredibly slow, but it only took about 40 seconds to traverse a folder structure with about a gigabyte of PDFs in about 1,500 files spread across 160 subfolders, and totalling 5,306 PDF pages.

That was then, this is now: With 12,173 pages of PDFs spread across 4,475 files in 295 folders, the script takes over two minutes to run—155 seconds, to be precise. That’s not anywhere near acceptable, so I set out to see if I could improve my script’s performance.

In the end, I succeeded—though it was more of a “we succeeded” thing, as my friend James (who uses a very similar scan-and-file setup) and I went back-and-forth with changes over a couple days. The new script takes just over 10 seconds to count pages in the same set of files. (It’s even more impressive if the files aren’t so spread out—my eBooks/Manuals folder has over 12,000 pages, too, but in just 139 files in 43 folders…the script runs in just over a second.)

Where’d the speed boost come from? One simple change that seems obvious in hindsight, but I was amazed actually worked…


The Robservatory © 2017 Built from the Frontier theme