Better is the enemy of best

A vintage Mechanical Horse Patent Drawing From 1893 on Dark grunge background.

You might have heard the aphorism “Perfect is the enemy of good“.  If you’re in a technical field, you’ve probably used it, or had it used against you, to shut down a conversation.  It’s an effective way to do so because it insinuates that the target is thinking impractically, not focused on the problem at… Read more

Apple Mail crashes on launch if connection logging is enabled

This was a fun one.  Mail started crashing on launch for absolutely no apparent reason – nothing had changed to its config or similar in a long time.  The crash logs were all fingering an identical culprit – -[IMAPTaskManager secondaryIdleMailboxName] called on the wrong GCD queue: Process: Mail [19884] Path: /Applications/Mail.app/Contents/MacOS/Mail Identifier: com.apple.mail Version: 11.3… Read more

‘Fake error’ about immutable values when using popFirst() on Array

It’s been a while since I wrote any meaningful Swift.  How I didn’t miss the Swift compiler’s bullshit error messages. That yields, on the popFirst() method: Cannot use mutating member on immutable value: ‘someArray’ is immutable. No it’s not.  It’s simply not. For whatever reason, if you instead call popFirst() on ArraySlice – ostensibly indistinguishable from… Read more

ProPhoto RGB vs JPEGs

Most common photo editors – e.g. Lightroom – let you choose the colour gamut to use for exported photos.  In Lightroom (at time of writing in January 2018) you have a fairly short list, of today’s common options – sRGB, Display P3, Adobe RGB, and ProPhoto RGB.  Since we’re all obsessive nerds, that we’re given… Read more