Re: [cython-users] Re: [sage-devel] Cython cpu time

2010-07-14 Thread Ondrej Certik
On Wed, Jul 14, 2010 at 10:46 PM, Fernando Perez wrote: > On Wed, Jul 14, 2010 at 10:02 PM, Ondrej Certik wrote: > >> Thanks for this. Btw, I just revived this cython based line profiler: >> >> http://github.com/certik/line_profiler >> > > Is Robert K not maintaining the original anymore? I hope

Re: [sage-devel] Is symbolic ring a field?

2010-07-14 Thread Mike Hansen
Hello, On Wed, Jul 14, 2010 at 11:10 PM, Andrey Novoseltsev wrote: > sage: isinstance(SR, > sage.rings.principal_ideal_domain.PrincipalIdealDomain) > False sage: SR.is_field() True > and this creates problems in FreeModule_generic_pid constructor. I am > working on #9502 and when I tried to swi

[sage-devel] Is symbolic ring a field?

2010-07-14 Thread Andrey Novoseltsev
I guess so: sage: type(SR^3) However sage: isinstance(SR, sage.rings.principal_ideal_domain.PrincipalIdealDomain) False and this creates problems in FreeModule_generic_pid constructor. I am working on #9502 and when I tried to switch base call constructor in FreeModule_submodule_with_basis_pid

Re: [cython-users] Re: [sage-devel] Cython cpu time

2010-07-14 Thread Fernando Perez
On Wed, Jul 14, 2010 at 10:02 PM, Ondrej Certik wrote: > Thanks for this. Btw, I just revived this cython based line profiler: > > http://github.com/certik/line_profiler > Is Robert K not maintaining the original anymore? Cheers, f -- To post to this group, send an email to sage-devel@google

Re: [sage-devel] Re: sage-5.0

2010-07-14 Thread Robert Bradshaw
On Wed, Jul 14, 2010 at 9:06 PM, Jonathan wrote: > Since all the changes are basically user interface changes, I think it > mostly needs interactive testing.  I also think that the major issues > are design, not whether it does what was intended (I fear my > intentions may be misinterpretations of

Re: [sage-devel] Cython cpu time

2010-07-14 Thread Ondrej Certik
On Wed, Jul 14, 2010 at 1:21 PM, Robert Miller wrote: > Hello all, > > I just solved a relatively easy riddle, and I thought I'd share the results: > > # Cython version of cputime(): > cdef extern from "time.h": >    ctypedef unsigned long clock_t >    cdef clock_t clock() >    cdef enum: >      

[sage-devel] Re: sage-5.0

2010-07-14 Thread Jonathan
Since all the changes are basically user interface changes, I think it mostly needs interactive testing. I also think that the major issues are design, not whether it does what was intended (I fear my intentions may be misinterpretations of what people wanted). I'm not sure what you mean by regr

Re: [sage-devel] cephes is seriously broken

2010-07-14 Thread Robert Bradshaw
On Wed, Jul 14, 2010 at 1:21 PM, Dr. David Kirkby wrote: > Peter Jeremy asked me if I'd look at the cephes package, as he was having > trouble with it. It's only installed on CYGWIN, so 99% of people are not > going to see that cephes is broken. > > I hacked the package so that it would try to bui

Re: [sage-devel] Re: sage-5.0

2010-07-14 Thread Robert Bradshaw
On Wed, Jul 14, 2010 at 6:41 AM, Jonathan wrote: > I'd like to get wider distribution of the new interface for Jmol.  I'm > sure it is not perfect, but I'm getting no feedback with it as an > optional .spkg.  I'm pretty sure it works as well as what is in Sage > now, so although it needs input and

Re: [sage-devel] Re: Vote on making GNU patch a standard package

2010-07-14 Thread Robert Bradshaw
On Wed, Jul 14, 2010 at 6:01 PM, Carl Witty wrote: > On Sat, Jul 3, 2010 at 6:27 AM, Volker Braun wrote: >> I would propose a mercurial patch queue in the spgk root directory. >> Then sage -pkg simply checks that either all patches in the queue are >> applied or that there exists an old-style /pa

Re: [sage-devel] Re: permission to relicense wigner.py

2010-07-14 Thread Ondrej Certik
Hi Jens, Minh and Alex, thanks a lot for the permission! ONdrej On Wed, Jul 14, 2010 at 4:04 PM, Jens Rasch wrote: > Hi Ondrej, > > that's fine. > > regards > > Jens > > On 14 July 2010 05:32, Ondrej Certik wrote: >> >> Hi, >> >> about a year ago I got a permission from Jens (CCed) who wrote t

Re: [sage-devel] Re: Vote on making GNU patch a standard package

2010-07-14 Thread Carl Witty
On Sat, Jul 3, 2010 at 6:27 AM, Volker Braun wrote: > I would propose a mercurial patch queue in the spgk root directory. > Then sage -pkg simply checks that either all patches in the queue are > applied or that there exists an old-style /patches directory and no > queue. Since we all seem to lik

[sage-devel] Re: permission to relicense wigner.py

2010-07-14 Thread Jens Rasch
Hi Ondrej, that's fine. regards Jens On 14 July 2010 05:32, Ondrej Certik wrote: > Hi, > > about a year ago I got a permission from Jens (CCed) who wrote the file: > > http://hg.sagemath.org/sage-main/file/tip/sage/functions/wigner.py > > to use his (original) code in SymPy and license it as

Re: [sage-devel] global options for python

2010-07-14 Thread Johannes
I just had a first look and the most warnings (on startup) arise for the __cmp__ method, wich seems to be removed in python 3.x greatz Johannes Am 15.07.2010 00:06, schrieb Johannes: > many thanks guys, i'll test it soon and give some feedback about the > results. > > greatz Johannes > Am 14.07

Re: [sage-devel] Re: R + GLPK

2010-07-14 Thread Dr. David Kirkby
On 07/14/10 10:58 PM, Nathan Dunfield wrote: On a similar note cvxopt can make use of glpk as well. Yes, it can --- I was just using this yesterday. The trick is that you have to tell cvxopt that glpk is available when it is compiled/installed. Now that glpk is standard, the install script f

[sage-devel] Re: R + GLPK

2010-07-14 Thread Nathann Cohen
> Has this > already been done, or should I file a patch for this? If you would be so kind... I saw no mention of it until I read your message :-) 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+unsubsc

[sage-devel] Re: sage-5.0

2010-07-14 Thread Jonathan
Does it work if you install the new version of Jmol? See trac # 9238 (http://trac.sagemath.org/sage_trac/ticket/9238). I think this broke when the notebook was put inside an egg. I took that into account with the new version of Jmol On Jul 14, 1:15 pm, Volker Braun wrote: > For the record, Jmo

Re: [sage-devel] global options for python

2010-07-14 Thread Johannes
many thanks guys, i'll test it soon and give some feedback about the results. greatz Johannes Am 14.07.2010 23:55, schrieb Carl Witty: > On Wed, Jul 14, 2010 at 2:43 PM, Mike Hansen wrote: > >> On Wed, Jul 14, 2010 at 2:31 PM, Johannes wrote: >> >>> i want to check which part of the sag

[sage-devel] Re: R + GLPK

2010-07-14 Thread Nathan Dunfield
> On a similar note cvxopt can make use of glpk as well. Yes, it can --- I was just using this yesterday. The trick is that you have to tell cvxopt that glpk is available when it is compiled/installed. Now that glpk is standard, the install script for cvxopt should be told to make use of it.

Re: [sage-devel] global options for python

2010-07-14 Thread Carl Witty
On Wed, Jul 14, 2010 at 2:43 PM, Mike Hansen wrote: > On Wed, Jul 14, 2010 at 2:31 PM, Johannes wrote: >> i want to check which part of the sagecode makes problems when trying to >> port it to python 3.x. For that, I want want to build it with the '-3' >> option, but i dont want to edit every sin

Re: [sage-devel] global options for python

2010-07-14 Thread Mike Hansen
On Wed, Jul 14, 2010 at 2:31 PM, Johannes wrote: > i want to check which part of the sagecode makes problems when trying to > port it to python 3.x. For that, I want want to build it with the '-3' > option, but i dont want to edit every single makefile. is the a special > place to put something li

[sage-devel] global options for python

2010-07-14 Thread Johannes
Hi list, i want to check which part of the sagecode makes problems when trying to port it to python 3.x. For that, I want want to build it with the '-3' option, but i dont want to edit every single makefile. is the a special place to put something like a global python build parameter? greatz Johan

[sage-devel] cephes is seriously broken

2010-07-14 Thread Dr. David Kirkby
Peter Jeremy asked me if I'd look at the cephes package, as he was having trouble with it. It's only installed on CYGWIN, so 99% of people are not going to see that cephes is broken. I hacked the package so that it would try to build on any operating system - not just Cygwin. Anyway, it has

[sage-devel] Cython cpu time

2010-07-14 Thread Robert Miller
Hello all, I just solved a relatively easy riddle, and I thought I'd share the results: # Cython version of cputime(): cdef extern from "time.h": ctypedef unsigned long clock_t cdef clock_t clock() cdef enum: CLOCKS_PER_SEC # To use: # # #cdef clock_t start, end #

[sage-devel] Re: Do not remove output of interact if auto_update=False

2010-07-14 Thread ma...@mendelu.cz
Thnank you very much. I have looked at this and unfortunatelly, it exceeds my knowledges and skills. It would be great if you could implment this feature. Many many thanks. Robert On 13 čnc, 14:57, pang wrote: > I'd say that's in the sagenb package. > > You can use the instructions at: > > http:

Re: [sage-devel] R + GLPK

2010-07-14 Thread François Bissey
> I know GPLK was added to Sage recently, and also that R is in Sage. I don't > know if there is any advantage, but there is a GLPK package for R. > > http://cran.r-project.org/web/packages/glpk/vignettes/glpk-intro.pdf > > I don't know if there is any advantage in making that. > > I assume it w

[sage-devel] Re: sage-5.0

2010-07-14 Thread Volker Braun
For the record, Jmol is also not working from the sage command line (Fedora 13 x86_64): http://trac.sagemath.org/sage_trac/ticket/9232 Volker -- 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...@googlegro

[sage-devel] Re: sage-5.0

2010-07-14 Thread Jonathan
I'm not aware of any "bugs", but as it has not been tested by many people other than myself, I'm sure it still needs work. I'm sure it could be prettier. The issue is that I can't think of a way to test it other than have people try it. The only problem I am aware of is the issue I reported with

[sage-devel] R + GLPK

2010-07-14 Thread Dr. David Kirkby
I know GPLK was added to Sage recently, and also that R is in Sage. I don't know if there is any advantage, but there is a GLPK package for R. http://cran.r-project.org/web/packages/glpk/vignettes/glpk-intro.pdf I don't know if there is any advantage in making that. I assume it would be fairly

Re: [sage-devel] Re: IDE's; science/engineering

2010-07-14 Thread Dag Sverre Seljebotn
(old phone leads to top-post) re matplotlib/html5, is the speed affected by number of function sample points? That seems likely, and something PNGs would not be. So you might need to tune function sampling (or perhaps post-process and remove visually redundant points...). Of course, "adequate"

Re: [sage-devel] Re: Ubuntu 10.04, JMOL, Java

2010-07-14 Thread Jan Groenewald
Hi On Mon, Jul 12, 2010 at 10:12:15PM -0700, Rob Beezer wrote: > I finally got a chance to test this on a clean 64-bit Ubuntu 10.04 > (lucid) install. > > I began by apt-get'ing the icedtea6-plugin, which pulls in a lot of > other packages such as the OpenJDK version of Java. A simple 3d plot >

Re: [sage-devel] Re: sage-5.0

2010-07-14 Thread William Stein
On Wed, Jul 14, 2010 at 3:41 PM, Jonathan wrote: > I'd like to get wider distribution of the new interface for Jmol.  I'm > sure it is not perfect, but I'm getting no feedback with it as an > optional .spkg.  I'm pretty sure it works as well as what is in Sage > now, so although it needs input and

[sage-devel] Re: sage-5.0

2010-07-14 Thread Jonathan
I'd like to get wider distribution of the new interface for Jmol. I'm sure it is not perfect, but I'm getting no feedback with it as an optional .spkg. I'm pretty sure it works as well as what is in Sage now, so although it needs input and work, I would like to argue for including it, so that we

Re: [sage-devel] Two new (or relatively new) doctest failures on t2.math

2010-07-14 Thread Robert Miller
On Tue, Jul 13, 2010 at 8:19 PM, Dr. David Kirkby wrote: > On 07/13/10 03:51 PM, Robert Miller wrote: >> >> On Tue, Jul 13, 2010 at 4:45 PM, Dr. David Kirkby >>  wrote: >>> >>> 2) sage -t -long "devel/sage/sage/libs/galrep/wrapper.pyx" >>> >>> Andrew Sutherland's Probabilistic Image of Galois Alg

Re: [sage-devel] Re: IDE's; science/engineering

2010-07-14 Thread William Stein
On Wed, Jul 14, 2010 at 1:41 PM, Maurizio wrote: > how do you get the new canvas with matplotlib 1.0? I installed it > today, but from matplotlib.rcsetup.all_backends I don't get any item > which looks like html5 canvas http://trac.sagemath.org/sage_trac/ticket/9471 > > Maurizio > > On 14 Lug, 1

Re: [sage-devel] permission to relicense wigner.py

2010-07-14 Thread Minh Nguyen
Hi Ondrej, On Wed, Jul 14, 2010 at 2:32 PM, Ondrej Certik wrote: > So I wanted to ask, would it be ok with all of you involved that we > use it in sympy under the BSD license? (We'll leave there the header > saying who wrote this and that we took it from Sage.) Fine by me. The main author of fun

Re: [sage-devel] Two new (or relatively new) doctest failures on t2.math

2010-07-14 Thread Dr. David Kirkby
On 07/13/10 03:51 PM, Robert Miller wrote: On Tue, Jul 13, 2010 at 4:45 PM, Dr. David Kirkby wrote: 2) sage -t -long "devel/sage/sage/libs/galrep/wrapper.pyx" Andrew Sutherland's Probabilistic Image of Galois Algorithm AUTHOR: - William Stein, 2010-03 -- wrote the Cython wrapper - Sut

[sage-devel] Re: IDE's; science/engineering

2010-07-14 Thread Maurizio
how do you get the new canvas with matplotlib 1.0? I installed it today, but from matplotlib.rcsetup.all_backends I don't get any item which looks like html5 canvas Maurizio On 14 Lug, 10:03, William Stein wrote: > On Wed, Jul 14, 2010 at 9:42 AM, Maurizio wrote: > > Hi > > >> Very interesting.

Re: [sage-devel] Two new (or relatively new) doctest failures on t2.math

2010-07-14 Thread Dr. David Kirkby
On 07/13/10 03:51 PM, Robert Miller wrote: On Tue, Jul 13, 2010 at 4:45 PM, Dr. David Kirkby wrote: 2) sage -t -long "devel/sage/sage/libs/galrep/wrapper.pyx" Andrew Sutherland's Probabilistic Image of Galois Algorithm AUTHOR: - William Stein, 2010-03 -- wrote the Cython wrapper - Sut

Re: [sage-devel] non-QQ base rings in modular symbols

2010-07-14 Thread John Cremona
I will look at it. John On 14 July 2010 11:41, Robert Miller wrote: > Ping! > > Would someone familiar with modular symbols care to review this > ticket? It should be pretty easy... > > http://trac.sagemath.org/sage_trac/ticket/9376 > > -- > Robert L. Miller > http://www.rlmiller.org/ > > -- > T

Re: [sage-devel] non-QQ base rings in modular symbols

2010-07-14 Thread Robert Miller
Ping! Would someone familiar with modular symbols care to review this ticket? It should be pretty easy... http://trac.sagemath.org/sage_trac/ticket/9376 -- Robert L. Miller http://www.rlmiller.org/ -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this

Re: [sage-devel] Re: IDE's; science/engineering

2010-07-14 Thread William Stein
On Wed, Jul 14, 2010 at 9:42 AM, Maurizio wrote: > Hi > >> >> Very interesting. >> >> 1. How does the speed of the Sage notebook running locally on your >> computer compare to Spyder locally on your computer? >> > > I don't think they can be comparable, doing so different functions... > Anyway I a

[sage-devel] Re: IDE's; science/engineering

2010-07-14 Thread Maurizio
Hi > > Very interesting. > > 1. How does the speed of the Sage notebook running locally on your > computer compare to Spyder locally on your computer? > I don't think they can be comparable, doing so different functions... Anyway I always use notebook from a server in the local network (which is

Re: [sage-devel] permission to relicense wigner.py

2010-07-14 Thread Alex Ghitza
Hi Ondrej, On Tue, 13 Jul 2010 21:32:32 -0700, Ondrej Certik wrote: > So I wanted to ask, would it be ok with all of you involved that we > use it in sympy under the BSD license? (We'll leave there the header > saying who wrote this and that we took it from Sage.) I agree with the proposal. B