This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From http://stackoverflow.com/questions/9128519/reading-many-values-from-numpy-c-api | |
/* | |
Make | |
g++ -o matrix_multiply.o -c matrix_multiply.cpp -I{python include file for numpy/noprefix.h} -I{python include} -fPIC -O2 -Wno-deprecated -Wno-write-strings | |
g++ -o matrix_multiply.so -shared matrix_multiply.o -L{boost lib path} -lz -lm -ldl -lpthread -boost_python | |
Python code: | |
import numpy | |
import matrix_multiply |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://zachholman.com/talk/how-github-uses-github-to-build-github | |
Roger shared | |
http://shukaiyang.myweb.hinet.net/articles/inefficiency.htm | |
http://www.english.tw/space-1389-do-thread-id-298.html | |
Jason Fried | |
rework他寫的 | |
http://www.ted.com/talks/lang/chi_hant/jason_fried_why_work_doesn_t_happen_at_work.html | |
http://www.inside.com.tw/2011/03/01/37signals-make-money |