compressed air is so passe

Every geek worth his salt is bound to get requests to fix aged and ailing computers. A friend of mine, who shall remain nameless, dropped his ancient Dell off in the hopes that I could salvage some of the files off the disk. A few months ago it had crashed so he reinstalled the OS, and got a few more months use before it crashed really hard.

In such cases, I don’t even bother using the ancient computer. I just yank the disk and attach it to my computer using a FireWire ATA bridge. Then I can probe, test, and hopefully extract information from the disk. This is obviously much faster than working with a relic. This evening I pulled the unnamed person’s Dell out from under my desk and removed the lid. The greeting I got was a little unsavory.

656 Click photos to enlarge.

As the inside of computers go, this is not the worst I have seen. Most folks don’t bother to clean their engine before taking their car to a mechanic and they don’t bother to clean their computer before taking it to a technician. My intent in disassembly was simply to remove the drive, which you can see in the lower right hand side of the photo.

To remove the drive, there are two screws beneath the front panel that must be removed. I was thinking I could get the drive out without liberating too much of the dust, but I was wrong. Very wrong. When I partially removed the front cover, my wife, who happened to be watching the dissection, interrupted. With good cause, she insisted I put it back together and take it outside the clean it off.

660

Other than age, can anyone at home guess why the drive failed?

I heeded Jen’s advice and took the computer out into the driveway to clean it out. I keep cans of compressed air in the garage for just this purpose. Then inspiration struck. I had just, in the previous 10 minutes, come down off the roof after blowing all the leaves out of my gutters. If a picture is truly worth a thousand words, I need not explain any further.

663666669

Backing up a Mac

A friend recently asked a very good question, “What disk tools should be in a persons disk utility collection for backup/recovery of a Mac?” At the top of my list is two applications: SuperDuper! ($28) and Chronosync ($30).

SuperDuper is in a class of utilities used to duplicate the contents of your hard drive. There are other options (Synchronize! Pro X – $99, Carbon Copy Cloner – $5, Retrospect), but none that deliver so much for the money.

I owned Synchronize! Pro years ago but gave up on it during the switch to OS X. CCC was the perfect (and only) tool for duplicating OS X drives for quite a while. I used and recommended it for a few years. It’s so good and cheap that I paid the suggested donation for it several times. It “just works.” However, CCC has grown rather long in the tooth. As new versions of OS X arrived, it has been slow to get updated and even the latest version today does not support all of OS X’s file metadata features.

Say hello to SuperDuper.

Like CCC, SuperDuper will duplicate your drive contents from one drive to another, for free. However, with your paid registration, SuperDuper uses a sync engine that copies just the changes from one drive to the other. It works quite well and you (and I) are much more likely to back up often if only takes a few minutes (versus hours). I have a few bare ATA disks with sticky notes on them, so I know which computer they are for. I hook them up to my WiebeTech ComboDock and back up periodically. It works well.

The other half of my backup equation is keeping my home directory in sync between all of my computers. With two laptops and two desktops, keeping them all “up to date” is no small challenge. I have tried several solutions, including OS X Server 10.4 and portable home directories. However, the easiest to use and most reliable solution is using ChronoSync. I configure it to sync my entire home directory, minus Library, Movies, and Music. The latter two I exclude because they simply won’t fit on laptop hard drives. I only sync a small subset of my Library folder.

I run ChronoSync on an “as needed” basis, like right before I’m leaving the house, or when something is not on the laptop. Then I sync that laptop to my primary desktop system. ChronoSync has very good conflict resolution tools built in to help you sort out which version of a file you want to keep when both have changed since the last sync. It can also archive changed files and other nifty tricks. It is well worth the modest fee. Between those two apps, I can do everything I ever need to with my drives.

Notes:

Retrospect: the software from OS 9 days that I’m so pleased to no longer need. While Retrospect worked quite well, it was never easy to use, and thus I was always needed to help when clients needed to set up new backups, restore from them, or do anything more complex than inserting new backup media. It is not a good solution for end users.

Another good “Backing up a Mac” article.

Cleaning up our mailbox

There’s nothing like being away from home for most of the summer to make one realize just how much junk mail is arriving. We get at least one credit card offer a day and 3 morgtage protection insurance offers a week on top of local ad mailers (which are at least somewhat relevant). Today I found a Privacy link on the FTC web site that led me over to the OptOutPrescreen web site.

On the OptOutPrescreen site you can tell the “Big 3” credit reporting agencies not to provide your information to credit card and insurance companies that are “prescreening” you to determine if they want to mail you offers. Hopefully I just cleaned up our “postal” mailbox and helped save a few trees.

NOTE: This is different from the Do Not Call registry in that is is per-by-person so in our case, Jen and I must both opt-out.

Parallels Desktop review

I have used Parallels Desktop on my 20″ iMac since well before it was released, including most of the public beta versions. When they offered it for sale, I bought it without hesitation. In short, the software is much better than one would expect for the price.

One thing I must note about Parallels. Do not expect much if your system is RAM starved (ie, you have less than 768MB). Your poor mac will be paging to disk almost constantly and you’ll wonder why your blazing fast computer is so slow. That is because you are beating the tar out of your hard drive. Do yourself a favor. Spare your hard drive (and your precious data) by spending $160 for 2GB of RAM. I did this on my 20″ iMac and my MacBook and both scream.

I use Parallels for running three different operating systems, FreeBSD, Linux, and Windows XP. Since I develop software that runs on the first two, I regularly need access to them both so I am often running one of them in the background. I can code, rsync to the virtual server, test, and continue coding. I open SSH sessions to the virtual server just as if it were a real one. For nearly all intents and purposes, running these operating systems under Parallels is every bit as good as running them on a real server.

In some respects, it is quite a bit better. Since Parallels has come out, the dual 3.0GHz Xeon system that I have tucked away in a rack in our guest bedroom (because the fans are so loud) has not been powered up. In many ways, Parallels is much better than having a real server.

1. It uses far less power, dissipates far less heat, and generates almost no noise pollution which is quite nice in my Texas home.

2. Convenience. My dual Xeon is a server, so switching operating systems meant going into the other room, unplugging the active hotswap hard drive, and plugging in another. With Parallels, simply pause the running one, select another and start it up.

3. Portable. The dual Xeon is anchored to the rack in the closet. My virtual machines can be dropped onto my MacBook drive for portable access. I spent two months away from home this year and that feature was significantly better than dragging along another computer for testing.

4. Easy snapshots. I like to test my software on “virgin” boxes. This means reinstalling the OS quite frequently on a “real” server, or as I do on the Xeon, building a FreeBSD jail to test in. While the SATA disks in the iMac cannot keep pace with the Ultra320 SCSI disks in the server, I can generate a new system with a clean install simply by duplicating a Parallels disk image.

5. Leverages existing computing resources. I already have a really fast desktop, more than fast enough for development work and software testing.

6. More accessible. Because my virtual machines are so much faster (than Virtual PC on a dual G5), I use them much more frequently. Things I would have seldom have taken the time for such as, “I wonder what this looks like in IE for Windows” I check. There is value in that for developers.

7. Stability. My systems never crash. Anything that changes that makes me particularly grumpy. I have had only one crash while running a very early beta of Parallels. I stopped using it until the next beta came out and it’s been steady as a rock every since.

There are a couple downsides to using Parallels. For example, I could not run Virtual PC 2004 for Windows under XP when XP was running under Parallels.

You need enough RAM for Mac OS X (1GB min on Intel systems) and the operating system you will run. For most people, that will be XP which should have 512MB set aside for it.

Parallels is highly recommended.

Image thieves

Thank you myspace, for providing your users with a simple mechanism for stealing not just my images, but also my bandwidth. After perusing my web server logs to find the root of another problem, I noticed a significant amount of my images being served for myspace profile pages.

With a glint in my eye and a small grin, I have just single-handedly caused a rash of 403 Forbidden errors to appear on the pages of many myspace users. I doubt having broken images on a myspace profile is cool nor would having a random sysadmin expose your thievery to your fan base.

I can’t stop them from stealing my images, but I can stop them from stealing my bandwidth.

MacBook: Impressions

On June 13th, two 1GB RAM chips arrived. I got my cart before the horse.

Apple MacBook MA255LL/A 13.3 Two days later, my new white MacBook showed up. I bought the 512MB/80GB/SD configuration from Apple. The free iPod deal for students made it irresistable. I ordered the 2GB of RAM from NewEgg, for a $300 savings. Unfortunately, I did not have the screwdriver required to remove several screws from the RAM slot covers so I used the MacBook in its standard config for a couple days. While being fast at certain operations, it was no speed demon. It doesn’t take a computing genius to discover that at 512MB, it was starved for RAM.

The video card is integrated providing 64MB of VRAM by pilfering 86MB from the system RAM. Combine that loss with Rosetta and the RAM required for OS X itself and your system will enter the land of swap and sluggish performance in a hurry. If you love your MacBook, do not use it with only 512MB of RAM. Be kind to your hard drive (buy enough RAM that the system rarely swaps) and it will in turn be kind to your data. Apple’s upgrade to 1GB is reasonably priced and will suffice for most users. I regularly have Address Book, Mail.app, FireFox, Safari, iChat, iTunes, iCal, Terminal, and a random assortment of other apps all running so I can rapidly jump back and forth between them. This can be nicely accomplished with the PowerPC based Macs with 1.5GB of RAM, but on the Intel systems, I find 2GB is just right.

After Google maps helped me locate a Radio Shack, I bought yet another miniature tool set and installed my RAM. Since then, I have only one other complaint about the MacBook. While the display is nice and bright, the field of view is quite poor. When Jen and I watched a DVD in bed, we could not get it situated so that both of us could see it well. You could consider this a security feature, but I suspect that more often than not, it’ll be annoying when you want to share what is on your screen with someone else. Personally, I prefer my PowerBook screen where colors are what they are, even after shifting your head an inch in any direction.

Now that I’m done complaining, it’s time to extoll the virtues of this little beauty. For starters, there is no longer a “latch.” A magnet holds the iBook closed so it is very easy to open one handed. Once opened, the screen really is quite nice. Colors are rich and vibrant and text is nice and sharp, so long as you are directly in front of it, don’t move about much, and are not in the sun. My fingers love the keyboard. They have a longer throw than the PowerBook keyboard so I make fewer typing mistakes. I cannot imagine a touch typist who would not like it…but I do miss the backlighting.

After sticking in the extra RAM, the slowdowns all went away. Now everything runs really, really fast. I have been working on a few web development projects so I edit the pages locally (vi and TextMate), serve them via Apache, and view them in Firefox. On several occasions I synced the site from my iMac to the MacBook and continued to work while Jen drove us away. Did I mention that the MacBook is really fast? Speed has been my primary dissatisfaction with the aging PowerBook and I’m happy to report that the issue has been resolved completely. The Core Duo is a smokin’ fast chip.

The rest of its virtues are nearly identical to the features I enjoy on my Core Duo iMac: better quality iSight, built in speakers and mic, airport & bluetooth, slot loading SuperDrive, remote control for Front Row, etc. I won’t miss the modem as I rarely used it except when trying to send a fax. The battery life is much better than a PowerBook (or a MacBook Pro) for that matter. I really do prefer the larger screen but having the extra battery life from the MacBook could quickly endear me to it. The new larger trackpad is very nice and I like being able to right click and scroll with it.

Finally, a requisite application for any laptop of mine is GPS and mapping. Route 66 still works, but via Rosetta which is not terribly fast. I was able to pair my GPS receiver up with Mac OS X, and then share it to Windows XP running under Parallels Desktop. XP saw it as a serial device and MS Mappoint saw it and it immediately worked. Now that I can run Windows quickly and get XP to see my bluetooth GPS, I have a lot of choices for mapping software. Very, very, nice.

Speaking of Windows, XP installed just fine under Boot Camp. It runs just like Windows does on any good hardware. However, certain things are missing, such as the ability to right click. The driver for the trackpad is a generic Microsoft one, so it doesn’t support all the drag, scroll, and right click features, yet. The built-in iSight has no XP driver yet. I expect the final version of Boot Camp will address device issues like that.

Apple is cozy with Microsoft Windows?

The year 2006 has brought many more forays into Windows than normal. Over a decade ago, I wrote software for DOS and subsequently various versions of Windows. After quitting my job at Kysor, I left Windows behind and my primary desktop OS has been either Mac OS or a variant of Unix (FreeBSD, BSDI, IRIX, or Linux).

For the last decade, I used Windows only when necessary. Earlier this year, I bought a new Core Duo iMac. I contributed to the XPonMac context to get XP working on it. I was even happier when Apple released Boot Camp soon thereafter. I installed XP and Firefox, rebooted, and didn’t use XP again. Then Parallels arrived. I downloaded and installed it. Not only did it work, it worked well. I installed FreeBSD, Debian, and WinXP just to have convenient access to them. Before June, I did actually used XP for one thing. I downloaded and installed the Blue Frog. Then Blue Security got DOSed off the planet.

I began 2006 with only occasional contact with Windows. Within a couple months, I had it installed on my iMac and a few months later I was actually using it. Then, just imagine my surprise when I was filling out the rebate form for my free iPod (which I bought with my new MacBook). The form was experiencing technical difficulties and yielded up an extremely interesting error message. Apparently Apple is also becoming much more familiar with Windows as well. Pay careful attention to the server tagline at the bottom of the error message.

Apple using Microsoft Servers

I am sure the explanation for why an Apple server is yielding up Windows .NET error messages will be interesting. For reference, I also saved the page as a web archive. The following is the .webarchive file generated by Safari. I have also posted a full sized image of the original screenshot.

Web Archive of Windows at Apple

Another look at the 20″ iMac Core Duo

Two weeks ago we arrived in Seattle. We planned at least seven weeks here. Being gone for so long required that I set up a portable office so Jen and I could work. She brought her laptop, I limited myself to the PowerBook and 20″ iMac Core Duo. Upon arrival, I accepted a one week contract job helping out Microsoft. That contract meant putting my iMac to work in new ways.

My project was the instruction of a course on LAMP (Linux Apache MySQL PHP/Perl/Python) development. I had to document a process by which Microsoft employees could install LAMP on their computers and then use the LAMP stack in a development environment. Of course, it had to be delivered in the form of Word docs and PowerPoint “decks.” With that in mind, I had to have several things all running at the same time:

  • Windows XP
  • LAMP: Linux (via virtualization)
  • MS Word & PowerPoint

While instructing the course, I learned quite a few things about my Core Duo iMac, Parallels Desktop, and MS Office under Rosetta.

For starters, and reference, Parallels Desktop does a great job of running Windows XP. Previous to this contract, I had no problems running XP under it, but I had not really used it other than to boot it up and see that it worked.

Parallels Desktop & Boot Camp
While Parallels Desktop lets me run XP under Mac OS X, it is not quite as good as rebooting into XP via Boot Camp. I ran into a limitation when I installed and attempted to use Virtual PC 2004 for Windows. It simply will not run under XP when XP is running under Parallels, giving a “CPU not supported” error. Since I needed Virtual PC 2004 to work, I had to reboot into Windows under Boot Camp.

When Jon, the project manager, came over to broadcast the Live Meeting from my house, he looked at Windows XP on the screen and asked, “Where’s the computer?” I replied, “that is the computer.” Apple hardware rocks. As I have pointed out in previous articles, and continue to be surprised by, Windows XP runs much faster and smoother under Boot Camp on my iMac than on the dual 3.0GHz Xeon server I have. I was reminded of how “authentic” my experience was when MSN Messenger asked to enable my video camera. When I allowed it, the system promptly rebooted. I let it try once more with the same results before disabling the built-in iSight’s hardware profile. Am I the only one that finds it inexcusable that a vendor supplied chat program can crash the operation system?

MS Office & Core Duo Macs
Previously I noted that PowerPC apps like MS Office work just fine on the new Core Duo systems running under Rosetta. I have found that my assertation was a bit hasty. While Office does run and appears to work fine, when I began using it I found its performance is intolerably slow. I had to generate a number of PowerPoints and Word docs. None were very large, 15-30 slides for PowerPoint and 5-15 page Word docs. I started out building them on the iMac in Office 2004 but redraws, scrolling, and general use was too slow. This is on a 2GHz Core Duo with 2GB of RAM!

How slow is “too slow?” I did not bother with benchmarks because I had work to do. When I grabbed a scroll bar and drug, I would have to drag and wait for the screen to update, and it would often take up to a second and sometimes a few to redraw a page or a slide. This was after turning all of the auto-* features. If you are content with the speed of OS X or XP on a 4 year old computer, then the performance would be acceptable to you. For everyone else, if you must use Office regularly, avoid the new Intel powered Mac system unless you intend to buy the new version of Office the day it ships so you get get decent performance again.

I worked around the problem in two ways. The first was by running Office under XP (under Parallels). The rest of the time I edited the files on my aged but trustworthy G4 PowerBook. To summarize, the Core Duo equipped macs are really great systems, but if you spent a good portion of your day working in Office or any other app that is not yet Universal, you will want to continue using a PowerPC based Macintosh.

A cornucopia of things

Seattle
We are in Seattle (Lake City) at least until mid-July. We fled Texas to escape the heat. Jen found us a housesitting job.

Weather in Seattle is wonderful! It’s cold in the morning (60s) and warms up into the 70s during the day. There are no mosquitoes. The doors and windows of the house are open all day (and night). I can be out in the sun for hours and not get burnt. I burn in less than 40 minutes of Texas sun.

Honda Odyssey
We drove our new minivan up to Seattle. It is a 2004 Honda Odyssey. We got it last month with 26,000 miles. It is like new. It is so anti-Jetta. The Jetta is small, the Odyssey is not. The Jetta is frugal (35mph), the Odyssey is not (24). The Jetta begs to race down the backside of mountains at 120mph, the Odyssey says, “grow up, speed racer.” The Jetta is cute, the Odyssey is…is…practical. 534

The Jetta: Let’s DRIVE!
Odyssey: Let’s ride.

The Jetta: Go, Go, Go! Faster, faster, I can do it!
Odyssey: Hey, look at the pretty mountains and the cool morning air that I have conditioned to exactly 72° for your riding comfort. Would you like a massage with your soft cushy seats?

After driving 400 miles:
The Jetta: Stop? Why? I can go for 200 more miles on this tank!
Odyssey: I’m thirsty. Don’t you have to pee or something?

After looking at the pile of stuff to take for 6 weeks:
The Jetta: Where?
Odyssey: Is that it?

Things that would not have fit in the Jetta: 20″ iMac, crate full of rock climbing and camping gear, portable office (phones, routers, power adapters, etc), a really big bag of Kayla toys. It really was quite dramatic. We filled up the Odyssey with everything we wanted to bring and was still below the bottom of the windows.

Contrast that with our two weeks in Michigan over new years. The Jetta was packed to the gills with the roof rack on top and not an inch to spare anywhere.

Junior 2.0
We had Junior’s big ultrasound yesterday. Junior appears to be very healthy. In fact, Junior is quite vigorous, refusing to hold still for the ultrasound technician. She claimed never to have seen such an active fetus. There were a couple images she simply could not get because Junior refused to hold still. After 15 minutes trying to get a particular shot, in frustration she held the probe still and said, “Look at this, I’m holding this still and he is just going and going!”

Junior’s mommy was not the least bit surprised. Kayla was an active baby and we had nicknamed her “Dances in Womb.” Junior is hyperactive and seldom pauses. Junior is more like “Spastic Bounces Off Walls.” His activity level is almost constant. Many things about this pregnancy are different than the last, but of course, every pregnancy is different. The nausea that abated in the second trimester last time has not. Other little things are different. We had our suspicions.

As the technician probed, daddy and Kayla watched. I asked, “Did I just see what I thought I saw?” The technician slid a knowing grin and continued. She paused, and froze the screen. There it was again, and this time she caught it before Junior swam away. Junior is sporting the goods.

Workin’ for the man
The day after we arrived in Seattle, I got the phones set up and then they rang. A certain mega-sized monopolistic computer software corporation (MSMCSC) based in Redmond, Washington wanted my assistance. Oddly, they had no idea I was only a few miles away. So, I am finishing up a one week consulting project with, guess who?

Intel iMac -vs- dual G5 performance continued.

I recently cleaned up an old video project that has been awaiting attention for almost a year. It was pretty simple footage and required only a few snips, clips and fades in iMovie to be considered “done.” While waiting for my shiny new iMac Core Duo to render the fades, a memory surfaced.

When using the dual G5 systems to edit video, the system would render fades and transitions in only a second or two. In fact, on long segments where lots of fades and transitions were necessary, think of a Ken Burns movie full of photos, the dual G5 could render them as fast as I could drop them into the pasteboard. It was difficult to “stack” a few renders to keep the dual G5 busy.

Fast forward to yesterday as I waited Continue reading “Intel iMac -vs- dual G5 performance continued.”