[sage-devel] Re: VirtualBox

2012-02-04 Thread Emil Widmann
On Feb 4, 8:25 pm, mmarco wrote: > I have been working on a VM with compressed filesystems. I have > thought that maybe a good aproach to the "automatic generation" > problem would be to mount the sage directory from a compressed file in > a shared folder. It should need, as William sugested, a wi

[sage-devel] Re: Should we slowly move the .py files to .pyx files now that we have iterators ?

2012-02-04 Thread Keshav Kini
Wait, so the ticket owner field actually means something? (I take it this is what you mean by saying that Nathann hasn't responded to the bug when the only place I see him on the ticket is in the ticket owner field.) I remember being told that it is meaningless now and we should CC someone if w

[sage-devel] Re: Failed compile of p_group_cohomology2.0

2012-02-04 Thread Dima Pasechnik
Hi Simon, it also fails with Sage 5.0.beta2 on Debian x86_64, with the same symptoms. So it's not Suse-specific, it seems. $ uname -a Linux arando 3.1.0-1-amd64 #1 SMP Tue Jan 10 05:01:58 UTC 2012 x86_64 GNU/Linux gcc version 4.6.2 (Debian 4.6.2-11) Best, Dima Error compiling Cython file: ---

Re: [sage-devel] Should we slowly move the .py files to .pyx files now that we have iterators ?

2012-02-04 Thread Robert Bradshaw
On Mon, Jan 30, 2012 at 8:05 AM, William Stein wrote: > > On Jan 30, 2012 5:12 AM, "Nathann Cohen" wrote: >> >> Hello everybody !!! >> >> I wondered why we still had .py files in our library. Some time ago >> this made sense as there were Python features that were not available >> in Cython -- li

[sage-devel] Re: Should we slowly move the .py files to .pyx files now that we have iterators ?

2012-02-04 Thread Dima Pasechnik
On Sunday, 5 February 2012 09:20:37 UTC+8, kcrisman wrote: > > > > You have to admit that it is a bit harsh to describe these patches as > > "hard to understand" and "full of dodgy hacks". Or at the very very > > least that it is not out of lazyness from my part :-p > > Given the speed of your

Re: [sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread Jonathan Bober
On Sat, Feb 4, 2012 at 2:11 PM, Robert Bradshaw < rober...@math.washington.edu> wrote: > > Note that what is broken[1] here is ARM's libc, if one types > "gamma(6.0)" one gets "120." on all systems. It's a > question about gamma(float(6.0)) which is explicitly requesting the > (presuma

Re: [sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread Jonathan Bober
On Sat, Feb 4, 2012 at 8:13 AM, rjf wrote: > > > > If there is a reasonable > > implementation that can guarantee this behavior with no loss in speed and > > no other significant trade-offs, then library designers should use it, > but > > I don't think that it is such a simple issue. > > I think

[sage-devel] Re: Failed compile of p_group_cohomology2.0

2012-02-04 Thread Simon King
Hi Jim, On 4 Feb., 17:27, Jim Milgram wrote: > Using openSUSE 12.1.  Sage compliled without difficulty, but > the compilation of the optional program "p_group_cohomolgy" failed. > Here are final lines from the log record. > ... > pGroupCohomology/cochain.pyx:1037:33: local variable 'singular' ref

[sage-devel] Re: Should we slowly move the .py files to .pyx files now that we have iterators ?

2012-02-04 Thread kcrisman
> You have to admit that it is a bit harsh to describe these patches as > "hard to understand" and "full of dodgy hacks". Or at the very very > least that it is not out of lazyness from my part :-p Given the speed of your uploading patches to any graph or LP code when tickets appear, I hardly thi

Re: [sage-devel] Re: Should we slowly move the .py files to .pyx files now that we have iterators ?

2012-02-04 Thread Nathann Cohen
> And it's not only your time, it's other's time that is being used (if not, > hmm, wasted) to look for bugs that are so commonplace > in C code. Please Dima, do not look at my patches if you can not stand their clumsiness. I do not pay anybody to review them, and so no one should feel forced to d

Re: [sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread Robert Bradshaw
On Sat, Feb 4, 2012 at 8:17 AM, rjf wrote: > > On Feb 2, 1:16 pm, Julien Puydt wrote: >> Le 02/02/2012 23:22, Jonathan Bober a crit : >> >> > Can you think of a reason that the answer should change? Does maxima use >> > less that 53 bits of precision ever? >> >> Well, if I don't err, $10^{17}$ h

[sage-devel] Re: May I register sage-notebook [et al.] on Gmane?

2012-02-04 Thread Jason Grout
On 2/4/12 3:51 PM, Keshav Kini wrote: Hi, The Google Groups interface is really terrible IMHO (especially since it doesn't allow you to write plain text emails anymore), so I've been looking into using a newsreader to access sage-devel. Gmane_ is a website which archives public mailing lists, es

[sage-devel] May I register sage-notebook [et al.] on Gmane?

2012-02-04 Thread Keshav Kini
Hi, The Google Groups interface is really terrible IMHO (especially since it doesn't allow you to write plain text emails anymore), so I've been looking into using a newsreader to access sage-devel. Gmane_ is a website which archives public mailing lists, especially those related to free softwa

[sage-devel] Re: A clang port

2012-02-04 Thread R. Andrew Ohana
Out of curiosity, is anyone actively working on a suncc port. (I ask since libcsage's SConstruct needs changing, and there is some stuff in there pertaining to such a port.) On Sat, Feb 4, 2012 at 11:55, R. Andrew Ohana wrote: > I've started working on a clang port, and it looks like it may be >

[sage-devel] Re: VirtualBox

2012-02-04 Thread mmarco
I have been working on a VM with compressed filesystems. I have thought that maybe a good aproach to the "automatic generation" problem would be to mount the sage directory from a compressed file in a shared folder. It should need, as William sugested, a windows GUI app that would take care of conf

[sage-devel] A clang port

2012-02-04 Thread R. Andrew Ohana
I've started working on a clang port, and it looks like it may be doable. I have created a fairly barebones metaticket for it [1] which lists the spkgs that I have found issues with thus far. I have successfully built and tested sage-5.0.beta1 on sage.math using clang for all but the following spk

Re: [sage-devel] Compilation failure of pari (ARM, gcc 4.6.2)

2012-02-04 Thread Julien Puydt
Le 04/02/2012 10:18, Paulo César Pereira de Andrade a écrit : 2012/2/4 Julien Puydt: (sage subshell) hecke:Olinux-armv7l jpuydt$ make gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -g -funroll-loops -fPIC -I. -I../src/headers -I/home/jpuydt/sage-4.8/local/include -o mp.o mp.c

[sage-devel] Re: Definite integral depends on the variable of integration

2012-02-04 Thread Andrey Novoseltsev
OK, this is now #12438! http://trac.sagemath.org/sage_trac/ticket/12438 -- 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/

[sage-devel] Re: Definite integral depends on the variable of integration

2012-02-04 Thread Jason Grout
On 2/4/12 12:50 PM, Andrey Novoseltsev wrote: On Feb 4, 11:30 am, Jason Grout wrote: I was thinking of confusion for the user, because the user has to be more careful about how they call the function because the arguments change. Now, this can be alleviated by the user using keyword arguments

[sage-devel] Re: Are the Sage binaries for OS X are crap?

2012-02-04 Thread Mike OS
Just corroborating. I encountered the same problem this week installing sage for the first time on a laptop running 10.6.8. I had no problem installing on a imac running 10.6.8 that already had an older copy of sage. -- To post to this group, send an email to sage-devel@googlegroups.com To unsub

[sage-devel] Re: Definite integral depends on the variable of integration

2012-02-04 Thread Andrey Novoseltsev
On Feb 4, 11:30 am, Jason Grout wrote: > I was thinking of confusion for the user, because the user has to be > more careful about how they call the function because the arguments > change.  Now, this can be alleviated by the user using keyword > arguments, or paying attention and being aware of

[sage-devel] Re: Definite integral depends on the variable of integration

2012-02-04 Thread Jason Grout
On 2/4/12 12:26 PM, Andrey Novoseltsev wrote: On Feb 4, 11:21 am, Jason Grout wrote: On 2/4/12 11:24 AM, Keshav Kini wrote: On Saturday, February 4, 2012 11:43:44 PM UTC+8, Andrey Novoseltsev wrote: But in definite integrals the variable of integration is a dummy one and does n

[sage-devel] Re: Definite integral depends on the variable of integration

2012-02-04 Thread Andrey Novoseltsev
On Feb 4, 11:21 am, Jason Grout wrote: > On 2/4/12 11:24 AM, Keshav Kini wrote: > > > On Saturday, February 4, 2012 11:43:44 PM UTC+8, Andrey Novoseltsev wrote: > > >     But in definite integrals the variable of integration is a dummy one > >     and does not exist out of the integral! > > > +1

[sage-devel] Re: Definite integral depends on the variable of integration

2012-02-04 Thread Jason Grout
On 2/4/12 11:24 AM, Keshav Kini wrote: On Saturday, February 4, 2012 11:43:44 PM UTC+8, Andrey Novoseltsev wrote: But in definite integrals the variable of integration is a dummy one and does not exist out of the integral! +1. This behavior makes no sense to me. So what happens in a

Re: [sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread Julien Puydt
Le 04/02/2012 17:21, rjf a écrit : On Feb 2, 1:29 pm, Julien Puydt wrote: +1 A user asking for a floating-point computation means (s)he is ready to accept the results are mathematically wrong, but computationally within a reasonable error range. There are lots of reasonable expectations. Lik

[sage-devel] Re: Definite integral depends on the variable of integration

2012-02-04 Thread Keshav Kini
On Saturday, February 4, 2012 11:43:44 PM UTC+8, Andrey Novoseltsev wrote: > But in definite integrals the variable of integration is a dummy one > and does not exist out of the integral! +1. This behavior makes no sense to me. -Keshav Join us in #sagemath on irc.freenode.net ! -- To

[sage-devel] Failed compile of p_group_cohomology2.0

2012-02-04 Thread Jim Milgram
Using openSUSE 12.1. Sage compliled without difficulty, but the compilation of the optional program "p_group_cohomolgy" failed. Here are final lines from the log record. I hope someone can help with this. Please let me know if you need any further information. Yours, Jim Milgram gcc -pthrea

[sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread rjf
On Feb 3, 7:53 pm, David Kirkby wrote: > On 2 February 2012 23:05, rjf wrote: > > > > > I don't know about arithmetic on ARM specifically, but there is > > something > > wrong with a gamma() function that fails to return an integer (perhaps > > in float format) when it is > > given an integer a

[sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread rjf
On Feb 2, 1:29 pm, Julien Puydt wrote: > > > +1 A user asking for a floating-point computation means (s)he is ready > to accept the results are mathematically wrong, but computationally > within a reasonable error range. > There are lots of reasonable expectations. Like the answer will be the

[sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread rjf
On Feb 2, 1:16 pm, Julien Puydt wrote: > Le 02/02/2012 23:22, Jonathan Bober a crit : > > > Can you think of a reason that the answer should change? Does maxima use > > less that 53 bits of precision ever? > > Well, if I don't err, $10^{17}$ has 18 decimal digits, which is more > than the 15,95.

[sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread rjf
On Feb 2, 5:28 pm, Jonathan Bober wrote: > On Thu, Feb 2, 2012 at 3:05 PM, rjf wrote: > > > I don't know about arithmetic on ARM specifically, but there is > > something > > wrong with a gamma() function that fails to return an integer (perhaps > > in float format) when it is > > given an integ

[sage-devel] Re: Definite integral depends on the variable of integration

2012-02-04 Thread Andrey Novoseltsev
On Feb 4, 4:31 am, P Purkayastha wrote: > On Saturday, February 4, 2012 6:10:07 AM UTC+8, Andrey Novoseltsev wrote: > > > Hello, > > > It is a known bug? Or maybe not considered a bug at all? Quick search > > does not show anything related... > > > sage: f(x) = x > > sage: f > > x |--> x > > sage:

Re: [sage-devel] Add script to check whether the compiler supports a certain flag (#12367) needs review

2012-02-04 Thread Jeroen Demeyer
On 2012-02-04 16:27, Julien Puydt wrote: > Le 04/02/2012 16:16, Jeroen Demeyer a écrit : >> I added a script testcflag.sh in the spirit of testcc.sh which simply >> tests whether the C compiler supports a certain command-line flag. This >> is useful for writing more portable spkg-install scripts.

Re: [sage-devel] Add script to check whether the compiler supports a certain flag (#12367) needs review

2012-02-04 Thread Julien Puydt
Le 04/02/2012 16:16, Jeroen Demeyer a écrit : I added a script testcflag.sh in the spirit of testcc.sh which simply tests whether the C compiler supports a certain command-line flag. This is useful for writing more portable spkg-install scripts. Use case: #12368 (ratpoints). Please review http

Re: [sage-devel] New sympow spkg (#11920) needs review

2012-02-04 Thread Jeroen Demeyer
*bump* -- 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.sagemath.org

[sage-devel] Add script to check whether the compiler supports a certain flag (#12367) needs review

2012-02-04 Thread Jeroen Demeyer
I added a script testcflag.sh in the spirit of testcc.sh which simply tests whether the C compiler supports a certain command-line flag. This is useful for writing more portable spkg-install scripts. Use case: #12368 (ratpoints). Please review http://trac.sagemath.org/sage_trac/ticket/12367 --

[sage-devel] Delete old mpfr libraries *after* build (#12366) needs review

2012-02-04 Thread Jeroen Demeyer
At #12366, I have slightly patched the mpfr spkg to delete the previously-installed libraries *after* the build but *before* the install of the new libraries. This is a prerequisite of a gcc spkg. Please review: http://trac.sagemath.org/sage_trac/ticket/12366 -- To post to this group, send an e

Re: [sage-devel] Compilation failure of pari (ARM, gcc 4.6.2)

2012-02-04 Thread Julien Puydt
Le 04/02/2012 09:37, Julien Puydt a écrit : And indeed, pari doesn't compile! After I compile mp.c with only the -O switch, pari and the rest of sage compiled correctly. Snark on #sagemath -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group,

[sage-devel] Re: Definite integral depends on the variable of integration

2012-02-04 Thread P Purkayastha
On Saturday, February 4, 2012 7:04:32 AM UTC+8, kcrisman wrote: > > > This might be a different problem. Shouldn't this give a syntax > error, folks? > > sage: h(x,y) = x+y > sage: h(3) > y + 3 > > ??? I thought the whole *point* of the h(x,y) notation was to specify > the order - but the

[sage-devel] Re: Definite integral depends on the variable of integration

2012-02-04 Thread P Purkayastha
On Saturday, February 4, 2012 6:10:07 AM UTC+8, Andrey Novoseltsev wrote: > > Hello, > > It is a known bug? Or maybe not considered a bug at all? Quick search > does not show anything related... > > sage: f(x) = x > sage: f > x |--> x > sage: integral(f, x) > x |--> 1/2*x^2 > sage: integr

Re: [sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread Dima Pasechnik
On Saturday, 4 February 2012 17:38:00 UTC+8, Dr. David Kirkby wrote: > > On 02/ 4/12 05:00 AM, Dima Pasechnik wrote: > > > > > > On Saturday, 4 February 2012 11:53:35 UTC+8, Dr. David Kirkby wrote: > >> > >> > >> > >> On 2 February 2012 23:05, rjf<> wrote: > >> > >>> > >>> I don't know about ari

[sage-devel] Fwd: [Bug-gsl] stepping down as maintainer

2012-02-04 Thread Dr. David Kirkby
I noticed this on the Gnu Scientific Library (GSL) mailing list. Brain seemed a very nice man. I once pointed out to him that some closed-source code was using the GSL. He suggested to the developer that he use some other code, and gave me a copy of the GSL book as a thank-you. I also had no

Re: [sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread Dr. David Kirkby
On 02/ 4/12 05:00 AM, Dima Pasechnik wrote: On Saturday, 4 February 2012 11:53:35 UTC+8, Dr. David Kirkby wrote: On 2 February 2012 23:05, rjf<> wrote: I don't know about arithmetic on ARM specifically, but there is something wrong with a gamma() function that fails to return an integer

Re: [sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread Dima Pasechnik
http://urchin.earth.li/~twic/Ulrich_Drepper_Is_A_.html On Saturday, 4 February 2012 16:18:35 UTC+8, Snark wrote: > > Le 04/02/2012 06:00, Dima Pasechnik a �crit : > > It's well-known how to compute gamma() better than it is implemented in > > (e)glibc, the prevalent Linux libc implementation, >

Re: [sage-devel] Compilation failure of pari (ARM, gcc 4.6.2)

2012-02-04 Thread Paulo César Pereira de Andrade
2012/2/4 Julien Puydt : > Hi, > > I upgraded my AC100 to (a snapshot of the forthcoming) ubuntu precise, > thinking it woud perhaps raise new issues, and that would be interesting to > detect them beforehand. > > And indeed, pari doesn't compile! > > One of the files gives an assembler file which d

[sage-devel] Compilation failure of pari (ARM, gcc 4.6.2)

2012-02-04 Thread Julien Puydt
Hi, I upgraded my AC100 to (a snapshot of the forthcoming) ubuntu precise, thinking it woud perhaps raise new issues, and that would be interesting to detect them beforehand. And indeed, pari doesn't compile! One of the files gives an assembler file which doesn't compile, but the problem is

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-02-04 Thread Volker Braun
I agree of course that we should converse in a civil manner. On Friday, February 3, 2012 10:39:45 PM UTC-8, Jonathan Bober wrote: > > In general, person X might use nonstandard GNU extension Y for many > reasons, > In my experience, it usually boils down to 5) Person used language extension wi

Re: [sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-04 Thread Julien Puydt
Le 04/02/2012 06:00, Dima Pasechnik a écrit : It's well-known how to compute gamma() better than it is implemented in (e)glibc, the prevalent Linux libc implementation, which computes exp(lgamma()) rather than gamma() directly. See e.g. http://oai.cwi.nl/oai/asset/10080/10080A.pdf Perhaps I sho

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-02-04 Thread Julien Puydt
Le 04/02/2012 07:39, Jonathan Bober a écrit : For another example: I recently tried to compile some of my own code using clang++ and discovered that I am not allowed to do void f(int j) { complex x[j]; [...] } even though g++ accepts that. ( See http://clang.llvm.org/compatibility.htm