Tuesday 14 August 2007

Arising from the murky depths...

The Indian cricket team finally has something to smile about after the final test ended in a tame draw. To say that India outplayed the match and took it beyond the reach of the English would be an understatement, although losing three quick wickets in the second innings showed a glimpse of what could have happened.

Rahul Dravid, justifiably proud finally has something to talk about and for once everyone in the team can smile. They have all contributed in a deserving win. It isn't often that there is a Team effort evident in an Indian win but in this case, it was the main reason for their success.

The series win could also be a fitting swan song to the top five veterans who might retire in the near future and could boost their morale to an exciting upcoming series in Australia. Three years ago, India came close, very close to a win Down Under but a gritty 80 from a certain Mr. Waugh prevented the sun from shining for India that day.

This year, half of that famous Australian line up will be missing. Will India captalise or capitulate? Only time will tell..

Sunday 12 August 2007

Subversion : The next generation of version control systems

Subversion has been gaining popularity as a robust and easy-to-manage version system over the last few years but are there specific advantages for a project to use Subversion as a source code control system? This post briefly examines some of the benefits of using Subversion and brings together a collection of resources that can be used to understand, set-up and start using Subversion as a version control system.

What is Subversion?

Subversion is a version control system which maintains different versions of your documents and files, allowing you to get the latest versions or previous versions easily.

Some of the major advantages for using Subversion are:
  1. It is open-source and thus is free.
  2. Setting up Subversion and managing users is a simple affair.
  3. Subversion is rated to handle binary files comparatively better to the widely used Concurrent Versions System. Thus, image files can be handled better.
  4. Subversion can be integrated with Eclipse using a plug-in named Subclipse, which is useful for developers who like working from within an IDE.
  5. An open-source client (TortoiseSVN) makes accessing and using Subversion from Windows systems easy. Tortoise operates as a windows-shell client and is integrated into the windows explorer.
Some strong testimonials and user experiences are given on this page. On a personal note, I have used Subversion in about 5 projects over the last two years have found it to be a very robust and easy to use source control system.

Using Subversion

Subversion is based on a client-server model, which means that a server process actually monitors and manages access to your files.

( Note: you can also run Subversion as a standalone program to store your personal files but if you choose to do so, you will not be able to access your files from other systems. This article is describing a scenario where you would want to access your files from multiple systems.)

To set up a subversion server, follow the steps outlined in this excellent post.

If you have installed the Subversion server successfully (with Apache), then install a client that will be used to access and modify the files managed by Subversion. To keep things simple, we will focus on setting up Tortoise SVN ( a Subversion client) and use it

To set up the subversion client (TortoiseSVN), follow the steps outlined in this post.

Once you have a server and client system setup, you can access Subversion, check out and check in files, as many times as you like.

Subversion / TortoiseSVN resources
  1. Subversion Homepage
  2. TortoiseSVN Homepage
  3. Subclipse download page

Thursday 2 August 2007

Intelligent Lighting in Trains

On my way to work today, in the train, I couldn't help noticing the lights were on while the sun blazed in through the windows.Yeah..Yeah..Melbourne has underground stations..a grand total of 4 but do we need the lights on all the time? I think not. Making the lighting system intelligent is the key.

Power could be saved in such scenarios by fixing a light intensity meter in the engine compartment which would measure the strength of the light filtering into the train.
When the strength of the light would fall below a certain level, the intensity of the power lights increased in the passenger compartments.

Of course such a system will have to be calibrated to take into account temporary changes such as the sun going behind the clouds or another train blocking the sun while passing or we would have the lights coming on and off and passengers getting the Saturday Night Fever.