Month: April 2006

Have you ever wasted your time to find the songs fit your unique taste? If the answer is yes, it ‘s the site you should visit. A very cool service Pandora. Pandora is a music discovery service designed to help you find and enjoy music that you’ll love. All you need to do is just typing a song name or artist name you love. Pandora will discover many songs which have similar musical qualities with it and play these songs one by one. Very cool!

I’m thinking of getting a digital camera for a long time but I don’t get one until yesterday. The problem is that which digital camera I should buy. There are innumerable cameras in the market currently. I must admit that I haven’t a clue to choose one! Finally, after long time search, I made up my mind. Canno A610 is very fortunate to be my first digital camera. I have searched much info about this camera on Internet for a couple of weeks, so it only took me about 15 minutes to buy the camera in Xujiahui. Because of the last experience of buying digital goods in Xujiahui, the goods there are a bit expensive. I was planned to buy it on Internet. But it seems that the digital camera is an exception and I cancelled the original plan.

I am excited to tell you that I have built a simple MFC applcation using COM objects, which used to be somehow mysterious to me. The COM objects are created by ATL. Before reading this article, I assume that you have the basic knowledge of COM and be experienced programming in C++. One thing I should pointed out is that I am a newbie of COM and there may be some errors in this article. Still, The reason I write this article is to record my growth of my technical career and share it with you.

I thought I would stick on my Linux path and finally to be a Unix/Linux expert when I took the current job. But just like Groom said, “Life is like a box of chocolate, you never know what you’re going to get”. I realize that there are some more interesting technologies there waiting for my exploring. I must confess that The Microsoft® COM (Component Object Model) has made a great effort on platform-independent and object-oriented software development. This technology is so popular that many large companies are using it to build complicated applications and also so many software job positions require knowledge of COM explicitly.

What is Regular Expression? A regular expression is a special text string for describing a certain amount of text. Generally, A regular expression contains a few special characters and ordinary characters. If you have used Linux/Windows systems, you will probably familiar with wildcard notations such as *.txt to find all text files in a folder. That’s a simple regular expression example (Thanks for netcasper’s correcting . The regex equivalent to “.txt” is .*.txt). Nowadays, Most of the text editors support regular expression such as vi, emacs and Ultra Editor(not a free software). Today, I would like introduce some basic knowledge about regular expression and use it in Emacs to improve the efficiency of your coding work.

This interesting tool valgrind is a debug tool and can been used to find memory bug, include memory leak. There is a rpm in Fedora Core 3 CD. You can get it from CD or download the source code from their website. Moreover, this tool is a Free Software, and is freely available under the GNU General Public License. You can use it to debug Linux programs and it’s very easy to use.

From the childhood, I was told to study science rather liberal arts. Because the adult believe that graduating by a science degree will have a good job than arts. I don’t know the truth at that time, so finally I complied my parents’ opinion and chose scinece in high school and Computer Science in the college. But the following test told me I should learn Sociology. Was I wrong? maybe. But having made the decision already, I will continue pursuing my dreams in C.S.

Due to the long distance between Gongqing Forest Park and the place where I live, the original barbecue plan in this weekend was canceled. But I am feeling a little regretted now about the decision I have made. Fortunately, Yixuan didn’t change his mind and came to shanghai again. He brought us a heavy downpour and took a QUANJUDE roast duck back to Hangzhou.

I found out that there was a spam in my Blog several days ago and I deleted it manually. The spam is created by MoableType’s comment system. Although MovableType has great anti-spam features. It blocked most of them, but it seems that there are some exceptions. My site is very small though, the spam still came up. I can imagine the serious problem when the traffic of my site increases. so I made some change in my site’s comment system.

I went to a party for single this Saturday. The matchmakers were my colleagues and his girlfriend. It seems that the guys in my department is a little introverted and the result is that only 3 guys attended this party while there are 11 girls show up.