[sage-devel] Re: Sage 4.4.2 released

2010-05-19 Thread Nathan O'Treally
I post to sage-release... ;-) -Leif -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sag

Re: [sage-devel] Sage, Twisted, and MySQLdb

2010-05-19 Thread Mike Hansen
On Wed, May 19, 2010 at 11:23 PM, Michael Wisely wrote: > What do I need to do to make newly installed python packages usable > when I try running python scripts with "sage -python"? You need to install it in a place where Sage's Python can find it. One way is to run the following two commands s

[sage-devel] Sage, Twisted, and MySQLdb

2010-05-19 Thread Michael Wisely
Hi all, I'm working on a research project, and I need to run a server (via Twisted) and make calls to Sage as well as queries to a MySQL database. Previously, I used SQLite as my database, but I need to move up to something heftier. To avoid changing too much of my previous code which uses the sql

Re: [sage-devel] Sage 4.4.2 released

2010-05-19 Thread Justin C. Walker
Oops... On May 19, 2010, at 23:17 , Justin C. Walker wrote: On May 19, 2010, at 10:14 , Minh Nguyen wrote: [snip] Built from scratch (Mac OS X, 10.5.8, Mac Pro, Dual Quad Xeon). No problems. The following test failed: sage -t "devel/sage/sage/modules/free_module.py" **

Re: [sage-devel] Sage 4.4.2 released

2010-05-19 Thread Justin C. Walker
On May 19, 2010, at 10:14 , Minh Nguyen wrote: Hi folks, Sage 4.4.2 was released on May 19, 2010. It is available at http://www.sagemath.org/download.html * About Sage (http://www.sagemath.org) Built from scratch (Mac OS X, 10.5.8, Mac Pro, Dual Quad Xeon). No problems. The f

[sage-devel] icc

2010-05-19 Thread Mag Gam
Has anyone attempted to compile sage with ICC? This is the Intel compiler. I would like to do some testing with this therefore I would appreciate any tips. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr.

[sage-devel] Re: Fwd: [sage-combinat-devel] permutation group perspectives

2010-05-19 Thread Dan Christensen
Most of this discussion is about cases where sage thinks it is acting on a bigger set than the user wants it to. I'll just point out bug 8963 http://trac.sagemath.org/sage_trac/ticket/8963 where sage has the reverse problem: it thinks that the set that is being acted on is smaller. For exam

[sage-devel] Re: Sage 4.4.1 build failures with gcc 4.4.1 on SUSE 11.2

2010-05-19 Thread Nathan O'Treally
On 20 Mai, 02:59, Paul Leopardi wrote: > Thanks Nathan, Mike, > I appliedhttp://trac.sagemath.org/sage_trac/attachment/ticket/8844/trac_8844- > module_list.patch to $SAGE_ROOT/devel/sage-main/module_list.py. > > What do I now need to do to re-build sage without starting from scratch? > "sage -b" a

Re: [sage-devel] Sage 4.4.1 build failures with gcc 4.4.1 on SUSE 11.2

2010-05-19 Thread Paul Leopardi
Thanks Nathan, Mike, I applied http://trac.sagemath.org/sage_trac/attachment/ticket/8844/trac_8844- module_list.patch to $SAGE_ROOT/devel/sage-main/module_list.py. What do I now need to do to re-build sage without starting from scratch? "sage -b" and "sage -f sage" seem to "work", but they don't f

[sage-devel] Re: categories, etc.: how to define a new algebra

2010-05-19 Thread Simon King
Hi John! On 19 Mai, 23:25, John Palmieri wrote: > Suppose I want to define a new algebra in Sage. What should I do? > >  - I have followed the nice coercion docs in the reference manual, and > in particular, I've set up _add_, _mul_, etc.; and also > _coerce_map_from_ and _element_constructor_. >

[sage-devel] Re: categories, etc.: how to define a new algebra

2010-05-19 Thread John H Palmieri
On May 19, 3:02 pm, "Nicolas M. Thiery" wrote: > On Wed, May 19, 2010 at 02:25:22PM -0700, John Palmieri wrote: > >  - Should I do anything with the new categories framework?  I've > > defined a "category" method for the algebra, but should I do anything > > else? > > >  - I'm working on a differe

Re: [sage-devel] Re: Toric varieties - ready for review (please!)

2010-05-19 Thread Andrey Novoseltsev
On Wed, May 19, 2010 at 4:24 AM, Volker Braun wrote: > Hi Andrey, > > I've looked over your code and I think it would be good to extend the > class hierarchy of cones. I'm thinking about > > Cone > Cone_of_fan(Cone) >  keeps reference of fan > Cone_of_ToricVariety(Cone_of_fan) >  keeps reference o

Re: [sage-devel] Re: Sage 4.4.1 build failures with gcc 4.4.1 on SUSE 11.2

2010-05-19 Thread Mike Hansen
On Wed, May 19, 2010 at 2:55 PM, Nathan O'Treally wrote: > Mike, could you update the ticket description etc. (to cover Fedora et > al.)? > ("component" currently is cygwin.) Sure. > P.S. I thought some "clib ..." declaration in the .pyx/.pxi files > would do it... Yes, that would work. See ht

[sage-devel] Re: [sage-combinat-devel] categories, etc.: how to define a new algebra

2010-05-19 Thread Nicolas M. Thiery
On Wed, May 19, 2010 at 02:25:22PM -0700, John Palmieri wrote: > Suppose I want to define a new algebra in Sage. What should I do? > > - I have followed the nice coercion docs in the reference manual, and > in particular, I've set up _add_, _mul_, etc.; and also > _coerce_map_from_ and _element_c

[sage-devel] Re: Sage 4.4.1 build failures with gcc 4.4.1 on SUSE 11.2

2010-05-19 Thread Nathan O'Treally
On 19 Mai, 23:22, Mike Hansen wrote: > On Wed, May 19, 2010 at 2:19 PM, Nathan O'Treally > wrote: > >> __gmpz_cmp is just the *first* symbol (from libgmp) that can't be > >> resolved. > >> (The reason this though works on other systems is just how/where the > >> linker looks for unresolved symbo

[sage-devel] categories, etc.: how to define a new algebra

2010-05-19 Thread John Palmieri
Suppose I want to define a new algebra in Sage. What should I do? - I have followed the nice coercion docs in the reference manual, and in particular, I've set up _add_, _mul_, etc.; and also _coerce_map_from_ and _element_constructor_. - Should I do anything with the new categories framework?

Re: [sage-devel] Re: Sage 4.4.1 build failures with gcc 4.4.1 on SUSE 11.2

2010-05-19 Thread Mike Hansen
On Wed, May 19, 2010 at 2:19 PM, Nathan O'Treally wrote: >> __gmpz_cmp is just the *first* symbol (from libgmp) that can't be >> resolved. >> (The reason this though works on other systems is just how/where the >> linker looks for unresolved symbols, i.e. >> padic_base_generic_element.so depends o

[sage-devel] Re: Sage 4.4.1 build failures with gcc 4.4.1 on SUSE 11.2

2010-05-19 Thread Nathan O'Treally
On 19 Mai, 22:59, "Nathan O'Treally" wrote: > On 18 Mai, 14:48, Paul Leopardi wrote: > > (sage/rings/padics/padic_capped_relative_element.c:17903) > > ImportError: /home/leopardi/src/Sage/sage-4.4.1/local/lib/python2.6/site- > > packages/sage/rings/padics/padic_base_generic_element.so: undefined

[sage-devel] Re: Sage 4.4.1 build failures with gcc 4.4.1 on SUSE 11.2

2010-05-19 Thread Nathan O'Treally
On 18 Mai, 14:48, Paul Leopardi wrote: > Hi all, > OK. I have now run make again, this time with > unset SAGE_CHECK > unset SAGE64 > > The build apparently completes, but dochtml.log still has much the same error > messages: > --- > sphinx-build -b html -d > /home/leopardi/src/Sage

[sage-devel] Re: GMP web sites says Sage relies on GMP

2010-05-19 Thread Bill Hart
People have been suggesting we all just "get along" for years. One eventually gets fed up, and I'm just announcing what I already planned to do months ago. Fresh blood will see the project thrive. I'm sure we'll see a new era of cooperation and harmony, which is what everyone wants. Bill. On 19

Re: [sage-devel] NZMATH 1.0

2010-05-19 Thread William Stein
On Wed, May 19, 2010 at 9:47 AM, Tom Boothby wrote: > FYI, NZMATH is distributed under BSD, version 0.91 weighs in at a > scant 1.3MB, and everything is pure python.  Do they do anything we > don't? As far as I can tell, the only thing they seem to have is some implementation of an elliptic curve

[sage-devel] Sage 4.4.2 released

2010-05-19 Thread Minh Nguyen
Hi folks, Sage 4.4.2 was released on May 19, 2010. It is available at http://www.sagemath.org/download.html * About Sage (http://www.sagemath.org) Sage is developed by volunteers and combines over 90 open source packages. It is available for download from www.sagemath.org and its mir

Re: [sage-devel] Re: GMP web sites says Sage relies on GMP

2010-05-19 Thread Robert Bradshaw
On May 19, 2010, at 4:41 AM, Bill Hart wrote: On 19 May, 04:24, Robert Bradshaw wrote: On May 18, 2010, at 5:17 PM, Paulo César Pereira de Andrade wrote: 2010/5/18 Bill Hart : So what do you suggest as a solution then? Peace and Love! That being said, people work better when there i

Re: [sage-devel] NZMATH 1.0

2010-05-19 Thread Tom Boothby
FYI, NZMATH is distributed under BSD, version 0.91 weighs in at a scant 1.3MB, and everything is pure python. Do they do anything we don't? On Wed, May 19, 2010 at 7:40 AM, John Cremona wrote: > Some more history:  For many years there was a system called Simath, > so-called because it was funde

[sage-devel] Re: Is it possible to avoid libsingular from being imported by Sage

2010-05-19 Thread Dima Pasechnik
On May 19, 12:15 pm, Pablo Winant wrote: > Would it work to simply rename Array class to SingularArray in > singular's spkg, maybe using a preprocessor directive ? well, and in all the places in Sage that uses Singular's Array... You'd rather do this to Octave, at least it's only your code.

Re: [sage-devel] NZMATH 1.0

2010-05-19 Thread John Cremona
Some more history: For many years there was a system called Simath, so-called because it was funded by Siemens, based around the research group of Horst Zimmer in Saarbruecken (Germany). Zimmer had lots of students and assistants (finded at least in part by Siemens) who expended a huge amount of

[sage-devel] NZMATH 1.0

2010-05-19 Thread William Stein
Hi, Here is a paper about NZMATH Version 1.0, which was just posted on the arxiv today. NZMATH is a project with some overlap in goals in *number theory* to Sage, which was started around the same time as Sage. At the beginning -- back in 2005 -- I would say that NZMATH and Sage had exactly the

Re: [sage-devel] Re: Toric varieties - ready for review (please!)

2010-05-19 Thread Andrey Novoseltsev
On Wed, May 19, 2010 at 2:17 AM, Volker Braun wrote: > Hi Andrey, > > I agree that the reflexive case is the most interesting, I just don't > understand where you need that in the FanoToricVariety code right now. > If we can relax restrictions without any cost then we should allow the > more gener

[sage-devel] Re: GMP web sites says Sage relies on GMP

2010-05-19 Thread Bill Hart
On 19 May, 04:24, Robert Bradshaw wrote: > On May 18, 2010, at 5:17 PM, Paulo César Pereira de Andrade wrote: > > > 2010/5/18 Bill Hart : > >> So what do you suggest as a solution then? > > >  Peace and Love! > > >  That being said, people work better when there is competition. As > > long as th

[sage-devel] 't2nb' updated to sage-4.4.2.alpha0/ presentation

2010-05-19 Thread Dr. David Kirkby
I've updated the sever at http://t2nb.math.washington.edu:8000/ to the latest alpha. I know there's a rc0 now, but I've not built that. I used Minh's binary, but had to add the gcc and gfortran libraries. As I've pointed out before, Solaris does not ship with a recent gcc, so the libraries will

[sage-devel] Re: Sage 4.4.2.rc0 released

2010-05-19 Thread Volker Braun
Fedora 13 should be released next week and Sage is currently not building because Fedora 13beta is now stricter with DSO linkage. I've filed bug reports with patches, but they haven't gotten any attention: http://trac.sagemath.org/sage_trac/ticket/8657 http://trac.sagemath.org/sage_trac/ticket/865

[sage-devel] Re: Toric varieties - ready for review (please!)

2010-05-19 Thread Volker Braun
Hi Andrey, I've looked over your code and I think it would be good to extend the class hierarchy of cones. I'm thinking about Cone Cone_of_fan(Cone) keeps reference of fan Cone_of_ToricVariety(Cone_of_fan) keeps reference of toric variety Cone_of_DomainOfToricMorphism(Cone_of_ToricVariety)

Re: [sage-devel] Re: Is it possible to avoid libsingular from being imported by Sage

2010-05-19 Thread Pablo Winant
Would it work to simply rename Array class to SingularArray in singular's spkg, maybe using a preprocessor directive ? Le 18/05/2010 18:01, Martin Albrecht a écrit : It's been a while since I coded in C++, but isn't there always a simple way out, just by putting these classes in different names

[sage-devel] Is the comparison of sets done right in sage/sets/set.py

2010-05-19 Thread François Bissey
Hi all, While I was working on a failing test in set.py in sage-on-gentoo (and actually sage-on-mandriva) I noticed two strange things while tracing "Primes() > /home/francois/Work/sandbox/install/sage-4.4.1/local/lib/python2.6/site- packages/sage/sets/set.py(319)__cmp__() 318 if not

[sage-devel] Re: Toric varieties - ready for review (please!)

2010-05-19 Thread Volker Braun
Hi Andrey, I agree that the reflexive case is the most interesting, I just don't understand where you need that in the FanoToricVariety code right now. If we can relax restrictions without any cost then we should allow the more general, right? On the other hand, if it would make the code more comp