iOS development links: September 21st, 2016

macOS Sierra ships today

Apple:

Apple® today announced that macOS™ Sierra, the latest major release of the world’s most advanced desktop operating system, is now available as a free update. macOS Sierra brings Siri® to the Mac® with intelligent and helpful features users know and love from iPhone® and iPad®, along with all-new capabilities designed specifically for use on the desktop. Features like Universal Clipboard, iCloud® Desktop and Documents, Auto Unlock and Apple Pay® on the web help your Mac work even better with other Apple devices. And Photos gets an update with a new Memories feature that automatically creates curated collections of your favorite photos and videos.

The feature I’m most excited for is Auto Unlock!

Samsung Galaxy Note 7 vs. Apple iPhone 7 Plus

Supposedly, part of the reason for the Samsung Galaxy Note 7’s battery problem was that the company was looking to best Apple in a cycle Samsung believed would be dull. Here’s Bloomberg via Gruber:

So the top brass at Samsung Electronics Co., including phone chief D.J. Koh, decided to accelerate the launch of a new phone they were confident would dazzle consumers and capitalize on the opportunity, according to people familiar with the matter. They pushed suppliers to meet tighter deadlines, despite loads of new features, another person with direct knowledge said. The Note 7 would have a high-resolution screen that wraps around the edges, iris-recognition security and a more powerful, faster-charging battery. Apple’s taunts that Samsung was a copycat would be silenced for good.

Putting aside the tragic recall, I was interested in what colossal advantage the Note 7 had over the iPhone 7+ that caused it to fly too close to the sun, so I took a look at some comparisons online. Starting with the battery, the iPhone 7 Plus has 1,960 mAh rated battery, and the Note 7 has a 3500 mAh battery. Samsung’s battery is clearly better. But what about battery life in real-world use? As an example, consider that for Internet browsing on WiFi, the Note 7 lasts 14 hours according the Anandtech and Apple are advertising the iPhone 7 Plus lasts 15 hours. So despite Samsung’s nearly doubly rated battery, it’s arguably the same as the iPhone. Where consumers really care, which is day to day use, the iPhone is a clear victor. In terms of raw technological specifications, the Note 7 clearly wins.

Moving on to the display:

The Samsung Galaxy Note 7 has a stunning 5.7-inch QHD Super AMOLED display. It’s the absolute best in the business, bar none. The Quad HD resolution remains the same as before, for a 518ppi pixel density. Where Samsung has improved things is with the inclusion of Mobile HDR, which leads to an even more vivid, high-contrast picture in your videos.

Conversely, Apple’s mobile display technology remains a bit static. The company opts for the same 4.7-inch display with a 326ppi pixel density for the iPhone 7, and a 5.5-inch display with a 401ppi pixel density for the iPhone 7 Plus. It’s also used the same IPS LCD panel technology for years now, and it finds itself trailing Samsung on pretty much all counts.

The Note 7 is definitely better, especially when you consider that Samsung’s bigger and brighter display is also curved. As far as I can tell, the best use case of a display that dense is virtual reality headsets where the screen will be optically zoomed by lenses and right next to your face, meaning the iPhone’s mere 326ppi screen will show its pixels much before the Note 7’s 518ppi screen. I’d argue most users do not care about this, but indisputably the Note 7’s display is better.

What about the camera?

The Samsung Galaxy Note 7 packs exactly the same camera as the Galaxy S7. We’re talking the same 12-megapixel unit with phase detection, Dual Pixels, OIS, an f/1.7 lens, and a 1/2.6-inch sensor – and we’re not complaining one bit.

[…]

But the real advance can be found in the shape of the iPhone 7 Plus, which adds a second camera to the rear of the device. This dual-lens setup combines a telephoto camera with a wide-angle camera – both 12-megapixel – to create an effective optical zoom option. They can also combine to allow you to alter the focus after the picture has been taken, much like a Lytro light field camera.

So roughly equal here in terms of megapixels, with the only obvious advantage being Apple’s optical zoom. This is something Apple clearly got very right: the camera is something that almost everyone cares about, including the people looking to push the limits of what’s possible with a phone.

What about performance? First of all, RAM:

The Galaxy Note 7 does have double the RAM of the iPhone 7 – 4GB versus 2GB, with the iPhone 7 Plus having 3GB, apparently – but that’s never been a particularly useful metric for comparison.

Double is definitely better. What about CPU? (via John Gruber)

DEVICE SINGLE-CORE MULTI-CORE
iPhone 7/7 Plus 3,450 5,630
Samsung Galaxy S7 1,806 5,213
Samsung Galaxy Note 7 1,786 5,228
Samsung Galaxy S7 Edge 1,744 5,203
Huawei P9 1,729 4,735
OnePlus 3 1,698 4,015

Apple’s the clear victor in CPU benchmarks. But none of this is really what consumers care about. How long does Angry Birds and co. take to load on both devices? I haven’t tried this myself, but embarrassingly, in real-world app launch tests, the new iPhones lap Samsung’s latest offering:

As you can see in the video, the iPhone 7 doesn’t just completely dominate against the Galaxy Note 7 — it laps it by completing its second run of opening the apps before the Galaxy S7 has even finished its first. That’s despite the fact that the iPhone 7 has a mere 2GB of RAM compared to the Galaxy Note 7’s 4GB. It somewhat confirms Apple’s claim that designing software and hardware together improves performance and means the phone can perform well with less RAM.

I’m beginning to see a trend emerging. With the exception of the CPU and camera, the Note 7 is clearly better than the iPhone in a number of ways. (Not to mention it comes with both an audio jack and a smart stylus and a curved display!) But the problem is that Samsung has been trying to improve the phone when they should be improving the user experience. Instead of worrying about the mAh of the battery, they should have been worried about the number of hours on the web or on Netflix that people can have. What I find most embarrassing about this is that Samsung is blaming Apple’s “dull iPhone” for the Note 7’s bad year, and the iPhone is still arguably better in ways that most users care about. Some of these problems are more with Android than with Samsung: those battery life benchmarks reveal that Android seems to be doing double the amount of work that iOS is doing for browsing the web, and that’s not allowing Samsung’s battery marvels to shine. If Samsung ever launches their own mobile operating system which is only 50% better than Android at most tasks users care about, the iPhone would need to be careful. Until then, Apple can ship phones with half the battery life, half the screen resolution, half the RAM, and the same camera as Samsung offerings, and still have the courage left to remove the headphone jack. I’m very happy with my iPhone 6 Plus, but everyone whose getting an iPhone 7 is getting the best smart phone experience money can buy.

iOS development links: September 20th, 2016

iOS development links: September 19th, 2016

iOS development links: September 16th, 2016

South Park: “Member Berries” review

Trey Parker and Matt Stone’s absurd comedy with purposely poor animation is back! The episode starts off strong with a volleyball game modeled after the Olympics where the principle interest to the audience is whether or not people stand for the national anthem, and they quickly leave after discovering this. In order to make people like the national anthem again, the American government ask J.J. Abrams to  reboot it, and they take aim at his Star Wars reboot (reviewed here) when the new anthem is the same as the old anthem.

The season also picks up where the last one left off, with Mr. Garrison and Caitlyn Jenner running as a Donald Trump stand in, with an absolutely perfect narrative gag of Mr. Garrison doing too well in the polls despite actually trying to lose (this also resurrects the old school “giant douche vs. turd sandwich” joke). Mr. Garrison and Caitlin sit through the national anthem in hope of derailing the campaign and giving it to the turd sandwich (who is Hillary Clinton) This complements a trippy, out-of-nowhere plot element of “member berries”, which ask “member Reagan?” and “member when we were safe?” in a stupid high-pitched voice, as if it’s taking aim at Seth Rogen’s latest movie (which I review here).

Also, Cartman’s latest activity of being a social justice warrior in his own way – holding a school assembly to insist that “women are funny” and speak out against the harassment that women experience on the Internet. It’s heavily implied that he’s the aggressor (known as skankhunt42) as well as purposely botching his job, which wouldn’t surprise anyone who knows Cartman. But then he asks Kyle what if he isn’t skankhunt42 and he’s genuinely scared of having a gender war. When you learn that skankhunt42 is Kyle’s dad the absurdity just flows over you in a wave of hilarity.

Overall, the South Park season premier was excellent, chock full of absurdity, crudeness, and satire that made me laugh throughout and left me wanting more. There was a lot in there, as you can tell from how difficult it was to describe, but it’s good that Matt and Trey are staying ambitious. I think it’s going to be a great season!

I’m going independent

I’ve big news: I’ve left my 9-5 job to freelance full-time.

For a while now, I’ve offered my development services to clients in free time. I’ve consulted with startups on strategy, built apps for agencies, and even done some photography and writing. What inspired me to do this is that it’s fun – I love meeting new people, working on new projects, and helping people. Starting today, I’ve taken the leap to make this my full-time job, and I’m so excited to see where this takes me. Taking on a new job has always seemed to me like a big risk – you need to make a life-changing decision with limited information. And every choice comes with a series of compromises, including being a freelancer vs. being an employee – for instance, guarantee of income, commuting, use of an office, withholding tax, etc.

Last time I took a job I did it with a company I had never heard of before, and it was only after a few months of working there that I understood the decision I made. I think this is another one of those cases, where I don’t have the experience of being exclusively a freelancer yet, and so I can not in principle know the consequences of my decision. Perhaps this is part of the appeal, because I know I am excited to do this, just like I was excited to take my last job. I’ll be documenting my experience on this blog to help people in the future make this decision with more information. Thanks for reading and feel free to reach out to me if you’d like to work on a project together!

iPhone 7 follow up

The on-stage reasons for removing the headphone jack were space, being antiquated, and the advent of wireless. Ben Thompson brought a BuzzFeed article to my attention that goes more in-depth about the space portion of this justification:

Apple executives told BuzzFeed that removing the headphone jack made it possible to bring that image stabilization to the smaller iPhone 7, gave room for a bigger battery, and eliminated a trouble-spot when it came to making the iPhone 7 water-resistant. It’s a solid argument, albeit one not quite worth Schiller’s hubris.

It also adds easier water resistance as a benefit of removing the jack, which I believe is probably true even given the other devices which are water resistant with headphone jacks.

Thompson also raises an excellent point about the iPhone 7 Plus camera. Because there are two sensors, with some clever software which combines triangulated information about the subject with clever guesses about depth, it’s possible to use the iPhone camera to created 3D imagery, even if only very slightly (the greater the space between the two sensors, the more you can triangulate and capture the 3D scene). Here’s how he puts it:

[W]hat Apple didn’t say was that they are releasing the first mass-market virtual reality camera. The same principles that make artificial bokeh possible also go into making imagery for virtual reality headsets. Of course you probably won’t be able to use the iPhone 7 Plus camera in this way — Apple hasn’t released a headset, for one — but when and if they do the ecosystem will already have been primed, and you can bet FaceTime VR will be be an iPhone seller.

What also struck me about this presentation was how conspicuously Schiller brought up machine learning as what powers some of these new features. This, along with artificial intelligence and virtual reality, are the new hotness in the Valley, and it seems to me that Apple is making long-term plays and hedges with the iPhone 7 Plus camera sensor.

iPhone 7

There was a lot announced at Apple’s event today, and I’d like to offer this piece as a knee-jerk analysis of what was announced. Before I dig in, I’d like to note that this was the first Apple presentation that used San Francisco as the font, which I think is a great change.

AirPods

One of the most innovative products announced at Apple’s events today was not a phone, but an accessory which will conveniently upset users which suddenly find themselves without a headphone jack on their phone. Here’s how Apple introduces their new headphones:

Apple® today introduced AirPods™, innovative new wireless headphones that use advanced technology to reinvent how we listen to music, make phone calls, enjoy TV shows and movies, play games and interact with Siri®, providing a wireless audio experience not possible before.

Removal of headphone jack notwithstanding, I am excited to try out these AirPods. I’ve believed for a while now that Bluetooth wireless headphones have become “good enough” when compared to their wired counterparts. Admittedly, there are still problems, specifically the user experience around pairing, especially for multiple devices. While the battery life seems low and the price tag high when compared to similar products, the fit and finish of an Apple product seems present in this product. For instance, with regards to the user experience around pairing, when you pair your AirPods with your phone, that pairing is propagated across your Apple devices using iCloud, so you can use them with your other devices too. Also, you can use just one AirPod, perhaps as an earpiece, to be more inconspicuous, to use it more casually, or to wait while your other AirPod charges.

The bottom line is that I will get myself a pair of AirPods – I’ve wanted a gadget like this for some time, and Apple appears to have nailed the execution on Bluetooth earbuds.

iPhone

But what of the new iPhone? Here’s how Apple put it:

The new iPhone features new advanced camera systems that take pictures like never before, more power and performance with the best battery life ever in an iPhone, immersive stereo speakers, wide color system from camera to display, two new beautiful finishes, and is the first water and dust resistant iPhone.

What stands out to me about the iPhone updates is that Apple finally seems comfortable with iPhone updates being just that – updates. In the past, the marketing materials and surrounding press all seemed to expect and to be delivering another “breakout/breakthrough/revolutionary” product, where the iPhone 7 seems comfortable with being an all-things-considered total upgrade. The new “Black” is absolutely beautiful, I much prefer it to Space Gray. The stereo speakers, improved display, improved camera, improved processor, and improved battery are all great – Apple really delivered an excellent phone.

Of course, the most glaring change to the every day consumer isn’t even listed in the press release, and that’s the omission of the headphone jack. I’m not personally opposed to removal of the headphone jack, I’ve been using Bose QC 35s for some time now and with great results. However, if I made music on my iPhone and wasn’t able to use flat-response headphones (necessarily with a jack) while charging my device, I’d be pretty upset. The problem for music creators with wireless is latency – when you’re starting and stoping a lot, the delay between hitting play and hearing audio in wireless headphones, even if measurable in the 100s of milliseconds, is infuriating and probably insurmountable for the foreseeable future. Once you start using monitors which process the audio before sending it as output, you can just forget about using Bluetooth, you need a wire.

The way that Phil Schiller justified this change was principally “courage”, but ancillarily having more space for the battery, the 3.5mm jack being “old”, and wireless being the future. The space justification is interesting in that this device is not any thinner than the last iPhone, which included a 3.5mm jack, and also on grounds that I bet this changes makes its way into bigger devices like the iPad, where space isn’t so tight. The “old” justification is not so convincing – the use of pixels, the use of cellular networks, the idea of a CPU are all “old” but still somehow relevant and important. Schiller is right about wireless being the future however, which is the only way I can interpret the “courage” line as arrogant and tone-deaf. The exciting thing about this, to me, is that the market will decide. I imagine Apple has done their homework, and found that not enough people care about the 3.5mm jack to justify its continued existence. I would much prefer to see usage numbers rather than hear about hand-wavy “courage” to justify this change.

The bottom line is that I won’t be upgrading my iPhone 6 Plus to the iPhone 7, but there’s definitely never been a better time to get an iPhone if you’ve wanted one. If I were going for a iPhone, however, it’d be an iPhone 7 Plus in Black, because the increased screen size, battery, and better camera all make for a better phone that the smaller sibling. Like Stephen Hackett, I wouldn’t go for the jet black:

I really like the look of the jet black in photos, but between this note and photos of the matte black option, I’m going matte.

Apple Watch

Here’s Apple’s take on the updates to the Watch:

Apple Watch Series 2 is packed with incredible fitness and health capabilities including a water resistance 50 meter rating for swimming,*  and built-in GPS so users can now run without an iPhone®. Apple Watch Series 2 also features a dramatically brighter display and a powerful dual-core processor.

The grand irony here to me as an avid Apple Watch user is that across Apple’s entire product line, from their professional-grade desktops to their bottom-of-the-line smart phones, Apple are obsessed with thinness to the detriment of every other metric. Number of ports? Well, we better remove a few in favor of being thinner. Size of battery? Well, battery improvements mean it doesn’t have to be as big, so better make it thinner. And yet, in the one product where thinness really matters to me, on the device which I think stands the most to gain from shaving a couple centimeters, Apple adds more power. These updates to the watch are much needed – third party apps are very slow, I must admit I’ve found the display ever so slightly lacking (but no showstopper by any means), and the experience of having your phone and your watch while running definitely needed rectifying.

The bottom line is that I will not be upgrading my Series 1, but I greatly look forward to getting watchOS 3 on there.

 

U.S. defense contractors say Russian threat is good business

Capitalism is great in certain domains, like consumer technology, commodity goods, transportation, and much more. But it’s terrible in others, when compassion or foresight beyond the quarter or even the human life span is needed, like with private prisons, climate change, and arms. Here’s The Intercept:

Retired Army Gen. Richard Cody, a vice president at L-3 Communications, the seventh largest U.S. defense contractor, explained to shareholders in December that the industry was faced with a historic opportunity. Following the end of the Cold War, Cody said, peace had “pretty much broken out all over the world,” with Russia in decline and NATO nations celebrating. “The Wall came down,” he said, and “all defense budgets went south.”

Did you think Lizard People was just a conspiracy theory? These military-industrial corporate thugs would stoke the fires for World War III, straightfacedly talk about the “history opportunity” to their investors, and non-ironically say they’re “just doing their job” and “if it wasn’t for me, it’d be someone else.” Capitalism doesn’t work as well here because it makes the category error of comparing the money in this industry against the value of a human life. I hope they’re ready to be scorned by the history books.

AT&T, Apple, Google to work on ‘robocall’ crackdown

For a couple of different reasons, the frequency which I received automated telemarketing is increasing, and I find it quite annoying. The phone call used to be something casual, when I was a kid, I’d call people just to see what was going on with them. Because text communication and cell phones, this is no longer necessary, and in fact, I suspect most people find phone calls rather intrusive, what with the ringing and having to pause talking to everyone else. Which is why telemarketing is so annoying. Thankfully, Reuters:

The chief executive of AT&T (T.N) will announce Friday that 33 companies including the telecom giant, Alphabet Inc (GOOGL.O), Apple Inc (AAPL.O) and Comcast Corp (CMCSA.O) are joining an effort with the U.S. Federal Communications Commission (FCC) to crackdown on robocalls.

Despite these companies actually holding one another by the throat, these fierce rivals all agree: robocalls suck.

iOS and Android market share

The latest version of iOS is on 87% of devices, according to iDownloadBlog, in stark comparison to 15% of Android users being on the latest version of Android. You must consider, however, that Android has more users, where the latest official numbers indicate that iOS has 1 billion active users where Android has at least 1.4 billion active users. So for developers targeting customers, the latest and greatest iOS is on 870 million devices and the latest and greatest version of Android is on 210 million devices. When you also consider that iOS users spend 4X as much on platform, it really becomes difficult to justify starting a business on Android.

Twitter, ISIS, and free speech

The New York Times:

Twitter suspended 235,000 accounts that promoted terrorism over the last six months, as part of a continuing effort to keep people from using the social network for extremist causes, the company said Thursday.

This is completely okay despite being an affront to free speech because Twitter does not owe you (or ISIS) anything. Twitter’s interests are with their advertisers, and when the any speech goes against their motivations, it is completely up to Twitter to deal with it the way they want (and they will). It gives everyone at least one compelling reason not to centralize their speech and surrender their freedom, especially when hosting text is so cheap.

Apple wants to add cellular service to their Watch

The Verge:

Apple won’t be adding cellular connectivity to the Apple Watch this year, according to a new report from Bloomberg. The company had planned to incorporate the technology and uncouple the Apple Watch from the iPhone, but ran into issues related to battery life.

I wasn’t an early adopter of iOS, but I imagine the early days made it clear that the small screen of the original iPhone was good enough for many tasks typically reserved for a sit down computer and keyboard, and this expanded year over year as the device’s capabilities and functionality expanded. Just like WiFi and Bluetooth are good enough for most uses when compared with their wired alternatives, and this continues to expand as the technology becomes more capable. Regardless of whether this is true of the iPhone, I definitely find that the Watch is good enough for many tasks, namely switching songs, adjusting volume, short phone calls, and canned messages. With WatchOS 3 this expands somewhat, bringing the option to draw your letters to form messages, and in other ways. Perhaps the Watch has a relationship with iPhone, in Apple’s mind, the same way the original iPhone had a relationship with the Mac. To add to a polemic spin to this, if you look at Apple’s present Mac line-up, we all know how that went for the Mac.

Twitter rolling out quality filters

Twitter:

Last year we began testing a quality filter setting and we’re now rolling out a feature for everyone. When turned on, the filter can improve the quality of Tweets you see by using a variety of signals, such as account origin and behavior. Turning it on filters lower-quality content, like duplicate Tweets or content that appears to be automated, from your notifications and other parts of your Twitter experience.

It seems to me that every Twitter user is really demanding on the free service, expecting it uphold principles of free speech and filter hate speech from their feeds and not get any money for doing it. Twitter is iconic, every commercial and celebrity is constantly peddling hashtags, and yet there’s no clear way forward for Twitter to profit on that.

The future is now, well, next month, and only in Pittsburgh

Bloomberg:

The plan seemed audacious, even reckless. And according to most analysts, true self-driving cars are years or decades away. Kalanick begs to differ. “We are going commercial,” he says in an interview with Bloomberg Businessweek. “This can’t just be about science.” […] Starting later this month, Uber will allow customers in downtown Pittsburgh to summon self-driving cars from their phones, crossing an important milestone that no automotive or technology company has yet achieved.

Even given the various hedges, specifically that these cars still have drivers in them and that it’s a test program running only in Pittsburgh, this is huge news. I imagine there are various meetings going on right now at Apple, Google, Tesla, Ford, and more, where people are throwing their laptops. While there’s a lot of technological barriers to success still, the biggest hurdle, I’d argue, is still the hearts and minds of the people. I’ve heard many times that people think self-driving cars are cool, but “they wouldn’t want to beta test it” and “like to be able to control their vehicle.” This is a step in both advancing the technological front and changing the culture, all while being “first to market.”

We should expect responses from competitors.

Closing federal private prisons over the next 5 years

From the Washington Post:

The Justice Department plans to end its use of private prisons after officials concluded the facilities are both less safe and less effective at providing correctional services than those run by the government. […] The goal, Yates wrote, is “reducing — and ultimately ending — our use of privately operated prisons.”

“They simply do not provide the same level of correctional services, programs, and resources; they do not save substantially on costs; and as noted in a recent report by the Department’s Office of Inspector General, they do not maintain the same level of safety and security,” Yates wrote.

This is a major victory of people over profit: it is just so dangerous to incentive corporations to treat prisoners like Candy Crush treats its customers, looking for “recidivism” like its “yearly active users”. There’s a long way to go, because this is just federal contracts, but I am so pleased to read this. The companies that run this racket had their stock price crash. Think about that: someone invested in a company because of their belief in the growth of the prison population.

Death & Magic: MUST DIE! Album Review

DM_YourEDM1Death & Magic from OWSLA artist MUSTDIE! is an succinct and exciting “dance” album. Although truth be told, I think only Transformers or robots more generally have got the moves for the searing synths and driving bass that MUST DIE! delivers. The album isn’t tremendously original, but it makes up for this is superb execution. If you’re like me, you need heavy bass music if you’re ever going to write a line of code, and Death & Magic delivers there.

Deliverance: Culprate Album Review

maxresdefault-2 Culprate’s 2014 Deliverance is a sophisticated, somber, and confusing electronic album. It’s constantly on the verge of throwing you into a classic dubstep “wubby” drop, but Culprate practices restraint while finding other ways to surprise the listener. It’s like dubstep crossed with the elevator music played in a very well-to-do apartment building. The album is at times completely carefree, flouting the need for structure, familiar instruments, or tropes of the electronic genre, but these moments are almost always matched by little snippets of something recognizable. Culprate jumps freely to and from the listener’s comfort zone, soothing them into a comfortable trance only to throw something unexpected at them, but not without tastefully reminding them of the song’s melody soon thereafter. Highly recommended.