On Fri, Nov 21, 2008 at 10:17 PM, Jeff Pickhardt <[EMAIL PROTECTED]> wrote: > Professor Stein, > > Hi, my name is Jeff Pickhardt and I'm trying to make a really simple > but powerful calculator. I went to this summer's SciPy Conference but > I don't think we met, although I remember you. > > One thing I'd really love, as a physics major, is a really simple but > powerful calculator. I currently made a front-end and my own back-end > in Perl for a web calculator (www.encalc.com), but I'd really like to > use SAGE to enable more powerful features like differentiation and > integration. (I know of the SAGE Notebook and I've used it and
Do you mean something like this: http://magma.maths.usyd.edu.au/calc/ I wrote that like 5 years ago for PARI and Magma, but ended up disabling my versions due to security concerns. > recommend it to my friends - it's great - but something simpler and > faster for quick calculations would also be good, in my opinion) http://sagenb.org is a lot faster during the last 2 weeks than before... But it's definitely not super-simple. > I'm having trouble figuring out everything that's going on with SAGE, > and trying to integrate it into a Python script. Is there some way to > "evaluate" an expression through Python, but have a whitelist of > acceptable SAGE functions so that I am not giving people access to any > Python functions that could be used to hack my server? Not that I'm aware of. Maybe somebody else on sage-devel will have some ideas. Personally, I think it would be nearly impossible with a language as flexible as Python. It's better to just run the commands as a very restricted user in a sandboxed virtual machine (like I do with sagenb.org). > > Regards, > Jeff Pickhardt > > PS - Congratulations on your new book. > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---