[sage-devel] Re: n(list)

2009-09-24 Thread Rado
I am not sure if I get a vote, but I wanted to say my opinion as more of a Sage user than developer. Since n() is type conversion of sorts, I would expect it to behave similar to python's int() function. Which means just give error if you pass it a list (to remind you to use map). explicit is

[sage-devel] Re: n(list)

2009-09-24 Thread William Stein
On Wed, Sep 23, 2009 at 11:14 PM, Rado rki...@gmail.com wrote: I am not sure if I get a vote, but I wanted to say my opinion as more of a Sage user than developer. Since n() is type conversion of sorts, I would expect it to behave similar to python's int() function. Which means just give

[sage-devel] Re: Thoughts on wording if someone tries to build Sage on HP-UX. AIX, tru64 etc.

2009-09-24 Thread Dr. David Kirkby
Jason Grout wrote: Dr. David Kirkby wrote: 2) You are attempting to build Sage on HP-UX. While there are no plans to support HP-UX, if you want to port Sage to HP-UX, the Sage community would appreciate that, and give you what support they can. Any patches you are able to submit would

[sage-devel] Re: Thoughts on wording if someone tries to build Sage on HP-UX. AIX, tru64 etc.

2009-09-24 Thread William Stein
On Wed, Sep 23, 2009 at 11:39 PM, Dr. David Kirkby david.kir...@onetel.net wrote: Jason Grout wrote: Dr. David Kirkby wrote: 2) You are attempting to build Sage on HP-UX. While there are no plans to support HP-UX, if you want to port Sage to HP-UX, the Sage community would appreciate that,

[sage-devel] Re: Where can I find the inner sage code ?

2009-09-24 Thread William Stein
On Wed, Sep 23, 2009 at 10:11 AM, Francois Maltey fmal...@nerim.fr wrote: Hi, I'm testing sage, the expressions and I play with expr.expand(). After test = 3*x, I find test.expand? and get the help text, and test.expand?? and the main call about expand. Then emacs goes to expression.pyx

[sage-devel] Re: Thoughts on wording if someone tries to build Sage on HP-UX. AIX, tru64 etc.

2009-09-24 Thread Minh Nguyen
Hi David, On Thu, Sep 24, 2009 at 4:39 PM, Dr. David Kirkby david.kir...@onetel.net wrote: SNIP Is there anyone else who agrees or disagrees with putting messages to encourage those trying Sage on other OS's? I strongly agree. Ideally Sage should run on FreeBSD, Solaris (SPARC and x86), and

[sage-devel] Re: survey: how many cpus do you have?

2009-09-24 Thread Peter Jeremy
On 2009-Sep-23 12:17:26 -0700, William Stein wst...@gmail.com wrote: On Wed, Sep 23, 2009 at 10:31 AM, John H Palmieri jhpalmier...@gmail.com wrote: I can't tell: is 128 a reasonable answer here?  Is it okay to doctest Sage in parallel using 128 threads? Ouch. I tried running 16 processes in

[sage-devel] Sage 4.1.2.alpha2 build failure due to NTL

2009-09-24 Thread Minh Nguyen
Hi folks, The machine bsd.math now runs OS X 10.6 with GCC 4.2.1. Feeling a little adventurous, I tried building Sage 4.1.2.alpha2 in 32-bit mode on that machine. After a while, the build failed while trying to compile NTL. Here's a relevant install snippet: {{{ This is NTL version 5.4.2 GOOD

[sage-devel] Re: Sage 4.1.2.alpha2 build failure due to NTL

2009-09-24 Thread William Stein
On Thu, Sep 24, 2009 at 1:27 AM, Minh Nguyen nguyenmi...@gmail.com wrote: Hi folks, The machine bsd.math now runs OS X 10.6 with GCC 4.2.1. Feeling a little adventurous, I tried building Sage 4.1.2.alpha2 in 32-bit mode on that machine. After a while, the build failed while trying to

[sage-devel] Something funny (must read) - opening Sun computers.

2009-09-24 Thread Dr. David Kirkby
As you are aware, I am trying to improve Sage on Solaris. My progress has been stunted recently as three of my Sun computers were destroyed by lightning, including the fastest one I own. The damage is currently subject to an insurance claim, which I believe is almost resolved. Soon I should

[sage-devel] Re: Something funny (must read) - opening Sun computers.

2009-09-24 Thread William Stein
On Thu, Sep 24, 2009 at 1:35 AM, Dr. David Kirkby david.kir...@onetel.net wrote: As you are aware, I am trying to improve Sage on Solaris. My progress has been stunted recently as three of my Sun computers were destroyed by lightning, including the fastest one I own. The damage is currently

[sage-devel] prioritizing usage on the Sage cluster

2009-09-24 Thread Minh Nguyen
Hi folks, The Sage cluster consists of four similar computers: * sage.math --- mainly for Sage development (128GB RAM, 24 cores) * geom.math --- mainly for geometry research (128GB RAM, 24 cores) * mod.math --- mainly for number theory research (128GB RAM, 24 cores) * boxen.math --- mainly

[sage-devel] Re: [femhub] some suggestions to web notebook

2009-09-24 Thread Ondrej Certik
Hi Pavel, thanks a lot for the feedback on the notebook. I think every single point that you raised annoys me too and it should be fixed. I have also CCed sage-devel. Ondrej On Wed, Sep 23, 2009 at 10:57 PM, Pavel Solin so...@unr.edu wrote: Hi,   by now I spent many hours with programming

[sage-devel] Re: Review Day next Tuesday (22 Sep)

2009-09-24 Thread Tim Joseph Dumol
That is *very* cool. We should put that in a wiki page so we can plan a way to transition to a system like that. On Thu, Sep 24, 2009 at 11:07 AM, Robert Bradshaw rober...@math.washington.edu wrote: On Sep 22, 2009, at 8:51 AM, Jason Grout wrote: Tim Joseph Dumol wrote: Sorry, I mean't

[sage-devel] Re: [femhub] some suggestions to web notebook

2009-09-24 Thread Tim Joseph Dumol
On Thu, Sep 24, 2009 at 6:05 PM, Ondrej Certik ond...@certik.cz wrote: Hi Pavel, thanks a lot for the feedback on the notebook. I think every single point that you raised annoys me too and it should be fixed. I have also CCed sage-devel. Ondrej On Wed, Sep 23, 2009 at 10:57 PM, Pavel

[sage-devel] Re: n(list)

2009-09-24 Thread Tim Joseph Dumol
I also agree. Mapping explicitly is a lot clearer and Pythonic. Even the functional languages, with their focus on lists, do mapping explicitly. On Thu, Sep 24, 2009 at 2:16 PM, William Stein wst...@gmail.com wrote: On Wed, Sep 23, 2009 at 11:14 PM, Rado rki...@gmail.com wrote: I am not

[sage-devel] Re: [femhub] some suggestions to web notebook

2009-09-24 Thread William Stein
On Thu, Sep 24, 2009 at 3:05 AM, Ondrej Certik ond...@certik.cz wrote: Hi Pavel, thanks a lot for the feedback on the notebook. I think every single point that you raised annoys me too and it should be fixed. I fully agree. In the meantime, I did list a few workarounds for some of the

[sage-devel] Re: [femhub] some suggestions to web notebook

2009-09-24 Thread Tim Joseph Dumol
Regarding syntax highlighting, I just found a list on wikipedia of editors we can use: http://en.wikipedia.org/wiki/Comparison_of_Javascript-based_source_code_editors CodeMirror (http://marijn.haverbeke.nl/codemirror/) seems to be the most promising. Here's the demo:

[sage-devel] Re: [femhub] some suggestions to web notebook

2009-09-24 Thread William Stein
On Thu, Sep 24, 2009 at 3:57 AM, Tim Joseph Dumol t...@timdumol.com wrote: Regarding syntax highlighting, I just found a list on wikipedia of editors we can use: http://en.wikipedia.org/wiki/Comparison_of_Javascript-based_source_code_editors CodeMirror

[sage-devel] Re: [femhub] some suggestions to web notebook

2009-09-24 Thread Tim Joseph Dumol
I don't notice any difference of speed (I'm on Firefox 3.5.2, btw.) It seems that the editor works as an iframe in the document (that's how FCKEditor (now CKEditor) works, too). The DOM traversal to add elements can be slow, I guess. I haven't read the source code (I'll take a peek at it later)

[sage-devel] Re: Sage 4.1.2.alpha2 doctest failures on Fedora, Red Hat, CentOS

2009-09-24 Thread Minh Nguyen
On Tue, Sep 22, 2009 at 7:35 PM, Minh Nguyen nguyenmi...@gmail.com wrote: SNIP Builds fine on x86_64 RHEL 5.3 (lena on SkyNet) with GCC 4.4.1. All doctests pass. Can't compile on x86_64 RHEL 5.4 (rosemary.math) with GCC 4.1.2. The build dies when trying to compile ECL. Here's a snippet of

[sage-devel] Processing as an Interactive Plotting Option

2009-09-24 Thread Marmaduke
Hi, hello, I recently began using SAGE and its notebook interface for high- dimensional dynamical systems work, and while matplotlib is only static output; continually changing a parameter and replotting becomes monotonous. Which lead me to Processing (http://processing.org/) which, while

[sage-devel] Re: Processing as an Interactive Plotting Option

2009-09-24 Thread Tim Joseph Dumol
That's pretty cool. Have you considered using Processing.js? Also, doesn't @interact allow you to change parameters via sliders? On Thu, Sep 24, 2009 at 9:29 PM, Marmaduke mmwood...@gmail.com wrote: Hi, hello, I recently began using SAGE and its notebook interface for high- dimensional

[sage-devel] Re: [femhub] some suggestions to web notebook

2009-09-24 Thread M. Yurko
That editor seemed as fast as the native text area to me. I am also using firefox 3.5.2 so it could be quite browser dependent. On Sep 24, 7:11 am, William Stein wst...@gmail.com wrote: On Thu, Sep 24, 2009 at 3:57 AM, Tim Joseph Dumol t...@timdumol.com wrote: Regarding syntax highlighting,

[sage-devel] Re: [femhub] some suggestions to web notebook

2009-09-24 Thread Jason Grout
William Stein wrote: (3) When image is saved and latex some text written to output, the image anyway appears after the text. So one does not have an opportunity to create a sequence of images with some text description below each of them. This should be fixed.

[sage-devel] Re: survey: how many cpus do you have?

2009-09-24 Thread John H Palmieri
So, back to the original question: for parallel testing, can we set the number of threads to be the output from multiprocessing.cpu_count ()? On t2, is it actually *bad* to use 128 threads, or is it just about the same as using 16? (The point was to have a non-idiotic way of setting the number

[sage-devel] Re: Something funny (must read) - opening Sun computers.

2009-09-24 Thread Bill Hart
More than likely the company that looked at your computers to see if they were broken, has done you a great favour. I used to work as a computer tech and sometimes it was very difficult to determine whether a computer was broken or not. By the time the company had dealt with your computers, I'm

[sage-devel] Re: Something funny (must read) - opening Sun computers.

2009-09-24 Thread Tom Boothby
I thought I'd amuse you a little, and hopefully my progress on Solaris will improve somewhat in the near future, when I get the hardware replaced. That is amusing, and I must say, shocking. Primarily because the sage.math computers are a *dream* to work on. Press a tab here, pull a little,

[sage-devel] Re: [femhub] some suggestions to web notebook

2009-09-24 Thread Nick Alexander
* More of a python import thing. In this scenario, each worksheet has an optional filename. If you use python to import some_other_worksheet, the path is set up such that the normal python import mechanism works. This gives you all of the normal python namespace mechanisms. To enable

[sage-devel] Re: PIL decoder jpeg not available

2009-09-24 Thread Marshall Hampton
I'm pretty sure I've fixed this once on a mac, but unfortunately I can't remember what I did. In fact, sadly, I'm not sure I knew what I did at the time, I just kept trying different things I until it worked. From your original link, I think we just have to correctly do option 5, i.e. edit the

[sage-devel] #sage-devel log

2009-09-24 Thread William Stein
Hi, Starting two days ago the irc chatter on #sage-devel is recorded in the following place: http://sage.math.washington.edu/home/wstein/tmp/sage-devel.log This took me 2 minutes to setup, so isn't as complicated as emailing a google group or something. Anyway, I hope people find it useful.

[sage-devel] Mandriva

2009-09-24 Thread William Stein
Hi, Harald pointed out Sage getting into Mandriva is featured in their release notes. In fact, it's a big part of them. Here they are: Mandriva Linux 2010 includes (or will include) the following versions of the major distribution components: kernel 2.6.31 (estimation), X.org 7.5 (with

[sage-devel] Re: #sage-devel log

2009-09-24 Thread Harald Schilly
On Sep 24, 9:02 pm, William Stein wst...@gmail.com wrote:    http://sage.math.washington.edu/home/wstein/tmp/sage-devel.log is tmp the final directory and does some logrotate without compression happen? I can add the directory to the sage specific search on the website, then it's easy to

[sage-devel] Re: #sage-devel log

2009-09-24 Thread William Stein
On Thu, Sep 24, 2009 at 12:37 PM, Harald Schilly harald.schi...@gmail.com wrote: On Sep 24, 9:02 pm, William Stein wst...@gmail.com wrote:    http://sage.math.washington.edu/home/wstein/tmp/sage-devel.log is tmp the final directory and does some logrotate without compression happen?

[sage-devel] new jmol

2009-09-24 Thread Jason Grout
I updated the jmol spkg to 11.8.6 at #7003 (ready for review!). Here are some new things since the current version of jmol we have in Sage. I post this here because some people might be interested in exposing/using some of these in Sage: These come from:

[sage-devel] Re: new jmol

2009-09-24 Thread William Stein
On Thu, Sep 24, 2009 at 12:52 PM, Jason Grout jason-s...@creativetrax.com wrote: I updated the jmol spkg to 11.8.6 at #7003 (ready for review!). I just want to comment that I want jmol to just be part of the standalone sage notebook.If you look in the sagenb/data/java directory of

[sage-devel] Re: Mandriva

2009-09-24 Thread Robert Bradshaw
On Sep 24, 2009, at 12:34 PM, William Stein wrote: Hi, Harald pointed out Sage getting into Mandriva is featured in their release notes. In fact, it's a big part of them. Here they are: Mandriva Linux 2010 includes (or will include) the following versions of the major distribution

[sage-devel] Re: #sage-devel log

2009-09-24 Thread Harald Schilly
On Sep 24, 9:39 pm, William Stein wst...@gmail.com wrote:  We should setup something maybe more longterm, say on sagemath.org itself? +1 ~/www-files/irc/ sounds good for me, I can handle the rest ;) H --~--~-~--~~~---~--~~ To post to this group, send an email

[sage-devel] Re: Mandriva

2009-09-24 Thread Paulo César Pereira de Andrade
2009/9/24 Robert Bradshaw rober...@math.washington.edu: On Sep 24, 2009, at 12:34 PM, William Stein wrote: Hi, Harald pointed out Sage getting into Mandriva is featured in their release notes.  In fact, it's a big part of them.  Here they are: Mandriva Linux 2010 includes (or will

[sage-devel] Re: [femhub] some suggestions to web notebook

2009-09-24 Thread Ondrej Certik
On Thu, Sep 24, 2009 at 1:49 PM, William Stein wst...@gmail.com wrote: On Thu, Sep 24, 2009 at 1:25 PM, Pavel Solin so...@unr.edu wrote: Hi,   thanks for many useful hints. On Thu, Sep 24, 2009 at 3:33 AM, William Stein wst...@gmail.com wrote: On Thu, Sep 24, 2009 at 3:05 AM, Ondrej

[sage-devel] Re: new jmol

2009-09-24 Thread Bill Page
Jason, What are the Sage version prerequisites for this package (if any)? Besides new features is there a list of bug fixes? In particular, do you know if this version solves the problem with jmol on some Windows XP systems that has been mentioned occasionally here on this list? Regards, Bill

[sage-devel] Re: survey: how many cpus do you have?

2009-09-24 Thread Dr. David Kirkby
John H Palmieri wrote: So, back to the original question: for parallel testing, can we set the number of threads to be the output from multiprocessing.cpu_count ()? On t2, is it actually *bad* to use 128 threads, or is it just about the same as using 16? (The point was to have a non-idiotic

[sage-devel] pydstool

2009-09-24 Thread brandon.bar...@gmail.com
I'd like to put together an spkg for pydstool - would this be a useful package for sage's core distribution? http://www.cam.cornell.edu/~rclewley/cgi-bin/moin.cgi/ --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To

[sage-devel] Re: new jmol

2009-09-24 Thread Jason Grout
Bill Page wrote: Jason, What are the Sage version prerequisites for this package (if any)? Besides new features is there a list of bug fixes? In particular, do you know if this version solves the problem with jmol on some Windows XP systems that has been mentioned occasionally here on this

[sage-devel] Graph layout, graphviz, and dot2tex

2009-09-24 Thread Nicolas M. Thiery
Dear Sage(-Combinat) devs, dear graph drawing fans, Due to an urgent itch, I took some time today to work on the graphviz+dot2tex integration. For a sample application, see: http://sage.math.washington.edu/home/nthiery/bruhat-D4.pdf Which was produced by the (too long) mantra:

[sage-devel] Re: survey: how many cpus do you have?

2009-09-24 Thread Dan Drake
On Thu, 24 Sep 2009 at 08:32AM -0700, John H Palmieri wrote: So, back to the original question: for parallel testing, can we set the number of threads to be the output from multiprocessing.cpu_count ()? On t2, is it actually *bad* to use 128 threads, or is it just about the same as using 16?

[sage-devel] Re: Sage 4.1.2.alpha2 build failure due to NTL

2009-09-24 Thread William Stein
On Thu, Sep 24, 2009 at 1:27 AM, Minh Nguyen nguyenmi...@gmail.com wrote: Hi folks, The machine bsd.math now runs OS X 10.6 with GCC 4.2.1. Feeling a little adventurous, I tried building Sage 4.1.2.alpha2 in 32-bit mode on that machine. After a while, the build failed while trying to

[sage-devel] Re: survey: how many cpus do you have?

2009-09-24 Thread Marshall Hampton
Well said. It's clearly a big improvement, and simple. Works well on all the machines I have available. -Marshall On Sep 24, 7:04 pm, Dan Drake dr...@kaist.edu wrote: On Thu, 24 Sep 2009 at 08:32AM -0700, John H Palmieri wrote: So, back to the original question: for parallel testing, can

[sage-devel] Re: Exterior algebra (again)

2009-09-24 Thread Paul Leopardi
On Sep 24, 3:39 pm, Michael Brickenstein brickenst...@mfo.de wrote: Hi! On 23 Sep., 11:07, mmarco mma...@unizar.es wrote: I have to do some computations in an exterior algebra, and i have seen that it is not yet implemented in sage, but there is some work in that direction. My question

[sage-devel] Re: pydstool

2009-09-24 Thread brandon.bar...@gmail.com
I put together a package: http://barker.homeunix.net/bb/pydstool-0.87.081113.spkg There are a few big problems. This release has not been tested in python 2.6, and also some of the pydstool functions do their own type checking, and don't know about Integer (for example). I'll post an update

[sage-devel] Re: Graph layout, graphviz, and dot2tex

2009-09-24 Thread Rob Beezer
Hi Nicolas, Thanks for working on the LaTeX-graph code. I'll certainly give this a closer look soon, with an eye towards not wreak[ing] further havoc. ;-) Have a couple of other things in the queue first, though. Fidel Barerra and I both have some work to do on this front, so I'll try to

[sage-devel] Re: pydstool

2009-09-24 Thread Minh Nguyen
Hi Brandon, On Fri, Sep 25, 2009 at 2:59 PM, brandon.bar...@gmail.com brandon.bar...@gmail.com wrote: I put together a package: http://barker.homeunix.net/bb/pydstool-0.87.081113.spkg There are a few big problems. This release has not been tested in python 2.6, and also some of the