[sage-devel] Re: repr or input_form or some way of getting the code to create an object

2008-03-04 Thread Robert Bradshaw
_sage_init_ sounds like the right solution. The problem is that for many objects, printing all the information that would make them reproducible is really ugly. For example, if I have [1 2] [3 4] Is this over the integers, or the rationals, or the integers mod 17? Or perhaps it's a symboli

[sage-devel] Re: Sage 2.10.3.rc1 released

2008-03-04 Thread Jaap Spies
mabshoff wrote: > Hello folks, > > the rc1 release is finally out. Various old doctest failures, most new > patches got their failures fixed along the way. Instead of a deep > freeze I ended up merging quite some number of patches to stay on top > of things. Tarball is at > > http://sage.math.wa

[sage-devel] Re: Cython benchmarks?

2008-03-04 Thread Robert Bradshaw
That all depends on how it is written. If you are using a lot of python data types, it will be slower. If not, you can write Cython that translates to nearly pure C (and runs at that speed). - Robert On Mar 4, 2008, at 10:21 PM, Carlo Hamalainen wrote: > > Hi, > > I have this request for C

[sage-devel] Cython benchmarks?

2008-03-04 Thread Carlo Hamalainen
Hi, I have this request for Cython benchmarks on a blog post of mine - is there any data out there, specifically comparing Cython to C/C++? -- Carlo Hamalainen http://carlo-hamalainen.net -- Forwarded message -- http://carlo-hamalainen.net/blog/?p=19 Author : Robert Samal E

[sage-devel] Re: "evaluate" links in notebook

2008-03-04 Thread Francis Clarke
At 10:07 -0800 4/3/08, [EMAIL PROTECTED] wrote: >Find the following line in js.py, in the function cell_blur(id): > > setTimeout("set_class('eval_button"+id+"','eval_button')", 100) > >and comment it out. It's responsible for making the link disappear >when you've left the cell. That resulte

[sage-devel] Re: "evaluate" links in notebook

2008-03-04 Thread boothby
>> If that doesn't work, then I'll be really baffled (ok, even more baffled >> than I am already). If it does work, then change the 100 to a 1000 (delay >> in miliseconds), and see if it still works. > > Ahah! Now it works --- I can finally click on "evaluate"! Thanks very much. > > The criti

[sage-devel] Re: "evaluate" links in notebook

2008-03-04 Thread Justin C. Walker
On Mar 4, 2008, at 10:07 , [EMAIL PROTECTED] wrote: > On Tue, 4 Mar 2008, bill purvis wrote: [snip] > > It's frustrating not to have access to the platform that this is > broken on... I'm running Ubuntu 7.04 and the same version of > Firefox, and it works fine for me. But, I might have a sol

[sage-devel] Re: repr or input_form or some way of getting the code to create an object

2008-03-04 Thread Mike Hansen
Here's the relevant ticket: http://sagetrac.org/sage_trac/ticket/2387 --Mike On Tue, Mar 4, 2008 at 9:44 PM, Nick Alexander <[EMAIL PROTECTED]> wrote: > > This is not general, but if M is your matrix, the code 'matrix(R, m, > n, list(M))' is pretty easy. > > Nick > > > > On 4-Mar-08, at 10:5

[sage-devel] Re: repr or input_form or some way of getting the code to create an object

2008-03-04 Thread Nick Alexander
This is not general, but if M is your matrix, the code 'matrix(R, m, n, list(M))' is pretty easy. Nick On 4-Mar-08, at 10:59 AM, Jason Grout wrote: > > This morning I tried to copy a matrix output, edit it, and create a > new > matrix. It was frustrating because there seemed to be no way t

[sage-devel] repr or input_form or some way of getting the code to create an object

2008-03-04 Thread Jason Grout
This morning I tried to copy a matrix output, edit it, and create a new matrix. It was frustrating because there seemed to be no way to easily cut and paste output into input. This afternoon a person I was showing Sage to also had the same concern. There has been discussion before on the pyt

[sage-devel] Re: Sage 2.10.3.rc1 released

2008-03-04 Thread Jaap Spies
mabshoff wrote: > Hello folks, > > the rc1 release is finally out. Various old doctest failures, most new > patches got their failures fixed along the way. Instead of a deep > freeze I ended up merging quite some number of patches to stay on top > of things. Tarball is at > > http://sage.math.wa

[sage-devel] Notebook Cell output

2008-03-04 Thread Martin Albrecht
Hi there, It is a known issue, that {{{ 1 2 3 }}} in the notebook outputs: {{{ 3 }}} However, this behavior is not uniform. E.g. this (note the spaces) {{{ 1 2 3 }}} outputs {{{ 1 }}} Most interestingly, this: {{{ while True: 1 2 3 break }}} outputs the desired output {{

[sage-devel] Re: "evaluate" links in notebook

2008-03-04 Thread boothby
On Tue, 4 Mar 2008, bill purvis wrote: > > On Wednesday 27 February 2008, William Stein wrote: >> On Tue, Feb 26, 2008 at 8:24 AM, Francis Clarke <[EMAIL PROTECTED]> > wrote: >>> The "evaluate" links for the notebook introduced in SAGE 2.9.2 have >>> never worked for me (Mac OS X 10.4.11, SA

[sage-devel] Re: Mac application licensing question

2008-03-04 Thread David Joyner
On Tue, Mar 4, 2008 at 9:56 AM, William Stein <[EMAIL PROTECTED]> wrote: > > On Tue, Mar 4, 2008 at 5:32 AM, David Joyner <[EMAIL PROTECTED]> wrote: > > > > On Tue, Mar 4, 2008 at 2:04 AM, Ivan Andrus <[EMAIL PROTECTED]> wrote: > > > > > > > > Fluid has been updated fixing the largest (in

[sage-devel] Re: Mac application licensing question

2008-03-04 Thread William Stein
On Tue, Mar 4, 2008 at 5:32 AM, David Joyner <[EMAIL PROTECTED]> wrote: > > On Tue, Mar 4, 2008 at 2:04 AM, Ivan Andrus <[EMAIL PROTECTED]> wrote: > > > > > Fluid has been updated fixing the largest (in my mind) bug. > > Therefore, I have created a version of Sage.app which I am happy > > e

[sage-devel] Re: Figleaf and Sage

2008-03-04 Thread Mike Hansen
> Ah, that is cool. Now that's a doc-test requirement that I could appreciate! > That is, I think it is quite reasonable to require all your code be green in > figleaf. I think things like figleaf and -coverage are both useful/important since they really are checking for different things. It

[sage-devel] Re: "evaluate" links in notebook

2008-03-04 Thread bill purvis
On Wednesday 27 February 2008, William Stein wrote: > On Tue, Feb 26, 2008 at 8:24 AM, Francis Clarke <[EMAIL PROTECTED]> wrote: > > The "evaluate" links for the notebook introduced in SAGE 2.9.2 have > > never worked for me (Mac OS X 10.4.11, SAGE 2.9.2 -- 2.10.2 + either > > Safari or Firefo

[sage-devel] Re: Figleaf and Sage

2008-03-04 Thread Joel B. Mohler
On Tuesday 04 March 2008 04:47:44 am Mike Hansen wrote: > Hello all, > > Figleaf is a module for doing line coverage of Python code. I've made > an spkg at http://sage.math.washington.edu/figleaf-latest.spkg for > anyone who wants to try it out. It contains a script sage-figleaf > which I threw

[sage-devel] Re: Mac application licensing question

2008-03-04 Thread David Joyner
On Tue, Mar 4, 2008 at 2:04 AM, Ivan Andrus <[EMAIL PROTECTED]> wrote: > > Fluid has been updated fixing the largest (in my mind) bug. > Therefore, I have created a version of Sage.app which I am happy > enough with to share with people. I have added instructions on the > wiki at http://wiki.

[sage-devel] Figleaf and Sage

2008-03-04 Thread Mike Hansen
Hello all, Figleaf is a module for doing line coverage of Python code. I've made an spkg at http://sage.math.washington.edu/figleaf-latest.spkg for anyone who wants to try it out. It contains a script sage-figleaf which I threw together very quickly. To test it out, do the following 1) Make s