[sage-devel] help with a failing doctest in symbolics (#9582)

2010-07-27 Thread Dan Drake
For those of you that don't follow sage-release, there's only one ticket that's really holding up 4.5.2: #9582. There are some tests in symbolics that fail on OS X because the terms are printed in a different order. I don't know how to fix this, but I'll bet one of you does! If we close this ticke

[sage-devel] Parents and categories best practices?

2010-07-27 Thread Volker Braun
Dear sage-devel, I'm a bit confused about what the recommended way to implement a free module is. In particular, I would like a custom parent and elements classes and coercion into the module. For simplicity, lets assume that speed is not an issue. It seems like there are at least three options:

[sage-devel] Re: Wrong symbolic sum

2010-07-27 Thread Henryk Trappmann
On Jul 28, 2:21 am, kcrisman wrote: > On Jul 27, 1:17 am, Henryk Trappmann wrote: > > sage: sum(binomial(n,k)*binomial(k-1,j)*(-1)**(k-1-j),k,j+1,n) > In fact, the answer appears to always be 1 or 0.  Is that true? Yes, its 1 for n>=j+1 and (of course) 0 for n in () /opt/sage-4.5-linux-32bit-ub

Re: [sage-devel] Sage getting segmentation violations on exit

2010-07-27 Thread Peter Jeremy
On 2010-Jul-28 00:02:48 +1200, François Bissey wrote: >Actually the comentator from linbox breaks sage. I thought this was >known and patched in the linbox spkg. I just checked the linbox >spkg and it is removed. Can you tell me what you are checking here. >That's strange that you seem to have b

[sage-devel] Rational polynomials via FLINT (#4000)

2010-07-27 Thread Sebastian Pancratz
Dear all, A mere two years after ticket #4000 was opened on trac and a little work during Sage Days 24 in Linz, there is now a set of patches (ready for review!) attached to the ticket that provides an implementation of QQ[] via FLINT 1. This note's main purpose is to let everyone know about this

[sage-devel] Re: Wrong symbolic sum

2010-07-27 Thread Robert Dodier
On Jul 27, 12:21 pm, kcrisman wrote: > This appears to be a bug in Maxima. Agreed. Can someone please submit a bug report. See: http://sourceforge.net/projects/maxima/bugs best Robert Dodier -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group

Re: [sage-devel] Should the date and time of test failures be noted?

2010-07-27 Thread David Kirkby
On 27 July 2010 22:10, Jeroen Demeyer wrote: > On 2010-07-27 21:25, David Kirkby wrote: >> Currently if a test fails in the doctest, one can never be sure if the >> machine may have run out of swap space, disk space disk I/O problems >> or all manner of other things that could cause test failures.

Re: [sage-devel] Making 32-bit PARI pretend to be 64-bit

2010-07-27 Thread Carl Witty
On Tue, Jul 27, 2010 at 2:22 PM, Jeroen Demeyer wrote: > My working on the big PARI-upgrade (#9343) has sprouted many ideas.  One > of these (possibly crazy) ideas is the following: we might manage to > some extent to make 32-bit PARI behave like 64-bit PARI.  Because right > now various doctests

[sage-devel] Making 32-bit PARI pretend to be 64-bit

2010-07-27 Thread Jeroen Demeyer
Hello all, My working on the big PARI-upgrade (#9343) has sprouted many ideas. One of these (possibly crazy) ideas is the following: we might manage to some extent to make 32-bit PARI behave like 64-bit PARI. Because right now various doctests return different results depending on the word size

Re: [sage-devel] Should the date and time of test failures be noted?

2010-07-27 Thread Jeroen Demeyer
On 2010-07-27 21:25, David Kirkby wrote: > Currently if a test fails in the doctest, one can never be sure if the > machine may have run out of swap space, disk space disk I/O problems > or all manner of other things that could cause test failures. But if > the time of the failure was recorded, th

[sage-devel] Should the date and time of test failures be noted?

2010-07-27 Thread David Kirkby
Currently if a test fails in the doctest, one can never be sure if the machine may have run out of swap space, disk space disk I/O problems or all manner of other things that could cause test failures. But if the time of the failure was recorded, then the system logs could be used to see if anythi

[sage-devel] Re: new keywords for limit()

2010-07-27 Thread D.C. Ernst
> > I suggest we add "left" and "right" (instead of "from_left" and > > "from_right"). In addition, deprecate "above" and "below". > > +1 from me.  I think that would be a big improvement. I'm assuming that you want to replace "from_left" (respectively, "from_right") with "left" (respectively, "ri

[sage-devel] Re: [sage-combinat-devel] Python, Sage, categories

2010-07-27 Thread William Stein
On Tue, Jul 27, 2010 at 11:20 AM, Nicolas M. Thiery wrote: > On Tue, Jul 27, 2010 at 02:05:21AM -0700, Robert Bradshaw wrote: >> > Option 4 is to fix this defect in Cython. I played around with this >> > the other night and the problem is this: the Python C API has only one >> > slot for both __ge

[sage-devel] Re: Wrong symbolic sum

2010-07-27 Thread kcrisman
This appears to be a bug in Maxima. (%i1) load(simplify_sum); (%i3) simplify_sum(sum(binomial(n,k)*binomial(k-1,j)*(-1)**(k-1-j),k,j +1,n)); (%o3) 0 (%i4) simplify_sum(sum(binomial(5,k)*binomial(k-1,3)*(-1)**(k-1-3),k, 4,5)); (%o4)

[sage-devel] Re: [sage-combinat-devel] Python, Sage, categories

2010-07-27 Thread Nicolas M. Thiery
On Tue, Jul 27, 2010 at 02:05:21AM -0700, Robert Bradshaw wrote: > > Option 4 is to fix this defect in Cython. I played around with this > > the other night and the problem is this: the Python C API has only one > > slot for both __getattr__ and __getattribute__. If you only overload > > the former

Re: [sage-devel] sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread Sazzad
Big Thanks! You can post this link : http://boxen.math.washington.edu/home/kirkby/vmware/ in the sage main download page. so those who are interested could take benefit. best wishes -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an ema

Re: [sage-devel] Re: Error compiling Sage 4.5.1 in OpenSuse 11.3

2010-07-27 Thread David Kirkby
2010/7/25 Jae : > Hi, > >  After > 1. copying the following to the directory sage-4.5.1/spkg/standard > > http://boxen.math.washington.edu/home/kirkby/patches/readline-6.1.spkg > > 2. Installing the system-wide readline-dev package for your linux > distro. > > >   sage compiles  successfully in Ope

[sage-devel] Re: Visualization tool project

2010-07-27 Thread Rob Beezer
Processing is being used currently to make Rado's graph editor possible. The necessary Javascript library is already included with Sage, though maybe it could use a more general home long-term? local/lib/python2.6/site-packages/sagenb-0.8.2-py2.6.egg/sagenb/data/ graph_editor/processing.js On Ju

[sage-devel] Re: plot scale has wrongly truncated numbers

2010-07-27 Thread kcrisman
Dear Henryk, I haven't gotten to look at this, but this is now http://trac.sagemath.org/sage_trac/ticket/9611 - kcrisman On Jul 24, 5:56 am, Henryk Trappmann wrote: > Take for example the following code: > sage: f = {0:1} > sage: for n in range(100): f[n+1] = sqrt(2.0)**f[n] > sage: line([(n,f

Re: [sage-devel] sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread David Kirkby
On 27 July 2010 13:52, Sazzad wrote: > Well, then I would request you to split it into as many[smaller] parts as > possible. > Well I could split them into 1-byte pieces if you wanted! > Best is 10MB*100.If it isn't possible > It is possible. > then 25/50MB*40/20 will do, provided that they

[sage-devel] Re: Non-commutative extension for Sage using Singular/Plural

2010-07-27 Thread Alexander Dreyer
Hi alltogether, > During SD10 in Nancy, Michael Brickenstein and Burcin Erocal started > working on makingPlural (the non-commutative extension of Singular) > accessible from Sage. > Oleksandr Motsak and Alexander Dreyer continued this work at SD 24 in > Linz. Of course, I forgot to mention, that m

[sage-devel] Re: sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread Harald Schilly
On 27 Jul., 15:14, Sazzad wrote: > I was thinking if it was possible to make sage more windows friendly. > probably making a stand alone .exe? and separating packages into standalone > modules with .exe installer for each. !? Unfortunately, that's much harder than you might think. There is a grou

Re: [sage-devel] Re: sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread Sazzad
> > Possibly, but that's more hassle in the short term. > But, in the long term I think it will strategically fit better. I've seen peoples talking in the forums about CAS open source alternatives and discarding Sage only because *the file is too large*. I was thinking if it was possible to make

Re: [sage-devel] Re: sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread Sazzad
> > It may be easier to enable a bittorrent server on a mirror. A good > client will recompute all the chunks' hashes (message digests) upon > restart if a power failure should occur. Hopefully the protocol is > not prohibited by your ISP or jurisdiction. > > > http://en.wikipedia.org/wiki/BitTor

Re: [sage-devel] Re: sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread Sazzad
> [1] > http://www.sagemath.org/mirror/win/meta/sage-vmware-4.4.alpha0.zip.metalink > I've downloaded twice from this same location. I use Free download manager . Every time it finished downloading, it says, *there was an integration error, *and I have to downl

Re: [sage-devel] Sage getting segmentation violations on exit

2010-07-27 Thread David Kirkby
On 27 July 2010 12:36, Peter Jeremy wrote: > I've managed to get Sage 4.5 to build on FreeBSD (see > http://wiki.sagemath.org/freebsd/sage-4.5 for details) Well done. Having another platform is likely to show bugs not seen on any current platform. > seems to run (I'm still waiting for the test s

Re: [sage-devel] sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread Sazzad
> > Is the md5 checksum correct? Assuming that the file > sage-vmware-4.4.alpha0.zip > then the md5 checksum should be: e13ba46d999a6ff0da3b9d58ae909ed0 No. [?]I checked with these tools. nullriver, FCIV None of

Re: [sage-devel] Re: Scary things in Sage's Digraphs

2010-07-27 Thread Robert Miller
See trac #9610 for a patch which fixes this issue. -- Robert L. Miller http://www.rlmiller.org/ -- 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 a

Re: [sage-devel] Sage getting segmentation violations on exit

2010-07-27 Thread François Bissey
Actually the comentator from linbox breaks sage. I thought this was known and patched in the linbox spkg. I just checked the linbox spkg and it is removed. That's strange that you seem to have built a linbox with commentator. Francois -- To post to this group, send an email to sage-devel@google

[sage-devel] Re: Problems with TestSuite

2010-07-27 Thread Simon King
Hi Joris! On Jul 27, 11:53 am, jvkersch wrote: > File "element.pyx", line 472, ... > ... > AssertionError The line numbers (e.g., line 472 in element.pyx) might give you a hint what happens. My line numbers seem a bit different, but at line 473 of element.pyx, in method _test_category, there i

[sage-devel] Sage getting segmentation violations on exit

2010-07-27 Thread Peter Jeremy
I've managed to get Sage 4.5 to build on FreeBSD (see http://wiki.sagemath.org/freebsd/sage-4.5 for details) and it seems to run (I'm still waiting for the test suite results) but it consistently gets segmentation violations on exit. Running "sage -gdb" and just exiting at the prompt, I get: -

[sage-devel] Re: sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread mda_
> > It may be easier to enable a bittorrent server on a mirror. [...] > > Possibly, but that's more hassle in the short term. I don't know what's > involved. In any case, I can't do it as I don't control the server. Well, there are no perfect solutions, but it is an option. Maybe in 5 or 10 years

[sage-devel] Problems with TestSuite

2010-07-27 Thread jvkersch
Hi all, I am looking for some understanding into the various test routines run by TestSuite. The problem is that I'm working on a new parent on which TestSuite fails, and I would like to understand whether this is due to me not understanding the relevant sage internals (very likely) or if I can j

[sage-devel] Re: sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread Harald Schilly
On 27 Jul., 09:17, Sazzad wrote: > Hi, > This is the second time I've downloaded this file. And, winrar says it's > corrupted, when I try to extract it. What's the reason? Any clue? We've > severe electricity disruption here in Bangladesh. So, I often have to stop > and resume download. > I've tri

[sage-devel] Visualization tool project

2010-07-27 Thread 3DRaven
Hello Take a look at this project: http://processing.org/ An interesting solution for visualization. Perhaps this project like the developers. This would allow users to embed any visualization in their programs. Bye. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubs

Re: [sage-devel] Re: sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread Dr. David Kirkby
On 07/27/10 09:51 AM, mda_ wrote: One possibility is we could split the file, then you download each part separately. Then the md5 checksum of each part could be checked individually. If one gets corrupted, only that part would need to be downloaded again. You would of course need to rebuild the

[sage-devel] Re: sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread mda_
> One possibility is we could split the file, then you download each part > separately. Then the md5 checksum of each part could be checked individually. > If > one gets corrupted, only that part would need to be downloaded again. You > would > of course need to rebuild the constituent parts. It

Re: [sage-devel] sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread Dr. David Kirkby
On 07/27/10 08:17 AM, Sazzad wrote: Hi, This is the second time I've downloaded this file. And, winrar says it's corrupted, when I try to extract it. What's the reason? Any clue? We've severe electricity disruption here in Bangladesh. So, I often have to stop and resume download. I've tried to re

[sage-devel] sage-vmware-4.4.alpha0.zip Corrupted?

2010-07-27 Thread Sazzad
Hi, This is the second time I've downloaded this file. And, winrar says it's corrupted, when I try to extract it. What's the reason? Any clue? We've severe electricity disruption here in Bangladesh. So, I often have to stop and resume download. I've tried to recover .zip file with some recovery too