[sage-devel] Re: Sage 4.1.2.rc0 doctest failures on Fedora

2009-10-03 Thread Minh Nguyen
Hi William, On Sun, Oct 4, 2009 at 4:11 PM, William Stein wrote: > Thank you. Please open a 4.1.2 blocker for all these problems. I > think one ticket should be fine for this. Thanks! This is now ticket #7108 [1], a blocker against the Sage 4.1.2 release. [1] http://trac.sagemath.org/sag

[sage-devel] Re: Sage 4.1.2.rc0 doctest failures on Fedora

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 11:07 PM, Minh Nguyen wrote: > > Hi William, > > On Sun, Oct 4, 2009 at 12:06 PM, William Stein wrote: > > > >> Can you retry the errors listed below?  Were they due to a heavy load >> or do they happen every single time? > > I retried each doctest three times on cicero.

[sage-devel] Re: Sage 4.1.2.rc0 doctest failures on Fedora

2009-10-03 Thread Minh Nguyen
Hi William, On Sun, Oct 4, 2009 at 12:06 PM, William Stein wrote: > Can you retry the errors listed below?  Were they due to a heavy load > or do they happen every single time? I retried each doctest three times on cicero. Each retry resulted in the same errors. -- Regards Minh Van Nguyen

[sage-devel] Re: DiGraph methods predecessors and successors

2009-10-03 Thread Tom Boothby
On Sat, Oct 3, 2009 at 8:01 PM, Rob Beezer wrote: > > On Oct 3, 1:38 pm, Tom Boothby wrote: >  > This would clean up tab completion, and maybe even make it possible > to >> break the 12k line graph.py into more files.  Thoughts? > > Anything that would naturally slim down graph.py would be welco

[sage-devel] Re: weird sympy evalf behaviour

2009-10-03 Thread rjf
On Oct 3, 5:11 am, Fredrik Johansson wrote: My guess is that you have not talked this over with a numerical analyst. > The purpose of this code is *not* to add a list of binary > fractions accurately. It is unlikely that the best way to add a list of any numbers that you are given is to star

[sage-devel] Re: AbelianGroup's subgroups

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 8:07 PM, Rob Beezer wrote: > > On Oct 3, 6:05 pm, William Stein wrote: >> And this has already been almost completed by David Loeffler based >> on work by me.  http://trac.sagemath.org/sage_trac/ticket/6449 > > The work at #6449 creates additive abelian groups by extending

[sage-devel] Re: AbelianGroup's subgroups

2009-10-03 Thread Rob Beezer
On Oct 3, 6:05 pm, William Stein wrote: > And this has already been almost completed by David Loeffler based > on work by me.  http://trac.sagemath.org/sage_trac/ticket/6449 The work at #6449 creates additive abelian groups by extending the class for finitely-generated modules over ZZ. Assuming

[sage-devel] Re: DiGraph methods predecessors and successors

2009-10-03 Thread Rob Beezer
On Oct 3, 1:38 pm, Tom Boothby wrote: > This would clean up tab completion, and maybe even make it possible to > break the 12k line graph.py into more files.  Thoughts? Anything that would naturally slim down graph.py would be welcome. There is a noticeable lag every time I load the file in my

[sage-devel] Re: Here's a first pass at a Jmol javascript code to limit # of live Jmols on a page...

2009-10-03 Thread Jonathan Gutow
For those interested I've completed some more testing... 1) The example included in the .zip archive works on Linux (Ubuntu) with Firefox. 2) Windows XP SP3 + IE7/8 seems to break most pages that include javascript. I cannot get this example to work with that combination and many of my old

[sage-devel] Re: Sage 4.1.2.rc0 doctest failures on Fedora

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 12:42 AM, Minh Nguyen wrote: > > Hi folks, > > Sage 4.1.2.rc0 compiles OK on the following platform, but with doctest > failures: > > * Operating system: 32-bit Fedora 9 > * CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz > * RAM: 1 GB > * Computer name: cicero on SkyNet > > The fo

[sage-devel] Re: Sage Tutorial Article Set

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 4:36 AM, Harald Schilly wrote: > > On Oct 3, 12:49 pm, lutusp wrote: >> I am more than open to comments and criticism > > Hi, great work! I'll link to the page from the sage help page, as an > "external resource". > The only point i'm not happy with is the navigation of th

[sage-devel] Re: AbelianGroup's subgroups

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 1:30 PM, David Joyner wrote: > > The abelian group class needs to be rewritten. The basic idea > was to try to use GAP as much as possible and use > Python/Sage to parse input and output. For various > technical reasons, that did not work as nicely as hoped. > The correct s

[sage-devel] Fwd: Here's a first pass at a Jmol javascript code to limit # of live Jmols on a page...

2009-10-03 Thread William Stein
Hi, I just got this from a Jmol dev. I've posted his zip archive (mentioned below) here: http://wstein.org/home/wstein/patches/limited%20Live%20Example.zip William -- Forwarded message -- From: Jonathan Gutow Date: Sat, Oct 3, 2009 at 1:37 PM Subject: Here's a first pass a

[sage-devel] Re: dumps()

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 3:10 PM, Ethan Van Andel wrote: > > > > On Oct 3, 3:01 pm, Robert Bradshaw > wrote: >> On Oct 3, 2009, at 11:36 AM, Ethan Van Andel wrote: >> >> >> >> >> >> > I have a class Riemann Map, coded in cython and added to the sage >> > library. >> >> > I have this problem: Note

[sage-devel] Re: canvas3d_lib.js + Pre3d does shaded surfaces and works on iPhone, IE

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 4:04 PM, Peter wrote: > > Hi, > > Thanks to the pointer to Pre3d it is now possible to do shaded > surfaces (and lines and curves) on canvas in JavaScript. The > performance is not quite like jmol, but it is far better than I would > have expected (especially with Chrome),

[sage-devel] Re: imaginary and plot - an other error after the patch 6905 in sage 4.1.2 alpha 4

2009-10-03 Thread kcrisman
On Oct 3, 3:41 pm, Francois Maltey wrote: > Hello ! > > I test with success : > var('m') > > plot (m^2,m,0,6) # for one plot > plot ([m^3],m,0,6) # for one plot > plot(sqrt(m^2+1),m,0,6) > plot([sqrt(m^2+1)],m,0,6) > plot(real (sqrt(m^2+1)),m,0,6) > > They are all right > But this one fails : >

[sage-devel] Re: segfault one-liner

2009-10-03 Thread kcrisman
On Oct 2, 11:06 pm, Tom Boothby wrote: > On Fri, Oct 2, 2009 at 11:05 AM, kcrisman wrote: > > > This is fixed in some trac ticket. Hang on a second... #5556. Go > > ahead and review the patch! > > Nope, that doesn't do the job. Do you want to fix it on that ticket > or should I make another?

[sage-devel] Re: Polynomial Factoring Content Problem

2009-10-03 Thread Robert Bradshaw
On Oct 3, 2009, at 4:08 PM, rjf wrote: > Then would factoring 2*x-2 also reveal the bug? Or maybe factoring > 2 ? Nope. > It seems to me that for Pari to remove and then ignore the content > (in Z?) is a bug. Yep, I consider that strange too (though it does solve the "more interesting" p

[sage-devel] Re: Network problem...

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 7:39 AM, Florent Hivert wrote: > >      Dear all, > > When I try to connect (either by a browser or by mercurial) to > http://combinat.sagemath.org/ I get an error: I've restarted that virtual machine and now http://combinat.sagemath.org displays a message. However, how i

[sage-devel] Re: Polynomial Factoring Content Problem

2009-10-03 Thread rjf
Then would factoring 2*x-2 also reveal the bug? Or maybe factoring 2 ? It seems to me that for Pari to remove and then ignore the content (in Z?) is a bug. It would make some sense to optionally not factor such a content unless you want to also do integer factorization. On Oct 3, 11:51 

[sage-devel] canvas3d_lib.js + Pre3d does shaded surfaces and works on iPhone, IE

2009-10-03 Thread Peter
Hi, Thanks to the pointer to Pre3d it is now possible to do shaded surfaces (and lines and curves) on canvas in JavaScript. The performance is not quite like jmol, but it is far better than I would have expected (especially with Chrome), and it has the advantage of working on the iPhone (and perh

[sage-devel] Re: DiGraph methods predecessors and successors

2009-10-03 Thread Robert Bradshaw
On Oct 3, 2009, at 1:38 PM, Tom Boothby wrote: > On Sat, Oct 3, 2009 at 12:52 PM, Rob Beezer > wrote: >> >> On Oct 3, 2:47 am, Nathann Cohen wrote: >>> DiGraph.out_neighbors() and DiGraph.in_neighbors() would be much >>> easier to >>> find and more natural... >> >> I'd suggest >> >> neighbo

[sage-devel] desolve - returns sometimes equation and sometimes function

2009-10-03 Thread ma...@mendelu.cz
Hello all, studying the problem related to desolve and discussed in sage-suppport ( http://groups.google.cz/group/sage-support/browse_thread/thread/b6f6b6f056e80149 ), I have one more question: The function desolve ends with this: if soln.lhs() == dvar: soln = soln.rhs() So sometim

[sage-devel] Re: dumps()

2009-10-03 Thread Ethan Van Andel
On Oct 3, 3:01 pm, Robert Bradshaw wrote: > On Oct 3, 2009, at 11:36 AM, Ethan Van Andel wrote: > > > > > > > I have a class Riemann Map, coded in cython and added to the sage > > library. > > > I have this problem: Note that m is an instance of Riemann_Map and > > get_szego returns an array co

[sage-devel] broken desolve with initial conditions

2009-10-03 Thread ma...@mendelu.cz
Dear developers of Sage desolve seems to be broken for second order IVP. Some discussion is on http://groups.google.cz/group/sage-support/browse_thread/thread/b6f6b6f056e80149 I hope, I described the solution for the problem, byt I have not enough skills (yes) to write the patch. Is anybody inte

[sage-devel] Re: DiGraph methods predecessors and successors

2009-10-03 Thread Tom Boothby
On Sat, Oct 3, 2009 at 12:52 PM, Rob Beezer wrote: > > On Oct 3, 2:47 am, Nathann Cohen wrote: >> DiGraph.out_neighbors() and DiGraph.in_neighbors() would be much easier to >> find and more natural... > > I'd suggest > > neighbors_in() > neighbors_out() > neighbors() Now that *is* more natural.

[sage-devel] Re: AbelianGroup's subgroups

2009-10-03 Thread David Joyner
The abelian group class needs to be rewritten. The basic idea was to try to use GAP as much as possible and use Python/Sage to parse input and output. For various technical reasons, that did not work as nicely as hoped. The correct solution, may be to rewrite it from scratch completely separate fr

[sage-devel] Re: DiGraph methods predecessors and successors

2009-10-03 Thread Rob Beezer
On Oct 3, 2:47 am, Nathann Cohen wrote: > DiGraph.out_neighbors() and DiGraph.in_neighbors() would be much easier to > find and more natural... I'd suggest neighbors_in() neighbors_out() neighbors() to make tab completion easier and to group them next to each other when browsing commands with

[sage-devel] AbelianGroup's subgroups

2009-10-03 Thread Rob Beezer
The AbelianGroup class has an extremely welcome method that manufactures all subgroups of a finite abelian group. These groups are a big part of an introductory group theory course, so to be able to list and inspect all subgroups is a really great feature that I wish was more widespread. However

[sage-devel] imaginary and plot - an other error after the patch 6905 in sage 4.1.2 alpha 4

2009-10-03 Thread Francois Maltey
Hello ! I test with success : var('m') plot (m^2,m,0,6) # for one plot plot ([m^3],m,0,6) # for one plot plot(sqrt(m^2+1),m,0,6) plot([sqrt(m^2+1)],m,0,6) plot(real (sqrt(m^2+1)),m,0,6) They are all right But this one fails : plot([real (sqrt(m^2+1))],m,0,6) Of corse I don't want to plot only

[sage-devel] Re: dumps()

2009-10-03 Thread Robert Bradshaw
On Oct 3, 2009, at 11:36 AM, Ethan Van Andel wrote: > > I have a class Riemann Map, coded in cython and added to the sage > library. > > I have this problem: Note that m is an instance of Riemann_Map and > get_szego returns an array contained in m. > > sage: dumps(m) > 'x\x9ck`J.NLO\xd5KN\xccI.\x

[sage-devel] Re: Inconsistency in creating polynomials [Ticket #7101]...

2009-10-03 Thread Robert Bradshaw
On Oct 3, 2009, at 8:54 AM, Florent Hivert wrote: > > Hi sage developers, > > I need to play with polynomials on various kind of coefficients. So > I tried > the following: > > -- > | Sage Version 4.1.1, Release Date: 200

[sage-devel] Re: Network problem...

2009-10-03 Thread Robert Bradshaw
On Oct 3, 2009, at 7:39 AM, Florent Hivert wrote: > > Dear all, > > When I try to connect (either by a browser or by mercurial) to > http://combinat.sagemath.org/ I get an error: > > Proxy Error > The proxy server received an invalid response from an upstream server. > The proxy server cou

[sage-devel] Re: Polynomial Factoring Content Problem

2009-10-03 Thread Robert Bradshaw
On Oct 2, 2009, at 9:30 PM, rjf wrote: > hey, factoring-testing guys.. > If you make up factoring problems this way, you are probably not doing > much testing of the real factoring algorithms. Actually, given this bug has been in Sage for so long, the real issue is that for several years no on

[sage-devel] dumps()

2009-10-03 Thread Ethan Van Andel
I have a class Riemann Map, coded in cython and added to the sage library. I have this problem: Note that m is an instance of Riemann_Map and get_szego returns an array contained in m. sage: dumps(m) 'x\x9ck`J.NLO\xd5KN\xccI.\xcd)-\xd6+\xcaL\xcdM\xcc\xcb\xe3\n \x82\xd0\xf1\ \xbe\x89\x05\\\x85\x8

[sage-devel] Re: Class docstring

2009-10-03 Thread Ethan Van Andel
*facepalm* Thank you, that fixes it. Ethan --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at htt

[sage-devel] Re: Class docstring

2009-10-03 Thread Minh Nguyen
Hi Ethan, On Sun, Oct 4, 2009 at 3:40 AM, Ethan Van Andel wrote: > > I've got a class that looks like this: > > > cdef class Riemann_Map: > code > """ lots of documentation """ What happens if you do this instead? cdef class Riemann_Map: """ Lots of documentation. """

[sage-devel] Class docstring

2009-10-03 Thread Ethan Van Andel
I've got a class that looks like this: cdef class Riemann_Map: code """ lots of documentation """ but when I run sage, I get this: sage: Riemann_Map? Type: type Base Class: String Form: Namespace: Interactive File: /home/evlutte/opt/sage-4.1/local/li

[sage-devel] Re: DiGraph methods predecessors and successors

2009-10-03 Thread Tom Boothby
I don't think the names you're suggesting are any more natural or easy to find. I rather like successors and predecessors -- though I'd name them "parents" and "children", myself. On Sat, Oct 3, 2009 at 2:47 AM, Nathann Cohen wrote: > Hello everybody > > I thought odd, a few days ago when

[sage-devel] Inconsistency in creating polynomials [Ticket #7101]...

2009-10-03 Thread Florent Hivert
Hi sage developers, I need to play with polynomials on various kind of coefficients. So I tried the following: -- | Sage Version 4.1.1, Release Date: 2009-08-14 | | Type notebook() for the GUI, and li

[sage-devel] Re: Dollar signs in live documentation

2009-10-03 Thread John H Palmieri
On Oct 3, 3:02 am, Håkan Granath wrote: > Thank you for the reply! I see now that I mistakenly assumed that > #6892 was merged into sage-4.1.2.rc0. But then something else must > have changed. In sage-4.1.1 I could write simply > > """ > Notebook Keybindings > > > > - *Insert New HTML Cell:* Shi

[sage-devel] Network problem...

2009-10-03 Thread Florent Hivert
Dear all, When I try to connect (either by a browser or by mercurial) to http://combinat.sagemath.org/ I get an error: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /. Reason: DNS lookup failure for: c

[sage-devel] Re: weird sympy evalf behaviour

2009-10-03 Thread Fredrik Johansson
On Sat, Oct 3, 2009 at 4:07 AM, rjf wrote: > > > > On Oct 2, 5:32 pm, Fredrik Johansson > wrote: >> On Sat, Oct 3, 2009 at 12:58 AM, rjf wrote: >> >> > Reading the bug report it seemed to me that the code was determining >> > in some way that terms could be dropped off the sum because they were

[sage-devel] Re: Sage Tutorial Article Set

2009-10-03 Thread Harald Schilly
On Oct 3, 12:49 pm, lutusp wrote: > I am more than open to comments and criticism Hi, great work! I'll link to the page from the sage help page, as an "external resource". The only point i'm not happy with is the navigation of the page. The first time I looked at it I didn't understand that ther

[sage-devel] Re: Sage Tutorial Article Set

2009-10-03 Thread Minh Nguyen
Hi, On Sat, Oct 3, 2009 at 8:49 PM, lutusp wrote: > > Hello all. I have completed my Sage tutorial, located at: > > http://arachnoid.com/sage Thank you for providing an update on your completed tutorial. If you don't mind, I have linked to it from the Sage web site. The link can be found at ht

[sage-devel] For french developpers

2009-10-03 Thread Vincent Delecroix
Hi, I just propose a SAGE notice on the french platform of the promotion of free software Framasoft (http://www.framasoft.net/). Do not hesitate do modify or complete it: http://wiki.framasoft.info/PropositionNotice/SAGE Cheers, Vincent --~--~-~--~~~---~--~~

[sage-devel] Sage Tutorial Article Set

2009-10-03 Thread lutusp
Hello all. I have completed my Sage tutorial, located at: http://arachnoid.com/sage The tutorial has eight articles on various topics and includes downloadable example worksheets for each. I cover installation, basics, several Calculus topics, differential equations, an example that creates a se

[sage-devel] Re: Dollar signs in live documentation

2009-10-03 Thread Håkan Granath
Thank you for the reply! I see now that I mistakenly assumed that #6892 was merged into sage-4.1.2.rc0. But then something else must have changed. In sage-4.1.1 I could write simply """ Notebook Keybindings - *Insert New HTML Cell:* Shift click between cells to create a new HTML cell. Double c

[sage-devel] DiGraph methods predecessors and successors

2009-10-03 Thread Nathann Cohen
Hello everybody I thought odd, a few days ago when writing some script dealing with DiGraphs, that Sage had no methods to list out_neighbors and in_neighbors of a graph. I used the functions outgoing_edges and incoming_edges to find them, but still... When trying to write a patch for that, I

[sage-devel] Re: Dollar signs in live documentation

2009-10-03 Thread Mike Hansen
On Sat, Oct 3, 2009 at 3:49 PM, Håkan Granath wrote: > they will show up correctly in the static html and pdf files, but not > in the live html page. I also tried other variations, but could not > make it work on all three places. Am I missing something? All of the docstrings need to be processe

[sage-devel] Dollar signs in live documentation

2009-10-03 Thread Håkan Granath
I am trying to update the doc string of sage/server/notebook/config.py to make the dollar signs show up correctly (due to the changes in #6892), but if I try e.g. r""" Notebook Keybindings - *Insert New HTML Cell:* Shift click between cells to create a new HTML cell. Double click on existing H

[sage-devel] Re: Is environment variable SAGE_FAT_BINARY implemented ?

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 1:21 AM, Dr. David Kirkby wrote: > > The top level README.txt say SAGE_FAT_BINARY is planned, but not yet > implemented. Is that still so? Yes. William --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.c

[sage-devel] Re: Sage 4.1.2.rc0 doctest failures on Mac OS X 10.6

2009-10-03 Thread fwc
On Oct 3, 8:33 am, Minh Nguyen wrote: > The following doctests failed, most of which are to do with "mysterious > errors": I believe that these are the same errors reported in #7095. --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googl

[sage-devel] Is environment variable SAGE_FAT_BINARY implemented ?

2009-10-03 Thread Dr. David Kirkby
The top level README.txt say SAGE_FAT_BINARY is planned, but not yet implemented. Is that still so? dave --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubsc

[sage-devel] Sage 4.1.2.rc0 doctest failures on Fedora

2009-10-03 Thread Minh Nguyen
Hi folks, Sage 4.1.2.rc0 compiles OK on the following platform, but with doctest failures: * Operating system: 32-bit Fedora 9 * CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz * RAM: 1 GB * Computer name: cicero on SkyNet The following doctests failed: {{{ sage -t -long "devel/sage/sage/misc/randstate

[sage-devel] Re: Sage 4.1.2.rc0 doctest failures on Mac OS X 10.6

2009-10-03 Thread Minh Nguyen
On Sat, Oct 3, 2009 at 5:33 PM, Minh Nguyen wrote: > The full doctest log is up on sage.math [2]. > > [1] http://trac.sagemath.org/sage_trac/ticket/6681 > > [2] > http://sage.math.washington.edu/home/mvngu/doc/sage/doctest/sage-4.1.2/sage-4.1.2.rc0/fail/doctest-4.1.2.rc0-bsd-6681.log That sh

[sage-devel] Sage 4.1.2.rc0 doctest failures on Mac OS X 10.6

2009-10-03 Thread Minh Nguyen
Hi folks, Sage 4.1.2.rc0 compiles OK on the following platform with the cliquer spkg at ticket #6681 [1]: * Operating system: 64-bit Mac OS X 10.6 * CPU: Dual-Core Intel Xeon 2.66 GHz * RAM: 8 GB * Computer name: bsd.math The following doctests failed, most of which are to do with "mysterious e

[sage-devel] Re: Sage 4.1.2.rc0 released

2009-10-03 Thread Minh Nguyen
On Thu, Oct 1, 2009 at 5:39 PM, Minh Nguyen wrote: > Please test and report all issues. Sage 4.1.2.rc0 build and pass all doctests (also with the "-long" option) on the following platforms: * eno: 64-bit Fedora 9 with GCC 4.4.1 * lena: 64-bit Red Hat Enterprise Linux Server 5.3 with GCC 4.4.