Re: [sage-support] Error building Sage, scipy 1.12

2024-05-02 Thread Dima Pasechnik
just in case, it could in principle also be low (virtual) disk allocated to WSL. On Thu, May 2, 2024 at 4:49 PM matteo verni wrote: > > Hi Jan, thanks for your help. > > I double checked: the memory allocated is 3.7 gb. Is that not enough? > By the way, I run it again and gave me the same Error

Re: [sage-support] Error building sage

2024-04-24 Thread Dima Pasechnik
On Wed, Apr 24, 2024 at 12:28 AM Adrin Foster wrote: > > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'make all-start'): You're trying to use linuxbrew (not sure, intentionally or not) to build Sage. As a result, you get hit by

Re: [sage-support] Jupyter Notebook crashes, then get connection refused error and cannot relaunch on mac

2024-04-23 Thread Dima Pasechnik
Dima Pasechnik wrote: > > On Tue, Apr 23, 2024 at 10:29 PM S Benton wrote: > > > We are not using the app. She downloaded SageMath-10.3_arm64.dmg from > > github., double clicked the executable and followed the installation > > instructions. To launch, she clicks t

Re: [sage-support] Jupyter Notebook crashes, then get connection refused error and cannot relaunch on mac

2024-04-23 Thread Dima Pasechnik
st. Hope this helps, Dima > Thank you so much for responding. It is deeply appreciated. > > > > On Tuesday, April 23, 2024 at 4:05:17 PM UTC-4 Dima Pasechnik wrote: >> >> Hi, >> >> please tell us more about the Sage version, and how you installed it,

Re: [sage-support] Jupyter Notebook crashes, then get connection refused error and cannot relaunch on mac

2024-04-23 Thread Dima Pasechnik
Hi, please tell us more about the Sage version, and how you installed it, and how you launch the notebook. Do you use the Sagemath macOS app? Dima On 23 April 2024 20:05:12 BST, S Benton wrote: >Hi - at my wit's end here - my daughter is trying to use Sage Math Jupyter >Notebook for her

Re: [sage-support] Re: Is there a way to use Sage's Jupyter outside the sage shell ?

2024-04-15 Thread Dima Pasechnik
On Mon, Apr 15, 2024 at 1:46 PM Henri Girard wrote: > I don't understand what you mean , but there is maybe a way you can use it > as I do in vs code ? > Le 15/04/2024 à 09:19, Matthias Koeppe a écrit : > > Yes, this is documented in >

Re: [sage-support] Is there a way to use Sage's Jupyter outside the sage shell ?

2024-04-08 Thread Dima Pasechnik
On Mon, Apr 8, 2024 at 7:16 PM Emmanuel Charpentier < emanuel.charpent...@gmail.com> wrote: > Setup : Sage 10.4.beta1 running on Ubuntu 22.04 LTS under WSL2 in Windows > 11 (don’t get me started…). I also installed emacs and its juyter > package, which

Re: [sage-support] Ecc

2024-04-04 Thread Dima Pasechnik
On Sun, Mar 31, 2024 at 4:21 PM Rhythm Mundra wrote: > > Idk V9.4 ig > > On Sun, Mar 31, 2024, 5:43 PM Dima Pasechnik wrote: >> >> What Sage version is this? >> >> >> On 31 March 2024 11:28:08 BST, Rhythm Mundra

Re: [sage-support] Ecc

2024-03-31 Thread Dima Pasechnik
What Sage version is this? On 31 March 2024 11:28:08 BST, Rhythm Mundra wrote: >E =

[sage-support] Re: xz/liblzma has been compromised

2024-03-29 Thread Dima Pasechnik
and Homebrew. Please upgrade your Homebrew. It should do a downgrade: `brew upgrade` now "upgrades" xz from 5.6.1 -> 5.4.6 On Fri, Mar 29, 2024 at 7:36 PM Dima Pasechnik wrote: > > aand Conda: https://anaconda.org/anaconda/xz shows version 5.6.1 > > On Fri, Mar

[sage-support] Re: xz/liblzma has been compromised

2024-03-29 Thread Dima Pasechnik
aand Conda: https://anaconda.org/anaconda/xz shows version 5.6.1 On Fri, Mar 29, 2024 at 7:18 PM Dima Pasechnik wrote: > > https://www.openwall.com/lists/oss-security/2024/03/29/4 > > if your have xz 5.6.0 or 5.6.1 installed (e.g. Debian testing/unstable) > you have a backdoor

[sage-support] xz/liblzma has been compromised

2024-03-29 Thread Dima Pasechnik
https://www.openwall.com/lists/oss-security/2024/03/29/4 if your have xz 5.6.0 or 5.6.1 installed (e.g. Debian testing/unstable) you have a backdoored xz. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop

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

2024-03-27 Thread Dima Pasechnik
brew/opt/python@3.11/bin/python3.11 > make > > New logs attached. > > Thanks. > > On Wednesday, March 27, 2024 at 6:24:37 AM UTC-4 Dima Pasechnik wrote: > > sagemath doesn't officially support Python 3.12. > Can you try with 3.11 instead? > > > > -- > You

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

2024-03-27 Thread Dima Pasechnik
On Mon, Mar 25, 2024 at 8:22 PM Jon Higa wrote: > I tried to build Sage 10.3 in Sonoma 14.3.1 on an M3 Pro. > >git clone https://github.com/sagemath/sage.git > >cd sage > >git checkout 10.3 > >brew upgrade > >export MAKE='make -j8' > >source .homebrew-build-env > >

Re: [sage-support] Antisymmetry Definition in SageMath for DiGraphs

2024-03-18 Thread Dima Pasechnik
Hellen, On Monday, March 18, 2024 at 1:45:17 PM UTC Hellen Colman wrote: Yes, that terminology is not perfectly aligned between different areas in mathematics is a good takeaway we will definitely mention in the book. Thank you! In this case I understand that we are checking antisymmetric in

Re: [sage-support] bug in plot?

2024-03-16 Thread Dima Pasechnik
On Fri, Mar 15, 2024 at 9:44 PM Nils Bruin wrote: > On Friday 15 March 2024 at 12:42:49 UTC-7 kcrisman wrote: > > Or rather, should the default be useoffset False? > > > Yes, I think that would be reasonable to do. Clearly, offsets being used > without the user knowing they exist can easily lead

Re: [sage-support] Antisymmetry Definition in SageMath for DiGraphs

2024-03-16 Thread Dima Pasechnik
This is now https://github.com/sagemath/sage/issues/37618 On Sat, Mar 16, 2024 at 12:42 PM Dima Pasechnik wrote: > Dear Hellen, dear Nils, > > On Fri, Mar 15, 2024 at 11:51 PM Nils Bruin wrote: > >> On Friday 15 March 2024 at 15:08:34 UTC-7 Hellen Colman wrote: >>

Re: [sage-support] Antisymmetry Definition in SageMath for DiGraphs

2024-03-16 Thread Dima Pasechnik
Dear Hellen, dear Nils, On Fri, Mar 15, 2024 at 11:51 PM Nils Bruin wrote: > On Friday 15 March 2024 at 15:08:34 UTC-7 Hellen Colman wrote: > > Let me just clarify the main point of his question just in case we can > still obtain a helpful answer. Essentially the question is: Why is Sage >

Re: [sage-support] bug in plot?

2024-03-15 Thread Dima Pasechnik
On 15 March 2024 19:42:48 GMT, kcrisman wrote: > > >it's not a bug, it's a feature. :-) >https://discourse.matplotlib.org/t/default-format-of-axis-offset-label/23162/2 > > >Correct. > >import matplotlib as mpl >mpl.rcParams['axes.formatter.useoffset'] = False

Re: [sage-support] bug in plot?

2024-03-15 Thread Dima Pasechnik
On Fri, Mar 15, 2024 at 9:13 AM David Joyner wrote: > > > On Thu, Mar 14, 2024 at 8:17 PM Dima Pasechnik wrote: > >> >> >> On Fri, Mar 15, 2024 at 12:15 AM Dima Pasechnik >> wrote: >> >>> >>> >>> On Thu, Mar 14, 2024 at 9:32

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
On Fri, Mar 15, 2024 at 12:15 AM Dima Pasechnik wrote: > > > On Thu, Mar 14, 2024 at 9:32 PM Dima Pasechnik wrote: > >> >> >> On 14 March 2024 21:09:22 GMT, Nils Bruin wrote: >> >I get the impression that without setting ymin,ymax you just end up with >

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
On Thu, Mar 14, 2024 at 9:32 PM Dima Pasechnik wrote: > > > On 14 March 2024 21:09:22 GMT, Nils Bruin wrote: > >I get the impression that without setting ymin,ymax you just end up with > a > >tiny range for the y-axis and its labelling is just very weird. I think &

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
On 14 March 2024 21:09:22 GMT, Nils Bruin wrote: >I get the impression that without setting ymin,ymax you just end up with a >tiny range for the y-axis and its labelling is just very weird. I think the >labels displayed are shifted and scaled. So the error is just how the >labels are

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
It might help seeing your graphs here, too. On Thu, Mar 14, 2024 at 10:04 AM David Joyner wrote: > Hi: > > I'm trying to show my students a plot of > a rational function whose graph is basically 1, > so I plotted > f(x) = (x^2+0.0001)/(x^2+0.000101) > However, there is a problem: Note the

Re: [sage-support] Antisymmetry Definition in SageMath for DiGraphs

2024-03-11 Thread Dima Pasechnik
On Mon, Mar 11, 2024 at 9:24 PM Samuel Lubliner wrote: > I've been exploring the concept of antisymmetry in DiGraphs within > SageMath and noticed a discrepancy between the standard mathematical > definition of an antisymmetric relation and SageMath's implementation for > DiGraphs. I'm looking

Re: [sage-support] Issues with real precision

2024-02-23 Thread Dima Pasechnik
On Friday, February 23, 2024 at 10:16:37 PM UTC dim...@gmail.com wrote: On Fri, Feb 23, 2024 at 05:00:42PM -0500, Fernando Gouvea wrote: > In an introductory probability class, one computes the probability of > getting all of n possible coupons in r individual purchases. The naive > approach

Re: [sage-support] Coordinate ring of `ToricVariety`

2024-01-25 Thread Dima Pasechnik
On Tue, Jan 23, 2024 at 6:29 PM Gareth Ma wrote: > > Hi all, > > I am working with `ToricVariety` within Sage, and I have a question. Say I > define a toric variety as follows: > > sage: PP = toric_varieties.WP([1, 3, 1]); PP > 2-d toric variety covered by 3 affine patches > sage:

Re: [sage-support] Developer's guide and configure : the list of packages needs some updating

2024-01-23 Thread Dima Pasechnik
package names per distribution are in build/pkgs//distros/ so you might want to adjust debian.txt files there and submit a PR with these changes On 23 January 2024 07:44:43 GMT, Emmanuel Charpentier wrote: > > >For installation from source on Debian, a few packages have incorrect names >in

Re: [sage-support] Question related to Sagemath permission on Github

2024-01-21 Thread Dima Pasechnik
On 21 January 2024 12:25:23 GMT, Juan Grados wrote: >I have a question about how you deal with deletion policies in Sagemath. >Specifically, I plan to create a repository with many people involved. This >repo MUST have several admins (who can potentially delete the repo). To >protect the repo

Re: [sage-support] Re: Sage seems to incorrectly evaluate fractional powers of complexes

2024-01-04 Thread Dima Pasechnik
to check them in Mathematica, the limitations of >the current Mathematica interface make this bothersome…). > >IMHO, this would deserve a critiocal ticket (possibly a blocker one), but I >do not know how to report this efficiently. Suggestions welcome… open an issue with this data there &

[sage-support] Re: Sage seems to incorrectly evaluate fractional powers of complexes

2024-01-04 Thread Dima Pasechnik
You can get the same errors from pure Maxima if you set domain to "complex", no? On Thursday, January 4, 2024 at 10:29:56 AM UTC Emmanuel Charpentier wrote: > The problem seems Sage-specific : the same systems solve correctly (up to > numerical noise) in “pure” Maxima : > ;;; Loading

Re: [sage-support] Re: Problem with plot

2023-12-16 Thread Dima Pasechnik
It's probably just a build error. I'd try something like make sage_conf && make On Sat, Dec 16, 2023 at 9:36 AM Emmanuel Charpentier wrote: > > Le mercredi 13 décembre 2023 à 12:35:42 UTC+1, Philippe Delavalade a écrit : > > Hi. > > I'm using sage-10.2 with linux (slint-15.0 based on slackware

Re: [sage-support] Problem with rebuilding Sage

2023-12-15 Thread Dima Pasechnik
On Fri, Dec 15, 2023 at 7:00 PM Ruchit Jagodara wrote: > > I am trying to rebuild sage using ./sage -br but it is failing for some > reason ( I don't know exactly what is the reason.) This is happening to me > since yesterday when I pulled developer branch from sage to get the most > updated

Re: [sage-support] smith form may be too slow

2023-12-14 Thread Dima Pasechnik
On Thu, Dec 14, 2023 at 12:52 PM Dima Pasechnik wrote: > > On Thu, Dec 14, 2023 at 5:37 AM Nils Bruin wrote: > > > > (side note: Q is generally considered a PID, but indeed it makes little > > sense worrying about Smith normal form over it) > > > > C

Re: [sage-support] smith form may be too slow

2023-12-14 Thread Dima Pasechnik
rnval_'] 198 else: --> 199 return eval(source, sage.all.__dict__, locals) File :1 NameError: name 'x' is not defined > > > On Thursday 14 December 2023 at 04:05:47 UTC+13 Enrique Artal wrote: >> >> It is over the ring of polynomials in one variable over Q. >> >

Re: [sage-support] smith form may be too slow

2023-12-13 Thread Dima Pasechnik
On Wed, Dec 13, 2023 at 10:55 AM Enrique Artal wrote: > > I have the toy example belowto compare the direct use of smith_form and the > combination of hermite_form and smith_form. > > Last execution (there are random inputs) gave: > CPU times: user 2.22 s, sys: 5.93 ms, total: 2.23 s Wall time:

Re: [sage-support] Availability of sage 9.6 through conda/mamba?

2023-12-05 Thread Dima Pasechnik
individual Sage parts, but I don't know where the bottlenecks are. Dima > > thanks > > Henri > > Le 05/12/2023 à 11:10, Dima Pasechnik a écrit : > > > On 5 December 2023 08:12:16 GMT, oscar bg wrote: >> >> any update on conda support for newer Sage releases.. >

Re: [sage-support] Availability of sage 9.6 through conda/mamba?

2023-12-05 Thread Dima Pasechnik
UTC+1 Luis Garcia-Puente wrote: > >> How can I update to a newer version of sage on Mac OS using mamba? >> >> On Tuesday, July 12, 2022 at 3:57:27 AM UTC-6 Dima Pasechnik wrote: >> >>> On Tue, Jul 12, 2022 at 10:48 AM Henri Girard >>> wrote: >>> >

Re: [sage-support] Re: Calling Sage on Windows from external scripts

2023-12-03 Thread Dima Pasechnik
We are actually removing Cygwin support in Sage, so yes, going forward it will be WSL only. On 3 December 2023 14:21:13 GMT, Sean Fitzpatrick wrote: >Thanks David. > >It sounds like that will require some changes in PreTeXt itself. > >I was experimenting because I got a new Windows computer at

Re: [sage-support] Re: limitations of "solve"?

2023-12-03 Thread Dima Pasechnik
Yes, Sage modifies the defaults of Maxima, in particular we set domain to complex. On 3 December 2023 12:28:45 GMT, Oscar Benjamin wrote: >On Wed, 29 Nov 2023 at 12:40, Eric Gourgoulhon wrote: >> >> Le mardi 28 novembre 2023 à 18:25:04 UTC+1, kcrisman a écrit : >> >> Yes. Maxima's attitude

Re: [sage-support] Re: limitations of "solve"?

2023-11-28 Thread Dima Pasechnik
one should not be using sagecell.sagemath.org server for teaching, it's not scaling well (compared to cocalc.com, say) under load. unleashing undergraduates to compute on it surely gets things very slow there On 28 November 2023 15:45:33 GMT, Eric Gourgoulhon wrote: >Hi, > >I've also

Re: [sage-support] Build errors for sage_numerical_backends_[coin, gurobi]

2023-11-09 Thread Dima Pasechnik
confirmed, see https://github.com/sagemath/sage-numerical-backends-coin/issues/9 On Wednesday, November 8, 2023 at 11:32:55 PM UTC Dima Pasechnik wrote: > these could be due to the switch to Cython 3, with these optional packages > needed porting work > > On Wed, 8 Nov 2023,

Re: [sage-support] Build errors for sage_numerical_backends_[coin, gurobi]

2023-11-08 Thread Dima Pasechnik
these could be due to the switch to Cython 3, with these optional packages needed porting work On Wed, 8 Nov 2023, 18:57 'Peter Mueller' via sage-support, < sage-support@googlegroups.com> wrote: > On up-to-date Archlinux and Manjaro machines, I get build errors of the > packages

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

2023-10-30 Thread Dima Pasechnik
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: >>> >>> >>> >>> On Monday, October 30, 2023 at 12:28:18 PM UT

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

2023-10-30 Thread Dima Pasechnik
On Mon, 30 Oct 2023, 20:50 Dima Pasechnik, wrote: > > > On Mon, 30 Oct 2023, 20:25 John H Palmieri, > wrote: > >> >> >> 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

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

2023-10-30 Thread Dima Pasechnik
On Mon, 30 Oct 2023, 20:25 John H Palmieri, wrote: > > > 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 exte

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

2023-10-30 Thread Dima Pasechnik
hese are "already there", as if phi is an endomorphism then ker(phi) is generated by a-phi(a) - so whenever phi(a)=a this reduces to 0. > > On Monday, October 30, 2023 at 7:14:16 AM UTC-7 Dima Pasechnik wrote: >> >> On Mon, Oct 30, 2023 at 12:54 PM Kwankyu wrote: >> >

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

2023-10-30 Thread Dima Pasechnik
h31*xi1 > h41 |--> h31*xi1^16 + h21*xi2^8 > sage: %time phi.is_injective() > CPU times: user 15.7 s, sys: 101 ms, total: 15.8 s > Wall time: 15.9 s > True > > I've seen this on two different machines: roughly double the time to do the > second computation. >

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

2023-10-30 Thread Dima Pasechnik
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 Pasechnik wrote: >> >> >> >> On Mon, 30 Oct 2023, 05:57 John H Palmieri, wrote: >>> >>> Does

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

2023-10-30 Thread Dima Pasechnik
On Mon, 30 Oct 2023, 05:57 John H Palmieri, wrote: > 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

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

2023-10-27 Thread Dima Pasechnik
b.com/sagemath/sage/commit/977ace651af9b99689f7b6507f91f8b4e2588ae9#r131117132 fortunately, the author, @kwankyu is active I can't locate the ticket, but it was merged in 9.0.beta9 > > > On Friday, October 27, 2023 at 3:51:10 PM UTC-7 Dima Pasechnik wrote: >> >> By th

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

2023-10-27 Thread Dima Pasechnik
By the way, the docstring of divisor() misses an example, it's def divisor(self, v, base_ring=None, check=True, reduce=True): r""" Return the divisor specified by ``v``. .. WARNING:: The coefficients of the divisor must be in the base ring and

Re: [sage-support] help debugging latex() printing with trace()

2023-10-27 Thread Dima Pasechnik
On Fri, Oct 27, 2023 at 1:03 AM Eric Majzoub wrote: > > I would like to debug the latex printing of an expression that ambiguous. > > To reproduce it: > t = var('t') > x = function('x')(t) > latex( diff(x,t)^2 ) > > This produces ambiguous output, essentially: > > partial_t x^2 > > instead of > >

Re: [sage-support] Re: scipy fails to build in sage 10.2.beta4 on fedora 38

2023-09-25 Thread Dima Pasechnik
On Mon, Sep 25, 2023 at 10:42 PM Eric Majzoub wrote: > > > I have the python package mesonpy installed... > Perhaps I'm not setting my python path appropriately, but > PYTHONPATH=/usr/lib/python3.11/site-packages > points right to it. To use it, you see to run ./configure with

[sage-support] Re: Contributing to SageMath

2023-09-25 Thread Dima Pasechnik
Why are you posting the same question (https://groups.google.com/g/sage-devel/c/lIvGAAY_zEo/m/ChF0AN4aBwAJ) here? It was answered in this thread: https://groups.google.com/g/sage-devel/c/lIvGAAY_zEo/m/ChF0AN4aBwAJ On Monday, September 25, 2023 at 10:30:11 PM UTC+1 Saatvik Rao wrote: > Hello

Re: [sage-support] scipy fails to build in sage 10.2.beta4 on fedora 38

2023-09-25 Thread Dima Pasechnik
On Mon, Sep 25, 2023 at 10:30 PM Eric Majzoub wrote: > > Fresh clone of git repository of sage. I issued: > > cd sage > ./bootstrap > ./configure --no-create --no-recursion > make > > I've attached the log file for the scipy fail. this is a known bug. Fixed in

Re: [sage-support] Re: Error building sage: cython-0.29.36 will not build

2023-09-24 Thread Dima Pasechnik
On Sun, Sep 24, 2023 at 2:45 PM Dima Pasechnik wrote: > > On Sun, Sep 24, 2023 at 2:10 PM David Ayotte wrote: > > > > Quick update: I tried rebuilding SageMath after doing a "make distclean", > > and now the compilation goes further,

Re: [sage-support] Re: Error building sage: cython-0.29.36 will not build

2023-09-24 Thread Dima Pasechnik
On Sun, Sep 24, 2023 at 2:10 PM David Ayotte wrote: > > Quick update: I tried rebuilding SageMath after doing a "make distclean", and > now the compilation goes further, but stops at SciPy. The error says: > > ModuleNotFoundError: No module named 'mesonpy' We need ---

Re: [sage-support] Re: Installing SageMath 10.2.beta* in Ubuntu 22.04

2023-09-13 Thread Dima Pasechnik
On Wed, Sep 13, 2023 at 9:34 AM Eric Gourgoulhon wrote: > Hi, > > From the log files, all these failures have the same origin: > g++: fatal error: Killed signal terminated program cc1plus > This looks like insufficient amount of RAM available. 2Gb of RAM are a minimum for these Sage packages,

Re: [sage-support] Re: Question about cysignals installation

2023-08-27 Thread Dima Pasechnik
On Sun, Aug 27, 2023 at 10:22 AM Nils Bruin wrote: > > I think it was written elsewhere that cysignals has not been ported to cython > 3.0.0 yet. In fact, sage as a whole hasn't been upgraded to compile with > cython 3.0.0 yet. This part of Sage - cysignals+cypari2 - is not in a good shape.

Re: [sage-support] Importing sympy breaks CyclotomicField

2023-08-18 Thread Dima Pasechnik
On Fri, Aug 18, 2023 at 12:02 PM Jan Groenewald wrote: > > Hi > > I am not sure that is a bug... > > sage: K = CyclotomicField(32) > sage: type(Integer) > > sage: from sympy import * > sage: type(Integer) > > sage: K = CyclotomicField(int(32)) I don't think it's a bug - "Integer" is not a

Re: [sage-support] Freshly installed sage crashes

2023-08-15 Thread Dima Pasechnik
On Tue, 15 Aug 2023, 07:41 'Michel VAN DEN BERGH' via sage-support, < sage-support@googlegroups.com> wrote: > > > On Tuesday, August 15, 2023 at 8:11:35 AM UTC+2 Michel VAN DEN BERGH wrote: > > On Monday, August 14, 2023 at 10:45:32 AM UTC+2 Henri Girard wrote: > > Did you make a link to your

Re: [sage-support] Freshly installed sage crashes

2023-08-14 Thread Dima Pasechnik
On Mon, 14 Aug 2023, 09:32 'Michel VAN DEN BERGH' via sage-support, < sage-support@googlegroups.com> wrote: > I was unable to get the distro sage to work. I compiled sage from source > and this solved the problem. Sad though since I would have preferred to use > the distro version. > we are not

Re: [sage-support] 3dplot not working with Ubuntu 20.00 / Firefox from "Ubuntu Software" (Ubuntu software center)

2023-08-07 Thread Dima Pasechnik
The bigger issue might be with firefox installed via snap. Then it has a seriously limited access to local files. On Mon, 7 Aug 2023, 06:39 Jan Groenewald, wrote: > Hi > > 20.04 (not 20.00) is a little old version now. I have had debian and/or > ubuntu not plot interactive plots (or sometimes

Re: [sage-support] Can not run make

2023-07-18 Thread Dima Pasechnik
* > make[1]: *** [Makefile:56: build/make/Makefile] Error 1 > make[1]: Leaving directory '/home/macka/Sage/sage-10.0' > make: *** [Makefile:39: base-toolchain] Error 2 > > On Tuesday, 18 July 2023 at 20:28:54 UTC+10 Dima

Re: [sage-support] Can not run make

2023-07-18 Thread Dima Pasechnik
st of all, as documented in https://github.com/sagemath/sage/#readme > > On Monday, 17 July 2023 at 22:30:51 UTC+10 Tim M wrote: >> >> OK I think I have it, if I download the source of version 10 from github I >> should be able to configure and make that. >> >> On

Re: [sage-support] Can not run make

2023-07-17 Thread Dima Pasechnik
On Mon, Jul 17, 2023 at 12:16 PM Tim M wrote: > > Thanks for responding. > > The output of ./ configure is as follows: > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a race-free mkdir -p... /usr/bin/mkdir -p >

[sage-support] f.g. subrings of polynomial rings and their Hilbert-Poincare series

2023-07-04 Thread Dima Pasechnik
We're looking for the ways to deal in Sage with finitely generated subrings S= of the ring of polynomials R[x_1,...,x_n] (R a field) of multivariate polynomial rings and their Hilbert-Poincare series. Once you have a presentation for S, i.e. S isomorphic to R[y_1,...,y_k]/I, with I an ideal in

Re: [sage-support] is_MPolynomial

2023-06-27 Thread Dima Pasechnik
this is now https://github.com/sagemath/sage/issues/35844 On Tue, Jun 27, 2023 at 1:40 PM Dima Pasechnik wrote: > > On Tue, Jun 27, 2023 at 12:54 PM Luis Finotti wrote: > > > > Hello, > > > > I am getting warnings that is_MPolynomial is deprecated.

Re: [sage-support] is_MPolynomial

2023-06-27 Thread Dima Pasechnik
On Tue, Jun 27, 2023 at 12:54 PM Luis Finotti wrote: > > Hello, > > I am getting warnings that is_MPolynomial is deprecated. The error suggests > to use > > isinstance(x, sage.structure.element.MPolynomial) > > But this gives an error: > > AttributeError: module 'sage.structure.element' has no

Re: [sage-support] graph question about orientation of polyhedra

2023-06-19 Thread Dima Pasechnik
, 2023 at 2:00 PM Dima Pasechnik wrote: > > oh, right, what I suggested isn't what you asked for, sorry. > > > On Mon, 19 Jun 2023, 13:56 John Cremona, wrote: >> >> Thanks Dima for the suggestion. I'm not sure that this does what I need: >> the associated directed gr

Re: [sage-support] graph question about orientation of polyhedra

2023-06-19 Thread Dima Pasechnik
erimenting. My polyhedra are small and few enough that > check the orientations of each is not very time-consuming. > > John > > On Monday, June 19, 2023 at 12:08:18 PM UTC+1 Dima Pasechnik wrote: > >> On Mon, Jun 19, 2023 at 11:18 AM John Cremona >> wrote: >> >

Re: [sage-support] graph question about orientation of polyhedra

2023-06-19 Thread Dima Pasechnik
On Mon, Jun 19, 2023 at 11:18 AM John Cremona wrote: > > I have some quite small graphs which are polyhedral, each is the 1-skeleton > of a (connected convex) polyhedron such as a cube, tetrahedron, etc, > constructed from a list of edge pairs. > > I can get the faces of one of these, say G,

Re: [sage-support] Sqrt of a matrix over Fp

2023-06-09 Thread Dima Pasechnik
On Fri, Jun 9, 2023 at 8:33 AM cyrille.piate...@univ-orleans.fr wrote: > > Hello (I do not know which is your given name), > > I think what you are searching is called Cholesky factorization. It is > implemented in SageMath this is not for finite fields, though. Cholesky only make sense for

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-06-01 Thread Dima Pasechnik
Sounds like RPATH has to used somewhere to make sure the correct dynamic library is used. On Thu, 1 Jun 2023, 17:46 Nils Bruin, wrote: > On Thursday, 1 June 2023 at 07:29:27 UTC-7 Luis Finotti wrote: > > > I am not sure I will miss them (and other packages that depended on it -- >

Re: [sage-support] Re: Error in compiling from source

2023-04-25 Thread Dima Pasechnik
t; same version of the package will, by default, be deleted. Set the > > environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. > > > make[1]: *** [all-start] Error 1 > > make: *** [all] Error 2 > > On Monday, April 24, 2023 at 7:00:20 PM UTC+5:30 dibyendu...@gmail.

Re: [sage-support] Re: Error in compiling from source

2023-04-24 Thread Dima Pasechnik
please post config.log On Mon, Apr 24, 2023 at 12:27 PM dibyendu...@gmail.com wrote: > > [sagelib-9.8] error: subprocess-exited-with-error > > [sagelib-9.8] > > [sagelib-9.8] × python setup.py develop did not run successfully. > > [sagelib-9.8] │ exit code: 1 > > [sagelib-9.8] ╰─> See above for

Re: [sage-support] Cryptominisat in Sage

2023-04-21 Thread Dima Pasechnik
On Fri, 21 Apr 2023, 15:32 Dibyendu Roy, wrote: > Dear all, > > Could you please help me to install cryptominisat in Macbook m2. > > I am getting error after giving the following command > > sage: libgap.InstallPackage("Cryptominisat") > no wonder - cryptominisat is not a GAP package. If you

Re: [sage-support] Bug in GAP installation provided by SageMath?

2023-04-18 Thread Dima Pasechnik
That's because by default Sage's installation of AtlasRep does not fetch data from the internet: we patch local/lib/gap/pkg/atlasrep/gap/userpref.g so that it says default:= false; The reason is that our release manager runs build tests in an no internet mode, and something breaks without this

Re: [sage-support] Re: Segfault in braid group centralizer calculation

2023-04-17 Thread Dima Pasechnik
filed a bug in https://github.com/sagemath/sage/issues/35529 On Mon, Apr 17, 2023 at 9:42 AM Dima Pasechnik wrote: > > > On Mon, Apr 17, 2023 at 7:40 AM Tracy Hall wrote: > >> (error present at least from SageMath 8.2 until SageMath 9.8) >> > > in 10.0.beta9 one

Re: [sage-support] Re: Segfault in braid group centralizer calculation

2023-04-17 Thread Dima Pasechnik
On Mon, Apr 17, 2023 at 7:40 AM Tracy Hall wrote: > (error present at least from SageMath 8.2 until SageMath 9.8) > in 10.0.beta9 one gets sage: BG = BraidGroup(5) sage: b = BG([3, 3, 4, 3, 3, 2, 1, 4, 3, 2]); b s2^2*s3*s2^2*s1*s0*s3*s2*s1 sage: b.centralizer() double free or corruption (out)

Re: [sage-support] evaluate a string in the current scope

2023-04-16 Thread Dima Pasechnik
On Sun, Apr 16, 2023 at 9:32 PM G. M.-S. wrote: > > > Is there a way to evaluate a string in the current scope? > > So that > sage: expression > and > sage: some_evaluate(str(expression)) > give the same thing at the same place. > I know about sage_eval, but it seems to need a dictionary of

Re: [sage-support] Testing forked branches

2023-04-09 Thread Dima Pasechnik
tion, but zero ways for doing it, so I did not dare >> ask… >> >> Guillermo >> >> On Sat, 8 Apr 2023 at 22:14, Dima Pasechnik wrote: >>> >>> >>> On Sat, 8 Apr 2023, 20:24 Drew Shotwell, wrote: >>>> >>>> I'm look

Re: [sage-support] Testing forked branches

2023-04-08 Thread Dima Pasechnik
On Sat, 8 Apr 2023, 20:24 Drew Shotwell, wrote: > I'm looking into working on an issue in git, and I'm wondering how to > properly go about testing someone else's branch. Let's take for instance > https://github.com/sagemath/sage/pull/35414. suppose you have remote foo set to

Re: [sage-support] gap.console() calling problem.

2023-04-05 Thread Dima Pasechnik
libgap.* and gap.* are different interfaces. We are in transition away from gap.* interface, please don't use it in new code. And don't mix them up in your code. On Wed, 5 Apr 2023, 11:07 Hongyi Zhao, wrote: > > > On Wednesday, April 5, 2023 at 5:49:20 PM UTC+8 Hongyi Zhao wrote: > > On

Re: [sage-support] gap.console() calling problem.

2023-04-05 Thread Dima Pasechnik
On Wed, 5 Apr 2023, 01:02 Hongyi Zhao, wrote: > See my following testing: > > Method 1: This works: > > sage: import sage.interfaces.gap > sage: sage.interfaces.gap.gap_cmd = "~/.local/bin/gap" > sage: gap.console() > > Method 2: This fails: > > sage: import sage.interfaces.gap as gap > this

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

2023-03-30 Thread Dima Pasechnik
On Thu, 30 Mar 2023, 18:25 'Peter Mueller' via sage-support, < sage-support@googlegroups.com> wrote: > When working with finite permutation groups, it seems to me that one has > the choice to either use the groups as sage objects like > `SymmetricGroup(4)`, or as a Gap object via

Re: [sage-support] Current advice for generic SageMath install advice

2023-03-29 Thread Dima Pasechnik
we should remove "sage -i". With source present, make can and should be used instead. Without source, "sage --python -m pip install" should be the only possible option - basically, install python packages into Sage's python package tree is the only thing which might work (with usual caveats)

Re: [sage-support] Current advice for generic SageMath install advice

2023-03-28 Thread Dima Pasechnik
On Tue, Mar 28, 2023 at 1:34 AM Nils Bruin wrote: > > What would the current (Spring 2023) easiest instructions be for people to > install sage? I'm asking in support of an install-fest for students, so the > objective is to have easy solutions for giving students access on whatever > platform

Re: [sage-support] Segmentation fault when building sage 9.8

2023-03-26 Thread Dima Pasechnik
run Sage's python: ./sage --python and once you get the prompt, do from sage.all import * I expect it to die with the same segfault, but at least you will see a bit more detailed output. Post it here. On Sun, 26 Mar 2023, 20:55 Mike, wrote: > Running > $ ./configure > $ MAKE='make -j16'

Re: [sage-support] Sage Build Failed

2023-03-20 Thread Dima Pasechnik
On Mon, 20 Mar 2023, 14:39 Henri Girard, wrote: > Good I compiled in wsl2 with lunar (ubuntu+1) I had no problem curious to > know why, > > you probably used gcc as C/C++ compiler - the problem comes up with clang used instead. > Le 20/03/2023 à 12:54, Atharva Deore a écrit : > > Thanks, Dima!

Re: [sage-support] Installation issue?

2023-03-15 Thread Dima Pasechnik
We don't do Fedora packaging. Probably they upgraded some Sage components but didn't check that they have not broken Sage in the process. :-( On Wed, 15 Mar 2023, 16:21 Dave Pawson, wrote: > > > On Wednesday, 15 March 2023 at 13:42:53 UTC Dima Pasechnik wrote: > > It

Re: [sage-support] Installation issue?

2023-03-15 Thread Dima Pasechnik
It's a Fedora bug then, not Sage's bug. On Wed, Mar 15, 2023 at 12:50 PM Dave Pawson wrote: > > Fedora, up to date. > Installed via dnf no issues > > Ran > >sage > > /data/files/python 12:38 > sage & > [2] 118045 > [1] Exit 127sagemath > /data/files/python 12:38 >

Re: [sage-support] bug column_space for IntegerModRing matrices with Sagemath9.6

2023-03-15 Thread Dima Pasechnik
On Wed, Mar 15, 2023 at 8:41 AM Rafael Robles wrote: > > I have encountered the following bug with version 9.6 of SageMath under > Ubuntu. This works perfectly in SageMath 9.1 > > Example: > > A = matrix(IntegerModRing(2) , 2, 2, [1, 0, 1, 1]) > A.column_space() > > -> The kernel appears to have

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dima Pasechnik
On Tue, Mar 14, 2023 at 7:43 PM Dew Debra wrote: > > I need to install SageMath version 9.7 in Google Colab, can this be done via > sudo apt-get install sagemath ? What exactly needs to be changed in the team? Google Colab is just a cloud UI to Python, you can't really "install" anything there.

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dima Pasechnik
of overkill. In short - you really cannot do this. > > вторник, 14 марта 2023 г. в 14:23:33 UTC+3, Dima Pasechnik: >> >> On Tue, Mar 14, 2023 at 11:06 AM Dew Debra wrote: >> > >> > Can you help me. >> > >> > I updated the cysignals module >>

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dima Pasechnik
ed 'sage.misc.lazy_import' > > Now how do I install 'sage.misc.lazy_import' ??? > > > вторник, 14 марта 2023 г. в 13:42:27 UTC+3, Dima Pasechnik: >> >> On Tue, Mar 14, 2023 at 10:38 AM Dew Debra wrote: >> > >> > >> > How exactly to install newer Sage

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

2023-03-14 Thread Dima Pasechnik
Assuming you are on macOS with homebrew installed, get Sage source and run ./bootstrap and then ./configure The latter will print brew command(s) to run in the end. HTH Dima On Tue, Mar 14, 2023 at 10:38 AM Rishitha Madhavaram wrote: > > > -- > You received this message because you are

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dima Pasechnik
On Tue, Mar 14, 2023 at 10:38 AM Dew Debra wrote: > > > How exactly to install newer Sage version (9.8 is our current > release) on Ubuntu 20.04? https://doc.sagemath.org/html/en/installation/index.html#linux The easiest might be via conda-forge:

Re: [sage-support] Getting an error in SageMath version 9.0

2023-03-14 Thread Dima Pasechnik
On Tue, Mar 14, 2023 at 10:14 AM Dew Debra wrote: > > I have a script.py that worked until today, but today it gave an error, > although when checking sage -v it says SageMath version 9.0, Release Date: > 2020-01-01 > > using ubuntu 20.04 > > on the first line is: > from sage.all import * > >

  1   2   3   4   5   6   7   8   9   10   >