[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread Alex Ghitza
Hi Michael, One correction to attributions: Merged in Sage 3.3.rc3: #4688: Alex Ghitza: wrap pari functions idealstar and ideallog [Reviewed by John Cremona] should be #4688: Maite Aranes, Alex Ghitza: wrap pari functions idealstar and ideallog [Reviewed by John Cremona] Best, Alex --

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread Alex Ghitza
I've recently (yesterday) turned my work MacBook into a dual-boot MacOSX and Archlinux machine. I built 3.3.rc3 from scratch under Linux, without problems and with all tests passing. I updated to 3.3.rc3 under OSX, without problems except one small doctest failure due to the fact that I forgot I

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread mabshoff
On Feb 21, 12:15 am, Alex Ghitza aghi...@gmail.com wrote: Hi Michael, Hi Alex, One correction to attributions: Merged in Sage 3.3.rc3: #4688: Alex Ghitza: wrap pari functions idealstar and ideallog [Reviewed by John Cremona] should be #4688: Maite Aranes, Alex Ghitza: wrap pari

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread mabshoff
On Feb 21, 12:21 am, Alex Ghitza aghi...@gmail.com wrote: Hi Alex, I've recently (yesterday) turned my work MacBook into a dual-boot MacOSX and Archlinux machine.  I built 3.3.rc3 from scratch under Linux, without problems and with all tests passing.  I updated to 3.3.rc3 under OSX,

[sage-devel] Re: Interaction with SymPy and other packages

2009-02-21 Thread Maurizio
Another example is with matplotlib. As I can read somewhere on the web, there are different opinions about using the SAGE plot capabilities rather than this external package. Sage's 2d plotting just uses matplotlib, which is a standard package included in SAge.  Matplotlib's pylab

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread Jaap Spies
mabshoff wrote: Hello folks, Sage 3.3.rc3 is out and available in the usual place at http://sage.math.washington.edu/home/mabshoff/release-cycles-3.3/ We merged a bunch of fixes and hopefully all doctest issues will have been resolved. So far only two issues have cropped up that

[sage-devel] Re: reusing solutions in functions

2009-02-21 Thread Maurizio
That was the way I used to do it when I discovered the solution_dict param. So, I started using the dictionaries to do substitution even in complex expressions... The result was to wait so much time! On the contrary, I found that the subs(expr, x=value) was S much faster (are the

[sage-devel] Re: reusing solutions in functions

2009-02-21 Thread Harald Schilly
On Feb 21, 12:30 pm, Maurizio maurizio.gran...@gmail.com wrote: So, I started using the dictionaries to do substitution even in complex expressions... The result was to wait so much time! That sounds bad, can you give an example? Or create one so that others can investigate it? result =

[sage-devel] Re: Interaction with SymPy and other packages

2009-02-21 Thread Burcin Erocal
Hi Maurizio, On Fri, 20 Feb 2009 16:21:36 -0800 (PST) Maurizio maurizio.gran...@gmail.com wrote: unfortunately, I don't have the code with me right now (I could give you on monday), but I'm pretty sure it is something REALLY straightforward and not optimized, like this: def coll(expr,s):

[sage-devel] pexpect problem.

2009-02-21 Thread Florent Hivert
Dear all, It seems that I'm having a pexpect problem on my computation server. Maybe you already know that but it is not deterministic, ie doctest hangs in some more or less randomly chosen file. I've followed the instructions on

[sage-devel] upgrade fails again

2009-02-21 Thread John Cremona
Am I the only person for whom sage -upgrade always fails? It downloads lots of stuff, builds lots of stuff, and leaves me with an un-runnable sage which doesn't know whether it is the old version or the new. In this case my working 3.3.rc2 was upgraded. Afterwards, the banner still says

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 6:23 am, mabshoff mabsh...@googlemail.com wrote: On Feb 21, 6:10 am, John Cremona john.crem...@gmail.com wrote: Hi John, Am I the only person for whom sage -upgrade always fails?  It downloads lots of stuff, builds lots of stuff, and leaves me with an un-runnable sage which

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 6:10 am, John Cremona john.crem...@gmail.com wrote: Hi John, Am I the only person for whom sage -upgrade always fails?  It downloads lots of stuff, builds lots of stuff, and leaves me with an un-runnable sage which doesn't know whether it is the old version or the new.

[sage-devel] Re: upgrade fails again

2009-02-21 Thread Simon King
On 21 Feb., 15:27, mabshoff mabsh...@googlemail.com wrote:  rm -rf devel/sage oops:   rm -rf devel/sage* Note that this will nuke all your changes, but that should be fairly obvious :)  ./sage -f spkt/standard/sage-x.y.z.spkg And I guess in the previous line it is

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 6:36 am, Simon King k...@mathematik.uni-jena.de wrote: On 21 Feb., 15:27, mabshoff mabsh...@googlemail.com wrote:  rm -rf devel/sage oops:   rm -rf devel/sage* Note that this will nuke all your changes, but that should be fairly obvious :)  ./sage -f

[sage-devel] Re: upgrade fails again

2009-02-21 Thread Robert Bradshaw
On Feb 21, 2009, at 6:23 AM, mabshoff wrote: On Feb 21, 6:10 am, John Cremona john.crem...@gmail.com wrote: Hi John, Am I the only person for whom sage -upgrade always fails? It downloads lots of stuff, builds lots of stuff, and leaves me with an un-runnable sage which doesn't know

[sage-devel] Re: upgrade fails again

2009-02-21 Thread John Cremona
Thanks for the diagnosis and suggestions. Evidently I did the upgrade from a clone, one I made yesterday to review one of those patches Suggestion: since the upgrade already gives a prompt and will not continue unless you reply yes, why not add to that prompt a line saying don't go any

[sage-devel] Re: reusing solutions in functions

2009-02-21 Thread Robert Bradshaw
On Feb 21, 2009, at 3:30 AM, Maurizio wrote: That was the way I used to do it when I discovered the solution_dict param. So, I started using the dictionaries to do substitution even in complex expressions... The result was to wait so much time! On the contrary, I found that the subs(expr,

[sage-devel] Harmonic numbers and Stirling numbers

2009-02-21 Thread Fredrik Johansson
Hi, Looking around, it seems Sage does not yet implement harmonic numbers (except via SymPy)? If anyone is interested, I benchmarked a few different algorithms and blogged about it here: http://fredrik-j.blogspot.com/2009/02/how-not-to-compute-harmonic-numbers.html Besides (generalized)

[sage-devel] Small problem with Sage.app environment

2009-02-21 Thread mark mcclure
I can't quite figure out how to access optional programs using Sage.app. For example, if I start sage via the command line './sage-3.3.rc2/sage' and then fire up the notebook, I can access Octave and compute the eigenvalues of a random 5x5 matrix using something like the following %octave A

[sage-devel] Re: Small problem with Sage.app environment

2009-02-21 Thread mabshoff
On Feb 21, 8:14 am, mark mcclure mcmcc...@unca.edu wrote: Hi Mark, I can't quite figure out how to access optional programs using Sage.app.  For example, if I start sage via the command line './sage-3.3.rc2/sage' and then fire up the notebook, I can access Octave and compute the

[sage-devel] Re: upgrade fails again

2009-02-21 Thread John Cremona
On Feb 21, 3:45 pm, John Cremona john.crem...@gmail.com wrote: Thanks for the diagnosis and suggestions.  Evidently I did the upgrade from a clone, one I made yesterday to review one of those patches Suggestion:  since the upgrade already gives a prompt and will not continue unless you

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 8:57 am, John Cremona john.crem...@gmail.com wrote: On Feb 21, 3:45 pm, John Cremona john.crem...@gmail.com wrote: Hi John, I'm now doing an upgrade from my rc0 build, not from any clone, and we'll see what happens! The upgrade failed in exactly the same way as above.  To

[sage-devel] Re: upgrade fails again

2009-02-21 Thread John Cremona
Thanks, Michael. Obviously do not spend any (more) time on this before 3.3 is out. Or maybe 3.4. or 3.4.1. or... see http://www.warwick.ac.uk/staff/J.E.Cremona/upgrade.tgz for the install log and env output. I could not do either hg heads or hg status in sage-3.3.rc0/devel/ sage :

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 9:58 am, John Cremona john.crem...@gmail.com wrote: Hi John, Thanks, Michael.  Obviously do not spend any (more) time on this before 3.3 is out. The Sage 3.3 sources are already in the usual place with the other 3.3.alpha and rc releases. They should be on the main website

[sage-devel] Re: upgrade fails again

2009-02-21 Thread William Stein
On Sat, Feb 21, 2009 at 8:57 AM, John Cremona john.crem...@gmail.com wrote: On Feb 21, 3:45 pm, John Cremona john.crem...@gmail.com wrote: Thanks for the diagnosis and suggestions. Evidently I did the upgrade from a clone, one I made yesterday to review one of those patches

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 10:41 am, William Stein wst...@gmail.com wrote: On Sat, Feb 21, 2009 at 8:57 AM, John Cremona john.crem...@gmail.com wrote Hi, I particularly like the suggestion that my problem is to upgrade (which does nothing, of course). That is an error message from Ipython suggesting

[sage-devel] Fwd: sage @ Quantnet.org - Financial Engineering Forum

2009-02-21 Thread William Stein
-- Forwarded message -- From: Harald Schilly harald.schi...@gmail.com Date: Sat, Feb 21, 2009 at 3:09 AM Subject: sage @ Quantnet.org - Financial Engineering Forum To: William Stein wst...@gmail.com Hi, my google-alert just told me about this. I think you maybe want to follow

[sage-devel] Re: Interaction with SymPy and other packages

2009-02-21 Thread Jason Grout
Maurizio wrote: Another example is with matplotlib. As I can read somewhere on the web, there are different opinions about using the SAGE plot capabilities rather than this external package. Sage's 2d plotting just uses matplotlib, which is a standard package included in SAge. Matplotlib's

[sage-devel] RFC: Timer widget for interact

2009-02-21 Thread boothby
Yesterday, I wanted to make an interact widget that showed an animation more complicated than the animate command allows. So, on a plane trip, I hacked up the following. It's a bit rough, and not a proper patch, etc. However, those who care can paste it into a notebook and check it out.

[sage-devel] broken link

2009-02-21 Thread ahmet alper parker
This link is not working:http://sagemath.org/paper-letter/ It is under doc page/pdf versions link... --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 8:57 am, John Cremona john.crem...@gmail.com wrote: On Feb 21, 3:45 pm, John Cremona john.crem...@gmail.com wrote: Hi John, SNIP The upgrade failed in exactly the same way as above.  To recap:  I had a working successful build of sage-3.3.rc0 and was in the main branch (so

[sage-devel] Request for Sage 3.4 ReST review - 3.4.x release plans

2009-02-21 Thread mabshoff
Hello folks, Sage 3.3 is out and upgrading via the main Sage server is live. It seems that we are having some trouble with some stale pynac libs on upgrade from some releases, so please let us know if you are hit by that. We are tracking the problem at #5333 and there should be an updated spkg

[sage-devel] Re: upgrade fails again

2009-02-21 Thread William Stein
On Sat, Feb 21, 2009 at 2:56 PM, mabshoff mabsh...@googlemail.com wrote: On Feb 21, 8:57 am, John Cremona john.crem...@gmail.com wrote: On Feb 21, 3:45 pm, John Cremona john.crem...@gmail.com wrote: Hi John, SNIP The upgrade failed in exactly the same way as above. To recap: I had a

[sage-devel] Re: upgrade fails again

2009-02-21 Thread mabshoff
On Feb 21, 4:09 pm, William Stein wst...@gmail.com wrote: On Sat, Feb 21, 2009 at 2:56 PM, mabshoff mabsh...@googlemail.com wrote: SNIP #5333 (pynac.spkg: Delete old pynac libray during spkg-install I just want to point out that I didn't actually hit that problem and that wasn't the fix

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread Justin C. Walker
On Feb 21, 2009, at 00:32 , mabshoff wrote: On Feb 21, 12:21 am, Alex Ghitza aghi...@gmail.com wrote: Hi Alex, I've recently (yesterday) turned my work MacBook into a dual-boot MacOSX and Archlinux machine. I built 3.3.rc3 from scratch under Linux, without problems and with all

[sage-devel] Re: Sage 3.3.rc3 released

2009-02-21 Thread Justin C. Walker
On Feb 20, 2009, at 23:25 , mabshoff wrote: Hello folks, Sage 3.3.rc3 is out and available in the usual place at http://sage.math.washington.edu/home/mabshoff/release-cycles-3.3/ Built w/o problems as an upgrade to rc0, on Mac OS X, 10.5.6 (Dual Quad Xeon). All tests passed! Justin

[sage-devel] Re: Interaction with SymPy and other packages

2009-02-21 Thread Ondrej Certik
On Sat, Feb 21, 2009 at 7:57 AM, Maurizio maurizio.gran...@gmail.com wrote: Hi Burcin, thank you very much for this! I admit that I've never heard of Pynac. I'm really glad to have subscribed this group, otherwise I couldn't have discovered it! This brings me to a new question: how are

[sage-devel] Double transpose on right_kernel()

2009-02-21 Thread Rob Beezer
I have been walking through some of the matrix code before adding some enhancements. A right_kernel() will take the transpose of a matrix and call left_kernel(). left_kernel() (or kernel()) generally takes a transpose before calling some other code to row-reduce the matrix, and so on. It

[sage-devel] Re: Interaction with SymPy and other packages

2009-02-21 Thread Tim Lahey
On Feb 22, 2009, at 1:25 AM, Ondrej Certik wrote: It's because sympy, sympycore and pynac were all written by different people and as of now they are not compatible. I don't like the situation either, and if I manage to find funding for the summer, I'd like to speedup sympy using Cython to

[sage-devel] Sage 3.3 sources are out

2009-02-21 Thread mabshoff
Hello folks, the final 3.3 sources are out and now available at http://www.sagemath.org/src/ as well as some of the mirrors already (at least Seattle II, Boston, Germany and France since I personally pushed or pulled the update). Over 3.3.rc3 there were as expected very few merges: Merged

[sage-devel] Re: License lawyers

2009-02-21 Thread Justin C. Walker
On Feb 19, 2009, at 21:50 , Nick Alexander wrote: Hi, The following is the BSD-like license of some MPFR cholesky decomposition code I might like to use. Is this sage-able? Nick (* Copyright (c) 1992-2007 The

[sage-devel] Re: License lawyers

2009-02-21 Thread Nick Alexander
Anything skanky milling around in those subroutine comments? Thank you all for your attention, but it turns out that Cholesky decomposition can be naively computed via trivial recursions. 6 lines. Now it may not be numerically stable... but it's easy :) Nick