[sage-devel] Regularly killed doctests on sage.math

2011-11-08 Thread Robert Bradshaw
I recently upgraded the patchbot to build against the latest release, and I'm still having trouble getting all doctests to pass. A patchbot where every ticket is "some tests failed" (even if it's just 2 or 3) is *much* less useful than one that consistently can run all tests. See, e.g. http://patch

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Paulo César Pereira de Andrade
2011/11/8 Francois Bissey : >> 2011/11/8 Francois Bissey : >> >> [...] >> >> > I don't get any of that. I suspect there may be an issue with gmp/mpir. >> > But I have really no clue about the glibc problem, you are using >> > mpmath-0.17 I expect. >> >>   Yes, mpmath-0.17. >> >>   This should be an

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Paulo César Pereira de Andrade
2011/11/8 Francois Bissey : > Hi Paulo, > > with gmp5 I had to do the following for sage to even compile in > sage/rings/integer.so precisely: > sed -i "s:__GMP_BITS_PER_MP_LIMB:GMP_LIMB_BITS:g" sage/rings/integer.pyx Yes, I have been using a similar approach (rediffing patch from time to time)

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Francois Bissey
> 2011/11/8 Francois Bissey : > > [...] > > > I don't get any of that. I suspect there may be an issue with gmp/mpir. > > But I have really no clue about the glibc problem, you are using > > mpmath-0.17 I expect. > > Yes, mpmath-0.17. > > This should be an issue with gmp / pylong / ntl conv

Re: [sage-devel] integral_numerical(log(x), 0, 0)

2011-11-08 Thread William Stein
On Tue, Nov 8, 2011 at 12:22 PM, Jeroen Demeyer wrote: > On 2011-11-08 19:35, William Stein wrote: >> In this case, dirac_delta is actually a distribution.  It >> is defined as the distribution with the property that >> >>  integral(dirac_delta, a, b) >> >> is 0 if the interval [a,b] does not cont

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Maarten Derickx
It seems like there are two groups of people here with different interests. One is the group whose main goal (at least as related to this discussion, since the main goal of sage is different) to make sage easily available on as much platforms as possible. And (a short version of) their argument

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Paulo César Pereira de Andrade
2011/11/8 Francois Bissey : [...] > I don't get any of that. I suspect there may be an issue with gmp/mpir. But > I have really no clue about the glibc problem, you are using mpmath-0.17 > I expect. Yes, mpmath-0.17. This should be an issue with gmp / pylong / ntl conversions, in the sage/c

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Francois Bissey
> On 11/08/11 15:41, Francois Bissey wrote: > > And by the way thanks for using sage-on-gentoo, we get tired but a pat > > on the back helps a lot. > > Sure! You guys do a great job. I use Sage on three Gentoo machines and > you've saved me countless hours over the years. I started paying > attent

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Michael Orlitzky
On 11/08/11 15:41, Francois Bissey wrote: > > And by the way thanks for using sage-on-gentoo, we get tired but a pat > on the back helps a lot. Sure! You guys do a great job. I use Sage on three Gentoo machines and you've saved me countless hours over the years. I started paying attention to bug

[sage-devel] Re: sagenb.org upgraded (again)

2011-11-08 Thread Jason Grout
On 11/8/11 2:29 PM, Maarten Derickx wrote: Nice! Was the cause of the slowdown also the cause of the file descriptor problem or is that something that still has to get fixed? I think the file descriptor problem is a separate issue, and hopefully that is fixed for us automatically in the upgra

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Francois Bissey
> On 11/08/11 13:37, William Stein wrote: > > On Tue, Nov 8, 2011 at 8:04 AM, Michael Orlitzky wrote: > >> (I use Sage on Gentoo) > >> > >> For maintainers, the argument is that a package manager should handle > >> dependencies for you. It's easier to write the dependencies down in a > >> text f

[sage-devel] Re: sagenb.org upgraded (again)

2011-11-08 Thread Maarten Derickx
Nice! Was the cause of the slowdown also the cause of the file descriptor problem or is that something that still has to get fixed? -- 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

Re: [sage-devel] placeholders in __init__.py

2011-11-08 Thread Maarten Derickx
Well this question is sort of answered automatically if we start making all __init__.py as mentioned on that ticket, namely make them contain just: import all Personally I wouldn't mind the placeholders to remain there in the otherwise empty __init__.py files just so that developers still using

Re: [sage-devel] integral_numerical(log(x), 0, 0)

2011-11-08 Thread Jeroen Demeyer
On 2011-11-08 19:35, William Stein wrote: > In this case, dirac_delta is actually a distribution. It > is defined as the distribution with the property that > > integral(dirac_delta, a, b) > > is 0 if the interval [a,b] does not contain 0, and is 1 if the > interval [a,b] does contain 0. Not qu

Re: [sage-devel] integral_numerical(log(x), 0, 0)

2011-11-08 Thread Jeroen Demeyer
On 2011-11-08 19:35, William Stein wrote: > Right now we get a TypeError when trying to evaluate the above, which > is unfortunate too, but at least it's an error rather than a totally > wrong answer. With your patch, probably Sage would silently produce > a wrong answer. Yes it would always prod

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Michael Orlitzky
On 11/08/11 13:37, William Stein wrote: > On Tue, Nov 8, 2011 at 8:04 AM, Michael Orlitzky wrote: >> (I use Sage on Gentoo) >> >> For maintainers, the argument is that a package manager should handle >> dependencies for you. It's easier to write the dependencies down in a >> text file than it is t

[sage-devel] porting Sage to OS X 10.7

2011-11-08 Thread William Stein
Hi, I've resolved the last issue [1] to getting Sage to build on OS X 10.7 with XCode 4.2 [2] and startup without segfaulting. I'm posting this mainly because I kept trying to bug people to help me with this last pynac segfault issue [1]. Next -- to "make ptestlong" and see what breaks... [1] h

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread William Stein
On Tue, Nov 8, 2011 at 8:04 AM, Michael Orlitzky wrote: > (I use Sage on Gentoo) > > For maintainers, the argument is that a package manager should handle > dependencies for you. It's easier to write the dependencies down in a > text file than it is to maintain and ship them all with every release

Re: [sage-devel] integral_numerical(log(x), 0, 0)

2011-11-08 Thread William Stein
On Tue, Nov 8, 2011 at 5:24 AM, Jeroen Demeyer wrote: > Currently, in sage-4.7.2: > > sage: integral_numerical(log(x), 0, 0) > (nan, nan) > > Mathematically, the integral should certainly be zero: there is a > primitive function which is continuous and defined at 0.  Symbolically, > we can compute

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Francois Bissey
> Em 8 de novembro de 2011 04:20, Paulo César Pereira de Andrade > > escreveu: > > 2011/11/7 Francois Bissey : > >> Hi Paulo, > >> > >> You are using python-2.7 right? In #9958 I have a list of patches > >> as long as my arm to deal with the numerical noise and changes > >> in warnings. > > > >

[sage-devel] sagenb.org upgraded (again)

2011-11-08 Thread Jason Grout
I've upgraded sagenb.org to a (new, fixed) version of the new flask notebook server. I believe we diagnosed and fixed the problem that was causing the massive slowdowns with the previous upgrade (i.e., published worksheets were getting started up any time it was viewed). I'm monitoring sagenb

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Michael Orlitzky
On 11/08/11 03:31, William Stein wrote: > > Many of us are absolutely 100% opposed to getting rid of what we > currently have. > > However, I see no reason that you can't *also* make a version of Sage > that has the properties you want. The Gentoo people do that, the > Mandriva people do that,

[sage-devel] Re: deprecate symbolic function call notation

2011-11-08 Thread kcrisman
On Nov 8, 10:30 am, Michael Orlitzky wrote: > On 11/08/11 10:05, kcrisman wrote: > > > > > Ah, that is luckily easy to fix!  Just name your file > > > piecewise_test.sage > > > and all will be forgiven. > > I've tried this before, and gave up out of frustration. Most of my code > is stored in di

Re: [sage-devel] Re: deprecate symbolic function call notation

2011-11-08 Thread Michael Orlitzky
On 11/08/11 10:05, kcrisman wrote: > > > Ah, that is luckily easy to fix! Just name your file > > piecewise_test.sage > > and all will be forgiven. I've tried this before, and gave up out of frustration. Most of my code is stored in different modules and imported into little executable script

[sage-devel] Re: deprecate symbolic function call notation

2011-11-08 Thread kcrisman
On Nov 8, 9:58 am, Michael Orlitzky wrote: > On 11/08/11 09:53, kcrisman wrote: > > > > > Note that this goes away if you instead define > > > sage: f0(x) = 4.0*(x-0.5)^2 > > > (I mean after restarting Sage; the deprecation warning only will show > > up once in any case.) > > I've got this in a

[sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread kcrisman
Just want to add +1 to Jonathan and William's comments. The fewer steps to becoming a developer, the better. (Esp. on Mac and someday Windows, where people are not used to things that don't auto-install dependencies.) -- To post to this group, send an email to sage-devel@googlegroups.com To un

Re: [sage-devel] Re: deprecate symbolic function call notation

2011-11-08 Thread Michael Orlitzky
On 11/08/11 09:53, kcrisman wrote: > > Note that this goes away if you instead define > > sage: f0(x) = 4.0*(x-0.5)^2 > > (I mean after restarting Sage; the deprecation warning only will show > up once in any case.) I've got this in a standalone python file, not running through the sage prompt.

[sage-devel] Re: deprecate symbolic function call notation

2011-11-08 Thread kcrisman
On Nov 8, 9:09 am, Michael Orlitzky wrote: > On 11/07/11 21:03, kcrisman wrote: > > > > > So are you saying that Python and Piecewise functions will no longer > > behave correctly if this behavior goes from warning to error?  It > > would be great if you had a "toy" example with full code; maybe

Re: [sage-devel] Re: deprecate symbolic function call notation

2011-11-08 Thread Michael Orlitzky
On 11/07/11 21:03, kcrisman wrote: > > So are you saying that Python and Piecewise functions will no longer > behave correctly if this behavior goes from warning to error? It > would be great if you had a "toy" example with full code; maybe there > is a workaround that needs to become standard pr

[sage-devel] Re: Sage G+ Page

2011-11-08 Thread Keshav Kini
Awesome, thanks! -Keshav Join us in #sagemath on irc.freenode.net ! -- 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.co

Re: [sage-devel] Re: deprecate symbolic function call notation

2011-11-08 Thread Michael Orlitzky
On 11/07/11 21:03, kcrisman wrote: > > So are you saying that Python and Piecewise functions will no longer > behave correctly if this behavior goes from warning to error? It > would be great if you had a "toy" example with full code; maybe there > is a workaround that needs to become standard pr

Re: [sage-devel] placeholders in __init__.py

2011-11-08 Thread Keshav Kini
Necrobump - can we get rid of these lines or are they still important? Is the fixed Mercurial bug I mentioned what necessitated these lines? I was reminded of this by ##11762 which touches the __init__ files. -Keshav Join us in #sagemath on irc.freenode.net . -- To post to this group, se

[sage-devel] integral_numerical(log(x), 0, 0)

2011-11-08 Thread Jeroen Demeyer
Currently, in sage-4.7.2: sage: integral_numerical(log(x), 0, 0) (nan, nan) Mathematically, the integral should certainly be zero: there is a primitive function which is continuous and defined at 0. Symbolically, we can compute the integral correctly: sage: integral(log(x), (x,0,0)) 0 So I wou

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Julien Puydt
Le 08/11/2011 09:31, William Stein a écrit : On Tue, Nov 8, 2011 at 12:09 AM, Julien Puydt wrote: Sage developers shouldn't care. If you start down that road, you'll soon end up putting in your own libc, your own libc++, your own editor, your own C/C++/whatever compiler, etc. I disagree with

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Ivan Andrus
On Nov 8, 2011, at 10:02 AM, Jonathan Bober wrote: > On Tue, Nov 8, 2011 at 3:09 AM, Julien Puydt wrote: > > You'll find here http://clefagreg.dnsalias.org/ a distribution aimed at > them. And in fact, several distributions, to be installed on a usb key and > booted, precisely because the stu

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Jonathan Bober
On Tue, Nov 8, 2011 at 3:09 AM, Julien Puydt wrote: > > You'll find here http://clefagreg.dnsalias.org/ a distribution aimed at > them. And in fact, several distributions, to be installed on a usb key and > booted, precisely because the students may not have administrative rights > on the machine

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread William Stein
On Tue, Nov 8, 2011 at 12:09 AM, Julien Puydt wrote: > Le 08/11/2011 07:37, Jonathan Bober a écrit : >> I don't know enough about software packaging to know if sage is >> _really_that different, but it is quite complicated and large, and it >> may take a big coordinated effort to get sage into eve

Re: [sage-devel] Feedback of update to sagemath 4.7.2 Mandriva rpm package

2011-11-08 Thread Jeroen Demeyer
On 2011-11-08 07:51, Paulo César Pereira de Andrade wrote: > With the sympy/mpmath patches, I can drop a hack I have been rediff'ing > for some time, but anything that uses mpmath now shows a lot of warnings > like these: > > sage -t -force_lib "devel/sage/sage/libs/mpmath/ext_main.pyx" > *** gl

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-08 Thread Julien Puydt
Le 08/11/2011 07:37, Jonathan Bober a écrit : On Sun, Nov 6, 2011 at 5:59 AM, Julien Puydt mailto:julien.pu...@laposte.net>> wrote: Le 05/11/2011 21:24, Justin C. Walker a écrit : There are so many different versions of each library and system (for Linux, in particular)