RPy is an interface that allows you to call R functions and handle R objects in Python.
Archive for July, 2009
RPy – simple and efficient access to R from Python
July 28, 2009A Tutorial on Independent Component Analysis
July 21, 2009can be found here.
pthreads – Some useful links and solution for maximum thread number
July 21, 2009Manual Reference Pages (including a list of functions that are not thread-safe)
Tutorial on pthreads
And if you wonder why you cannot create more than X threads on your system (for me this was always 382), this forum provides a solution.
Basically, the problem is that each thread created will occupy space for its stack. On my system, the default thread stack size is 8MB. Therefore, after 382, I simply run out of space.
Solution: Change the stack size to a smaller value, unless you really need 8MB.
pthread_attr_t tattr;
size_t size;
size = PTHREAD_STACK_MIN + WHAT_ELSE_YOU_NEED;
pthread_attr_init(&tattr);
pthread_attr_setstacksize(&tattr, size);
Another interesting page on pthreads is this.
Lectures about Gödel Escher and Bach
July 7, 2009Here, they’re free and they look nice
UNIX Network Programming by Stevens
July 6, 2009UNIX Network Programming Volume 1, Third Edition: The Sockets Networking API
by W. Richard Stevens; Bill Fenner; Andrew M. Rudoff
can be found online at safari books.
in addition:
just realised that it is not the complete version, just previews. sorry!
Profiling Code Using clock_gettime
July 6, 2009Find a good explanation here written by Guy Rutenberg.