[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 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 def

[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: Sage on Gentoo not supported?

2009-11-17 Thread Matt Rissler
All tests passed on both 32 and 64 bit. I can't guarantee that I can test every build, but I'll let you know if anything breaks when I do. On Nov 16, 12:14 pm, William Stein wrote: > On Mon, Nov 16, 2009 at 10:11 AM, Matt Rissler wrote: > > > Yes, I've been building from source.  And both 32-b

[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,

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 un

[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 > 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

[sage-devel] Re: Feature request for sagetex

2009-11-17 Thread Jason Grout
Dan Drake wrote: > ? Hmm, that might hard. I'm not sure how to do that. Right now, when you > do \sage{diff(sin(x), x)}, it runs something like > > latex(diff(sin(x), x)) > > and I don't know how to tell latex() to not fully evaluate the diff(). This is an oft-discussed subject (and oft-re

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: [sage-combinat-devel] Sage Days 20.5!

2009-11-17 Thread Nicolas M. Thiery
On Wed, Nov 18, 2009 at 09:56:09AM +1100, Minh Nguyen wrote: > 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 o

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 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. However you also

[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 s

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 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 >>> other packages liste

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 from

[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 th

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

[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 G

[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 wrote: > On Tue, Nov 17, 2009 at 10:52 AM, Francois Maltey 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, any advice in co

[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) \end

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

2009-11-17 Thread François Bissey
On Wed, 18 Nov 2009 10:05:55 Jason Grout wrote: > > I haven't modified anything: > > /dev/shm/sage-4.2.1/local/bin% cat sage_fortran > > #!/bin/sh > > sage_fortran.bin -fPIC $...@% > > > > Of course, sage_fortran.bin is a binary executable. > > Checking the SAGE_FORTRAN bit: > > /dev/shm/s

[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_FORTRAN=/usr

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

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

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

[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. So

[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 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 to test it la

[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: make

[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 wrote: > Hello again, > > 2009/11/16 William Stein >> >> On Mon, Nov 16, 2009 at 5:40 AM, Alejandro Serrano Mena >> wrote: >> > It usually means that you need to install libqscintilla2-dev and >> > libqt4-dev, >> > so development files are

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

2009-11-17 Thread ghtdak
On Nov 17, 8:35 am, Nathann Cohen 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 using PyDev and PyDev Ex

[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-unsubscr...@googlegroups.

[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 i

[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 AM

[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

[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 p

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

2009-11-17 Thread ma...@mendelu.cz
On 17 lis, 13:00, Mike Hansen wrote: > Hello, > > On Tue, Nov 17, 2009 at 4:32 PM, Nathann Cohen > 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

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

2009-11-17 Thread Harald Schilly
On Nov 17, 1:33 pm, Nathann Cohen 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 something similar with netbea

[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 (Robert)

[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. -M

[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: Which software to write Sage code ?

2009-11-17 Thread Mike Hansen
Hello, On Tue, Nov 17, 2009 at 4:32 PM, Nathann Cohen 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 the people I talked

[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 w

[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 ? > > > >

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-17 Thread kstueve
How can you edit a plot in real time programatically? I have found Ptplot useful in the past. It allows points to be added to a plot, zooming, etc. Is there functionality like this in Sage? Would Ptplot make a good addition to Sage? I would like some way to graph quantities as they are changi

[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)