[sage-devel] Re: Using ssh for port-forwarding

2007-02-06 Thread boothby
Instructions for PuTTY: In the host configuration, go to the Connection->SSH->Tunnels category. Enter the following settings towards the bottom: Source port: 8100 Destination: localhost:8000 Click the "Local" radio button, and press the "Add" button. Once logged in, run [EMAIL PROTECTED]> sa

[sage-devel] Re: SAGE performance in cygwin

2007-02-06 Thread Alec Mihailovs
William, It appears that you answered to that question before I asked it. Thank you very much! That was very useful. With this version of m SAGE produces (odd) magic squares faster than Octave, octave:1> t=cputime();a=magic(201);cputime()-t ans = 0.32800 octave:2> t=cputime();a=magic(1001);cpu

[sage-devel] Re: SAGE performance in cygwin

2007-02-06 Thread Alec Mihailovs
From: "William Stein" <[EMAIL PROTECTED]> > If you're using the SAGE command prompt, it's important to either > set the constants outside of the loop (they all get wrapped in > Integer( ... ), which slows things down), or put an r after them > to make them raw literals.(We intend to automatic

[sage-devel] Using ssh for port-forwarding

2007-02-06 Thread Nils Bruin
The following is easily found on the man page of ssh, but William pointed out to me that many users may not be aware of the possibility to use ssh to forward ports. In particular, if you want to run "sage - notebook" on computer A, but only want to let it listen to a local port out of security con

[sage-devel] Re: SAGE performance in cygwin

2007-02-06 Thread William Stein
On Tue, 06 Feb 2007 22:14:24 -0700, Justin C. Walker <[EMAIL PROTECTED]> wrote: > This is not a cygwin or python problem as far as I can tell. [...] > To emphasize, these results were obtained using the *same* python > binary for the ipython and SAGE trials. > > This begs the question: what is SA

[sage-devel] Re: Problem coercing constants into polynomial rings

2007-02-06 Thread William Stein
On Tue, 06 Feb 2007 21:38:12 -0700, Nick Alexander <[EMAIL PROTECTED]> wrote: > > Hmm, I thought this was a bug, but the following works: > > sage: R = ZZ['u', 'v'].fraction_field() > > sage: EllipticCurve(R, [1,1]) > Elliptic Curve defined by y^2 = x^3 + x +1 over Fraction Field of > Polynomia

[sage-devel] Re: SAGE performance in cygwin

2007-02-06 Thread William Stein
On Tue, 06 Feb 2007 20:58:31 -0700, Alec Mihailovs <[EMAIL PROTECTED]> wrote: > SAGE's version of Python in cygwin seem to be very slow. Are you starting "SAGE's version of Python" with "sage -python" and typing there, are are you running that same function from the SAGE command prompt? Please t

[sage-devel] Re: SAGE performance in cygwin

2007-02-06 Thread Justin C. Walker
On Feb 6, 2007, at 19:58 , Alec Mihailovs wrote: > > SAGE's version of Python in cygwin seem to be very slow. This is not a cygwin or python problem as far as I can tell. I did the same experiment with SAGE and with the version of python from the sage 2.0 build. I got very similar results:

[sage-devel] Re: Can a 32-bit Python call a 64-bit library via the Python/C API?

2007-02-06 Thread Justin C. Walker
On Feb 6, 2007, at 20:13 , Jason Martin wrote: > > Hi All, > > I'm trying to build a 64-bit Sage for Mac OS X (Tiger). > > However, I can't get a 64-bit Python to build because not enough of > the fundamental Apple libraries are 64-bit... Building random open source stuff in 64-bit mode on Mac

[sage-devel] Re: Problem coercing constants into polynomial rings

2007-02-06 Thread Iftikhar Burhanuddin
On Tue, 6 Feb 2007, Nick Alexander wrote: > sage: R = ZZ['u', 'v'] > > sage: EllipticCurve(R, [1,1]) > --- > Traceback (most recent call > last) But the one variable version works ... Regards, Ifti sage: R

[sage-devel] Re: Problem coercing constants into polynomial rings

2007-02-06 Thread Nick Alexander
Hmm, I thought this was a bug, but the following works: sage: R = ZZ['u', 'v'].fraction_field() sage: EllipticCurve(R, [1,1]) Elliptic Curve defined by y^2 = x^3 + x +1 over Fraction Field of Polynomial Ring in u, v over Integer Ring Maybe the previous post shouldn't work, because it's a ring

[sage-devel] Problem coercing constants into polynomial rings

2007-02-06 Thread Nick Alexander
We still have problems coercing constants into polynomial rings, when the constants are themselves in interesting rings... sage: R = ZZ['u', 'v'] sage: EllipticCurve(R, [1,1]) --- Traceback (most recent call las

[sage-devel] Can a 32-bit Python call a 64-bit library via the Python/C API?

2007-02-06 Thread Jason Martin
Hi All, I'm trying to build a 64-bit Sage for Mac OS X (Tiger). However, I can't get a 64-bit Python to build because not enough of the fundamental Apple libraries are 64-bit... and I can't get a 32-bit Python build to accurately use the 64-bit libraries I can get built. The problem appears to b

[sage-devel] SAGE performance in cygwin

2007-02-06 Thread Alec Mihailovs
SAGE's version of Python in cygwin seem to be very slow. Look at the following time comparison for the following Python function, def m(n): : return [[j%n*n+(j+j-i)%n+1 : for j in range(i+(1-n)/2,i+(n+1)/2)] for i in range(n)] First - in cygwin's ipython running cygwin's

[sage-devel] Fwd: Re: sage and high school students (rsi)

2007-02-06 Thread William Stein
Just to possibly spark discussion of ideas for SAGE summer development projects --- Forwarded message --- From: "Jennifer S. Balakrishnan" <[EMAIL PROTECTED]> To: "William Stein" <[EMAIL PROTECTED]> Cc: Subject: Re: sage and high school students (rsi) Date: Tue, 06 Feb 2007 18:31:39

[sage-devel] Re: notebook development

2007-02-06 Thread Timothy Clemans
BTW I don't mean that any of you would need to create the code for the server. I just mean that once I get one going with Twisted I will need a place to run it and I can not use the web host that I will use for SAGE Classroom for it. On 2/6/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > So will

[sage-devel] Re: quad double

2007-02-06 Thread William Stein
Yozo, Many thanks for your reply. On Tue, 06 Feb 2007 13:35:40 -0700, Yozo Hida <[EMAIL PROTECTED]> wrote: > Interesting. On what platform is this? OS X Intel. But, as mentioned in my next email to you the difference basically disappeared when we switched to compiling with "-O3". > It was in

[sage-devel] Re: notebook development

2007-02-06 Thread Timothy Clemans
So will someone set up a server for me at say UW where I can send the computation and the output and have some server status tools also? On 2/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Knock yourself out, buddy. Sounds like a grand idea. > > > On Tue, 6 Feb 2007, Timothy Clemans wrot

[sage-devel] Re: notebook development

2007-02-06 Thread boothby
Knock yourself out, buddy. Sounds like a grand idea. On Tue, 6 Feb 2007, Timothy Clemans wrote: > > My idea is to have an API system like Google does for search, maps, > ... where the webmaster has a lot of control and Google does the > backend work. So all I would need is a SAGE backend serve

[sage-devel] Re: notebook development

2007-02-06 Thread Timothy Clemans
My idea is to have an API system like Google does for search, maps, ... where the webmaster has a lot of control and Google does the backend work. So all I would need is a SAGE backend server that someone would let me have access to for a project like Classroom SAGE. On 2/6/07, alex clemesha <[EM

[sage-devel] Re: Increasing height/width/breadth of notebook cells

2007-02-06 Thread Timothy Clemans
I want that list plain and simple. IE 6 needs to be supported. I have 7 under XP and can get 6 back on and work on supporting it. On 2/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Where do I go for a complete listing of all of the issues with the > > SAGE notebook and IE? > > This lis

[sage-devel] Re: notebook development

2007-02-06 Thread alex clemesha
> > Why not just write the notebook in Python or PHP using mod_PHP or Ask Tom Boothby! Wink-Wink!! :) mod_python in Apache and just create a sage worker server? This way > could setup a notebook and use SSH to talk a the worker server. The > worker server would do all the SAGE computations. > >

[sage-devel] Re: notebook development

2007-02-06 Thread Timothy Clemans
Why not just write the notebook in Python or PHP using mod_PHP or mod_python in Apache and just create a sage worker server? This way could setup a notebook and use SSH to talk a the worker server. The worker server would do all the SAGE computations. This way I could host my notebook using a sta

[sage-devel] Re: notebook development

2007-02-06 Thread alex clemesha
On 2/6/07, William Stein <[EMAIL PROTECTED]> wrote: > > > On Tue, 06 Feb 2007 12:42:18 -0700, alex clemesha <[EMAIL PROTECTED]> > wrote: > > > The Twisted web2 stuff in not completely mature, and to really getting > > going you must climb a *steep* learning curve if you are not already a > networki

[sage-devel] Re: Increasing height/width/breadth of notebook cells

2007-02-06 Thread boothby
> Where do I go for a complete listing of all of the issues with the > SAGE notebook and IE? This list would be as long as the list of features in the notebook. --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe

[sage-devel] Re: notebook development

2007-02-06 Thread William Stein
On Tue, 06 Feb 2007 12:42:18 -0700, alex clemesha <[EMAIL PROTECTED]> wrote: > The Twisted web2 stuff in not completely mature, and to really getting > going you must climb a *steep* learning curve if you are not already a > networking guru. > (read the Twisted-web mailing list, this is the gene

[sage-devel] Re: two sage devel projects

2007-02-06 Thread William Stein
On Tue, 06 Feb 2007 12:01:51 -0700, didier deshommes <[EMAIL PROTECTED]> wrote: > On 2/6/07, William Stein <[EMAIL PROTECTED]> wrote: >> HI. I applied your patch, built quaddouble-2.2, and did every single >> optimization I could think of. Much to my *surprise*, MPFR at 212-bits >> precision sol

[sage-devel] Re: notebook development

2007-02-06 Thread alex clemesha
On 2/6/07, William Stein <[EMAIL PROTECTED]> wrote: > > > Hi, > > Regarding all the notebook discussion, I think it is great to make > a list of entries about the notebook in trac server. But I do *not* > think we should we should implement any of them (unless they are > trivial), until the notebo

[sage-devel] notebook development

2007-02-06 Thread William Stein
Hi, Regarding all the notebook discussion, I think it is great to make a list of entries about the notebook in trac server. But I do *not* think we should we should implement any of them (unless they are trivial), until the notebook is transitioned over to use the twisted "web2" web server, sinc

[sage-devel] Re: two sage devel projects

2007-02-06 Thread didier deshommes
On 2/6/07, William Stein <[EMAIL PROTECTED]> wrote: > HI. I applied your patch, built quaddouble-2.2, and did every single > optimization I could think of. Much to my *surprise*, MPFR at 212-bits > precision solidly beats quaddouble-2.2. It's not Python overheard, > since in multiplication this

[sage-devel] Re: Increasing height/width/breadth of notebook cells

2007-02-06 Thread Timothy Clemans
I'm surprised that it would suck to say to sage: copy cell(2) of worksheet(graphics) to worksheet( Christian) or copy all of "graphics" to " Christian". Is there going to be a template system so that students in a class all start out with the same worksheet that the teacher created? I really hop

[sage-devel] Re: Increasing height/width/breadth of notebook cells

2007-02-06 Thread Timothy Clemans
It will be a long time before the King Country Library System updates to IE7. On 2/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > IE7 will be supported in the future. > > Copying cells around would suck for what you're doing, no matter how easy we > could make it. There is also a forthc

[sage-devel] Re: Increasing height/width/breadth of notebook cells

2007-02-06 Thread boothby
IE7 will be supported in the future. Copying cells around would suck for what you're doing, no matter how easy we could make it. There is also a forthcoming feature in which you will be able to edit files, similar to the worksheet editing mode, and attach them to your SAGE session. For now,

[sage-devel] Re: Increasing height/width/breadth of notebook cells

2007-02-06 Thread Iftikhar Burhanuddin
On Tue, 6 Feb 2007 [EMAIL PROTECTED] wrote: > (Ifti -- put this issue into trac, if it isn't already -- and don't be > afraid to do so in general. Good to keep me reminded regularly.) No Fear :) Done. Ticket #246. Regards, Ifti --~--~-~--~~~---~--~~ To

[sage-devel] Re: two sage devel projects

2007-02-06 Thread William Stein
On Tue, 06 Feb 2007 06:02:00 -0700, David Harvey <[EMAIL PROTECTED]> wrote: > You might be giving MPFR an unfair advantage by computing a square. I tried the same benchmark but instead computing a*b with a != b, and it makes no noticeable difference in both cases. Sigh. > The MPFR multiplicati

[sage-devel] quad double

2007-02-06 Thread William Stein
Yozo, Thanks for your wonderful talk at the workshop last week. I have a question about quad double. Is the quad double library supposed to be faster than MPFR computing with 212 bits precision? Or is the point that quad double allows you to avoid using MPFR/GMP? After doing benchmarks, it

[sage-devel] Re: Increasing height/width/breadth of notebook cells

2007-02-06 Thread Timothy Clemans
Can my notebook suggestions be added to Trac? I sent them to sage-support. The notebook is extremely important to me, because I just got a kid very interested in using SAGE and writing basic functions. He didn't know much about the computer last night until I showed him how easy it is to write som

[sage-devel] Re: two sage devel projects

2007-02-06 Thread David Harvey
On Feb 6, 2007, at 2:35 AM, William Stein wrote: > All timings are on a Mac OS X Intel core2duo 2.33Ghz laptop. > > {{{ > a = QDRF(920380238409283408203948092384092348) > }}} > > {{{ > %time > for i in range(10^5): > b = a*a > /// > CPU time: 0.18 s, Wall time: 0.19 s > }}} > > {{{ > a = R

[sage-devel] Re: Increasing height/width/breadth of notebook cells

2007-02-06 Thread boothby
For now, it's about as good as it's going to get for now. You want more cell? Use slideshow mode. Otherwise, don't make such big cells. That being said, I make super huge cells all the time, and the scrolling around pisses me off, too. So something will be done about it. Either there will

[sage-devel] Increasing height/width/breadth of notebook cells

2007-02-06 Thread Iftikhar Burhanuddin
Hi folks, When I paste a huge string into a notebook cell, the height of the cell doesn't increase appropriately and scrolling through the string using my cursor and maneuvering the tiny scroll bar are painful. I was wondering if there is any way to increase the height of cells in the SAGE noteb