Re: [sage-devel] GPL issues again - trivial ones this time !!!

2010-02-09 Thread Tim Daly
Try sending a question to FSF. I'm sure they'd give you an authoritative answer. Stallman has answered every question I ever sent him. Tim Daly Tom Boothby wrote: Context is important. The GPL doesn't say that every GPL'd interactive program must print a banner. It says that if such a banner

[sage-devel] Re: maxima replacing floats with rationals

2010-02-09 Thread Jason Grout
On 02/09/2010 07:32 PM, kcrisman wrote: Ah, that is very helpful. In this case the numerical approximations do indeed agree up to the output of n(). Perhaps we could potentially go back to keepfloat:false but with whatever the standard precision in Sage would equate to - Jason, would that help

[sage-devel] Re: maxima replacing floats with rationals

2010-02-09 Thread kcrisman
On Feb 9, 5:30 pm, rjf wrote: > On Feb 9, 7:19 am, kcrisman wrote: > > > ... snip... > > > As far as I understand it, using keepfloat:true is an attempt to keep > > things *more* exact, not less.  From Ticket #2400: > > +++ > > sage: f = e^(-x^2) > > sage: f.integrate(x, 0, 0.1) > > 2066*sq

Re: [sage-devel] GPL issues again - trivial ones this time !!!

2010-02-09 Thread Dan Drake
On Tue, 09 Feb 2010 at 11:54PM +, Dr. David Kirkby wrote: > Personally I find it odd that the notebook has nothing at all to > indicate it is GPL - not even a hint as to a command to display the > license. I do too. It's trivial to add something to the front page of the notebook -- something i

[sage-devel] Re: trac 7004: Refactor the graph layout code, and add interface with graphviz

2010-02-09 Thread Rado
>  * graph_editor was using iterations=1000 as default. Was there a >    reason? If yes, do we want to set this up as default value for all >    layouts? I think Mitesh added that part, so he should answer if there are any deep reasons for it. But most likely any value would work. As long as the u

[sage-devel] ticket #6583 breaks build on t2.math (SPARC Solaris 10 with GCC)

2010-02-09 Thread Minh Nguyen
Hi folks, David Kirkby has suspected that ticket #6583 would break the build of Sage on t2.math. I think I can now demonstrate that this is indeed the case. Starting with Sage 4.3, at David's suggestion I created Sage 4.3.0.1 [1] with only #6595 applied. I then created six alpha releases named Sag

Re: [sage-devel] trac 7004: Refactor the graph layout code, and add interface with graphviz

2010-02-09 Thread Robert Miller
On Tue, Feb 9, 2010 at 3:53 PM, Nicolas M. Thiery wrote: > Due to urgent needs for Sage days 20, I just rebased and worked > further on my patch for #7004: ... >  * What should be the default layout algorithm? >   * Planar layout when the graph is planar I wonder if this is a good idea. The Schny

Re: [sage-devel] GPL issues again - trivial ones this time !!!

2010-02-09 Thread Dr. David Kirkby
Tom Boothby wrote: Context is important. The GPL doesn't say that every GPL'd interactive program must print a banner. It says that if such a banner is printed by a current GPL'd programs, then *if you distribute a modified copy*, that copy must also print the banner. I would have thought man

Re: [sage-devel] GPL issues again - trivial ones this time !!!

2010-02-09 Thread Dr. David Kirkby
William Stein wrote: One of my favorite GPL'd programs is called "bash". Let's see what it does for a banner; wst...@ubuntu:~/sage/spkg/standard$ bash wst...@ubuntu:~$ exit There is no banner. William I think that case would be covered by the "(Exception: if the Program itself is

[sage-devel] trac 7004: Refactor the graph layout code, and add interface with graphviz

2010-02-09 Thread Nicolas M. Thiery
Dear graph/posets devs, Due to urgent needs for Sage days 20, I just rebased and worked further on my patch for #7004: Refactor the graph layout code, and add interface with graphviz It is now up on trac for review. See the ticket description for what was changed. The main improvement

Re: [sage-devel] Re: Incomplete tar file...

2010-02-09 Thread Florent Hivert
> No, it's broken on the server. Another binary was broken, too. I > thought it was only the one. Thanks for the info ! So now the metalink is no more in the web page. Is there a plan to put one back soon or should I start downloading and compiling the sources ? > (btw, quick way to check this is

[sage-devel] Re: maxima replacing floats with rationals

2010-02-09 Thread rjf
On Feb 9, 7:19 am, kcrisman wrote: > ... snip... > > As far as I understand it, using keepfloat:true is an attempt to keep > things *more* exact, not less.  From Ticket #2400: > +++ > sage: f = e^(-x^2) > sage: f.integrate(x, 0, 0.1) > 2066*sqrt(pi)/36741 > sage: f.integrate(x, 0, 1/10) > s

[sage-devel] Re: sympy gamma notebook updates

2010-02-09 Thread Ondrej Certik
On Tue, Feb 9, 2010 at 1:13 PM, Ondrej Certik wrote: [...] > * only tested in firefox and chromium in Linux. In opera (on linux), > shift+enter and backspace (when deleting cells) behaves funny, for > some reason, preventDefault (event) doesn't work in Opera. I didn't > test on IE8 yet, I hope it

Re: [sage-devel] GPL issues again - trivial ones this time !!!

2010-02-09 Thread Tom Boothby
Context is important. The GPL doesn't say that every GPL'd interactive program must print a banner. It says that if such a banner is printed by a current GPL'd programs, then *if you distribute a modified copy*, that copy must also print the banner. The "most ordinary manner of running Sage" isn

[sage-devel] sympy gamma notebook updates

2010-02-09 Thread Ondrej Certik
Hi, just wanted to give a brief status update. I improved the pyjamas version of the notebook here: http://gamma.sympy.org/nb/ it now shows the evaluate button, adding new cells work, joining cells work. Click on the "About" to get the sourcecode (BSD licensed). Compared to the current Sage not

Re: [sage-devel] Tab Completion Broken in 4.3.2

2010-02-09 Thread Nicolas M. Thiery
On Tue, Feb 09, 2010 at 12:36:09PM -0800, William Stein wrote: > This is caused by Nick Thiery's patch from trac 7921 which very badly > defines a __dir__ method for parents: Yup, sorry about that. I knew from the beginning that this implementation of __dir__, and in particular sage.structure.pare

Re: [sage-devel] Tab Completion Broken in 4.3.2

2010-02-09 Thread David Roe
AttributeError: 'sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingular' object has no attribute '__dict__' Looks like William's hypothesis is right. David On Tue, Feb 9, 2010 at 3:36 PM, Nick Alexander wrote: > > On 9-Feb-10, at 12:11 PM, Martin Albrecht wrote: > > Try

Re: [sage-devel] Tab Completion Broken in 4.3.2

2010-02-09 Thread Nick Alexander
On 9-Feb-10, at 12:11 PM, Martin Albrecht wrote: Try this: sage: P. = QQ[] sage: P. Could you try P.*? If that fails, there might be trouble with ipython. Nick -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage

Re: [sage-devel] Tab Completion Broken in 4.3.2

2010-02-09 Thread William Stein
On Tue, Feb 9, 2010 at 12:18 PM, David Roe wrote: > K. = GF(9) > K. > is also broken. > > But it's not just parents: > ZZ. works > > and it's not just the . syntax: > R. = Qp(5) > R. works > David The problem might be the lack of a __dict__ attribute: sage: P. = QQ[] sage: dir(P) ---

Re: [sage-devel] Tab Completion Broken in 4.3.2

2010-02-09 Thread David Roe
K. = GF(9) K. is also broken. But it's not just parents: ZZ. works and it's not just the . syntax: R. = Qp(5) R. works David On Tue, Feb 9, 2010 at 3:15 PM, Tom Boothby wrote: > It seems to work for some objects but not others... > > sage: P. = QQ[] > sage: x. > > works as expected. > > On Tue

Re: [sage-devel] Tab Completion Broken in 4.3.2

2010-02-09 Thread Tom Boothby
It seems to work for some objects but not others... sage: P. = QQ[] sage: x. works as expected. On Tue, Feb 9, 2010 at 12:11 PM, Martin Albrecht wrote: > Try this: > > sage: P. = QQ[] > sage: P. > > Nothing happens, any ideas? > > Martin > > > -- > name: Martin Albrecht > _pgp: http://pgp.mit.e

[sage-devel] Tab Completion Broken in 4.3.2

2010-02-09 Thread Martin Albrecht
Try this: sage: P. = QQ[] sage: P. Nothing happens, any ideas? Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://www.informatik.uni-bremen.de/~malb _jab: martinralbre...@jabber.ccc

Re: [sage-devel] GPL issues again - trivial ones this time !!!

2010-02-09 Thread William Stein
On Tue, Feb 9, 2010 at 10:35 AM, Robert Bradshaw wrote: > On Feb 9, 2010, at 12:44 AM, Dr. David Kirkby wrote: > >> From reading the GPL, it would appear that Sage should print more >> information than it currently does when it starts. >> >> Specifically >> >> 1) State the program comes with ABSOL

Re: [sage-devel] GPL issues again - trivial ones this time !!!

2010-02-09 Thread John Cremona
What's the right way to post a change to SAGE_ROOT/COPYING.txt (which is what is displayed when you run license(), as I just discovered)? It mentions mwrank which is obsolete (we now use eclib which is strictly larger), and the web address it gives for that is 2.5 years out of date. I can provide

Re: [sage-devel] GPL issues again - trivial ones this time !!!

2010-02-09 Thread Robert Bradshaw
On Feb 9, 2010, at 12:44 AM, Dr. David Kirkby wrote: From reading the GPL, it would appear that Sage should print more information than it currently does when it starts. Specifically 1) State the program comes with ABSOLUTELY NO WARRANTY when it starts up in command line mode 2) Should d

[sage-devel] Re: Heads up: Singular is migrating to cmake

2010-02-09 Thread kcrisman
> >  http://www.singular.uni-kl.de:8002/trac/browser/branches/cmake_migration > > which is likely to not work yet. I think we don't ship cmake with Sage yet so > this could present a challenge (also for the various ports). It might make However, Jaap recently posted (see http://groups.google.com/g

[sage-devel] Heads up: Singular is migrating to cmake

2010-02-09 Thread Martin Albrecht
Hi everyone, I was just made aware by Michael Brickenstein that Singular plans to migrate to cmake, cf. http://www.singular.uni-kl.de:8002/trac/browser/branches/cmake_migration which is likely to not work yet. I think we don't ship cmake with Sage yet so this could present a challenge (also

[sage-devel] Re: maxima replacing floats with rationals

2010-02-09 Thread kcrisman
On Feb 8, 7:53 pm, rjf wrote: > Keepfloat is explicitly set to false in the solve program, and the > comments in the source code say so. And there are other places this is mentioned as well. However, there is at least one (already existing, and not from a Sage user afaik) bug report of another

[sage-devel] Re: Incomplete tar file...

2010-02-09 Thread Harald Schilly
On Feb 9, 7:14 am, Florent Hivert wrote: > Is the a bug of aria2c or is the file incomplete ? No, it's broken on the server. Another binary was broken, too. I thought it was only the one. (btw, quick way to check this is gzip -t ) H -- To post to this group, send an email to sage-devel@google

Re: [sage-devel] GPL issues again - trivial ones this time !!!

2010-02-09 Thread Dr. David Kirkby
Nick Alexander wrote: 2) Display a notice on the browser window that the program is GPL, say it has no warranty etc, then say "To see the full terms of the license, type licence() at the Sage prompt" Isn't this enough? -- | S

Re: [sage-devel] Re: MPIR and GMP

2010-02-09 Thread Peter Jeremy
On 2010-Feb-08 22:16:52 +, "Dr. David Kirkby" wrote: >Georg S. Weber wrote: >> >> "... either version 2 of the License, or (at your option) any later >> version ..." > >Someone reviewed something I wrote for Sage, which I'd marked as GPL 2. They >wanted added "or (at your option) any later

Re: [sage-devel] GPL issues again - trivial ones this time !!!

2010-02-09 Thread Nick Alexander
2) Display a notice on the browser window that the program is GPL, say it has no warranty etc, then say "To see the full terms of the license, type licence() at the Sage prompt" Isn't this enough? -- | Sage Version 4.1.1, Re

[sage-devel] GPL issues again - trivial ones this time !!!

2010-02-09 Thread Dr. David Kirkby
From reading the GPL, it would appear that Sage should print more information than it currently does when it starts. Specifically 1) State the program comes with ABSOLUTELY NO WARRANTY when it starts up in command line mode 2) Should display the fact the program is GPL if used in a browser,