sage-devel
https://groups.google.com/d/forum/sage-devel
This email list is for discussion of Sage (<a href="http://www.sagemath.org">www.sagemath.org</a>) development issues. This list usually has heavy traffic.enRe: [sage-devel] add curl as a standard package
https://groups.google.com/d/msg/sage-devel/9gun2Wo6zGM/oUVYKz5KAgAJ
There is also the need_to_install magic: https://github.com/sagemath/sage/blob/master/configure.ac#L807https://groups.google.com/d/topic/sage-devel/9gun2Wo6zGM
Jean-Pierre FloriMon, 24 Oct 2016 18:50:43 UTCRe: [sage-devel] add curl as a standard package
https://groups.google.com/d/msg/sage-devel/9gun2Wo6zGM/VgWnTA1KAgAJ
Some calls to the autoconf macros here: https://github.com/sagemath/sage/blob/master/configure.ac#L393 Also have a look at what is done for the integer multi precision library: https://github.com/sagemath/sage/blob/master/configure.ac#L657 What is done for BLAS can also help. I don't have muchhttps://groups.google.com/d/topic/sage-devel/9gun2Wo6zGM
Jean-Pierre FloriMon, 24 Oct 2016 18:47:13 UTCRe: [sage-devel] add curl as a standard package
https://groups.google.com/d/msg/sage-devel/9gun2Wo6zGM/IU-lKqhJAgAJ
> What do you think ? > >https://groups.google.com/d/topic/sage-devel/9gun2Wo6zGM
Dima PasechnikMon, 24 Oct 2016 18:39:59 UTCRe: [sage-devel] Error installing package iml-1.0.4p1.p1
https://groups.google.com/d/msg/sage-devel/W7mxV5dxaQU/WtzJ8jZDAgAJ
Thank you for the advise. Just one question. How can I debug with the sage subshell? How is it possible to use it? On Monday, October 24, 2016 at 2:49:03 PM UTC+2, Jeroen Demeyer wrote: > > On 2016-10-24 14:33, tien...@gmail.com wrote: > > I tried to build Sage with Debian packages. I followedhttps://groups.google.com/d/topic/sage-devel/W7mxV5dxaQU
tien...@gmail.comMon, 24 Oct 2016 16:41:56 UTCRe: [sage-devel] add curl as a standard package
https://groups.google.com/d/msg/sage-devel/9gun2Wo6zGM/G55_UxRDAgAJ
Bonus question for the build system experts : can an spkg-install script recursively call $SAGE_ROOT/sage -i <some other package> and get the return status back ? A simple solution would then be to test for the existence of the relevant binaries/executables in the R spkg-install script, andhttps://groups.google.com/d/topic/sage-devel/9gun2Wo6zGM
Emmanuel CharpentierMon, 24 Oct 2016 16:39:27 UTCRe: add pcre as a standard package
https://groups.google.com/d/msg/sage-devel/QpTvLGSu3w8/ySSFqd1CAgAJ
Indeed. However, the suggestion made on the similar stream on curl (i. e. install only if not installed systemwide) is interesting. It taxes my (admittedly limited) knowledge of the Unix configure tools (and autotools), but it's worth a try. However, what happens when a library exists at Sage'shttps://groups.google.com/d/topic/sage-devel/QpTvLGSu3w8
Emmanuel CharpentierMon, 24 Oct 2016 16:35:32 UTCMercurial in "Sage developers's guide (Release 7.4)"
https://groups.google.com/d/msg/sage-devel/6jq6ok06PMA/z1XC0kg9AgAJ
There remain some references to Mercurial in the developer's guide: -page 114: "Overview of Patching SPKGS:" ..., use Mercurial to checck... -page 115, -near top: The Mercurial configuration file ... -in the last paragraph: ... use Mercurial... hg tag... t.d.https://groups.google.com/d/topic/sage-devel/6jq6ok06PMA
tdumontMon, 24 Oct 2016 14:53:15 UTCRe: Coxeter3 problem.
https://groups.google.com/d/msg/sage-devel/IjtuwSeOkyg/KvhkhzY8AgAJ
I also get this as well. I believe I have become the official spkg maintainer, and I will fix it within a day. Best, Travis On Monday, October 24, 2016 at 2:46:28 AM UTC-5, tdumont wrote: > > > Coxeter3 cannot be compiled (7.4 and 7.5beta0). > > Actually this does not seem too difficult (ahttps://groups.google.com/d/topic/sage-devel/IjtuwSeOkyg
Travis ScrimshawMon, 24 Oct 2016 14:33:37 UTCRe: [sage-devel] Re: Notebook stuck on "N?" with a worksheet
https://groups.google.com/d/msg/sage-devel/GSlGERRFe30/Y9xVKp07AgAJ
I have a setup helper for jupyterhup at https://github.com/vbraun/run-jupyter-hub It might be out of date, haven't tried it with the newest version of jupyterhub. But maybe its a starting point for you... On Monday, October 24, 2016 at 7:47:15 AM UTC-4, Jori Mäntysalo wrote: > > On Sun, 23https://groups.google.com/d/topic/sage-devel/GSlGERRFe30
Volker BraunMon, 24 Oct 2016 14:22:39 UTCRe: [sage-devel] add curl as a standard package
https://groups.google.com/d/msg/sage-devel/9gun2Wo6zGM/x_4naZI7AgAJ
Which library does R link against? If you can find out its name and a function that R tries to use, you can check for the library's (and function's) presence with AC_CHECK_LIB. Or if you need specific headers, there's AC_CHECK_HEADERS. > The same is true for pcre. PCRE is the same. They'rehttps://groups.google.com/d/topic/sage-devel/9gun2Wo6zGM
Michael OrlitzkyMon, 24 Oct 2016 14:21:52 UTCRe: add pcre as a standard package
https://groups.google.com/d/msg/sage-devel/QpTvLGSu3w8/oN0mJys7AgAJ
+1 IMHO we don't really have to vote on it, as this is basically splitting of a standard package into several, as enforced by upstream. On Monday, October 24, 2016 at 10:12:01 AM UTC, Emmanuel Charpentier wrote: > > [ Same problem as for curl, posted a few seconds ago ] > > It looks like pcre,https://groups.google.com/d/topic/sage-devel/QpTvLGSu3w8
Dima PasechnikMon, 24 Oct 2016 14:14:29 UTCRe: [sage-devel] add curl as a standard package
https://groups.google.com/d/msg/sage-devel/9gun2Wo6zGM/kJnA2KU5AgAJ
Maybe it is not that bad if the automagic detection system is not that good. If the automatic stuff works magically on usual config, let's say large Linux distros, that's enough. As long as we have "--with-x" options to pass to configure for making Sage more distro friendly and let smart people dohttps://groups.google.com/d/topic/sage-devel/9gun2Wo6zGM
Jean-Pierre FloriMon, 24 Oct 2016 13:46:37 UTCRe: [sage-devel] add curl as a standard package
https://groups.google.com/d/msg/sage-devel/9gun2Wo6zGM/i5FRtKA5AgAJ
Not the same problem. To detect curl, it is enough to find an executable named "curl" in the path. As far as I know, R uses a library, and this is known to be not so easy to find. [ I'm currently looking at autotools tutorials to understand how to check for this kind of things, and start tohttps://groups.google.com/d/topic/sage-devel/9gun2Wo6zGM
Emmanuel CharpentierMon, 24 Oct 2016 13:46:15 UTCRe: [sage-devel] add curl as a standard package
https://groups.google.com/d/msg/sage-devel/9gun2Wo6zGM/vNF5yy85AgAJ
Great idea, if I can implement it. Looking in the $PATH is not quite easy to do portably. I'm currently looking at configure.in, and begin to suspect I've fallen in a trap... Ideas ?https://groups.google.com/d/topic/sage-devel/9gun2Wo6zGM
Emmanuel CharpentierMon, 24 Oct 2016 13:38:10 UTCRe: [sage-devel] add curl as a standard package
https://groups.google.com/d/msg/sage-devel/9gun2Wo6zGM/6tf2FNQ4AgAJ
And the same for pcre and xz. Check for it in ./configure, and give us a way to override it, like --with-xz[=path].https://groups.google.com/d/topic/sage-devel/9gun2Wo6zGM
Michael OrlitzkyMon, 24 Oct 2016 13:31:36 UTCRe: [sage-devel] Re: Notebook stuck on "N?" with a worksheet
https://groups.google.com/d/msg/sage-devel/GSlGERRFe30/DeexPlM3AgAJ
I mentioned this here: https://github.com/OpenDreamKit/OpenDreamKit/issues/94#issuecomment-255683103 > > -- > Jori Mäntysalo >https://groups.google.com/d/topic/sage-devel/GSlGERRFe30
Dima PasechnikMon, 24 Oct 2016 13:04:03 UTCRe: [sage-devel] Error installing package iml-1.0.4p1.p1
https://groups.google.com/d/msg/sage-devel/W7mxV5dxaQU/ZLB-0IE2AgAJ
I suggest that you write to the Debian mailing list: https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemathhttps://groups.google.com/d/topic/sage-devel/W7mxV5dxaQU
Jeroen DemeyerMon, 24 Oct 2016 12:49:03 UTCError installing package iml-1.0.4p1.p1
https://groups.google.com/d/msg/sage-devel/W7mxV5dxaQU/CiP-JKU1AgAJ
I tried to build Sage with Debian packages. I followed the method on the wiki. When I run "debian/rules prune build", I got the following error: 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 gcc version 4.9.2 (Debian 4.9.2-10)https://groups.google.com/d/topic/sage-devel/W7mxV5dxaQU
tien...@gmail.comMon, 24 Oct 2016 12:33:16 UTCRe: [sage-devel] Re: Notebook stuck on "N?" with a worksheet
https://groups.google.com/d/msg/sage-devel/GSlGERRFe30/GMzqfSIzAgAJ
On Sun, 23 Oct 2016, Luca De Feo wrote: >> 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/authenticatohttps://groups.google.com/d/topic/sage-devel/GSlGERRFe30
Jori MäntysaloMon, 24 Oct 2016 11:47:15 UTCRe: [sage-devel] add curl as a standard package
https://groups.google.com/d/msg/sage-devel/9gun2Wo6zGM/dwg_FYgvAgAJ
In between? * having a curl pacakge that will be installed if not present on the system (~the same way we deal with gcc) Vincenthttps://groups.google.com/d/topic/sage-devel/9gun2Wo6zGM
vdelecroixMon, 24 Oct 2016 10:41:14 UTCRe: add pcre as a standard package
https://groups.google.com/d/msg/sage-devel/QpTvLGSu3w8/KFdvjQAuAgAJ
s/curl/pcre/g... Damn... -- Emmanuel Charpentier Le lundi 24 octobre 2016 12:12:01 UTC+2, Emmanuel Charpentier a écrit : > > [ Same problem as for curl, posted a few seconds ago ] > > It looks like pcre, which was formerly installed by R installation, must > now be installed in order to installhttps://groups.google.com/d/topic/sage-devel/QpTvLGSu3w8
Emmanuel CharpentierMon, 24 Oct 2016 10:13:12 UTCadd pcre as a standard package
https://groups.google.com/d/msg/sage-devel/QpTvLGSu3w8/msUkA_AtAgAJ
[ Same problem as for curl, posted a few seconds ago ] It looks like pcre, which was formerly installed by R installation, must now be installed in order to install R. One can note that a problem will rarely exists, since most Sage users have curl installed in their system. However, a userhttps://groups.google.com/d/topic/sage-devel/QpTvLGSu3w8
Emmanuel CharpentierMon, 24 Oct 2016 10:12:01 UTCadd curl as a standard package
https://groups.google.com/d/msg/sage-devel/9gun2Wo6zGM/mTjca8stAgAJ
It looks like curl, which was formerly installed by R installation, must now be installed in order to install R. One can note that a problem will rarely exists, since most Sage users have curl installed in their system. However, a user having only sage installed (e. g. Sage's virtual machine forhttps://groups.google.com/d/topic/sage-devel/9gun2Wo6zGM
Emmanuel CharpentierMon, 24 Oct 2016 10:09:24 UTCRe: Error installing package ecl-16.1.2.p1
https://groups.google.com/d/msg/sage-devel/_uF24leunzE/wSQZ2CQoAgAJ
https://groups.google.com/d/topic/sage-devel/_uF24leunzE
Dima PasechnikMon, 24 Oct 2016 08:25:51 UTCRe: Make xz a standard package ?
https://groups.google.com/d/msg/sage-devel/R9b4bm29yjM/chD79fknAgAJ
+1 On Sunday, October 23, 2016 at 3:15:19 PM UTC, Emmanuel Charpentier wrote: > > 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). > > Usinghttps://groups.google.com/d/topic/sage-devel/R9b4bm29yjM
Dima PasechnikMon, 24 Oct 2016 08:22:47 UTCCoxeter3 problem.
https://groups.google.com/d/msg/sage-devel/IjtuwSeOkyg/VZOxov4lAgAJ
Coxeter3 cannot be compiled (7.4 and 7.5beta0). Actually this does not seem too difficult (a function has been has been declared twice with the same signature). May be it's better that the spkg maintainer (Mike Hansen) correct this than me. t.d.https://groups.google.com/d/topic/sage-devel/IjtuwSeOkyg
tdumontMon, 24 Oct 2016 07:46:28 UTCRe: Make xz a standard package ?
https://groups.google.com/d/msg/sage-devel/R9b4bm29yjM/3VohY1EgAgAJ
+1https://groups.google.com/d/topic/sage-devel/R9b4bm29yjM
Ralf StephanMon, 24 Oct 2016 06:02:26 UTCRe: Make xz a standard package ?
https://groups.google.com/d/msg/sage-devel/R9b4bm29yjM/ibjwGPwdAgAJ
+1https://groups.google.com/d/topic/sage-devel/R9b4bm29yjM
Matthias KoeppeMon, 24 Oct 2016 05:19:41 UTCRe: Troubles communicating with Sage 7.4
https://groups.google.com/d/msg/sage-devel/5GXnV4tlMXw/ykFRozEdAgAJ
Ticket #21082 - Prompting about experimental packages: `sage -i -y` is now ready for review.https://groups.google.com/d/topic/sage-devel/5GXnV4tlMXw
Matthias KoeppeMon, 24 Oct 2016 05:05:11 UTCRe: Troubles communicating with Sage 7.4
https://groups.google.com/d/msg/sage-devel/5GXnV4tlMXw/dgP1QGgaAgAJ
Apparently this is due to ... read -p "Are you sure you want to continue [Y/n]? " answer < /dev/tty > /dev/tty 2>&1 ... In my humble but strong opinion command line applications should respect standard redirection/pipes...https://groups.google.com/d/topic/sage-devel/5GXnV4tlMXw
Andrey NovoseltsevMon, 24 Oct 2016 04:14:07 UTCRe: Troubles communicating with Sage 7.4
https://groups.google.com/d/msg/sage-devel/5GXnV4tlMXw/oGBhj0gKAgAJ
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.https://groups.google.com/d/topic/sage-devel/5GXnV4tlMXw
Andrey NovoseltsevSun, 23 Oct 2016 23:18:39 UTCError installing package ecl-16.1.2.p1
https://groups.google.com/d/msg/sage-devel/_uF24leunzE/yCUKBXoJAgAJ
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 determinehttps://groups.google.com/d/topic/sage-devel/_uF24leunzE
tien...@gmail.comSun, 23 Oct 2016 23:03:52 UTCRe: Cannot run sage in postinst
https://groups.google.com/d/msg/sage-devel/ecfuneqkDEE/5ArmdRIBAgAJ
Looks like the same problem as in https://groups.google.com/d/topic/sage-devel/5GXnV4tlMXw/discussion with a fix for some situations already created. > But I can run sage in a terminal. Is it safe to remove 'running sage once > as root to set hardcoded paths' from the postinst? > > Regards, >https://groups.google.com/d/topic/sage-devel/ecfuneqkDEE
Andrey NovoseltsevSun, 23 Oct 2016 20:29:51 UTCRe: Troubles communicating with Sage 7.4
https://groups.google.com/d/msg/sage-devel/5GXnV4tlMXw/0VUqKrUAAgAJ
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 ignored.https://groups.google.com/d/topic/sage-devel/5GXnV4tlMXw
Andrey NovoseltsevSun, 23 Oct 2016 20:23:10 UTCRe: [sage-devel] Re: Notebook stuck on "N?" with a worksheet
https://groups.google.com/d/msg/sage-devel/GSlGERRFe30/sIDdwWX1AQAJ
local > machines or other (non/GCE clouds). See e.g. > https://groups.google.com/d/msg/sage-cloud/og3tmsXK-K0/snB-7v2_CgAJ Or use our official docker image https://github.com/sagemathinc/smc/blob/master/src/dev/docker/README.md Our docker image is not perfect, secure, or totally robust yet,https://groups.google.com/d/topic/sage-devel/GSlGERRFe30
WilliamSun, 23 Oct 2016 16:55:55 UTCRe: [sage-devel] trac down?
https://groups.google.com/d/msg/sage-devel/0Bj4ti5OQQM/CuuOYlH1AQAJ
On Sun, Oct 23, 2016 at 9:25 AM, Vincent Delecroix <20100.d...@gmail.com> wrote: > On 23 October 2016 at 18:14, William Stein <wst...@gmail.com> wrote: >> >> >> On Sunday, October 23, 2016, Vincent Delecroix <20100.d...@gmail.com> >> wrote: >>> >>> Hello, >>> >>> I am not able to see trachttps://groups.google.com/d/topic/sage-devel/0Bj4ti5OQQM
WilliamSun, 23 Oct 2016 16:54:27 UTCRe: [sage-devel] trac down?
https://groups.google.com/d/msg/sage-devel/0Bj4ti5OQQM/0EW3_MDzAQAJ
Thanks for your answer. It went off for a minute but I am able to use it again. Did you check the uptime?https://groups.google.com/d/topic/sage-devel/0Bj4ti5OQQM
vdelecroixSun, 23 Oct 2016 16:25:47 UTCRe: [sage-devel] relevant method name for Zmod(n)(p/q).lift()
https://groups.google.com/d/msg/sage-devel/lQI5aQk-wgs/2krwlqjzAQAJ
Yes. This is the point. Sage started to fork Python behaviour when implementing the operator %. We want to reverse it for compatibility and consistency. Note that Sage behavior is also wrong with respect to the tilde ~. Sage uses it as unary inverse but in Python it stands for bitcomplement.https://groups.google.com/d/topic/sage-devel/lQI5aQk-wgs
vdelecroixSun, 23 Oct 2016 16:24:03 UTCRe: [sage-devel] trac down?
https://groups.google.com/d/msg/sage-devel/0Bj4ti5OQQM/zZALvSPzAQAJ
On Sunday, October 23, 2016, Vincent Delecroix <20100.d...@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.197.1https://groups.google.com/d/topic/sage-devel/0Bj4ti5OQQM
WilliamSun, 23 Oct 2016 16:14:32 UTCRe: [sage-devel] relevant method name for Zmod(n)(p/q).lift()
https://groups.google.com/d/msg/sage-devel/lQI5aQk-wgs/XFl2ABvzAQAJ
On 23 October 2016 at 16:45, Vincent Delecroix <20100.d...@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 somethinghttps://groups.google.com/d/topic/sage-devel/lQI5aQk-wgs
John CremonaSun, 23 Oct 2016 16:13:55 UTCRe: [sage-devel] relevant method name for Zmod(n)(p/q).lift()
https://groups.google.com/d/msg/sage-devel/lQI5aQk-wgs/i8FX4wjzAQAJ
On 23 October 2016 at 18:06, Vincent Delecroix <20100.d...@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,https://groups.google.com/d/topic/sage-devel/lQI5aQk-wgs
vdelecroixSun, 23 Oct 2016 16:12:37 UTCRe: [sage-devel] relevant method name for Zmod(n)(p/q).lift()
https://groups.google.com/d/msg/sage-devel/lQI5aQk-wgs/Fbd68a7yAQAJ
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...https://groups.google.com/d/topic/sage-devel/lQI5aQk-wgs
vdelecroixSun, 23 Oct 2016 16:06:10 UTCRe: [sage-devel] relevant method name for Zmod(n)(p/q).lift()
https://groups.google.com/d/msg/sage-devel/lQI5aQk-wgs/m0i8lJDxAQAJ
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.googlhttps://groups.google.com/d/topic/sage-devel/lQI5aQk-wgs
vdelecroixSun, 23 Oct 2016 15:45:41 UTCRe: [sage-devel] relevant method name for Zmod(n)(p/q).lift()
https://groups.google.com/d/msg/sage-devel/lQI5aQk-wgs/wvQdUVLxAQAJ
being >> 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)? >> >> >> The very same behavior as with the two implementation I proposed. Inhttps://groups.google.com/d/topic/sage-devel/lQI5aQk-wgs
vdelecroixSun, 23 Oct 2016 15:41:13 UTCRe: [sage-devel] relevant method name for Zmod(n)(p/q).lift()
https://groups.google.com/d/msg/sage-devel/lQI5aQk-wgs/_B4PotzwAQAJ
OK > > However, concerning this thread, my question is about r%n with r=p/q being > 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)? > >https://groups.google.com/d/topic/sage-devel/lQI5aQk-wgs
John CremonaSun, 23 Oct 2016 15:32:48 UTCMake xz a standard package ?
https://groups.google.com/d/msg/sage-devel/R9b4bm29yjM/t_O4hujvAQAJ
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). Using xz to solve the latter implies to make zx a standard package. As pointed out by T.https://groups.google.com/d/topic/sage-devel/R9b4bm29yjM
Emmanuel CharpentierSun, 23 Oct 2016 15:15:19 UTCtrac down?
https://groups.google.com/d/msg/sage-devel/0Bj4ti5OQQM/thw7kJfvAQAJ
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, 0https://groups.google.com/d/topic/sage-devel/0Bj4ti5OQQM
vdelecroixSun, 23 Oct 2016 15:09:31 UTCRe: [sage-devel] relevant method name for Zmod(n)(p/q).lift()
https://groups.google.com/d/msg/sage-devel/lQI5aQk-wgs/St9rjl7tAQAJ
The ticket also cares about the case where n is rational. Moreover my proposed branch makes % part of the coercion system (when one of the argument is rational). So standard coercion rules apply. However, concerning this thread, my question is about r%n with r=p/q being rational. Questions: >https://groups.google.com/d/topic/sage-devel/lQI5aQk-wgs
vdelecroixSun, 23 Oct 2016 14:28:48 UTCRe: [sage-devel] relevant method name for Zmod(n)(p/q).lift()
https://groups.google.com/d/msg/sage-devel/lQI5aQk-wgs/bLpznOnsAQAJ
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 outputhttps://groups.google.com/d/topic/sage-devel/lQI5aQk-wgs
John CremonaSun, 23 Oct 2016 14:20:25 UTCrelevant method name for Zmod(n)(p/q).lift()
https://groups.google.com/d/msg/sage-devel/lQI5aQk-wgs/GBmCkZHsAQAJ
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 somethinghttps://groups.google.com/d/topic/sage-devel/lQI5aQk-wgs
vdelecroixSun, 23 Oct 2016 14:14:07 UTC