In C, the #define token is widely used as a macro and maybe others. When we write a program with complex #define and such, maybe incorrectly used on top of another, how can we see if they are really correct?
Continue reading “C Preprocessor check before compilation”
China announces edX platform to power its new online learning portal XuetangX. This online is especially useful for Chinese students who wish to get some supplementary knowledge on academic courses. For English speaking learners, this website provides English translation subtitles in their course video (maybe not all). Beside the subtitles, the professors use English during their presentation.
Continue reading “Online learning in Chinese – XuetangX”
I got complains from my cute classmate Vince saying that my blog’s article links were so ugly (the default wordpress permalink). So I fixed it.
Continue reading “Permalink fixed”
In our a5p2 question, we need to write a general template for the deterministic finite automata, with input details are listed below:
Continue reading “Deterministic Finite Automata in C”
A4P2 is relatively a simple straightforward question. Here is the link to the question.
Continue reading “A4P2”
For thoses who don’t know what a5p1 means, it means Assignment 5, Problem 1.
Yesterday, my professor Jim added a new assignment for us to do. I am going to talk about the first in this article.
Continue reading “A5P1”
Since kernel 3.10, everytime I did a kernel upgrade, my fedora just wouldn’t boot into this new kernel. Also I have previously set my TIMEOUT to 0, which means I won’t have a choice during boot.
The problem is not big nor severe, but it did took me some time to figure how.
Continue reading “Boot into new kernel in Fedora 19”
I’ve always fascinated with my professor Jim Diamond’s email client, and how it interacts with his zsh. Start from today, I am going to change my main email client from Thunderbird to Mutt too. Here is a small piece of snippet that I put into my ~/.mutt configuration. You may follow my steps and copy the necessary information to your mutt configuration files.
Continue reading “Using Mutt as Email client”