The Shape of Everything
A website mostly about Mac stuff, written by Gus Mueller
» Acorn
» Twitter
» Maybe Pizza?
» Code
» Archive

Motion Graphics For The Web is impressive.

I was jealous of Instagram's wide gamut canary image, so I made my own with FM's logo.

If you're on a wide gamut display, you'll see our logo. If you're not… well, you won't. Unless the app you're in handles color profile badly.

January 16, 2017

I spent more time this morning than I care to admit trying to suss out a code signing issue for Acorn when launching for the first time on 10.10. Here's my little story, and maybe you'll figure things out faster than I did.

Direct builds of Acorn were failing to pass through Gatekeeper on 10.10, but the exact same build worked fine on 10.12.

Running /usr/bin/codesign --verify was telling me something was wrong, but not what. However if I resigned my "bad" copy of Acorn using codesign on 10.10, then it passed through Gatekeeper without a hitch.

I was confused. So I went back through previous builds of Acorn (I keep copies of every in-progress beta build) to find where exactly the problem started showing up, and it occurred when I upgraded my build script from Xcode 7.3.1 to 8.2. I still didn't understand why codesign would be failing though, since that is run via a script against the final build, outside of Xcode's usual build process.

I pinged some friends for ideas and Daniel Jalkut suggested I try codesign --verify, but this time with the --deep option included. The extra argument pointed out the exact bundle in Acorn which was causing things to fail on 10.10. It was an Automator bundle.

I opened up that Automator project in Xcode and noticed right away that its deployment target was empty, which means it'll get whatever that version of Xcode thinks is right. In Xcode 8.2 that probably means 10.12, not 10.10.


There are a handful of Automator projects for Acorn, and I'm lazy and didn't want to check them all. Instead I chose to add the option MACOSX_DEPLOYMENT_TARGET=10.10 to xcodebuild when compiling those projects, and all was good.

Here's what I think was going on.

When codesign on 10.12 was run against the Automator actions, it checked to see what the deployment target was and signed the bundles in a way that wasn't compatible with 10.10. However, if I explicitly set the deployment target to 10.10, then codesign (running on 10.12) would then sign the bundles in a different way which was compatible with 10.10.

I think. I could be wrong. Maybe I should be substituting 10.11 in there for for 10.12 or 10.10. But it's all working now.

Anyway, thanks Daniel. And future Gus should remember the --deep option. (P.S.: The full command Daniel gave me was:
codesign --verify --deep --strict --verbose=2

A neat concept design for a hypothetical Mac Pro 2.

The current one is dumb. It's too small and you can't expand it.

So I've got a micro blog now. It's the new hotness. This is an entry from it as well, and here's the feed:

Science Bulletin: Study finds association between eating hot peppers and decreased mortality.

As a person who frequently eats spicy food, I welcome this news.

January 12, 2017

The folks that made Astropad have a new version they are calling Astropad Studio:

"Astropad Studio turns your iPad Pro into a completely customizable graphics tablet. It's our highest performance tool for the most demanding creative work."

It's really good. I've used the previous version and it worked pretty well. This new version works amazingly well. The display updates faster than what I would have thought possible, and it looks like there's a bunch of customization you can do. It's worth checking out if you've used tablets in the past.

It works great with Acorn too.

January 11, 2017

From the Instagram engineering blog: Bringing Wide Color to Instagram:

"Last September, Apple announced the iPhone 7 and 7 Plus, which include cameras that capture a greater range of colors than previous models, and screens that can display that wider color range. We’ve just finished updating Instagram to support wide color, and since we’re one of the first major apps to do so, I wanted to share the process of converting the app to help any others doing the conversion."

They have a great canary image for testing wide color in their apps.

Acorn handles wide color of course (and I think it might have been the first image editor on the Mac to do so). So you can replace "Photoshop" with "Acorn" anytime you come across it in the article.

January 6, 2017

Cafekraft on Vimeo: FOREVER – It ain’t over ‘til it’s over.

I've been climbing for over 20 years now. At least one of my carabiners is old enough to drink. I love that I'll be able to do this basically forever.

Via Devin Bishop.

January 5, 2017

If you had an Apple //c, //e, or any other computer of that vintage then you need to check out Lode Runner for the web. Your fingers will know what to do as soon as you start a level.

If 1983 is before your time, then you should take a peek at Lode Runner so you know what Awesome Fun we were having 34 years ago.

I'm pretty sure Lode Runner was first game I ever played on an Apple computer. Some family friends had an Apple //c with that little 9" green display, and I was instantly taken by it. I never had that same little display, but I did end up with a //c eventually. Probably the only other game I played more on it was Ultima IV. Good times.

Via The Loop.