[sage-devel] Re: documentation rebuild - how to force?

2011-01-17 Thread RegB
I tried this following an upgrade to 4.6.1. The help link from the start page to the doc browser worked, but links from there (e.g. tutorial) appeared to be broken. Running sage -docbuild reference html -S -a,-E seemed to do a lot, but made no difference to the broken links. Then I did some more

[sage-devel] Re: documentation rebuild - how to force?

2011-01-17 Thread RegB
I tried this following an upgrade to 4.6.1. The help link from the start page to the doc browser worked, but links from there (e.g. tutorial) appeared to be broken. Running sage -docbuild reference html -S -a,-E seemed to do a lot, but made no difference to the broken links. Then I did some more

[sage-devel] Re: preparser is affecting commands like 'cd', 'mv', etc.

2011-01-17 Thread Eviatar
Never mind, the patch doesn't fix that issue, although it does make it regard cd as a keyword. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at htt

[sage-devel] Re: preparser is affecting commands like 'cd', 'mv', etc.

2011-01-17 Thread Eviatar
Never mind, the patch doesn't fix that issue, although it does make it regard cd as a keyword. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at htt

[sage-devel] Re: Testing rst files...

2011-01-17 Thread Jason Grout
On 1/17/11 4:42 PM, pang wrote: Hello: I'm also interested in this feature: how about we add a single line at the beggining of the rst file that indicates that all code cells are linked? That would cover all my use cases: how about yours? That's a cool idea. +1, if it's possible. Jason --

[sage-devel] int floor division

2011-01-17 Thread Eviatar
Hello, Sage is still using Python 2.* integer floor division. For example, int(5)/int(10) returns 0. I think this should be changed to the Python 3 default behaviour, which would return 0.5. Of course, Integer is preferable in Sage, but many Python functions such as len() and string.count() return

[sage-devel] Re: preparser is affecting commands like 'cd', 'mv', etc.

2011-01-17 Thread Eviatar
I submitted a patch for this a few days ago: http://trac.sagemath.org/sage_trac/ticket/10611 On Jan 17, 3:00 pm, Niles wrote: > Is the following a known bug? > > sage: cd tmp0-50/ > [Errno 2] No such file or directory: 'tmp0-Integer(50)/' > > of course it works fine if I put quotes around the fi

Re: [sage-devel] Re: Testing rst files...

2011-01-17 Thread Florent Hivert
On Mon, Jan 17, 2011 at 02:45:42PM -0800, pang wrote: > oops, sorry, for some weird reason I was looking at this old thread. > Anyway, Florent, I'll talk to you about this tomorrow if we get a > chance. I don't think 2 days in old for a thread ;-) Florent -- To post to this group, send an email

[sage-devel] Re: Error when installing wxPython

2011-01-17 Thread maldun
I had the same errors, simply update the source The version is 2.8.7 current is 2.8.11 You find a new spkg on http://computational-sage.googlecode.com/files/wxPython-2.8.11.0.spkg On 17 Jan., 20:11, Sancho wrote: > I'll try to apply this fix:http://trac.wxwidgets.org/ticket/10883 > > On Jan

[sage-devel] preparser is affecting commands like 'cd', 'mv', etc.

2011-01-17 Thread Niles
Is the following a known bug? sage: cd tmp0-50/ [Errno 2] No such file or directory: 'tmp0-Integer(50)/' of course it works fine if I put quotes around the filename. (I'm using sage 4.6 on RHEL, but I've noticed similar problems on Mac too) -Niles -- To post to this group, send an email to sag

[sage-devel] Re: Testing rst files...

2011-01-17 Thread pang
oops, sorry, for some weird reason I was looking at this old thread. Anyway, Florent, I'll talk to you about this tomorrow if we get a chance. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegrou

[sage-devel] Re: Testing rst files...

2011-01-17 Thread pang
Hello: I'm also interested in this feature: how about we add a single line at the beggining of the rst file that indicates that all code cells are linked? That would cover all my use cases: how about yours? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe fro

[sage-devel] Re: Simplification of symbolic sums and Maxima simpsum option

2011-01-17 Thread ma...@mendelu.cz
On 17 led, 16:51, Francois Maltey wrote: > Hello Jean-Pierre,> It would be nice to add an option to set Maxima simpsum > option when > > calling Sage symbolic_sum function, or to enable it by default. > > Indeed, without it Maxima (and so Sage) does not evaluate symbolic > > sums of sums, i.e.

[sage-devel] Re: Error building sage-4.6.2.alpha1

2011-01-17 Thread RegB
"My BAD", as the colloquial saying goes. For others who lose the web site docs when upgrading; Type './sage -docbuild -D' to see the list of documents. Then; sage -docbuild tutorial html -S -a,-E and sage -docbuild website html -S -a,-E to get the tutorial back up. Same for whatever else you not

[sage-devel] Re: desired behavior on #optional with ellipses

2011-01-17 Thread kcrisman
> What must I look ? this animate seems very right ! I'm sorry if I seemed to imply this had anything to do with animate. That is just where I discovered this. > > So my question is whether this is a bug or not. I mean in doctesting. If you run something with this sort of two-line doctest, and

Re: [sage-devel] desired behavior on #optional with ellipses

2011-01-17 Thread Francois Maltey
Dear kcrisman, While reviewing #7981, I discoverd something a little interesting. sage: animate([plot(sin(x + float(k)), (0, 2*pi), ymin=-5, ymax=5) ...for k in srange(0,2*pi,0.3)]).show() # optional You'd think this would be optional. Nope - it creates a file in doctesting. I

[sage-devel] Tests of improvements in timeit

2011-01-17 Thread Francois Maltey
Hello, I plot and analyse "timeit (a-calculus(n))" in a log-log scale from n=1..to..10..100..10^5...even...10^6 and I find some curious features in timesit, so I post these remarks and questions : /1/ I get the timeit result by timeit.eval("string_2+2").stats but timeit("string_2+2") displa

[sage-devel] Re: Error when installing wxPython

2011-01-17 Thread Sancho
I'll try to apply this fix: http://trac.wxwidgets.org/ticket/10883 On Jan 16, 1:16 am, Sancho wrote: > Sage Version 4.6, Release Date: 2010-10-30 > openSUSE 11.3 (x86_64) > g++ (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292] > > On Dec 8 2010, 8:55 pm, Dima Pasechnik wrote: > > > pl

Re: [sage-devel] Re: Error building sage-4.6.2.alpha1

2011-01-17 Thread Justin C. Walker
On Jan 17, 2011, at 08:52 , Jeroen Demeyer wrote: > On 2011-01-16 23:05, Willem Jan Palenstijn wrote: >> Do you maybe have 'ln' aliased to 'ln -s'? > > Even if you would have such an alias, shell scripts normally don't use > aliases. Can you clarify this? Normally, in a shell script, using 'ln

[sage-devel] desired behavior on #optional with ellipses

2011-01-17 Thread kcrisman
While reviewing #7981, I discoverd something a little interesting. sage: animate([plot(sin(x + float(k)), (0, 2*pi), ymin=-5, ymax=5) ...for k in srange(0,2*pi,0.3)]).show() # optional You'd think this would be optional. Nope - it creates a file in doctesting. So my question is whet

[sage-devel] Re: Error building sage-4.6.2.alpha1

2011-01-17 Thread Simon King
On 17 Jan., 17:52, Jeroen Demeyer wrote: > On 2011-01-16 23:05, Willem Jan Palenstijn wrote: > > > Do you maybe have 'ln' aliased to 'ln -s'? > > Even if you would have such an alias, shell scripts normally don't use > aliases. But actually that was the problem. Doing "ln A B" in a script or typi

[sage-devel] Re: Error building sage-4.6.2.alpha1

2011-01-17 Thread Simon King
On 17 Jan., 17:48, Jeroen Demeyer wrote: > On 2011-01-16 08:22, Simon King wrote: > > > Hi! > > > I tried to build sage-4.6.2.alpha1, but without success. The > > install.log is > > athttp://sage.math.washington.edu/home/SimonKing/logs/install.log > > Note that sage-4.6.2.alpha1 has absolutely NO

Re: [sage-devel] Problem in applying the patch in sage

2011-01-17 Thread Robert Bradshaw
On Mon, Jan 17, 2011 at 10:12 AM, Hector troy wrote: > Hello everyone, > I am a newbie to sage-development and was learning the same from the > sage-developer's guide (pdf given on the site) I trying to apply the patch > but its giving following error. > >  RuntimeError: Refusing to do operation s

[sage-devel] Fwd: Problem in applying the patch in sage

2011-01-17 Thread Hector troy
-- Forwarded message -- From: Hector troy Date: Mon, Jan 17, 2011 at 11:42 PM Subject: Problem in applying the patch in sage To: sage-devel@googlegroups.com Hello everyone, I am a newbie to sage-development and was learning the same from the sage-developer's guide (pdf given on t

[sage-devel] magma_free fights back?

2011-01-17 Thread William Stein
Hi, I'm not sure what is happening here: deep:mazur_stein wstein$ sage -- | Sage Version 4.6.1, Release Date: 2011-01-11 | | Type notebook() for the GUI, and license() for information.| -

[sage-devel] Problem in applying the patch in sage

2011-01-17 Thread Hector troy
Hello everyone, I am a newbie to sage-development and was learning the same from the sage-developer's guide (pdf given on the site) I trying to apply the patch but its giving following error. RuntimeError: Refusing to do operation since you still have unrecorded changes. You must check in all cha

Re: [sage-devel] Re: Error building sage-4.6.2.alpha1

2011-01-17 Thread Jeroen Demeyer
On 2011-01-16 23:05, Willem Jan Palenstijn wrote: > Do you maybe have 'ln' aliased to 'ln -s'? Even if you would have such an alias, shell scripts normally don't use aliases. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

Re: [sage-devel] Error building sage-4.6.2.alpha1

2011-01-17 Thread Jeroen Demeyer
On 2011-01-16 08:22, Simon King wrote: > Hi! > > I tried to build sage-4.6.2.alpha1, but without success. The > install.log is at > http://sage.math.washington.edu/home/SimonKing/logs/install.log Note that sage-4.6.2.alpha1 has absolutely NOT been released, as indicated by http://sage.math.washi

Re: [sage-devel] Simplification of symbolic sums and Maxima simpsum option

2011-01-17 Thread Francois Maltey
Hello Jean-Pierre, It would be nice to add an option to set Maxima simpsum option when calling Sage symbolic_sum function, or to enable it by default. Indeed, without it Maxima (and so Sage) does not evaluate symbolic sums of sums, i.e. something as sage: var('n') n sage: sum(2^x+2^-x,x,0,n) sum(

[sage-devel] Re: can sage binaries be stripped (made smaller)

2011-01-17 Thread Emil Widmann
On Jan 17, 1:17 pm, Jason Grout wrote: > On 1/15/11 5:51 PM, Emil Widmann wrote: > > > Stripping Sage Binaries II > > -- > > Is this up on the wiki somewhere, and maybe in a readme on the live CD? >   It looks like some great information, and it would be sad if it is > on

[sage-devel] Re: New generation FLINT 2.0 released!!

2011-01-17 Thread Bill Hart
I definitely want to use BLAS when it is appropriate. The reason is that GOTO BLAS has been open sourced, under a BSD style license. So it is now trivial to install an extremely high performance BLAS (takes ~ 90s to install on my machine). Rather than use bits and pieces of GOTO, I think it is bett

[sage-devel] Re: can sage binaries be stripped (made smaller)

2011-01-17 Thread Jason Grout
On 1/15/11 5:51 PM, Emil Widmann wrote: Stripping Sage Binaries II -- Is this up on the wiki somewhere, and maybe in a readme on the live CD? It looks like some great information, and it would be sad if it is only buried in a post on sage-devel. Thanks for all of y

Re: [sage-devel] Re: New generation FLINT 2.0 released!!

2011-01-17 Thread Fredrik Johansson
On Mon, Jan 17, 2011 at 12:13 PM, Bill Hart wrote: > But I think Fredrik had some figures which show we beat Sage. Yes, even for small primes. Multiplying two 1000x1000 matrices mod p = 17 takes 2.27 seconds in Sage and 1.05 seconds with FLINT 2's nmod_mat's. The corresponding time in FLINT 2 for

[sage-devel] Re: New generation FLINT 2.0 released!!

2011-01-17 Thread Bill Hart
I just checked the FLINT implementation and there is this note: /* TODO: optimise this */ static void nmod_mat_addmul_classical(nmod_mat_t C, const nmod_mat_t A, const nmod_mat_t B) So my guess is at the moment we wouldn't be competitive everywhere. I think the times we really win are when the mo

[sage-devel] Re: Error building sage-4.6.2.alpha1

2011-01-17 Thread RegB
4.6.1 built on a virtual machine here as an upgrade, the 4.6.0 base was built on the same virtual machine. Linux UBUNTU 10.10 within Oracle VirtualBox 4.0 Unfortunately the docs don't seem to have connected properly, e.g. I can bring up the doc browser from the help link, but just about every lin

[sage-devel] Simplification of symbolic sums and Maxima simpsum option

2011-01-17 Thread Jean-Pierre Flori
It would be nice to add an option to set Maxima simpsum option when calling Sage symbolic_sum function, or to enable it by default. Indeed, without it Maxima (and so Sage) does not evaluate symbolic sums of sums, i.e. something as sage: var('n') n sage: sum(2^x+2^-x,x,0,n) sum((2^(2*x) + 1)/2^x, x,

[sage-devel] Re: New generation FLINT 2.0 released!!

2011-01-17 Thread Bill Hart
At the moment we don't use the BLAS, so linbox is still better. But I think Fredrik had some figures which show we beat Sage. Moreover, our code works for primes up to 64 bits which isn't possible with the BLAS anyhow. I'll let Fredrik respond in more detail as he wrote the code. Bill. On Jan 1

Re: [sage-devel] New generation FLINT 2.0 released!!

2011-01-17 Thread Martin Albrecht
Congratulations. I'm curious: how does your mod p multiplication of matrices compare ot LinBox's? Cheers, Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://martinralbrecht.wordpress

Re: [sage-devel] Re: cannot add attachment on trac

2011-01-17 Thread Willem Jan Palenstijn
On Mon, Jan 17, 2011 at 10:15:32AM +, Willem Jan Palenstijn wrote: > On Mon, Jan 17, 2011 at 09:54:17AM +, Willem Jan Palenstijn wrote: > > On Mon, Jan 17, 2011 at 09:34:18AM +, Willem Jan Palenstijn wrote: > > > On Mon, Jan 17, 2011 at 01:15:51AM -0800, Mike Hansen wrote: > > > > There

Re: [sage-devel] Re: cannot add attachment on trac

2011-01-17 Thread Willem Jan Palenstijn
On Mon, Jan 17, 2011 at 09:54:17AM +, Willem Jan Palenstijn wrote: > On Mon, Jan 17, 2011 at 09:34:18AM +, Willem Jan Palenstijn wrote: > > On Mon, Jan 17, 2011 at 01:15:51AM -0800, Mike Hansen wrote: > > > There's a problem with boxen running out of disk space. I'm not sure > > > what is

Re: [sage-devel] Re: cannot add attachment on trac

2011-01-17 Thread Willem Jan Palenstijn
On Mon, Jan 17, 2011 at 09:34:18AM +, Willem Jan Palenstijn wrote: > On Mon, Jan 17, 2011 at 01:15:51AM -0800, Mike Hansen wrote: > > There's a problem with boxen running out of disk space. I'm not sure > > what is causing it. > > This looks like a big part of it: > > wjp@boxen:/sagenb/sagen

[sage-devel] Re: trac down?

2011-01-17 Thread daveloeffler
On Jan 17, 4:12 am, Dima Pasechnik wrote: > ok, it works now for me. > Seems to be down again. I got "ProgrammingError: could not write to hash-join temporary file: No space left on device". David -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this

Re: [sage-devel] Re: cannot add attachment on trac

2011-01-17 Thread Willem Jan Palenstijn
On Mon, Jan 17, 2011 at 01:15:51AM -0800, Mike Hansen wrote: > There's a problem with boxen running out of disk space. I'm not sure > what is causing it. This looks like a big part of it: wjp@boxen:/sagenb/sagenb$ ls -alh /sagenb/sagenb/logs/ total 25G drwxr-xr-x 2 sagenb sagenb 4.0K 2010-08-31

Re: [sage-devel] Re: cannot add attachment on trac

2011-01-17 Thread Mike Hansen
There's a problem with boxen running out of disk space. I'm not sure what is causing it. --Mike On Mon, Jan 17, 2011 at 1:13 AM, Gagan Sekhon wrote: > I am having the same problem. I tried to upload patch for trac 7763 > and got the following error. > > Oops… > Trac detected an internal error:

[sage-devel] Re: cannot add attachment on trac

2011-01-17 Thread Gagan Sekhon
I am having the same problem. I tried to upload patch for trac 7763 and got the following error. Oops… Trac detected an internal error: IOError: [Errno 28] No space left on device There was an internal error in Trac. It is recommended that you inform your local Trac administrator and give him all

Re: [sage-devel] Re: Error building sage-4.6.2.alpha1

2011-01-17 Thread Willem Jan Palenstijn
On Sun, Jan 16, 2011 at 03:48:22PM -0800, Simon King wrote: > As I said, I am not sure whether the link is hard or soft. Is the type > of the link apparent in the output of the "ls -l" command that I > posted above? Yes, if there's a '-> somewhere' at the end, that indicates a symlink. (I typed s