How to Debug Javascripts - Part2 (Firefox)

This is the part of the my How to debug Javascripts artical. This one will explain how to debug on Firefox using Firebug. See my previous artical on how to debug in Internet Explorer.

Firebug is not only a javascript debugger, it is a complete web debugging tool where you can explore the html DOM and much much more. And it is very easy to use. Once you install Firebug you will get a menu item in under the Tools menu. Using that you can enable and disable firebug for selected sites.



Once you open the Firebug you can inspect the javascripts under the Script tab and do the debugging. You can put breakpoints just by clicking the near the line number.



One special thing with Firebug is that you can put conditional break points. To add conditional break points just right click near the line number you want to put the break point and type your condition.



When there are Javascript errors in the page it is shown in the Firefox status bar. Once you click on that it will open all the errors in the console with possible reasons for that error. This will be very useful for you to find bugs in your application.



You can get more information on Firebug for Firebug site.



Technorati Tags: , ,
 

Happy Sinhala and Tamil New Year

 

Navantis Avurudu Festival

It's Sinhala and Tamil New Year time.....
Navantis had organized a wonderful New Year festival last Sunday (8th April) at Brows Beach Hotel Negambo. It was wonderful event. Almost all of the employees and their family members participated for this event.
Festival started with a traditional breakfast which included Kevum(Oil Cakes) and Kiribath(Milk Rice). We had lots of game on that day. I participated for Goni Race(Sack Race) and Kaba Adeema(Tag-o-War). It was very enjoyable day.





































See more photos in my Paccasa albem >>
 

How to get over the fear of public speaking

If you have problems in public speaking (like me), this is a good artical to read. It gives some simple methods to get rid of the fear of public speaking. Techniques described in the artical are;

  • Practice your speech in front of a mirror
  • Practice your speech facing a wall
  • Practice with a friend
  • Practice with a peer (non-friend)
  • Record yourself
  • Do a dry run
  • Don’t only practice in front of your family

How to get over your fear of public speaking - lifehack.org>>

 

Internet Explorer 7 Keyboard shortcuts

If you are using Internet Explorer 7, here are some useful keyboard shortcuts that will make your life easy.

Basic tasks

[F11]

Toggle full screen mode

[Alt]

Toggle display of menu bar (if it's not set to display)

[Ctrl]=

Zoom in

[Ctrl]-

Zoom out

[Ctrl]0

100 percent zoom

[Ctrl][F]

Search for selected text on page

[Ctrl]N

Open current page in new window

[Ctrl]A

Select everything on page

[F5]

Refresh current page

[Ctrl][F5]

Refresh cache and current page

[Esc]

Halt downloading page

[Alt]D

Select text in Address bar

[F4]

Display addresses you've typed

[Ctrl][Enter]

Add www and .com to the beginning and end of text entered in Address bar

[Ctrl][Shift][Enter]

Add http://www to the beginning of text entered in Address bar

Navigation

[Alt]Home

Go to your home page

[Alt] Left arrow (or [Backspace])

Go to previous page

[Alt] Right arrow

Go to next page

[Tab]

Move forward through items on page

[Shift][Tab]

Move backward through items on page

Tabs

[Ctrl] Click

Open a link in its own tab in background

[Ctrl][Shift] Click

Open a link in its own tab in foreground

[Ctrl]T

Open new tab in foreground

[Ctrl][Tab] (or [Ctrl][Shift][Tab] to reverse)

Cycle between tabs

[Ctrl]W (or [Alt][F4]

Close current tab

[Ctrl] number

Jump to specific tab by number (1 through 8)

[Ctrl]9

Jump to last tab

[Ctrl][Alt][F4]

Close all but current tab

[Ctrl][Shift]Q

Display Tabs list

[Ctrl]Q

Toggle Quick Tabs view

Searching

[Alt][Enter]

Open search results in new tab after typing search text in Search box or Address bar

[Ctrl]E

Jump to Search box

[Ctrl] Down arrow

Open Search Provider menu (when you're in Search box)

Printing

[Ctrl]P

Open Print dialog box

In print preview…

[Alt][P]

Open Print dialog box

[Alt]U

Open Page Setup dialog box

[Alt]O

Set to portrait orientation

[Alt]L

Set to landscape orientation

[Alt]E

Toggle headers and footers on and off

[Alt]S

Change print size

[Alt]N

Show multiple pages

[Alt]1

View full page

[Alt]W

View page width

[Alt]C

Close Print Preview

Menu access

[Alt]M

Open Home menu

[Alt]R

Open Print menu

[Alt]J

Open Tools menu

[Alt]O

Open RSS menu

[Alt]L

Open Help menu

Favorites, history, feeds

[Ctrl]D

Add current page to Favorites

[Ctrl]B

Open Organize Favorites dialog box

[Alt] Up arrow or Down arrow

Move selected item up or down list in Organize Favorites dialog box

[Alt]C

Open Favorites Center

[Ctrl]I

Open Favorites Center with favorites displayed (Add [Shift] to pin the list open)

[Ctrl]H

Open Favorites Center with history displayed (Add [Shift] to pin the list open)

[Ctrl]J

Open Favorites Center with feeds displayed (Add [Shift] to pin the list open)

[Alt]Z

Display Add To Favorites menu

[Alt]I

Display all feeds in feed view

[Alt]M

Mark feed as read in feed view

[Alt]S

Jump to Search box in feed view



 

How to Debug Javascripts - Part1 (Internet Explorer)

If you are involved with web development then at some point you may wanted to debug Javascripts that you put in to your web pages. The problem is how to debug them. When I first started using Javascripts few month back I didn't knew a debugger to use with Javascripts. So what I did was to put alerts every where to find out the problem. But that was not a good method. So I did a research on Javascript debuggers. After few minutes of Google search I found few good tool that can be used to debug Javascripts. With this post I'll show you how debug in Internet Explorer, and later with another post I'll explain how to debug with Firefox.

With IE you can use Microsoft Script debugger and Visual Studio as debuggers.

You can download it form Microsoft website.
To use the debugger, first you have to enable script debugging. Go to tools- options- tab. Make sure that “Disable Script Debugging (other)” and “Disable Script Debugging (Internet Explorer) are NOT checked.




















Now you are ready to debug. Use View- View- Debugger- at next statement to run Debugger. This will break the execution on the next Javascript call and will open the debugger.

















Alternately, you can put a line like this in your Javascript code.
debugger;
It will create a breakpoint automatically.

















If any exceptions occurred in javascript execution IE will show a message asking whether to debug or not.










Select yes. Then it will display possible set of debuggers.




















Now you are debugging. Just step into as you do in any 0ther debugger.



You can use command window to to execute codes. From this little window you can easily check and re-assign values (at "run-time") to any of the variables that have been defined. Launch it from the View menu of the debugger or by clicking the button on the very right-hand-side of the toolbar.













I created a webpage which contains buggy Javascript. If you wish you can use that to test the debugging.
http://sandarenu.googlepages.com/javascriptdebugg
 

Yahoo Mail Tips and Tricks


Yahoo Mail Beta


While I was browsing the web today I came acrose an interesting blog post on Yahoo mail beta tricks. I'm not using my yahoo mail regularly since internet connection slowness. It is a headaches to use new beta UI with a slow internet connection. It takes lots of time to load a email. But it a nice UI, with very nice use of AJAX.

If you are using Yahoo mail beta this will be a good help to improve your efficiency.



Top 11 Yahoo Mail Tips and Tricks />


Technorati Tags:
 

New Features to My Blog

I added few new features to my blog. I changed my label section in to Tag Cloud. This was a feature I wanted to add to my blog for some time. I finally managed to find a method to do that. I had to modify my template for that. I found the code and the instruction to do it in phydeaux3 blog. He has given all the instructions on how to do it. I just copied and pasted the code.....
Here's the result, Nice ha...
Other new feature I added was showing related post user go to a specific post in my blog. Related items are taken according to the tags given to that post. You can find the method to do it from Hoctro's blog.

Try these hacks and enjoy......

Technorati Tags:
 

End of the Internship period


For last 6 months I was working as an intern at Navantis IT (Pvt.) Rajagiriya, Sri Lanka. My internship ended last Thursday (22nd Feb). It was very exciting and challenging time period. It is at Navantis that I learned what is actually being a software developer means. At the university we learn lot of theory; in last 6 month I learned how those theories are actually used in the industry. I learned a lot about .Net, ASP web application development and MSSQL 2005 during my internship.
When I first came here I had considerable knowledge about .Net and ASP, but I was mainly using the nice GUI of VS2005 to do all the designs. But the project I was put in to at Navantis required to all the web controls as Custom server controls. We have to cut code for every thing, No drag and drops... At the beginning it was difficult but after creating few custom controls it became much easier. Because of that I learned a lot about C# and .Net controls.
We had a excellent team at Navantis. Everybody was very friendly and helpful. I have to thank everyone at Navantis for all support given. Our next semester (Level3 Semester2) is gong to be staring in mid April, that’s two more months. Till then I'm doing part time at Navantis, 3 days per week. I'm planning to spend other time on Patrick’s Project. And I have to prepare a report about our internship as well.
So I guess there won't be any spare time to relax.
 

Determining the ViewState Size

ViewState is one of the 3 way that used by ASP2.0 to retain state information about the web page. ViewState allows the state of objects (serializable) to be stored in a hidden field on the page. It is transported to the client and back to the server, and is not stored on the server or any other external source. I’m not going to go deep in to what is ViewState or how to use it. You can find more about ViewState here>>.

Since ViewState is kept in the webpage itself, it can become a performance bottleneck. If the ViewState is too large then the roundtrip delay for postback can increase significantly, especially if the user is having slow internet link. So it would be wonderful if we can find out the size of the ViewState during the testing phase of the application. So we can get relevant actions to improve the performance.

To do that create a class (I named it as MainPageBase) class that all the other pages in the application need to inherit. The code for the class is as shown below.

public class EmsBasePage : System.Web.UI.Page
{
/// <summary>
/// Get the page name of the current page.
/// </summary>
/// <returns></returns>
private string GetCurrentPageName()
{
string path = System.Web.HttpContext.Current.Request.Url.AbsolutePath;
if (!String.IsNullOrEmpty(path))
{
System.IO.FileInfo oInfo = new System.IO.FileInfo(path);
string name = oInfo.Name;
return name;
}
else
{
return "";
}

}

protected override void SavePageStateToPersistenceMedium(object state)
{
int viewStateSize = 0;

base.SavePageStateToPersistenceMedium(state);
LosFormatter format = new LosFormatter();
StringWriter writer = new StringWriter();
format.Serialize(writer, state);
viewStateSize = writer.ToString().Length;
string pageName = GetCurrentPageName();
HttpContext.Current.Trace.Warn(pageName + ": The ViewState Size is:", viewStateSize.ToString());
}
}

It writes the size of the ViewState to the Trace. To view the Trace you have to enable it first. To do that adds following line of code within the section in the web.config file.

<trace enabled="true" pageOutput="false" requestLimit="40" localOnly="false"/>

That’s all. Compile the code and do the testing of your application. Finally to view the results of what we did open the Trace viewer(Trace.axd page). For example http://yourApplicationroot/Trace.axd.

Technorati Tags: , ,
 

Synchronize your Goolge Calendar and Outlook Calendar

SyncMyCal is a simple plug in to MS Outlook which allows you to synchronize your Google calendar and Outlook calendar. Using this tool you can keep both your calendar up to date.

Key Features

  • Two-way calendar synchronization – Outlook to Google and Google to Outlook
  • Selective event synchronization through date range selection
  • Flexibility of publishing/not publishing private events information in Outlook Calendar to Google Calendar
  • Multiple Google Calendars can be connected to single Outlook Calendar and vice versa
  • Works with Outlook 2007

It has two versions SyncMyCal Lite and Pro. Lite version is free and it has all the features to get things done except Auto Sync and Synchronization Date Range Selection.
Download SyncMyCal here >>
 

View everything you want to know about your computer.

Have you ever wanted to view every detail about your computer using a single program? Then SIW (System Information for Windows) is the solution you are looking for. Using SIW you can view lot of information about your computer, which previously needed to run different tools included in Windows.

You'll get information about the operating system and the installed patches, the software licenses, drivers, Windows services, codecs, open files, saved passwords, hardware information (motherboard, CPU, memory, video card, ports) and some useful tools (like Eureka, that reveals passwords from some applications).

Cool thing about SIW is that it doesn't require setup, so you can copy it to your USB drive and use it where ever you need. You can export all the data in different formats (CSV, HTML, TXT or XML), and use the program from the command-line.
You can run SIW on almost all windows platforms (Microsoft Windows 98/Me/NT4/2000/XP/Server 2003/Media Center/Tablet PC/Windows 2003 Server R2/Windows Server 2003 x64/Windows XP x64/Windows Vista).

 

Famous Quotes from Albert Einstein


  • "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
  • "Imagination is more important than knowledge."
  • "Gravitation is not responsible for people falling in love."
  • "I want to know God's thoughts; the rest are details."
  • "The hardest thing in the world to understand is the income tax."
  • "Reality is merely an illusion, albeit a very persistent one."
  • "The only real valuable thing is intuition."
  • "A person starts to live when he can live outside himself."
  • "I am convinced that He (God) does not play dice."
  • "God is subtle but he is not malicious."
  • "Weakness of attitude becomes weakness of character."
  • "I never think of the future. It comes soon enough."
  • "The eternal mystery of the world is its comprehensibility."
  • "Sometimes one pays most for the things one gets for nothing."
  • "Science without religion is lame. Religion without science is blind."
  • "Anyone who has never made a mistake has never tried anything new."
  • "Great spirits have often encountered violent opposition from weak minds."
  • "Everything should be made as simple as possible, but not simpler."
  • "Common sense is the collection of prejudices acquired by age eighteen."
  • "Science is a wonderful thing if one does not have to earn one's living at it."
  • "The secret to creativity is knowing how to hide your sources."
  • "The only thing that interferes with my learning is my education."
  • "God does not care about our mathematical difficulties. He integrates empirically."
  • "The whole of science is nothing more than a refinement of everyday thinking."
  • "Technological progress is like an axe in the hands of a pathological criminal."
  • "Peace cannot be kept by force. It can only be achieved by understanding."
  • "The most incomprehensible thing about the world is that it is comprehensible."
  • "We can't solve problems by using the same kind of thinking we used when we created them."
  • "Education is what remains after one has forgotten everything he learned in school."
  • "The important thing is not to stop questioning. Curiosity has its own reason for existing."
  • "Do not worry about your difficulties in Mathematics. I can assure you mine are still greater."
  • "Equations are more important to me, because politics is for the present, but an equation is something for eternity."
  • "If A is a success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut."
  • "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."
  • "As far as the laws of mathematics refer to reality, they are not certain, as far as they are certain, they do not refer to reality."
  • "Whoever undertakes to set himself up as a judge of Truth and Knowledge is shipwrecked by the laughter of the gods."
  • "I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
  • "In order to form an immaculate member of a flock of sheep one must, above all, be a sheep."
  • "The fear of death is the most unjustified of all fears, for there's no risk of accident for someone who's dead."
  • "Too many of us look upon Americans as dollar chasers. This is a cruel libel, even if it is reiterated thoughtlessly by the Americans themselves."
  • "Heroism on command, senseless violence, and all the loathsome nonsense that goes by the name of patriotism -- how passionately I hate them!"
  • "No, this trick won't work...How on earth are you ever going to explain in terms of chemistry and physics so important a biological phenomenon as first love?"
  • "My religion consists of a humble admiration of the illimitable superior spirit who reveals himself in the slight details we are able to perceive with our frail and feeble mind."
  • "Yes, we have to divide up our time like that, between our politics and our equations. But to me our equations are far more important, for politics are only a matter of present concern. A mathematical equation stands forever."
  • "The release of atom power has changed everything except our way of thinking...the solution to this problem lies in the heart of mankind. If only I had known, I should have become a watchmaker."
  • "Great spirits have always found violent opposition from mediocrities. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence."
  • "The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed."
  • "A man's ethical behavior should be based effectually on sympathy, education, and social ties; no religious basis is necessary. Man would indeeded be in a poor way if he had to be restrained by fear of punishment and hope of reward after death."
  • "The further the spiritual evolution of mankind advances, the more certain it seems to me that the path to genuine religiosity does not lie through the fear of life, and the fear of death, and blind faith, but through striving after rational knowledge."
  • "Now he has departed from this strange world a little ahead of me. That means nothing. People like us, who believe in physics, know that the distinction between past, present, and future is only a stubbornly persistent illusion."
  • "You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat."
  • "One had to cram all this stuff into one's mind for the examinations, whether one liked it or not. This coercion had such a deterring effect on me that, after I had passed the final examination, I found the consideration of any scientific problems distasteful to me for an entire year."
  • "...one of the strongest motives that lead men to art and science is escape from everyday life with its painful crudity and hopeless dreariness, from the fetters of one's own ever-shifting desires. A finely tempered nature longs to escape from the personal life into the world of objective perception and thought."
  • "He who joyfully marches to music rank and file, has already earned my contempt. He has been given a large brain by mistake, since for him the spinal cord would surely suffice. This disgrace to civilization should be done away with at once. Heroism at command, how violently I hate all this, how despicable and ignoble war is; I would rather be torn to shreds than be a part of so base an action. It is my conviction that killing under the cloak of war is nothing but an act of murder."
  • "A human being is a part of a whole, called by us _universe_, a part limited in time and space. He experiences himself, his thoughts and feelings as something separated from the rest... a kind of optical delusion of his consciousness. This delusion is a kind of prison for us, restricting us to our personal desires and to affection for a few persons nearest to us. Our task must be to free ourselves from this prison by widening our circle of compassion to embrace all living creatures and the whole of nature in its beauty."
  • "Not everything that counts can be counted, and not everything that can be counted counts." (Sign hanging in Einstein's office at Princeton)
 

Faculty Trip - 2007

Last weekend I participated for the first faculty trip organized by our faculty in it's short 5 year history. Well it was a historical moment where more than 150 students participated for the trip from 4 batches. 3 university buses were used for the trip. According to the trip plan we were suppose to visit Knuckles mountain range and Wasgamuwa National Park. Nearly 20 students from my batch(Batch4) participated the trip.


But unfortunately because of the heavy rain we couldn’t visit some places that we planned, heavy rain foiled every thing. We were planning to have a mountain hiking at Knuckles and visit tow beautiful waterfalls.
Road to Knuckles mountain park is very difficult. Specially with large university buses. It was very difficult to drive on that road. In one place one of the buses get stuck in a bend.


On that day we were able to visit "Pitawala Pathana", a high plain and "Punchi Lokanthaya", small Worlds End. Both were covered by heavy mist, we couldn’t see more than few feet. So obviously we couldn’t see any thing at "Punchi Lokanthatya".





Next day (Saturday), as it was on Friday heavy rain foiled every thing. We have to cancel mountain hiking at Knuckels and we continue our trip to Wasgamuwa national park. We were able see quite a few wild life there. Peacock, verities of cranes, Dears, Foxes, monkeys and an Elephant. Near Mahaweli river we were caught in heavy rain again.


Finally we went to visit "Sorabora Wewa", master peice of anciant Sri Lankan irrigation technology. We spent nearly 1 1/2 hours at "Sorabora Wewa".
Then It was time to go home. Return trip took very long time. So when I came home it was around 4am in the morning.
This trip was not as fun as our Batch trip to Sinharaja. But any way we all had a very good time together. And it was a very good occasion to get away from the office life.

More Photos >>
 

Free Videos from LearnVisualStudio.net


LearnVisualStudio.net is a great site which provides thousands of videos on how to program in .Net. But you have to get subscribed to get access to their full set of videos. But occasionally they release free videos as well. You can get information about these free videos through email by subscribing. These are few free videos I received that way.

1) Designing Relational Database Tables
Why are relational databases the most popular? Differentiate between primary and foreign keys. Design relational database tables and learn about normalization rules and de-normalization.
Download This Free Video

2) Understanding Security and Network Connectivity
Differentiate between database files and SQL Server processes. Explore scenarios for connecting to SQL Server Express databases, enabling and disabling user instances, login permissions, and other security precautions.
Download This Free Video

3) Introduction to Anonymous Delegates
After reviewing How to Create and Use Regular Delegates, this video explains the concept of creating anonymous delegates, when to use them and when not to, and explains the concept of closure for retrieving the state and scope of the anonymous delegate at instantiation for use upon its invocation. (Anonymous delegates are not available in Visual Basic 8.x or earlier.)
Download This Free Video

4) Introduction to Generics
Generics allow you to create flexible data structures that are strongly typed. This video compares the System.Collections.ArrayList class versus its generic replacement, the System.Collections.Generic.List, explaining exactly why generics are the prefered way to add stability to your collections by catching situations where objects of the wrong type are being added to your collections at compile time.
Download This Free Video

5) Understanding Web Application State
In this lesson, you will see how to maintain state in your ASP.NET 2.0 applications.
Not familiar with the term “state” as it’s used in web jargon?
Basically, the web is inherently a stateless environment … each “page” of a web site is independent. The trick is passing along certain information between each individual visit to a web page for a given user.
ASP.NET 2.0 has several different ways to accomplish this. In about 35 minutes we demonstrate and explain the major ASP.NET classes and various techniques you can use to provide your users a rich web-based experience.
Download C# Version
Download VB.NET Version

6) Debugging and Tracing your Website
In this lesson, you will learn how to debug and monitor your ASP.NET 2.0 Web applications.
Fortunately, Microsoft has made it easy to step through each line of code to observe how it's executing to ferret out difficult-to-find bugs. Skills you've developed in writing Windows applications will definitely help, but there are some more tricks and tips that you can use with live applications (i.e., web applications that you've already deployed).
We'll show you almost everything you'll need to know about debugging and monitoring the execution of your app in less than 30 minutes!
Download C# Version
Download VB.NET Version


7) How to use the BackgroundWorker Control
This video comes from the Windows Forms Controls 2005 Series. This video demonstrates how to use the new BackgroundWorker Control to easily create a multi-threaded application. (Works with all versions of Visual Studio 2005, including the Express Editions)
Download C# Version
Download VB.NET Version

8) Securing your ASP.NET 2.0 Web Site with Membership and Login Controls
Your next free tutorial comes from our "Getting Started with Visual Web Developer 2005 Express Edition" series. In this video you discover the new membership capabilities of ASP.NET 2.0. In addition, you will learn about role-based security, and how you can use roles to control access to your web site.
Download C# Version
Download VB.NET Version


 

Salute to the heroes….

Few days back I received this email from one of my friends….
I thought to put it in my blog in respect to all the heroes of Army, Navy, Air Force and Police who sacrifices their lives to build us a peaceful Sri Lanka…

Take a minute to think on this please...

Your alarm goes off, you hit the snooze and sleep for another 10 minutes.
He stays up for days on end.

You take a warm shower to help you wake up.
He goes days or weeks without running water.

You complain of a "headache", and call in sick.
He gets shot at as others are hit, and keeps moving forward.

You put on your anti war/don't support the troops shirt, and go meet up with your friends.
He still fights for your right to wear that shirt.

You make sure you're cell phone is in your pocket.
He clutches the cross hanging on his chain next to his dog-tags.

You talk trash about your "buddies" that aren't with you.
He knows he may not see some of his buddies again.

You walk down the beach, staring at all the pretty girls.
He walks the streets, searching for insurgents and terrorists.

You complain about how hot it is.
He wears his heavy gear, not daring to take off his helmet to wipe his brow.

You go out to lunch, and complain because the restaurant got your order wrong.
He doesn't get to eat today.

Your wife/mother/maid makes your bed and washes your clothes.
He wears the same things for weeks, but makes sure his weapons are clean.

You go to the mall and get your hair redone.
He doesn't have time to brush his teeth today.

You're angry because your class ran 5 minutes over.
He's told he will be held over an extra 2 months.

You call your girlfriend and set a date for tonight.
He waits for the mail to see if there is a letter from home.

You hug and kiss your girlfriend, like you do everyday.
He holds his letter close and smells his love's perfume.

You roll your eyes as a baby cries.
He gets a letter with pictures of his new child, and wonders if they'll ever meet

You criticize your government, and say that war never solves anything...
He sees the innocent tortured and killed by terrorists and remembers why he is fighting.

You hear the jokes about the war, and make fun of men like him.
He hears the gunfire, bombs and screams of the wounded - and of the innocents who have no one to stand up for them.

You see only what the media wants you to see.
He sees the broken bodies lying around him.

You are asked to go to the store by your parents. ... And You don't.
He does exactly what he is told.

You stay at home and watch TV.
He takes whatever time he is given to call, write home, sleep, and eat.

You crawl into your soft bed, with down pillows, and get comfortable.
He crawls under a tank for shade and a 5 minute nap, only to be awakened by gunfire.

You sit here and judge him, saying the world is probably a worse place because of men like him.
If only there were more men like him!

WHO is HE?

If you support him , then please send this to everyone you know...
Perhaps people will change their attitude and behavior to support HIS worthy cause...
HE is sacrificing his today for our future Sri Lanka!!!


In dedication of the true Valiant Sri Lankan Men and Women in the Army, Air Force, Navy and Police!

Sri Lanka ArmySri Lanka NavySri Lanka Air forceSri Lanka Police