[sage-devel] Re: A coercion problem?

2009-07-11 Thread Kwankyu
On Jul 12, 2:03 pm, William Stein wrote: > 2009/7/11 Kwankyu : > > > > > > > Hi, > > > sage: F=GF(5) > > sage: a=F(3)*2/3; a > > 2 > > sage: parent(a) > > Finite Field of size 5 > > sage: 2/3*F(3) > > Traceback (most recent call last): > > ... > > TypeError: unsupported operand parent(s) for '*

[sage-devel] Re: A coercion problem?

2009-07-11 Thread William Stein
2009/7/11 Kwankyu : > > Hi, > > sage: F=GF(5) > sage: a=F(3)*2/3; a > 2 > sage: parent(a) > Finite Field of size 5 > sage: 2/3*F(3) > Traceback (most recent call last): > ... > TypeError: unsupported operand parent(s) for '*': 'Rational Field' and > 'Finite Field of size 5' > > This behavior seems

[sage-devel] A coercion problem?

2009-07-11 Thread Kwankyu
Hi, sage: F=GF(5) sage: a=F(3)*2/3; a 2 sage: parent(a) Finite Field of size 5 sage: 2/3*F(3) Traceback (most recent call last): ... TypeError: unsupported operand parent(s) for '*': 'Rational Field' and 'Finite Field of size 5' This behavior seems irrational to me. My understanding is that rati

[sage-devel] Re: syntax error in local/bin/sage-apply-ticket

2009-07-11 Thread Kevin Horton
That patch fixed sage-apply-ticket for me, on sage-4.1. Thanks, Kevin Horton On 11 Jul 2009, at 15:21, John Cremona wrote: > > There is a new patch at #6511 which now has a positive review. Try > that? > John > > 2009/7/11 Kevin Horton : >> >> I tried using "sage -merge " to apply a pat

[sage-devel] Re: Can one speed up ATLAS build time?

2009-07-11 Thread Burcin Erocal
On Sat, 11 Jul 2009 10:53:04 -0700 William Stein wrote: > > On Sat, Jul 11, 2009 at 9:37 AM, Dr. David > Kirkby wrote: > > > > It's taken more than 12 hours to build ATLAS on t2, and it is still > > going. William said it takes a lot less if some tuning parameters > > are known for the machine,

[sage-devel] Re: Size of exponents and silent errors

2009-07-11 Thread Bjarke Hammersholt Roune
Hi, Singular definitely does have an issue with incorrect Grobner bases due to overflow. I've been in contact with the Singular team, and they do consider this to be a bug that they will fix. In general they want Singular to either give a correct answer or give an error message, no matter how Sin

[sage-devel] Re: syntax error in local/bin/sage-apply-ticket

2009-07-11 Thread John Cremona
There is a new patch at #6511 which now has a positive review. Try that? John 2009/7/11 Kevin Horton : > > I tried using "sage -merge " to apply a patch from Trac, but it > failed with: > > % sage -merge 5081 >   File "/opt/sage-4.1/local/bin/sage-apply-ticket", line 464 >     os.chdir(SAGE_

[sage-devel] Re: Can one speed up ATLAS build time?

2009-07-11 Thread jyr
On Jul 11, 6:53 pm, William Stein wrote: > > There have been at least 1-2 recent threads on sage-devel (or > support?) including a complete script posted by somebody about > building multiple packages in parallel. You should search the > archives (I don't have time now). I think William means

[sage-devel] Re: sage-4.1

2009-07-11 Thread Kevin Horton
On Jul 11, 1:28 am, Minh Nguyen wrote: > Hi folks, > > On Fri, Jul 10, 2009 at 10:30 AM, William Stein wrote: > > > Hi Sage-Release and Sage-Combinat-Devel, > > > We're basically 100% done with sage-4.1, and Robert Miller will > > officially make the sage-4.1.tar tarball available. sage-4.1 buil

[sage-devel] Re: Can one speed up ATLAS build time?

2009-07-11 Thread William Stein
On Sat, Jul 11, 2009 at 9:37 AM, Dr. David Kirkby wrote: > > It's taken more than 12 hours to build ATLAS on t2, and it is still > going. William said it takes a lot less if some tuning parameters are > known for the machine, so it does not have to go through that again. I > asked on the ATLAS hel

[sage-devel] syntax error in local/bin/sage-apply-ticket

2009-07-11 Thread Kevin Horton
I tried using "sage -merge " to apply a patch from Trac, but it failed with: % sage -merge 5081 File "/opt/sage-4.1/local/bin/sage-apply-ticket", line 464 os.chdir(SAGE_ROOT+'/tmp) ^ SyntaxError: EOL while scanning string literal ==

[sage-devel] Re: Can one speed up ATLAS build time?

2009-07-11 Thread William Stein
On Sat, Jul 11, 2009 at 9:37 AM, Dr. David Kirkby wrote: > > It's taken more than 12 hours to build ATLAS on t2, and it is still > going. William said it takes a lot less if some tuning parameters are > known for the machine, so it does not have to go through that again. I > asked on the ATLAS hel

[sage-devel] Re: ReST in Sage 4.1: using .. MATH:: doesn't render LaTeX in HTML

2009-07-11 Thread Jason Grout
Minh Nguyen wrote: > On Sun, Jul 12, 2009 at 2:37 AM, Pat LeSmithe wrote: > > > >> Apparently, the jsMath library hides all display equations, even if they >> are images. > > I find this funny: I can view the rendered equations. It's just that I > have to refresh my browser every second. Even

[sage-devel] Re: Can one speed up ATLAS build time?

2009-07-11 Thread John Cremona
Here's what I did when Atlas failed to recognise my machine: 1. Copy the SAGE_ROOT/local directory to (e.g.) /home/john/sagelocal . 2. Add export SAGE_ATLAS_LIB="/home/john/sagelocal" to my startup file .bashrc. Then in all subsequent builds it finds the existing Atlas and does not build a new

[sage-devel] Re: implement knapsack problems solvers in Cython or Python?

2009-07-11 Thread Minh Nguyen
On Mon, Jul 6, 2009 at 6:57 PM, Minh Nguyen wrote: > So my question is: Do folks agree or disagree with me Cythonizing > > sage/numerical/knapsack.py > > and implement further algorithms in Cython? Cythonizing the module sage/numerical/knapsack.py is now ticket #6513: http://trac.sagemath.o

[sage-devel] Re: ReST in Sage 4.1: using .. MATH:: doesn't render LaTeX in HTML

2009-07-11 Thread Minh Nguyen
On Sun, Jul 12, 2009 at 2:37 AM, Pat LeSmithe wrote: > Apparently, the jsMath library hides all display equations, even if they > are images. I find this funny: I can view the rendered equations. It's just that I have to refresh my browser every second. Even at that rate, the equation would on

[sage-devel] Re: ReST in Sage 4.1: using .. MATH:: doesn't render LaTeX in HTML

2009-07-11 Thread Pat LeSmithe
Minh Nguyen wrote: > as LaTeX. That's OK, I can see that the LaTeX is rendered and shows up > in the PDF version of the standard documentation (reference manual, > tutorial, etc.). The problem is that in Sage 4.1, that tag doesn't > render properly, if at all, in the HTML version of the documentat

[sage-devel] Can one speed up ATLAS build time?

2009-07-11 Thread Dr. David Kirkby
It's taken more than 12 hours to build ATLAS on t2, and it is still going. William said it takes a lot less if some tuning parameters are known for the machine, so it does not have to go through that again. I asked on the ATLAS help forum, but so far no reply for how to save these parameters.

[sage-devel] OS X application bundle

2009-07-11 Thread Maximilian Nickel
Hi, i've just created a simple script that creates an OS X application bundle for Sage. The usage is pretty simple, just copy the sage directory from the .dmg into the directory of the script and run 'make release'. I thought it might be usefull for people running on OS X, so i'm sharing it with t

[sage-devel] Re: merge script: SyntaxError: EOL while scanning string literal

2009-07-11 Thread John Cremona
2009/7/11 Minh Nguyen : > > Hi John, > > On Sat, Jul 11, 2009 at 7:29 PM, John Cremona wrote: >> >> There's a typo in the script file (a missing quote, as you can see). >> I had that, and thought it had been fixed.  You can edit that line >> yourself and try again -- but of course someone should p

[sage-devel] ReST in Sage 4.1: using .. MATH:: doesn't render LaTeX in HTML

2009-07-11 Thread Minh Nguyen
Hi folks, When ReSTifying the documentation, my understanding is that the tag .. MATH:: would render whatever is in as LaTeX. That's OK, I can see that the LaTeX is rendered and shows up in the PDF version of the standard documentation (reference manual, tutorial, etc.). The problem is

[sage-devel] Re: sage-4.1

2009-07-11 Thread Marshall Hampton
I do get one test failure still, from a deprecation warning about using popen2 instead of the subprocess module: sage -t "devel/sage/sage/parallel/decorate.py" /Volumes/E/sage-4.1/local/lib/python2.6/os.py:669: DeprecationWarning: functions overriding warnings.showwarning() must support the 'lin

[sage-devel] Re: sage installation

2009-07-11 Thread gsw
On 11 Jul., 11:53, Ralf Hemmecke wrote: > > from the tone of your message, it seems to me, that I somehow must > > have "stepped onto your toes" --- sorry, that was not at all my > > intention! And I couldn't imagine that someone would be offended by me > > signing my messages with my nickname

[sage-devel] Re: sage installation

2009-07-11 Thread Minh Nguyen
Hi Ralf, On Sat, Jul 11, 2009 at 7:53 PM, Ralf Hemmecke wrote: > Anyway, it takes a lot more to offend me. Not writing out your name is > not something I really care about. I just didn't know what I should > write in the "Hallo ...". And I think it makes a better community if > people know eac

[sage-devel] Re: sage installation

2009-07-11 Thread Ralf Hemmecke
> from the tone of your message, it seems to me, that I somehow must > have "stepped onto your toes" --- sorry, that was not at all my > intention! And I couldn't imagine that someone would be offended by me > signing my messages with my nickname --- sorry again. I'll use my real > name from now o

[sage-devel] Re: merge script: SyntaxError: EOL while scanning string literal

2009-07-11 Thread Minh Nguyen
Hi John, On Sat, Jul 11, 2009 at 7:29 PM, John Cremona wrote: > > There's a typo in the script file (a missing quote, as you can see). > I had that, and thought it had been fixed.  You can edit that line > yourself and try again -- but of course someone should patch the > master copy. Thank you

[sage-devel] Re: merge script: SyntaxError: EOL while scanning string literal

2009-07-11 Thread John Cremona
There's a typo in the script file (a missing quote, as you can see). I had that, and thought it had been fixed. You can edit that line yourself and try again -- but of course someone should patch the master copy. John 2009/7/11 Minh Nguyen : > > Hi folks, > > I'm starting to learn how to use th

[sage-devel] merge script: SyntaxError: EOL while scanning string literal

2009-07-11 Thread Minh Nguyen
Hi folks, I'm starting to learn how to use the merge script in Sage 4.1, but encountered some syntax error. Here's a transcript of my session: [mv...@sage sage-4.1]$ pwd /scratch/mvngu/sage-4.1 [mv...@sage sage-4.1]$ ./sage -merge 5996 File "/scratch/mvngu/sage-4.1/local/bin/sage-apply-ticket"

[sage-devel] Re: [sage-release] sage-4.1

2009-07-11 Thread Minh Nguyen
Hi folks, On Fri, Jul 10, 2009 at 10:30 AM, William Stein wrote: > > Hi Sage-Release and Sage-Combinat-Devel, > > We're basically 100% done with sage-4.1, and Robert Miller will > officially make the sage-4.1.tar tarball available.  I've also built > it on a lot of machines.  However, I'm going t

[sage-devel] Re: a Sage download guide

2009-07-11 Thread Minh Nguyen
Hi folks, On Fri, Jul 10, 2009 at 7:55 PM, Minh Nguyen wrote: > Hi folks, > > Recently, some people have reported that the download pages for Sage > is confusing and has little information on how to select the > appropriate distribution to download. See for example this thread in > sage-devel: >

Re: [sage-combinat-devel] Re: Fwd: [sage-devel] Re: Categories restart

2009-07-11 Thread David Roe
Yep. I don't have time tomorrow, but I can be on IRC Sunday afternoon. David On Fri, Jul 10, 2009 at 4:34 PM, Nicolas M. Thiery wrote: > > > >and source introspection for dynamic classes. Someone should > > >review these (along with the rest of my changes) > > > > I will make this into