Friday, November 30, 2007

Bad Bad Girls

I was listening to my ipod .. and this song caught my attention.. sounds very differnt from the regular girly songs in Indian Cinema. And also reminds me of how I used to tease my mom, when I am a kid. :). Here is the lyrics..

Turn ur ipod wheel to Chak de India and sing along......

Album: Chak de India
Song: Bad Bad Girls

--------------------------------------------------------------------------------

BAD BAD GIRLS:

Music: Salim – Sulaiman
Lyrics: Jaideep Sahni
Singer: Anushka Manchanda

Bad bad girls
Na rotiyaan khilayegi na choti banayegi
She won’t feed you rotis (bread), she won’t braid hair
Na palkein jhukayegi chalako
And neither will she lower her gaze
Na chat pe bulayegi na nange pair aayegi na sar pe bithayegi chalako
She won’t call you up on the terrace, she won’t come barefoot, and she won’t put you on a pedestal
Bad bad girls (4)
1,2,3,4,5,6,7,8

na beemar hai, na bukhar hai
We are not sick, no fever
khud se thoda humko pyar hai
We are a little in love with ourselves
na beemar hai, na bukhar hai oh oh oh
tu lohar to hum sonar hain
If you’re a blacksmith then we are goldsmiths
kar denge jo karna vaar hai
We’ll unleash our power
tu lohar to hum sonar hain oh oh oh
Bad bad girls (4)

Na chudi hai na chandi hai, na udti paigaani hai
No bangles, no silver, no flying scarves
Na kisi ki yeh baani hai chalako
She’s no goddess
Na kisi ki saheli hai na kisi ki paheli hai
She’s no one’s friend, nor is she a puzzle
Pasine ki tareli hai.chalako
She’s a mass of sweat
Bad bad girls (4)

Akhiyan na dikha, gazalein na suna
Don’t try to flatter or quote poetry to us
Duniya kya hai humko hai pata
We know what the world is like
Akhiyan na dikha, gazalein na suna oh oh oh
Kya yahan bhala, kya yahan bura
We know what’s good and what’s bad
Karna kya hai humko hai pata
And we know how to take care of ourselves
Kya yahan bhala, kya yahan bura oh oh oh
Bad bad girls (4)

Na akhiyan milayegi, na sakhiyan bulayegi
She won’t flirt, she won’t spend time with her friends
Na nakhrein uthayegi chalako
She won’t put up with airs
Na gori hoke aayegi na chori se manayegi
She won’t try to please, she won’t appease
Na bori mein samayegi chalako
She won’t hide herself
Bad bad girls (4)

Remote Access

When you are in a network, to access ur application on other developer's machine, you can directly use, their ip address.
Ex: instead of http://localhost:7001/console/ etc

just replace the localhost:7001 with their ip address.

ex:
http://10.27.135.105/console/

so cool =)

Thursday, November 29, 2007

Session time out in J2EE application

Hmmm.. kind of forgot this one. :)

Session time out can be set from web.xml's session config in mins
here is the snippet

2

Things You Didn't Know About You

1) Your Skin Has Four Colors
All skin, without coloring, would appear creamy white. Near-surface blood vessels add a blush of red. A yellow pigment also tints the canvas. Lastly, sepia-toned melanin, created in response to ultraviolet rays, appears black in large amounts. These four hues mix in different proportions to create the skin colors of all the peoples of Earth.


2) The World Laughs with You

Just as watching someone yawn can induce the behavior in yourself, recent evidence suggests that laughter is a social cue for mimicry. Hearing a laugh actually stimulates the brain region associated with facial movements. Mimicry plays an important role in social interaction. Cues like sneezing, laughing, crying and yawning may be ways of creating strong social bonds within a group.

3)Big Brains Cause Cramped Mouths
Evolution isn't perfect. If it were, we might have wings instead of wisdom teeth. Sometimes useless features stick around in a species simply because they're not doing much harm. But wisdom teeth weren't always a cash crop for oral surgeons. Long ago, they served as a useful third set of meat-mashing molars. But as our brains grew our jawbone structure changed, leaving us with expensively overcrowded mouths.


4) Cell Hairs Move Mucus
Most cells in our bodies sport hair-like organelles called cilia that help out with a variety of functions, from digestion to hearing. In the nose, cilia help to drain mucus from the nasal cavity down to the throat. Cold weather slows down the draining process, causing a mucus backup that can leave you with snotty sleeves. Swollen nasal membranes or condensation can also cause a stuffed schnozzle.

5) Much of a Meal is Food For Thought
Though it makes up only 2 percent of our total body weight, the brain demands 20 percent of the body's oxygen and calories. To keep our noggin well-stocked with resources, three major cerebral arteries are constantly pumping in oxygen. A blockage or break in one of them starves brain cells of the energy they require to function, impairing the functions controlled by that region. This is a stroke.


6)Bones Break (Down) to Balance Minerals
In addition to supporting the bag of organs and muscles that is our body, bones help regulate our calcium levels. Bones contain both phosphorus and calcium, the latter of which is needed by muscles and nerves. If the element is in short supply, certain hormones will cause bones to break downeupping calcium levels in the bodyeuntil the appropriate extracellular concentration is reached.

7) Body Position Affects Your Memory
Can't remember your anniversary, hubby? Try getting down on one knee. Memories are highly embodied in our senses. A scent or sound may evoke a distant episode from one's childhood. The connections can be obvious (a bicycle bell makes you remember your old paper route) or inscrutable. A recent study helps decipher some of this embodiment. An article in the January 2007 issue of Cognition reports that episodes from your past are remembered faster and better while in a body position similar to the pose struck during the event.

8) Your Stomach Secretes Corrosive Acid
There's one dangerous liquid no airport security can confiscate from you: It's in your gut. Your stomach cells secrete hydrochloric acid, a corrosive compound used to treat metals in the industrial world. It can pickle steel, but mucous lining the stomach wall keeps this poisonous liquid safely in the digestive system, breaking down lunch.

Tuesday, November 20, 2007

Breakthur in Stem Cells Research

Very interesting breakthru in Stem cell research

Researchers have transformed ordinary human skin cells into batches of cells that look and act like embryonic stem cells -- but without using cloning technology and without making embryos.

Their breakthroughs, reported on Tuesday, could make possible the long-sought goal of tailor-made medicine, but without the political, scientific and ethical roadblock of using human eggs or embryos.

The White House immediately welcomed the development, given President George W. Bush's long opposition to embryo research, even as scientists said the finding should not be the end of such research.

"This work represents a tremendous scientific milestone -- the biological equivalent of the Wright Brothers' first airplane," said Dr. Robert Lanza of Advanced Cell Technology, a Massachusetts company working in the same field.

"It's not practical to use right now, but it might be in a few years. This is truly the Holy Grail -- to be able to take a few cells from a patient -- say a cheek swab or few skin cells -- and turn them into stem cells in the laboratory."


FOUR GENES

Both teams used just four genes to transform ordinary skin cells called fibroblasts into induced pluripotent stem cells -- iPS cells for short.

Both teams said the new cells are not ready to use in people yet because they used a type of virus called a retrovirus to carry the new genes into the skin cells. It is not clear whether this virus might cause genetic mutations that could cause cancer or other side effects.

"Scientists may yet find that embryonic stem cells are more powerful," Harkin said in a statement. "We need to continue to pursue all alternatives as we search for treatments for diabetes, Parkinson's, and spinal cord injuries."

More info: http://www.reuters.com/article/newsOne/idUSN2058175020071121?pageNumber=1&virtualBrandChannel=0

Monday, November 19, 2007

Learning Annex NYC Expo

I read a lot about Learning Annex and all the big shots speaking in their seminars. Never thought I will attend one..until today.. Thanks to Metro, free local newspaper, I read everyday in my 5 min subway ride to office, gave me a coupon code to attend the seminar for free in NYC(Jacob Javits Center) this weekend. I was glad I was able to enroll on Thursday evening.

We reached there around 4PM. Actually the expo was running for the whole wk end, but I was only interested in the Trump's. Came to know that Trump will speak at 7 PM in room 3-D4.

So went into one of the on going real estate seminars by Robert Shemin
. Very few seats were left in the end. learned how ppl make money in real estate(totally new to us). His speech was very interesting and interactive.

Then went into another room, where Monthly Mentor, Robert Aron was speaking... hmm was't very interesting.. I almost got a head ache... I wish I cud grab his mike and throw him out. hehehehe... I cudn't wait to see MR. Trump.

Finally the moment is here.. Bill Zanker, CEO of Learning Annex introduced Donald Trump... while hes walking on to stage..Money Money Money Moooooooooooney.. apprentice music started playing.. and the golden confetti was blown on to him.. yeah he lived upto his hype. I can't believe I am seeing Trump on the stage. I was soo happy.. He spoke for nearly 2 hrs and the time just flew.. :) He talked abt so many things from being successful to living on the edge of bankruptcy etc.,

Q & A session began and ppl started asking all sorts of questions.. both funny and serious. Every one were amazed when an Indian kid, hardly 7 yrs old posed Trump a question. He was surprised too.. asked him to get onto the stage....Trump asked him what would he want to become when he grew up...the guy said, wants to be a 1) Real Estate Investor 2) Software Engineer and a Base Ball Player. And Trump was sooooooo impressed that he offered the guy his first job. How nice...this is America kids get such a good exposure to become what ever they love to.

I wish I was there on Saturday also.., it was a good experience to be treasured. So there you read on my blog.

Friday, November 16, 2007

Leadeship Quotes

The best example of leadership, is leadership by example.
- Jerry McClain of Seattle, WA

If it's a good idea, go ahead and do it. It is much easier to apologize than it is to get permission.
- Admiral Grace Hopper

You gain strength, courage and confidence by every experience in which you really stop to look fear in the face. You must do the thing you think you cannot do.
- Eleanor Roosevelt

If you obey all the rules, you miss all the fun.
- Katharine Hepburn

Whoever is careless with the truth in small matters cannot be trusted with the important matters.
- Albert Einstein

The first responsibility of a leader is to define reality. The last is to say thank you.
- Max DePree

Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity
- George Patton

A leader is a dealer in hope.
Napoleon Bonaparte

..tune in for more quotes

5 P's of leadership

The Five Ps of Leadership
There are whole libraries full of things that tell you what to do about leadership and how to remember what’s important. Here’s another short edition to that library – the 5 P’s of leadership. They are:

Pay Attention to What’s Important
Praise What You Want to Continue
Punish What You Want to Stop
Pay for the Results You Want
Promote the People Who Deliver Those Results



Pay Attention To What’s Important

Time management courses, strategy books, and management gurus all will tell you that there’s not a lot that’s really important. Your job as a leader is to concentrate on what’s most important so that it gets taken care of. Then let the rest of the stuff take care of itself.

Now if you’re a perfectionist, that’s going to be hard for you to do. But there’s not P for perfectionism in this scheme of things. No, we recognize that there are limited resources of time, energy, people, and money. Because those resources are limited, you want to go for the big stuff first.

What you’re after is the 20% of stuff that gives you the biggest bang for the buck. What underlies all of this is something called Pareto’s Law. Vilfredo Pareto was an Italian Economist and Sociologist in the late 19th century. He formulated something he called "The Law of the Unequal Distribution of Results." You probably know it as the 80/20 rule.

All the 80/20 rules says is that there’s 20% of the stuff you do that gets you 80% of the results. The trick is finding that 20%. Once you’ve found it you then have to pay attention to it.

Pay attention to it in your written and oral communications. Restate the key themes over and over. Don’t undervalue repetition, repetition makes for memory and memory makes for action.

Pay attention to it in your casual contacts. John Kotter, in his book to general managers, pointed out that effective general managers make great use of the random contacts they have with people. Those contacts could be in the hallway, at the water cooler, in the elevator, or walking down the street. The seize on those moments to talk about the things and ask the questions that are important to their leadership agenda. You should do that too.

Organize you day, your communications, your organizational structures, your reward systems and everything else to pay attention to what’s important and then do that with unremitting diligence.

Praise What You Want to Continue

Praise is your best training tool. In technical terms, praise is a positive consequence that follows a positive action. It’s a reward for something done right. Use praise to get people to continue to do things or to take positive action. That’s where it’s best used.

Remember, too, that praise is a tool that is most effective when it’s used inconsistently. Used consistently, praise tends to loose its force. So, don’t worry so much about praising everything that people do right, but do worry about praising.

That’s important, because most of us came up in a world where we didn’t praise enough. Seek out opportunities to praise but don’t get anal retentive about it.



Punish What You Want to Stop

Punishment is the mirror image of praise. It’s a negative consequence that follows negative behavior. It follows a principle stated almost in biblical terms by one of my past trainees. She said: "the good shall be rewarded and the unjust shall be punished in proportion to their deeds."

Punishment – negative consequences – are the tool you use to get people to stop stuff. If you figure out what’s most important for people to quit doing in your organization, rig up some kind of negative consequence for them if they do it. Be careful though, because you may fall prey to the hot stove guideline. It was Mark Twain (or if it wasn’t it should have been) who said, "A cat who sits on a hot stove will never sit on a hot stove again. But he won’t sit on a cold stove either.

The management lesson here is that if you zap people too much with negative consequences, they don’t just quit doing the stuff that you don’t want them to do. They quit doing pretty much everything. That’s why "rule by fear" and "controlled ferocity" cultures have a devil of a time getting people to take initiative. They’ve been zapped so often they’re just not willing to risk it.

Pay For the Results You Want

Years ago when I was managing distribution and customer service centers I happened to compliment one of the customer service reps. She immediately turned around to me and said, "Don’t just tell me, show me, payday is Friday."

Pay is one of the tangible ways you can reward people for doing good stuff. It’s another form of praise in visible, tangible form. Don’t limit your thinking about pay to just money, though. Pay people with time off, recognition, choice assignments, small gifts, and special bonuses to encourage the behavior you want.

One of my clients used to carry around a pocket-full of restaurant gift certificates as he wandered around his trucking company. When he found somebody doing something that he wanted to encourage he was likely to whip out a gift certificate and hand it to them on the spot. It created the kind of event and drama that makes for good communication, and it encouraged positive behavior.

Another client of mine, a police chief this time, did something similar. She was a police chief in Texas, and, as you might expect, she talked like a Texan. She had little slips made up with one of her favorite phrases on them. It was, "’preciate ya."

When she heard something about one of her officers that was positive, she sent them one of her ‘preciate ya slips. When she caught somebody done something she wanted to encourage she handed one out. Officers collected the slips and when they got enough, they got recognition in the department newsletter and some extra time off.

Look for ways to pay for the results you want. Pay and praise are the things that get the engine of progress going.



Promote People Who Deliver The Results You Want

This one just makes sense. The problem is that lots of organizations forget about it. They maintain reward and promotion systems that reward the old behavior, even while they’re trumpeting the new behavior in memo’s, meetings, and executive retreats.

When I was just starting out in consulting, a much more experienced and wiser consultant said to me, "When you first go into an organization, pay attention to who it is they promote. Listen to the stories that folks tell you about who gets promoted and rewarded and why. That will tell you just about everything you need to know about what the real organizational priorities are."

What are the stories that your people tell in your organization? What are the stories they tell about their bosses? You want those stories to be positive about great things their bosses have done. If all the stories are negatives, buddy you’ve got a problem.

What do your folks say about the folks who are promoted? Do they feel they got promoted on merit because of their performance or because they just happened to "know somebody" or worse.

The five P’s of leadership will help you stay on track to positive organizational change. Remember to pay attention to what’s important, praise what you want to continue, punish what you want to stop, pay for the results you want, and promote the people who deliver those results and you’ll help your organization be the very best that it can become.

More info:http://management.about.com/od/leadership/Leadership.htm