[sage-support] Re: Sagecell server not working

2013-06-07 Thread Olalékan ABOU BAKAR
I get a HTTP 503 error through the virtualhost yet lsof shows what seems to be some sagecell server processes running. # lsof -i :65108 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME python 29158 root 32u IPv4 155943 0t0 TCP ip6-localhost:34780->ip6-localhost:65108

[sage-support] Sagecell server not working

2013-06-07 Thread Olalékan ABOU BAKAR
I followed the instructions here to build a sagecell server https://github.com/sagemath/sagecell Everything looks goof when I launch ../../sage web_server.py as shown below root@maths:/home/sageserver/sage-5.9/devel/sagecell# ../../sage web_server.py 2013-06-08 01:17:13,502 sagecell:INFO startin

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

2013-06-07 Thread Zimmermann Paul
you can also use Pari/GP and mpmath from Sage. See pages 312-314 of . Paul Zimmermann -- 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 em

Re: [sage-support] multiple instances of sage -notebook

2013-06-07 Thread John Cremona
On 7 June 2013 18:18, William Stein wrote: > On Fri, Jun 7, 2013 at 9:48 AM, Ursula Whitcher wrote: >> Short version of my question: >> >> What is supposed to happen when different users simultaneously invoke ./sage >> -notebook for the same installation of Sage? >> >> Long version: >> >> I have

Re: [sage-support] multiple instances of sage -notebook

2013-06-07 Thread William Stein
On Fri, Jun 7, 2013 at 9:48 AM, Ursula Whitcher wrote: > Short version of my question: > > What is supposed to happen when different users simultaneously invoke ./sage > -notebook for the same installation of Sage? > > Long version: > > I have a small research group this summer, consisting of myse

[sage-support] multiple instances of sage -notebook

2013-06-07 Thread Ursula Whitcher
Short version of my question: What is supposed to happen when different users simultaneously invoke ./sage -notebook for the same installation of Sage? Long version: I have a small research group this summer, consisting of myself and two undergraduate students. We don't need to engage in fu

[sage-support] Re: Strange behaviour for two similar functions

2013-06-07 Thread B. Zhang
OK. Thanks. On Friday, June 7, 2013 10:24:25 AM UTC+2, B. Zhang wrote: > > Hi, > > How to explain the difference between these two similar functions ? > Thansk. > > = Test 1 > F = [1,2,3] > def test1(F): > F[0] = 0 > F[1] = 0 > F[2] = 0 > print F > test1(F); F > [0, 0

Re: [sage-support] Strange behaviour for two similar functions

2013-06-07 Thread Christophe BAL
+1 2013/6/7 John Cremona > I think you need to read a python intro to see the difference between > mutable / immutable lists and similar. This is a python question, not > really a Sage question. > > John Cremona > > On 7 June 2013 09:24, B. Zhang wrote: > > Hi, > > > > How to explain the diff

Re: [sage-support] Strange behaviour for two similar functions

2013-06-07 Thread John Cremona
I think you need to read a python intro to see the difference between mutable / immutable lists and similar. This is a python question, not really a Sage question. John Cremona On 7 June 2013 09:24, B. Zhang wrote: > Hi, > > How to explain the difference between these two similar functions ? >

[sage-support] Strange behaviour for two similar functions

2013-06-07 Thread B. Zhang
Hi, How to explain the difference between these two similar functions ? Thansk. = Test 1 F = [1,2,3] def test1(F): F[0] = 0 F[1] = 0 F[2] = 0 print F test1(F); F [0, 0, 0] [0, 0, 0] === Test 2 === F = [1,2,3] def test2(F): F = [0,0,0] test2(F); F [0,