@kirupa, I liked your email about calculating π so I came to share the “math heavy computation” I’m forcing my computer do for me. It’s Newton’s method, implemented in R, which is used to find the roots of a function:
nmet = function(f, g, t = 1e-10) {
while(abs(f(g)) > t) {
g = g - f(g) / nder(f, g)
}
return(g)
}
No, but I have thought about looking into it. I believe there are already a lot of packages for Python relating to statistics, and even biology more generally.
There are also biology-related programs like PyMOL which I use frequently and can be scripted with Python.
So, I really probably should learn it. Do you use Python? What’s the best way to get into it?
Given how much I miss ActionScript, why don’t I just get into JavaScript? I never should’ve thrown away that disc for Macromedia Studio 8; maybe it would still work!
I’m strongly considering creating programming tutorials for Python this year. It’s a very forgiving language with a clean syntax. It is also one of the most popular languages - just a few hairs shy of JavaScript’s massive popularity!
For the types of activities you are describing, Python may be a better fit than JavaScript.