Archive for July, 2009

Using a VM as a Secondary Development Environment

Friday, July 24th, 2009

When I’m working from home, I will usually work in a virtual machine that is sitting in a VM cluster on my company’s servers. When I’m in the office I’ll work primarily on the box that is siting under the desk. This arrangement started out for purely practical reasons. But I’ve discovered something very useful about doing development in two different environments: it forces me to get everything checked into source control. It is one thing to use source control in principle. But when you are working on a small team, it is really easy to fudge. I might for example create a SQL script for development purposes, but to save it on my desktop. Ooops, now I don’t have it anymore when I’m in my other location and I need to go looking for it. Getting in the habit of working in multiple environments means I’m much more conscious about getting everything checked in and hence organized.

There are two more benefits of using a VM that I’ve discovered. The first goes to general development work habits. I have a very flexible work schedule and don’t always decide if I’ll be working from home or from the office until the evening of the prior day. So I get in the habit of checking in my work every day. Which in itself is not all that valuable. But it leads to a focus on getting all my code to a clean state by the end of the day. I don’t want to check something in that might break a build. So I make sure that I leave everything in a clean and complete state before I go home. I find that this helps me to be very focused on the task at hand. The build works. Unit tests are complete and I get that satisfying green check mark. It’s a whole lot better to start a day without something that has to be finished or fixed.

The second benefit relates to working from home. If there was a power outage or some system update over night my desktop box might be unavailable and I might not be able to connect to it remotely. But since my virtual machine is running on monitored servers, it is more likely to be available.

Kindle

Monday, July 13th, 2009

Yesterday I had the opportunity to check out a Kindle, Amazon’s electronic book reader. I found it interesting but not compelling.

The device was smaller and lighter than I expected. The screen was very readable in an even light. A strong backlight would cause a glare on the screen, but that isn’t unexpected. My first thought was that I could read a book on the Kindle. But then I started digging a bit and I’m not so sure anymore. The interface was a bit slow and not very intuitive. Within a few minutes I felt comfortable navigating around the operating system, but I’m not sure that I’d like to read a whole book on a small screen.

I don’t think I’d ever shell out any money for a Kindle. Apparently some classic texts are near free. But it didn’t seem that there was much of a discount for books still under copyright. I can’t see paying for a device and then turn around and pay full price for a book to read on that device. The bottom line for me is that no matter how interesting the idea is, I just didn’t see any compelling feature. There was nothing about the Kindle that gave me the “I’ve gotta have one” feeling. But it was interesting enough that I might check it out again sometime.