Re: [sage-devel] How do I overwrite comparison for modules?

2017-10-22 Thread Travis Scrimshaw


On Thursday, October 19, 2017 at 8:59:17 PM UTC-5, Simon Brandhorst wrote:
>
> Well richcmp allows you to define just one method. But it does not save 
> you any work at all if the order is partial. 
> Because then you have to distinguish the cases op = op_LE , op_GE, op_LT 
> ... etc.  so all that you save is documentation and everything is more 
> obscure.
>

It depends. In fact, it can make the code easier to follow and maintain 
because you can do common cases for NE or for LT and LE. In fact, I might 
be so bold as to say that is what happens generally (how often is the first 
thing you do is verify the object has a compatible type?).

Best,
Travis

-- 
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...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Allow quotient modules for PIDs

2017-10-22 Thread Simon Brandhorst
Before proceeding I do need some help please.
#24031   Coercion between Matrices 
over orders and over the number field

also coercion between Vectors over orders and over the quotient 
field/number field is not working.  I am somewhat lost in the coercion 
model and do not know where to start here. 


As for the FGP_Module class, or in general:


Often matrices/vectors/scalar over the order and over the quotient field 
are multiplied.

Should one try to push as much as possible into the quotient field from the 
beginning? Or is it O.K. to rely on the coercion model. It is certainly 
more convenient to rely on coercion.

-- 
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...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Use system R with sage?

2017-10-22 Thread François Bissey


> On 22/10/2017, at 22:57, Dima Pasechnik  wrote:
> 
> IMHO, packagers, Debian and Conda (https://anaconda.org/conda-forge/sage 
> ),  Fedora: 
> (https://apps.fedoraproject.org/packages/sagemath 
> ) made quite a bit of 
> progress in this,
> and continue to largely ignore this is not productive. An effort ought to be 
> directed into making their
> lives easier, and removing (full) R bundle from Sage is one of such tasks.
> 

To be honest, something like R is not a big deal, after all we already pack it.
It is just an extra runtime dependency. Possibly an issue with doctests results
that from time to time change with version of R.
Fortunately R version is no longer tested (or is it just a patch I carry?).

François

-- 
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...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Use system R with sage?

2017-10-22 Thread Dima Pasechnik


On Sunday, October 22, 2017 at 9:32:43 AM UTC+1, Snark wrote:
>
> Hi, 
>
> Le 22/10/2017 à 10:17, Dima Pasechnik a écrit : 
> > my limited experience with helping advanced R users was that it is not 
> really possible for them to use R from Sage, as they needed R packages that 
> in turn needed Java runtime. 
> > 
> > And they much preferred things done in R-studio. 
>
> At some point, the question of correctly separating 
> sage-the-distribution and sage-the-software will have to be tackled... 
>

IMHO, packagers, Debian and Conda (https://anaconda.org/conda-forge/sage),  
Fedora: (https://apps.fedoraproject.org/packages/sagemath) made quite a bit 
of progress in this,
and continue to largely ignore this is not productive. An effort ought to 
be directed into making their
lives easier, and removing (full) R bundle from Sage is one of such tasks.

 

>
> Snark on #sagemath 
>

-- 
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...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Use system R with sage?

2017-10-22 Thread 'Julien Puydt' via sage-devel
Hi,

Le 22/10/2017 à 10:17, Dima Pasechnik a écrit :
> my limited experience with helping advanced R users was that it is not really 
> possible for them to use R from Sage, as they needed R packages that in turn 
> needed Java runtime.
> 
> And they much preferred things done in R-studio.

At some point, the question of correctly separating
sage-the-distribution and sage-the-software will have to be tackled...

Snark on #sagemath

-- 
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...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Use system R with sage?

2017-10-22 Thread Dima Pasechnik
my limited experience with helping advanced R users was that it is not really 
possible for them to use R from Sage, as they needed R packages that in turn 
needed Java runtime.

And they much preferred things done in R-studio.

-- 
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...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.