Nov 19 2008

Opening up Google Reader this morning, I found this post on PHPDeveloper.org’s RSS feed. They use Xen hypervisor on their big beefy servers to provide what they call “slices” (i.e. virtual machines that you can do pretty much whatever you want with).

The host is called Slicehost, and the provide VMs of 256mb RAM up to 15.5GB RAM (!). Prices for the smallest “slice” is $20 (£13.37) per month, which is pretty reasonable for the muck-around equivalent of your own dedicated server. The beauty of it is that the resources you pay for are reserved, so you won’t find some other “slice” on the same server as you using up your RAM or CPU time when you need it the most. Of course, these VMs aren’t just limited to development servers, upwards from the 1GB slice is the equivalent of your own dedicated server, so is also more than suited to production servers, especially as initially Slicehost was meant for business and production needs. Bandwidth is pretty reasonable as well - 100GB per month for the base package. Personally I wish something like this had come along before I bought 1and1 hosting for 2 years, heh! Oh well.

Check out Slicehost here!

Oct 29 2008

As life passes we get busier and busier. I forget appointments and double book myself. So I’ve started using Google Calendar in an attempt to get organised. So far I’ve found it pretty useful, and it’s such an easy interface.

Using iCal, I can also view my calendar in Outlook at work, and another really cool thing is that I can sync my Nokia 6500 slide with my Google Calendar, using GooSync.

So hopefully I won’t miss a thing…

Oct 28 2008

Cloud Computing is a buzz word that’s been chucked around a lot on the Web 2.0 world recently, and with the announcement yesterday of Windows Azure, a cloud-based operating system developed by Microsoft, I thought I’d give myself more of an insight as to what this means.

It isn’t really a new concept, just like AJAX was never a new concept, it’s just when people realise things can be used in a certain way, it gets popular real fast. Basically, the concept of clouds is providing an abstraction layer, and normally a physical seperation between several nodes, for example cloud storage (Amazon SimpleDB, Google BigTable), cloud infrastructure (Amazon EC2) and cloud services (Google Checkout). In fact, you’ve probably already used cloud computing without even realising it… Google Maps and Google Docs are a couple of examples. Google, as you might have guessed, are pushing forward with the cloud computing bits quite a lot, and the only other real competitor in my eyes is Amazon, especially their hugely popular EC2 and S3 services.

It’s a pretty cool concept though - instead of having a laptop with 10GHz processors and 1TB of RAM and all that, we’ll all be using Eee PC with just Firefox running, most likely connected to Google. The concept of that forces buying hardware into the providers hands - the companies like Google, Amazon, Microsoft etc. and all we do is use the services. I’ve not really gone into too much detail about what it is, but one of the advantages of this whole thing is that you don’t have to worry about data storage, and you can access your stuff anywhere you want.

The big thing holding UK back from diving headfirst into this cloud computing stuff is the fact that most residential UK internet connections suck. We’re still using ADSL and cable broadband for christs sake. And unreliable at that. Despite Virgin Media having a 35% market share, and BT Broadband having 40%, I still hear endless complaints about them. At the end of the day, even 24meg just doesn’t cut it (although in reality, I’ve rarely seen someone actually get anywhere near the potential throughput of a 24meg connection, due to contention ratios and all that). We need Fibre to the Home, and we need it with low contention ratio - we need Gigabit internet (or maybe 40 gigabit anyone?). The problem with that is that no-one wants to foot the £28.8 billion bill. I digress, that’s a different story…

Oct 22 2008

Since we started using Eclipse PDT as our primary IDE at Netbasic, there is nothing stopping us from moving to use Linux (for me, specifically Ubuntu) as our operating systems.

Except for one thing… Outlook. It’s a huge drawback because, like most corporate offices, we use calendaring functions, tasks, global address books, and loads of other features on our Exchange server. I did a bit of Googling and found out that since 2007-odd, Evolution (the default mail client with Ubuntu) supports Exchange out of the box. Always wary of things like this, to check it worked, I loaded up a new Ubuntu VM and fired it up. There was a bit of confusion getting it to work, and it repeatedly asked for my password. Once it finally got it working, it slowly loaded. I tried going through a few folders, and it was repeatedly slow. I did another quick Google, and others shared the problem. I restarted Evolution and then it repeatedly asked me for password.

Essentially, it’s obviously a hack to get it working efficiently, which really isn’t what a corporate environment needs. The beauty of Outlook is that you stick in the name of the user, and it loads up everything. In any corporate environment, this is a huge stumbling block for people considering switching to Linux who use Exchange servers.

There are two solutions I see to this - fiddle with Evolution more until it works, or use VirtualBox to run a little VM of Windows with Outlook (see this guide). Personally, I wouldn’t mind running VirtualBox to do it at work, it would provide me with other advantages too…

Update 23rd Oct ‘08: Well it turns out I was wrong. I’m not sure if it was simply a problem of me running it in a VM and having network issues or something, but I just tried it here at home using exactly the same settings and it actually works like a dream!

Unfortunately, I asked our tech lead, Kelvin, and I’m not allowed to install Linux on my work PC (unless it’s in a VM) due to him “being able to access stuff”… although I don’t see why not as I can set up everything just the way other networked PCs are set up in Linux. I tried to set up Ubuntu in a VM image, and supposedly VMware supports multiple monitors, but I couldn’t get it to work, so until I can convince Kelvin otherwise, I’m stuck with Windows….

Oct 21 2008

I followed some guide on the interwebs this evening to set up a password-less SSH connection to my server. I followed all the steps correctly, but kept getting “Server refused our key” in PuTTY.

Thankfully, after a quick Google, this guide helped me out and got it working.

The solution is that Windows sucks, and you should always generate your keys in Linux.