[sage-combinat-devel] Re: [sage-release] sage-4.2.1

2009-11-16 Thread Nicolas M. Thiery
On Sat, Nov 14, 2009 at 10:35:28AM -0800, William Stein wrote: Mike Hansen and I have finished sage-4.2.1: http://sage.math.washington.edu/home/wstein/farm/src/sage-4.2.1.tar Release notes, binaries, the above being posted online, etc., will follow in due course. Thanks! sage -clone

[sage-combinat-devel] TestSuite and ...

2009-11-16 Thread Florent Hivert
Dear Nicolas, I just spent/lost one hour on the following missfeature (at least in my opinion) of TestsSuite... Mind the ... ;-) Those dots are particularly heavy dots... Still don't get it ? Try myself._test_my_reaction() ... done ? Anything happening ? No ? Really nothing ? Then

[sage-combinat-devel] Re: TestSuite and ...

2009-11-16 Thread William Stein
On Mon, Nov 16, 2009 at 1:05 PM, Florent Hivert florent.hiv...@univ-rouen.fr wrote:      Dear Nicolas, I just spent/lost one hour on the following missfeature (at least in my opinion) of TestsSuite... Mind the ... ;-) Those dots are particularly heavy dots... Still don't get it ? Try    

[sage-devel] Re: [sage-release] sage-4.2.1

2009-11-16 Thread Nicolas M. Thiery
On Sat, Nov 14, 2009 at 10:35:28AM -0800, William Stein wrote: Mike Hansen and I have finished sage-4.2.1: http://sage.math.washington.edu/home/wstein/farm/src/sage-4.2.1.tar Release notes, binaries, the above being posted online, etc., will follow in due course. Thanks! sage -clone

[sage-devel] Edges in graphs and order

2009-11-16 Thread Nathann Cohen
Hello !!! I always have to include in my graphs functions some part of code to deal with the fact that for undirected graphs edges can be returned as (u,v) or as (v,u), which my code does not like Isn't there a Sage a type of variable which is both immutable and not ordered ? I'd love to

[sage-devel] Re: sage-4.2.1

2009-11-16 Thread Nathann Cohen
Same here !!! I learnt yesterday on IRC that this was a known problem I was advised to Ctrl + C it, and it seems to work fine ;-) I'd be interested to know which trac ticket is taking care of this problem, though ! I'll update my version of Sage the day it is merged ! Nathann On Nov

[sage-devel] Lorien Labs: an IDE for Sage

2009-11-16 Thread Alejandro Serrano Mena
Hello, For the past few months I've been working on a prototype of an Integrated Environment for developing and running Sage. I decided to start the project for mainly these reasons: - There is no environment for developing Sage programs or libraries: nowadays the Notebook is not the best option

[sage-devel] Re: [sage-release] sage-4.2.1

2009-11-16 Thread Pat LeSmithe
On 11/16/2009 12:58 AM, Nicolas M. Thiery wrote: sage -clone is hanging during the call to Sphinx on my ubuntu 9.4 box, whereas it worked fine with 4.2.1 alpha0. Anyone else encountering this? The attached log was generated with: zephyr-/opt/sage-4.2.1 ./sage -clone truc 21 | tee blog

[sage-devel] Re: Implementation of Q(t) and monomials

2009-11-16 Thread Bill Hart
When the CPU is in power saving mode it runs much slower. Usually they are set up to run at full speed after a short burst of sustained use. This can affect short benchmarks of course. Bill. On 15 Nov, 12:50, Gonzalo Tornaria torna...@math.utexas.edu wrote: On Sun, Nov 15, 2009 at 3:32 AM,

[sage-devel] Re: Implementation of Q(t) and monomials

2009-11-16 Thread Bill Hart
On 15 Nov, 05:32, William Stein wst...@gmail.com wrote: On Sat, Nov 14, 2009 at 9:00 PM, Sebastian Pancratz s...@pancratz.org wrote: Dear William, I am adding a somewhat more detailed performance report below, comparing my own FLINT-based C code, MAGMA, SAGE 4.1.2.alpha2 and SAGE

[sage-devel] Fwd: 3d mandelbrot

2009-11-16 Thread Bill Hart
Forwarded on behalf of Jason Moxham -- Forwarded message -- From: Jason Moxham ja...@njkfrudils.plus.com Date: 2009/11/16 Subject: Fwd: 3d mandelbrot To: William Stein wst...@gmail.com, Bill Hart goodwillh...@googlemail.com I'm not subscribed to the sage list currently , so if

[sage-devel] Re: Lorien Labs: an IDE for Sage

2009-11-16 Thread Carlo Hamalainen
On Mon, Nov 16, 2009 at 11:25 AM, Alejandro Serrano Mena trup...@gmail.com wrote: Any suggestion and help is welcome :) I hope you like it. I'm trying to compile with Ubuntu 9.04 and I get to QScintilla and have a problem: ca...@eeepc:~/sage/qt/QScintilla-gpl-2.4/Python$ ./../../../sage

[sage-devel] Re: Lorien Labs: an IDE for Sage

2009-11-16 Thread Alejandro Serrano Mena
It usually means that you need to install libqscintilla2-dev and libqt4-dev, so development files are used. 2009/11/16 Carlo Hamalainen carlo.hamalai...@gmail.com On Mon, Nov 16, 2009 at 11:25 AM, Alejandro Serrano Mena trup...@gmail.com wrote: Any suggestion and help is welcome :) I hope

[sage-devel] Re: Fwd: 3d mandelbrot

2009-11-16 Thread David Joyner
Thanks for posting. Those images are really amazing! On Mon, Nov 16, 2009 at 7:44 AM, Bill Hart goodwillh...@googlemail.com wrote: Forwarded on behalf of Jason Moxham -- Forwarded message -- From: Jason Moxham ja...@njkfrudils.plus.com Date: 2009/11/16 Subject: Fwd: 3d

[sage-devel] Re: Edges in graphs and order

2009-11-16 Thread Jason Grout
Nathann Cohen wrote: Hello !!! I always have to include in my graphs functions some part of code to deal with the fact that for undirected graphs edges can be returned as (u,v) or as (v,u), which my code does not like Isn't there a Sage a type of variable which is both immutable and

[sage-devel] Sage on Gentoo not supported?

2009-11-16 Thread Matt Rissler
I'm reading through the readme just now and I notice that Gentoo is not supported. I find that interesting considering that I've been running happily on Gentoo for a bit over a year now. What needs to be done to make it so Gentoo is supported? Thanks, Matt

[sage-devel] Re: Sage on Gentoo not supported?

2009-11-16 Thread William Stein
On Mon, Nov 16, 2009 at 7:25 AM, Matt Rissler discn...@gmail.com wrote: I'm reading through the readme just now and I notice that Gentoo is not supported.  I find that interesting considering that I've been running happily on Gentoo for a bit over a year now. When you say you've been running

[sage-devel] Re: [mpir-devel] Re: [sage-release] SAGE_FAT_BINARY again

2009-11-16 Thread Bill Hart
Jason Martin has kindly got svn back up, so I have issued MPIR 1.2.2. at http://www.mpir.org/ (scroll down a bit to see MPIR 1.2.2). Please take note that this is overall GPL v3+. If you are preparing a version of Sage for MS, don't forget to substitute the mpf/set_str.c file provided on our site

[sage-devel] Re: Debugging personal code

2009-11-16 Thread James Youngquist
On November 15, 2009 10:54:16 pm William Stein wrote: On Sun, Nov 15, 2009 at 10:23 PM, kstueve kevin.stu...@gmail.com wrote: An alternative to adding/removing/commenting out/uncommenting print statements through your code may be to use decorators. A decorator is a a function that is

[sage-devel] Re: Lorien Labs: an IDE for Sage

2009-11-16 Thread William Stein
On Mon, Nov 16, 2009 at 5:40 AM, Alejandro Serrano Mena trup...@gmail.com wrote: It usually means that you need to install libqscintilla2-dev and libqt4-dev, so development files are used. 1. What Linux distribution do you use to do development on this (I have access to most of them, so I

[sage-devel] Re: Edges in graphs and order

2009-11-16 Thread Nathann Cohen
And what would you think about moving the current syntax for edges (u,v,label) to (frozenset_of_two_elements,label) ? Nathann On Nov 16, 3:26 pm, Jason Grout jason-s...@creativetrax.com wrote: Nathann Cohen wrote: Hello !!! I always have to include in my graphs functions some part of code

[sage-devel] Re: Debugging personal code

2009-11-16 Thread William Stein
On Mon, Nov 16, 2009 at 8:22 AM, James Youngquist james.youngqu...@gmail.com wrote: On November 15, 2009 10:54:16 pm William Stein wrote: On Sun, Nov 15, 2009 at 10:23 PM, kstueve kevin.stu...@gmail.com wrote: An alternative to adding/removing/commenting out/uncommenting print statements

[sage-devel] Re: weird bug -- any ideas

2009-11-16 Thread William Stein
On Mon, Nov 16, 2009 at 3:28 AM, Fernando Perez fernando.pe...@berkeley.edu wrote: On Mon, Nov 16, 2009 at 2:31 AM, Fernando Perez fernando.pe...@berkeley.edu wrote: The fact that Ctrl-C cleanly stops the crazy loop *without* a KeyboardInterrupt makes me think that ipython is trying to

[sage-devel] Re: Fwd: 3d mandelbrot

2009-11-16 Thread Nick Alexander
The pictures are amazing , if sage could do this , it would look out of this world in any sage presentation. I'm not usually interested in such renderings, but these images are unbelievable. Well worth the click. Nick --~--~-~--~~~---~--~~ To post to

[sage-devel] Re: Edges in graphs and order

2009-11-16 Thread Florent Hivert
Hi, I always have to include in my graphs functions some part of code to deal with the fact that for undirected graphs edges can be returned as (u,v) or as (v,u), which my code does not like Isn't there a Sage a type of variable which is both immutable and not ordered ? I'd love

[sage-devel] sage-4.2.1 test failure

2009-11-16 Thread Jaap Spies
Hi, On Fedora 11, 32 bit I got a test failure in sever/notebook/cell.py: Expecting: ('d', Cell 0; in=plot(sin(x),0,5), out= htmlfont color='black'img src='cell://sage0.png'/font/html BLANKLINE ) *** *** Error: TIMED OUT! PROCESS KILLED! *** *** *** *** Error: TIMED OUT! ***

[sage-devel] Pickling of residue fields fails

2009-11-16 Thread Harald Schilly
Hi, I got this report from the report a problem form. Here in 4.2.1 on sage.math: sage: K = ZZ.residue_field(2) sage: sage: dumps(K) --- TypeError Traceback (most recent call last)

[sage-devel] bug day 18 -- this Thursday

2009-11-16 Thread William Stein
Hi, If you have time, please sign up for Sage Bug Day 18: http://wiki.sagemath.org/bug18 which will be this Thursday, November 19, 2009, starting at 9 am pacific standard time http://wiki.sagemath.org/bug18 Also, thoughts about requested bugs to tackle are welcome. -- William -- William

[sage-devel] Re: Fwd: 3d mandelbrot

2009-11-16 Thread Jason Grout
Bill Hart wrote: Forwarded on behalf of Jason Moxham -- Forwarded message -- From: Jason Moxham ja...@njkfrudils.plus.com Date: 2009/11/16 Subject: Fwd: 3d mandelbrot To: William Stein wst...@gmail.com, Bill Hart goodwillh...@googlemail.com I'm not subscribed to the

[sage-devel] Re: Edges in graphs and order

2009-11-16 Thread Jason Grout
Nathann Cohen wrote: And what would you think about moving the current syntax for edges (u,v,label) to (frozenset_of_two_elements,label) ? You mean functions returning edges would return tuples that looked like: (frozen_or_sage_set_of_two_elements, label) ? I think we should look carefully

[sage-devel] Re: Edges in graphs and order

2009-11-16 Thread Nick Alexander
There have been lots of times that I had to deal with the issue of the Graph edge (1,2) being the same as the edge (2,1); it's one of those thorns that keeps being a bit annoying, so I'm happy to have a small change that would take care of it. Maybe, to be consistent, Digraph edges should

[sage-devel] Re: Sage on Gentoo not supported?

2009-11-16 Thread Matt Rissler
Yes, I've been building from source. And both 32-bit and 64-bit. I haven't been running the tests, but nothing seems to be broken due to being on Gentoo. I will admit installing Gentoo on a machine, virtual or not, is a bit obtuse the first few times. I suppose I could build a Gentoo VB

[sage-devel] Re: Sage on Gentoo not supported?

2009-11-16 Thread William Stein
On Mon, Nov 16, 2009 at 10:11 AM, Matt Rissler discn...@gmail.com wrote: Yes, I've been building from source.  And both 32-bit and 64-bit.  I haven't been running the tests, but nothing seems to be broken due to being on Gentoo. I will admit installing Gentoo on a machine, virtual or not,

[sage-devel] Re: Edges in graphs and order

2009-11-16 Thread Nathann Cohen
I'm interested by what Robert Miller could have to say about the efficiency of all this Such a change could really slow things down, and I know nothing about such matters ! Nathann On Nov 16, 6:58 pm, Nick Alexander ncalexan...@gmail.com wrote: There have been lots of times that I had to

[sage-devel] Re: Sage on Gentoo not supported?

2009-11-16 Thread François Bissey
On Tue, 17 Nov 2009 07:14:41 William Stein wrote: On Mon, Nov 16, 2009 at 10:11 AM, Matt Rissler discn...@gmail.com wrote: Yes, I've been building from source. And both 32-bit and 64-bit. I haven't been running the tests, but nothing seems to be broken due to being on Gentoo. I will

[sage-devel] Re: Lorien Labs: an IDE for Sage

2009-11-16 Thread Alejandro Serrano Mena
Hello again, 2009/11/16 William Stein wst...@gmail.com On Mon, Nov 16, 2009 at 5:40 AM, Alejandro Serrano Mena trup...@gmail.com wrote: It usually means that you need to install libqscintilla2-dev and libqt4-dev, so development files are used. 1. What Linux distribution do you use to

[sage-devel] Re: [sage-release] sage-4.2.1

2009-11-16 Thread Nicolas M. Thiery
On Mon, Nov 16, 2009 at 02:26:16AM -0800, Pat LeSmithe wrote: On 11/16/2009 12:58 AM, Nicolas M. Thiery wrote: sage -clone is hanging during the call to Sphinx on my ubuntu 9.4 box, whereas it worked fine with 4.2.1 alpha0. Anyone else encountering this? The attached log was generated

[sage-devel] Re: Sage on Gentoo not supported?

2009-11-16 Thread Joel B. Mohler
On Monday 16 November 2009 01:14:41 pm William Stein wrote: Can you run make test on your 32 and 64 bit installs of sage-4.2.1 sometime, and report if they pass?I'm curious. I do not know about 4.2.1, but I'm pretty certain all tests passed on most versions of sage up till 4.1 on gentoo

[sage-devel] Re: Fwd: 3d mandelbrot

2009-11-16 Thread Jason Grout
Bill Hart wrote: Forwarded on behalf of Jason Moxham -- Forwarded message -- From: Jason Moxham ja...@njkfrudils.plus.com Date: 2009/11/16 Subject: Fwd: 3d mandelbrot To: William Stein wst...@gmail.com, Bill Hart goodwillh...@googlemail.com I'm not subscribed to the

[sage-devel] Sage Days 19

2009-11-16 Thread William Stein
Hi, We're going to have Sage Days 19 in a Mansion in Seattle January 16-20: http://wiki.sagemath.org/daysbug2 There may be 1 or 2 spots available. If you're highly interested in attending, please write to me. William -- William Stein Associate Professor of Mathematics University of

[sage-devel] Error when calling maxima.

2009-11-16 Thread Strav
If I run the code below: from scipy import integrate def fn(x): return cos(3*x)^4 res = integrate.quad(fn, 0, pi/6) - and then try: maxima(integrate(cos(3*x)^4)) I get: ---

[sage-devel] graph plotting defaults

2009-11-16 Thread William Stein
Hi, I was talking with two UW students (Kevin and Kazuo) who are brainstorming ways to improving plotting in graphs for Sage. One of the first things we tried was plotting a random graph (with a few components) in Mathematica. It looked massively better than Sage... but not because of the

[sage-devel] sage-4.2.1 binary on OS X 10.5 Intel

2009-11-16 Thread William Stein
Hi, Can somebody build a sage-4.2.1 binary on OS X 10.5 Intel? http://sage.math.washington.edu/home/wstein/farm/src/sage-4.2.1.tar I have 21 binaries now for 4.2.1, but none are OS X 10.5 intel: http://sage.math.washington.edu/home/wstein/binaries/ -- William -- William Stein

[sage-devel] Re: graph plotting defaults

2009-11-16 Thread Jason Grout
William Stein wrote: Hi, I was talking with two UW students (Kevin and Kazuo) who are brainstorming ways to improving plotting in graphs for Sage. One of the first things we tried was plotting a random graph (with a few components) in Mathematica. It looked massively better than

[sage-devel] Re: Error when calling maxima.

2009-11-16 Thread Robert Bradshaw
On Nov 16, 2009, at 4:47 PM, Strav wrote: If I run the code below: from scipy import integrate def fn(x): return cos(3*x)^4 res = integrate.quad(fn, 0, pi/6) - and then try: maxima(integrate(cos(3*x)^4)) I get:

[sage-devel] Re: sage-4.2.1 binary on OS X 10.5 Intel

2009-11-16 Thread mhampton
I can do that, starting now. -Marshall On Nov 16, 8:42 pm, William Stein wst...@gmail.com wrote: Hi, Can somebody build a sage-4.2.1 binary on OS X 10.5 Intel? http://sage.math.washington.edu/home/wstein/farm/src/sage-4.2.1.tar I have 21 binaries now for 4.2.1, but none are OS X 10.5

[sage-devel] Re: Error when calling maxima.

2009-11-16 Thread Nick Alexander
This is because when you type from scipy import integrate you are overwriting the integrate function. (There can only be one thing named integrate at a time in a given scope.) I agree that this is the cause, but it is still a bug. Why on earth does the toplevel integrate function have

[sage-devel] Re: Error when calling maxima.

2009-11-16 Thread Nick Alexander
On 16-Nov-09, at 8:08 PM, Nick Alexander wrote: This is because when you type from scipy import integrate you are overwriting the integrate function. (There can only be one thing named integrate at a time in a given scope.) I agree that this is the cause, but it is still a bug. Why on

[sage-devel] Re: Error when calling maxima.

2009-11-16 Thread William Stein
On Mon, Nov 16, 2009 at 8:11 PM, Nick Alexander ncalexan...@gmail.com wrote: On 16-Nov-09, at 8:08 PM, Nick Alexander wrote: This is because when you type from scipy import integrate you are overwriting the integrate function. (There can only be one thing named integrate at a time in a

[sage-devel] Re: graph plotting defaults

2009-11-16 Thread Rob Beezer
A few quick comments: * I think talk=True was a bad choice of option name. It's limiting, potentially conflicts with other options, etc. +1 This seems to happen often; an option gets implemented as a boolean, and later a similar option is added, ... when an option with several keyword