Re: [sage-devel] overhead in creating p-adic elements

2010-08-13 Thread David Roe
So, I haven't looked at profiling for p-adics for quite a while. But one way to speed up this kind of item creation is to implement a morphism from ZZ to Qp and then write a super-fast _call_ method. I can't do it right now, but I can provide advice if someone else wants to. David On Fri, Aug 13

[sage-devel] Re: Sage 4.5.2 on Virtualbox

2010-08-13 Thread ancienthart
Sorry, in step 5, also installed the cairo development libraries. Joal Heagney On Aug 14, 1:16 pm, ancienthart wrote: > I've managed to download and install sage 4.5.2 (i386) into an xubuntu > image on virtualbox. This has R with png, jpeg, tiff and cairo support > built in. I built this because

[sage-devel] Sage 4.5.2 on Virtualbox

2010-08-13 Thread ancienthart
I've managed to download and install sage 4.5.2 (i386) into an xubuntu image on virtualbox. This has R with png, jpeg, tiff and cairo support built in. I built this because it seems that the current vmware image has been "pruned" a bit too aggressively, and can't connect to the network from inside

Re: [sage-devel] Re: Should there be some *good* examples on notebook?

2010-08-13 Thread Dr. David Kirkby
On 08/13/10 11:11 PM, William Stein wrote: A moderation system / crowdsourcing is obviously the way to go to select good worksheets. It's just a matter of implementing it in a more usable way, and presenting the results by default at /pub. --- William IMHO, if a user sets up a Sage server

Re: [sage-devel] Re: Should there be some *good* examples on notebook?

2010-08-13 Thread William Stein
On Fri, Aug 13, 2010 at 5:18 AM, mmarco wrote: > I think the current design fits perfectly for a classroom server, but > maybe its true that the public notebook server gets too much garbage. > The rating system should be a solution for this, but clearly, doesn't > work. The published worksheets a

[sage-devel] overhead in creating p-adic elements

2010-08-13 Thread David Harvey
Hi, sage: K = Qp(13, 5) sage: 13^5 371293 sage: y = K(10) sage: z = K(20) sage: timeit("x = y * z") 625 loops, best of 3: 961 ns per loop # varies a bit but this is typical sage: timeit("x = y + z") 625 loops, best of 3: 942 ns per loop # ditto That's the cost of arithmetic. Pret

Re: [sage-devel] Re: who is the upstream contact of the graphs spkg?

2010-08-13 Thread Minh Nguyen
Hi Jason, On Fri, Aug 13, 2010 at 5:22 PM, Jason Grout wrote: >> * Is there a URL that we can use to link to the upstream home page? > > The webpage is: http://good.math.iastate.edu/grout/graphs/ Thank you for this, Jason. I have used the above URL in this script [1] to automate the updating of

[sage-devel] Re: Sorting vertices of a graph

2010-08-13 Thread Rob Beezer
On Jul 24, 11:54 am, Rob Beezer wrote: > I'll get a ticket started soon. Patches (resp. for vertices, edges) now at: http://trac.sagemath.org/sage_trac/ticket/9741 http://trac.sagemath.org/sage_trac/ticket/9742 Rob -- To post to this group, send an email to sage-devel@googlegroups.com To unsu

Re: [sage-devel] It is reasonable to change doctest from asinh(1.0) to asinh(2.0)?

2010-08-13 Thread Carl Witty
On Fri, Aug 13, 2010 at 12:08 AM, Dr. David Kirkby wrote: > How can I add a comment to the doc test, which will not be printed in the > documentation? I'd like to add the result from a high-precision computation, > so anyone looking at the doctest in future could see what's a reasonable > answer a

[sage-devel] Re: Some feature requests on SAGE - Adding Engineering to the target audience

2010-08-13 Thread Dima Pasechnik
On Aug 2, 10:47 pm, William Stein wrote: > On Mon, Aug 2, 2010 at 1:38 PM, cousteau > wrote: > > I'm studying engineering, and I'm used to some programs such as > > Matlab, Maple, etc. When I knew about SAGE I found it very powerful, > > simple and well structured, but I quickly found out that

[sage-devel] Re: Should there be some *good* examples on notebook?

2010-08-13 Thread mmarco
I think the current design fits perfectly for a classroom server, but maybe its true that the public notebook server gets too much garbage. The rating system should be a solution for this, but clearly, doesn't work. Maybe just a regular garbage collecting could be usefull. But then again, we need s

Re: [sage-devel] What does maxima('asinh(2.0)') give on your machine?

2010-08-13 Thread John Cremona
I get exactly that on both 32 and 64-bit linux, the first an Intel dual core and the latter AMD Opteron. John On 13 August 2010 06:52, Dr. David Kirkby wrote: > I'd like to know what people get when they compute > > > sage: maxima('asinh(2.0)') > > For every machine I've tested it on, > > * sage

[sage-devel] Re: A scalable framework for error-correcting code functionality in Sage

2010-08-13 Thread Johan S. R. Nielsen
On Aug 12, 6:40 pm, Ryan Hinton wrote: > Hello, Johan. > > I'm a little confused at your restatement of my idea as well as your > description of your idea.  Let me provide some code fragments to be > concrete. > > class Code: >     def __init__(..., encode_algorithm=['alg_name', args], > decode_al

[sage-devel] Re: who is the upstream contact of the graphs spkg?

2010-08-13 Thread Jason Grout
On 8/12/10 11:35 PM, Minh Nguyen wrote: Hi folks, Harald and I are working on automating the update of the page http://www.sagemath.org/links-components.html Essentially, that page provides a list of all standard packages in Sage with a brief description of what each component is about. Ideall

Re: [sage-devel] It is reasonable to change doctest from asinh(1.0) to asinh(2.0)?

2010-08-13 Thread Dr. David Kirkby
On 08/13/10 07:10 AM, Mike Hansen wrote: On Thu, Aug 12, 2010 at 10:46 PM, Dr. David Kirkby wrote: Does that seem a reasonable change? +1 --Mike Thank you Mike. I'll make that change if there are no objections. But I'll wait until I get a few responses from the answer to sage: maxima(