How Gentoo has Helped Me

IT Chapters 1 Comment »

I don’t think there is enough press around Gentoo. Therefore I will provide some. :)

The company that I work for is very much a Microsoft based company. We use Access, Word, Excel, Outlook, a mixture of Windows 2000 and XP machines and two 2000 servers. I develop in ASP.NET and C# (the best web development platform around, in my opinion) and our systems are definitely geared in the “Microsoft Way”. So you may ask, why are you using Linux in your environment?

Before we start, lets get some basic facts straight. I like to think I sit above the whole Microsoft/Linux argument. I don’t believe that there is any point in the whole fan-boy attitude that seems to surround the two platforms. Both are incredibly good and powerful and can provide pretty much exactly the same experience to the user. I believe that since software is market driven, the best product will always come to the surface for each person’s individual requirements. You can push your favourite as hard as you like but most people will always pick the solution that fits the needs of the requirements. I just think Microsoft in most cases provides the best solutions. ;)

Coupled with this, I use and work with Microsoft’s technologies every single day. As I said above, I develop applications in C# (both ASP.NET and Winforms) and manage a legacy Access application. The technologies that come out of Microsoft are definitely world-class and deserve all the attention that they get (and sometimes don’t get).

But lets get back to the reason why I still use Linux and specifically Gentoo and I’ll pay specific attention to my situation and why I chose a Gentoo machine over a Windows Server solution. As a small accounting company, our IT budget is not one of the biggest. We have spent the money when required, but with licensing fees and the cost of new machines, we don’t have the resources that other companies might have.

With our company growing, the pressures on the servers that we had grew. We needed another DNS server, our mail was not being screened for viruses, spam was out of control, we required a bugs database, my sales department wanted us to provide basic IT facilities (webmail, webspace) for clients and our infrastructure simply couldn’t keep up. So the decision was taken by myself to install a small Gentoo machine in our office to test the viability of integrating it to our current infrastructure. With the great help and guidance from Grant within 2 days we had a small box running in the office. And by small I definitely mean small. An old AMD K6 with 256 MB of RAM and a 40GB harddrive put together meant the birth of our first gentoo machine.

The box (nicknamed Dustpuppy) was placed between the internet router and our LAN. Acting as a router initially, Apache and BIND were quickly installed supplying us with our badly needed secondary DNS server (primary in come cases) and the basis for the webspace we now provided.

Within a month we had a full webmail setup running with our clients now having an account for all their email and requirements. Within 2 months Dustpuppy was running most of the internet infrastructure in the office. Within 6 months, I now have daily off-site backups of our source code, databases and all our application files with a 1 month restore period to an external server. Including Apache, we now have BIND public facing to serve the clients’ domains, the mail server now handling over 150 domains worth of email traffic, shorewall to handle any firewall issues and OpenVPN to handle the VPN connections from staff at home. I have to admit, we had to upgrade the AMD to a new machine not because the machine couldn’t handle it, just to upgrade the parts since the machine now over 5 years old.

But what about Gentoo? All I’ve spoken about here is how Linux has helped me shape our business into a more efficient company without saying “How Gentoo has helped me”. With Gentoo as my distribution, I have sucessfully installed all these packages, upgraded them, kept them up to date and kept a streamlined server with the minimal of effort. Portage (the package management application) in Gentoo is a piece of genius. The work gone in there allows admins to seamlessly work with packages within their system and make sure that everything “just works”. Considering the amount of work I throw at the machine, including mailing lists and the off-site backups the machine takes it all in it’s stride and completes the task incredibly quickly.

So if you’re in my situation with large needs and small resources, take the best solution to your problems. Which in my opinion is Gentoo. I’ve never looked back, and I doubt I ever will.

The Importance of Search (and advertising)

IT Chapters No Comments »

Its this kind of news that allows me to put some more faith into Google. Om Malik puts it perfectly (and he is a really smart man too. ;) )
Clicky

C# Navigation Library

IT Chapters, Link of the Day No Comments »

Based on a library I wrote for a final year project in my studies, I have finished a C# implentation of common functions required for developers that develop for navigation solutions. An inital version in .NET 1.1 made its appearance on this blog a while back, but I’ve completely revamped it with a new implementation in .NET 2.0. The project includes custom types for degrees, vectors and points.

Accompanying these classes is a static library of common methods. These methods include applying a wind vector to a passed vector, distance between points and a course between two existing points.

The project source can be downloaded from here.

Self Indexing Databases

IT Chapters 2 Comments »

Storing data in a database seems like a simple task. The tables are created and your data is added/edited/deleted as required. But beyond this is the need to make sure your tables are properly indexed to make sure that commonly accessed tables/fields are responsive to queries. Creating indices borders on an art or even black magic in some cases and it is up to the DBA to chose the correct indices to create.

But why can current databases not decide on which indices are the best for your particular solution? We do have the turning wizard in SQL Server 2005 but surely this should be an automatic task that the database can perform. Coding Horror continues the dicussion on this interesting topic.

Jabber Client for Windows Mobile

IT Chapters 5 Comments »

I received my new XDA Mini S yesterday and was hoping to fire up Google Talk (MSN and Skype are a little resource hungry) and I can’t seem to find a Windows Mobile client that support the Jabber protocol. Any out there?

I’m really excited to get this device. I’ve been wanting a device to develop against for a while and now I have one. Firing up Visual Studio 2005 as we speak. :)

Stonehenge

Life in London No Comments »

The obligatory photo. ;)

DSCF2250
Hosted on Zooomr

I’m trying out Zooomr as a photo hosting service. Pretty neat and has a better interface than Flickr in my opinion.

Remembrance

Life in London, Today.... No Comments »

Today is the 1 year anniversary of the tube bombings in London. My thoughts are with the people and their families that were affected by the terrible actions of the misguided bombers.

My thoughts go out to the family of Monika who was a much loved colleague. We do miss you!

Monika