[sage-devel] Any workaround for bug 6423 ??

2009-07-04 Thread Dr. David Kirkby
This bug http://sagetrac.org/sage_trac/ticket/6423 was reported by someone outside the sage project, but who potentially could contribute - he writes software for testing computer algebra systems, and seems to succeed in finding quite a few bugs. I believe he submitted 100 once to WRI, of whi

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

2009-07-04 Thread Minh Nguyen
On Sun, Jul 5, 2009 at 1:21 PM, Robert Miller wrote: > > merged the following: > > #6429   [with patch; positive review] sagedoc: make search_src and > friends less OS dependent > #6258   [with patch, positive review] Improve accuracy of graph > eigenvalues > #6196   [with patch, positive revie

[sage-devel] Quaternion Algebra on Q(i) and Cocompact/Uniform Lattices in SL2(Z[i])

2009-07-04 Thread Leonard Foret
Hello all, This is my first time in sage-devel. I have a project with a professor til the end of August to construct cocompact/uniform lattices on SL2(Z[i]) basically by quaternion algebras. I figure that since I'm writing code using python and sage, I might as well do it right and incorporate

[sage-devel] Sage-4.1.rc0 released

2009-07-04 Thread Robert Miller
Source tarball, sage.math binary, and upgrade URL are, respectively: http://sage.math.washington.edu/home/rlmill/release/sage-4.1.rc0.tar http://sage.math.washington.edu/home/rlmill/release/sage-4.1.rc0-sage.math-only-x86_64-Linux.tar.gz http://sage.math.washington.edu/home/rlmill/release/sage-4.

[sage-devel] Unicode handle in truncated_name function

2009-07-04 Thread NoSyu
Hello. I use Sagemath to show the Linear Algebra problems solution. And I am Korean. Therefore I write the title in Korean. http://nosyu.pe.kr/attach/1/5682987737.png But in worksheet, the title is broken because of truncated_name function in worksheet.py. def truncated_name(self, max=30)

[sage-devel] Re: Notebook Worksheet Unicode Problem

2009-07-04 Thread Minh Nguyen
Hi, On Sat, Jul 4, 2009 at 11:55 PM, NoSyu wrote: > > So I find the python code and modify it. > > sageroot/devel/sage/sage/server/notebook/cell.py:211 > > 211 : """%(self.__id,self.__id,self.__text) > > => > > 211 : """%(self.__id,self.__id,((self.__text).decode > ('utf-8')).encode('ascii', '

[sage-devel] Re: Notebook Worksheet Unicode Problem

2009-07-04 Thread NoSyu
Hello There is a better solution. Thanks to introduce the ticket.^^ On Jul 5, 3:30 am, Minh Nguyen wrote: > Hi, > > On Sat, Jul 4, 2009 at 11:55 PM, NoSyu wrote: > > > Hello. > > > I use Sagemath to show the Linear Algebra problems solution. > > > And I am Korean. > > > Therefore I write the c

[sage-devel] Re: Sage and numerics

2009-07-04 Thread rjf
It's possible to dismiss the result of the survey because of the low participation level, or to dismiss the results because of a hypothesis that the respondents already KNOW Sage and want to know something else. But I suspect that there is also an underlying current of simple lack of interest in

[sage-devel] Re: [Fwd: A variation on Rado's graph editor]

2009-07-04 Thread Pat LeSmithe
The following off-list exchange between Rob and Rado preceded Rado's first post to this thread. I apologize for mis-paraphrasing Rado's remarks, Rob's response to which Rado has, in some respects, already replied. Rob Beezer wrote: > Radoslav Kirov wrote: >> [about an editor window that communic

[sage-devel] Re: Notebook Worksheet Unicode Problem

2009-07-04 Thread Minh Nguyen
Hi, On Sat, Jul 4, 2009 at 11:55 PM, NoSyu wrote: > > Hello. > > > I use Sagemath to show the Linear Algebra problems solution. > > And I am Korean. > > Therefore I write the comments in Korean using p or div html tag in > worksheet like this. > > http://nosyu.pe.kr/attach/1/5682987737.png Tic

[sage-devel] Re: [Fwd: A variation on Rado's graph editor]

2009-07-04 Thread Rob Beezer
Rado, Excellent!!! This is really, really nice and a *huge* step forward. This looks usable in its current state, even though I know there's lots more to think about with regards to plugging it in properly. And I'll be interested to see what Pat LeSmithe could add. Thanks for your hard work on

[sage-devel] Re: Sage and numerics

2009-07-04 Thread Jason Grout
Dag Sverre Seljebotn wrote: > > 1) I must be able to use NumPy together with the preparser (it's just > too much hassle to turn it on and off, and it kind of defeats the > purpose.). That is, with the preparser on, I should be able to run most > NumPy-using code without changes. (I don't think

[sage-devel] Re: Unpickling problem

2009-07-04 Thread davidloeffler
Patch is now up at: http://trac.sagemath.org/sage_trac/ticket/6462 David On Jul 4, 2:14 pm, davidloeffler wrote: > It is indeed a bit strange that OrderElement derives from > FieldElement. But my diagnosis was different: Parent classes that have > attributes which are Elements cause problems fo

[sage-devel] Re: Sage and numerics

2009-07-04 Thread Dag Sverre Seljebotn
Dag Sverre Seljebotn wrote: > Robert Bradshaw wrote: >> Currently the way to do numerics in Sage is to import scipy and numpy >> (because they really have created a good stack), and turn off >> preparsing (because those type issues get really annoying). At this >> point, it may become unclea

[sage-devel] Sage and numerics

2009-07-04 Thread Dag Sverre Seljebotn
Robert Bradshaw wrote: > Currently the way to do numerics in Sage is to import scipy and numpy > (because they really have created a good stack), and turn off > preparsing (because those type issues get really annoying). At this > point, it may become unclear why one is using Sage instead of

[sage-devel] Notebook Worksheet Unicode Problem

2009-07-04 Thread NoSyu
Hello. I use Sagemath to show the Linear Algebra problems solution. And I am Korean. Therefore I write the comments in Korean using p or div html tag in worksheet like this. http://nosyu.pe.kr/attach/1/5682987737.png If I want to modify the sentence, I just double click the sentence. Then m

[sage-devel] Re: Linear Programming and MIP... Let's start something huge !

2009-07-04 Thread Nathann Cohen
Hmmm Could this kind of behaviour come fro the sole fact that I do not use a "good" version of some software ? sage: setup() --- SystemExitTraceback (most recent call last) /auto/sop-nas2a

[sage-devel] Re: Unpickling problem

2009-07-04 Thread davidloeffler
It is indeed a bit strange that OrderElement derives from FieldElement. But my diagnosis was different: Parent classes that have attributes which are Elements cause problems for the default Python unpickler. For instance, if X is an AbsoluteOrder, then loads(dumps(X)) works and equals X, *as long

[sage-devel] Re: firefox 3.5 and jsmath

2009-07-04 Thread Andrzej Giniewicz
Same here... today I upgraded and had to set to image fonts explicitly in jsmath options On 2 Lip, 10:03, Peter Jeremy wrote: > On 2009-Jul-01 01:21:56 -0700, Jason Grout > wrote: > > >Is anyone else seeing the fonts in jsmath in firefox 3.5 messed up?  To > >check this, go to > >http://www.ma

[sage-devel] Re: sage-4.1.alpha3

2009-07-04 Thread Kevin Horton
On 4-Jul-09, at 07:27 , Kevin Horton wrote: > > On 2-Jul-09, at 13:29 , Robert Miller wrote: > >> Source tarball: >> >> http://sage.math.washington.edu/home/rlmill/release/ >> sage-4.1.alpha3.tar > > Sage-4.1.alpha3 built OK on 32 bit ubuntu 9.04 on an Atom N270. > > Other than two tests which t

[sage-devel] Re: Unpickling problem

2009-07-04 Thread William Stein
On Sat, Jul 4, 2009 at 1:25 PM, davidloeffler wrote: > > This is now #6462. > > (I have played with it a bit myself, and I can get pickling and > unpickling to work, by defining a __reduce__ function for orders, and > adjusting the __reduce__ function for number field elements; but now > the stand

[sage-devel] Re: sage-4.1.alpha3

2009-07-04 Thread Kevin Horton
On 2-Jul-09, at 13:29 , Robert Miller wrote: > Source tarball: > > http://sage.math.washington.edu/home/rlmill/release/ > sage-4.1.alpha3.tar Sage-4.1.alpha3 built OK on 32 bit ubuntu 9.04 on an Atom N270. Other than two tests which timed out, the following tests failed: sage -t -long

[sage-devel] Re: Unpickling problem

2009-07-04 Thread davidloeffler
This is now #6462. (I have played with it a bit myself, and I can get pickling and unpickling to work, by defining a __reduce__ function for orders, and adjusting the __reduce__ function for number field elements; but now the standard x == loads(dumps(x)) test doesn't seem to work.) David On Ju

[sage-devel] Re: [Fwd: A variation on Rado's graph editor]

2009-07-04 Thread Rado
Alright, it was a struggle debugging javascript (i feel sorry for the people that have to code in it for a living), but finally I am done with the hook between the graph editor and sage notebook. Here is the first prototype: 1) get http://www.math.uiuc.edu/~rkirov2/sage/graph_editor.zip 2) exact