[sage-devel] Re: http://wiki.sagemath.org/experimental_packages_available_for_SAGE

2008-01-20 Thread Jaap Spies

William Stein wrote:
 On Jan 19, 2008 3:51 PM, Jaap Spies [EMAIL PROTECTED] wrote:
 Michael.Abshoff wrote:
[...]
 I would suggest that we add a mechanism for optional/experimental spkgs
 to install other components like cmake.

 cmake is only needed to build vtk, but generally spoken it would be nice to
 have a mechanisme to resolve dependencies other than making meta packages.
 
 One possibility would be to make it so that
 
sage -i foo
 
 works to install the newest version of foo-version.spkg.  Then at the
 top of spkg-install
 you just put
 
sage -i dependency1
sage -i dependency2
 
 This would work fine as long as there are no circular dependency loops.
 
 What do you think of this proposal?
 

Works great as long dependency1 and dependency2 are in a place
'sage - i' can find. This makes the creation of meta packages
superfluous!

Jaap


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] MPolynomialRing.__str__

2008-01-20 Thread Martin Albrecht

Hi there,

I've submitted the patch

   http://trac.sagemath.org/sage_trac/ticket/1816

to trac and Nick refereed it. The patch implements that if a multivariate 
polynomial ring is 'print'ed the output is quite verbose and structured. This 
behavior was in repr_long() before.

EXAMPLE:

{{{
sage: P.x,y,z = 
PolynomialRing(QQ,order=TermOrder('degrevlex',1)+TermOrder('lex',2)) 
sage: print P
Multivariate Polynomial Ring
  Base Ring : Rational Field
   Size : 3 Variables
   Block  0 : Ordering : degrevlex
  Names: x
   Block  1 : Ordering : lex
  Names: y, z
}}}

Nick writes: That's *not* okay -- way too much by default but I disagree. 
The motivation for adding more (structured) information to the long 
representation came from the similar behavior of symbolic expressions:

EXAMPLE:

{{{
sage: f = x/var('y')
sage: f
x/y
sage: str(f)
'   
x\r\n   -\r\n   

y'
sage: print f
   x
   -
   y
}}}

Thus I figured it would be okay to have long representations returned by 
__str__. 

The question now is, how others think about it.

Cheers,
Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: MPolynomialRing.__str__

2008-01-20 Thread Martin Albrecht

On Sunday 20 January 2008, didier deshommes wrote:
 On Jan 20, 2008 11:20 AM, Martin Albrecht [EMAIL PROTECTED] 
wrote:
  Hi there,
 
  I've submitted the patch
 
 http://trac.sagemath.org/sage_trac/ticket/1816
 
  to trac and Nick refereed it. The patch implements that if a multivariate
  polynomial ring is 'print'ed the output is quite verbose and structured.
  This behavior was in repr_long() before.
 
  EXAMPLE:
 
  {{{
  sage: P.x,y,z =
  PolynomialRing(QQ,order=TermOrder('degrevlex',1)+TermOrder('lex',2))
  sage: print P
  Multivariate Polynomial Ring
Base Ring : Rational Field
 Size : 3 Variables
 Block  0 : Ordering : degrevlex
Names: x
 Block  1 : Ordering : lex
Names: y, z
  }}}

 Will
 sage: P

 give the same verbose output? If so, I would give this a -0: I don't
 like it but it won't bother me as much.

 didier

No, it would not. You can play with the behavior by considering symbolic 
expressions:

sage: x,y = var('x,y')
sage: x/y
sage: print x/y
sage: str(x/y)

Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.alpha notebook problem

2008-01-20 Thread bill purvis

On Saturday 19 January 2008, Jason Grout wrote:
 bill.p wrote:
  Further info: I've retried it a large number of times and it only
  happens occasionally.
  It's not related to any particular cell or content as I have seen it
  on several
  different cells during this testing.
  I managed to grab a copy of 'view page source' while it was hung up
  but can't
  see anything obvious.
 
  I have had no further error messages relating to this in the error
  console despite
  several times when it has hung up. I have tried downloading the
  javascript file
  which is included (javascript/js.main) but never get anything back.
  Using view
  page source only shows the link to it. I tracked down the source of
  this to
  find that it is generated 'on-the-fly' by server/js.py which makes it
  difficult to
  follow. Does it vary depending on context?

 If you install the web developer addon for firefox (go to
 https://addons.mozilla.org/en-US/firefox/addon/60 and click install),
 you can see the *generated* page source (i.e., what you are actually
 seeing, not just what was originally on the page).  Install the addon,
 restart Firefox, and note the additional toolbar.  Under the View
 Source option, select View Generated Source to see the actual source
 of what you are looking at, whether or not the source was generated on
 the fly or originally was there.

 The web developer toolbar is one of the best things Firefox has going
 for it for web developers.  Other things I've used it for were modifying
 the source or CSS styling of a page and seeing the page update in real
 time, examining the CSS structure of a page just by moving my mouse over
 elements, enabling or disabling features easily, changing the size of my
 browser to simulate smaller screen sizes, and lots of other things.

 The other firefox extension that might be useful here is Firebug,
 thought I think that at least some of firebug's functionality overlaps
 with web developer.

Thanks for that. It looks really useful. Took me while to find what I
wanted as there are so many facilities provided! All I have to do now is
to get the problem to reproduce!

Bill
-- 
+---+
| Bill Purvis, Amateur Mathematician|
|  email: [EMAIL PROTECTED]  |
|  http://bil.members.beeb.net  |
+---+

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.1.alpha0 released

2008-01-20 Thread Jaap Spies

mabshoff wrote:
 Hello folks,
 
[...]
 
 The tarball [201MB] is available at
 
 http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10.1/sage-2.10.1.alpha0.tar
 

File tut.py, line 3574:
 : factor(f)
Expected:
 9 * (-x^5 + y^2)^2 * (x^6 - 2*x^3*y^2 - x^2*y^3 + y^4)
Got:
 (9) * (-x^5 + y^2)^2 * (x^6 - 2*x^3*y^2 - x^2*y^3 + y^4)
**
1 items had failures:
1 of   3 in __main__.example_121
***Test Failed*** 1 failures.
For whitespace errors, see the file .doctest_tut.tex
  [34.6 s]
exit code: 256

But:

--
All tests passed!
Total time for all tests: 2595.4 seconds
Please see /home/jaap/downloads/sage-2.10.1.alpha0/tmp/test.log for the 
complete log from this test.
[EMAIL PROTECTED] sage-2.10.1.alpha0]$


Cheers,

Jaap




--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Experimental packages cleanup

2008-01-20 Thread Jaap Spies

There are two main entrances to the Experimental Packages:

http://wiki.sagemath.org/experimental_packages_available_for_SAGE

and

http://www.sagemath.org/packages/experimental/

They seem to be out of sync.

If you are an active maintainer of one or more experimental packages,
please step forward and give us some details. From a message of Michael
Abshoff:

 You should stick the description of the spks into the
 spkg prefix like
 
 http://wiki.sagemath.org/spkg/mpfr
 
 and also add a SPKG.txt (if it isn't already there) in the format of
 
 http://wiki.sagemath.org/spkgTemplate

E-mail me off list if you want me to do it for you.

Some of the items on the lists seem obsolete. Maybe William or Michael
can do an update?

Jaap




--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: MPolynomialRing.__str__

2008-01-20 Thread Nick Alexander


On 20-Jan-08, at 9:27 AM, Martin Albrecht wrote:


 On Sunday 20 January 2008, didier deshommes wrote:
 On Jan 20, 2008 11:20 AM, Martin Albrecht [EMAIL PROTECTED] 
 bremen.de
 wrote:
 Hi there,

 I've submitted the patch

http://trac.sagemath.org/sage_trac/ticket/1816

 to trac and Nick refereed it. The patch implements that if a  
 multivariate
 polynomial ring is 'print'ed the output is quite verbose and  
 structured.
 This behavior was in repr_long() before.

 EXAMPLE:

 {{{
 sage: P.x,y,z =
 PolynomialRing(QQ,order=TermOrder('degrevlex',1)+TermOrder('lex',2))
 sage: print P
 Multivariate Polynomial Ring
   Base Ring : Rational Field
Size : 3 Variables
Block  0 : Ordering : degrevlex
   Names: x
Block  1 : Ordering : lex
   Names: y, z
 }}}

 Will
 sage: P

 give the same verbose output? If so, I would give this a -0: I don't
 like it but it won't bother me as much.

 didier

 No, it would not. You can play with the behavior by considering  
 symbolic
 expressions:

 sage: x,y = var('x,y')
 sage: x/y
 sage: print x/y
 sage: str(x/y)

I've always hated that x/y and print x/y can do different things at  
the prompt, but it sounds like I'm fighting a losing battle.

Can someone (malb?) briefly document what the Sage standard for str  
and repr should be, so we can start updating the code?

Thanks!
Nick

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: German Sage Introduction

2008-01-20 Thread Harald Schilly

On Jan 18, 2:07 pm, David Joyner [EMAIL PROTECTED] wrote:
 .. but
 if someone wants
 to re-edit or even remove it, it won't bother me.

I've rewritten a lot to break it down to the most important facts
first and then three sub-pages for more information about installation
and usage. I think this is now enough to get an impression for the
German speaking crowd. Please review/comment/edit as you like.

http://wiki.sagemath.org/SAGE-intro-German

Harald
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: trac naming convention for patches and bundles

2008-01-20 Thread Nick Alexander


On 20-Jan-08, at 9:18 AM, Jaap Spies wrote:


 Hi,

 I see a lot of variation in naming:

 1746.patch
 1653.hg
 trac-1855.patch
 trac_1715.patch
 trac_1485_matrix-group_reverse_.patch

 Maybe it's a good thing to have a naming convention, say

I think so.  I always attach my name, because I find it helps me keep  
track of what I have been involved in and helps attribute patches.

Nick

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: German Sage Introduction

2008-01-20 Thread Alfredo Portes

On Jan 20, 2008 2:25 PM, Alfredo Portes [EMAIL PROTECTED] wrote:
 Same can be said for http://wiki.sagemath.org/SAGE-intro-Spanish

Can anyone tell me where is the English version of this document if
there is one.

Thank you,

Alfredo

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: trac naming convention for patches and bundles

2008-01-20 Thread Jaap Spies

Nick Alexander wrote:
 
 On 20-Jan-08, at 9:18 AM, Jaap Spies wrote:

 Maybe it's a good thing to have a naming convention, say
 
 I think so.  I always attach my name, because I find it helps me keep  
 track of what I have been involved in and helps attribute patches.
 

You can always attach your nickname :-)

 Nick
 

Jaap


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Experimental packages cleanup

2008-01-20 Thread mabshoff

On Jan 20, 7:29 pm, Jaap Spies [EMAIL PROTECTED] wrote:

Hi Jaap,

 There are two main entrances to the Experimental Packages:

 http://wiki.sagemath.org/experimental_packages_available_for_SAGE

 and

 http://www.sagemath.org/packages/experimental/

 They seem to be out of sync.

Yep. But  http://www.sagemath.org/packages/experimental/ is
autogenerated via script while 
http://wiki.sagemath.org/experimental_packages_available_for_SAGE
is hand edited. So http://www.sagemath.org/packages/experimental/
cannot be out of date, it is the official repo after all :)

Ticket #855 suggests the right way to do this: all spkgs should have
some sort of description file. The way I would like to solve this is
the following way:

 a) add a link from http://www.sagemath.org/packages/experimental/index.html
for all spkgs that link to a standard location in the wiki, i.e.
wiki.sagemath.org/spkg/foo for experimental spkg foo
 b) Add all possible information in that wiki page in the SpkgTemplate
format. That format could still use some discussion. I have started to
add SPKG.txt to most  spkgs I worked on in the last couple weeks,
especially if they were totally void of documentation and proved
somewhat tricky to get hold of the sources.

After that I would remove all hand edited spkg listings in the wiki in
favour of the autogenerated ones since the hand edited ones will go
out of sync sooner or later and we should avoid duplicating content
between the different websites.

 If you are an active maintainer of one or more experimental packages,
 please step forward and give us some details. From a message of Michael
 Abshoff:

  You should stick the description of the spks into the
  spkg prefix like

 http://wiki.sagemath.org/spkg/mpfr

  and also add a SPKG.txt (if it isn't already there) in the format of

 http://wiki.sagemath.org/spkgTemplate

 E-mail me off list if you want me to do it for you.

Ironically you did put the newly created descriptions for foo in
wiki.sagemath.org/foo instead of wiki.sagemath.org/spkg/foo - was that
an oversight?

 Some of the items on the lists seem obsolete. Maybe William or Michael
 can do an update?

Sure. Let me catch up on yesterday's email about which packages to
update, I will do so in the next couple hours.

 Jaap

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.1.alpha0 released

2008-01-20 Thread mabshoff



On Jan 20, 7:07 pm, Jaap Spies [EMAIL PROTECTED] wrote:
 mabshoff wrote:
  Hello folks,

Hi Jaap,

 [...]

  The tarball [201MB] is available at

 http://sage.math.washington.edu/home/mabshoff/release-cycles-2.10.1/s...

 File tut.py, line 3574:
  : factor(f)
 Expected:
  9 * (-x^5 + y^2)^2 * (x^6 - 2*x^3*y^2 - x^2*y^3 + y^4)
 Got:
  (9) * (-x^5 + y^2)^2 * (x^6 - 2*x^3*y^2 - x^2*y^3 + y^4)
 **
 1 items had failures:
 1 of   3 in __main__.example_121
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file .doctest_tut.tex
   [34.6 s]
 exit code: 256

Thanks, I overlooked that one since I released in somewhat of a hurry
and in a rather tired state. But for an alpha0 I am quite satisfied
with the number of bug reports so far. It is time that somebody
implements cwitty's suggestion that the summary of the testall in the
end will also list failures in the tex documents.

 But:

 --
 All tests passed!
 Total time for all tests: 2595.4 seconds
 Please see /home/jaap/downloads/sage-2.10.1.alpha0/tmp/test.log for the 
 complete log from this test.
 [EMAIL PROTECTED] sage-2.10.1.alpha0]$

 Cheers,

 Jaap

Thanks Jaap for testing *every* release :)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Experimental packages cleanup

2008-01-20 Thread Jaap Spies

mabshoff wrote:
 On Jan 20, 7:29 pm, Jaap Spies [EMAIL PROTECTED] wrote:
 
 Hi Jaap,
 
 There are two main entrances to the Experimental Packages:

 http://wiki.sagemath.org/experimental_packages_available_for_SAGE

 and

 http://www.sagemath.org/packages/experimental/

 They seem to be out of sync.
 

Hi Michael,

 Yep. But  http://www.sagemath.org/packages/experimental/ is
 autogenerated via script while 
 http://wiki.sagemath.org/experimental_packages_available_for_SAGE
 is hand edited. So http://www.sagemath.org/packages/experimental/
 cannot be out of date, it is the official repo after all :)
 

Still I think there is some dead wood there :)
And there is lot of room in the second column to give more information!
This also applies to the Optional Packages.

 Ticket #855 suggests the right way to do this: all spkgs should have
 some sort of description file. The way I would like to solve this is
 the following way:
 
  a) add a link from http://www.sagemath.org/packages/experimental/index.html
 for all spkgs that link to a standard location in the wiki, i.e.
 wiki.sagemath.org/spkg/foo for experimental spkg foo
  b) Add all possible information in that wiki page in the SpkgTemplate
 format. That format could still use some discussion. I have started to
 add SPKG.txt to most  spkgs I worked on in the last couple weeks,
 especially if they were totally void of documentation and proved
 somewhat tricky to get hold of the sources.

Section 3.3 of the Programmer's Guide needs updating too.

 
 After that I would remove all hand edited spkg listings in the wiki in
 favour of the autogenerated ones since the hand edited ones will go
 out of sync sooner or later and we should avoid duplicating content
 between the different websites.
 

Sure, seems good to me.

 If you are an active maintainer of one or more experimental packages,
 please step forward and give us some details. From a message of Michael
 Abshoff:

 You should stick the description of the spks into the
 spkg prefix like
 http://wiki.sagemath.org/spkg/mpfr
 and also add a SPKG.txt (if it isn't already there) in the format of
 http://wiki.sagemath.org/spkgTemplate
 E-mail me off list if you want me to do it for you.
 
 Ironically you did put the newly created descriptions for foo in
 wiki.sagemath.org/foo instead of wiki.sagemath.org/spkg/foo - was that
 an oversight?
 

No, it was you who recommanded me to add info on
http://wiki.sagemath.org/experimental_packages_available_for_SAGE.
Very ironically :)!
Ok, I should follow the leader :), but in this case I followed the link
to spkgTemplate, filled that with info.

 Some of the items on the lists seem obsolete. Maybe William or Michael
 can do an update?
 
 Sure. Let me catch up on yesterday's email about which packages to
 update, I will do so in the next couple hours.
 

Jaap


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: trac naming convention for patches and bundles

2008-01-20 Thread mabshoff

On Jan 20, 8:50 pm, Jaap Spies [EMAIL PROTECTED] wrote:
 Nick Alexander wrote:

Hi,

  On 20-Jan-08, at 9:18 AM, Jaap Spies wrote:
  Maybe it's a good thing to have a naming convention, say

I am not to big a fan of this since I keep all my open source patches
in another place and I do prefix them with the project and release
number. I am also a big fan of a descriptive patch name versus trac-
.patch because remembering the issue is much simpler than the trac
number. And I assume that I am actually the person who does remember
most trac tickets by content ;)

  I think so.  I always attach my name, because I find it helps me keep
  track of what I have been involved in and helps attribute patches.

 You can always attach your nickname :-)

  Nick

 Jaap

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Experimental packages cleanup

2008-01-20 Thread mabshoff



On Jan 20, 9:24 pm, Jaap Spies [EMAIL PROTECTED] wrote:
 mabshoff wrote:
  On Jan 20, 7:29 pm, Jaap Spies [EMAIL PROTECTED] wrote:

  Hi Jaap,

  There are two main entrances to the Experimental Packages:

 http://wiki.sagemath.org/experimental_packages_available_for_SAGE

  and

 http://www.sagemath.org/packages/experimental/

  They seem to be out of sync.

 Hi Michael,

  Yep. But  http://www.sagemath.org/packages/experimental/is
  autogenerated via script 
  whilehttp://wiki.sagemath.org/experimental_packages_available_for_SAGE
  is hand edited. Sohttp://www.sagemath.org/packages/experimental/
  cannot be out of date, it is the official repo after all :)

 Still I think there is some dead wood there :)
 And there is lot of room in the second column to give more information!
 This also applies to the Optional Packages.

  Ticket #855 suggests the right way to do this: all spkgs should have
  some sort of description file. The way I would like to solve this is
  the following way:

   a) add a link fromhttp://www.sagemath.org/packages/experimental/index.html
  for all spkgs that link to a standard location in the wiki, i.e.
  wiki.sagemath.org/spkg/foo for experimental spkg foo
   b) Add all possible information in that wiki page in the SpkgTemplate
  format. That format could still use some discussion. I have started to
  add SPKG.txt to most  spkgs I worked on in the last couple weeks,
  especially if they were totally void of documentation and proved
  somewhat tricky to get hold of the sources.

 Section 3.3 of the Programmer's Guide needs updating too.



  After that I would remove all hand edited spkg listings in the wiki in
  favour of the autogenerated ones since the hand edited ones will go
  out of sync sooner or later and we should avoid duplicating content
  between the different websites.

 Sure, seems good to me.

  If you are an active maintainer of one or more experimental packages,
  please step forward and give us some details. From a message of Michael
  Abshoff:

  You should stick the description of the spks into the
  spkg prefix like
 http://wiki.sagemath.org/spkg/mpfr
  and also add a SPKG.txt (if it isn't already there) in the format of
 http://wiki.sagemath.org/spkgTemplate
  E-mail me off list if you want me to do it for you.

  Ironically you did put the newly created descriptions for foo in
  wiki.sagemath.org/foo instead of wiki.sagemath.org/spkg/foo - was that
  an oversight?

 No, it was you who recommanded me to add info 
 onhttp://wiki.sagemath.org/experimental_packages_available_for_SAGE.
 Very ironically :)!
 Ok, I should follow the leader :), but in this case I followed the link
 to spkgTemplate, filled that with info.

Sure, what I meant was that for example

http://wiki.sagemath.org/cmake

should be

http://wiki.sagemath.org/spkg/cmake

Adding the spkgs to 
http://wiki.sagemath.org/experimental_packages_available_for_SAGE
was meant as a temporary workaround until we sort all the issues for
automated spkg pages since I don't think this will happen this week.

  Some of the items on the lists seem obsolete. Maybe William or Michael
  can do an update?

  Sure. Let me catch up on yesterday's email about which packages to
  update, I will do so in the next couple hours.

 Jaap

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: MPolynomialRing.__str__

2008-01-20 Thread William Stein

On Jan 20, 2008 1:18 PM, Martin Albrecht [EMAIL PROTECTED] wrote:

  I've always hated that x/y and print x/y can do different things at
  the prompt, but it sounds like I'm fighting a losing battle.
 
  Can someone (malb?) briefly document what the Sage standard for str
  and repr should be, so we can start updating the code?
 
  Thanks!
  Nick

 Hi,

 I can write up the standard once we agreed on it, but before we jump to
 conclusions and you declare defeat: can we gather more opinions on this? If
 you don't agree on a design decision, that makes me kinda nervous :-)

+1

Same here.  And just because I've put in my personal desire for how
things should be, doesn't mean we'll be going with that.  E.g., recall
the recent discussion involving implicit multiplication by _default_
where personally I was all for it but after some discussion we still
decided not to do it.

William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: MPolynomialRing.__str__

2008-01-20 Thread Martin Albrecht

 I've always hated that x/y and print x/y can do different things at
 the prompt, but it sounds like I'm fighting a losing battle.

 Can someone (malb?) briefly document what the Sage standard for str
 and repr should be, so we can start updating the code?

 Thanks!
 Nick

Hi,

I can write up the standard once we agreed on it, but before we jump to 
conclusions and you declare defeat: can we gather more opinions on this? If 
you don't agree on a design decision, that makes me kinda nervous :-)

Martin


-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 2.10.1.alpha0 released

2008-01-20 Thread Nick Alexander


 Jaap

 Thanks Jaap for testing *every* release :)

Yes, thanks Jaap!  Your contribution is very important.

Nick

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: MPolynomialRing.__str__

2008-01-20 Thread Simon King

Dear Nick

On Jan 20, 8:24 pm, Nick Alexander [EMAIL PROTECTED] wrote:
 I've always hated that x/y and print x/y can do different things at
 the prompt, but it sounds like I'm fighting a losing battle.

Sorry for coming into your discussion. I actually appreciate that x/y
and print x/y do different things, for the following reason.

If someone defines some sage object X and just types
sage: X
then the command is very short, and when i ask a short question, the
answer ought to be short as well.

On the other hand, if the user's demand on displaying X is more
elaborate, such as
sage: print X
then the displayed information should be more elaborate as well.

Hence, it makes sense to me that X.__repr__() (which is invoked by
sage: X) just returns a brief description, while X.__str__() (invoked
by sage: print X) can be more lengthy and should be descriptive enough
to reconstruct X.

Yours
 Simon

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage 2.10 experimental ebuild for Gentoo

2008-01-20 Thread mabshoff



On Jan 21, 12:15 am, Francois [EMAIL PROTECTED] wrote:
 Hi,

 this is to point people interested in testing things on Gentoo towards
 the ebuild I just posted in 
 bug#201321http://bugs.gentoo.org/show_bug.cgi?id=201321

Looks nice, but:

LICENSE=GPL-2

should be GPL-2 or later or whatever the Gentoo equivalent of that
is.

KEYWORDS=x86 ppc

Seems like you are missing x86-64? ppc64 is also an option assuming
that the compiler produces 64 bit code by default. I have some box set
up to test this, but as demand has been rather low I haven't gotten
around to it.

 It compiles and install. I still chicken on using any python related
 packages
 provided by portage over the sage ones.
 It currently fails one test on my machine (qqbar.py) and I am still
 investigating
 what may cause it. But I decided to post it anyway so people know that
 they
 have something they can play with and see if there really is an
 interest in this.

Can you post a list of the qqbar failure?

 On a side note using maxima-5.14 with this ebuild will fail various
 test, the
 maxima version of course as well as one test in calculus.py, one in
 combinat.py
 (if my memory serves me right) and an other one that escape me.

Interesting. We plan to update to Maxima 5.14 shortly and will see
what all those issues are about.

 Cheers,
 Francois

Keep up the good work :)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: German Sage Introduction

2008-01-20 Thread David Joyner

It's at
http://wiki.sagemath.org/A_short_introduction_to_SAGE
I updated it a bit a few days ago but it could use more editing.

On Jan 20, 2008 2:51 PM, Alfredo Portes [EMAIL PROTECTED] wrote:

 On Jan 20, 2008 2:25 PM, Alfredo Portes [EMAIL PROTECTED] wrote:
  Same can be said for http://wiki.sagemath.org/SAGE-intro-Spanish

 Can anyone tell me where is the English version of this document if
 there is one.

 Thank you,

 Alfredo


 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: MPolynomialRing.__str__

2008-01-20 Thread Nick Alexander


On 20-Jan-08, at 2:47 PM, Simon King wrote:


 Dear Nick

 On Jan 20, 8:24 pm, Nick Alexander [EMAIL PROTECTED] wrote:
 I've always hated that x/y and print x/y can do different things at
 the prompt, but it sounds like I'm fighting a losing battle.

 Sorry for coming into your discussion. I actually appreciate that x/y
 and print x/y do different things, for the following reason.

 If someone defines some sage object X and just types
 sage: X
 then the command is very short, and when i ask a short question, the
 answer ought to be short as well.

 On the other hand, if the user's demand on displaying X is more
 elaborate, such as
 sage: print X
 then the displayed information should be more elaborate as well.

One reason that I don't like this is that in the notebook, only the  
final 'sage: X' shows that way.  Before that, one must use print.   
Why the different semantics?

Nick

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage 2.10 experimental ebuild for Gentoo

2008-01-20 Thread Francois



On Jan 21, 12:36 pm, mabshoff [EMAIL PROTECTED]
dortmund.de wrote:
 On Jan 21, 12:15 am, Francois [EMAIL PROTECTED] wrote:

  Hi,

  this is to point people interested in testing things on Gentoo towards
  the ebuild I just posted in 
  bug#201321http://bugs.gentoo.org/show_bug.cgi?id=201321

 Looks nice, but:

 LICENSE=GPL-2

 should be GPL-2 or later or whatever the Gentoo equivalent of that
 is.

 KEYWORDS=x86 ppc

 Seems like you are missing x86-64? ppc64 is also an option assuming
 that the compiler produces 64 bit code by default. I have some box set
 up to test this, but as demand has been rather low I haven't gotten
 around to it.

  It compiles and install. I still chicken on using any python related
  packages
  provided by portage over the sage ones.
  It currently fails one test on my machine (qqbar.py) and I am still
  investigating
  what may cause it. But I decided to post it anyway so people know that
  they
  have something they can play with and see if there really is an
  interest in this.

 Can you post a list of the qqbar failure?

  On a side note using maxima-5.14 with this ebuild will fail various
  test, the
  maxima version of course as well as one test in calculus.py, one in
  combinat.py
  (if my memory serves me right) and an other one that escape me.

 Interesting. We plan to update to Maxima 5.14 shortly and will see
 what all those issues are about.

  Cheers,
  Francois

 Keep up the good work :)

 Cheers,

 Michael

Hi Michael,

I will do something about the license. In the maintime here is
qqbar.py failure:
File qqbar.py, line 3075:
sage: cp.complex_roots(30, 1)
Expected:
[[1.1892071150027208 .. 1.1892071150027213],
[-1.1892071150027213 .. -1.18920711500272...], [1.1892071150027208 ..
1.1892071150027213]*I, [-1.1892071150027213 .. -1.1892071150027208]*I]
Got:
[[1.1892071150027208 .. 1.1892071150027213],
[-1.1892071150027213 .. -1.1892071150027210], [1.1892071150027210 ..
1.1892071150027213]*I, [-1.1892071150027213 .. -1.1892071150027208]*I]
**
1 items had failures:
   1 of   3 in __main__.example_76
***Test Failed*** 1 failures.

If that's of any importance I actually used gsl-1.10 not 1.9 during
compilation.
For the keywords, I only put arch that I can test myself and I kind of
inherited
it from the 2.8.15 ebuild.
Note that the normal procedure is to only put ~x86 and people on
other arch
then test the ebuild and can add their keywords. Just putting x86 in
keyword
is not an obstacle to you trying to build on ppc64 for example, you
just add an
appropriate entry in /etc/portage/package.keyword (I have a number of
those
on my ppc machine, I should fill bugs for them really).

Cheers,
Francois
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] sage 2.10 experimental ebuild for Gentoo

2008-01-20 Thread Francois

Hi,

this is to point people interested in testing things on Gentoo towards
the ebuild I just posted in bug#201321
http://bugs.gentoo.org/show_bug.cgi?id=201321

It compiles and install. I still chicken on using any python related
packages
provided by portage over the sage ones.
It currently fails one test on my machine (qqbar.py) and I am still
investigating
what may cause it. But I decided to post it anyway so people know that
they
have something they can play with and see if there really is an
interest in this.

On a side note using maxima-5.14 with this ebuild will fail various
test, the
maxima version of course as well as one test in calculus.py, one in
combinat.py
(if my memory serves me right) and an other one that escape me.

Cheers,
Francois
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: German Sage Introduction

2008-01-20 Thread Alfredo Portes

Thank you David.

Is the wiki down?

On Jan 20, 2008 5:38 PM, David Joyner [EMAIL PROTECTED] wrote:

 It's at
 http://wiki.sagemath.org/A_short_introduction_to_SAGE
 I updated it a bit a few days ago but it could use more editing.


 On Jan 20, 2008 2:51 PM, Alfredo Portes [EMAIL PROTECTED] wrote:
 
  On Jan 20, 2008 2:25 PM, Alfredo Portes [EMAIL PROTECTED] wrote:
   Same can be said for http://wiki.sagemath.org/SAGE-intro-Spanish
 
  Can anyone tell me where is the English version of this document if
  there is one.
 
  Thank you,
 
  Alfredo
 
 
  
 


 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: German Sage Introduction

2008-01-20 Thread mabshoff



On Jan 21, 2:11 am, mabshoff [EMAIL PROTECTED]
dortmund.de wrote:
 On Jan 21, 2:05 am, Alfredo Portes [EMAIL PROTECTED] wrote:

  Thank you David.

  Is the wiki down?

 Looks like it ... investigating.

Restarting it as suggested by William did teh trick. Note that instead
of LaTeX we no use jsmath fonts.

 Cheers,

 Michael

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: German Sage Introduction

2008-01-20 Thread Alfredo Portes

On Jan 20, 2008 8:37 PM, mabshoff
[EMAIL PROTECTED] wrote:

 Restarting it as suggested by William did teh trick. Note that instead
 of LaTeX we no use jsmath fonts.

Thanks. I think links to these introductions in different languages should be
in the main page or in the frontpage of the wiki.

Regards,

Alfredo

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Online free sage notebook slowness

2008-01-20 Thread William Stein

On Jan 20, 2008 10:44 PM, Timothy Clemans [EMAIL PROTECTED] wrote:

 I'm just getting the black box with the JMOL logo.


Try restarting your web browser and using Firefox.

 On Jan 20, 10:35 pm, William Stein [EMAIL PROTECTED] wrote:
  On Jan 20, 2008 10:09 PM, Timothy Clemans [EMAIL PROTECTED] wrote:
 
 
 
   Interactive 3d plotting isn't working on the public notebook but does
   work on my personal notebooks on sage.math.
 
  It works fine for me.  What error message are you getting?
 
   -- William

 




-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Confusing Possible GPL CC Conflict

2008-01-20 Thread William Stein

On Jan 20, 2008 10:50 PM, Timothy Clemans [EMAIL PROTECTED] wrote:

 The message that started this is
 http://en.wikipedia.org/wiki/Wikipedia:Possibly_unfree_images/2008_January_21#Image:Sagecontourplot.png

 If this person's is right that you can't release a screenshot of the
 Sage Notebook under a CC license then I'm worried that the Sage
 documentation can't actually be licensed under CC-by-sa since it
 includes code from docstrings in the GPLed Sage code.

That's an excellent question.   I personally think that all docstrings in Sage
should be viewed as part of the Sage documentation, and
hence also be licensed under CC, since we state that all the documentation
of Sage is so licensed (this could be a dual license -- it's under CC
and GPL).
Does anybody disagree?  We're the copyright holders on 100% of
this stuff, so it's up to us to decide.

 -- william

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] generator inconsistencies in finite fields

2008-01-20 Thread Jonathan Bober

I don't like the behavior illustrated below. Briefly, my problem is that
GF(p).gen() gives a generator for the additive group of GF(5), while
GF(p^n).gen() gives a generator for for multiplicative group of GF(p^n)
(n  1).

I would file this 'complaint' directly as a trac bug report, but the
documentation is somewhat clear that this is what is _supposed_ to
happen - i.e., it says

sage: F.gen?
Type:   builtin_function_or_method
Base Class: type 'builtin_function_or_method'
String Form:built-in method gen of
sage.rings.finite_field_givaro.FiniteField_givaro object at 0x9c22324
Namespace:  Interactive
Docstring:

Return a generator of self. All elements x of self are
expressed as log_{self.gen()}(p) internally. If self is
a prime field this method returns 1.

[...]

I also know that there is multiplicative_generator() method which always
does the right thing, but I still don't like this inconsistency.

Anyway, perhaps I'll turn my 'complaint' into a trac ticket, but I won't
bother if others don't consider this to be a bug.

-bober

p.s. The complaint illustrated:

sage: F = GF(25,name='x')
sage: x = F.gen()
sage: x # x generates the multiplicative group
x
sage: [x^i for i in range(25)]

[1,
 x,
 x + 3,
 4*x + 3,
 2*x + 2,
 4*x + 1,
 2,
 2*x,
 2*x + 1,
 3*x + 1,
 4*x + 4,
 3*x + 2,
 4,
 4*x,
 4*x + 2,
 x + 2,
 3*x + 3,
 x + 4,
 3,
 3*x,
 3*x + 4,
 2*x + 4,
 x + 1,
 2*x + 3,
 1]
sage: K = GF(5, name='y')
sage: y # y generates the additive group
1
sage: y * y
1




--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Confusing Possible GPL CC Conflict

2008-01-20 Thread Timothy Clemans

The message that started this is
http://en.wikipedia.org/wiki/Wikipedia:Possibly_unfree_images/2008_January_21#Image:Sagecontourplot.png

If this person's is right that you can't release a screenshot of the
Sage Notebook under a CC license then I'm worried that the Sage
documentation can't actually be licensed under CC-by-sa since it
includes code from docstrings in the GPLed Sage code.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Online free sage notebook slowness

2008-01-20 Thread William Stein

On Jan 20, 2008 10:09 PM, Timothy Clemans [EMAIL PROTECTED] wrote:

 Interactive 3d plotting isn't working on the public notebook but does
 work on my personal notebooks on sage.math.

It works fine for me.  What error message are you getting?

 -- William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Online free sage notebook slowness

2008-01-20 Thread Timothy Clemans

Interactive 3d plotting isn't working on the public notebook but does
work on my personal notebooks on sage.math.

On Jan 20, 9:22 pm, William Stein [EMAIL PROTECTED] wrote:
 Hi,

 This email is about the free public online Sage notebook server:
https://www.sagenb.org

 I think I just fixed some scalability issues that were responsible for
 the online free
 Sage notebook server feel vastly slower than it should have.   Let me know 
 what
 your experience is like with it now.I also made it so the notebook doesn't
 require a funny port, so it should work fine if you're behind some
 sort of firewall
 that doesn't allow connections to ports.   Finally, I reduced the
 number of security
 warnings.

  -- William

 MORE DETAILS, and other changes unifying the servers:

 (Ignore the rest of this unless you're interested in more details etc.)

 I think it turned out that there was a huge amount of user data that
 was being saved every few
 seconds, so basically the notebook was spending all of its time
 backing itself up.   This sort
 of paranoid constant backing up was really important when the notebook
 actually used to crash.
 Now the notebook can easily run for many weeks without crashing (in
 fact, I don't know how to
 crash it -- it just goes and goes).   So I changed the parameters for
 autosaving.

 Thus if you've quit using the public notebooks in frustration because
 they feel very sluggish,
 please try again and let me know if they feel more robust and usable now.

 Also, I would really like to go from having three separate servers to
 exactly 1 server.
 The only reason we ever had three servers was because the previous 
 (pre-twisted)
 version of the notebook would crash regularly, etc.  The current notebook is 
 far
 more robust.  It would be better to have one server.  However, I have
 nothing in place
 for migrating existing worksheets, etc.   The simplest thing to do
 would be to just select
 one of

https://sage.math.washington.edu:8101
https://sage.math.washington.edu:8102
https://sage.math.washington.edu:8103

 to be the canonical one, make all the links point to it, and just
 leave the other servers
 running for people who want to directly connect to them (and tell
 people about them
 if they freak about their documents all being missing).

 I just made 8101 the canonical one, since it is now the one most people use.

 [...]

 OK, I've now made it so

https://www.sagenb.org  etc

 *all* point to the same server.

 --
 William Stein
 Associate Professor of Mathematics
 University of Washingtonhttp://wstein.org
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: http://wiki.sagemath.org/experimental_packages_available_for_SAGE

2008-01-20 Thread William Stein

On Jan 20, 2008 6:05 AM, Jaap Spies [EMAIL PROTECTED] wrote:

 William Stein wrote:
  On Jan 19, 2008 3:51 PM, Jaap Spies [EMAIL PROTECTED] wrote:
  Michael.Abshoff wrote:
 [...]
  I would suggest that we add a mechanism for optional/experimental spkgs
  to install other components like cmake.
 
  cmake is only needed to build vtk, but generally spoken it would be nice to
  have a mechanisme to resolve dependencies other than making meta packages.
 
  One possibility would be to make it so that
 
 sage -i foo
 
  works to install the newest version of foo-version.spkg.  Then at the
  top of spkg-install
  you just put
 
 sage -i dependency1
 sage -i dependency2
 
  This would work fine as long as there are no circular dependency loops.
 
  What do you think of this proposal?
 

 Works great as long dependency1 and dependency2 are in a place
 'sage - i' can find. This makes the creation of meta packages
 superfluous!

The spkg-install file could even temporarily change the SAGE_SERVER
environment variable, so that it could point to the repository of your choice
for the dependencies.  You could test this out already by including version
numbers in the package names.

 -- William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Confusing Possible GPL CC Conflict

2008-01-20 Thread Justin C. Walker


On Jan 20, 2008, at 23:00 , William Stein wrote:


 On Jan 20, 2008 10:58 PM, William Stein [EMAIL PROTECTED] wrote:
 On Jan 20, 2008 10:50 PM, Timothy Clemans  
 [EMAIL PROTECTED] wrote:

 The message that started this is
 http://en.wikipedia.org/wiki/Wikipedia:Possibly_unfree_images/ 
 2008_January_21#Image:Sagecontourplot.png

 If this person's is right that you can't release a screenshot of the
 Sage Notebook under a CC license then I'm worried that the Sage
 documentation can't actually be licensed under CC-by-sa since it
 includes code from docstrings in the GPLed Sage code.

 You can assure the people in that wikipedia conversation that it is  
 definitely
 *not* our intention to disallow CC licensing screenshots of sage  
 that show
 the documentation, and that I'm sure we'll be happy to work with them
 to clarify the license so that they'll be comfortable with those  
 screenshots
 being on Wikipedia.

Unless I'm reading the wiki comments in the wrong way, they are not  
concerned that we are disallowing the release of screenshots as CC- 
licensed.  The question is *can* we release screenshots as CC- 
licensed, when the content is GPL-licensed.

Justin

--
Justin C. Walker, Curmudgeon-At-Large, Director
Institute for the Enhancement of the Director's Income

The path of least resistance:
it's not just for electricity any more.





--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Confusing Possible GPL CC Conflict

2008-01-20 Thread mabshoff



On Jan 21, 8:00 am, William Stein [EMAIL PROTECTED] wrote:
 On Jan 20, 2008 10:58 PM, William Stein [EMAIL PROTECTED] wrote:

  On Jan 20, 2008 10:50 PM, Timothy Clemans [EMAIL PROTECTED] wrote:

   The message that started this is
  http://en.wikipedia.org/wiki/Wikipedia:Possibly_unfree_images/2008_Ja...

   If this person's is right that you can't release a screenshot of the
   Sage Notebook under a CC license then I'm worried that the Sage
   documentation can't actually be licensed under CC-by-sa since it
   includes code from docstrings in the GPLed Sage code.

 You can assure the people in that wikipedia conversation that it is definitely
 *not* our intention to disallow CC licensing screenshots of sage that show
 the documentation, and that I'm sure we'll be happy to work with them
 to clarify the license so that they'll be comfortable with those screenshots
 being on Wikipedia.

And those people on Wikipedia should understand the concept of fair-
use. Screen shots are covered by that. And it isn't like you want to
post some NDAed super secret nuclear bomb plans.

 William

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: generator inconsistencies in finite fields

2008-01-20 Thread William Stein

On Jan 20, 2008 10:54 PM, Jonathan Bober [EMAIL PROTECTED] wrote:

 I don't like the behavior illustrated below. Briefly, my problem is that
 GF(p).gen() gives a generator for the additive group of GF(5), while
 GF(p^n).gen() gives a generator for for multiplicative group of GF(p^n)
 (n  1).

 I would file this 'complaint' directly as a trac bug report, but the
 documentation is somewhat clear that this is what is _supposed_ to
 happen - i.e., it says

 sage: F.gen?
 Type:   builtin_function_or_method
 Base Class: type 'builtin_function_or_method'
 String Form:built-in method gen of
 sage.rings.finite_field_givaro.FiniteField_givaro object at 0x9c22324
 Namespace:  Interactive
 Docstring:

 Return a generator of self. All elements x of self are
 expressed as log_{self.gen()}(p) internally. If self is
 a prime field this method returns 1.

 [...]

 I also know that there is multiplicative_generator() method which always
 does the right thing, but I still don't like this inconsistency.

 Anyway, perhaps I'll turn my 'complaint' into a trac ticket, but I won't
 bother if others don't consider this to be a bug.

I'm not opposed to changing GF(p).gen() to return a multiplicative
generator.Martin Albrecht, what do you think?

 -- William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage 2.10 experimental ebuild for Gentoo

2008-01-20 Thread Francois



On Jan 21, 12:36 pm, mabshoff [EMAIL PROTECTED]
dortmund.de wrote:

 LICENSE=GPL-2

 should be GPL-2 or later or whatever the Gentoo equivalent of that
 is.

I checked other ebuilds and it seems that the policy is to report only
GPL-2 unless
there are exceptions attached. I am not sure of the reasoning behind
this.

Francois
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Confusing Possible GPL CC Conflict

2008-01-20 Thread William Stein

On Jan 20, 2008 11:18 PM, Justin C. Walker [EMAIL PROTECTED] wrote:



 On Jan 20, 2008, at 23:00 , William Stein wrote:

 
  On Jan 20, 2008 10:58 PM, William Stein [EMAIL PROTECTED] wrote:
  On Jan 20, 2008 10:50 PM, Timothy Clemans
  [EMAIL PROTECTED] wrote:
 
  The message that started this is
  http://en.wikipedia.org/wiki/Wikipedia:Possibly_unfree_images/
  2008_January_21#Image:Sagecontourplot.png
 
  If this person's is right that you can't release a screenshot of the
  Sage Notebook under a CC license then I'm worried that the Sage
  documentation can't actually be licensed under CC-by-sa since it
  includes code from docstrings in the GPLed Sage code.
 
  You can assure the people in that wikipedia conversation that it is
  definitely
  *not* our intention to disallow CC licensing screenshots of sage
  that show
  the documentation, and that I'm sure we'll be happy to work with them
  to clarify the license so that they'll be comfortable with those
  screenshots
  being on Wikipedia.

 Unless I'm reading the wiki comments in the wrong way, they are not
 concerned that we are disallowing the release of screenshots as CC-
 licensed.  The question is *can* we release screenshots as CC-
 licensed, when the content is GPL-licensed.

Good point.   However, we own the copyright to 100% of the relevant
GPL-licensed code, so we still get to decide the question of whether or
not we allow the screenshots.   I think they wikipedia people are just
being careful and respectful of our copyright, which I greatly appreciate.

 -- Wiliam

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: MPolynomialRing.__str__

2008-01-20 Thread William Stein

On Jan 20, 2008 2:58 PM, Nick Alexander [EMAIL PROTECTED] wrote:


 On 20-Jan-08, at 2:47 PM, Simon King wrote:

 
  Dear Nick
 
  On Jan 20, 8:24 pm, Nick Alexander [EMAIL PROTECTED] wrote:
  I've always hated that x/y and print x/y can do different things at
  the prompt, but it sounds like I'm fighting a losing battle.
 
  Sorry for coming into your discussion. I actually appreciate that x/y
  and print x/y do different things, for the following reason.
 
  If someone defines some sage object X and just types
  sage: X
  then the command is very short, and when i ask a short question, the
  answer ought to be short as well.
 
  On the other hand, if the user's demand on displaying X is more
  elaborate, such as
  sage: print X
  then the displayed information should be more elaborate as well.

 One reason that I don't like this is that in the notebook, only the
 final 'sage: X' shows that way.  Before that, one must use print.
 Why the different semantics?


Currently in the notebook we have this behavior:

{{{id=14|
a = 5
a
2 + 2
///
4
}}}

Nick asks why this doesn't happen:

{{{id=14|
a = 5
a
2 + 2
///
5
4
}}}

The answer is --- I couldn't figure out how to implement the latter
(in sage/server/notebook/worksheet.py).
That's it.  I just don't know how to do it.   It's nothing more
mysterious than that.  If I could figure
out how to implement the latter I would.

William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Confusing Possible GPL CC Conflict

2008-01-20 Thread Justin C. Walker


On Jan 20, 2008, at 23:22 , William Stein wrote:


 On Jan 20, 2008 11:18 PM, Justin C. Walker [EMAIL PROTECTED] wrote:



 On Jan 20, 2008, at 23:00 , William Stein wrote:


 On Jan 20, 2008 10:58 PM, William Stein [EMAIL PROTECTED] wrote:
 On Jan 20, 2008 10:50 PM, Timothy Clemans
 [EMAIL PROTECTED] wrote:

 The message that started this is
 http://en.wikipedia.org/wiki/Wikipedia:Possibly_unfree_images/
 2008_January_21#Image:Sagecontourplot.png

 If this person's is right that you can't release a screenshot  
 of the
 Sage Notebook under a CC license then I'm worried that the Sage
 documentation can't actually be licensed under CC-by-sa since it
 includes code from docstrings in the GPLed Sage code.

 You can assure the people in that wikipedia conversation that it is
 definitely
 *not* our intention to disallow CC licensing screenshots of sage
 that show
 the documentation, and that I'm sure we'll be happy to work with  
 them
 to clarify the license so that they'll be comfortable with those
 screenshots
 being on Wikipedia.

 Unless I'm reading the wiki comments in the wrong way, they are not
 concerned that we are disallowing the release of screenshots as CC-
 licensed.  The question is *can* we release screenshots as CC-
 licensed, when the content is GPL-licensed.

 Good point.   However, we own the copyright to 100% of the relevant
 GPL-licensed code, so we still get to decide the question of  
 whether or
 not we allow the screenshots.   I think they wikipedia people are just
 being careful and respectful of our copyright, which I greatly  
 appreciate.

I don't get the same impression from the discussion there.  I think  
they (actually, belk) are asking a somewhat more general question,  
although it's not completely clear what their point is.  They are  
discussing (elements of) GPL'd software.  I can't tell whether they  
mean

   - a screenshot of something that is produced by software that is  
licensed under GPL.
   - a screenshot of a batch of software (code) that is licensed  
under GPL; or

Consider:

This, regarding a shot of a display of a 3D plot of a function:

   Claimed {{GFDL-self}}, but this is a screenshot of copyrighted  
software. Are there enough copyrighted interface elements here to  
make the screenshot non-free? —Bkell (talk) 05:48, 21 January 2008  
(UTC)

and this, regarding the Sage shot, which includes Sage code (which I  
will guess has *no* copyright attached to it since it's just a bit of  
scripting to show the result [the plot itself]):

   ...What I am wondering here is whether this same restriction  
applies to screenshots of GPL software. —Bkell (talk) 06:47, 21  
January 2008 (UTC)

In any case, I think this could be an indicator of GPL licensing  
beginning to capsize under its own weight (which will probably have a  
lot of attendant collateral damage when it happens).  I would be  
cynical, but they're making it way too difficult...

Justin

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's Income
---
Nobody knows the trouble I've been
---




--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Online free sage notebook slowness

2008-01-20 Thread William Stein

On Jan 20, 2008 10:56 PM, Timothy Clemans [EMAIL PROTECTED] wrote:

 That worked. Did you do anything?

No.  The problem is that -- as has been discussed a lot already --
java applets are
unfortunately rather flaky.   In particular, each time you display a
3d plot in Sage
it loads a jmol java applet, and after loading enough of those sometimes java
just stops working.Something that will always fix the problem is to restart
your browser.

This problem was much worse in the older version of jmol before we released
it with sage, so there may be jmol-specific fixes that help.  Also, if
you make 3d
plots with a small figsize, e.g., = 2, it is almost impossible to
trigger this problem.

If anybody out there is a java expert, this might be a good problem to look at,
where this is loading images many many times using sage's 3d plotting can
lead to problems.



 On Jan 20, 10:54 pm, William Stein [EMAIL PROTECTED] wrote:
  On Jan 20, 2008 10:44 PM, Timothy Clemans [EMAIL PROTECTED] wrote:
 
 
 
   I'm just getting the black box with the JMOL logo.
 
  Try restarting your web browser and using Firefox.
 
   On Jan 20, 10:35 pm, William Stein [EMAIL PROTECTED] wrote:
On Jan 20, 2008 10:09 PM, Timothy Clemans [EMAIL PROTECTED] wrote:
 
 Interactive 3d plotting isn't working on the public notebook but does
 work on my personal notebooks on sage.math.
 
It works fine for me.  What error message are you getting?
 
 -- William
 
  --
  William Stein
  Associate Professor of Mathematics
  University of Washingtonhttp://wstein.org

 




-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Confusing Possible GPL CC Conflict

2008-01-20 Thread William Stein

On Jan 20, 2008 10:58 PM, William Stein [EMAIL PROTECTED] wrote:
 On Jan 20, 2008 10:50 PM, Timothy Clemans [EMAIL PROTECTED] wrote:
 
  The message that started this is
  http://en.wikipedia.org/wiki/Wikipedia:Possibly_unfree_images/2008_January_21#Image:Sagecontourplot.png
 
  If this person's is right that you can't release a screenshot of the
  Sage Notebook under a CC license then I'm worried that the Sage
  documentation can't actually be licensed under CC-by-sa since it
  includes code from docstrings in the GPLed Sage code.

You can assure the people in that wikipedia conversation that it is definitely
*not* our intention to disallow CC licensing screenshots of sage that show
the documentation, and that I'm sure we'll be happy to work with them
to clarify the license so that they'll be comfortable with those screenshots
being on Wikipedia.

William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: SAGE in RPM form

2008-01-20 Thread Francois

Congratulations! Was my last message to you of any use?

Cheers,
Francois

On Jan 20, 5:46 am, gri6507 [EMAIL PROTECTED] wrote:
 As I've posted here before, I have been working on packaging up SAGE
 into an RPM form. Well, I am happy to say that I finally have
 something that (seems to) works. If anyone here has the ability and
 the spare time to test out the fruits of my labor, please take a look
 athttp://www.mypclinuxos.com/forum/index.php?topic=1509.msg13532#msg13532

 I would love to hear back some comments on the functionality of sage
 as delivered by this (set of) RPMs.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Online free sage notebook slowness

2008-01-20 Thread William Stein

Hi,

This email is about the free public online Sage notebook server:
https://www.sagenb.org

I think I just fixed some scalability issues that were responsible for
the online free
Sage notebook server feel vastly slower than it should have.   Let me know what
your experience is like with it now.I also made it so the notebook doesn't
require a funny port, so it should work fine if you're behind some
sort of firewall
that doesn't allow connections to ports.   Finally, I reduced the
number of security
warnings.

 -- William


MORE DETAILS, and other changes unifying the servers:

(Ignore the rest of this unless you're interested in more details etc.)

I think it turned out that there was a huge amount of user data that
was being saved every few
seconds, so basically the notebook was spending all of its time
backing itself up.   This sort
of paranoid constant backing up was really important when the notebook
actually used to crash.
Now the notebook can easily run for many weeks without crashing (in
fact, I don't know how to
crash it -- it just goes and goes).   So I changed the parameters for
autosaving.

Thus if you've quit using the public notebooks in frustration because
they feel very sluggish,
please try again and let me know if they feel more robust and usable now.

Also, I would really like to go from having three separate servers to
exactly 1 server.
The only reason we ever had three servers was because the previous (pre-twisted)
version of the notebook would crash regularly, etc.  The current notebook is far
more robust.  It would be better to have one server.  However, I have
nothing in place
for migrating existing worksheets, etc.   The simplest thing to do
would be to just select
one of

   https://sage.math.washington.edu:8101
   https://sage.math.washington.edu:8102
   https://sage.math.washington.edu:8103

to be the canonical one, make all the links point to it, and just
leave the other servers
running for people who want to directly connect to them (and tell
people about them
if they freak about their documents all being missing).

I just made 8101 the canonical one, since it is now the one most people use.

[...]

OK, I've now made it so

   https://www.sagenb.org   etc

*all* point to the same server.

-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Online free sage notebook slowness

2008-01-20 Thread Timothy Clemans

That worked. Did you do anything?

On Jan 20, 10:54 pm, William Stein [EMAIL PROTECTED] wrote:
 On Jan 20, 2008 10:44 PM, Timothy Clemans [EMAIL PROTECTED] wrote:



  I'm just getting the black box with the JMOL logo.

 Try restarting your web browser and using Firefox.

  On Jan 20, 10:35 pm, William Stein [EMAIL PROTECTED] wrote:
   On Jan 20, 2008 10:09 PM, Timothy Clemans [EMAIL PROTECTED] wrote:

Interactive 3d plotting isn't working on the public notebook but does
work on my personal notebooks on sage.math.

   It works fine for me.  What error message are you getting?

-- William

 --
 William Stein
 Associate Professor of Mathematics
 University of Washingtonhttp://wstein.org
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: SAGE in RPM form

2008-01-20 Thread William Stein

On Jan 19, 2008 8:46 AM, gri6507 [EMAIL PROTECTED] wrote:

 As I've posted here before, I have been working on packaging up SAGE
 into an RPM form. Well, I am happy to say that I finally have
 something that (seems to) works. If anyone here has the ability and
 the spare time to test out the fruits of my labor, please take a look
 at http://www.mypclinuxos.com/forum/index.php?topic=1509.msg13532#msg13532

 I would love to hear back some comments on the functionality of sage
 as delivered by this (set of) RPMs.

For those of us who want to test this say in a Fedora or RHEL 5 vmware image,
could you send some quick step-by-step directions?  E.g.,
  (1) Exactly what architectures are supported,
  (2) Redhat?  Fedora? CentOS?
  (3) How can we install the rpms then exactly undo the changes?

Thanks!

William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---