[sage-devel] Re: Make xz a standard package ?

2016-10-23 Thread Ralf Stephan
+1 -- 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, send email to sage-devel@googlegroups.com. Visit

[sage-devel] Re: Make xz a standard package ?

2016-10-23 Thread Matthias Koeppe
On Sunday, October 23, 2016 at 8:15:19 AM UTC-7, Emmanuel Charpentier wrote: > > [...] make xz a standard package. > +1 -- 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 em

[sage-devel] Re: Troubles communicating with Sage 7.4

2016-10-23 Thread Matthias Koeppe
Ticket #21082 - Prompting about experimental packages: `sage -i -y` is now ready for review. -- 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.

[sage-devel] Re: Troubles communicating with Sage 7.4

2016-10-23 Thread Andrey Novoseltsev
On Sunday, 23 October 2016 14:23:10 UTC-6, Andrey Novoseltsev wrote: > > That's a stale ticket that would allow one to turn of the prompt, but the > real problem is "communicating with Sage" - I am trying to provide an > answer to the question by sending a newline through the pipe, but it is >

[sage-devel] Re: Troubles communicating with Sage 7.4

2016-10-23 Thread Andrey Novoseltsev
Yet another possibly related problem: when installing qhull from a script it errors out with ... cd lib && ln -f -s libqhull_r.so.7.2.0 libqhull_r.so === == If user_eg fails to link on MinGW or Cygwin, use == "make SO=dll" and copy lib/libqhull_r

[sage-devel] Error installing package ecl-16.1.2.p1

2016-10-23 Thread tienou64
*Host system:* Linux etienne 4.5.0-0.bpo.1-amd64 #1 SMP Debian 4.5.1-1~bpo8+1 (2016-04-20) x86_64 GNU/Linux *C compiler:* gcc *C compiler version*: gcc (Debian 4.9.2-10) 4.9.2 [It is built-in specs] *Error message:* checking character sequence for end of line... configure: error: Unable to dete

[sage-devel] Re: Cannot run sage in postinst

2016-10-23 Thread Andrey Novoseltsev
On Sunday, 23 October 2016 03:23:12 UTC-6, Jan Groenewald wrote: > > Hi > > I'm preparing the PPA for sage 7.4. In the postinst script I run sage once > as root to set hardcoded paths (which may have been replaced by > replocate-once.py??). > > It fails to run under apt or dpkg --configure with

[sage-devel] Re: Troubles communicating with Sage 7.4

2016-10-23 Thread Andrey Novoseltsev
On Sunday, 23 October 2016 01:18:58 UTC-6, Matthias Koeppe wrote: > > > > On Saturday, October 22, 2016 at 10:52:20 PM UTC-7, Andrey Novoseltsev > wrote: >> >> I have further problems (now with 7.5beta0 + #21743), sending new line >> during installation of an experimental package (cryptominisa

Re: [sage-devel] Re: Notebook stuck on "N?" with a worksheet

2016-10-23 Thread William Stein
On Sun, Oct 23, 2016 at 4:28 AM, Dima Pasechnik wrote: > > > On Sunday, October 23, 2016 at 7:48:43 AM UTC, Jori Mäntysalo wrote: >> >> On Sun, 23 Oct 2016, Jeroen Demeyer wrote: >> >> >> I must check if sharing worksheets works >> > >> > As far as I know, Jupyter(hub) does not have such a feature

Re: [sage-devel] trac down?

2016-10-23 Thread William Stein
On Sun, Oct 23, 2016 at 9:25 AM, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > On 23 October 2016 at 18:14, William Stein wrote: >> >> >> On Sunday, October 23, 2016, Vincent Delecroix <20100.delecr...@gmail.com> >> wrote: >>> >>> Hello, >>> >>> I am not able to see trac on the radar anym

Re: [sage-devel] trac down?

2016-10-23 Thread Vincent Delecroix
On 23 October 2016 at 18:14, William Stein wrote: > > > On Sunday, October 23, 2016, Vincent Delecroix <20100.delecr...@gmail.com> > wrote: >> >> Hello, >> >> I am not able to see trac on the radar anymore > > > It works fine for me and has not been down recently. > Thanks for your answer. It wen

Re: [sage-devel] relevant method name for Zmod(n)(p/q).lift()

2016-10-23 Thread Vincent Delecroix
On 23 October 2016 at 18:13, John Cremona wrote: > On 23 October 2016 at 16:45, Vincent Delecroix > <20100.delecr...@gmail.com> wrote: >> John, there seems to be a confusion in your answer. > > Right -- thanks for clarifying. The current behaviour is what I would > expect when coercing (or at lea

Re: [sage-devel] relevant method name for Zmod(n)(p/q).lift()

2016-10-23 Thread John Cremona
On 23 October 2016 at 16:45, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > John, there seems to be a confusion in your answer. Right -- thanks for clarifying. The current behaviour is what I would expect when coercing (or at least converting) into Zmod(n) but we are implementing somethin

Re: [sage-devel] trac down?

2016-10-23 Thread William Stein
On Sunday, October 23, 2016, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > Hello, > > I am not able to see trac on the radar anymore It works fine for me and has not been down recently. > > $ host trac.sagemath.org > trac.sagemath.org has address 104.197.143.230 > $ ping -c1 -W5 104.

Re: [sage-devel] relevant method name for Zmod(n)(p/q).lift()

2016-10-23 Thread Vincent Delecroix
On 23 October 2016 at 18:06, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > PARI/GP is using Mod the way we want it > > ? Mod(2/3,5) > %1 = Mod(4, 5) > ? Mod(2/3,6) > *** Mod: impossible inverse in Fl_inv: Mod(3, 6). > > And Maple as well > >> 2/3 mod 5; > 4 >> 2/3 mod 6; > Error, the mod

Re: [sage-devel] relevant method name for Zmod(n)(p/q).lift()

2016-10-23 Thread Vincent Delecroix
PARI/GP is using Mod the way we want it ? Mod(2/3,5) %1 = Mod(4, 5) ? Mod(2/3,6) *** Mod: impossible inverse in Fl_inv: Mod(3, 6). And Maple as well > 2/3 mod 5; 4 > 2/3 mod 6; Error, the modular inverse does not exist This is a good reason to change the behavior of mod in Sage... -- You re

Re: [sage-devel] relevant method name for Zmod(n)(p/q).lift()

2016-10-23 Thread Vincent Delecroix
John, there seems to be a confusion in your answer. The current behavior of (p/q) % n is to return Zmod(n)(p/q).lift(). We want to change it to be something else as proposed in [1], [2] and [3]. What I want is to preserve a way of doing efficiently the old behavior... [1] https://groups.google.co

Re: [sage-devel] relevant method name for Zmod(n)(p/q).lift()

2016-10-23 Thread Vincent Delecroix
On 23 October 2016 at 17:32, John Cremona wrote: > On 23 October 2016 at 15:28, vdelecroix <20100.delecr...@gmail.com> wrote: >> Le dimanche 23 octobre 2016 16:20:25 UTC+2, John Cremona a écrit : >>> >>> I see that despite the title of that ticket, this is (at present) >>> about r%n when r =p/q is

Re: [sage-devel] relevant method name for Zmod(n)(p/q).lift()

2016-10-23 Thread John Cremona
On 23 October 2016 at 15:28, vdelecroix <20100.delecr...@gmail.com> wrote: > Le dimanche 23 octobre 2016 16:20:25 UTC+2, John Cremona a écrit : >> >> I see that despite the title of that ticket, this is (at present) >> about r%n when r =p/q is rational. > > > The ticket also cares about the case wh

[sage-devel] Make xz a standard package ?

2016-10-23 Thread Emmanuel Charpentier
The xz package has been part of Sage for about three months (see Trac#21063 ). Making it stanrd would simplify handling of tarballs (see Trac#18236 ), and of R (standard package in Sage, see Trac#20523

[sage-devel] trac down?

2016-10-23 Thread Vincent Delecroix
Hello, I am not able to see trac on the radar anymore $ host trac.sagemath.org trac.sagemath.org has address 104.197.143.230 $ ping -c1 -W5 104.197.143.230 PING 104.197.143.230 (104.197.143.230) 56(84) bytes of data. --- 104.197.143.230 ping statistics --- 1 packets transmitted, 0 received, 100%

Re: [sage-devel] relevant method name for Zmod(n)(p/q).lift()

2016-10-23 Thread vdelecroix
Le dimanche 23 octobre 2016 16:20:25 UTC+2, John Cremona a écrit : > > I see that despite the title of that ticket, this is (at present) > about r%n when r =p/q is rational. > The ticket also cares about the case where n is rational. Moreover my proposed branch makes % part of the coercion syst

Re: [sage-devel] relevant method name for Zmod(n)(p/q).lift()

2016-10-23 Thread John Cremona
I see that despite the title of that ticket, this is (at present) about r%n when r =p/q is rational. Questions: 1. What is the proposed behaviour when q is not invertible modulo n? Or more generally, if q*x=p (mod n) has no solutions, or more than one solution (mod n)? 2. Is the output going to

[sage-devel] relevant method name for Zmod(n)(p/q).lift()

2016-10-23 Thread Vincent Delecroix
Hello, In #21745 the behavior of (p/q) % n is proposed for a change. However the current behavior (that is looking at the operation p * q^-1 modulo n) is something useful that we want to keep. I would like to add a method to rational numbers with this behavior, in other words something equivalent

Re: [sage-devel] Re: Notebook stuck on "N?" with a worksheet

2016-10-23 Thread Dima Pasechnik
On Sunday, October 23, 2016 at 7:48:43 AM UTC, Jori Mäntysalo wrote: > > On Sun, 23 Oct 2016, Jeroen Demeyer wrote: > > >> I must check if sharing worksheets works > > > > As far as I know, Jupyter(hub) does not have such a feature since it > > completely relies on the OS for access checks. A

Re: [sage-devel] Re: Notebook stuck on "N?" with a worksheet

2016-10-23 Thread Luca De Feo
> As far as I know, Jupyter(hub) does not have such a feature since it > completely relies on the OS for access checks. That's not correct. JupyterHub supports arbitrary authenticators: https://jupyterhub.readthedocs.io/en/latest/authenticators.html In particular, there is an LDAP authenticato

[sage-devel] Cannot run sage in postinst

2016-10-23 Thread Jan Groenewald
Hi I'm preparing the PPA for sage 7.4. In the postinst script I run sage once as root to set hardcoded paths (which may have been replaced by replocate-once.py??). It fails to run under apt or dpkg --configure with /usr/lib/sagemath/local/lib/python2.7/site-packages/prompt_toolkit/terminal/vt100

[sage-devel] Re: modulo operators (integers, rationals, real numbers)

2016-10-23 Thread vdelecroix
Le mardi 22 décembre 2015 01:31:23 UTC+2, vdelecroix a écrit : > > Hello, > > While responding to this ask question > > http://ask.sagemath.org/question/31740/why-112321-and-111320 > > I discovered some inconsistencies with the modulo operators in Sage. We > indeed have three coexisting definit

Re: [sage-devel] Re: Notebook stuck on "N?" with a worksheet

2016-10-23 Thread Jori Mäntysalo
On Sun, 23 Oct 2016, Jeroen Demeyer wrote: I must check if sharing worksheets works As far as I know, Jupyter(hub) does not have such a feature since it completely relies on the OS for access checks. A notebook is just an ordinary file owned by some Unix user. OK, then I am not going to tr

[sage-devel] Re: Troubles communicating with Sage 7.4

2016-10-23 Thread Matthias Koeppe
On Saturday, October 22, 2016 at 10:52:20 PM UTC-7, Andrey Novoseltsev wrote: > > I have further problems (now with 7.5beta0 + #21743), sending new line > during installation of an experimental package (cryptominisat) is ignored > here: > > https://github.com/sagemath/sagecell/blob/master/con

Re: [sage-devel] Re: Notebook stuck on "N?" with a worksheet

2016-10-23 Thread Jeroen Demeyer
On 2016-10-23 08:47, Jori Mäntysalo wrote: I must check if sharing worksheets works As far as I know, Jupyter(hub) does not have such a feature since it completely relies on the OS for access checks. A notebook is just an ordinary file owned by some Unix user. -- You received this message b