Parallels vs. VMWare Fusion

Tech 1 Comment »

The short: Fusion delivers, Parallels chugs.

The long:

In a perfect world, websites and technologies would work the same on every platform. This world is far from perfect, as are the standards by which we interact with technology. As a developer, you need to be able to test your products on various systems–and that’s where a nice Intel Mac comes in quite handy.

Most of us don’t have access to a Mac, a PC, and a Unix box–it’s usually one of the three. Enter virtualization software, which allows you to run multiple operating systems on one machine. Two of the better software packages for this are Parallels Desktop and a new release of VMWare’s Fusion. I’ve been using Parallels for a while now, and while it does what I need (I test my pages on IE 6 & IE 7), it’s a huge memory hog and doesn’t really accommodate my multi-tasking disease. (I typically keep 6-10 programs open at once.) With Parallels it’s a risky venture running it along side much of anything. Even with 2GB of RAM my iMac gets sluggish–and even after I close Parallels it doesn’t fully recover until I reboot.

I’ve recently installed Fusion, and so far it blows away Parallels. I’m able to run everything I need along side it, and it’s “Unity” feature lets me run a Windows program right along side my Mac program as if it were literally running from OS 10. Here’s a screenshot of iTunes for Mac (left) running along iTunes for Windows (right). Click for the full image:

iTunes Mac vs iTunes Windows (via Fusion)

Parallels has a feature called “Coherence” that does the same thing–but it’s never been as smooth or seamless for me as Fusion. I took it another step further and downloaded one of the many available pre-built systems you can install from VMWare’s Appliance page. Just for fun I downloaded a LAMP-ready Ubuntu install and had Ubuntu running alongside Windows XP and Mac OS X. Here are three versions of the same website being run on three different OS’s (left to right: Ubuntu, OS X, and Windows XP) from one machine (click for larger):

The bottom line: With Fusion’s ease-of-use, relatively low memory overhead, and ability to quickly install pre-built operating systems, you’ve got no more excuses not to be developing on a Mac. Period. Pony up the extra money and dine on steak instead of that McDonald’s burger you’ve been languishing in for too long now.
[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Facebook Code Leak

General, Tech No Comments »

On the 10th or 11th of August, a portion of Facebook’s PHP code was accidentally leaked. Facebook made an comment on a blog reporting the story that pointed to a problem with mod_php displaying their index page as plain-text.

“Some of Facebook’s source code was exposed to a small number of users due to a bug on a single server that was misconfigured and then fixed immediately. It was not a security breach and did not compromise user data in any way. The reprinting of this code violates several laws and we ask that people not distribute it further.�

As a developer, I have two equal but opposite thoughts. 1. I would hate for my code to leak and give away any hints as to the security or well-being of my sites. But, 2., since I develop alone, it’s always great for me to see how other developers go about writing code and developing their sites.

I have seen the code, and there’s nothing earth-shattering in there that should give the guys at Facebook much to worry about. They may have to change some directory structures, but the code uses so many includes and external functions that it’ll be very difficult for anyone to do anything too nefarious with it. Since I wouldn’t want people passing my code around, I’m not linking directly to it here. You can find it pretty easily without my help anyway.

Nik Cubrilovic has some good methods on trying to fix these kind of leaks, and I’ll be implementing them ASAP on my servers.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in