Apple | Dominik Mayer – Products, Asia, Productivity

ICloud Drive Silently Deletes Your Content

The first time it happened, I was writing a paper. The paragraphs I had just typed vanished into thin air, faster than Time Machine or Backblaze could save them. Gone. The next occurrence was during app development; Xcode suddenly flagged numerous errors in previously error-free code. My recent changes to several files were erased.

Months later, the mystery is solved: iCloud Drive detected a file conflict. It assumed different versions of the same file existed on my Mac and iPhone and couldn’t merge them automatically. This was impossible; the affected files were never opened on the iPhone. But they were in iCloud, as I had moved my Mac’s Documents folder there.

Dropbox manages version conflicts by storing all conflicting files side by side, labeled as “(John Doe’s conflicted copy)“. iCloud Drive, however, doesn’t show these conflicts in the file system. If you open the file in an editor that supports conflict handling, a popup appears asking which version to keep. Editors like Textifier, Xcode, or Obsidian, lacking conflict handling, leave iCloud to decide which version to store on your disk and in your backup.

Over time, newer backups overwrite older ones containing the correct version; your content is gone for good. The only way to get it back is to open the file with an editor that supports conflict resolution.1 Once moved out of iCloud Drive, even that won’t help. The content is lost.2

Masking version conflicts might appear user-friendly, but it has catastrophic consequences. You might not discover the data loss until years later, when reopening significant but infrequently used documents.

Until iCloud Drive exposes version conflicts in the file system or a central, easily accessible location, my strong recommendation is to move all crucial data out of it. Meanwhile, set up a Git repository to monitor your critical files; you might uncover surprising changes.


  1. I use iA Writer↩︎

  2. In my tests, moving the unchanged file back to iCloud brought back the conflicted version popup. This may not happen if the file has been edited or if you’ve continued working on a copy. ↩︎

Nian

Every Chinese New Year, Apple commissions a short film.

This year it’s about the mythical Nian. Wikipedia explains:

Once every year at the beginning of Chinese New Year, the nian comes out of its hiding place to feed, mostly on men and animals. During winter, since food is sparse, he would go to the village. He would eat the crops and sometimes the villagers, mostly children. […] The weaknesses of the nian are purported to be a sensitivity to loud noises, fire, and a fear of the color red.

Hence the fireworks, noises and the red color everywhere. I remember riding my bike through Shanghai on Chinese New Year with things exploding left and right. It felt like crossing a battlefield.

Here’s the making-of video to the short film with director Lulu Wang and colleagues touting the iPhone 12 Pro Max as a cinema camera:

Privacy at Apple  

Former Apple engineer David Shayer explains on TidBITS why he trusts Apple’s new exposure notification. He touches the internal processes that prevent excessive user tracking:

Once I had recorded how many times the Weather and Stocks apps were launched, I set up Apple’s internal framework for reporting data back to the company. My first revelation was that the framework strongly encouraged you to transmit back numbers, not strings (words). By not reporting strings, your code can’t inadvertently record the user’s name or email address. You’re specifically warned not to record file paths, which can include the user’s name (such as /Users/David/Documents/MySpreadsheet.numbers). You also aren’t allowed to play tricks like encoding letters as numbers to send back strings (like A=65, B=66, etc.)

Next, I learned I couldn’t check my code into Apple’s source control system until the privacy review committee had inspected and approved it. This wasn’t as daunting as it sounds. A few senior engineers wanted a written justification for the data I was recording and for the business purpose. They also reviewed my code to make sure I wasn’t accidentally recording more than intended.

Read the whole thing. It’s fascinating.

Oak Felder

Apple:

Follow hitmaking, Grammy-nominated songwriter and music producer Oak Felder as he creates a new song. Along the way, he speaks about music production, creating his own unique sound, working with the world’s top artists, and what it means for young artists to have access to powerful technology.

Prototyping at Apple  

Apple prototype collector Giulio Zompetti describes what he thinks might be the company’s development and prototyping process.

Daughter

Also check out the behind the scenes video:

Myths About Apple Design  

Storehouse co-founder and ex-Apple designer Mark Kawano:

I think the biggest misconception is this belief that the reason Apple products turn out to be designed better, and have a better user experience, or are sexier, or whatever . . . is that they have the best design team in the world, or the best process in the world […]

It’s actually the engineering culture, and the way the organization is structured to appreciate and support design. Everybody there is thinking about UX and design, not just the designers. And that’s what makes everything about the product so much better . . . much more than any individual designer or design team.

He shares some more insight into the design process at Apple.

Start Early  

Mark Gurman:

Apple’s approach to developing hardware from the home is yet another indicator of the company’s integrated hardware and software philosophy. Like with iTunes arriving before the iPod and the Health app arriving on iOS before the iWatch, Apple is creating a Smart Home ecosystem via its software and planting its feet in the category before introducing actual hardware.

It’s similar to the way they launched iBeacon. At first they made sure that every device is equiped with Bluetooth Low Energy. When they released iOS 7 there were already hundreds of millions of capable devices out in the wild.

Design Changes in OS X Yosemite  

Here’s a quick look at the visual design changes in Yosemite and my impressions of them.

I like the new look but Min Ming also points out some glitches that should be fixed before the release.