[sage-devel] Re: question

2009-08-15 Thread William Stein
On Sat, Aug 15, 2009 at 9:24 PM, Kevin Stueve wrote: > Which is preferable, writing a sage library in C and making it > available to sage with Cython or writing it completely in Cython? 1. If you write it in C and make it available via Cython, then it could potentially be used by other programs.

[sage-devel] Re: patch reviews (PolyBoRi patch)

2009-08-15 Thread Dr. David Kirkby
Martin Albrecht wrote: > http://trac.sagemath.org/sage_trac/ticket/6177 > > but is there a .spkg file to test it with? The ticket says: "The SPKG is here: http://sage.math.washington.edu/home/malb/spkgs/polybori-0.6.spkg"; >>> Yes, but that link was posted 3 months a

[sage-devel] Re: The release of libgcrypt in Sage is GPL 3

2009-08-15 Thread Dr. David Kirkby
Dr. David Kirkby wrote: > Sage has libgcrypt version 1.4.3 in spkg/standard. > > But: > > http://directory.fsf.org/project/libgcrypt/ > > clearly shows: > > 1.4.3 > > * Released: 21 Nov, 2008 > * Code Maturity: Stable > * Source Archive: http://www.gnupg.org/download/index.en.html

[sage-devel] Re: Groebner bases over symbolic ring

2009-08-15 Thread Bjarke Hammersholt Roune
> > If I have understood this correctly, and the suggestion is to use > > Buchberger's algorithm to compute Grobner bases in Sage's symbolic > > ring, which includes limited precision floating point numbers > > This is not what William meant (well, I think :). You can compute in the > symbolic rin

[sage-devel] The release of libgcrypt in Sage is GPL 3

2009-08-15 Thread Dr. David Kirkby
Sage has libgcrypt version 1.4.3 in spkg/standard. But: http://directory.fsf.org/project/libgcrypt/ clearly shows: 1.4.3 * Released: 21 Nov, 2008 * Code Maturity: Stable * Source Archive: http://www.gnupg.org/download/index.en.html#lib... * Licenses: GPLv3 * Interface

[sage-devel] Re: patch reviews

2009-08-15 Thread Dr. David Kirkby
Martin Albrecht wrote: > On Saturday 15 August 2009, William Stein wrote: >> On Sat, Aug 15, 2009 at 3:15 PM, Dr. David >> >> Kirkby wrote: >>> William Stein wrote: On Sat, Aug 15, 2009 at 2:58 PM, Dr. David Kirkby wrote: > William Stein wrote: >> Hi Sage-devel, >> >

[sage-devel] Re: patch reviews

2009-08-15 Thread Martin Albrecht
On Saturday 15 August 2009, William Stein wrote: > On Sat, Aug 15, 2009 at 3:15 PM, Dr. David > > Kirkby wrote: > > William Stein wrote: > >> On Sat, Aug 15, 2009 at 2:58 PM, Dr. David > >> > >> Kirkby wrote: > >>> William Stein wrote: > Hi Sage-devel, > > Sage-4.1.1 was just releas

[sage-devel] Re: Sage 4.1.1: upgrading from Sage 4.0

2009-08-15 Thread Minh Nguyen
On Sun, Aug 16, 2009 at 9:37 AM, Minh Nguyen wrote: > Hi folks, > > When upgrading from Sage 4.0 to version 4.1.1, I got the following error: Here is the same error with upgrading from Sage 4.0.1: Traceback (most recent call last): File "/scratch/mvngu/sandbox/sage-4.0.2/devel/sage/doc/commo

[sage-devel] Sage 4.1.1: upgrading from Sage 4.0

2009-08-15 Thread Minh Nguyen
Hi folks, When upgrading from Sage 4.0 to version 4.1.1, I got the following error: Traceback (most recent call last): File "/scratch/mvngu/sandbox/sage-4.0/devel/sage/doc/common/builder.py", line 667, in getattr(get_builder(name), type)() File "/scratch/mvngu/sandbox/sage-4.0/devel/sag

[sage-devel] Re: matching in Sage

2009-08-15 Thread Ondrej Certik
On Sat, Aug 15, 2009 at 3:39 AM, Harald Schilly wrote: > > On Aug 14, 10:26 pm, Ondrej Certik wrote: >> what am I doing wrong? >> > > don't know, i copy/pasted it in 4.1.1.rc2 > > sage: sage: var('x,y,z,a,b,c,d,e,f') > (x, y, z, a, b, c, d, e, f) > sage: (x, y, z, a, b, c, d, e, f) > (x, y, z, a,

[sage-devel] Re: patch reviews

2009-08-15 Thread William Stein
On Sat, Aug 15, 2009 at 3:15 PM, Dr. David Kirkby wrote: > > William Stein wrote: >> On Sat, Aug 15, 2009 at 2:58 PM, Dr. David >> Kirkby wrote: >>> William Stein wrote: Hi Sage-devel, Sage-4.1.1 was just released, so now is a perfect time to review a few patches.  Spend a few

[sage-devel] Re: patch reviews

2009-08-15 Thread Dr. David Kirkby
William Stein wrote: > On Sat, Aug 15, 2009 at 2:58 PM, Dr. David > Kirkby wrote: >> William Stein wrote: >>> Hi Sage-devel, >>> >>> Sage-4.1.1 was just released, so now is a perfect time to review a few >>> patches. Spend a few minutes soon, skim through >>> >>> http://trac.sagemath.org/sage

[sage-devel] Re: patch reviews

2009-08-15 Thread William Stein
On Sat, Aug 15, 2009 at 2:58 PM, Dr. David Kirkby wrote: > > William Stein wrote: >> Hi Sage-devel, >> >> Sage-4.1.1 was just released, so now is a perfect time to review a few >> patches.  Spend a few minutes soon, skim through >> >>     http://trac.sagemath.org/sage_trac/report/14 >> >> and revi

[sage-devel] Re: patch reviews

2009-08-15 Thread Dr. David Kirkby
William Stein wrote: > Hi Sage-devel, > > Sage-4.1.1 was just released, so now is a perfect time to review a few > patches. Spend a few minutes soon, skim through > > http://trac.sagemath.org/sage_trac/report/14 > > and review 1 ticket. > > -- William > > > I'd take a look at http://

[sage-devel] Re: patch reviews

2009-08-15 Thread William Stein
On Sat, Aug 15, 2009 at 2:23 PM, David Joyner wrote: > > On Sat, Aug 15, 2009 at 4:58 PM, William Stein wrote: >> >> Hi Sage-devel, >> >> Sage-4.1.1 was just released, so now is a perfect time to review a few >> patches.  Spend a few minutes soon, skim through >> >>    http://trac.sagemath.org/sag

[sage-devel] Re: patch reviews

2009-08-15 Thread David Joyner
On Sat, Aug 15, 2009 at 4:58 PM, William Stein wrote: > > Hi Sage-devel, > > Sage-4.1.1 was just released, so now is a perfect time to review a few > patches.  Spend a few minutes soon, skim through > >    http://trac.sagemath.org/sage_trac/report/14 > > and review 1 ticket. I gave http://trac.s

[sage-devel] patch reviews

2009-08-15 Thread William Stein
Hi Sage-devel, Sage-4.1.1 was just released, so now is a perfect time to review a few patches. Spend a few minutes soon, skim through http://trac.sagemath.org/sage_trac/report/14 and review 1 ticket. -- William -- William Stein Associate Professor of Mathematics University of Washing

[sage-devel] Re: Fwd: [Maxima] mpmath + sage + hypergeometric numerics

2009-08-15 Thread rjf
I am pleased to learn that deficiencies in gmpy are not inherited by Sage, and that MPIR, equivalent functionally to GMP is accessible more directly. It doesn't seem that it should be a point of pride that there are 5000 lines in Sage that include mpz_ ... (e.g. mpz_addmul(a,b,c) computes a=a+b

[sage-devel] Re: Fwd: [Maxima] mpmath + sage + hypergeometric numerics

2009-08-15 Thread Fredrik Johansson
On Sat, Aug 15, 2009 at 4:40 PM, Minh Nguyen wrote: > > Hi folks, > > I noticed the following thread from the Maxima mailing list. > > -- > Regards > Minh Van Nguyen > > > -- Forwarded message -- > From: Richard Fateman > Date: Sun, Aug 16, 2009 at 12:35 AM > Subject: Re: [Maxima]

[sage-devel] Re: Undetected error. cp: cannot access sage-python and ipython

2009-08-15 Thread Dr. David Kirkby
William Stein wrote: > On Sat, Aug 15, 2009 at 6:59 AM, Dr. David > Kirkby wrote: >> Dr. David Kirkby wrote: >>> I notice this when installing sage. >>> >>> >>> sage_scripts-4.1.1/README.txt >>> sage_scripts-4.1.1/sage-crap >>> sage_scripts-4.1.1/sage-test-import >>> Finished extraction >>> *

[sage-devel] Re: Fwd: [Maxima] mpmath + sage + hypergeometric numerics

2009-08-15 Thread William Stein
2009/8/15 rjf : > > wow, I post one place and it comes out in two places... > > Here is an amplification about the comments on GMP and GMPY. > > From the perspective of Sage and python, I just took a look at the > current gmpy. > The documentation,  which has not apparently been updated since 2003

[sage-devel] Re: Fwd: [Maxima] mpmath + sage + hypergeometric numerics

2009-08-15 Thread rjf
wow, I post one place and it comes out in two places... Here is an amplification about the comments on GMP and GMPY. >From the perspective of Sage and python, I just took a look at the current gmpy. The documentation, which has not apparently been updated since 2003, says "Early tests have sho

[sage-devel] Re: Sage 4.1.1: "No module named constants_c"

2009-08-15 Thread Minh Nguyen
Hi William, On Sun, Aug 16, 2009 at 3:05 AM, William Stein wrote: > > On Sat, Aug 15, 2009 at 5:44 AM, Minh Nguyen wrote: >> >> Hi folks, >> >> I keep getting the following warning when loading the system-wide Sage >> 4.1.1 on sage.math: > > This was caused by "sage -upgrade" being broken. I'm f

[sage-devel] Re: Optimization/Graph problems wishlist....

2009-08-15 Thread William Stein
On Sat, Aug 15, 2009 at 4:43 AM, Nathann Cohen wrote: > > Excellent. > > I will try to do that quickly ! ;-) > By the way, were you writing about tutorials for the functions I > mentionned or for the use of linear programming in Sage ? The use of linear programming in Sage. The tutorial is suppo

[sage-devel] Re: Sage 4.1.1: "No module named constants_c"

2009-08-15 Thread William Stein
On Sat, Aug 15, 2009 at 5:44 AM, Minh Nguyen wrote: > > Hi folks, > > I keep getting the following warning when loading the system-wide Sage > 4.1.1 on sage.math: This was caused by "sage -upgrade" being broken. I'm fixing it. > > [mv...@sage ~]$ sage > -

[sage-devel] Re: Undetected error. cp: cannot access sage-python and ipython

2009-08-15 Thread William Stein
On Sat, Aug 15, 2009 at 6:59 AM, Dr. David Kirkby wrote: > > Dr. David Kirkby wrote: >> I notice  this when installing sage. >> >> >> sage_scripts-4.1.1/README.txt >> sage_scripts-4.1.1/sage-crap >> sage_scripts-4.1.1/sage-test-import >> Finished extraction >> *

[sage-devel] sage-4.1.1 test failures still on OS X 10.5 PPC

2009-08-15 Thread William Stein
Hi, There are actually three real test failures on OS X 10.5 PPC. They both probably involve rounding issues. The second is harmless. The first and third look serious.They are now http://trac.sagemath.org/sage_trac/ticket/6753 http://trac.sagemath.org/sage_trac/ticket/6754 http://trac.sag

[sage-devel] Fwd: [Maxima] mpmath + sage + hypergeometric numerics

2009-08-15 Thread Minh Nguyen
Hi folks, I noticed the following thread from the Maxima mailing list. -- Regards Minh Van Nguyen -- Forwarded message -- From: Richard Fateman Date: Sun, Aug 16, 2009 at 12:35 AM Subject: Re: [Maxima] mpmath + sage + hypergeometric numerics To: Barton Willis Cc: Maxima List

[sage-devel] Re: Undetected error. cp: cannot access sage-python and ipython

2009-08-15 Thread Dr. David Kirkby
Dr. David Kirkby wrote: > I notice this when installing sage. > > > sage_scripts-4.1.1/README.txt > sage_scripts-4.1.1/sage-crap > sage_scripts-4.1.1/sage-test-import > Finished extraction > > Host system > uname -a: > SunOS smudge 5.10 Gener

[sage-devel] Undetected error. cp: cannot access sage-python and ipython

2009-08-15 Thread Dr. David Kirkby
I notice this when installing sage. sage_scripts-4.1.1/README.txt sage_scripts-4.1.1/sage-crap sage_scripts-4.1.1/sage-test-import Finished extraction Host system uname -a: SunOS smudge 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-1000 *

[sage-devel] Re: issues in tutorial?

2009-08-15 Thread Minh Nguyen
Hi Brett, On Sat, Aug 15, 2009 at 2:07 AM, brettpim wrote: > > One more: > > I am sunning sage in ~/Projects/SAGE/sage-4.1 which is the root of the > source tarball. as per > http://www.sagemath.org/doc/tutorial/programming.html#loading-and-attaching-sage-files, > I created 'example.sage' in thi

[sage-devel] Sage 4.1.1: "No module named constants_c"

2009-08-15 Thread Minh Nguyen
Hi folks, I keep getting the following warning when loading the system-wide Sage 4.1.1 on sage.math: [mv...@sage ~]$ sage -- | Sage Version 4.1.1, Release Date: 2009-08-14 | | Type notebook() for the GUI, a

[sage-devel] Re: Sage 4.1.1: cliquer doesn't build under 64-bit mode

2009-08-15 Thread Minh Nguyen
Hi William, On Sat, Aug 15, 2009 at 8:56 AM, William Stein wrote: > The problem is that Sage is building the library but the cliquer spkg > wasn't installed. > > This is because sage-4.1.1.spkg is installed *before* cliquer. This > makes no sense, because spkg/standard/deps file has the cliq

[sage-devel] Re: Optimization/Graph problems wishlist....

2009-08-15 Thread Nathann Cohen
Excellent. I will try to do that quickly ! ;-) By the way, were you writing about tutorials for the functions I mentionned or for the use of linear programming in Sage ? I sent a patch yesterday for Knapsack, and ISR/Bin Packing are written already. I will send a patch for them as soon as I will

[sage-devel] Re: Updated ECL package

2009-08-15 Thread Dr. David Kirkby
Minh Nguyen wrote: > Hi David, > > On Thu, Aug 13, 2009 at 5:03 PM, Dr. David > Kirkby wrote: >> Juanjo, >> >> the main ECL developer has made new source release in the last 24 hours. >> I've created a new ECL spkg. You can find it in the directory: >> >> http://sage.math.washington.edu/home/kirk

[sage-devel] Re: non-English documentation on the website?

2009-08-15 Thread Dr. David Kirkby
Minh Nguyen wrote: > Hi Dan, > > On Wed, Jul 29, 2009 at 10:15 PM, Dan Drake wrote: >> Hello, >> >> Today I answered an email from a French student here at my university, >> and I (naturally) suggested using Sage. I included some helpful links, >> and I couldn't find any of the French documentati

[sage-devel] Re: matching in Sage

2009-08-15 Thread Harald Schilly
On Aug 14, 10:26 pm, Ondrej Certik wrote: > what am I doing wrong? > don't know, i copy/pasted it in 4.1.1.rc2 sage: sage: var('x,y,z,a,b,c,d,e,f') (x, y, z, a, b, c, d, e, f) sage: (x, y, z, a, b, c, d, e, f) (x, y, z, a, b, c, d, e, f) sage: sage: w0 = SR.wild(0); w1 = SR.wild(1); w2 = SR.wil