Brought to you by iPhone

This post from the Austin airport (major flight delays) courtesy of my fancy new iPhone. I love it. The screen is absolutely amazing and I’m getting used to the keyboard. Recommended, check it out.

Please Say a Prayer for My Mom

Through a series of unfortunate events, my mom ended up in the emergency room several weeks ago. While the doctors were doing an MRI to check for internal bleeding, they found a suspicious growth in her liver the size of a grapefruit. It turns out that it is cancer.

After several rounds of testing it was determined that the tumor in her liver was actually a secondary tumor. Several more rounds of testing found a tiny spot of cancer in her breast, but the doctor is not sure it’s the primary tumor, even though nothing else showed up.

The tumor in her liver is too big to operate on, so she is now on chemotherapy to try to shrink it. We’re hoping that the chemo treatments are successful so she doesn’t have to do radiation.

It’s a frightening eye-opener to realize that with all of our science, technology, and medical advances that something can still be “inoperable”.

Overall she is doing pretty well. Her first chemo treatment went okay and she wasn’t too sick, but she still has five more to get through. I would truly appreciate it if you would say a little prayer for her health and recovery.

Customizing the Editor in Fugu

When I changed hosts for my blog, it also meant that I could no longer just SMB the files around. I had to find an actual SFTP/SCP-client for my Macbook. A quick Google search turned up Cyberduck and Fugu. I arbitrarily chose Fugu. (Turns out this was the right decision. Dustin convinced me to try Cyberduck; version 2.6.1 crashed three times in a row while I was trying to type in the hostname. But I digress…)

Fugu is pretty slick, but it would only open files for editing using one of the preset editors, none of which I had. I decided to see if I could change the list of available editors to include TextEdit, since I was only editing basic CSS.

Turns out you can. Here’s how.

1. Right click on the Fugu application and choose “Show Package Contents”

picture_1.png

2. Navigate to Contents, Resources, ODBEditors.plist

picture_2.png

3. Open the ODBEditors.plist file in TextEdit. Scroll to the bottom of the file and either create a new entry or modify one of the existing entries. I modified the emacs entry, since I don’t plan on ever using it. You can copy and paste the following into the file:

Updated text version thanks to Rich:

<dict>
    <key>ODBEditorBundleID</key>
    <string>com.apple.TextEdit</string>
    <key>ODBEditorCreatorCode</key>
    <string>ttxt</string>
    <key>ODBEditorLaunchStyle</key>
    <integer>0</integer>
    <key>ODBEditorName</key>
    <string>TextEdit</string>
</dict>


Original post text version:

<dict>
    <key>ODBEditorBundleID</key>
    <string>-</string>
    <key>ODBEditorLaunchStyle</key>
    <integer>0</integer>
    <key>ODBEditorName</key>
    <string>TextEdit</string>
    <key>ODBEditorPath</key>
    <string>/Applications/TextEdit.app</string>
</dict>

Original post image version:
picture_3.png

4. Save the file and you’re good. Load up Fugu, click Fugu, Preferences. In the preference pane, click the Files icon. In the External Text Editor, choose the name of the editor you just created. In my case, TextEdit.

picture_4.png

Viola! You can now command-J to edit files with your chosen editor from Fugu.

The MacBook Pro – Let the Lusting Begin

Every time Steve Jobs takes the stage in his signature black turtleneck and jeans, I cringe. Not because I particularly dislike his wardrobe or even Steve J himself; I cringe because I know he is invariably going to inspire a nearly undeniable urge to decimate my budget. He has succeeded once again.

If you haven’t heard about the MacBook Pro, a quick Google search or a stop by the Apple website will get you up to speed. An Intel Core Duo processor, 15.4″ widescreen, built in iSight, a screen as bright as their cinema displays, Front Row and remote included, and their new “patent pending” MagSafe power connector are a few of the major bullet points.

But really, the most important factors are that it’s an Apple Intel notebook, it’s amazingly thin, and it’s wrapped in shiny aluminum (although I was hoping for carbon fiber… I guess there’s always next year…). I must have one. Now.

I’ve managed to hold off the temptation so far, plunking down $3k on a notebook wasn’t exactly in the plan, but damn if I don’t want one. Badly. I’ve even managed to get it in my shopping cart a couple of times, most notably after Steve J said “If you want one I suggest you get your order in early” during his keynote. That simple phrase must’ve set off the zombie obedience mode in my brain, because before I knew it, I was happily configuring away at the Apple store.

I have to keep reminding myself that I’m holding out for revision two. It’s basically a constant chant whenever I read anything about the MacBook: “revision two, revision two, must wait, revision one always sucks, revision two will be awesome, but look at it! <drool>, no! focus! revision two.”

We’ll see if I cave… :)