Re: [sage-devel] Re: log messages

2012-02-20 Thread Robert Bradshaw
On Mon, Feb 20, 2012 at 6:45 AM, Keshav Kini keshav.k...@gmail.com wrote: Robert Bradshaw rober...@math.washington.edu writes: On Fri, Feb 17, 2012 at 1:09 AM, Keshav Kini keshav.k...@gmail.com wrote: Robert Bradshaw rober...@math.washington.edu writes: In the category of glue code I meant

Re: [sage-devel] Re: git

2012-02-20 Thread Robert Bradshaw
On Mon, Feb 20, 2012 at 9:31 PM, Keshav Kini keshav.k...@gmail.com wrote: William Stein wst...@gmail.com writes: On Mon, Feb 20, 2012 at 10:06 AM, Keshav Kini keshav.k...@gmail.com wrote: Robert Bradshaw rober...@math.washington.edu writes: Cython is just a py(x) to C compiler. The problem

Re: [sage-devel] Re: log messages

2012-02-20 Thread Robert Bradshaw
On Mon, Feb 20, 2012 at 8:21 PM, Keshav Kini keshav.k...@gmail.com wrote: On Tue, Feb 21, 2012 at 07:27, Robert Bradshaw rober...@math.washington.edu wrote: On Mon, Feb 20, 2012 at 6:45 AM, Keshav Kini keshav.k...@gmail.com wrote: Robert Bradshaw rober...@math.washington.edu writes: But yes

Re: [sage-devel] Re: log messages

2012-02-17 Thread Robert Bradshaw
On Fri, Feb 17, 2012 at 1:09 AM, Keshav Kini keshav.k...@gmail.com wrote: Robert Bradshaw rober...@math.washington.edu writes: But considering that we might one day want to make part of the Sage library possible to install into your system Python distribution (right?), it might be a good idea

Re: [sage-devel] Re: Want to run a patchbot?

2012-02-16 Thread Robert Bradshaw
On Thu, Feb 16, 2012 at 6:20 AM, kcrisman kcris...@gmail.com wrote: Sorry, my RSS feed is broken for sage-devel so I didn't see that this thread had had lots of horrible things patchbot can do :) On a related note, an option to have patchbot only test files actually changed in the patches

Re: [sage-devel] Re: log messages

2012-02-16 Thread Robert Bradshaw
On Thu, Feb 16, 2012 at 3:32 AM, Keshav Kini keshav.k...@gmail.com wrote: Robert Bradshaw rober...@math.washington.edu writes: Well, considering among other things the recent discussions about licensing, I don't think that it's going to be possible to have a single top-level repository for all

Re: [sage-devel] Re: I^(0.5)

2012-02-15 Thread Robert Bradshaw
Yeah, it has to do with how Pynac and Sage recursively call each other. Certainly a blocker in my book, and it looks like it's been around a while (possibly since the introduction of Pynac, at least since we were able to simplify SR(4)^(1/2)). I hope to have a patch up soon. On Tue, Feb 14, 2012

Re: [sage-devel] Re: Want to run a patchbot?

2012-02-15 Thread Robert Bradshaw
On Wed, Feb 15, 2012 at 10:31 AM, kcrisman kcris...@gmail.com wrote: expected behavior. It does always timeout. The regular doctests take 1300 seconds for sandpile.py! I need to figure out what's going on there. I think at this point manual intervention is required. Or was there

Re: [sage-devel] Re: Want to run a patchbot?

2012-02-15 Thread Robert Bradshaw
On Wed, Feb 15, 2012 at 10:32 AM, kcrisman kcris...@gmail.com wrote: On Feb 15, 1:31 pm, kcrisman kcris...@gmail.com wrote: expected behavior. It does always timeout. The regular doctests take 1300 seconds for sandpile.py! I need to figure out what's going on there. I think at this

Re: [sage-devel] Re: Want to run a patchbot?

2012-02-15 Thread Robert Bradshaw
On Wed, Feb 15, 2012 at 11:19 AM, William Stein wst...@gmail.com wrote: On Wed, Feb 15, 2012 at 11:10 AM, Jason Grout jason-s...@creativetrax.com wrote: On 2/15/12 12:59 PM, William Stein wrote: On Wed, Feb 15, 2012 at 10:31 AM, kcrismankcris...@gmail.com  wrote: expected behavior. It

Re: [sage-devel] Re: Want to run a patchbot?

2012-02-15 Thread Robert Bradshaw
On Wed, Feb 15, 2012 at 10:59 AM, William Stein wst...@gmail.com wrote: On Wed, Feb 15, 2012 at 10:31 AM, kcrisman kcris...@gmail.com wrote: expected behavior. It does always timeout. The regular doctests take 1300 seconds for sandpile.py! I need to figure out what's going on there. I

Re: [sage-devel] Re: log messages

2012-02-15 Thread Robert Bradshaw
On Wed, Feb 15, 2012 at 10:35 PM, Keshav Kini keshav.k...@gmail.com wrote: Robert Bradshaw rober...@math.washington.edu writes: On Thu, Feb 9, 2012 at 7:53 AM, Jason Grout jason-s...@creativetrax.com wrote: You correctly interpreted my response, and I agree with your conclusions.  I haven't

Re: [sage-devel] Want to run a patchbot?

2012-02-13 Thread Robert Bradshaw
Thanks for trying it out. If sandpile.py *always* times out on you rmachine, this is the expected behavior. I think at this point manual intervention is required. Or was there something else you were thinking it should do (because clearly you were surprised, which isn't the intent). - Robert On

Re: [sage-devel] Re: GSOC 2012

2012-02-11 Thread Robert Bradshaw
On Sat, Feb 11, 2012 at 10:33 PM, John H Palmieri jhpalmier...@gmail.com wrote: On Saturday, February 11, 2012 8:39:32 PM UTC-8, Michael Orlitzky wrote: I've started this:    http://wiki.sagemath.org/PiecewiseSymbolicSEP It's basically a brain dump at this point, but I can go back and

[sage-devel] Want to run a patchbot?

2012-02-10 Thread Robert Bradshaw
It's easy. 1) Download and build a pristine copy of Sage for testing. 2) Apply http://trac.sagemath.org/sage_trac/ticket/12486 to the sage-scripts directory. 3) Run sage --patchbot Everyone's results will be consolidated at http://patchbot.sagemath.org/ . Hopefully this will allow us to get

Re: [sage-devel] Re: Want to run a patchbot?

2012-02-10 Thread Robert Bradshaw
On Fri, Feb 10, 2012 at 10:55 AM, kcrisman kcris...@gmail.com wrote: On Feb 10, 4:27 am, Robert Bradshaw rober...@math.washington.edu wrote: It's easy. 1) Download and build a pristine copy of Sage for testing. 2) Applyhttp://trac.sagemath.org/sage_trac/ticket/12486to the sage-scripts

Re: [sage-devel] Want to run a patchbot?

2012-02-10 Thread Robert Bradshaw
On Fri, Feb 10, 2012 at 12:17 PM, D. S. McNeil dsm...@gmail.com wrote: On Fri, Feb 10, 2012 at 4:27 AM, Robert Bradshaw rober...@math.washington.edu wrote: It's easy. 1) Download and build a pristine copy of Sage for testing. 2) Apply http://trac.sagemath.org/sage_trac/ticket/12486

Re: [sage-devel] Re: log messages

2012-02-09 Thread Robert Bradshaw
On Thu, Feb 9, 2012 at 7:53 AM, Jason Grout jason-s...@creativetrax.com wrote: On 2/9/12 9:44 AM, Keshav Kini wrote: On Thu, Feb 9, 2012 at 23:30, Jason Groutjason-s...@creativetrax.com  wrote: I use separate directories in devel/ to have multiple versions of the new sage notebook

Re: [sage-devel] A couple of patchbot questions

2012-02-09 Thread Robert Bradshaw
On Wed, Feb 8, 2012 at 9:46 PM, Kwankyu Lee ekwan...@gmail.com wrote: Hi, A couple of simple developer questions. Sorry... (1) I uploaded a new patch of the same name with the previous patch, but the patchbot doesn't seem to be triggered. I already tried ?kick, with no help. Is there other

Re: [sage-devel] A couple of patchbot questions

2012-02-09 Thread Robert Bradshaw
When in question, look at the logs. If you see Killed that means that the subprocess doing the patching/building/testing was killed. On Thu, Feb 9, 2012 at 11:25 AM, Kwankyu Lee ekwan...@gmail.com wrote: Anyway, I just noticed that many of the patches with positive reviews have the red swirling

Re: [sage-devel] A couple of patchbot questions

2012-02-09 Thread Robert Bradshaw
On Thu, Feb 9, 2012 at 10:13 AM, William Stein wst...@gmail.com wrote: On Thu, Feb 9, 2012 at 10:08 AM, Robert Bradshaw rober...@math.washington.edu wrote: On Wed, Feb 8, 2012 at 9:46 PM, Kwankyu Lee ekwan...@gmail.com wrote: Hi, A couple of simple developer questions. Sorry... (1) I

Re: [sage-devel] Re: log messages

2012-02-09 Thread Robert Bradshaw
On Thu, Feb 9, 2012 at 2:28 PM, Michael Orlitzky mich...@orlitzky.com wrote: A personal anecdote: I've used sage for about 4 years, but only started contributing in the last couple of months because the development process looks scary to an outsider. When I started, at every step of the

Re: [sage-devel] use ./configure; make for Sage?

2012-02-08 Thread Robert Bradshaw
On Wed, Feb 8, 2012 at 4:00 PM, William Stein wst...@gmail.com wrote: On Wed, Feb 8, 2012 at 3:39 PM, Dr. David Kirkby david.kir...@onetel.net wrote: On 02/ 8/12 09:41 AM, Julien Puydt wrote: Le mardi 7/2/2012, David Kirkbydavid.kir...@onetel.net  a écrit : Unfortunately, from a developers

Re: [sage-devel] Re: Dealing with different signs in doctest output?

2012-02-07 Thread Robert Bradshaw
On Tue, Feb 7, 2012 at 8:11 AM, javier vengor...@gmail.com wrote: How about testig for the desired mathematical properties? If this is a Gram-Schmidt test, the resulting matrix M should be orthogonal, so we can test for M*M.transpose() being the identity matrix (up to numerical accuracy). Of

Re: [sage-devel] Re: log messages

2012-02-07 Thread Robert Bradshaw
On Tue, Feb 7, 2012 at 12:08 PM, William Stein wst...@gmail.com wrote: On Tue, Feb 7, 2012 at 12:00 PM, Simon King simon.k...@uni-jena.de wrote: Hi William, On 7 Feb., 20:47, William Stein wst...@gmail.com wrote: It's important (in fact, critical) that the trac ticket number is clearly

Re: [sage-devel] Re: log messages

2012-02-07 Thread Robert Bradshaw
On Tue, Feb 7, 2012 at 12:59 PM, Jason Grout jason-s...@creativetrax.com wrote: On 2/7/12 2:46 PM, William Stein wrote: On Tue, Feb 7, 2012 at 12:28 PM, Jason Grout jason-s...@creativetrax.com  wrote: On 2/7/12 2:16 PM, Robert Bradshaw wrote: On Tue, Feb 7, 2012 at 12:08 PM, William

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 fate...@gmail.com wrote: On Feb 2, 1:16 pm, Julien Puydt julien.pu...@laposte.net 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,

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 wst...@gmail.com wrote: On Jan 30, 2012 5:12 AM, Nathann Cohen nathann.co...@gmail.com 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

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

2012-02-01 Thread Robert Bradshaw
On Wed, Feb 1, 2012 at 4:19 AM, Julien Puydt julien.pu...@laposte.net wrote: = Forewords = I investigated the numerical issues on my ARM build, and after much poking around and searching, I found that I was chasing the dahu : the tests were wrong, and the result were

Re: [sage-devel] Problem with the patchbot?

2012-01-30 Thread Robert Bradshaw
Done. Now if only I could figure out why the doctests keep crashing... On Mon, Jan 30, 2012 at 11:21 PM, Volker Braun vbraun.n...@gmail.com wrote: How about setting ulimit -c 0 (coredumpsize) for the patch bot? -- To post to this group, send an email to sage-devel@googlegroups.com To

[sage-devel] Literal matrix syntax

2012-01-26 Thread Robert Bradshaw
I would like to propose the addition of a matrix literal syntax, namely sage: [1, 2; 3, 4] [1 2] [3 4] sage: [1, 2; 3, 4] * [5, 6; 7, 8] [19 22] [43 50] Currently one must write sage: matrix([[1, 2], [3, 4]]) [1 2] [3 4] sage: matrix([[1, 2], [3, 4]]) * matrix([[5, 6], [7, 8]]) [19 22] [43 50]

Re: [sage-devel] Re: Literal matrix syntax

2012-01-26 Thread Robert Bradshaw
On Thu, Jan 26, 2012 at 1:37 AM, Marco Streng marco.str...@gmail.com wrote: 2012/1/26 Dima Pasechnik dimp...@gmail.com: No, that's not good. Cause this syntax forbids 1-row matrices to be entered in this format (as it won't be possible to distinguish it from a list!) How about [1,2,3;] for

Re: [sage-devel] Re: Literal matrix syntax

2012-01-26 Thread Robert Bradshaw
On Thu, Jan 26, 2012 at 2:16 AM, daly d...@axiom-developer.org wrote: On Thu, 2012-01-26 at 02:06 -0800, David Roe wrote: As for global defaults, it's nice for both examples and debugging for there to be as little global state as possible, and someone who wants RDF for reals probably wants

Re: [sage-devel] Re: Literal matrix syntax

2012-01-26 Thread Robert Bradshaw
On Thu, Jan 26, 2012 at 2:51 AM, daly d...@axiom-developer.org wrote: [...lots of axiom examples and Sage questions...] Sage, like Axiom, distinguishes between Integers and Rationals with a trivial denominator, has a strong notion of a basering (for matrices, polynomials), etc. You may want to

Re: [sage-devel] Re: Literal matrix syntax

2012-01-26 Thread Robert Bradshaw
To get a quick sense of what people think about this, I've decided to rephrase this as a survey.  To be clear, though this coincides with Matlab syntax, the intent is not to try to make Sage a Matlab clone, rather it is to add a missing feature to Sage. Should [a, b; c, d] be a valid syntax for

Re: [sage-devel] Re: Literal matrix syntax

2012-01-26 Thread Robert Bradshaw
On Thu, Jan 26, 2012 at 12:09 PM, Jason Grout jason-s...@creativetrax.com wrote: On 1/26/12 1:57 PM, Tom Boothby wrote: It would be nice to be able to specify a type.  Perhaps R.[1,2,3;2,3,4] -  Matrix(R,[[1,2,3],[2,3,4]]) or perhaps even R[1,2,3;2,3,4] Another option would be: [QQ:

Re: [sage-devel] Re: Literal matrix syntax

2012-01-26 Thread Robert Bradshaw
On Thu, Jan 26, 2012 at 1:51 PM, Michael Orlitzky mich...@orlitzky.com wrote: On 01/26/12 16:36, William Stein wrote: Why *not* use it? The standard argument against preparser stuff like this is that you have to be careful to not use it when writing .py code for the Sage core library.    

Re: [sage-devel] Re: Literal matrix syntax

2012-01-26 Thread Robert Bradshaw
On Thu, Jan 26, 2012 at 3:08 PM, Tom Boothby tomas.boot...@gmail.com wrote: On Thu, Jan 26, 2012 at 2:36 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Thu, Jan 26, 2012 at 1:51 PM, Michael Orlitzky mich...@orlitzky.com wrote: On 01/26/12 16:36, William Stein wrote: Why

Re: [sage-devel] Re: Literal matrix syntax

2012-01-26 Thread Robert Bradshaw
On Thu, Jan 26, 2012 at 3:51 PM, Tom Boothby tomas.boot...@gmail.com wrote: On Thu, Jan 26, 2012 at 3:21 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Thu, Jan 26, 2012 at 3:08 PM, Tom Boothby tomas.boot...@gmail.com wrote: On Thu, Jan 26, 2012 at 2:36 PM, Robert Bradshaw rober

Re: [sage-devel] Re: webgl

2012-01-26 Thread Robert Bradshaw
On Thu, Jan 26, 2012 at 3:41 PM, Volker Braun vbraun.n...@gmail.com wrote: On Thursday, January 26, 2012 2:14:36 PM UTC-8, William wrote: [1] If you're using Chrome, check out http://www.chromeexperiments.com/webgl Unless you use Linux, where chrome doesn't support webgl despite what the

Re: [sage-devel] Re: Literal matrix syntax

2012-01-26 Thread Robert Bradshaw
On Thu, Jan 26, 2012 at 5:15 PM, David Roe r...@math.harvard.edu wrote: Another issue: do we allow [1..10; 10..20]? We probably shouldn't go to extra effort to support it. I can't seem to construct matrices with matrix entries (this is not absurd) -- but should the preparser grok it?

Re: [sage-devel] Re: Literal matrix syntax

2012-01-26 Thread Robert Bradshaw
On Thu, Jan 26, 2012 at 6:21 PM, Tom Boothby tomas.boot...@gmail.com wrote: On Thu, Jan 26, 2012 at 5:15 PM, David Roe r...@math.harvard.edu wrote: Another issue: do we allow [1..10; 10..20]? We probably shouldn't go to extra effort to support it. I can't seem to construct matrices with

Re: [sage-devel] Re: sage days numbering

2012-01-24 Thread Robert Bradshaw
On Tue, Jan 24, 2012 at 10:05 PM, Jason Grout jason-s...@creativetrax.com wrote: On 1/24/12 11:59 PM, William Stein wrote: There will be = 1 bug days.   Fractional numbers are fine. I thought last time we had this discussion (for 35.5), the conclusion was to just have integer Sage Days, and

Re: [sage-devel] the ARM port - numerical noise

2012-01-19 Thread Robert Bradshaw
On Wed, Jan 18, 2012 at 1:26 AM, Dima Pasechnik dimp...@gmail.com wrote: On Monday, 16 January 2012 22:48:01 UTC+8, Snark wrote: Le 16/01/2012 15:42, Burcin Erocal a �crit : On Mon, 16 Jan 2012 04:21:37 -0800 (PST) Dima Pasechnikdim...@gmail.com  wrote: Once again, let me bring up

Re: [sage-devel] Timing doctests

2012-01-18 Thread Robert Bradshaw
In general we would like to avoid writing doctests that are large only to take a measurable amount of time, but you could look into using cputime() with the first invocation and then making sure the second call is 0.0x * (first call time). On Wed, Jan 18, 2012 at 8:05 AM, Michael Orlitzky

Re: [sage-devel] How strong should weak references be?

2012-01-17 Thread Robert Bradshaw
My original intent with respect to caching was that the parents would be the root objects, and everything else would be lazily referenced except through them, but just pushing things through was a large enough task that I never got this done. In particular, what I was thinking is that a coercion

Re: [sage-devel] Re: How strong should weak references be?

2012-01-17 Thread Robert Bradshaw
On Tue, Jan 17, 2012 at 1:21 PM, Simon King simon.k...@uni-jena.de wrote: Hi Robert On 17 Jan., 22:10, Robert Bradshaw rober...@math.washington.edu wrote: In particular, what I was thinking is that a coercion or action involving R and S would have a lifetime of min(lifetime(R), lifetime(S

Re: [sage-devel] Proposal: Remove GNUTLS from Sage.

2012-01-12 Thread Robert Bradshaw
It pains me a bit to say yes, but I agree with your assessment of the situation; it's needed only by the few (and the technically capable) and is a lot of weight for something that looks to always be an incomplete hack around not having OpenSSL on the system. Just make sure that it's clearly

Re: [sage-devel] Re: Proposal: Remove GNUTLS from Sage.

2012-01-12 Thread Robert Bradshaw
On Jan 12, 2012 7:43 AM, Jason Grout jason-s...@creativetrax.com wrote: On 1/12/12 3:20 AM, Robert Bradshaw wrote: It pains me a bit to say yes, but I agree with your assessment of the situation; it's needed only by the few (and the technically capable) and is a lot of weight for something

Re: [sage-devel] Re: @cached_method using strong references?

2011-12-21 Thread Robert Bradshaw
On Wed, Dec 21, 2011 at 5:22 AM, Volker Braun vbraun.n...@gmail.com wrote: How about the following implementation: If the return values is weakref-able, we store a weakref. Otherwise, we just store the object. Upon lookup, if the value is a weakref it is dereferenced. I now understand that

Re: [sage-devel] Re: Fwd: C compiler in Mathematica

2011-11-25 Thread Robert Bradshaw
On Wed, Nov 23, 2011 at 2:16 PM, rjf fate...@gmail.com wrote: Maxima compiles code to binary, and has done so, oh for a couple of decades.  Since Maxima is part of Sage, one might hope that William would be aware of this feature. In the spirit of being mutually informative, here's how it's

Re: [sage-devel] Transitivity of coercions between finite rings

2011-11-22 Thread Robert Bradshaw
On Mon, Nov 21, 2011 at 11:36 PM, William Stein wst...@gmail.com wrote: On Mon, Nov 21, 2011 at 4:50 PM, David Roe r...@math.harvard.edu wrote: The coercion graph in Sage is supposed to be transitive.  This assumption is explicit in the documentation of sage.structure.coerce for example.  But

Re: [sage-devel] question about patch level in spkg file names

2011-11-15 Thread Robert Bradshaw
Yep. On Tue, Nov 15, 2011 at 10:31 PM, Bill Janssen bill.jans...@gmail.com wrote: I'm a bit unclear on what the value of patchlevel should be in my new PIL package.  I carry over the two patches from pil-1.1.6.p4, but it's a new PIL version, so I'm thinking pil-1.1.7.p0.  Would that be

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

2011-11-09 Thread Robert Bradshaw
On Wed, Nov 9, 2011 at 12:24 AM, Jeroen Demeyer jdeme...@cage.ugent.be wrote: On 2011-11-09 06:58, Robert Bradshaw wrote: Any ideas? Did you set ulimit? Nope. I constantly build/test sage on sage.math.washington.edu and never saw this. That's what I figured. So I guess it is something

[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.

Re: [sage-devel] Speeding-up categories (#11900) needs review

2011-11-04 Thread Robert Bradshaw
On Wed, Nov 2, 2011 at 5:38 PM, William Stein wst...@gmail.com wrote: On Mon, Oct 31, 2011 at 4:42 AM, Jeroen Demeyer jdeme...@cage.ugent.be wrote: Hello all, Simon King has a big patch at #11900 to speed-up categories.  There were some regressions at #9138, this patch fixes all of these

Re: [sage-devel] Re: Code style guidelines

2011-10-27 Thread Robert Bradshaw
On Tue, Oct 25, 2011 at 11:44 AM, William Stein wst...@gmail.com wrote: On Tue, Oct 25, 2011 at 11:06 AM, leif not.rea...@online.de wrote: On 25 Okt., 12:04, Jeroen Demeyer jdeme...@cage.ugent.be wrote: On 2011-10-25 09:51, Dan Drake wrote: I think that would be a good idea, although if

Re: [sage-devel] Re: Code style guidelines

2011-10-27 Thread Robert Bradshaw
On Thu, Oct 27, 2011 at 3:25 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Tue, Oct 25, 2011 at 11:44 AM, William Stein wst...@gmail.com wrote: On Tue, Oct 25, 2011 at 11:06 AM, leif not.rea...@online.de wrote: On 25 Okt., 12:04, Jeroen Demeyer jdeme...@cage.ugent.be wrote

Re: [sage-devel] Re: Fractal Newton basins = Need Cython help!

2011-09-24 Thread Robert Bradshaw
On Sat, Sep 24, 2011 at 10:26 AM, leif not.rea...@online.de wrote: On 24 Sep., 18:25, D. S. McNeil dsm...@gmail.com wrote: Leif wrote: Any reasonable compiler does constant folding and loop-invariant code motion; even Python's byte-code compiler should do that. Almost none is done.  Only

Re: [sage-devel] Re: Fractal Newton basins = Need Cython help!

2011-09-24 Thread Robert Bradshaw
On Sat, Sep 24, 2011 at 2:40 PM, Simon King simon.k...@uni-jena.de wrote: PS: On 24 Sep., 23:22, Simon King simon.k...@uni-jena.de wrote: Or would it already be faster to keep Finder (which is cdef'd) as it is, and call Finder.which_root as a method? I tried, and the total computation

Re: [sage-devel] cython -a

2011-09-19 Thread Robert Bradshaw
On Mon, Sep 19, 2011 at 9:05 AM, john_perry_usm john.pe...@usm.edu wrote: Hi One of the nice aspects of cython is that you can cython -a a file and see what could use optimization. If I import a .pyx file into Sage, Sage compiles it into cython. Is there a way to make it show the same

Re: [sage-devel] Test log of the patchbot

2011-09-19 Thread Robert Bradshaw
The latest release seems to be flakey w.r.t. running lots of doctests, e.g. for a plain vanilla install we have http://patchbot.sagemath.org/ticket/0/ I don't have any idea why, perhaps http://trac.sagemath.org/sage_trac/ticket/11337 will help some, perhaps it'll just fix itself in the next

Re: [sage-devel] Re: cython -a

2011-09-19 Thread Robert Bradshaw
See http://hg.sagemath.org/scripts-main/file/26abf552ceaa/sage-cython#l1 Specifically, you can do sage -cython -a -sage /path/to/file.[s]pyx and it should do what you want. - Robert On Mon, Sep 19, 2011 at 11:53 AM, john_perry_usm john.pe...@usm.edu wrote: FWIW it looks like this is a trac

Re: [sage-devel] Re: python ints vs sage ints with respect to powers

2011-09-05 Thread Robert Bradshaw
On Mon, Sep 5, 2011 at 7:41 AM, rjf fate...@gmail.com wrote: is 4^(-2)  (use various kinds of integers)  integer rational float? ditto for  5^(-2) ? Seems to me that the presence of python integers is an inconsistency waiting to appear, and the only proper use of python ints is as a sage

Re: [sage-devel] Building interfaces for the libraries of multiprecision.org

2011-09-01 Thread Robert Bradshaw
On Thu, Sep 1, 2011 at 2:02 AM, Jean-Pierre Flori jpfl...@gmail.com wrote: Dear all, During the coding sprints taking place at ECC2011 summer school, one of our project might be to build interfaces to the three libraries available at multiprecision.org (by Andreas Enge and others): - MPC

Re: [sage-devel] Writing a piece about import in the developers guide.

2011-08-29 Thread Robert Bradshaw
On Mon, Aug 29, 2011 at 4:21 PM, William Stein wst...@gmail.com wrote: On Mon, Aug 29, 2011 at 2:56 PM, Maarten Derickx m.derickx.stud...@gmail.com wrote: At the last sage-days there were some people working on making sage start up faster. I think it would be nice to have a short piece in the

Re: [sage-devel] Re: Idea for new implicit_multiplication level to handle x (x). Please tell me if it would easily work.

2011-08-22 Thread Robert Bradshaw
On Mon, Aug 22, 2011 at 6:09 AM, kcrisman kcris...@gmail.com wrote: See sage: sage.misc.preparser.implicit_mul? for current information (it looks like you found this). I don't see why one couldn't have this as a level. Whether it would be 10 or 10, or maybe needs to be level 3*I, I wouldn't

Re: [sage-devel] Re: MATLAB: viable alternative...?

2011-08-19 Thread Robert Bradshaw
On Fri, Aug 19, 2011 at 5:27 AM, leif not.rea...@online.de wrote: On 19 Aug., 12:12, Harald Schilly harald.schi...@gmail.com wrote: On Friday, August 19, 2011 12:02:14 PM UTC+2, leif wrote: It shouldn't be that hard to implement functions which at least partially translate MATLAB / Mma /

Re: [sage-devel] Re: MATLAB: viable alternative...?

2011-08-19 Thread Robert Bradshaw
On Fri, Aug 19, 2011 at 2:25 PM, Nils Bruin nbr...@sfu.ca wrote: On Aug 19, 12:26 pm, Jason Grout jason-s...@creativetrax.com wrote: On 8/19/11 1:45 PM, Robert Bradshaw wrote:      [a, b; c, d].change_ring(QQ) You'd have to take care that [1.0001, 1.0; 2.0, 3.0

Re: [sage-devel] Re: MATLAB: viable alternative...?

2011-08-19 Thread Robert Bradshaw
On Fri, Aug 19, 2011 at 3:21 PM, Simon King simon.k...@uni-jena.de wrote: On 19 Aug., 21:26, Jason Grout jason-s...@creativetrax.com wrote: But then what about: [1, 2, 3, 4] Note the small difference: [1,2, 3,4] is a list in Python. But [1,2 3,4] (if I am not mistaken) is a syntax

Re: [sage-devel] Re: MATLAB: viable alternative...?

2011-08-17 Thread Robert Bradshaw
On Wed, Aug 17, 2011 at 8:15 PM, Jason Grout jason-s...@creativetrax.com wrote: On 8/17/11 10:02 PM, Nils Bruin wrote: On Aug 17, 5:45 pm, Dan Drakedr...@kaist.edu  wrote: This is now #11699:http://trac.sagemath.org/sage_trac/ticket/11699 I agree with Rob; this probably should be in

[sage-devel] Re: website/download stats

2011-08-10 Thread Robert Bradshaw
On Wed, Aug 10, 2011 at 9:39 AM, Harald Schilly harald.schi...@gmail.com wrote: On Wednesday, August 10, 2011 2:57:19 PM UTC+2, kcrisman wrote: Hmm, but maybe it should be like R's download, where it tests a few mirrors and selects one of the faster ones. That already happens for the upgrade

Re: [sage-devel] Re: website/download stats

2011-08-10 Thread Robert Bradshaw
On Wed, Aug 10, 2011 at 11:15 AM, leif not.rea...@online.de wrote: On 10 Aug., 19:34, kcrisman kcris...@gmail.com wrote:  Well, maybe, there are also software solutions that can help with all that, but in my eyes it's better to stay simple. This way the website doesn't depend on a

Re: [sage-devel] Fwd: Planned migration of PARI repository to GIT

2011-08-09 Thread Robert Bradshaw
If they go all the way to a pull request model, this would probably be a *huge* boon to getting more contributions. I for one would be more likely to provide patches rather than just reports if I found a bug (though that won't completely overcome the intrinsic difficulties in getting into the

Re: [sage-devel] Re: How to trace what happens in imports in a pyx file

2011-08-06 Thread Robert Bradshaw
On Fri, Aug 5, 2011 at 9:00 PM, kcrisman kcris...@gmail.com wrote: But I don't know enough about the order that these things happen in, nor how to tell that from the C file, to trace it all out.  Can someone give me a sense - or show me enough of how to do it so I can do it myself -

Re: [sage-devel] Shall / can we reduce the number of Sage related Google groups?

2011-08-04 Thread Robert Bradshaw
On Wed, Aug 3, 2011 at 11:09 AM, Justin C. Walker jus...@mac.com wrote: On Aug 3, 2011, at 07:13 , Simon King wrote: Hi all! On 1 Aug., 17:18, Jason Grout jason-s...@creativetrax.com wrote: On 8/1/11 7:19 AM, Simon King wrote: sage-newbie, sage-solaris, sage-flame, sage-marketing and

Re: [sage-devel] building the reference manual faster

2011-07-25 Thread Robert Bradshaw
On Mon, Jul 25, 2011 at 4:42 PM, John H Palmieri jhpalmier...@gmail.com wrote: The patches at http://trac.sagemath.org/sage_trac/ticket/6495 should speed up building the reference manual.  On sage.math, applying the patches made the build time for the html version go from just under 18 minutes

Re: [sage-devel] Preparser and continuation

2011-07-22 Thread Robert Bradshaw
On Fri, Jul 22, 2011 at 3:32 PM, Rob Beezer goo...@beezer.cotse.net wrote: I'd like to spread the definition of a large multivariate symbolic function across several input lines (because it will eventually end up on a piece of paper - how quaint).  Here is a simple example you can drop on a

Re: [sage-devel] Re: How about a GitHub mirror?

2011-07-22 Thread Robert Bradshaw
On Fri, Jul 22, 2011 at 8:05 AM, Jason Grout jason-s...@creativetrax.com wrote: On 7/22/11 3:39 AM, Minh Nguyen wrote: Hi Andrei, On Tue, Jul 19, 2011 at 8:35 PM, Andreiandrei.fo...@gmail.com  wrote: You probably know that GitHub is extremely popular hosting for open-source projects

Re: [sage-devel] 1) How can one trigger the patchbot? 2) Review, anyone?

2011-07-21 Thread Robert Bradshaw
On Thu, Jul 21, 2011 at 11:54 AM, Simon King simon.k...@uni-jena.de wrote: Hi! On June 27, the patchbot was applying both patches from #11342, even though I had stated on June 26 (both in a comment and in the ticket description) that only one patch ought to be applied. For the time being,

Re: [sage-devel] Re: 1) How can one trigger the patchbot? 2) Review, anyone?

2011-07-21 Thread Robert Bradshaw
On Thu, Jul 21, 2011 at 2:38 PM, Simon King simon.k...@uni-jena.de wrote: Hi Robert, On 21 Jul., 23:00, Robert Bradshaw rober...@math.washington.edu wrote: For the time being, rename your patch to not trigger trac's auto-wiki-linkification (i.e don't start words with a capital letter). OK

[sage-devel] Re: 2011 Spies Sage Development Prize

2011-07-19 Thread Robert Bradshaw
Development Prize (http://www.sagemath.org/development-prize.html) goes to Robert Bradshaw. Robert Bradshaw has been an extremely active and productive Sage developer for over five years. Additionally, he has been a leader, both in maintaining the community and in important design decisions. He

Re: [sage-devel] patchbot down?

2011-07-19 Thread Robert Bradshaw
I've updated it poll and automatically restart if (when) it hangs. I hope to put it under the sagemath account soon. On Mon, Jul 4, 2011 at 3:13 AM, Maarten Derickx m.derickx.stud...@gmail.com wrote: btw. it seems to be down again. -- To post to this group, send an email to

Re: [sage-devel] patchbot down?

2011-07-19 Thread Robert Bradshaw
On Tue, Jul 19, 2011 at 9:02 PM, William Stein wst...@gmail.com wrote: On Tue, Jul 19, 2011 at 5:58 PM, Robert Bradshaw rober...@math.washington.edu wrote: I've updated it poll and automatically restart if (when) it hangs. I hope to put it under the sagemath account soon. That's a good idea

Re: [sage-devel] Profiling in Cython

2011-07-18 Thread Robert Bradshaw
On Wed, Jul 13, 2011 at 7:16 PM, john_perry_usm john.pe...@usm.edu wrote: Hi In a previous thread, Martin Rubey had problems running the profiler in Cython. See http://groups.google.com/group/sage-devel/browse_thread/thread/81d1cc666e1ffbe6/ His question seemed to have gone unresolved.

Re: [sage-devel] Re: Profiling in Cython

2011-07-18 Thread Robert Bradshaw
it. Basically, the header gets mangled by inserting code at the top of your file. The same happens for __future__ directives, it'd be nice to fix this. On Jul 18, 9:29 am, Robert Bradshaw rober...@math.washington.edu wrote: On Wed, Jul 13, 2011 at 7:16 PM, john_perry_usm john.pe...@usm.edu wrote

Re: [sage-devel] what to do when the answer to a doctest changes with an optional spkg

2011-06-28 Thread Robert Bradshaw
On Mon, Jun 27, 2011 at 9:35 PM, Francois Bissey francois.bis...@canterbury.ac.nz wrote: Hi all, in #11427 Mariah noticed that the result of test introduced in #10334 are actually changing when you install an optional spkg. What would be the most sensible course of action ot solve this?

Re: [sage-devel] patchbot down?

2011-06-27 Thread Robert Bradshaw
...@math.harvard.edu wrote: It seems to have frozen again.  Is there a way other people could restart it? David On Fri, Jun 24, 2011 at 10:30, Robert Bradshaw rober...@math.washington.edu wrote: It often hangs when trying to scrape trac.sagemath.org. I've restarted it. (If you have any tickets you're

Re: [sage-devel] patchbot down?

2011-06-24 Thread Robert Bradshaw
It often hangs when trying to scrape trac.sagemath.org. I've restarted it. (If you have any tickets you're interested in, visit their pages to make sure it has up-to-date information). On Fri, Jun 24, 2011 at 3:07 AM, David Roe r...@math.harvard.edu wrote: Yes, I was having a similar problem

Re: [sage-devel] Re: New milestone sage-wait

2011-06-20 Thread Robert Bradshaw
On Sat, Jun 18, 2011 at 1:02 PM, leif not.rea...@online.de wrote: On Jun 14, 7:49 pm, Jeroen Demeyer jdeme...@cage.ugent.be wrote: On 2011-06-10 18:22, Robert Bradshaw wrote: Maybe pending? Is this for positively reviewed tickets? [...] Is needs-info insufficient. I think

Re: [sage-devel] New milestone sage-wait

2011-06-10 Thread Robert Bradshaw
Maybe pending? Is this for positively reviewed tickets? Is needs-info insufficient. On Fri, Jun 10, 2011 at 1:38 AM, Jeroen Demeyer jdeme...@cage.ugent.be wrote: Hello, I have created a new milestone on Trac: sage-wait meant for tickets which are not ready to be merged, for example because

Re: [sage-devel] patchbot and recursive dependencies

2011-06-08 Thread Robert Bradshaw
On Wed, Jun 8, 2011 at 12:07 AM, Paul-Olivier Dehaye pauloliv...@gmail.com wrote: Hi all I was looking at the patchbot for my patches, and looking at the results for ticket 11442, I was a bit puzzled. http://sage.math.washington.edu:21100/ticket/11442/ This happens because the bot picked up

Re: [sage-devel] patchbot and recursive dependencies

2011-06-08 Thread Robert Bradshaw
On Wed, Jun 8, 2011 at 8:48 AM, Robert Bradshaw rober...@math.washington.edu wrote: On Wed, Jun 8, 2011 at 12:07 AM, Paul-Olivier Dehaye pauloliv...@gmail.com wrote: Hi all I was looking at the patchbot for my patches, and looking at the results for ticket 11442, I was a bit puzzled. http

Re: [sage-devel] Re: 0.0 versus 0.00000000000

2011-06-08 Thread Robert Bradshaw
On Wed, Jun 8, 2011 at 12:26 PM, Jeroen Demeyer jdeme...@cage.ugent.be wrote: On 2011-06-08 21:23, Jason Grout wrote: So there is already something special about where the decimal point is placed. Not really.  My claim is that 4.00 and

Re: [sage-devel] Question about coercion

2011-06-07 Thread Robert Bradshaw
On Tue, Jun 7, 2011 at 12:25 PM, Gonzalo Tornaria torna...@math.utexas.edu wrote: In sage/structure/parent_base.pyx there is a function check_old_coerce with the following definition: cdef inline check_old_coerce(parent.Parent p):    if p._element_constructor is not None:        raise

Re: [sage-devel] Re: Question about coercion

2011-06-07 Thread Robert Bradshaw
On Tue, Jun 7, 2011 at 5:14 PM, Gonzalo Tornaria torna...@math.utexas.edu wrote: On Tue, Jun 7, 2011 at 5:18 PM, Simon King simon.k...@uni-jena.de wrote: Hi Gonzalo, On 7 Jun., 21:25, Gonzalo Tornaria torna...@math.utexas.edu wrote: What is the base class that one is supposed to use instead

Re: [sage-devel] Re: Can we afford a new attribute of sage.structure.element.Element?

2011-05-31 Thread Robert Bradshaw
On Sat, Apr 30, 2011 at 1:27 AM, Simon King simon.k...@uni-jena.de wrote: Hi Nicolas, On 29 Apr., 23:06, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: Can you give it a shot with GF(2), so as to hit one of the smallest possible sage Element? Sage-4.7.alpha5 with patches: sage: K =

Re: [sage-devel] Re: Can we afford a new attribute of sage.structure.element.Element?

2011-05-31 Thread Robert Bradshaw
On Tue, May 31, 2011 at 12:23 AM, Simon King simon.k...@uni-jena.de wrote: Hi Robert, Thank you for resuming this thread. On 31 Mai, 08:13, Robert Bradshaw rober...@math.washington.edu wrote: So, the additional memory usage seems affordable to me. Elements of small finite fields

Re: [sage-devel] Re: Can we afford a new attribute of sage.structure.element.Element?

2011-05-31 Thread Robert Bradshaw
On Tue, May 31, 2011 at 1:23 AM, Robert Bradshaw rober...@math.washington.edu wrote: On Tue, May 31, 2011 at 12:23 AM, Simon King simon.k...@uni-jena.de wrote: Hi Robert, Thank you for resuming this thread. On 31 Mai, 08:13, Robert Bradshaw rober...@math.washington.edu wrote: So

Re: [sage-devel] Re: Versioning objects

2011-05-29 Thread Robert Bradshaw
On Sun, May 29, 2011 at 1:33 AM, Simon King simon.k...@uni-jena.de wrote: Hi Kwankyu On 29 Mai, 07:32, Kwankyu Lee ekwan...@gmail.com wrote: I thought of the proposal while fixing unpickling problem of the patch for TermOrder objects for http://trac.sagemath.org/sage_trac/ticket/11316

<    1   2   3   4   5   6   7   8   9   10   >