Linked List: May 24, 2016

Forbes: Peter Thiel Has Been Secretly Funding Hulk Hogan’s Lawsuit Against Gawker 

Ryan Mac and Matt Drange, reporting for Forbes (sorry for linking to Forbes — I think this is the first time I’ve done so since they started attempting to block visitors using content blockers — but this is their scoop):

Peter Thiel, a PayPal cofounder and one of the earliest backers of Facebook, has been secretly covering the expenses for Hulk Hogan’s lawsuits against online news organization Gawker Media. According to people familiar with the situation who agreed to speak on condition of anonymity, Thiel, a cofounder and partner at Founders Fund, has played a lead role in bankrolling the cases Terry Bollea, a.k.a. Hogan, brought against New York-based Gawker. Hogan is being represented by Charles Harder, a prominent Los Angeles-based lawyer. […]

Money may not have been the main motivation in the first place. Thiel, who is gay, has made no secret of his distaste for Gawker, which attempted to out him in late 2007 before he was open about his sexuality. In 2009, Thiel told PEHub that now-defunct Silicon Valley-focused publication Valleywag, which was owned by Gawker, had the “psychology of a terrorist.”

“Valleywag is the Silicon Valley equivalent of Al Qaeda,” Thiel said at the time.

A storyline right out of pro wrestling.

(Interesting perhaps only to me: I already had tags in my CMS for “Gawker” and “Hulk Hogan”, but not for “Peter Thiel”. Apparently this September 2014 post was the only time I’ve even mentioned Peter Thiel on Daring Fireball.)

‘Scotch Trooper’ 

Very fun Instagram account.

The Information: Apple Developing Siri API and Echo-Like Device 

Amir Efrati, writing for The Information (paywall, alas):

Apple is upping its game in the field of intelligent assistants. After years of internal debate and discussion about how to do so, the company is preparing to open up Siri to apps made by others. And it is working on an Amazon Echo-like device with a speaker and microphone that people can use to turn on music, get news headlines or set a timer.

Opening up its Siri voice assistant to outside app developers is the more immediate step. Apple is preparing to release a software developer kit, or SDK, for app developers who want their apps to be accessible through Siri, according to a person with direct knowledge of the effort. […]

Apple hopes to make the Siri SDK available in time for its annual conference for developers in June.

Will be interesting to see how this API works. Will the Siri extensions be packaged within existing iOS (and Mac?) apps? As for the Echo competitor — I hope they call it the Hi-Fi.

Hazel 4.0 

Speaking of Paul Kim, he just released version 4.0 of his excellent Mac utility, Hazel. If you’ve wanted an app to automatically clean up the files on your desktop and Downloads folder, that’s Hazel. Hazel does a lot more than that, but that’s the basic gist. You set up the rules you want and it just works. (If you want to know just how much more Hazel offers, David Sparks just released a two-and-a-half hour Hazel Video Field Guide that will teach you just about everything.)

Michael Tsai’s Dynamic Swift Roundup 

One more item regarding Swift and dynamism — Michael Tsai’s excellent roundup of links on the subject, including this Hacker News thread.

On Dynamism 

Paul Kim:

One thing many people seem to overlook about the dynamism of Objective-C is that it enabled NeXT (and Apple) to provide better GUI tools. Using dynamism, they were able to make GUI building declarative in nature. Connect this to that. Call this method. All stored in a file that was (and still is) data, not code. Competitors at the time (and today) resorted to code generation which is fragile and, ironically, unsafe. Yes, you could have a more declarative file format, but implementing that in using a static language required a lot of hard-coding and switch statements. Not the elegance that many people claim to be moving towards.

I’m not saying that a language has to be purely dynamic but it shouldn’t be purely static either. It think it’s spurious not to credit a level of dynamism for the quality of apps on Apple platforms over the years, and to be pedantic, the NeXT ones as well — many of which were considered the best on any platform at the time. To deny that, I feel, shows a lack of understanding of what has made the platform great all these years.

Objective-C is a very dynamic language. Swift (for now at least) is not. There are arguments on both sides, and I find the whole thing fascinating. But what I’ve noticed is that those arguing most strenuously against dynamism (or if you prefer, in favor of Swift’s relatively strict type safety) are doing so in the name of idealism. That rigorous type safety is correct almost in a moral sense (or, if you prefer, that the sort of bugs you can write with Objective-C’s dynamic features are immoral, that a modern language should prevent you from writing them in the first place).

Those arguing in favor of dynamism — and keep in mind Kim’s utterly even-handed stance quoted above — are doing so from an utterly practical perspective. We have 25 years of evidence that Objective-C and the NeXTStep/Cocoa/Cocoa Touch frameworks allow for the creation of the best apps in the world — and that they allow smaller teams to accomplish more, faster. (Exhibit A: Tim Berners-Lee invented the World Wide Web singlehandedly on a NeXT system in 1991.)

I can’t prove that dynamic nature of Objective-C and the frameworks has been essential to the success of the Mac and iOS for app development. But a lot of people who’ve spent years — or decades — creating those apps sure think so. I tend to side with pragmatism over idealism.

Why Big Apps Aren’t Moving to Swift (Yet) 

Ben Sandofsky:

I strongly believe Swift is the future of iOS development. It’s only a matter of when, and the blocker is the breakneck speed it evolves. For smaller apps, Swift is good enough. For big apps, it’s at least a year away. […]

If you’re working in a smaller app, stop reading. The benefits of Swift 3.0 probably outweigh the risks. If you’re curious about the challenges of large companies, large codebases, and complex dependencies, this post should explain why big projects are holding back.

In the run-up to WWDC (and in the wake of this announcement from Chris Lattner a week ago, that certain features slated for the upcoming Swift 3.0 have been postponed) I’ve seen a slew of great pieces on Swift and dynamic programming. Sandofsky provides a good layman’s overview of why it’s not yet practical — arguments over dynamism aside — for big apps to move to Swift.