Site menu:

Recent Posts

Archives

Site search

Categories

Links:

Subscribe to Feed

Your life is a reflection of you

A son and his father were walking on the mountains.

Suddenly, his son falls, hurts himself and screams: “AAAhhhhhhhhhhh!!!”

To his surprise, he hears the voice repeating, somewhere in the mountain: “AAAhhhhhhhhhhh!!!”

Curious, he yells: “Who are you?”

He receives the answer: “Who are you?” Read more »

An interesting management lesson

One fine day, a bus driver went to the bus garage, started his bus, and drove off along the route. No problems for the first few stops - a few people got on, a few got off, and things went generally well.

At the next stop, however, a big hulk of a guy got on. Six feet eight, built like a wrestler, arms hanging down to the ground. He glared at the driver and said, “Big John doesn’t pay!” and sat down at the back. Read more »

Some Inspiring Quotes

1) Never expect things to happen..struggle and make them happen.
never expect yourself to be given a good value….create a value of your own

2) If a drop of water falls in lake there is no identity.But if it falls on
a leaf of lotus it shine like a pearl.so choose the best place where you
would shine.. Read more »

Another Y2K problem in 2038 ?

:::Year 2038..Again the replica of Y2K
[ 19-January-2038 will suddenly become 13-December-1901]

Note: This is just for you information only, Please Don’t try this. This is true and if you do this then your network based applications will 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 ur system date to 19-Jan-2038, 03:14:07 AM or above

4. Confirm weather ur date is changed

5. again send instant message to anyone…

Your YM crahes….

* * * 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.

In the first month of the year 2038 C.E. many computers 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++ prog ram s to represent dates and times internally. (Windows prog ram mers out there might also recognize it as 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 2 147 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++ prog ram 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 maximum 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 147 483 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.

What is the Year 2038 problem?

The Year 2000 problem is understood by most people these days because of the large amount of media attention it received.

Most programs written in the C programming language are relatively immune to the Y2K problem, but suffer instead from the Year 2038 problem. This problem arises because most C programs use a library of routines called the standard time library . This library establishes a standard 4-byte format for the storage of time values, and also provides a number of functions for converting, displaying and calculating time values.

The standard 4-byte format assumes that the beginning of time is January 1, 1970, at 12:00:00 a.m. This value is 0. Any time/date value is expressed as the number of seconds following that zero value. So the value 919642718 is 919,642,718 seconds past 12:00:00 a.m. on January 1, 1970, which is Sunday, February 21, 1999, at 16:18:38 Pacific time (U.S.). This is a convenient format because if you subtract any two values, what you get is a number of seconds that is the time difference between them. Then you can use other functions in the library to determine how many minutes/hours/days/months/years have passed between the two times.

If you have read How Bits and Bytes Work, you know that a signed 4-byte integer has a maximum value of 2,147,483,647, and this is where the Year 2038 problem comes from. The maximum value of time before it rolls over to a negative (and invalid) value is 2,147,483,647, which translates into January 19, 2038. On this date, any C programs that use the standard time library will start to have problems with date calculations.

This problem is somewhat easier to fix than the Y2K problem on mainframes, fortunately. Well-written programs can simply be recompiled with a new version of the library that uses, for example, 8-byte values for the storage format. This is possible because the library
encapsulates the whole time activity with its own time types and functions (unlike most mainframe programs, which did not standardize their date formats or calculations). So the Year 2038 problem should not be nearly as hard to fix as the Y2K problem was.

An alert reader was kind enough to point out that IBM PC hardware suffers from the Year 2116 problem. For a PC, the beginning of time starts at January 1, 1980, and increments by seconds in an unsigned 32-bit integer in a manner similar to UNIX time. By 2116, the integer overflows.

Windows NT uses a 64-bit integer to track time. However, it uses 100 nanoseconds as its increment and the beginning of time is January 1, 1601, so NT suffers from the Year 2184 problem.

On this page, Apple states that the Mac is okay out to the year 29,940!

Eve talked with GOD one day

“Lord, I have a problem!”

“What’s the problem, Eve?”

“Lord, I know you’ve created me and have provided this beautiful garden and all of these wonderful animals and that hilarious comedy snake, but I’m just not happy.”

“Why is that, Eve?” came the reply from above.

“Lord, I am lonely. And I’m sick to death of apples.” “Well, Eve, in that case, I have a solution. I shall create a man for you.”

“What’s a ‘man,’ Lord?”

“This man will be a flawed creature, with aggressive tendencies, an enormous ego and an inability to empathize or listen to you properly, he’ll basically give you a hard time. He’ll be bigger, faster, and more muscular than you. He’ll be really good at fighting and kicking a ball about and hunting fleet-footed ruminants, But, he’ll be pretty good in the sack.”

“I can put up with that,” says Eve, with an ironically raised eyebrow.

“Yeah well, he’s better than a poke in the eye with a burnt stick. But, there is one condition.”

“What’s that, Lord?”

“You’ll have to let him believe that I made him first.”

:D :D :D

The Power of Love

Hugs and Cuddles Have Long-Term Effects

How often do you hug? Do you like to sit close and hold each other’s hands? Recent research shows it’s good for your health. Between loving partners, between parents and children, or even between close friends, physical affection can help the brain, the heart and other body systems you might never have imagined.

For centuries, artists have examined love through poetry, painting, music and countless other arts. In the past few years, scientists supported by NIH have begun to understand the chemistry and biology of love.

At the center of how our bodies respond to love and affection is a hormone called oxytocin. Most of our oxytocin is made in the area of the brain called the hypothalamus. Some is released into our bloodstream, but much of its effect is thought to reside in the brain.

Oxytocin makes us feel good when we’re close to family and other loved ones, including pets. It does this by acting through what scientists call the dopamine reward system. Dopamine is a brain chemical that plays a crucial part in how we perceive pleasure. Many drugs of abuse act through this system. Problems with the system can lead to serious depression and other mental illness.

Oxytocin does more than make us feel good. It lowers the levels of stress hormones in the body, reducing blood pressure, improving mood, increasing tolerance for pain and perhaps even speeding how fast wounds heal. It also seems to play an important role in our relationships. It’s been linked, for example, to how much we trust others.

Dr. Kathleen C. Light of the University of North Carolina at Chapel Hill studies oxytocin in married couples and those permanently living together. She and her colleagues invite couples into the laboratory and ask them to spend at least 10 minutes holding hands and talking together about a happy memory, usually about how they met and fell in love.

“What we’re trying to do in a lab situation,” Light explains, “is recreate some of the experiences in real life where they felt close.”

The couples then get their blood drawn and fill out a questionnaire about the quality of their relationship. When the researchers compared their responses to the levels of oxytocin in their blood, they found that people who have a more positive relationship with their partner have higher levels of oxytocin.

Light and her colleagues are now trying to understand how conflict and other factors in relationships affect a couple’s oxytocin levels. The results of those studies aren’t yet in.

One thing researchers can say with certainty is that physical contact affects oxytocin levels. Light says that the people who get lots of hugs and other warm contact at home tend to have the highest levels of oxytocin in the laboratory. She believes that frequent warm contact may somehow prime the oxytocin system and make it quicker to turn on whenever there’s warm contact, even in a laboratory.

The same holds true for mothers and infants: they both produce higher levels of oxytocin when they have lots of warm contact with each other. “Those women who hold their babies more at home have higher responses when they hold their baby in the lab,” Light says.

Much of what we know about oxytocin has come from research in animals. Mother rats, for instance, can stimulate oxytocin in their pups by licking and grooming them. This loving care has long-term effects.

When researchers separate pups from their mothers for 10-15 minutes a day and then reunite them, many mothers are so glad to see their pups that they lick and groom them intensively. If the separation lasts for several hours, however, it can have the opposite effect; the mother won’t lick and groom her pups. Some mothers just never lick and groom their pups when they come back.

Pups that are groomed a lot when they’re reunited with their mothers become more comfortable exploring new environments. The ignored ones develop more anxiety disorders, produce higher levels of stress hormones and have higher blood pressure.

Research from other animals, including monkeys, confirms that the quality of care a mother gives her offspring can have long-term effects on their personality characteristics and mental health as well as physical problems like heart disease.

Animal research is also shedding light on oxytocin’s role in other social bonds. Mice that lack oxytocin can’t recognize other mice, even after repeated encounters. When they’re given oxytocin, however, they can recognize other mice again.

Dr. C. Sue Carter, co-director of the Brain Body Center at the University of Illinois at Chicago, has been studying oxytocin in prairie voles, which form strong bonds with their mates. When the researchers block oxytocin, the voles don’t form such bonds. Oxytocin is especially important for females to form bonds with their mates. In males, a related hormone called vasopressin also plays a role.

Oxytocin and vasopressin aren’t miracle compounds, however. Giving these hormones to other animals—even other types of voles that don’t normally form social bonds—doesn’t suddenly cause them to form loving bonds. Animals must have the proper genes to respond to these hormones in the first place.

“Most of us are genetically programmed to form social bonds,” Carter explains, relating the results back to people. But the ability to form close bonds, she says, is shaped by early experiences. In the end, a complex interaction of genes and experience makes some people form social bonds more easily than others.

We may not yet fully understand how love and affection develop between people—or how love affects our health—but research is giving us some guidance. Give those you love all the affection you can. It can’t hurt, and it may bring a bounty of health benefits.

Some advice to all new mothers

* Mothers should have as much warm contact with their infants as possible, especially during the first few weeks of life. If you can’t do this, though—because of illness, a premature birth or other reason—just give all the love and affection you can.

* Mothers who’ve had a cesarean section may need even more warm contact time, because they haven’t had the increase in oxytocin that labor produces.

* Couples that have warm contact several times a day—hugging, holding hands, sitting close, etc.—have higher oxytocin levels than those that don’t.

* Some studies have shown a decrease in stress hormones with massage, for both the person getting the massage and the one giving it.

* Light thinks that anything that helps you feel a sense of support and a bond with someone—even by phone or email—may help activate your oxytocin system.

Are you Bored ?

Are you really bored? Try these things :

Act like you just met your friend for the first time
***
Announce your candidacy for President
***
Annoy total strangers
***
Ask a question nobody can answer
***
Bark at people in the grocery store
***
Be a monk…for a day
***
Burp the Happy Birthday song
***
Change your name…daily
***
Dare to be stupid
***
Exorcise a ghost
***
Go into a bar and ask for a Molotov Cocktail
***
Go to your local museum, and try to get kicked out
***
Hold your hand
***
Insist everyone calls you “Your highness”
***
Kiss your elbow, if you can
***
Practice your arm pit farting skills
(Advanced participants try with your hand cupped on the back of your knee)
***
Pretend you are God
***
Read a book a sentence a day
***
Scratch yourself - Go ahead, scratch yourself now.

Why teamwork is always important……

There are few jobs that don’t require us to interact with colleagues in a team. For the most part, we need to work cohesively with others at our workplaces to achieve the organisational goals.

But how many of us can really claim to be good teammates? Here are a few ways to help you become a more effective team member. Read more »

Decision Making : An interesting insight

A group of children were playing near two railway tracks, one still in use while the other disused. Only one child played on the disused track, the rest on the operational track.

The train is coming, and you are just beside the track interchange. You can make the train change its course to the disused track and save most of the kids. However, that would also mean the lone child playing by the disused track would be sacrificed. Or would you rather let the train go its way?

Let’s take a pause to think what kind of decision we could make…………….

..

..

scroll down

scroll down further

Most people might choose to divert the course of the train, and sacrifice only one child. You might think the same way, I guess. Exactly, I thought the same way initially because to save most of the children at the expense of only one child was rational decision most people would make, morally and emotionally. But, have you ever thought that the child choosing to play on the disused track had in fact made the right decision to play at a safe place?

Nevertheless, he had to be sacrificed because of his ignorant friends who chose to play where the danger was. This kind of dilemma happens around us everyday. In the office, community, in politics and especially in a democratic society, the minority is often sacrificed for the interest of the majority, no matter how foolish or ignorant the majority are, and how farsighted and knowledgeable the minority are. The child who chose not to play with the rest on the operational track was sidelined. And in the case he was sacrificed, no one would shed a tear for him.

The great critic Leo Velski Julian who told the story said he would not try to change the course of the train because he believed that the kids playing on the operational track should have known very well that track was still in use, and that they should have run away if they heard the train’s sirens. If the train was diverted, that lone child would definitely die because he never thought the train could come over to that track! Moreover, that track was not in use probably because it was not safe. If the train was diverted to the track, we could put the lives of all passengers on board at stake! And in your attempt to save a few kids by sacrificing one child, you might end up sacrificing hundreds of people to save these few kids.

While we are all aware that life is full of tough decisions that need to be made, we may not realize that hasty decisions may not always be the right one.

“Remember that what’s right isn’t always popular… and what’s popular isn’t always right.”

Everybody makes mistakes; that’s why they put erasers on pencils.

How Smart Is Your Right Foot?

This is so funny that it will boggle your mind. And you will keep
trying it at least 50 more times to see if you can outsmart your
foot.

But you can’t!!!

1. While sitting at your desk, lift your right foot off the floor
and make clockwise circles with it.

2. Now, while doing this, draw the number “6″ in the air with your
right hand. Your foot will change direction!!!

I told you so… And there is nothing you can do about it.
Make sure you pass this on to your friends…
They won’t be able to either.