Posts Tagged ‘apple’

Spotify and the App Store

Via Recode, Spotify says Apple won’t approve a new version of its app because it doesn’t want competition for Apple Music.

Why is this surprising to Spotify? Amazon has a Kindle app on the App Store but doesn’t sell books inside said app. Its Apple’s App Store, you play by their rules, no?

I read the New York Times which presumably allows you to subscribe via the app, but I log in via my account since I have a direct relationship with them. I read the Financial Times, and they didn’t want to play by the App Store rules – they’re a full-featured HTML5 application.

Maybe Spotify should take heed from the FT and invest further in play.spotify.com? (The spec obviously support it, since Rdio had a browser based interface before Spotify did; I don’t know the status of how mobile browsers handle it.)

Shorter cables

I travel a lot and I one of the things I constantly do is refine what goes into my backpack (and luggage). For this trip, I decided to add a refinement — reduce cable clutter.

Apple gives you 1m USB to Lightning cables when you buy the iPhone or iPad. Its nice, but folding this all is quite a burden even when I have a cord pouch to organise it all. For almost a year now, I’ve had to carry an Apple Watch charger as well.

So why not get shorter cables? Apple makes 0.5m USB to Lightning cables which are much shorter and are all I need. After all, I’m charging on the desk with an Anker 5-port USB charger. Apple decided against making a 0.5m Apple Watch charger, so I’ve settled on the 1m Apple Watch Magnetic Charging Cable.

This is a good setup. I’m saving space when it comes to folding cables. The desk looks neater no matter where I am. I found one caveat though – the 0.5m USB to Lightning cable might not be long enough for you to charge your device on a plane. For this, I still have a spare 1m cable that is attached to my powerbank.

Learnings from Swift becoming opensource

Swift is now opensource, and it’s interesting to see Craig Federighi talk about it. This is Apple doing right, considering FaceTime is long overdue to being an open standard. People are nitpicking on Apple’s Open Source tagline, but really, this is akin to nitpicking on Mark Zuckerberg donating 99% of his Facebook stock to his new limited liability corporation charity (key: don’t look a gift horse in the mouth).

Apple has chosen to put Swift on Github, and they’ve ensured that it wasn’t just an initial commit, but you’re seeing a lot of history. And it’s the right choice clearly, for engagement — 1,275 watching, 18,884 stars, 2,139 forks, 51 pull requests currently, but most interestingly a lot of accepted code. Even simple things along the lines of “fixing typos” (see commits, eg. d029f7e5ae84cf8f6c12907f9ed0ac0a694881aa, e8b06575d26a684f415af95143ec576a6aa5168d, etc.). 

Swift has open source documentation — like all good open source projects are supposed to have. They use Sphinx and its in the source tree. This is something I’d wish to see from MySQL (docs copyright Oracle, online, but you can take it offline too via PDF) or MariaDB (friendly licensed Knowledge Base), but so far only Percona Server has gotten this right.

What else did Swift do right? Focus on user contributions — the Contributing page is a breath of fresh air. And don’t forget the code of conduct for participating in the project.

But besides just the documentation and contribution pages, I learned something new from one commit in particular — the existence of nproc, part of coreutils. I immediately hopped onto IRC to chat with Nirbhay (our resident MariaDB Galera Cluster expert), because in scripts/wsrep_sst_xtrabackup.sh, we do this via a get_proc() function. We should be focusing on modernising/standardising our codebase, shouldn’t we?

There is a lot we at MariaDB Corporation and the MariaDB Foundation can learn from Swift being opensource and how Apple deals with the community at large. Here’s hoping we get the best practices from it and implement it in due time.

Hello Applebot

Saw lots of this in the access logs:

17.142.151.101 - - [08/May/2015:10:37:27 -0700] "GET /blog/archives/2015/02/03/here-and-defending-your-trademarks HTTP/1.1" 200 12324 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Applebot/0.1; +http://www.apple.com/go/applebot)"

So its real — there is an Applebot, and it’s written in Go. Apple also has documentation about it now. And of course, you can read Gruber’s piece. Would be nice to find out ways to feed more info to Siri (I mean, it doesn’t work as well as when its in the USA…).

Switching costs

When I was a desktop Linux user, I’d just sync /etc and /home to a freshly installed Linux box. When I became a desktop Mac user, I would just rely on Migration Assistant.

With iOS, the trick is to have iTunes make an encrypted backup of your device so that passwords are saved upon backup & restored perfectly with your new device.

However, it’s always rosier than it looks. During my switch I noticed passwords missing from Rdio, audiobooks lost their last played time, and Kindle was completely wiped, thus requiring re-entering a password. These weren’t the only offenders – SoundCloud needed a re-login, Facebook too (and Spotify that depended on it).

You’d think that Apple itself would have figured this out for their apps. On some devices iMessage and FaceTime would get disabled for the phone numbers (so disabling & re-enabling would make things better again).

As I have to update a “fleet” of iOS devices, I wish there was more predictable central management of such devices.

This is another reason I’m very cautious about updating to the latest releases of software, especially iOS or OSX. I depend on these devices and can’t afford downtime. Lately Apple software has been quite bug ridden.

The ecosystem & devices are a charm. But upgrades are expensive as there are switching costs. Imagine switching to a completely new ecosystem?

Apple Store Malaysia – accepts AMEX now

Where possible, the only card I use is my American Express charge card. Of course, recently, Maybank has upped the ante with an Amex card that provides TreatsPoints (and if you’re after air miles, they are better than the charge card membership rewards — go figure).AMEX on Orchard road

I especially like purchasing electronics with the Amex. Purchase protection, return guarantees, but the most important to me is the extended warranties (which cover mobile phones, but not computers!). So its great to see that a complaint that existed in early 2013, is now fixed. The Apple Store in Malaysia finally accepts Amex cards for purchases. This wasn’t true earlier this year (say March?). So a positive move.

In other news, I walked into a Machines store the other day and the only iPhone 6 they had for sale were the 16GB iPhone 6+’s. Everything else was sold out. I lamented that you could pick this up on the Apple online store, and it ships within 1-3 business days. Apparently Apple is making the lives of these resellers a little tougher by not releasing stock to them. Oh well.


i