Month: February 2006

First home in Shanghai

Posted by – February 28, 2006

I rented a flat with another two roommates who works in the same area at Shenbei Road in Minhang District. It is a small road which is located in southern Shanghai and the house is very far away from the centre of the city. It takes about 45 minutes for me to get to the People Square by subway from my flat. Fortunately, the Line 5 subway is not far away from my house.

The house is near my workplace and I believe it is a good daily exercise for me to walk to the office by foot.

More

Basename Bug in MovableType 3.2

Posted by – February 27, 2006

Recently, I encounter a problem when I use the “preview” function when I publish my entries. I guess you may have suffered this bug with MovableType 3.2 if you are also a newbie of MovableType. The problem is when an entry is saved from the Preview screen; the entry basename may be incremented or, if the title was changed, altered to fit the new title. And the other pages such as category page and index page will automatically change to the new entry’s permanent link.

More

My Google page

Posted by – February 23, 2006

It seems that Google want to bring a personal blast. Check the following page.
http://xinquanzhu.googlepages.com/
Is it cool? If you have a gmail account, you can also have one or more pages as you like.

More

My old classmate

Posted by – February 22, 2006

My 10-years-have-not-seen classmate Yin Huanhuan added to my MSN messenger contact list yesterday. It is unbelievable that she is a writer now and is very famous in my hometown. She wrote a river novel called “柔柔女孩心”. I guess every section of this fiction is the reflection of her.

More

Why So Many People come to Shanghai

Posted by – February 15, 2006

I left my office with one of my colleagues very late yesterday. It was valentine’s day, of course, we talked about the feast day at first. Then, our topic changed to his high school life. He is from Shandong Province where high school students’ Gaokao(National College Entrance Examinations) mark is very high and now he have graduated from Shanghai Jiao Tong University. He said he was No.1 when he was high school student, but when he came to the university, he found that so many talent students in the university.

More

A trick using #if pre-processor

Posted by – February 13, 2006

I hit a small C++ grammar trick which I have never met before in my project. The problem is how to deal with the situation that two defined identifiers have the same compilation behavior. A simple solution to this is to write two same block code like this:

More

My MovableType Archive Template

Posted by – February 12, 2006

The original archive template in MovableType 3.2 will list all the articles in block. Of course, I do not like showing my articles in such a chaos. Obviously, My Readers will suffer a lot as the total of my articles increase to a considerable number. So I search the Internet and try to find a way that displaying the articles more friendly. Well I find a yearly archives template is very similar to my demand, but what I prefer is list my articles all together separated by month not year.

More

Feedback of This Site

Posted by – February 10, 2006

I guess you have some interest in this site when you come here! Since this site is built not very long and only maintained by myself, of course, there are many bugs in this site. So if you have any unconvenience when browsing this site, please do not hesitate to post a comment here!
I appreciate all your suggestions!

Display Code In Entries

Posted by – February 8, 2006

Maybe there are many reasons that you want show the source code in your MT entries, such as HTML, C++, Perl etc. However, if you simply type that code in while writing the entry, the resulting page will not show the tags and code. So how do you display code in entries? There are several methods and currently my method is using code2HTML and design a CSS style for it.

More

Programming in the UNIX Environment

Posted by – February 2, 2006

There are two books i have read when i begin my programming carrer.
One is <Advanced Programming in the UNIX Environment> written by W. Richard Stevens. The other is <Linux Device Drivers, 2nd Edition> written by Alessandro Rubini and Jonathan Corbet

More

Thinking in C++

Posted by – February 2, 2006

I have read the volume 1 of the book during the last month.
It is a very famous book about C++. When I was searching the way to master the C++ language, everyone recommend this book to me.

More

Windows file permission influence my blog

Posted by – February 1, 2006

Since I installed the Movable Type on my laptop which runs Windows xp, I have suffered a lot from the windows file system permission settings. Here is some typical errors if you do not set the proper permission of your files in the “Intepubwwwroot” directory.

More