[sage-support] Re: Python in sage notebook

2007-12-11 Thread William Stein
On Dec 11, 2007 8:34 PM, Marshall Hampton <[EMAIL PROTECTED]> wrote: > > Hi, > > I've tried to figure this out to further my python education, and > while I am still confused I think I can contribute. I'm really glad you're diving into this... (see below) > > The problem seems to be a purely pyt

[sage-support] Re: Accessing a windows installation remotely

2007-12-11 Thread Mike Hansen
> One more question not related to this topic. I already use maxima > some by itself. I use a package called wxmaxima or something like > that, and it formats the output in a pretty way. Will sage do that? > I see in the reference manual that I can tell it to give me output in > latex, but it d

[sage-support] Re: Accessing a windows installation remotely

2007-12-11 Thread Adam
One more question not related to this topic. I already use maxima some by itself. I use a package called wxmaxima or something like that, and it formats the output in a pretty way. Will sage do that? I see in the reference manual that I can tell it to give me output in latex, but it doesn't ren

[sage-support] Re: Python in sage notebook

2007-12-11 Thread Marshall Hampton
Hi, I've tried to figure this out to further my python education, and while I am still confused I think I can contribute. The problem seems to be a purely python scoping problem; the discussion at: http://groups.google.com/group/comp.lang.python/browse_thread/thread/8800d7af448b6e3a seems relev

[sage-support] Re: more on that sh: cannot create notebook.log: Permission denied

2007-12-11 Thread William Stein
On Dec 11, 2007 9:32 AM, beau dacious <[EMAIL PROTECTED]> wrote: > this is sage-vmware-2.8.15 > vmware player 1.0.3 - gonna upgrade that now and see if anything > changes > my IP address replaced with a.b.c.d > > > login as: login Don't do that. Instead at the login prompt, type

[sage-support] Re: Accessing a windows installation remotely

2007-12-11 Thread William Stein
On Dec 11, 2007 8:09 PM, Adam <[EMAIL PROTECTED]> wrote: > > I did what you suggested (switched ethernet connection to bridged and > restarted the vmware machine) and now it works. Thanks. My next > question is, can I set the server up to listen on a different port? Yes, that's possible. You w

[sage-support] Re: sage won't run... "sh: cannot create notebook.log: permission denied"

2007-12-11 Thread William Stein
On Dec 11, 2007 9:26 AM, beau dacious <[EMAIL PROTECTED]> wrote: > > > login: login > password: sage > % notebook > > ... > > open firefox to... > > ... > > sh: cannot create notebook.log: permission denied > echo: write error: broken pipe > > anyone else having this problem? Instead login as "no

[sage-support] Re: Accessing a windows installation remotely

2007-12-11 Thread Adam
I did what you suggested (switched ethernet connection to bridged and restarted the vmware machine) and now it works. Thanks. My next question is, can I set the server up to listen on a different port? William Stein wrote: > On Dec 9, 2007 3:13 PM, Adam <[EMAIL PROTECTED]> wrote: > > > > I'd li

[sage-support] more on that sh: cannot create notebook.log: Permission denied

2007-12-11 Thread beau dacious
this is sage-vmware-2.8.15 vmware player 1.0.3 - gonna upgrade that now and see if anything changes my IP address replaced with a.b.c.d login as: login [EMAIL PROTECTED]'s password: Linux sage 2.6.17-12-386 #2 Sun Sep 23 22:54:19 UTC 2007 i686 The programs included with the Ubuntu system are f

[sage-support] sage won't run... "sh: cannot create notebook.log: permission denied"

2007-12-11 Thread beau dacious
login: login password: sage % notebook ... open firefox to... ... sh: cannot create notebook.log: permission denied echo: write error: broken pipe anyone else having this problem? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googleg

[sage-support] Re: SAGE-2.8.15!

2007-12-11 Thread Marshall Hampton
Hi, I'm not very familiar with R and rpy, but in reading the rpy documentation they implied that if you install optional R components you do _not_ have to rebuild rpy...but I suppose someone should verify/ test that. Marshall Hampton On Dec 10, 6:03 pm, Andrzej Giniewicz <[EMAIL PROTECTED]> wro

[sage-support] Re: problem building SAGE in linux

2007-12-11 Thread David Joyner
You didn't say what linux distribution you have. Is it debian or ubuntu? If building does not work, you can try one of the binaries at http://www.sagemath.org/SAGEbin/linux/ On Dec 11, 2007 11:48 AM, Joseph Hufnagle <[EMAIL PROTECTED]> wrote: > > Dear Sir, > I had to reinstall Linux on my

[sage-support] Re: Fwd:

2007-12-11 Thread mabshoff
On Dec 11, 6:00 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > -- Forwarded message -- > From: Joseph Hufnagle > Date: Dec 11, 2007 8:48 AM > Subject: > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > > Dear Sir, > I had to reinstall Linux on my desktop computer. Accordin

[sage-support] Fwd:

2007-12-11 Thread William Stein
-- Forwarded message -- From: Joseph Hufnagle Date: Dec 11, 2007 8:48 AM Subject: To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Dear Sir, I had to reinstall Linux on my desktop computer. According to a previous e-mail, I tried to install m4, but was greeted with a message to

[sage-support] Re: Question regarding speeding up of code

2007-12-11 Thread Martin Albrecht
You need to define a polynomial ring: sage: P. = PolynomialRing(RR) sage: f=x^24+34*x^12+45*x^3+9*x^18 +34*x^10+ 32*x^21 sage: time for i in range(1): a=f(x=RR.random_element()) CPU times: user 0.31 s, sys: 0.00 s, total: 0.31 s Wall time: 0.32 sage: def g(y): : return y^24+34*y

[sage-support] Re: Question regarding speeding up of code

2007-12-11 Thread William Stein
On Dec 11, 2007 8:34 AM, Rishikesh <[EMAIL PROTECTED]> wrote: > I have couple of versions of computing the same function below > f is a polynomial. g is function which returns the same value as f > for given number. g is 10 times faster. Can it be made closer? Make your function f be a polynomia

[sage-support] Question regarding speeding up of code

2007-12-11 Thread Rishikesh
I have couple of versions of computing the same function below f is a polynomial. g is function which returns the same value as f for given number. g is 10 times faster. Can it be made closer? See code below Rishi {{{id=133| var('x') f=x^24+34*x^12+45*x^3+9*x^18 +34*x^10+ 32*x^21 def g(y):