[sage-devel] Re: coercion of polynomials with integer coefficients

2009-05-31 Thread Alex Ghitza
Interesting. Can you try the following (which actually does work for me): -- | Sage Version 4.0, Release Date: 2009-05-29 | | Type notebook() for the GUI, and license() for information.|

[sage-devel] Re: sage blog aggregation : planet.sagemath.org

2009-05-31 Thread Harald Schilly
On Sun, May 31, 2009 at 03:24, Minh Nguyen wrote: > However, if the web browser is not maximized, the navigation bar on > the right can still overlap the blog posts section. I've tried using > the CSS option "overflow: auto" to no effect. i didn't look into that, thanks for pointing this out! b

[sage-devel] Re: sage-4.0

2009-05-31 Thread Harald Schilly
On May 31, 1:49 am, William Stein wrote: > This is precisely what happened.   ... Good, and i have an idea: The script could use the timestamp of the md5sums.txt file and ignore it's entries if the timestamp of the respective .zip file is newer! Then, you don't have to delete the entry to recrea

[sage-devel] Re: sage-4.0

2009-05-31 Thread Andrzej Giniewicz
Hi, 2009/5/30 mabshoff : > > > > On May 30, 10:20 am, William Stein wrote: >> 2009/5/30 Andrzej Giniewicz : >> >> >> >> > Hi, >> >> > tried to do some test, but I have similar issue as Vlad reported on >> > sage-support for 4.0rc0 in topic "building sage 4.0.rc0 with gcc 4.4.0 >> > and glibc 2.1

[sage-devel] Re: coercion of polynomials with integer coefficients

2009-05-31 Thread wkehowski
Here is the full error message: ## BEGIN ERROR MSG sage: load "myroots.sage" --- TypeError Traceback (most recent call last) /home/user/.sage/temp/ubuntu/18430/_home_user_temp_myroots_sage_0.p

[sage-devel] Re: sage-4.0

2009-05-31 Thread gsw
Hi all, On 30 Mai, 16:34, William Stein wrote: > Hello, > > I have release sage-4.0.  It's now available athttp://sagemath.org/src/.   > Binaries will follow in a day. > > William > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://wstein.org there seem

[sage-devel] Re: Solaris doctest failure and 'maxima' issue with tests.

2009-05-31 Thread Dr. David Kirkby
William Stein wrote: > Did you try > > sage: notebook(secure=True) > > ? I had not tried an encrypted link. I did not know Sage supported this, and was going to mention it as potentailly useful. I can see you have beaten me to it. I can think of occasions where I would have liked to show so

[sage-devel] Re: sage-4.0

2009-05-31 Thread Andrzej Giniewicz
Hi, small update on GCC 4.4 compilation, I managed to walk around ICE in snapshot and compile up to place where Singular fails because of use of strchr in 2 places, i.e. it uses "char * strchr(const char*, int)" while from version 4.4 gcc allows only "const char* strchr(const char*, int)" or "cha

[sage-devel] Strange behaviour of sqrt() in sage-4.0

2009-05-31 Thread jyr
Hi, There is something strange going on with the simple sqrt() function: sage: sqrt(2) sqrt(2) sage: sqrt(2.0) 1.41421356237310 sage: sqrt(2,prec=100) 1.4142135623730950488016887242 but: sage: sqrt(2.0,prec=100) --- TypeEr

[sage-devel] Re: bug in plot3d?

2009-05-31 Thread mark mcclure
On May 30, 8:10 pm, Alex Ghitza wrote: > I have tried this in 3.4.1, 3.4.2, and 4.0.rc2, without success: > > plot3d(lambda x,y: exp(x+y*I).real(), (-2, 2.4), (-3, 3), mesh=True) > > I get a nice looking surface (see attached jpeg file), but no mesh > lines.  Is anybody else experiencing this? I

[sage-devel] Re: coercion of polynomials with integer coefficients

2009-05-31 Thread John Cremona
That all looks rather complicated to me. I would do this: sage: x = polygen(ZZ) sage: f = x^2+x+1 sage: def myroots(p): : return f.roots(Integers(p)) : sage: [(p,myroots(p)) for p in prime_range(30)] [(2, []), (3, [(1, 2)]), (5, []), (7, [(4, 1), (2, 1)]), (11, []), (13, [(9, 1

[sage-devel] Re: Strange behaviour of sqrt() in sage-4.0

2009-05-31 Thread John H Palmieri
On May 31, 6:28 am, jyr wrote: > Hi, > > There is something strange going on with the simple sqrt() function: > > sage: sqrt(2) > sqrt(2) > sage: sqrt(2.0) > 1.41421356237310 > sage: sqrt(2,prec=100) > 1.4142135623730950488016887242 > > but: > > sage: sqrt(2.0,prec=100) > --

[sage-devel] Re: ReST/sphinx queries

2009-05-31 Thread Robert Miller
On Apr 16, 10:47 pm, John Cremona wrote: > 2009/4/16 John H Palmieri : > > On Apr 16, 9:44 am, John Cremona wrote: > >> Now I am getting the hang of this ReST/Sphinx stuff (this is very > >> useful: http://docutils.sourceforge.net/docs/user/rst/quickref.htm) While looking for how to preview th

[sage-devel] Re: coercion of polynomials with integer coefficients

2009-05-31 Thread wkehowski
Yes! That works perfectly! Thanks! On May 31, 7:56 am, John Cremona wrote: > That all looks rather complicated to me.  I would do this: > > sage: x = polygen(ZZ) > sage: f = x^2+x+1 > sage: def myroots(p): > :     return f.roots(Integers(p)) > : > sage: [(p,myroots(p)) for p in prime_ran

[sage-devel] Re: coercion issue?

2009-05-31 Thread Martin Albrecht
On Sunday 31 May 2009, David Harvey wrote: > This is now http://sagetrac.org/sage_trac/ticket/6168. > > david I fixed the issue in a patch attached to #6168. Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E

[sage-devel] Re: sage-4.0

2009-05-31 Thread Kevin Horton
On Sat, May 30, 2009 at 10:34, William Stein wrote: > > I have release sage-4.0. It's now available at > http://sagemath.org/src/. Binaries will follow in a day. > Sage-4.0 built OK on an EeePC 901 Linux, with Atom processor. But "make testlong" triggered three test failures. Two of them ti

[sage-devel] release notes for sage-4.0

2009-05-31 Thread William Stein
Dear Minh, I wonder if you could put together release notes and a release tour for Sage-4.0? It's been released and binaries have been posted. Thanks! -- William -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~-

[sage-devel] Re: Strange behaviour of sqrt() in sage-4.0

2009-05-31 Thread William Stein
On Sun, May 31, 2009 at 6:28 AM, jyr wrote: > > Hi, > > There is something strange going on with the simple sqrt() function: > > sage: sqrt(2) > sqrt(2) > sage: sqrt(2.0) > 1.41421356237310 > sage: sqrt(2,prec=100) > 1.4142135623730950488016887242 > > but: > > sage: sqrt(2.0,prec=100) > -

[sage-devel] Fwd: more sage days 15 photos

2009-05-31 Thread William Stein
I'm forwarding this to sage-devel, since people there might want to see all the photos from sage days 15 at http://sage.math.washington.edu/home/wdj/sagedays/sd15/ and http://wstein.org/home/wstein/sagedays15/photos/stein-01/ http://wstein.org/home/wstein/sagedays15/photos/stein-02/ http://wst

[sage-devel] Re: Solaris doctest failure and 'maxima' issue with tests.

2009-05-31 Thread William Stein
On Sun, May 31, 2009 at 5:34 AM, Dr. David Kirkby wrote: > > William Stein wrote: > >> Did you try >> >> sage: notebook(secure=True) >> >> ? > > I had not tried an encrypted link. I did not know Sage supported this, > and was going to mention it as potentailly useful. I can see you have > beaten

[sage-devel] Re: Strange behaviour of sqrt() in sage-4.0

2009-05-31 Thread John H Palmieri
On May 31, 2:15 pm, William Stein wrote: > On Sun, May 31, 2009 at 6:28 AM, jyr wrote: > > > Hi, > > > There is something strange going on with the simple sqrt() function: > > > sage: sqrt(2) > > sqrt(2) > > sage: sqrt(2.0) > > 1.41421356237310 > > sage: sqrt(2,prec=100) > > 1.414213562373095048

[sage-devel] updating 3.4.2 --> 4.0

2009-05-31 Thread William Stein
Harald, How do I change the sagemath.org website so it says 4.0 instead of 3.4.2? How does one set the "version" variable? William -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ To post to t

[sage-devel] Re: updating 3.4.2 --> 4.0

2009-05-31 Thread Harald Schilly
it's noted in the readme file, the part about the new release procedures. you have to go into the "./www/inc" subdirectory, there is a variables.shtml file. but, before you edit it and announce the binaries, i suggest to wait for the mirrors to sync! harald On Mon, Jun 1, 2009 at 00:06, William

[sage-devel] Re: coercion issue?

2009-05-31 Thread Bill Hart
Thanks for looking into that David and Martin. It certainly saved a whole load of headache for me!! Bill. On 31 May, 06:46, David Harvey wrote: > This is nowhttp://sagetrac.org/sage_trac/ticket/6168. > > david > > On May 30, 12:03 pm, Bill Hart wrote: > > > Regarding compilation with debug, zn

[sage-devel] Re: release notes for sage-4.0

2009-05-31 Thread Minh Nguyen
Hi William, On Sun, May 31, 2009 at 9:12 PM, William Stein wrote: > Dear Minh, > > I wonder if you could put together release notes and a release tour > for Sage-4.0? It's been released and binaries have been posted. I've been constantly working on the release tour for Sage 4.0. You can find m

[sage-devel] Re: sage blog aggregation : planet.sagemath.org

2009-05-31 Thread Minh Nguyen
Hi Harald, On Sun, May 31, 2009 at 8:00 AM, Harald Schilly wrote: > btw, i started a blog too, just to be also listed there :) > will contain random thoughts and website/stats updates ... > http://harald-schilly.blogspot.com/search/label/sage I've added your blog to Planet Sage. Please tell

[sage-devel] Re: release notes for sage-4.0

2009-05-31 Thread William Stein
On Sun, May 31, 2009 at 3:24 PM, Minh Nguyen wrote: > Hi William, > > On Sun, May 31, 2009 at 9:12 PM, William Stein wrote: >> Dear Minh, >> >> I wonder if you could put together release notes and a release tour >> for Sage-4.0?  It's been released and binaries have been posted. > > I've been co

[sage-devel] Re: release notes for sage-4.0

2009-05-31 Thread Mike Hansen
On Sun, May 31, 2009 at 3:42 PM, William Stein wrote: > Micheal Abshoff was the only one who ever made them, so I hope you can > figure it out. Jason Grout and I started them. You can find them at http://sage.math.washington.edu/home/mhansen/sage-4-release-notes --Mike --~--~-~--~

[sage-devel] Re: Strange behaviour of sqrt() in sage-4.0

2009-05-31 Thread jyr
On May 31, 10:43 pm, John H Palmieri wrote: > > Now see also . > >   John Great, this also appears to work for the example: sage: sqrt(pi,prec=100) 1.7724538509055160272981674833 thanks, Jens --~--~-~--~~~---~--~

[sage-devel] Re: release notes for sage-4.0

2009-05-31 Thread Minh Nguyen
Hi Mike, On Sun, May 31, 2009 at 11:15 PM, Mike Hansen wrote: > On Sun, May 31, 2009 at 3:42 PM, William Stein wrote: >> Micheal Abshoff was the only one who ever made them, so I hope you can >> figure it out. > > Jason Grout and I started them. You can find them at > http://sage.math.washingt

[sage-devel] Re: updating 3.4.2 --> 4.0

2009-05-31 Thread Minh Nguyen
Hi Harald, On Sun, May 31, 2009 at 10:11 PM, Harald Schilly wrote: > > it's noted in the readme file, the part about the new release procedures. > you have to go into the "./www/inc" subdirectory, there is a > variables.shtml file. > but, before you edit it and announce the binaries, i suggest t

[sage-devel] Re: updating 3.4.2 --> 4.0

2009-05-31 Thread William Stein
On Sun, May 31, 2009 at 4:51 PM, Minh Nguyen wrote: > Hi Harald, > > On Sun, May 31, 2009 at 10:11 PM, Harald Schilly > wrote: >> >> it's noted in the readme file, the part about the new release procedures. >> you have to go into the "./www/inc" subdirectory, there is a >> variables.shtml file.

[sage-devel] Re: updating 3.4.2 --> 4.0

2009-05-31 Thread Harald Schilly
On Mon, Jun 1, 2009 at 02:41, William Stein >> http://sage.math.washington.edu/home/mvngu/doc/ > > Harald, can you take care of pushing this to sagemath.org, or ... > should we get Minh to start doing that? > I just did it. html is online, someone should check it. the pdf files are online, too.

[sage-devel] Re: updating 3.4.2 --> 4.0

2009-05-31 Thread Minh Nguyen
Hi Harald, On Mon, Jun 1, 2009 at 12:44 AM, Harald Schilly wrote: > On Mon, Jun 1, 2009 at 02:41, William Stein >>> http://sage.math.washington.edu/home/mvngu/doc/ >> >> Harald, can you take care of pushing this to sagemath.org, or ... >> should we get Minh to start doing that? >> > > I just di

[sage-devel] Re: updating 3.4.2 --> 4.0

2009-05-31 Thread John H Palmieri
On May 31, 6:01 pm, Minh Nguyen wrote: > > I can get the HTML and PDF versions of the documentation. But the PDF > version of the tutorial, the installation guide, the reference manual, > the construction guide, and the programming guide all still have "The > Sage Group". This should be changed t

[sage-devel] Re: release notes for sage-4.0

2009-05-31 Thread Minh Nguyen
Hi Mike, On Sun, May 31, 2009 at 11:15 PM, Mike Hansen wrote: > On Sun, May 31, 2009 at 3:42 PM, William Stein wrote: >> Micheal Abshoff was the only one who ever made them, so I hope you can >> figure it out. > > Jason Grout and I started them. You can find them at > http://sage.math.washingt

[sage-devel] list of contributors to Sage

2009-05-31 Thread William Stein
Hi Harald, 1. On the Sage developer map can you change the list of contributors from William Stein Tim Abbott Michael Abshoff Martin Albrecht ... to the following (note the commas!). I frequently have to reformat this list by manually inserting commas when I put it into grant proposals, etc.:

[sage-devel] Re: Solaris doctest failure and 'maxima' issue with tests.

2009-05-31 Thread Dr. David Kirkby
William Stein wrote: > On Sun, May 31, 2009 at 5:34 AM, Dr. David Kirkby > wrote: >> 1) sage-4.0.rc0 >> >> hangs when generating the private key: >> >> drkir...@kestrel:[~/sage/sage-4.0.rc0] $ ./sage >> 2) Using 4.0.rc1 I get a different problem - see below. > > That's caused by you killing (1

[sage-devel] mpmath installation and location of extension code

2009-05-31 Thread Fredrik Johansson
Hi all, I could use some guidance for mpmath/Sage integration. To put mpmath in Sage, I presume it should just be installed into site-packages as a regular Python library, so I should create an spkg that does the usual python setup.py install. (Is there a policy of requiring the spkg to be a rele

[sage-devel] Sage 4.0 Lightweight LiveCD released.

2009-05-31 Thread Lucio Lastra
Hi everybody, the latest version of Sage Lightweight LiveCD is ready to download from: http://sage.math.washington.edu/home/luciolastra/sagelwlcd/latest/ It includes Sage 4.0 and the requirements asked for by members of the Sage community. As always any feedback to make it better is appreciated