Categories
Saint Louis

St. Louis International Film Festival

Reading Time: < 1 minute

Last Updated on November 6, 2006 by stlplace

I heard about the annual St. Louis International Film Festival every year, made a resolution to go there every year, but never made it. This year’s festival is coming, Nov 9 to 19. Here is the list of movies. There will be three Chinese movies, they are:

Stolen Life starring Zhou Xun (Saint Louis Art Museum Thursday, November 16, 2006 12:00 PM);

Summer Place (Plaza Frontenac #1 Tuesday, November 14, 2006 9:15 PM); 

Three Times (Plaza Frontenac #1 Tuesday, November 14, 2006 6:30 PM).

stolen life

Categories
Fun Software development

Write Software not Novel

Reading Time: 2 minutes

Last Updated on May 28, 2009 by stlplace

When I was taking my first C++ class at graduate school, the professor has a favorite word “you guys should write a program that works, because if it does not work, you are writing a novel not a program”. Although I did wrote “novels” in one of his program assignments, I remembered his words since then, certainly this include my professional life. Writing software that works is not easy, but it’s a goal every developer should strive for.

Assume we are just writing a very simple C++ program (remember the “hello world”), bacially there are two kinds of obstacles or errors we will face. The first is the compile error. Today I fought all day for this kind of error. Most of times compile errors are easy to solve, because the compiler will give you some hints: such as forgetting the semicolumn; variable name does not match (typos); other simple things etc. But sometimes things can get really tricky. I remember one day my coworker came over for help. I went to his cube and we tried to figure out why things do not compile. I looked at the error message from compiler, which is pretty much useless.  So we had to guess and tried different approaches without success. About one hour later, I suddenly found out there is an extra “^H” at the beginning of a header file. Binggo. That solved the problem.

This afternoon I had similar problem, I had to compile some code written by my coworker, which has not been compiled before. This is kind of thing we programmers don’t like to do: deal with other people’s devil. I was puzzled by the compile error for about 3 hours: it was  complaining the std::vector not defined properly. Finally I found out my coworker put some header file inside the class (and another namespace), which is a bit unusal and it caused the conflict of vector. I will talk about the other type of error later on. Hint: compile error is relatively straightforward compared to the other error 🙁

Categories
Site Info

Links (updated 042208)

Reading Time: < 1 minute

Last Updated on May 28, 2009 by stlplace

I organized the links at the right side a little. Now I have the following categories. The link ends with * means you can not get access to it inside China, thanks to the GFW.

BLOG: the blogs I read often, most of them are written by my friends.

gseeker: I like this Chinese blog about google very much. The author spend lots of effort tracking what’s going on at Google: from people from google jump ship to facebook, to Google Finance stockscreener.

CHINA: China in Chinese and English, from business, economy, jobs to travel.

FINANCE: financial blogs and magazines.

MoneyCourier: it’s a Chinese blog talking about the mutual funds in China A share. Most Chinese stock or Finance blog are full of crap (talking about making fast money), this one is exception.

LINKS: I put anything else into “links” category. The topic ranges from business to life to technology.

MAJOR: my own stuff.

PRO: blogs written by professionals, i.e., money mangers, mutual fund manager, venture capitalist (VC) etc.

Zhuping: I recommend this one to you. Mr. Zhu is the VP, CIO of a major mutual fund company in China, more importantly, he talked about value investing.

Danbin: a hedging fund manager in China. He is a rare commodity in China hedging funds because he is also a value investor (at least he is talking about that all the time).

SHANGHAI: stuff about shanghai.

ST. LOUIS: stuff about Saint Louis, my current home

I will continue to refine this as times goes. Note I will remove links to “blogs” which is not active (say, not updated in last 2 months).