[sage-support] Re: very basic sage question on objects and methods

2009-04-14 Thread William Stein
On Tue, Apr 14, 2009 at 11:05 PM, Robert Bradshaw wrote: > > On Apr 14, 2009, at 10:08 PM, Nasser Abbasi wrote: > >> I create a list, using >> >> v=[1..10] >> >> Now, I wanted to find the length of 'v'. I did help(list) and do not >> see a method to find the length of a list object. >> >> Then lo

[sage-support] Re: very basic sage question on objects and methods

2009-04-14 Thread Robert Bradshaw
On Apr 14, 2009, at 10:08 PM, Nasser Abbasi wrote: > I create a list, using > > v=[1..10] > > Now, I wanted to find the length of 'v'. I did help(list) and do not > see a method to find the length of a list object. > > Then looking more around, I found I can type > > len(v) > > to find the length

[sage-support] very basic sage question on objects and methods

2009-04-14 Thread Nasser Abbasi
I create a list, using v=[1..10] Now, I wanted to find the length of 'v'. I did help(list) and do not see a method to find the length of a list object. Then looking more around, I found I can type len(v) to find the length of 'v'. But this is not OO? Why is there no method to find the leng

[sage-support] Re: Problem Sage 3.4 windows XP

2009-04-14 Thread SG
> Just out of curiosity, has *anybody* successfully used > sage-vmware-3.4.zip? Maybe it is seriously broken? sage-vmware-3.4.zip worked fine on my home laptop running Windows Vista, but when I tried installing it on my work PC (running XP), and I had the same problem that madison.mich is talkin

[sage-support] Re: hg_sage.pull() fails in notebook

2009-04-14 Thread mabshoff
On Apr 14, 4:44 pm, Alex Raichev wrote: > Hi all: Hi Alex, > I want to sync my version of Sage 3.4 with the latest change sets.  So > in a notebook worksheet i typed > > hg_sage.pull() > > and got the error > > cd "/Applications/sage/devel/sage" && hg status > cd "/Applications/sage/devel/sag

[sage-support] hg_sage.pull() fails in notebook

2009-04-14 Thread Alex Raichev
Hi all: I want to sync my version of Sage 3.4 with the latest change sets. So in a notebook worksheet i typed hg_sage.pull() and got the error cd "/Applications/sage/devel/sage" && hg status cd "/Applications/sage/devel/sage" && hg status cd "/Applications/sage/devel/sage" && hg pull -u http

[sage-support] Re: programming: define a new function

2009-04-14 Thread Maurizio
I think the dirac delta is very widespread both in mechanics and in electronics (because of frequency domain representation of sine function as a tone - dirac(w) - centered at the sine frequency), although I am not sure what about its derivatives. I know this issue has been taken into account in S

[sage-support] Re: programming: define a new function

2009-04-14 Thread Tim Lahey
On Apr 14, 2009, at 5:35 PM, Maurizio wrote: > > Hi all. > > I'm willing to invest some of my time to understand if I can be able > to do a step ahead with symbolic functions. > > How are special symbolic functions supposed to be defined? I am > willing to experiment with delta of dirac function

[sage-support] programming: define a new function

2009-04-14 Thread Maurizio
Hi all. I'm willing to invest some of my time to understand if I can be able to do a step ahead with symbolic functions. How are special symbolic functions supposed to be defined? I am willing to experiment with delta of dirac function. This has some special properties (see http://en.wikipedia.o

[sage-support] Re: Make backup of worksheets?

2009-04-14 Thread William Stein
On Tue, Apr 14, 2009 at 1:45 PM, photonn wrote: > > What is the easiest way to move a large number of worksheets (~100) to > another machine? There is no easy way to do that, except... that this morning robert Bradshaw implemented a way to do this: http://trac.sagemath.org/sage_trac/ticket/274

[sage-support] Make backup of worksheets?

2009-04-14 Thread photonn
What is the easiest way to move a large number of worksheets (~100) to another machine? Or to ask the question another way, how do you guys make backup copies of your work? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: Notebook server sluggish in 3.4

2009-04-14 Thread kcrisman
> Could you make the above statement *precise*: For me, as noted elsewhere, >   - what OS/hardware? It's a VM, the one supplied by sagemath.org for 3.4 (whatever that is, apparently Linux sage 2.6.17-12-386 #2 Tue Dec 18 02:08:33 UTC 2007 i686 GNU/Linux), actual machine is Xenon Intel 64-bit with

[sage-support] Re: Notebook server sluggish in 3.4

2009-04-14 Thread William Stein
On Tue, Apr 14, 2009 at 12:30 PM, Kiran Kedlaya wrote: > > I see 100% CPU usage when the notebook is processing a cell. I don't > remember whether I still have it when a worksheet is open but idle. > > Kiran For the record, I definitely don't see that (I just checked now) and in fact I've never

[sage-support] Re: Notebook server sluggish in 3.4

2009-04-14 Thread Kiran Kedlaya
I see 100% CPU usage when the notebook is processing a cell. I don't remember whether I still have it when a worksheet is open but idle. Kiran On Apr 14, 11:07 am, kcrisman wrote: > We have similar issues with this upgrade, though unfortunately have > not been able to pinpoint the source of the

[sage-support] Re: Notebook server sluggish in 3.4

2009-04-14 Thread Marshall Hampton
I, and my students who use my 3.4 server, have noticed that cell creation sometimes hangs, and in general there are strange delays when executing some cells. This seems much worse on my shared server compared to my laptop, although I have seen some similar problems running locally on my laptop to

[sage-support] Re: Notebook server sluggish in 3.4

2009-04-14 Thread kcrisman
We have similar issues with this upgrade, though unfortunately have not been able to pinpoint the source of the problem. Do you also have the server process using very large CPU percentages when a worksheet is open, then going back to normal when one closes? - kcrisman On Apr 14, 10:45 am, "ksk

[sage-support] Notebook server sluggish in 3.4

2009-04-14 Thread ksk...@gmail.com
I built 3.4 from source on two different but similar machines on our department network (both 64-bit Opterons running Fedora 10, but slightly different clock speeds). Those builds run fine in general. However, running a notebook server results in extremely poor performance; it consistently takes

[sage-support] grading homework / latex

2009-04-14 Thread gerhard
One implication of the discussion in devel would be javascript and latex output in the worksheets: javascript appears to be implemented in sage/server/notebook/notebook.py If I understand this code correctly - allowing users to add their own scripts cleanly might entail modifyi

[sage-support] Re: building sage from Mercurial clone

2009-04-14 Thread Flavio Coelho
Thanks! On 10 abr, 15:13, William Stein wrote: > On Fri, Apr 10, 2009 at 6:53 AM,FlavioCoelho wrote: > > > Thanks, > > > So it seems that there is no (easy or otherwise) way to build from > > latest development tree, only from the last "stable" source tarball. > > The latest development version

[sage-support] Re: 3.4 binary for Fedora 10 crashes

2009-04-14 Thread mabshoff
On Apr 13, 8:53 pm, Rado wrote: Hi, > Does that mean that also I cannot compile sage myself on a non-sse3 > machine (like my old amd64)? When I try I get "Illegal instructions" > but not sure if its the cpu or something with the dependencies. The problem is ATLAS build by Sage, it uses SSE3

[sage-support] Re: 3.4 binary for Fedora 10 crashes

2009-04-14 Thread Rado
Does that mean that also I cannot compile sage myself on a non-sse3 machine (like my old amd64)? When I try I get "Illegal instructions" but not sure if its the cpu or something with the dependencies. Rado On Apr 11, 8:49 pm, William Stein wrote: > On Sat, Apr 11, 2009 at 6:45 PM, ksk...@gmail.