Archive for December, 2009

Gone fishing

Friday, December 18th, 2009

Have a peaceful holiday! We will return Tuesday January 5, 2553, local time.

Break it and make it

Thursday, December 17th, 2009

You are given 2 eggs. You have access to a 100-story building. Eggs can be very hard or very fragile means it may break if dropped from the first floor or may not even break if dropped from 100th floor. Both eggs are identical. You need to figure out the highest floor of a 100-story building an egg can be dropped without breaking. The question is how many drops you need to make. You are allowed to break 2 eggs in the process.

Problem source: 140 Google Interview Questions.

Quote

Thursday, December 17th, 2009

Everybody has the answers or they’ll make them up for you. Just once I’d like to hear a brand-new question. - Rod McKuen

A button to despair

Wednesday, December 16th, 2009

Some scientific calculators have a button for subtraction and one to change the sign of a number (circled above).  However, when I enter negative 1 and press the x2 button I get an unexpected result. Why is that?

By the way, an online calculator like the one at http://www.calculateforfree.com/ behaves the way I like.

Quote

Wednesday, December 16th, 2009

Rational arguments don’t usually work on religious people. Otherwise, there wouldn’t be religious people. - Doris Egan

Unknown destination

Tuesday, December 15th, 2009

If the probability of observing a car in 30 minutes on a highway is 0.95, what is the probability of observing a car in 10 minutes (assuming constant default probability)?

Problem source: 140 Google Interview Questions.

Quote

Tuesday, December 15th, 2009

In love, one and one are one. – Jean-Paul Sartre

Between nephews

Monday, December 14th, 2009

- You look worried!
- I have a good reason to be worried.
- What’s up?
- I am trying to get a list of all my nephews who has birthday between November and March.
- I know how you feel. I have also a large family.
- If November is 11 and March is 3 which numbers are between 11 and 3?
- That is easy. 3, 4, 5, 6, 7, 8, 9, 10, and 11 are all between 11 and 3 in the included sense.
- That is the problem! The answer is 11, 12, 1, 2, and 3.
- I see what you mean.
- So how do I write this down as a condition my computer can understand?
- Do you have a Mac or a PC?

Quote

Monday, December 14th, 2009

Computers can figure out all kinds of problems, except the things in the world that just don’t add up. - James Magary

Reflections

Sunday, December 13th, 2009

If you want to know more about the artist, his ideas and tools, click here.