Tuesday, February 2, 2010

Google Social Circle

Normally when I do a vanity search, I use my full name. Today I did a search for just "Andy" for fun. I wasn't expecting this:


At first I though Google Search was broken. How could this story about me be on the first page of search results for "Andy"? Then I realized I was looking at a new feature, called Google Social Circle.

It's quite ingenious actually. While Facebook and Twitter are first building a social network and then building (or in some cases hacking) search on top of it, Google is approaching the problem of social search from the opposite direction. They've built a rock solid search engine, and now they're experimenting with the social side of search. I think it boils down to this: people are going to be more likely to visit a link that is recommended, written by, or is in some way associated with one of their friends.

Disclaimer: I work at Google (on unrelated projects).

Saturday, January 16, 2010

Depressing Chart


Source: [OkCupid Blog]

Tuesday, January 12, 2010

Time-Lapse IKEA

I've watched my fair share of time-lapse IKEA videos on YouTube, but let me tell you, this one makes all those others look normal-speed.




And the reveal...

6 Things to Do in Australia

1. Watch the New Years Eve fireworks in Sydney.


2. Learn how to play cricket.
(and then lose to my sister)

3. Try boogie boarding at Bondi Beach.


4. Have some kangaroo on the barbie.

5. Buy "CANDY posing pouch".

6. Go to jail. :(

But not necessarily in that order...

Wednesday, December 23, 2009

Disappearing Christmas

When I say Christmas can disappear, I'm not talking in the metaphorical sense, like your parents forgot to buy the Christmas presents. I mean that it is possible to experience a shorter version of it, or in the extreme case, no Christmas at all, due to travel around the Earth.


Let's look at an example. Flying from Los Angeles to Sydney takes about 15 hours. A flight leaves at 6pm Christmas Eve. In 10 hours it crosses the international date line. Just before the plane crossed the line, the time was 4am Christmas Day in Los Angeles (GMT -8), however for the passengers on the plane, the time was 12am (midnight) Christmas Day, since they were at GMT -12, just to the east of the international date line. When they crossed the line, time jumped ahead by 24 hours and it is now 12am December 26. Continuing to travel west, the plane will arrive in Sydney at 3am December 26 local time (GMT +10).

As you can see, the passengers on the plane have no experience for any time between midnight Christmas Day to midnight December 26.

Computer Games


When computers finally managed to beat us at chess, a game of ingenious human invention, we did not say they were now officially smarter than us. What we did was give computers another game - another puzzle to struggle with.

Go is a board game that is a magnitude more complex than chess. Whereas computers could memorize well studied opening books for chess, such a strategy is unmanageable for Go, since there are 361 possibilities... for the first move alone. Today's fastest computers with the best Go algorithms are still beaten by human players with a few months of experience - mere novices.


I believe that computers will one day manage to beat us at Go. But that is a discussion for another time. Now I want to talk about what game, what puzzle we will toss future-computers after that, to assuage ourselves that NO - they are still not smarter.

Settlers of Catan is a board game that is a magnitude more complex than Go. Whereas future-computers only had to think about winning or losing for Go, a binary 1/0 that they are familiar with, such a strategy simply doesn't work for Settlers, since bartering between players involves the hazy variables of human psychology that computers are ill-equipped to define. First there is the game. It is played on a board, which has over a million different possible configurations - and that's before any player has had a turn.

Then there is the meta-game. It involves players bartering with each other, forming alliances, and knowing when to stab their former partners in the back. To give you an example of how complex the thought process can be, we need to take a quick diversion.


From personal experience, I've seen a human player propose an ingenious trade, that would have given her an enormous advantage. To fully understand the significance however, you first need to understand more about the game. Victory in Settlers is achieved when a player has 10 victory points. There is a longest road development card, which is awarded to whichever player has the longest road* of at least 5 segments. It is worth 2 victory points.

You also need to understand more about this particular instance of the game. There were four players. The human player and another player (let's call him the opponent) were both just mere points away from victory. One of the two other players currently held the longest road card. However the opponent had two large sections of road, and if he was able to connect them, held a good chance of gaining the longest road card for himself.

The human player proposed that she refrain from building a road at a position where it would block the opponent from connecting his two road sections in return for him giving one of his resource cards on every turn to her for the rest of the game (like a tax). Right as the opponent was about to agree to this outrageous deal (remember he still might not have gotten the longest road card), the human player realized it was better to take away all possibility of the opponent gaining the longest road card, and she built the road anyway.

What will happen when future-computers beat us at Settlers of Catan? That's when we can say they are officially smarter than us - and be right.


* The length of a road is the longest possible segment, not counting branches.

Monday, December 21, 2009

Keyboard Cat Piano


What better way to test a new piano?

P.S. - I'm testing my new HD camera at the same time. :)