Archive for June, 2010

Coming to America

June 29, 2010
Coming to America with Eddie Murphy (1988)

I don't have a crown, and I'm not looking for a wife, but I'm still coming.

Next month is the MIT Pi Reunion in Las Vegas, so I’ve decided to go back to America.  Since I have to leave China for a day on July 10 anyway (because of my visa), I’m just going to fly to Boston on July 10 and stay in the US until the reunion is over on August 2.  In addition to Boston and Las Vegas, I’m also going to visit Ohio and San Francisco.

I already have a number of people I have to see in each city, but I’m not out of time yet.  If you’d like to get together, send me an email or leave a comment here.  I’m really looking forward to this trip and the chance to see all my good friends again.  The last five months have been exciting in China, but I know I must have missed out on a lot back in the States.

Here’s my detailed itinerary:

  1. Saturday, July 10 8:30pm – arrive in Boston
  2. Tuesday, July 20 noon – arrive in Stow
  3. Sunday, July 25 11am – arrive in San Jose
  4. Thursday, July 29 8am – arrive in Las Vegas
  5. Monday, August 2 10am – depart Las Vegas for China

Finding Deodorant in Beijing

June 23, 2010

Tonight, Judy and I were standing outside the pharmacy at 10pm when a foreign man walked up and asked if I spoke English.  Of course, I do, so we started talking.  Turns out he wanted to know where to buy deodorant.  (Judy thinks he had a date lined up.)

Luckily for him, I had faced the difficult task of buying deodorant in China myself and knew exactly where to go.  When I moved to China, I didn’t bring any, either.  I figured that it was inexpensive enough that I’d use whatever space it might take up for other more valuable things, and I’d buy some when I got here.  However, I didn’t realize that Chinese men do not use stick deodorant and that it would take me three weeks to find any.

Just in case anyone out there is searching the internet for an answer to this question, let me tell you where it is.  The first place I found some was at April Gourmet grocery store.  It’s close to Gongti West Road (工体西路), at the first intersection north of Gonti North Road.  If you’re walking north, take a right on that first intersection and go about 200m.  It will be on your right with a red and green sign.  The deodorant is only available behind the checkout counter, so you have to ask them for it.  They have two kinds – Axe deodorant and Axe antiperspirant.  Here is a page about them with a map on Google.

The other place to go is K.H.Sam’s.  They have more selection, but I can’t remember exactly what brands, since I didn’t buy any there.  To find it, go to the right side of the first floor in the back.  They are also located on Gongti West Road.  To find them, go across the street from Gongti West Gate (near Pavilion bar) and walk south about 400m.  They’ll be on your left just after the G3 club.  I can’t find a map for them on Google.

Good luck to all – Beijing is hot in the summer, so I hope this keeps you smelling fresh.

UPDATE 2010/10/29:

The BHG Market Place in Sanlitun now carries deodorant as well.  It’s at the front of Aisle 4 near the bottom shelf.

Bespoke Row Blog

June 16, 2010

I recently started a new blog for Bespoke Row – [updated 2010/09/08] Now it’s hosted at http://www.bespokerow.com/blog. Read the rest of this entry »

JSLint’s ‘unexpected end of line’ vs. JQuery style

June 10, 2010

I recently added a script to run JSLint over any javascript files that were changed in my last batch of commits when I push changes to our main repository (if you’re interested, you can take a look).  Immediately, I had my feelings hurt when it started reporting a bunch of errors and warnings.

Most of them I agreed with, but the ambiguous end of line warning when the line was catching syntax that I had very purposefully used to increase readability (for me).  Read the rest of this entry »

Beijing Coworking Status

June 6, 2010

A few minutes ago, I sent out an email update on Judy and my coworking idea that I talked about recently in A New Place To Work.  Then, I realized people who aren’t actually going to be able to participate in Beijing might be interested in our status as well, so I decided to post it on my blog, too.  Here you go: Read the rest of this entry »

OutdoorsBeijing

June 5, 2010

One of the first software projects I built in China was an Appspot.com application to visualize the air pollution in Beijing hour-to-hour.  You can see it at outdoorsbeijing.appspot.com.  I did this for a combination of reasons: Read the rest of this entry »

mysql_connect and ‘No such file or directory’

June 2, 2010

I was working with a friend to get him started with PHP development on OSX, and we were stumped by a ‘No such file or directory’ error message for a long time.  It seemed to be coming from the following line:

$this->linkid = @mysql_pconnect($host, $user, $password) or die(mysql_error());

At first, we didn’t understand it, because it doesn’t look like PHP is trying to connect to a file there.  However, we eventually discovered that the file that wasn’t found was the MySQL socket.  Because he had used Ports to install MySQL instead of downloading the .dmg from mysql.com, he didn’t have the same default socket as most other people on the internet. Read the rest of this entry »

Follow

Get every new post delivered to your Inbox.