[sage-devel] Re: Make Parma Polyhedra Library a standard spkg

2010-10-18 Thread Dima Pasechnik
Yes, it's a good idea to have PPL. You can start by making it an optional package. Are you saying that PPL cannot work with floating point numbers? Dima On Oct 18, 8:13 pm, Volker Braun wrote: > === Introduction === > > I would like to have the Parma Polyhedra Library (PPL) included > as a stan

[sage-devel] Re: Make Parma Polyhedra Library a standard spkg

2010-10-18 Thread Andrey Novoseltsev
I definitely vote YES. I often have problems and have to create work-arounds due to Sage poor performance on (a lot of) *very simple* polyhedra, since both current options (cddlib and PALP) are used as standalone programs and therefore add a system call overhead. I actually expect speed ups up to

[sage-devel] Re: bug wranglers

2010-10-18 Thread Donald Alan Morrison
On Oct 16, 5:21 am, Burcin Erocal wrote: >[...] > if they are filed in different components. The members of the > bug-wrangler mailing list will be able to see the initial report for > every ticket, so they might recall a similar problem reported a few > days ago. > > Another advantage is that t

[sage-devel] Re: radical ideal computation in Sage

2010-10-18 Thread kcrisman
Here's another way to see this: sage: P. = QQ[] sage: I = Ideal(x+y+z-3,x^2+y^2+z^2-5,x^3+y^3+z^3-7) sage: from sage.misc.citation import get_systems sage: get_systems("I.radical()") ['Singular'] - kcrisman On Oct 18, 8:04 pm, Martin Albrecht wrote: > On Tuesday 19 October 2010, deryk lv wrote:

[sage-devel] Re: bug wranglers

2010-10-18 Thread kcrisman
> I would submit that practicing good software engineering techniques is > more than a matter of finding the money (and especially time) to read > a good book on it--we all have different priorities on what we can > afford to spend "10,000 hours" on. (Note, I'm not saying it wouldn't > be useful f

Re: [sage-devel] Python name mangling and Python classes inheriting from Cython classes

2010-10-18 Thread David Roe
I don't know how to do it technically, but one way to do it is to submit a patch changing the double underscore in CategoryObject.__temporarily_change_names into a single underscore. Name mangling is annoying, and I would personally love it if every double underscore became a single one. David On

Re: [sage-devel] radical ideal computation in Sage

2010-10-18 Thread Martin Albrecht
On Tuesday 19 October 2010, deryk lv wrote: > Hi,everyone, > I am just wondering whether radical ideal computation in Sage is making use > of Singular on backend. Yes. The note in the docstring might be a bit cryptic but it is there (type "I.radical?") """ Note: From the Singular manual: A comb

[sage-devel] radical ideal computation in Sage

2010-10-18 Thread deryk lv
Hi,everyone, I am just wondering whether radical ideal computation in Sage is making use of Singular on backend. Thanks a lot. Gepo -- 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

[sage-devel] Python name mangling and Python classes inheriting from Cython classes

2010-10-18 Thread Simon King
Hi! I have a Python class which inherits from ParentWithGens, and I want to overload the method __temporarily_change_names that is inherited from CategoryObject. But how can this be done? First I tried the "obvious" way, along these lines: sage: from sage.structure.parent_gens import ParentWithG

Re: [sage-devel] bug wranglers

2010-10-18 Thread Robert Bradshaw
On Sun, Oct 17, 2010 at 6:39 AM, Dr. David Kirkby wrote: > On 10/16/10 01:21 PM, Burcin Erocal wrote: >> >> Hi, >> >> Motivated by the call for the bug days, here is an idea to manage the >> rapidly increasing number of "new" tickets on trac. > > It is well known in industry that the cost to fix b

[sage-devel] Re: bug in show/latex?

2010-10-18 Thread John H Palmieri
On Oct 18, 8:06 am, Johannes wrote: > hi list > I have this simple code: > > latex(matrix([[-(a + 1)/b]])) > > and i get: > > \left(\begin{array}{r} > \frac{-a + 1}{b} > \end{array}\right) > > but it should be > > \left(\begin{array}{r} > \frac{-a - 1}{b} > \end{array}\right) > > or > > \left(\beg

[sage-devel] Re: text/xml version of Sage worksheets as workaround for bug during saving

2010-10-18 Thread Jason Grout
On 10/18/10 9:29 AM, Chris Seberino wrote: There seems to be a long running bug in the saving of Sage worksheets that chops off the ends and other parts. Sage worksheets are saved in binary. If they could be saved in some text version like XML, wouldn't that allow people to hand hack the text f

[sage-devel] Re: How are free algebra quotients compared??

2010-10-18 Thread Simon King
Sorry, forget my question: I just found that they have a __eq__ method. But still, I think they should be unique parent structures. Cheers, Simon -- 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...@googl

[sage-devel] How are free algebra quotients compared??

2010-10-18 Thread Simon King
Hi! I almost finished to re-implement free algebras based on Gap, which should provide much faster arithmetic and allows to study non- associative and non-unital algebras. It seems that FreeAlgebraQuotients require the associative case, doesn't it? Now I wonder how free algebra quotients are com

[sage-devel] bug in show/latex?

2010-10-18 Thread Johannes
hi list I have this simple code: latex(matrix([[-(a + 1)/b]])) and i get: \left(\begin{array}{r} \frac{-a + 1}{b} \end{array}\right) but it should be \left(\begin{array}{r} \frac{-a - 1}{b} \end{array}\right) or \left(\begin{array}{r} \frac{-(a + 1)}{b} \end{array}\right) greatz Johannes

[sage-devel] Wolfram Alpha low bandwidth portal into Sage to attract new users?

2010-10-18 Thread Chris Seberino
Wolfram Alpha is a low bandwidth portal into Mathematica that doesn't provide the full notebook interface. Does something like this exist for Sage? It seems it would be valuable marketing wise because it is even easier to try that than the freely available notebook interfaces.The free public

[sage-devel] text/xml version of Sage worksheets as workaround for bug during saving

2010-10-18 Thread Chris Seberino
There seems to be a long running bug in the saving of Sage worksheets that chops off the ends and other parts. Sage worksheets are saved in binary. If they could be saved in some text version like XML, wouldn't that allow people to hand hack the text file when the saving step of notebooks chops o

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-18 Thread Jan Groenewald
Hi On Mon, Oct 18, 2010 at 07:28:23AM -0500, Jason Grout wrote: > As an offhand idea, with the disclaimer that I haven't read this > entire thread, but an idea that has caused such problems before. > Did you move the Sage directory? There are still lots of loose ends > that are left dangling when

[sage-devel] Re: bug wranglers

2010-10-18 Thread Jason Grout
On 10/17/10 9:39 AM, Dr. David Kirkby wrote: On 10/17/10 03:16 PM, Jan Groenewald wrote: Hi I believe any belief that having "bug hunt weeks" is a long term solution is rather flawed. The issues should be tackled at an earlier stage. Despite not being a sufficient solution, are they not none

[sage-devel] Re: libpari segfault related to 64bit?

2010-10-18 Thread Jason Grout
On 10/18/10 6:43 AM, Jan Groenewald wrote: Hi On Sun, Oct 17, 2010 at 09:37:55AM +0200, Jan Groenewald wrote: Looking for libpari-gmp.so, I found these: r...@capepoint:/usr/local/src/sage-4.5.3/local/lib#ls -l libpari* -rwxr-xr-x 1 root root 3160120 Oct 11 17:06 libpari-gmp.so.2 -rwxr-xr-x 1 ro

[sage-devel] Make Parma Polyhedra Library a standard spkg

2010-10-18 Thread Volker Braun
=== Introduction === I would like to have the Parma Polyhedra Library (PPL) included as a standard spkg. My goal is to rewrite as much of the sage.geometry.* modules on top of a Cython PPL wrapper as opposed to piping ASCII to/from cddlib. Some of the reasons are: * PPL is already faster by itsel

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-18 Thread Jan Groenewald
Hi On Mon, Oct 18, 2010 at 01:46:48PM +0200, Jeroen Demeyer wrote: > On 2010-10-18 13:43, Jan Groenewald wrote: > > Also, why does this depend on the system libgmp and not the sage libgmp? > > This depends on the setting of LD_LIBRARY_FLAG. If you do the same > within "sage -sh" you should get t

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-18 Thread François Bissey
> Hi > > On Sun, Oct 17, 2010 at 09:37:55AM +0200, Jan Groenewald wrote: > > Looking for libpari-gmp.so, I found these: > > r...@capepoint:/usr/local/src/sage-4.5.3/local/lib#ls -l libpari* > > -rwxr-xr-x 1 root root 3160120 Oct 11 17:06 libpari-gmp.so.2 > > -rwxr-xr-x 1 root root 3160120 Oct 11 1

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-18 Thread Jeroen Demeyer
On 2010-10-18 13:43, Jan Groenewald wrote: > Also, why does this depend on the system libgmp and not the sage libgmp? This depends on the setting of LD_LIBRARY_FLAG. If you do the same within "sage -sh" you should get the correct library. -- To post to this group, send an email to sage-devel@go

Re: [sage-devel] Re: libpari segfault related to 64bit?

2010-10-18 Thread Jan Groenewald
Hi On Sun, Oct 17, 2010 at 09:37:55AM +0200, Jan Groenewald wrote: > Looking for libpari-gmp.so, I found these: > r...@capepoint:/usr/local/src/sage-4.5.3/local/lib#ls -l libpari* > -rwxr-xr-x 1 root root 3160120 Oct 11 17:06 libpari-gmp.so.2 > -rwxr-xr-x 1 root root 3160120 Oct 11 17:06 libpari-g