Latest comments
In response to: Paludis meets Java, part I
csavolainen [Visitor]
If you haven't already I would suggest you take a look at JNA instead of JNI. It does it's binding dynamically instead of having to write native "glue".
P.S. Your comment form won't take my real email address for some reason.
P.S. Your comment form won't take my real email address for some reason.
In response to: Hidden PI
rcn [Visitor] · http://rcn.zonasiete.org
Hi Ferdy!
It's funny to hear that since I have just finished a college paper about using PVM to calculate a Mandelbrot fractal :) I would have never thought pi was involved xD
Talking about obscure ways to calculate pi... I will never forget when my math teacher got the sum of a Fourier series (if I remember right). The result was pi/8. What a guy...
It's funny to hear that since I have just finished a college paper about using PVM to calculate a Mandelbrot fractal :) I would have never thought pi was involved xD
Talking about obscure ways to calculate pi... I will never forget when my math teacher got the sum of a Fourier series (if I remember right). The result was pi/8. What a guy...
In response to: Solving the Missionaries and Cannibals puzzle
Fernando J. Pereda [Member]
In the post I linked there is a solution in Ruby, and two links to solutions in Prolog and Lisp:
Missionaries and Cannibals in Prolog
Missionaries and Cannibals in Lisp
It shouldn't be too hard to do it in C (thus in C++ and Objective-C). Perl, Java, Python and other imperative languages should also be 'easy'. Bash will be a bit tricker though.
Cheers,
Ferdy
Missionaries and Cannibals in Prolog
Missionaries and Cannibals in Lisp
It shouldn't be too hard to do it in C (thus in C++ and Objective-C). Perl, Java, Python and other imperative languages should also be 'easy'. Bash will be a bit tricker though.
Cheers,
Ferdy
In response to: Solving the Missionaries and Cannibals puzzle
Kim [Visitor]
Seen any solutions in other languages?
ie. bash, perl, C, C++
ie. bash, perl, C, C++