[sage-devel] First Integral Test Suite

2008-11-25 Thread Tim Lahey
Okay, I've put together a very preliminary integral testing set (only 25 right now). It compares the Sage integration (via Maxima) to results from Schaum's. It also does timing comparisons of Maxima and FriCAS (Axiom). SymPy is more difficult, because of difficulty in simplifying results for

[sage-devel] Re: Vote for ecl/boehmgc and removal of clisp

2008-11-25 Thread Robert Bradshaw
On Nov 23, 2008, at 1:17 PM, John Cremona wrote: 2008/11/23 mabshoff [EMAIL PROTECTED]: On Nov 23, 1:03 pm, John Cremona [EMAIL PROTECTED] wrote: Hi, Before I jump on the bandwagon, are there any arguments at all against this? Not that I can see. The main reason we chose clisp over

[sage-devel] Re: First Integral Test Suite

2008-11-25 Thread Ondrej Certik
Hi Tim! On Tue, Nov 25, 2008 at 9:05 AM, Tim Lahey [EMAIL PROTECTED] wrote: Okay, I've put together a very preliminary integral testing set (only 25 right now). It compares the Sage integration (via Maxima) to results from Schaum's. It also does timing comparisons of Maxima and FriCAS

[sage-devel] Re: A simpler SAGE?

2008-11-25 Thread Robert Bradshaw
On Nov 24, 2008, at 1:37 PM, Jason Grout wrote: jrpick wrote: For security, I just mean that if I have it running on a server, I don't want people to be able to do malicious things like play with the filesystem, send mail, or drop mysql tables. More than a sandbox, however: you

[sage-devel] Re: First Integral Test Suite

2008-11-25 Thread Tim Lahey
On Nov 25, 2008, at 6:27 AM, Ondrej Certik wrote: Hi Tim! On Tue, Nov 25, 2008 at 9:05 AM, Tim Lahey [EMAIL PROTECTED] wrote: Okay, I've put together a very preliminary integral testing set (only 25 right now). It compares the Sage integration (via Maxima) to results from Schaum's.

[sage-devel] Re: Vote for ecl/boehmgc and removal of clisp

2008-11-25 Thread mabshoff
Ok, I consider this vote closed and since there were only +1 votes also a positive conclusion has been reached. As a first step for 3.2.1.a1 I have created #4615 which makes boehm_gc a default spkg. It is optional now and has gotten some decent build testing via the optional M2.spkg, so things

[sage-devel] Re: First Integral Test Suite

2008-11-25 Thread mabshoff
On Nov 25, 4:36 am, Ondrej Certik [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 12:37 PM, Tim Lahey [EMAIL PROTECTED] wrote: SNIP You're welcome. Since I prefer to use Git rather than Mercurial, I've created a Git repository for my code as I work on it. I've put up a second test

[sage-devel] Forward: [SciPy-user] CorePy 1.0 Release (x86, Cell BE, BSD!)

2008-11-25 Thread mabshoff
This looks very cool and was posted on the Scipy list: Hi scipy-ers - Some of you may remember CorePy from previous SciPy conferences. Feedback from those meetings was very helpful for planning the future of CorePy. Without further ado... Announcing CorePy 1.0 - http://www.corepy.org We are

[sage-devel] Re: First Integral Test Suite

2008-11-25 Thread Ondrej Certik
On Tue, Nov 25, 2008 at 12:37 PM, Tim Lahey [EMAIL PROTECTED] wrote: On Nov 25, 2008, at 6:27 AM, Ondrej Certik wrote: Hi Tim! On Tue, Nov 25, 2008 at 9:05 AM, Tim Lahey [EMAIL PROTECTED] wrote: Okay, I've put together a very preliminary integral testing set (only 25 right now). It

[sage-devel] Re: A simpler SAGE?

2008-11-25 Thread Ronan Paixão
Em Seg, 2008-11-24 às 13:05 -0800, jrpick escreveu: For security, I just mean that if I have it running on a server, I don't want people to be able to do malicious things like play with the filesystem, send mail, or drop mysql tables. More than a sandbox, however: you shouldn't be able to

[sage-devel] Re: [sage-support] Re: how to pass a symbolic function to python, maxima etc?

2008-11-25 Thread Mike Hansen
Hi, On Tue, Nov 25, 2008 at 6:22 AM, Stan Schymanski [EMAIL PROTECTED] wrote: Hi Mike, This is pretty cool, thanks! Is there something equivalent for passing a function f to python or numpy? I'm not exactly sure what you mean by this so I'll take a guess. Given, your f=a*x^2+b, do you want

[sage-devel] Re: A simpler SAGE?

2008-11-25 Thread Jason Grout
Ronan Paixão wrote: On Nov 24, 6:49 am, Jason Grout [EMAIL PROTECTED] wrote: Jeff Pickhardt wrote: When I say simple I mean really, really, REALLY simple. So simple it's intuitive for non-programmers. I can program and I could always run Python scripts or use command line interfaces

[sage-devel] Re: Vote for ecl/boehmgc and removal of clisp

2008-11-25 Thread rjf
Well, you have been happy running clisp, even though it is substantially slower than GCL. ECL is presumably faster than clisp, but that is not even remotely surprising since clisp is a byte-code interpreter. I don't know what you mean by the boehm_gc is the best of breed garbage collector.

[sage-devel] The Symbolic Ring parser

2008-11-25 Thread Timothy Clemans
Hi, Should the SR parser support equations? In the past I've wanted a symbolic expression/equation parser for making step by step problem solvers. Timothy --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from

[sage-devel] Re: Sage 3.2.1.alpha0 released

2008-11-25 Thread Justin C. Walker
On Nov 23, 2008, at 03:37 , mabshoff wrote: Hello folks, here goes 3.2.1.alpha0. Loads of merged patches all over the map. The total number of ticket with patches is down to 144 from 157, but I guess I don't need to point out that there is still plenty of patches to go around :). The

[sage-devel] Sage in a USB drive

2008-11-25 Thread Alfredo Portes
There has been some requests to know if SAGE can be installed as a bootable USB drive. 1) Download http://sage.math.washington.edu/home/alfredo/sagelivecd/sage_livecd.zip Inside the zip there are two directories: boot and SAGE as in:

[sage-devel] Re: First Integral Test Suite

2008-11-25 Thread Tim Lahey
On Nov 25, 2008, at 7:53 AM, mabshoff wrote: Cool. I would suggest we open a ticket so that integration in Sage defaults to any of MMA, Maple, Maxima, Axiom and Sympy. That way running the test suite (at least for performance) would become trivial and I would also think that many users might

[sage-devel] Re: First Integral Test Suite

2008-11-25 Thread William Stein
On Tue, Nov 25, 2008 at 10:29 AM, Tim Lahey [EMAIL PROTECTED] wrote: On Nov 25, 2008, at 7:53 AM, mabshoff wrote: Cool. I would suggest we open a ticket so that integration in Sage defaults to any of MMA, Maple, Maxima, Axiom and Sympy. That way running the test suite (at least for

[sage-devel] Re: Sage 3.2.1.alpha0 released

2008-11-25 Thread Jaap Spies
mabshoff wrote: Hello folks, here goes 3.2.1.alpha0. Loads of merged patches all over the map. The total number of ticket with patches is down to 144 from 157, but I guess I don't need to point out that there is still plenty of patches to go around :). The door before the big ReST

[sage-devel] Re: Sage 3.2.1.alpha0 released

2008-11-25 Thread mabshoff
On Nov 25, 12:11 pm, Jaap Spies [EMAIL PROTECTED] wrote: Hi Jaap, On Fedora 10, 32 bits (released today!) I got a build error: === = BUILDING MATPLOTLIB          

[sage-devel] Re: The Symbolic Ring parser

2008-11-25 Thread Robert Bradshaw
On Nov 25, 2008, at 8:34 AM, Timothy Clemans wrote: Hi, Should the SR parser support equations? In the past I've wanted a symbolic expression/equation parser for making step by step problem solvers. Timothy Yes, it should. In fact, the parser itself supports, lists, tuples, etc. as

[sage-devel] Re: [sage-support] Re: how to pass a symbolic function to python, maxima etc?

2008-11-25 Thread Stan Schymanski
Dear Mike, both your guesses are absolutely correct. I am surprised that no one has asked for it before. It is so convenient to use Sage's symbolic power to solve systems of equations and then use the solution in a numerical model. In particular, I would like to apply the solutions to arrays

[sage-devel] Sage Integral Test Suite

2008-11-25 Thread Tim Lahey
Hi, I've added a quite a few integrals to the test suites now. There are two problems currently: a) Maxima on occasion takes input which raises an exception. b) Some of the integrals have multiple solutions and I haven't found a good way to include and compare these. However, since I can't

[sage-devel] Re: [sage-support] Re: how to pass a symbolic function to python, maxima etc?

2008-11-25 Thread Stan Schymanski
Dear Mike, both your guesses are absolutely correct. I am surprised that no one has asked for it before. It is so convenient to use Sage's symbolic power to solve systems of equations and then use the solution in a numerical model. In particular, I would like to apply the solutions to arrays

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Bill Page
Tim, What version of sage is required to run this? I get the following error: [EMAIL PROTECTED]:~$ ./sage*/sage -- | SAGE Version 3.1.4, Release Date: 2008-10-20 | | Type notebook() for the GUI, and

[sage-devel] Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread mabshoff
Hello folks, at http://trac.sagemath.org/sage_trac/ticket/4567 you can find my attempt to finally catch up with the release notes of the last three Sage releases. I know, I know, I am rather late, but things keep getting in the way. What is now needed to push the official button on 3.2 is a

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Bill Page
On Tue, Nov 25, 2008 at 7:58 PM, Tim Lahey wrote: As Mike said, it requires Sage 3.2. After an apparently sucessful 'sage -upgrade': [EMAIL PROTECTED]:~$ sage -- | Sage Version 3.2, Release Date: 2008-11-20

[sage-devel] Sage patch licenses

2008-11-25 Thread David Joyner
Hi: I'm currently reading Intellectual Property and Open Source: A Practical Guide to Protecting Code by Van Lindberg (excellent book, IMHO, written by a former programmer, turned lawyer). There is one point he drives home which I never thought about much, and that is the following. The basic

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Tim Lahey
On Nov 25, 2008, at 10:16 PM, Bill Page wrote: [EMAIL PROTECTED]:~$ ./integral_test1.sage Test 1 : Test Passed. Maxima Time: Traceback (most recent call last): File ./integral_test1.py, line 96, in module time_Maxima_friCAS(integrand) File ./integral_test1.py, line 81, in

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Bill Page
On Tue, Nov 25, 2008 at 10:32 PM, Tim Lahey wrote: Strange, The timeit code is in sage/misc/sage_timeit.py and sage/misc/sage_timeit_class.py so I'd check to see if the code there has the stats attribute. If it does, I'd assume that somehow Sage didn't pick up the change. I do not have

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Mike Hansen
Hi Bill, On Tue, Nov 25, 2008 at 8:00 PM, Bill Page [EMAIL PROTECTED] wrote: It seems that none of these files has anything named 'stats': It appears that 'sage_timeit.py' was not updated by '-upgrade'. Note: Directory sage-3.1.4 is where I previously built sage from source. I did not

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Tim Lahey
On Nov 25, 2008, at 11:00 PM, Bill Page wrote: I do not have any file named 'sage/misc/sage_timeit_class.py', instead there is 'sage/misc/sage_timeit_class.c' and 'sage/misc/sage_timeit_class.pyx' [EMAIL PROTECTED]:~/sage-3.1.4$ find . -name sage_timeit.py

[sage-devel] Re: sage-3.2

2008-11-25 Thread Minh Nguyen
Hi Michael, On Tue, Nov 25, 2008 at 6:53 AM, mabshoff [EMAIL PROTECTED] wrote: On Nov 24, 1:48 am, Minh Nguyen [EMAIL PROTECTED] wrote: Hi Michael, Hi Minh, SNIP I re-ran the tests under the above Mac OS X system, using this command: /path-to-sage-root/sage -testall -verbose This

[sage-devel] Re: Sage patch licenses

2008-11-25 Thread root
...[snip]... ... Van Lindberg points out implicit licenses are not legally binding and presents a legal horror story of one guy contributing code he do not own to an OS sourceforge project, only to be bankrupted by lawsuits and SF being required to remove

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Bill Page
On Tue, Nov 25, 2008 at 11:05 PM, Mike Hansen wrote: On Tue, Nov 25, 2008 at 8:00 PM, Bill Page wrote: It seems that none of these files has anything named 'stats': It appears that 'sage_timeit.py' was not updated by '-upgrade'. Note: Directory sage-3.1.4 is where I previously built sage

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Mike Hansen
On Tue, Nov 25, 2008 at 8:38 PM, Bill Page [EMAIL PROTECTED] wrote: Still unhappy. Did it really mean 'don't forget to commit'? Where? Regards, Bill Page. You just run hg ci to commit the merge. Then to make the changes active, you have to start sage with sage -br. --Mike

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Bill Page
On Tue, Nov 25, 2008 at 11:10 PM, Tim Lahey wrote: ... However, it sage_timeit.py there should be the class, class SageTimeitResult(): r I represent the statistics of a timeit() command. I print as a string so that I can be easily returned to a user. def

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread William Stein
On Tue, Nov 25, 2008 at 8:44 PM, Bill Page [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 11:10 PM, Tim Lahey wrote: ... However, it sage_timeit.py there should be the class, class SageTimeitResult(): r I represent the statistics of a timeit() command. I print as a string so

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Bill Page
On Tue, Nov 25, 2008 at 11:42 PM, Mike Hansen wrote: On Tue, Nov 25, 2008 at 8:38 PM, Bill Page wrote: Still unhappy. Did it really mean 'don't forget to commit'? Where? You just run hg ci to commit the merge. Then to make the changes active, you have to start sage with sage -br. That

[sage-devel] Re: Sage 3.2.1.alpha0 released

2008-11-25 Thread William Stein
On Tue, Nov 25, 2008 at 12:14 PM, mabshoff [EMAIL PROTECTED] wrote: On Nov 25, 12:11 pm, Jaap Spies [EMAIL PROTECTED] wrote: Hi Jaap, On Fedora 10, 32 bits (released today!) I got a build error:

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Tim Lahey
On Nov 26, 2008, at 12:25 AM, Bill Page wrote: That magic worked. 'integral_test1.sage' runs as expected. Now I'm happy. :-) Thanks! Great. If you have any suggestions (or code), I'd be happy to hear them. Cheers, Tim. --- Tim Lahey PhD Candidate, Systems Design Engineering

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread Bill Page
On Wed, Nov 26, 2008 at 12:14 AM, William Stein wrote: Bill Page wrote: After the merge the dates on the 'sage_timeit.py' file did not change and there is no 'class SageTimeitResult' in that file. You definitely haven't upgraded to sage-3.2 then. Try this from sage: sage: hg_sage.ci()

[sage-devel] Re: Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread William Stein
On Tue, Nov 25, 2008 at 5:10 PM, mabshoff [EMAIL PROTECTED] wrote: Hello folks, at http://trac.sagemath.org/sage_trac/ticket/4567 you can find my attempt to finally catch up with the release notes of the last three Sage releases. I know, I know, I am rather late, but things keep getting in

[sage-devel] Re: Sage Integral Test Suite

2008-11-25 Thread William Stein
On Tue, Nov 25, 2008 at 9:28 PM, Bill Page [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 12:14 AM, William Stein wrote: Bill Page wrote: After the merge the dates on the 'sage_timeit.py' file did not change and there is no 'class SageTimeitResult' in that file. You definitely haven't

[sage-devel] Re: Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread Minh Nguyen
On Wed, Nov 26, 2008 at 4:29 PM, William Stein [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 5:10 PM, mabshoff [EMAIL PROTECTED] wrote: Hello folks, at http://trac.sagemath.org/sage_trac/ticket/4567 you can find my attempt to finally catch up with the release notes of the last three

[sage-devel] Re: Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread mabshoff
On Nov 25, 9:42 pm, Minh Nguyen [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 4:29 PM, William Stein [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 5:10 PM, mabshoff [EMAIL PROTECTED] wrote: Hello folks, athttp://trac.sagemath.org/sage_trac/ticket/4567you can find my attempt to

[sage-devel] Re: Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread William Stein
On Tue, Nov 25, 2008 at 9:47 PM, mabshoff [EMAIL PROTECTED] wrote: On Nov 25, 9:42 pm, Minh Nguyen [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 4:29 PM, William Stein [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 5:10 PM, mabshoff [EMAIL PROTECTED] wrote: Hello folks,

[sage-devel] Re: Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread Minh Nguyen
On Wed, Nov 26, 2008 at 4:45 PM, William Stein [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 9:42 PM, Minh Nguyen [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 4:29 PM, William Stein [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 5:10 PM, mabshoff [EMAIL PROTECTED] wrote: Hello

[sage-devel] Re: Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread William Stein
On Tue, Nov 25, 2008 at 9:42 PM, Minh Nguyen [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 4:29 PM, William Stein [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 5:10 PM, mabshoff [EMAIL PROTECTED] wrote: Hello folks, at http://trac.sagemath.org/sage_trac/ticket/4567 you can find my

[sage-devel] Re: Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread mabshoff
On Nov 25, 9:50 pm, William Stein [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 9:47 PM, mabshoff [EMAIL PROTECTED] wrote: On Nov 25, 9:42 pm, Minh Nguyen [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 4:29 PM, William Stein [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 5:10

[sage-devel] Re: Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread mabshoff
On Nov 25, 9:53 pm, Minh Nguyen [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 4:45 PM, William Stein [EMAIL PROTECTED] wrote: SNIP I'm really glad you volunteered, since you have *amazing* attention to detail.   You can upload release notes to a trac ticket -- there should be one

[sage-devel] Re: Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread mabshoff
Oh yeah: Another thing I haven't done in ages is to get the info from the contributors list and have them added to the Dev Map. This should also be a ticket for each release in case we have somebody new contributing. Cheers, Michael --~--~-~--~~~---~--~~ To post

[sage-devel] Re: Sage patch licenses

2008-11-25 Thread Jason Grout
root wrote: Standard industry practice on half a million open source projects does not include an I have signed over my copyright on this particular patch button. A general copyright judgement making the current practice illegal would wipe out the free software movement overnight (except for

[sage-devel] Re: Sage patch licenses

2008-11-25 Thread mabshoff
On Nov 25, 10:38 pm, Jason Grout [EMAIL PROTECTED] wrote: root wrote: Standard industry practice on half a million open source projects does not include an I have signed over my copyright on this particular patch button. A general copyright judgement making the current practice illegal

[sage-devel] Re: Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread Jason Grout
What is even more important is to do the work for the main features, i.e. the Sage Release Tour in the wiki during development and not as an afterthought. The best results there have always been had when the patch authors did the changes themselves. It would also be great to clean up the old

[sage-devel] Re: Sage 3.1.3, 3.1.4 and 3.2 release notes and Sage release tour

2008-11-25 Thread mabshoff
On Nov 25, 10:53 pm, Jason Grout [EMAIL PROTECTED] wrote: What is even more important is to do the work for the main features, i.e. the Sage Release Tour in the wiki during development and not as an afterthought. The best results there have always been had when the patch authors did the

[sage-devel] Computer Algebra Test Suite (CATS)

2008-11-25 Thread root
Tim, Were you just interested in integration or do you intend to work on a full test suite? If you're interested in building a larger test suite I'd be happy to work with you (or others) on areas that interest both Axiom and Sage. Indeed, this might be a good way for students and mathematicians

[sage-devel] Re: First Integral Test Suite

2008-11-25 Thread William Stein
On Tue, Nov 25, 2008 at 11:16 PM, Martin Rubey [EMAIL PROTECTED] wrote: Tim Lahey [EMAIL PROTECTED]: a hint: the simplification facilities in FriCAS are not extremely powerful (because they try to be correct - in vain). The closest thing to simplify in Maxima, Maple, Mathematica etc., is

[sage-devel] how to call Sage from Lisp, was: Re: [sage-devel] Re: First Integral Test Suite

2008-11-25 Thread Martin Rubey
William Stein [EMAIL PROTECTED] writes: For cooperation: is there an equivalent of InputForm in Sage? I.e., given an object (output), is there a way to have Sage output a string (input), which fed back into Sage gives output? (Should be something like a textform of dumps) No.

[sage-devel] Re: Computer Algebra Test Suite (CATS)

2008-11-25 Thread Tim Lahey
On Nov 26, 2008, at 2:13 AM, root wrote: Tim, Were you just interested in integration or do you intend to work on a full test suite? If you're interested in building a larger test suite I'd be happy to work with you (or others) on areas that interest both Axiom and Sage. Indeed, this might

[sage-devel] Re: how to call Sage from Lisp, was: Re: [sage-devel] Re: First Integral Test Suite

2008-11-25 Thread mabshoff
On Nov 25, 11:38 pm, Martin Rubey [EMAIL PROTECTED] wrote: SNIP I admit, I'd be extremely interested in using Sage from FriCAS (i.e., the other way round), because I tried Python a fair bit meanwhile (I even used it for teaching) and I find it awful. The main problem to get started is to