A Perfect Harmony
These posts are random topics that caught my attention ...
Sunday, August 03, 2014
Xiaomi MI3 Smart phone
Saturday, August 02, 2014
Friends not forever ? Why?
Both Friends will think that they are 2 busy
They will not contact each other thinking it may be disturbing
As time passes, both will think "let the other contact me".
After a while, each will think "why should I contact first?".
Here your love will gradually be converted to pride.
Finally,without contact the memory becomes weak.
They forget each other....
One day they will meet and blame one another.
So let's Keep in touch my dear friend.
I don’t wanna be one of those kind of friends.
So here I am saying,I miss you! And hope that, All is well with you?
Life is no fun without FRIENDS
- Create a whatsapp group on mobile
- Have a mailing list
- Hangout online on google together during the happy hours
- Keep looking out for some new means to be virtually together.
Trusted ways for a second income
There are a lot of fake advertisements on online jobs that promise to pay for the work you do online but they don't.
The below list is a trusted way to earn a second income for you.
Thursday, March 04, 2010
Punjab To Organise 2010 Kabaddi World Cup
The state government is all set to organise this world cup on a very large scale and is expecting teams from countries like Britain, the US, Pakistan, Iran, Italy, Canada and Australia.
"The Kabaddi World Cup will begin around the end of March and continue till the first week of April. Punjab has given gradation to Kabaddi which was denied to it for the past 62 years," said state Deputy Chief Minister Sukhbir Singh Badal, who is also the Punjab sports minister.
He added, "To uplift this traditional sport of Punjab and to boost the morale of players, the state government has announced Rs.1 crore in prize money for the winner and Rs.50 and 25 lakh respectively for the first and second runner up teams."
In a bid to ensure live telecast of matches, the Punjab sports department has already invited expression of interest from TV channels.
The Kabaddi World Cup is scheduled from March 31 to April 10. The matches will be held at eight different cities of Punjab, sources in the state sports department said. The final match will be played at the Guru Nanak stadium in Ludhiana, the industrial hub of the state.
Thursday, February 18, 2010
India Rocks at the second test Against SA

It was a nail biting finish in the second test against SA to retain No. 1 ranking in test cricket. The result was uncertain till the last minute.
Thanks to Bhajji for snatching the Morkel's wicket. The SA tail looked very steady in keeping up their wickets. Amla was amazing in the last test and the current one.
Test cricket is a wonderful form of cricket. Such games need to be promoted to keep it alive against T20 entertainer.
Thursday, February 04, 2010
Aggregation Vs Composition
Introduction:
Apart from programming, a lot of my spare time sat at the computer is spent reading group, blog postings, etc from other developers. One particular posting that caught my eye recently provoked a lot of response and mixed answers to a question posed by a poster. This question was, 'What is the difference between composition and aggregation and how would I express it in my programs'?
Reading the responses to the post, I had a mixed reaction, many of the responses reflected my understanding of the difference, others turned my understanding right around and explained composition as my understanding of aggregation.
This short article will put forward my understanding of composition and aggregation and how I would express it in C# code
.
Composition:
As we know, inheritance gives us an 'is-a' relationship. To make the understanding of composition easier, we can say that composition gives us a 'part-of' relationship. Composition is shown on a UML diagram as a filled diamond (see Figure 1).
If we were going to model a car, it would make sense to say that an engine is part-of a car. Within composition, the lifetime of the part (Engine) is managed by the whole (Car), in other words, when Car is destroyed, Engine is destroyed along with it. So how do we express this in C#?
public class Engine
{
. . .
}
public class Car
{
Engine e = new Engine();
.......
}
As you can see in the example code above, Car manages the lifetime of Engine.
Aggregation:
If inheritance gives us 'is-a' and composition gives us 'part-of', we could argue that aggregation gives us a 'has-a' relationship. Within aggregation, the lifetime of the part is not managed by the whole. To make this clearer, we need an example. For the past 12+ months I have been involved with the implementation of a CRM
system, so I am going to use part of this as an example.
The CRM system has a database of customers and a separate database that holds all addresses within a geographic area. Aggregation would make sense in this situation, as a Customer 'has-a' Address. It wouldn't make sense to say that an Address is 'part-of' the Customer, because it isn't. Consider it this way, if the customer ceases to exist, does the address? I would argue that it does not cease to exist. Aggregation is shown on a UML diagram as an unfilled diamond (see Figure 2).
So how do we express the concept of aggregation in C#? Well, it's a little different to composition. Consider the following code:
public class Address
{
. . .
}
public class Person
{
private Address address;
public Person(Address address)
{
this.address = address;
}
. . .
}
Person would then be used as follows:
Address address = new Address();
Person person = new Person(address);
or
Person person = new Person( new Address() );
As you can see, Person does not manage the lifetime of Address. If Person is destroyed, the Address still exists. This scenario does map quite nicely to the real world.
Conclusion:
As I said at the beginning of the article, this is my take on composition and aggregation. Making the decision on whether to use composition or aggregation should not be a tricky. When object modelling, it should be a matter of saying is this 'part-of' or does it 'have-a'?
Monday, January 11, 2010
Even Google eyes for Tax Loopholes
I thought only the software engineers look out for Tax loop holes :) I was wrong even software gaints do. Check out this Link.
Saturday, January 09, 2010
Elvis Presley
"When I was a child, ladies and gentlemen, I was a dreamer. I read comic books, and I was the hero of the comic book. I saw movies, and I was the hero in the movie. So every dream I ever dreamed has come true a hundred times...I learned very early in life that: ‘Without a song, the day would never end; without a song, a man ain’t got a friend; without a song, the road would never bend - without a song.' So I keep singing a song. Goodnight. Thank you."
-From his acceptance speech for the 1970 Ten Outstanding Young Men of the Nation Award. Given at a ceremony on January 16, 1971. (Elvis quotes from copyrighted material with lines from the song Without a Song.)
Whats the name of current Dalai Lama?
Until recently i was hoping that the Tibet revolutionist fighting chinese is 'Dalai Lama'. Actually in Tibet there is a temple of Buddha and a league of Monks. The head monk is called 'Dalai Lama'. similar to the pope in Vatican city.
Currently we have Tenzin Gyatso as the 14th 'Dalai Lama
