Mac OS X Stuck Registering Updated Components

I recently tried to run software update on my dad’s aging Macbook Pro (Snow Leopard, Unibody). Unfortunately, the process stalled during “Registering Updated Components”, leaving the computer stuck in the install for 30 minutes.

Here’s how I fixed it:

  • Once you’re sure the install is stuck, hold down the power button to forcibly shut down the computer.
  • Restart the computer and open Finder.
  • Type ⇧⌘G to bring up the “Go To Folder…” dialogue.
  • Type /Library/Updates and hit enter.
  • Delete everything in the Updates folder.
  • Run Software Update again.

As far as I can tell, the security update dad’s computer was trying to install was somehow corrupted. Redownloading it generated a fresh copy. I hope this is helpful to someone out there with the same problem.

Access the iOS 7 Developer Library without a Developer Account

Apple makes their developer libraries freely available online with one important exception: Prerelease libraries can only be accessed by registered developers.

Why would a non-developer want to read these? Well if you’re like me, you might be tech-savvy and curious about iOS 7 or Mavericks but not want to spend $99 to become a registered developer. Luckily there’s an easy solution.

Become a Safari Developer

Simply sign up to become a Safari extensions developer. It’s a free program that carries some of the same benefits as a paid iOS or Mac developer membership.

Simply by providing your address and an Apple ID, you gain the ability to read prerelease developer documents and learn details about Apple software months before it’s released.

Rounded Rectangles Deprecated

They Used to Be 'Everywhere'

I was reading through the pre-release documentation for iOS 7 and came across this gem:

The rounded rectangle button has been deprecated in iOS 7.

Why is this amusing? Because rounded rectangles were one of the big user interface innovations of the Macintosh and were demanded by Steve Jobs himself:

Steve suddenly got more intense. “Rectangles with rounded corners are everywhere! Just look around this room!”. And sure enough, there were lots of them, like the whiteboard and some of the desks and tables. Then he pointed out the window. “And look outside, there’s even more, practically everywhere you look!”. He even persuaded Bill to take a quick walk around the block with him, pointing out every rectangle with rounded corners that he could find.

Nearly every button on the Mac and on iOS has been a rounded rectangle for the past thirty years. So there’s something charmingly radical about a modern day Apple engineer calmly stating that they’ve been discontinued.

How to Add Incredibly Powerful Emacs-style Shortcuts to Mac OS X

What is Emacs?

Emacs is a very nerdy text editor/email program/development suite/nuclear reactor.

It’s ugly and weird and hard to use because it dates back to a time before computers had mice. But for that same reason, it has amazing tools and shortcuts for rapidly editing and moving through text with only your keyboard.

Mac OS X has always had some of these shortcuts baked in. For instance, type Ctrl+e in an OS X text field and the cursor will jump to the end of a line. Type Ctrl+k and everything between the cursor and the end of the line will be deleted (this is crazy useful when editing; I suggest trying it out).

I learned these shortcuts for convenience sake a few years back, but recently the trackpad on my Macbook Pro died and I was forced to turn to them full time.1 The problem is that by default, OS X only allows you to use a few select Emacs shortcuts that utilize the ctrl key. Many other powerful Emacs shortcuts are unavailable (including every shortcut that uses the alt key, referred to as the “meta” key in Emacs lingo).

But you can change this.

Changing Mac OS X Key Bindings

These directions are adapted from this excellent 2006 article by Jacob Rus and this excellent 2011 post by Brett Terpstra.

  1. Create a folder named “KeyBindings” in the ~/Library directory.2
  2. Download this DefaultKeyBinding.dict zip file.
  3. Unzip the files and place the DefaultKeyBinding.dict file into the newly created KeyBindings folder.

Now as soon as you restart any running apps, you’ll have access to an insanely powerful list of keyboard shortcuts in almost every Mac OS X application.

You can do crazy powerful things like uppercase words with Ctrl+U or copy entire paragraphs instantly by typing Alt+y. You can move paragraphs using only your keyboard (Ctrl+Command+K) or delete trailing whitespaces off a line (Ctrl+Alt+Right Arrow).

These key bindings will be overkill for most people, and they may even break a few shortcuts on your computer, but the possibilities are incredible. You can even customize them yourself by editing the DefaultKeyBinding.dict file in a text editor, adding to or tweaking the shortcuts to fit your own workflow.

If you spend a lot of time typing text or coding on Mac OS X, you owe it to yourself to play around with a few of these shortcuts and see how they can speed up your life.

  1. I eventually bought a Magic Trackpad as a replacement. 

  2. By default, the User’s library folder is hidden in Mac OS X. You can access it by opening Finder, selecting the Go menu from the menubar, and holding down the alt key to make the Library option appear. 

Overturning Prop 8 Affects Future California Initiatives→

One interesting side note to today’s Supreme Court decision regarding Proposition 8:

The Court’s reasoning does not take into account the fundamental principles or the practical dynamics of the initiative system in California, which uses this mechanism to control and to bypass public officials—the same officials who would not defend the initiative, an injury the Court now leaves unremedied. The Court’s decision also has implications for the 26 other States that use an initiative or popular referendum system and which, like California, may choose to have initiative proponents stand in for the State when public officials decline to defend an initiative in litigation.

By finding that the proponents of a ballot measure have no standing to sue in federal court, the majority has set up a system in which California and other states can roll back voter initiatives they disagree with by simply refusing to defend them in federal court.

This is undemocratic and strange, but I have to admit it doesn’t bother me much because…

The Initiative System Sucks

The initiative process in California is fundamentally broken. Rather than encouraging democracy, it undermines it by diffusing authority for basic decisionmaking in the state. No politician in California is ever responsible for anything because everything is subject to referendum. Voters elect politicians who cannot change how money is spent or raised or how crimes are punished. Then we all complain that nothing gets done in Sacramento.

Worse, the initiative process distills every complex issue into a binary choice: Yes or no with no potential for compromise or revision.

True, sometimes the system does good work. It offers chances for reform on issues like drugs or political redistricting that would probably die in the capitol. But more often it works as a system for millionaires and corporations to foist their personal agendas on California. A 1960s proposition sponsored by theater owners banned cable television in the entire state, and Proposition 13 famously destroyed local politics in California by capping property taxes.

The initiative process has become less odious in recent years (Prop 8 excepted) simply because liberals have gotten better and better at abusing it the way conservatives did thirty years ago. Despite that, I’m glad that the Supreme Court inadvertently smashed up the intiative system in their zeal to avoid deciding on gay marriage directly.

Microsoft Caves→

Xbox One Will Play Used Games

I previously voiced my displeasure with Microsoft’s planned console DRM scheme. In short, it had more restrictions than digital distribution systems like Steam or iOS while offering few of the benefits.

I wasn’t the only person annoyed. Sony drew blood with vicious and biting videos at Microsoft’s expense, and even US military publications spoke out against the system. Microsoft tried to stanch the bleeding, promising that you could share your game with ten friends and log in your console from your phone and etc etc, but these were complicated digital solutions to problems that don’t exist with current generation consoles.

It’s not a huge surprise then that Microsoft has folded their hand and given up on the whole scheme.

This was an unforced error by Microsoft. They designed the new system around their own corporate needs and only belatedly considered how the changes would affect real users. They never made an affirmative case for why this system would be better than the status quo. They just tried to muscle it through. I think the final straw for Microsoft was realizing that none of the major publishers, the very companies this system would most benefit, publicly backed Microsoft’s position during the controversy.

Story vs. Plot→

Film Crit Hulk’s latest article dives into convoluted blockbusters like Star Trek Into Darkness, and he makes a particularly deep point about the difference between story and plot:

And so when we look at the stories in Abrams’ work we don’t find much in the way of story at all. We find plots. It’s all master secretive plans built on reveals upon reveals upon reveals. We watch as brilliant characters play a high-stakes game of trying to outsmart each other. We watch those plans get teased out in incomprehensible ways. We watch them unravel a story without a hint of organic discovery.

Lost fans should be shaking their heads in recognition right now.

Hulk’s post clarifies a lesson I’ve been trying to learn. Screenplay is a way to tell a story, but it is not the story itself.

Story is something underneath the screenplay. It’s what the dialogue, action, plot, and pacing of the screenplay are trying to convey.

Without a story, a screenplay is just empty mechanics. It’s hollow and unfulfilling. In short, it’s Transformers 2.

iCloud Keychain→

I am so glad to hear that Apple is adding a password auto-generator to future versions of Safari on Mac and iOS.

As someone who has worked tech support as a personal assistant (and for my parents), I can tell you that people use terrible passwords. They pick a common word, maybe slap a number on the end, and then use that same password for everything.

Normal people don’t realize how easy it is to crack even the most eXtR3m3!! passwords.

I use 1Password to generate random unique passwords for every online account, and I’ve tried to set that system up for other people too. But it’s fiddly and complicated. It requires a browser extension, and it requires the user to remember to actually use the damn thing.

Apple’s solution will not be the best password solution, but just as they did with personal backups and Time Machine, they’re taking something complicated and vital and distilling it down to something simple enough for my mom to use.

I think this will be a huge security improvement for average users.

Why Google Killed Reader→

“As a culture we have moved into a realm where the consumption of news is a near-constant process. Users with smartphones and tablets are consuming news in bits and bites throughout the course of the day — replacing the old standard behaviors of news consumption over breakfast along with a leisurely read at the end of the day.”

I don’t like Google’s explanation for killing Google Reader.

Yes, Twitter and social media have changed how we consume news and internet posts. But the niche Google Reader and RSS serve is not about “leisurely” browsing of the internet over eggs and bacon.

By checking my RSS feed, I can skim and select from hundreds of stories from my favorite sites and authors in less than a minute.1

In contrast, Twitter and Facebook give me a random shotgun blast full of memes, links, and advertisements. I do not want to like or follow every public figure, author, or company that interests me and then have those people shit up my social feed. My social feed is just that, social. It shows me what other people think I should be reading, which is not always what I want to read.

I understand that RSS has always been a niche technology and that Google is probably making the right choice by focusing their efforts on more casual users. But I think Wired hits on a darker, potentially more accurate explanation for the change:

Now and Plus do one thing: They keep you in Google’s world. It’s a de-emphasis of content source. In other words, rather than reading Cat Fancy religiously, you’re reading the Animals category religiously — a category populated by the sites Google’s products think you’ll enjoy most.

  1. I can also subscribe to small sites and webcomics without worrying that I’ll miss their rare updates in my stream. 

Will PRISM Harm the US Tech Industry→

Imagine if it had come out in the 1980s that Japanese intelligence agencies were tracking the location of every Toyota and Honda vehicle, and then the big response from the Japanese government was to reassure people that Japanese citizens weren’t being spied upon this way. There would have been—legitimately—massive political pressure to get Japanese cars out of foreign markets.

Matt Yglesias has a great blog post puncturing some of the insular, parochial American reactions to the spying scandal.

Very few Americans seem to care about civil liberties or the Bill of Rights, but have we considered how these national security programs could hobble our biggest exports? If you lived in another country and were using products made by US companies like Google, Apple, Facebook, etc., would you be okay with those products feeding your information directly to a foreign government?