Find Music You Will Love

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!

Continue reading “Find Music You Will Love”

My First Digital Camera

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.

Continue reading “My First Digital Camera”

My First MFC Application using COM

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.

Continue reading “My First MFC Application using COM”

await the result

I went to an interview last week and, now await for the result of it. I can’t wait for the result as it may change my career dramatically. Fingers are crossed.

COM COM COM

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.

Continue reading “COM COM COM”

Use Regular Expressions in Emacs

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.

Continue reading “Use Regular Expressions in Emacs”

I should learn Sociology

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.

Continue reading “I should learn Sociology”

A small piece of anti-spam JavaScript code

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.

Continue reading “A small piece of anti-spam JavaScript code”