[sage-combinat-devel] Re: Reviewing categories code: bimodules.py

2009-10-03 Thread javier
On Oct 2, 9:50 pm, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: By the way: David Kohel is visiting me on Sunday evening, and we will try to finish the review of whichever categories remain at this point. So please keep us updated on your progress! I have tried to do some more reviews

[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 nguyenmi...@gmail.com wrote: SNIP 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

[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

[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 nguyenmi...@gmail.com wrote: SNIP The full doctest log is up on sage.math [2]. [1] http://trac.sagemath.org/sage_trac/ticket/6681 [2]

[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

[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] 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 nguyenmi...@gmail.com 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

[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 david.kir...@onetel.net 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] 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 snip - *Insert New HTML Cell:* Shift click between cells to create a new HTML cell. Double click on existing

[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 hakan.gran...@googlemail.com 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

[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 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 snip - *Insert New HTML Cell:* Shift click between cells to create a new HTML cell. Double

[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

[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] Re: Sage Tutorial Article Set

2009-10-03 Thread Minh Nguyen
Hi, On Sat, Oct 3, 2009 at 8:49 PM, lutusp lut...@gmail.com 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

[sage-devel] Re: Sage Tutorial Article Set

2009-10-03 Thread Harald Schilly
On Oct 3, 12:49 pm, lutusp lut...@gmail.com 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

[sage-devel] Re: weird sympy evalf behaviour

2009-10-03 Thread Fredrik Johansson
On Sat, Oct 3, 2009 at 4:07 AM, rjf fate...@gmail.com wrote: On Oct 2, 5:32 pm, Fredrik Johansson fredrik.johans...@gmail.com wrote: On Sat, Oct 3, 2009 at 12:58 AM, rjf fate...@gmail.com wrote: Reading the bug report it seemed to me that the code was determining in some way that terms

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

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

2009-10-03 Thread John H Palmieri
On Oct 3, 3:02 am, Håkan Granath hakan.gran...@googlemail.com 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 snip - *Insert

[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

[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 nathann.co...@gmail.com wrote: Hello everybody I thought odd, a

[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: type 'type' String Form:type 'sage.calculus.riemann.Riemann_Map' Namespace: Interactive File:

[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 evlu...@gmail.com 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] 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

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

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

[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 could not

[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: 2009-08-14

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

[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

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

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

2009-10-03 Thread Rob Beezer
On Oct 3, 2:47 am, Nathann Cohen nathann.co...@gmail.com 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

[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

[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 goo...@beezer.cotse.net wrote: On Oct 3, 2:47 am, Nathann Cohen nathann.co...@gmail.com wrote: DiGraph.out_neighbors() and DiGraph.in_neighbors() would be much easier to find and more natural... I'd suggest neighbors_in() neighbors_out()

[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

[sage-devel] Re: dumps()

2009-10-03 Thread Ethan Van Andel
On Oct 3, 3:01 pm, Robert Bradshaw rober...@math.washington.edu 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

[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

[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 goo...@beezer.cotse.net wrote: On Oct 3, 2:47 am, Nathann Cohen nathann.co...@gmail.com wrote: DiGraph.out_neighbors() and DiGraph.in_neighbors() would be much easier to find and more natural...

[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

[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] Re: Network problem...

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 7:39 AM, Florent Hivert florent.hiv...@univ-rouen.fr 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

[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

[sage-devel] Re: segfault one-liner

2009-10-03 Thread kcrisman
On Oct 2, 11:06 pm, Tom Boothby tomas.boot...@gmail.com wrote: On Fri, Oct 2, 2009 at 11:05 AM, kcrisman kcris...@gmail.com 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

[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 fmal...@nerim.fr 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: 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 peter.jip...@gmail.com 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

[sage-devel] Re: dumps()

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 3:10 PM, Ethan Van Andel evlu...@gmail.com wrote: On Oct 3, 3:01 pm, Robert Bradshaw rober...@math.washington.edu 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

[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 gu...@uwosh.edu Date: Sat, Oct 3, 2009 at 1:37 PM Subject:

[sage-devel] Re: AbelianGroup's subgroups

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 1:30 PM, David Joyner wdjoy...@gmail.com 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.

[sage-devel] Re: Sage Tutorial Article Set

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 4:36 AM, Harald Schilly harald.schi...@gmail.com wrote: On Oct 3, 12:49 pm, lutusp lut...@gmail.com 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

[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 nguyenmi...@gmail.com 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

[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: DiGraph methods predecessors and successors

2009-10-03 Thread Rob Beezer
On Oct 3, 1:38 pm, Tom Boothby tomas.boot...@gmail.com 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

[sage-devel] Re: AbelianGroup's subgroups

2009-10-03 Thread Rob Beezer
On Oct 3, 6:05 pm, William Stein wst...@gmail.com 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

[sage-devel] Re: AbelianGroup's subgroups

2009-10-03 Thread William Stein
On Sat, Oct 3, 2009 at 8:07 PM, Rob Beezer goo...@beezer.cotse.net wrote: On Oct 3, 6:05 pm, William Stein wst...@gmail.com 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

[sage-devel] Re: weird sympy evalf behaviour

2009-10-03 Thread rjf
On Oct 3, 5:11 am, Fredrik Johansson fredrik.johans...@gmail.com 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

[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 goo...@beezer.cotse.net wrote: On Oct 3, 1:38 pm, Tom Boothby tomas.boot...@gmail.com 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