[sage-combinat-devel] TestSuite

2009-11-17 Thread Florent Hivert
Hi ! With the forthcoming bunch of sage-combinat patches, to test a parent we call sage: TestSuite(P).run() which by default returns nothing if everything is ok and raise an AssertionError if not. There is also a verbose mode sage: TestSuite(P).run(verbose=True)

[sage-combinat-devel] Re: TestSuite and ...

2009-11-17 Thread Florent Hivert
     Dear Nicolas, I just spent/lost one hour on the following missfeature (at least in my opinion) of TestsSuite... Mind the ... ;-) Those dots are particularly heavy dots... Still don't get it ? Try    myself._test_my_reaction() ... done ? Anything happening ? No ? Really

[sage-combinat-devel] Re: TestSuite

2009-11-17 Thread Nicolas M. Thiery
Dear Florent, dear Mike, On Tue, Nov 17, 2009 at 09:49:06AM +0100, Florent hivert wrote: With the forthcoming bunch of sage-combinat patches, to test a parent we call sage: TestSuite(P).run() which by default returns nothing if everything is ok and raise an

[sage-combinat-devel] Re: TestSuite

2009-11-17 Thread Nicolas M. Thiery
On Tue, Nov 17, 2009 at 07:36:58AM -0800, William Stein wrote: I think it is ridiculous to have doctests of the form sage:sga = SymmetricGroup(3) sage: TestSuite(sga).run(verbose=True) running ._test_an_element() .. done running ._test_associativity() .. done

[sage-devel] TestSuite

2009-11-17 Thread Florent Hivert
Hi ! With the forthcoming bunch of sage-combinat patches, to test a parent we call sage: TestSuite(P).run() which by default returns nothing if everything is ok and raise an AssertionError if not. There is also a verbose mode sage: TestSuite(P).run(verbose=True)

[sage-devel] Re: [sage-combinat-devel] Re: TestSuite and ...

2009-11-17 Thread Nicolas M. Thiery
Hi Florent, On Tue, Nov 17, 2009 at 09:05:23AM +0100, Florent hivert wrote: I just spent/lost one hour on the following missfeature (at least in my opinion) of TestsSuite... Mind the ... ;-) Those dots are particularly heavy dots... Still don't get it ? Try    

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread Marmaduke
My impression is that the notebook is best for demonstrations, exploration and rapid development. When I need to turn the results of a worksheet into a module, I use emacs and/or the sage shell to aggregate the code developed in a worksheet and test it. I'd look at the features of Eclipse you'd

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread Mike Hansen
Hello, On Tue, Nov 17, 2009 at 4:32 PM, Nathann Cohen nathann.co...@gmail.com wrote: I am using Emacs ( and I am interested in knowing which softwares you are using ), but so far I mainly failed to convince people this was also the best option for them. I use Emacs for everything. Most of

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread Nathann Cohen
What sort of features are you looking for?  Eclipse has a PyDev plugin which can be used to write Python code. I have been told ( on #sage-devel ) that it was not possible to use Sage through Eclipse as we are shipping our own version of Python, which prevented the two from working together.

[sage-devel] Re: sage-4.2.1 binary on OS X 10.5 Intel

2009-11-17 Thread mhampton
OK, I put one up at: http://sage.math.washington.edu/home/mhampton/sage-4.2.1-osx-10.5-32bit-i386-Darwin.dmg My home connection was flaky, so I had to split that into pieces and re-assemble it. I'll try to test it later today, or perhaps someone else can before its put on the download page.

[sage-devel] Re: Categories review: almost there!

2009-11-17 Thread Nicolas M. Thiery
Dear category fans, Latest status report for the category patches: - They apply smoothly on 4.2.1 with all test passing :-) (This is on a macbook pro ubuntu 9.4 with everything up to sage-4.3.patch in the Sage-Combinat queue) Remains to do: - Final comments on Groupoid

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread Harald Schilly
On Nov 17, 1:33 pm, Nathann Cohen nathann.co...@gmail.com wrote: I have been told ( on #sage-devel ) that it was not possible to use Sage through Eclipse as we are shipping our own version of Python. If you start eclipse from inside the sage environment it should work. I remember doing

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread ma...@mendelu.cz
On 17 lis, 13:00, Mike Hansen mhan...@gmail.com wrote: Hello, On Tue, Nov 17, 2009 at 4:32 PM, Nathann Cohen nathann.co...@gmail.com wrote: I am using Emacs ( and I am interested in knowing which softwares you are using ), but so far I mainly failed to convince people this was also

[sage-devel] Sage Days 18 schedule

2009-11-17 Thread William Stein
Hi, The official Clay Math Institute website and schedule are up for Sage Days 18: http://www.claymath.org/workshops/sage/ -- William -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ To

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread Jason Grout
Nathann Cohen wrote: What sort of features are you looking for? Eclipse has a PyDev plugin which can be used to write Python code. I have been told ( on #sage-devel ) that it was not possible to use Sage through Eclipse as we are shipping our own version of Python, which prevented the two

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread William Stein
Hi, I used to use this IDE for Sage development, long ago: http://eric-ide.python-projects.org/eric4-screenshots.html I know that Glenn Tarbox's uses Sage from Eclipse. Now I use a mix of emacs, vim and the notebook, depending on what I'm doing. -- William On Tue, Nov 17, 2009 at 4:00

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread Jan Groenewald
Hi Something in between the IDE (eclipse, spe, idle, whatever) and the text editor (YaY vim!) that is very newbie friendly is gedit with an embedded terminal (which we use to teach) with ipython (or sage) in the embedded terminal. It is the standard gnome terminal, and needs gedit-plugins to be

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread Nathann Cohen
And is there any known way to have eclipse use auto-completion on Sage classes ? Nathann --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread ghtdak
On Nov 17, 8:35 am, Nathann Cohen nathann.co...@gmail.com wrote: And is there any known way to have eclipse use auto-completion on Sage classes ? That would probably be tough within Eclipse proper although there may be another approach... First, I have used Eclipse successfully with Sage

[sage-devel] Re: Lorien Labs: an IDE for Sage

2009-11-17 Thread William Stein
On Mon, Nov 16, 2009 at 1:57 PM, Alejandro Serrano Mena trup...@gmail.com wrote: Hello again, 2009/11/16 William Stein wst...@gmail.com On Mon, Nov 16, 2009 at 5:40 AM, Alejandro Serrano Mena trup...@gmail.com wrote: It usually means that you need to install libqscintilla2-dev and

[sage-devel] compile problem for 4.2.1 on 64-bit Ubuntu 9.10

2009-11-17 Thread Jason Grout
I have a fairly fresh installation of 64-bit Ubuntu 9.10, and I'm compiling 4.2.1. I've installed gfortran and build-essential, plus the other packages listed in step 1 of the README. I even set SAGE_FORTRAN=/usr/bin/gfortran before building. I get the following error when building R:

[sage-devel] Re: sage-4.2.1 binary on OS X 10.5 Intel

2009-11-17 Thread mhampton
OK, I tested it and it seems fine. -Marshall On Nov 17, 6:37 am, mhampton hampto...@gmail.com wrote: OK, I put one up at: http://sage.math.washington.edu/home/mhampton/sage-4.2.1-osx-10.5-32b... My home connection was flaky, so I had to split that into pieces and re-assemble it. I'll try

[sage-devel] Re: [sage-combinat-devel] Re: TestSuite

2009-11-17 Thread Nicolas M. Thiery
Yeah, but occasionally enormously useful. So I think it should be advertised, at least in sage -advanced, if not just so that I don't ask Mike about it a third time. I'll post a patch to trac. Also, it could *easily* be fixed so that it 100% works. I just never got to that. Somebody

Re: [sage-devel] Re: Lorien Labs: an IDE for Sage

2009-11-17 Thread Alejandro Serrano Mena
2009/11/17 William Stein wst...@gmail.com On Mon, Nov 16, 2009 at 1:57 PM, Alejandro Serrano Mena trup...@gmail.com wrote: Hello again, 2009/11/16 William Stein wst...@gmail.com On Mon, Nov 16, 2009 at 5:40 AM, Alejandro Serrano Mena trup...@gmail.com wrote: It usually means

Re: [sage-devel] compile problem for 4.2.1 on 64-bit Ubuntu 9.10

2009-11-17 Thread François Bissey
On Wed, 18 Nov 2009 08:23:39 Jason Grout wrote: I have a fairly fresh installation of 64-bit Ubuntu 9.10, and I'm compiling 4.2.1. I've installed gfortran and build-essential, plus the other packages listed in step 1 of the README. I even set SAGE_FORTRAN=/usr/bin/gfortran before building.

[sage-devel] Re: compile problem for 4.2.1 on 64-bit Ubuntu 9.10

2009-11-17 Thread Jason Grout
François Bissey wrote: On Wed, 18 Nov 2009 08:23:39 Jason Grout wrote: I have a fairly fresh installation of 64-bit Ubuntu 9.10, and I'm compiling 4.2.1. I've installed gfortran and build-essential, plus the other packages listed in step 1 of the README. I even set

[sage-devel] Feature request for sagetex

2009-11-17 Thread Nicolas M. Thiery
Hi Dan! I played with sagetex today. That's cool stuff :-) I have a feature request: an environment where I could use the same syntax as in usual doctests (without the sage results): \begin{sageexample} sage: 1 + 1 sage: def f(x): ... x^2 sage: f(3)

[sage-devel] Re: [sage-edu] Re: Advice on adopting Sage in undergrad teaching?

2009-11-17 Thread William Stein
On Tue, Nov 17, 2009 at 11:18 AM, William Stein wst...@gmail.com wrote: On Tue, Nov 17, 2009 at 10:52 AM, Francois Maltey fmal...@nerim.fr wrote: Dear all, I'm looking for success stories from people who have used Sage in their undergraduate teaching, particularly at the lower years. Also,

[sage-devel] Re: Which software to write Sage code ?

2009-11-17 Thread Maurizio
I honestly didn't get the chance to work with it, but when I installed sage-mode in emacs, I found it very useful, because it does this integration of a powerful editor (also sufficiently newbie friendly) with a sage embedded terminal Try sage-mode and emacs!! :) Maurizio On 17 Nov, 17:31, Jan

Re: [sage-devel] Re: graph plotting defaults

2009-11-17 Thread Nicolas M. Thiery
On Tue, Nov 17, 2009 at 09:35:18AM -0600, Jason Grout wrote: Rob Beezer wrote: A few quick comments: * I think talk=True was a bad choice of option name. It's limiting, potentially conflicts with other options, etc. +1 This seems to happen often; an option gets implemented as

[sage-devel] Re: [sage-combinat-devel] Sage Days 20.5!

2009-11-17 Thread Minh Nguyen
Hi Franco, This is indeed good news: another Sage workshop. On the workshop website, I see that reflection groups algorithms is a tentative topic. I didn't know you guys do reflection groups. I better get started on reading some literature on that topic (I can't attend the workshop, but I heard

Re: [sage-devel] Re: Doc rendering improvement suggestions.

2009-11-17 Thread Florent Hivert
Hi there, I really like to see the following questions answered and the answer implemented in sage. There has been already at least 5 or 6 discussion on sage-devel about improving the doc... few of them are conclusive. I think we should push this discussion to its end... Though I'm far

Re: [sage-devel] Re: compile problem for 4.2.1 on 64-bit Ubuntu 9.10

2009-11-17 Thread William Stein
On Tue, Nov 17, 2009 at 1:05 PM, Jason Grout jason-s...@creativetrax.com wrote: François Bissey wrote: On Wed, 18 Nov 2009 08:23:39 Jason Grout wrote: I have a fairly fresh installation of 64-bit Ubuntu 9.10, and I'm compiling 4.2.1.  I've installed gfortran and build-essential, plus the

[sage-devel] Re: [sage-combinat-devel] Re: TestSuite

2009-11-17 Thread Nicolas M. Thiery
On Tue, Nov 17, 2009 at 11:53:27PM +0100, Florent hivert wrote: Just to be sure: do we agree to let this verbose list is the documentation of a non-trivial category to expose the tests which are actually run, and to systematically remove it everywhere else ? I just made a grep, and I think so,

Re: [sage-devel] Re: Lorien Labs: an IDE for Sage

2009-11-17 Thread William Stein
On Tue, Nov 17, 2009 at 12:37 PM, Alejandro Serrano Mena trup...@gmail.com wrote: Are these -- PyQt4, QT 4.5.1, etc. -- all standard Ubuntu packages? Or did you have to build them from source? QT and PyQT are standard Ubuntu packages. You need both installed to run the QT environment.

Re: [sage-devel] Feature request for sagetex

2009-11-17 Thread Dan Drake
Hi Nicolas, On Tue, 17 Nov 2009 at 11:32PM +0100, Nicolas M. Thiery wrote: I have a feature request: an environment where I could use the same syntax as in usual doctests (without the sage results): \begin{sageexample} sage: 1 + 1 sage: def f(x): ... x^2

[sage-devel] Re: compile problem for 4.2.1 on 64-bit Ubuntu 9.10

2009-11-17 Thread Jason Grout
William Stein wrote: On Tue, Nov 17, 2009 at 1:05 PM, Jason Grout jason-s...@creativetrax.com wrote: François Bissey wrote: On Wed, 18 Nov 2009 08:23:39 Jason Grout wrote: I have a fairly fresh installation of 64-bit Ubuntu 9.10, and I'm compiling 4.2.1. I've installed gfortran and

Re: [sage-devel] Re: compile problem for 4.2.1 on 64-bit Ubuntu 9.10

2009-11-17 Thread William Stein
      have to explicitly tell the build process about the fortran       compiler and library location.  Do this by typing           export SAGE_FORTRAN=/exact/path/to/gfortran           export SAGE_FORTRAN_LIB=/path/to/fortran/libs/libgfortran.so Okay, that worked.  I didn't understand the

[sage-devel] Re: compile problem for 4.2.1 on 64-bit Ubuntu 9.10

2009-11-17 Thread Jason Grout
William Stein wrote: have to explicitly tell the build process about the fortran compiler and library location. Do this by typing export SAGE_FORTRAN=/exact/path/to/gfortran export SAGE_FORTRAN_LIB=/path/to/fortran/libs/libgfortran.so Okay, that worked. I

[sage-devel] automatically defining variables names

2009-11-17 Thread William Stein
Hi, Dozens of times over the years, people have complained because in Sage symbolic variables names don't magically spring into existence, and also about object-oriented method call notation. We have defended this design forever, not even considering providing a non-default optional mode what

[sage-devel] Re: partially defining a function

2009-11-17 Thread Jason Grout
Burcin Erocal wrote: Hi Jason, On Thu, 12 Nov 2009 12:30:11 -0600 Jason Grout jason-s...@creativetrax.com wrote: It would be nice if we could do something like: sage: f(x,0)=e^x sage: f(x,t)=x*t or sage: f(0)=0 sage: f(x)=sin(x)/x Is there an elegant way to have multiple