Aug 27

Before install Erlang, please make sure GCC is installed.

1. Download Erlang source code from http://www.erlang.org/download.html

2. Unarchive the file

3. run Terminal and follow the steps

cd otp_src_R14A
./configure
make
sudo make install

4. type erl in Terminal, it should be ok now.

There is a plugin for XCode to use Erlang.

Download from http://sourceforge.net/projects/quickconnect/ , and run it.

written by admin \\ tags: , ,

Aug 14

Did you turn off the screen by pressing Fn + F1 several times?

Try to use Ctrl + Shift + power button.

Don’t forget that cmd + opt + power button can make mac sleep.

written by admin \\ tags:

Jul 24

The course of multicore is one week long (5 days actually).
Here is some key word during the course:
shared memory
OpenMP
PThreads
TBB (intel)
VS2010
Vectorization
GPU
java parallelism

Both TBB and VS2010 are very good tools to develop multicore programme. There are many websites about these topics.

written by admin \\ tags: , , , ,

Jul 13

When open taglist in vim, it may says:

Taglist: Failed to generate tags for /my/path/to/file
ctags: illegal option — -^@usage: ctags [-BFadtuwvx] [-f tagsfile] file …

Solution is quite easy, open .vimrc and add the following line

let Tlist_Ctags_Cmd=’/location/ctags’

In my mbp, Snow Leopard, it is ‘/opt/local/var/macports/software/ctags/5.8_0/opt/local/bin/ctags’

written by admin \\ tags: ,

Jun 30

I have been in Sweden for 10 months. Now I’m back to China.
It’s so hot in China now. After I got out of airplane, I changed my cloth immediately. Another thing is that there are so many people in front of you :P
I need some time to be used to this.

written by admin