[sage-devel] Sage Constructions

2010-04-17 Thread William Stein
Hi, The Sage "Constructions" got is prominently listed in our documentation, right next to the tutorial. It is woefully, scary, out of date. Try looking at some of the examples related to plotting to see what I mean, e.g., where it starts: "Plotting in Sage can be done in many different ways.

Re: [sage-devel] Sage and Amazon EC2?

2010-04-17 Thread William Stein
On Saturday, April 17, 2010, Robert Bradshaw wrote: > On Apr 16, 2010, at 8:02 PM, Tom Boothby wrote: > > > If this is really as easy (and cheap) as it sounds, I think we should > consider running the public notebook in the cloud.  I wonder if > there's an educational discount, grant money for thi

[sage-devel] Sage 4.4.alpha0 fails to build on t2.math (SPARC Solaris 10)

2010-04-17 Thread Minh Nguyen
Hi folks, Building Sage 4.4.alpha0 on t2.math failed with the following error message: gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/mvngu/sandbox/sage-4.4.alpha0-t2.math/local//include -I/home/mvngu/sandbox/sage-4.4.alpha0-t2.math/local//include/csage -

Re: [sage-devel] Sage and Amazon EC2?

2010-04-17 Thread Robert Bradshaw
On Apr 16, 2010, at 8:02 PM, Tom Boothby wrote: If this is really as easy (and cheap) as it sounds, I think we should consider running the public notebook in the cloud. I wonder if there's an educational discount, grant money for this, or both? As far as I understand, there's a requirement to

Re: [sage-devel] Re: blocker? ''' vs. """

2010-04-17 Thread Minh Nguyen
Hi John, On Sun, Apr 18, 2010 at 1:04 AM, John H Palmieri wrote: > Hi Minh, > > Thanks for working on this. I think (but I'm not sure) that > docstrings delimited with ''' don't get doctests run on them, as well > as not showing up in "sage -coverage". Have you looked into that? The script sag

Re: [sage-devel] Re: "abstract" matrices

2010-04-17 Thread ross kyprianou
>> Any ideas of why _repr_ might not be working inside the class? > Was this class that of the category or the parent? I made a copy of AlgebrasWithBasis.py (so that's the category isnt it?) and placed my version of _repr_ is various places within that code but it didnt override the default _repr

Re: [sage-devel] Re: 5 times faster latex/view

2010-04-17 Thread Nicolas M. Thiery
On Sat, Apr 17, 2010 at 04:24:44PM -0700, Andrey Novoseltsev wrote: > Done! Wow, even reviews are becoming five times faster now! Thanks! I Never had a patch reviewed that quickly :-) Cheers, Nicolas > On Apr 17, 4:16 pm, "Nicolas M. Thiery" > wrote: > >

[sage-devel] Re: 5 times faster latex/view

2010-04-17 Thread Andrey Novoseltsev
Done! On Apr 17, 4:16 pm, "Nicolas M. Thiery" wrote: >         Hi! > > I finally found out one of the main reason why latex/view was s > slow when displaying graphs with dot2tex and #7004. latex was calling > _latex_ twice, and view five times! > > Now, e.g. > >     sage: g = sage.categories.

Re: [sage-devel] Re: tabs in the Sage library

2010-04-17 Thread Nicolas M. Thiery
On Sat, Apr 17, 2010 at 03:52:36PM -0700, John H Palmieri wrote: > I think this is a good idea, but might be a bit harder to implement. > That is, it's easy to print out a warning if there is a tab in a file > when the file is doctested, but if you doctest the whole Sage library, > printing out war

[sage-devel] Re: tabs in the Sage library

2010-04-17 Thread John H Palmieri
On Apr 17, 2:27 pm, "Nicolas M. Thiery" wrote: > But please please, let's do that smoothly without conflicting with all > the current developments. To this end, I vote for sage -t to report > tabs as warnings (not failures) for the moment. I think this is a good idea, but might be a bit harder t

[sage-devel] Saving 3D plots

2010-04-17 Thread Dox
Hi guys! I was wandering... Is it possible to choose the `angle of viewing' a 3D plot at the time of saving it? Thank you. -- 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.com For more opt

[sage-devel] 5 times faster latex/view

2010-04-17 Thread Nicolas M. Thiery
Hi! I finally found out one of the main reason why latex/view was s slow when displaying graphs with dot2tex and #7004. latex was calling _latex_ twice, and view five times! Now, e.g. sage: g = sage.categories.category.category_graph() sage: g.set_latex_options(format = "dot2

Re: [sage-devel] TestSuite: _test_category() for an element

2010-04-17 Thread Alex Ghitza
Hi Nicolas, On Sat, 17 Apr 2010 16:27:36 +0200, "Nicolas M. Thiery" wrote: > Ok. So e is indeed not in Algebras.element_class. > > The thing is that this inheritance AlgebraElement -> > Algebras.element_class is not set up statically; instead, for P a > parent, > > P.element_class > >

Re: [sage-devel] TestSuite: _test_category() for an element

2010-04-17 Thread Alex Ghitza
Hi Florent, On Sat, 17 Apr 2010 17:49:23 +0200, Florent Hivert wrote: > Hi Alex, > > > * we have a class Parent_class which inherits from Algebra > > * we have a class Element_class which inherits from AlgebraElement > > Just a stupid question which pops in my mind: how did you tells th

Re: [sage-devel] Trac E-Mail notifications and components

2010-04-17 Thread Alex Ghitza
On Sat, 17 Apr 2010 08:22:00 -0700, Mike Hansen wrote: > There's a patch at [1], but I don't know if all of the current > component owners want to receive all the emails. We should check and > see if anyone objects. As proud component owner :), I'm ok with this change. Best, Alex -- Alex Gh

Re: [sage-devel] Re: "abstract" matrices

2010-04-17 Thread Nicolas M. Thiery
On Tue, Apr 13, 2010 at 07:20:18AM +0930, ross kyprianou wrote: > One problem I found yesterday is I worked on the _repr_ outside the > class until it worked as > planned then when I cut and pasted it inside the class (right at the > top, as the first function) it didnt seem > to change what was pr

Re: [sage-devel] Re: tabs in the Sage library

2010-04-17 Thread Nicolas M. Thiery
On Fri, Apr 16, 2010 at 12:53:04AM +0200, Florent hivert wrote: > > I think we should do this once, after a tool is in place to make sure these > > things don't get in anymore. > > > > A big +1 to sage -t failing on files that have tabs, lack newlines, or > > whatever else the style guide enforce

Re: [sage-devel] Sage Tutorial at Amazon.com

2010-04-17 Thread David Joyner
I got the 2nd proof copy in the mail today and approved the proof. It should be available at the createspace.com site https://www.createspace.com/3446168 almost immediately. Last time it took awhile to percolate up to amazon.com. The new title is Sage Tutorial, release 4.3.5. On Thu, Apr 15, 2010

Re: [sage-devel] Sage 4.4.alpha0 released

2010-04-17 Thread William Stein
On Sat, Apr 17, 2010 at 10:56 AM, John Cremona wrote: > On ubuntu 32-bit: build ok, one test failure: > > sage -t  "devel/sage/sage/stats/hmm/chmm.pyx" > ** > File "/home/john/sage-4.4.alpha0/devel/sage/sage/stats/hmm/chmm.pyx", l

Re: [sage-devel] Sage 4.4.alpha0 released

2010-04-17 Thread John Cremona
On ubuntu 32-bit: build ok, one test failure: sage -t "devel/sage/sage/stats/hmm/chmm.pyx" ** File "/home/john/sage-4.4.alpha0/devel/sage/sage/stats/hmm/chmm.pyx", line 1272: sage: m.baum_welch(v) Expected: (2.18905068682

Re: [sage-devel] TestSuite: _test_category() for an element

2010-04-17 Thread Florent Hivert
Hi Alex, > * we have a class Parent_class which inherits from Algebra > * we have a class Element_class which inherits from AlgebraElement Just a stupid question which pops in my mind: how did you tells the class Parent_class that its element are of class Element_class how did you construct

Re: [sage-devel] Trac E-Mail notifications and components

2010-04-17 Thread Mike Hansen
On Sat, Apr 17, 2010 at 8:11 AM, Nicolas M. Thiery wrote: >  - Option I: find a way to customize trac to send notifications >   to the component owner There's a patch at [1], but I don't know if all of the current component owners want to receive all the emails. We should check and see if anyone

[sage-devel] Trac E-Mail notifications and components

2010-04-17 Thread Nicolas M. Thiery
Hi! We (sage-combinat devs) would like notifications for all trac tickets in the combinatorics component section to be sent to sage-combinat-commits. Until today, I was somehow convinced that Trac was doing just this, by sending notifications to the tickets component owner. But apparently

[sage-devel] Re: Build did not work 4.3.5 Ubuntu 9.10 (atlas-3.8.3.p12)

2010-04-17 Thread Bruce Cohen
Saturday morning update: SUCCESS! Installing the 64-bit Ubuntu did the trick. Now if only I can get my scanner to work ... Sage is a truly great community. Thanks. -Bruce On Apr 16, 10:16 am, Bruce Cohen wrote: > A status report: > > Last yesterday's build died with ATLAS -- this time on a

[sage-devel] Re: blocker? ''' vs. """

2010-04-17 Thread John H Palmieri
Hi Minh, Thanks for working on this. I think (but I'm not sure) that docstrings delimited with ''' don't get doctests run on them, as well as not showing up in "sage -coverage". Have you looked into that? John On Apr 17, 4:00 am, Minh Nguyen wrote: > Hi folks, > > On Sat, Apr 17, 2010 at

[sage-devel] X-Thread-Url in the headers of e-mails on sage-devel

2010-04-17 Thread Nicolas M. Thiery
Hi! A very useful feature of our various google groups is that the header of the messages contains lines like: X-Thread-Url: http://groups.google.com/group/sage-devel/t/de30143ec073f31 X-Message-Url: http://groups.google.com/group/sage-devel/msg/8f21245c2e913403 which m

Re: [sage-devel] TestSuite: _test_category() for an element

2010-04-17 Thread Alex Ghitza
On Sat, 17 Apr 2010 15:42:30 +0200, "Nicolas M. Thiery" wrote: > Strange. Just to make 100% sure: can you give me the result of: > > sage: e.__class__.mro() > sage: e.parent().category().element_class.mro() Sure: sage: e.__class__.mro() [, , , , , , ] sage: e.parent().cate

Re: [sage-devel] TestSuite: _test_category() for an element

2010-04-17 Thread Nicolas M. Thiery
On Sat, Apr 17, 2010 at 10:48:22PM +1000, Alex Ghitza wrote: > On Sat, 17 Apr 2010 14:22:30 +0200, Florent Hivert > wrote: > > > Unfortunately, there is a test that I'm not yet able to fix, namely > > > _test_category for an element class we define. Let me try to say what > > > the situation is

Re: [sage-devel] TestSuite: _test_category() for an element

2010-04-17 Thread Alex Ghitza
On Sat, 17 Apr 2010 14:22:30 +0200, Florent Hivert wrote: > > Unfortunately, there is a test that I'm not yet able to fix, namely > > _test_category for an element class we define. Let me try to say what > > the situation is without going into irrelevant details: > > > > * we have a class Paren

Re: [sage-devel] TestSuite: _test_category() for an element

2010-04-17 Thread Florent Hivert
Hi Alex, > I'm trying to insert a TestSuite(s).run() doctest in some code we're > polishing. So far it helped me find a couple of bugs, so I'm quite > impressed with the whole concept. > > Unfortunately, there is a test that I'm not yet able to fix, namely > _test_category for an element c

Re: [sage-devel] blocker? ''' vs. """

2010-04-17 Thread Minh Nguyen
Hi folks, On Sat, Apr 17, 2010 at 3:42 PM, Minh Nguyen wrote: > This issue is now tracked at ticket #8699: > > http://trac.sagemath.org/sage_trac/ticket/8699 This ticket now awaits review. The two patches on that ticket provide documentation for the doctest coverage script, in addition to all

[sage-devel] TestSuite: _test_category() for an element

2010-04-17 Thread Alex Ghitza
Hi, I'm trying to insert a TestSuite(s).run() doctest in some code we're polishing. So far it helped me find a couple of bugs, so I'm quite impressed with the whole concept. Unfortunately, there is a test that I'm not yet able to fix, namely _test_category for an element class we define. Let m

Re: [sage-devel] Groups in Sage, libgap

2010-04-17 Thread William Stein
On Mon, Mar 8, 2010 at 4:58 PM, Mike OS wrote: > > I have some funding from my university to develop materials in SAGE > for use in my classes. The focus of the project is developing > educational materials but we'd also like to  contribute to SAGE > development. I posted to sage-edu about educati