The Wayback Machine - https://web.archive.org/web/20081221013814/http://corfield.org:80/blog/index.cfm/do/blog.cat/catid/osx

Viewing By Category : osx / Main
September 12, 2008
I discovered this today through a colleague so I figured I'd blog it for any other iChat users. Did you know you can use MSN and Yahoo! through iChat? You have to setup a Jabber account with a server that supports the MSN / Yahoo! Transports but it's fairly straightforward. Full instructions here and the recommended Jabber server is njs.netlab.cz (after searching Google for a while). This means I can finally transition off Adium X and use iChat as my one and only IM client! Yay!


July 4, 2008
Walt Mossberg (of The Wall Street Journal) has some general tips for switching to Mac from Windows. It's mostly simple stuff - keyboard and mouse navigate, common preferences etc - but it may help some folks (and there's a couple of interesting comments with extra tips).


June 23, 2008
Did you know? If you highlight any text in any application on Mac OS X and drag the selected text to the Safari dock icon, Safari will open and perform a Google search for the dragged text. Courtesy of Mac OS X Hints.


June 16, 2008
I updated Leopard to 10.5.3 this morning and ssh would no longer run, giving a Bus Error each time. A quick Google revealed the problem was actually the Instant Hijack component of Audio Hijack Pro and there is already a 2.8.1 update to AHP that fixes the problem. Just blogging this in case anyone else runs into it.


April 30, 2008
The latest software update for Mac OS X 10.5.2 adds Java 1.6.0_05 but does not change your default setup. See this tech note for more details.

I haven't yet switched to Java 6 as my default JRE but I will shortly. Happy to hear any early feedback from folks.


April 16, 2008
Popular Mechanics has published a very interesting comparison of Apple desktop and laptop performance compared to equivalent PC equipment. In almost all cases the Mac outperformed its PC partner and scored higher ratings in user tests as well.

The review is interesting because it compares similar hardware (easier now Macs run on Intel chips) performing similar tasks. Leopard scored higher than Vista in usability and performance. Running Vista on Macs also scored higher in performance in almost all cases (than running Vista on PCs).

It's worth reading all four pages of the review and looking in detail at the specs - and the prices, which gives lie to the long-standing myth that Macs are more expensive. The laptops, whilst slightly different specs, are the same price and the Mac desktop is $300 cheaper than the similar Gateway used in the test.


April 9, 2008
Just discovered that my iPhone had stopped syncing calendars. It turns out that Tiger and Leopard store their calendars in different places and if you do a simple "upgrade" to Leopard (as I did), then iTunes gets confused and uses your old Tiger calendars, even after the upgrade.

The workaround is horribly painful and it took me a while to find it on various discussion forums. In essence, backup iCal, export each calendar, delete all your subscriptions (after recording the URLs!), delete ~/Library/Application Support/ical and ~/Library/Calendars (and maybe any iCal-related preferences), reset your sync history (in iSync), import the calendars back into iCal and re-subscribe to everything. Ta-da!

Mind you, while doing this, my mail accounts disappeared from iTunes for syncing. The fix for that is to modify a mail account configuration in Mail. That forces the mail accounts back into the iTunes sync list.


March 31, 2008
I like Spaces but I always like improving my workflow. A small utility called Warp does just that. It allows you to switch Spaces using the mouse, with a variety of options including modifier keys, clickable previews etc. Since I currently have six Spaces (two columns, three rows), I'm finding Warp speeds up my workflow by adding a natural way to move around my extended workspace.


March 29, 2008
It won't recognize my Verizon broadband card - or at least it won't connect. Network preferences show that it thinks the "Novatel CDMA" card has become an Apple modem (huh?!). Delete the network profile, re-insert the card, bingo! Auto-configuration "just works".

I'm posting these little notes in case they might help anyone else moving to Leopard (and as a testament to the fact that whilst I love Apple, I know not everything goes smoothly with a Mac - and this is why I held off upgrading for three months after buying the Leopard DVD!).


It won't recognize my iPhone. Google turns up lots of similar complaints. Solution? Download iTunes and re-install it. Weird but it works.


In Tiger, you could cmd-tab and then use the arrow keys to move back and forth between apps. In particular, you could run off the end of the apps and wrap round to the other end of the app list. In Leopard, you can no longer do this. If you're on the first app, you have to arrow right to the last app, you can't just arrow left and wrap around. I had become very used to that so Leopard has broken a fundamental workflow that was almost "muscle memory". Bah!

On the plus side, I really like the Leopard UI and I'm getting to like Spaces. I'm hoping I'll love Time Machine (when it finally finishes backing up my 120Gb of stuff).

I also took the opportunity to take .Mac for a test drive. Not sure whether I'll spend $100 a year on it but the whole "Back to my Mac" thing seems very cool...


If you're planning to upgrade to Mac OS X 10.5, make sure you backup or move whatever you have in your /home directory before you start. You know, don't have your ColdFusion 8 install or your Eclipse workspace in /home. Like I did. Oh, I know, why /home? Old Unix habit, I guess.

So, why should you be careful about this? Because the Leopard upgrade kindly blows away your /home directory. Yup. There goes my ColdFusion install, there goes my Eclipse install and all my projects.

Backups? Fortunately, yes, I had a backup. Not a very up-to-date one, I'll admit (and I did toy with the idea of backing up my entire HD before upgrading to Leopard).

Fortunately, everything is under SVN so I just pulled out my old backup (and put it in /Developer this time) and then ran svn update on everything.

Other than that minor(!) trauma, the upgrade to Leopard seems to have gone well. I think.

Watch this space for more Leopard experiences.

Oh, and after all I've said about not upgrading early, why did I finally upgrade? Because, finally, everything I use on a day-to-day basis has been updated for Leopard. Or at least close enough to make the pain worthwhile. That and a new VPN client at work that is not compatible with Tiger.


February 17, 2008
If you use Thunderbird on OS X and try to attach a Keynote presentation (or, I suspect, a Pages document or Numbers spreadsheet), the recipient will not be able to read it. Apple's iWork products use a directory to store the documents instead of a single file. It seems that Thunderbird tries to attach just the directory. Apple Mail gets it right and sends the directory plus all of its contents. A workaround appears to be creating a ZIP of the iWork document and Thunderbird is able to attach and send the ZIP correctly.


January 16, 2008
The creative director at one of my clients just turned me onto CSSEdit. It has a really nice user interface for working with CSS but the really cool thing is that you can view any site in CSSEdit's built-in browser and then download and edit the CSS file live and see changes on the remote web page directly (without needing to actually modify the remote site). This is really useful for previewing how a site - any site - would look with different CSS applied, which is essentially for skinning (which I think is just going to get more and more important).


Some people were not very excited about Apple's keynote yesterday but the 1.1.3 firmware update for the iPhone is plenty enough for me, along with Google's updated mobile apps.

I use Gmail a lot on my iPhone and one of my clients has standardized on Google Mail/Docs for their communications so I'm constantly reading mail and documents on my iPhone. Gmail was OK on the iPhone and Google Docs was bearable but Google Reader was a nightmare. At the weekend, I noticed Gmail suddenly got a lot nicer with a very iPhone-style UI, sliding panels between labels and mail. Great... now what about the other apps?

Tuesday night, I got home from said client's site and eagerly updated my iPhone firmware. The new "location" feature in the Maps application is very sweet (and seems sufficiently accurate for my needs). Then I started reorganizing my home screen. Screens. That's when I noticed that Google had updated most of its apps to be iPhone-friendly. Google Docs makes a great reader now, even for fairly large spreadsheets. Google Reader is a huge improvement!

So now my iPhone has:

  • 43actions - a great little GTD (Getting Things Done) task manager
  • Calculator
  • Calendar
  • Clock - with 10 cities
  • Maps
  • Notes
  • Stocks
  • Weather
Followed by: Then my menu bar is:
  • Mail
  • Phone
  • Safari
  • Settings
On screen two, I have a row of games: Then my multimedia tools:
  • Camera
  • iTunes
  • iPod
  • Photos
  • Text
  • YouTube
And, yes, they are in alphabetical groups. Call me anal retentive and see if I care!

Anyway, a big thank you to Apple and Google (and those games companies) for making my iPhone an even more lovable and addictive little toy!


December 28, 2007
A Leopard is in my future. I've been holding off upgrading to Leopard until Adobe (and others) have updates available to ensure compatibility. My financial controller (Jay) pointed out that it's year end and if I need any "last minute" software or hardware I should buy it a.s.a.p.

Smart woman, my wife!

So I just ordered Leopard, a car charger for my iPhone and a 750Gb USB 2.0 HD that I can stick on my Apple BaseStation as a network drive. 750Gb for just $230... amazing... and scary how cheap storage has become...

The question is: can I resist upgrading until all the software I use has been updated?


December 18, 2007
You used to be able to go to the online Apple store and buy iTunes gift certificates for people and send them directly via email. In fact, my "wish list" used to contain a link directly to that page on the store in case anyone wanted to buy me a certificate (thank you to those folks who have!). I just clicked the link to check it and found myself on the home page of the Apple store. Huh? So I hunted around and you can only buy gift cards online now, which Apple will dutifully mail out to the lucky recipient.

So I clicked the "Chat Now" link and got online with Lori. She informed me that the only way to buy these email gift certificates is to fire up iTunes and purchase them from the iTunes Music Store itself. Lori helpfully pointed out "iTunes is free"... So apparently Apple think that if you're buying music for someone, you'll download and install iTunes in order to do so. I can't say I'm very impressed with this change.


November 27, 2007
Today Jay & I went to the AT&T store and bought his and hers iPhones. I have to say that I'm even more impressed with the phone than I ever could have imagined. The virtual keyboard is good enough to type blog entries and the overall integration with email, calendar, contacts and browser is stunning!


October 27, 2007
I know a lot of people rushed to installed Leopard (Mac OS X 10.5) last night and my friends found it very odd that I was not one of those early adopters. I've owned and used Macs day-in, day-out for almost two decades, since the early System 6 days. I've been through two changes of hardware (68000 to PPC, PPC to Intel) and several of the "major" O/S upgrades (I skipped System 8 and System 9, for reasons that anyone who actually used them will happily expound upon for hours!). I'm on my sixth or seventh Apple laptop and my fourth Apple desktop. I'm a huge fan boy.

So why did I not pre-order Leopard and rush to install it?

[More]


October 12, 2007
Remember when Adobe gave away trial copies of Flex Builder on a CD with magazines? Several people in the ColdFusion community bemoaned the fact that Adobe wasn't doing this for ColdFusion (and the usual complaints about Adobe not doing its bit to promote ColdFusion blah blah blah)...

Cop a load of this cover shot of MacWorld magazine with ColdFusion 8 on the free CD accompanying the magazine!! (via Andy Jarrett)


September 21, 2007
You've probably read it elsewhere but I ran through the experience myself and wanted to try to save some folks some pain...

If you try to install CS3 for OS X when you have Safari 3 Beta installed, you'll hit an annoying problem.

Here's what happens. The install seems to go really well until you get to the end of disc one and then you get a blank alert box that you cannot interact with and you cannot quit the installer. You have to force quit the installer to get out of this situation.

Here's how to do it the right way. If you still have the Safari 3 Beta .dmg, mount it and run the uninstaller (if you don't have it, download the beta again from Apple's site). The uninstaller will remove Safari 3 Beta and restore your Safari 2 install. Now you can install CS3 without a problem. It takes up to two and a half hours depending on whether you install the entire suite or just select parts. It's huge.

Once you have successfully installed CS3, fire up the Safari 3 Beta installer again and you're back to where you started. No mess, no fuss.

Remember to run the updater - Help > Updates... from any program in the suite!


September 20, 2007
As I've blogged in the past, I like Parallels Desktop for Mac a lot. I relied very heavily on it for a while. But then I bought Vista and it ran like a dog on Parallels. So I switched to VMware Fusion. Parallels just released build 5160 which they claim is faster, uses fewer resources and adds interleaved Windows / Mac windows and the ability to use Expose etc while Parallels is in the foreground (all minor reasons that contributed to my switch to VMware). Well, their claims are definitely true: Parallels 3.0 5160 is much improved in terms of both performance and usability and it would almost be enough to switch me back from VMware. Almost... because whilst performance has improved, it hasn't improved enough. Parallels still uses about twice as much CPU as VMware when Windows is "idle". That's definitely better than it was and all existing Parallels users should definitely upgrade.

The Parallels Transporter is a very impressive way to import an entire PC - or even another virtual machine - into a new Parallels VM. I commented that I'd tweaked Vista pretty heavily to get it to perform well on Parallels so to compare apples to apples, I used the Transporter to import my VMware Vista image into Parallels and it worked flawlessly although Vista then insisted it was on new hardware and now it wants to be activated again (I went through this when I switched from Parallels to VMware - see my previous blog entry!).

Overall, Parallels is still the slicker product (now that Expose and interleaved windows are implemented) because the controls and preferences are more sophisticated and, if you need it, it has unlimited snapshot / restore functionality. The downsides are that the performance just isn't as tight and the 3D / graphics support is still lacking (the Vista Windows Experience Index process will not run at all on Parallels - it does run on VMware).


Back in early August, I blogged that I'd tried VMware Fusion for the first time and was very impressed. I figured I'd follow up with a more detailed report of my experiences. My untweaked copy of Vista runs very acceptably on VMware (well, as acceptably as Vista ever runs!). I run BlueDragon.NET, SQL Server Express and ColdFusion 8 all together on the same VM, along with Eclipse, all in 768Kb of PC memory. Sure, it would run better if I allocated more memory to it but then I'd need to shutdown everything on the Mac side that I wasn't using and that would be somewhat counter-productive! BlueDragon.NET happily talks to MySQL on the Mac side and ColdFusion 8 on the Mac side happily talks to SQL Server on the Windows side (yes, I run ColdFusion on both sides of the virtual wall since I am working on some client projects that are resolutely Windows-only even in the CFML code!). So that's two copies of ColdFusion 8, a copy of BlueDragon.NET, SQL Server, MySQL and PostgreSQL all running on one MacBook Pro laptop.

My only real complaint is that VMware Fusion has a small bug in the bridged network adapter that can cause Apple's AirPort card (in the laptop) to think it's being hit by a packet replay attack and it shuts the AirPort card down for 60 seconds. Nice bit of security but very frustrating when it's really just a bug in VMware's networking code. The other network adapter modes work fine but bridged seems to be the only way to be able to connect between the two sides and still access the big, bad Internet from both sides as well. I mostly just stay tethered to my ethernet cable when using VMware Fusion and I'm fine.

I hope that VMware add better DirectX support at some point so I can experience Vista in all its transparent-ness.


August 29, 2007
OK, so many of you already think I'm an Apple fanboi but I've resisted Pages and Keynote in the past because they're every bit as proprietary as Microsoft's bloatware Office product.

I have diligently stuck with NeoOffice/J - free, open source, open standards. It's a bit clunky but it works. I've used it for years. I helped (a little) with the Mac OS X port of OpenOffice.org back in the 1.0 and 1.1 days. I've always felt it's quirks are worth putting up with for the karma of Free Open Source and Standards.

I'm putting together my presentation for MAX and trying to work with Adobe's PowerPoint template. Someone really needs to teach those Adobe folk how to use PowerPoint! The template is horrific to work with and, unfortunately, exceeds the abilities of NeoOffice/J. It's all been very frustrating.

So, Apple released iWork 08 and it claims great Microsoft compatibility. Everyone is ooh-ing and aah-ing over the new features and the all-new Numbers spreadsheet. I'm thinking "yeah, whoop-di-do, another proprietary app".

Eventually... Well, I decide to at least download it and try it out. I open up Keynote and open up the Adobe PPT file. Perfect rendering. Wow! I create a few new slides and reorder them. Everything. Just. Works.

OK, I'm impressed... so I open up Numbers and bring in my invoicing spreadsheet. Ooooh, I think I'm going to faint! A spreadsheet actually looks attractive! And guess what? It. Just. Works.

Damn. I guess I'll be buying Apple's proprietary office suite after all. I'm stunned at how good it is. I love Free Open Source software and I'm willing to cut it a lot of slack but Apple has really hit the nail on the head here and the suite is definitely worth the $79 entry fee...


August 10, 2007
QuickSilver is a Mac OS X utility that has had a few mentions in comments here but I've never gotten around to actually blogging about it.

QS is actually a little hard to describe. At its core, it lets you navigate your Mac via the keyboard alone. You hit a hot key combination and start typing. QS displays matching files / applications and offers actions to take. A few keystrokes is enough to do pretty much anything to anything.

That description is woefully inadequate and you only really get a sense of the power of QS once you've been using it for a while. It can control iTunes without switching applications, it lets you navigate the filesystem, copy groups of files, search websites. It's incredibly flexible.

[More]


August 9, 2007
Yes Virginia, you can run multiple copies of Vista on a Mac at the same time!

I've been happily running VMware Fusion for the last few days with Vista up pretty much continuously (14 hours, 21 minutes uptime currently) and I'm pleasantly surprised to report that I'm not hating Vista (I'm not loving it either but I'm definitely not hating it - even with UAC enabled!).

However, I still have Parallels installed (with my heavily tweaked install of Vista to try to eke some performance out of it) and that means that SmartSelect is active where you right-click on a Mac file and you can Open With... a Windows application fairly transparently. I just accidentally opened a PDF with Adobe Reader 8.1 - on Vista under Parallels! It took several minutes to stabilize but, sure enough, I now had two copies of Vista running side-by-side as well as all my Mac apps. Yikes!

I must get around to switching SmartSelect off or I'm going to do that again by accident. I'll probably keep Parallels around to see if they improve enough that I'll want to switch back to it but, right now, VMware Fusion is definitely my first choice for running Vista. Now, if they can just implement support for DirectX 9...


August 6, 2007
I've blogged about Parallels Desktop for Mac many times in the past but I keep hearing good things about VMware Fusion so I figured I'd take it for a test drive.

The download / install process was very simple and getting my Windows Vista DVD up and running was very smooth. Vista definitely seems to run better on VMware than the current build of Parallels. The user experience index values are higher in three of the five categories - 1.9 for general graphics, compared to 1.0 on Parallels, but still not enough to run the Aero look'n'feel unfortunately.

When Vista is "at rest", the host CPU is pretty minimal (around 5%) which is much better than under Parallels.

I have not had much luck with the "Unity" feature in VMware which is supposed to let Windows apps co-exist on the same desktop with Mac apps (I got that working) but the underlying file sharing / application transparency isn't as slick. On the other hand, Cmd-Tab and Expose work perfectly with VMware whereas they are suppressed under Parallels (or at least don't work properly on my system).

Overall tho', the performance boost alone may be sufficient to tempt me to buy a license of VMware and switch from Parallels.

What are your experiences with both products?


June 25, 2007
Ever wondered what happens if you tell iTunes to delete the song it is currently playing? Resist the temptation!

I just tried to delete a free song I'd downloaded from the store while it was playing. It asks if I want to delete it, I say yes. Then... it crashes. Oops! And it won't reopen either.

Since Apple application crashes can almost always be fixed by removing a plist preference file (in ~/Library/Preferences), I moved com.apple.iTunes.plist to the Desktop. iTunes would not restart. Hmm... So I sorted the Preferences folder by date modified. the recent item plist appeared at the top. I moved it to the Desktop and put my iTunes plist back. Success!

Once iTunes was restarted, I made sure I was not playing a song and then deleted the errant download. Success!

So, I lost my recent applications / documents list. That's no big deal - but it's an annoying edge case bug...


June 11, 2007
Apple just released Safari 3 Public Beta and it is now available for both Mac and Windows! So I'm blogging this from Safari running on Vista running on Parallels running on OS X... Er...

Oh, yes, I bought Vista Ultimate to run on Parallels. More on that in due course but, compared to Windows XP, it's dog slow and constantly chewing up CPU.


May 22, 2007
I hear so many good things about PostgreSQL that I figured I ought to try it out. That and I have a consulting project that requires it.

Checking the PostgreSQL site, I see no OS X distribution so I Google and find this Apple Developer Center article on PostgreSQL. My first reaction is "Oh, come on! There has to be an easier way!".

Brandon Harper pointed me at PostgreSQL Tools for MacOS X on SourceForge. I download the developer kit and the tools but the installation only seems to be partial so after half an hour of pfaffing around, I go back to Apple's page.

It actually wasn't as painful to get it all installed as it looked (I was just being lazy). So now I have PostgreSQL 8.2.4 running locally. Yay!

Any hints and tips for a new PostgreSQL user?


March 27, 2007
Simeon Bateman likes his Mac interface the way it is but points folks to my entry about tweaking. So I figured I'd show folks what my current desktop actually looks like:


(click for bigger image)

You can see the cascading transparent menus with image preview (the Scorpio wallpaper), the row of minimized windows across the top of the screen, the "Cold" theme applied to the UI.


March 25, 2007
What's the first thing any self-respecting Mac-head does when they get a new computer? Customize it so it's your very own "personal" computer! I've been relying on a work-provided computer for quite a while (since I joined Macromedia nearly seven years ago) so I haven't paid much attention to what's available for OS X - my last personally owned Mac run System 7!

Unsanity seem to be the company with the best tweaks so I just bought:

  • ShapeShifter ($20) which applies new themes to your system. I'm currently running Cold 1.2 which I think gives the system a very clean but dramatic look to everything.
  • FruitMenu ($10) which adds customizable cascading menus under your Apple menu and to your contextual menus in a number of applications. A very useful way to speed up navigation and access to commonly used files and programs.
  • WindowShade X ($10) which introduces a number of different behaviors for double-clicking on the menu bar in a window. The classic WindowShade extension used to just roll the window up into the menu bar but this new version adds options to make windows transparent or minimize them to a series of "live" icons arranged around the screen.

If you buy more than one product, you get a dollar off each additional product which is a nice touch.

I also downloaded ClearDock which removes the background from the dock so your icons just float on the screen. I've always been bothered by that semi-transparent white background so it's good to get rid of it!


March 23, 2007
My 17" MacBook Pro arrived today. Last time I switched laptops, I did the entire migration manually and it took me several days to get everything across and running properly. This time I decided to try the "easy" route using a FireWire cable and Apple's "Migration Assistant"...

Unpack the MBP, plug it in, connect an ethernet cable, power up. The whole welcome experience is just so beautiful and warm and fuzzy that you instantly feel good - Apple have this so right!

Do you want to migrate files from another Mac? Yes. Connect the FireWite cable, restart the other Mac and hold down the T key. Continue. Transferring files. Time passes.

Up comes the new system, fully configured to exactly match the old system. Wow! That was easy. 60Gb+ of files and settings migrated without manual intervention.

It's not quite perfect. Apollo didn't migrate so I had to reinstall that. MySQL didn't migrate either so I just copied /usr/local manually from the old laptop. iCal crashed when it was opened. Odd. Ran a Software Update (to 10.4.9 plus a bunch of other stuff). iCal works just fine now. Parallels wouldn't start either so I had to reinstall that but all my VMs and settings were still intact. Everything else seems to be running just fine.

A very pleasant experience - thank you Apple!


March 20, 2007
As my iTunes collection gets larger and the number of open source projects I work on grows, it gets harder to share space on my work laptop so I just took the plunge to buy a laptop for me. After a lot of deliberation - and negotiation with my "financial controller" (aka "wife") - I settled on a 2.33GHz 17" MacBook Pro with 3Gb RAM, the glossy screen and the 160Gb HD. We've been planning to buy a new Mac for Jay for a while so I also added a 2.16GHz 20" iMac with 2Gb RAM and the 250Gb HD. We also decided to try the Airport Extreme Base Station which brings together high-speed wireless with a multi-port router and a networked USB port. That'll make it easier for us to share our myriad USB devices over the network. In theory. I'll post more about how this holds up in reality in due course.


January 2, 2007
Parallels Desktop for Mac build 3106 Beta 3 was made available on the 29th and it adds full Mac dock integration (including the ability to start Windows apps from the Mac dock!), fairly solid multiple monitor support, keyboard mapping (so several common Mac Command+key combos work in Windows - with the ability to customize this to some extent). Remember this is still beta software!


December 23, 2006
Parallels has just made available a new beta version that includes a ton of great new features. The most stunning new feature is "coherence" mode which lets you run your VM applications right alongside your OS X applications without the VM's native O/S chrome. What? A picture paints a thousand words!

I'd previously had Windows XP set to "Classic" mode but now I can have applications floating "loose" on the desktop next to OS X apps, it looks better in "Windows XP" mode with the silver theme. It also works better to have "Show window contents while dragging" enabled (otherwise when you move apps around you get an overlay of your Windows XP desktop wallpaper which looks very strange!).

p.s. You can now drag'n'drop files between the Finder and Windows Explorer - life just keeps getting better!


October 24, 2006
Download Flex Builder 2 for Mac OS X (beta) from the Adobe <labs>! The moment many of us have been waiting for!


October 12, 2006
Just saw this great tip on Mac OS X Hints: if you hold down the control key when you scroll with the mousepad (two figured action), then the screen will zoom in and out. Very useful for reading small fonts or looking at detail in an image.

If you're a Mac user and you don't subscribe to Mac OS X Hints, you should!


Back in the day, I was a big fan of Desktop Manager (berlios.de) to provide a virtual desktop on OS X. When I moved to an Intel-powered Mac, I found Desktop Manager to be pretty unstable and was disappointed.

Andy Jarrett just blogged about Desktop Manager and "Brad" recommended VirtueDesktops which I just installed and fell in love with! First off, it lets you bind application to certain desktops and automatically switch desktops when you switch applications - very, very nice! You can also get it to color-code the desktop image to match the virtual desktop - and have different desktop images on each of the virtual desktops.

I haven't (yet) figured out how to add new virtual desktops but so far I'm really liking VirtueDesktops!


Looks like ticket 171.


August 9, 2006
I like the fact that Skype has a mood message but I didn't like the fact that there is no integration with iTunes to let you show the "now playing" song... I mean, Skype knows to pause iTunes when a call comes in so why not allow the mood message to be updated?

A bit of Googling discovered that Skype has an API that can be driven by AppleScript (and I knew iTunes could be driven by AppleScript) so all I needed was a way to run a script automatically every minute or so. I found Script Timer ($12) which can schedule scripts of all sorts, either by time or by interval or by certain events. Very nice.

And the AppleScript I wrote?

set messageText to ""
try
   tell application "iTunes"
      set trackName to name of current track
      set trackArtist to artist of current track
      set trackAlbum to album of current track
   end tell
   if not trackArtist = "" then
      set trackArtist to " by " & trackArtist
   end if
   if not trackAlbum = "" then
      set trackAlbum to " from " & trackAlbum
   end if
   set messageText to trackName & trackArtist & trackAlbum
end try
set commandText to "SET PROFILE MOOD_TEXT " & messageText
tell application "Skype"
   send command commandText script name "test"
end tell


August 7, 2006
OS X Leopard Sneak Peak. Drool.


August 5, 2006
Todos is a hot key activated "dock" that shows all of your installed applications in one palette. No more digging around in the Finder!

Thanx to Jim Collins for this link!


August 2, 2006
I use Perforce at work for source code control and the p4mac client is a little flaky (and more than a little ugly and unintuitive). I wondered if there was an Eclipse plugin for it and, sure enough, Perforce make a plugin for WebSphere Studio that works perfectly with Eclipse 3.2 on my MacBook Pro. Yay! It does require the p4 command-line utility but that's easy to download from the Perforce site.

The P4 perspective in Eclipse is pretty good to work with and the plugin provides rich context menus for accessing most everything you need.


July 21, 2006
Great to see how well Apple is doing on the back of switching from PowerPC to Intel chips.


July 2, 2006
I don't know how many of you conference attendees have tried the CFUNITED conference proceedings CD in your MacBook Pro but both Maxim Porges and myself found it wouldn't eject - it kept jamming and going back into the machine. I poked and prodded at it for days trying to persuade it to slide out smoothly. No dice. I'd resigned myself to a visit to the desktop support team when I went back to work.

I got an email from Maxim today - he'd managed to get his disc out. He explained how and it also worked for me. If you can't get the disc out, try this:

Hold the laptop upside down, at a slight angle (with the CD slot pointing slightly down) and try to eject the CD... hopefully it should pop out without jamming.

When I examined the disc, it seemed to be slightly dish-shaped which might have caused the problem.

It's worth noting that last year's audio recording CD goes in and out of the slot just fine although Mac OS X thinks it's a blank DVD (so I can only read it on Windows XP, via Parallels Desktop).


July 1, 2006
Matt Chotin talks about the Flex team's plans for Flex Builder on a Mac. Go and add your voice!


June 21, 2006
OK, what do you use to administrator your local MySQL database? I've used the command-line (yeah, hardcore), the dbEdit plugin for Eclipse (limited and quirky) and CocoaMySQL (freeware but also limited and quirky). I also tried MySQL's official client but that's really flaky.

I've heard good things about Navicat and I'm trying that now. It's great but... well... it's a hundred bucks! Sheesh. Is it really worth it?


What do you use to create diagrams on OS X? For years I've used OmniGraffle which was always bundled by Apple. It's a great little diagramming tool that offers a variety of stencils, smart "magnetic" objects and a good range of export formats.

I was pretty shocked to discover that OmniGraffle was no longer bundled with the MacBook Pro - and presumably no Intel-based 10.4.6 Macs... I was actually pretty annoyed, especially since the entry level OmniGraffle 4 Standard is nearly $80.

After only two weeks, I decided that I just couldn't live without OmniGraffle so today I bought my copy. I was tempted by the Pro version but wasn't sure the extra features were really worth the extra $70.


June 15, 2006
You can now buy the final release of Parallels Desktop for Intel-based Macs. They're holding the price at $49.99 for a while - it will go up to $79.99 soon. I bought my key back when they were offering it at $39.99 and it's been worth every cent so far!


June 14, 2006
No, Outlook has far too much "chrome" for my taste. But I've been on the fence about the "three-column" layout with the mailboxes on the left, the list of subjects in the middle and the selected email on the right. Apple Mail has list of subjects above, selected email below.

However, thanx to Stephen Collins, I now know about the "letterbox" extension to Apple Mail which provides an Outlook-style three-column layout. I'm going to try it for a while and see what I think.

Now that I'm running OS X and Windows XP side-by-side all the time, it actually improves productivity to have fewer differences between the two environments...


June 13, 2006
My stalwart G4 PowerBook went off to its new owner today, starting its new life with a fresh install of Tiger on a clean hard drive. I sure hope I backed up everything before it went! The Apache httpd.conf file was the last thing I copied off the old G4 before it was wiped.

I've had the MacBook Pro for a week now and it's mostly set up how I want it so that I can be productive. I still have a bunch of configuration to do on it tho'...

I get to try out presenting on it for the first time next Wednesday (BACFUG, June 21st, Objects & Persistence). I already know that right now I have to run Breeze on Windows because the presenter add-in is not yet available for Intel-powered Macs (see this Tech Note for more details of Flash Player support for Intel-based Macs).


June 9, 2006
I've just about got things set up the way I want now. Parallels Desktop is a sweet piece of software!

I have Windows XP installed for all my office-related processes (email, calendar, general documents etc) and Red Hat (RHEL4 AS) for a localhost deployment environment - and of course OS X for IM and general development.

Here's a screen shot of the three operating systems living happily side-by-side (click for larger):


June 8, 2006
Just as a follow-up to my comment about VPN and Parallels: using the VPN client on the guest O/S works perfectly with the host O/S (OS X) just using a regular network connection.

Since I've setup the Windows XP system as my primary "work" system (for email etc), this works really well.

Connecting the host O/S to the VPN breaks the guest O/S network connection (just to further clarify).


June 6, 2006
I picked up my MacBook Pro this morning - it arrived Thursday but I was working from home and I wouldn't have been able to really do much with it while I was offline over the weekend.

The first thing I did was to install Parallels Desktop and get Windows XP SP2 installed and then Flex Builder 2 Beta 3 and a bunch of other stuff that will make life easier at Adobe (like many large corporations, several standard processes and systems work best when you are using Windows and sometimes Internet Explorer as well). Essentially I'm setting up a work world inside my main laptop world.

Parallels Desktop rocks! I'm using the free trial right now but I'll be buying my copy real soon. Very slick, great user interface and the only issue I've encountered so far is that the guest O/S can't access Adobe systems over VPN (which was a problem I had before with Virtual PC).

Windows XP does not rock. No surprise for anyone there - my dislike for Windows continues unabated after several reboots due to wave after wave of security updates.

The MacBook Pro? Well, it's a Mac and "It. Just. Works." of course. Is it fast? Yeah, I guess so. Does it run hot? Yup. I like the increased screen resolution (1440x900) over my 15" G4.

The downside, of course, is having to rebuild my "iWorld"... I always reinstall everything from scratch and just migrate data as needed to try to ensure I don't just copy old junk from my previous machine. I have basic email, chat and web browsing etc up and running but haven't started on my development environment (Eclipse).

If I encounter anything "cool" about the MacBook Pro, I'll blog about it :)


May 6, 2006
It looks like I'll be getting a MacBook Pro after all. It was either that or getting a second laptop to run Windows XP and a third laptop to run Linux (Red Hat AS 4) so that I can do everything I need to do while I'm away from my desk.

You can be sure that I'll be reporting my experiences with running ColdFusion MX and Flex Builder 2 on this setup... Oh and Apple has been trying to persuade me to take the Java 5 update and I've been putting it off because of reports of it breaking ColdFusion MX on some other people's PowerBooks...


April 8, 2006
I'd like to state for the record: I do not have an Intel-powered Mac, if ColdFusion MX does not run on an Intel-powered Mac (which, apparently, it does not), I have no idea why. So please stop asking me if I know how to get it working, OK? I'm deeply envious that you have a MacBook Pro or even an Intel-powered iMac or Mini. Please don't add to that frustration by asking me questions about Intel-powered Macs.

If someone is kind enough to buy me one, I promise I'll figure out how to get CFMX running on it and blog about it. Until then, then entire subject of Intel-powered Mac is verboten.

Thank you.


March 1, 2006
I tend to think that Apple is pretty good about its error messages but this one popped up this morning and I just sort of stared at it, going "Huh?"


January 25, 2006
Some time ago I downloaded JRun4 and moved the installer around before using it. When I came to double-click on it to install it, nothing happened. Since I have so much crap on my machine, I figured I'd done something dumb so I just copied an installation from another machine and off I went.

This morning a customer IM'd me to say he had a similar problem with both the JRun and ColdFusion MX installers. Neither would launch when he double-clicked. He'd tried the installer on another Mac with the same result. He'd downloaded the installers again - still no joy.

Puzzled, I walked him through a whole series of diagnostics, comparing his installer to one on my machine (which had worked just fine). We couldn't see any significant differences. He had the right JVM. We were stumped.

So I pinged Mike Nimer who referred me to Farah Gron on the CF team. She recognized the symptoms and checked the bugbase for me.

It turns out there's a subtle issue with certain installers on Mac OS X. If the permissions end up being incorrect after you download the installer or you copy / move the installer around in certain ways, you can end up with a non-executable installer.

Fortunately, the fix is simple. First of all, diagnosis:

In a Terminal window, navigate to the directory containing your installer (probably on your desktop) and check the permissions on the installer executable that is inside the installer application:

cd ~/Desktop
ls -l cf_install.app/Contents/MacOS/cf_install
If you see something like this, you have a non-executable installer:
-rw-r--r-- 1 gavin admin 13816 Sep 9 17:22 cf_install.app/Contents/MacOS/cf_install
The fix is to make that file executable:
chmod +x cf_install.app/Contents/MacOS/cf_install
That should change the permissions to -rwxr-xr-x (check using the ls -l command shown above).

Now you should be able to double-click the installer in the Finder and all should be well!


January 3, 2006
Even tho' I've now switched to Adium X, I'd like to point out that Fire - the free, open source, multi-protocol chat client for OS X - has a new web site http://fireim.org/.


September 29, 2005
Lola Lee is starting a blog about ColdFusion on OS X and is looking for co-bloggers, other Mac-head CFers. Feel free to go and volunteer!


September 28, 2005
Damon Cooper's article on the Macromedia Developer Center about ColdFusion MX 7.0.1 makes it clear that full support is now offered for Mac OS X (my emphasis):
We are excited to announce that this update includes support for Mac OS X as a new supported production platform for ColdFusion MX 7. For Mac OS X support, we included a new set of turnkey installers, similar to the Windows installers. As the OS X platform continues to gain traction in the industry, we are excited to see ColdFusion applications take advantage of the power on the OS X platform.
I knew about the new OS X installer (it's very slick) but I didn't realize that 7.0.1 would bring official support as well! This is excellent news!


Steven Erat has posted a set of screenshots that show complete step-by-step Mac OS X installation of ColdFusion MX 7.0.1.


July 14, 2005
Fire is my favority multi-protocol IM client for Mac OS X.

The new release has better Tiger compatibility, fixes for Jabber, ICQ, Yahoo! and miscellaneous other stuff. Read the announcement on the Fire forum for more details and download instructions.


June 22, 2005
Over the last couple of days, my (fairly new) PowerBook G4 has taken to randomly going to sleep. Repeatedly. I suspect a hardware problem since it most often happens if I bump the laptop...

That's the first failure I've ever encountered on a Mac in about 15 years of usage / ownership. Maybe I've been stunningly lucky?

So I'm back on my older 800MHz G4 laptop for the time being and currently copying across all the files I need from the newer laptop (as long as I don't breath on the new machine, it seems to stay awake).

If I'm a little slower to respond to something right now, it's because I'm busy rebuilding my dev environment - a lot changes in a few months so restoring this old G4 to the same state will take quite a few hours today...


Desktop Support fixed it. Or at least they and I think it's fixed. They did a hard reset of the PMU and now it seems to be behaving itself. We'll see. At least I know how to reset the PMU now.

Quite why the PMU would get itself in a knot, I don't know. After I'd posted the original entry, thinking it was a hardware error, I tried to login remotely and that made it sleep which pointed to a software problem after all...

It's good to be back up and running!


June 19, 2005
It's nice to a read a more reasoned point of view about Apple's move to Intel. I agree with Daniel on pretty much every point and I have to say that I'm really puzzled by the noise some people are trying to generate about this transition. He mentions the shift from G4 to G5 and hints at the System 9 to OS X transition but fails to mention the shift from 680x0 to PowerPC back in the System 6 / System 7 days. That was a pretty painless shift for most people and I'm sure Apple learned a lot from it that they can apply to the upcoming PowerPC / Pentium shift.


June 6, 2005
After a lot of speculation over the last few days, it seems the shift from IBM's PowerPC to Intel's chip is real and Apple will be shipping Intel-powered Macs within a year. Sounds like a return to the "fat binaries" that we saw to support 680x0 / PPC back in the day and that it really is a case of Mac software getting recompiled to run on an "Intel Inside" Mac rather than Windows software running on OS X (just to stall that sort of speculation!).


May 31, 2005
Well, I've been using Tiger for about a week now so I figured I'd post some more thoughts now that I've gotten used to it.

I don't hate Mail 2.0 but it sure takes some getting used to. The handshaking between Mail and iCal regarding events is pretty slick (although you no longer seem to have the option to not send a response email for each invite). For events that were imported from Panther, I've had to ask the originator to cancel and then re-invite me to some events because the old imported events were readonly and I couldn't detach and move events (some people move their regularly scheduled meetings around a lot!).

Spotlight is proving useful about once every day or two. Dashboard is subtly useful too. I used the flight tracker for the first time today. Nice. My widget for displaying active CFMX instances is useful... one day I might expend the effort to make it have buttons to stop / start instances etc.

Once again, I've changed my working practices somewhat. For some reason, the size / shape of Mail made me want to change the size / shape of several other apps so now I'm mostly using untabbed windows and relying on Exposé more than I was.

Eclipse is running fine on Java 5 although I have to switch the default JVM back to 1.4.2 if I want to start BlueDragon 6.2 since that does not support Java 5. CFMX / JRun automatically selects the 1.4.2 JVM so having Java 5 as the default doesn't bother CFMX / JRun.

I'm still not very excited about Tiger but it's not a bad upgrade.


After upgrading to Tiger and the new iCal, I noticed that the calendar files are no longer in the same place. In fact, I haven't actually found where the new iCal stores the calendars. That was kind of a pain because I used to push my .ics files up to my ISP so that my wife could subscribe to my calendars (a cron job runs on her iMac to push her calendar to my ISP and a cron job runs on my PB to push my calendars to my ISP).

I figured I could publish my calendars to get at the .ics files. iCal publishing supports .Mac and WebDAV. My ISP does not offer WebDAV. Hmm.

Guess I could enable WebDAV on my local Apache and publish to that, then use my old cron job to push the files from the webroot up to my ISP...

I found these articles about WebDAV on O'Reilly and WebDAV.org that helped me figure out most of it. I added a .htaccess file to Limit the WebDAV operations but couldn't write to the new WebDAV setup. Finder could connect, even prompting for the right credentials, but the folder was mounted readonly. Eventually I realized that the DAVLockDB directory path I'd specified didn't fully exist. A quick mkdir and a chmod and everything started working!

Now iCal happily publishes to my local Apache setup, my cron job pushes the files to my ISP and my wife can, once again, see what I'm doing.

It's the first time I've used WebDAV. It's pretty neat!


May 25, 2005
I don't like the new Mail app. I don't like the mailboxes on the left. I don't like that it no longer bolds a mailbox with unread email.

The new iCal is a bit odd too. They've moved around enough of the meeting invite stuff that I'm struggling to get used to it. The .ics file support is stronger but now I can't mess with an existing meeting that someone invited me to - previously I could add notes, detach / move the meeting etc. It seems to silently ignore updates to meetings that it migrated from Panther. Grr! I may have to delete a bunch of meetings and ask various people to re-invite me.

Having two different but similar look'n'feels for applications is disconcerting too. The brushed metal look is still there on the Finder and iCal but Mail's default Cocoa look has moved closer to the brushed metal look.

Safari's RSS just doesn't cut it. Lots of feeds out there have slightly malformed XML and Safari is too fussy. It can't subscribe to FullAsAGoog's blended feeds due to an XML error. Bah! But I'll soldier on with it as a default browser for a while to see whether it can tempt me away from Firefox (looking unlikely right now).

Dashboard is vaguely useful. I'm starting to experiment with building my own widgets. I may be more impressed with it then. So far I'm not having much success doing what I want.

Right now JRun seems to be running monstrously slowly on Tiger for no good reason I can fathom...


A reboot cured the JRun problem. Weird.

Installed Java 5.0 and made it my default JVM (yeah, I know, unsupported). JRun still uses 1.4.2 (no surprise there since it previously used 1.3 until Updater 4). Eclipse seems happy with Java 5.0 tho'... It's an interesting experiment!


I took the plunge today and upgraded to 10.4. Well, 10.4.1 really. The upgrade went very smoothly (I chose the "Upgrade" option). Fire didn't work until I upgraded it (to 1.5.2). I needed an updated VPN client too. Spotlight has already indexed my hard drive (about five hours) and its ability to locate any content relating to a search phrased is actually pretty impressive. Dashboard is very nice too... I expect to build out some CFMX-on-OSX related widgets soon...
Transmit didn't work either (SFTP failed) until I upgraded that to 3.2 (now comes with a Dashboard widget!).


April 28, 2005
For a long time I've been promising to publish my simple guide to performing this installation. I've talked a lot of CFers through it now, many of them brand new to Mac OS X and not at all familiar with the Unix command-line.

So here is my version of Installing ColdFusion MX on Mac OS X.

Hope you find it useful. Let me know (in comments) if you have any difficulties with the instructions or any questions about it.

Note that I do not bother with the Apache connector for localhost development. Nor do the instructions talk about moving the webroot. The instructions will get you up and running - anything beyond that is a topic for another day!


Update: I've added information about the background startup shell script I use (and made it available as a download).


April 15, 2005
Up until today, I had not been very excited about the forthcoming OS X 10.4 release. I held off upgrading to Panther for a while too until I had a real reason - that was Exposé and it solved some workflow problems for me that I'd been trying to solve with a number of other tools. I held off upgrading my wife's computer even longer - until she needed to be able to perform text searches across directories full of PDF files, something that Panther did but Jaguar did not.

So what makes me excited about Tiger? Dashboard. I've been looking at Panic's Stattoo application that provides some useful 'instant information' and, ironically, I've assigned it to F12... which is what Dashboard uses. And Dashboard provides a similar function, but the widgets are interactive and... programmable by developers like me which is killer!

So, now I need to find out what the likely timeline and process is for upgrading machines at work! :)


April 6, 2005
I recently mentioned Transmit as a very good FTP/SFTP client. I decided to go ahead and buy it today and it was a very good experience! From within the product, I selected Purchase Transmit Online... from the Purchase menu and it opened a secure page in Firefox for me to enter my details (the version / quantity of Transmit, my name and address, my credit card details). I clicked the Process My Order! button and got a brief JavaScript alert to confirm my order (which was much more efficient than having to wait for a second web page to come up just to confirm my details). I clicked OK on that got the order processed screen with my serial number and link to auto-register the product. The link began with transmitreg:// (and then the serial number) so I wondered how it would work. I clicked it, Firefox said it wanted to launch an application to handle the URL and, sure enough, Transmit came to the front and thanked me for my registration! Very slick!

Overall, I think that was the quickest, slickest, most comfortable purchase / registration process I've ever experienced for a small software utility.

As their tag line claims, I really think that Panic make shockingly good Mac software. So much so that I then checked all of their other products to see if I could buy something else from them. They're definitely interesting products.

I decided to download and try Stattoo which lets you put certain useful information pods on your desktop: next three events from a selected iCal calendar, weather, iTunes currently playing, new mail (you get from and subject) etc. I quickly customized it to show, left to right, weather at work, work calendar, to do list, home calendar, weather at home and iTunes. Normally it just acts as part of your desktop so you can see it when your desktop is visible or when you use Exposé to show it, but you can also assign a hot key to bring it to the front.

If I like it over the next week, I'll buy it (for $12.95 it is cheap). So a good user experience means repeat business!


April 3, 2005
Michael has created a cf-mac mailing list at House of Fusion for ColdFusion developers who are either already using Macs or thinking about it. This will be a place to share hints and tips and get advice on solving Mac-specific problems related to ColdFusion.


April 2, 2005
Rob Rohan talks about installing a variety of operating systems on his Mac using Virtual PC. I use Virtual PC to test sites with Internet Explorer (on Windows 2000) and I've also run Windows 2003 Server for evaluation. It's a relatively cheap way to add multiple virtual systems to your Mac and the performance is sufficient to run MS SQL Server or ColdFusion 5 (I've done the latter but not the former) for testing purposes. He has a couple of nice screen shots too.


March 28, 2005
I've been looking around for a well-designed, fully integrated FTP/SFTP client for my Mac and after trying several freeware ones (most of which seem to do either FTP or SFTP but not both), I finally tried Transmit from Panic, Inc. which is commercial software ($29.95). They offer a 15-day trial and I must say I'm very impressed with it so far (so I'll probably buy it in a few days).

What I like:

  • Very nice Aqua user interface - very well designed
  • Intuitive drag'n'drop upload / download and Finder-style 'favorites'
  • Supports FTP, SFTP, WebDAV and various other protocols
  • Dock icon acts as a drag target to automatically upload files dragged from specified local directories (probably the sweetest feature of the product!)
  • Supports multiple connections in a tabbed browsing interface


February 6, 2005
These instructions are completely obsolete now that the 7.0.1 release provides a complete, native, double-click installer!
Macromedia has provided all new installation instructions for CFMX 7 on JRun and Tomcat on Mac OS X. It omits the critical JRun 4 Updater 4 step but ought to be a lot easier to follow than the previous version. As always, feel free to contact me if you have problems getting it up and running on OS X and I'll pass your feedback on to the docs team (as well as helping you get up and running!).
Update: I blogged my version of the installation instructions in late April.


January 16, 2005
For quite some time I've been using OpenOffice.org, first alongside Microsoft Office and helping out with ports and testing, then I made the switch completely and my new PowerBook has never had Microsoft Office on it. OpenOffice.org relies on X11 so the user experience is a little clunky but the functionality is solid.

Via /. I saw this recent update to the timeline for Mac OS X ports of OpenOffice.org. No Aqua port so no native UI. Ever. That's a shame but it's understandable really.

The mention of NeoOffice/J led me to this downloads page (the main NeoOffice site appears to be down) so I decided to try the new 1.1 Beta with Patch 4. The install process is very smooth and the resulting UI is a big step up from the X11 version and the use of native fonts makes things look so much better.

Another benefit is that NeoOffice/J is based on OpenOffice.org 1.1.3 whereas the current X11 port for OS X is based on 1.1.2.


December 13, 2004
Even though I've been a Mac user for years, I'm often finding out about cool tools from other Mac users before I stumble across them myself. Simeon Bateman pointed me at a couple of very useful little tools recently.

The first was SideTrack which allows your PowerBook's track pad to have scroll zones and programmable corner key taps. I've had something similar installed on various previous laptops but I've been without it for a while. Well worth the $15 to have scrolling and right-clicking all within single-digit reach!

The second was another tool from the same company, MenuMeters. As Sim says, it's good to get a bit more visual feedback about what your Mac is actually doing. Here's how I have mine set up:

MenuMeter in action


December 2, 2004
I use a couple of scripts to make it easier to stop and start my CFMX instances on my Mac. I've also just created a small Mac application, using AppleScript, so I can start servers via a double-click application.

First of all, a shell script to startup a CFMX instance:

#!/bin/sh
JRUN_HOME="/home/jrun"
LOG_HOME="${JRUN_HOME}/logs"
if test x$1 = x
then
server=default
else
server=$1
fi
cd ${JRUN_HOME}/bin
./jrun -start ${server} \
1>$LOG_HOME/${server}-out.log 2>$LOG_HOME/${server}-err.log &
Adjust the second line to match the location of your JRun install (probably /Applications/JRun4). Save this shell script somewhere as cfmxstart and make sure it is executable:
chmod +x cfmxstart
Now, from a Terminal window, you can start servers like this:
./cfmxstart
./cfmxstart blackstone
If you put the shell script on your PATH, you can omit the ./ part.

Here's a similar shell script to shutdown an instance:

#!/bin/sh
JRUN_HOME="/home/jrun"
if test x$1 = x
then
server=default
else
server=$1
fi
cd ${JRUN_HOME}/bin
./jrun -stop ${server}
Same drill, change line 2, save it as cfmxstop, make it executable.

Great, now what about doing this through a double-clickable Mac application? AppleScript to the rescue. Here's a simple AppleScript to run the shell script we just created:

display dialog "Start which server instance?" default answer "default"
do shell script "/Users/scorfield/bin/cfmxstart " & text returned of the result
You'll need to change the path to the shell script, I keep all my utility scripts in ~/bin. When run, this pops up a dialog asking which server to start, enter the name and click OK and - bingo! - your shell script runs. To create an application, select File > Save As... and then choose a file format of Application and check the Run Only checkbox and save it somewhere. Now you can drag the app to your dock for easy starting of CFMX.

If you want to get adventurous, you could add Stop and Start buttons to the dialog and run the appropriate shell script. You could also change the icon to something more CF-y of course.

Also, if you create AppleScripts that don't have dialogs, you can use them as Startup Items to cause your CFMX instances to startup whenever you boot up your Mac!


I couldn't resist... here's an AppleScript that lets you start and stop servers:
set scriptStem to "/Users/scorfield/bin/cfmx"
display dialog "Manage which server instance?" buttons {"Cancel", "Start", "Stop"} default answer "default"
set response to result
set operation to button returned of response
set serverName to text returned of response
if operation is "Start" then
   do shell script scriptStem & "start " & serverName
else if operation is "Stop" then
   do shell script scriptStem & "stop " & serverName
end if


November 18, 2004
Eitan Suez has a nicely balanced post about what it is like to switch to Mac for Java development. He makes some good points about the (often subtle) differences between the platforms and overall you get a positive buzz that explains why so many developers are switching to Mac OS X these days - even with the projected long lag before Java 5 becomes available on the Mac.


October 5, 2004
Robin Hilliard has a great summary on his blog of the magic required to get Oracle Developer Edition up and running on a PowerBook. Oracle is definitely the 800lb gorilla of databases but it really isn't too much of a beast to run locally...


October 1, 2004
Editor's Daily Blog: Watson - come here - Daniel Steinberg asks what will become of the product formerly known as Watson now that Sun does not seem to be pursuing their Java version...


September 30, 2004
Ranchero has made NetNewsWire 2.0 Beta available. It seems pretty solid for a beta and it is blindingly fast in comparison to 1.0. It also supports Atom. Definitely worth updating from 1.0 and, with the additional features available in the "pro" version over the Lite version, I might actually buy the full version this time.

Oh, they've decoupled the weblog publishing mechanism so you can write your own adapter for whatever publishing system you use. Nice!


September 21, 2004
I began to have problems with my year+ old D-Link WAP so I decided it was time to treat myself to a shiny new Apple AirPort Express. I just installed it. Which involved sticking an ethernet cable into it and plugging it into the wall. Bingo! Online. The cool stuff is being able to plug your stereo into it and play your iTunes library over WiFi and to wirelessly share a USB printer. And it's so small you can stick it in your pocket and take it wherever you go to create a wireless network... wish I'd had it at the Fusebox 2004 conference last weekend!


If you're on Mac OS X, you might not realize that there's an important updater available for JRun 4: Macromedia - JRun Support Center : Updaters. You need the "Unix Updater" (English 31.1Mb, also available in French and Japanese). Make sure you save the file to disk and don't like StuffIt Expander or anything else 'helpfully' try to handle the .bin extension!

Once you've downloaded it, open up a Terminal window and run this command (assuming you picked the English version):

sh jrun-unix-en-updater.bin
It'll ask you where JRun 4 is installed (mine was in /home/jrun but most folks install to the default /Applications/JRun4 location). It churns away for a while and then it's done!

Before you start JRun, you probably need to edit the jvm.config file to add -Djava.awt.headless=true to the java.args= definition. If you don't have that, ColdFusion MX will not start!

Now you should be able to startup any of your server instances, using the standard jrun command and it will use the default 1.4.2 JVM instead of the 1.3.1 JVM. That means you no longer need to use the (unsupported) method of starting jrun.jar explicitly, previously mentioned on my blog and Christian's blog!


September 15, 2004
Firefox 1.0 Preview Release is now available so I upgraded. My favorite extension - the tabbrowser extension - is not compatible with 1.0. In fact, most of my installed extensions weren't compatible. Firefox offers you the chance to upgrade extensions but after doing that various things just plain didn't work (including my bookmark toolbar, strangely). So I uninstalled all the extensions.

Firefox 1.0 has better tabbed browsing support but I still wanted more so I tried a SingleWindow extension that was supposed to be compatible but it didn't work too well either.

So now I'm running the raw 1.0 preview. It's not as good an experience for me as the 0.9 + tabbed browser but I'll deal.

I do like the RSS auto-discovery built-in and the "live bookmark" mechanism for displaying RSS feeds. It doesn't autodiscover my RSS feed tho'... at least not on the blog (it does on the rest of the site - go figure!).


September 2, 2004
Grady Booch's Blog explains why he works for IBM but uses an Apple PowerBook for his day-to-day work.


Virtual PC for Mac: the first new version since Microsoft bought the product from Connectix. It doesn't seem to have a huge amount of new stuff in it although it promises performance improvements, especially for G5 owners. The upgrade (from v5 onwards) is $99 on pre-order. I'll have to think about that. I don't run VPC very often but a little extra performance would certainly be nice...


August 25, 2004
mesh on mx announces a preview release of "TattleTale" which is an easy way to keep track of Macromedia news. The Mac OS X version puts an icon in your menu bar that blinks whenever new content appears on a Macromedia RSS feed. I've been using an internal preview for some time and I find it invaluable for staying on top of company news and blogs!


August 15, 2004
I picked up on this from Robin Hilliard's blog, a fellow Mac user, and he's tried Fire but prefers Adium. I figured I'd try Adium for a while. So far I like what it has to offer, especially tabbed message dialogs (you can tab by buddy group too which is especially useful) and the borderless, transparent buddy list. The alert notification schemes are very flexible and very useful too. It seems to be very customizable and there's a great "extras' site too with themes and sounds etc. And it's open source (on SourceForge.net). One downside is that it doesn't support IRC which I use pretty heavily. However, it's chat capabilities are nice enough that I think I'll switch over from Fire and then I'll use Conversation as my IRC client, especially now version 2.0 Beta has added a "single window" mode which makes for a nice clean interface when manages multiple channels or private chats.


August 9, 2004
Daring Fireball: The Art of the Parlay, Or: How I Learned to Stop Worrying About Platform Licensing and Market Share: this is a fascinating piece by John Gruber examining some of the myths behind the idea that Apple could have been Microsoft if only they'd...


June 22, 2004
I've long been a staunch advocate of Safari as the best Mac browser bar none but today I read something that made me reconsider: Dan Switzer's blog entry about Mozilla / Firefox extensions.. I've liked Firefox (formerly Firebird) well enough as a 'second' browser for quite some time but never quite found it productive enough for several small reasons. The extensions that Dan lists have changed that. The Tabbrowser Extensions make Firefox's tabbed browsing features unbeatable: total control over how new tabs open - including my favorite of forcing JavaScript pop-up windows to open in a new tab! - auto-focus when you mouse over a tab, saving / restoring tab sets at exit / restart of the browser etc etc. An amazing extension. Then there's LiveHTTPHeaders which is an invaluable debugging tool, the Sage RSS / Atom feed reader (so it's "Goodbye NetNewsWire" as well!), and Chris Pederick's awesome web developer toolbar with more goodies than I can enumerate!
The end result was that I exported all my Safari bookmarks (thanx to the Safari Bookmark Exporter) and imported them into Firefox and then I transferred all 110 RSS feeds from NetNewsWire to the Sage RSS / Atom feeder extension in Firefox! | Mozilla Firefox Extensions


June 18, 2004
When Panther came out last year, I upgraded immediately like every good geek / Mac user... but I held off upgrading my wife's iMac. Why? Well, it seemed like unnecessary change (and an unnecessary $129 expenditure) since she wouldn't be wowed by Expos� (which blew me away when I upgraded).
But tonight I upgraded her machine too (yes, I bought another copy of Panther!). Why? Because Panther lets you search for text in directories full of PDF files from the Finder - she's working on her cat show judging exam (180 essay-style questions and six months to complete it!) and she needs to quickly search a lot of PDF-format reference material. Jaguar didn't cut it - it couldn't search PDFs and Preview - Apple's PDF viewer - didn't even have search! Panther makes it child's play. It just goes to show that not everyone is wowed by the same thing...
Mind you, I'd forgotten how interminable (but easy) the Panther upgrade is... I think I started at 9:30pm and didn't finish everything until midnight (including software updates). There's a reason I'm not in IT Operations / Support :)


June 12, 2004
The problem with mod_mono not working on Mac OS X turns out to be an endian issue, i.e., which way round bytes are stored in an integer. A small C macro fixes the problem in the latest CVS sources for mod_mono.c so I now have ASP.NET running on my Mac, via Apache.
It was not as easy to get that far as I'd hoped. A Mono developer said "Well, just pull the latest files from CVS" but what's in CVS differs from the packaged source files so you have to run an 'autogen.sh' script to create the 'configure' script. However, the mod_mono autogen.sh complains about a few things on Mac OS X and then the generated configure script fails with a syntax error (at line 18,817!). After struggling with the infrastructure for a while, I simply ran a diff across the mod_mono source code and then applied what looked like the necessary changes. Ack!


June 8, 2004
The packaged installer for Mono Beta 2 is now available as a disk image for Mac OS X - see the Mono downloads page.


May 18, 2004
An O'Reilly blogger looks at the cost difference between buying a low-end Mac vs an equivalent PC. Of course, these sorts of comparisons usually invoke a stream of 'religious' comments and indeed that trend has started over there. I wanted to highlight it here simply because it is in line with my own experience when I was looking at a new computer for my wife about 18 months ago. She'd been a Windows user for years so we spec'd out a Dell desktop that gave her all the performance, peripherals and software she wanted - it was about $4,300. Just out of curiosity, I spec'd out the closest equivalent iMac... $3,600. So she switched... and, after the initial few months of pain spent learning the 'new way' things happen, she's very happy with her first Mac.


May 12, 2004
I used to have the MS .NET SSCLI installed on my PowerBook but I deleted it because I wasn't using it... But with all the talk of C# I decided to reinstall, now on 10.3. Except I've hit a problem and Google isn't helping me much here so I figured I'd blog it and see if anyone out there has the answer. Here's the error I get:
gcc -c -DHAVE_CONFIG_H -g -O2 -Wall -fno-exceptions -fno-common ...
../socket2.c: In function `WSARecvFrom':
../socket2.c:853: error: `POLLRDNORM' undeclared (first use in this function)
../socket2.c:853: error: (Each undeclared identifier is reported only once
../socket2.c:853: error: for each function it appears in.)
make[2]: *** [socket2.o] Error 1
make[1]: *** [all] Error 2 make: ***
[librotor_pal] Error 1
If anyone knows the magic to make this error go away so I can play with C#, I'd be very grateful!


April 14, 2004
Macromedia provides an official installation guide for CFMX on Mac OS X but some people still run into problems so Ken Ford has created this awesome step-by-step visual installation guide (unfortunately, it seems to have moved from http://mail.maclaunch.com/tibs75/MacOSXInstall.pdf - PDF, 1.3Mb).
I'll provide another update when the doc gets a new, more permanent home.


February 3, 2004
The latest update of Safari is available for Panther users (Jaguar users are still stuck with 1.0). Apple's big push point for this release seems to be support for LiveConnect, allowing JavaScript control over Java applets, but I think most people will be more interested in resumable downloads and full keyboard navigation (as well as "Improved compatibility with websites and web applications", whatever that means).


More articles...



Hosting provided by