Sunday, May 27, 2012

Install gnuplot 4.6 with pdf on Ubuntu

http://blog.pengyifan.com/install-gnuplot-4-6-with-pdf-on-ubuntu/

Saturday, May 19, 2012

Compile fnTBL


http://www.cs.jhu.edu/~rflorian/fntbl/

1. check cpu type
    less /proc/cupinfo

2. change makefile $FNTBL/src/Makefile
    delete "-march=pentium4" or change it to "-march=XXX"

3. change source file $FNTBL/src/fnTBL_train.cc, line 883
    change "static_cast<unsigned int>" to "static_cast<unsigned long int>"

4. compile
    > make all

Wednesday, May 2, 2012

函数式编程的另类指南(1)

http://blog.pengyifan.com/%e5%87%bd%e6%95%b0%e5%bc%8f%e7%bc%96%e7%a8%8b%e7%9a%84%e5%8f%a6%e7%b1%bb%e6%8c%87%e5%8d%971/