[sage-devel] Re: Parallelization of Boruvka's Algorithm

2022-04-12 Thread Adarsh Kishore
Thanks! I have opened https://trac.sagemath.org/ticket/33703 and CCed you On Wednesday, April 13, 2022 at 11:27:46 AM UTC+5:30 jonatha...@googlemail.com wrote: > Sure. Since this is written in cython, using > https://cython.readthedocs.io/en/latest/src/userguide/parallelism.html > might be a g

[sage-devel] Re: Parallelization of Boruvka's Algorithm

2022-04-12 Thread 'jonatha...@googlemail.com' via sage-devel
Sure. Since this is written in cython, using https://cython.readthedocs.io/en/latest/src/userguide/parallelism.html might be a good choice. This is also used in `src/sage/geometry/polyhedron/combinatorial_polyhedron/face_iterator.pyx`. Note the first two lines of the file. With those lines, yo

[sage-devel] Reviving the Annual SageMath Development Prize

2022-04-12 Thread William Stein
Hi sage-devel, We (Matthias Koeppe and William Stein) would like to propose that we revive the Annual SageMath Development Prize, which was awarded in the years 2008–2014 thanks to donations from Jaap Spies (a retired Dutch mathematician) – see https://www.sagemath.org/development-prize.html To

[sage-devel] Re: location of `module_list.py`

2022-04-12 Thread Adarsh Kishore
Oh! Thank you On Wednesday, April 13, 2022 at 1:55:05 AM UTC+5:30 Matthias Koeppe wrote: > Cython files are now discovered automatically. There is no need to add the > name of the pyx file anywhere. > > > On Tuesday, April 12, 2022 at 10:21:44 AM UTC-7 adarsh.k...@gmail.com > wrote: > >> Ok, th

[sage-devel] Re: location of `module_list.py`

2022-04-12 Thread Matthias Koeppe
Cython files are now discovered automatically. There is no need to add the name of the pyx file anywhere. On Tuesday, April 12, 2022 at 10:21:44 AM UTC-7 adarsh.k...@gmail.com wrote: > Ok, then in the new version of Sage what is the equivalent file I should > look? > > On Tuesday, April 12, 20

[sage-devel] Re: Sage does wrong vector comparison when using assume

2022-04-12 Thread dmo...@deductivepress.ca
Thanks for reporting the bug. The problem comes from the fact that `if lhs != rhs:` is not the same as `if not(lhs == rhs):` when `lhs` and `rhs` are in `SR`, and the test for equality of vectors uses the wrong one. I opened trac ticket #33697 to fix this

[sage-devel] Re: Kruskal's Algorithm using Priority Queues

2022-04-12 Thread Enjeck Cleopatra
Just wondering if the third TODO (Randomized spanning tree construction) should be removed as well, since I see a function called "random_spanning_tree" exists already. On Monday, April 11, 2022 at 8:23:30 AM UTC+1 adarsh.k...@gmail.com wrote: > Okay, then I think that line should be removed rig

[sage-devel] Re: location of `module_list.py`

2022-04-12 Thread Adarsh Kishore
Ok, then in the new version of Sage what is the equivalent file I should look? On Tuesday, April 12, 2022 at 9:57:56 PM UTC+5:30 Matthias Koeppe wrote: > This is outdated. I've opened https://trac.sagemath.org/ticket/33694 to > update the documentation. > > On Tuesday, April 12, 2022 at 7:30:16

[sage-devel] Re: location of `module_list.py`

2022-04-12 Thread Matthias Koeppe
This is outdated. I've opened https://trac.sagemath.org/ticket/33694 to update the documentation. On Tuesday, April 12, 2022 at 7:30:16 AM UTC-7 adarsh.k...@gmail.com wrote: > Hi everyone, > > I am using Sage v9.6.beta5 on Ubuntu 20.04 LTS > Recently I was going through the Sage Developer's Manu

Re: [sage-devel] Plotting kills Sagemath in ubuntu (plot(f(x),1,-1))

2022-04-12 Thread Dima Pasechnik
Most probably, you're running a binary installation of Sage (what version?) on a CPU that does not match CPUs your binary was built for. On Mon, Apr 11, 2022 at 11:42 PM Eliton Trindade Gomes wrote: > > return error > > > /

Re: [sage-devel] Trouble with SSH access

2022-04-12 Thread Dima Pasechnik
On Tue, Apr 12, 2022 at 12:24 AM Thierry wrote: > i had a quick look at the trac/git box: when a SSH pubkey is added from > the trac website, the /srv/git/repositories/gitolite-admin.git > repository is updated accordingly, so it seems it is not an issue > between trac and gitolite, the transfer s

Re: [sage-devel] Trouble with SSH access

2022-04-12 Thread Antoine Leudière
IT WORKS!!! ```bash ~ ssh -i ~/.ssh/ssh_key-sage-trac-2 g...@trac.sagemath.org info perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_PAPER = "fr_FR.UTF-8", LC_ADDRESS = "fr_FR.UTF-

Re: [sage-devel] Trouble with SSH access

2022-04-12 Thread Antoine Leudière
Thanks a lot for the input. Antoine On Mon, 2022-04-11 at 22:24 +, Thierry wrote: > Hi, > > i had a quick look at the trac/git box: when a SSH pubkey is added from > the trac website, the /srv/git/repositories/gitolite-admin.git > repository is updated accordingly, so it seems it is not an i

Re: [sage-devel] divmod() vs .quo_rem()

2022-04-12 Thread David Roe
I see no reason why Sage couldn't support divmod() in addition to quo_rem(). David On Tue, Apr 12, 2022 at 9:46 AM Lorenz Panny wrote: > > Python defines divmod() and the associated .__divmod__() magic method > for what Sage calls .quo_rem(). > > Is there any reason why Sage shouldn't or cannot

[sage-devel] Re: Parallelization of Boruvka's Algorithm

2022-04-12 Thread Adarsh Kishore
I think I might get how to do it. Can I open a ticket for this? On Tuesday, April 12, 2022 at 12:11:05 PM UTC+5:30 Adarsh Kishore wrote: > Hi everyone, > > I was going through the file `SAGE_ROOT/src/sage/graphs/spanning_tree.pyx` > and I found this in the TODO section > [image: Screenshot from

[sage-devel] divmod() vs .quo_rem()

2022-04-12 Thread Lorenz Panny
Python defines divmod() and the associated .__divmod__() magic method for what Sage calls .quo_rem(). Is there any reason why Sage shouldn't or cannot support divmod()? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this gr

[sage-devel] Re: _SAGE_VAR_minus and Maxima limit direction

2022-04-12 Thread kcrisman
https://trac.sagemath.org/ticket/33692 On Monday, April 11, 2022 at 6:38:28 PM UTC-4 Nils Bruin wrote: > That's a fairly straightforward thing to fix: it just means that the > sage-to-maxima interface needs to learn how to translate "plus" and "minus" > in limit expressions. > > The easiest way

Re: [sage-devel] Trouble with SSH access

2022-04-12 Thread Thierry
Hi, could you please retry ? (i will send details on sagemath-admins) Ciao, Thierry Le Mon, Apr 11, 2022 at 10:24:53PM +, Thierry a écrit : > Hi, > > i had a quick look at the trac/git box: when a SSH pubkey is added from > the trac website, the /srv/git/repositories/gitolite-admin.git >

[sage-devel] Re: Kruskal's Algorithm using Priority Queues

2022-04-12 Thread Adarsh Kishore
https://trac.sagemath.org/ticket/33688 I have done the change On Tuesday, April 12, 2022 at 12:20:19 PM UTC+5:30 David Coudert wrote: > Sure, feel free to open a ticket to correct this. > > On Monday, April 11, 2022 at 4:18:38 PM UTC+2 adarsh.k...@gmail.com wrote: > >> I can open a ticket to corr