06
Apr 10

Mac geeks: Help with this problem?

My wife’s MacBook has developed a weird problem in iPhoto.

She has been trying to drag photos out to a desktop folder, so she can upload them to a printing service. She’s found several photos that she can’t drag out. Most seem to work fine, but these won’t permit the file to be dragged.

Normally when you drag a photo out you get the green “plus sign” overlay icon, meaning a copy will be made. On these photos, she gets the “no smoking” slash-circle symbol.

Other symptoms:

  • Right-click and “Show File” brings up a Finder window that shows the root disks of the machine. Normally you would get the folder where the photo lives, with the photo selected.

  • If you double-click the photo to bring up the large view, you get a big pixellated question mark. Normally you’d get the large version of the photo.

It’s as if the photo’s entry is still in the database/index, but the actual photo file has gone missing.

I’ve tried a systemwide Repair Permissions in Disk Utility. I also started iPhoto up while holding cmd + opt, and selected several options:

  • Rebuild the photos’ small thumbnails
  • Recover orphaned photos in the iPhoto Library folder
  • Examine and repair iPhoto Library file permissions
  • Rebuild the iPhoto Library Database from automatic backup
  • Reclaim unused disk space from databases

(In other words, the only option I did not try was “Rebuild all of the photos’ thumbnails.)

I’ve tried going into Time Machine, searching back to the oldest occurrence of the image I could find, and restoring it.

So far, nothing’s worked. I’m starting to fear filesystem corruption.

Anybody with any ideas, please let me know. If you already know my email address or have me on Facebook, feel free to contact me there. If you have neither, you can drop me a line using my contact form.


06
Apr 10

The Collapse of Complex Business Models

The most watched minute of video made in the last five years shows baby Charlie biting his brother’s finger. (Twice!) That minute has been watched by more people than the viewership of American Idol, Dancing With The Stars, and the Superbowl combined. (174 million views and counting.)

The Collapse of Complex Business Models


03
Apr 10

Mislabeling Apple

iPad Launch Day is upon us, and with it comes another wave of articles and opinions. This week I’ve read several times about the coming death of the tinkerer class. Old-school hackers bemoaning the closed nature of the iPad/iPhone ecosystem, theorizing that if iPad were the state of the art when they came of age, they would never have become programmers. They dangle this theory like a specter: a future is coming when young people won’t have the opportunity to tinker, to become entranced by technology, or to ultimately grow up and become as awesome as they are.

These people are utterly missing the point.

Human beings are, by our nature, tinkerers. Nothing is going to stop that. We started out in caves and straw huts, and a mere few thousand years later, we have walked on the moon and created objects that would have had us burned as witches two hundred years ago. The iPad is not going to kill that spirit.

What these people are completely ignoring is what Apple is. I know the common wisdom: Apple is a hardware company. They make software, but only to sell hardware. In a sense that’s true. But that’s not really what Apple is, at least not anymore.

Apple is an experience company.

Apple isn’t selling a pound and a half of silicon, aluminum and glass. They’re not selling you a machine. What Apple sells is an end-to-end experience, one that they want to work perfectly. That takes quality control.

By “quality control” I mean the App Store approval process. I’ve read many arguments against it. It goes against free software principles. It is the Disneyfication of software. It allows Apple to exercise great power over developers.

Sure, the App Store has some downsides, in the eyes of a certain class of user. But for the other 99.9% of the world, it has one huge, huge upside. You aren’t going to get malware from the App Store. You aren’t going to get porn in the App Store. And, within reason, you won’t get horribly buggy crap from the App Store.

You can trust the App Store.

That’s huge. We are told constantly that it’s not safe out there; you can’t open an attachment in an email; you have to constantly update your system with patches. In the traditional computer world, you can’t trust anything. Any program you find on the Internet could have a malicious purpose; you just don’t know.

That concern goes away on an iPhone or iPad.

And that’s a great experience.


31
Mar 10

Mac OS X Must-Haves

Jon recently got a Mac laptop at work, and asked me for recommendations, apps that are “must haves.” I’ve been meaning to write about this for a while anyway, because I’m asked this question a few times a year.

My top picks

LaunchBar

LaunchBar is the ultimate Batman utility belt for your Mac. It’s difficult to concisely describe what it does, but I’ll try: you hit a key combo to bring up a small bar at the top of your screen, and with a few keystrokes you can find and run applications, locate and open files, contacts, or bookmarks, execute dozens (hundreds?) of commands doing all sorts of things, search Google and other services, control iTunes, and even do math. You can even add your own commands.

The only way to really understand why LaunchBar is great is to try it. There’s a free 30-day trial download; after that you have to buy a license. I’ve seen people balk at the price for what they consider a “basic” utility. I use LaunchBar easily fifty times a day, so I consider the price a bargain.

LaunchBar is powerful and full of surprises and functionality. I may write more about it another time.

If you’ve heard of Quicksilver, let me put it this way: LaunchBar is like Quicksilver, but without all the slowness, bugs, and developer abandonment.

1Password

1Password is a versatile vault for all kinds of information. Passwords, credit card info, random notes, software licenses, anything you want. It ties into most browsers and lets you auto-fill logins on sites. It also has an easy-to-use random password creator built in.

Here’s how I use 1Password when I set up a new account on a site.

  1. I use 1Password’s random password generator to create a randomized, long password. I usually use about 20-24 characters, but you can go up to 50.

  2. I log into the site with my newly minted password. 1Password will automatically detect the login and ask if I want to save it. I say yes.

  3. The next time I need to log into the site, I just hit a key combo, and I’m automatically logged in.

Do you see the real advantage? It’s not just that I have the convenience of having something type my password for me. It’s that I can use a different and completely random password for every site I use, and I never have to remember any of them. All I need to know is the one password (get it?) to unlock my 1Password database.

If someone managed to crack my Facebook password, the damage would be limited to Facebook. They wouldn’t automatically have access to my Twitter account, my email, or (God forbid) be able to log into my bank account. I use Dropbox (see below) to sync my 1Password database between my desktop and my laptop, so I always have up-to-date data, whichever machine I am using.

1Password optionally syncs data to an iPhone app (via wifi), so you can have your data on-the-go.

Evernote

Evernote is a place to put anything you might want to remember and find later on. I use Evernote for all kinds of things. It has completely replaced all of the sticky notes, scraps of paper, random emails to myself, etc., which I used to use to stash bits of data that I didn’t want to lose. Now I just stuff it into Evernote, forget about it, and if I ever need it again, it’s right there.

Evernote can read images and extract words. You can take a picture of a sheet of paper, upload it to Evernote, and search for words in the picture to find it later. They even do handwriting recognition.

Another big plus to Evernote is that you can tag something with a URL. This is great for bookmarking articles. I used to use Delicious for these bookmarks, but I found that I would often go back to the site and the URL no longer worked. In the case of certain publications, the content would expire from the site (I’m looking at you, newspaper industry). The advantage with Evernote is that I can create a note containing the page’s contents, tag it with the URL, and if the link is broken when I go back, so what? I still have the contents of the page.

There are a number of Evernote clients available (Windows, Mac, iPhone, Blackberry, etc.), as well as access via their web site, so there are many ways to access your Evernote data.

Evernote is free, and you can upgrade to a Premium account if you want a larger monthly upload allowance.

Dropbox

In a word, Dropbox is magic. You have a folder, you drop in files, and they magically appear on any machine where you use Dropbox. I’ve seen other services try to do this (Apple’s iDisk, WebDAV in general…) but Dropbox is the first one I’ve used where it “just works” every time, and it’s fast.

I use Dropbox when I want to edit a file on multiple computers. I also use it to sync my 1Password database between machines. Because the 1Password data is encrypted with AES-128, it’s no problem to leave it out in the cloud.

Bonus: Dropbox is free if you don’t need more than 2GB.

TextMate

TextMate: easily the best text editor I have ever used. As I’ve said before, TextMate has all the extensibility of Emacs, but with none of the Lisp or Richard Stallman.

TextMate is one of those applications that is deceptively simple. At launch, you see nothing but a blank text window. Hidden beneath that simple face is a powerhouse.

I use TextMate for writing, coding, designing, and prototyping. The ability to invent new commands by writing small scripts is very powerful. Unlike some editors, you aren’t limited to a language that was chosen for you. You can use any common interpreted language. I’ve written TextMate commands in Bash, Perl, Ruby, and even PHP. (Though I regret the latter.)

TextMate isn’t cheap for “just a text editor,” but if you spend a significant amount of your time editing text, and especially if you write code more than occasionally, it’s well worth the price. I wrote this post in TextMate using Markdown.

Adium

Adium is a powerful instant messaging client with support for nearly every protocol that exists. I use it for AIM and Jabber, but it also supports ICQ, Yahoo, MSN, Google Talk, Novell Groupwise, Facebook, and a bunch more. In other words, if you’re on a bunch of networks and you don’t want to run a bunch of apps to use them all, Adium is for you.

ClickToFlash

I use ClickToFlash to block Flash content in Safari. Because I hate Flash.

ClickToFlash couldn’t be easier. Wherever Flash would be, you see a gray box that says “Flash” in the middle. If you want to load that object, click. You can also load everything on a page at once, or you can whitelist a domain (e.g. youtube.com) so it always loads Flash without a click. It only works with Safari.

Skitch

Skitch has a simple purpose: let you take a snapshot of something on your screen, and upload it to the web, quickly and easily. I use this at least a few times per week.

By default, Skitch uploads your snapshots to skitch.com. If you prefer, you can configure Skitch to upload elsewhere, like Flickr, or a WebDAV, FTP, or SFTP server. I have Skitch save files to my web site using SFTP.

SSHKeychain

If you use SSH, SSHKeychain is invaluable. As a systems engineer, I use SSH dozens of times every day.

SSHKeychain is an SSH agent, which means it can memorize keys and passphrases for you (to avoid constantly typing them in), and it can forward that authentication data through to other servers (in case you have to jump through one server to get to another, but need to use the same key on both). It can also handle some common tasks like creating SSH tunnels.

Yes, I know, Terminal has an ssh-agent built in, but each window gets its own. So you are constantly typing in your passphrase. It’s annoying, especially if you open several windows in a series.

Second stringers (good to have around)

Firefox

I hardly ever use Firefox, but I keep it around because occasionally I run across a site that is broken in Safari. Usually these sites work in Firefox (but not always – yes, there are still IE-only sites out there).

Flip4Mac WMV Player

Flip4Mac plays Windows Media formats in Quicktime (including in webpage-embedded views).

Perian

Perian is another Quicktime add-on. It understands a bunch of video formats, including DiVX.

ExpanDrive

ExpanDrive allows you to mount remote servers as local volumes. If you have a server that you can access via SSH, you can mount filesystems on that server on your Mac, using SSH (SFTP). It also supports FTP and Amazon S3. This is a great way to edit remote files with your favorite Mac text editor (like TextMate).

ExpanDrive is currently US$39.95.


31
Mar 10

Which Party Has More Sex Scandals?

After studying the 58 scandals over the past 20 years involving all politicians or major candidates for city mayor and above—many involved crimes, others just allegations, but all wound up as tabloid fodder—some conclusions can be reached.

The number [of] sex scandals has increased dramatically over the past few decades, thanks to technology, new press standards and a post-Clinton belief that everything is fair game.

Republicans have more scandals (32 to 26), but Democrats have bigger ones, based on our methodology (13 out of the top 20).

Democrats tend to have more problems with harassment, staffers and underage girls; Republicans tend to have more problems with prostitutes, hypocrisy and underage boys.

Which Party Has More Sex Scandals?


30
Mar 10

Tweetie, Instapaper and metadata

This is a great feature. When you send a link to Instapaper from Tweetie 2 for iPhone, it includes the tweet as a note, to remind you where you got the link.

This is especially nice if you decide you want to go back to Twitter and reply back about the link.


30
Mar 10

The Invisible Hand of the Market

More than 200 companies have joined a boycott of [Glenn] Beck’s program, making it difficult for Fox to sell ads. The time has instead been sold to smaller firms offering such products as Kaopectate, Carbonite, 1-800-PetMeds and Goldline International. A handful of advertisers, such as Apple, have abandoned Fox altogether. Network executives say they believe they could charge higher rates if the host were more widely acceptable to advertisers.

The Beck Factor at Fox: Staffers say comments taint their work


29
Mar 10

Mincemeat and the Imaginary Man

Early in the morning on the 1st of May 1943, a fisherman on a beach in Spain discovered a waterlogged corpse which had washed ashore during the night. The dead man was clothed in British military attire and a life preserver, and he had a briefcase chained to his lifeless body. Apparently a casualty of an airplane accident at sea, the body was transported to the local port, where its discovery was reported to the Nazi officials stationed in the city of Huelva.

From his personal effects, the man was identified as Major William Martin, a temporary captain and acting major in the British Royal Marines. Rather than allowing possible military intelligence to go unintercepted, the local agents for the Abwehr – the German intelligence organization – coaxed the briefcase open to examine its contents. Inside, along with the man’s personal effects, the Nazis discovered a personal correspondence between Lt. Gen. Sir Archibald Nye, vice chief of the Imperial General Staff, and General Sir Harold Alexander, the British commander in North Africa. This letter described key details of the Allies’ plans to invade Nazi-held territory. It seemed that luck was favoring Germany; but the discovery ultimately resulted in disaster for the Nazis.

Mincemeat and the Imaginary Man


28
Mar 10

Back That Thing Up

Yesterday afternoon, my wife lost her grip on her MacBook, and it fell to the floor, resulting in a catastrophic hard drive failure. The disk utilities could no longer even detect there was a drive installed.

I created a temporary account on my laptop for her, and prepared myself for a major headache recovering data the next day.

This morning, I picked up a new disk at Best Buy. (That I can now buy 250GB, at retail, for only $60, is mind-boggling.) It took only a few minutes to swap the disks physically, and another ten or so to boot from the Snow Leopard DVD, plug in the Time Machine backup disk, and start a restore. It told me to come back in about two hours, and when I did, the machine was ready to go.

Wow. Just wow.

I’ve been using and managing computers for a long time, and I’ve never recovered from a major failure so smoothly. This is why Apple made such a big deal about Time Machine when it was introduced.

By the way: if you have both a desktop and a laptop Mac, you do not need a Time Capsule to do backups over your wireless network. Any shared USB disk attached to your desktop will work. Just turn on file sharing, mount the volume on your laptop, and tell Time Machine to use the mounted volume. You don’t even need to figure out how to get the volume to mount at boot; Time Machine will remember it and mount as needed, and even unmount when finished.

It’s very polished, and more importantly, automatic. Non-automated backups are not much better than no backups at all. (I learned that lesson the hard way.)


27
Mar 10

John Frum and the Cargo Cults

Their god has yet to emerge from his home inside the volcano to bring the promised riches, and at least one visitor’s guide offers this advice: “If you question a local about their beliefs, they will most likely reply that you have been waiting for your messiah to return for over 2000 years – while they have been waiting for only 70.”

John Frum and the Cargo Cults