Re: [sage-devel] Cython cached method: Why can the name be imported in a sage session, but not in sage/doc/common/builder.py?

2011-04-05 Thread Nicolas M. Thiery
On Sun, Apr 03, 2011 at 11:26:19PM -0700, Simon King wrote: > I am nearly done with a full Cython-version of cached_method. That's > to say: Nice! > 1) cdef classes inheriting from Parent or Element can be provided with > cached methods, even if they do not allow attribute assignment. > 2) Due to

Re: [sage-devel] Re: Unexpected failure on a test with znpoly

2011-04-05 Thread Bill Hart
On 5 April 2011 05:27, William Stein wrote: > On Mon, Apr 4, 2011 at 5:01 AM, Bill Hart wrote: >> Is the problem reproducible? >> >> If so, a valgrind log would be useful to debug the problem. It should >> find the source of any segfault. zn_poly would need to be compiled >> with the -g option to

[sage-devel] Add support for uploading static html doc page as a worksheet in the notebook

2011-04-05 Thread Nicolas M. Thiery
Dear all, dear Dan Drake, dear Pablo, Last january, I wrote a small and local patch to the notebook code allowing for for uploading static html doc page as a worksheet in the notebook [1]. As a side effect, it: * allows for uploading a .txt file from a URL (was broken) * allows fo

[sage-devel] Re: Unexpected failure on a test with znpoly

2011-04-05 Thread Bill Hart
It is testing exceptionally simple code, with exceptionally simple tests. I doubt this is a bug in zn_poly. If it turns out to not be reproducible, I would ignore it. It's much more likely a cosmic ray or transient hardware fault or bug in the OS. But let's see if it can be reproduced. Bill. O

[sage-devel] Re: lcalc code quality

2011-04-05 Thread Bill Hart
Ah, it seems that you do not actually want expert mathematicians who are not expert coders to contribute code to Sage. Perhaps this could be documented somewhere. On Apr 2, 4:18 pm, David Kirkby wrote: > On 2 April 2011 14:20, Bill Hart wrote: > > > Please also bear in mind that many "upstream"

[sage-devel] Re: lcalc code quality

2011-04-05 Thread kcrisman
I think that part of the issue here is the difference between the algorithms/coding them, and all the hoo-ha you have to do to get a computer to do that fast in compiled languages, headers and whatnot. I realize those things are important, but they are almost certainly the last thing that a classic

Re: [sage-devel] Spam tickets on Trac

2011-04-05 Thread Nicolas M. Thiery
On Sat, Apr 02, 2011 at 07:16:16PM +0100, David Kirkby wrote: > > It sounds like it might be less work for you if we switch to "email > > Minh for an account"? > > Or how about setting up something which copies the mail to those with > admin rights on trac, so it does not rely on any one individua

[sage-devel] Re: Sage and gcc 4.3.0

2011-04-05 Thread Bill Hart
One possibly data point is that GCC 4.3.2 miscompiles GMP and MPIR on x86_64 and as far as I know cannot and will not be worked around. There were also bugs in GCC 4.3.3 which miscompiled FLINT, but as far as I know that issue never affected Sage. On Apr 3, 8:17 am, "Dr. David Kirkby" wrote: > T

[sage-devel] Re: Sage and gcc 4.3.0

2011-04-05 Thread Volker Braun
For the record, the last release of the 4.3 series is gcc-4.3.5. -- 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/sa

[sage-devel] Re: lcalc code quality

2011-04-05 Thread Volker Braun
On Tuesday, April 5, 2011 8:13:17 AM UTC-4, Bill Hart wrote: > > Ah, it seems that you do not actually want expert mathematicians who > are not expert coders to contribute code to Sage. > You are missing the point of this thread; its not at all about Mike R tripping over one of the numerous C++

Re: [sage-devel] Re: Sage and gcc 4.3.0

2011-04-05 Thread Dr. David Kirkby
On 04/ 5/11 03:06 PM, Bill Hart wrote: One possibly data point is that GCC 4.3.2 miscompiles GMP and MPIR on x86_64 and as far as I know cannot and will not be worked around. Thank you for that. I'm not going to address the issue now, but if that is the case, we should check for gcc 4.3.2 and

[sage-devel] Re: Cython cached method: Why can the name be imported in a sage session, but not in sage/doc/common/builder.py?

2011-04-05 Thread Simon King
Hi Nicolas, On 5 Apr., 12:27, "Nicolas M. Thiery" wrote: > > That's odd, since "import sage.structure.dynamic_class" works fine in > > a sage session. > > > Do you have an idea what went wrong? > > Hmm, that sounds like an import loop somewhere between dynamic_class > and cached_method. You are

Re: [sage-devel] Re: lcalc code quality

2011-04-05 Thread William Stein
On Tue, Apr 5, 2011 at 7:50 AM, Volker Braun wrote: > On Tuesday, April 5, 2011 8:13:17 AM UTC-4, Bill Hart wrote: >> >> Ah, it seems that you do not actually want expert mathematicians who >> are not expert coders to contribute code to Sage. > > You are missing the point of this thread; its not a

[sage-devel] Maxima hits 5.24

2011-04-05 Thread kcrisman
FYI: Hi, I've tagged RELEASE-5_24-BRANCH in CVS and built tar.gz and rpms and posted them to the SF file manager: http://sourceforge.net/projects/maxima/files As always, give it a try, and it would be great if someone can build and upload a Windows installer. A couple of issues related to r

[sage-devel] Another zn_poly problem

2011-04-05 Thread Dr. David Kirkby
I decided to build and test zn_poly a few times, to try to see how reproducible the other issue I reported was. So far, I've not managed to reproduce that problem, but I have hit a new one. I've not been running the code for that long, but have attempted to build zn_poly 508 times as I write.

Re: [sage-devel] Another zn_poly problem

2011-04-05 Thread Justin C. Walker
On Apr 5, 2011, at 13:44 , Dr. David Kirkby wrote: > I decided to build and test zn_poly a few times, to try to see how > reproducible the other issue I reported was. So far, I've not managed to > reproduce that problem, but I have hit a new one. > > I've not been running the code for that lon

Re: [sage-devel] Re: http://flask.sagenb.org -- test it!!!

2011-04-05 Thread William Stein
On Tue, Mar 29, 2011 at 9:21 PM, Rado wrote: > Great job Jason and Mike. Seems the Jmol problem is fixed. At least it > works here on ubuntu and firefox 3.6 and chromium 10 with sun's java. > > I pulled Jason's changes into my repo, so every one who pulled from me > can do just hg pull; hg up. Fin

Re: [sage-devel] Re: http://flask.sagenb.org -- test it!!!

2011-04-05 Thread Justin C. Walker
On Apr 5, 2011, at 16:31 , William Stein wrote: > On Tue, Mar 29, 2011 at 9:21 PM, Rado wrote: >> Great job Jason and Mike. Seems the Jmol problem is fixed. At least it >> works here on ubuntu and firefox 3.6 and chromium 10 with sun's java. >> >> I pulled Jason's changes into my repo, so every

Re: [sage-devel] Re: http://flask.sagenb.org -- test it!!!

2011-04-05 Thread William Stein
On Tue, Apr 5, 2011 at 4:39 PM, Justin C. Walker wrote: > > On Apr 5, 2011, at 16:31 , William Stein wrote: > >> On Tue, Mar 29, 2011 at 9:21 PM, Rado wrote: >>> Great job Jason and Mike. Seems the Jmol problem is fixed. At least it >>> works here on ubuntu and firefox 3.6 and chromium 10 with su

Re: [sage-devel] Re: http://flask.sagenb.org -- test it!!!

2011-04-05 Thread Justin C. Walker
On Apr 5, 2011, at 16:40 , William Stein wrote: > On Tue, Apr 5, 2011 at 4:39 PM, Justin C. Walker wrote: >> >> On Apr 5, 2011, at 16:31 , William Stein wrote: >> >>> On Tue, Mar 29, 2011 at 9:21 PM, Rado wrote: Great job Jason and Mike. Seems the Jmol problem is fixed. At least it

Re: [sage-devel] Re: http://flask.sagenb.org -- test it!!!

2011-04-05 Thread William Stein
On Tue, Apr 5, 2011 at 4:41 PM, Justin C. Walker wrote: > > On Apr 5, 2011, at 16:40 , William Stein wrote: > >> On Tue, Apr 5, 2011 at 4:39 PM, Justin C. Walker wrote: >>> >>> On Apr 5, 2011, at 16:31 , William Stein wrote: >>> On Tue, Mar 29, 2011 at 9:21 PM, Rado wrote: > Great job J

Re: [sage-devel] Re: http://flask.sagenb.org -- test it!!!

2011-04-05 Thread Paulo César Pereira de Andrade
2011/4/5 William Stein : > On Tue, Mar 29, 2011 at 9:21 PM, Rado wrote: >> Great job Jason and Mike. Seems the Jmol problem is fixed. At least it >> works here on ubuntu and firefox 3.6 and chromium 10 with sun's java. >> >> I pulled Jason's changes into my repo, so every one who pulled from me >>

[sage-devel] has Apple effectively forked gcc?

2011-04-05 Thread Dima Pasechnik
In XCode 4.0.1, the default C compiler (cc) is gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.9) (see http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine) whereas it also has gcc: gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) I wonder what should be the default C compi

[sage-devel] Re: http://flask.sagenb.org -- test it!!!

2011-04-05 Thread Jason Grout
On 4/5/11 6:40 PM, William Stein wrote: On Tue, Apr 5, 2011 at 4:39 PM, Justin C. Walker wrote: On Apr 5, 2011, at 16:31 , William Stein wrote: On Tue, Mar 29, 2011 at 9:21 PM, Rado wrote: Great job Jason and Mike. Seems the Jmol problem is fixed. At least it works here on ubuntu and firef

Re: [sage-devel] has Apple effectively forked gcc?

2011-04-05 Thread Francois Bissey
> In XCode 4.0.1, the default C compiler (cc) is > gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.9) > (see http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine) > > whereas it also has gcc: > gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) > > I wonder what should be the

[sage-devel] Re: Add support for uploading static html doc page as a worksheet in the notebook

2011-04-05 Thread Nicolas M. Thiery
Dear Jeroen, dear Jason, dear all, On Tue, Apr 05, 2011 at 01:47:41PM +0200, Nicolas M. Thiery wrote: > Last january, I wrote a small and local patch to the notebook code > allowing for for uploading static html doc page as a worksheet in the > notebook #10652. As a side effect, it: > >