[sage-devel] Re: embedding sage in c or c++

2018-09-28 Thread Simon King
Hi Abhishek, On 2018-09-29, Abhishek Kesarwani <1907a...@gmail.com> wrote: > > No, I am getting this error: > sage --python > Traceback (most recent call last): > File "", line 1, in > NameError: name 'sage' is not defined "sage --python" is the command that you should use on the command

Re: [sage-devel] Re: embedding sage in c or c++

2018-09-28 Thread Abhishek Kesarwani
No, I am getting this error: >>> sage --python Traceback (most recent call last): File "", line 1, in NameError: name 'sage' is not defined On Friday, September 28, 2018 at 11:36:42 PM UTC+5:30, Dima Pasechnik wrote: > > > > On Fri, 28 Sep 2018, 18:36 Abhishek Kesarwani, <1907...@gmail.com

Re: [sage-devel] Sage + NumFOCUS

2018-09-28 Thread kcrisman
You should also feel free to reach out to Andy Terrel or Leah Silen at > NumFOCUS. I gave them a heads-up about this conversation as well. > > Thanks, > > Jason > >> >> Great! Erik, also note Harald's post at https://groups.google.com/d/msg/sage-devel/sGFOYBeEq-Q/UGrZfdV-AQAJ which should pr

Re: [sage-devel] sage foundation ???

2018-09-28 Thread Harald Schilly
On Monday, September 24, 2018 at 3:12:12 PM UTC+2, kcrisman wrote: > > Certainly R and probably other similar mathematical FLOSS does have > foundations... > I just came across this thread. Many years ago I had the idea to setup an european "sage foundation" similar to the one of R. My main t

Re: [sage-devel] Sage + NumFOCUS

2018-09-28 Thread Jason Grout
You should also feel free to reach out to Andy Terrel or Leah Silen at NumFOCUS. I gave them a heads-up about this conversation as well. Thanks, Jason On Fri, Sep 28, 2018 at 9:17 AM Dima Pasechnik wrote: > On Fri, Sep 28, 2018 at 4:11 PM Erik Bray wrote: > > > > Hi folks, > > > > The topic

Re: [sage-devel] Re: embedding sage in c or c++

2018-09-28 Thread Dima Pasechnik
On Fri, 28 Sep 2018, 18:36 Abhishek Kesarwani, <1907a...@gmail.com> wrote: > Thank you, sir, for replying. I tried to run it again after Installing > Sage python2, it gives the following error. > What version of Sagemath have you installed? Are you able to start Python by running sage --python

Re: [sage-devel] Re: embedding sage in c or c++

2018-09-28 Thread Abhishek Kesarwani
Thank you, sir, for replying. I tried to run it again after Installing Sage python2, it gives the following error. 1+1000: 1001 Load sage Traceback (most recent call last): File "", line 1, in ImportError: No module named all abc@Math-Sans:~/Do

Re: [sage-devel] Sage + NumFOCUS

2018-09-28 Thread Dima Pasechnik
On Fri, Sep 28, 2018 at 4:11 PM Erik Bray wrote: > > Hi folks, > > The topic of Sage joining the NumFOCUS [1] organization was raised in > the recent thread [2] about the SageMath Foundation. When I first > started working on Sage I was frankly surprised that it wasn't already > affiliated with N

[sage-devel] Sage + NumFOCUS

2018-09-28 Thread Erik Bray
Hi folks, The topic of Sage joining the NumFOCUS [1] organization was raised in the recent thread [2] about the SageMath Foundation. When I first started working on Sage I was frankly surprised that it wasn't already affiliated with NumFOCUS, along with many other projects on which Sage is built

Re: [sage-devel] Can't pull from develop branch.

2018-09-28 Thread Erik Bray
Yes, I think you're right. I deleted the problematic branch from that repository and restarted the mirroring so we'll see. GitLab even reported "Invalid reference name" as the relevant error. Well, hopefully I won't make that mistake again! On Fri, Sep 28, 2018 at 2:49 PM Dima Pasechnik wrote:

Re: [sage-devel] Can't pull from develop branch.

2018-09-28 Thread Dima Pasechnik
By the way, I would not be surprised if the mirror https://gitlab.com/sagemath/dev/trac failed to update due to the same problem on git.sagemath.org Read-only mirror of all the branches that are on trac.sagemath.org Project ID: 6249490 Mirrored from git://git.sagemath.org/sage.git. The reposito

[sage-devel] Re: Problem with macOS .dmg image for Sage 8.3

2018-09-28 Thread kcrisman
On Thursday, September 27, 2018 at 6:03:58 AM UTC-4, Erik Bray wrote: > > At least three people have reported the same problem, just FYI. > Perhaps something went wrong with building the .dmg. I don't know how > to fix it (I don't know anything about dmgs): > Perhaps something interrupted th

Re: [sage-devel] Possible bug involving discriminants of polynomials of degree 7

2018-09-28 Thread John Cremona
David is right. In Magma, when you ask for the discriminant of a number field you get the discriminant of its defining poynomial which is a multiple of the field discriminant. You have to ask for the discriminant of its ring of integers: > R := PolynomialRing(Rationals()); > L := NumberField(x^7

Re: [sage-devel] Possible bug involving discriminants of polynomials of degree 7

2018-09-28 Thread David Roe
This looks like a discrepancy between the discriminant of the polynomial and the discriminant of the number field (which should be the discriminant of the maximal order). Sure enough: sage: O = L.maximal_order() sage: O.discriminant().factor() 2^6 * 691^2 sage: O.basis() [4/7*a^6 + 6/7*a^5 + 5/7*

[sage-devel] Possible bug involving discriminants of polynomials of degree 7

2018-09-28 Thread Harry Smit
The following computations were done on cocalc.com, version'SageMath version 8.3, Release Date: 2018-08-03' There seems to be a disagreement with Sage and Magma over the discriminant of the number field defined by adjoining a root of the following polynomial to Q: x^7 - x^5 - 2*x^4 - 2*x^3 + 2