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.
Continue reading “First home in Shanghai”
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.
Continue reading “Basename Bug in MovableType 3.2”
It seems that Google want to bring a personal blast. Check the following page.
Is it cool? If you have a gmail account, you can also have one or more pages as you like.
Continue reading “My Google page”
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.
Continue reading “My old classmate”
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.
Continue reading “Why So Many People come to Shanghai”
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:
Continue reading “A trick using #if pre-processor”
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.
Continue reading “My MovableType Archive Template”
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!
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.
Continue reading “Display Code In Entries”
There are two books that I have read when I began my programming career.
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
Continue reading “Programming in the UNIX Environment”
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.
Continue reading “Thinking in C++”
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.
Continue reading “Windows file permission influence my blog”