Upgrading the hard drive in an iMac using Time Machine

I’m a photographer, so I take a lot of pictures. Space on my iMac’s 160GB drive has been feeling rather cramped recently, so I thought I’d give myself some more room this weekend. I found a great deal on a 320GB SATA drive ($69), so I bought it.

I noticed that the drive only included software to perform a clone-and-restore function for Windows machines, but I thought I remembered seeing the option to restore from a Time Machine backup when I was installing OS X Leopard 10.5 a few months ago, so I thought I’d give it a go.

I turned off the iMac, removed the rear panel, dismounted the existing drive, mounted the new one, plugged it in, put the Mac back together, turned it on and booted from the Leopard install DVD.

Sure enough, there was the option under the Utilities menu of the installer to restore from my Time Machine backup. I chose it, and it found my backups on my external Firewire drive and then presented me with a list of backup points to which I could restore my machine (the most recent of which was a mere 10 minutes before I’d removed the drive).

I chose the most recent backup point, told the utility to restore it to the new drive I’d just installed, and after about 2 hours of chugging data between the two drives, my Mac restarted from the restored data on the new drive.

Snazzy, and damned simple! Time Machine rocks in more ways than one 😀

Microsoft releases Visual Studio 2005 Beta 3 and calls it RTM

Update: I got a comment (see below) from Kevin Morrill at Microsoft who kindly informed me that a hotfix for this is in the works and coming. (Thank you, Kevin).

I really like .NET. I love C#. There are parts of Visual Studio that I really, really like. It is a great productivity tool, and developing for the Microsoft platform without it is painful at best.

However, there are parts of it that I really don’t like. The one that keeps sticking its head up is the fact that it’s unstable as all hell. For the past 5 years, each version which has come out has been less stable than the version before it for me. This culminates in Visual Studio 2005, which has just been released in its final version to MSDN subscribers.

You can reduce this version to a quivering mass of protoplasm stuck in an endless loop within 30 seconds. Reliably and reproducibly.

Try this:

Create a new C# console application.

In the Program.cs file, put two new classes into the namespace as follows:

class Something<T>
{
}
class Derived : Something<Derived>
{
}

Nothing up our sleeves here, right? We’re just saying that Something is a parameterized generic class, and that Derived inherits from it and refines the type parameter a bit.

So far, so good. Now for the sticky bit.

Go back into Something<T> and start defining a new property inside of the squiggly brackets. Something like this:

class Something<T>
{
    public bool IsOutToLunch
    {
}

See that squiggly bracket after IsOutToLunch? I’m willing to bet that if you were typing along, that’s exactly the point where your copy of Visual Studio simply stopped and is now completely unresponsive. Why? Because there’s a bug in the C# editor which just encountered an endless loop walking the object graph. It’s now hopelessly stuck trying to figure out the Derived is Something of Derived is Something of Derived…. relationship, and has sent Visual Studio off to La-la Land for a bit of a rest.

OK, so the code that we entered is probably questionable. It’s valid, though, to the best of my knowledge. Even if it weren’t, should it really lock up the editor? Because guess what? If you’ve done anything else and haven’t saved it when you type that squiggly of death, you just lost it. Hmm… That really inspires some confidence in me. How about you?

So now I’m paranoid. I have no idea when I’m going to suddenly type the wrong character at the wrong time. I save my work every 30 seconds. Type a character, save the file, type a character, save the file. Okay, so not really that bad, but you get the point; I feel like I can’t depend on the stability of the development environment. This leads me to question all sorts of other things that I really don’t have the time or desire to be questioning.

It pisses me off. Especially since the beta-testing community for Visual Studio was clamoring for another beta of this version, and were rebuffed by Microsoft because they had to make a certain date. Bad move, IMHO.

Oh, by the way, Microsoft’s official response to reports of this problem? "We’ll fix that in the next version." Uh, isn’t that in 2007? W. T. F?

Come on, JetBrains, where’s your .NET IDE? If you had it out right now, you’d have a sale. I’d switch over today and probably never look back.

BTW: I’m not the first to discover this. Frans Bouma has a rant about it, and so do several others out there.