Saturday, April 19, 2008

Playboy Energy Drink

When one travels internationally as much as I do there are many interesting people you bump into. However, it's most interesting the people you sometimes meet while flying. On my return flight from New York earlier this week I sat next to someone with the following business card:


Yes, the name of the company is Playboy Beverages. And Rick Liberty, the sales rep manager of the company is the one that was sitting next to me. He told me about their new Playboy Energy Drink that they had just begun launching less than a month ago, although only available in the Boston area for now. He was on his way to South Africa to try continue discussions to distribute it here and he told me that if things went smoothly we would see it in stores here in about a month! Many people like me don't like the taste of Red Bull, but I've tasted Monster which tastes much better and apparently this one's taste is much closer to Monster.

One thing that really surprised me is how they got so many shots with celebrities holding the drink and that they all asked for their picture to be taken without requesting a single cent!


From what I heard they sound like they have amazing fun doing this. And it's amazing how much just three people, yes three!, can do with such a great idea.

Google Code Search Added To Universal Search

Many readers of my blog will have heard of Google Code Search and some will remember that I was previously a part of the project. Well, that gives me special pride in announcing the introduction of Code Search into Google's main web search! For a sneak peak have a look here and see if you can spot the difference.

If you recall, it was little under a year ago when Google started going live with universal search. The problem this project attempted to solve was that almost all users of Google only ever make use of the main web search. The solution they had was to bring all the other specialised search results (from Maps, Images, News, etc.) to the main web search. Two major problems present themself in attempting to achieve this:

  1. The specialised search engines were used to receiving far lower levels of traffic than the web search, but in munging all the results together they would now all have to deal with the traffic levels obtained by the web search they were to integrate with.
  2. It's all fine and dandy saying that you're going to integrate the results, but deciding what type of results should be shown when is a challenging problem that needs to be solved per specialised search engine, but in such a way that the main web search guys are happy.
So this is what the fourth result now looks like when searching for StringTokenizer on google.com:


Some other examples: printf, atan2, strlen, ClassLoader

How useful will this be? Well, for one I think it will be useful in attracting users' attention to Code Search. I doesn't occur often enough in the results to be overly useful when trying to search for help on some class or function. And since web search doesn't allow for regular expressions, the most powerful feature of Code Search, it is severely hindered in its integrated form. Still cool though in my opinion. Is it clogging up the results page? I don't think so, since it only takes up one of ten results.

Sunday, April 13, 2008

Home Sweet Home

After a long and treacherous journey we have finally made it back home in one piece. Thankfully South African Airways decided to treat me a little by giving me an emergency exit seat from New York to Johannesburg (which has plenty leg-room) and upgrading me to first class for the short flight to Cape Town. I'm pretty sure this has to do with my recent achievement of silver status on the Voyager programme.

Let me rewind a bit and tell the last bit of our trip. We woke up at 09:00 yesterday morning and had to leave for the airport at 14:00. Since we had only a few hours left we chose to split up and each do our own thing. I went down to Times Square first where I walked into a few shops, but never bought anything.


After about 90 minutes of that I took the subway to 59th and 5th, where the top shopping is in Manhattan. The first shop that caught my eye immediately was the Apple store. They never cease to amaze me by their architecture, but this one was something special. It's this glass cage with the Apple logo dangling in the middle and a lift with a circular glass staircase taking people down into the store. Even inside, it was was by far the busiest Apple store I've seen. And this one's open 24 hours a day! I was blown away when the one salesman showed me the Apple TV streaming 720p video over the Internet in realtime!


After Apple I went into a few more stores. I bought something at Abercrombie and Fitch and then walked into this amazing Japanese/French department store called Takashimaya. They had some simply amazing crockery and ornaments. To get an idea of just how much there was to see in such short time have a look at this map of 5th Avenue. And what would it be without the annoyingly large number of taxis:


After all that I rushed back to the hostel where the others were waiting for me. I was a little late, but we had planned to arrive early. While on the subway to the airport taking the route we used when we first arrived at JFK we were told about a much faster route. Thankfully we took this faster route as it saved us a lot of time. As we caught the AirTrain and I checked our tickets for the terminal we had to go to I noticed I made a big boo-boo! I had read off the departure time for the wrong flight!! However, luckily the correct time was only 70 minutes earlier and since we were early for the "original" time we were able to make it to the check-in counter in time. Just in time!

Now that I'm home I'll be writing a post on looking back. It's bound to be long though, so don't expect it too soon. :-P I'm also going back through the past posts on these world finals and replacing the small images with high-res copies as I have ironically returned to faster Internet! Guess what happens when you leave 400 of the top computer minds in a hotel with free Internet? ;-)

Back to varsity tomorrow to find out when we're receiving our robots (or if they've already arrived!). And the team returns to Johannesburg on Tuesday for the IT Challenge Finals.

Saturday, April 12, 2008

New York City

So we have finally arrived in New York! Luckily our flight this morning was on time and we checked into our hostel at 12:30. Unfortunately we've been charged for the night we missed, but things could have turned out worse. Time to test out this flight protection plan that we paid $25 each for!

Our flight to South Africa departs at 18:30 tomorrow evening so we have to leave for the airport at around 14:00. So we're trying to make the most of our limited time here, which we started off by going downtown.

We first visited the World Trade Center site. I was in New York in December 2004 so I knew exactly what it looked like then. In the three years since then it really hasn't changed much. The plans for the site seem to have been finalised at long last, but they're still working on the foundations. They've built a temporary subway station (the subway goes underneath the WTC) with the permanent one scheduled for completion next year. Then they have two water pools they're building where the two towers used to be and are engraving the names of all the victims of 9/11 and the prior bombing. The sole replacement WTC tower is scheduled for completion in 2012.


Then there's this giant electronics store nearby called J&R. I visited it my last time here and when I returned I was once again surprised at the sheer size. It appears to have expanded quite a bit since 2004, but either way it's enormous and the salesmen are very helpful and knowledgable. As the others were rather overwhelmed by the quantity of products they had they chose not to purchase anything as they couldn't decide what to pick. There was nothing in particular I was looking for either, but it's always fun visiting such a store nonetheless.


Ever heard of China Town? How about Little Italy? Well we visited both today. They're small areas of Chinese and Italian shops respectively. China Town is rather large actually -- it would take a couple hours to walk all its streets. They have some rather intrieging shops, especially those selling food. I finally got to see a durian, which we had some interesting discussions about at NVIDIA. Then the fish shops had some things I wish I had rather not seen, such as this strange fish in a bucket that was looked dead, but then opened its mouth when I looked closer. I bought some funky Chinese dried fruit and other stuff, which I hope customs won't confiscate.


Little Italy was awesome! Okay so it's not very authentic, but it's good enough being so far from the real deal. Most of the people don't even speak Italian and the restaurants try too hard to get you to eat there, which brings back memories of Tijuana. After putting our name down for one restaurant we thought we'd be a little naughty and go into another instead. We chose Il Palazzo as it looked so nice inside and the food wasn't a disappointment.

Earlier on when we first arrived in New York this morning we tried to look for a show we could go watch. Being New York and Broadway it's something that just can't be missed. We wanted to see the Phantom of the Opera as it's a classic, however, tickets were difficult to come by so we settled for Chicago. It recently started showing in Cape Town, however it's never the same. I thought it was very good, although perhaps not meeting all the buzz about the show.


After the show we took a bit of time to reflect on the amazing lights of Times Square, which although nowhere close to Las Vegas is still an amazing sight at night. Unfortunately it was rather misty, but the lights are so bright that you don't notice it much at night. And if you're wondering why the sky is still not pitch black, well that photo was taken at about 12:30 in the middle of the night!


The last time I was here in December 2004 one of the things I enjoyed the most was the horse and carriage ride. I remember the horse, Whitey, so well and how he was so exhausted as he was nearing the end of his stint that he tried pulling the carriage away when the rider got out! So I went for another trip, once again going through central park, but this time in the rain. I find it amazing how such a large park can be allowed to last for so long in an area where land is so sought after the buildings all reach for the sky. The ride was nice, although due to the rain we didn't get to speak much with the driver and we didn't see nearly as many cool sights I saw last time I was here.


After the carriage we walked through Central Park a bit more, but the rain was getting a bit much so we looked for the closest subway. I feel so embarrassed when I ask someone where the nearest subway and they point to one that's right across the street! The subway was unbelievably packed for this late at night, worse so than many cities get during rush hour!

So this is almost over. Tomorrow we take the final leg back to Cape Town, arriving home on Sunday evening. I hope I recover from the jetlag quickly!

Friday, April 11, 2008

As If 28 Hours Wasn't Enough!

What a miserable ending to such a wonderful World Finals. We're stuck in Minneapoles with a wonderful snow storm brewing outside and a blizzard forecast for tomorrow morning!

It all started last night when we had the first snow in Banff and it came down hard, although it didn't last very long. We took the bus to Calgary this morning at 09:30 and as we got closer to Calgary airport so the snow started to plummet. By the time we arrived at the airport the roads were full of slush, the trees were coated in thick snow and the visibility was limited to less than 100 meters. About half a foot of snow had fallen in a matter of hours.

It went from this in Banff:


to this in Calgary:


to this at the airport:


As we got off the bus we were debating as to whether or not the flight was delayed. Unfortunately my gut feelings were confirmed when our flight originally scheduled for take-off at 13:50 was delayed until 14:54. I was immediately concerned as our connection time was already limited to 90 minutes, but as it stood we would have been able to make it. We were also told the weather in Minneapoles where we were to stop-over was also bad so we were hoping that our connecting flight was also delayed...how ironic!

When we went to check-in we discovered there were several teams on the same flight, some of whom also had tight connections. So we weren't entirely board waiting as we got to meet more teams. As the time approached so the delay was extended! We finally started boarding at about 16:00. When boarding I asked one of the flight attendants for the expected arrival time and it she said 19:27. The woes...our connection was scheduled to depart at 18:58 and it was shown as on time on their systems. So things were looking rather bad!

Finally we took off at about 16:30 and when we were approaching Minneapoles they told us that only one runway was in use due to bad weather!! So we had to fly in circles and only got to land at 20:30. Boy did we cross our fingers and just wish as hard as we could! We were told to go to gate G15 to get details on our connmecting flight. Some people called to find out about their connecting flights, but since our phones don't work in the US we had to stand in the queue. Luckily we chanced our luck and went to another gate that was able to help us without the wait. Unfortunately our flight had just departed 40 minutes ago!

There was, however, a flight to JFK departing at 22:50 so we changed to that flight. When we went to ask about our luggage at the gate they told us that due to the bad weather they were not re-routing any luggage and therefore our luggage would be sent to LGA (another airport in New York). So we were faced with two options:

1. Take the 22:50 flight to JFK tonight arriving at 02:30, taking a taxi to the hotel and then visiting LGA to collect our luggage.

2. Take a 07:00 flight to LGA tomorrow morning arriving at 10:39 and taking the bus to the hotel.

Tough choice! We had had enough of slugging around though and therefore after much debate we settled for the second option. The flight to JFK has just departed and so now we're stuck with our choice. Since there are so many delayed flights they've supplied portable mattresses for us to sleep on so we'll at least get a decent sleep at the airport.

Now we just need to hope like hell that this weather doesn't further affect us tomorrow morning and that our flight leaves on time. It's not looking good though as it's been coming down hard for the last two hours and there's a blizzard forecast for tomorrow!

Thursday, April 10, 2008

World Finals Results

The results of the 32nd ACM ICPC World Finals are in. My team came in 47th place out of 100 teams, just clinching the African and Middle East title by about 20 minutes! So they won $1,050 and a plaque to be added to the other five we have. While they have slipped a few places since last year, it's got a lot to do with the vigorous training programs improving rapidly.

A total of nine teams got 7 problems, with one solving 8! It's great that the winning team was decided on problems solved rather than time penalty. It was the Russian's that took back the title with St. Petersburg University of IT, Mechanics and Optics the world champions. MIT, Izhevsk and Lviv shared the remaining gold medals coming in that order, but with only 13 minutes separating them all! In the end 22 teams solved 6 or more problems, which I find an amazing achievement.

The final standings are available right here.

The University of Aukland won the South Pacific region and the Universidad de Buenos Aires won the Latin America region. Together with them we were the three southern hemisphere champions -- a great photo opportunity. I'm hoping most people can work out which team is which below.



The final celebrations was exciting, but still doesn't meet the high standards set by Shanghai in 2005. We had a nice dinner followed by two shows. They had two apparently famous jugglers followed by an apparently famous hypnotist. It was interesting to watch, but I don't believe it's something we can't watch back home which is was disappoints me. However, all in all it was a magnificent week and I am very sad to be leaving. It just started snowing down rather strongly (the strongest snowfall I've ever seen!) as we walked out of the celebrations theatre. It's stopped now, but it was a lovely touch to end of this amazing experience.


I'll blog more about the finals and in particular the topics discussed at the coaches meeting when I return to South Africa. I've got a 2 hour bus to catch in about 6.5 hours (and I still have to pack and squeeze in some sleep!), followed by 6 hours of flying to New York. We spend a couple nights there and then we return to Cape Town with 20 hours of flying.

World Finals Over

The 32nd ACM ICPC World Finals have just recently been completed. The teams are all exhausted and taking a nap before the awards ceremony and final celebrations begin.

It started out with a surprise of eleven problems instead of the usual ten. Things got even stranger when the first problem was only solved after 31 minutes and that the first five solutions were for five different problems! Something that is very unusual for the world finals where they usually have one definite easy problem which can be solved in under 20 minutes.

Our team took some time to solve their first problem (problem F) after 124 minutes. The American University of Cairo (who we were competing with for the Africa and Middle East title) were close behind from early on by solving F in 137 minutes, but ran ahead after 169 minutes with problem K (although they had 4 wrong submissions). We then got K with just under an hour to go, but then soon after Cairo got B (with at least 2 wrong submissions -- scoreboard stopped updating in the last hour). With less than ten minutes to go I saw the white balloon for problem G slowly moving closer to our team's table. And that's the way it ended -- both teams on three each and neck-and-neck with time. I did a rough calculation and it seems we're less than 20 minutes apart so we'll have to wait until the awards ceremony to find out if we will retain the title for the 6th consecutive year (out of 6 appearances in the world finals!).


You can view the scoreboard from an hour before the end of the contest here and the problems here. At least one team got an 8th problem right at the end -- St. Petersburg Institute of Fine Mechanics and Optics. And at least the following seven teams got 7:

  • Izhevsk State Technical University
  • Lviv National University
  • MIT
  • Michigan State University
  • Stanford
  • Tsinghua University
  • University of Zagreb
The final results should be published on the ICPC website shortly after the awards ceremony. After the ceremony is the final celebration which is always kept a surprise until the very last moment and is usually the most awesome part of the week besides the contest itself.