Re: [sage-devel] Poll: deprecate backslash operator

2023-09-30 Thread Nils Bruin
Deprecate please.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/699f7d70-4222-4f64-8ce4-e606478377a9n%40googlegroups.com.


Re: [sage-devel] Poll: deprecate backslash operator

2023-09-30 Thread William Stein
Again, as the person who added it to Sage in the first place:  deprecate.

William

On Sat, Sep 30, 2023 at 4:02 PM Dima Pasechnik  wrote:
>
> deprecate!
>
> On Sat, Sep 30, 2023 at 10:47 PM John H Palmieri  
> wrote:
> >
> > I asked this already but with a different subject heading, so people may 
> > have missed it.
> >
> > BackslashOperator is defined in "sage/misc/misc.py", and the preparser 
> > converts "A \ b" to the appropriate Python code. The docstring for 
> > BackslashOperator says "Implements Matlab-style backslash operator for 
> > solving systems A \ b".
> >
> > This is not used much: for matrices, matroids, and a tiny bit (at least in 
> > the Sage library) for binary trees. Should we deprecate it?
> >
> > Arguments for deprecation: the less we rely on the preparser, the better 
> > (at least as far as easing a transition between Python and Sage, for 
> > instance). The backslash operator is not in wide use in Sage. Currently its 
> > implementation breaks the standard Python use of "\" as a line-continuation 
> > marker.
> >
> > Arguments against deprecation: it provides a convenient shorthand, and 
> > people may be familiar with it from Matlab or other systems.
> >
> > --
> > 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 view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-devel/a0659b81-f50f-4b59-91ed-42650409435an%40googlegroups.com.
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/CAAWYfq2-TSvMc8CC%2BeTrRK7YZXiCs9xxpxVKzZTa7MhVNwe9pg%40mail.gmail.com.



-- 
William (http://wstein.org)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CACLE5GDOnYuT5i75kXfGz%2BjgG0xOnfvEngrHis3EtWHvE5JUXg%40mail.gmail.com.


Re: [sage-devel] Fedora sagemath package maintainer

2023-09-30 Thread Michael Orlitzky
On Sat, 2023-09-30 at 14:36 -0700, enriqu...@gmail.com wrote:
> I have learnt that at this momente there is no Fedora sagemath package 
> maintainer. I am a Fedora user but I do not use the rpm package; more 
> relevant, I do not have the skills for this maintenance.
> Would anyone take the task?
> Best regards, Enrique.

It's a lot easier for a fedora developer to become interested in sage
than it is for someone interested in sage to become a fedora developer.
You might have better luck on the fedora mailing lists?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/eaf34d3b4b06f53053b722f5046b8af35b1bdea4.camel%40orlitzky.com.


Re: [sage-devel] Poll: deprecate backslash operator

2023-09-30 Thread Dima Pasechnik
deprecate!

On Sat, Sep 30, 2023 at 10:47 PM John H Palmieri  wrote:
>
> I asked this already but with a different subject heading, so people may have 
> missed it.
>
> BackslashOperator is defined in "sage/misc/misc.py", and the preparser 
> converts "A \ b" to the appropriate Python code. The docstring for 
> BackslashOperator says "Implements Matlab-style backslash operator for 
> solving systems A \ b".
>
> This is not used much: for matrices, matroids, and a tiny bit (at least in 
> the Sage library) for binary trees. Should we deprecate it?
>
> Arguments for deprecation: the less we rely on the preparser, the better (at 
> least as far as easing a transition between Python and Sage, for instance). 
> The backslash operator is not in wide use in Sage. Currently its 
> implementation breaks the standard Python use of "\" as a line-continuation 
> marker.
>
> Arguments against deprecation: it provides a convenient shorthand, and people 
> may be familiar with it from Matlab or other systems.
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/a0659b81-f50f-4b59-91ed-42650409435an%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2-TSvMc8CC%2BeTrRK7YZXiCs9xxpxVKzZTa7MhVNwe9pg%40mail.gmail.com.


Re: [sage-devel] Poll: deprecate backslash operator

2023-09-30 Thread Michael Orlitzky
On Sat, 2023-09-30 at 14:47 -0700, John H Palmieri wrote:
> 
> This is not used much: for matrices, matroids, and a tiny bit (at least in 
> the Sage library) for binary trees. Should we deprecate it?

Deprecate it, it's a big WTF for most people.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/1f8eb23d9c89b6debe62ebd2d9faec3965008236.camel%40orlitzky.com.


[sage-devel] Poll: deprecate backslash operator

2023-09-30 Thread John H Palmieri
I asked this already but with a different subject heading, so people may 
have missed it. 

BackslashOperator is defined in "sage/misc/misc.py", and the preparser 
converts "A \ b" to the appropriate Python code. The docstring for 
BackslashOperator says "Implements Matlab-style backslash operator for 
solving systems A \ b". 

This is not used much: for matrices, matroids, and a tiny bit (at least in 
the Sage library) for binary trees. Should we deprecate it?

Arguments for deprecation: the less we rely on the preparser, the better 
(at least as far as easing a transition between Python and Sage, for 
instance). The backslash operator is not in wide use in Sage. Currently its 
implementation breaks the standard Python use of "\" as a line-continuation 
marker.

Arguments against deprecation: it provides a convenient shorthand, and 
people may be familiar with it from Matlab or other systems.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/a0659b81-f50f-4b59-91ed-42650409435an%40googlegroups.com.


[sage-devel] Fedora sagemath package maintainer

2023-09-30 Thread enriqu...@gmail.com
I have learnt that at this momente there is no Fedora sagemath package 
maintainer. I am a Fedora user but I do not use the rpm package; more 
relevant, I do not have the skills for this maintenance.
Would anyone take the task?
Best regards, Enrique.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/68fc6152-0cb4-4f53-beba-449b9be7f02an%40googlegroups.com.


Re: [sage-devel] Questions about performance of SageMath, and of graph (algorithms) libraries

2023-09-30 Thread William Stein
> To give an explicit and specific example, I'm also interested in graph 
> algorithms, without calling libraries written in C/C++ or Julia, is it 
> possible to make graph algorithms faster  on very-large graphs with what's 
> mentioned above?
>

One relevant Python library is https://github.com/rapidsai/cugraph
which is a reimplementation of networkx on top of CUDA.   Presumably,
with an appropriate GPU, it provides massive speedups over networkx.
I haven't tried it out yet, but I plan to.

 -- William

On Sat, Sep 30, 2023 at 5:52 AM Jing Guo  wrote:
>
> Dear all,
>
> I contributed to algebraic geometry and dynamics parts of SageMath. During 
> the process, sometimes the tests could take some time to process, which I 
> guess is reasonable, since schemes and other objects can take long time to 
> compute.
>
> Today I saw a post [0] on JAX from Hacker News, in which currently the first 
> top comment mentions that other than ML research, JAX is also suitable for 
> scientific computing, as well as large-scale vectorized computations. From 
> the GitHub page [1] of JAX, it seems that it makes use of and improves upon 
> Autograd and XLA, hence very fast.
>
> I'm aware that SageMath is already fast for a lot of tasks, so I was 
> wondering would it be possible to make use similar tricks/techniques and/or 
> libraries that can make SageMath even faster?
>

> I found the following interesting comparisons of graph algorithms: 
> https://www.timlrx.com/blog/benchmark-of-popular-graph-network-packages-v2
>
> Thank you.
>
> [0]: https://news.ycombinator.com/item?id=37698740
> [1]: https://github.com/google/jax
>
> Jing
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/35e86100-570e-4d71-acdf-7b166ab27469n%40googlegroups.com.



-- 
William (http://wstein.org)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CACLE5GALhQa2C%3Dkyq3BXWMJpAn4k0KJ0Pngj%2BXFD9oXG-htRxQ%40mail.gmail.com.


[sage-devel] Re: keywords in github

2023-09-30 Thread 'Martin R' via sage-devel
That's an excellent suggestion, it might work quite well for me.  I just 
created a list of issues and pull requests for the lazy series theme.  One 
thing which would be nice, but is probably not possible: I'd like to see in 
the sagemath/sage list of issues whether an issue happens to be part of my 
project.

I'll see how this works in practice.

Many thanks!

Martin

On Friday, 29 September 2023 at 09:53:50 UTC+2 Ricardo Buring wrote:

> As for another way to achieve something similar: there are Projects where 
> you can make a table of issues (and you can add extra columns to the table, 
> such as a Notes column).
>
> You can do it privately:
>
>
> https://docs.github.com/en/issues/planning-and-tracking-with-projects/learning-about-projects/quickstart-for-projects#creating-a-user-project
>
> or it can be done on the organization level:
>
>
> https://docs.github.com/en/issues/planning-and-tracking-with-projects/learning-about-projects/quickstart-for-projects#creating-an-organization-project
>
> I'm not sure how the latter works permission-wise. Anyway, something to 
> consider.
>
> Best regards,
> Ricardo
>
> On Thursday, September 28, 2023 at 7:28:00 PM UTC+2 Martin R wrote:
>
>> I would like to have trac keywords back.  Searching issues in github 
>> seems quite difficult, for example, it seems that wildcards are not 
>> supported: 
>>
>> "is:pr is:open lazypower" finds nothing wereas "is:pr is:open 
>> lazypowerseries" does.
>>
>> On trac, I used keywords to collect the issues that concerned me and make 
>> them available on one click.  I.e., whenever someone submitted something 
>> about "FriCAS", I added that keyword, or "LazyPowerSeries", or "species".  
>> Of course, I can add keywords myself now, as I could do on trac, but on 
>> trac it was easier to remember the keywords I used, because they were 
>> available by one click.
>>
>> Is there another way to achieve something similar?
>>
>> Martin
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/d078c9e7-39fe-41b7-9c57-cb919ddcafd8n%40googlegroups.com.


[sage-devel] Questions about performance of SageMath, and of graph (algorithms) libraries

2023-09-30 Thread Jing Guo
Dear all,

I contributed to algebraic geometry and dynamics parts of SageMath. During 
the process, sometimes the tests could take some time to process, which I 
guess is reasonable, since schemes and other objects can take long time to 
compute.

Today I saw a post [0] on JAX from Hacker News, in which currently the 
first top comment mentions that other than ML research, JAX is also 
suitable for scientific computing, as well as large-scale vectorized 
computations. From the GitHub page [1] of JAX, it seems that it makes use 
of and improves upon Autograd and XLA, hence very fast.

I'm aware that SageMath is already fast for a lot of tasks, so I was 
wondering *would it be possible to make use similar tricks/techniques 
and/or libraries that can make SageMath even faster?*

To give an explicit and specific example, I'm also interested in graph 
algorithms, *without calling libraries written in C/C++ or Julia, is it 
possible to make graph algorithms faster  on very-large graphs with what's 
mentioned above?*

I found the following interesting comparisons of graph algorithms: 
https://www.timlrx.com/blog/benchmark-of-popular-graph-network-packages-v2

Thank you.

[0]: https://news.ycombinator.com/item?id=37698740
[1]: https://github.com/google/jax

Jing

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/35e86100-570e-4d71-acdf-7b166ab27469n%40googlegroups.com.