Tuesday, September 30, 2008

Quite good statements:


Dogs love their
friends & bite their enemies,
quite unlike people.


The average dog
is a nicer person than the average person.


A dog is the
only thing on earth that loves you more than he
loves himself.


If your dog is
fat, you aren't getting enough exercise
.


Women and cats
will do as they please, and men and dogs should
relax and get used to the
idea.


If you pick up a
starving dog and make him prosperous,
he will not bite you; that is the
principal difference
between a dog and a man.

- Mark Twain

Wednesday, September 24, 2008

முதலில் தமிழில் எழுதிய வலைப்பக்கம் :)

நான் என்ன செய்ய போகிறேன் தெரியுமா
தமிழில் எழுதுகிறேனே....

Saturday, September 13, 2008

Indian salaries likely to rise by 16%


New Delhi: Salaries in India are expected to increase
by 16 per cent in 2009, one of the highest in the Asia-Pacific region.

The proposed salary hike is driven by strong economic growth and
pressure on employers due to soaring inflation, a latest report said.

As per a report by the HongKong based compensation firm
HR Business Solutions (HRBS) pay increases in the Asia-Pacific
region are likely grow even as the economies are expected
to be impacted by the global slowdown.

"The forecast pay increase in India averaging 16 per cent is
one of the highest among all the countries," the report stated.
The HRBS 2009 pay increase forecast is based primarily on four
economic factors — GDP growth, inflation, unemployment, manpower
demand and past pay increase trends.

Elaborating further it said that the Indian economy is reported
to be cooling, but still it is expected to achieve a growth rate
of 7-8 per cent in 2008, which is among the strongest in the
region after China.

"In addition, it has the fourth highest inflation rate of over
12 per cent in 2008 which increases pay rise pressures on employers.
Labor demand is still robust and there is a lack of sufficient
supply of the skills-set required by India's rapidly growing services,
manufacturing, construction and retail industries to boot,"
the HRBS report added.

Economic growth rates in Asia are mostly forecast to be moderately
lower in 2008 relative to 2007, while inflation rate across the
Asia-Pacific region has soared to an all-time high.

"In many of the Asian countries, demand for manpower continues
and in some cases, while general unemployment rate remains high,
the labor market is extremely tight for qualified employees,
for example, India, China and Vietnam," it stated.

Besides, in some developed economies such as Hong Kong, Singapore
and Australia, while the unemployment rate is low, the demand
for people has been strong.

Meanwhile, SriLanka is the other country which is forecast to
see a higher double-digit rise in salaries of about 17 per cent
in 2009. The country's inflation rate of more than 16 per cent
is the next highest in Asia after Vietnam and firms in Sri Lanka
are hiring and facing challenges in recruiting and retaining
skilled human capital.

Most of the neighboring countries of India - Pakistan, China
and Bangladesh are forecast to post around 11 per cent of
expected pay increase.

In 2008, the salary increase in India had averaged at 14.9 per cent.

Other Asia-Pacific countries like China, Vietnam and Indonesia
are forecast to see a rise of 11 per cent, 12.4 per cent and 12.7
per cent, respectively in 2009.

Earlier, in a separate report on Asian compensations, global HR
consultancy Mercer had forecast that India was likely to witness
over 14 per cent increase in salaries annually for the next three
years as the corporates were facing shortage of talent.

The Mercer report had also stated that India, Vietnam and Indonesia
were the only three countries in the Asia-Pacific region which
are likely to see a double-digit increase in salaries until 2011.

Flab-belly to fab-belly!




You’d be surprised to know how many of us think that we are solely
responsible for making this earth heavy and are overburdening it
with our excess weight! Though it’s healthy to be slim and fit, but
it’s ugly to be anorexic too. The art lies in finding the right balance, so
make sure you read the fine line. Whatever said and done, I’m not
canvassing for you to be ok with any unnecessary excess flab. This is
why I thought of taking up the ubiquitous excess-weight problem
this week, and addressing the basic concern of all…the tummy!
Here’s what I have to suggest.


1. Touch-my-knee:




Lie on your back. Lift your one knee and bend it towards your chest with
the help of your hands. Try and make your nose touch your knee. The second leg
remains on the ground. Once we become comfortable, try raising the second leg in
the air till about a 45 degrees tilt. Remain in the pose for around 30 seconds.
Then slowly get back and relax. Alternate with the other leg. Repeat the round
twice.

2. Forward-bend:



Sit down with your legs stretched out together and the arms extended in the
air upwards. Now try and stretch yourself by getting your back and palms down to
touch the toes. While doing this contract your stomach muscles. Try holding your
toes now with your hands. Stay for as long as possible and then come up. Relax
and then repeat once more. You would need a good level of flexibility to do
this, so don’t exert yourself on the first day. First warm up and then do it
gradually. You might not attain these poses perfectly in the first few days, but
don’t bother, gradually it would come around.

3. Cobra-style:



Lie down with the forehead on the ground. Keep the legs together and the
arms at the sides with the palms by the side of the thighs. Now bring the arms
closer to shoulder and then bend the arms at the elbows to bring the palms right
below the shoulder. Tilt the head upwards to look up. Then slowly arch the spine
and pressing the palms raise the upper trunk from the ground. Stay for 20
counts. Then slowly resume to normal position. Repeat twice.





Tuesday, September 9, 2008

History of the Middle Finger

Well, now......here' s something I never knew before, and now that I know it, I feel compelled to send it
on to my more intelligent friends in the hope that they, too, will feel edified. Isn't history more fun when
you know something about it?

Before the Battle of Agincourt in 1415, the French, anticipating victory over the English, proposed
to cut off the middle finger of all captured English soldiers. Without the middle finger it would be impossible
to draw the renowned English longbow and therefore they would be incapable of fighting in the future.
This famous English longbow was made of the native English Yew tree, and the act of drawing the longbow
was known as "plucking the yew" (or "pluck yew").

Much to the bewilderment of the French, the English won a major upset and began mocking the French by waving
their middle fingers at the defeated French, saying, See, we can still pluck yew! Since 'pluck yew' is
rather difficult to say, the difficult consonant cluster at the beginning has gradually changed to a
labiodentals fricative F', and thus the words often used in conjunction with the one-finger-salute!
It is also because of the pheasant feathers on the arrows used with the longbow that the symbolic
gesture is known as "giving the bird."

IT IS STILL AN APPROPRIATE SALUTE TO THE FRENCH TODAY!
And yew thought yew knew every plucking thing.

Friday, September 5, 2008

Speech by Bryan Dyson (CEO of Coca Cola)

Speech by Bryan Dyson (CEO of
Coca Cola)


'Imagine life as a game in which you are juggling some five balls in the air.
You name them - work, family, health, Friends and spirit and you're
keeping all of
these in the Air.


You will soon or one day understand that work is a rubber ball.

If you drop it, it will bounce back.

But the other four Balls - Family,Health, Friends and Spirit - are made of glass.
If you drop one of these; they will be irrevocably scuffed, marked,
nicked,
damaged or even shattered. They will never be the same. You must

understand that and strive for Balance in your life.'

Monday, September 1, 2008

Loops in Perl

While

- while (test_expr)
{
statement(s); # Executed while test_expr is true
}

- Both the {} and the () are required!

- The test expression is evaluated and, if true, the statement block
is executed. This continues until the test expression is false.

- Note that the loop body may never be executed

- A compound statement

- Ex.

$i = 1;
while ($i <= 10)
{
print ("The square of $i is ", $i*$i, "\n");
$i++;
}


Until

- until (test_expr)
{
statement(s); # Executed while test_expr is false
# (Executed until test_expr is true)
}

- The test expression is evaluated and, if false, the statement block
is executed. This continues until the test expression is true.

- Note that the loop body may never be executed

- A compound statement

- Ex.

$i = 1;
until ($i > 10)
{
print ("The square of $i is ", $i*$i, "\n");
$i++;
}


Do Operator Applied To A Block

- do
{
statement(s);
}

- The {} are required!

- The statement block is executed.

- Returns the value of the last statement executed in the statement
block

- Allows the use of a statement block where an expression is required

- Can be modified with a while or until to act as a loop


Do-While

- do
{
statement(s); # Executed while test_expr is true
} while (test_expr);

- Only the {} are required!

- The statement block is executed. Then the test expression is
evaluated and, if true, the statement block is executed. This
continues until the test expression is false.

- Note that the loop body is executed at least once

- A simple statement! (Really just a modified Do-BLOCK.)

- Since it is just a simple statement, the loop control commands
(last, next, redo) desscribed later can NOT be used in a
do-while

- Ex.

$i = 1;
do
{
print ("The square of $i is ", $i*$i, "\n");
$i++;
} while ($i <= 10);


Do-Until

- do
{
statement(s); # Executed while test_expr is false
} until (test_expr);

- Only the {} are required!

- The statement block is executed. Then the test expression is
evaluated and, if false, the statement block is executed. This
continues until the test expression is true.

- Note that the loop body is executed at least once

- A simple statement! (Really just a modified Do-BLOCK.)

- Since it is just a simple statement, the loop control commands
(last, next, redo) desscribed later can NOT be used in a
do-until

- Ex.

$i = 1;
do
{
print ("The square of $i is ", $i*$i, "\n");
$i++;
} until ($i > 10);


Expression Modifiers

- Can use while and until as expression modifiers

- Similar to the while and until statement except that only an
expression can be modified, NOT a statement block

- Result is a simple statement


While Modifier

- exec_expr while test_expr;

- Exec_expr executed while the test_expr is true

- Equivalent to: while (test_expr)
{
exec_expr;
}

- The () around the test expression are NOT required here!

- The test expression is evaluated first

- A simple statement

- Ex.

# Print 10 down to 1.

$x = 11;
print "$x\n" while (--$x > 0);

# An infinite loop!

print ("Possible infinite loop here!\n") while ($x < 21);


Until Modifier

- exec_expr until test_expr;

- Exec_expr executed until the test_expr is true

- Equivalent to: until (test_expr)
{
exec_expr;
}

- The () around the test expression are NOT required here!

- The test expression is evaluated first

- A simple statement

- Ex.

# Print 10 down to 1.

$x = 11;
print "$x\n" until (--$x == 0);


For

- for (initial_expr; test_expr; increment_expr)
{
statement(s);
}

- Both the {} and the () are required!

- The initial expression is evaluated first (and only once). Then
the test expression is evaluated and, if true, the statement block
is executed. Then the increment expression is evaluated and the
test expression re-evaluated. This continues until the test
expression is false.

- Note that the loop body may never be executed

- Equivalent to:

initial_expr;
while (test_expr)
{
statement(s);
increment_expr;
}

- A compound statement

- Ex.

for ($i = 1; $i <= 10; $i++)
{
print ("The square of $i is ", $i*$i, "\n");
}


Foreach

- foreach $var (@list)
{
statement(s);
}

- Both the {} and the () are required!

- The $var variable is assigned the first value in the list @list
and the statement block executed. This is repeated for each value
in the list.

- If $var is omitted, the special default variable, $_, is used

- Note that the loop body is not executed if the list is the empty
list

- A compound statement

- Ex.

foreach $i (1..10)
{
print ("The square of $i is ", $i*$i, "\n");
}


Array Element Modification With A Foreach

- If the list used in the foreach statement is a single array
variable, you can modify each element of the array by
modifying $var each time through the loop

- Why? Because in this case, $var is really a reference to
the array element and not a copy of it.

- Ex.

foreach $x (@list)
{
# Add a newline to each element.
$x .= "\n";
}


Labeled Block

- Block with an associated name or label

- Label is an identifier similar to a variable name, but without
any special prefix character

- Recommended that labels be all uppercase to avoid conflict with
reserved words

- Label goes immediately in front of the statement containing the
block followed by a colon

- Labels have their own namespace

- Ex.

LOOP: foreach $i (1..10)
{
print ("The square of $i is ", $i*$i, "\n");
}


Last Operator

- Breaks out of the innermost enclosing loop block if used without
a label, or the specified block if used with a label

- Similar to the C break statement

- If the specified loop contains a continue block, it is skipped

- Only the while, until, for and foreach statement is considered
a loop by the last operator

- BUT a block by itself (a block which is NOT part of a larger
construct, such as a while loop or if-else statement) is
considered a loop that executes once, and the last operator can
be used to exit the block. This type of block is called a
"naked" block.

- Ex.

while (test_expr)
{
statement(s);
if (expr)
{
statement(s);
last; # Break out of the while loop
}
statement(s);
}


Next Operator

- Causes the rest of the specified loop to be skipped

- Similar to the C continue statement

- If the specified loop contains a continue block, it is executed
and then the loop conditional is evaluated

- Only the while, until, for and foreach statement is considered
a loop by the next operator

- The next operator can be used to exit a naked block. (The
difference between the next operator and the last operator in
this case, is that the last operator skips any continue block,
the next operator executes it.)

- Ex.

while (test_expr)
{
statement(s);
if (expr)
{
statement(s);
next; # Start next iteration, evaluate
# test_expr first
}
statement(s);
}


Redo Operator

- Causes the rest of the specified loop to be skipped

- BUT the loop conditional is NOT evaluated prior to the start of
the next iteration

- If the specified loop contains a continue block, it is NOT
executed

- Only the while, until, for and foreach statement is considered
a loop by the redo operator

- The redo operator can be used to restart a naked block.

- Ex.

while (test_expr)
{
statement(s);
if (expr)
{
statement(s);
redo; # Start next iteration, do NOT evaluate
# test_expr first
}
statement(s);
}


Continue Block

- Both the while loop and the until loop can also have a
continue block

- If a continue block exists, it is always executed before
the loop conditional expression is evaluated again

- Ex.

while ($line = )
{
chop $line;
next if ($line eq "END");
# Other Processing here.
}
continue
{
print "$line\n";
}

The input line is always printed, even if the next statement
is executed, since the continue block is always executed
before the loop conditional is evaluated again.