Re: [sage-devel] Notebook changes for Ipod touch and Iphone

2009-11-25 Thread William Stein
On Wed, Nov 25, 2009 at 6:06 PM, Gonzalo Tornaria wrote: > On Wed, Nov 25, 2009 at 11:04 PM, William Stein wrote: >> Another nice addition would be to use Tachyon instead of Java by >> default to render 3d images on the iphone.  I.e., >> >>    I = icosahedron() >>    I.show(viewer='tachyon') >> >

Re: [sage-devel] should you ever return an error?

2009-11-25 Thread William Stein
On Wed, Nov 25, 2009 at 7:26 PM, John H Palmieri wrote: > In ring.pyx, there is code like this: > >        if proof: >            return NotImplementedError >        else: >            return False > > I would think that the second line should say "raise > NotImplementedError".  (Changing it makes

Re: [sage-devel] should you ever return an error?

2009-11-25 Thread Dan Drake
On Wed, 25 Nov 2009 at 07:26PM -0800, John H Palmieri wrote: > In ring.pyx, there is code like this: > > if proof: > return NotImplementedError > else: > return False > > I would think that the second line should say "raise > NotImplementedError". (Changin

[sage-devel] Re: should you ever return an error?

2009-11-25 Thread Rob Beezer
Hi John, Hard to be certain without the context, but I think this is the relevant discussion: http://groups.google.com/group/sage-devel/browse_thread/thread/dc104b7cb64d39e3/ In short, IIRC, sometimes a construction will create a ring. In certain instances the construction might also be a field.

[sage-devel] should you ever return an error?

2009-11-25 Thread John H Palmieri
In ring.pyx, there is code like this: if proof: return NotImplementedError else: return False I would think that the second line should say "raise NotImplementedError". (Changing it makes some doctests fail, though.) Is there a good reason for doing "retu

Re: [sage-devel] Notebook changes for Ipod touch and Iphone

2009-11-25 Thread Gonzalo Tornaria
On Wed, Nov 25, 2009 at 11:04 PM, William Stein wrote: > Another nice addition would be to use Tachyon instead of Java by > default to render 3d images on the iphone.  I.e., > >    I = icosahedron() >    I.show(viewer='tachyon') > > works fine on the iphone, but it is tedious to type viewer='tachy

Re: [sage-devel] Notebook changes for Ipod touch and Iphone

2009-11-25 Thread William Stein
On Wed, Nov 25, 2009 at 2:58 PM, Michael Madison wrote: > Its great that Sage is already doing "Cloud" computing with sagenb.  I > recently got a Ipod Touch and found sagenb worked well on it.  It > looks like with Iphones, Touches and Androids the touch screen > interface is part of the future.  

[sage-devel] Re: Sage Survey 2009

2009-11-25 Thread Simon King
Hi Harald! Where can one read the survey results? I think you did not provide a link. On 26 Nov., 00:06, "Dr. David Kirkby" wrote: [...] > It might be better for the *next* survey to have two comments areas. > > * Confidential - shared with you and William only. > > * Public - someone does not c

Re: [sage-devel] Notebook changes for Ipod touch and Iphone

2009-11-25 Thread Dr. David Kirkby
Michael Madison wrote: > Its great that Sage is already doing "Cloud" computing with sagenb. I > recently got a Ipod Touch and found sagenb worked well on it. It > looks like with Iphones, Touches and Androids the touch screen > interface is part of the future. While IPhones and Touches are not

Re: [sage-devel] Re: Sage Survey 2009

2009-11-25 Thread Dr. David Kirkby
Harald Schilly wrote: > There were also concerns about publishing the data. I want to share > everything, because this is a great opportunity for everyone to read > what others think about the project. For example, if I have a feeling > for this or that and I read it from somebody else, it helps t

[sage-devel] Notebook changes for Ipod touch and Iphone

2009-11-25 Thread Michael Madison
Its great that Sage is already doing "Cloud" computing with sagenb. I recently got a Ipod Touch and found sagenb worked well on it. It looks like with Iphones, Touches and Androids the touch screen interface is part of the future. While IPhones and Touches are not good for hard core development

Re: [sage-devel] Re: Sage Survey 2009

2009-11-25 Thread Robert Bradshaw
On Nov 25, 2009, at 10:43 AM, Harald Schilly wrote: > Hi, I've closed the survey. We have 233 submissions after 1 week. > > On Nov 18, 1:35 pm, Harald Schilly wrote: >> Later on, I'll keep the form open for new submissions so that we'll >> get continuous feedback (e.g. each month a new form). > >

Re: [sage-devel] Denial of Service attack on Sage servers

2009-11-25 Thread William Stein
Mitesh Patrl already nicely implemented this for the sage notebook (in a plethora of ways). I should enable this on sagenb.org. On 11/25/09, Dr. David Kirkby wrote: > It would appear to me that it would be very easy for a "script kiddie" to > write > a a program which created huge numbers of accou

Re: [sage-devel] Sage 4.3.alpha0 released!

2009-11-25 Thread Dr. David Kirkby
Michael Rubinstein wrote: > Thanks for the update. > > I've spent the past few weeks making major improvements to lcalc. > I plan to release this updated version in a few weeks. > > 1) I got rid of the deprecated header files and the unused variables > so it compiles much cleaner. Excellent > 3

[sage-devel] Re: Cython and Cilk?

2009-11-25 Thread Nils Bruin
On Nov 25, 10:39 am, Pat LeSmithe wrote: > An open-ended query, naive in several ways: > > Is it possible to generalize Cython > > http://www.cython.org/http://en.wikipedia.org/wiki/Cython > > to Cilk / Cilk++ According to Cilk's description, Cilk is simply "C" plus some extra keywords. What you

[sage-devel] Denial of Service attack on Sage servers

2009-11-25 Thread Dr. David Kirkby
It would appear to me that it would be very easy for a "script kiddie" to write a a program which created huge numbers of accounts on a Sage server, perform some CPU intensive computation on them, and bring the system to a near standstill. This is generally known as a denial of service attack.

Re: [sage-devel] Sage 4.3.alpha0 released!

2009-11-25 Thread Alex Ghitza
All of this sounds AWESOME! Looking forward to the new version. Best, Alex On Wed, Nov 25, 2009 at 01:07:15PM -0500, Michael Rubinstein wrote: > > Thanks for the update. > > I've spent the past few weeks making major improvements to lcalc. > I plan to release this updated version in a few

Re: [sage-devel] Sage 4.3.alpha0 released!

2009-11-25 Thread Dr. David Kirkby
Craig Citro wrote: > Hi David, > > First, I want to thank you for all the work you've been doing to get > Sage to play nicely on Sun and HP-UX recently. I think that's really > helpful, and in particular, I think some of the comments you make > below are definitely things that will help Mike (or a

[sage-devel] Re: Bug in determinant?

2009-11-25 Thread rjf
You can use any of several determinant programs in Maxima. I don't know if the documentation is available in Sage. There are significant differences in running time for rational forms, sparse matrices, and maybe other options, for which different algorithms are more or less appropriate. RJF -- T

[sage-devel] python warts

2009-11-25 Thread William Stein
Hi, This new list of Python Warts by Fernando is interesting: http://fperez.org/py4science/warts.html William -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To un

Re: [sage-devel] Re: Sage Survey 2009

2009-11-25 Thread Martin Albrecht
> @Simon, about the location / geographical areas: They are very > unspecific (usa, europe+russia, eastern asia ... there are millions of > people!), but I can delete that column if it is really a problem. The > survey wasn't asking about the country and nowhere is this > information... I bet you

[sage-devel] Re: Sage Survey 2009

2009-11-25 Thread Harald Schilly
Hi, I've closed the survey. We have 233 submissions after 1 week. On Nov 18, 1:35 pm, Harald Schilly wrote: > Later on, I'll keep the form open for new submissions so that we'll > get continuous feedback (e.g. each month a new form). I've put a small link to a new form (cleaned list of responses

[sage-devel] Cython and Cilk?

2009-11-25 Thread Pat LeSmithe
An open-ended query, naive in several ways: Is it possible to generalize Cython http://www.cython.org/ http://en.wikipedia.org/wiki/Cython to Cilk / Cilk++ http://software.intel.com/en-us/articles/intel-cilk/ http://supertech.csail.mit.edu/cilk/ http://en.wikipedia.org/wiki/Cilk http://www.cilk

Re: [sage-devel] Sage 4.3.alpha0 released!

2009-11-25 Thread Craig Citro
Hi David, First, I want to thank you for all the work you've been doing to get Sage to play nicely on Sun and HP-UX recently. I think that's really helpful, and in particular, I think some of the comments you make below are definitely things that will help Mike (or anyone else) make lcalc better.

Re: [sage-devel] Sage 4.3.alpha0 released!

2009-11-25 Thread Michael Rubinstein
Thanks for the update. I've spent the past few weeks making major improvements to lcalc. I plan to release this updated version in a few weeks. 1) I got rid of the deprecated header files and the unused variables so it compiles much cleaner. 2) I got lcalc to compile and run with Bailey's doubl

Re: [sage-devel] Sage 4.3.alpha0 released!

2009-11-25 Thread William Stein
On Wed, Nov 25, 2009 at 8:24 AM, Dr. David Kirkby wrote: > Pablo De Napoli wrote: >> It would be really nice if we can include the new weapper for the lcalc >> library. >> >> http://trac.sagemath.org/sage_trac/ticket/5396 >> >> [marked ad "with patch, neeeds review"] >> >> Pablo > > I have been le

[sage-devel] Re: Ctrl-Backspace behavior

2009-11-25 Thread Harald Schilly
> They all respect ctrl-backspace as deleting a word. That's true and I'm also not happy with that. I looked up mma7 manual what they have and their choice is better imho: ctrl-shift-m for "merge" and ctrl-shift-d for "divide" - i'm also happy with ctrl-shift-s for "split" (or both as alias) H -

Re: [sage-devel] Re: Bug in determinant?

2009-11-25 Thread Francois Maltey
Sebastian Pancratz wrote : > The problem is here: > > > http://trac.sagemath.org/sage_trac/attachment/ticket/6441/trac_6441_b_df_charpoly_412rebase.patch > new lines 1084--1089 > > When I wrote the code for computing characteristic polynomials in a > division-free way in order for it to wo

Re: [sage-devel] Sage 4.3.alpha0 released!

2009-11-25 Thread Dr. David Kirkby
Pablo De Napoli wrote: > It would be really nice if we can include the new weapper for the lcalc > library. > > http://trac.sagemath.org/sage_trac/ticket/5396 > > [marked ad "with patch, neeeds review"] > > Pablo I have been less than impressed with lcalc itself. Of all the packages I have met

Re: [sage-devel] Re: Bug in determinant?

2009-11-25 Thread William Stein
On Wed, Nov 25, 2009 at 7:34 AM, Florent Hivert wrote: >      Hi Michel, > >> On Nov 25, 1:15 pm, Michel wrote: >> > Too bad. I really need those determinants. Will >> > >> > sage -upgrade >> > >> > magically put things right for me? >> >> Probably. I can confirm that in 4.2.1 the problem does no

Re: [sage-devel] Re: Bug in determinant?

2009-11-25 Thread Florent Hivert
Hi Michel, > On Nov 25, 1:15 pm, Michel wrote: > > Too bad. I really need those determinants. Will > > > > sage -upgrade > > > > magically put things right for me? > > Probably. I can confirm that in 4.2.1 the problem does not occur. > > > I feel hesitant to spend another day compiling sa

Re: [sage-devel] Sage 4.3.alpha0 released!

2009-11-25 Thread Pablo De Napoli
It would be really nice if we can include the new weapper for the lcalc library. http://trac.sagemath.org/sage_trac/ticket/5396 [marked ad "with patch, neeeds review"] Pablo On Sun, Nov 22, 2009 at 2:53 AM, Mike Hansen wrote: > Hello all, > > Sage 4.3.alpha0 is out!   Sage 4.3 now contains muc

[sage-devel] Re: Build issue of sympow-1.018.1 -

2009-11-25 Thread Dr. David Kirkby
Mark Watkins wrote: > Regarding: > http://trac.sagemath.org/sage_trac/ticket/7066 > > SYMPOW used to do 'which cc' to find the compiler, but then there were > complaints that this was not portable. So now Configure (my version) just > has CC=cc. I'm not even quite sure what the SAGE build is actu

[sage-devel] Google Wave again...

2009-11-25 Thread Nathann Cohen
Hello !! I have some invitations for Wave left... If you are interested, leave your email here ! Nathann -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this g

[sage-devel] Re: Last call for reviews

2009-11-25 Thread Nathann Cohen
The one I was looking at while writing Sorry ;-) http://www.amazon.fr/Combinatorial-Optimization-Alexander-Schrijver/dp/3540443894 Combinatorial Optimization: Polyhedra and Efficiency (Alexander Schrijver) Nathann -- To post to this group, send an email to sage-devel@googlegroups.com To un

Re: [sage-devel] Re: Last call for reviews

2009-11-25 Thread David Joyner
On Wed, Nov 25, 2009 at 8:08 AM, Nathann Cohen wrote: > This series of 3 books probably contains everything of the graph > theory available in Sage for the moment. It also certainly contains I guess I'm missing something. What series of 3 books? > things that I would like to implement in the f

[sage-devel] Re: Bug in determinant?

2009-11-25 Thread Simon King
Hi Michel! On Nov 25, 1:15 pm, Michel wrote: > Too bad. I really need those determinants. Will > > sage -upgrade > > magically put things right for me? Probably. I can confirm that in 4.2.1 the problem does not occur. > I feel hesitant to spend another day compiling sage. An upgrade should be

[sage-devel] Re: Bug in determinant?

2009-11-25 Thread Michel
Too bad. I really need those determinants. Will sage -upgrade magically put things right for me? I feel hesitant to spend another day compiling sage. On Nov 25, 1:14 pm, Florent Hivert wrote: > > [...] > > > > This looks like an after-effect of ticket #6441. Sebastian Pancratz > > > wrote some

[sage-devel] Re: Last call for reviews

2009-11-25 Thread Nathann Cohen
This series of 3 books probably contains everything of the graph theory available in Sage for the moment. It also certainly contains things that I would like to implement in the future like matroids, as they are used to prove a good share of the theorems presented. Concerning the LP-related patche

Re: [sage-devel] Last call for reviews

2009-11-25 Thread David Joyner
Actually, this is related to stuff I need to learn for some summer research I hope to get next summer. Can you give some references which I can read which have the background on the algorithms you implement? For example, a book on algorithmic graph theory? I didn't see references cited in the patch

Re: [sage-devel] Re: Bug in determinant?

2009-11-25 Thread Florent Hivert
> [...] > > > This looks like an after-effect of ticket #6441. Sebastian Pancratz > > wrote some very fast code to compute determinants over general > > commutative rings, which proceeds by computing the characteristic > > polynomial first. When doing this for symbolic matrices it needs to > > cho

Re: [sage-devel] Re: Bug in determinant?

2009-11-25 Thread Florent Hivert
[...] > This looks like an after-effect of ticket #6441. Sebastian Pancratz > wrote some very fast code to compute determinants over general > commutative rings, which proceeds by computing the characteristic > polynomial first. When doing this for symbolic matrices it needs to > choose a variable

[sage-devel] Re: Bug in determinant?

2009-11-25 Thread Sebastian Pancratz
The problem is here: http://trac.sagemath.org/sage_trac/attachment/ticket/6441/trac_6441_b_df_charpoly_412rebase.patch new lines 1084--1089 When I wrote the code for computing characteristic polynomials in a division-free way in order for it to work over more general base rings, it turne

[sage-devel] Re: Bug in determinant?

2009-11-25 Thread Michel
This was on a freshly compiled Sage 4.2. I did not do anything else in this session. On Nov 25, 1:03 pm, Florent Hivert wrote: > On Wed, Nov 25, 2009 at 03:20:38AM -0800, Michel wrote: > > -- > > | Sage Version 4.2, Release Date:

[sage-devel] Re: Bug in determinant?

2009-11-25 Thread daveloeffler
On Nov 25, 8:20 pm, Michel wrote: > -- > | Sage Version 4.2, Release Date: 2009-10-24                         | > | Type notebook() for the GUI, and license() for information.        | > -

Re: [sage-devel] Bug in determinant?

2009-11-25 Thread Florent Hivert
On Wed, Nov 25, 2009 at 03:20:38AM -0800, Michel wrote: > -- > | Sage Version 4.2, Release Date: 2009-10-24 | > | Type notebook() for the GUI, and license() for information.| > --

Re: [sage-devel] Bug in determinant?

2009-11-25 Thread Dan Drake
On Wed, 25 Nov 2009 at 03:20AM -0800, Michel wrote: > sage: expand(_) > -a*b*c*d*t^3 + a^2*c^2*t^2 + a*b*t^3*e - 2*a*c*f*t^2*e - a*d*f*t^3 + > b^2*d^2*t^2 + b*c*f*t^3 + 2*b*d*f*t^2*e - c*d*t^3*e + > A0123456789^2*a^2*t + 2*A0123456789*a^2*t^2 + a^2*t^3 - a*b*c*d*t - > 2*a*b*t^2*e + 2*a*d*f*t^2 + b^

[sage-devel] Bug in determinant?

2009-11-25 Thread Michel
-- | Sage Version 4.2, Release Date: 2009-10-24 | | Type notebook() for the GUI, and license() for information.| -- sage: var("t a