Blockheaded

Complaints about Apple’s design choices usually involve transparency, color, and other legibility concerns. These criticisms are legitimate, but the poor design choices that usually set me off are the ones involving the mechanics of commands—what I have to do to get something done. I think of these as the “design is how it works” mistakes.

Yesterday, for example, I was going through my mail on my iPhone and came upon a piece of spam. I put it in the Junk folder with the hope that future emails like it would stay out of my inbox, but I also wanted to do something stronger. I wanted to block all future emails from that sender. I’ve done this with other senders many times before, so I know the steps to take, but I decided this time to document the process because it’s so stupid.

Tapping anywhere in the header turns the various fields blue, suggesting that a further tap on any of them will perform some other action. I’m not sure why these fields aren’t blue to start with, but that’s not my real complaint, so we’ll pass over that.

Sender context menu

Since I want to block the sender, the natural thing is to tap on the From field. Indeed, a menu pops up with a set of commands associated with that person/address. You might think that one of them would start a new message (as opposed to a reply), but no, which I find kind of weird. More to the current point, though, is that a command named Block Contact or Block Address is also missing.

I know perfectly well that I can block contacts from my phone, so how do I do it? The Copy and Search commands are clearly wrong, and View Contact Card seems even more wrong, as I have no contact card for this person. Nor do I want one—he’s a spammer. But because I once tapped View Contact Card, possibly by mistake, I now know that that’s the choice to make because this is what appears:

Contact card maker

It doesn’t show an existing contact card for the sender; it shows a potential contact card, one that I could add to my Contacts app. But also included in the list of things I can do with this potential contact is block him. Which is what I did.

But this process makes no sense. View Contact Card should not be the path you need to take to block someone you have no intention of turning into one of your contacts. It’s not just an extra step (like tapping the header to turn all the fields blue), it’s a step in the wrong direction. No reasonable person who has not already gone through this process would think that View Contact Card is the command you choose to ensure that you never see an email from this spammer again.

The natural place—the correct place—for a Block Contact or Block Address command is on the popup menu you see when you tap the From field. There’s plenty of room for it. Hiding it behind a command whose primary purpose is something else isn’t a matter of taste, it’s an error.

Apple used to think about things like this and put commands where they made sense. I know that Apple has many more products than it used to, but it also has many many more employees and much much much more money. Simple things like this shouldn’t be falling through the cracks.


My favorite Apple accessory

I meant to write this last week, shortly after I finished listening to Episode 612 of Upgrade. But things didn’t work out the way I hoped, so now I’m rushing to finish these few paragraphs before this week’s episode comes out (they’re recording as I type). I have nothing to say about the Tim Cook/John Ternus news that hasn’t already been said. I want to focus on Jason and Myke’s choices—made and unmade—in their Apple at 50 Draft.

My favorite picks were the oddballs, the products that weren’t Macs, iPhones, iPads, iPods, or Apple IIs. In other words: the accessories. I was particularly pleased with Jason’s picks of the LaserWriter, the Apple Disk II, the Apple Watch Sport Band, and the second generation Apple Pencil. I confess I was a little disappointed in Myke’s choice of the first generation Pencil, but he more than made up for it by later choosing the Magic Trackpad.

Those of you who weren’t around in the 80s and 90s may think Jason went overboard in putting the LaserWriter in as his third pick, but you’d be wrong. It was both a great product and incredibly important to Apple. Similar comments apply to the Apple Disk II. I never had one—I never owned an Apple II—but I did have its successor, the Integrated Woz Machine, in all of my early Macs.

My oddball entry would have been the AirPort Express. This is not in the “I can’t believe you didn’t pick” category1 because it’s an oddball even among oddballs, but for a short period of time for a specific subset of users, it was a great accessory.

Airport Express

If you were a business traveler during those few years in the mid-00s when hotels had wired internet access in their rooms but hadn’t yet outfitted themselves with WiFi, the first generation AirPort Express was one of the best things you could pack. It was about the same size as the wall wart power supply that came with your Apple notebook, and it set up a little WiFi network that gave you the freedom to work (or play) anywhere in your room. Even after hotel WiFi became common, I still packed my AirPort Express because it gave me a faster and more reliable wireless network.

I should also mention that “AirPort” was one of Apple’s best product names. Too bad they don’t have any reason to bring it back.


  1. I’m trying to avoid Jason’s wrath here. 


Krugman, Taylor, and Maclaurin

In this morning’s blog/newsletter,1 Paul Krugman included a couple of unusual graphs that I want to talk about. It took me a little while—longer than it should have—to figure out what he was doing and why, and I’m still not sure I agree with his plotting choices. Let’s go through them and you can decide for yourselves.

The two graphs of interest are made the same way, so we’ll focus on the first one. He introduces it this way:

The closest parallel I know to the Hormuz crisis is the oil shock that followed the 1973 Yom Kippur War. (The 1979 Iran crisis was more complex, involving a lot of speculative price changes.) World oil supply fell only moderately after 1973, but it had been on a rapidly rising trend until then, so there was a large shortfall relative to that trend. In the chart below I show the natural log of world oil consumption with 1965 as the base year:

And here’s the graph itself:

Krugman oil supply plot

Krugman usually apologizes in advance for the “wonky” parts of his posts, so I was surprised that he just breezed through the “natural log” and “base year” parts of his explanation. What he’s doing here is taking the oil consumption of a given year, dividing it by the consumption in 1965 (that’s the “base year” part), and then plotting the natural logarithm of that ratio against the year. The ratio for 1965 itself is, of course, one, which is why its log is zero.

Using logarithms to plot exponential growth is common because you end up with a straight line. What isn’t common is plotting the logarithm (natural or common) of the values on a linear scale, as Krugman does here. Plotting software typically (always?) offers you the option of plotting the actual values on a logarithmic scale. The advantage of taking that option is that although the ticks will be unevenly spread, the tick labels will represent those actual values, not their hard-to-interpret logarithms.

The interior of the plot would look the same if Krugman had used a log scale for the vertical axis. We’d still see the straight line showing exponential growth from 1965 through 1973, and then the very slight decay after that. The only difference would be the spacing and labeling of the horizontal grid lines.

So why did Krugman make the plot the way he did? I guess the answer lies in the paragraph after the plot:

The percentage difference between two numbers is approximately the difference in their natural logs times 100. So this chart shows that the world was burning approximately 17.5 percent less oil in 1975 than it would have under the pre-1973 trend — a supply shock not too different from what we will see now if the Strait remains closed.

The first sentence of this paragraph is what took me a while to understand. Then I remembered a Taylor series—actually a specialized Taylor series called a Maclaurin series—that I haven’t seen in quite a while.

Consider exponential growth at a yearly rate of α. After t years, the value, relative to starting value, will be

y=(1+α)t

(Note that α is expressed as a decimal value. If the yearly growth is 10%, α=0.10.)

Taking the natural log of both sides of this equation, and using the properties of logarithms and exponents, gives us

lny=ln[(1+α)t]=mt

where

m=ln(1+α)

(I should mention here that because I’m an engineer instead of a mathematician or programmer, I use ln for the natural logarithm instead of log. I use log for common [base 10] logarithms.)

This means that ln(1+α) is the slope of the exponential growth portion of Krugman’s plot.

This is where the series expansion comes into play. As I nearly forgot, we can express this logarithmic term as

ln(1+α)=αα22+α33α44+

and if α is small, the higher-order terms are very small, and

m=ln(1+α)α

so the growth rate (as a decimal) will be about equal to the slope of Krugman’s graph. To get the growth rate as a percentage, multiply by 100.

Is α small? Yes. For the eight-year period from 1965 to 1973, we see that the natural log of oil consumption goes up about 0.60. So the slope of that portion of the graph is

m=0.608=0.075α

which is pretty small.

The thing is, I’m pretty sure that whole “take the difference of the natural logs and multiply by 100” thing seemed like hand-waving to most of Krugman’s readers. If he’d just used a log scale on the vertical axis, he could’ve said that the lost oil consumption was about 17.5%, and it wouldn’t have seemed so magical because we’d all be able to see it in the graph.

Unless his purpose was to entertain people like me. In that case, good job!


  1. I’m pretty sure Krugman thinks of it as a newsletter because it’s hosted on Substack. I think of it as a blog because I read it through RSS. 


Keyboard Maestro launchers

During my seven-week Spotlight trial, I was reminded of how easy it is to make file and folder launchers in Keyboard Maestro. In case you’ve also forgotten, here’s a short post on how to do it.

There are three items that I open quite often and that Spotlight was slow to find:

The key to making a Keyboard Maestro macro to instantly launch a file or folder is the Open a File, Folder or Application action in the Open category. Here’s where you’ll find it in the Actions panel.

20260419-KM Open actions

The macros for opening the blog-stuff and calendrical folders in the Finder are one-step macros that look like this:

KM Blog-stuff folder

The path to the blog-stuff folder is

~/Library/Mobile Documents/com~apple~CloudDocs/blog-stuff

The calendrical macro looks the same, except it uses the keyboard shortcut ⌃⌥⇧⌘C and opens

~/Library/Mobile Documents/com~apple~CloudDocs/programming/calendrical

(These keyboard shortcuts have the sort of complicated chording I’d never use if I weren’t running Karabiner Elements to turn Caps Lock into a “Hyper” key that mimics pressing ⌃⌥⇧⌘ simultaneously. If you read Brett Terpstra, you’ll recognize the Hyper key.)

The macro for opening the notebook index file is only slightly more complicated:

KM Notebook index

The path to the file is

~/Library/Mobile Documents/com~apple~CloudDocs/personal/Notebook index.txt

and the second step puts the cursor at the bottom of the file, which is usually where I want it, as I’m typically opening the index to add a new entry.

Even though I’m back with LaunchBar, and I can use it to get to these files and folders quickly, I’m keeping the macros. They’re not that much faster than ⌘-Space and typing a few characters, but they’re more accurate. There’s no risk of typing “cla” instead of “cal” when I want to open the calendrical folder.