VirtualBox: My New Preferred VM Solution

Posted by Scott on Dec 30th, 2007

As a long time user of VMWare’s Workstation virtualization software, I’ve always had a way to run WindowsXP or other operating systems on top of my Ubuntu Linux environment without any problems. However, late last year I heard that Parallels Desktop for OS X had an intriguing new feature, which allowed you to run windows from your VM directly in your host desktop environment.

This means that for doing cross-browser web application testing, you could pop up Internet Explorer or various other Windows browsers and run them side-by-side with your hosts’ native browser(s). Very, very useful. This was a killer feature that I was hoping VMWare would introduce. It appears that version 6 of VMWare Workstation didn’t include it, so I didn’t even bother upgrading from v5.5, since I was happy with how it ran in every other sense.

My wait for this feature is now over, and even better, is being offered by an open source software project called VirtualBox. VirtualBox works with the same operating systems I use, and has the killer feature I described above, which they call “seamless mode.” I’ve been using it for a few days now and love it. On top of that, the performance of the virtual machine even seems a bit faster than VMWare Workstation 5.5. Oh, and you can even use VMWare disk files with VirtualBox, though I haven’t tried that myself.

VMWare Workstation is a more mature product and has some other features that VirtualBox currently lacks, but I have no need for those features. I’m thrilled to be able to use VirtualBox as an alternative, and I think for anyone wanting to speed up their cross-browser web development, this is a great setup to use. Give it a try.

NetBeans 6.0 Release and an Interview with Tor Norbye

Posted by Scott on Dec 5th, 2007

NetBeans 6.0 final (my Ruby/Rails/C/C++ IDE of choice) was released a couple of days ago. Pat Eyler posted on his blog an interview with Tor Norbye, which outlines many of the spiffy features of NetBeans 6 and some of the challenges in writing IDE tools for a dynamic language such as Ruby.

A Must-Have Rails Plugin: strip_attributes

Posted by Scott on Dec 2nd, 2007

I recently discovered that my Rails model validations could be easily bypassed or broken by adding whitespace to the beginning or end of strings as they are entered in forms. For example, if your user account system is based on the uniqueness of email addresses, “joe@example.com” and ” joe@example.com” would validate as unique. This is something that nearly every webapp I can think of would want to avoid.

Fortunately there is a simple Rails plugin, strip_attributes, which will take care of this easily and efficiently. You can enable it on a per-model or per-field basis if you need fine-grained control. See the Rails wiki for more details.

In other news, there will be no December meeting of the NH Ruby and Rails User Group. Enjoy the holidays!

Blog Badges



[FSF Associate Member]

Archives