[sage-devel] Re: New guidelines for spkg's

2011-05-10 Thread Maarten Derickx
Maybe the following is also interesting http://pypi.python.org/pypi/zc.buildout/1.5.2 -- 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://grou

[sage-devel] Re: New guidelines for spkg's

2011-05-10 Thread Maarten Derickx
On May 10, 9:10 am, Ondrej Certik wrote:. > > It just occurred to me, that it should be possible to keep the current > SPKG format, and implement uninstall. One just needs to keep track of > all files in SPKG_LOCAL, then see what new files were added + which > files have changed. > > If a file h

Re: [sage-devel] Re: Coefficients of univariate polynomials

2011-05-10 Thread Mike Hansen
On Tue, May 10, 2011 at 6:52 PM, Rob Beezer wrote: > OK, thanks for the explanation, Tom.  p.exponents() was the missing > piece I did not have. It would probably make sense to have p.monomials() method to be consistent with the multivariate case: sage: R. = QQ[] sage: p = t^4 + 8 sage: p.coeffi

Re: [sage-devel] Re: spam on sage wiki

2011-05-10 Thread Dan Drake
On Tue, 10 May 2011 at 07:20PM -0700, kcrisman wrote: > On May 10, 9:20 pm, Dima Pasechnik wrote: > > On May 11, 3:43 am, Mariah Lenox wrote: > > > > > It looks like the bottom of > > > > >    http://wiki.sagemath.org/devel/UsefulSoftware > > > > > has been spammed. > > > > Why? > > > Looks like

[sage-devel] Re: Users of older OS X versions (< 10.6): please test

2011-05-10 Thread kcrisman
> > > This is an old (and known) problem on Mac OS X 10.4 systems. > > > Make that old ppc systems. My old G4 running linux had the same kind of > > problems. pari was running out of memory too. > > I don't know how old it has to be, but with > I don't see these problems (although I run 10.5, not

[sage-devel] Re: spam on sage wiki

2011-05-10 Thread kcrisman
On May 10, 9:20 pm, Dima Pasechnik wrote: > On May 11, 3:43 am, Mariah Lenox wrote: > > > It looks like the bottom of > > >    http://wiki.sagemath.org/devel/UsefulSoftware > > > has been spammed. > > Why? > Looks like Dan Drake already took care of it :) -- To post to this group, send an ema

[sage-devel] Re: Coefficients of univariate polynomials

2011-05-10 Thread Rob Beezer
On May 10, 6:09 pm, Tom Boothby wrote: > Yeah, I thought this was a bug too at one point.  I discussed it with > Craig Citro, and we were all ready to open a ticket when William > overheard us and pointed out that it was made to be consistent with > symbolics. OK, thanks for the explanation, Tom.

Re: [sage-devel] Re: Users of older OS X versions (< 10.6): please test

2011-05-10 Thread Francois Bissey
> On May 10, 8:30 pm, Francois Bissey > > wrote: > > > On 2011-05-10 10:53, Jean-Pierre Flori wrote: > > > > On 5 mai, 12:18, Jean-Pierre Flori wrote: > > > >> On 5 mai, 12:01, Jeroen Demeyer wrote:> > > > >> This is #11278 (needs_review). > > > >> > > > >> Thanks for pointing that out, I'll h

Re: [sage-devel] Re: New guidelines for spkg's

2011-05-10 Thread Robert Bradshaw
On Tue, May 10, 2011 at 7:19 AM, Volker Braun wrote: > IMHO the list of installed files is an integral piece of package management > and should explicitly be part of the spkg. Automatically generating it is > not an option during parallel compilation. There should be a "spkg-files" or > so in the

[sage-devel] Re: Users of older OS X versions (< 10.6): please test

2011-05-10 Thread Dima Pasechnik
On May 10, 8:30 pm, Francois Bissey wrote: > > On 2011-05-10 10:53, Jean-Pierre Flori wrote: > > > On 5 mai, 12:18, Jean-Pierre Flori wrote: > > >> On 5 mai, 12:01, Jeroen Demeyer wrote:> This is > > >> #11278 (needs_review). > > > >> Thanks for pointing that out, I'll have a look at it. > > >

[sage-devel] Re: spam on sage wiki

2011-05-10 Thread Dima Pasechnik
On May 11, 3:43 am, Mariah Lenox wrote: > It looks like the bottom of > >    http://wiki.sagemath.org/devel/UsefulSoftware > > has been spammed. Why? > > Mariah -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel

Re: [sage-devel] Coefficients of univariate polynomials

2011-05-10 Thread Tom Boothby
Yeah, I thought this was a bug too at one point. I discussed it with Craig Citro, and we were all ready to open a ticket when William overheard us and pointed out that it was made to be consistent with symbolics. The convention makes the following nice: for c,e in zip(p.coefficients(), p.exponen

[sage-devel] Coefficients of univariate polynomials

2011-05-10 Thread Rob Beezer
There is a non-zero probability this has been hashed out before, but I couldn't find it. And it was brought to me by an experienced Sage user, and the documentation is not much help either. sage: t = polygen(QQ, 't') sage: p = t^4 + 8 sage: p.parent() Univariate Polynomial Ring in t over Rational

[sage-devel] Re: bug with direct product of permutation groups

2011-05-10 Thread Rob Beezer
On May 10, 3:20 pm, Pierre wrote: > Any quick & dirty fix is appreciated, for I rather urgently need to > take the product of two groups :) This should solve your immediate problem: sage: G = QuaternionGroup() sage: H = direct_product_permgroups([G, G]) sage: H.order() 64 The traceback indicate

Re: [sage-devel] Re: New guidelines for spkg's

2011-05-10 Thread John H Palmieri
On Tuesday, May 10, 2011 2:38:38 PM UTC-7, Ondrej Certik wrote: > > On Tue, May 10, 2011 at 7:19 AM, Volker Braun > wrote: > > IMHO the list of installed files is an integral piece of package > management > > and should explicitly be part of the spkg. Automatically generating it is > > not an

[sage-devel] bug with direct product of permutation groups

2011-05-10 Thread Pierre
Hi, I've tried to ask this on sage-support, with no luck. I'm trying sage- devel, which makes sense since it is a bug report. So this fails: sage: G= QuaternionGroup() sage: G.direct_product(G) ... RuntimeError: (It might be necessary to install the database_gap optional Sage package, if you hav

Re: [sage-devel] Re: New guidelines for spkg's

2011-05-10 Thread Ondrej Certik
On Tue, May 10, 2011 at 7:19 AM, Volker Braun wrote: > IMHO the list of installed files is an integral piece of package management > and should explicitly be part of the spkg. Automatically generating it is > not an option during parallel compilation. There should be a "spkg-files" or That's a go

Re: [sage-devel] DAE solver on Sage, Python wrapper for SUNDIALS

2011-05-10 Thread Ondrej Certik
Hi Guilherme, On Tue, May 10, 2011 at 1:16 AM, Guilherme wrote: > Hello, > > A quick followup on the subject of finding a Python wrapper for > SUNDIALS. > Good news is that there are a few projects that did it already. > I will short review what I found. > > 1) python-sundials http://code.google.

[sage-devel] spam on sage wiki

2011-05-10 Thread Mariah Lenox
It looks like the bottom of http://wiki.sagemath.org/devel/UsefulSoftware has been spammed. Mariah -- 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 g

[sage-devel] Re: Users of older OS X versions (< 10.6): please test

2011-05-10 Thread kcrisman
> > > Running expect.py again alone passed, but maxima.py timed out each > > > time. > > > This is an old (and known) problem on Mac OS X 10.4 systems. > > Make that old ppc systems. My old G4 running linux had the same kind of > problems. pari was running out of memory too. > Interesting. Georg

Re: [sage-devel] Re: New guidelines for spkg's

2011-05-10 Thread Volker Braun
IMHO the list of installed files is an integral piece of package management and should explicitly be part of the spkg. Automatically generating it is not an option during parallel compilation. There should be a "spkg-files" or so in the spkg that lists them. During single package build one could

Re: [sage-devel] Re: New guidelines for spkg's

2011-05-10 Thread Dr. David Kirkby
On 05/10/11 08:10 AM, Ondrej Certik wrote: It just occurred to me, that it should be possible to keep the current SPKG format, and implement uninstall. One just needs to keep track of all files in SPKG_LOCAL, then see what new files were added + which files have changed. Why not something like

Re: [sage-devel] Re: sage & gentoo prefix

2011-05-10 Thread Burcin Erocal
On Wed, 11 May 2011 00:10:29 +1200 Francois Bissey wrote: > > On Sun, 08 May 2011 07:06:03 +1200 > > > > Francois Bissey wrote: > > > > On Sat, 07 May 2011 21:15:11 +1200 > > > > > > > > Francois Bissey wrote: > > > > > > Removing the sse2 use flag makes the gf2x build crash. > > > > > > Shou

Re: [sage-devel] Re: Users of older OS X versions (< 10.6): please test

2011-05-10 Thread Francois Bissey
> On 2011-05-10 10:53, Jean-Pierre Flori wrote: > > On 5 mai, 12:18, Jean-Pierre Flori wrote: > >> On 5 mai, 12:01, Jeroen Demeyer wrote:> This is > >> #11278 (needs_review). > >> > >> Thanks for pointing that out, I'll have a look at it. > > > > I was able to build Sage with #11278 applied, bu

Re: [sage-devel] Re: Users of older OS X versions (< 10.6): please test

2011-05-10 Thread Jeroen Demeyer
On 2011-05-10 10:53, Jean-Pierre Flori wrote: > On 5 mai, 12:18, Jean-Pierre Flori wrote: >> On 5 mai, 12:01, Jeroen Demeyer wrote:> This is >> #11278 (needs_review). >> >> Thanks for pointing that out, I'll have a look at it. > > I was able to build Sage with #11278 applied, but when I ran mak

Re: [sage-devel] Re: sage & gentoo prefix

2011-05-10 Thread Francois Bissey
> On Sun, 08 May 2011 07:06:03 +1200 > > Francois Bissey wrote: > > > On Sat, 07 May 2011 21:15:11 +1200 > > > > > > Francois Bissey wrote: > > > > > Removing the sse2 use flag makes the gf2x build crash. Should > > > > > NTL depend on gf2x conditionally? > > > > > I see the kind of problem

Re: [sage-devel] Re: sage & gentoo prefix

2011-05-10 Thread Volker Braun
On Tuesday, May 10, 2011 10:17:40 AM UTC+1, Burcin Erocal wrote: > > Then why not use CPATH / C_INCLUDE_PATH / CPLUS_INCLUDE_PATH? > Are these GCC specific? Are there equivalent parameters for Intel/Sun I don't know. But they seem useful enough that every compiler vendor should have something lik

Re: [sage-devel] Re: sage & gentoo prefix

2011-05-10 Thread Burcin Erocal
On Sat, 7 May 2011 08:39:07 -0700 (PDT) Volker Braun wrote: > On Saturday, May 7, 2011 3:57:02 PM UTC+1, Burcin Erocal wrote: > > > > > Since there is already the standard CFLAGS variable I didn't > > > implement an extra WRAPPER_CFLAGS. > > > > I want the compiler wrapper to handle building prog

Re: [sage-devel] Re: sage & gentoo prefix

2011-05-10 Thread Burcin Erocal
On Sun, 08 May 2011 07:06:03 +1200 Francois Bissey wrote: > > On Sat, 07 May 2011 21:15:11 +1200 > > > > Francois Bissey wrote: > > > > Removing the sse2 use flag makes the gf2x build crash. Should > > > > NTL depend on gf2x conditionally? > I see the kind of problem in configure. It will be a

[sage-devel] Re: Users of older OS X versions (< 10.6): please test

2011-05-10 Thread Jean-Pierre Flori
On 5 mai, 12:18, Jean-Pierre Flori wrote: > On 5 mai, 12:01, Jeroen Demeyer wrote:> This is > #11278 (needs_review). > > Thanks for pointing that out, I'll have a look at it. I was able to build Sage with #11278 applied, but when I ran make ptestlong I got timeouts for sage/interface/expect.py

Re: [sage-devel] Re: AbelianGroup constructor can't handle its own elements

2011-05-10 Thread John Cremona
My reason for forwarding was more that I think there are people who read sage-algebra (and similarly sage-nt) who do not regularly read sage-devel, and I wanted to make sure that they saw the post. I did not mean to imply that the discussion ought not to be on sage-devel! John On Tue, May 10, 20

[sage-devel] DAE solver on Sage, Python wrapper for SUNDIALS

2011-05-10 Thread Guilherme
Hello, A quick followup on the subject of finding a Python wrapper for SUNDIALS. Good news is that there are a few projects that did it already. I will short review what I found. 1) python-sundials http://code.google.com/p/python-sundials/ Just a Cython wrapper around the original SUNDIALS code (

Re: [sage-devel] Re: New guidelines for spkg's

2011-05-10 Thread Ondrej Certik
On Mon, May 9, 2011 at 4:48 PM, Ondrej Certik wrote: > On Mon, May 9, 2011 at 4:01 PM, Robert Bradshaw > wrote: >> On Mon, May 9, 2011 at 2:57 PM, Ondrej Certik wrote: > [...] >>> I was thinking about this a lot yesterday, and there are a lot more >>> issues to resolve, than it seems at first si