To compile the example programs from Stevens’ “Advanced Programming in the UNIX Environment,” under Ubuntu, install the following package:
libc6-dev (will automatically install another package that it depends upon)
The header files are located in /usr/include.
Now, to compile, say Program 1.1, go to files/. Type “make ls1″.
./ls1 /etc
To install man pages for libraries, look for “manpages-dev” package, […]
Just found this today. PHP on Trax, formerly PHP on Rails. Looks cool!
A friend said on his Twitter, “用PHP做Rails做的事真不是人幹的XD.”
After a short dialog over the email, I learned I should be able to do with RoR everything that can be done with PHP. I have to admit that PHP makes me suffer, but I always thought it was because I was not used to it.
Seems time to learn […]
I have read several different books while learning various computer languages. For Pascal, my first language, I used D. Cooper’s “Oh! Pascal!” For C++, I read S. Lipman’s “C++ Primer.” For Perl, I read R. Schwartz’s “Learning Perl.” For Java, I read “The Java Tutorial” and “Core Java.”
Among all the books I have read, Core […]
Commenter Email address verification plug-in: Sends an email to 1st-time commenter. The email contains a verification code that requires the commenter to enter before a comment can be submitted for the blog-admin to approve.
This experience illustrates the KISS principle—Keep It Simple and Silly.
While I was making a WordList class to implement multi-user Boggle game, the first data structure that came to my mind was a trie.
Lazy, I made a quick and dirty array implementation, and found it only 0.8 second slower than an existing trie implementation […]