[sage-devel] Composition of ring homomorphisms

2013-05-02 Thread Thomas Feulner
When composing a ``RingHomomorphism`` and an instance of ``RingHomomorphism_im_gens`` then the images of the generators are again checked for their validity, see rings/morphism.pyx: def _composition_(self, right, homset): from sage.all import Rings if homset.homset_category().is_

[sage-devel] Re: Mac App broken on OS X 10.4

2013-05-02 Thread Ivan Andrus
Oops, forgot to send to the list. On May 2, 2013, at 8:05 AM, kcrisman wrote: > Because you have the buildbot, I haven't been checking lately... I may have > time to try this out next week. > > On Thursday, May 2, 2013 8:57:49 AM UTC-4, Jeroen Demeyer wrote: > I just noticed this when creating

Re: [sage-devel] Mac App broken on OS X 10.4

2013-05-02 Thread Ivan Andrus
On May 2, 2013, at 8:10 AM, Jeroen Demeyer wrote: > On 05/02/2013 04:05 PM, kcrisman wrote: >> Because you have the buildbot, I haven't been checking lately... > > I also wasn't really aware of the fact that the Mac App is only built when > running sage --bdist, so a normal "make ptestlong" does

[sage-devel] Re: use Sage!

2013-05-02 Thread mhampton
I have started writing something on using Sage for bioinformatics, although it isn't very far along. This sounds like a pretty good fit for that. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving e

[sage-devel] Re: [sage-combinat-devel] use Sage!

2013-05-02 Thread Nicolas M. Thiery
Dear William, dear all, On Thu, May 02, 2013 at 01:27:30PM -0700, William Stein wrote: > There is a big series of small books about R that Springer publishes: > > http://www.springer.com/series/6991?detailsPage=titles > > The editorial director of that series at Springer just talked wi

[sage-devel] Re: use Sage!

2013-05-02 Thread john_perry_usm
I've been teaching a one-semester course on "Mathematical Computation" using Sage for a while, w/the slides posted online. (Latest: www.math.usm.edu/perry/mat305sp13/) The textbook we usually use is a Python-based textbook, and it doesn't always mesh well with the class. I've thought a lot abou

[sage-devel] Re: use Sage!

2013-05-02 Thread mmarco
I have been considering writing some textbook for a course of algebraic structures with sage (combining both a theoretical and a computational approach) for a while. I don't know if i will have enough time for that, but this could be a good moment. -- You received this message because you are su

[sage-devel] Re: Mutability

2013-05-02 Thread Simon King
Hi Nils, On 2013-05-02, Nils Bruin wrote: > Having the decorators is not particularly damaging. I wouldn't like > the overhead, but getting rid of them in favour of more efficient > solutions is an easy transformation. It is perhaps similar to the situation with @cached_method: It used to have a

[sage-devel] Re: optional coin spkg

2013-05-02 Thread Nathann Cohen
Hello ! > I installed the optional coin spkg, and suddenly I can no longer do > "sage -br". It fails with this: Hmmm... If it does, then it is almost sure that you found a bug in Sage ! Nathann -- You received this message because you are subscribed to the Google Groups "sage-devel" group. T

[sage-devel] use Sage!

2013-05-02 Thread William Stein
Hi Sage-Developers, There is a big series of small books about R that Springer publishes: http://www.springer.com/series/6991?detailsPage=titles The editorial director of that series at Springer just talked with me on the phone for a while, and he says these are among "Springers best selling b

[sage-devel] optional coin spkg

2013-05-02 Thread William Stein
Hi, I installed the optional coin spkg, and suddenly I can no longer do "sage -br". It fails with this: Installing c_lib scons: `install' is up to date. Updating Cython code Compiling sage/numerical/backends/coin_backend.pyx because it changed. Compiling sage/sat/solvers/cryptominisat/cryp

Re: [sage-devel] Re: Mutability

2013-05-02 Thread John Cremona
On 2 May 2013 20:11, kcrisman wrote: > > > On Thursday, May 2, 2013 3:11:26 PM UTC-4, kcrisman wrote: >> >> >>> Or perhaps you were just quoting Monty Python after all and I should >>> myself ire domum. >>> >> >> Yes, I think so. > > > Sorry, that sounded rude - I meant "yes" to the Monty Python,

Re: [sage-devel] Re: Mutability

2013-05-02 Thread kcrisman
On Thursday, May 2, 2013 3:11:26 PM UTC-4, kcrisman wrote: > > > Or perhaps you were just quoting Monty Python after all and I should >> myself ire domum. >> >> > Yes, I think so. > Sorry, that sounded rude - I meant "yes" to the Monty Python, not the ire domum. -- You received this messag

Re: [sage-devel] Re: Mutability

2013-05-02 Thread kcrisman
> Or perhaps you were just quoting Monty Python after all and I should > myself ire domum. > > Yes, I think so. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-devel] Re: Mutability

2013-05-02 Thread John Cremona
On 2 May 2013 19:41, leif wrote: > Volker Braun: > >> On Thursday, May 2, 2013 6:42:48 PM UTC+1, Nils Bruin wrote: >> >> Furthermore, to express a requirement the optative >> subjunctive mood is probably more appropriate than a future tense. >> >> >> ROMANES EUNT DOMUS Well it is 41 yea

[sage-devel] Re: Mutability

2013-05-02 Thread leif
Volker Braun: On Thursday, May 2, 2013 6:42:48 PM UTC+1, Nils Bruin wrote: Furthermore, to express a requirement the optative subjunctive mood is probably more appropriate than a future tense. ROMANES EUNT DOMUS A thousand times, please! -leif -- () The ASCII Ribbon Campaign /\

[sage-devel] Huge patch on Trac 7477: Matroid theory

2013-05-02 Thread Stefan van Zwam
Dear Sage developers, Over the past two years I've been working with several people on bringing Matroid Theory to Sage. We wanted this to be research-level code that will remain relevant for a long time, so we decided to have the design mature for a while before integrating it with Sage. By now

[sage-devel] Re: Mutability

2013-05-02 Thread kcrisman
On Thursday, May 2, 2013 2:06:12 PM UTC-4, Volker Braun wrote: > > On Thursday, May 2, 2013 6:42:48 PM UTC+1, Nils Bruin wrote: > >> Furthermore, to express a requirement the optative >> subjunctive mood is probably more appropriate than a future tense. > > > ROMANES EUNT DOMUS > > Ils sont fou

[sage-devel] Re: Mutability

2013-05-02 Thread Volker Braun
On Thursday, May 2, 2013 6:42:48 PM UTC+1, Nils Bruin wrote: > Furthermore, to express a requirement the optative > subjunctive mood is probably more appropriate than a future tense. ROMANES EUNT DOMUS -- You received this message because you are subscribed to the Google Groups "sage-devel

[sage-devel] Re: Mutability

2013-05-02 Thread Nils Bruin
On May 2, 8:32 am, Simon King wrote: > What do people think? > [ ] @invariant and @mutabor is fine Having the decorators is not particularly damaging. I wouldn't like the overhead, but getting rid of them in favour of more efficient solutions is an easy transformation. "invariant" has the wrong

Re: [sage-devel] Re: Mutability

2013-05-02 Thread Mike Hansen
> > No Latin, definitely not :-) > > @require_mutable / @require_immutable > +1 --Mike -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@goo

[sage-devel] Re: Mutability

2013-05-02 Thread Volker Braun
On Thursday, May 2, 2013 4:32:06 PM UTC+1, Simon King wrote: > I suggest the name "@invariant" for the first and > "@mutabor" (this is Latin for "I will be changed") for the second > decorator. > No Latin, definitely not :-) @require_mutable / @require_immutable -- You received this messag

[sage-devel] Re: Mutability

2013-05-02 Thread Simon King
Hi Travis, On 2013-05-02, Travis Scrimshaw wrote: >I don't think so... This would be useful for other mutable things such > as matrices and simplicial complex rather than explicitly check it in the > methods themselves. OK. Thanks to sage.misc.decorators.sage_wraps, it will be easy to crea

Re: [sage-devel] Re: Mac App broken on OS X 10.4

2013-05-02 Thread kcrisman
On Thursday, May 2, 2013 10:10:37 AM UTC-4, Jeroen Demeyer wrote: > > On 05/02/2013 04:05 PM, kcrisman wrote: > > Because you have the buildbot, I haven't been checking lately... > > I also wasn't really aware of the fact that the Mac App is only built > when running sage --bdist, so a normal

[sage-devel] Re: Mutability

2013-05-02 Thread Travis Scrimshaw
Hey Simon, I don't think so... This would be useful for other mutable things such as matrices and simplicial complex rather than explicitly check it in the methods themselves. Best, Travis On Thursday, May 2, 2013 9:38:06 AM UTC-4, Simon King wrote: > > Hi! > > Is there a decorator that wr

Re: [sage-devel] Re: Mac App broken on OS X 10.4

2013-05-02 Thread Jeroen Demeyer
On 05/02/2013 04:05 PM, kcrisman wrote: Because you have the buildbot, I haven't been checking lately... I also wasn't really aware of the fact that the Mac App is only built when running sage --bdist, so a normal "make ptestlong" doesn't catch this. -- You received this message because you

[sage-devel] Re: Mac App broken on OS X 10.4

2013-05-02 Thread kcrisman
Sorry, I neglected to mention the ticket where this probably happened. http://trac.sagemath.org/sage_trac/ticket/10556 On Thursday, May 2, 2013 10:05:42 AM UTC-4, kcrisman wrote: > > Because you have the buildbot, I haven't been checking lately... I may > have time to try this out next week. > >

[sage-devel] Re: Mac App broken on OS X 10.4

2013-05-02 Thread kcrisman
Because you have the buildbot, I haven't been checking lately... I may have time to try this out next week. On Thursday, May 2, 2013 8:57:49 AM UTC-4, Jeroen Demeyer wrote: > > I just noticed this when creating the Sage 5.9 binaries: the Mac App > doesn't build anymore on OS X 10.4 (PPC). I pers

[sage-devel] Mutability

2013-05-02 Thread Simon King
Hi! Is there a decorator that wraps a method so that the method is only executed after asserting that "self" is mutable? For example, one could easily create immutable graphs by applying this decorator to the add_vertex, add_edge, ... methods. Best regards, Simon -- You received this message b

[sage-devel] Mac App broken on OS X 10.4

2013-05-02 Thread Jeroen Demeyer
I just noticed this when creating the Sage 5.9 binaries: the Mac App doesn't build anymore on OS X 10.4 (PPC). I personally don't care very much, but maybe other people do. This problem probably dates back to Sage 5.8 (for unrelated reasons, no binaries of Sage 5.8 were made for OS X 10.4) C

[sage-devel] Re: Sage

2013-05-02 Thread Jesus Torrado
Hi, I wrote this wiki page a while ago, but it is still applicable: http://wiki.sagemath.org/healpy Let me know if it works (it did for me) or if you need additional guidance. By the way, that wiki page i still not listed in the main wiki, since I was waiting for some review. Maybe Jibran's ca