The wonders of transparent menus

MacOSX 10.5 added some bling, possibly to "catch up" with Vista. The transparent menu bar sucks. Completely. Please, someone at Apple, fix this.

I've got my desktop picture set to cycle through some of my photographs. Most of the time, it’s not a big deal, but occasionally, one comes up that causes my menu bar to look like this:

macosx 10.5 menu bar (crop)

Seriously.

Yes, transparency is cool. It's great to show off the power of the UI renderer, etc… But not at the sake of readability.

First thoughts on Leopard

Others will write more profound and deeper posts describing what’s so freaking cool about MacOSX 10.5 Leopard. This post is just my initial gut reactions. Want more meat? Surf over to arstechnica.com.

I’ve played with seeds of 10.5 for what seems like years (but is really only a year?) through our Apple Developer Connection subscription. But all of my previous experience was in carefully isolated cleanroom installations, to prevent any bugs from nuking my production system. I’d never tried an upgrade install. I’d never run it for more than a day or two tops because bugs and instability sent me running back to 10.4. So, this is my first real time in Leopard, without an alternate or backup system running a previous version Just In Case™.

My initial thought after install, which I’m sure is hardly unique, was along the lines of “holy frack. it worked perfectly. it just fracking worked.” Seriously. Every app I use still works. All preferences are retained (even my custom dock-pinned-at-start setting). Trivial upgrade to the new OS. Gotta love that.

After that, I played with some of the new toys. Spaces is absolute brill. I’ve used other virtual desktop apps. I paid for CodeTek Virtual Desktop. I used the Open Source Desktop Manager.  I used the other Open Source Space app. I’ve played with virtual desktops in Ubuntu. But Spaces just feels right. Dragging apps between desktops? Very cool. It’s got the best features of the others, without any bloat. Just right.

Time Machine. I plugged in a LaCie 500GB Big Disk Extreme, and 10.5 asked me if I wanted to use it for a Time Machine backup drive. Sure. Why not? I’ll give that a shot. Time Machine sounds pretty cool. So I let it chew (for a couple of hours) to do the initial backup set.

Time Machine initial progress bar

No kidding. 1.4 MILLION files. 124.5 GIGABYTES of data. And I don’t have to think about backing any of it up. Ever again. It’s fully automatic. IIRC, Time Machine keeps the last 24 hours of HOURLY backups, the last week of DAILY backups, and as many WEEKLY backups as your drive allows. That’s so freaking awesome I can’t even put it into words. Knowing that EVERY FILE I USE is backed up already? Priceless.

There is a catch, though.

You don’t necessarily WANT all of your files backed up. That scratch video file of a few gigs of data. That temporary working directory of hundreds or thousands of HTML files, etc… Automatic backups have the potential to archive a helluvalotta crap that you don’t really want to keep (and no, I’m not meaning dwarf-hentai-tentacle-snuff-pr0n, but I guess that would fit as well). So, for the files that I want to work on without squeezing them into my Time Machine backup system, they go into a folder on my desktop called “NO BACKUP”. I’ve added that to my Time Machine prefs as an exclusion. So, if I want to use HTTrack to scape a site to a working directory, it just goes in there. No worries about polluting my backups.

What’s next… Oh, right. Safari Dashboard clippings. Absolutely brilliant. I’d been using a hacked-together widget on 10.4 that was inspired by the 10.5 preview Stevenote. It worked, but it lacked the slick UI for selecting the portion of a web page to display as a Widget. It’s got a visual DOM inspector. You just move the mouse, and it highlights the relevant HTML element and any children. Click it, and tweak the bounding box. Click “Add” and it’s done. A visual DOM inspector with manual override. Fracking brilliant. I’ve added a few web page widgets, including the stats/comments sidebar from my blog’s admin page, and the video feed from Maui.

I’m actually using Safari again as my default browser. The TinyMCE editor that comes with WordPress 2.3.1 works just fine in it. Thank the fracking gods. Now, if only those fixes get pushed into the main TinyMCE product so I don’t have to use Firefox to manage all of my Drupal sites (don’t get me wrong – I love Firefox – but Safari’s text rendering simply blows the crap out of every other browser, except other WebKit-powered flavours).

Update: doh. Safari+TinyMCE aren’t all hot and sweaty after all. seems like there’s some work to do before it works reliably. Safari stripped out all linespacing when I clicked “Save and Continue Editing”

I set up Janice in her account to use GMail via IMAP in Mail.app. Mail.app autodiscovered the settings. I only had to provide her address and password. Mail.app DID THE REST. Fracking brilliant, again.

The last comment I have after running Leopard for less than a day is about the menu bar. Love it or hate it, apparently. I hate it. It’s shiny, and demos relatively well, but the bling is at the expense of the readability of menu items.

MacOSX 10.5 Menubar Translucency

Sure, the primary menu items lose translucency when you click on them. But that’s just annoying. A text-based Whack-a-Mole™ navigation system. Please, Apple, either lose the translucency outright, or have it pop to full opacity when the mouse moves within the menu bar. No clicking and scrubbing required.

Almost forgot! Tabs in Terminal.app! Sweet. Much cleaner than having to command-` between a dozen terminal windows. And, I’ve even caught myself playing with CoverFlow in the Finder. Not sure how much I’d actually USE that, but it sure is purty… 

MacOSX vs. Ubuntu

I’ve been toying around with Ubuntu linux, seeing if I could make the move over to that side of things full time. It’s gotten so much better over the last couple of years, that it’s finally a viable fulltime desktop environment. The Ubuntu distro has an almost perfect balance of ease-of-use and hardcore-geek-utility. apt-get is great (but hardly user friendly).

Brian’s been working on making the switch from MacOSX to Ubuntu (or UbuntuStudio), so I’ve been thinking about it again.

Most of the apps I live in are there (Firefox is a good enough browser – even if it isn’t Safari, Thunderbird is a good enough mail app – even if it isn’t Mail.app). It’s got all of the server stuff I use either pre-installed or a simple apt-get away.

The one really killer app that is keeping me on MacOSX is Aperture. Nothing comes close on the Linux side of things. Nothing.

There are also tons of niceties in general use in MacOSX. Too many to list. And I’d miss them if I switched to Ubuntu.

Of course, with Parallels, it doesn’t have to be an either-or kind of thing. I can run Ubuntu inside MacOSX on my MacBook Pro. But, if I’m already running MacOSX, Linux is a bit redundant…

Crossover for MacOSX

Alan posted about the grief he’s been having with running Windows on his MacBook Pro. He rarely fires up Windows, but when he does, it’s a painful and ugly process. The last recommended updates just hosed his Windows install. Again.

But, there’s a better way. Crossover for Mac – it’s a polished commercial version of the open source Wine tool/library which provides a way to run Windows applications in MacOSX without having to install Windows. Basically, it provides a self-contained environment where applications are tricked into thinking they’re running on Windows, but they’re actually running on a bridge between the Windows API and MacOSX (and X-11 for display). You set up a “container” or a “bottle” to hold an application or two, and Crossover takes care of system-level stuff. You get an application icon that’s right at home in your dock, too.

Here’s what a cross-platform browser test might look like. Safari, Firefox and IE6/Win all on one screen:

crossover cross-platform browser testing

Text rendering goes from great to craptastic, from left to right. Also, apparently there are a few *cough*issues*ahem* rendering my blog in IE6/Win. Sorry. Shows how often I’ve used IE over the last year…

For something simple like browser testing, Crossover can’t be beat. It also runs with a bunch of other apps (including HalfLife). I tried to install NASA WorldWind, but didn’t get past the .Net install. I’ll try again after doing a bit of research first.

Alan posted about the grief he’s been having with running Windows on his MacBook Pro. He rarely fires up Windows, but when he does, it’s a painful and ugly process. The last recommended updates just hosed his Windows install. Again.

But, there’s a better way. Crossover for Mac – it’s a polished commercial version of the open source Wine tool/library which provides a way to run Windows applications in MacOSX without having to install Windows. Basically, it provides a self-contained environment where applications are tricked into thinking they’re running on Windows, but they’re actually running on a bridge between the Windows API and MacOSX (and X-11 for display). You set up a “container” or a “bottle” to hold an application or two, and Crossover takes care of system-level stuff. You get an application icon that’s right at home in your dock, too.

Here’s what a cross-platform browser test might look like. Safari, Firefox and IE6/Win all on one screen:

crossover cross-platform browser testing

Text rendering goes from great to craptastic, from left to right. Also, apparently there are a few *cough*issues*ahem* rendering my blog in IE6/Win. Sorry. Shows how often I’ve used IE over the last year…

For something simple like browser testing, Crossover can’t be beat. It also runs with a bunch of other apps (including HalfLife). I tried to install NASA WorldWind, but didn’t get past the .Net install. I’ll try again after doing a bit of research first.

Sketch Fighter 4000

TUAW linked to a new game by Ambrosia Software. I’ve had a soft spot for Ambrosia since way back in the pre-MacOSX days when I was hooked on Maelstrom.

Sketch Fighter 4000 is a strange hybrid game. It’s basically an old-school game, a combination of Asteroids, Space Castle, Defender, etc… But, it’s rendered as if it’s being sketched in ink on paper. When you shoot things, they blow up, leaving scorch marks on the paper. Or are they eraser smudge marks?

Sketch Fighter 4000 ScreenshotSketch Fighter 4000 Screenshot

In another nod to old school games, it comes complete with a level editor and sample custom levels. It has multiplayer game types, either sharing a single computer or over the LAN (I haven’t tried multiplayer yet). As an added bonus, the game plays great on my Powerbook. I’ve bought my license already. It’s totally addictive. Damn you, Ambrosia Software!

TUAW linked to a new game by Ambrosia Software. I’ve had a soft spot for Ambrosia since way back in the pre-MacOSX days when I was hooked on Maelstrom.

Sketch Fighter 4000 is a strange hybrid game. It’s basically an old-school game, a combination of Asteroids, Space Castle, Defender, etc… But, it’s rendered as if it’s being sketched in ink on paper. When you shoot things, they blow up, leaving scorch marks on the paper. Or are they eraser smudge marks?

Sketch Fighter 4000 ScreenshotSketch Fighter 4000 Screenshot

In another nod to old school games, it comes complete with a level editor and sample custom levels. It has multiplayer game types, either sharing a single computer or over the LAN (I haven’t tried multiplayer yet). As an added bonus, the game plays great on my Powerbook. I’ve bought my license already. It’s totally addictive. Damn you, Ambrosia Software!

Ideas for improving TextMate

I’ve been using TextMate for about a week now, and while it’s almost universally an incredible piece of magical software, I have been keeping a list of things that could use tweaking (you know, to make it even magicaller).

  • Arrange Windows. BBEdit’s got a great way to tile open windows. It’s very handy to compare multiple open documents. Would be very handy in TextMate. Something like “tile all open windows in evenly spaced columns” or “tile them all in equal-sized windows arranged nicely across that 20 inch cinema display”
  • Split window view. Terminal has it. XCode has it. BBEdit has it. Makes it really easy to work on 2 different parts of the same document.
  • Reindent code. Like Tidy does for HTML. But for other code. JEdit has a pretty good one. XCode’s got a really good one. It makes it very easy to keep source code looking clean and tidy. Bonus points for optionally adding documentation stubs for languages that use that sort of thing (javadoc tags, etc…) It looks like I could mess around with the Bundle Editor for various languages, but having this as stock behaviour would be a better way to share with the rest of the class.
  • HTML and CSS reformatting – flat, compact, hierarchical. It’s surprising how handy that is. Sometimes having the Official Tidy Cleanup Version isn’t what you need.
  • Tear-off bundle palettes. The “Select Bundle Item” menu/palette is close, but not task-specific. It’s not as handy having to constantly search for a function. I’d like to just tear off the HTML, or CSS, or maybe both.
  • Search all open files – if I’ve got a bunch of files open, from various locations (and perhaps on different servers) – they won’t be in the same Project, so I can’t use Find in Project.

I’ve been using TextMate for about a week now, and while it’s almost universally an incredible piece of magical software, I have been keeping a list of things that could use tweaking (you know, to make it even magicaller).

  • Arrange Windows. BBEdit’s got a great way to tile open windows. It’s very handy to compare multiple open documents. Would be very handy in TextMate. Something like “tile all open windows in evenly spaced columns” or “tile them all in equal-sized windows arranged nicely across that 20 inch cinema display”
  • Split window view. Terminal has it. XCode has it. BBEdit has it. Makes it really easy to work on 2 different parts of the same document.
  • Reindent code. Like Tidy does for HTML. But for other code. JEdit has a pretty good one. XCode’s got a really good one. It makes it very easy to keep source code looking clean and tidy. Bonus points for optionally adding documentation stubs for languages that use that sort of thing (javadoc tags, etc…) It looks like I could mess around with the Bundle Editor for various languages, but having this as stock behaviour would be a better way to share with the rest of the class.
  • HTML and CSS reformatting – flat, compact, hierarchical. It’s surprising how handy that is. Sometimes having the Official Tidy Cleanup Version isn’t what you need.
  • Tear-off bundle palettes. The “Select Bundle Item” menu/palette is close, but not task-specific. It’s not as handy having to constantly search for a function. I’d like to just tear off the HTML, or CSS, or maybe both.
  • Search all open files – if I’ve got a bunch of files open, from various locations (and perhaps on different servers) – they won’t be in the same Project, so I can’t use Find in Project.

TextMate is my new default text editor

I've been using BBEdit for what feels like a decade – it was the late '90s, anyway.

I just switched to TextMate. It's an amazing little editor, that feels like it's taken the best parts of XCode, BBEdit, JEdit, and many others, and mashed them all into one slick and powerful little app.

Here's probably the coolest feature (well, the coolest feature that I've discovered today, anyway). The HTML bundle has a "Validate Syntax (W3C)" action, which sends the contents of the document (or selection) to the W3C HTML syntax validator. The resulting page is then modified by TextMate, such that clicking the error/warning links in the report take you to the correct line in your source document. When I tried that the first time, I was stunned. But, of COURSE that's how it SHOULD work. Very cool.

TextMate W3C HTML Validator IntegrationTextMate W3C HTML Validator Integration

The other really handy thing it has over BBEdit is autocompletion. It'll complete html tags, code function names, and lots of other goodies. That's such a timesaver. Why doesn't BBEdit have that?

It's got the document/project drawer from JEdit, and tabs for open documents. It's got code folding. It's got a bundle that lets you send a project to XCode to be compiled, run and debugged. It's got syntax and code colouring for just about any language out there. It's got a Webkit-powered Preview window that actually lets you edit the previewed document, and creates acceptable code.

I've put in a request for a TextMate license, but if that doesn't get approved in time, I'll be pulling out my Visa card and buying one myself. I keep catching myself saying "heh. that's exactly how it SHOULD work." It's not perfect, but it's close.

I've been using BBEdit for what feels like a decade – it was the late '90s, anyway.

I just switched to TextMate. It's an amazing little editor, that feels like it's taken the best parts of XCode, BBEdit, JEdit, and many others, and mashed them all into one slick and powerful little app.

Here's probably the coolest feature (well, the coolest feature that I've discovered today, anyway). The HTML bundle has a "Validate Syntax (W3C)" action, which sends the contents of the document (or selection) to the W3C HTML syntax validator. The resulting page is then modified by TextMate, such that clicking the error/warning links in the report take you to the correct line in your source document. When I tried that the first time, I was stunned. But, of COURSE that's how it SHOULD work. Very cool.

TextMate W3C HTML Validator IntegrationTextMate W3C HTML Validator Integration

The other really handy thing it has over BBEdit is autocompletion. It'll complete html tags, code function names, and lots of other goodies. That's such a timesaver. Why doesn't BBEdit have that?

It's got the document/project drawer from JEdit, and tabs for open documents. It's got code folding. It's got a bundle that lets you send a project to XCode to be compiled, run and debugged. It's got syntax and code colouring for just about any language out there. It's got a Webkit-powered Preview window that actually lets you edit the previewed document, and creates acceptable code.

I've put in a request for a TextMate license, but if that doesn't get approved in time, I'll be pulling out my Visa card and buying one myself. I keep catching myself saying "heh. that's exactly how it SHOULD work." It's not perfect, but it's close.

VuPoint toy camera and MacOSX?

I was at the mall with Evan today, and we popped through the Toys ‘R Us store. They had a cool looking little toy digital camera for $19, so I just had to pick it up for Evan to mess around with. The box said the software was only for Windows, but I just assumed that MacOSX would be able to see it magically, as it does for everything else that claims to be Windows-only.

No luck. I’ve been googling for drivers or apps or hacks, without any success. Does anyone know how to get pictures from a VuPoint Solutions DC-M1082-VP onto MacOSX? I don’t care if I have to delve into obscure command line utilities, or compile some open source project. I just have to find a way to get Evan’s masterpieces off the camera. And, no, I am not going to buy a Windows machine to do it. It’d be cheaper/easier to just buy a new Canon XTi and hand him my XT 🙂

Evans first camera

He’s been shooting pictures almost non-stop since I handed him the camera. That’s pretty cool.

I was at the mall with Evan today, and we popped through the Toys ‘R Us store. They had a cool looking little toy digital camera for $19, so I just had to pick it up for Evan to mess around with. The box said the software was only for Windows, but I just assumed that MacOSX would be able to see it magically, as it does for everything else that claims to be Windows-only.

No luck. I’ve been googling for drivers or apps or hacks, without any success. Does anyone know how to get pictures from a VuPoint Solutions DC-M1082-VP onto MacOSX? I don’t care if I have to delve into obscure command line utilities, or compile some open source project. I just have to find a way to get Evan’s masterpieces off the camera. And, no, I am not going to buy a Windows machine to do it. It’d be cheaper/easier to just buy a new Canon XTi and hand him my XT 🙂

Evans first camera

He’s been shooting pictures almost non-stop since I handed him the camera. That’s pretty cool.

**Update:** A command line utility called `gphoto` seems to talk to the camera. I haven’t tried it, but [there’s a howto by David Clark posted online](http://blog.dcclark.net/2009/05/how-to-gphoto-primer.html). (thanks to Daan for the tip!)

Alternate PHP on MacOSX?

I'm working on a project where I'll need to demonstrate the process of importing static websites into Drupal, so I'm toying with the import_html module. The only problem is, it doesn't work on the PHP that comes with MacOSX. It requires XSLT to do it's magic (chunking through the DOM of the static site pages).

I've tried installing the Entropy.ch PHP5 package , but that just borked Drupal on my test system. Is there a sane way to install a more fully-featured PHP version that will work with Drupal on MacOSX?

Update: MAMP works like hot damn! What a handy way to have a separate PHP/MySQL stack to play with on my desktop, without worrying about borking the OS-installed versions… Thanks to Matt for the tip!

I'm working on a project where I'll need to demonstrate the process of importing static websites into Drupal, so I'm toying with the import_html module. The only problem is, it doesn't work on the PHP that comes with MacOSX. It requires XSLT to do it's magic (chunking through the DOM of the static site pages).

I've tried installing the Entropy.ch PHP5 package , but that just borked Drupal on my test system. Is there a sane way to install a more fully-featured PHP version that will work with Drupal on MacOSX?

Update: MAMP works like hot damn! What a handy way to have a separate PHP/MySQL stack to play with on my desktop, without worrying about borking the OS-installed versions… Thanks to Matt for the tip!