[sage-devel] Re: (cy)PARI in Parallel, Heisenbugs, and Merging Policy

2022-05-14 Thread dwb...@gmail.com
A bit more information: as far as we know there are problems only on Linux: the logs badlog, badlog1, badlog2 and badlog3 are made by one machine (a Xeon box running Ubuntu 18.04) and badlog-match is another machne (an i7 also running Ubuntu 18.04). In all the logs except badlog, there is a seg

Re: [sage-devel] Question about factories, representations and multiple classes

2022-05-14 Thread Nils Bruin
It's probably worth pointing out that __classcall_private__ is not a standard python facility. It looks like you need class Foo(metaclass=ClasscallMetaclass): to make it work on Foo. On Saturday, 14 May 2022 at 20:21:48 UTC-7 Travis Scrimshaw wrote: > For this you want to use __classcall_priva

Re: [sage-devel] Question about factories, representations and multiple classes

2022-05-14 Thread 'Travis Scrimshaw' via sage-devel
For this you want to use __classcall_private__ as otherwise you would likely end up in an infinite loop when you try to construct the subclass. There are lots of examples of this in the Sage library code. Best, Travis On Sunday, May 15, 2022 at 5:42:49 AM UTC+9 Eric Gourgoulhon wrote: > Hi,

[sage-devel] Re: Adding combinatorial divisorial polytopes to sagemath

2022-05-14 Thread 'Travis Scrimshaw' via sage-devel
There are chances, but it depends on many independent factors, such as availability and mathematical expertise. However, before that could be considered, you will need to provide the code first. Best, Travis On Saturday, May 14, 2022 at 7:07:02 AM UTC+9 ie.bat...@gmail.com wrote: > Hi, > > I c

[sage-devel] Re: Finite dimensional algebra generated by matrices

2022-05-14 Thread 'Travis Scrimshaw' via sage-devel
I would advise against having it as an external package if you plan to integrate it into Sage. It further fragments the code and makes it more likely to bitrot from what I have seen. I would instead create a ticket and upload the code to that. Is this a finite dimensional commutative algebra? W

Re: [sage-devel] The SageMath developer map needs your (updated) information

2022-05-14 Thread 'Travis Scrimshaw' via sage-devel
I think I have used a “malformed” email address in the past (which github won’t recognize/accept) with “at” instead of “@“ to try and avoid some spambots, so we might need to change the history in order to fix mine… Best, Travis On Tuesday, May 10, 2022 at 2:11:00 AM UTC+9 Matthias Koeppe wrot

[sage-devel] (cy)PARI in Parallel, Heisenbugs, and Merging Policy

2022-05-14 Thread 'Travis Scrimshaw' via sage-devel
Hi everyone, On ticket #30423 , Dan, Willie, and I have been working on a parallel-computation based implementation for computing F-matrices that are used in math physics. However, we have been seeing some doctest failures sporadically that involve segf

[sage-devel] Re: favorable mention of sage in popular youtube video

2022-05-14 Thread Eric Gourgoulhon
NIce! Eric. Le samedi 14 mai 2022 à 20:36:09 UTC+2, wst...@gmail.com a écrit : > Hi, > > Tim Daly (of Axiom) just told me that there is a very nice use of Sage > at around 7:30-10:30 of this youtube video about RSA > > https://www.youtube.com/watch?v=-ShwJqAalOk > > I think it's being used on Wi

Re: [sage-devel] Question about factories, representations and multiple classes

2022-05-14 Thread Eric Gourgoulhon
Hi, Le samedi 14 mai 2022 à 00:07:02 UTC+2, David Roe a écrit : > I think the following should work: > > class MyObject: > def __classcall__(cls, arg): > if isinstance(arg, special): > return typecall(MyObject_specific_case, arg) > else: > return t

[sage-devel] Error when installing Sage from source

2022-05-14 Thread Ishaan Jolly
Hi, I am very new to Sage, and software development in particular. I recently tried cloning the GitHub repo, and installing Sage from root. However, on running make, I failed. I was wondering if some assitance could be provided. Here is the error message: [ppl-1.2.p1] Package 'ppl' is curren

[sage-devel] favorable mention of sage in popular youtube video

2022-05-14 Thread William Stein
Hi, Tim Daly (of Axiom) just told me that there is a very nice use of Sage at around 7:30-10:30 of this youtube video about RSA https://www.youtube.com/watch?v=-ShwJqAalOk I think it's being used on Windows, so props to Sage-on-windows. -- William (http://wstein.org) -- You received this mes