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

2009-05-30 Thread wkehowski
Thanks, but here is the error message: TypeError: polynomial must be over a field of characteristic 0. On May 30, 11:09 pm, Alex Ghitza wrote: > Hi, > > > > On Sun, May 31, 2009 at 3:34 PM, wkehowski wrote: > > > Hello, > > > I would like to take a create a function that takes a polynomial ov

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

2009-05-30 Thread Alex Ghitza
Hi, On Sun, May 31, 2009 at 3:34 PM, wkehowski wrote: > > Hello, > > I would like to take a create a function that takes a polynomial over > the integers and returns its roots in ZZ mod p for p a prime. I want > to assume the polynomial is globally defined but the prime is the > argument. > > He

[sage-devel] Re: coercion issue?

2009-05-30 Thread David Harvey
This is now http://sagetrac.org/sage_trac/ticket/6168. david On May 30, 12:03 pm, Bill Hart wrote: > Regarding compilation with debug, zn_poly is passed the flag -DNEBUG > for a couple of files, instead of -DNDEBUG. This is a sloppy typo on > my part. Originally I think I took the output from t

[sage-devel] coercion of polynomials with integer coefficients

2009-05-30 Thread wkehowski
Hello, I would like to take a create a function that takes a polynomial over the integers and returns its roots in ZZ mod p for p a prime. I want to assume the polynomial is globally defined but the prime is the argument. Here is what I have in mind but can't quite get the types right. x = var(

[sage-devel] a RuntimeError in coercion code

2009-05-30 Thread Minh Nguyen
Hi folks, I encountered the following RuntimeError while testing a __cmp__ method in a class I'm writing: *** BEGIN TRANSCRIPT *** -- | Sage Version 4.0, Release Date: 2009-05-29 | | Type notebook() for t

[sage-devel] Re: sage-4.0

2009-05-30 Thread Justin C. Walker
On May 30, 2009, at 18:51 , Stephen Hartke wrote: > On Sat, May 30, 2009 at 9:34 AM, 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 compiled cleanly from source on Fedora 8 x86_64 Linux,

[sage-devel] Re: sage-4.0

2009-05-30 Thread William Stein
On Sat, May 30, 2009 at 6:51 PM, Stephen Hartke wrote: > On Sat, May 30, 2009 at 9:34 AM, 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 compiled cleanly from source on Fedora 8 x86_64 Linux, b

[sage-devel] Re: sage-4.0

2009-05-30 Thread Stephen Hartke
On Sat, May 30, 2009 at 9:34 AM, 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 compiled cleanly from source on Fedora 8 x86_64 Linux, but I get a segfault with the following commands: theta1,theta2=

[sage-devel] Re: What should happen if you type 'notebook()' ?

2009-05-30 Thread William Stein
On Sat, May 30, 2009 at 11:39 AM, mark mcclure wrote: > > On May 30, 1:42 pm, Mike Hansen wrote: >> On Sat, May 30, 2009 at 10:28 AM, mark mcclure wrote: >> > On my Mac, Firefox opens up automatically.  How do you access the >> > notebook on Windows, though?  I haven't figured out how to do so,

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

2009-05-30 Thread Minh Nguyen
Hi Harald, On Fri, May 29, 2009 at 10:25 AM, Harald Schilly wrote: > On May 25, 5:58 am, Minh Nguyen wrote: >> OK, I've tweaked planet sage a bit ... > > Small update, I've sticked my fingers into the templates and css code. > Now the borders are better and things don't run into each other. Th

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

2009-05-30 Thread Minh Nguyen
Hi Serge, On Tue, May 26, 2009 at 1:56 PM, Serge A. Salamanka wrote: > > Great improvement ! > > It will be cool to make planet just the same design as sagemath and > create the same logo "Planet SAGE". I'm not sure what you mean there. Can you give an example illustrating your design idea? >

[sage-devel] Re: latex errors during docbuild

2009-05-30 Thread John H Palmieri
On May 30, 2:46 pm, John Cremona wrote: > I notice that during "sage -docbuild all pdf" there were a lot of > latex errors flashing by,  too fast to read -- is there a log kept of > a docbuild run? > > John I don't think there is a log in general, but for pdf files, they are produced by runnin

[sage-devel] Re: sage-4.0

2009-05-30 Thread Kevin Horton
On Sat, May 30, 2009 at 19:39, Kevin Horton wrote: > On Sat, May 30, 2009 at 19:17, Kevin Horton wrote: > >> 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. >>> >> >> I

[sage-devel] bug in plot3d?

2009-05-30 Thread Alex Ghitza
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? Best, Alex -- Alex Ghitza -- Lecturer in Mathema

[sage-devel] Re: sage-4.0

2009-05-30 Thread William Stein
On Sat, May 30, 2009 at 11:27 AM, wrote: > > Hi William, > > On 30 Mai, 16:34, William Stein wrote: >> I have release sage-4.0.  It's now available athttp://sagemath.org/src/.   >> Binaries will follow in a day. > > Wasn't it claimed (AFAIK off list by you or Michael Abshoff) that sage > 4.0 w

[sage-devel] Re: sage-4.0

2009-05-30 Thread William Stein
On Sat, May 30, 2009 at 12:46 PM, Harald Schilly wrote: > > On May 30, 8:46 pm, Kevin Horton wrote: >> What is the correct MD5 for the tarball?  It is listed at >> 811388eac1e33fc4ec837d9e05b6b95b on the web page, yet I got >> 1f4e16b8f759174ad2c107161e1b03a2 on my downloaded tarball.  I downloa

[sage-devel] Re: sage-4.0

2009-05-30 Thread Kevin Horton
On Sat, May 30, 2009 at 19:17, Kevin Horton wrote: > 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. >> > > I built sage-4.0 on 32 bit ubuntu 8.10. It built OK, but "make te

[sage-devel] Re: sage-4.0

2009-05-30 Thread Justin C. Walker
On May 30, 2009, at 07:34 , William Stein wrote: > > Hello, > > I have release sage-4.0. It's now available at > http://sagemath.org/src/. Binaries will follow in a day. Built from scratch on Mac OS X, 10.5.7 (Dual Quad Xeon), 32-bit w/o problems. "make -j6 test" completed w/o failures.

[sage-devel] Re: sage-4.0

2009-05-30 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. > I built sage-4.0 on 32 bit ubuntu 8.10. It built OK, but "make testlong" produced a huge number of failures of like: sage -t -l

[sage-devel] Re: sage-4.0

2009-05-30 Thread Tim Lahey
On May 30, 2009, at 10:34 AM, William Stein wrote: > > Hello, > > I have release sage-4.0. It's now available at > http://sagemath.org/src/. Binaries will follow in a day. > On my 2.1GHz MacBook running OS X 10.5.7 the result of "make test": -

[sage-devel] latex errors during docbuild

2009-05-30 Thread John Cremona
I notice that during "sage -docbuild all pdf" there were a lot of latex errors flashing by, too fast to read -- is there a log kept of a docbuild run? John --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from

[sage-devel] Re: reviewing tickets

2009-05-30 Thread Ondrej Certik
On Wed, May 27, 2009 at 11:38 PM, William Stein wrote: > > On Wed, May 27, 2009 at 10:12 PM, William Stein wrote: >> On Wed, May 27, 2009 at 9:52 PM, Craig Citro wrote: >>> > Maybe I'm just hung up on the word "assign", since it does most of > what I would want, it just seems pushy. >>>

[sage-devel] Re: sage-4.0

2009-05-30 Thread 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.10.1 fails (on arch linux)", (btw, I also

[sage-devel] Re: sage-4.0

2009-05-30 Thread Harald Schilly
On May 30, 8:46 pm, Kevin Horton wrote: > What is the correct MD5 for the tarball?  It is listed at > 811388eac1e33fc4ec837d9e05b6b95b on the web page, yet I got > 1f4e16b8f759174ad2c107161e1b03a2 on my downloaded tarball.  I downloaded > again, and got the same MD5.  It expands without an obviou

[sage-devel] Re: sage-4.0

2009-05-30 Thread mark mcclure
On May 30, 10:34 am, William Stein wrote: > I have release sage-4.0.  It's now available at > http://sagemath.org/src/.   Built fine on my Intel based MacBook Pro running OS X 10.4.11. Running 'make test' right now. As I recall, I should be able to build Sage.app by running './sage -bdist 4.0',

[sage-devel] Re: What should happen if you type 'notebook()' ?

2009-05-30 Thread Kevin Horton
On Sat, May 30, 2009 at 14:39, mark mcclure wrote: > > On May 30, 1:42 pm, Mike Hansen wrote: > > On Sat, May 30, 2009 at 10:28 AM, mark mcclure > wrote: > > > On my Mac, Firefox opens up automatically. How do you access the > > > notebook on Windows, though? I haven't figured out how to do s

[sage-devel] Re: sage-4.0

2009-05-30 Thread Kiran Kedlaya
There's an spkg on track but it hasn't been reviewed yet. I was hoping to look at it this weekend, but feel free to beat me to it. :) Kiran On May 30, 2:27 pm, simon.k...@uni-jena.de wrote: > Hi William, > > On 30 Mai, 16:34, William Stein wrote: > > > I have release sage-4.0. It's now availab

[sage-devel] Re: sage-4.0

2009-05-30 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. > What is the correct MD5 for the tarball? It is listed at 811388eac1e33fc4ec837d9e05b6b95b on the web page, yet I got 1f4e16b8f7

[sage-devel] Re: Sage 4.0.rc2 released!

2009-05-30 Thread Justin C. Walker
On May 29, 2009, at 13:36 , Mike Hansen wrote: > > Hello, > > Sage 4.0.rc2 has been released. Assuming that nothing catastrophic > happens, this will become 4.0. The tarball can be > found at > > http://sage.math.washington.edu/home/mhansen/sage-4.0.rc2.tar > > and a copy of it to be used for

[sage-devel] Re: What should happen if you type 'notebook()' ?

2009-05-30 Thread mark mcclure
On May 30, 1:42 pm, Mike Hansen wrote: > On Sat, May 30, 2009 at 10:28 AM, mark mcclure wrote: > > On my Mac, Firefox opens up automatically.  How do you access the > > notebook on Windows, though?  I haven't figured out how to do so, > > presumably since the browser is a native Windows applicat

[sage-devel] Re: sage-4.0

2009-05-30 Thread simon . king
Hi William, On 30 Mai, 16:34, William Stein wrote: > I have release sage-4.0.  It's now available athttp://sagemath.org/src/.   > Binaries will follow in a day. Wasn't it claimed (AFAIK off list by you or Michael Abshoff) that sage 4.0 would contain Singular 3-1-0? It isn't there, the spkg is

[sage-devel] Re: What should happen if you type 'notebook()' ?

2009-05-30 Thread Mike Hansen
On Sat, May 30, 2009 at 10:28 AM, mark mcclure wrote: > On my Mac, Firefox opens up automatically.  How do you access the > notebook on Windows, though?  I haven't figured out how to do so, > presumably since the browser is a native Windows application, while > Sage is running in the VM. >From W

[sage-devel] Re: What should happen if you type 'notebook()' ?

2009-05-30 Thread mark mcclure
On May 29, 8:46 pm, Jason Grout wrote: > Dr. David Kirkby wrote: > > If one starts Sage and types 'notebook()', I believe this should start a > > server which can be used to connect via a browser. > > That is normal.  Further Sage interaction is done via the web browser > (go to the address noted

[sage-devel] Re: sage-4.0

2009-05-30 Thread William Stein
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.10.1 fails (on arch linux)", (btw, I also have Arch with > gcc 4.4 and glibc 2.10), the error for me

[sage-devel] Re: sage-4.0

2009-05-30 Thread John Cremona
This is the same issue as reported by Alex Ghitsa. John 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.10.1 fails (on arch linux)", (btw, I also h

[sage-devel] Re: sage-4.0

2009-05-30 Thread 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.10.1 fails (on arch linux)", (btw, I also have Arch with gcc 4.4 and glibc 2.10), the error for me it: g++ -o ./comptest comptest_n.o comppro

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

2009-05-30 Thread William Stein
On Sat, May 30, 2009 at 9:38 AM, Dr. David Kirkby wrote: > > William Stein wrote: >> On Wed, May 27, 2009 at 11:15 PM, Dr. David Kirkby > > BTW, I can't get to GUI to work under Solaris > > sage: notebook() > The notebook files are stored in: > /export/home/drkirkby/.sage//sa

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

2009-05-30 Thread Dr. David Kirkby
William Stein wrote: > On Wed, May 27, 2009 at 11:15 PM, Dr. David Kirkby BTW, I can't get to GUI to work under Solaris sage: notebook() The notebook files are stored in: /export/home/drkirkby/.sage//sage_notebook ** >

[sage-devel] sage-4.0

2009-05-30 Thread William Stein
Hello, I have release sage-4.0. It's now available at http://sagemath.org/src/. Binaries will follow in a day. William -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ To post to this group

[sage-devel] Re: coercion issue?

2009-05-30 Thread Bill Hart
Regarding compilation with debug, zn_poly is passed the flag -DNEBUG for a couple of files, instead of -DNDEBUG. This is a sloppy typo on my part. Originally I think I took the output from the zn_poly configure script, but in the latest version there were some new files, and I guess I added the ta

[sage-devel] Re: Sage 4.0.rc2 released!

2009-05-30 Thread mabshoff
On May 30, 12:51 am, John Cremona wrote: > 2009/5/30 Alex Ghitza : > > On my dell laptop running archlinux, my build from scratch fails at > > eclib.  I've extracted the relevant part from install.log and posted > > it at > > >http://www.ms.unimelb.edu.au/~aghitza/part_of_install.log > > > Thi

[sage-devel] Re: Sage 4.0.rc2 released!

2009-05-30 Thread John Cremona
2009/5/30 Alex Ghitza : > > On Sat, May 30, 2009 at 6:36 AM, Mike Hansen wrote: >> >> Hello, >> >> Sage 4.0.rc2 has been released.  Assuming that nothing catastrophic >> happens, this will become 4.0.  The tarball can be >> found at >> >> http://sage.math.washington.edu/home/mhansen/sage-4.0.rc2.

[sage-devel] Re: Sage 4.0.rc2 released!

2009-05-30 Thread John Cremona
2009/5/30 William Stein : > > On Fri, May 29, 2009 at 2:47 PM, Jaap Spies wrote: >> >> Mike Hansen wrote: >>> Hello, >>> >>> Sage 4.0.rc2 has been released.  Assuming that nothing catastrophic >>> happens, this will become 4.0.  The tarball can be >>> found at >>> >>> http://sage.math.washington.

[sage-devel] updating source location directories

2009-05-30 Thread Jason Grout
When I build sage in a certain directory, then move it to another location, it doesn't seem like the source code locations are updated for doing a double-questionmark: In the below, I originally built sage in /home/jason/download/sage-4.0.rc2/. However, after that, I moved sage to /home/jaso