Wednesday, December 31, 2008

Happy New Year 2009



╔══╦══╦══╦══╗
╚═╗║╔╗║╔╗║╔╗║
╔═╝║║║║║║║╚╝║
║╔═╣║║║║║╠═╗║
║╚═╣╚╝║╚╝╠═╝║
╚══╩══╩══╩══╝
¤ø„¸¨°º¤ø„¸ ¸„ø¤º°¨¸„ø¤º°¨
¨°º¤ø„¸ HaPpY ¸„ø¤º°¨
¸„ø¤º°¨ NeW YeAr.....



~ Vidula Hasaranga - විදුල හසරංග ~


Monday, December 29, 2008

All About Women


~ Vidula Hasaranga - විදුල හසරංග ~


Tuesday, December 09, 2008

MEN ARE JUST HAPPIER PEOPLE

Nice email that I came across......

MEN ARE JUST HAPPIER PEOPLE

NICKNAMES
If Laura, Kate and Sarah go out for lunch, they will call each other Laura, Kate and Sarah. If Mike, Dave and John go out, they will affectionately refer to each other as Fat Boy, Godzilla and Four-eyes.

EATING OUT
When the bill arrives, Mike, Dave and John will each throw in $20, even though it's only for $32.50. None of them will have anything smaller and none will actually admit they want change back. When the girls get their bill, out come the pocket calculators.

MONEY
A man will pay $2 for a $1 item he needs. A woman will pay $1 for a $2 item that she doesn't need but it's on sale.

BATHROOMS
A man has six items in his bathroom: toothbrush and toothpaste, shaving cream, razor, a bar of soap, and a towel . The average number of items in the typical woman's bathroom is 337. A man would not be able to identify more than 20 of these items.

ARGUMENTS
A woman has the last word in any argument. Anything a man says after that is the beginning of a new argument.

FUTURE
A woman worries about the future until she gets a husband. A man never worries about the future until he gets a wife.

SUCCESS
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.

MARRIAGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, but she does.

DRESSING UP
A woman will dress up to go shopping, water the plants, empty the trash, answer the phone, read a book, and get the mail. A man will dress up for weddings and funerals.

NATURAL
Men wake up as good-looking as they went to bed. Women somehow deteriorate during the night.

OFFSPRING

Ah, children. A woman knows all about her children. She knows about dentist appointments and romances, best friends, favorite foods, secret fears and hopes and dreams. A man is vaguely aware of some short people living in the house.

THOUGHT FOR THE DAY
A married man should forget his mistakes. There's no use in two people remembering the same thing!


~ Vidula Hasaranga - විදුල හසරංග ~


Friday, December 05, 2008

To All Beautiful couples out there...... nice story . . .

This is a nice article I got as an email. I thought its better to share it with you all.....


Monica married Nick this day . At the end of the wedding party, Monica's mother gave her a newly opened bank saving passbook with Rs. 1000 deposit amount.

Mother: 'Monica, take this passbook . Keep it as a record of your marriage life . When there's something happy and memorable happened in your new life, put some money in . Write down what it's about next to the line . The more memorable the event is, the more money you can put in . I've done the first one for you today . Do the others with Nick . When you look back after years, you can know how much happiness you've had . '

Monica shared this with Nick when getting home . They both thought it was a great idea and were anxious to know when the second deposit can be made . This was what they did after certain time:

* 7 Feb: Rs . 100, first birthday celebration for Nick after marriage
* 1 Mar: Rs . 300, salary raise for Monica
* 20 Mar: Rs . 200, vacation trip to Bali
* 15 Apr: Rs . 2000, Monica got pregnant
* 1 Jun: Rs . 1000, Nick got promoted
* . . . . . and so on . . .

However, after years, they started fighting and arguing for trivial things . They didn't talk much . They regretted that they had married
the nastiest people in the world . . . . no more love . . . Kind of typical nowadays, huh?

One day Monica talked to her Mother: 'Mom, we can't stand it anymore .
We agree to divorce . I can't imagine how I decided to marry this guy!!!"

Mother: 'Sure, girl, that's no big deal . Just do whatever you want if
you really can't stand it . But before that, do one thing first . Remember the saving passbook I gave you on your wedding day? Take out
all money and spend it first . You shouldn't keep any record of such a poor marriage . '

Monica thought it was true . So she went to the bank, waiting at the queue and planning to cancel the account . While she was waiting, she took a look at the passbook record . She looked, and looked, and looked . Then the memory of all the previous joy and happiness just came up her mind . Her eyes were then filled with tears . She left and went home .

When she was home, she handed the passbook to Nick, asked him to spend the money before getting divorce .

The next day, Nick gave the passbook back to Monica . She found a new deposit of Rs . 5000 . And a line next to the record: 'This is the day I notice how much I've loved you thru out all these years . How much happiness you've brought me . '

They hugged and cried, putting the passbook back to the safe . Do you
know how much money they had saved when they retired? I did not ask . I believe the money did not matter any more after they had gone thru all the good years in their life .

"When you fall in any way, don't see the place where you fell instead see the place from where you slipped . Life is about correcting mistakes . "




~ Vidula Hasaranga - විදුල හසරංග ~


Thursday, November 20, 2008

Top 500 Supercomputers

I just had an idea to search what are the countries that have supercomputers and what are the operating system they are using. Just done a google search and find this marvelous site.

I just search for the countries that uses top 500 supercomputers. As usual US got the first place with more than 50%. What a good thing, Our neighbour India also having 8 out of top 500 supercomputers.Its a greate achivement I think. Unfortunatly Sri Lanka do not have any... :(

Here are the statistics for the November 2008.



































































































































































































CountriesCountShare %
Australia 1 0.20 %
Belgium 2 0.40 %
Brazil 2 0.40 %
Bulgaria 1 0.20 %
Canada 2 0.40 %
China 15 3.00 %
Denmark 3 0.60 %
Finland 1 0.20 %
France 26 5.20 %
Germany 25 5.00 %
India 8 1.60 %
Ireland 1 0.20 %
Israel 1 0.20 %
Italy 11 2.20 %
Japan 18 3.60 %
Korea, South 1 0.20 %
Malaysia 1 0.20 %
Mexico 1 0.20 %
Netherlands 3 0.60 %
New Zealand 4 0.80 %
Norway 2 0.40 %
Poland 6 1.20 %
Russia 8 1.60 %
Slovenia 1 0.20 %
South Africa 1 0.20 %
Spain 6 1.20 %
Sweden 8 1.60 %
Switzerland 4 0.80 %
Taiwan 2 0.40 %
United Kingdom 45 9.00 %
United States 290 58.00 %
Totals500100%



Now the interesting part, Operating Systems they are using. The interesting fact is that more than 85% in Linux. Windows got only 1% share. Can you imagine that??? Here are the statistics.












Operating system FamilyCountShare %
Linux43987.80 %
Windows51.00 %
Unix234.60 %
BSD Based10.20 %
Mixed316.20 %
Mac OS10.20 %
Totals500100%




~ Vidula Hasaranga - විදුල හසරංග ~


Wednesday, November 05, 2008

Change has come to America

Democratic Senator Barack Obama wins the historic US election and be the first black presedent of US.
Link
http://news.bbc.co.uk/1/hi/world/americas/us_elections_2008/7710040.stm

~ Vidula Hasaranga - විදුල හසරංග ~


End of Windows 3.x


Can you remember Windows 3.0??? One of the first UI based OS we have used. I can still remember the first day I hahve used windows 3.1 in a home of my friend. The first graphical experience, by typing an DOS command and start GUI with few tools and use the PaintBrush to draw an image. Sill remember the first drawing I had using Windows 3.0.

But this article is not about how I used Windows 3.x to draw an image. Its about the end of Windows 3.x by Microsoft by stopping the issue of licence for it. Windows 3.x started in May 1990 and from 1st of November 2008 Microsoft has stop the issuing of licence for it.

Good bye Windows 3.x. Truely its an end of an era.

reference: BBC News

~ Vidula Hasaranga - විදුල හසරංග ~


Tuesday, October 28, 2008

Why Sri Lankans play cricket and Tigers don't


~ Vidula Hasaranga - විදුල හසරංග ~


Friday, October 17, 2008

Fwd: It is a 99.95% challenge..........

This is a nice story I came across through an email. So just thought its nice to share with you too.....

Read this:

It is a 99.95% challenge that u will have a wrong answer to the question
asked in the passage.

Once there was loving couple traveling in a bus in a mountainous area. They
decided to get down at some place. After the couple got down at some place
the bus moved on. As the bus moved on, a huge rock fell on the bus from the
mountain and crushed the bus to crumbs. Everybody on board was killed. The
couple upon seeing that, said, "We wish we were on that bus" Why do u think
they said that?


Scroll down for answer


....
....
....
....
....
....

....
...
....
....
....

Come on think again ....
....

....
....
....
....
....
....
....
....

.....
....
..
..
..

....
....
....
....
....
....
....
....
Come on try hard.....

....
....
....
....
....
....
....
....
....

....
....

..
..
..
..
..

....------------------- Answer !!!! -------------------

If they had remained on the bus instead of deciding to get down, the
resulting time delay could have been avoided and the rock would have fallen
after the bus had passed ..!!! Think positive in life always and look for
opportunities when u can help Others......
Many times in life, the opposite of Success is not Failure, its
Quitting.


Winners never quit, quitters never Win....


~ Vidula Hasaranga - විදුල හසරංග ~


Friday, September 26, 2008

Adding new user for mysql server

Always after I configured a mysql server in a machine (I have to do it once a month mostly as people always ask me to do so in their machines... ) I have to search the web (specially mysql website) and see how to add the new user including password for that syste.

So I thought its better to put it in my blog so I just want to search in my blog only rather than going through the mysql website.

After creating the mysql database you have to create the root password for the system. For that run the following commands from the mysql folder (You need to start the mysql server before issuing those):
./bin/mysqladmin -u root password 'new password'
./bin/mysqladmin -u root -h password 'new password'

Then login to mysql (mysql -u root -p ) and issue following commands to create new users.

GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost' IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'monty'@'%' IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
GRANT RELOAD,PROCESS ON *.* TO 'admin'@'localhost';
GRANT USAGE ON *.* TO 'dummy'@'localhost';

Hope this information is useful to all of you...

~ Vidula Hasaranga - විදුල හසරංග ~


Monday, September 22, 2008

Writing a picture...

Have you ever wrote a picture??? But you may draw pictures per many times (Atleast in your childhood). See how this pictures were written...

Can you imagine it????









~ Vidula Hasaranga - විදුල හසරංග ~


Thursday, September 18, 2008

Cleaver Sport advertisments

See how nice and creative these images are. Its truly a creative job done by a creative mind....




~ Vidula Hasaranga - විදුල හසරංග ~

Wednesday, September 17, 2008

Friday, August 22, 2008

Linux for Dummies....


See, to learn something new specially something most of the people say as diffcult, age is not a problem. You only need the courage and time to spent other than all the things.

~ Vidula Hasaranga - විදුල හසරංග ~


Friday, August 15, 2008

Best poem


When I born, I black
When I grow up, I black
When I go in Sun, I black
When I scared, I black
When I sick, I black
And when I die, I still black


***********************


And you white fellow
When you born, you pink

When you grow up, you white

When you go in sun, you red

When you cold, you blue

When you scared, you yellow

When you sick, you green

And when you die, you gray


And you calling me colored?




--
Vidula Hasaranga
විදුල හසරංග
http://vidulahasaranga.blogspot.com

Tuesday, August 12, 2008

Monday, August 11, 2008

Anatomy of Linux Kernel - ලිනක්ස් කර්නලයේ කතාව

I found nice article regarding the linux kernel we are using in our day to day life. (If you are not a linux lover this may not true for you).

It has most of the details how the linux kernel we are using always has structured and working. Please try the following link.

http://www.ibm.com/developerworks/linux/library/l-linux-kernel/index.html?S_TACT=105AGX03&S_CMP=ART

ඔබ සැබෑ ලිනක්ස් ප්‍රියකරන්නෙක්නම් ලිනක්ස් කර්නලය ගැන දැන ගැනීම සදහා ඉහත සබැදුම මනා පිටිවහලක් වනු ඇත.

~ Vidula Hasaranga - විදුල හසරංග ~

Friday, August 08, 2008

Evolution of Egg ~~~ ...

This is something I got as an email and though its worth to share with you. See how the egg become to a live creature and also keep in mind that the eggs we are eating do not have this abality because they make to eat, not to fertilize.





~ Vidula Hasaranga - විදුල හසරංග ~

Thursday, August 07, 2008

Software engineer and his wife

Husband - hey dear, I am logged in.

Wife - would you like to have some snacks?
Husband - hard disk full.


Wife - have you brought the saree.
Husband - Bad command or file name.


Wife - but I told you about it in morning
Husband - erroneous syntax, abort, retry, cancel.


Wife - hae bhagwan !forget it where's your salary.
Husband - file in use, read only, try after some time.


Wife - at least give me your credit card, I can do some shopping.
Husband - sharing violation, access denied.


Wife - I made a mistake in marrying you.
Husband - data type mismatch.


Wife - you are useless.
Husband - by default.


Wife - who was there with you in the car this morning?
Husband - system unstable press ctrl, alt, del to Reboot.


Wife - what is the relation between you & your Receptionist?
Husband - the only user with write permission.


Wife - what is my value in your life?
Husband - unknown virus detected.


Wife - do you love me or your computer?
Husband - Too many parameters.


Wife - I will go to my dad's house.
Husband - program performed illegal operation, it will Close.


Wife - I will leave you forever.
Husband - close all programs and log out for another User.


Wife - it is worthless talking to you.
Husband - shut down the computer.


Wife - I am going
Husband - Its now safe to turn
off your computer


~ Vidula Hasaranga - විදුල හසරංග ~

Wednesday, July 30, 2008

Unique wedding cakes

When surfing on the web I came accross few wedding photos publish by different people that seems to be unique. I just thought to share it with the people that visit my blog regulary.

But in Sri Lanka I havent seen such kind of cakes. Hope our wedding planner will think in different way and adopt some new cake designs for future couples. :D

I have seen these photos in more than one place in internet. This is one of them.




~ Vidula Hasaranga - විදුල හසරංග ~

Share/Bookmark