[sage-devel] Re: inverse of units

2016-07-06 Thread Kwankyu Lee
For inverting in the original parent ("internally"), the name "m.inverse_of_unit()" is used widely in Sage, e.g. in integer rings, polynomial rings, p-adic rings, etc. The name "m._invert_unit()" seems to be used only for matrices. I now understand the "unit" in the name for differentiating fro

Re: [sage-devel] VotePlugin for trac?

2016-07-06 Thread William Stein
On Wednesday, July 6, 2016, saad khalid wrote: > I've always wondered why we didn't use GH. > > > > Also, I would definitely support some sort of voting on > feature/improvement option. I'm not sure if trac is the best place to put > it, but I think one of the best things we can do is make it eas

Re: [sage-devel] inverse of units

2016-07-06 Thread Daniel Krenn
On 2016-07-06 21:53, Vincent Delecroix wrote: > hum. The point of my question was about ***internal*** inversion. Sage > uses `~x` as a shortcut for `1/x` which involves coercion. > {{{ > sage: parent(~1) > Rational Field > sage: parent(1.inverse_of_unit()) > Integer Ring > }}} Sorry, for the nois

Re: [sage-devel] inverse of units

2016-07-06 Thread Vincent Delecroix
On 06/07/16 16:03, mmarco wrote: Non units are not interval in the same parent, but might be in a bigger one (think of the fraction field of a ring). The question is to have a method that tries to invert the object even if it has to go to a bigger parent; and a different one that tries to find t

Re: [sage-devel] inverse of units

2016-07-06 Thread mmarco
Non units are not interval in the same parent, but might be in a bigger one (think of the fraction field of a ring). The question is to have a method that tries to invert the object even if it has to go to a bigger parent; and a different one that tries to find the inverse in the same parent,

Re: [sage-devel] Re: inverse of units

2016-07-06 Thread Vincent Delecroix
On 06/07/16 15:48, Kwankyu Lee wrote: How about "m.multiplicative_inverse()" or just "m.inverse()" which already works for matrices? Or those with a hyphen prepended, for "internal" use. `.inverse()` and `._invert_unit()` are different for matrices {{{ sage: m = matrix(2, [2,1,1,1]) sage: m._in

Re: [sage-devel] inverse of units

2016-07-06 Thread Vincent Delecroix
On 06/07/16 15:49, Daniel Krenn wrote: On 2016-07-06 16:59, Vincent Delecroix wrote: Do you have any suggestion for the name of a method for *internal* inversion in a multiplicative monoid (e.g. ring). Currently I know of sage: (-1).inverse_of_unit() -1 sage: m = matrix(2, [2,1,1,1]) sage: m._

Re: [sage-devel] inverse of units

2016-07-06 Thread Daniel Krenn
On 2016-07-06 16:59, Vincent Delecroix wrote: > Do you have any suggestion for the name of a method for *internal* > inversion in a multiplicative monoid (e.g. ring). Currently I know of > > sage: (-1).inverse_of_unit() > -1 > > sage: m = matrix(2, [2,1,1,1]) > sage: m._invert_unit() > [ 1 -1] >

[sage-devel] Re: inverse of units

2016-07-06 Thread Kwankyu Lee
How about "m.multiplicative_inverse()" or just "m.inverse()" which already works for matrices? Or those with a hyphen prepended, for "internal" use. On the other hand, "inverse" or "invert" implies that m is(should be) a unit. Then "unit" in the name seems redundant... -- You received this me

[sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread saad khalid
I've always wondered why we didn't use GH. Also, I would definitely support some sort of voting on feature/improvement option. I'm not sure if trac is the best place to put it, but I think one of the best things we can do is make it easy for people to report and vote on what features Sage and

[sage-devel] python3 imports

2016-07-06 Thread Frédéric Chapoton
Dear all, Essentially, print has now been converted to python3-compatible behaviour in all of sage, after a lot of work by many people. In order to go on moving towards python3, I have started a new sequence of tickets aiming at making the imports compatible with python3. This is done folder by

Re: [sage-devel] VotePlugin for trac?

2016-07-06 Thread William Stein
On Wednesday, July 6, 2016, Erik Bray wrote: > On Jul 6, 2016 17:40, "William Stein" > wrote: > > > > On Wed, Jul 6, 2016 at 8:31 AM, Erik Bray > wrote: > > > > > Alternatively, we can do a little better than "anonymous" be > > > re-enabling registration on the Trac site. > > > > > > Trac has a

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Erik Bray
On Jul 6, 2016 17:40, "William Stein" wrote: > > On Wed, Jul 6, 2016 at 8:31 AM, Erik Bray wrote: > > > Alternatively, we can do a little better than "anonymous" be > > re-enabling registration on the Trac site. > > > > Trac has an "authenticated" role, for users who have passed > > authenticatio

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Michael Orlitzky
On 07/06/2016 11:06 AM, Erik Bray wrote: >> >> Is there a single example where voting on bugs has been used effectively? > > You mean like hundreds of projects where people write +1/-1/(+/-)0 on > discussions? Usually that's just informal but sometimes it's actually > tallied too, where a decisio

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread William Stein
On Wed, Jul 6, 2016 at 8:31 AM, Erik Bray wrote: > Alternatively, we can do a little better than "anonymous" be > re-enabling registration on the Trac site. > > Trac has an "authenticated" role, for users who have passed > authentication but nothing else. That sounds OK. > For now we can at g

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Erik Bray
On Wed, Jul 6, 2016 at 5:15 PM, William Stein wrote: > On Wed, Jul 6, 2016 at 8:13 AM, Simon King wrote: >> Hi William, >> >> On 2016-07-06, William Stein wrote: >>> On Wed, Jul 6, 2016 at 7:57 AM, Michael Orlitzky >>> wrote: On 07/06/2016 06:30 AM, Simon King wrote: > > It seems

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread William Stein
On Wed, Jul 6, 2016 at 8:13 AM, Simon King wrote: > Hi William, > > On 2016-07-06, William Stein wrote: >> On Wed, Jul 6, 2016 at 7:57 AM, Michael Orlitzky >> wrote: >>> On 07/06/2016 06:30 AM, Simon King wrote: It seems useless to me. Thus, counter-question: Any substantial benefit >

[sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Simon King
Hi William, On 2016-07-06, William Stein wrote: > On Wed, Jul 6, 2016 at 7:57 AM, Michael Orlitzky wrote: >> On 07/06/2016 06:30 AM, Simon King wrote: >>> >>> It seems useless to me. Thus, counter-question: Any substantial benefit >>> with this? >>> >> >> Yeah, I've worked on probably a hundred

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Erik Bray
On Wed, Jul 6, 2016 at 4:57 PM, Michael Orlitzky wrote: > On 07/06/2016 06:30 AM, Simon King wrote: >> >> It seems useless to me. Thus, counter-question: Any substantial benefit >> with this? >> > > Yeah, I've worked on probably a hundred open source projects that have > this feature in one way or

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread William Stein
On Wed, Jul 6, 2016 at 8:03 AM, William Stein wrote: > On Wed, Jul 6, 2016 at 7:57 AM, Michael Orlitzky wrote: >> On 07/06/2016 06:30 AM, Simon King wrote: >>> >>> It seems useless to me. Thus, counter-question: Any substantial benefit >>> with this? >>> >> >> Yeah, I've worked on probably a hund

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread William Stein
On Wed, Jul 6, 2016 at 7:57 AM, Michael Orlitzky wrote: > On 07/06/2016 06:30 AM, Simon King wrote: >> >> It seems useless to me. Thus, counter-question: Any substantial benefit >> with this? >> > > Yeah, I've worked on probably a hundred open source projects that have > this feature in one way or

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Michael Orlitzky
On 07/06/2016 06:30 AM, Simon King wrote: > > It seems useless to me. Thus, counter-question: Any substantial benefit > with this? > Yeah, I've worked on probably a hundred open source projects that have this feature in one way or another. The votes are always completely ignored, and users who d

[sage-devel] inverse of units

2016-07-06 Thread Vincent Delecroix
Hello, Do you have any suggestion for the name of a method for *internal* inversion in a multiplicative monoid (e.g. ring). Currently I know of sage: (-1).inverse_of_unit() -1 sage: m = matrix(2, [2,1,1,1]) sage: m._invert_unit() [ 1 -1] [-1 2] I would like to standardize the name in order

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Erik Bray
On Wed, Jul 6, 2016 at 1:19 PM, Dima Pasechnik wrote: > On Wednesday, July 6, 2016 at 10:39:01 AM UTC+1, Erik Bray wrote: >> >> On Wed, Jul 6, 2016 at 11:30 AM, Erik Bray wrote: >> > On Tue, Jul 5, 2016 at 6:59 PM, Vincent Delecroix >> > <20100.d...@gmail.com> wrote: >> >> On 05/07/16 12:51, leif

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Dima Pasechnik
On Wednesday, July 6, 2016 at 10:39:01 AM UTC+1, Erik Bray wrote: > > On Wed, Jul 6, 2016 at 11:30 AM, Erik Bray > wrote: > > On Tue, Jul 5, 2016 at 6:59 PM, Vincent Delecroix > > <20100.d...@gmail.com > wrote: > >> On 05/07/16 12:51, leif wrote: > >>> > >>> Vincent Delecroix wrote: >

[sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Simon King
Hi Dima, On 2016-07-05, Dima Pasechnik wrote: > As an experiment, we would like to > install https://trac-hacks.org/wiki/VotePlugin > on trac.sagemath.org. This would allow voting on tickets (w.r.t. their > popularity, etc), > and probably more. > > Voting would be restricted to people with a

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Jori Mäntysalo
On Wed, 6 Jul 2016, Erik Bray wrote: It is still worth discussing how best to use it though. On what resources do we want to enable voting? Tickets, obviously. But others are possible too. How do want to use the votes? Do we want to add some reports that take number of votes into account?

Re: [sage-devel] Re: probleme installing sage-7.2 on suse 13.2

2016-07-06 Thread Erik Bray
On Tue, Jul 5, 2016 at 5:27 PM, Dima Pasechnik wrote: > some parts of Sage do not work if Sage is installed in a directory with > non-ascii characters in its name. And you have that "Téléchargements" there. > Rename it to something ascii-only. In fairness they probably didn't name it that in the

[sage-devel] Fwd: [sagemath-admins] Re: branch is not clickable

2016-07-06 Thread Dima Pasechnik
-- Forwarded message -- From: Erik Bray Date: Wed, Jul 6, 2016 at 10:22 AM Subject: Re: [sagemath-admins] Re: branch is not clickable To: sagemath-admins On Wed, Jul 6, 2016 at 10:46 AM, Erik Bray wrote: > On Tue, Jul 5, 2016 at 10:15 PM, Dima Pasechnik wrote: >> I see errors

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Erik Bray
On Wed, Jul 6, 2016 at 11:30 AM, Erik Bray wrote: > On Tue, Jul 5, 2016 at 6:59 PM, Vincent Delecroix > <20100.delecr...@gmail.com> wrote: >> On 05/07/16 12:51, leif wrote: >>> >>> Vincent Delecroix wrote: On 05/07/16 09:53, Dima Pasechnik wrote: > > As an experiment, we would li

Re: [sage-devel] Re: VotePlugin for trac?

2016-07-06 Thread Erik Bray
On Tue, Jul 5, 2016 at 6:59 PM, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > On 05/07/16 12:51, leif wrote: >> >> Vincent Delecroix wrote: >>> >>> On 05/07/16 09:53, Dima Pasechnik wrote: As an experiment, we would like to install https://trac-hacks.org/wiki/VotePlugin

Re: [sage-devel] Re: probleme installing sage-7.2 on suse 13.2

2016-07-06 Thread Erik Bray
On Tue, Jul 5, 2016 at 9:18 PM, leif wrote: > William Stein wrote: >> On Tue, Jul 5, 2016 at 10:37 AM, leif wrote: >>> Erik Bray wrote: That could and probably should be fixed though. In this case just changing decode('ascii') to decode('latin1') will go a long way (will result in

Re: [sage-devel] Re: ssh fail

2016-07-06 Thread Julien Lavauzelle
OK it works for me now. Thanks a lot Erik, Julien -- 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,

Re: [sage-devel] VotePlugin for trac?

2016-07-06 Thread Volker Braun
The point of voting/starring/+1-ing a ticket is that one can express importance without having to post a "me too" comment (and without having to spam developer's inboxes). On Tuesday, July 5, 2016 at 4:00:57 PM UTC+2, vdelecroix wrote: > > On 05/07/16 09:53, Dima Pasechnik wrote: > > As an ex