It's Tuesday

19 July 2005 » In Bay Area, Books » 3 Comments

It’s that time of year again. No, not Tour de France. Not the time of the crushingly hot, lead-melting temperatures either. It’s the time of the year when I evaluate my housing options, and so far the facts are:

  1. the housing market in Bay Area is crazier than Robin Williams on cocaine
  2. my apartment complex has been sold to a different entity and the new management company are complete and utter pricks

Given that I have not yet won a World Series of Poker championship and that the rent on the already overpriced apartment currently occupied by me has been jacked up even higher, I can easily say Au revoir, je vais chercher un autre endroit. Probably somewhere in Sunnyvale.
In other news, I finished Blondie24 and started on The Day After Tomorrow, because I felt like reading an engaging mystery thriller. Blondie24 was a good, if somewhat basic, introduction to the field of artificial intelligence and genetic programming. It was definitely oriented towards a lay person, but Fogel does a good job of describing their quest for evolving a checkers-playing neural network.

My Web

29 June 2005 » In Tech » No Comments

After trying to figure out how to keep my bookmarks shareable between computers (del.icio.us, various FireFox extensions and such come to mind) I was pleasantly surprised to see the unveiling of Yahoo!’s MyWeb2 – a hybrid of bookmarking, tagging, and sharing your pages within the community of your friends from Yahoo! 360. So, all it takes now for me to bookmark something is click on the little Save link in the search results or in my browser toolbar, put in a couple of tags, maybe a note, and set the access level. But the best thing is that when I do a search on Yahoo!, its MyRank algorithm rates the pages saved within my community higher, and also brings up a list of my bookmarks at the top of the page. And it’s dead easy to import your del.icio.us bookmarks or any other RSS feed into MyWeb2. Salvation at last.

Book Update

18 June 2005 » In Books, Reviews » 1 Comment

Finished: Kitchen Confidential by Anthony Bourdain. A fascinating, if sometimes shocking, look at what goes on behind the scenes in the restaurant business, specifically the kitchen. Bourdain does not pull any punches as he describes the rough and tumble kitchen crew, atmosphere, jargon, machinations, relentless pressure, and grisly details of every day of his profession in an eloquent and almost gleefully confessional way. His account is somewhat uneven and undoubtedly colored by his own history, but you will never forget why you should not order the fish on Monday.
Started: Blondie 24

Point Reyes and Hollister

18 June 2005 » In Bay Area » No Comments

On the Memorial Day my friend Simon and I drove out to Point Reyes, that remote and unique California landmark, taking some photos along the way. It’s a beautiful route if you take highway 1 after crossing the Golden Gate bridge and keep going along the coast and then the San Andreas fault.
And last weekend I finally went down to Hollister with Jeremy Z to go soaring in a glider. The weather could have been more agreeable, but it was great anyway. After being towed up to about 5,500 feet we were in the air for almost an hour, and let me tell you: it’s very different than flying in a big metal tube. I would liken it to riding a train versus a bike. Jeremy, who has been flying gliders for a while, took us through a couple of maneuvers, pulling 2 – 2.5 Gs along the way and giving me a glimpse of what fighter pilots and astronauts must feel. I had the front seat in the glider and managed to grab a few shots here and there.

age(PHP) = 10 years

07 June 2005 » In PHP » 1 Comment

PHP is 10 years old. It’s a big kid now, and it’s been a large part of my professional life ever since December of 1998 when I submitted bug #870 asking for a new language construct and then offered to help make PHP run better on Windows. Many words have been and will be written about this anniversary, but I would simply like to thank Rasmus for his friendship and for creating and nurturing PHP, and also his wife Christine for supporting Rasmus’ efforts throughout the years. May the next decade be ever more fun.

Shuffle My Queue!

04 June 2005 » In Hacks, Movies » 2 Comments

This is a random world. And people seem to like randomness: witness the popularity of iPod Shuffle. I am no different. I also watch a lot of movies: my Netflix queue has 72 DVDs in it currently. Recently I wondered whether it was possible to randomize my queue, so that the next DVD that comes in is somewhat of a surprise. After emailing the Netflix customer support and getting back a completely unhelpful reply telling me that I can re-order the queue by changing the priority numbers and clicking a button, I decided that it was time to take matters into my own hands.
Input: GreaseMonkey, Javascript, and a couple of hours of hacking. Output: NetflixQueueShuffler. I know that GreaseMonkey scripts site already has a Netflix queue randomizer, but I think that one is lame, since all it does is change the priority numbers and click the submit button for you. Mine actually re-orders the table rows visually and lets you do it a few times until you are satisfied with the randomness.

Amsterdam

01 June 2005 » In PHP, Talks, Travel » 1 Comment

Posting this out-of-order, but it couldn’t be helped.
A week before Cancún, I was at the International PHP Conference 2005 Spring Edition, held in Amsterdam. I gave an inaugural talk on the new Unicode support in PHP and also on the current state and development of PHP-GTK 2. This was my first visit to this city and I was determined enjoy it, despite the yawn-inducing 6 am departure time out of San Francisco and the three hours of turbulence after take-off. The good thing was that on the flight to Dulles airport the person seated next to me turned out to be the head of software department for Affymetrix, and we spent the whole time talking about DNA micro array, exons, TOUFs (transcripts of unknown function), and other such topics.
Continue reading “Amsterdam” &#8594

Music Hunger Satisfied

28 May 2005 » In Hacks » No Comments

Well, I am happy to report that I resolved my problem of how to play YME music through my stereo. Norbert Mocsnik set me on the right track but he lamented that it was not a software-only solution. So how did I accomplish this?

  1. Install and configure ShoutCast Server on my Windows machine.
  2. Install WinAmp DSP ShoutCast plug-in.
  3. Open the mixer and select Wave under recording panel.
  4. Open WinAmp preferences, select the ShoutCast plug-in in the DSP section. A control panel will pop-up.
  5. Go to Input tab and select Souncard Input under Input Device. This means that instead of using WinAmp to play the audio, the plug-in will record the data being played through soundcard’s output and re-broadcast it.
  6. Configure Output and Encoder tabs per DSP plug-in’s docs, and connect to ShoutCast server.
  7. Start YME and hit play.
  8. Point the XboxMediaCenter at the ShoutCast stream.

Bingo. All that is required are a couple of pieces of software and a full-duplex soundcard capable of recording its own playback (basically, a loopback mechanism). While it’s a not a one-button solution, it works well enough and now I can enjoy my custom Yahoo! radio station in full glory of 5.1 audio.

Music Hunger

26 May 2005 » In Tech » 2 Comments

So I’ve been trying out the Yahoo! Music Engine along with Yahoo! Music Unlimited service (free for Y! employees for a year, yay). I must say that while exhibiting all the strangeness and quirks that you expect from an alpha, it’s still a very cool product. Having access to a million of songs rocks. However, it only runs on Windows at this point. I am trying to figure out how to get it to play the music through my living room stereo. Could I set up a shoutcast server on the Windows box and have it streamed through there somehow? Any other solutions that involve buying as little hardware as possible?

The Amazing Race 7

21 May 2005 » In TV » 2 Comments

I finally caught up on the The Amazing Race and watched the season 7 finale last night. Wow, what a race to the finish line. I am very glad though that Uchenna and Joyce won the race, instead of Rob and Amber. I know they “played the game”, as a couple of people have told me, but I couldn’t help disliking them for their tactics. I guess this goes to show that playing in an honorable manner does not mean that you will lose. Uchenna and Joyce were mere meters from the finish line, and yet they took time to find money to pay their taxi driver, rather than sprinting off. Try that, Rob!
Looking forward to the next season.