[sage-devel] Re: manual memory management for GAP?

2022-06-20 Thread Nils Bruin
Perhaps this message (see the thread it's in for context) applies to your situation? https://groups.google.com/g/sage-devel/c/ntuqDmruI8w/m/vJOv6mgqCgAJ On Monday, 20 June 2022 at 19:30:04 UTC-6 AlexGhitza wrote: > Thanks, John. > > But, I should have mentioned that we tried that and it does

[sage-devel] Re: manual memory management for GAP?

2022-06-20 Thread AlexGhitza
Thanks, John. But, I should have mentioned that we tried that and it does not seem to work (unless I'm missing something): ┌┐ │ SageMath version 9.6, Release Date: 2022-05-15 │ │ Using Python 3.10.3. Type

[sage-devel] Re: Implementing Parent with Facade that is not an Element

2022-06-20 Thread 'Travis Scrimshaw' via sage-devel
Hi Trevor, Right...I remember coming across this problem before. Since I know this class is for internal use (simply to index a basis), we can override __call__() instead of _element_constructor_() as we do not need to invoke the coercion framework (and we want this to be fast). This is what

[sage-devel] Re: manual memory management for GAP?

2022-06-20 Thread John H Palmieri
According to https://ask.sagemath.org/question/61829/how-to-deal-with-gaperror-error-reached-the-pre-set-memory-limit/, try "sage.interfaces.gap.gap_cmd = 'gap -r -o 4G '". On Monday, June 20, 2022 at 5:12:27 PM UTC-7 AlexGhitza wrote: > Hi, > > I'm trying to help out a friend who is

[sage-devel] manual memory management for GAP?

2022-06-20 Thread AlexGhitza
Hi, I'm trying to help out a friend who is computing automorphism groups of lattices in Sage (using GAP under the hood). The computation is fairly long and memory-intensive and eventually results in sage.libs.gap.util.GAPError: Error, reached the pre-set memory limit (change it with the

Re: [sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-20 Thread Vincent Delecroix
On Mon, 20 Jun 2022 at 18:01, Niranjana K M wrote: > > @Vincent > > On Sun, Jun 19, 2022 at 5:52 PM Vincent Delecroix <20100.delecr...@gmail.com> > wrote: >> >> Nice catch indeed. I am not sure that "scaled=True/False" is the most >> flexible design. You might just want to apply *some* scale,

Re: [sage-devel] Developing in Sage for high school math education

2022-06-20 Thread Furkan Semih Dündar
As far as I am aware, no. I may be interested in doing so if we can form a small group. And in that way we can contribute to Sage developement though it would be something moderate. However at the moment I do not know how to write a wrapper for Penrose. Maybe we can learn how to contribute once we

Re: [sage-devel] Developing in Sage for high school math education

2022-06-20 Thread Tanmay Kulkarni
This looks very interesting - has there been any progress so far incorporating Penrose into Sage? Thank you! Sincerely, Tanmay Kulkarni On Sunday, June 19, 2022 at 1:31:09 PM UTC-7 f.semih...@gmail.com wrote: > I may be late to the discussion but as regards the Venn Diagrams there is > an

[sage-devel] Implementing Parent with Facade that is not an Element

2022-06-20 Thread Trevor Karn
Hi all, I am trying to implement a Parent in the category of FiniteEnumeratedSets().Facade(). My hope was to have the finite enumerated sets be represented by `Bitset

Re: [sage-devel] Re: Length of vectors in `plot_vector_field3d()`

2022-06-20 Thread Niranjana K M
@Vincent On Sun, Jun 19, 2022 at 5:52 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > Nice catch indeed. I am not sure that "scaled=True/False" is the most > flexible design. You might just want to apply *some* scale, not > necessarily the one making the max length being one. I imagine

[sage-devel] Re: new py file not recognized in doctests

2022-06-20 Thread Frédéric Chapoton
Please forget about that. It works now. It was entirely my fault, sorry for the noise. Le lundi 20 juin 2022 à 12:17:22 UTC+2, Frédéric Chapoton a écrit : > Hello, > using the fresh develop 9.7.b3 ; > I am trying to add a new python file. > Doing "sage -b" and "make build" works BUT when using

[sage-devel] new py file not recognized in doctests

2022-06-20 Thread Frédéric Chapoton
Hello, using the fresh develop 9.7.b3 ; I am trying to add a new python file. Doing "sage -b" and "make build" works BUT when using "sage -t my_new_file.py", the doctests fails because the imports from this file fails. The same imports work ifine nside the console. What is the problem ? Something

Re: [sage-devel] Re: SageMath 9.7.beta3: hecke_series takes forever

2022-06-20 Thread G. M.-S.
Vincent Delecroix, sorry. Guillermo On Mon, 20 Jun 2022 at 03:56, davida...@gmail.com wrote: > This is now #34025 . > > David A. > > Le dimanche 19 juin 2022 à 17:38:55 UTC-4, GMS a écrit : > >> >> As suggested by Vincent Delecrois, this is due to