[sage-devel] Re: apropos command for SAGE

2007-06-26 Thread Fernando Perez
On 6/26/07, Nick Alexander <[EMAIL PROTECTED]> wrote: > Interrogating literals works, more or less. > > sage: ?factor(6) > Type: Factorization > Base Class: > String Form:2 * 3 > Length: 2 > Docstring: > I'm going to guess you have an eval() somewhere in there for

[sage-devel] just for fun -- a sage/magma hack

2007-06-26 Thread William Stein
Hi, Often people want to try something out in the latest version of MAGMA, but perhaps they don't have easy access to MAGMA. If you past the following into SAGE (see below) or a notebook cell, you'll get a new command magma_free_eval that will evaluate code in the latest version of MAGMA and retu

[sage-devel] apropos command for SAGE

2007-06-26 Thread Nick Alexander
Hi everyone, Several people at SD4 suggested that patches waiting to be applied be posted to the trac, with the hope being that referees will comment there and that William will update the trac when they are applied. In that spirit, http://sagemath.org:9002/sage_trac/ticket/391 contains a bund

[sage-devel] Re: courses in sage

2007-06-26 Thread Timothy Clemans
Then could you please give some examples of what you are talking about. I'm completely lost on this issue. On 6/26/07, Nick Alexander <[EMAIL PROTECTED]> wrote: > > "Timothy Clemans" <[EMAIL PROTECTED]> writes: > > > Wait so it would be urn:username:~username~:ws:~worksheet~ ? Isn't that > > lon

[sage-devel] Re: courses in sage

2007-06-26 Thread Nick Alexander
"Timothy Clemans" <[EMAIL PROTECTED]> writes: > Wait so it would be urn:username:~username~:ws:~worksheet~ ? Isn't that > longer? No. I should have said URL, but your example does not follow the conventions in any case. Nick --~--~-~--~~~---~--~~ To post to th

[sage-devel] Re: SAGE notebook 2

2007-06-26 Thread Timothy Clemans
An example of XSS in the notebook is that someone could make an account name that has html and javascript (I know this works with my copy of the notebook) and then just publish worksheets. For example on a local notebook I made an account called mark and then forced a failed login page for invalid

[sage-devel] Re: courses in sage

2007-06-26 Thread Timothy Clemans
Wait so it would be urn:username:~username~:ws:~worksheet~ ? Isn't that longer? http://en.wikipedia.org/wiki/Uniform_Resource_Name William implemented cell:// On 6/26/07, Nick Alexander <[EMAIL PROTECTED]> wrote: > > "Timothy Clemans" <[EMAIL PROTECTED]> writes: > > > I like the worksheet linki

[sage-devel] Re: courses in sage

2007-06-26 Thread Nick Alexander
"Timothy Clemans" <[EMAIL PROTECTED]> writes: > I like the worksheet linking idea. What do people think of > "worksheet://~username~:~worksheetname~" -1, this is too hard to type. There is a standard way to write URNs, we should use that unless there is a very compelling argument not to. On a

[sage-devel] Re: Crash in pyrex and gdb

2007-06-26 Thread William Stein
On 6/26/07, Martin Albrecht <[EMAIL PROTECTED]> wrote: > > > 3) Now "sage -br" and try: > > My first guess: try "sage -ba" to make sure everything is rebuild (this might > take a while). Maybe the change in parents_with_gens isn't picked up > everywhere. > That's what I said to him ... and, it wo

[sage-devel] Re: Crash in pyrex and gdb

2007-06-26 Thread Martin Albrecht
> 3) Now "sage -br" and try: My first guess: try "sage -ba" to make sure everything is rebuild (this might take a while). Maybe the change in parents_with_gens isn't picked up everywhere. Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _www:

[sage-devel] Crash in pyrex and gdb

2007-06-26 Thread Gonzalo Tornaria
I want to define some cdef functions in pyrex code to make the coercion stuff as fast as possible. I am having the following problem (simplified): 1) add a cdef declaration to structure/parent_base.pxd, the class looks now like (last line added) cdef class ParentWithBase(parent.Parent): cdef

[sage-devel] Re: a SD4 video

2007-06-26 Thread Timothy Clemans
Fixed! It will take several hours to get updated. On 6/26/07, David Joyner <[EMAIL PROTECTED]> wrote: > > It's nice that you posted the video there but it has my name instead of > William Stein's. Is there a way to edit that? > > > > On 6/26/07, Timothy Clemans <[

[sage-devel] Re: a SD4 video

2007-06-26 Thread David Joyner
It's nice that you posted the video there but it has my name instead of William Stein's. Is there a way to edit that? On 6/26/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > The Google Video version is at > http://video.google.com/videoplay?docid=-72969323026703

[sage-devel] Re: courses in sage

2007-06-26 Thread William Stein
On 6/26/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > > I like the worksheet linking idea. What do people think of > "worksheet://~username~:~worksheetname~" What's with all the tilde's? > Now would this only work for published worksheets? No -- don't restrict to only published worksheets. I

[sage-devel] Re: courses in sage

2007-06-26 Thread Timothy Clemans
I like the worksheet linking idea. What do people think of "worksheet://~username~:~worksheetname~" Now would this only work for published worksheets? On 6/26/07, William Stein <[EMAIL PROTECTED]> wrote: > On 6/26/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > > Here is what I plan to implemen

[sage-devel] Re: courses in sage

2007-06-26 Thread William Stein
On 6/26/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > Here is what I plan to implement today for courses in SAGE. > > home/~username~/courses > > Teacher makes a document like: >

[sage-devel] Re: a SD4 video

2007-06-26 Thread William Stein
On 6/26/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > The Google Video version is at > http://video.google.com/videoplay?docid=-7296932302670351208&hl=en > Thanks! I've posted an embedded version of that video here: http://www.sagemath.org/why.html William --~--~-~--~~--

[sage-devel] Re: a SD4 video

2007-06-26 Thread Timothy Clemans
The Google Video version is at http://video.google.com/videoplay?docid=-7296932302670351208&hl=en On 6/26/07, William Stein <[EMAIL PROTECTED]> wrote: > > > On 6/26/07, Hamptonio <[EMAIL PROTECTED]> wrote: > > > > Small but the sound is good. Thanks for putting it up, I was > > disappointed I cou

[sage-devel] Re: a SD4 video

2007-06-26 Thread William Stein
On 6/26/07, Hamptonio <[EMAIL PROTECTED]> wrote: > > Small but the sound is good. Thanks for putting it up, I was > disappointed I couldn't make it to SD4 and videos help a lot. I tried making a bigger version. What do people think? Does it stream for you? http://sage.math.washington.edu/

[sage-devel] Re: Finite Field Isomorphisms

2007-06-26 Thread Martin Albrecht
> David Roe and I started looking into this at SD3. What David Harvey > said in his reply is right -- there's no way to choose a canonical > map in the mathematical sense, but you can make a "default" choice. I > know David Roe has thought more about this, especially wrt the coerce > conversations

[sage-devel] Re: Finite Field Isomorphisms

2007-06-26 Thread Craig Citro
> * How to pick a canonical isomorphism? My idea is to pick the roots > that > define phi and phi^(-1) (r1, r2) treat them as polynomials over > GF(q).base_ring() and choose the canonical isomorphism where the > product > r1*r2 is minimal. Does this make sense? > > * From there it should be ea

[sage-devel] Re: a SD4 video

2007-06-26 Thread Hamptonio
Small but the sound is good. Thanks for putting it up, I was disappointed I couldn't make it to SD4 and videos help a lot. -MH On Jun 22, 2:01 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > What do you guys think of this video: > > http://sage.math.washington.edu/home/was/tmp/sd4/ > > Size?

[sage-devel] Re: SAGE notebook 2

2007-06-26 Thread Hamptonio
Hi, I am getting some funny errors now on the new notebook. In fact, the first thing I tried failed, defining the following ring: R7grev. = MPolynomialRing(QQ,7,order = "degrevlex") gives the errors: ./t: line 2: syntax error near unexpected token `(' ./t: line 2: `R7grev. = MPolynomialRing(Q

[sage-devel] Re: Finite Field Isomorphisms

2007-06-26 Thread David Harvey
On Jun 26, 2007, at 8:39 AM, Martin Albrecht wrote: > > Hi there, > > I have given some thought to finite extension field isomorphisms > and finite > extension field embeddings. Before you get too deeply into this, you should also discuss this with David Roe (and possibly others), who has b

[sage-devel] Finite Field Isomorphisms

2007-06-26 Thread Martin Albrecht
Hi there, I have given some thought to finite extension field isomorphisms and finite extension field embeddings. As I realized that my number theory skills are quite weak I need some input. Let K1. = GF(q) and K2. =GF(q) with possible distinct minimal polynomials. I understand now how to con

[sage-devel] Re: SAGE notebook 2

2007-06-26 Thread William Stein
Hi, I fixed a number of issues with the notebook (see changelog below) and just made the changed version live. If you're closing following this thread, please let me know if anything seems seriously broken as a result (I'm suffering from the lack of a unit testing framework for the notebook -- h