2003

11
Jul 03

Apple Address Book Network Integration

My wife and I each have a Macintosh on our home network, yet for the longest time we’ve been unable to share information such as contact and calendar information.

I’ve recently been asking around and have learned that with a single .Mac account and Apple’s iSync software, up to three computers can share Address Book data, iCal calendar and todo list information, and Safari bookmarks. Here’s how it’s done:

  1. Be sure to have the latest Address Book, iCal, Safari and iSync installed on each of the computers.

  2. Enter the shared .Mac account information in the Internet panel of the System Preferences on each computer.

  3. Click on the .Mac icon within iSync (on each computer) and configure the desired synchronization settings for each computer. (The first time you do this, you’ll be asked to register the computer on Apple’s synchronization server.)

  4. Click the Sync button.

My wife and I are now sharing Address Book, iCal and Safari bookmark information, and life is grand. :-) This synchronization service is the final touch that makes .Mac’s $99 annual charge seem (for me, at least) worthwhile.

And this story wouldn’t be complete without mention of BuddyPop, the amazingly wonderful $5 utility that gives you instant on-screen access to your Address Book data.

10
Jul 03

A Model of Usability

The plane arrives late. We wait 45 minutes for the baggage to arrive in the terminal. The airport staff try to place a living room table on the belt, and of course it jams up the whole thing. Ashtrays are logically installed under No-Smoking signs and everyone, even the airport staff, are smoking. (Rules in Spain, especially as regarding traffic, are to be interpreted as suggestions.)

And the final touch of the day, trying to figure out how to use the latest in industrial design and usability — the airport’s new and improved parking ticket machine. :-) Let’s have a look:

  • The icon of the parking ticket is located below the credit-card slot (right and down from the middle step 2), not the ticket slot (under the video screen). You can imagine the confusion this causes.

  • As my buddy Niall said, the layout was obviously designed by a lunatic on crack.

  • Not a single color or font was excluded.

  • There’s not a single axis of alienation.

  • There are three step 2s.

Welcome to Malaga, Spain! :-)

08
Jul 03

Lost Mobile Phone (How it Ended)

I’d nearly forgotten to post how the story with the mobile phone ended. Actually, everything turned out just fine. I arrived at the agreed meeting place at 8:30 p.m., not really knowing what to expect. But then I saw the man with the metal detector, systematically sweeping the beach for lost goodies. As I approached, he looked up and with a friendly smile fished my phone out of his bag, and handed it back to me. Although we couldn’t really communicate (he didn’t speak English or Spanish), I got the idea he was a very friendly person. I gave him a small tip for taking care of the phone.

So, all ended well, and I’ve got my phone back.

21
Jun 03

Bad Morning

Got up this morning, looking forward to my bike ride, and discovered that our phone line was out… So, I figured I’d call Telefonica from my mobile, so they can fix it while I’m out enjoying myself on the bike… Then, I can’t find my mobile… I decide that the best way to locate my mobile, is to call it… But of course, the phone line is out. Wife’s mobile! Ah, ha! Pino (my wife) says, “I have no credit left on the card.” Matt, thinking “I’ve told you SO many times about keeping credit on your phone…”, says, “Well, you probably have enough to initiate the call.” Pino says, “And the battery is dead.” Matt thinks “I’ve told you SO many times about keeping your phone charged!” So, we plug in Pino’s phone, wait a few minutes, and then try calling my mobile…It rings, but nobody answeres. And I can’t hear it anywhere in the house. So Pino says, “Get down to the beach where we were last night.” (Where Pino used my mobile, since she didn’t have hers!) So, I rush down to the beach, and see new footprints next to where we were last night. I rush back home (stopping to wave to all my cyclist buddies as they go riding by :-(, and try ringing the mobile again. A man answeres! But said man doesn’t speak spanish, barely speaks english, and sounds like a bum. He wants to meet me tonight at 8:30 in front of a hotel on the beach. I say, “Can’t we meet now?” He say, “No. Very far away. Go working now. Meet tonight. 8:30. Front hotel.” I say, “Wait, how will I recognize you?” He say, “What recognize mean?” I say, “Uhhh, how will I SEE you???!!!” He say, “I’m man with metal detector. On beach every night.

“To be continued…

21
Jun 03

Europe and Italy

My Irish buddy Niall really needs his own blog, because he’s feeding me all my content! Have a look at this hilarious comparison of Europe and Italy. ;-)

20
Jun 03

Excellent Educational Article

Just happened on this very interesting educational article, associated with the use of the Mathematica software.

19
Jun 03

Mailsmith 2.0 Released!

Bare Bones Software has released Mailsmith 2.0. Whoo hoo! Integrated support for PGP, Integrated support for SpamSieve, loads, and loads, and loads of improvements and performance enhancements. And best of all… it’s a free update for registered users of version 1.5. :-)

18
Jun 03

MacOS X and Linux Metaphor

Another gem from my Irish buddy Niall O Broin. Yet Another MacOS X / Linux Metaphor.

18
Jun 03

Neat Finder Tip

Daring Fireball pointed out a really neat Finder tip: Once you’ve initiated a drag-n-drop in MacOS X’s Finders, you switch applications in the middle of the drag. Very neat!

12
Jun 03

AddressBook Access from the Command Line

One of the things I’ve enjoyed most about Mac OS X is watching the emergence of tools that tie the GUI applications to the Unix interface. For example, StuffIt, Speed Download, and Interarchy all come with command-line interface (CLI) tools. In the case of Interarchy, for example, I can type the following in the Terminal and have Interarchy download the file in the background (putting it in my Downloads folder and post processing it for me):

interarchy -b this_url

Today a great new utility was released, called contacts. Contacts is a CLI utility providing command-line access to the Mac OS Address Book. Very convenient! There’s no faster way to get someone’s phone number now than to type the following in the Terminal:

contacts Jones

What’s also quite nice is that many of these CLI utilities (like contacts) are free, and even delivered with the source code (in case you want to modify them, or just learn something).

04
Jun 03

3rd Annual Nigerian Email Conference

Well, I thought it was funny. The 3rd Annual Nigerian Email Conference

04
Jun 03

ESA Launch Mars Express

On June 2nd, the European Space Agency (ESA) launched the Mars Express space probe. The probe is now on its way towards the red planet, with rendezvous planned for December 24th. This is particularly exciting for us, as our company produces the equipment, known as the Intermediate Frequency & Modem System (IFMS) that communicates with the satellite from the ESA ground stations!

30
May 03

iTunes Blog Integration

Since this website also serves as a technology playground, I’ve recently integrated iTunes reporting. You can see both the currently playing track in my local iTunes, as well as a listing of the last 30 recently played tunes. Neat.

How is this done? I’d love to tell you it’s based on a CORBA ORB that I single-handedly conceived and integrated with a SOAP/XML-RPC interface running on my blog — but, those who know me would KNOW I’m lying. So I’ll fess’ up — Most of the work is done with a little MacOS X utility called Kung-Tunes.

30
May 03

Powerbook Disk Failure

Earlier this week on Monday, my Powerbook’s hard drive began making odd chirping sounds. By Wednesday the chirping had degraded to thumping, and on Wednesday night the disk died. Fortunately, due to an external mirror that I maintain, I was quickly up and running with almost no data loss.

In order to maintain this mirror current, I run a script from cron each night that mirrors my startup volume to the external Firewire disk. This script was generated by Carbon Copy Cloner. During the day, I run another script, every two hours from cron, that uses on psync to mirror my /Users/ directory to the mirror:

#!/bin/bash

# The following variable holds the name of the target volume

NAME=TiBookMirror
PART=`diskutil list|grep $NAME|awk '{print $6}'`

if [ -z `ls -1 /Volumes/ | grep $NAME` ] ; then     
  exit 1
else   
   if [ `file /dev/$PART | awk '{print $2}'` = "block" ] ; then  
    /usr/local/bin/psync -d /Users/ /Volumes/$NAME/Users/
  else
    exit 1
  fi
fi

A failure of the startup disk then can result in a maximum of two hours of lost work.

In my case, after the TiBook’s drive died, I booted from the external Firewire mirror (hold the option key down at boot, to get a list of available startup volumes.) I ran from this mirror until my new drive arrived. Later, installed the new drive, booted from the mirror, quit all running applications, and used CCC to mirror the mirror to the new internal drive. Shutdown and started from the new internal drive. Smooth as silk.

A few random notes (for myself, should this happen again):

(1) Buy Disk Warrior 3. Apple Disk Utility isn’t sufficient to repair seriously damaged disks.

(2) Don’t lend your Torx 8 screwdriver to anybody

(3) Enrique Tous (+34 915445660) at Multiple Zones España is very fast at shipping out a new Powerbook drive. I had a new 60GB drive delivered to my house the next day for 229 Euro (excluding VAT).

(4) Don’t forget that subvolumes defined in Retrospect are not path based, and will get screwed up when you install a new disk. You have to go back and redefine those subdirectories, and update any Retrospect scripts that reference them

(5) Be careful about using fsck -y from the command line. Doing this made the damaged drive disappear (not even appearing any longer in the volume list). I noticed that when you run Disk Utility, and do a ps -aux | grep fsck, that DU is actually running fsck-hfs in the background to do the work. First time I’ve heard of “fsck-hfs” Should we as Mac OS X users be using that instead of fsck?

28
May 03

Shell Script Launcher

I’m looking for a MacOS X GUI utility to facilitate the launching of shell scripts. Ideally, I’d like to have something running in the menu bar, whose contents reflect a listing of the shell scripts (sh, bash, php, etc.) that I have stored in a particular folder. Selecting an item from the menu would switch to Terminal and execute the shell script in a new window.

That’s the basic requirements. Getting fancy — it would be nice to be able to drag-n-drop a number of files on any script name in the menu, and have those files passed as command-line arguments to the script.

Anybody know if such a utility exist?

23
May 03

RadioLover

All I can say is — wow. This morning I’ve discovered an application for MacOS X that is simply awesome. (Ok, maybe the initial wow factor still hasn’t worn off.) It’s called RadioLover.

RadioLover, in a nutshell, allows you to record streams to MP3. If the information is available in the stream, it will create separate MP3s for each song — including sensible naming of the file and tag assignment. The quality of the recording is a function of the stream bitrate, so for a 128 kbps stream, you’re going to get something close to what you buy from Apple’s Music Store.

Possible uses: Let it run overnight and keep a fresh supply of music available for your iPod. Use its “scheduler” to schedule the recording of a late-night talk show, and listen to it later in your iPod.

If the iTrip (for iPod) is the best $35 I’ve spent lately, RadioLover is certainly the best $15.

23
May 03

iPhoto Library Manager (Revisited)

For anyone interested, attached below (in the Extended Entry) is the script I run nightly from cron that informs me by email when my current iPhoto Library is getting big enough to consider taking an action with iPhoto Library Manager to create a new one.
A couple of notes:
(1) Yes, the script uses the CLI version of PHP. I’m much more familiar with the PHP language than I am with tools like Perl.
(2) The script uses the knowledge that I name my iPhoto Libraries according to the form “iPhoto-Library-20030521″, so that the last entry in a directory listing is the currently used Library (and the one whose size should be calculated).
(3) I’ve removed the < ? ?> PHP delimiters from the script example, to prevent execution when you view it (since my blog is parsed by PHP). Continue reading →

21
May 03

Cnet Article about the Apple Music Service

As mentioned on Macintouch, a Cnet column titled “Steve Jobs’s Half Note”, Evan Hansen writes that the iTunes Music Store’s innovation falls far short of the ideal for an online music distribution system:

So, what should the ideal music store of the future look like?
  At the very least, it should provide unsecured MP3 downloads; reams of information about artists and music, including trusted reviews and recommendations; numerous opportunities to sample before buying; concert schedules and tickets; and access to lyrics and sheet music. [...]   How revolutionary might all of this get? One idea that’s been discussed recently proposes creating a real-time pricing scheme for music, with song prices based on their popularity. Hot new singles might spike up to $3 or higher during the first hours or days of their release, while unpopular titles would be substantially discounted. Demand pricing could increase sales for otherwise overlooked works, or at least lower the cost of trying out something new, while rewarding top sellers.   I don’t know if this would work. But it sets the bar pretty high for innovation. By comparison, Apple’s music store is rather modest.

What Evan Hansen doesn’t understand, that (thank goodness) Steve Jobs does, is that the innovation (and challenge) of most successful design is — simplicity. Minimize the options available to users. Create a path of least resistance to the objective. “Reams of information” will distract me. “Concert schedules and tickets” is an obstacle to my purchase of music. “Real-time pricing” will confuse me (Hmm, maybe I’d better keep looking for a better buy.)

2 million songs sold in a two weeks? I think Jobs and Apple got it about right.

21
May 03

Shell Aliases

There’s a discussion going on at NSLog(); containing tips about shell aliases. I keep going back, so I thought I’d add it to my blog.

21
May 03

iPhoto Library Manager

User’s of Apple’s iPhoto software will notice that the responsiveness of the application is a function of the number of images (or size) of the photo Library. Once my Library contained over 1000 images, the application began to slow considerably. iPhoto Library Manager to the rescue.

iPLM (I really don’t want to type that long name again) allows you to create and switch between multiple iPhoto Libraries. The documentation suggest topical Libraries — vacation, family, etc. My preference is chronologically dated Libraries. Once a Library grows to about 650 MB, I’ll back it up to CD, and then create a new one (leaving the old one in place, in case I need at any time to switch back to it.)

Additionally, a small shell script run from cron can notify me by email when my current Library is getting close to 650 MB.