Categories
Software development

Increamental Development

Reading Time: < 1 minute

Last Updated on May 28, 2009 by stlplace

Friday afternoon, 4 PM, finanlly I made things working: I mean the program compiled and ran at the first time. So what did I do? I found there are some minor problems here and there, and I decided to correct them. Off I went to make those “important” changes. By 5 PM I completed the changes and now the code stopped compiling and to make things worse, I promised to my boss to give him/her a demo on Monday morning! Why would I put myself into this kind of situtation? Or don’t we all have those kinds of situation in our development life?

Categories
Saint Louis

What’s this

Reading Time: < 1 minute

Last Updated on November 11, 2006 by stlplace

Normally I had it in a “to-go” cup. This is the first time they put it in the glass cup.

IMG_4342  IMG_4340
Categories
Fun Saint Louis

Some pictures from Wash U. Diwali

Reading Time: < 1 minute

Last Updated on November 11, 2006 by stlplace

Diwali is the most important festival in India. I went to the Indian students Diwali party here at Washington Univ, Olin school of business. This is the second time I went to the Diwali: the first one was 7 years ago (1999) when I was in graduate school at Rolla. I like the enthusiasm Indian students showing their cultures to people from other background. Although I still can not take their curry. By the way, the dean of Wash. U. b-school is originally from India.

IMG_4336 IMG_4335
IMG_4334 IMG_4332
Categories
Business China

B2B Developments in China

Reading Time: < 1 minute

Last Updated on November 11, 2006 by stlplace

B2B, business to business, was a popular concept in dot com era. The idea was to connect the companies (suppliers, OEM, vendors…) using B2B software. In those days, there are a few B2B software companies such as Commerce One flied high. But B2B never grew as big as people dreamed in the US. On the other hand, Alibaba, the China company connecting Chinese manufacturers with foreign buyers, was very successful. The bar raised again recently as more players joined the party. One of them, is the Ninetowns (NINE), the company provides software for importing and exporting in China. The following is I saw from Andy Yu’s blog (in Chinese, see below).

We all know in business especially foreign trade, trust is very important. Essentially TooToo is creating its own rank system for the Chinese exporters. They have the raw data when providing the software and services for Chinese companies, and the rank is based on those data. When foreign buyers see an exporter is certified by TooToo, or “China Qualified Supplier”,  they can worry less about the quality etc. TooToo (Ninetowns) essentially is trying to create a credit report for the Chinese suppliers.

Categories
Saint Louis

Talent Election Party

Reading Time: 2 minutes

Last Updated on November 8, 2006 by stlplace

As promised I put some of the photos I took last night at Jim Talent election party. It’s interesting to see some young people (high school, college) to show up. The McLaskill photo was taken at my home TV.

IMG_4314 IMG_4304
IMG_4299 IMG_4318
IMG_4295 IMG_4289
Categories
Business Saint Louis

Election

Reading Time: < 1 minute

Last Updated on November 8, 2006 by stlplace

By now I think most people are happy with the election being over. At least we don’t have to bear with the silly ads on the TV any more. While I am not a political junkie, I went to the Jim Talent’s US senate re-election party in Frontenac last night. I figured rather than watching the TV at home, why not join the party as I used to saw people (mostly supporters) gathering for their canidates. I just want to get a feel of election party, that’all. The reason I picked Talent’s party because it’s only 10 minutes drive for me (hint, I lived near republican strong hold, Ladue). Later on I learned that Mclaskill’s party offered free bear. There are many interesting people there; I will post pictures later on and let them do tht talk.

Wall Streets obviously did not like the Democrats taking over house (expected) and likely control of the senate (unexpected). But in my mind, other than those stocks heavily influenced by the goverment policies, i.e., drug, oil/gas, defense, health care, stem cell, alternative energy, most stocks are unaffected by this. Also, (little noticed), Wall Street’s biggest headache, Mr. Elliot Spitzer won the Governor race in New York. That means he will leave the Attorney General post. I bet many people in the Street will be very happy 🙂

On the immigration issue, it could be positive because Democrats are pro immigrants in general. This could means the revival of immigration reform bill currently deadlocked in congress. Note President Bush is for the bill. Can we expect getting Green Card faster? I would not speculate on it because it’s way too early to tell — note there are some conservative democrats got elected, and they could make things uncertain.

Categories
Fun

Don’t get stuck

Reading Time: < 1 minute

Last Updated on November 7, 2006 by stlplace

Saw this article from my friend Liu Shuhui’s blog. I think it’s kind of interesting because I thought my green card situation is very much like that. Not to mention the stocks, let’s don’t go there today 🙂

======================

譬如公车平常是十五分钟一班,当你花在等待的时间超过十分钟后,你会开始烦躁不安,但通常你会继续等下去,等到超过十五分钟公车还不来时,你除了咒骂外,也开始感到‘后悔’——你应该在十五分钟前就走路或坐计程车去的。

  但通常你还会继续等下去,因为你已‘投资了那么多的时间’,不甘心现在改坐计程车,结果就越陷越深,无法自拔,直到公车姗姗来迟,你心理的困境才获得解脱。
  但人生有很多‘目标’,并不像公车那样‘必定会来临’,而且投资的也不是你‘个人的时间’而已。如何避免蹈入陷阱在人生道上,如何避兔蹈入这类‘陷阱’,也是一门不小的学问,心理学家鲁宾(J.E.Rubin)的建议是:
  1.确立你投入的极限及预先的约定:譬如投资多少钱或多少时间?
  
  2.极限一经确立,就要坚持到底:譬如邀约异性,自我约定‘一次拒绝就放弃’,不可改为‘五次里面有三次拒绝才放弃。’
   3.自己打定主意,不必看别人:事实证明,两个陌生人在一起等公车,‘脱身’的机会就大为减少,因为‘别人也在等!’
  4.提醒自己继续投入的代价。
==================
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).