[sage-devel] Re: I need a bit of python help

2009-06-27 Thread Arnaud Bergeron
2009/6/27 Dr. David Kirkby : > > John H Palmieri wrote: >> >> >> On Jun 27, 6:50 pm, "Dr. David Kirkby" >> wrote: #!/usr/bin/bash if [ `uname` = "SunOS" -a "`ld  --version  2>&1  | grep GNU`" = "" ]; then    echo "Solaris system. The linker is NOT the GNU linker"    echo "The

[sage-devel] Re: REALLY ODD twisted error on Solaris with sage-4.1.alpha2

2009-06-27 Thread Dr. David Kirkby
Dr. David Kirkby wrote: > twisted-8.2.0 is messing up on my Solaris box, but it looks odd. The > error message is saying there's no spkg-install script,setup.py or > configure script. But there is. Oops, somehow I seem to have cut out the most important bit of the error message, which is "The

[sage-devel] REALLY ODD twisted error on Solaris with sage-4.1.alpha2

2009-06-27 Thread Dr. David Kirkby
twisted-8.2.0 is messing up on my Solaris box, but it looks odd. The error message is saying there's no spkg-install script,setup.py or configure script. But there is. drkir...@kestrel:[~/sage/sage-4.1.alpha2/spkg/build/twisted-8.2.0] $ ls -l total 9 -rw-r--r-- 1 drkirkby other 1466 Jun

[sage-devel] Re: I need a bit of python help

2009-06-27 Thread Dr. David Kirkby
John H Palmieri wrote: > > > On Jun 27, 6:50 pm, "Dr. David Kirkby" > wrote: >>> #!/usr/bin/bash >>> if [ `uname` = "SunOS" -a "`ld --version 2>&1 | grep GNU`" = "" ]; then >>>echo "Solaris system. The linker is NOT the GNU linker" >>>echo "The correct compiler flags are '-Wl,-h,'" >

[sage-devel] Re: I need a bit of python help

2009-06-27 Thread John H Palmieri
On Jun 27, 6:50 pm, "Dr. David Kirkby" wrote: > > #!/usr/bin/bash > > if [ `uname` = "SunOS" -a "`ld  --version  2>&1  | grep GNU`" = "" ]; then > >    echo "Solaris system. The linker is NOT the GNU linker" > >    echo "The correct compiler flags are '-Wl,-h,'" > > elif  [ `uname` = "darwin" ]

[sage-devel] Re: I need a bit of python help

2009-06-27 Thread Dr. David Kirkby
> #!/usr/bin/bash > if [ `uname` = "SunOS" -a "`ld --version 2>&1 | grep GNU`" = "" ]; then >echo "Solaris system. The linker is NOT the GNU linker" >echo "The correct compiler flags are '-Wl,-h,'" > elif [ `uname` = "darwin" ]; then >echo "OS X" >echo "Correct compiler flags

[sage-devel] I need a bit of python help

2009-06-27 Thread Dr. David Kirkby
I better buy a book on python, but in the mean time, can anyone help me here. In 'polibori' /polybori-0.5rc.p7/patches/SConstruct there is this bit of code: def sonameprefix(env): if env['PLATFORM']=="darwin": return "-Wl,-dylib_install_name -Wl," else: return '-W

[sage-devel] Re: Multigraded Hilbert series

2009-06-27 Thread William Stein
On Sun, Jun 28, 2009 at 1:09 AM, Bjarke Hammersholt Roune wrote: > > As far as I can determine, Sage does Hilbert-series only for the > grading given by the vector (1,...,1). I need Hilbert series with > respect to any vector. The optional Frobby spkg I just wrote allows to > compute this, and I'm

[sage-devel] Multigraded Hilbert series

2009-06-27 Thread Bjarke Hammersholt Roune
As far as I can determine, Sage does Hilbert-series only for the grading given by the vector (1,...,1). I need Hilbert series with respect to any vector. The optional Frobby spkg I just wrote allows to compute this, and I'm trying to determine if this is the best way to do this in Sage. Are there

[sage-devel] Re: GMP interface and mpz_ptr

2009-06-27 Thread William Stein
On Sat, Jun 27, 2009 at 11:58 PM, Bjarke Hammersholt Roune wrote: > > In working on the Frobby interface, I needed to use the type mpz_ptr > that MPIR/GMP defines. This type is not defined for Cython in sage/ > libs/gmp/types.pxd, which is the file that defines mpz_t and friends. > This is probabl

[sage-devel] Re: Error messages

2009-06-27 Thread William Stein
On Sun, Jun 28, 2009 at 12:25 AM, Bjarke Hammersholt Roune wrote: > > I'm looking at sage/rings/ideal.py, and it has error messages like > >  "need at least one argument" >  "unable to find common ring into which all ideal generators map" >  "R must be a commutative ring" > > The first isn't a com

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread Nick Alexander
> Craig: thanks for pointing out SAGE_CHECK. But it strikes me that > there is no way I can run those tests now, without recompiling the > corresponding spkgs from scratch. Is there any way one can get spkgs > to provide a test script, separate from the installation procedure, so > something like

[sage-devel] Re: Cython code and doctests

2009-06-27 Thread Simon King
Hi Bjarke! On 28 Jun., 00:17, Bjarke Hammersholt Roune wrote: > How do I doctest Cython functions taking C data structures? I don't > seem to be able to construct Cython data in the doctest. Once, someone gave me the hint to create a function that takes usual Python/Cython classes as input but

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread Craig Citro
Hi David, > I've got a build running on my laptop at the moment, and I was > wondering: why does the install script not run the Flint test suite? > I'm puzzled by this since it did run Flint tests when I installed > 4.0.2, which was actually the same Flint spkg version > (flint-1.3.0.p1.spkg) >

[sage-devel] Re: Chromium RPMs + JS links

2009-06-27 Thread Pat LeSmithe
David Joyner wrote: > On Sat, Jun 27, 2009 at 3:39 PM, Pat LeSmithe wrote: >> Fedora 10 and 11 packages for the Chromium browser and V8 JavaScript >> engine: >> >> http://spot.fedorapeople.org/chromium/ >> http://spot.livejournal.com/308900.html > > The ubuntu debs are here: > http://dev.chromiu

[sage-devel] Error messages

2009-06-27 Thread Bjarke Hammersholt Roune
I'm looking at sage/rings/ideal.py, and it has error messages like "need at least one argument" "unable to find common ring into which all ideal generators map" "R must be a commutative ring" The first isn't a complete sentence, and the other two aren't capitalized and don't end with a period

[sage-devel] Cython code and doctests

2009-06-27 Thread Bjarke Hammersholt Roune
How do I doctest Cython functions taking C data structures? I don't seem to be able to construct Cython data in the doctest. E.g. suppose I have a function cdef foo(bar baz): ... where bar is a Cython data structure. Is there no way to doctest this, other than doctesting other Python-level f

[sage-devel] GMP interface and mpz_ptr

2009-06-27 Thread Bjarke Hammersholt Roune
In working on the Frobby interface, I needed to use the type mpz_ptr that MPIR/GMP defines. This type is not defined for Cython in sage/ libs/gmp/types.pxd, which is the file that defines mpz_t and friends. This is probably because mpz_ptr, while convenient, is not part of the official GMP interfa

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread davidloeffler
On SuSE, 32-bit, sage -testall -long passes except for errors in the same three files Jaap reported above (and a harmless timeout in elliptic curves). Craig: thanks for pointing out SAGE_CHECK. But it strikes me that there is no way I can run those tests now, without recompiling the corresponding

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread Tom Boothby
On Sat, Jun 27, 2009 at 12:44 PM, Rob Beezer wrote: > > On Jun 27, 9:11 am, Kevin Horton wrote: >> The first two were reported before.  The details of the last one are: >> >> sage -t -long "devel/sage/sage/graphs/graph.py" >> A mysterious error (perhaps a memory error?) occurred, which may have >

[sage-devel] Re: Chromium RPMs + JS links

2009-06-27 Thread David Joyner
On Sat, Jun 27, 2009 at 3:39 PM, Pat LeSmithe wrote: > > Fedora 10 and 11 packages for the Chromium browser and V8 JavaScript > engine: > > http://spot.fedorapeople.org/chromium/ > http://spot.livejournal.com/308900.html The ubuntu debs are here: http://dev.chromium.org/getting-involved/dev-ch

[sage-devel] Chromium RPMs + JS links

2009-06-27 Thread Pat LeSmithe
Fedora 10 and 11 packages for the Chromium browser and V8 JavaScript engine: http://spot.fedorapeople.org/chromium/ http://spot.livejournal.com/308900.html I needed to install a few missing 32-bit dependencies on 64-bit F10. Examples: http://mdp.cti.depaul.edu/3d http://www.benjoffe.com/code/t

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread Rob Beezer
On Jun 27, 9:11 am, Kevin Horton wrote: > The first two were reported before.  The details of the last one are: > > sage -t -long "devel/sage/sage/graphs/graph.py" > A mysterious error (perhaps a memory error?) occurred, which may have   > crashed doctest. >           [69.8 s] I wasn't clear on

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread John H Palmieri
On Jun 27, 12:04 pm, davidloeffler wrote: > On Jun 27, 8:43 pm, Minh Nguyen wrote: > > > #6418: John Palmieri: ref manual fixes for 4.1.alpha1 [Reviewed by > > Minh Van Nguyen] > > \begin{pedantry} > > We're going to need another reference-manual-fixing ticket, as there > are three documentation

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread Jaap Spies
Tom Boothby wrote: > Sage 4.1.alpha2 has been released, find it at > > http://sage.math.washington.edu/home/boothby/releases > > As with 4.1.alpha1, there are two known doctest failures. One is very > simple to fix, and the other might be tricky. I made an attempt at > solving them, but Willia

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread davidloeffler
On Jun 27, 8:43 pm, Minh Nguyen wrote: > #6418: John Palmieri: ref manual fixes for 4.1.alpha1 [Reviewed by > Minh Van Nguyen] \begin{pedantry} We're going to need another reference-manual-fixing ticket, as there are three documentation build warnings in this alpha2. Two of these are from the n

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread Minh Nguyen
Hi folks, On Sat, Jun 27, 2009 at 3:44 PM, Tom Boothby wrote: > > Sage 4.1.alpha2 has been released, find it at > > http://sage.math.washington.edu/home/boothby/releases The following tickets were merged in Sage 4.1.alpha2: #4712: John Palmieri: Make the doctest timeouts in Sage easily adjust

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread John Cremona
2009/6/27 Kevin Horton : > > On 27-Jun-09, at 01:44 , Tom Boothby wrote: > >> >> Sage 4.1.alpha2 has been released, find it at >> > My first build attempt on 32 bit Ubuntu 8.10 on x86 failed with: > > building 'sage.libs.ntl.ntl_ZZ_p' extension > gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -W

[sage-devel] Re: polymake build?

2009-06-27 Thread William Stein
On Sat, Jun 27, 2009 at 4:51 PM, Carlo Hamalainen wrote: > > Hi, > > I know there are some people interested in polymake so I thought I'd > ask here: can anyone even compile polymake-2.9.6? After sorting out a :-) I've never heard of anybody successfully building it. However, it might be better

[sage-devel] Re: Seifert surfaces

2009-06-27 Thread Nathan Dunfield
> Much more complicated would it be to construct a Seifert surface of > *minimal* genus. It is possible, though, based on the theory of normal > surfaces that goes back to Wolfgang Haken.  In a nutshell (hope I > remember things correctly): Yes, you do. > In the Wiki, I mention a package t3m, th

[sage-devel] hg_sage.serve() is broken in 4.1.alpha1

2009-06-27 Thread John H Palmieri
In the notebook, if I use hg_sage.serve(), I see this: ** ** * Open your web browser to http://localhost:8200 * ** **

[sage-devel] polymake build?

2009-06-27 Thread Carlo Hamalainen
Hi, I know there are some people interested in polymake so I thought I'd ask here: can anyone even compile polymake-2.9.6? After sorting out a few dependency issues, "make configure" fails with this on Ubuntu 9.04: make[1]: Entering directory `/home/carlo/Desktop/polymake-2.9.6/.bootstrap/Term-

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread Kevin Horton
On 27-Jun-09, at 01:44 , Tom Boothby wrote: > > Sage 4.1.alpha2 has been released, find it at > My first build attempt on 32 bit Ubuntu 8.10 on x86 failed with: building 'sage.libs.ntl.ntl_ZZ_p' extension gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -fPIC -I/opt/s

[sage-devel] Re: Sage on Wikipedia

2009-06-27 Thread Jaap Spies
OS X -i.e. Solaris, HP-UX, AIX, tru64, SCO, etc. >> I've not looked around to find out exactly what is meant there I must >> admit. > > I think they must have been referring to one of these UNIX boxes that > were in the hallway at the Sage Days 16 conference in Barcelona:

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread John Cremona
On 32-bit ubuntu I get the two failures below, but also one other. 2009/6/27 Rob Beezer : > > Builds from source, with two doctest failures on Kubuntu 9.04 on Intel > Core Duo. > > sage -t  devel/sage/doc/fr/tutorial/programming.rst # 1 doctests > failed > sage -t  devel/sage/sage/misc/darwin_uti

[sage-devel] Re: sage days 16 pictures

2009-06-27 Thread David Joyner
On Sat, Jun 27, 2009 at 9:44 AM, William Stein wrote: > > Hi, > > The Sage Days 16 pictures I took are here: > http://wstein.org/pics/new/20090627-barcelona_sage_days16/ I loved the shot of the unix fire extinguisher! > Also, video is posted for all the talks that wer

[sage-devel] Re: Sage on Wikipedia

2009-06-27 Thread William Stein
t; I've not looked around to find out exactly what is meant there I must > admit. I think they must have been referring to one of these UNIX boxes that were in the hallway at the Sage Days 16 conference in Barcelona: http://wstein.org/pics/new/20090627-barcelona_sage_days16/.html/IMG_2796.h

[sage-devel] sage days 16 pictures

2009-06-27 Thread William Stein
Hi, The Sage Days 16 pictures I took are here: http://wstein.org/pics/new/20090627-barcelona_sage_days16/ Also, video is posted for all the talks that were videod at http://wiki.sagemath.org/days16 -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org

[sage-devel] Re: Old Sage releases on sage.math

2009-06-27 Thread William Stein
On Sat, Jun 27, 2009 at 10:08 AM, daveloeffler wrote: > > Back in January, Mike Abshoff announced that there would be a > collection of old Sage releases kept on sage.math, for testing > purposes. > > Yesterday I wanted to use one of these, and I found that several of > them didn't work -- there s

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread davidloeffler
I've got a build running on my laptop at the moment, and I was wondering: why does the install script not run the Flint test suite? I'm puzzled by this since it did run Flint tests when I installed 4.0.2, which was actually the same Flint spkg version (flint-1.3.0.p1.spkg) David --~--~-~-

[sage-devel] Re: axes labels in plot() still buggy

2009-06-27 Thread Stan Schymanski
That's great, thanks! Hope someone will review it in time for 4.1. Cheers, Stan kcrisman wrote: > See # 5649. > > - kcrisman > > > -- Stan Schymanski Scientist Max Planck Institute for Biogeochemistry Postfach 10 01 64 D-07701 Jena Phone: +49.3641.

[sage-devel] Re: axes labels in plot() still buggy

2009-06-27 Thread Stan Schymanski
Sorry, the behaviour I reported is caused by something else. I copied the cell code that produced different plots at every evaluation into a new notebook and got consistent results every time. Even copying and pasting into a new cell got rid of the random behaviour of the axes. Very weird. I t

[sage-devel] Old Sage releases on sage.math

2009-06-27 Thread daveloeffler
Back in January, Mike Abshoff announced that there would be a collection of old Sage releases kept on sage.math, for testing purposes. Yesterday I wanted to use one of these, and I found that several of them didn't work -- there seems to be some kind of version incompatibility going on: davidloe

[sage-devel] Re: 4.1.alpha2 released

2009-06-27 Thread Franco Saliola
On Sat, Jun 27, 2009 at 7:44 AM, Tom Boothby wrote: > > Sage 4.1.alpha2 has been released, find it at > > http://sage.math.washington.edu/home/boothby/releases I tested upgrading from alpha0, but as suspected, it doesn't work. Complains about missing mercurial and jinja. (Ubuntu 9.04, amd64). Fr