Saturday, May 23, 2009

Independence v2.0 - Released


This post should have come few days back. But, I was having problems hooking up to the internet. Anyway, it’s late better than never. So, here goes…

Getting to the point, all I can say is “Whoopee!!! Good Riddance for bad rubbish!!!”. The monster that brought chaos to the country and the region is finally gone to rot in hell! It is not only for the thousands of lives he killed, thousands of people he made homeless, thousands of children who were made fatherless or motherless or the millions of dollars worth of damages he did to the country. It is also because of the mess up he did to the mindset of the entire world bringing disgrace to the country and the Tamil community which he claimed to be the soul representative of. Finally, the barbarian who was supposed to be invincible was eliminated and the millions of sighs of relief shed irrespective of the nationality, religion and political party, and the thousands of national flags which were hoisted in all corners of the country vouched for the true feeling of Independence V2.0 of the country.

With all the high spirits about the elimination of the ruthless LTTE, the leadership and courage shown by His Excellency the President was truly incredible. A million ‘thank you’s for you sir for being a true Sri Lankan and showing the so called International Community that we can stand tall as one nation. Furthermore, I am ever grateful to the Secretary of Defence and Commanders of all forces for the amazing dedication they put in to bring the country under one flag. Most importantly, I bow down to all the soldiers in the line of duty not only because of the valiant efforts made by them to get rid of the LTTE, but also because of the professionalism and care shown in rescuing the displaced people. Hats off for all of you!!!

So, with the path cleared, what do we have ahead of us? It is nothing else but sheer development, and show the world that a phoenix is in the rising! It is time for all the nationalities… umm... let me rephrase. It is time for all ‘Sri Lankans’ to get together and march forward for the sustainable development of the country with harmonious co-existence across diversities. Who knows, we might start off beating Singapore! It is not impossible! :)

Bravo mother Sri Lanka!!!


PS : I was trying to focus only on the positive side of this, but anyway as a final note to all those national and international scoundrels who tried to spoil our nation I’d like to say: “I don't consider you all vultures. I consider you something a vulture would love to eat.!!!!”




Saturday, May 2, 2009

‘Milli’band adds to the Mega pain…


Let’s start with a fact. LTTE leader Velupillai Prabhakaran is a bloodthirsty terrorist who created enough havoc for this country as well as the region, and should be eliminated!!!

With that said, I find it pretty surprising and disgusting to see how the so called ‘world icons’ are partnering with the LTTE to protect it when it is at the verge of being erased from the face of our country. The most recent stunt was pulled off by the UK Minister of Foreign Affairs Mr. David Miliband, where he held hands with his French partner Bernard Kouchner and came to persuade the GOSL to go for a ceasefire due to the ‘humble’ and ‘pure’ intention of making safe passage to the innocent civilians trapped in the war torn area. Now, this seems rather paradoxical since all these guys are asking the government to stop eliminating the terrorists while the terrorist leader is using a human shield to protect his ... you know what.

The govt is doing a tremendous operation out there rescuing over 200,000 people and when ‘Milli’band walks in and tries to be the ‘Angel of Salvation’ that looks an absolute joke. This doesn’t end there. Even the UN Secreatary General is not doing his job right. From the beginning he has tried to point the finger at the govt, and even now when there are enough other burning issues in the world where his attention is needed, he comes and says to find the murderers of Mr.Lasantha Wickramathunga which is an indirect pressure put on the govermnment. Take the The US-led ‘Tokyo Co-Chairs’. What a nerve they had in asking to provide amnesty to the LTTE!!! Why can’t they provide amnesty to Bin Laden?! When Prabhakaran killed so many innocent civilians, no foreign minister came or put pressure on the LTTE. Where were Mr Miliband, Mr. Moon or the Tokyo Co-Chairs? Were they hibernating? They are just wasting time to fulfill their own electoral political dreams.

Although they have smartly registered the phrase ‘ethnic conflict’ for the problem in SL, it is really not an ethnic conflict any more. Now it is an eradication of a deadly terrorist group. I myself know that multi cultural and multi racial people can peacefully co-exist since I’ve been in such a school, a University and even my current workplace provides a peaceful environment to all employees where your capabilities become the only factors that signify you from another. So, it is just a matter of breaking out of the shells that we are trapped in, and embracing the fact that the significance is in what you say and do and not in the social division or group that you belong to.

The President, Secretary of Defence and the Army Commander of the country are being commendably strong amidst the ruthless forces which are trying to benefit out of the long lasting conflict of this country. We have been also unfortunate to have hundreds of leg pullers in the country itself including some top ranking players in the so called opposition party.

However, as a final note I have to say, this is the last chance we have to bring a definite end to this burning issue, and if the leadership of the country backs off now, there’s not going to be another chance. My plea for all the factions who have been devouring out of the ‘ethnic issue’ is, please stop being vultures. You’ve had enough of your share. Please let this country prosper and reach its true heights at least now.



Saturday, April 4, 2009

MOINC - Yes. It Scales!


The MOINC gang was in high spirits after the successful completion of presentations and a fully set up demonstration of a MOINC deployment as part of our final year project evaluation. We were so overwhelmed by the way things went and we were certain that what we tried to achieve by coming up with the architectural prototype - MOINC was definitely going to drive future web services deployments big time!

With that highly ambitious perception, we wanted to try and press MOINC to its limits in a small environment within our control and actually see how scalable it can be. So, once the final year exams were over and before we set off on our industrial career paths, we thought to give it a shot using a number of computers from a lab of our department – the Department of Computer Science & Engineering (CSE), University of Moratuwa.

By the way, in case you are new to MOINC, in the most concise way I can put it, “it is an attempt to blend Web Services with Grid and Volunteer Computing concepts in order to make future Web Services deployments highly available and scalable while bringing the computing costs down and making use of unused computing power.” Hmm… I guess that covers it. :)

We got together on 13th March 2009 and managed to get access to the Advance Computing Laboratory of CSE which houses around 60 computers. In this phase our plan was to make as much as concurrent requests to a highly computationally intensive web service and see how the web services deployment can scale to cater the requests. We used a web service which performs an Insertion Sort on a collection of 75000 numbers.

We installed the MOINC Agent application on 20 computers in the lab, and ran the MOINC Server and service client on one laptop, the default WSAS node on another laptop and the URL repository and Server Manager on another laptop. The we gradually increased the number of concurrent requests and at the point of total failure to respond, we increased the grid size and restarted sending in requests in an increasing order.

The results were amazing, and turned out just the way we wanted!!! It was really electrifying for us to see the MOINC screen saver running on all monitors when the deployment was running on full capacity. We collected a set of statistics and will be coming up with a research paper about our working prototype pretty soon.

Check out what Hiranya has to say about our test session in his Tech Feast.

Here are few snaps of what happened on that day.

- MOINC Agents running...

- default WSAS node (running on my lappy ;))

- Just about to join the grid.

- 50% of the team. (L to R)Dinusha, Isuru, Rusiru, Aravinda (me) & Hiranya


Take a look at how scalability increases with the size of the grid.



My heartiest thanks go out to all the MOINC team members who turned up for the test and I would also like to thank Mrs. Vishaka Nanayakkara – Head, CSE and Mr. Ananda Fransiscu who is in charge of the Advance Computing Lab for all the support given to this test session.

MOINC has proven its capabilities, but this is not the end!

It has a long way to go. A VERY long way…! Oh yeah! ;)


Friday, March 13, 2009

Complimentary review of my portable pal…



The mobile phone market is a maze today. Finding the right phone to fit your needs has turned out to be a true gamble. After losing three phones within a couple of months, there came a point where I had to buy a phone and make it my next best buddy. I am very keen on the overall performance of a mobile phone and especially expect the audio playback quality to be of top quality since I am a little bit of a music junky on the move. In addition, I prefer to go for wacky and unconventional designs when it comes to tech stuff. Thinking of all that, I finally chose to buy a Sony Ericsson W550i on one fine day in October 2006. Being a phone of SE’s Walkman series, its music capabilities really swung it for me.

>>> Manufacturer's overview

As at now it has already been under my hard usage, and despite the fact that it has been tortured to its limit, it still continues to rock on!!! I don’t care what others have to say about this, but the performance is simply amazing considering the time which it was launched.

This was just the second walkman released by SE, and they have given it the wacky swivel action to reveal the keypad. I still enjoy it when people who get hold of my phone try to open it like a slide-up or flap phone since the usage is not obvious. Well, yeah. It is quite bad in terms of UI design principles. But, what the heck! I like it that way :)

Let me point out what is really awesome with this phone. The sound quality and bass enhanced by MegaBassTM was simply amazing when used with the ear plug type earphones. No matter how old the phone is, it beats the hell out of the Nokia NSeries phones and even the ExpressMusic models. Specially in terms of bass. It is also noteworthy to mention the quality enhancement by Stereo Widening, which gives a real 3D feel. The W550i has a ‘music only’ mode of operation, which transforms it in to a pure walkman. So, if(when) I am to switch to another phone one day, I will still have this running in the music mode as my walkman :)

Next comes the battery. This houses a more robust Li-Po (Lithium Polymer) battery which was an innovative step taken during the time this was released replacing the Li-Ion batteries. It has amazing battery life and even today it can run for over three days after a full charge with my normal operations.

Display – totally cool. Most displays cannot be viewed under direct sunlight because they tend to turn dark. But, this has a reflective panel within it, which uses the sunlight itself to show the contents quite similar to having the backlight. Moreover, the display cover is scratch proof which still remains smooth and clean when the rest of the phone has been scratched and ‘bruised’ and looks like the surface of the planet Mercury at a distance.

Convenience never ends! This was one of the few phones which could be charged via USB by the time I got hold of it. I still remember the few times I charged my phone off my laptop while travelling home by bus coz I needed to notify my father to come pick me up. However, I have been mainly using this feature to annoy my friends using Nokia mobiles ;)

There are many other good things about it like the dedicated keypad lock toggle switch, stereo speakers, enhanced web browser inspired by the browsers on Symbian, VideoDJ, Remote Control, Java support etc which I’d not comment on simply coz I don’t want to make this too long. With all the good things it has to offer, there are definitely areas to improve. But, we mustn’t forget that we are paying nearly peanuts to get all these practical features from the W550i.

However, don’t get me wrong. I am not recommending anyone to buy this right now; simply because there are enough feature rich phones in the market, and this was a kind of a gracious review for the W550i for being with me throughout, and I don’t see the death of it anywhere in the near future ;)

Viva El W550i!!!




Saturday, November 29, 2008

Nemesis Rox Onstage 2008 Finals...!



TNL Onstage - The premier hunt for unorthodox music of Sri Lanka, launched it's 9th season this year. As they say, "No other concert is ever produced to such an international standard in Sri Lanka and no other music event offers such an eclectic celebration of local talent. Onstage has seen rockers hit Britney one more time with an electric guitar, chant in bohemian honor long live the Freddy, and take the streets of Colombo to the Ghetto."
With prelimineries starting on 4th October, it had its semi finals on 8th and 15 November and the grand finals were held on 29th November at the Sri Lanka Exhibition & Convention Center (SLECC), Colombo. It was a magnificent event which broaught together the finest metalheads and new soloists of the country, and also which drew a vast majority of rock fans of the country. What's more? The unprecedented Chitral Somapala (Chity) with his 'Civilization One' made a guest performance and that totally rocked the house to its limits!

So, why am I blogging about Onstage? :)

Let's get to the real deal. Among the six bands which competed for the Onstage band of the Year title, was Nemesis, which had a rise form the ashes few months back after being stalled for a while. Led by my good friend Mackie (he likes to use Mackie Mathew as his tradename :) ) who is the Manager and Lead Guitarist of the band, Nemesis made a great come back and made it's way to the finals of TNL Onstage with a enormous fan base to cheer it through out the event. Rightfully, although playing as the last in the line up, Nemesis jammed up the strings n drums along with Myya's vocals and they conquered the first session of the competition leaving behind the Cadenced and Zilch at a distance and having a minor competition from the other three bands, namely Love Me Dead, The Rebels and Ethereal. Next it was the Acoustic round, and guess what they chose to play! The hallmark song of Chity himslef - 'nadee ganga tharanaye'! Amidst the cheer of the crowd, Myya's vocals filled the house while Mackie and Losh tortured the string of their guitars to bring the best of it. This was played also as a tribute to Chitty and at the end of this round eveyrone knew Nemesis is going to carry away the half a million worth audio equipment and many goodies.

Around 2.15 a.m. it was the moment of truth! the comperes started announcing the winners for the night. They started saying, "The most outstanding musician of onstage finals 2008... drumrole please...", and it was won by none other than our good old buddy Mackie himself!!! he seemed rather surprised to receive it; but we wern't surprised to see him receiving it ;) Anyway I guess after this, Mackie would surely be a chick-magnet as was 'foreseen' in the write-up I did one year back when Nemesis rose from the ashes ;)

Next was the ultimate moment where they announced the winners of the night after announcing The Rebels as the runners up. Amidst the drumrole as soon as the sound 'N' left the compere's mouth, the house burst to a roar of NE-ME-SIS, and there was Mackie, Losh, Myya and Sithija running up to the stage embracing each other with the joy of victory, to receive their awards!

Apart from Nemesis, I was also thrilled to see one of my Collegemates (Damian) also playing in The Rebels. Proud of you too bro!

It was an awesome night at an awesome event, and it was enhanced by the amazing achievement of my buddies! Proud of you guys and I'm sure you might be setting up the high end audio equipment you won, to jam up some really rockin' music in the days to come by. I also remember Losh saying "Sri lanka, we are gonna jump at your face" when I had a chat with them to do the write-up about Nemeis, and yes! You surely have done that this time!!!

As Mackie would like the crowd to yell, let me wind up with the cheer to Nemesis - NE-ME-SIS... NE-ME-SIS... NE-ME-SIS...!





Sunday, October 26, 2008

Digsby - The new legend in multiprotocol IM


IM has probably become the most sought after communication medium in today’s internet driven communication paradigm. There has been a monopoly of IMs among MSN, Yahoo and GTalk along with their own client applications. However, by now the trend has been to go for multi-protcol IMs rather than having different clients running on your desktop which can be extremely cumbersome with all the switching in between them. It is true that when each IM provider comes up with its own client, it can come up with a set of features that are optimized for the underlying protocols, security implementations, QoS etc. However, if you look at these hallmark IM clients, you'd see that most of the features are just gimmicks rather than actually useful features. For an example, the yahoo messenger has a load of additional features, which would at times overwhelm the resources and affect availability of the basic feature - the chat. MSN Messenger and GTalk client are simpler on comparative terms. However according to my experience the GTalk client consumes a lot of resources compared to the domain of functionality it addresses. I really admire all the technology that is used behind these IMs, but the extensive richness itself devalues the experience of a layman user at times.


So, multiprotocol IMs! What are the options we have? Recently, Meebo has come forward as the dominant web based multiprotocol IM, and it stands as the lone wolf in that arena. In addition, in the standalone application series, Pidgin and Digsby have become prominent. So, I thought of sharing my experience on Digsby which has caught up hype quite recently.


Pidgin, which was born as 'Gaim' is currently leading the race in the multiprotocol IMs. However, Digsby is giving a good fight to it, mainly through its gimmicky equation, IM + E-mail + Social Networking = Digsby. So, additional features on a chat client! If I start favouring Digsby, you might say that I am contradicting what I mentioned earlier about other feature rich chat clients. However, Digsby is different. It has ensured to offer only the features that cover a specific domain. Chat is obviously the key feature, and in today's context, e-mail goes very closely with it. Probably that's why we have chat modules integrated to the web-based e-mail portals. And social networking is supported big time in today's world, and it is also all about communication. Therefore, Digsby seems a very effective all in one package as an IM client. Even the latest Pidgin also has facebook chat integrated. But, Digsby takes it to another different level by having updates, notifications etc from the Social Networking applications such as Facebook, LinkedIn, MySpace and Twitter.


On the face of the Buddy List, Digsby is nearly identical to pidgin apart from the difference images used here and there. Therefore, this interface ends up in rather a tie among Pidgin and Digsby. The listing of different IM accounts in a sequential manner and the sorting methods available in both are the same. However, Digsby has more advance sorting mechanisms which allows to sort in a multilevel filtering process. Digsby's buddy list generally stabilizes faster than Pidgin, and the customizability seems greater.


However, what really swings for me in Digsby is its simplicity in configuration. Pidgin's interface is rather tech oriented, and a generic user would get confused seeing the protocol preferences, server choices etc. Digsby also has these. But they are quite hidden under the hood and during the creation of an account only the username password combo is expected in the UI, which can turn out to be rather comfortable to a layman user who consequently would not have to waste time trying to figure out whether to ignore certain settings or not. Even the preferences are really simplistic with a traditional left navigation menu and relevant components opening in the right.


Another cool feature is the pop-up that appears on the screen for chats, mail updates and various notifications if Digsby is out of focus. This is very noticeable, and the chances of missing out on something even for a short while are minimized. Apart from that, you can reply on the pop-up itself. This can be extremely convenient if you are multitasking. In addition, the snapshot view of mails becomes highly handy to get a quick idea. The chat window is simple and has all the basic operations visible. Pidgin follows the Firefox extensibility style and is extended using plug-ins. This is an important feature, and Digsby does it by widgets. Moreover, the ability for Audio/Video chat puts Digsby in front of Pidgin in that aspect.


However, with all the might, it has some shortcomings. The most obvious one is the memory consumption. It is understandable with the feature set. But, still with GTalk and Yahoo chats logged in while Gmail is active, 25MB seems pretty expensive in terms of memory. Although it did not matter me much with my 2GB memory, it can be an issue and Pidgin can easily handle the above two IM accounts well under 15MB or memory in the same kind of test scenario. In addition, Digsby requires an account to be created upfront, and this central account has access to all the credentials of our accounts. Therefore, a security threat can be a possibility unless extra care is taken by the Digsby community. In addition, it does not provide support for some protocols supported by Pidgin such as IRC, Gadu Gadu, GroupWise, SILC etc. Since I installed Digsby, Firefox has crashed few times without even having the ability to restore. I wonder whether this is a direct consequence of Digsby. However, if it is, a patch better come out soon :) Apart from all these, still it does not have a native Linux version out yet, although they've announced that a Linux and Mac version will be coming soon. So, Pidgin is still going to keep ruling the Linux domain.


Simply put, my conclusion is, for a person who values convenience over other techy things like performance, extensibility etc, Digsby is the ultimate choice. With all due respect to Pidgin as the leading multiprotocol IM client, I believe Digsby will start a legend of its own.


Thursday, October 23, 2008

MOINC - A new epoch of Web Services


Web Services has become the ultimate choice for modern organisations to harness the power of network based computing. However, the the original Web Services model faces two inherent shortcomings despite all the good things it has to offer. Firstly, the traditional implementation finds it hard to scale up with the rising number of service requests, and thus 'scalability' is at stake. Therefore, the service providers are forced to go for more hardware oriented solutions to facilitate high scalability, investing fortunes in most of the cases. In addition, when the requests overwhelm the service provider, he is forced to reject further requests. This results in the decline of 'availability'. Web Services and SOA have definitely created hype, and have already become dominating technologies in the enterprise arena. But, when scalability and availability are threatened, how is the paradigm of WS going to survive?


The answer lies in the field of distributed computing which also has become prominent and interesting technological breakthrough. Projects like SETI@Home, Folding@Home and middleware technologies like BOINC have become hallmark technologies in this respect, especially in the field of Volunteer Computing. Therefore, a novel idea is to integrate a touch of the above techniques to enhance the availability and scalability of Web Services by distributing the load subjected to Web Service geared service providers over a cluster of computers. This innovative idea was given by Dr.Sanjiva Weerawarana, Chairman & CEO of WSO2, when we were in the quest for a problem to solve as our final year project of the Computer Science & Engineering course of the University of Moratuwa.


So, here we are! A group of ten comprising myself and nine of my friends at CSE are currently in the development stage of the platform which would solve the above two issues in the days to come by. Our project named MOINC (Mora Open Infrastructure for Network Computing) tries to give a solution by creating a cluster of computers made of volunteer computers which are connected to the World Wide Web, and distributing the load among all these nodes to get the processing done. Simply put, if things go well (which we are very keen to see happen :) ), a single application of this would give rise to a fully cranked up distributed super computer facilitating Web Services with high availability and scalability. The extremely generic nature of this project would give the users of this platform the capability to implement virtually any Web Services based application on top of it - even systems like SETI@Home.


The magic happens with the fine blend of the following four components.
- MOINC Server - The core component which is a self contained entity that manages the cluster, accept service requests, perform default WS processing etc.
- MOINC Client Agent - The component that will run in each and every node computer in the cluster, which will communicate with the Server and take care of all the activities in the node end.
- MOINC Server Manager - The component which gives a range of additional features to the MOINC platform for improved Quality of Service with features like credit management, trend analysis, social networking etc.
- Thisara Communication Framework - The Apache MINA based communication protocol which will be used for internal communications of the MOINC platform.


So, we claim that it solves two issues in the Web Service paradigm. But, the problem solving does not end there! This becomes a solution to make good use of idling computer power and electricity wasted during the time that computers are up and not doing any productive work. Hence, two birds are killed with one stone!


All the necessary information is available in the official project web site, and we have already done an alpha release of the Thisara Communication Framework. The source code can be checked out from our SVN repository as well. The team is high spirited, MOINC is rapidly progressing and the world of future Web Services seems a highly scalable and available place :)