Re: [sage-devel] Re: SAGE64 + linux, SAGE64 in general

2010-11-21 Thread Peter Jeremy
On 2010-Nov-20 19:09:00 -0800, John H Palmieri wrote: >Is that the compiler flag "-m64" has no effect on other systems? Some >spkg-install files just check whether SAGE64 is set, not the platform, >and then they add -m64 to the flags. So if that does anything on >linux, then SAGE64 can be used o

[sage-devel] Re: Severe slowness of singular interface on some machines partially caused by _synchronize

2010-11-21 Thread Simon King
Hi Dima! On 22 Nov., 06:09, Dima Pasechnik wrote: > Are we talking about the same kernels? > The kernel de-commit described in the post was done in 2009, > and it's not clear to me whether this has made it into > production kernels already. > (almost certainly not into Debian stable...) Sorry, q

Re: [sage-devel] Re: Slowness of www.sagenb.org

2010-11-21 Thread William Stein
On Sun, Nov 21, 2010 at 7:13 PM, Eviatar wrote: > Ah, the culprit was the preparser. Thank you; disregard my previous > comments. No problem. I bet somebody else will find this message in the archives later or via a search, and it will help them out. Also, your example is a good handy example to

[sage-devel] Re: Severe slowness of singular interface on some machines partially caused by _synchronize

2010-11-21 Thread Dima Pasechnik
Are we talking about the same kernels? The kernel de-commit described in the post was done in 2009, and it's not clear to me whether this has made it into production kernels already. (almost certainly not into Debian stable...) Dima On Nov 22, 3:20 am, Simon King wrote: > Hi all! > > At ticket #

[sage-devel] Re: Slowness of www.sagenb.org

2010-11-21 Thread Eviatar
Ah, the culprit was the preparser. Thank you; disregard my previous comments. On Nov 21, 6:50 pm, William Stein wrote: > On Sun, Nov 21, 2010 at 4:53 PM, Eviatar wrote: > > It is actually slower, not just feels like it. Here is a specific > > example: > > > On Sage Notebook (locally): > > > "fro

Re: [sage-devel] Re: Slowness of www.sagenb.org

2010-11-21 Thread William Stein
On Sun, Nov 21, 2010 at 4:53 PM, Eviatar wrote: > It is actually slower, not just feels like it. Here is a specific > example: > > On Sage Notebook (locally): > > "from numpy import zeros > from random import randint > > def cellular(rule, N, initial='Single-cell'): >    '''Yields a matrix showing

[sage-devel] Re: Slowness of www.sagenb.org

2010-11-21 Thread Eviatar
It is actually slower, not just feels like it. Here is a specific example: On Sage Notebook (locally): "from numpy import zeros from random import randint def cellular(rule, N, initial='Single-cell'): '''Yields a matrix showing the evolution of a Wolfram's cellular automaton rule: d

Re: [sage-devel] Re: Slowness of www.sagenb.org

2010-11-21 Thread William Stein
On Sun, Nov 21, 2010 at 2:25 PM, William Stein wrote: > On Sun, Nov 21, 2010 at 1:33 PM, Eviatar wrote: >> I don't know if this is related, but I've noticed even the local Sage >> Notebook is slower than command-line, specifically NumPy operations. > > It makes absolutely no sense that that could

Re: [sage-devel] Re: Slowness of www.sagenb.org

2010-11-21 Thread William Stein
On Sun, Nov 21, 2010 at 1:33 PM, Eviatar wrote: > I don't know if this is related, but I've noticed even the local Sage > Notebook is slower than command-line, specifically NumPy operations. It makes absolutely no sense that that could happen.Please give a specific example. -- William > >

[sage-devel] Re: Severe slowness of singular interface on some machines partially caused by _synchronize

2010-11-21 Thread Simon King
Hi all! At ticket #10294, Mike Hansen gave a very helpful remark. He pointed to a thread at http://groups.google.com/group/linux.kernel/browse_thread/thread/5a2b00e35b0864a7 Our system administrator already answered to me that the solution suggested in this thread (or in another thread that is l

[sage-devel] Re: Slowness of www.sagenb.org

2010-11-21 Thread Eviatar
I don't know if this is related, but I've noticed even the local Sage Notebook is slower than command-line, specifically NumPy operations. On Nov 21, 12:30 pm, William Stein wrote: > On Sun, Nov 21, 2010 at 5:23 AM, tuxiano wrote: > > Please, don't disablewww.sagenb.org > > I'm not an administra

Re: [sage-devel] Re: Slowness of www.sagenb.org

2010-11-21 Thread William Stein
On Sun, Nov 21, 2010 at 5:23 AM, tuxiano wrote: > Please, don't disable www.sagenb.org > I'm not an administrator of my office PC so I can't install SAGE and > my company filters connections not on port 80 or 8080 so  www.sagenb.org > is the only Sage implementation that I can use. There is also

[sage-devel] Testing cython functions in docstrings

2010-11-21 Thread André-Patrick Bubel
Hi, I wrote a patch for the ODE solver some time ago which wasn't accepted yet. http://trac.sagemath.org/sage_trac/ticket/8981 As I wanted to bring it up to date and maybe improve the documentation a bit I (again) came across the problem, that the last example of the module http://www.sagema

Re: [sage-devel] Testing cython functions in docstrings

2010-11-21 Thread Jeroen Demeyer
On 2010-11-21 18:57, André-Patrick Bubel wrote: > Is there a way to automatically test the code anyway using this cython > function? I'm afraid this is not possible for the moment. What is possible, is to write the code you want to test as a function in a .pyx file and then test that function. S

[sage-devel] Re: Should notebook use a deport port of 8080 and not 8000?

2010-11-21 Thread tuxiano
I'm not an expert of the matter, but I'm the user who made the comment and I'd like to add that I don't have problems with sites that use port 8080 while I can't connect to sites that use port 8000, for example I can't connect to http://t2nb.math.washington.edu:8000/ So I think that switching fro

[sage-devel] Re: 4.6 build - Atlas fails on Ubuntu 10.10 on amd turion X2 laptop

2010-11-21 Thread RegB
Update: Since my last update; The Atlas problem seemed to have been fixed with the atlas-3.8.3.p17 spkg, however I ran into more trouble later with matplotlib-1.0.0 and that sent me off on a course of enquiry that led me to try building each component separately; BLAS, NUMPY, PYTHON, ATLAS, etc. A

Re: [sage-devel] Should notebook use a deport port of 8080 and not 8000?

2010-11-21 Thread Jeroen Demeyer
On 2010-11-21 15:18, Dr. David Kirkby wrote: > A comment from a user recently that he can only use port 80 and 8080 by > his employer, makes me think we should change the default port. I would just like to point out that this is irrelevant, because the port under discussion is the one used by runni

Re: [sage-devel] Re: Severe slowness of singular interface on some machines partially caused by _synchronize

2010-11-21 Thread Johannes
24618 1290349603.215559 write(3, "aaa", 3) = 3 24619 1290349603.219923 <... read resumed> "aaa", 256) = 3 in the first case: Wall time: 16.0200681686 Total CPU: 0.862045 in the second one: Wall time: 0.0230610370636 Total CPU: 0.042001 in the third one: Wall time: 8.00897812843 Total CPU: 0.300

[sage-devel] Should notebook use a deport port of 8080 and not 8000?

2010-11-21 Thread Dr. David Kirkby
http://www.sagemath.org/doc/reference/sagenb/notebook/notebook_object.html says the default port is 8000. http://www.sagemath.org/doc/reference/sagenb/notebook/notebook_object.html says of port 8000 "8000 TCP UDP iRDMI (Intel Remote Desktop Management Interface)[44]—sometimes erroneously u

[sage-devel] Re: loading https urls

2010-11-21 Thread Dima Pasechnik
On Nov 21, 6:22 am, Jason Grout wrote: > On 11/20/10 3:35 PM, Jason Grout wrote: > > > On 11/20/10 3:26 PM, Jason Grout wrote: > >> This doesn't seem to work: > > >> load('https://somefile') > > >> Seehttp://alpha.sagenb.org/home/jason3/43/publish/for an example and > >> the errors. > > > Er, *h

[sage-devel] Re: Slowness of www.sagenb.org

2010-11-21 Thread tuxiano
Please, don't disable www.sagenb.org I'm not an administrator of my office PC so I can't install SAGE and my company filters connections not on port 80 or 8080 so www.sagenb.org is the only Sage implementation that I can use. Perhaps other people are in my condition. Thanks Tiziano On Nov 21, 3

Re: [sage-devel] One-line examples for ecl, gap, kash, lisp, M2, maxima, mwrank, singular

2010-11-21 Thread David Kirkby
On 20 November 2010 22:52, Jeroen Demeyer wrote: > For each of the commands mentioned in the subject I would like to have a > one-line command just to check that the command works.  So if you know > any of these commands, please give me a one-liner. > > I am writing a patch at #10300 to check that

Re: [sage-devel] Re: One-line examples for ecl, gap, kash, lisp, M2, maxima, mwrank, singular

2010-11-21 Thread John Cremona
j...@selmer%echo "2+2;" | sage -kash -b kash% 4 Time: 0.000169 s (-b suppresses the banner. I could give a less trivial example if needed!) John On Sun, Nov 21, 2010 at 10:24 AM, Dima Pasechnik wrote: > for GAP: > > $ echo "Size(SymmetricGroup(5));" | sage -gap -q > 120 > > hope this helps, >

[sage-devel] Re: Slowness of www.sagenb.org

2010-11-21 Thread Dr David Kirkby
On Nov 20, 3:07 pm, Jeroen Demeyer wrote: > I think somebody should seriously look intowww.sagenb.org.  It is so > slow that it is essentially unusable.  Unfortunately, it is also very > bad advertising for Sage, because for many people their first contact > with Sage might bewww.sagenb.org.  I've

Re: [sage-devel] Re: One-line examples for ecl, gap, kash, lisp, M2, maxima, mwrank, singular

2010-11-21 Thread John Cremona
j...@selmer%echo "2+2;" | sage -singular -q 4 John On Sun, Nov 21, 2010 at 10:51 AM, John Cremona wrote: > j...@selmer%echo "2+2;" | sage -kash -b > > kash% 4 > Time: 0.000169 s > > (-b suppresses the banner.  I could give a less trivial example if needed!) > > John > > On Sun, Nov 21, 2010 at 1

[sage-devel] Re: One-line examples for ecl, gap, kash, lisp, M2, maxima, mwrank, singular

2010-11-21 Thread Dima Pasechnik
for GAP: $ echo "Size(SymmetricGroup(5));" | sage -gap -q 120 hope this helps, Dima On Nov 21, 6:52 am, Jeroen Demeyer wrote: > For each of the commands mentioned in the subject I would like to have a > one-line command just to check that the command works.  So if you know > any of these comman

Re: [sage-devel] One-line examples for ecl, gap, kash, lisp, M2, maxima, mwrank, singular

2010-11-21 Thread Jeroen Demeyer
On 2010-11-21 00:42, John Cremona wrote: > do you mean, for example, > > j...@selmer%echo "0 0 1 -7 6 0 0 0 0 0 " | sage -mwrank -v 0 -q -o > Curve [0,0,1,-7,6] : Rank = 3 > [[3],[[1,-1],[-2,3],[-7/4,25/8]]] Precisely, thanks John! -- To post to this group, send an email to sage-devel@googlegro

Re: [sage-devel] Re: paralizing algorithms

2010-11-21 Thread William Stein
On Sat, Nov 20, 2010 at 9:51 PM, rjf wrote: > > > On Nov 20, 4:49 pm, kstueve wrote: > >> >> One of the reasons making the fastest possible pi(x) available is >> important is because of its relationship to the Riemann hypothesis.  A >> proof of the Riemann hypothesis would not only provide immens