[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Stan Schymanski

Hi John,

I installed "It's all text" a while ago, but I have not found a way of 
linking it to a WYSIWYG editor. TinyMCE is an office-like WYSIWYG 
editor, so it seems totally different to "It's all text". Just go to 
their web page and try it out: 
http://tinymce.moxiecode.com/examples/full.php#

I think it is pretty cool, but I haven't tried it out in a notebook, so 
perhaps we could include it as an optional package first for testing?

+1 (optional or standard)

Stan

John Cremona wrote:
> Firefox has an extension which does exactly this (to any text form
> cell on any web page) called "It's all text", which I use
> occasionally.  That means that for firefox users your new package is
> -- I think -- redundant.
>
> For example, in replying to this in gmail I could have clicked
> something to make an emacs window pop up to compose my reply in.  That
> is sometimetimes useful -- though not for simple things like this
> message!
>
> john
>
>   


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Michael Brickenstein

I made good experiences with TinyMCE in two projects.
So a
+1
Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread John Cremona

I certainly have no objections -- I had not appreciated the WYSYWIG
aspect, since I hardly use such things.

John

2008/10/14 Stan Schymanski <[EMAIL PROTECTED]>:
>
> Hi John,
>
> I installed "It's all text" a while ago, but I have not found a way of
> linking it to a WYSIWYG editor. TinyMCE is an office-like WYSIWYG
> editor, so it seems totally different to "It's all text". Just go to
> their web page and try it out:
> http://tinymce.moxiecode.com/examples/full.php#
>
> I think it is pretty cool, but I haven't tried it out in a notebook, so
> perhaps we could include it as an optional package first for testing?
>
> +1 (optional or standard)
>
> Stan
>
> John Cremona wrote:
>> Firefox has an extension which does exactly this (to any text form
>> cell on any web page) called "It's all text", which I use
>> occasionally.  That means that for firefox users your new package is
>> -- I think -- redundant.
>>
>> For example, in replying to this in gmail I could have clicked
>> something to make an emacs window pop up to compose my reply in.  That
>> is sometimetimes useful -- though not for simple things like this
>> message!
>>
>> john
>>
>>
>
>
> >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Vote for TinyMCE spkg

2008-10-14 Thread Jason Grout

Recently I've been working on WYSIWYG editing for the text cells of 
Sage.  I've made an spkg for the TinyMCE javascript editor.  The idea is 
that you can double-click on any text cell and, in-place, a TinyMCE 
editor pops up that lets you edit HTML code in a familiar word-processor 
sort of environment.  I think this will make editing text in a worksheet 
*much* easier and more accessible.

Website: http://tinymce.moxiecode.com/

License: LGPL

Demo of TinyMCE:

This javascript editor is very actively developed.  TinyMCE has a nice 
plugin architecture and includes capabilities such as a WYSIWYG table 
editor, the standard formatting commands, a special paste-from-word 
feature that does a decent job of letting you paste directly from a word 
document into the html cell, etc.  It is very cross-platform and 
cross-browser (see 
http://wiki.moxiecode.com/index.php/TinyMCE:Compatibility).  The main 
competitor to TinyMCE is FCKEdit, and from what I've seen and 
researched, TinyMCE generates cleaner HTML code.  TinyMCE is the 
standard editor bundled with Wordpress (popular blogging software), and 
a list of CMS systems which either have a TinyMCE plugin or include it 
in the software are listed at 
http://wiki.moxiecode.com/index.php/TinyMCE:CMS_systems.

Another person's review of javascript editors is here: 
http://www.garretwilson.com/blog/2008/07/27/javascriptxhtmleditors.xhtml, 
which concludes that there is no perfect, or really even really good, 
javascript editor, but TinyMCE is the best available.

I've made an spkg for TinyMCE and relevant patches to enable its 
functionality at http://trac.sagemath.org/sage_trac/ticket/4255.  Please 
read the instructions on the ticket to try this out; creating text cells 
is still not completely obvious.  I am working on making creating text 
cells easier soon.  The patch makes it so that Sage checks to see if 
TinyMCE is installed before enabling the features, so it's not necessary 
that TinyMCE be a standard spkg, though I hope that it someday will be.

The downside to using TinyMCE is that it adds another 150k or so to the 
javascript downloads (using the plugins that I enabled in it).  However, 
usually this is cached by the browser, so it is a one-time cost.  If we 
ever figure out how to turn on the automatic gzip compression on twisted 
connections, this downside will be dramatically reduced. Even with the 
extra 150k, though, I feel that the usability benefits far outweigh the 
costs.

So, do you vote

[ ] Yes, include TinyMCE as a standard package
[ ] Yes, include TinyMCE as an optional package
[ ] No, do not include TinyMCE as a package


I personally think that the most prudent choice now is to include it as 
an optional package, merge the patch at #4255, and let a few people try 
it out.  I hope to have easy text-cell creation done "real soon now", 
which would enable people to just shift-click on the "add-new-cell" line 
and get a new text cell with a TinyMCE edit box if it's installed.  I 
would hope then that we could include TinyMCE in as a standard package. 
  I think this would make sage notebooks much friendlier to people 
wanting to annotate the mathematics with prose and explanation.

Thanks,

Jason


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Stan Schymanski

Hi Martin,

I think that most of the developers would agree with you, but bear in 
mind that a large number of potential users come from the WYSIWYG icon 
clicking world. These are often the same people that get discouraged by 
the need of having to install optional packages, so I wonder if there is 
a way of including something as standard but providing a way of 
deselecting it for advanced users? Something like the standard version 
with bells and whistles for the newbie and a customised version for the 
wiz.

I have the feeling that TinyMCE could make the notebook more attractive 
to users that are not familiar with writing code. They could ease into 
coding slowly. Since the generated html code still appears in the 
notebook, this would be a nice way of learning html, too. Eventually, 
the user is likely to need it less and less and do his own html coding, 
at which point he could deselect the package again.

Stan

Martin Albrecht wrote:
> I don't want to vote against it just know but I don't really get the need for 
> a WYSIWYG editor in the notebook. I am very much in favor of easy text cell 
> creation (using say ReST) but a WYSIWYG editor seems bloated to me.
>
> Cheers,
> Martin
>
>
>   


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage public notebook servers

2008-10-14 Thread Robert Miller

> A security researcher decided to purposely take down sage.math to
> demonstrate that it is possible to fork bomb the machine through the
> public sage notebook servers.   I had always plan to run these comletley
> public servers until something like this happened.  Therefore,
> sagenb.org (and the other public sage notebook servers I host) will be
> completely disable until further notice.

Tell him where to put his next fork bomb for me.


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: [sage-support] Re: [sage-devel] Re: Sage public notebook servers

2008-10-14 Thread William Stein

On Tue, Oct 14, 2008 at 1:06 AM, Serge Salamanka <[EMAIL PROTECTED]> wrote:
>
> I have experience with Xen.
> Can set up a virtual machine for Sage.
> It's not that difficult anyway.

What do you need to do this?  How secure are they?

By the way, I'm currently copied all the data from sagenb.org
and the other servers to
   http://sage.math.washington.edu/home/was/sagenb/
so people can recover any worksheets they have.

William


>>
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread William Stein

On Tue, Oct 14, 2008 at 5:06 AM, mhampton <[EMAIL PROTECTED]> wrote:
>
> +1 for inclusion.  I think this is worth it, for the reasons given
> below by Jason.  It is almost orthogonal in use to the "Its all text"
> plugin, which works great for me on WIndows but irritates me on macs
> for some reason (I uninstalled it, and now I can't remember exactly
> why).
>
> Using Sage for computer labs, I need students to be able to edit a
> worksheet easily to write up their answers, and I think this will help
> quite a bit.  It might actually make it easier for them to do a good
> lab writeup than it is in Mathematica (which has some powerful text
> editing capabilities but I don't think they are easy to use).

[x] yes, include standard

I think this proposed editor fits very squarely into the mission
statement of Sage, which is "provide a viable alternative to
Mathematica, etc."

Does tinyMCE have any sort of equation plugin?  Have you thought
about that at all?

William

--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread William Stein

On Tue, Oct 14, 2008 at 7:35 AM, Jason Grout
<[EMAIL PROTECTED]> wrote:
>
> William Stein wrote:
>> On Tue, Oct 14, 2008 at 5:06 AM, mhampton <[EMAIL PROTECTED]> wrote:
>>> +1 for inclusion.  I think this is worth it, for the reasons given
>>> below by Jason.  It is almost orthogonal in use to the "Its all text"
>>> plugin, which works great for me on WIndows but irritates me on macs
>>> for some reason (I uninstalled it, and now I can't remember exactly
>>> why).
>>>
>>> Using Sage for computer labs, I need students to be able to edit a
>>> worksheet easily to write up their answers, and I think this will help
>>> quite a bit.  It might actually make it easier for them to do a good
>>> lab writeup than it is in Mathematica (which has some powerful text
>>> editing capabilities but I don't think they are easy to use).
>>
>> [x] yes, include standard
>>
>> I think this proposed editor fits very squarely into the mission
>> statement of Sage, which is "provide a viable alternative to
>> Mathematica, etc."
>>
>> Does tinyMCE have any sort of equation plugin?  Have you thought
>> about that at all?
>>
>
> No, and no.  I haven't thought about it because doing mathematics like
> $x^2$ or $$x^2$$ still invokes jsmath, so we still have access to nice
> mathematics typesetting.
>
> It looks like there have been inquiries for such:
>
> http://tinymce.moxiecode.com/punbb/viewtopic.php?id=3790
>
> I still think that Davide Cervone's javascript equation editor is the
> best, by far (see
> http://www.math.union.edu/~dpvc/talks/2006-12-08.IMA/editor.html or the
> sage-devel discussion about halfway down here:
> http://groups.google.com/group/sage-devel/browse_thread/thread/e23cde79a12fd0aa/65e8aac196f4fe8c)

I really like that editor.  It looks gorgeous, and you can type
directly in latex if you want.   Well, my questions was just
inspired by the remark about students typing up their
student projects using Sage.

>
> If we could (optionally) trigger Davide's equation editor when a person
> typed a dollar sign, I think that would be perfect for an equation editor.
>
> Jason
>
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Jason Grout

Stan Schymanski wrote:
> William Stein wrote:
>> Does tinyMCE have any sort of equation plugin?  Have you thought
>> about that at all?
>>
>>   
> Could we put the html code provided by tinyMCE into an input cell and 
> preparse
> 
> %hide
> %html
> 
> or
> 
> %hideall
> %html
> 
> Then, we could just write e.g. $E=m*c^2$ in the tinyMCE editor and it 
> would be converted into an equation by Sage. Admittedly, this would not 
> be WYSIWYG any more...


See my other post responding to this.  Basically, enclosing mathematics 
in dollar signs still works automatically.  It's technically not 
wysiwyg, but it's as close as we'll get right now without an equation 
editor.

So, there's no need to put things into an input cell.

Jason


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sagemath.org website update #5

2008-10-14 Thread Robert Bradshaw

On Oct 12, 2008, at 2:45 PM, Harald Schilly wrote:

>
> Hello all, here is a short update about the sagemath.org website.
>
> First, when i started to monitor the access, the usual number of
> visits per day was 800-1000. It still varies, but you can think of
> 2000 visits per day now. Mainly due to more exposure and blogs, more
> teaching of sage and much more -- except, there is also monitoring on
> trac and wiki now, but since a visit only counts for one session and
> not for page views, this does not account for such many visits.
>
> An important event happend in the last week, a slight slashdotting,
> because sage was mentioned in the comments of this article:
> http://books.slashdot.org/books/08/10/01/1329243.shtml
> this brought about 1300 visits. Oct 1st was also a new record high
> with 3024 visits, first time above 3000!
>
> Two interesting referring pages popped up. There are two courses
> teaching Sage in Austria:
> http://www.risc.uni-linz.ac.at/education/courses/ws2008/mathematik1/
> (Linz, Upper Austria)
> http://www.math.tugraz.at/~huss/computermathematik08/ (Graz, Styria)
> e.g. look at http://www.math.tugraz.at/~huss/computermathematik08/ 
> dateien/sage_tutorium_1.html
>
> If anybody knows about other courses or has links to past lectures,
> please tell me. I think it could be very useful to collect them just
> like collecting publications referencing Sage.

Just out of curiosity, are you still keeping download stats?

- Robert


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Jason Grout

William Stein wrote:
> On Tue, Oct 14, 2008 at 5:06 AM, mhampton <[EMAIL PROTECTED]> wrote:
>> +1 for inclusion.  I think this is worth it, for the reasons given
>> below by Jason.  It is almost orthogonal in use to the "Its all text"
>> plugin, which works great for me on WIndows but irritates me on macs
>> for some reason (I uninstalled it, and now I can't remember exactly
>> why).
>>
>> Using Sage for computer labs, I need students to be able to edit a
>> worksheet easily to write up their answers, and I think this will help
>> quite a bit.  It might actually make it easier for them to do a good
>> lab writeup than it is in Mathematica (which has some powerful text
>> editing capabilities but I don't think they are easy to use).
> 
> [x] yes, include standard
> 
> I think this proposed editor fits very squarely into the mission
> statement of Sage, which is "provide a viable alternative to
> Mathematica, etc."
> 
> Does tinyMCE have any sort of equation plugin?  Have you thought
> about that at all?
>

No, and no.  I haven't thought about it because doing mathematics like 
$x^2$ or $$x^2$$ still invokes jsmath, so we still have access to nice 
mathematics typesetting.

It looks like there have been inquiries for such:

http://tinymce.moxiecode.com/punbb/viewtopic.php?id=3790

I still think that Davide Cervone's javascript equation editor is the 
best, by far (see 
http://www.math.union.edu/~dpvc/talks/2006-12-08.IMA/editor.html or the 
sage-devel discussion about halfway down here: 
http://groups.google.com/group/sage-devel/browse_thread/thread/e23cde79a12fd0aa/65e8aac196f4fe8c)

If we could (optionally) trigger Davide's equation editor when a person 
typed a dollar sign, I think that would be perfect for an equation editor.

Jason


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Jason Grout

Peter wrote:
> There is a WYSIWYG equation plugin for TinyMCE that has a demo page at
> http://www.imathas.com/editordemo/demo.html .
> 
> On Firefox it uses MathML, and on other browsers it uses a graphics
> images fallback approach.

Oh, wow, that looks interesting.  It looks like it would be fairly 
straightforward to get it to use jsmath instead of asciimath too.

Thanks for pointing this out.

Jason


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Peter

There is a WYSIWYG equation plugin for TinyMCE that has a demo page at
http://www.imathas.com/editordemo/demo.html .

On Firefox it uses MathML, and on other browsers it uses a graphics
images fallback approach.

--Peter

On Oct 14, 7:38 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 14, 2008 at 7:35 AM, Jason Grout
>
>
>
> <[EMAIL PROTECTED]> wrote:
>
> > William Stein wrote:
> >> On Tue, Oct 14, 2008 at 5:06 AM, mhampton <[EMAIL PROTECTED]> wrote:
> >>> +1 for inclusion.  I think this is worth it, for the reasons given
> >>> below by Jason.  It is almost orthogonal in use to the "Its all text"
> >>> plugin, which works great for me on WIndows but irritates me on macs
> >>> for some reason (I uninstalled it, and now I can't remember exactly
> >>> why).
>
> >>> Using Sage for computer labs, I need students to be able to edit a
> >>> worksheet easily to write up their answers, and I think this will help
> >>> quite a bit.  It might actually make it easier for them to do a good
> >>> lab writeup than it is in Mathematica (which has some powerful text
> >>> editing capabilities but I don't think they are easy to use).
>
> >> [x] yes, include standard
>
> >> I think this proposed editor fits very squarely into the mission
> >> statement of Sage, which is "provide a viable alternative to
> >> Mathematica, etc."
>
> >> Does tinyMCE have any sort of equation plugin?  Have you thought
> >> about that at all?
>
> > No, and no.  I haven't thought about it because doing mathematics like
> > $x^2$ or $$x^2$$ still invokes jsmath, so we still have access to nice
> > mathematics typesetting.
>
> > It looks like there have been inquiries for such:
>
> >http://tinymce.moxiecode.com/punbb/viewtopic.php?id=3790
>
> > I still think that Davide Cervone's javascript equation editor is the
> > best, by far (see
> >http://www.math.union.edu/~dpvc/talks/2006-12-08.IMA/editor.htmlor the
> > sage-devel discussion about halfway down here:
> >http://groups.google.com/group/sage-devel/browse_thread/thread/e23cde...)
>
> I really like that editor.  It looks gorgeous, and you can type
> directly in latex if you want.   Well, my questions was just
> inspired by the remark about students typing up their
> student projects using Sage.
>
>
>
> > If we could (optionally) trigger Davide's equation editor when a person
> > typed a dollar sign, I think that would be perfect for an equation editor.
>
> > Jason
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Problems with is_irreducible function

2008-10-14 Thread Peter Schwabe
Hi,

I just encountered a problem with the is_irreducible function. The
following code does not work as exptected:

p =
82434016654300679721217353503190038836571781811386228921167322412819029493183
F = GF(p)

Fu. = F[]
Fext2. = GF(p**2, name='X', modulus=u**2 + 2)
xi = X + 1

Fext2v. = Fext2[]
Fext6. = GF(p**6, name='Y', modulus=v**3 - xi)

Fext6w. = Fext6[]

f = w**2 - Y
f.is_irreducible()



Kind regards,

Peter Schwabe



signature.asc
Description: Digital signature


[sage-devel] Re: sagemath.org website update #5

2008-10-14 Thread William Stein

On Tue, Oct 14, 2008 at 7:41 AM, Robert Bradshaw
<[EMAIL PROTECTED]> wrote:
>
> On Oct 12, 2008, at 2:45 PM, Harald Schilly wrote:
>
>>
>> Hello all, here is a short update about the sagemath.org website.
>>
>> First, when i started to monitor the access, the usual number of
>> visits per day was 800-1000. It still varies, but you can think of
>> 2000 visits per day now. Mainly due to more exposure and blogs, more
>> teaching of sage and much more -- except, there is also monitoring on
>> trac and wiki now, but since a visit only counts for one session and
>> not for page views, this does not account for such many visits.
>>
>> An important event happend in the last week, a slight slashdotting,
>> because sage was mentioned in the comments of this article:
>> http://books.slashdot.org/books/08/10/01/1329243.shtml
>> this brought about 1300 visits. Oct 1st was also a new record high
>> with 3024 visits, first time above 3000!
>>
>> Two interesting referring pages popped up. There are two courses
>> teaching Sage in Austria:
>> http://www.risc.uni-linz.ac.at/education/courses/ws2008/mathematik1/
>> (Linz, Upper Austria)
>> http://www.math.tugraz.at/~huss/computermathematik08/ (Graz, Styria)
>> e.g. look at http://www.math.tugraz.at/~huss/computermathematik08/
>> dateien/sage_tutorium_1.html
>>
>> If anybody knows about other courses or has links to past lectures,
>> please tell me. I think it could be very useful to collect them just
>> like collecting publications referencing Sage.
>
> Just out of curiosity, are you still keeping download stats?
>

Here are download numbers from sage.math from last week:

Linux Binary: 62
OS X Binary: 13
Source: 49
VMware: 72

This is only one of the mirror sites, but is the most popular one.

William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Problem with multi-extension fields

2008-10-14 Thread Peter Schwabe
Hi,

the following code doesn't finish computation:

p = 
82434016654300679721217353503190038836571781811386228921167322412819029493183 
F = GF(p)
Fu. = F[] 
Fext2. = GF(p**2, name='X', modulus=u**2 + 2)
xi = X + 1 
xibar = 1 - X 

Fext2v. = Fext2[]
Fext6. = GF(p**6, name='Y', modulus=v**3 - xi) 

Fext6w. = Fext6[]
zeta = (Y**(p**2 - 1))**2



When using something like

a = Y^100

instead of 

zeta = (Y**(p**2 - 1))**2

it appears that Sage (or pari) doesn't do reduction in the quadratic
extension Fext2, the output is 

(X^33 + 33*X^32 + 528*X^31 + 5456*X^30 + 40920*X^29 + 237336*X^28 +
1107568*X^27 + 4272048*X^26 + 13884156*X^25 + 38567100*X^24 +
92561040*X^23 + 193536720*X^22 + 354817320*X^21 + 573166440*X^20 +
818809200*X^19 + 1037158320*X^18 + 1166803110*X^17 + 1166803110*X^16 +
1037158320*X^15 + 818809200*X^14 + 573166440*X^13 + 354817320*X^12 +
193536720*X^11 + 92561040*X^10 + 38567100*X^9 + 13884156*X^8 +
4272048*X^7 + 1107568*X^6 + 237336*X^5 + 40920*X^4 + 5456*X^3 + 528*X^2
+ 33*X + 1)*Y



Kind regards,

Peter


signature.asc
Description: Digital signature


[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Jason Grout

Peter wrote:
> There is a WYSIWYG equation plugin for TinyMCE that has a demo page at
> http://www.imathas.com/editordemo/demo.html .
> 
> On Firefox it uses MathML, and on other browsers it uses a graphics
> images fallback approach.


The javascript svg editor plugin there also looks very interesting.  The 
homepage for it is

http://www1.chapman.edu/~jipsen/svg/asciisvg.html

for further reference.

Jason


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] More pictures from Sage Days 10

2008-10-14 Thread Jaap Spies

See

http://picasaweb.google.co.uk/j.spies88/SageDays10AtNancy?authkey=S6KBCzf-v34#

for some pictures of SD10.

Cheers,

Jaap


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sagemath.org website update #5

2008-10-14 Thread Harald Schilly

On Oct 14, 4:41 pm, Robert Bradshaw <[EMAIL PROTECTED]>
wrote:
>
> Just out of curiosity, are you still keeping download stats?
>

no, the point is, to get viable download stats you have to look at the
webserver stats, see williams posting. I want to implement some
tracking across all mirrors for clicked links on binaries, but that
depends on activated javascript and not blocking the code. So, it will
not be reliable, just "interesting".

greetings harald

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 3.1.3.rc0 released

2008-10-14 Thread mabshoff



On Oct 13, 4:28 pm, mhampton <[EMAIL PROTECTED]> wrote:
> I had two timeout failures on my G4 mac (os 10.4), and one "real"
> failure:
>
> sage -t  devel/sage/sage/rings/real_lazy.pyx
> **
> File "/Users/mh/Desktop/sage-3.1.3.rc0/tmp/real_lazy.py", line 549:
>     sage: complex(CLF(-1)^(1/4))
> Expected:
>     (0.70710678118654757+0.70710678118654746j)
> Got:
>     (0.70710678118654746+0.70710678118654757j)
> **
>
> The timeouts were on sage/modular/abvar/homspace.py, and sage/plot/
> plot.py.  Testing on that machine takes about 4 hours.

Hi,

this is now #4279. It is caused by numerical noise and will be fixed
shortly. Unless I find something else in my logs expect 3.1.3 shortly.

Cheers,

Michael

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 3.1.3.rc0 released

2008-10-14 Thread mabshoff

Hello folks,

the final 3.1.3 is imminent - the only fix besides one doctest patch
and the mandatory "make the documentation build patch" is the
lazy_rings numerical noise doctest failure.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread David Joyner

On Tue, Oct 14, 2008 at 12:08 AM, Jason Grout
<[EMAIL PROTECTED]> wrote:



>
> So, do you vote
>
> [X ] Yes, include TinyMCE as a standard package
> [ ] Yes, include TinyMCE as an optional package
> [ ] No, do not include TinyMCE as a package
>


Also, if this is added I hope that somewhere the text "Double click in
a cell to edit" are written,
so people know it is available. On the other hand, I never use the
notebook (though
but all except possibly one of my students do), so I don't know how much my vote
should count!


>
>
> Thanks,
>
> Jason
>
>
> >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Jason Grout

mabshoff wrote:
> 
> 
> 
>  [X ] Yes, include TinyMCE as a standard package
> 
> I see no benefit going the optional route if one needs to apply some
> patch, i.e. the burden to try it out is too high. The editor is well
> maintained, works on seemingly all browsers, has an active community
> and we should really have something like that in the notebook :)


I was assuming that we would apply the patch, which would mean the 
functionality would be available immediately on installing the spkg (in 
other words, one would only need to install the spkg).  I agree that 
that means that a majority of the people that would find the plugin 
extremely useful would probably see the barrier as too high.  I'm 
curious how many people install optional spkgs anyway.  For me, optional 
spkgs usually get blown away when I update to a new release, and then 
I'm usually too lazy to get them again (like the jsmath-image-fonts spkg).

Anyways, I won't argue with the package being standard; just pointing 
out that a user wouldn't have to install a patch, just the spkg.

Thanks,

Jason



--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Heaviside step and impulse functions

2008-10-14 Thread Ronan Paixão

So, I have seen someone talk about those some time ago, but how is
their implementation going?

Both the step function u(x) and the impulse function delta(x) are
pretty useful in Engineering, specially when talking about Laplace and
Fourier transforms, so that could help a lot those who use Sage for
the "applied math" part :)

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Heaviside step and impulse functions

2008-10-14 Thread David Joyner

What is wrong with using the piecewise defined functions for the unit
step function?
You are right though, delta functions are not implemented yet. Of
course, they are not
really functions either, so how they should be implemented is an issue as well.



On Tue, Oct 14, 2008 at 4:14 PM, Ronan Paixão <[EMAIL PROTECTED]> wrote:
>
> So, I have seen someone talk about those some time ago, but how is
> their implementation going?
>
> Both the step function u(x) and the impulse function delta(x) are
> pretty useful in Engineering, specially when talking about Laplace and
> Fourier transforms, so that could help a lot those who use Sage for
> the "applied math" part :)
>
> >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Final Sage 3.1.3 sources are out

2008-10-14 Thread David Joyner

My copy of 31.3.rc0 got hosed somehow using sage -upgrade.

I have no idea what I did wrong.

On Tue, Oct 14, 2008 at 1:04 PM, mabshoff <[EMAIL PROTECTED]> wrote:
>
> Hello folks,
>
> here are the minimal fixes for the final 3.1.3:
>
> #4271: Paul Zimmermann: improve coverage test of ell_generic.py to
> 100%, and fix typos [Reviewed by John Cremona]
> #4272: Michael Abshoff: add the files from new coercion to the
> reference manual [Reviewed by Mike Hansen]
> #4279: Michael Abshoff: Sage 3.1.3.rc0: numerical noise in rings/
> real_lazy.pyx [Reviewed by Mike Hansen]
>
> Sources and a sage.math binary are at
>
> http://sage.math.washington.edu/home/mabshoff/release-cycles-3.1.3/
>
> The upgrade does not work yet, but hopefully should be done later on
> tonight.
>
> Cheers,
>
> Michael
>
>
> >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Final Sage 3.1.3 sources are out

2008-10-14 Thread David Joyner

On Tue, Oct 14, 2008 at 1:04 PM, mabshoff <[EMAIL PROTECTED]> wrote:
>
> Hello folks,
>
> here are the minimal fixes for the final 3.1.3:
>
> #4271: Paul Zimmermann: improve coverage test of ell_generic.py to
> 100%, and fix typos [Reviewed by John Cremona]
> #4272: Michael Abshoff: add the files from new coercion to the
> reference manual [Reviewed by Mike Hansen]
> #4279: Michael Abshoff: Sage 3.1.3.rc0: numerical noise in rings/
> real_lazy.pyx [Reviewed by Mike Hansen]
>
> Sources and a sage.math binary are at
>
> http://sage.math.washington.edu/home/mabshoff/release-cycles-3.1.3/
>


"The upgrade does not work yet, but hopefully should be done later on tonight."


Oops - missed that!!


>
> Cheers,
>
> Michael
>
>
> >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Martin Albrecht

On Tuesday 14 October 2008, Jason Grout wrote:
> So, do you vote
>
> [ ] Yes, include TinyMCE as a standard package
> [ ] Yes, include TinyMCE as an optional package
> [ ] No, do not include TinyMCE as a package

I don't want to vote against it just know but I don't really get the need for 
a WYSIWYG editor in the notebook. I am very much in favor of easy text cell 
creation (using say ReST) but a WYSIWYG editor seems bloated to me.

Cheers,
Martin


-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Stan Schymanski

William Stein wrote:
> Does tinyMCE have any sort of equation plugin?  Have you thought
> about that at all?
>
>   
Could we put the html code provided by tinyMCE into an input cell and 
preparse

%hide
%html

or

%hideall
%html

Then, we could just write e.g. $E=m*c^2$ in the tinyMCE editor and it 
would be converted into an equation by Sage. Admittedly, this would not 
be WYSIWYG any more...

Stan

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread mhampton

+1 for inclusion.  I think this is worth it, for the reasons given
below by Jason.  It is almost orthogonal in use to the "Its all text"
plugin, which works great for me on WIndows but irritates me on macs
for some reason (I uninstalled it, and now I can't remember exactly
why).

Using Sage for computer labs, I need students to be able to edit a
worksheet easily to write up their answers, and I think this will help
quite a bit.  It might actually make it easier for them to do a good
lab writeup than it is in Mathematica (which has some powerful text
editing capabilities but I don't think they are easy to use).

-M. Hampton

On Oct 14, 5:35 am, Jason Grout <[EMAIL PROTECTED]> wrote:
> Stan Schymanski wrote:
> > Hi Martin,
>
> > I think that most of the developers would agree with you, but bear in
> > mind that a large number of potential users come from the WYSIWYG icon
> > clicking world. These are often the same people that get discouraged by
> > the need of having to install optional packages, so I wonder if there is
> > a way of including something as standard but providing a way of
> > deselecting it for advanced users? Something like the standard version
> > with bells and whistles for the newbie and a customised version for the
> > wiz.
>
> > I have the feeling that TinyMCE could make the notebook more attractive
> > to users that are not familiar with writing code. They could ease into
> > coding slowly. Since the generated html code still appears in the
> > notebook, this would be a nice way of learning html, too. Eventually,
> > the user is likely to need it less and less and do his own html coding,
> > at which point he could deselect the package again.
>
> Yes, that is the point for me; to make the barrier of entry low or
> non-existent.  In other words, a new user should be able to quickly and
> easily create a nice-looking worksheet without having to learn both Sage
> and ReST, especially since learning ReST is not a mathematical activity.
> I'm not saying that they shouldn't learn ReST eventually, but I think
> that learning Sage will be enough of a learning curve that we shouldn't
> insist that they learn yet another language in order to be able to write
> text in their worksheet.
>
> FYI, the spkg is around 500k, and installed, it is about 2.4M.
>
> Thanks,
>
> Jason
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage public notebook servers

2008-10-14 Thread Dorian Raymer
Hi,
This is a good discussion. It's interesting to see, after all this time, the
public notebook being attacked! (exclaimed in the most respectful, positive,
excited that now this problem really has to be solved manor :)

Over the last few months I've been thinking about and working on the
problems associated with running notebook processes (which is like
essentially handing out shell accounts) in a safe, secure and useful way.
I split the problems into orthogonal (as possible) components, and the one I
worked on most recently asks 'what is the best way to run a secure python
process'.
There are quite a few pieces of work that exist on this problem; probably
the main bottleneck in progressing is my inexperience with system
administration and knowledge of how Python works.

Rough work and references:
http://trac.knoboo.com/wiki/Security

I've made some headway in directions varying from Sage's security model as
it was, but unfortunately I am too busy at the moment to make any serious
progress.

I plan to resume working on this in about a month. It would be great to
consult and collaborate with Michael Mabshoff and any other experienced
gurus of that sort -- sys admins and programmers that really understand
security in the os environment.


On Mon, Oct 13, 2008 at 3:31 PM, mabshoff <[EMAIL PROTECTED]> wrote:

>
> On Oct 13, 3:05 pm, "Timothy Clemans" <[EMAIL PROTECTED]>
> wrote:
>
> Hi Timothy,
>
> > I had never heard of "fork bomb" until now. According to Wikipedia,
> > it's somewhat preventable by implementing a limit of the number of
> > processes per user.
>
> just read "man ulimit" :)
>
> > I like the fact that Knoboo makes it easy to run the actual Sage
> > processes on a completely different machine or at least in a virtual
> > machine. At some point Knoboo might have a system for dealing with
> > down kernel servers where one can still access and download notebooks.
>
> Nope, once you fork bomb and you do not have a root shell open to the
> box it is game over in the vast majority of cases. Any external access
> usually requires a fork of some sort and since someone just fork
> bombed the box it is a gonner.


Actually, the concept Timothy is talking about is true. The framework for
running notebook processes in Knoboo is very different from what Sage does
to serve notebooks. Indeed, the machine running actual notebook processes
(or engine processes as we call them)  is considered history in this
situation, however, access to the notebook data would be absolutely
un-affected -- an important point -- because users *can* still view/download
their notebook data as it is maintained by an entirely separate system
running on a physically separated machine. Not to be nit-picky, but this is
very attractive from a user perspective; it's not as catastrophic as the
entire service disappearing (like what's happening now).




>
>
> > Would the entire Sage Notebook be ran in a VMWare image or the
> > individual Sage per sage unix user processes inside their own? So like
> > sage0 would have a virtual machine, sage1 would have its own, etc.
>
> Yep, that is pretty much the way to go together with some more tweaks
> to the setup. The main issue is that a skilled attacker (not likely
> the person who fork bombed the box) can break out or DOS pretty much
> any setup, so one has to assume that people interested in using the
> Sage notebook are neither idiots or assholes. Back in the day I also
> did penetration testing and in the end if you give someone a local
> shell account (which is pretty much any notebook account) you have to
> trust the person to some extent. Given a shell account it is only a
> question of time even for someone semi-skilled to execute an exploit
> found on the net before one can patch the box. I guess in the end the
> people relying on the public notebook server are the screwed ones here
> because even once the server is back up it will be much more locked
> down.
>

This raises the issue of how to balance security (how tight to lock the
server down) with feature/functional availability (what functionality is
crippled due to imposed security constraints)...


Regards,
-Dorian



>
> Cheers,
>
> Michael
>
> 
> >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Final Sage 3.1.3 sources are out

2008-10-14 Thread mabshoff

Hello folks,

here are the minimal fixes for the final 3.1.3:

#4271: Paul Zimmermann: improve coverage test of ell_generic.py to
100%, and fix typos [Reviewed by John Cremona]
#4272: Michael Abshoff: add the files from new coercion to the
reference manual [Reviewed by Mike Hansen]
#4279: Michael Abshoff: Sage 3.1.3.rc0: numerical noise in rings/
real_lazy.pyx [Reviewed by Mike Hansen]

Sources and a sage.math binary are at

http://sage.math.washington.edu/home/mabshoff/release-cycles-3.1.3/

The upgrade does not work yet, but hopefully should be done later on
tonight.

Cheers,

Michael


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread Jason Grout

Stan Schymanski wrote:
> Hi Martin,
> 
> I think that most of the developers would agree with you, but bear in 
> mind that a large number of potential users come from the WYSIWYG icon 
> clicking world. These are often the same people that get discouraged by 
> the need of having to install optional packages, so I wonder if there is 
> a way of including something as standard but providing a way of 
> deselecting it for advanced users? Something like the standard version 
> with bells and whistles for the newbie and a customised version for the 
> wiz.
> 
> I have the feeling that TinyMCE could make the notebook more attractive 
> to users that are not familiar with writing code. They could ease into 
> coding slowly. Since the generated html code still appears in the 
> notebook, this would be a nice way of learning html, too. Eventually, 
> the user is likely to need it less and less and do his own html coding, 
> at which point he could deselect the package again.


Yes, that is the point for me; to make the barrier of entry low or 
non-existent.  In other words, a new user should be able to quickly and 
easily create a nice-looking worksheet without having to learn both Sage 
and ReST, especially since learning ReST is not a mathematical activity.
I'm not saying that they shouldn't learn ReST eventually, but I think 
that learning Sage will be enough of a learning curve that we shouldn't 
insist that they learn yet another language in order to be able to write 
text in their worksheet.

FYI, the spkg is around 500k, and installed, it is about 2.4M.

Thanks,

Jason


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread mabshoff




 [X ] Yes, include TinyMCE as a standard package

I see no benefit going the optional route if one needs to apply some
patch, i.e. the burden to try it out is too high. The editor is well
maintained, works on seemingly all browsers, has an active community
and we should really have something like that in the notebook :)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 3.1.3.rc0 released

2008-10-14 Thread Alex Ghitza
Builds fine and passes all tests on the 32-bit Gentoo box

Linux artin 2.6.24-tuxonice-r9 #1 SMP Wed Oct 8 18:23:45 EST 2008 i686
Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz GenuineIntel GNU/Linux

Best,
Alex



On Mon, Oct 13, 2008 at 5:46 PM, mabshoff <[EMAIL PROTECTED]> wrote:

>
> Hello folks,
>
> the is finally (and hopefully) the last release before 3.1.3. Unless
> something major is broken this tarball will be identical (modulo
> version string and some potential documentation fix) to the final
> 3.1.3 release. All major build issues should be fixed and it should
> also pass doctests on all supported platforms, but I guess we will
> find out shortly :)
>
> Sources and a sage.math binary can be found in
>
> http://sage.math.washington.edu/home/mabshoff/release-cycles-3.1.3/
>
> Please build, test and report all issues as usual.
>
> Cheers,
>
> Michael
>
> Merged in Sage 3.1.3.rc0:
>
> #1346: Martin Albrecht: fpLLL doctests don't test fpLLL [Reviewed by
> Willem Jan Palenstijn]
> #3945: Mike Hansen, Burcin Erocal: sage -gdb doesn't work [Reviewed by
> Michael Abshoff]
> #4159: Michael Abshoff: sage -bdist fails on osx 10.5 ppc and intel
> with libpng errors [Reviewed by Mike Hansen]
> #4214: Alex Ghitza: elliptic_logarithm gives inaccurate answers
> [Reviewed by Georg Weber]
> #4219: Michael Abshoff: MacOSX: work around java detection hang in r
> due to "Mac OS X 10.5 Update 2" [Reviewed by Mike Hansen]
> #4228: Michael Abshoff: eclib-20080310.p6.spkg is broken with 'export
> MAKE="make -j4"' [Reviewed by Mike Hansen]
> #4231: William Stein: magma -- long input too verbose in some cases
> [Reviewed by Georg Weber]
> #4240: William Stein: magma -- increase doctest coverage of magma.py
> [Reviewed by Georg Weber, Michael Abshoff]
> #4242: Jason Badlaw: Bugfix for dominates() method of partition.py
> [Reviewed by Mike Hansen]
> #4253: Martin Albrecht: polybori interface: equality operator for
> navigators [Reviewed by Michael Brickenstein]
> #4257: Martin Albrecht: support for Singular's 'intmat' and
> 'intvec' [Reviewed by Mike Hansen]
> #4262: William Stein: Elliptic curve a_invariants command returns a
> list reference [Reviewed by Martin Albrecht]
> #4263: William Stein: elliptic curves -- point height serious stupid
> bug in raising error [Reviewed by Martin Albrecht]
> #4270: Nicolas Thiery: Add sage-combinat script and sage-combinat
> [Reviewed by Michael Abshoff]
>
> >
>


-- 
Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne --
Australia -- http://www.ms.unimelb.edu.au/~aghitza/

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Vote for TinyMCE spkg

2008-10-14 Thread kcrisman



On Oct 14, 11:11 am, Jason Grout <[EMAIL PROTECTED]> wrote:
> Peter wrote:
> > There is a WYSIWYG equation plugin for TinyMCE that has a demo page at
> >http://www.imathas.com/editordemo/demo.html.
>
> > On Firefox it uses MathML, and on other browsers it uses a graphics
> > images fallback approach.
>
> The javascript svg editor plugin there also looks very interesting.  The
> homepage for it is
>
> http://www1.chapman.edu/~jipsen/svg/asciisvg.html
>
> for further reference.
>

This is so much better and easier than WebEq (those who've used
Blackboard will know) that it's not even funny.  Shows that javascript
beats Java when you have small things to do, I suppose; wow!

Are any of these things very browser-compatible?  In particular I
refer to Safari and Opera - e.g. the svg page, or at least its
graphics, won't render properly in Safari 3.1.2, as the page points
out.

I particularly like the possibility of using this to draw a graph of
sin(x) in a text box under a Sage-generated graph of sin(x) in a
cell... actually, I don't know if I like that or not, but it does have
a fairly intuitive structure as far as the graphs are concerned.

- kcrisman
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Heaviside step and impulse functions

2008-10-14 Thread Georg



> You are right though, delta functions are not implemented yet. Of
> course, they are not
> really functions either, so how they should be implemented is an issue as 
> well.

The delta functional is a linear functional on the vector space R^R
which assigns the function value at zero to each function: \delta: R^R
\rightarrow R   f \mapsto f(0),
which is written thought integration of \delta*f over the real line,
in this sense it's a generalization of a 'real' square integrable
function which is uniquely characterized (up to almost everywhere) by
it's 'action' on the vector space of square integrable functions by
f:L^2 \rightarrow R   g \mapsto \int f(x)*g(x) dx =: 

Actually the delta function is an element of a vector space (on the
vector space of all linear (not necessary continuous) functions from
R^R to R or L^2 to R), and it's multiplication with a 'real' function
is an element of this vector space as well, an issue could be that
this multiplication is not extendable to the whole vector space, but
is only allowed partially (maybe thats the problem),
OK, I'm beginning to understand: is it not possible in Python to
define partially operators or operators which act on different
objects?
In this case the operator '*' must be extended partially ..

I'm sure you are aware of all this things, I'm was just wondering ...,
because I thought  there could at least be implemented an object (of
course not as a function of R^R), allowed to appear inside an
integral, ...

Georg





--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Of possible use to the Sage project

2008-10-14 Thread Hazem


Just came across this code which may be of relevance:

http://www.nag.co.uk/Projects/Frisco/frisco/node8.htm

Hazem

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Of possible use to the Sage project

2008-10-14 Thread David Joyner

I wonder if any of this code sponsored by NAG is truely FOSS.
I didn't see any licensing statements though I didn't dig very deep.

On Tue, Oct 14, 2008 at 9:36 PM, Hazem <[EMAIL PROTECTED]> wrote:
>
>
> Just came across this code which may be of relevance:
>
> http://www.nag.co.uk/Projects/Frisco/frisco/node8.htm
>
> Hazem
>
> >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage public notebook servers

2008-10-14 Thread Jason Grout

> 
> Actually, the concept Timothy is talking about is true. The framework 
> for running notebook processes in Knoboo is very different from what 
> Sage does to serve notebooks. Indeed, the machine running actual 
> notebook processes (or engine processes as we call them)  is considered 
> history in this situation, however, access to the notebook data would be 
> absolutely un-affected -- an important point -- because users *can* 
> still view/download their notebook data as it is maintained by an 
> entirely separate system running on a physically separated machine. Not 
> to be nit-picky, but this is very attractive from a user perspective; 
> it's not as catastrophic as the entire service disappearing (like what's 
> happening now).



If I understand things correctly, the biggest obstacle to Sage doing 
this currently is that the client processes expect to be able to read 
and write the notebook files (the files associated with the cells in the 
notebook) and the server expects the output to automatically appear in 
the correct cell directory.  Is that correct?

Jason


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage public notebook servers

2008-10-14 Thread Alex Clemesha

On Mon, Oct 13, 2008 at 3:31 PM, mabshoff <[EMAIL PROTECTED]> wrote:
>
> On Oct 13, 3:05 pm, "Timothy Clemans" <[EMAIL PROTECTED]>
> wrote:
>
> Hi Timothy,
>
>> I had never heard of "fork bomb" until now. According to Wikipedia,
>> it's somewhat preventable by implementing a limit of the number of
>> processes per user.
>
> just read "man ulimit" :)
>
>> I like the fact that Knoboo makes it easy to run the actual Sage
>> processes on a completely different machine or at least in a virtual
>> machine. At some point Knoboo might have a system for dealing with
>> down kernel servers where one can still access and download notebooks.
>
> Nope, once you fork bomb and you do not have a root shell open to the
> box it is game over in the vast majority of cases. Any external access
> usually requires a fork of some sort and since someone just fork
> bombed the box it is a gonner.
>
>> Would the entire Sage Notebook be ran in a VMWare image or the
>> individual Sage per sage unix user processes inside their own? So like
>> sage0 would have a virtual machine, sage1 would have its own, etc.

Below is a snippet from knoboo-devel that describes how to use
Xen as the backed Kernel Server, allows the frontend (Application Server)
and all user data to survive a backend (Kernel Server) attack. (as
Dorian already described)

There is a good image here:
http://trac.knoboo.com/wiki/Security
the describes the architecture visually.
(In the diagram the Notebook processes are the Interpreters a.k.a
"Engine Server"s.)


Here is the thread that describes (basically) how to set up Xen on Ubuntu:

=== [from message
http://groups.google.com/group/knoboo-devel/msg/3540f4dc131b7453] ===
A solution that I very much favor is setting up a dedicated virtual machine
(Xen, for example) that acts as a sandbox for the kernel.

The architecture of knoboo is such that you can run the 'kernel server' remotely
(or, in the case of a local virtual machine, in your LAN).
Then, when you start knoboo, you just specify the remote kernel like so:

./knoboo-start -h some_host_ip_or_domain_name -q the_kernel_server_port

this assumes that you already started up the kernel on the virtual machine
like so "./kernel-start" (which is turn relies on having knoboo on the
virtual machine).

The very cool part about this is that *no state* is ever kept on the
kernel server,
so it can blow up and no data will be lost :).  It also has the
benefit of allowing
you to tweak the networking and resource precisely to meet your requirements
because it is a completely dedicated (virtual) machine.

I have experience with Xen on ubuntu, and setting it up can potentially be very
easy (for debian based distros, but YMMV):

get the packages:
$ sudo apt-get install ubuntu-xen-server libc6-xen

use 'xen-tools' (which gets installed from the above apt-get) to
create a virtual machine:
$ sudo xen-create-image --hostname=knoboo_kernel --dist=gutsy --ip=192.168.X.X

now log into 'knoboo_kernel':
$ sudo xm console knoboo_kernel

Now install the knoboo dependencies.
===

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Final Sage 3.1.3 sources are out

2008-10-14 Thread Dan Drake
I built 3.1.3 with no trouble (parallel build now works), and in "make
test" I got the usual failures with Lisp and Maxima [1]. But now I can't
even start Sage!

When I do "./sage" in the appropriate directory, I get the traceback in
the attached file. The install log is at [2]. I edited the sage script
to point to the right directory, I have a clean shell, but I still get
the error.

As before, this on an Ubuntu Intrepid amd64 system. Suggestions?

Dan

  1. 
http://groups.google.com/group/sage-devel/search?group=sage-devel&q=tests+hang+with+3.1.2
  2. http://mathsci.kaist.ac.kr/~drake/logs/install-20081015.log
-- 
---  Dan Drake <[EMAIL PROTECTED]>
-  KAIST Department of Mathematical Sciences
---  http://mathsci.kaist.ac.kr/~drake
[EMAIL PROTECTED]:/opt/sage-3.1.3$ ./sage
--
| SAGE Version 3.1.3, Release Date: 2008-10-14   |
| Type notebook() for the GUI, and license() for information.|
--

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (25, 0))

---
AttributeErrorTraceback (most recent call last)

/opt/sage-3.1.3/local/bin/sage-startup in ()
 16 from sage.all_cmdline import *
 17 
---> 18 
_=sage.misc.interpreter.load_startup_file(os.environ["SAGE_STARTUP_FILE"])
 19 
 20 

/opt/sage-3.1.3/local/lib/python2.5/site-packages/sage/misc/interpreter.pyc in 
load_startup_file(file)
146 if os.path.exists(file):
147 X = do_prefilter_paste('load "%s"'%file,False)
--> 148 _ip.runlines(X)
149 if os.path.exists('attach.sage'):
150 X = do_prefilter_paste('attach "attach.sage"',False)

/opt/sage-3.1.3/local/lib/python2.5/site-packages/IPython/ipapi.pyc in 
runlines(self, lines)
305 clean=cleanup_ipy_script(script)
306 # print "_ip.runlines() script:\n",clean #dbg
--> 307 self.IP.runlines(clean)
308 def to_user_ns(self,vars, interactive = True):
309 """Inject a group of variables into the IPython user namespace.

/opt/sage-3.1.3/local/lib/python2.5/site-packages/IPython/iplib.pyc in 
runlines(self, lines)
   1970 # push to raw history, so hist line numbers stay in sync
   1971 self.input_hist_raw.append("# " + line + "\n")
-> 1972 more = self.push(self.prefilter(line,more))
   1973 # IPython's runsource returns None if there was an error
   1974 # compiling the code.  This allows us to stop 
processing right

/opt/sage-3.1.3/local/lib/python2.5/site-packages/sage/misc/interpreter.pyc in 
sage_prefilter(self, block, continuation)
414 block2 = block
415 
--> 416 return InteractiveShell._prefilter(self, block2, continuation)
417 
418 

/opt/sage-3.1.3/local/lib/python2.5/site-packages/IPython/iplib.pyc in 
_prefilter(self, line, continue_prompt)
   2259 #print 'pre <%s> iFun <%s> rest <%s>' % (pre,iFun,theRest)  # 
dbg
   2260 
-> 2261 return prefilter.prefilter(line_info, self)
   2262 
   2263 

/opt/sage-3.1.3/local/lib/python2.5/site-packages/IPython/prefilter.pyc in 
prefilter(line_info, ip)
149 handler = check(line_info, ip)
150 if handler:
--> 151 return handler(line_info)
152 
153 return ip.handle_normal(line_info)

/opt/sage-3.1.3/local/lib/python2.5/site-packages/IPython/iplib.pyc in 
handle_magic(self, line_info)
   2355 cmd = '%s_ip.magic(%s)' % (line_info.preWhitespace,
   2356make_quoted_expr(iFun + " " + 
theRest))
-> 2357 self.log(line_info.line,cmd,line_info.continue_prompt)
   2358 #print 'in handle_magic, cmd=<%s>' % cmd  # dbg
   2359 return cmd

AttributeError: 'InteractiveShell' object has no attribute 'log'
WARNING: Failure executing file: 
sage: 
Exiting SAGE (CPU time 0m0.04s, Wall time 0m3.36s).


signature.asc
Description: Digital signature