[sage-devel] Re: Problems with opensuse 11.1

2009-01-30 Thread Elizabeth Yip
When I tried to run sage as root and issued the plot3d command in the notebook, I got the following error message on the console from which I issued the sage command: PIPE: appletviewer wrote: running PIPE: appletviewer read: instance-9777-0 PIPE: appletviewer read: tag http://localhost:8000/

[sage-devel] Re: not-so-n00b developing question

2009-01-30 Thread john_perry_usm
Hey, it turns out that you hit it on the money. While looking through it again, I noticed that when examining the source through sage (using ??) the source file was listed in the directory /atlas/home/perry/nethome/sage-3.2.1/... instead of /home/software/sage-3.2.1/... "nethome" i

[sage-devel] Re: not-so-n00b developing question

2009-01-30 Thread john_perry_usm
Thanks. "which sage" gives /usr/local/bin/sage, but the working directory is / home/software/sage-3.2.1/devel/sage and I'm calling "../../sage -b" from the command line. That seems (to me) to rule out that possibility. john On Jan 30, 7:00 pm, Jason Grout wrote: > john_perry_usm wrote: > > Hi

[sage-devel] LaTeX -> SWS conversion project, proof-of-concept

2009-01-30 Thread Rob Beezer
I've written a short (14-page) primer on using basic group theory commands in SAGE. It is available in the "Sage Documentation Project" area of the wiki, and via direct links below. There is a seperate post in the sage-edu list soliciting comments on the content. I've used this project as a tes

[sage-devel] Re: Problems with opensuse 11.1

2009-01-30 Thread Elizabeth Yip
Thanks for the suggestion. It works !!! Then I tried to rerun some of my old worksheets and had a problem with plot3d. I got an empty gray rectangle, no display. plot3d was working very nicely when I was running opensuse 10.2 !! I opened http://www.java.com/en/download/help/testvm.xml to test

[sage-devel] Re: illegal instruction warnings: masking CPUID with vmware?

2009-01-30 Thread mabshoff
On Jan 30, 6:01 pm, mabshoff wrote: > Seriously: The energy spend on an SSE only build is plainly not worth > it considering the number of bugs I can fix in the same time where the > vast majority of Sage users benefit. Once #2999-#3001 is done we can > attempt to do it. I just did extend m

[sage-devel] Re: illegal instruction warnings: masking CPUID with vmware?

2009-01-30 Thread mabshoff
On Jan 30, 5:46 pm, William Stein wrote: > On Fri, Jan 30, 2009 at 5:44 PM, mabshoff wrote: > > > On Jan 30, 2:18 pm, mabshoff wrote: > > > > > >> Yep, I have been playing around with this and I don't think it will be > >> too far into the future. > > > I did play around with the script I wr

[sage-devel] Re: illegal instruction warnings: masking CPUID with vmware?

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 5:44 PM, mabshoff wrote: > > > > On Jan 30, 2:18 pm, mabshoff wrote: > > > >> Yep, I have been playing around with this and I don't think it will be >> too far into the future. > > I did play around with the script I wrote some more and the only code > using SSE3 or high

[sage-devel] Re: illegal instruction warnings: masking CPUID with vmware?

2009-01-30 Thread mabshoff
On Jan 30, 2:18 pm, mabshoff wrote: > Yep, I have been playing around with this and I don't think it will be > too far into the future. I did play around with the script I wrote some more and the only code using SSE3 or higher is ./libatlas.so: at least 863330 sse instuctions used found SS

[sage-devel] Re: not-so-n00b developing question

2009-01-30 Thread Jason Grout
john_perry_usm wrote: > Hi all, > > I'm trying to make some changes to my sage installation. I change the > file in the $SAGE_ROOT/devel tree, then call $SAGE_ROOT/sage -b > > Now this works on my laptop, but not on my desktop. If I run > $SAGE_ROOT/sage, it's as if I made no changes at all. >

[sage-devel] not-so-n00b developing question

2009-01-30 Thread john_perry_usm
Hi all, I'm trying to make some changes to my sage installation. I change the file in the $SAGE_ROOT/devel tree, then call $SAGE_ROOT/sage -b Now this works on my laptop, but not on my desktop. If I run $SAGE_ROOT/sage, it's as if I made no changes at all. This is an example of the output from

[sage-devel] Re: TinyMCE behavior on published notebooks

2009-01-30 Thread Jason Grout
Jason Grout wrote: > William Stein wrote: >> On Fri, Jan 30, 2009 at 12:29 PM, Peter wrote: >>> Hi, >>> >>> I really like the TinyMCE editor for textcells and think it will be >>> very useful for interactive course notes and student projects. >>> >>> I did notice that on 3.3.alpha1 TinyMCE is als

[sage-devel] Re: illegal instruction warnings: masking CPUID with vmware?

2009-01-30 Thread mabshoff
On Jan 30, 11:58 am, William Stein wrote: > On Fri, Jan 30, 2009 at 11:50 AM, Carl Witty wrote: > > > We have a problem finding and maintaining machines old enough to not > > have SSE3, etc., so that we can reliably build Sage binaries that > > don't rely on SSE3. > > > Evidently, vmware lets

[sage-devel] Re: TinyMCE behavior on published notebooks

2009-01-30 Thread Jason Grout
William Stein wrote: > On Fri, Jan 30, 2009 at 12:29 PM, Peter wrote: >> Hi, >> >> I really like the TinyMCE editor for textcells and think it will be >> very useful for interactive course notes and student projects. >> >> I did notice that on 3.3.alpha1 TinyMCE is also invoked when I double- >>

[sage-devel] Re: upgrading matplotlib and ignoring sage's matplotlibrc

2009-01-30 Thread Nils Bruin
On Jan 30, 10:46 am, Jason Grout wrote: > Add a warnings handler which traps the Matplotlib deprecation > warning. This handler will compare the matplotlibrc with the one that > was distributed in the last release (maybe by checking a hash value). > If it is identical (i.e., the user hasn't mod

[sage-devel] Re: TinyMCE behavior on published notebooks

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 12:29 PM, Peter wrote: > > Hi, > > I really like the TinyMCE editor for textcells and think it will be > very useful for interactive course notes and student projects. > > I did notice that on 3.3.alpha1 TinyMCE is also invoked when I double- > click on the text cell of a

[sage-devel] TinyMCE behavior on published notebooks

2009-01-30 Thread Peter
Hi, I really like the TinyMCE editor for textcells and think it will be very useful for interactive course notes and student projects. I did notice that on 3.3.alpha1 TinyMCE is also invoked when I double- click on the text cell of a published notebook (without being logged in). This is not real

[sage-devel] Re: Problems with opensuse 11.1

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 12:18 PM, Elizabeth Yip wrote: > > Thanks for the 3.2.3 binary. It works when I use it as root. > > As I use it as a normal user, when I issued the notebook() command: > sage: notebook() > The notebook files are stored in: /home/eliz/.sage//sage_notebook > ***

[sage-devel] Re: Problems with opensuse 11.1

2009-01-30 Thread Elizabeth Yip
Thanks for the 3.2.3 binary. It works when I use it as root. As I use it as a normal user, when I issued the notebook() command: sage: notebook() The notebook files are stored in: /home/eliz/.sage//sage_notebook ** *

[sage-devel] Re: illegal instruction warnings: masking CPUID with vmware?

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 11:50 AM, Carl Witty wrote: > > We have a problem finding and maintaining machines old enough to not > have SSE3, etc., so that we can reliably build Sage binaries that > don't rely on SSE3. > > Evidently, vmware lets you mask CPUID results, to hide particular CPU > featur

[sage-devel] illegal instruction warnings: masking CPUID with vmware?

2009-01-30 Thread Carl Witty
We have a problem finding and maintaining machines old enough to not have SSE3, etc., so that we can reliably build Sage binaries that don't rely on SSE3. Evidently, vmware lets you mask CPUID results, to hide particular CPU features from the guest: http://pubs.vmware.com/vi3/bsa/wwhelp/wwhimpl/c

[sage-devel] Re: tinymce

2009-01-30 Thread Jason Grout
William Stein wrote: > Hi Sage-devel (and mainly Jason Grout), > > OK, so TinyMCE totally rocks, and now I use it all the time. > > Question -- can we change it so pressing "shift-enter" is the same as > clicking "Save Changes". > This would make the UI much more consistent with the rest of the

[sage-devel] tinymce

2009-01-30 Thread William Stein
Hi Sage-devel (and mainly Jason Grout), OK, so TinyMCE totally rocks, and now I use it all the time. Question -- can we change it so pressing "shift-enter" is the same as clicking "Save Changes". This would make the UI much more consistent with the rest of the sage notebook, where pressing shift

[sage-devel] Re: upgrading matplotlib and ignoring sage's matplotlibrc

2009-01-30 Thread Jason Grout
Jason Grout wrote: > > Well, there is something to be said for what you said. We ship our own > version of matplotlib, which mostly likely is different than the system > install. That means that their perfectly good default matplotlibrc file > might cause deprecation warnings for us. For t

[sage-devel] Re: upgrading matplotlib and ignoring sage's matplotlibrc

2009-01-30 Thread Jason Grout
William Stein wrote: > On Fri, Jan 30, 2009 at 8:52 AM, Carl Witty wrote: >> On Thu, Jan 29, 2009 at 5:49 PM, William Stein wrote: >>> On Wed, Jan 28, 2009 at 10:07 PM, Jason Grout >>> wrote: I just finished upgrading the matplotlib spkg to the newest version. See http://trac.sagemath

[sage-devel] sage days 13

2009-01-30 Thread William Stein
Hello, If anybody is very interested in attending Sage Days 13 we still have a very small amount of funding left: http://wiki.sagemath.org/days13 Please email me if you're very interested. -- William -- William Stein Associate Professor of Mathematics University of Washington http://w

[sage-devel] Re: openopt spkg for Sage

2009-01-30 Thread dmitrey
Hi SAGE developers, I have been informed about the discussion, don't you mind me to put my 2 cents here? > I wonder if openopt isn't nearly mature enough for Sage? I guess I hardly have correct rights to comment it, still I concider OpenOpt is quite mature, see http://openopt.blogspot.com/2008/0

[sage-devel] Re: Interfacing VisIt, ParaView with Sage

2009-01-30 Thread Jaap Spies
Pat LeSmithe wrote: > > Hello, Sage developers, > Hi Pat, > In the interest of cross-fertilization, I'd like to mention VisIt [1] > and ParaView [2]. These are BSD-licensed parallel visualization > applications based partly on the Visualization Toolkit (VTK) [3]. > > [1] https://wci.llnl.go

[sage-devel] Re: upgrading matplotlib and ignoring sage's matplotlibrc

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 8:52 AM, Carl Witty wrote: > > On Thu, Jan 29, 2009 at 5:49 PM, William Stein wrote: >> >> On Wed, Jan 28, 2009 at 10:07 PM, Jason Grout >> wrote: >>> >>> I just finished upgrading the matplotlib spkg to the newest version. >>> See http://trac.sagemath.org/sage_trac/tick

[sage-devel] Re: upgrading matplotlib and ignoring sage's matplotlibrc

2009-01-30 Thread Carl Witty
On Thu, Jan 29, 2009 at 5:49 PM, William Stein wrote: > > On Wed, Jan 28, 2009 at 10:07 PM, Jason Grout > wrote: >> >> I just finished upgrading the matplotlib spkg to the newest version. >> See http://trac.sagemath.org/sage_trac/ticket/4774 >> >> This version of matplotlib deprecates some of th

[sage-devel] Re: A Mac OS X Sage Launcher

2009-01-30 Thread mabshoff
On Jan 30, 8:38 am, kcrisman wrote: > Two followups: > > > > > Yep, and given that it isn't open source I would rather not touch it. > > 1. Platypus is GPL, as Ivan correctly points out above.  It was Fluid > that isn't.  But it still requires rather a lot of interaction for > someone not too f

[sage-devel] Re: A Mac OS X Sage Launcher

2009-01-30 Thread kcrisman
Two followups: > > Yep, and given that it isn't open source I would rather not touch it. 1. Platypus is GPL, as Ivan correctly points out above. It was Fluid that isn't. But it still requires rather a lot of interaction for someone not too familiar with scripting, enough that I was foiled whe

[sage-devel] Re: upgrading matplotlib and ignoring sage's matplotlibrc

2009-01-30 Thread Jason Grout
John Hunter wrote: > On Fri, Jan 30, 2009 at 9:30 AM, Ondrej Certik wrote: > >>> I *wish* matplotlib would replace their stupid deprecation warnings by >>> something that just updates the matplotlibrc file, and say makes a >>> copy of the old one. Is there any way we could catch the warnings an

[sage-devel] Re: A Mac OS X Sage Launcher

2009-01-30 Thread mabshoff
On Jan 30, 7:47 am, kcrisman wrote: Hi, > Platypus has been discussed a number of times before, including by > Ivan: > > http://groups.google.com/group/sage-devel/browse_thread/thread/86b087...http://groups.google.com/group/sage-devel/browse_thread/thread/647f96...http://groups.google.com/gro

[sage-devel] Re: upgrading matplotlib and ignoring sage's matplotlibrc

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 7:30 AM, Ondrej Certik wrote: > On Thu, Jan 29, 2009 at 5:49 PM, William Stein wrote: >> I *wish* matplotlib would replace their stupid deprecation warnings by >> something that just updates the matplotlibrc file, and say makes a >> copy of the old one. Is there any way

[sage-devel] Re: A Mac OS X Sage Launcher

2009-01-30 Thread kcrisman
Platypus has been discussed a number of times before, including by Ivan: http://groups.google.com/group/sage-devel/browse_thread/thread/86b087a2fb157678 http://groups.google.com/group/sage-devel/browse_thread/thread/647f9610f161f2fd http://groups.google.com/group/sage-devel/browse_thread/thread/a

[sage-devel] Re: upgrading matplotlib and ignoring sage's matplotlibrc

2009-01-30 Thread Jason Grout
William Stein wrote: > On Wed, Jan 28, 2009 at 10:07 PM, Jason Grout > wrote: >> I just finished upgrading the matplotlib spkg to the newest version. >> See http://trac.sagemath.org/sage_trac/ticket/4774 >> >> This version of matplotlib deprecates some of the constructs found in >> Sage's matplot

[sage-devel] Re: upgrading matplotlib and ignoring sage's matplotlibrc

2009-01-30 Thread Ondrej Certik
On Thu, Jan 29, 2009 at 5:49 PM, William Stein wrote: > > On Wed, Jan 28, 2009 at 10:07 PM, Jason Grout > wrote: >> >> I just finished upgrading the matplotlib spkg to the newest version. >> See http://trac.sagemath.org/sage_trac/ticket/4774 >> >> This version of matplotlib deprecates some of th

[sage-devel] Re: Problems with opensuse 11.1

2009-01-30 Thread William Stein
On Fri, Jan 30, 2009 at 12:14 AM, Elizabeth Yip wrote: > > Hello > > I have been using sage on opensuse 10.2 for a long time. It has been > a great replacement for mathematica for me. Thank you for all the > good work !! > > Recently, I updated my system to 11.1. Before the update, I was using

[sage-devel] Re: Sage 3.3.alpha3 released

2009-01-30 Thread Jaap Spies
mabshoff wrote: > > > On Jan 30, 6:25 am, Jaap Spies wrote: >> Great job! I see this behaviour only on Fedora 9, not on Fedora 10. > > Well, it isn't fixed yet, but my guess is that it only happens on FC9 > and higher since the way brk randomization is done has changed in the > kernel. I did

[sage-devel] Re: Sage 3.3.alpha3 released

2009-01-30 Thread mabshoff
On Jan 30, 6:25 am, Jaap Spies wrote: > mabshoff wrote: > > The problem is likely the same as Carl Witty and I tracked down above, > > i.e. brk() does not extend the heap and Singular goes boom even though > > it did get the memory. Note that in case of failure the amount > > allocated seems

[sage-devel] Re: Sage 3.3.alpha3 released

2009-01-30 Thread Jaap Spies
mabshoff wrote: > > > On Jan 30, 5:41 am, Jaap Spies wrote: [...] >> Now running this eight tests in a loop. >> >> Until now: >> [j...@paix sage-3.3.alpha3]$ grep passed t.log | wc -l >> 493 >> [j...@paix sage-3.3.alpha3]$ grep fail t.log | wc -l >> 2 > [j...@paix sage-3.3.alpha3]$ grep passe

[sage-devel] Re: Problems with opensuse 11.1

2009-01-30 Thread mabshoff
Elizabeth Yip wrote: > Hello Hi Elizabeth, > I have been using sage on opensuse 10.2 for a long time. It has been > a great replacement for mathematica for me. Thank you for all the > good work !! > > Recently, I updated my system to 11.1. Before the update, I was using > Sage Version 3.2,

[sage-devel] Re: Sage 3.3.alpha3 released

2009-01-30 Thread mabshoff
On Jan 30, 5:41 am, Jaap Spies wrote: > mabshoff wrote: > > Hello folks, > > > here goes alpha3 which is still rather large. It is mostly the mop up > > of patches from Sage Days 12 which went rather well :) > > [...] > > > Please build, doctest and report all issues. > > On Fedora 9, 32 bits i

[sage-devel] Re: Sage 3.3.alpha3 released

2009-01-30 Thread Jaap Spies
mabshoff wrote: > Hello folks, > > here goes alpha3 which is still rather large. It is mostly the mop up > of patches from Sage Days 12 which went rather well :) > [...] > > Please build, doctest and report all issues. > On Fedora 9, 32 bits in a fresh build: The following tests failed:

[sage-devel] Re: Sage 3.3.alpha3 released

2009-01-30 Thread Jaap Spies
mabshoff wrote: > > > On Jan 29, 3:17 pm, William Stein wrote: > > > >> Built and fails spectacularly: >>* Fedora 64 bit, with dozens of failures like this (about 1 in 6 >> doctest files): >> sage -t "devel/sage/sage/misc/all.py" >> A mysterious error (perphaps a memory error?) occurred

[sage-devel] Re: Sage 3.3.alpha3 released

2009-01-30 Thread Dan Drake
On Thu, 29 Jan 2009 at 11:19AM -0800, mabshoff wrote: > Hello folks, > > here goes alpha3 which is still rather large. It is mostly the mop up > of patches from Sage Days 12 which went rather well :) [...] > Please build, doctest and report all issues. I've done multiple runs of 'make test', 'mak

[sage-devel] Re: Sage 3.3.alpha3 released

2009-01-30 Thread Alex Ghitza
Thanks for the report, David. This is now trac #5136: http://trac.sagemath.org/sage_trac/ticket/5136 On Fri, Jan 30, 2009 at 8:16 PM, daveloeffler wrote: > > Upgrading from 3.3.alpha2, it all downloads and builds fine, but the > fix for the fractional ideals in relative number fields problem s

[sage-devel] Re: Sage 3.3.alpha3 released

2009-01-30 Thread daveloeffler
Upgrading from 3.3.alpha2, it all downloads and builds fine, but the fix for the fractional ideals in relative number fields problem seems to have introduced a new bug: sage: K. = QuadraticField(-23) sage: L. = K.extension(x^3 - x - 1) sage: OL = L.ring_of_integers() It seems to get stuck in an

[sage-devel] Problems with opensuse 11.1

2009-01-30 Thread Elizabeth Yip
Hello I have been using sage on opensuse 10.2 for a long time. It has been a great replacement for mathematica for me. Thank you for all the good work !! Recently, I updated my system to 11.1. Before the update, I was using Sage Version 3.2, Release Date: 2008-11-20. When I tried to use this