Re: [sage-support] Errors building Sage 10.3 in Sonoma 14.3.1

2024-03-27 Thread John H Palmieri
I'm having the same problem (I think) with Sage 10.4.beta0 on two different Apple Silicon machines. On Wednesday, March 27, 2024 at 9:58:10 AM UTC-7 Dima Pasechnik wrote: > I've cut out the interesting part of the log. > It's a linker error (IMHO the linking should be done with C++, not > with

Re: [sage-support] Re: sage 10.3.b2 build problem on OSX 12.7.1

2023-12-16 Thread John H Palmieri
1f40eb5b0115e1d3a429765e0f43743b79e871352bb8e0c95952> > from https://www.piwheels.org/project/flit-core/ to > local/var/lib/sage/venv-python3.9/var/lib/sage/wheels. Then compiling sage > works and flit_core-3.9.0 is installed. > > - Heiko > > David Joyner schrieb am

[sage-support] Re: sage 10.3.b2 build problem on OSX 12.7.1

2023-12-15 Thread John H Palmieri
In sage-release, Matthias pointed to missing dependencies for editables, fixed in https://github.com/sagemath/sage/pull/36885. Maybe you can just do "make flit_core" (to build the missing dependency) and then "make". On Friday, December 15, 2023 at 10:52:10 AM UTC-8 David Joyner wrote: > Hi:

[sage-support] Re: Problems viewing crystals from sage

2023-12-12 Thread John H Palmieri
to add a comment on the ticket? > > Andrew > > > On Wednesday 13 December 2023 at 12:30:03 pm UTC+11 John H Palmieri wrote: > >> Could this be related to https://github.com/sagemath/sage/pull/36529? >> >> >> On Tuesday, December 12, 2023 at 3:50:55 PM UT

[sage-support] Re: Problems viewing crystals from sage

2023-12-12 Thread John H Palmieri
Could this be related to https://github.com/sagemath/sage/pull/36529? On Tuesday, December 12, 2023 at 3:50:55 PM UTC-8 Andrew wrote: > Playing around with this a little more, I think that this is a bug/timing > issue in sage.misc.latex.py (or in subprocess.run, or a mac oddity since > it

[sage-support] Re: Integral result differ from Wolfram|Alpha

2023-11-13 Thread John H Palmieri
Isn't log(log(x)^2) = 2 * log(log(x))? Is this your concern, or is it the absolute value? On Monday, November 13, 2023 at 1:32:11 PM UTC-8 Bùi Gia Nghĩa wrote: > Hi! > I have used Sage Cell Server to integrate the function (ln(x)^2 - 1) / (x > * ln(x)). It should resulted in (ln(x)^2) / 2 -

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread John H Palmieri
On Mon, Oct 30, 2023 at 9:02 PM Dima Pasechnik wrote: > > > > > > > > On Mon, 30 Oct 2023, 20:50 Dima Pasechnik, wrote: > >> > >> > >> > >> On Mon, 30 Oct 2023, 20:25 John H Palmieri, > wrote: > >>> >

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread John H Palmieri
On Monday, October 30, 2023 at 12:28:18 PM UTC-7 Dima Pasechnik wrote: On Mon, Oct 30, 2023 at 5:04 PM John H Palmieri wrote: > > Are endomorphisms better to work with? I might be able to extend my map to an endomorphism of the larger ring, if that would make the computation

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread John H Palmieri
t; h30 |--> h20*xi1^4 + h21*xi1 + h30 > h31 |--> h21*xi1^8 + h31 > > one can split the problem into cases > 1) xi1=0 > 2) h21=h20=0 > (but perhaps it's only specific to this particular example) > > > > > On Monday, October 30, 2023 at 6:08:16 PM UTC+9 Dima

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread John H Palmieri
gt; 1) xi1=0 > 2) h21=h20=0 > (but perhaps it's only specific to this particular example) > > > > > On Monday, October 30, 2023 at 6:08:16 PM UTC+9 Dima Pasechnik wrote: > >> > >> > >> > >> On Mon, 30 Oct 2023, 05:57 John H Palmieri, >

[sage-support] Computing the kernel of a map between polynomial algebras

2023-10-29 Thread John H Palmieri
Does anyone have any tips for how to compute the kernel of a map between polynomial algebras, or for checking whether the map is injective? I have families of such maps involving algebras with many generators. I'm working over GF(2), if that matters. In one example I defined the map phi: R -> S

Re: [sage-support] Re: Canonical divisor help

2023-10-28 Thread John H Palmieri
Nils, thanks to you, too, for your responses. On Saturday, October 28, 2023 at 11:16:39 AM UTC-7 Nils Bruin wrote: > On Saturday, 28 October 2023 at 05:39:26 UTC-7 Kwankyu wrote: > > I looked the Magma code in ask.sagemath. There's no problem in computing a > canonical divisor for the curve

Re: [sage-support] Re: Canonical divisor help

2023-10-28 Thread John H Palmieri
hink, the gist of the matter is to >>> convert an element of the function field to a rational function of the >>> coordinate ring of P2. I have no idea how to do this now... Once you >>> construct the morphism, Sage can also compute the image of the morphism >>

Re: [sage-support] Re: Canonical divisor help

2023-10-27 Thread John H Palmieri
(or by Baker's theorem in cases where it applies). For > this curve the canonical class is of degree -2, so there are no effective > representatives in this case. > > > > On Friday, 27 October 2023 at 15:14:00 UTC-7 John H Palmieri wrote: > >> > >> If anyone here

[sage-support] Canonical divisor help

2023-10-27 Thread John H Palmieri
If anyone here knows anything about canonical divisors and their implementation in Sage, please see https://ask.sagemath.org/question/74034/converting-algebraic-geometry-magmas-code-to-sage/. The setup: sage: P2. = ProjectiveSpace(QQ, 2) sage: f = 2*x^5 - 4*x^3*y*z + x^2*y*z^2 + 2*x*y^3*z +

[sage-support] Re: How to define module multiplication?

2023-09-20 Thread John H Palmieri
e function field. You > may consult the code there. > > On Wednesday, September 20, 2023 at 6:08:15 PM UTC+9 Kwankyu wrote: > >> Is you element in the cohomology ring an instance of ModuleElement? >> >> On Wednesday, September 20, 2023 at 8:34:05 AM UTC+9 John H P

[sage-support] How to define module multiplication?

2023-09-19 Thread John H Palmieri
The mod 2 cohomology of a simplicial complex has the structure of a module over the mod 2 Steenrod algebra. I would like to be able to do this in Sage: sage: x = (some element in a cohomology ring) sage: a = (some element of SteenrodAlgebra(2)) sage: a * x I have tried telling Sage

Re: [sage-support] what am I missing?

2023-04-13 Thread John H Palmieri
This looks like the issue reported at https://github.com/sagemath/sage/issues/34233. -- John On Thursday, April 13, 2023 at 2:13:44 PM UTC-7 Fernando Gouvea wrote: > That seems right. Plotting x^6/(1-x)^7 shows the error, but x^5/(1-x)^6 > does not. And > > .9^6/.1^7 = 5.314411e6 >

Re: [sage-support] Testing forked branches

2023-04-08 Thread John H Palmieri
I have found the instructions at https://github.com/sagemath/trac-to-github/blob/master/docs/Migration-Trac-to-Github.md useful for me, as someone used to the old trac interface. On Saturday, April 8, 2023 at 1:23:06 PM UTC-7 G. M.-S. wrote: > > Thanks Dima and Drew. > > I had the very same

[sage-support] Re: Error building 9.8 on Ubuntu 23.04

2023-04-07 Thread John H Palmieri
Some recent versions of Singular don't seem to work with Sage. You could try "make distclean" (to start over) and "./configure --with-system-singular=no" to force Sage to build its own Singular. Then "make". On Friday, April 7, 2023 at 2:22:20 PM UTC-7 Eric Majzoub wrote: > Following the

Re: [sage-support] How to use Gap interface for permutation groups?

2023-04-04 Thread John H Palmieri
In lengthy code, you could start with a line like OnSets = libgap.OnSets and then in the rest of the code, you could do `g.Stabilizer([1,2], OnSets)`. That is, predefine whatever you want from libgap, giving each item a meaningful name, and then use that name in the rest of the code. On

Re: [sage-support] computig all possible determinants of submatrices of a given matrix

2023-03-21 Thread John H Palmieri
>From the ask.sagemath.org answers: [m.minors(k) for k in range(5)] is pretty close to what you want: you just have to flatten the list. On Monday, March 20, 2023 at 3:09:07 PM UTC-7 William Stein wrote: > This is > > >

Re: [sage-support] Equivalent System Packages command for homebrew?

2023-03-14 Thread John H Palmieri
See also the installation manual: https://doc.sagemath.org/html/en/installation/source.html#macos-package-installation. On Tuesday, March 14, 2023 at 3:45:17 AM UTC-7 Dima Pasechnik wrote: > Assuming you are on macOS with homebrew installed, get Sage source and run > ./bootstrap > > and then >

Re: [sage-support] sagemathlib only building single-threaded

2023-02-12 Thread John H Palmieri
I have been setting MAKE and MAKEFLAGS for a long time, and I have not seen any difference in the behavior of "make build". If I unset MAKE and MAKEFLAGS, then it takes longer to build sagelib, as it should. On Saturday, February 11, 2023 at 11:44:43 AM UTC-8 Nils Bruin wrote: > On Saturday,

Re: [sage-support] Sagemath binary is old and fails to install properly on Ubuntu 20.04.5 LTS

2023-02-08 Thread John H Palmieri
For what it's worth, every now and then I create a virtual linux machine and build Sage from source using the instructions in the installation guide, including installing the recommended prerequisite software. It typically goes smoothly, and it's definitely worth trying on Ubuntu. (I've done

[sage-support] Re: mathematica_console() command not working

2023-01-20 Thread John H Palmieri
All of the *_console commands should be fixed by ticket #34547. On Thursday, January 19, 2023 at 11:45:59 PM UTC-8 trevor...@gmail.com wrote: > Something similar seems to happen with `gap_console()` and `gap.console()`. > > On Thursday, January 19, 2023 at 5:22:23 PM UTC-6 John H

[sage-support] Re: mathematica_console() command not working

2023-01-19 Thread John H Palmieri
"mathematica_console()" is available (or at least it should be) when using Sage from the command-line but not from the notebook. There was a bug, now fixed in https://trac.sagemath.org/ticket/34547, that meant that this command was not available when it should have been. On Thursday, January

[sage-support] Re: Cannot build 9.7 on Debian Sid

2023-01-13 Thread John H Palmieri
It may be (as pointed out on a similar thread in the group sage-devel) that some of the Debian packages have versions that are too new to be used with Sage. You could tell Sage to build its own Python, its own Gap, perhaps its own Singular (if the system one is causing problems): ./configure

[sage-support] Re: Matrix_generic_dense.det() is quite slow compared to Numpy

2023-01-08 Thread John H Palmieri
any space to improve the computation of MPFR which is used by > RealField? > > John H Palmieri 在 2023年1月6日 星期五凌晨3:01:37 [UTC+8] 的信中寫道: > >> One way to speed it up might be to work with RDF or QQ or RLF. The >> documentation for the generic determinant method says, "Note

[sage-support] Re: Matrix_generic_dense.det() is quite slow compared to Numpy

2023-01-05 Thread John H Palmieri
One way to speed it up might be to work with RDF or QQ or RLF. The documentation for the generic determinant method says, "Note that for matrices over most rings, more sophisticated algorithms can be used." sage: %time ones_matrix(RDF, 600, 600).determinant() CPU times: user 78.6 ms, sys: 7.6

[sage-support] Re: Sage 9.8 build error

2023-01-04 Thread John H Palmieri
ill unable to proceed. Any idea how > to fix the issue? I have attached logs, config.log, and a text file with > the 4 packages with errors. > > Thank you! > Alex > > On Wednesday, January 4, 2023 at 11:35:39 AM UTC-8 John H Palmieri wrote: > >> Many of the errors are discus

[sage-support] Re: Sage 9.8 build error

2023-01-04 Thread John H Palmieri
Maybe you also need to do "make flit_core" before "make typing_extension". On Wednesday, January 4, 2023 at 11:35:39 AM UTC-8 John H Palmieri wrote: > Many of the errors are discussed at https://trac.sagemath.org/ticket/34838. > You can probably avoid those by runni

[sage-support] Re: Sage 9.8 build error

2023-01-04 Thread John H Palmieri
Many of the errors are discussed at https://trac.sagemath.org/ticket/34838. You can probably avoid those by running "make typing_extensions" before running "make". The most recent error seems to be for sagelib: ld: library not found for -lopenblas I assume that you followed the directions

Re: [sage-support] Re: Listing elements of a finite ring.

2022-11-20 Thread John H Palmieri
You can also do `list(S)`, or depending on what you're doing it might be better to iterate over its elements, as Emmanuel wrote: `for u in S...` On Sunday, November 20, 2022 at 8:54:25 AM UTC-8 gauri...@gmail.com wrote: > Oh wow! That was easy! > > Thanks so much! > G > > On Sun, Nov 20,

Re: [sage-support] Subalgebra membership in a polynomial algebra

2022-09-06 Thread John H Palmieri
Thanks, Dima, that's helpful. I will open a ticket; I hope this will be an easy thing for people familiar with the Singular interfaces. -- John On Tuesday, September 6, 2022 at 3:31:08 PM UTC-7 dim...@gmail.com wrote: > On Tue, Sep 6, 2022 at 10:32 PM John H Palmieri > wrote: > &g

[sage-support] Subalgebra membership in a polynomial algebra

2022-09-06 Thread John H Palmieri
Let R = k[x_1, x_2, ..., x_n] be a polynomial ring over a field k of characteristic p. Given elements a_1, a_2, ..., a_m and b in R, I would like to know if b is in the subalgebra generated by a_1, ..., a_m.My impression from a superficial skim of the literature (Shannon and Sweedler,

Re: [sage-support] Re: PATH in OS X Jupyter notebook

2022-08-29 Thread John H Palmieri
r necessary, as you did. >> >> I don't see any value in working hard to try to arrange that every >> possible thing can be done without ever using a terminal. There is nothing >> wrong with using a terminal. There are many tasks for which a terminal is >> the optima

Re: [sage-support] Compute equalizer of maps between polynomial rings?

2022-08-25 Thread John H Palmieri
e help to consider the kernel of f-Id (with Id the > identity map)? > Best, > Pedro > > El El jue, 25 ago 2022 a las 8:22, Dima Pasechnik > escribió: > >> >> >> On Thu, 25 Aug 2022, 00:38 John H Palmieri, wrote: >> >>> I have a polynomial r

Re: [sage-support] Compute equalizer of maps between polynomial rings?

2022-08-25 Thread John H Palmieri
Good question, and I don't whether the subring is finitely generated. I want to compute examples — what's the subring in a range of degrees — to see what's going on. On Wednesday, August 24, 2022 at 11:22:31 PM UTC-7 dim...@gmail.com wrote: > > > On Thu, 25 Aug 2022, 00:38 John H

[sage-support] Compute equalizer of maps between polynomial rings?

2022-08-24 Thread John H Palmieri
I have a polynomial ring R = k[x1, x2, ..., xn] and a ring homomorphism f: R -> R. In case it matters, k=GF(2). I would like to find the subring of elements x satisfying f(x) = x: that is, I want to find the equalizer of the pair of maps (f, 1). Is there anything in Sage that will compute this?

[sage-support] Re: Find the matrix representations corresponding to complex numbers and quaternions.

2022-07-01 Thread John H Palmieri
Is this the sort of thing you're looking for? def matrix_rep(z): """ INPUT: complex number z = a + bi OUTPUT: the matrix [a -b] [b a] """ a = z.real_part() b = z.imag_part() return matrix(RR, [[a, -b], [b, a]]) On Friday, July 1, 2022 at 3:04:40 AM

[sage-support] Re: "Inappropriate ioctl for device" when displaying number in Jupyter notebook

2022-06-30 Thread John H Palmieri
This might be fixed by the change at https://trac.sagemath.org/ticket/33996. That will presumably be merged in the next beta release, since the ticket was just closed two days ago. On Thursday, June 30, 2022 at 11:30:11 AM UTC-7 Richard Stanton wrote: > I've just installed Sagemath 9.6

[sage-support] Re: PATH in OS X Jupyter notebook

2022-06-24 Thread John H Palmieri
ould actually want to use > such a feature. Adding features that almost no one needs is not my idea of > a good design approach. > > What do the two of you think? > > - Marc > > On Friday, June 24, 2022 at 2:08:17 PM UTC-5 John H Palmieri wrote: > >> Hi Samuel, &

[sage-support] Re: PATH in OS X Jupyter notebook

2022-06-24 Thread John H Palmieri
Your pointer on how to include this into IPython config files works, as long as the lines are in quotes: c.InteractiveShellApp.exec_lines = [ 'import os; os.environ["PATH"] += ":/usr/local/bin" '] On Friday, June 24, 2022 at 10:09:39 AM UTC-7 slelievre wrote: &g

[sage-support] PATH in OS X Jupyter notebook

2022-06-22 Thread John H Palmieri
How do I set the PATH in the OS X Jupyter notebook, if I'm using the 3-manifolds binary app? I mean, I know how to do it in an individual notebook, but how do I set the default PATH for every notebook? For example, how do I add /usr/local/bin so that it's in the PATH every time I open a new

Re: [sage-support] Re: Crystals won't view in jupiter notebook

2022-06-04 Thread John H Palmieri
ch displays; although it's not horribly happy :) (But latex is seldom > 'horribly happy' in my experience) > -- > > > On 6/4/22 12:37, John H Palmieri wrote: > > For any Sage object, the code for "view" first constructs a LaTeX version > and then runs pdflatex (o

Re: [sage-support] Re: Crystals won't view in jupiter notebook

2022-06-04 Thread John H Palmieri
though there is a Latex (digraph ?) error > Try > - > %%latex > > > B = crystals.Tableaux(['A',2], shape=[2,1]) > G = B.digraph() > > view(G) > print(B) > print(G) > -- > > Gives inpage; and nothing else > --B = crystals.Tableaux(['A',2], shape=[2,1]

Re: [sage-support] Re: Crystals won't view in jupiter notebook

2022-06-03 Thread John H Palmieri
Palmieri wrote: > I've opened https://trac.sagemath.org/ticket/33947 to trac this problem. > > On Thursday, June 2, 2022 at 3:30:49 PM UTC-7 John H Palmieri wrote: > >> For me, `show(G)` works, but not `view(G)`. `show(G)` does not use LaTeX, >> and the problem is the LaTe

Re: [sage-support] Re: Crystals won't view in jupiter notebook

2022-06-02 Thread John H Palmieri
I've opened https://trac.sagemath.org/ticket/33947 to trac this problem. On Thursday, June 2, 2022 at 3:30:49 PM UTC-7 John H Palmieri wrote: > For me, `show(G)` works, but not `view(G)`. `show(G)` does not use LaTeX, > and the problem is the LaTeX code produced by `view(G)`. You can al

Re: [sage-support] Re: Crystals won't view in jupiter notebook

2022-06-02 Thread John H Palmieri
> popped, you can save it where you want; manually. > > I am sure that > https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/generic_graph.html > has the key to saving the .PDF programmatically where you want; but I am > going cross-eyed. > > rrogers > On 6/2/22 1

Re: [sage-support] Re: Crystals won't view in jupiter notebook

2022-06-02 Thread John H Palmieri
It's bad LaTeX, but I'm not sure what's producing it. If you run "view(crystals.Tableaux("A3",shape=[2,1]), debug=True)", then it will first print the LaTeX code, and if you paste that into a file, it will fail to compile. On Thursday, June 2, 2022 at 6:42:51 AM UTC-7 HG wrote: > Some time

[sage-support] Re: OS X 12.3 intel: scipy fails to build

2022-03-17 Thread John H Palmieri
install -U pythran" or > "./sage -pip install -U git+https://github.com/serge-sans-paille/pythran; > fixes this issue > > On Thursday, March 17, 2022 at 2:01:49 PM UTC-7 John H Palmieri wrote: > >> Since upgrading to OS X 12.3 a few days ago, along with the corresponding &g

Re: [sage-support] Re: Basic Stats deprecated?

2022-02-28 Thread John H Palmieri
Should there be a small list of functions which we import automatically? For example in sage.all we could do: "from numpy import mean, median". It seems strange to not have a top-level "mean" or "median" function, given all of the other esoteric top-level functions. On Friday, February 25,

[sage-support] Re: Tensor Multiprocessing broken. SageMath 9.5 on Apple Mac OSX 12.1 . SageMath-9.5_x86_64

2022-01-25 Thread John H Palmieri
Are you using OS X? Could this possibly be due to how Python handles multiprocessing on OS X vs. other platforms? (See https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods, in particular the comment "On macOS, the *spawn* start method is now the default" and

[sage-support] Re: LatexExpr

2021-11-29 Thread John H Palmieri
Or if you need single and double quotes, delimit the string with """ or ''' (three double-quotes or three single-quotes): r"""here is "some" 'text' """ On Monday, November 29, 2021 at 11:07:21 AM UTC-8 slelievre wrote: > 2021-11-29 18:05:58 UTC+1, Cyrille Piatecki: > > > > I often use

Re: [sage-support] Using SageMath app online and saving worksheets?

2021-11-10 Thread John H Palmieri
The default behavior, at least if you start Sage from a terminal window with "sage -n", is to store the notebooks in the current directory. If you want to change this, then: after you download Sage, from a terminal you should run "sage --jupyter notebook --generate-config". This will print a

Re: [sage-support] Re: trouble displaying 3D graphics

2021-11-09 Thread John H Palmieri
Is there a way for users to redefine SAGE_TMP (without editing Sage source code) so that these graphics files would be produced elsewhere? On Tuesday, November 9, 2021 at 4:06:34 AM UTC-8 dim...@gmail.com wrote: > Right, one can see more of these "Chromium cannot open hidden >

[sage-support] Re: Sage 9.4_20.04 Ubuntu: error relocate-once.py

2021-09-03 Thread John H Palmieri
Also addressed in https://github.com/sagemath/binary-pkg/pull/29 On Friday, September 3, 2021 at 10:15:02 AM UTC-7 Matthias Koeppe wrote: > Thanks, I've noted this in > https://wiki.sagemath.org/ReleaseTours/sage-9.4#Availability_as_binaries_and_in_distributions > > On Friday, September 3,

Re: [sage-support] Other mailing lists

2021-08-24 Thread John H Palmieri
I believe that most of the traffic these days is on sage-support and sage-devel, rather than the more specialized groups. Feel free to post questions about Sage's algebra capabilities here. On Monday, August 23, 2021 at 8:03:33 PM UTC-7 H wrote: > On August 23, 2021 7:18:16 PM EDT, David

[sage-support] Re: loading large file

2021-04-02 Thread John H Palmieri
Another option might have been to preparse separately (using "sage -preparse matp11n2.sage" at the shell prompt) and then load the resulting Python file. John On Friday, April 2, 2021 at 12:02:38 PM UTC-7 Luis Finotti wrote: > The solution I found was to increase the recursion limit: I did

[sage-support] Re: Cannot install Sage 9.2 on macOS 10.15.7 Catalina

2021-03-28 Thread John H Palmieri
What happens if you install into another location, for example the Desktop? On Sunday, March 28, 2021 at 9:26:28 AM UTC-7 Anscari wrote: > I installed the app you suggested but when I open jupyter I find too many > bugs. I am not even able to access the jupyter folder created using > previous

Re: [sage-support] Re: Install of sage on macOS

2020-12-23 Thread John H Palmieri
The short answer is that Sage is designed for (among others) research mathematicians, who may not have the interest or inclination to learn how to install lots of system packages. So from the beginning it included as many components as possible. Years ago the presence of MacPorts and other

[sage-support] Re: The pip ssl mess on Mac OS X: ways forwards

2020-11-22 Thread John H Palmieri
Is it possible to create a binary distribution that relies on a system Python 3? Those may already be built with ssl support. On Sunday, November 22, 2020 at 11:24:45 AM UTC-8 watso...@gmail.com wrote: > > Right now pip doesn't work in the binary distributions due to the absence > of the ssl

Re: [sage-support] The best practices for using SageNB in SagaMath 9.1?

2020-11-18 Thread John H Palmieri
I was hoping that it might be missing dependencies when building sagenb, but when I tried this, it didn't help. Maybe something this will work: ./configure --with-python=2 --enable-sagenb=yes --enable-flask_autoindex=yes --enable-flask_babel=yes --enable-flask=yes

Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread John H Palmieri
;>>>> >>>>>> >>>>>> Thank you for helping me. >>>>>> >>>>>> I followed the instructions at the end of ./configure output (brew >>>>>> install ...) >>>>>> >>>>>> I get l

Re: [sage-support] SageMath-9.2 does not start with Jupyter on macOS 10.15.7

2020-11-04 Thread John H Palmieri
On Tuesday, November 3, 2020 at 11:30:54 PM UTC-8, Dima Pasechnik wrote: > > As far as building from source is concerned, I'd recommend using > Homebrew, instead of trying > to build most packages from scratch (as it is the case if you don't use > it). > Please pay attention that you need to

[sage-support] Re: persistent homology?

2020-10-15 Thread John H Palmieri
No, I do not believe so. On Thursday, October 15, 2020 at 10:22:36 AM UTC-7, Linden Disney wrote: > > I am just starting a project involving persistent homology, did anything > end up happening with this? > > On Wednesday, September 13, 2017 at 1:55:30 AM UTC+1 slelievre wrote: > >> Tue

Re: [sage-support] Re: problem compiling sage-9.2.rc0 on big sur, xcode 12.01

2020-10-07 Thread John H Palmieri
. On Wednesday, October 7, 2020 at 12:55:50 PM UTC-7, David Joyner wrote: > > > > On Wed, Oct 7, 2020 at 1:06 PM John H Palmieri > wrote: > >> Building Sage on Big Sur is being tracked at >> https://trac.sagemath.org/ticket/30651; see also >> https://trac.sagemath.or

[sage-support] Re: problem compiling sage-9.2.rc0 on big sur, xcode 12.01

2020-10-07 Thread John H Palmieri
Building Sage on Big Sur is being tracked at https://trac.sagemath.org/ticket/30651; see also https://trac.sagemath.org/ticket/30494. Do you have homebrew installed, and if so, which packages? You could try forcing Sage to build its own zlib, for example, to try to get Sage's Python to find

Re: [sage-support] compiling fails with 'boost/preprocessor/cat.hpp' file not found

2020-09-04 Thread John H Palmieri
On Friday, September 4, 2020 at 9:23:30 AM UTC-7, Dima Pasechnik wrote: > > On Fri, Sep 4, 2020 at 4:31 PM John H Palmieri > wrote: > > > > > > > > On Friday, September 4, 2020 at 7:14:24 AM UTC-7, Dima Pasechnik wrote: > >> > >> > &g

Re: [sage-support] compiling fails with 'boost/preprocessor/cat.hpp' file not found

2020-09-04 Thread John H Palmieri
On Friday, September 4, 2020 at 7:14:24 AM UTC-7, Dima Pasechnik wrote: > > > > On Fri, Sep 4, 2020 at 12:55 PM Szabolcs Horvát > wrote: > > > Thanks for the response. I do have boost installed in > /opt/local/include, through MacPorts, but I remove MacPorts from the PATH > before building

Re: [sage-support] compile problem for sage 9.2.b9 on mac 11.0 big sur

2020-09-02 Thread John H Palmieri
indicate that the configure script is confused about cross compiling > to a different architecture. > > > On Tuesday, September 1, 2020 at 9:59:59 PM UTC-7, John H Palmieri wrote: >> >> >> >> On Tuesday, September 1, 2020 at 9:52:37 PM UTC-7 Matthias Koeppe wrote:

Re: [sage-support] compile problem for sage 9.2.b9 on mac 11.0 big sur

2020-09-01 Thread John H Palmieri
On Tuesday, September 1, 2020 at 9:52:37 PM UTC-7 Matthias Koeppe wrote: > On Tuesday, September 1, 2020 at 8:59:14 PM UTC-7, John H Palmieri wrote: > >> If I do install Python 3.7, then gf2x and ecm both fail to build. The >> gf2x log file says "configure: error: Can

Re: [sage-support] compile problem for sage 9.2.b9 on mac 11.0 big sur

2020-09-01 Thread John H Palmieri
hout underscore." On Tuesday, September 1, 2020 at 8:38:47 PM UTC-7 John H Palmieri wrote: > I've been trying to build on Big Sur, too. I removed the > MACOSX_DEPLOYMENT_TARGET lines from sage-env, but the Python build still > fails. The log file is attached. Any suggestions (besi

Re: [sage-support] compile problem for sage 9.2.b9 on mac 11.0 big sur

2020-09-01 Thread John H Palmieri
I've been trying to build on Big Sur, too. I removed the MACOSX_DEPLOYMENT_TARGET lines from sage-env, but the Python build still fails. The log file is attached. Any suggestions (besides installing a different system version of Python)? John On Saturday, August 22, 2020 at 3:44:01 PM UTC-7

[sage-support] Is our toric varieties documentation misleading and/or wrong?

2020-08-27 Thread John H Palmieri
See https://math.stackexchange.com/questions/3802874/does-isomorphic-mathbb-q-cohomology-implies-isomorphic-mathbb-z-cohomology/3803623#3803623 Can someone who knows the mathematics decide whether this is an issue that needs to be fixed, or whether the documentation could be clarified? --

[sage-support] Re: Question about a deprecation warning

2020-07-10 Thread John H Palmieri
Does IPython have a preparser? On Thursday, July 9, 2020 at 11:43:36 PM UTC-7, Kwankyu wrote: > > Because of the preparser? > > On Thursday, July 2, 2020 at 9:19:58 AM UTC+9 John H Palmieri wrote: > >> >> >> On Wednesday, July 1, 2020 at 4:39:1

[sage-support] Re: Question about a deprecation warning

2020-07-01 Thread John H Palmieri
On Wednesday, July 1, 2020 at 4:39:12 PM UTC-7, John H Palmieri wrote: > > > > On Wednesday, July 1, 2020 at 2:22:49 PM UTC-7, Antonio Rojas wrote: >> >> >> >> El miércoles, 1 de julio de 2020, 21:06:43 (UTC+2), John H Palmieri >> escribió: >>>

[sage-support] Re: Question about a deprecation warning

2020-07-01 Thread John H Palmieri
On Wednesday, July 1, 2020 at 2:22:49 PM UTC-7, Antonio Rojas wrote: > > > > El miércoles, 1 de julio de 2020, 21:06:43 (UTC+2), John H Palmieri > escribió: >> >> >> Why so many deprecation warnings? I think they're coming from plain >> Python

[sage-support] Question about a deprecation warning

2020-07-01 Thread John H Palmieri
This puzzles me: evaluating '\i' in Python 3 just gives '\i'. Same with IPython. Evaluating it in Sage prints many warning messages: the following is from a fresh Sage session, and I only evaluated '\i' once, despite the appearance: % sage

[sage-support] Re: bug in CirculantGraph(10,[2,4])?

2020-06-29 Thread John H Palmieri
According to wikipedia, graphs.CirculantGraph(n, [j_1, j_2, ...]) is connected if and only if gcd(n, j_1, j_2, ...) = 1. In this case, the gcd is 2. If Sage's definition is correct, it's defined as having 10 vertices, and vertex i is connected to vertices i+2, i-2, i+4, i-4, then even vertices

[sage-support] Conda install: docs?

2020-06-14 Thread John H Palmieri
When I follow the directions at https://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda for installing via conda, it seems that the Sage documentation is not built, and furthermore, it is not clear to me how to build it. Am I missing something? See also

Re: [sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread John H Palmieri
Silly question, but are you sure you are starting up Sage 9.0 when you do all of this ("sage --notebook" or "sage --sh")? If you give an explicit path to the Sage 9.0 version, does that help? Do you have any Sage-related environment variables which could be interfering with things? On

[sage-support] Re: Extended Operations on Symbols

2020-04-26 Thread John H Palmieri
sage: var('q') q sage: (q+q^(-1))^(1/2) sqrt(q + 1/q) (By the way, I'm not sure I would call using a fraction field "naive".) On Sunday, April 26, 2020 at 9:01:35 AM UTC-7, Jin Guu wrote: > > I am writing a calculator for various 'q' quantities, and often find that > I need to manipulate

[sage-support] Re: How to modify the index of a matrix

2020-04-20 Thread John H Palmieri
On Monday, April 20, 2020 at 1:01:24 PM UTC-7, Emmanuel Zuñiga wrote: > > Hello, i would like to know how to modify the index of a matrix in > sagemath. As an example, we all know that every object begins in 0, m[0] > and that kind of things. > Now, i need to modify this. to add one to the

Re: [sage-support] simple desolve_tides_mpfr crash, even for SageMath Cell Server

2020-04-16 Thread John H Palmieri
Maybe SageCell doesn't have the optional package "tides" installed. This is the same error I see on my own computer without "tides". On Thursday, April 16, 2020 at 9:26:21 AM UTC-7, slelievre wrote: > > Here is the error after executing the original poster's code in SageCell. > >

Re: [sage-support] Sage Crash report

2020-04-09 Thread John H Palmieri
Did you look at the file "README.md"? It suggests building in parallel to speed things up. Have you tried that? On Thursday, April 9, 2020 at 12:35:58 PM UTC-7, hbetx9 wrote: > > I htink I know what I did, somehow I change the prefix to a directory that > didn't exist. I'm recompiling to see

Re: [sage-support] Building on Catalina

2020-04-08 Thread John H Palmieri
When I have had problems with libpng, it has helped to do "brew install pkg-config". If you happened to start building Sage and then upgraded Homebrew and/or Xcode in the middle of that, or if you've installed any new Homebrew packages, you should probably start over with "make distclean"

[sage-support] Re: deprecation warning about "`\QQ`" and "\*"

2020-03-29 Thread John H Palmieri
On Sunday, March 29, 2020 at 12:24:38 AM UTC-7, rana-aere wrote: > > Thank you for clear instructions. > I used the codes to compare how doctoring of the method _macaulay2_init_ > is displayed. > > sage-8.9 (command line and jupyter) > > ``` > Init docstring: x.__init__(...) initializes x; see

[sage-support] Re: deprecation warning about "`\QQ`" and "\*"

2020-03-28 Thread John H Palmieri
On Saturday, March 28, 2020 at 7:07:53 AM UTC-7, rana-aere wrote: > > > > I am compiling binary-pkg and encountered a deprecation warning. > The warning appeared when I invoked sage from command line. > (Technically, it was after messages of patching.) > > The warning reads > > ``` >

Re: [sage-support] sage with python3, mpmath

2020-01-14 Thread John H Palmieri
/libintmath.py", > line 161 ? Just interesting :) > > вторник, 14 января 2020 г., 21:20:05 UTC+3 пользователь John H Palmieri > написал: >> >> Sorry, I meant Sage *9.1.beta0*. >> >> On Tuesday, January 14, 2020 at 10:18:41 AM UTC-8, John H Palmieri wro

Re: [sage-support] sage with python3, mpmath

2020-01-14 Thread John H Palmieri
Sorry, I meant Sage *9.1.beta0*. On Tuesday, January 14, 2020 at 10:18:41 AM UTC-8, John H Palmieri wrote: > > Just to confirm: everything works with Sage 9.0.beta1, built with Python > 2. Fails with Sage built with Python 3. > > > On Tuesday, January 14, 2020 at 5:55:51 A

Re: [sage-support] sage with python3, mpmath

2020-01-14 Thread John H Palmieri
Just to confirm: everything works with Sage 9.0.beta1, built with Python 2. Fails with Sage built with Python 3. On Tuesday, January 14, 2020 at 5:55:51 AM UTC-8, Александр Ватузов wrote: > > https://trac.sagemath.org/ticket/29009#ticket > > вторник, 14 января 2020 г., 16:36:27 UTC+3

[sage-support] Re: Problems Compiling 9.0

2020-01-03 Thread John H Palmieri
On Friday, January 3, 2020 at 11:54:04 AM UTC-8, finotti wrote: > > I'm trying to build version 9.0 from source under Linux (Debian > Unstable/Sid). The machine has Intel Core i7-8700 CPU and 48GB of RAM. > > Below is the end of the compilation: > > [snip] > > [twisted-16.3.0.p0] Finished

Re: [sage-support] Re: sage building with python3

2019-11-04 Thread John H Palmieri
If you want to build Sage for use with Python 3, you should do $ make distclean $ ./configure --with-python=3 $ make Where does this fail for you? On Monday, November 4, 2019 at 8:21:04 AM UTC-8, Александр Ватузов wrote: > > No, I am building sage only for using it with python3. So I need to

Re: [sage-support] Re: sage building with python3

2019-11-03 Thread John H Palmieri
Since trac #28426 (merged pretty recently), when building with Python 3, we do not build Python 2. Before that, we always built both. On Sunday, November 3, 2019 at 12:57:02 PM UTC-8, Dima Pasechnik wrote: > > I am surprised we still even build python2 by default. Isn't it an > optional

[sage-support] Re: failure to re-install ipython

2019-10-25 Thread John H Palmieri
On Friday, October 25, 2019 at 2:59:36 AM UTC-7, Dima Pasechnik wrote: > > in the Sage 9.0.beta2 I get > > [ipython-5.8.0] Successfully installed ipython-5.8.0 > [ipython-5.8.0] Cleaning up... > [ipython-5.8.0] Removed build tracker '/tmp/pip-req-tracker-h6h22jg5' > [ipython-5.8.0] >

Re: [sage-support] SageMath installation in macOS Catalina

2019-10-09 Thread John H Palmieri
On Wednesday, October 9, 2019 at 4:51:48 AM UTC-7, David Joyner wrote: > > > > On Wed, Oct 9, 2019 at 7:42 AM Dima Pasechnik > wrote: > >> >> >> On Wed, Oct 9, 2019 at 6:34 AM David Joyner > > wrote: >> >>> >>> >>> On Wed, Oct 9, 2019 at 7:14 AM Dima Pasechnik >> > wrote: >>> Hi,

[sage-support] debian virtual machine numerical noise

2019-08-09 Thread John H Palmieri
In order to try to track down the problem with Python 3 and polynomial_rational_flint.pyx on Debian (see https://trac.sagemath.org/ticket/28334 — help wanted!), I installed VirtualBox and a Debian 10 virtual machine on my iMac. Most doctests pass, but I am getting some numerical noise. Did I

Re: [sage-support] Is there a binary version of SageMath .app.dmg compatiable with Mac OS X ver. 10.14.6

2019-07-26 Thread John H Palmieri
On Friday, July 26, 2019 at 9:33:25 AM UTC-7, John H Palmieri wrote: > > > > On Friday, July 26, 2019 at 12:32:06 AM UTC-7, Dima Pasechnik wrote: >> >> >> >> On Fri, 26 Jul 2019 at 06:26, Samuel Dupree wrote: >> >>> >>> >>> I

  1   2   3   4   5   >