Friday, September 11, 2009


"Ice Age 3: Dawn of the Dinosaurs" is a neat pack of humor, adventure with be on the mind characters. The fun begins when alone, One-eyed, dino-hunting weasel called 'Buck', who is sophisticated yet not so complicated, agrees to find 'floppy green thing' with his set of rules and killing his life time enemy Rudy (T Rex Dino). After that there are many eye catching events and nice animation work.

In the end Buck kill Rudy and says "He is gone! What am I suppose to do now?". In that very moment, I see him losing excitement in life. Not so fascinatingly, he agrees to come to the world of Ice age. All of a sudden when  Rudy roars!! Buck finds reason to go back to his world and fight with Rudy all alone.    

Its been many weeks, Buck is still in my thoughts and there is no sign of him stopping his blabbering. His existence has no meaning if there is no Rudy. He only knows living for finding opportunity to defeat Rudy. That's his purpose and he is always on his toes. Buck is talking endlessly, sometimes suddenly he pops at me and asks 'hey! whats' your purpose of life?' and I just find myself speechless. 

Thursday, September 03, 2009

Opera Unite - Browser with New Possibilities

When Microsoft, Mozilla and Google are competing hard to increase browser share by tweaking their products, opera silently concentrated on innovation and sprung with neat free stuffs.

Opera’s new suite ‘Unite’ lead the way in defining how we can maximize our internet experience through its impressive capabilities.

This amazing software is not just a ‘browser’ loading web pages lightning fast with Turbo technology; it’s a web server in the browser, messenger, media/file/photo sharing host, a fridge (people can leave a message for you) and can be more in future!!!

If you are using FireFox, Chrome or Safari and you have set of strong technical reasons for why you are using it over Internet Explorer, then it’s time for you to checkout Opera Unite 10. From the technology point of view, your satisfaction is guaranteed.

Thursday, August 20, 2009

In This World - 15

"Never trust someone more than yourself, they will sure betray you."

Friday, July 03, 2009

2 'Why's

1. Why Microsoft is still using Flash when its own baby- Silverlight light is out there?

2. As shown above, having popup menu open on IE8, why Windows Start menu does not appear when windows key (on keyboard) is pressed? (Windows Vista with SP2 Operating system)


Thursday, June 11, 2009

In This World - 14

Any mistake is a big failure if we don't understand why and how it happened.

Friday, June 05, 2009

DotNet: Generic Sorting Class

Recently, I was searching for a generic sorting approach on dotnet List. Many articles (Like one, two..etc) were suggesting standard way of creating IComparer implementer class and using that with generic list (List <T>) in our application. Writing IComparer class for every business object not only take huge time also create challenges in code management when it grow considerably. So, here is simple and effective generic sorting class which can be used with any custom business object and can be sorted on any one of its properties.

All you have to do is, copy paste the complete code in to a new .cs file.

using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace Srushti.Business
public class GenericComparer<T> : IComparer<T>
string _propName = string.Empty;
bool _sortDirection = true;
public GenericComparer(string propertyName, bool SortAscending)
_propName = propertyName;
_sortDirection = SortAscending;

private int CompareAsc(object o1, object o2)
if (o1 is IComparable)
return ((IComparable)o1).CompareTo(o2);
else if (o1.Equals(o2))
return 0;
return o1.ToString().CompareTo(o2);
#region IComparer<T> Members

public int Compare(T x, T y)
PropertyInfo pi = x.GetType().GetProperty(_propName);
object o1 = pi.GetValue(x, null);

pi = y.GetType().GetProperty(_propName);
object o2 = pi.GetValue(y, null);

if (_sortDirection == false)
return CompareAsc(o1, o2) * -1;
return CompareAsc(o1, o2);

...and start consuming it as shown below. You have to supply, property name (as String) on which you want to sort the list and sorting direction (Boolean, true for ascending and false for descending) to GenericComparer() constructor.

private void Form1_Load(object sender, EventArgs e)
List empList = new List();
empList.Add(new Employee() { ID = 1, Name = "Three" });
empList.Add(new Employee() { ID = 2, Name = "Two" });
empList.Add(new Employee() { ID = 3, Name = "One" });

/*** Generic Comparer ***/
empList.Sort(new GenericComparer("Name", true));

foreach (Employee em in empList)

public class Employee
public int ID { get; set; }
public string Name { get; set; }

Please Note: Class properties with complex data types like DateTime, Nullable might require special attention.

Thursday, May 21, 2009

Quick Quest - A Step Ahead

With a history of serving Kuvempu University for question paper generation, Quick Quest is now serving Scholar’s private college in Nigeria and receiving good feedback. The teacher using this software sent his experiences and I am very happy to publish his 'as is' words on main page of Quick Quest section.
This is a great encouragement to the development effort of Quick Quest.

Thanks to “The Scholar’s Private Collage, Akure, Nigeria” for choosing Quick Quest.

Sunday, April 12, 2009

LINQ Quick Start

If you are a new bee to LINQ (Language Integrated Query), stunned by looking at big books and longer web pages on it, here is the relaxing news. Read “LINQ: The Future of Data Access in C# 3.0” by Joe Hummel. He presented LINQ in a simple and effective manner.

This book with 60 pages quickly
give you pragmatic understanding of LINQ and push you to start using it in next hour. This is a good quick starter book in spades.

personally prefer reading such quick start books to get glimpse of technology and later pick thicker book or detailed tech web links to dig deeper.

Sunday, April 05, 2009


The saxophone playing in lavish and lazy mood on my home theater audio system. Half filled crystal clear mocktail glass is standing still on the table. It served me 12 times. Ice cubes in the container melting slowly. Few small pieces of pizza left out in the take-away box. Ceiling fan is blowing cool air. With aesthetic gratification, I am sleeping in my bed. Not fully slipped in dream world. My senses are still enjoying the atmosphere. My right leg big and second toe shaking unnoticeably. Laptop silently downloading recent updates and also scanning for Conficker warm which recently attracted much of attention all over the world. Television is in mute, “DOA: Dead or Alive” action was on. Washing machine is busy cleaning dirty cloths. My salary credit message is sitting unread in my mobile message inbox. The alarm is down counting to wake me up in next 2 minutes…
I felt I needed this lazy day after my busy project work schedule at office. I spent restless week. I am lying in my bed
like a reluctant chap. I got to hear this from somewhere my inside, "Is this what I wanted?"
I said- “of course Yes! Not sure about the future though. Whatever I have now is what all I use to dream in my college days. Life gifted me this day. One lazy day with
immense satisfaction!"

Why I Am Not Ready for IE8?

Microsoft’s free web browser Internet Explorer 8 is out for public use and it started appearing on windows update programs list as well. This time IE8 is offering a tight competition to its rivalry browsers by putting up noticeable features like accelerators, web slices, common color tab groups, security filters and better performance in comparison with its previous flavors.

It was impressive in the beginning when I started using IE8 with all its new features; on my aggressive usage below points came to notice.
  • Still few web sites are breaking
  • Tabs are not responsive if one of the tabs is struggling
  • Page rendering sometimes takes more processing time and
  • Browser speed is not always faster
Let me admit, I got addicted to Firefox though it’s a memory hogging browser. But it just doesn’t toddle when I am doing too many things on it. IE8 is an obtrusive update for IE7/IE6 users. Users like me have slim to none chances to migrate to IE8 yet.

Wednesday, March 18, 2009

MS Works for Windows 7.0!!

Windows Vista never ‘wow’ed me. Office 2003 installation did, when I was fiddling around MS office 2003 advanced installation options. I got to see 'Works for Windows 7.0'!!!

Did Microsoft have intuition about Windows 7 operating system in the year 2003? Before I think too wild, the description helped me to understand that 7.0 is the version of ‘Microsoft Works’ ;)

Sunday, March 15, 2009

One Evening Rain

I was too far from my home by the time I realize that its gonna rain nicely now. Its 7 eve and it’s my routine walk time. Weather turned darker. When I turn around, I saw slight panic in people’s eyes. It started raining. Those who were walking started running, two wheelers stopped near shops or big trees for shelter. People in car were closing windows. Many were kind of worried about getting drenched.

It's getting everything wet including me. I am standing looking up at the sky. The rain drops are falling on my face and I shut my eyes. I am feeling cold. My heart is more lively and warm. I am flying free. Thunder and lightning didn’t change what I'm feeling. I kept my walk as usual and as simple as it can. Many were looking at me strangely, some with a question mark on their face and few with confusion. They all had one common question-“Are you mad? It’s raining!!”
I just laughed at it! I couldn’t stop walking in the rain and so my thinking. We became so much ‘civilized’ that we now worry so much to enjoy natural happenings. We are worried more about what others think. Our etiquettes are not comfy with natural events. We fell sick when weather changes slightly. Our health is more delicate. We became complicated. Our day to day 'modern busy life' is making us to ignore the fact that ‘we are part of nature’.

Thursday, February 26, 2009

In This World - 13

Some relations created to break. Despite your highest level of honesty to them, they just break.

Thursday, February 19, 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."

"So, Barzini will move against you first. He'll set up a meeting with someone that you absolutely trust guaranteeing your safety and at that meeting you'll be assassinated."
My father made him an offer he couldn't refuse.
What was that?
Luca Brasi, held a gun to his head, and my father assured him, that either his brain or his signature would be on the contract.

"It's an old habit. I spent my life trying not to be careless. Women and children can be careless but not men"

"Every family has bad memories"

"Friendship and money...oil and water"

"That he got from you, that no"

"My credit good enough to buy you out?"

"The only wealth in this world is children. More than all the money, power on earth."

"Where does it say that you can't kill a cop?"

"Do you spend time with your family? Good. Because a man that doesn't spend time with his family can never be a real man."

"Times have changed. It's not like the Old Days, when we can do anything we want. A refusal is not the act of a friend."

"What have I ever done to make you treat me so disrespectfully? If you'd come to me in friendship, then this scum that ruined your daughter would be suffering this very day. And if by chance an honest man like yourself should make enemies, then they would become my enemies. And then they would fear you. "

"Mr. Corleone never asks a second favor once he's refused the first, understood?"

"I don't like violence, Tom. I'm a businessman; blood is a big expense."

"Michael, I lost all the venom, all the juice of youth. I lost the lust for women and now my mind is clear. My duty to god is clear."

"I have a problem and I want to find out if it is my problem or your problem."

"I don't need tough guys, I need more lawyers."

"I never wanted this for you. I work my whole life - I don't apologize - to take care of my family, and I refused to be a fool, dancing on the string held by all those bigshots. I don't apologize - that's my life - but I thought that, that when it was your time, that you would be the one to hold the string. Senator Corleone; Governor Corleone. Well, it wasn't enough time, Michael. It wasn't enough time."

"Don't ask me about my business, Kay."

"Don't overestimate the power of forgiveness"

"I have a sentimental weakness for my children and I've spoiled them as you can see. They talk when they should listen."

Wednesday, February 18, 2009

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 methods. Now, we just have to register the windows service executable once and whenever there is an update, stop the service, replace the DLL and start the service.

Sunday, February 15, 2009

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't my cup of tea
  • As you get older 3 things happen. The first is your memory goes, and I can't remember the other two...