Friday, May 29, 2009

Difference between Optimists & Pessimists

Great thoughts !!

Optimists see the opportunity in every difficulty.
Pessimists see the difficulty in every opportunity.


Full article is here.

http://www.management-issues.com/display_page.asp?section=opinion&id=3882

Saturday, May 09, 2009

Good Story to Understand Way of Living Our Life...!!!

Thanks Kiran for sharing wonderful insight....


"When I was a little girl, my mom liked to make breakfast food for dinner
every now and then. And I remember one night in particular when she had
made breakfast after a long, hard day at work.


On that evening so long ago, my mom placed a plate of eggs, sausage, and
extremely burned toast in front of my dad. I remember waiting to see if
anyone noticed! Yet all my dad did was reach for his toast, smile at my
mom, and ask me how my day was at school. I don't remember what I told him
that night, but I do remember watching him smear butter and jelly on that
toast and eat every bite!


When I got up from the table that evening, I remember hearing my mom
apologize to my dad for burning the toast. And I'll never forget what he
said: 'Baby, I love burned toast.'


Later that night, I went to kiss Daddy good night and I asked him if He
really liked his toast burned. He wrapped me in his arms and said,
'Debbie, your Momma put in a hard day at work today and she's real tired.
And besides-a little burnt toast never hurt anyone!' You know, life is
full of imperfect things....and imperfect people. I'm not the best
housekeeper or
cook.


What I've learned over the years is that learning to accept each other's
faults - and choosing to celebrate each other's differences - is one of
the most important keys to creating a healthy, growing, and lasting
relationship.


And that's my prayer for you today. That you will learn to take the good,
the bad, and the ugly parts of your lives and lay them at the feet of GOD.
Because in the end, He's the only One who will be able to give you a
marriage where burnt toast isn't a deal-breaker!


We could extend this to any relationship in fact - as understanding is the
base of any relationship, be it a husband-wife or parent-child or
friendship!! "

Friday, May 08, 2009

Cool replace string without regex in perl

my $str = "C:\\app\\myapp\\backup\\db\\now_working";
print "\nstr = $str";
$replace_this = "myapp";
$with_this = "yourapp";
$str =~ s/\Q$replace_this\E/$with_this/;
print "\nstr = $str";

Thursday, May 07, 2009

Time management

"The perfectionist is doomed to starvation in the midst of plenty."

Ken McCarthy


Perfectionism, like a mirage, lures you into a desert of false hopes. Your ideal hovers just out of reach while your day slips away. Regain your productivity! Learn to identify the 3 stages of poisonous perfectionism. Then use the following tips to reclaim your power over your time.

Which Set of Symptoms Match Yours the Most Closely?


Mild: " I waste time fine-tuning things that only I will notice. Then I scramble to finish the rest of the day's work. " Antidote: Develop a mantra that brings fresh perspective to a stuck situation. For example... "That'll do for now." "It's good enough."
Moderate: "Anything worth doing is worth doing right." "I seem to spend twice as much time as others on the final stages of a project, and rarely convince myself it's really complete." "I make several false starts and never feel satisfied with my finished product." "I work so intently on some projects that I never get around to other ones." Antidote: Your challenge is to open up a closed system of endless revisions. In addition to creating a positive mantra, establish a reasonable time frame to complete a project. Set an alarm, if you need to. When the time is up, change activities, no matter what. This becomes easier with practice. Also, consider broadening your perspective by asking a supportive friend or co-worker to review your work. The more actively you replace your all-or-nothing messages with your chosen mantra, the more you'll welcome feedback that dilutes the harshness of perfectionism.
Severe: "I often lose sleep at night rehearsing the events of the following day." "I'm so afraid of not being good enough that I become immobilized." Antidote: Recognize that your excessive standards are padlocking your productivity. Instead of putting your project under the microscope, examine your expectations of success. Have you developed inflated ideas of what "perfection" can bring? By replacing them with a realistic perspective, you can often deflate ballooning fears of failure.

If perfection remains a deeply ingrained value, substitute ideals of a perfect performance with a vision of perfect balance in your life. The essence of balance is learning when to let go. By participating in a balanced life rather than performing for impossible rewards, you will cultivate new strengths, and take genuine satisfaction in regaining control of your time.


"Getting the thing done, whatever it is, in time to actually
use and enjoy it is what matters the most."

Ken McCarthy

What other ways can you benefit from time management skills?