Tuesday, July 21, 2009

Interesting !!!!!!!!!! (Smart Wife)

This husband who is out of town for a couple of months writes to his wife.
Dear Sweetheart, I can't send my salary this month, so I am sending 100 kisses.
You are my sweetheart Your husband
_________________________________________

His wife replied back after some days to her husband:

Dearest sweetheart, Thanks for your 100 kisses, I am sending the expenses details.

1. The Milk man agreed on 2 kisses for one month's milk.
2. The electricity man only agreed after 7 kisses.
3. Your house owner is coming every day and taking two or three kisses instead of the rent.
4. Supermarket owner did not accept kisses only, so I have given him some other items........
5. Other expenses 40 kisses Please don't worry for me, I have a remaining balance of 35 kisses and I hope I can complete the month using this balance.

Shall I plan same way for next months, Please Advise! Your Sweet Heart

Thanks to Darling

Students (Boys) Hobby

“A new lady teacher came to teach 8th standard students.

As it was the first day, she gave her intro, and asked all the
students to Introduce themselves with name and hobby.

She said, " Let's start with the boys first."

Boys start giving their intro...

First boy: "My name is John, and my hobby is to see bubble in the bathtub."

Teacher was confused to listen but said, "Interesting.

Well, Ok. In fact, we must be honest in telling the hobby. And after
all there is essentially a child in each of us. So it's ok John. Yes
next."

Second boy: "Myself Peter and my hobby is to see bubble in the bathtub."

Teacher now got surprised and said, "Good. I like the spirit of
supporting a friend. Ok next. "

Third boy: "I'm Smith and my hobby is to see bubble in the bathtub."

Teacher: "Guys are you joking or what? Please be sincere. Ok next."

This continues...

and the last boy stands up "I'm Harry and my hobby is to see bubble in
the Bathtub. "

Exhausted, the teacher said, "I don't think I will be able to teach
un-grown boys for long.

Anyway, now the girls please. "

First girl: "I'm Julie and my hobby is to see birds."

Teacher: "Good. At last I got something different. Ok next."

Second girl: "I'm Ruby and I like to collect perfumes."

Teacher "Now it's like educated grown up girls. Ok next. You sweet girl;

Yes you... "

Most beautiful girl of the class:

"Madam, my name is 'Bubble', and my hobby is to take bath three times a day."

Teacher Fainted!!! "

Monday, June 29, 2009

Year 2038.. Again the replica of Y2K

Note: This is just for Your Information only, Please don’t try this. This is true and if you do this then your network based applications might not work.

The Year 2038 Problem

Test it now.

Steps...

1. Login to yahoo messenger

2. Send instant message to anyone - fine its working...

3. Now, change your system date to 19-Jan-2038, 03:14:07 AM or above

4. Confirm weather your date is changed

5. Again send instant message to anyone...

Your YM crashes....

* * * YES ALL NETWORK BASED APPLICATION WILL NOT WORK NOW * * *

Why.....

What is it?

Starting at GMT 03:14:07, Tuesday, January 19, ! 2038, It is expected
to see lots of systems around the world breaking magnificently:
satellites falling out of orbit, massive power outages (like the 2003 North American blackout), hospital life support system failures, phone system interruptions, banking errors, etc. One second after this critical second, many of these systems will have wildly inaccurate date settings, producing all kinds of unpredictable consequences. In short, many of the dire predictions for the year 2000 are much more likely to actually occur in the year 2038!
Consider the year 2000 just a dry run. In case you think we can sit on this issue for another 30 years before addressing it, consider that reports of temporal echoes of the 2038 problem are already starting to appear in future date calculations for mortgages and vital statistics!

In the first month of the year 2038 C.E. many com! Putters will encounter a date-related bug in their operating systems and/or in the applications they run. This can result in incorrect and wildly inaccurate dates being reported by the operating system and/or applications. The effect of this bug is hard to predict, because many applications are not prepared for the resulting "skip" in reported time anywhere from 1901 to a "broken record" repeat of the reported time at the second the bug occurs. Also, may make some small adjustment to the actual time the bug expresses itself. This bug to cause serious problems on many platforms, especially UNIX and Unix-
like platforms, because these systems will "run out of time".

What causes it?

Time_t is a data type used by C and C++ programs to represent dates and times internally. (Windows programmers out there might also recognize it a! s the basis for the CTime and CTimeSpan classes in
MFC.) time_t is actually just an integer, a whole number, that counts the number of seconds since January 1, 1970 at 12:00 AM Greenwich Mean Time. A time_t value of 0 would be 12:00:00 AM (exactly midnight) 1-Jan-1970, a time_t value of 1 would be 12:00:01 AM (one second after midnight) 1-Jan-1970, etc.. some example times and their exact time_t representations:

Date & time time_t representation

1-Jan-1970, 12:00:00 AM GMT 0

1-Jan-1970, 12:01:00 AM GMT 60

1-Jan-1970, 01:00:00 AM GMT 3 600

2-Jan-1970, 12:00:00 AM GMT 86 400

1-Jan-1971, 12:00:00 AM GMT 31 536 000

1-Jan-1972, 12:00:00 AM GMT 63 072 000

1-Jan-2038, 12:00:00 AM GMT 2 145 916 800

19-Jan-2038, 03:14:07 AM GMT 2 147 483 647


By the year 2038, the time_t representation for the current time will be over 2 140 000 000. And that's the problem. A modern 32-bit computer stores a "signed integer" data type, such as time_t, in 32 bits. The first of these bits is used for the positive/negative sign of the integer, while the remaining 31 bits are used to store the number itself.

The highest number these 31 data bits can store works out to exactly 2147 483 647. A time_t value of this exact number, 2 147 483 647, represents January 19, 2038, at 7 seconds past 3:14 AM Greenwich Mean Time. So, at 3:14:07 AM GMT on that fateful day, every time_t used in a 32-bit C or C++ program will reach its upper limit.

One second later, on 19-January-2038 at 3:14:08 AM GMT, disaster strikes.

When a signed integer reaches its max! imum value and then gets incremented, it wraps around to its lowest possible negative value. This means a 32-bit signed integer, such as a time_t, set to its maximum value of 2 147483 647 and then incremented by 1, will become -2 147 483 648.

Note that "-" sign at the beginning of this large number. A time_t value of -2 147 483 648 would represent December 13, 1901 at 8:45:52 PM GMT.

So, if all goes normally, 19-January-2038 will suddenly become 13-December-1901 in every time_t across the globe, and every date calculation based on this figure will go haywire. And it gets worse.
Most of the support functions that use the time_t data type cannot handle negative time_t values at all. They simply fail and return an error code.

Refer to the below link for more info:
http://en.wikipedia.org/wiki/Year_2038_problem

Wednesday, May 27, 2009

Interesting.....Don't miss last two Questions...

Some, rather most organizations reject his CV today because he has changed jobs frequently (10 in 14 years). My friend, the 'job hopper' (referred here as Mr. JH), does not mind it.... well he does not need to mind it at all. Having worked full-time with 10 employer companies in just 14 years gives Mr. JH the relaxing edge that most of the 'company loyal' employees are struggling for today. Today, Mr. JH too is laid off like some other 14-15 year experienced guys - the difference being the latter have just worked in 2-3 organizations in the same number of years. Here are the excerpts of an interview with Mr. JH:

Q: Why have you changed 10 jobs in 14 years?
A: To get financially sound and stable before getting laid off the second time.

Q: So you knew you would be laid off in the year 2009?
A: Well I was laid off first in the year 2002 due to the first global economic slowdown. I had not got a full-time job before January 2003 when the economy started looking up; so I had struggled for almost a year without job and with compromises.

Q: Which number of job was that?
A: That was my third job.

Q: So from Jan 2003 to Jan 2009, in 6 years, you have changed 8 jobs to make the count as 10 jobs in 14 years?
A: I had no other option. In my first 8 years of professional life, I had worked only for 2 organizations thinking that jobs are deserved after lot of hard work and one should stay with an employer company to justify the saying 'employer loyalty'. But I was an idiot.

Q: Why do you say so?
A: My salary in the first 8 years went up only marginally. I could not save enough and also, I had thought that I had a 'permanent' job, so I need not worry about 'what will I do if I lose my job'. I could never imagine losing a job because of economic slowdown and not because of my performance. That was January 2002.

Q: Can you brief on what happened between January 2003 and 2009.
A: Well, I had learnt my lessons of being 'company loyal' and not 'money earning and saving loyal'. But then you can save enough only when you earn enough. So I shifted my loyalty towards money making and saving - I changed 8 jobs in 6 years assuring all my interviewers about my stability.

Q: So you lied to your interviewers; you had already planned to change the job for which you were being interviewed on a particular day?
A: Yes, you can change jobs only when the market is up and companies are hiring. You tell me - can I get a job now because of the slowdown? No. So one should change jobs for higher salaries only when the market is up because that is the only time when companies hire and can afford the expected salaries.

Q: What have you gained by doing such things?
A: That's the question I was waiting for. In Jan 2003, I had a fixed salary (without variables) of say Rs. X p.a. In January 2009, my salary was 8X. So assuming my salary was Rs.3 lakh p.a. in Jan 2003, my last drawn salary in Jan 2009 was Rs.24 lakh p.a. (without variable). I never bothered about variable as I had no intention to stay for 1 year and go through the appraisal process to wait for the company to give me a hike.

Q: So you decided on your own hike?
A: Yes, in 2003, I could see the slowdown coming again in future like it had happened in 2001-02. Though I was not sure by when the next slowdown would come, I was pretty sure I wanted a 'debt-free' life before being laid off again. So I planned my hike targets on a yearly basis without waiting for the year to complete.

Q: So are you debt-free now?
A: Yes, I earned so much by virtue of job changes for money and spent so little that today I have a loan free 2 BR flat (1200 sq. feet) plus a loan free big car without bothering about any EMIs. I am laid off too but I do not complain at all. If I have laid off companies for money, it is OK if a company lays me off because of lack of money.

Q: Who is complaining?
A: All those guys who are not getting a job to pay their EMIs off are complaining. They had made fun of me saying I am a job hopper and do not have any company loyalty. Now I ask them what they gained by their company loyalty; they too are laid off like me and pass comments to me - why will you bother about us, you are already debt-free. They were still in the bracket of 12-14 lakh p.a. when they were laid off.

Q: What is your advice to professionals?
A: Like Narayan Murthy had said - love your job and not your company because you never know when your company will stop loving you. In the same lines, love yourself and your family needs more than the company's needs. Companies can keep coming and going; family will always remain the same. Make money for yourself first and simultaneously make money for the company, not the other way around.

Q: What is your biggest pain point with companies?
A: When a company does well, its CEO etc will address the entire company saying, 'well done guys, it is YOUR company, keep up the hard work, I am with you." But when the slowdown happens and the company does not do so well, the same CEO etc will say, "It is MY company and to save the company, I have to take tough decisions including asking people to go." So think about your financial stability first; when you get laid off, your kids will complain to you and not your boss.