Re: [sage-combinat-devel] Re: Bug with the has_coerce_map_from method

2010-07-13 Thread Viviane Pons
Here is where I needed the feature, tell me what you think : I have a FiniteAbstractPolynomialRing which is an abstract algebra with different basis. It has the monomial basis which is created at the beginging. And there are lots of ambient space basis which correpond to polynomials indexed by

Re: [sage-combinat-devel] Re: Bug with the has_coerce_map_from method

2010-07-13 Thread Nicolas M. Thiery
Hi Viviane, On Tue, Jul 13, 2010 at 04:52:35PM +0200, Viviane Pons wrote: I have a FiniteAbstractPolynomialRing which is an abstract algebra with different basis. It has the monomial basis which is created at the beginging. And there are lots of ambient space basis which correpond to

Re: [sage-devel] Need help with coercion

2010-07-13 Thread Robert Bradshaw
On Wed, Jul 7, 2010 at 11:30 AM, Volker Braun vbraun.n...@gmail.com wrote: While trying to subclass QuotientRing, I noticed that this class does not follow the coercion model: It overrides __call__ and _coerce_impl, which the reference manual frowns upon. Yes. QuotientRing was implemented ages

Re: [sage-devel] Why is INTEGER_MOD_INT64_LIMIT equal to 2147483647?

2010-07-13 Thread Robert Bradshaw
On Tue, Jul 6, 2010 at 12:46 AM, David Kirkby david.kir...@onetel.net wrote: Whilst trying to debug a Solaris issue, I came across a bit of code which appears on every platform, but which looks suspicious. The code is in rings/finite_rings/stdint.h

Re: [sage-devel] Can we speed up the build of Sage?

2010-07-13 Thread Robert Bradshaw
On Tue, Jul 6, 2010 at 2:10 AM, Dr. David Kirkby david.kir...@onetel.net wrote: Since building packages in parallel has speeded up the build process immensely, I thought I'd have a look at what stops it running even quicker. Although I've not done any systematic tests, on my OpenSolaris Ultra

Re: [sage-devel] Re: Can we speed up the build of Sage?

2010-07-13 Thread Robert Bradshaw
On Sun, Jul 11, 2010 at 3:29 PM, David Kirkby david.kir...@onetel.net wrote: On 6 July 2010 19:39, Mike Hansen mhan...@gmail.com wrote: On Tue, Jul 6, 2010 at 11:34 AM, Dr. David Kirkby david.kir...@onetel.net wrote: For both of us, the Sage library is taking a long time. For you, the longest

Re: [sage-devel] Supported platforms

2010-07-13 Thread Robert Bradshaw
On Mon, Jul 12, 2010 at 5:20 PM, Dr. David Kirkby david.kir...@onetel.net wrote: I created http://trac.sagemath.org/sage_trac/ticket/9487 to try to clarify exactly what are supported platforms and precisely what we mean by them. We also need to resolve the problem that different sources of

Re: [sage-devel] Vote on making GNU patch a standard package

2010-07-13 Thread Robert Bradshaw
On Sat, Jul 3, 2010 at 11:30 AM, William Stein wst...@gmail.com wrote: On Saturday, July 3, 2010, Volker Braun vbraun.n...@gmail.com wrote: On Jul 3, 4:54 pm, Mike Hansen mhan...@gmail.com wrote: 1) The src/ directory needs be under Mercurial version control.  This would increase the size of

Re: [sage-devel] Re: Can I use GiNaC indexed expressions?

2010-07-13 Thread Robert Bradshaw
On Tue, Jul 6, 2010 at 7:41 AM, Ryan Hinton iob...@email.com wrote: On Jul 2, 4:25 pm, Burcin Erocal bur...@erocal.org wrote: On Fri, 2 Jul 2010 09:21:25 -0700 (PDT) Ryan Hinton iob...@email.com wrote: Well, it's a little dangerous for someone (me) who doesn't really understand how to

Re: [sage-devel] Re: Do not close tickets

2010-07-13 Thread Robert Bradshaw
On Mon, Jul 12, 2010 at 3:15 AM, Simon King simon.k...@nuigalway.ie wrote: What does closing a ticket mean? Is it the same as providing a resolution such as fixed, wontfix, duplicate? Or is closing the ticket something that comes *after* providing a resolution? I think for clear cut cases,

Re: [sage-devel] is loads(dumps(... an indirect doctest?

2010-07-13 Thread Robert Bradshaw
On Wed, Jun 30, 2010 at 11:20 AM, Robert Miller r...@rlmiller.org wrote: On Wed, Jun 30, 2010 at 10:01 AM, William Stein wst...@gmail.com wrote: On Wed, Jun 30, 2010 at 9:48 AM, Robert Miller r...@rlmiller.org wrote: I was recently searching through the source and I noticed that some

Re: [sage-devel] Can we speed up the build of Sage?

2010-07-13 Thread François Bissey
On Tue, Jul 6, 2010 at 2:10 AM, Dr. David Kirkby BTW, the use of 'which' is not a good idea. First its non portable. Secondly, do we not know the patch of cython? If so, why is it not hard-coded? That will save some time. One a 3.33 GHz machine, the overhead in calling 'which' is about 5

Re: [sage-devel] Re: Can I use GiNaC indexed expressions?

2010-07-13 Thread Burcin Erocal
Hi Robert, On Mon, 12 Jul 2010 22:52:24 -0700 Robert Bradshaw rober...@math.washington.edu wrote: As for syntax, I think the slice syntax is clever and fairly intuitive.  I can also understand using brackets to access operands in an expression.  Personally, I think the brackets make more

Re: [sage-devel] Can we speed up the build of Sage?

2010-07-13 Thread David Kirkby
On 13 July 2010 06:14, Robert Bradshaw rober...@math.washington.edu wrote: 3) The Sage library. Is it really necessary for endless calls to python `which cython` to all be run serially? Could these be done in parallel? They are run in parallel. Good BTW, the use of 'which' is not a

Re: [sage-devel] Re: Unreasonable docfails in symbolic/random_tests.py

2010-07-13 Thread Carl Witty
On Thu, Jun 17, 2010 at 2:18 PM, Volker Braun vbraun.n...@gmail.com wrote: Unsurprisingly, setting the random seed makes the random_expr() always return the same value: sage: set_random_seed(0xdeadbeef) sage: random_expr(5) tanh(-pi^real_part(v1)*sin(log(pi)*imag_part(v1))) sage:

[sage-devel] Re: Do not remove output of interact if auto_update=False

2010-07-13 Thread pang
I'd say that's in the sagenb package. You can use the instructions at: http://nb.sagemath.org/dev.html Specifically, the file interact.py contains a funciont called interact, and then you'd have to read also the javascript part, which is possibly in the file notebook_lib.js, around: function

[sage-devel] Re: Unreasonable docfails in symbolic/random_tests.py

2010-07-13 Thread Andrey Novoseltsev
On Jul 13, 3:37 am, Carl Witty carl.wi...@gmail.com wrote: On Thu, Jun 17, 2010 at 2:18 PM, Volker Braun vbraun.n...@gmail.com wrote: Unsurprisingly, setting the random seed makes the random_expr() always return the same value: sage: set_random_seed(0xdeadbeef) sage: random_expr(5)

[sage-devel] Two new (or relatively new) doctest failures on t2.math

2010-07-13 Thread Dr. David Kirkby
There are two doctest failures on t2.math which are both quite recent. I'm not 100% sure if they are new to 4.5.rc0, or whether they existed in 4.4.4 too. The two failures are 1) sage -t -long devel/sage/doc/en/thematic_tutorials/group_theory.rst = Group Theory and Sage

Re: [sage-devel] Two new (or relatively new) doctest failures on t2.math

2010-07-13 Thread Robert Miller
On Tue, Jul 13, 2010 at 4:45 PM, Dr. David Kirkby david.kir...@onetel.net wrote: 2) sage -t -long devel/sage/sage/libs/galrep/wrapper.pyx Andrew Sutherland's Probabilistic Image of Galois Algorithm AUTHOR:   - William Stein, 2010-03 -- wrote the Cython wrapper   - Sutherland -- wrote the C

Re: [sage-devel] Re: Can I use GiNaC indexed expressions?

2010-07-13 Thread Robert Bradshaw
On Tue, Jul 13, 2010 at 12:37 AM, Burcin Erocal bur...@erocal.org wrote: Hi Robert, On Mon, 12 Jul 2010 22:52:24 -0700 Robert Bradshaw rober...@math.washington.edu wrote: As for syntax, I think the slice syntax is clever and fairly intuitive.  I can also understand using brackets to

Re: [sage-devel] Re: Can I use GiNaC indexed expressions?

2010-07-13 Thread Mike Hansen
On Tue, Jul 13, 2010 at 9:05 AM, Robert Bradshaw rober...@math.washington.edu wrote: I think indexing into operands by number is a bit brittle, and x.operands()[2] is much more explicit. On the other hand, then you get expressions like x.operands()[0].operands()[2].operands()[1].operands()[0]

[sage-devel] Re: Do not close tickets

2010-07-13 Thread Simon King
Hi Robert, On 12 Jul., 12:27, Robert Miller r...@rlmiller.org wrote: If providing resolution and closing is the same, then I recently closed a ticket out of ignorance. They are indeed the same. Which ticket was it? #2151. I am sorry for that. At least, there is no code attached to that

Re: [sage-devel] Re: Do not close tickets

2010-07-13 Thread Robert Miller
I am sorry for that. Don't be! Just to be perfectly clear, I'm not trying to be totalitarian here. I think the following is a good rule of thumb: If there is anything on the ticket that needs to be merged, even if it is part of another ticket or implied by another ticket, or there is anyone

Re: [sage-devel] Re: Do not close tickets

2010-07-13 Thread Peter Jeremy
On 2010-Jul-12 12:27:57 +0200, Robert Miller r...@rlmiller.org wrote: On Mon, Jul 12, 2010 at 12:15 PM, Simon King simon.k...@nuigalway.ie wrote: If providing resolution and closing is the same, then I recently closed a ticket out of ignorance. They are indeed the same. Which ticket was it?

Re: [sage-devel] Re: R graphics on the command line

2010-07-13 Thread Carl Witty
On Thu, Jul 1, 2010 at 8:36 AM, kcrisman kcris...@gmail.com wrote: On Jul 1, 10:30 am, Jason Grout jason-s...@creativetrax.com wrote: Is there an easy way to make this work? % sage -R R version 2.10.1 (2009-12-14) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN

[sage-devel] Re: Need help with coercion

2010-07-13 Thread Volker Braun
I see, there is an inheritance chain QuotientRing_generic - IntegerModRing_generic - FiniteField_prime_modn and they all circumvent the official coercion model. That at least explains why polynomials over finite fields break when changing QuotientRing_generic! Volker -- To post to this group,

[sage-devel] Re: Ubuntu 10.04, JMOL, Java

2010-07-13 Thread Oscar Lazo
On 13 jul, 00:12, Rob Beezer goo...@beezer.cotse.net wrote: I finally got a chance to test this on a clean 64-bit Ubuntu 10.04 (lucid) install. I began by apt-get'ing the icedtea6-plugin, which pulls in a lot of other packages such as the OpenJDK version of Java.  A simple 3d plot would not

Re: [sage-devel] Re: The Sage Nagbot

2010-07-13 Thread Carl Witty
On Sun, Jul 11, 2010 at 5:38 AM, William Stein wst...@gmail.com wrote: Cool.  There are numerous parameters one could imagine a nagbot having.  E.g,. max emails per week, how often messages sent, etc., which should be easily customized by each recipient.   Ideas?  Please suggest them. It

[sage-devel] Re: IDE's; science/engineering

2010-07-13 Thread Maurizio
I just spend a couple of words about IDEs. I've personally spent a decent amount of time on Spyder and Eric, and my impressions are: - Eric is very well suited for general software development, it is not completely polished, and it lacks (at least explicitly, I didn't get those) useful features

[sage-devel] sage-5.0

2010-07-13 Thread William Stein
Hi Sage Developers, I'm setting the Sage-5.0 target date for August 31, 2010 (see http://trac.sagemath.org/sage_trac/milestone/sage-5.0). The goals are: 1. Windows port via Cygwin: http://trac.sagemath.org/sage_trac/wiki/CygwinPort 2. Upgrade PARI to svn: #9343 3. Upgrade MPIR to version

Re: [sage-notebook] Re: [sage-devel] Re: IDE's; science/engineering

2010-07-13 Thread Ondrej Certik
On Tue, Jul 13, 2010 at 4:57 PM, William Stein wst...@gmail.com wrote: On Wed, Jul 14, 2010 at 1:42 AM, Maurizio maurizio.gran...@gmail.com wrote: [...] The problem I see now regarding scientific computing, is the not so seamless integration of numpy-scipy: do you think SAGE may improve numpy

Re: [sage-devel] sage-5.0

2010-07-13 Thread William Stein
On Wed, Jul 14, 2010 at 2:48 AM, David Kirkby david.kir...@onetel.net wrote: On 14 July 2010 00:49, William Stein wst...@gmail.com wrote: Hi Sage Developers, I'm setting the Sage-5.0 target date for August 31, 2010 (see http://trac.sagemath.org/sage_trac/milestone/sage-5.0).  The goals are:

Re: [sage-devel] IDE's; science/engineering

2010-07-13 Thread David Kirkby
On 14 July 2010 01:23, William Stein wst...@gmail.com wrote: There was one talk about Labview.  It's also a sort of visual programming language. Yes.  I got the strong impression that it is something people who don't know how to program use, and something people who *do* know how to program

[sage-devel] Sage Singular -- slides from my talk

2010-07-13 Thread William Stein
Hi, I posted the slides from my short talk Sage Singular here: http://wiki.sagemath.org/days23.5/schedule?action=AttachFiledo=gettarget=stein.pdf William -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to

[sage-devel] Building ECL in parallel?

2010-07-13 Thread Pat LeSmithe
The following are from the thread sage-4.5.rc0 released on sage-release. On 07/12/2010 03:54 PM, Dr. David Kirkby wrote: On 07/12/10 09:47 PM, John H Palmieri wrote: Right, this was one of the patches to allow for parallel spkg building. Without it, the ecl build could fail. Dave, have you

[sage-devel] Re: Sage Singular -- slides from my talk

2010-07-13 Thread Michael Brickenstein
Hi William! Thanks. I wanted to ask you for them, as I will arrive after 11am. I have an remark: IMHO, Singulars Groebner basis computation is already more than competetive to Maple in general and to Magma over finite fields. Cheers, Michael On Jul 14, 3:13 am, William Stein wst...@gmail.com

Re: [sage-devel] Sage Singular -- slides from my talk

2010-07-13 Thread Alex Ghitza
Hi William, On Wed, 14 Jul 2010 03:13:33 +0200, William Stein wst...@gmail.com wrote: I posted the slides from my short talk Sage Singular here: http://wiki.sagemath.org/days23.5/schedule?action=AttachFiledo=gettarget=stein.pdf Thanks for posting these. There's a small typo in

[sage-devel] permission to relicense wigner.py

2010-07-13 Thread Ondrej Certik
Hi, about a year ago I got a permission from Jens (CCed) who wrote the file: http://hg.sagemath.org/sage-main/file/tip/sage/functions/wigner.py to use his (original) code in SymPy and license it as BSD. We just got more people interested in that, so we'd like to port it now. So I thought I