Wednesday, April 23, 2008

And Then There Was An Application Restart!

This post is purely for those people who work on Microsoft Asp.Net or is interested in it in any way. So, if you are not an IT guy, feel free to move to other posts on the blog, I am sure there is one for everyone. :-)
This post may sound like it’s for novices but deciding to pull this one out of my keyboard after facing few of these recently.
We, the people working in Asp.Net, love Sessions. I am sure everyone nods Yes. And just for that reason we put various kinds of data in the Session variable. Ranging for user names to their profile to list of items in an application to a table to entire database! Because it’s damn easy. You just have to do:
Session["MySecretPassword"] = "rohitjain";
or
Session["MySmallDatabase"] = dataSetDB;

And done! Now, You have your password or the entire database in session for a long long time. But! Here is a catch, what is this LONG time? Ahem, that depends on many things. Not going deeper into this but must to mention a reason that is Application Domain restart! Let’s talk ‘bout it & check out few reasons that restarts an asp.net application with some probable resolutions that I feel.

When an asp.net application restarts, it kills most of the things related, specially those which are volatile by nature, our beloved Session is one of those :(. And it not just kills things but it recompiles the application too which can take good amount of time and have thousands of your users waiting till then. Out-proc session storage may solve the vanishing of Session issue but still you can’t prevent Application restart.

There are few reasons that cause an Asp.Net application to Restart worth mentioning:

  • Changes to web.config:
We all keep lots of application related info in web.config, specially Connection strings & appSettings keys. And they are kept their so that they can be changed easily when needed. But hey when I change anything, my application starts! I can’t force everyone connected to relogin/restart when I change my site header, or when I switch to a separate database.

    • Resolution: Don’t change your values!
Ha ha ha. Just joking. Asp.net 2.0 upwards supports external configuration files. The best candidate is appSettings.config, which we update quite randomly. Just have an external file say appSettings.config and mark it as the source. For an example:
<appSettingsconfigSource="appSettings.config" />
That’s it. Now you will need an external file appSettings.config as below:
<appSettings>
<addkey="SiteHeader"value="Hello There!"/>
</appSettings>
And you are done. Now when you update this appSettings.config the application doesn’t restart, and you get the New values when you use AppSettings collection!!!
Everyone is happy! :-)
Though there are few conventions to be followed such as the path of the external file has to be relative to the root web.config file. For example it can be “appSettings.config” if the file is also in the root directory or “Configurations\appSetttings.config”, in case you want to keep all your external settings in a separate subdirectory.
You also have to ensure that the root node of the external file is same as the one you are using it for. Means? Means, if you are using an external file for appSettings section, the first node of the external file should be appSettings. And as you know its XML, it’s case sensitive.
And yes this is not just limited to appSettings sections. If you have your own custom configuration sections, you can externalize that too. For example, I have a custom section named as MyWidgetSettings which has few settings related to my site’s widgets layout. I have a section handler for that mentioned in the web.config. Now? Simple. Do the followings:
Move your settings to an external file, say Configurations\MyWidgetSettings.config. And make sure to have the same root element; in our case MyWidgetSettings.
<MyWidgetSettings>
<Settingname="vertical-alignment"value="left"/>
<Settingname="borderimage"value="~\img\wb.gif"/>

</MyWidgetSettings>
In the web.config edit your section:
<MyWidgetSettingsconfigSource="Configurations\MyWidgetSettings.config" />
Last and the most important, Update your section handler keys,
<configSections>
<sectionname="MyWidgetSettings"type=" SampleCodes.MyWidgetSettingsHandler, SampleCodes"restartOnExternalChanges="false"/>
</configSections>

I am sure that you have guessed that the magical key is restartOnExternalChanges="false" :)
For more details on other options on other tweaks and tricks related to this, just Google.


  • Folders:
We all know how to create directory.

Directory.CreateDirectory("Dir1");
And it’s no crime. And in case these need to be deleted?
Directory.Delete("Dir1");
Bravo!

But you not only killed the directory, you killed the application too. Yes My Dear! And the same applies to renaming a directory too. Consequence: Application restart!

How does it happen? There is a service called “File Change Notification (FCN)” that runs at the background and notifies IIS when there are changes to the local file system.

    • Resolution: Create but don’t destroy!
That’s the rule of thumb. You can create a directory inside your web directory but you MUST not delete any. You can delete the internal files but you have to leave all directories/subdirectories. But but but, In case you are environment friendly and feel that you really need to delete directories too and throw away unneeded trash, create directories outside the web directory anywhere. Any file system changes outside the web directory will not cause that application to restart (generally). There are other way outs like using Achieve files such as .zip instead of a folder to store files and use a tool to read and write to them. The recent .Net framework has inbuilt framework for that. But this way out doesn’t suit always, mostly not.


  • Aspx file changes:
We all know that an application doesn’t start when we update an Aspx file (& hence recompiled). Not Actually! There is a count that goes behind the scenes. By default, an application doesn’t start till the count of dynamic recompiles reaches 15, a default value. Once reached it Does restart.

    • Resolution: There is an element named compilation that comes under the configuration\system.web of a web.config.It has so many attributes one of which is called numRecompilesBeforeApprestart. It can be used to increase the default value (15) to an even higher value in case you update the files frequently. This will save you frequent application restart arising out of changes to aspx files.

  • Application Idle time out:
An asp.net application domain recycles after sometimes (by default 20 minutes), if it’s left idle. That means if no one hits your application for 20 minutes straight, it will recycle the application. Mind you, this is different from Session timeout property. So, even if your session timeout happens at 60 minutes, and the application is left idle for 20 minutes. At the 21st minute, your session will be void too as the application would restart on the next request.

    • Resolution:
You can change this timeout figure via IIS. This is an IIS configuration and is set via the properties of the Application Pool to which your application belongs. Play around with IIS and you will find other interesting features/settings too.


And yes…

There are many scenarios when you would like to Force an application restart. You don’t need to go and edit web.config to cause it, just have a page with following code:

System.Web.HttpRuntime.UnloadAppDomain();


And call that page by any means. Make sure that not any Tom, Dick or Harry can access this page :)


This is a very very partial list of so many other reasons that can cause an application to restart. But just mentioning few ones faced recently. If you have faced something like this & would like to share, just drop it as a comment.

Hope it helps.

Friday, April 18, 2008

Live And Let Live

A very old saying, a very simple saying….live and let live.

This is a term coined long back, expressing the concept that one should let others live their lives as they see fit. The following of this theory not just keeps others happy but you too; in a way that you start accepting people the way they are without infringing with their living style. And others can be & behave the way they want to.

And you can imagine how many problems this simple ideology can solve...Misunderstandings, not meeting someone’s expectations, etc. etc.

This theory also talks about not killing others, mainly animals [humans too ;)]. This says that we should not kill any creature no matter how small it is, no matter how big it is. Because a creature has life, and a life is a life…be it yours, be it mine or be it a creature’s.

Lord MahaviraLord Mahavira

Today, on Mahavir Jayanti (the day when Lord Mahavira was born), let’s rehearse this phrase popularly coined by him…

“Live And Let Live”.
(जीओ और जीने दो)

Let’s do it! And make the world a happier place.


Thursday, April 17, 2008

Think Of Those Who Love You

This is something which is stuck on my desk for almost a year now. Something which I read quite often, and every time it's read it lifts the soul.

I don't know where did I get this poem from but whoever created it, my heartiest appreciation to him/her.

And I think it's worth sharing here in our blog site. So, here it goes, Think of those who love you:

Think Of Those Who Love You.

If someone should hurt you
and say a thing unkind,
Remember what I write to you,
and keep these thoughts in mind.

For everyone that makes you cry,
there are three to make you smile,
And a smile will last for a long, long time,
but a tear just a little while.

Don't let someone who hates the world
cause you to hate it too,
Behind the clouds is a Golden sun,
and a sky that's full of Blue.

If someone said a thing that's cruel,
don't let it get to you,
Your achievements are greatly numbered,
and your faults are very few.

So if a certain person should act a certain way,
Think of those who Love You.

And don't let it spoil your day, ever!!!

I always believe in the theory that, If someone likes you it's his/her wish, if some hates it's his/her problem.

Remember as I previously said, "You can't please everyone."

So, Think of those who love you. And others........do we really need to care for them?

Have fun, it's your day, make it bright, make it live, make it yours.....Everyday!

Cheers!

Tuesday, April 15, 2008

Start Small Grow Big

Everyone wants to create an empire, everyone wants to create a world class product, and everyone wants to invent the most innovative product ever. Great! But one needs to remember, a seed takes time to grow and become a tree.

You have to start small!

When one starts a new business, one thinks of making a new empire immediately, cool. But every empire starts with laying-down of one tiny foundation stone. We, specially people who are related to computers, know well how the Giants of today named as Google, Microsoft, etc. evolved. They started with a handful of people, handful of resources. They started Small. Time, perspiration, everything went in and that is the result that, now today, they are a complete world in their own.

Not only that when we start small we have better scope of control, but we also have enough room to expand, to grow. Think of a situation if everyone was born 5 feet long. Sounds imaginative but then there would have been no childhood, there would have been no fun-filled learning, there would have been no excitement, there would have been no innocence, there would have been no cute memories, there would have been no precious photo-albums. Not to mention the trouble of making a huge body like that come on this earth. Phew! Scary thoughts.

Sometimes, I wonder how a seed (as tiny as a point of needle) can turn so huge. Is it some kind of super encryption? .zip V2.0? Then as I rest my technical mind a li’l and think practically I understand, that it’s the combined effort of tons and tons of sun light, tons and tons of air, tons and tons of water, tons and tons of shades, tons and tons of shedding, tons and tons of growth that goes in the process. And yes most importantly Tons & Tons of Time. Nothing happens before time, nothing. Still, honestly speaking, this seems like a Magic to me!

Have you ever watched a small plant coming out of a broken wall? Have you ever watched an egg unwrapping a small bird with chirpy sound, have you ever imagined [I can’t say watched ;)] a baby developing in a womb. I know you are just thinking that, isn’t it mysteriously magical?

Most of the people trouble themselves at the first go by looking at the “big” picture. Have a broad vision to cross the sea, but target small islands.

We all make resolutions, often at the new year eve. And at least 10/10 people know that those resolutions don’t last long. (That’s the reason I don’t make any). It’s nice that this habit gives us a chance to look for areas where we can work, but rather making resolutions like, “I will quit smoking from tomorrow” it’s better to start with “just 1 stick every day for the next 1 week and then gradually I will decrease further”. That may sound like bargaining with ourselves, but that works better. You can relate this to various other examples around you

Remember, “you have to start small”.

Few people call it, “the magic of baby steps”. And it’s true, baby steps have enough magic, just give it a try I am sure you will see some castles coming up fast, real ones.

Start small, grow big!

Friday, March 21, 2008

Software I can’t live without : Some Must Haves for me

I have always been a person who looks for new softwares, not because they are ‘wow’ but more because they can make my work/job easy; be it writing code, formatting documents, taking notes, browsing net, listening to music anything. And no wonder that a big part of my world roams around softwares, softwares & more softwares.
There are few softwares which gets into my machine in a jiffy. Let me take liberty to share few of these (in random order) with you. For me they are ‘must haves’. Just give it a try, and if you like add them to your must haves.
This list updates as and when I find some truly useful softwares. Here is a list:

Google.com
I know I know its not a software, but it stands #1 in my list. It’s a Search Engine, but to many its like the 1 stop resource station. Need anything, just google it. And trust me, you will get more than what you expected.
Google It!

Firefox
This little Web Browser is simply awesome. The ease of use, lightning-speed, tabbed browsing, thousands of Extensions, ease of bookmarking, download management, to name few. I remember how I got addicted to this browser from the very first time I used it. Yes Internet Explorer is always there but I only use it for my development projects and for those sites which do not support Firefox (bad!). This comes in various versions to support multiple languages and/or operating systems.
Download Firefox 2
Download Firefox 3 beta 4

Winamp
This is my favorite Music Player. The best features include, cool Skins (though I don’t use anything other than Winamp Modern or Bento), Global Hotkeys (this is a great life saver), Tray controls, notifications, beautiful shell integration and so so many other things.
Download

VLC
This is my favorite Video Player. The best part of it is its intelligence to play any kind of movie, yes you read it right ‘just any kind’. I have hardly seen any requirement to download any additional codec. Windows Media Player is always there but you need to download additional codecs, and if you don’t have internet at that place, God! And this software comes in various versions to support multiple operating systems, Windows, Mac, Linux & many.
Download

Stickies
This is a small Note Keeper software. It’s very light weight and doesn’t eat up your CPU much. It creates notes that sticks right on your desktop. Very useful when you need to have something right infront of you. I use it to store notes, and also to Alarm me ‘bout something.
Download

Internet Download Manager
My favorite Download Accelerator software. Everyone feels tired of that slow 40-50KBps download speed even if your internet connection supports a gallon. Its latest version has been improved gracefully and it integrates very smarty in almost all the browsers. This also provides Scheduling of download (a great feature), ability to download an Entire site, etc.
Download

WordWeb
This is a computerized Dictionary. Not just that it provides you with Antonyms, Synonyms but also with word usage examples. A truly must have for everyone.
Download

WindowFX
This is UI Improvement software. It just changes the way objects on your monitor ‘talks’ to you. Yes! Just install this tiny software and you will feel elated!
Download

GoogleTalk
This is the cleanest Instant Manager Client. This enables a Gmail user to chat with their online buddies. This also supports features such as file transfer, voice chat, etc. And not just this, it also notifies you of the new mails in your Gmail box & is smartly integrated with your Orkut account (if any).
Download

Yahoo Messenger
This is another Instant Manager Client. Almost every person who uses internet, must have used this one once. This is one of the very old IM clients. This has almost all the features an IM client shall have, such as voice chat, file transfer, Web Camera sharing, etc.
Download
Download YM Beta
Download YM for Vista

AVG Antivirus
This is my favorite Antivirus Software. Its very light weight yet quite powerful. And the best part of it, it’s FREE!
Download

Irfan View
This is my favorite Image Viewer software. This is a very small software and can open any form of image, even PSDs. Features like Thumbnail view, Image transform, resize, bulk conversion are just amazing. A must have!
Download

Winrar
This is an Archiving software. This has support for not only .rar files but also .zip files. Another great feature is the ability to split a big archive in small pieces.
Download

xplorer2 pro
This is my favorite Folder/File Explorer software. The day I started using it to browse folders on my machine, I remember how li’l I use Windows Explorer now. The user interface is great and so powerful. Smart features such as Bookmarking a folder, Robust File Move/Copy, quick navigation keys, treeview, etc. are just brilliant.
Download

SlickRun
This is a tiny software which presents you with a calendar/time right in front of you. No need to click/hover over your system clock, its always on top for you. And not just this, it can also be used to execute programs/websites, same as your Start->Run.
Download

CutePDF
This is a File-To-PDF converter. It can save any thing, that can be sent to a printer, to a PDF file. It gets added as a printer in your machine. Neat & great!
Download

FileRecovery
This is an File Undelete software. Many times we just casually shift+delete a file and in next few seconds we scream “God! I needed that file”. This will help you undelete your files even if it’s out of your recycle bin.
Download

Microsoft Office 2007
This is a complete Office Suite, comprising of Word, Excel, Powerpoint etc. The new 2007suite has an amazingly soothing UI, powerful new features, new tools…….overall a completely new way to work.
Download

Xobni
This is an Outlook Extension. Trouble in remembering name? It's word "inbox" spelled backwards ;) This is the smartest outlook extension I have ever seen. And trust me, its Lighting fast. The search feature (the best), the conversation view, the network view, the attachment view, the UI, the reports….all are just Fabulous. I am sure once you try this, you will get addicted to it. The way I am. It’s just 3MB download and works tremendously elegantly.
Download

Visual Studio IDE
Obviously being a Software Engineer, my list has to contain some programming softwares. This one is simply the best IDE for development. It has beautiful support for writing codes in C#, VB.Net, HTML/ASPX, CSS, etc. Most of my everyday time is spent on this one only.
Download VS 2005
Download VS 2008


Web Developer Toolbar
This is a Browser Extension. This helps one dig to the bottom of a page and its element, enable/disable CSS/JavaScripts/Images, etc. A truly must have for any web developer.
Download for IE
Download For Firefox

Firebug Firefox Extension
This is also a Browser Extension for Firefox. And is same as Web Developer Toolbar for Firefox. But in terms of its usability and features, it’s way ahead. Trust me! A must have for me, b’coz I have to keep digging the pages I make and find out layout issues, on the fly page editing previews, etc. etc. A truly must have for any web developer.
Download

Windows Vista (Ofcourse)
This is the latest Windows Operating System from Microsoft. Everyone must have heard the buzz around regarding it and it truly deserves it.
Download


Links may change in future, if any just Google it


Just try any of the above, I am sure it will be a nice experience.
Do let me know your Fav-Must-Have-List too.

Cheers!

Saturday, March 01, 2008

We All Love History (a scene from "इतिहास की परीक्षा") (Language: Hindi)

A very sweet poem shared by one of my friends recently. The Poem is in Hindi. Here it goes:

एक कविता जिसने बचपन में हमेशा मेडल दिलवाये ...जिससे बहुत सी यादें जुडी हैं :-)

-----------

"इतिहास की परीक्षा थी,...इतिहास की परीक्षा थी ..,यह सोच के ह्रदय धड़कता था , घर से निकलते ही बायाँ नयन फड़कता था"
तुम बीस मिनट लेट हो ...तुम बीस मिनट लेट हो..." द्वार पर चपरासी ने बतलाया
मैं मेल ट्रेन की रफ्तार से कमरे के भीतर आई "

"यह १०० नम्बर का पर्चा था मुझको २ की भी आस नहीं,
चाहे सारी दुनिया पलटे, पर मैं हो सकती पास नहीं ...पर मैं हो सकती पास नहीं ॥!"

फिर आँख मूंद के बैठ गयी, बोली- " भगवान् दया कर दें , इन प्रश्नों के उत्तर दिमाग में ठूंस-ठूंस के भर दें".
आकाश फूट अम्बर से आई इक गहरी आवाज़ - "ऐ मूर्ख व्यर्थ क्यों रोती है? तू आँख उठा के इधर देख गीता कहती है , 'कर्म करो फल की चिंता मति किया करो '.. जो मन् में आये बात वही उत्तर पुस्तिका में लिख दिया करो "

मैंने लिख दिया ...मैंने लिख दिया ................" पानीपत का दूसरा युद्ध कठसवान में जापान और जर्मनी के बीच १८५७ में हुआ था......"
मैंने लिख दिया ...मैंने लिख दिया ................" महात्मा गाँधी महात्मा बुध के चेले थे ...गाँधी जी के संग बचपन में आँख मीचौली खेले थे"
मैंने लिख दिया ...मैंने लिख दिया ................"महाराणा प्रताप ने था महूमद गौरी को १० बार हराया ...अकबर ने हिंद महासागर अमेरिका से मँगवाया ..."
मैंने लिख दिया ...मैंने लिख दिया ................" मोहम्मद गजनवी रोज़ सुबह उठ कर २ घंटे नाचता था ... औरंगजेब रण में जा के औरों की जेबें काटता था "

लिख दिया अंत में "इतिहास की कोई बात न सच्ची ....इसको पढना व्यर्थ की माथापच्ची "!!

हो गया ............., हो गया परीक्षक पागल सा मेरी कापी देख देख....,
बोला ..."इन सारे बच्चों में होनहार बस यही एक ....होनहार बस यही एक "

औरों के सब पर्चे फ़ेंक दिए .....!
मेरे सब नम्बर छांट लिए......!!
"जीरो नंबर दे के बाकि सब नम्बर काट लिए :-( .....!!!"

by SJM

.

Monday, February 18, 2008

The KISS Principle

We, in every sphere of our lives, strive to excel. We give our 100% to everything we do, sometimes even more than that. When we are needed to do something we lay out a master plan. One with great textures, greater details & greatest complexity. Bravo! All are impressed. But, are you too?

It’s a phenomenon, the older we grow the wiser we get and this wit comes with the related toppings.........called ‘complexity’. Few people call it a phase towards maturity, for few it’s the life’s goal. Whatever.

Have you ever watched a li’l kid closely? What does he do when he has to cry? Nothing, he just cries. What does he do when he wants to laugh? Nothing, he just laughs. What do we do? We find one; find a reason to laugh, find a reason to cry, find a reason to think, find a reason to get. Aren’t we getting to much reasoning?

The KISS principle is a very old one. People like me working in system designing & development domain treat it like the holy divine mantra. Not because it helps us do things with ease in the current moment, but also to avoid unseen complexities of the future.

This, principle for everyone, is known infamously as “Keep It Simple Stupid”. You got it right, it’s about one’s approach towards things, towards solving problems, towards looking for a solution......one’s approach towards life.

There are times when we strive to give more than the best. And that is where we need to stop. We don’t need to throw ourselves to a situation rather we just need to walk up to it.

Try applying this principle in each & every part of your life and you will feel how simply effective it is. Be it in your relationship handling, be it talking with people, be it handling proposal, be it proposing, be it customer interaction, be it litigation handling, be it problem solving, be it anything, be it anywhere. It just works wonders. Just try to keep it simple.

There is a saying......”rather than finding a complex solution to a simple problem, find a simple solution to a complex problem”. :)

Cheers!

Friday, January 25, 2008

Approval Addiction Syndrome

Are you obsessed with what do others think about you? Do you have a life that revolves around seeking everyone's approval? Do you feel sad & low if someone disapproves of you? If you answered "yes" to any of those questions then my friend you suffer from what is called the Approval Addiction Syndrome.

If you keep concentrating ‘bout what others think of you and you run here & there to get their approval........then sooner or later, you will be running faster than you can, working harder than you can until you get exhausted. Soon, you will feel you can’t live up to everyone’s expectations. And then you will feel helpless, frustrated & depressed.

More often than not we do things to please others, as we feel it’s human to meet others expectations with you and it’s devilish to betray them. We please one person. Another one comes, we do something else to please him. Another, another, another....phew! The cycle goes on and on and on. And sooner we realize that we are not able to please everyone. And even if we are able to please most of the people, we are not happy with ourselves. Stop! Review yourself before that happens with you. Value your happiness.

There is a saying, “Please all, and you will please none”. And it’s more than true. We can’t please everyone around. And if someone is unhappy ‘bout me, someone doesn’t like me, it’s very much possible that I am doing something right still. It means I am being myself. And then it’s true that not everyone will like that. Be it.

Remember, You need to live life for yourself. Value what pleases you. Yes you have to keep others with you but that doesn’t mean that everyone around you have to be happy with you. Please few. Upset few also. :) There has to be a balance. And if you can’t make that balance between your people, you will have to compensate it with yourself. All will be happy, except you.

These are the few symptoms that may tell you that you are affected too:

• Feeling hurt by others’ thinking about you.
• Habitually comparing yourself to others.
• Trying to be competitive in the most ordinary situations.
• A nagging gumption that we aren’t important enough, or special enough.
• Trying to ‘impress’ important people.
• etc., etc., etc.

How many do you have?

Now the million dollar question............knowing all these why we do so still? The answer is Fear. We fear of being rejected. We fear of being discarded. We fear of being disapproved. We fear of others' cold responses to us if we fail to please them. We need to let go this fear. We need to free our mind from this botheration.

Remember, If we lose people because we couldn’t please them, don't be sad, they were never worth keeping.

I can’t help link to the following book titled “Approval Addiction” by Joyce Meyer. The book is exceptionally well and is worth reading.

So, If you are affected with this syndrome too, get yourself cured now. There is no medicine. All you need is to live for yourself. Be yourself.

Be yourself!!!

Tuesday, January 15, 2008

Global Warming : The ball in our court may not stay long

Check out the following video. It is Created to take a stand against the greatest threat our planet has ever faced, we call it "Global Warming". This video is being created & promoted by Earth Hour for a simple action of turning off the lights for one hour to deliver a powerful message about the need for action on global warming.

This simple act has already captured the hearts and minds of people all over the world. As a result, at 8pm on the 29 March, 2008 millions of people in some of the world’s major capital cities, including Copenhagen, Toronto, Chicago, Melbourne, Brisbane, Tel Aviv and Manila will unite and switch off for Earth Hour.




Today WE have the option of switching off the light, tomorrow may be a completely different story.


its not far enough :)

its not far enough :)

its not far enough :)

its not far enough :)

its not far enough :)

Can't help link to the following video. It's The Earth Song by Michael Jackson, talking 'bout the adverse effects of Deforestation...something which relates directly to global warming.





This post is just to give a brief idea about what future has for us. :)

Sunday, January 13, 2008

Life of an Alarm Clock

He will take care
Every night one goes to sleep, makes sure to re-set the alarm clock. One has to get up by a definite time. Night passes, sun rises, and the alarm goes...............@#$@#$@#$@#$&*^&*#@!@#$#.

Wake up timeBut before it could take its one full breath, a hand (devilish) comes with 1000 eyes searching for it and in the next half second its dead. And this cycle continues every day.

Where is that *****
Sounds familiar? I am talking of you only :). Wait wait wait, talking of Us. I am no exception.

That's the life of an alarm clock. Someone (someone because for me it has a life) who works every second throughout the night to make sure that he 'delivers' when demanded....and is killed so sadistically. But still every night we re-set him for the same. And every morning he is killed once again.

What does it reflect? On one hand if we think of an alarm clock, its one dedicated, honest, loyal, selfless creature. Someone who even after being footed, being hit doesn't say anything and keeps on doing what his duty is.

And on the other hand, if we think of Us..........? We use him, day after day, expect it to work without fail and when it works instead of giving it a prize, we hit it hard to silent it.

Strange na? It is not. It's how we are.

We are habituated of using things/people. We want them to work flawlessly without a single failure but when it comes to handling them, when it comes to understanding them, when it comes to rewarding them, we fail we neglect. All we want is that our purpose is served, rest who cares really? There are so many other thoughts that can be mentioned here but deciding to skip it. B’coz I am sure you are mature enough to understand those.

I love my alarm clockSo, next time your alarm clock rings and you have to snooze/kill it, do it but do it with Love.

Though there are few people who manage not to depend on alarm clocks. Yes it’s possible because everyone has a clock inside. Read this interesting post: http://andrewbrunelle.com/?p=167