2010年7月22日 星期四

Perl OpenGL (POGL)

http://en.wikipedia.org/wiki/Perl_OpenGL
Perl OpenGL (POGL) is a portable, compiled wrapper library that allows OpenGL to be used in the Perl programming language.


基本上就是在perl裏呼叫opengl函式庫,速度看來相當快


http://graphcomp.com/pogl.cgi?v=0111s3m8&r=s3m1 有兩個demo可以拿來run一下看看

2010年7月17日 星期六

What To Do Once You've Downloaded A Module From The CPAN / 如果你直接從cpan下載了一個模組的話,接下來要怎麼安裝呢?

http://www.cpan.org/modules/INSTALL.html

基本上我上了黃色底色的部分是大家比較容易忽略的

  1. If you're on Unix,(You can use Andreas König's CPAN module to automate the entire process, from DECOMPRESS through INSTALL.)
    A. DECOMPRESS


    Decompress the file with gzip -d yourmodule.tar.gz
    You can get gzip from ftp://prep.ai.mit.edu/pub/gnu.

    Or, you can combine this step with the next to save disk space:

    gzip -dc yourmodule.tar.gz | tar -xof -
    B. UNPACK

    Unpack the result with tar -xof yourmodule.tar
    C. BUILD

    Go into the newly-created directory and type:

    perl Makefile.PL
    make
    make test
    D. INSTALL

    While still in that directory, type:

    make install

    Make sure you have the appropriate permissions to install the module in your Perl 5 library directory. Often, you'll need to be root.
    That's all you need to do on Unix systems with dynamic linking. Most Unix systems have dynamic linking -- if yours doesn't, or if for another reason you have a statically-linked perl, and the module requires compilation, you'll need to build a new Perl binary that includes the module. Again, you'll probably need to be root.

Personal Brain

http://www.youtube.com/watch?v=QP3d7P4AERg

相較於mindmanager,這個軟體比較強調一種"魚眼"的視角功能

這在認知心理學上或圖學上都有它的立論基礎

不過一旦mindmanager也實作這個功能的話,personal brain就沒有什麼競爭優勢了