[sage-support] Re: Sage 5.9 build issue with Singular on Slackware

2013-06-23 Thread leif
setting CPP)? Cheers, -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- 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

[sage-support] Re: Problem installing 5.10 withy ppa on Ubuntu 13.04

2013-06-22 Thread leif
version of it) included in the PPA distro? -leif Before this I get: Removing /usr/lib/sagemath/local/lib/python2.7/site-packages/SciTools_-1.0-py2.7.egg-info Writing /usr/lib/sagemath/local/lib/python2.7/site-packages/SciTools_-1.0-py2.7.egg-info cp: impossible de créer le fichier standard

[sage-support] Re: Sage 5.10 released - no bdist for 32-bit Precise

2013-06-20 Thread leif
... ;-) ) -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- 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

[sage-support] Re: Ellipsis suddenly appears?

2013-06-17 Thread leif
, 6.00] Especially try preparse() of both; the latter returns a generator, while the former returns a list. I'm not sure what suddenly was meant to say; did the behaviour differ in previous versions of Sage? (It doesn't in Sage 5.8, nor 5.2, say.) -leif -- () The ASCII Ribbon Campaign

[sage-support] Re: 5.9 build issue (source build)

2013-06-13 Thread leif
leif wrote: arojas wrote: El miércoles, 12 de junio de 2013 23:01:52 UTC+2, leif escribió: What does, in a Sage subshell ('./sage --sh'), the following give? $ echo '#include gmp.h' gen_cf_gmp.cc $ $CXX -I$SAGE_LOCAL/include -M gen_cf_gmp.cc | grep gmp.h /opt/sage/local

[sage-support] Re: 5.9 build issue with Singular and bits/c++config.h

2013-06-12 Thread leif
if it didn't have bits/c++config.h at all. Before you make further attempts, could you save the offending cf_gmp.h (and the corresponding config.log, from spkg/build/singular-*/src/factory/ I think)? -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message

[sage-support] Re: 5.9 build issue (source build)

2013-06-12 Thread leif
(formerly in $SAGE_ROOT/spkg/logs/). -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- 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

[sage-support] Re: 5.9 build issue with Singular and bits/c++config.h

2013-06-12 Thread leif
leif wrote: chexmix wrote: In file included from ../kernel/si_gmp.h:4:0, from ../kernel/structs.h:15, from weight0.c:13: ../factory/cf_gmp.h:2501:28: fatal error: bits/c++config.h: No such file or directory #include bits/c++config.h

[sage-support] Re: 5.9 build issue with Singular and bits/c++config.h

2013-06-12 Thread leif
leif wrote: What does, in a Sage subshell ('./sage --sh'), the following give: $ echo '#include gmp.h' gen_cf_gmp.cc $ $CXX -M gen_cf_gmp.cc | grep gmp.h Oh, forgot: And what does in contrast $ $CXX -I$SAGE_LOCAL/include -M gen_cf_gmp.cc | grep gmp.h give? -leif (Do that in some

[sage-support] Re: 5.9 build issue (source build)

2013-06-12 Thread leif
gmp.h Thanks, -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- 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

[sage-support] Re: Capturing output, was: 5.9 build issue (source build)

2013-06-12 Thread leif
Stephen Montgomery-Smith wrote: On 06/12/2013 11:04 AM, leif wrote: chexmix wrote: I ran a script session to capture the build output. P.S.: You don't have to do that. There's $SAGE_ROOT/logs/install.log (cumulative, usually mostly unreadable when 'make' is run with multiple jobs

[sage-support] Re: 5.9 build issue (source build)

2013-06-12 Thread leif
arojas wrote: El miércoles, 12 de junio de 2013 23:01:52 UTC+2, leif escribió: What does, in a Sage subshell ('./sage --sh'), the following give? $ echo '#include gmp.h' gen_cf_gmp.cc $ $CXX -I$SAGE_LOCAL/include -M gen_cf_gmp.cc | grep gmp.h /opt/sage/local/include/gmp.h /usr

[sage-support] Re: solve() free variable substitution

2013-06-12 Thread leif
.) Tedious, of course... A /bit/ more automated: sage: var(','.join([str(v) for v in a[0].variables()])) or rather sage: var(','.join([str(v) for v in a[0].rhs().variables()])) To replace all occurrences, you can then e.g. also do sage: [ eqn.subs(z38=3) for eqn in a ] -leif -- () The ASCII

[sage-support] Re: solve() free variable substitution

2013-06-12 Thread leif
leif wrote: robin hankin wrote: hello, sage 5.9 If solve() gives an unspecificed integer, how do I substitute a particular value into the expression? subs() does not work as expected/desired because the free variables don't seem to be defined. sage: a=solve(sin(x)==0,x,to_poly_solve='force

[sage-support] Re: solve() free variable substitution

2013-06-12 Thread leif
kcrisman wrote: On Wednesday, June 12, 2013 8:09:02 PM UTC-4, leif wrote: robin hankin wrote: hello, sage 5.9 If solve() gives an unspecificed integer, how do I substitute a particular value into the expression? subs() does not work as expected/desired

[sage-support] Re: Sage Speed Issues

2013-06-11 Thread leif
]: ... is identical to for M in [1..N]: ... since (e.g.) [1..0] yields the empty list. -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving

[sage-support] Re: Getting __name__ (or similar) of load-ed script?

2013-06-09 Thread leif
of them. -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- 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

[sage-support] Re: Getting __name__ (or similar) of load-ed script?

2013-06-09 Thread leif
leif wrote: Emil wrote: I'd like to know if it's possible to get the filename of a script that's been run using the load or attach command at the sage: prompt. If I insert a print __name__ in the script I just get __main__. I know __name__ isn't the right thing, since I'm not dealing

[sage-support] Re: syntax error trying to run Sage 5.9 on OSX lion

2013-06-09 Thread leif
into some folder of an older one. -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- 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

[sage-support] Re: Getting __name__ (or similar) of load-ed script?

2013-06-09 Thread leif
Emil wrote: Thanks Leif. inspect.getfile() doesn't seem to do what I want. The situation is that I have a number of scripts, s1.sage, s2.sage, etc, and I'd like them to be able to write to a '.js' file with the same name as their filenames, e.g. s3.sage would write to s3.js, etc. I thought I

[sage-support] Re: Why in .sage |try: Nf.v=NumberField(Z**2 -D)| fails with syntax error but works on new line ?

2013-06-08 Thread leif
Georgi Guninski wrote: This fails with syntax error, but works if Nf.v is on new line: K.Z=ZZ[] for D in [ 1 .. 20]: try: Nf.v=NumberField(Z**2-D) except Exception,e: print e That's a Sage preparser bug, but it's bad style anyway... ;-) -leif

[sage-support] Re: Can Sage do high-precision polynomial integration?

2013-06-06 Thread leif
-leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- 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

[sage-support] Re: Can Sage do high-precision polynomial integration?

2013-06-06 Thread leif
leif wrote: Mike wrote: Is it possible (in Sage 5.9) to do high-precision simple integration (e.g. of polynomials)? The following is an example of what doesn't work: while the coefficients of q are known to 30 digits, the coefficients of the integrals are known to at most 15. a=RealField(100

[sage-support] Re: how to keep up to a certain degree of a multivariate polynomial?

2013-06-04 Thread leif
sage: f.truncate(x,3) x^2*y^4 + x*y + x + y + 1 sage: f.truncate(x,3).truncate(y,3) x*y + x + y + 1 -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group

[sage-support] Re: Unexpected EOF while looking for matching `''?

2013-06-03 Thread leif
Volker Braun wrote: socket.gethostname() returns illegal hostname, thats great. Apple, what the heck! ROFL. I first thought the apostrophe may come from the path of the Sage installation. Worth a ticket? -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received

[sage-support] Re: Unexpected EOF while looking for matching `''?

2013-06-03 Thread leif
Volker Braun wrote: On Monday, June 3, 2013 8:47:17 AM UTC+1, leif wrote: Worth a ticket? Not sure; Apparently OSX does escape illegal characters usually, though clearly some people get bitten by this. Might be dependent on whether the name was entered during installation / upgraded from

[sage-support] Re: Unexpected EOF while looking for matching `''?

2013-06-03 Thread leif
setting up / invoking shell commands I think) where we could run into trouble. For starters, you just broke the sage cleaner again. ? I just quoted the changes that have been made. -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-27 Thread leif
: No module named _ssl Install OpenSSL and rebuild Python. I.e., in the VM do: $ sudo apt-get install libssl-dev $ ./sage -f spkg/standard/python-* -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- You received this message because you are subscribed to the Google Groups

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-19 Thread leif
*think* a binary distribution might work as well, but I'm not sure.) -leif I am running this on a kubuntu virtual machine (VMWare) but I don't see that should matter. Is there another way to achieve this? Can I just download and unzip the archive? If this is the case, where do I unzip it to? Any

[sage-support] Re: Problem with Sage 5.9 on startup

2013-05-16 Thread leif
installation is probably better (safer and less error-prone) as well. Just to make sure: Does /usr/share/sage-5.9/devel/sagenb/sagenb/misc/sphinxify.py exist? -leif === -- | Sage

[sage-support] Re: Cardinality of 512-bit curve

2013-05-15 Thread leif
package for this, for convenience? (It would also be slightly smaller than PARI's .tgz ...) -leif On Wednesday, May 15, 2013 8:07:48 PM UTC+8, John Cremona wrote: On 15 May 2013 10:47, John Cremona john.c...@gmail.com The PARI package in Sage only has the small database of modular

[sage-support] Re: problem applying patches

2013-05-15 Thread leif
(i.e., there's a version in $SAGE_ROOT/local/bin/), just to sort out such issues. -leif On Wednesday, May 15, 2013 2:28:33 PM UTC-5, John H Palmieri wrote: On Wednesday, May 15, 2013 12:08:57 PM UTC-7, Ben wrote: I am trying to help someone install patches on their sage

[sage-support] Re: problem applying patches

2013-05-15 Thread leif
middle columns, which is CR LF in hexadecimal notation.) -leif -- () The ASCII Ribbon Campaign /\ Help Cure HTML E-Mail -- 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

[sage-support] Does anyone use SAGE_LOAD_ATTACH_PATH?

2013-05-14 Thread leif
in /Sage's/ documentation, and on #14523 [1], we're wondering whether it could/should be removed, although this would presumably be done on another ticket.) -leif [1] http://trac.sagemath.org/sage_trac/ticket/14523#comment:13 ff. [2] http://sagemath.org/doc/reference/misc/sage/misc

[sage-support] Re: Ticket # 5310 and related issues

2011-10-31 Thread leif
, which could speed up things significantly if you call it repeatedly. It could also (optionally) use PARI's prime table instead of a modulo-30 wheel. -leif -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr

[sage-support] Re: Fwd: sage broken on latest ubuntu; solutions

2011-10-31 Thread leif
and/or Ubuntu 11.10). (For earlier Sage versions, i.e. 4.7.1 and some 4.7.2.alpha*, a different Symmetrica spkg is needed as well as setting LDFLAGS=-ldl for the Singular 3-1-1-4 spkg.) The R/readline issue is meanwhile tracked at http://trac.sagemath.org/sage_trac/ticket/11970 . -leif -- To post

[sage-support] Re: sagenb issues

2011-10-27 Thread leif
swapping, which of course slows down the build process or may even freeze your machine [at least for a while].) [I'm not sure whether that's mentioned anywhere in the Sage documentation, but rather doubt it is.] -leif [1] http://www.gnu.org/software/make/manual/make.html#Options-Summary -- To post

[sage-support] Re: sagenb issues

2011-10-27 Thread leif
On 27 Okt., 19:12, Volker Braun vbraun.n...@gmail.com wrote: On Thursday, October 27, 2011 11:01:19 AM UTC-4, leif wrote: Setting MAKE to make -jN when (re-)building Sage doesn't limit the *total* number of build jobs to N; It does limit the total number of build jobs within the current

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-27 Thread leif
On 28 Okt., 01:51, Eric Kangas eric.c.kan...@gmail.com wrote: plot([derivative((f(x), a) for a in [0,1,..3]], (x,0,2*pi), color = ()) Just curious: Any reason to use [0,1,..3] instead of just [0..3] or even the pure Python syntax: range(4) ? -leif -- To post to this group, send email

[sage-support] Re: Issues with assigning color values to multiple plots.

2011-10-27 Thread leif
] sage: srange(0.0,pi+pi/3,pi/3.0) [0.000, 0.333*pi, 0.667*pi, pi] -leif -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit

<    1   2