Search This Blog

Tuesday, September 29, 2009

Best Sentance

Effective leadership is putting first things first. Effective management is discipline, carrying it out.

A cardinal principle of Total Quality escapes too many managers: you cannot continuously improve interdependent systems and processes until you progressively perfect interdependent, interpersonal relationships.

Every human has four endowments- self awareness, conscience, independent will and creative imagination. These give us the ultimate human freedom... The power to choose, to respond, to change.

In the last analysis, what we are communicates far more eloquently than anything we say or do.

It's a fact that more people watch television and get their information that way than read books. I find new technology and new ways of communication very exciting and would like to do more in this field.

Live out of your imagination, not your history.

Management is efficiency in climbing the ladder of success; leadership determines whether the ladder is leaning against the right wall.

Our character is basically a composite of our habits. Because they are consistent, often unconscious patterns, they constantly, daily, express our character.

Public behavior is merely private character writ large.

The key is not to prioritize what's on your schedule, but to schedule your priorities.

The main thing is to keep the main thing the main thing.

There are three constants in life... change, choice and principles.

We are not animals. We are not a product of what has happened to us in our past. We have the power of choice.

We are not human beings on a spiritual journey. We are spiritual beings on a human journey.

We are the creative force of our life, and through our own decisions rather than our conditions, if we carefully learn to do certain things, we can accomplish those goals.

How Google Search Works..

Google Architecture Overview


1. Parse the query.
2. Convert words into wordIDs.
3. Seek to the start of the doclist in the short barrel for every word.
4. Scan through the doclists until there is a document that matches all the search terms.
5. Compute the rank of that document for the query.
6. If we are in the short barrels and at the end of any doclist, seek to the start of the doclist in the full barrel for every word and go to step 4.
7. If we are not at the end of any doclist go to step 4.

Sort the documents that have matched by rank and return the top k.

Monday, September 21, 2009



Attitude makes a lot of difference. If you have a good attitude with required
skills, you are the winner. The following tips may help you.

 Be humble and polite to your co-workers and others.
 Do not criticize anyone. That is not your job.

 Always be professional and do not take any thing personal.
 Be friendly with your opposite sex colleagues and do not get involved
in any sexual litigation

 Do not break the client dress code. It is not a good idea to go to the
office in jeans and sneakers even if they have a casual dress code.
 Light cologne is fine but do not use strong perfume.

 Do not talk loudly when you talk over the phone or to your colleagues.
Talk in a soft and clear voice.
 If you have any dental problems, make a dental appointment with your
dentist. If dental problems go unchecked, they lead to embarrassing
situations involving bad breath. Have breath mints, chewing gum or
peanuts in your desk. Check your breath before talking to your
colleagues personally.

 Wear fresh and neat clothes.
 Always be punctual.

 Complete your assigned task within the time frame. Do not postpone it.
 Do not talk about politics and religion in the office premises.

 If you are invited for a happy hour party or any party try to attend it at
least for some time. That is the best place to know more about your

 Do not play music loudly.
 Be as easy going. Do not get the "tough guy" label.
 Attend meetings regularly.

 Be enthusiastic.
 Try to be helpful to your co-workers.
 Be a good listener. Do not interrupt when someone else is talking.

 Discuss but do not argue.
 Do not lose your credibility

Some tips on behaving in Office

Workplace etiquette involves more than just saying “please” and “thank
you.” When you come to work you, step into a place where being polite
involves a greater expanse of responsibility and thoughtfulness.
When considering different forms of concrete career advice such as how to
present projects to your boss or get ahead, never forget the basics of
working with others. The best career advice you may get will be how to
behave when working in small spaces such as offices. No one wants to
work with someone who cannot follow the unspoken rules of the

Read the following tips to ensure that you aren’t committing any of these
workplace no-no’s.
 Taking Long Breaks – Few things annoy coworkers or supervisors more
than someone who takes extra-long lunch or smoking breaks. If you can
avoid smoking at work altogether, you should. People who do not
smoke may become resentful of the extra time you take to indulge.
When you go out to lunch, make sure you take only the allotted time.
Stretching the time you spend away from your desk makes you look like
you avoid hard work, no matter how productive you are.

 Coming in Late, Leaving Early – No one likes someone who shirks his or
her duties. Even if you complete all of your tasks, you should stay at
work the required amount of time. Coworkers are quick to notice
someone who comes in late and leaves a little early. If you have trouble
getting to work on time, talk to your supervisor about your tardy bad
habit. Always put in at least as much time as the other people in your
workplace, if not more. Be on time and leave on time.

 Talking Loudly – It is not just what you say, it’s how you say it. Try to
keep your conversations between you and the person on the other
end. Everyone at work is trying to do the same thing you are – get his or
her job done. It is hard to concentrate when someone nearby continues
to disrupt the workplace atmosphere with loud conversations, both on
and off the phone. Monitor yourself and your voice. If you know that
you tend to be loud, make a concerted effort to keep it quiet.
 Making a Mess – Your desk should be kept as clean as possible, but
your personal workspace is minor compared to the shared spaces that
are reserved for use by everyone. When you use a conference room or
break area, always clean up after yourself. It is frustrating for those
around you to discover the remains of your salad on the table in the

 Leave Home at Home – Though everyone occasionally must deal with
personal emergencies at work, do your best to leave what is meant for
home at home. If you have children, do not permit them to call you
constantly at the office. Your coworkers will notice and it will likely bother
some of them because it shows that your concentration is not centered
on your tasks and that you take company time for personal issues. The
same rule goes for friends and adult family members. Finally, try to avoid
scheduling doctor appointments or paying bills while at work.

 Think Before you speak – This rule applies to many workplace etiquette
breaches. For example, do not complain about your supervisor in the
lunch area, where he or she may overhear. This faux pas could result in
uncomfortable situations. Similarly, do not gossip about coworkers.
Tensions could easily result. When it is time to talk to your boss about
your progress or evaluation, do so in an appropriate setting, such as a
closed office. You never want to blurt out something that you will regret in
front of the entire office.

 Control your Emotions – It seems that younger employees struggle with
this issue more often. Issues at work may arise from time to time that elicit
strong reactions from you or those around you. Minimize any emotional
response you may have at work. Remember that constructive criticism is
meant to help you and is not personal. Strong emotions may make you
appear out of control, which is an undesirable workplace trait.

 Edit your Email – Review the company email policy and adhere to it. Do
not forward email messages that you receive from friends and family to
coworkers. Never send religious or political emails to people in the office;
it could make people uncomfortable. Do not gossip about or discuss
other people in email, as emails can be sent accidentally to the wrong
person or be intercepted by management. If you do not want others to
read what you have to say, do not send it in an email. Email is a
powerful tool and should be respected, not abused.


At the workplace one really needs to mind one’s manners. Everyone
around you is noticing your every move and you don’t want to get the title
of the boorish one in office. There are unwritten laws in the office that one
must follow whether it is India or anywhere in the world.
First of all hold the door open for ladies and the boss or your older
colleagues. If you are walking past the door first ensure that you do not
leave the door because it will bang into the person coming in behind you.
If you have just joined the office, then follow the behavior of the others. Be
observant and follow what the others are doing.

Secondly, never ever ask personal questions. It is not the accepted thing
professionally. There are times when you might be tempted or out of habit
wanting to do so. But, hold yourself back from it or else you will be avoided
like the plague by your colleagues every time they see you around. You
don’t want to be clubbed the nosy parker.

Remember that people are proud of their names and identify them with it. If
you want to build up rapport try and address the person by their name.
Make it a point to take extra care and effort to pronounce their name
correctly. Try out handy little tricks to remember the person’s name.
Associate with some trait of the person and you will not forget the name the
next time you meet them. Also be careful of the title. Always, address ladies
with Ms. (pronounced as miss). If you are unsure of their marital status this
is a safe thing to do. Never use the first name and the title for instance if the
person’s name is Vivienne Smith, it is wrong to address her as Ms. Vivienne.
The right way is Ms. Smith or Vivienne if you know her well or she has
given you the permission to address her by her first name.

Whenever you encounter anyone be it in the corridor or office or the
elevator greet them with a pleasant and genuine smile. If you know your
colleagues then greet them with a customary good morning or hello.
Always ensure that you use these three words liberally. They are please,
thank you and sorry. Of course apologize only when you need to and not
again and again or else you will sound insincere.

Learn to use your voice discreetly, whether you are talking face to face or
over the phone. No one wants to hear your personal or professional
conversations and get disturbed. Keep your voice low and if you need to
speak loudly get up and move out.

Remember to wear a smile to work every day. It does not cost you
anything but will go on to enlighten the place and add cheer. Also try to
follow some eating etiquette while enjoying your food at office during your

If you are the last person to leave the room, switch off the lights and the air
conditioner and same with your workstation. Once you have finished for
the day make it a point to switch it off.

Thursday, September 17, 2009

Steps Ruby on Watir

step 1:

install ruby first : [ruby 186-27]

For ex:
you install in c:/ruby

place mouse pointer on my computer -> right click -> properties -> advance -> environment variables ->
select path [ edit ] add at last

step 2:
Open command prompt by click Start -> run -> cmd
cd c:\ruby

step 3:
type : "gem install watir" to install watir

c:\ruby> gem install watir

step 4:
create a file with extension .rb , for ex: sample.rb
save it in c:\ruby
go to that dir and type

step 5:
type to run ruby filename.rb

c:\ruby>ruby sample.rb

here is the sample code , open note pad and paste this code "red color text's" and save as sample.rb
which can run and type in text box and click search button

require 'watir'
require 'test/unit'

class TC_article_example < Test::Unit::TestCase
def test_search
browser =
browser.text_field(:name, "q").set("pickaxe")
browser.button(:value, "Google Search").click
assert(browser.text.include?("Programming Ruby: The Pragmatic Programmer's Guide"))

ex link

Tuesday, September 15, 2009

some interesting time management statistics

Emphasising the huge significance and opportunities in time management, a 2007 survey by the Proudfoot Consulting (Guardian 22 Oct 07) covering 2,500 businesses over four years and 38 countries, indicated that wasted time costs UK businesses £80bn per year, equivalent to 7% of GDP. The causes of wasted time - labour inefficiency in other words - were:

* inadequate workforce supervision (31%)
* poor management planning (30%)
* poor communication (18%)
* IT problems, low morale, and lack or mismatch of skills (21%)

Clearly organisations are vastly under-utilising their people, and could be doing a lot more to enable more efficient working.

These failings of organisation and leadership make it all the more important for individual people to think creatively about time management, and particularly to start making changes to improve time management at a personal individual level.

time management 'rocks in bucket' story

time management 'rocks in bucket' story

Use this time management story to show how planning is the key to time management.

Start with a bucket, some big rocks enough to fill it, some small stones, some sand and water.

Put the big rocks in the bucket - is it full?

Put the small stones in around the big rocks - is it full?

Put the sand in and give it a shake - is it full?

Put the water in. Now it's full.

The point is: unless you put the big rocks in first, you won't get them in at all.

In other words: Plan time-slots for your big issues before anything else, or the inevitable sand and water issues will fill up your days and you won't fit the big issues in (a big issue doesn't necessarily have to be a work task - it could be your child's sports-day, or a holiday).

The fisherman story- change management

Friends, When I train for change management, I sometimes employ the following story to illustrate the fallacy of having change for change sake and differences in perception to change. I have found it to facilitate an enjoyable learning experience among the participants.... Here's the story:

A management consultant, on holiday in a African fishing village, watched a little fishing boat dock at the quayside. Noting the quality of the fish, the consultant asked the fisherman how long it had taken to catch them.

"Not very long." answered the fisherman.

"Then, why didn't you stay out longer and catch more?" asked the consultant.

The fisherman explained that his small catch was sufficient to meet his needs and those of his family.

The consultant asked, "But what do you do with the rest of your time?"

"I sleep late, fish a little, play with my children, have an afternoon's rest under a coconut tree. In the evenings, I go into the community hall to see my friends, have a few beers, play the drums, and sing a few songs..... I have a full and happy life." replied the fisherman.

The consultant ventured, "I have an MBA from Harvard and I can help you...... You should start by fishing longer every day. You can then sell the extra fish you catch. With the extra revenue, you can buy a bigger boat. With the extra money the larger boat will bring, you can buy a second one and a third one and so on until you have a large fleet. Instead of selling your fish to a middleman, you can negotiate directly with the processing plants and maybe even open your own plant. You can then leave this little village and move to a city here or maybe even in the United Kingdom, from where you can direct your huge enterprise."

"How long would that take?" asked the fisherman.

"Oh, ten, maybe twenty years." replied the consultant.

"And after that?" asked the fisherman.

"After that? That's when it gets really interesting," answered the consultant, laughing, "When your business gets really big, you can start selling shares in your company and make millions!"

"Millions? Really? And after that?" pressed the fisherman.

"After that you'll be able to retire, move out to a small village by the sea, sleep in late every day, spend time with your family, go fishing, take afternoon naps under a coconut tree, and spend relaxing evenings havings drinks with friends..."

" That's what i,m doing right now", said the fisherman and went his way.

Hit Counter

View My Stats