[sage-devel] Re: hardware/load on sagenb.org

2009-11-15 Thread William Stein
On Sun, Nov 15, 2009 at 3:40 PM, Colin Macdonald wrote: > > Hi, > > May I ask what the hardware running sagenb.org is? It's a VirtualBox virtual machine. I've been playing around with the exact configuration -- currently it's configured as a 4-core machine with 16GB RAM. However, within a few

[sage-devel] Re: Debugging personal code

2009-11-15 Thread William Stein
On Sun, Nov 15, 2009 at 10:59 PM, Nick Alexander wrote: > >> 4. I plan to implement a debugger like pdb in the notebook.  Something >> very similar has already been done by the Pylons project, which should >> give an idea of how to do it for Sage. > > This would be all kinds of awesome. I though

[sage-devel] Re: Debugging personal code

2009-11-15 Thread Nick Alexander
> 4. I plan to implement a debugger like pdb in the notebook. Something > very similar has already been done by the Pylons project, which should > give an idea of how to do it for Sage. This would be all kinds of awesome. If you are not familiar with the Smalltalk debugger, may I suggest you

[sage-devel] Re: Debugging personal code

2009-11-15 Thread William Stein
On Sun, Nov 15, 2009 at 10:23 PM, kstueve wrote: > > An alternative to adding/removing/commenting out/uncommenting print > statements through your code may be to use decorators.  A decorator is > a a function that is passed your function whenever it is called.  A > decorator can do whatever you w

[sage-devel] Re: Debugging personal code

2009-11-15 Thread William Stein
On Sun, Nov 15, 2009 at 9:08 PM, James Youngquist wrote: > > Hello, > >  I'm new at the whole python/sage thing.  Is there a better way to debug > pieces of code we're working on other than to insert print statements? > Something where we can step through the code a line at a time or generate > p

[sage-devel] Re: Debugging personal code

2009-11-15 Thread kstueve
An alternative to adding/removing/commenting out/uncommenting print statements through your code may be to use decorators. A decorator is a a function that is passed your function whenever it is called. A decorator can do whatever you want. Some of the possibilities are caching values of the fu

[sage-devel] Re: Debugging personal code

2009-11-15 Thread Nick Alexander
On 15-Nov-09, at 9:08 PM, James Youngquist wrote: > > Hello, > > I'm new at the whole python/sage thing. Is there a better way to > debug > pieces of code we're working on other than to insert print statements? > Something where we can step through the code a line at a time or > generate >

[sage-devel] Re: Sage Developers in Africa?

2009-11-15 Thread Jan Groenewald
Hi On Sun, Nov 15, 2009 at 01:35:56PM -0800, Harald Schilly wrote: > > The map herehttp://sagemath.org/development-map.htmlhas no dots in Africa. > > Can somebody in Africa, please become a Sage Developer?   :-) > > It's some kind of a hen-egg probem: First mirrors, then users and some > mouth p

[sage-devel] Re: Strange behavior of the magma interface

2009-11-15 Thread Kwankyu Lee
On Nov 15, 3:56 am, William Stein wrote: > On Thu, Nov 12, 2009 at 11:43 PM, Kwankyu Lee wrote: > > > Hi, > > > Is this an expected behavior of the magma interface? > > > -- > > | Sage Version 4.2, Release Date: 2009-10-24    

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread Pat LeSmithe
On 11/15/2009 09:51 PM, kstueve wrote: > GeoGebra and Jmol are written in Java. Jmol and GeoGebra can use > JavaScript to simplify embedding in a web-page. Is this what you mean > by JS-"able"? Yes. Although Sage, for now, does not make extensive use of either project's JS API, we could use t

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread kstueve
Pat, thanks for the links and suggestions. They were helpful. GeoGebra and Jmol are written in Java. Jmol and GeoGebra can use JavaScript to simplify embedding in a web-page. Is this what you mean by JS-"able"? On Nov 15, 8:45 pm, Pat LeSmithe wrote: > On 11/15/2009 06:08 PM, kstueve wrote: >

[sage-devel] Re: Fine-grained verbosity + metaclasses?

2009-11-15 Thread Pat LeSmithe
On 10/31/2009 10:50 AM, Robert Bradshaw wrote: >>> http://docs.python.org/library/logging.html >> http://firelogger.binaryage.com/ >> http://github.com/darwin/firepython >> http://getfirebug.com/ > > What's the performance like on these two projects? If we're going to > be using it internally,

[sage-devel] Debugging personal code

2009-11-15 Thread James Youngquist
Hello, I'm new at the whole python/sage thing. Is there a better way to debug pieces of code we're working on other than to insert print statements? Something where we can step through the code a line at a time or generate profiling information regarding number of times a function was call

[sage-devel] Re: Sage Developers in Russia?

2009-11-15 Thread William Stein
2009/11/15 Serge A. Salamanka : > > I can see no dots in Russia also. > I guess that the problem of free mathematical software doesn't exist in > our scientific world - Mathematica is actually free and it will stay > until the time Mathematica supports russian language in the program > interface a

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread Pat LeSmithe
On 11/15/2009 06:08 PM, kstueve wrote: > If using JS (and related libraries) on all platforms may require extra > plugins, would Java make more sense, or do I just need to find ways to > use JS effectively? > > Does anyone have any general suggestions on how I might want to > develop a GUI with a

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread kstueve
SVG looks useful. But it doesn't work on Internet Explorer without special software. http://en.wikipedia.org/wiki/Scalable_Vector_Graphics When I developed a Java applet, I had to spend great amounts of time researching the idiosyncrasies of different browsers on how to embed a Java applet with

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread Pat LeSmithe
On 11/15/2009 03:42 PM, kstueve wrote: > I would appreciate it if anyone has any links to JavaScript libraries > (or general suggestions on making a JavaScript GUI front-end that > communicates with a Python program) that might be helpful. There are some links at http://wiki.sagemath.org/Javascr

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread kstueve
I need my program to have a graphical interface when run either locally or on a remote server. My options are either JavaScript and Java for the GUI front-end that communicates with the main Python program. Does anyone have any thoughts on using one over the other? Although Java has the drawbac

[sage-devel] hardware/load on sagenb.org

2009-11-15 Thread Colin Macdonald
Hi, May I ask what the hardware running sagenb.org is? And roughly how many concurrent users it handles (say at peak usage)? thanks, Colin -- Colin Macdonald University Lecturer in Numerical Analysis Tutorial Fellow at Oriel College University of Oxford --~--~-~--~~~

[sage-devel] Sage Developers in Russia?

2009-11-15 Thread Serge A. Salamanka
I can see no dots in Russia also. I guess that the problem of free mathematical software doesn't exist in our scientific world - Mathematica is actually free and it will stay until the time Mathematica supports russian language in the program interface and documentation. But the interest in Sage e

[sage-devel] Re: Help with Custom Class testing/pickling

2009-11-15 Thread Ethan Van Andel
Thank you, I think that, right now, the primary problem is the TestSuite and dump/ load requirements. Ethan --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsub

[sage-devel] Re: google wave invites

2009-11-15 Thread Harald Schilly
On Nov 15, 4:23 pm, Nathann Cohen wrote: > How can you have 12 left ?? Do they give you more than 8 after some > time ? I don't know. I was part of the early-preview sandbox thing. After I used all my 8 invites it was empty, after some time i had 8 (?) again and after i used them, the invite w

[sage-devel] Re: Sage Developers in Africa?

2009-11-15 Thread Harald Schilly
On Nov 15, 7:34 pm, William Stein wrote: > Hi, > > The map herehttp://sagemath.org/development-map.htmlhas no dots in Africa. > Can somebody in Africa, please become a Sage Developer?   :-) > It's some kind of a hen-egg probem: First mirrors, then users and some mouth propaganda, then classes, a

[sage-devel] Re: Sage Developers in Africa?

2009-11-15 Thread Minh Nguyen
Hi folks, On Mon, Nov 16, 2009 at 5:34 AM, William Stein wrote: > > Hi, > > The map here http://sagemath.org/development-map.html has no dots in Africa. > Can somebody in Africa, please become a Sage Developer? :-) The Sage development map [1] is in need of some updates. There are about a doz

[sage-devel] Re: Help with Custom Class testing/pickling

2009-11-15 Thread Minh Nguyen
Hi Ethan, On Mon, Nov 16, 2009 at 5:01 AM, Ethan Van Andel wrote: > My question is this, is there some kind, knowledgeable soul who would > be willing to help me take my project through the final stages of > publishing it? They could do this either by implementing the testing/ > pickling feat

[sage-devel] Re: [mpir-devel] Re: [sage-release] SAGE_FAT_BINARY again

2009-11-15 Thread Bill Hart
Hmm, unfortunately I can't issue an MPIR 1.2.2 because our svn server is down. I can export from my local copy, but it sets all the script permissions incorrectly and breaks with other things like like Windows endings. Unfortunately mpir-1.2.2 is not in our git repo as the mpir-1.2.x series was m

[sage-devel] Sage Developers in Africa?

2009-11-15 Thread William Stein
Hi, The map here http://sagemath.org/development-map.html has no dots in Africa. Can somebody in Africa, please become a Sage Developer? :-) -- william -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~--

[sage-devel] Re: [mpir-devel] Re: [sage-release] SAGE_FAT_BINARY again

2009-11-15 Thread William Stein
> > 2009/11/15 Jason Moxham : >> >> Solved??? >> >> jasonmox...@debian5-32:/tmp/jason/mpir-1.2$ diff  config.guess >> ../sage-4.2.1/spkg/standard/mpir-1.2.p9/src/config.guess >> 660c660 >> < i?86-*-*|x86_64-*-*|amd64-*-*) >> --- >>> i?86-*-*|x86_64-*-*) >> 755c755 >> <   rm -f ${dummy}032.s ${dumm

[sage-devel] Help with Custom Class testing/pickling

2009-11-15 Thread Ethan Van Andel
For summer research, I created an extension for sage. It can be found (as it is) here: http://trac.sagemath.org/sage_trac/ticket/6648 Since finishing it, however I've been bogged down with the publishing requirements, testing docs, etc. I have tests for everything except what was pickling and is

[sage-devel] Re: google wave invites

2009-11-15 Thread Nathann Cohen
How can you have 12 left ?? Do they give you more than 8 after some time ? 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 Fo

[sage-devel] Re: google wave invites

2009-11-15 Thread Harald Schilly
On Nov 14, 7:05 am, clinton bowen wrote: > ok i'm out of invites. ... and i have still 12 left ^^ h --~--~-~--~~~---~--~~ 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..

[sage-devel] Re: Implementation of Q(t) and monomials

2009-11-15 Thread Gonzalo Tornaria
On Sun, Nov 15, 2009 at 3:32 AM, William Stein wrote: >>    model name      : Dual-Core AMD Opteron(tm) Processor 8220 >>    cpu MHz         : 1000.000 > > Why do you say "1000" MHZ when that particular processor is a 2800Mhz > (=2.8Ghz) processor? > [...] >>    model name      : Intel(R) Core(TM