Re: [sage-support] complex numbers printing real part + imaginary part

2017-04-11 Thread Jeroen Demeyer
On 2017-04-11 18:25, Pedro Cruz wrote: Hello, sage is printing b*I + a and we want to see a + b * I Do you have a complete example? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from

Re: [sage-support] Problem compiling Sage 7.6 from source

2017-05-30 Thread Jeroen Demeyer
Is the problem reproducible, i.e. does it happen again if you rebuild Sage? Which compiler are you using? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-s

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-30 Thread Jeroen Demeyer
On 2017-05-28 14:33, Paul Leopardi wrote: Hello, I am trying to create HTML documentation for my Boolean-Cayley-graphs project ( https://github.com/penguian/Boolean-Cayley-graphs ) that uses Sage. If I try to just use Sphinx, following the instructions at https://codeandchaos.wordpress.com/2012/0

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-30 Thread Jeroen Demeyer
On 2017-05-30 15:24, Paul Leopardi wrote: Do you understand the problem yet, or do I need to explain it again in greater detail? I understand the problem, but you are focusing too much on the detail of Sphinx. The problem is unrelated to Sphinx; it has to do with your Sage/Python installation

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-31 Thread Jeroen Demeyer
I think you need to import sage.all first, before importing anything else from sage. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@go

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-31 Thread Jeroen Demeyer
On 2017-05-31 12:55, Paul Leopardi wrote: Thanks, I think I figured out what you mean. I updated conf.py to contain the following: That's not what I meant since I said that the issues you are having are unrelated to Sphinx. So by "fixing" it in Sphinx you are working around the problem, not a

Re: [sage-support] How to use Sphinx to create documentation for a project that uses Sage?

2017-05-31 Thread Jeroen Demeyer
On 2017-05-31 12:42, Paul Leopardi wrote: On Wednesday, 31 May 2017 19:39:32 UTC+10, Jeroen Demeyer wrote: I think you need to import sage.all first, before importing anything else from sage. Thanks, in which file do you mean, every Python file that uses Sage, or some specific file

Re: [sage-support] Re: Problem compiling Sage 7.6 from source

2017-06-01 Thread Jeroen Demeyer
On 2017-06-01 02:13, Bernardo Feijoo wrote: Then I tried to install again and the installation stopped with an error about linbox. I just started it again and it seems to be progressing past linbox, so I think it's making progress. I'm just gonna keep trying. This suggests a hardware problem of

Re: [sage-support] Trouble building development version

2017-06-16 Thread Jeroen Demeyer
On 2017-06-15 17:48, David Loeffler wrote: I just downloaded the sage-8.0.beta10 tarball, unpacked it, and typed 'make'. After a short interval, I got the error message below. What am I doing wrong? Do you have any unusual environment variables set? -- You received this message because you are

Re: [sage-support] Sage 8.0.beta12 Crash Report

2017-06-28 Thread Jeroen Demeyer
This is a customized version of Sage. For example, the file src/sage/dynamics/complex_dynamics/mandel_julia.py (which is causing the problems) does not exist in the official SageMath. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscr

Re: [sage-support] Troubleshooting standalone scripting issues (seeking knowledge about interpreter and preparser)

2017-07-10 Thread Jeroen Demeyer
Confirmed, this is a bug in the tutorial. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send

Re: [sage-support] Sage crash on first run - can't find the fortran compiler

2017-09-09 Thread Jeroen Demeyer
This should be fixed in the next version of Sage: https://github.com/sagemath/binary-pkg/pull/12 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+un

Re: [sage-support] Sage Crash Report

2017-10-23 Thread Jeroen Demeyer
On 2017-10-22 21:01, Jan Groenewald wrote: If you can email this file to the developers ...provided with information on how you installed Sage, what OS you are using, which version of Sage you are running, what command you ran when you got this error. Too many people think that a "Crash Repor

Re: [sage-support] Sage Crash Support

2017-10-23 Thread Jeroen Demeyer
On 2017-10-22 21:14, Alvaro Ezequiel wrote: I installed Sage correctly. When I'm going to execute it this happens and crash... What happens? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving ema

Re: [sage-support] Sage Crash Report

2017-10-25 Thread Jeroen Demeyer
This is a known problem which will be fixed for Sage 8.1 For now, you have to install gfortran from your Fedora distribution. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [sage-support] Sage Crash Report

2017-10-26 Thread Jeroen Demeyer
On 2017-10-26 10:50, Dima Pasechnik wrote: from your log: ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory installing libfortran3 will fix the problem. Or waiting for Sage 8.1 since that problem has been fixed in the mean time. -- You received this

[sage-support] Map from S.base() to S?

2017-11-27 Thread Jeroen Demeyer
I might be missing something, but is there a generic recipe in Sage to get a map from S.base() to S? I want something which works in as much generality as possible for any structure S. I feel like that should exist but I couldn't find it. -- You received this message because you are subscribed

Re: [sage-support] Re: Map from S.base() to S?

2017-11-27 Thread Jeroen Demeyer
Thanks! On 2017-11-27 10:14, Simon King wrote: Hi Jeroen, On 2017-11-27, Jeroen Demeyer wrote: I might be missing something, but is there a generic recipe in Sage to get a map from S.base() to S? I want something which works in as much generality as possible for any structure S. I feel like

Re: [sage-support] LattE failed to build

2017-12-18 Thread Jeroen Demeyer
Logs please -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@goog

Re: [sage-support] LattE failed to build

2017-12-18 Thread Jeroen Demeyer
There seems to be a problem with your networking setup. Does this help: https://superuser.com/questions/879731/osx-ssh-could-not-resolve-hostname-nodename-nor-servname-provided-or-not-kno -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsub

Re: [sage-support] avoiding startup time cost with multiple invocations

2018-01-12 Thread Jeroen Demeyer
On 2018-01-10 19:27, Vincent Delecroix wrote: Have a look at https://docs.python.org/2/extending/embedding.html Even simpler would be to use Cython to interface between C++ and Python/Sage. -- You received this message because you are subscribed to the Google Groups "sage-support" grou

Re: [sage-support] Sage Crash Report

2018-03-11 Thread Jeroen Demeyer
On 2018-03-10 12:29, Alasdair McAndrew wrote: As created just now. Enjoy! How did you get that SageMath installation on your computer? Was it a binary install, a source install, an upgrade from an earlier version? In any case, I would suggest to simply reinstall Sage. -- You received this

Re: [sage-support] Re: Error building Sage 8.1 on Ubuntu 16.04 :make: *** [all] Error

2018-03-12 Thread Jeroen Demeyer
What is /media/kiran/DRIVE1? If it's a filesystem which does not support Unix permissions, then it seems that Sage does not support that. I consider that a bug though... -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this

Re: [sage-support] Re: Error building Sage 8.1 on Ubuntu 16.04 :make: *** [all] Error

2018-03-12 Thread Jeroen Demeyer
Ticket: https://trac.sagemath.org/ticket/24953 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group,

Re: [sage-support] Has Big-Endian support been deprecated yet?

2018-03-13 Thread Jeroen Demeyer
On 2018-03-13 20:33, Kim Walisch wrote: primecount currently only supports little-endian CPUs. That sounds very fishy to me. What are you doing in your code that it supports only little-endian? If your code only works for a particular endianness, it probably means that you are nasty stuff w

Re: [sage-support] Issue compiling Cython code that uses Sage

2018-03-15 Thread Jeroen Demeyer
On 2018-03-15 13:22, Marc Mezzarobba wrote: but the variant below doesn't? That's certainly a bug: https://trac.sagemath.org/ticket/24987 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails

Re: [sage-support] ipywidgets and sage

2018-03-21 Thread Jeroen Demeyer
On 2018-03-21 10:05, Marcin Kostur wrote: Hi, How to get working ipywidgets *or @interact" when using sagemath kernel in external jupyter/jupyterlab? The problem is the version of ipywidgets in Sage must match with the version in the external jupyter. If you are using Sage 8.1, this is ipywi

Re: [sage-support] ipywidgets and sage

2018-03-21 Thread Jeroen Demeyer
On 2018-03-21 11:49, Marcin Kostur wrote: btw, will it be sufficient when major version number will match? Probably, but I cannot say for sure. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving

Re: [sage-support] Cython in jupyter notebook

2018-04-16 Thread Jeroen Demeyer
On 2018-04-15 16:08, Simon King wrote: Hi! The following cython code compiles fine in SageMath command line version and it *used* to compile fine in the jupyter notebook one year ago: Fix at https://trac.sagemath.org/ticket/25177 -- You received this message because you are subscribed to the

Re: [sage-support] Upgrade to 8.2 hangs at ncurses

2018-05-10 Thread Jeroen Demeyer
On 2018-05-10 19:38, Robert Gross wrote: I have aliased cp to "cp -i" and "mv" to "mv -i". What do you mean this *exactly*? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [sage-support] Re: PariError: bug in LLL_cmbf [no factor], please report

2018-06-12 Thread Jeroen Demeyer
I haven't managed to reproduce it in GP, I have no idea why. Typically, it's not so hard to translate a Sage bug like this to a PARI/GP bug. It must be something rather subtle. I'll try again tomorrow. I did manage to reproduce it with the PARI-in-Sage by running the attached GP script in Sage

Re: [sage-support] Re: PariError: bug in LLL_cmbf [no factor], please report

2018-06-13 Thread Jeroen Demeyer
On 2018-06-13 10:25, John Cremona wrote: THanks for looking into this Jeroen (I hoped you would). The file bug.gp you attached causes an error in the latest gp (version 2.10.0), after increasing parisizemax I get the same error message. What are the *exact steps* for reproducin

Re: [sage-support] Re: PariError: bug in LLL_cmbf [no factor], please report

2018-06-13 Thread Jeroen Demeyer
Thanks for checking. In the mean time, I guess the problem might be related to the fact that I'm using a non-default value for primelimit in GP (100 instead of 50). But if you say that the problem is fixed by the PARI upgrade, I consider this issue closed. -- You received this messag

Re: [sage-support] PARI/GP error in wrapping custom-defined PARI functions in Sage using the command gp.set()

2018-06-19 Thread Jeroen Demeyer
On 2018-06-18 09:50, am...@ma.iitr.ac.in wrote: I have a library in PARI/GP and since Sage also supports the GP calculator I have been trying to shift my library using gp.set() and gp.get() commands. So far all functions are working but I got a PARI/GP error while implementing this function in Sa

Re: [sage-support] Re: building documentation: says I should use a sage shell, but i am

2018-06-19 Thread Jeroen Demeyer
On 2018-06-18 05:54, Matthew Lancellotti wrote: sage-7.6-Ubuntu_14.04-x86_64.tar.bz2 Do you have a good reason to use an outdated version of Sage? Version 8.2 has been released. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

Re: [sage-support] Re: building documentation: says I should use a sage shell, but i am

2018-06-19 Thread Jeroen Demeyer
On 2018-06-18 04:22, Matthew Lancellotti wrote: I am able to get around the first error by commenting out the try catch loop in conf.py: Which conf.py file are you talking about? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

Re: [sage-support] Sage crashes on start

2018-07-19 Thread Jeroen Demeyer
On 2018-07-18 05:58, 'Naturelover' via sage-support wrote: I just installed SageMath 7.6 Why such an old version? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: [sage-support] much memory is used...

2018-10-08 Thread Jeroen Demeyer
On 2018-10-08 13:19, Thierry Dumont wrote: So my list should use less than 1gb, if it phi was a C array. But it's not a C array. There is overhead for Python garbage collection, the Sage parent, the Cython virtual method table... If you really want a C array, use array.array or numpy. -- Yo

Re: [sage-support] much memory is used...

2018-10-09 Thread Jeroen Demeyer
On 2018-10-08 14:28, Dima Pasechnik wrote: Can you use array.array on anything that's not a primitive Python type? I don't know what you mean with "primitive Python type". Anyway, it supports various kinds of basic C types (like double for example). Docs here: https://docs.python.org/2/libr

Re: [sage-support] much memory is used...

2018-10-09 Thread Jeroen Demeyer
On 2018-10-09 12:00, Dima Pasechnik wrote: Well, primitive, as opposed to added by Sage. E.g. I suppose one cannot use it for RDF. If you really want to get elements of RDF, you could use a Sage vector instead. -- You received this message because you are subscribed to the Google Groups "s

Re: [sage-support] A case of immaculate conception...

2019-03-19 Thread Jeroen Demeyer
On 2019-03-19 12:52, Emmanuel Charpentier wrote: Defining a symbolic function seems to declare its arguments. I tend to think that everything on the left of the '=' sign in an assignment is stuff that is assigned to. So (a, b, c) = range(3) assigns to a, b and c. R. = ZZ[] assigns to

Re: [sage-support] Interface to 4ti2

2019-03-19 Thread Jeroen Demeyer
On 2019-03-20 05:21, 'benyamin alizade' via sage-support wrote: When I run |sage -i 4ti2, it returns that -i is an unknown option for sage. What happens *exactly*? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group

Re: [sage-support] I absolutely dont know why but i am getting an error.

2019-04-17 Thread Jeroen Demeyer
On 2019-04-17 09:32, Oliver Thiel wrote: Hello, I absolutely dont know why but i am getting an error. What did you do? What happened *exactly*? See also https://www.chiark.greenend.org.uk/~sgtatham/bugs.html -- You received this message because you are subscribed to the Google Groups "sage-

Re: [sage-support] Re: Computing a Groebner Basis (singular algorithm) raises an error

2019-05-27 Thread Jeroen Demeyer
On 2019-05-27 16:11, Tracy Hall wrote: in particular it seems to have undefined behavior in subsequent calls after it has been interrupted by alarm(). This is simply a fact of life and not really considered to be a bug. You should not rely on the fact that interruptions (using either CTRL-C or

Re: [sage-support] cypari fails to build on Ubuntu 18.04

2019-06-17 Thread Jeroen Demeyer
Internal compiler error typically means one of the following: - Running out of memory during compilation - Buggy compiler - Hardware problem So the following questions need to be answered: 1. Is the problem reproducible? What happens when you try again? 2. Is this a machine with little memory o

Re: [sage-support] cypari fails to build on Ubuntu 18.04

2019-06-18 Thread Jeroen Demeyer
On 2019-06-18 15:16, Kevin Horton wrote: 2. It is quite possible low memory is the issue, as I'm trying to install it on a Linode virtual server with 1 GB RAM. Yes, that's probably not enough for a big compilation. I would recommend at least 4GB of RAM, but you may get away with 2GB... at leas

Re: [sage-support] latex and hold parameter

2015-01-20 Thread Jeroen Demeyer
On 2015-01-20 17:27, Dan Drake wrote: On Fri, 16 Jan 2015 at 09:57AM -0800, Pedro Cruz wrote: An unexpected behaviour in latex() command (both 5.12 and 6.4 Sage versions): sage: latex( 120/factorial(5,hold=True) ) \frac{120}{120} sage: latex( factorial(5,hold=True) ) 5! We need to "hold" t

Re: [sage-support] Why cannot Sage run as a native application on Windows

2015-01-23 Thread Jeroen Demeyer
On 2015-01-23 22:19, Dr. David Kirkby (Kirkby Microwave Ltd) wrote: But I think you should elaborate a bit more since the question was about Cygwin. I think the original question was native on Windows, i.e. without Cygwin. This was clarified in a follow-up post. Sage on Windows using Cygwin wo

Re: [sage-support] Execute system commands from notebook()

2015-01-26 Thread Jeroen Demeyer
On 2015-01-26 03:53, drazi...@gmail.com wrote: I noticed that someone can execute system commands in a sage notebook server. For instance sage:import os sage:os.system('ifconfig') Is there any way to disable this? No. -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] Unable to import "from sage.numerical.mip import MixedIntegerLinearProgram"

2015-01-28 Thread Jeroen Demeyer
On 2015-01-28 19:03, Eric Parent wrote: from sage.all import * You don't actually have to import * The following would also work: import sage.all from sage.numerical.mip import MixedIntegerLinearProgram Or even from sage.all import MixedIntegerLinearProgram Anybody has hints on why this is

Re: [sage-support] Re: Sage and latest debian problem

2015-01-29 Thread Jeroen Demeyer
On 2015-01-29 10:00, Rahul Wani wrote: Even I have similar problem. Even I have installed latest binutils library Which version is the "latest" binutils? Debian's latest might not be latest enough. -- You received this message because you are subscribed to the Google Groups "sage-support" gro

Re: [sage-support] copying a matrix

2015-03-04 Thread Jeroen Demeyer
On 2015-03-04 09:48, John Cremona wrote: What is the simplest way to do this. I have a matrix M (square and over ZZ, but that is not so important). I want to make another matric of the same size & base. I have not explicitly constructed the associated matrix space, but I know that I can get it

Re: [sage-support] Re: Apparently wrong results for (integer) is_prime!

2015-03-09 Thread Jeroen Demeyer
On 2015-03-09 12:04, Jori Mantysalo wrote: When has this changed? Why? I changed this in http://trac.sagemath.org/ticket/17538 The main motivation was to have an is_prime() method for elements of the ring of integers of a number field, such as ZZ[sqrt(-1)]. Since primality checking of ideals

Re: [sage-support] Apparently wrong results for (integer) is_prime!

2015-03-09 Thread Jeroen Demeyer
See http://trac.sagemath.org/ticket/17919 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send

Re: [sage-support] Re: Apparently wrong results for (integer) is_prime!

2015-03-09 Thread Jeroen Demeyer
On 2015-03-09 17:30, John Cremona wrote: we do not have a type or class for "element of the ring of integers of a number field" We do have order elements: sage: type(QuadraticField(-1).ring_of_integers()(1)) 'sage.rings.number_field.number_field_element_quadratic.OrderElement_quadratic'> -- Y

Re: [sage-support] Error building Sage

2015-03-17 Thread Jeroen Demeyer
Please provide this file and also mention your operating system. On 2015-03-17 13:49, Ankur Omar wrote: log file: /home/ankuromar/sage-6.5/logs/pkgs/gcc-4.9.2.p1.log -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this gro

Re: [sage-support] Re: Error building Sage

2015-03-17 Thread Jeroen Demeyer
This is suspicious, it looks like a problem on your system. ranlib: libbackend.a: Error reading dwarf2out.o: Input/output error What happens if you try the build again? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this g

Re: [sage-support] running a .spyx file?

2015-03-23 Thread Jeroen Demeyer
On 2015-03-23 02:57, John H Palmieri wrote: Did running a .spyx file break? If I have a file "testing.spyx' containing import sage.all sage.all.ZZ and then I run 'sage testing.spyx', I get an error: AttributeError: 'module' object has no attribute 'all' As a work-around, adding "imp

Re: [sage-support] Re: memory leak when building sage-6.6.rc0

2015-03-27 Thread Jeroen Demeyer
On 2015-03-26 20:09, Volker Braun wrote: Thats probably not enough for a parallel build. Try: MAKE='make -j1' make I don't think the original poster was using a parallel build (at least I see no evidence of this). -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] memory leak when building sage-6.6.rc0

2015-03-27 Thread Jeroen Demeyer
On 2015-03-26 19:23, bogdane...@gmail.com wrote: PC: 2GB RAM + 4GB swap, CPU: Intel Celeron N2830 If you have *2GB* of RAM and the Python process needs *1GB*, then there should be no problem. Just make sure you close everything else on that machine while Sage is building and then things shoul

Re: [sage-support] Re: Whats wrong with my function syntax?

2015-04-02 Thread Jeroen Demeyer
On 2015-04-02 16:02, kcrisman wrote: We could translate en dash into hypen on the commandline to avoid that surprise... Interesting idea, though what if it was intended in something, such as a plot legend? The preparser never changes strings, so that's not an issue. -- You received t

Re: [sage-support] Re: How do I backup my notebook files? The SAGE notebook will not open...

2015-04-06 Thread Jeroen Demeyer
On 2015-04-06 15:27, kcrisman wrote: That's an error I haven't seen before, especially since it's supposed to BE a directory. Do you know what this rename() command is supposed to accomplish? The manpage of rename(2) says oldpath can specify a directory. In this case, newpath must either not

Re: [sage-support] sage 6.6: error building r

2015-04-15 Thread Jeroen Demeyer
On 2015-04-15 16:46, Buck Evan wrote: Full details are here: http://paste.pound-python.org/show/9mou1V2L8kJPOg3ztHcb/ I can't help with this problem, but as a general rule, it's much easier to debug a build with "make -j1". -- You received this message because you are subscribed to the Google

Re: [sage-support] safe conversion of python object to C long

2015-05-03 Thread Jeroen Demeyer
On 2015-05-03 22:47, Vincent Delecroix wrote: Hello, How do we convert Python object to a C long in Cython? The following does not work properly as rationals or float gets converted (to their floor) def f(u): cdef long u_long = u Well, Cython gave you what you asked for :-) Cython consi

Re: [sage-support] safe conversion of python object to C long

2015-05-03 Thread Jeroen Demeyer
On 2015-05-03 23:04, Vincent Delecroix wrote: If u is an instance of an extension class that properly defines __index__, does the above call avoids the creation of an intermediate Python int? No, there will be a Python int created and I don't think it is possible to skip this in Python. -- You

Re: [sage-support] Two possible bugs in number fields

2015-05-04 Thread Jeroen Demeyer
On 2015-05-04 14:39, Bruno Grenet wrote: Dear all, 1. In number fields, some elements are considered as prime, which is not mathematically correct: | sage:S.=NumberField(x^2+5) sage:S(11).is_prime() True This is really due to S.ideal(11) returning a *fractional* ideal. I

Re: [sage-support] QEPCAD interface leaving defunct processes/not closing descriptors/limit on QEPCAD queries

2015-05-06 Thread Jeroen Demeyer
On 2015-05-05 00:54, Henrique Nazaré Santos wrote: SAGE is failing to reap QEPCAD processes, leaving a defunct process for each spawned QEPCAD instance. See http://trac.sagemath.org/ticket/17686 -- You received this message because you are subscribed to the Google Groups "sage-support" group.

Re: [sage-support] Sage math on CentOS 6

2015-05-28 Thread Jeroen Demeyer
On 2015-05-28 11:41, Jernej wrote: It is a bit messy to debug the compilation errors since I do not have access to the system and I'd have to get this info from the admins back and forth. Can you ask for all the log files (the contents of the logs/ directory) of the attempt to install Sage 6.7

Re: [sage-support] What is the fastest way to invert large matrices in Sage?

2015-06-10 Thread Jeroen Demeyer
On 2015-06-11 00:19, Phoenix wrote: I am typically dealing with very sparse matrices. I don't think that sparseness helps with computing inverses. So just compute the inverse as usual: if M is your matrix, the inverse is M^-1 You could always try to change your algorithm to avoid taking invers

Re: [sage-support] About finding roots of polynomials in specific domains

2015-06-12 Thread Jeroen Demeyer
On 2015-06-11 17:26, Phoenix wrote: I have two polynomials $p(x)$ and $q(x)$ and I want to know if there are roots of the equation $\frac{p'}{p} = \frac{q'}{q}$ in the domain $(a,\infinity)$ - where $a = max \{ roots(p),roots(q) \}$ This is the same as asking for the roots of the polynomial, $p'

Re: [sage-support] Downloads incomplete during build

2015-06-18 Thread Jeroen Demeyer
On 2015-06-18 12:49, reinbot wrote: Hi all, I have a problem building an older version of sage (6.6): I think that building those old versions from git is no longer supported, many things have changed recently in the website/mirror layout. -- You received this message because you are subscr

Re: [sage-support] Cython Error: Cannot call a static method on an instance variable.

2015-06-18 Thread Jeroen Demeyer
No idea, it looks like this is simply not supported: https://github.com/cython/cython/blob/master/Cython/Compiler/ExprNodes.py#L4659 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from i

Re: [sage-support] cython cimport of Expression

2015-06-30 Thread Jeroen Demeyer
This is a bug indeed: http://trac.sagemath.org/ticket/18825 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to

Re: [sage-support] Odd problem but I'm a sage newbe

2015-08-30 Thread Jeroen Demeyer
On 2015-08-31 00:55, charles hejkal wrote: For whatever reason I must have mistyped the user name on initialization of sage the first time through. now it fails to recognize my user name,even where I change passwords. What exactly are you trying to do? If you just use Sage as a single user on a

Re: [sage-support] Crashreport sagemath-6.5-7

2015-08-31 Thread Jeroen Demeyer
On 2015-08-30 16:15, Germano Massullo wrote: I attach the following crashreport Downstream bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=1258249 It looks like a version mismatch between Sage and IPython, try upgrading IPython. It's hard to give more details, since I don't quite know w

Re: [sage-support] Sage crash report

2015-09-22 Thread Jeroen Demeyer
There is your problem, you need IPython 3.x or later: On 2015-09-18 14:39, Stefano Facchini wrote: 'ipython_version': '2.4.1', -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, s

Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-10 Thread Jeroen Demeyer
On 2015-10-10 21:24, Emmanuel Charpentier wrote: In [2]: %display simple solve(x^2+1==0,x,to_poly_solve="force") Out[2]: [] Huh ? Works for me... In any case, it would be very unlikely that a Sage command actually gives different output in the command line and in the Jupyter notebook. --

Re: [sage-support] 6.9rc3 : Ipython notebook seems seriously out of whack.

2015-10-11 Thread Jeroen Demeyer
On 2015-10-11 18:30, HG wrote: I did the same with sage 6.9 and sagemanifold, some command are working other not. I got this message if I try a worksheet done : Failed to retrieve MathJax from '../nbextensions/mathjax/MathJax.js' Probably there is something wrong with your installatio

Re: [sage-support] How to circumwent crash reports?

2015-10-15 Thread Jeroen Demeyer
On 2015-10-14 20:06, Wolfgang Jansen wrote: The question is, how can I get sage running in a way that I can continue work? Did you properly build Sage, i.e. did you run "make"? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe fr

Re: [sage-support] Ipython notebook : mathjax availability depends on the way one starts sage...

2015-10-22 Thread Jeroen Demeyer
On 2015-10-22 14:57, Emmanuel Charpentier wrote: │ SageMath Version 6.10.beta0, Release Date: 2015-10-15 │ This version doesn't have the latest Jupyter fixes, please try again with Sage 6.10.beta1. -- You received this message because you are subscribed to the Google Groups "sa

Re: [sage-support] Is there a way to install the sage kernel in a (system-wide, possibly remote) Jupyter ?

2015-10-22 Thread Jeroen Demeyer
On 2015-10-22 15:02, Emmanuel Charpentier wrote: Is there a way to install the Sage kernel (with its extensions such as preparser, graphics, etc...) in a Jupyter/Python3 installation ? Sure, just copy the directories $SAGE_LOCAL/share/jupyter and $SAGE_LOCAL/etc/jupyter to your favourite Jupyter

Re: [sage-support] Ipython notebook : mathjax availability depends on the way one starts sage...

2015-10-22 Thread Jeroen Demeyer
On 2015-10-23 07:26, Emmanuel Charpentier wrote: Same result, alas... Works for me, there must be something wrong with your configuration. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving email

Re: [sage-support] Ipython notebook : mathjax availability depends on the way one starts sage...

2015-10-23 Thread Jeroen Demeyer
Now I am *totally* confused. Can you please just reboot this thread, i.e. pretend that I haven't read anything of this thread and explain from scratch what your setup is and what your problem is. -- You received this message because you are subscribed to the Google Groups "sage-support" group.

Re: [sage-support] Is there a way to install the sage kernel in a (system-wide, possibly remote) Jupyter ?

2015-10-23 Thread Jeroen Demeyer
On 2015-10-23 10:50, Emmanuel Charpentier wrote: Thanks ! Symlinking $SAGE_LOCAL/share/jupyter/sagemath/jupyter/kernels/sagemath and $SAGE_LOCAL/share/jupyter/nbextensions/* in the relevant systemwide directory (/usr/local/share/jupyter on a Debian installation) worked as expected. Note that I di

Re: [sage-support] Ipython notebook : mathjax availability depends on the way one starts sage...

2015-10-23 Thread Jeroen Demeyer
On 2015-10-23 18:19, Emmanuel Charpentier wrote: I have a Sagemath (currently 6.10beta1) installation in /usr/local/sage. Just to be clear from the start: you did run "make", right? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscrib

Re: [sage-support] Ipython notebook : mathjax availability depends on the way one starts sage...

2015-10-23 Thread Jeroen Demeyer
On 2015-10-23 21:22, Emmanuel Charpentier wrote: Le vendredi 23 octobre 2015 20:18:31 UTC+2, Jeroen Demeyer a écrit : On 2015-10-23 18:19, Emmanuel Charpentier wrote: > I have a Sagemath (currently 6.10beta1) installation in /usr/local/sage. Just to be clear from the start:

Re: [sage-support] sudden amnesia in sage worksheet

2015-10-28 Thread Jeroen Demeyer
On 2015-10-28 09:18, Stan Schymanski wrote: Dear all, I ran a series of computations in a sage workheet using the "Evaluate all" button, which takes a whole night. When I checked this morning, I realised that while running a particular cell towards the end, the computation was aborted half way t

Re: [sage-support] Re: How can one recompile a standard package (without rebuilding the whole thing) ?

2015-10-28 Thread Jeroen Demeyer
On 2015-10-28 18:32, John H Palmieri wrote: (although there is an open ticket which would make ./configure unnecessary). That's #19443, which needs review. -- 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] Re: Using Sage in C++

2015-11-17 Thread Jeroen Demeyer
On 2015-11-17 06:14, Nils Bruin wrote: It's very easy to write a sage program that's listening on one pipe for input (in whatever format you require--you can make it binary if you want) and write output on another, i.e. just a little server. You could try to use 0MQ for this. It has bindings fo

Re: [sage-support] %runfile DeprecationWarning

2015-11-24 Thread Jeroen Demeyer
On 2015-11-23 15:08, steven roumajon wrote: Running %runfile with quotes around the filename launches a DeprecationWarning. Yes, because it's deprecated. You're supposed to type %runfile filename/without/quotes -- You received this message because you are subscribed to the Google Groups "sag

Re: [sage-support] Re: False versus Unknown

2015-12-02 Thread Jeroen Demeyer
On 2015-12-02 00:23, Volker Braun wrote: IMHO undecidability has exception semantics so really there is only one correct solution, namely raise. Otherwise you get sage: foo() == bar() # haha both Unknown True But we can override __eq__ (or __richcmp__), so it could be sage: foo() == bar()

Re: [sage-support] Custom Symbolic Expressions / n-th root of unity

2015-12-08 Thread Jeroen Demeyer
To elaborate on what Nils said, the following two conditions are incompatible: * xi.parent() == CC * (exp(2 * pi * I / n) == xi_n) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from

Re: [sage-support] Re: Custom Symbolic Expressions / n-th root of unity

2015-12-09 Thread Jeroen Demeyer
On 2015-12-09 12:22, Johannes wrote: Some more Information about the general setting: I play around with actions of finite groups on a polynomial ring acting by multiplication with a power of the n-th root of unity. Interesting. But then, why do you care so much about the condition exp(2 * pi *

Re: [sage-support] Re: Cython and PARI avma

2015-12-09 Thread Jeroen Demeyer
On 2015-12-10 03:25, Nils Bruin wrote: Looks like standard python scoping rules to me Right. However, I must agree with Vincent that those rules can be confusing. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group

Re: [sage-support] Expressions have an "abs()" (complex modulus) method, but not "arg()" (complex argument). Why ?

2015-12-19 Thread Jeroen Demeyer
On 2015-12-18 15:24, Emmanuel Charpentier wrote: I tend to suppose that this is *NOT* an oversight Why? My guess is that the method does not exist because nobody bothered to add it. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscri

Re: [sage-support] Re: Global variables called in a function

2015-12-21 Thread Jeroen Demeyer
On 2015-12-21 16:38, Carl Eberhart wrote: I admit I don't understand what is happening in the following snippit: def f(): t=var('t') t=5 a=2*t return a Solution: never use var() in a function. If you do need a symbolic variable in a function (note that you don't in the sni

Re: [sage-support] Re: Global variables called in a function

2015-12-21 Thread Jeroen Demeyer
On 2015-12-22 01:11, Carl Eberhart wrote: Thanks I guess I don't understand the difference between a python variable and a symbolic variable. A symbolic variable is a symbol or letter in the mathematical sense. It is like the "x" appearing in mathematical formulas like sin(x)^2 + cos(x)^2 ==

Re: [sage-support] Packages needed for self-compiled Sage on Ubuntu

2016-01-06 Thread Jeroen Demeyer
On 2016-01-06 11:10, Jori Mäntysalo wrote: Is there a list somewhere on Ubuntu packages that are needed to install fully working Sage from source? The hard part here is defining "fully working". -- You received this message because you are subscribed to the Google Groups "sage-support" group.

Re: [sage-support] Packages needed for self-compiled Sage on Ubuntu

2016-01-06 Thread Jeroen Demeyer
On 2016-01-06 11:36, Jori Mäntysalo wrote: "Everything that is supposed to work without optional packages (installed with sage -i) really works."? That doesn't help. It just reformulates the problem to defining "supposed to work without optional packages". -- You received this message becaus

Re: [sage-support] redirecting input and output to Sage

2016-01-23 Thread Jeroen Demeyer
On 2016-01-22 22:55, Luis Finotti wrote: sage tmp.sage >out This should be the right way. then it takes the supposed amount of time, but the "print i" is not redirected to file out until the loop is completely done or the script is done... You need to flush the output if you want it to appea

  1   2   3   4   >