Jan 15

Once a year, Santa Steve emerges from Cupertino and announces Mac goodies for all the good little boys and girls. Today, January 15, 2008, is that day! That’s right, folks. If you didn’t know, this week is the annual Macworld Expo in San Francisco. This year, there is “Something in the air” but so far other than rumors, that’s all we know.

In preparation, I have worn my black “I (Apple) Code” shirt and jeans. I will be following several live-blog pages during the Stevenote address which begins at 9am PT/12pm ET. Engadget, TUAW (The Unofficial Apple Weblog), and MacRumors usually have good ones.

I will post my impressions and thoughts sometime after I have fully digested the event.

Jan 10

I admit it–I’m not big on backing things up. This may be the result of never really having experienced catastrophic hard drive failure (knock on wood). Or, it may just be my lazy, gen-x attitude.

At work, I typically save all important documents directly to a “My Documents” share on the file server (IT takes care of backing that up–thanks, Ron). However, I recently started started using a little ToDo list app that really needed its file stored locally (connecting and disconnecting to the server would just be too much for its “every 5 second” autosave). So, how do I back that up on a regular basis? Combine that with the time I’ve spent this week getting my Subversion repositories properly backing up and I decided it was time for a solution.

I had always heard about how cool Automator is on the Mac, but had never really given it much thought. Is it ever (cool)! I was able to graphically set up a simple workflow to make an archive of my local “Documents” folder. Problem was, my 18GB Parallels VM file is in there. With a bit more Googling and some creativity, I was able to exclude that folder (and a few others). More on that later.

So, now, how do I run this bad-boy without physically opening Automator and running it? This article on MacOSXHints.com came to the rescue. You save your Automator workflow as an Application (or, if you read the comments, an iCal Plug-in) and use the iCal alarming capability to schedule it.

I now have automatic backups running every morning at 2am for my iMac at work. Now, I just need to break down and buy that really big external drive for home so I can use Time Machine to back up my personal Macbook.

If you are a casual reader, you can feel free to stop reading here. The rest is pretty technical details on setting up the Automator workflow.

Now, on to the tricky part. If you are trying to use Automator to specify folders, but want to exclude some sub-folders, you are in luck! It’s not terribly intuitive, but what I discovered is that you needed to include a “Get Folder Contents” before you could filter by name. Note that this example only excludes one level deep. It will not drill into subfolders and exclude those. I suppose you could make it do that, but for me, I didn’t need that functionality and this was much simpler and faster. Here is what I ended up with:

  • Get Specified Finder Items - Add your “Documents” folder (and any others you want backed up)
  • Get Folder Contents - Apparently, this turns Folders into “items” that can then be filtered. Don’t check the “Repeat for subfolders” unless you really really want to drill into every subfolder and create a giant list–it may take a long time to run and exclude items you didn’t expect to be excluded
  • Filter Finder Items - Use the “Name” “Does not contain” filter and just add a filter for each item you want to exclude (in my case I created one for “Parallels” and one for “Microsoft User Data”)
  • Create Archive - Creates the zip archive and saves it in a specified location
  • Rename Finder Items - I used this to append a date-stamp to the filename
  • Copy Finder Items - Last step, copy it to a location accessible by Finder. Fortunately, if it needs to mount a network share (even smbfs), it will!

That is my workflow. Hopefully that will help someone that gets stuck on the excluding named folders step. Automator is really pretty neat and who knows, maybe I’ll find some other great uses for it in the near future!

Dec 02

Malls at Christmas time are never a good place, but I had put off getting my Macbook looked at long enough.  I have a white 13.3″ Macbook and for about the last 4 or 5 weeks, the Superdrive (DVDRW/CDRW) had been ejecting discs about 5 seconds after you stick them in.  I really didn’t want to leave it with them and definitely couldn’t leave it long-term right now (due to needing it for testing at work).

So, I made an appointment over the internet with the Apple Geniuses at the Apple Store at Northpoint Mall.  I arrived, checked in, and a few minutes later, handed my Macbook to my assigned genius.  I explained the problem, he grabbed a disc, stuck it in, it spit it back out, and he asked, “You ready to leave it with us?”

Turns out, they had the part in-store, so he said they’d most likely get it done Sunday morning before the store opened.  I said, “Ok” and walked out Macbook-less.  :(  We left the mall, drove back to our side of town, had lunch and were nearly home when the phone rang.  They were slow that day, so they had gotten the drive replaced already.

So, today, I made the hour drive back over to pick it up.  Great job, Apple.  It was painless (except for the 80 mile round-trip), free (thanks to AppleCare–a sound investment if you buy a Mac laptop), and best of all, quick!  Or maybe the “free” part was best.  One of the store employees (not a genius) claimed it would’ve been about $500 if I’d had to pay for it, but I don’t know that I believe him.  Great job, Apple.  I didn’t have to answer a million questions.  I didn’t have to waste my time and yours while you reinstalled drivers or even my whole operating system.  And, I didn’t have to fight with you over it.  Even your service “just works.”

Oct 15

WordPress is very cool. Ron has been telling me this for years now and while I’ve heard the words he said, I hadn’t really been listening. Now that I’ve toyed with it a bit (read: found and installed a theme and a plugin or two on my own), I’ve come to the conclusion that he’s been right all this time.

So, what does this have to do with the iPhone? I found this really awesome little plugin for WordPress that automagically formats your WordPress site for the iPhone. This goes all the way to formatting the comment section and it looks really nice. It was one PHP file and a folder that contains the theme. That was it. Put those two things in the right place, activate the plugin from your Plugins area of the WP-Admin and you’re good to go!

Check out IWPhone at ContentRobot.com

Oct 03

Actually, not really. This article is actually 8 Reasons Windows Users Don’t Switch. The guy makes some very nice points from the viewpoint of a long-time Windows user who has recently “seen the light.” He discusses the way Windows users think and I found myself (past self) in a few of those reasons. He even offers some very good advice to Apple, Inc. about not “John Kerry-izing” the Mac vs. PC argument by only bashing the competition and not telling people why you are better and some good advice to Mac users to not be so elitist (trust me, it’s hard not to).

The only thing I had to take issue with is his opinion of Vista. I’ve used it some and let me just say there’s a reason many of the OEM vendors are screaming for what Dell got–a “downgrade” path to allow them to sell XP on new machines.

Just check the article out. Be patient, though. His article got posted to Digg and the Digg Effect is in full swing right now as I post this.