Archive for March, 2009

.bashrc is not started automatically

March 27, 2009

This is a common misconception that users think .bashrc is called each time login shell is created etc. There is some truth behind this but need to look at this more closely. For now what i found out is that bashrc in the /etc folder is definitely called also ~/bash_profile  also plays a major role.  But not the .bashrc.

So all you have to do it seems create the ~/.bash_profile if it is not already there

add the following line to it.

if [ -f ~/.bashrc ]; then source ~/.bashrc ; fi

and thats it.


How to Understand Women

March 26, 2009

Cannot be done. Just forget about it, and live your life.

The truth about the War in Sri Lanka

March 5, 2009

I recently read a nice article about the war that ruined this country for so many years. I think its a well balanced articles. You can read the article from here.  It almost tallies with how I feel about the situation.

Is the Sri Lankan Government a Racist Government?

March 4, 2009

Some groups of Tamil people think this is true. I cannot understand why they think so. I was born in 1984. Therefore by the time I’m able to understand about the world, politics and about the war going on it was the era of  CBR’s government (1994). From those government up to the todays government I have not seen or heard any racist activities done by these governments. But I was not going to swear that since I do not know what might be going behind the screens of a government.

But recently I got to know a truly remarkable story behind a Rs. 1000 note  about why Sri Lankan government is not racist.


Above is an image of the Rs. 1000 note in Sri Lanka. This is the 2nd highest note which is used for money transactions (couple of years back Rs. 2000 note was announced). Notice the man with the elephant. There is a story behind this picture. I got this from a mail from a friend of mine. This is the story according to the mail.

Can anyone imagine that the elephant and the man wearing a cap near it are from the eastern province and the man is a Muslim? Yes, they are from the eastern province. The man is Umar Lebbai Panicker from Eravur in the Batticaloa district and the tusker in the note was caught in 1925 in the Eravur forest and reared by him.

It is said Umar Lebbai Panicker presented this tusker to Dalada Maligawa and within a short period it escaped from there and went in search of him to Eravur. He brought it back again and handed over to the Dalada Maligawa.

His Excellency President late J.R. Jayawardene in order to honour the long services of the tusker had declared it as a national asset in 1984. This tusker named as Raja adored the Esala Perehera processions in Kandy and thus became national fame and honoured nationally.

After this, the government in power then, decided to honour the person presented this elephant to Dalada Maligawa by printing the picture of him with the tusker nearby, on the notes of rupees 1000/- and the village Eravur was thus honoured by this action.

The tusker Raja that served in Dalada Maligawa and brought fame and honour not only for itself but also to the person presented it to Dalada Maligawa and the village Eravur finally died on July 15, 1988 after serving 50 years in the Maligawa.

Only around 7% are the muslims in our country. Tamils are 18%, Sinhalese constiture 74% of the population. Among them only a muslim had his figure drawn in the Rs 1000 note. What does this tell us about the government? It tells us the government do consider the minority in the country as much important as the majority. So is the government in Sri Lanka a Sinhalese government? No its a Sri Lankan government.

How to raise kids

March 3, 2009

This is not a very much debated topic. This is because every parent think they know how to raise their own kid to become a proper human being. In buddhism as I’ve heard they have given some good short and sweet advice for how should a parent raise their kids. This information is sponsored by Chamith (our network admin).

from the point of birth to 2 years – treat your child as your eye. protect and care with love and affection

from 2 years to 8 years – you should be strict and punish your kid for mis bahaves (or should we say when they are naughty) if needed physically (sometimes a good thrashing can gives the kid the message rather than grounding him for the weekend)

from 8 years to 15 years – you should treat treat your kid sternly. Any misbehaves should be dealt without any physical punishment but with commanding verbal expressions.

from 15 years onwards – treat your kid (the teenager) like a friend.

This is how kids should be raised. I’ve seen and heard in alot of foriegn countries physical punishments for children are prohibited and is punishable by law. I see this as unneccessary. Parents should have the authority of how their kids are tought a lesson, not the government or the constituition.

Some may say that some parents treat their children horribly and that to stop this the laws are created. I’d say that is bull shit. If some parents are horrible for their children that means the parents of the parents have not taught their children well. or were not punished for any misbehaves.  May be those parents were also obeying the law and not hitting their children when they should have. But the fact remains each generation the children are becoming more and more violent. Last month I heard that (I think it was USA) some kid in school had shot another kid in school for some conflict. That kids parents should be charged for that crime, not the child. Because its because of their lack of attention to their own kid that caused it. I’m sure that kid may have done violent things in the past which the parents may have ignored due to the fact that they are not to hit their kid (becuase of the law) or they may have done the same things when they were kids and thought it alright. This is a vicious cycle that needs to be brocken.

My parents have treated me the same way as above according to the buddhism, and I can safely say that I’m happy they did that. Or else I would have ended up talking rotten or knowing some rotten people. I say this because I’ve seen some of the guys in my school have turned out.

Moral of this blog is its the parents responsibility how their kids turn out. Not the givernments or the schools or the the friends.

WSO2 Eclipse IDE Tools Released

March 3, 2009

After a lot of hard work for the past few months, finally released the new wso2 eclipse ide tools for the public. Without beating by the bush I’ll just say whats on it.

    * Create Web services
    * Create web service client
    * Convert WSDL 1.1 to 2.0 and vice versa
    * Module and service validators
    * Creating wsdl from a java class
    * Create Axis2 archives
    * Hot update a Web service
    * Debug Web services
    * Test Web services
    * Creating Bpel archives for deploy
    * Start WSAS 3.0.x inside Eclipse
    * Run multiple instances of WSAS inside eclipse

You can get them from or via the online update site

I know its not much but I firmly believe they will be very helpful for the developers.  Hope everyone would like it and find it useful for their work.

Have fun.