To compile gnuplot in snow leopard use the following command:
./configure --with-readline=bsd --x-include=/usr/include/X11 --x-libraries=/usr/X11/lib
and then use make and sudo make install.
Sunday, September 6, 2009
Wednesday, November 12, 2008
Ruby
I apologize for not posting here for almost half a year now. I have started to learn ruby and I'm impressed with I have seen so far. I read the book/tutorial in http://pine.fm/LearnToProgram/ it didn't take me much time since it's geared to someone learning how to program for the first time, but you get much of the syntax of the language just by reading the tutorial.
The most interesting part of the tutorial is chapter 10. Procs is nothing new, and is not unique to ruby, from a C perspective it gives the programmer much more flexibility.
I can think of many cases where passing Procs to Methods and return Procs from Methods would be useful, i.e. make a method that will return the n_th Laguerre polynomial using the Rodrigues formula. Notice we are not evaluating the n_th Laguerre polynomial at x. We are evaluating a function that will calculate the n_th polynomial at any x.
Cheers.
The most interesting part of the tutorial is chapter 10. Procs is nothing new, and is not unique to ruby, from a C perspective it gives the programmer much more flexibility.
I can think of many cases where passing Procs to Methods and return Procs from Methods would be useful, i.e. make a method that will return the n_th Laguerre polynomial using the Rodrigues formula. Notice we are not evaluating the n_th Laguerre polynomial at x. We are evaluating a function that will calculate the n_th polynomial at any x.
Cheers.
Wednesday, July 9, 2008
Skribit
I have added a new widget, it's called skribit and it will allow to make suggestions for my blog. I have not worked a lot on the blog lately but I'm planning to make some changes in the future.
Best Regards
Chuy
Best Regards
Chuy
Thursday, June 12, 2008
NExT step machine
Jacob, Sahil and Me won a NExT machine (no one else wanted it) from the experts. Nice! Now we need some power cables to get it to work. More to come stay tuned.
Tuesday, May 20, 2008
Wednesday, April 23, 2008
Good Video
Thursday, April 17, 2008
Subscribe to:
Posts (Atom)