Re: [sage-devel] Re: Wolfram|Alpha appears to understand some Sage inputs

2011-02-23 Thread Robert Bradshaw
On Wed, Feb 23, 2011 at 5:29 PM, rjf fate...@gmail.com wrote: On Feb 23, 1:45 pm, Ivan Andrus darthand...@gmail.com wrote: (RJF) I know of no other programming language that requires this. C++0x will require something similar for templates, so that std::vectorSomeTypebool x; will

Re: [sage-devel] Re: Python Performance Guide

2011-02-22 Thread Robert Bradshaw
On Tue, Feb 22, 2011 at 7:00 AM, kcrisman kcris...@gmail.com wrote: On Feb 22, 3:48 am, Keshav Kini keshav.k...@gmail.com wrote: On Feb 22, 3:25 pm, Keshav Kini keshav.k...@gmail.com wrote: For example the construction stuff %s stuff % dictionary is deprecated and in fact does not

Re: [sage-devel] Re: Patchbot and alpha versions

2011-02-22 Thread Robert Bradshaw
On Tue, Feb 22, 2011 at 12:40 AM, Keshav Kini keshav.k...@gmail.com wrote: On Feb 22, 3:08 pm, Robert Bradshaw rober...@math.washington.edu wrote: On Mon, Feb 21, 2011 at 8:26 PM, Eviatar eviatarb...@gmail.com wrote: Importing in a loop is definitely not a good idea. Unless the loop

Re: [sage-devel] Re: Wolfram|Alpha appears to understand some Sage inputs

2011-02-21 Thread Robert Bradshaw
On Mon, Feb 21, 2011 at 8:37 AM, kcrisman kcris...@gmail.com wrote: On Feb 21, 2:00 am, Eviatar eviatarb...@gmail.com wrote: I've noticed this too. I wonder if they purposely implemented Sage syntax or if it's just a very comprehensive parser. I think the goal is to understand any natural

Re: [sage-devel] Re: Patchbot and alpha versions

2011-02-21 Thread Robert Bradshaw
On Mon, Feb 21, 2011 at 2:24 AM, David Kirkby david.kir...@onetel.net wrote: On 21 February 2011 06:20, William Stein wst...@gmail.com wrote: There are many (important) potential users who do not use Sage at all just because the startup time is so bad.    It's really unfortunate how much I let

Re: [sage-devel] Should .resultant() and .discriminant() return objects in the same ring or in a smaller one?

2011-02-21 Thread Robert Bradshaw
+1 to returning elements of the basering in the univariate case. If anything, the multivariate case should be changed. On Sun, Feb 20, 2011 at 9:56 AM, John Cremona john.crem...@gmail.com wrote: One difference is that in the multivariable case, having the return value in the ring with fewer

Re: [sage-devel] Re: Patchbot and alpha versions

2011-02-21 Thread Robert Bradshaw
On Mon, Feb 21, 2011 at 8:26 PM, Eviatar eviatarb...@gmail.com wrote: Importing in a loop is definitely not a good idea. Unless the loop is rarely executed... I found this great guide about Python performance, including information about importing, lazy imports, and other issues:

Re: [sage-devel] Re: Rapid growth in Python popularity

2011-02-19 Thread Robert Bradshaw
On Sat, Feb 19, 2011 at 3:40 PM, David Kirkby david.kir...@onetel.net wrote: On 18 February 2011 19:36, Matt Goodman meawo...@gmail.com wrote: Regarding the academics comment, check this out: http://www.google.com/trends?q=matlab%2C+pythonctab=0geo=alldate=allsort=0 Matlab related dips

Re: [sage-devel] Re: Rapid growth in Python popularity

2011-02-18 Thread Robert Bradshaw
On Fri, Feb 18, 2011 at 12:12 PM, daly d...@axiom-developer.org wrote: The python community is huge, skills are available, and often the needs are not in the core science algorithm which is well looked after, but in the glue and interface, which requires a less in-depth understanding of the

Re: [sage-devel] Re: Rapid growth in Python popularity

2011-02-18 Thread Robert Bradshaw
On Fri, Feb 18, 2011 at 10:26 AM, rjf fate...@gmail.com wrote: On Feb 18, 8:51 am, William Stein wst...@gmail.com wrote: At University of Washington, even with a site license, MATLAB costs me $100, so I don't have it on my laptop. There are limited licenses for students, and I've been told

Re: [sage-devel] Patchbot and ticket comments

2011-02-18 Thread Robert Bradshaw
On Fri, Feb 18, 2011 at 6:20 AM, Jeroen Demeyer jdeme...@cage.ugent.be wrote: On 2011-02-18 00:27, Robert Bradshaw wrote: 2) The ticket description can be *edited*, comments not.  For example, if some comments just mention a new spkg, then the patchbot will automatically think it's

Re: [sage-devel] Patchbot and alpha versions

2011-02-18 Thread Robert Bradshaw
On Fri, Feb 18, 2011 at 6:28 AM, Jeroen Demeyer jdeme...@cage.ugent.be wrote: On 2011-02-18 14:57, Simon King wrote: I could imagine that it would not be feasible to let the patchbot operate with a multitude of different sage versions. But perhaps it would be doable to let it work with *two*

Re: [sage-devel] Patchbot and ticket comments

2011-02-17 Thread Robert Bradshaw
On Fri, Jan 28, 2011 at 12:47 AM, Jeroen Demeyer jdeme...@cage.ugent.be wrote: Hello, Let me propose that the patchbot would *only* look at the ticket description and not comments to check for spkgs, patches, dependencies and so on.  I can see two major advantages: 1) People will be forced

Re: [sage-devel] Re: sage thoughts

2011-02-17 Thread Robert Bradshaw
On Wed, Feb 9, 2011 at 10:46 PM, daly d...@axiom-developer.org wrote: On Wed, 2011-02-09 at 22:18 -0800, rjf wrote: You say, gcd(2/1,4) returns 1 for simplicity (!), because 2/1 is a rational. This is shockingly silly. I don't know exactly how this came up, but if 2/1 is in a different

Re: [sage-devel] Rapid growth in Python popularity

2011-02-16 Thread Robert Bradshaw
On Wed, Feb 16, 2011 at 3:41 PM, Dr. David Kirkby david.kir...@onetel.net wrote: On 02/16/11 03:16 PM, William Stein wrote: On Wed, Feb 16, 2011 at 4:55 AM, Dr. David Kirkby david.kir...@onetel.net  wrote: On 02/16/11 03:31 AM, Eviatar wrote: Hello, I have been monitoring TIOBE, a

Re: [sage-devel] files not under hg control in sage-4.6.2.alpha4.spkg

2011-02-14 Thread Robert Bradshaw
On Sun, Feb 13, 2011 at 2:54 AM, Francois Bissey francois.bis...@canterbury.ac.nz wrote: Hi all, Just want to check something that I think is weird. I was looking at ticket #10764 and basically fixing the deprecated warnings in the following files: sage/combinat/combinat_cython.pyx

Re: [sage-devel] Re: Importing C functions though a 1-line command

2011-02-14 Thread Robert Bradshaw
On Sun, Feb 13, 2011 at 7:11 AM, Nathann Cohen nathann.co...@gmail.com wrote: What about the cython() function? The next version of Sage will get Cython's new inline function, so you can do stuff like {{{ a = math.pi cython.inline( cdef extern from math.h: double sin(double) print sin(a) )

Re: [sage-devel] Is it really faster to copy a dense zero matrix than to initialize a new?

2011-02-14 Thread Robert Bradshaw
On Mon, Feb 14, 2011 at 6:04 AM, Simon King simon.k...@uni-jena.de wrote: Hi! When working on improving matrix multiplication, I found that over finite fields, there is a gigantic overhead: sage: def test(m): :     for i in xrange(10^5): :         m*=m : sage: m =

Re: [sage-devel] Re: Is the patchbot broken?

2011-02-11 Thread Robert Bradshaw
On Fri, Feb 11, 2011 at 12:04 AM, Simon King simon.k...@uni-jena.de wrote: PS: Similarly, my patch for #10460 cleanly applies to a fresh sage-4.6.2.alpha4, but the patchbot claims that it doesn't apply at all. The patchbot is based on the latest release, not the latest alpha. Note that the

Re: [sage-devel] Re: Is the patchbot broken?

2011-02-11 Thread Robert Bradshaw
On Fri, Feb 11, 2011 at 12:21 AM, Robert Bradshaw rober...@math.washington.edu wrote: On Fri, Feb 11, 2011 at 12:04 AM, Simon King simon.k...@uni-jena.de wrote: PS: Similarly, my patch for #10460 cleanly applies to a fresh sage-4.6.2.alpha4, but the patchbot claims that it doesn't apply

Re: [sage-devel] Re: Is the patchbot broken?

2011-02-11 Thread Robert Bradshaw
On Fri, Feb 11, 2011 at 10:02 AM, Simon King simon.k...@uni-jena.de wrote: Hi Robert! On 11 Feb., 17:30, Robert Bradshaw rober...@math.washington.edu wrote: Yep, that was the problem:http://sage.math.washington.edu:21100/ticket/8800/ Great! It applies, *and* tests pass! Yep. Let

Re: [sage-devel] Re: Fwd: Feedback on Tachyon APIs used by SAGE, etc..

2011-02-10 Thread Robert Bradshaw
font I use in VMD into Tachyon pretty easily, but it might be an even better idea to build this into SAGE itself.  What do others think? Cheers,  John Stone  john.st...@gmail.com On Feb 6, 3:11 am, Robert Bradshaw rober...@math.washington.edu wrote: IIRC, the ability to easily do text labels

Re: [sage-devel] Bundle different objects

2011-02-09 Thread Robert Bradshaw
On Wed, Feb 9, 2011 at 6:43 PM, Dox o.castillo.felis...@gmail.com wrote: Hi people! I was wondering if there is a way of bundle two kind of different objects together and define operations on them. Suppose, I'd like to bundle a number and a string (3, Hello) and (4, World!!)... then define

Re: [sage-devel] Fwd: Feedback on Tachyon APIs used by SAGE, etc..

2011-02-06 Thread Robert Bradshaw
IIRC, the ability to easily do text labels is something that is missing right now. It would be great to be able to attach some text to a point (we don't need shadows or anything fancy). We could probably even do this ourselves if there was an easy API to go from 3D point to 2D point in the output.

Re: [sage-devel] Re: FAQ suggestion: I'm a programmer, how can I contribute to Sage?

2011-02-03 Thread Robert Bradshaw
On Thu, Feb 3, 2011 at 7:22 AM, kcrisman kcris...@gmail.com wrote: It sounds quite ominous. I thought the exact same thing. Very unimpressed. Though keep in mind it's probably a first draft. I would say that it's primarily a sounding board for the BDFL for when executive decisions need to

Re: [sage-devel] Re: FAQ suggestion: I'm a programmer, how can I contribute to Sage?

2011-02-03 Thread Robert Bradshaw
On Thu, Feb 3, 2011 at 11:34 AM, Emil Widmann emil.widm...@gmail.com wrote: On Feb 3, 3:22 pm, kcrisman kcris...@gmail.com wrote: It sounds quite ominous. I thought the exact same thing. Very unimpressed. Though keep in mind it's probably a first draft. For veteran contributors the

Re: [sage-devel] Re: FAQ suggestion: I'm a programmer, how can I contribute to Sage?

2011-02-02 Thread Robert Bradshaw
On Tue, Feb 1, 2011 at 3:10 AM, Emil Widmann emil.widm...@gmail.com wrote: While I use Sage daily on my research I decided that I could not use sage on my classes for freshmen students until it works on windows. I am curious, why is using the virtual machine image not feasable? We have a

Re: [sage-devel] Re: FAQ suggestion: I'm a programmer, how can I contribute to Sage?

2011-02-02 Thread Robert Bradshaw
On Tue, Feb 1, 2011 at 3:28 PM, Jason Grout jason-s...@creativetrax.com wrote: On 2/1/11 5:12 PM, kcrisman wrote: Maybe a few of us should get together and offer a bounty... Or write a grant! I don't think funding is the sole (primary?) bottleneck--if we had a (modest) pile of cash, who

Re: [sage-devel] Re: FAQ suggestion: I'm a programmer, how can I contribute to Sage?

2011-02-02 Thread Robert Bradshaw
On Tue, Feb 1, 2011 at 6:21 AM, Dr. David Kirkby david.kir...@onetel.net wrote: On 02/ 1/11 08:50 AM, David Roe wrote: I think most people agree that a Windows port is important. But there's no plan for Sage, which sets out priorities and reasonable estimates of time. But it still hasn't

Re: [sage-devel] Re: FAQ suggestion: I'm a programmer, how can I contribute to Sage?

2011-02-02 Thread Robert Bradshaw
On Wed, Feb 2, 2011 at 7:33 AM, David Kirkby david.kir...@onetel.net wrote: On 2 February 2011 09:55, Robert Bradshaw rober...@math.washington.edu wrote: On Tue, Feb 1, 2011 at 6:21 AM, Dr. David Kirkby Sage is something people work on in their spare time, so you can't dictate to people

Re: [sage-devel] Re: FAQ suggestion: I'm a programmer, how can I contribute to Sage?

2011-02-02 Thread Robert Bradshaw
On Wed, Feb 2, 2011 at 1:21 PM, kcrisman kcris...@gmail.com wrote: A steering committee might be a good idea, we have JSage which somewhat fulfills this role. ??? You don't mean the fantastically outdated http://www.sagemath.org/jsage/editors.html ... Do you?  Notwithstanding that

Re: [sage-devel] Re: FAQ suggestion: I'm a programmer, how can I contribute to Sage?

2011-01-31 Thread Robert Bradshaw
On Mon, Jan 31, 2011 at 4:20 AM, Jason Grout jason-s...@creativetrax.com wrote: On 1/31/11 5:49 AM, Timothy Clemans wrote: I think the first step is making it so one can easily edit the notebook if they built Sage from source. The test notebook would automatically be launched. Once you've

Re: [sage-devel] [jbarr at amazon.com: Sage is now running on Amazon EC2]

2011-01-30 Thread Robert Bradshaw
On Sat, Jan 29, 2011 at 10:22 PM, Dan Drake dr...@kaist.edu wrote: About nine months ago, I asked [1] about the possibility of running parts of the notebook in Amazon EC2 instances. Here's an email I got from someone at Amazon who did compile Sage in an EC2 instance and ran a notebook server

Re: [sage-devel] Re: FAQ suggestion: I'm a programmer, how can I contribute to Sage?

2011-01-30 Thread Robert Bradshaw
On Fri, Jan 28, 2011 at 2:06 AM, koffie m.derickx.stud...@gmail.com wrote: A real programmer could also help with spreading his knowledge of good coding practices and software design patterns in the sage community. By reading this mailing list I sometimes get the feeling we have enough smart

Re: [sage-devel] Re: post more

2011-01-30 Thread Robert Bradshaw
On Sat, Jan 29, 2011 at 12:54 AM, Simon King simon.k...@uni-jena.de wrote: Hi William, On 29 Jan., 06:31, William Stein wst...@gmail.com wrote: Last year in January 2010, there were 1580 messages on sage-devel. This year, in January 2011, there have so far been only 604 messages. I wonder

Re: [sage-devel] Where should cached_method put its cache?

2011-01-28 Thread Robert Bradshaw
On Fri, Jan 28, 2011 at 2:02 AM, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote:        Hi Simon! Sorry for my late answer; I missed this e-mail in the sage-devel flow ... On Fri, Jan 07, 2011 at 10:58:49AM -0800, Simon King wrote: IMHO, the cached_... decorators are currently too slow.  

Re: [sage-devel] Re: not specifying vars for derivative of single-var functions?

2011-01-25 Thread Robert Bradshaw
On Tue, Jan 25, 2011 at 1:23 PM, rjf fate...@gmail.com wrote: diff(x^2+y^2) in Maxima returns 2*x*del(x)+2*y*del(y). in mathematica it returns x^2+y^2 integrate(x^2+y^2)   is an error in both systems. I prefer Maxima's response, though the appearance of something like del(x) means, to me,

Re: [sage-devel] Re: not specifying vars for derivative of single-var functions?

2011-01-25 Thread Robert Bradshaw
On Tue, Jan 25, 2011 at 3:33 PM, rjf fate...@gmail.com wrote: On Jan 25, 9:40 pm, Robert Bradshaw rober...@math.washington.edu wrote: ... No variable should be required for callable functions in one variable, nor univariate polynomials. - Robert Well, a symbolic expression

Re: [sage-devel] not specifying vars for derivative of single-var functions?

2011-01-24 Thread Robert Bradshaw
On Mon, Jan 24, 2011 at 10:13 PM, Dan Drake dr...@kaist.edu wrote: What's the current thinking regarding derivative() and functions of a single variable? Right now, you don't need to specify a variable if the function only depends on one variable, so the following works:    sage: f(x) = x^3 +

Re: [sage-devel] Re: Riemann sums , trapezoid mode

2011-01-24 Thread Robert Bradshaw
On Mon, Jan 24, 2011 at 10:58 PM, Dima Pasechnik dimp...@gmail.com wrote: On Jan 12, 2:09 pm, mhampton hampto...@gmail.com wrote: It is a Riemann sum with a non-constant width. trapezoid rule is what you get if you take  the average of the left- point and the right-point ones. (for an

Re: [sage-devel] Re: Buildbot - does not seem to get much use

2011-01-21 Thread Robert Bradshaw
On Fri, Jan 21, 2011 at 12:30 AM, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote:        Hi! First thing: Robert, thanks so much for the buildbot. You are saving all of us hours and hours of work! You're welcome. Saves me time too :). On Fri, Dec 03, 2010 at 03:12:48PM -0500, Jason

Re: [sage-devel] Re: int floor division

2011-01-18 Thread Robert Bradshaw
On Tue, Jan 18, 2011 at 1:20 AM, Simon King simon.k...@uni-jena.de wrote: Hi pang! On 18 Jan., 09:52, pang pablo.ang...@uam.es wrote: That would be a greater confusion: we'd have the Sage layer, and underlying that you wouldn't have neither python 2 nor python 3, but a mixture. Or you

Re: [sage-devel] Problem in applying the patch in sage

2011-01-17 Thread Robert Bradshaw
On Mon, Jan 17, 2011 at 10:12 AM, Hector troy hector1...@gmail.com wrote: Hello everyone, I am a newbie to sage-development and was learning the same from the sage-developer's guide (pdf given on the site) I trying to apply the patch but its giving following error.  RuntimeError: Refusing to

Re: [sage-devel] Re: Sage forker

2011-01-15 Thread Robert Bradshaw
On Sat, Jan 15, 2011 at 10:19 AM, Volker Braun vbraun.n...@gmail.com wrote: Maybe combine it with a zeromq-based main loop for the worker Sage process. Then the notebook worker and the command line Sage would use the same codebase... Of course this is just psychological and won't speed up any

Re: [sage-devel] Re: Caching a python function in (s)pyx file?

2011-01-15 Thread Robert Bradshaw
On Sat, Jan 15, 2011 at 10:44 AM, Simon King simon.k...@uni-jena.de wrote: Hi! On 15 Jan., 18:33, Dima Pasechnik dimp...@gmail.com wrote: I wonder if it is possible  to use CachedFunction in Cython. Caching a python function in (s)pyx file does not seem to work: Indeed, caching does not

Re: [sage-devel] question on EllipticCurve() for composite N and cardinality()

2011-01-15 Thread Robert Bradshaw
On Sat, Jan 15, 2011 at 4:20 PM, G Hahn gh...@cantab.net wrote: Hi, the sage reference on http://www.sagemath.org/doc/reference/sage/schemes/elliptic_curves/constructor.html reads that the EllipticCurve constructor can either be used with N prime ( EllipticCurve(GF(N), [a, b])) or with N

Re: [sage-devel] Re: can sage binaries be stripped (made smaller)

2011-01-12 Thread Robert Bradshaw
On Wed, Jan 12, 2011 at 5:08 AM, Harald Schilly harald.schi...@gmail.com wrote: On Wed, Jan 12, 2011 at 08:38, emil emil.widm...@gmail.com wrote: If this proves stable I would recommend to consider that binary packages should be patched this way. I think that's definitely something we should

Re: [sage-devel] Re: Sage startuptime

2011-01-12 Thread Robert Bradshaw
On Wed, Jan 12, 2011 at 3:34 PM, John H Palmieri jhpalmier...@gmail.com wrote: On Jan 12, 3:19 pm, Jeroen Demeyer jdeme...@cage.ugent.be wrote: Running sage -startuptime for various Sage versions 20 times on sage.math.washington.edu and taking the average, then doing several of these runs and

Re: [sage-devel] Re: can sage binaries be stripped (made smaller)

2011-01-11 Thread Robert Bradshaw
On Tue, Jan 11, 2011 at 2:32 AM, emil emil.widm...@gmail.com wrote: On Jan 10, 10:09 pm, Volker Braun vbraun.n...@gmail.com wrote: you can use fslint to identify duplicate files and merge them (i.e. hardlink them to a single file). I tried to follow your path but was not able to use fslint.,

Re: [sage-devel] Re: can sage binaries be stripped (made smaller)

2011-01-08 Thread Robert Bradshaw
On Fri, Jan 7, 2011 at 11:54 PM, William Stein wst...@gmail.com wrote: On Fri, Jan 7, 2011 at 10:57 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Fri, Jan 7, 2011 at 2:55 PM, William Stein wst...@gmail.com wrote: On Fri, Jan 7, 2011 at 1:37 PM, emil emil.widm...@gmail.com wrote

Re: [sage-devel] Re: can sage binaries be stripped (made smaller)

2011-01-07 Thread Robert Bradshaw
On Fri, Jan 7, 2011 at 2:55 PM, William Stein wst...@gmail.com wrote: On Fri, Jan 7, 2011 at 1:37 PM, emil emil.widm...@gmail.com wrote: On Jan 7, 4:18 pm, William Stein wst...@gmail.com wrote: The best solution to the problem we're discussing in the context of SAGE_ROOT/devel/sage would be

Re: [sage-devel] too many spawned PARI/GP interpreter processs

2011-01-06 Thread Robert Bradshaw
On Thu, Jan 6, 2011 at 3:29 AM, John Cremona john.crem...@gmail.com wrote: In 4.6.1.alpha3 try this: sage: for E in cremona_curves([11..40]): t= E.lseries().dokchitser().derivative(E.rank(),1) sage: quit and see something like this: sage: quit Exiting Sage (CPU time 0m0.74s, Wall time

Re: [sage-devel] Cleaning up extcode

2011-01-01 Thread Robert Bradshaw
On Fri, Dec 31, 2010 at 10:16 PM, William Stein wst...@gmail.com wrote: On Fri, Dec 31, 2010 at 1:05 PM, Robert Bradshaw rober...@math.washington.edu wrote: I've been looking at merging extcode into the main repository, and was thinking some cleanup is in order. See http://wiki.sagemath.org

[sage-devel] Cleaning up extcode

2010-12-31 Thread Robert Bradshaw
I've been looking at merging extcode into the main repository, and was thinking some cleanup is in order. See http://wiki.sagemath.org/extcode for a current listing of contents. IIRC, the notebook, images, and jsmath directories are completely redundant now, right? Does anyone know what sagebuild

Re: [sage-devel] Re: patchbot+nagbot

2010-12-30 Thread Robert Bradshaw
On Thu, Dec 30, 2010 at 2:01 AM, Simon King simon.k...@uni-jena.de wrote: Hi Dave, On 30 Dez., 10:21, daveloeffler dave.loeff...@gmail.com wrote: I can see a slight problem with this. At present there's no mechanism to explain to the patchbot exactly which patches to apply. So if you have

Re: [sage-devel] Re: patchbot+nagbot

2010-12-30 Thread Robert Bradshaw
On Thu, Dec 30, 2010 at 2:04 PM, daveloeffler dave.loeff...@gmail.com wrote: On Dec 30, 1:41 pm, Robert Bradshaw rober...@math.washington.edu wrote: And otherwise it does a best guess kind of approach, which is decent (especially if there is only one patch :). In any case, I don't think

Re: [sage-devel] patchbot+nagbot

2010-12-29 Thread Robert Bradshaw
On Wed, Dec 29, 2010 at 8:58 AM, Simon King simon.k...@uni-jena.de wrote: Hi! I just noticed that my patch from #10296 (ready for review, improving the communication with singular via pexpect) had bit rotted. Of course, the patchbot knew  that the old patch did not apply to the current Sage

Re: [sage-devel] Re: How is matrix action on vectors implemented?

2010-12-29 Thread Robert Bradshaw
On Tue, Dec 28, 2010 at 11:49 PM, Simon King simon.k...@uni-jena.de wrote: Hi Robert, On 28 Dez., 23:41, Robert Bradshaw rober...@math.washington.edu wrote: According to your post, it should be A group action G x S rightarrow S is a functor from G (considered as a category) to the category

Re: [sage-devel] Re: How is matrix action on vectors implemented?

2010-12-28 Thread Robert Bradshaw
On Tue, Dec 28, 2010 at 12:46 AM, Simon King simon.k...@uni-jena.de wrote: Hi Robert, On 28 Dez., 01:27, Robert Bradshaw rober...@math.washington.edu wrote: ... You're working on moving modules over to the new coercion framework, right? Yes. But how does one define an action? I guess

Re: [sage-devel] Mutability of echelon form result

2010-12-28 Thread Robert Bradshaw
On Tue, Dec 28, 2010 at 8:38 PM, Rob Beezer goo...@beezer.cotse.net wrote: sage: A=matrix(QQ,2,range(4)) sage: B=matrix(ZZ,2,range(4)) sage: C=A.echelon_form() sage: D=B.echelon_form() sage: C.is_mutable() True sage: D.is_mutable() False Should C and D be different with regard to

Re: [sage-devel] Re: Modular instead of monolithic

2010-12-28 Thread Robert Bradshaw
On Tue, Dec 28, 2010 at 6:46 PM, Aleksej Saushev a...@inbox.ru wrote: John H Palmieri jhpalmier...@gmail.com writes: On Dec 22, 5:34 am, Cedric man...@gmx.net wrote: I love SAGE but then there is one flaw in it that I find one of the most severe in software-design of all. From my layman point

Re: [sage-devel] Mutability

2010-12-27 Thread Robert Bradshaw
On Sat, Dec 25, 2010 at 5:13 PM, Justin C. Walker jus...@mac.com wrote: Hi, all, A couple of questions regarding mutabilty: First, I noticed a comment at the beginning of quadratic_forms/binary_qf.py from Stein:  make immutable.  Can anyone (William?) elaborate on what that means?  They

Re: [sage-devel] Re: Mutability

2010-12-27 Thread Robert Bradshaw
On Mon, Dec 27, 2010 at 11:14 AM, Justin C. Walker jus...@mac.com wrote: Thanks for the reply. On Dec 26, 2010, at 03:17 , Volker Braun wrote: Python has no const. You can always manually change the innards of your class. The set_immutable() is just implemented by hand. Tuples are really

Re: [sage-devel] patchbot install messed up?

2010-12-27 Thread Robert Bradshaw
On Sun, Dec 26, 2010 at 4:20 AM, koffie m.derickx.stud...@gmail.com wrote: Hej All, I just looked at the patch bot reports And a lot of patches seem to give the same error log when applied. For example: compare the bottom of

Re: [sage-devel] Changing default resolution du 300dpi instead of 100

2010-12-27 Thread Robert Bradshaw
On Sat, Dec 25, 2010 at 3:06 AM, Nathann Cohen nathann.co...@gmail.com wrote: Hello everybody ! I am trying to improve a bit Sage's display of graphs, and lurking through the different options it gives I found out about the dpi keyword. Then I went to the file sage/plot/plot.py to see the

Re: [sage-devel] Mutability

2010-12-27 Thread Robert Bradshaw
On Mon, Dec 27, 2010 at 11:27 AM, Justin C. Walker jus...@mac.com wrote: On Dec 27, 2010, at 10:58 , Robert Bradshaw wrote: On Sat, Dec 25, 2010 at 5:13 PM, Justin C. Walker jus...@mac.com wrote: Hi, all, A couple of questions regarding mutabilty: First, I noticed a comment

Re: [sage-devel] Changing default resolution du 300dpi instead of 100

2010-12-27 Thread Robert Bradshaw
On Mon, Dec 27, 2010 at 11:48 AM, Nathann Cohen nathann.co...@gmail.com wrote: Hello !! What pictures are you looking at? Things like those : sage: graphs.PetersenGraph().show() sage: graphs.RandomGNP(20,.3).show() I do not use the notebook, and when I display those pictures I usually

Re: [sage-devel] Re: patchbot install messed up?

2010-12-27 Thread Robert Bradshaw
On Mon, Dec 27, 2010 at 12:48 PM, Simon King simon.k...@uni-jena.de wrote: Hi Robert, On 27 Dez., 20:28, Robert Bradshaw rober...@math.washington.edu wrote: A lot of other patches have the same errors. Seems to me that the base install to witch the patches are applied should be fixed

Re: [sage-devel] translating, transforming graphics objects?

2010-12-27 Thread Robert Bradshaw
On Wed, Dec 22, 2010 at 4:14 AM, Dan Drake dr...@kaist.edu wrote: I would like something like this to work:  L = line([ some 2d points ])  L.translate(1, -1) or  foo = some_graphics_object()  bar = sage.plot.translate(foo, 1, -1) I'd also like rotation and scaling methods to work -- or,

Re: [sage-devel] How is matrix action on vectors implemented?

2010-12-27 Thread Robert Bradshaw
On Wed, Dec 22, 2010 at 6:53 AM, Simon King simon.k...@uni-jena.de wrote: Hi! We have sage: v = vector(ZZ,[1,2]) sage: M = matrix(ZZ,2,2,[1,2,3,4]) sage: cm = sage.structure.element.get_coercion_model() sage: cm.explain(v.parent(),M.parent(),operator.mul) Action discovered.    Right

Re: [sage-devel] Re: one page per method or function

2010-12-27 Thread Robert Bradshaw
On Thu, Dec 16, 2010 at 8:14 PM, Andrey Novoseltsev novos...@gmail.com wrote: On Dec 16, 9:45 am, Minh Nguyen nguyenmi...@gmail.com wrote: Hi folks, I have converted the whole reference manual use one page per method or function. The resulting HTML version of the reference manual is up [1]

Re: [sage-devel] Re: patchbot install messed up?

2010-12-27 Thread Robert Bradshaw
On Mon, Dec 27, 2010 at 12:52 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Mon, Dec 27, 2010 at 12:48 PM, Simon King simon.k...@uni-jena.de wrote: Hi Robert, On 27 Dez., 20:28, Robert Bradshaw rober...@math.washington.edu wrote: A lot of other patches have the same errors

Re: [sage-devel] Re: How is matrix action on vectors implemented?

2010-12-27 Thread Robert Bradshaw
On Mon, Dec 27, 2010 at 3:36 PM, Simon King simon.k...@uni-jena.de wrote: Hi Robert! On 27 Dez., 22:26, Robert Bradshaw rober...@math.washington.edu wrote: sage: M = matrix(ZZ, 2, 2) sage: space = M.parent(); space Full MatrixSpace of 2 by 2 dense matrices over Integer Ring sage

Re: [sage-devel] Re: Modular instead of monolithic

2010-12-23 Thread Robert Bradshaw
On Thu, Dec 23, 2010 at 3:11 AM, koffie m.derickx.stud...@gmail.com wrote: Maybe someone who cares enough should write a SEP=Sage Enhancement Proposal about how to make a more modular sage without having sacrificing on the user experience and stability of sage. And see how many people are

Re: [sage-devel] Modular instead of monolithic

2010-12-22 Thread Robert Bradshaw
On Wed, Dec 22, 2010 at 5:34 AM, Cedric man...@gmx.net wrote: I love SAGE but then there is one flaw in it that I find one of the most severe in software-design of all. From my layman point of view (which I'm sure is wrong and unjustified) a software that bundles every single of its dozens

Re: [sage-devel] Using ParentWithGens or not?

2010-12-22 Thread Robert Bradshaw
On Wed, Dec 22, 2010 at 12:07 PM, Simon King simon.k...@uni-jena.de wrote: Hi! In sage/structure/parent_gens.pyx, I read: .. note::   This class is being deprecated, see   ``sage.structure.parent.Parent`` and   ``sage.structure.category_object.CategoryObject`` for the new   model.

Re: [sage-devel] Should sage notebook be enforcing a minimum password length

2010-12-20 Thread Robert Bradshaw
On Mon, Dec 20, 2010 at 7:26 AM, Adam Voss vossa...@luther.edu wrote: I noticed in run_notebook.py that when the notebook is run with reset=True, there is a check against min_password_length from sagenb.misc.misc to make sure the password is long enough.  If it is shorter than the minimum,

Re: [sage-devel] Re: Deprecation question

2010-12-16 Thread Robert Bradshaw
On Thu, Dec 16, 2010 at 7:59 AM, Justin C. Walker jus...@mac.com wrote: On Dec 16, 2010, at 02:55 , Volker Braun wrote: Works for me: sage: X=Integer(54) sage: sqrt(X,prec=100) 7.3484692283495342945918522241 sage: X=RDF('3.14') sage: sqrt(X,prec=100) 1.7720045146669350752850780727

Re: [sage-devel] Unfaithful .spyx

2010-12-15 Thread Robert Bradshaw
On Wed, Dec 15, 2010 at 12:15 AM, Kwankyu Lee ekwan...@gmail.com wrote: Hi, Perhaps it is well known to others except me (until a moment ago) that the following code print vector([1,0,1]) is loaded and executed if it is contained in a file named like test.sage, but results in error if the

Re: [sage-devel] Listing infinite sets using never-ending iterators

2010-12-14 Thread Robert Bradshaw
On Tue, Dec 14, 2010 at 3:09 PM, Rob Beezer goo...@beezer.cotse.net wrote: Symptom:  The following code would appear to run forever, since the rationals define an iterator that never quits. QQ.list() I discovered this when I presumed that (QQ^2).list() would raise an error.  It doesn't.  

Re: [sage-devel] Re: How is comparison implemented in Cython?

2010-12-10 Thread Robert Bradshaw
On Fri, Dec 10, 2010 at 10:34 AM, Jason Grout jason-s...@creativetrax.com wrote: On 12/10/10 10:47 AM, Simon King wrote: Dear Jason, On 10 Dez., 14:55, Jason Groutjason-s...@creativetrax.com  wrote: In sage/modules/vector_rational_dense.pyx there is a class definition

Re: [sage-devel] Re: How is comparison implemented in Cython?

2010-12-10 Thread Robert Bradshaw
On Fri, Dec 10, 2010 at 1:18 PM, Simon King simon.k...@uni-jena.de wrote: Hi Robert, On 10 Dez., 19:51, Robert Bradshaw rober...@math.washington.edu wrote: As for the more general question, the current state of comparison of elements in Sage is a huge mess, and not much should be read

Re: [sage-devel] Re: buildbot testing documentation

2010-12-08 Thread Robert Bradshaw
On Wed, Dec 8, 2010 at 12:54 AM, Johan S. R. Nielsen j.s.r.niel...@mat.dtu.dk wrote: Wow, this is really cool! Great work! Also, great plans for ways to let people run their own buildbots, hooked up to the central server. With customisation so ones own patches will be prioritised whenever

Re: [sage-devel] Re: buildbot testing documentation

2010-12-08 Thread Robert Bradshaw
On Wed, Dec 8, 2010 at 2:06 AM, Simon King simon.k...@uni-jena.de wrote: Hi! Admittedly I did not follow the development of the buildbot. Am I right that it takes trac ticket, applies the patches and then tests? That would indeed be awesome. But how can one explain dependencies to the

Re: [sage-devel] Re: buildbot testing documentation

2010-12-07 Thread Robert Bradshaw
On Mon, Dec 6, 2010 at 8:43 PM, Niles nil...@gmail.com wrote: On Dec 6, 10:53 pm, Jason Grout jason-s...@creativetrax.com wrote: Robert (and whoever else is working on the buildbot [1]), First of all, THANK YOU!!!  This is amazing!  I love how it is hooked up to show the status on trac.

Re: [sage-devel] Re: buildbot testing documentation

2010-12-07 Thread Robert Bradshaw
On Tue, Dec 7, 2010 at 2:41 AM, Robert Bradshaw rober...@math.washington.edu wrote: On Mon, Dec 6, 2010 at 8:43 PM, Niles nil...@gmail.com wrote: On Dec 6, 10:53 pm, Jason Grout jason-s...@creativetrax.com wrote: Robert (and whoever else is working on the buildbot [1]), First of all, THANK

Re: [sage-devel] Re: Buildbot - does not seem to get much use

2010-12-07 Thread Robert Bradshaw
On Sat, Dec 4, 2010 at 12:18 PM, Niles nil...@gmail.com wrote: On Fri, Dec 3, 2010 at 11:38 AM, Robert Bradshaw    Apply foo.pyx, foo2.pyx I mean of course foo.patch, foo2.patch :). This will reset the patch list at that point, any added patches will get (semi-intellegently

Re: [sage-devel] telling buildbot which repo to apply to; a naming proposal

2010-12-07 Thread Robert Bradshaw
On Tue, Dec 7, 2010 at 9:18 PM, Dan Drake dr...@kaist.edu wrote: Count me as another person really excited about the automatic trac ticket test bot. It's great work. Good job, Robert! First, my proposal: we should call that bit of software patchbot, since it automatically deals with patches;

Re: [sage-devel] Re: How to give a permanent URL to Sage library source code

2010-12-06 Thread Robert Bradshaw
On Mon, Dec 6, 2010 at 4:08 AM, Jason Grout jason-s...@creativetrax.com wrote: On 12/6/10 5:49 AM, John Cremona wrote: We want to give a URL for some Sage library source code, for example: http://hg.sagemath.org/sage-main/file/120c07be6358/sage/modular/cusps_nf.py but this link is specific

Re: [sage-devel] When is a test not a valid test?

2010-12-06 Thread Robert Bradshaw
On Mon, Dec 6, 2010 at 8:01 AM, David Kirkby david.kir...@onetel.net wrote: On 4 December 2010 05:32, William Stein wst...@gmail.com wrote: On Thu, Dec 2, 2010 at 6:40 PM, David Kirkby david.kir...@onetel.net wrote: It's clear you have the ability to write decent tests, but I think its fair

Re: [sage-devel] Re: Buildbot - does not seem to get much use

2010-12-03 Thread Robert Bradshaw
On Fri, Dec 3, 2010 at 6:05 AM, David Roe r...@math.harvard.edu wrote: import re def concise_log(long_log_name, concise_log_name):     with open(long_log_name) as long_log:     log = long_log.read()     p = The following tests

Re: [sage-devel] Re: Buildbot - does not seem to get much use

2010-12-03 Thread Robert Bradshaw
On Fri, Dec 3, 2010 at 12:47 AM, David Roe r...@math.harvard.edu wrote: That's awesome.  This will make me far more likely to review tickets. Me too. And I hope for many others out there. We've needed something like this for a long time. - Robert -- To post to this group, send an email to

Re: [sage-devel] Re: Buildbot - does not seem to get much use

2010-12-03 Thread Robert Bradshaw
On Fri, Dec 3, 2010 at 11:14 AM, luisfe lftab...@yahoo.es wrote: On Dec 3, 7:54 pm, Niles nil...@gmail.com wrote: A couple of the patches I've been working on are failing the new automatic testing because some ticket attachments are being applied that shouldn't be -- is there a way to fix

Re: [sage-devel] Re: Buildbot - does not seem to get much use

2010-12-03 Thread Robert Bradshaw
On Fri, Dec 3, 2010 at 11:38 AM, Robert Bradshaw rober...@math.washington.edu wrote: On Fri, Dec 3, 2010 at 11:14 AM, luisfe lftab...@yahoo.es wrote: On Dec 3, 7:54 pm, Niles nil...@gmail.com wrote: A couple of the patches I've been working on are failing the new automatic testing because

Re: [sage-devel] Re: Buildbot - does not seem to get much use

2010-12-03 Thread Robert Bradshaw
On Fri, Dec 3, 2010 at 12:12 PM, Jason Bandlow jband...@gmail.com wrote: (cc'ing the sage-combinat folks who may not have seen this) Robert Bradshaw wrote: On this note: http://sage.math.washington.edu:21100/ticket/ It has some heuristics, but it's far from perfect. As people learn

Re: [sage-devel] When is a test not a valid test?

2010-12-02 Thread Robert Bradshaw
that start with test_ in all files, I suggested 'nose' was added a long time ago http://groups.google.com/group/sage-devel/browse_thread/thread/928632557a8a041c/f8bc25a249ea4483?hl=enlnk=gstq=nose#f8bc25a249ea4483 the only person to reply (Robert Bradshaw) disagreed. I think there's

Re: [sage-devel] Re: Buildbot - does not seem to get much use

2010-12-02 Thread Robert Bradshaw
On Wed, Dec 1, 2010 at 9:57 AM, Robert Bradshaw rober...@math.washington.edu wrote: On Wed, Dec 1, 2010 at 9:40 AM, John Cremona john.crem...@gmail.com wrote: On Wed, Dec 1, 2010 at 5:28 PM, pang pablo.ang...@uam.es wrote: On 1 dic, 17:40, David Kirkby david.kir...@onetel.net wrote

Re: [sage-devel] Re: Buildbot - does not seem to get much use

2010-12-02 Thread Robert Bradshaw
On Thu, Dec 2, 2010 at 7:00 PM, kcrisman kcris...@gmail.com wrote: I completely agree. And with quick, automated feedback they can go and take care of anything they missed rather than wait two weeks and a release cycle later to see that some corner case was missed that affected a doctest

Re: [sage-devel] Re: Buildbot - does not seem to get much use

2010-12-02 Thread Robert Bradshaw
On Thu, Dec 2, 2010 at 7:32 PM, kcrisman kcris...@gmail.com wrote: On Dec 2, 10:08 pm, Robert Bradshaw rober...@math.washington.edu wrote: On Thu, Dec 2, 2010 at 7:00 PM, kcrisman kcris...@gmail.com wrote: I completely agree. And with quick, automated feedback they can go and take care

Re: [sage-devel] Re: Buildbot - does not seem to get much use

2010-12-01 Thread Robert Bradshaw
On Wed, Dec 1, 2010 at 9:40 AM, John Cremona john.crem...@gmail.com wrote: On Wed, Dec 1, 2010 at 5:28 PM, pang pablo.ang...@uam.es wrote: On 1 dic, 17:40, David Kirkby david.kir...@onetel.net wrote: . But  for someone that regularly submits tickets, if they can't be bothered to test them, then

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