Skip to main content

Posts

Showing posts from February, 2009

'The Godfather' - Worth Remembering Quotes

Carefully and painstakingly crafted movie - The Godfather. Incredibly strong script, cut throat decisions, lasting moments, nerve breaking sequences, chilling twists and extremely sharp dialogues makes me to watch this movie often. I have captured some of the very thoughtful and deep impacting dialogues from the characters of 'The Godfather'. "I am going to make him an offer he can't refuse" "Why did you go to the police? Why didn't you come to me first?" "Never hate your enemies, it affects your judgment." "Fredo you are my older brother and I love you so much, but never take side with anyone against the family ever" "Some day, and that day may never come, I will call upon you to do a service for me. But uh, until that day, accept this justice as a gift on my daughter's wedding day" "Keep your friends close, but your enemies closer." "Never let anyone know what you are thinking." ...

DotNet Windows Service: One of Good Practices

DotNet Windows service is a long running executable, registered with windows operating system and do its work behind the scene. It gets activated when system boots, acquire its own windows session and start working without giving any clue to the user. Since windows start and manage these services, we have to register windows services in operating system. I noticed it many times, the windows services which does simple operations, some of us having habit of writing code in the service onStart() event or write a private method in the same file/project and call it in the onStart() event. The problem with this approach is whenever we modify logic or functionality of existing windows service, we have to re-register executable with updated one. Doing this kind of geeky stuff on production server does not seem reliable. The best thing to avoid this situation is, write all code in a separate class library project. Generate a DLL out of it, refer it in windows service and call the DLL public ...

What I Read...

Behind vehicles... Intel Inside, Idiot Outside. (Written on a car) Who said I ride faster? I am just flying... See we met again! Don't drink and drive, drive after drinking Don't Honk, Earn your way! Don't follow me, follow GOD I am not afraid of death, I just don't want to be there when it happens If your wife wants to learn to drive, don't stand in her way! It is not desirable to travel faster than the speed of light, cos my hat keeps blowing off If everything seems under control, you're just not going fast enough On T-Shirts... Girlfriend always comes with an expiry date Education ruined me He Who Laughs Last Thinks Slowest Beauty is in the eye of the beer holder If you want to look young and thin, hang around old life is 10% what happens to you and 90% how you react to it Whatever it is -- I didn't do it! Behind every successful man is a woman, behind her is his wife I believe in dragons, fairies, good women and other mythical creatures! Coffee isn...