[sage-devel] trac server won't accept patches

2009-06-28 Thread Dan Drake
I mentioned this on IRC, but in case no one sees: the trac server won't let me upload a patch. It complains: Trac detected an internal error: OSError: [Errno 24] Too many open files: '/home/sage/wiki/trac/sage_trac/attachments/ticket/6429/trac_6429_line_numbers.patch' Posting comments and so

[sage-devel] Computational pipelines for python

2009-06-28 Thread Tim Lahey
I ran across this package, http://code.google.com/p/ruffus/ That provides for support for computational pipelines in Python. It has some nice features for support of a task pipeline and visualization of the pipeline using Graphviz. Cheers, Tim. --- Tim Lahey PhD Candidate, Systems Design Engi

[sage-devel] Re: I need a bit of python help

2009-06-28 Thread Tim Lahey
On Jun 28, 2009, at 6:54 PM, Dr. David Kirkby wrote: > > Thank you. A couple of hours ago I ordered 'Core PYTHON Programming' > by > Wesley Chun > > http://www.amazon.co.uk/exec/obidos/ASIN/0132269937/ref=ox_ya_os_product > > which appeared to get very good reviews, but is a few years old. > >

[sage-devel] Re: I need a bit of python help

2009-06-28 Thread William Stein
On Mon, Jun 29, 2009 at 12:54 AM, Dr. David Kirkby wrote: > > William Stein wrote: >> 2009/6/28 Dr. David Kirkby : >>> Arnaud Bergeron wrote: >>> Then change the function to this: def sonameprefix(env):      if env['PLATFORM']=="darwin":          return "-Wl,-dylib_install

[sage-devel] Re: I need a bit of python help

2009-06-28 Thread Dr. David Kirkby
William Stein wrote: > 2009/6/28 Dr. David Kirkby : >> Arnaud Bergeron wrote: >> >>> Then change the function to this: >>> >>> def sonameprefix(env): >>> if env['PLATFORM']=="darwin": >>> return "-Wl,-dylib_install_name -Wl," >>> elif env['PLATFORM']==: >>> if 'GNU' in

[sage-devel] Expression evaluation in new Symbolics

2009-06-28 Thread Golam Mortuza Hossain
Hi, Are the following evaluations in new symbolics expected by design (or a bug)? Case A: --- sage: sin(1.57); f = sin; f(1.57) 0:99682931835 0:99682931835 --- Case B: --- sin(1.57); f(x) = sin(x); f(1.57) 0.99682931835 sin(1.57) - For

[sage-devel] Re: I need a bit of python help

2009-06-28 Thread William Stein
2009/6/28 Dr. David Kirkby : > > Arnaud Bergeron wrote: > >> Then change the function to this: >> >> def sonameprefix(env): >>      if env['PLATFORM']=="darwin": >>          return "-Wl,-dylib_install_name -Wl," >>      elif env['PLATFORM']==: >>          if 'GNU' in os.system('ld --version'): >>

[sage-devel] Re: I need a bit of python help

2009-06-28 Thread Dr. David Kirkby
Arnaud Bergeron wrote: > Then change the function to this: > > def sonameprefix(env): > if env['PLATFORM']=="darwin": > return "-Wl,-dylib_install_name -Wl," > elif env['PLATFORM']==: > if 'GNU' in os.system('ld --version'): > return > else: >

[sage-devel] Re: Cython code and doctests

2009-06-28 Thread Simon King
Hi! On 28 Jun., 17:15, Dag Sverre Seljebotn wrote: > I'm not sure what you refer to in the latter paragraph (perhaps it's > something Sage-specific thing I don't know much about)... I meant the following: Assume you have files foo.pyx or bar.py that provide modules for Sage. In particular, the

[sage-devel] Re: hg_sage.serve() is broken in 4.1.alpha1

2009-06-28 Thread Rob Beezer
John, hg_sage.serve() invoked in a cell of a new notebook seems to work just fine for me. 4.1.alpha2 on Firefox 3.0.11 on Kubuntu 9.04 on 64-bit Intel. Rob On Jun 28, 8:29 am, John H Palmieri wrote: > On Jun 28, 12:44 am, William Stein wrote: > > > > > On Sat, Jun 27, 2009 at 7:38 PM, John H

[sage-devel] Re: 4.1.alpha2 released

2009-06-28 Thread Tom Boothby
>> #4712: John Palmieri: Make the doctest timeouts in Sage easily >> adjustable [Reviewed by Nick Alexander] >> #5350: Burcin Erocal: sage-clone should use hard links for the build >> directory [Reviewed by Robert Miller] >> #5481: John Palmieri: devel/doc/output/* should be filtered from the >> l

[sage-devel] cloning issues

2009-06-28 Thread John H Palmieri
At the moment, we have two tickets for changing the cloning process: #5350: sage-clone should use hard links for the build directory #6187: After making a clone, the reference manual (and other docs) should not have to be completely rebuilt. Both have positive reviews, in fact the first was supp

[sage-devel] Re: 4.1.alpha2 released

2009-06-28 Thread John H Palmieri
On Jun 27, 11:43 am, Minh Nguyen wrote: > Hi folks, > > On Sat, Jun 27, 2009 at 3:44 PM, Tom Boothby wrote: > > > Sage 4.1.alpha2 has been released, find it at > > >http://sage.math.washington.edu/home/boothby/releases > > > > The following tickets were merged in Sage 4.1.alpha2: > > #4712: Jo

[sage-devel] Re: 4.1.alpha2 released

2009-06-28 Thread Nicolas M. Thiery
On Sun, Jun 28, 2009 at 04:39:42PM +0100, John Cremona wrote: > > 2009/6/28 William Stein : > > > > 2009/6/28 John Cremona : > >> > >> Interesting.  My guess is that withe the new automated merging system, > >> it becomes easier to merge the wrong patches form a ticket by mistake. > >>  We need a

[sage-devel] Re: 4.1.alpha2 released

2009-06-28 Thread John Cremona
2009/6/28 William Stein : > > 2009/6/28 John Cremona : >> >> Interesting.  My guess is that withe the new automated merging system, >> it becomes easier to merge the wrong patches form a ticket by mistake. >>  We need a more failsafe system (e.g. the ability of people who have >> uploaded patches

[sage-devel] Re: hg_sage.serve() is broken in 4.1.alpha1

2009-06-28 Thread John H Palmieri
On Jun 28, 12:44 am, William Stein wrote: > On Sat, Jun 27, 2009 at 7:38 PM, John H Palmieri > wrote: > > > In the notebook, if I use hg_sage.serve(), I see this: > > > ** > > *                                                * > > * Open your web

[sage-devel] Re: Cython code and doctests

2009-06-28 Thread Dag Sverre Seljebotn
Simon King wrote: > Hi Bjarke! > > On 28 Jun., 00:17, Bjarke Hammersholt Roune > wrote: >> How do I doctest Cython functions taking C data structures? I don't >> seem to be able to construct Cython data in the doctest. > > Once, someone gave me the hint to create a function that takes usual > P

[sage-devel] Re: 4.1.alpha2 released

2009-06-28 Thread William Stein
2009/6/28 John Cremona : > > Interesting.  My guess is that withe the new automated merging system, > it becomes easier to merge the wrong patches form a ticket by mistake. >  We need a more failsafe system (e.g. the ability of people who have > uploaded patches to delete them -- can we do that?),

[sage-devel] Re: 4.1.alpha2 released

2009-06-28 Thread John Cremona
Interesting. My guess is that withe the new automated merging system, it becomes easier to merge the wrong patches form a ticket by mistake. We need a more failsafe system (e.g. the ability of people who have uploaded patches to delete them -- can we do that?), and also it would be preferable if

[sage-devel] Re: 4.1.alpha2 released

2009-06-28 Thread davidloeffler
On Jun 27, 11:54 pm, davidloeffler wrote: > On SuSE, 32-bit, sage -testall -long passes except for errors in the > same three files Jaap reported above (and a harmless timeout in > elliptic curves). I spoke too soon. Something rather harmful has in fact happened: the wrong patches have been merg

[sage-devel] Re: REALLY ODD twisted error on Solaris with sage-4.1.alpha2

2009-06-28 Thread Dr. David Kirkby
William Stein wrote: > On Sun, Jun 28, 2009 at 5:37 AM, Dr. David > Kirkby wrote: >> twisted-8.2.0 is messing up on my Solaris box, but it looks odd. The >> error message is saying there's no spkg-install script,setup.py or >> configure script. But there is. >> >> drkir...@kestrel:[~/sage/sage-4.1

[sage-devel] Re: REALLY ODD twisted error on Solaris with sage-4.1.alpha2

2009-06-28 Thread Dr. David Kirkby
William Stein wrote: > On Sun, Jun 28, 2009 at 5:37 AM, Dr. David > Kirkby wrote: >> twisted-8.2.0 is messing up on my Solaris box, but it looks odd. The >> error message is saying there's no spkg-install script,setup.py or >> configure script. But there is. >> >> drkir...@kestrel:[~/sage/sage-4.1

[sage-devel] Re: Naming Conventions for Dirac Delta, Heaviside Theta and Unit Step

2009-06-28 Thread David Joyner
On Sun, Jun 28, 2009 at 7:41 AM, Golam Mortuza Hossain wrote: > > Hi > ... > > A patch is posted as a part of an old ticket > > http://trac.sagemath.org/sage_trac/ticket/2452 > > Reviews are welcome. Thanks, I'll look at it. I just posted a comment there. > > Cheers, > Golam > > > > --~--~-

[sage-devel] Re: Naming Conventions for Dirac Delta, Heaviside Theta and Unit Step

2009-06-28 Thread Golam Mortuza Hossain
Hi On Thu, Jun 25, 2009 at 10:27 PM, David Joyner wrote: >> If I gather properly, we are having two different step functions >> (at least for now) as >> >> (2) Heaviside: >>  (a) represented as:   "heaviside" >>  (b) latex name     :    "H" >>  (c) heaviside(0):       "heaviside(0)" >> >> (3) Uni

[sage-devel] Re: Cc'ing people in trac tickets

2009-06-28 Thread Minh Nguyen
Hi Peter, On Sun, Jun 28, 2009 at 6:00 PM, Peter Jeremy wrote: > What is the policy regarding Cc'ing "SPKG Maintainers" and/or "Upstream > Contacts" in trac tickets?  There's nothing in TracGuidelines about it > but I've had a Maintainer get upset that he wasn't Cc'd on a ticket. I don't think t

[sage-devel] Re: URGENT: Help needed: Error in installing the package mesa-7.2

2009-06-28 Thread Prabhu Ramachandran
On 06/19/09 01:43, Nicole Jinn wrote: > To whom it may concern, > > I was trying to install the package "mesa-7.2.spkg" and the following > errors came up: > > GLwDrawA.c:48:28: error: X11/IntrinsicP.h: No such file or directory > GLwDrawA.c:49:28: error: X11/StringDefs.h: No such file or direct

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-28 Thread Robert Bradshaw
The tickets: http://trac.sagemath.org/sage_trac/ticket/4571 and http://trac.cython.org/cython_trac/ticket/339 . Also, http:// trac.sagemath.org/sage_trac/ticket/6438 to support complex numbers in Sage. - Robert On Jun 7, 2009, at 7:34 AM, Glenn Tarbox, PhD wrote: > This has become a two p

[sage-devel] Cc'ing people in trac tickets

2009-06-28 Thread Peter Jeremy
What is the policy regarding Cc'ing "SPKG Maintainers" and/or "Upstream Contacts" in trac tickets? There's nothing in TracGuidelines about it but I've had a Maintainer get upset that he wasn't Cc'd on a ticket. (And, in relation to recent, popular thread, there's also nothing about how trac attac

[sage-devel] Re: hg_sage.serve() is broken in 4.1.alpha1

2009-06-28 Thread William Stein
On Sat, Jun 27, 2009 at 7:38 PM, John H Palmieri wrote: > > In the notebook, if I use hg_sage.serve(), I see this: > > ** > *                                                * > * Open your web browser to http://localhost:8200 * > *                  

[sage-devel] Re: REALLY ODD twisted error on Solaris with sage-4.1.alpha2

2009-06-28 Thread William Stein
On Sun, Jun 28, 2009 at 5:37 AM, Dr. David Kirkby wrote: > > twisted-8.2.0 is messing up on my Solaris box, but it looks odd. The > error message is saying there's no spkg-install script,setup.py or > configure script. But there is. > > drkir...@kestrel:[~/sage/sage-4.1.alpha2/spkg/build/twisted-8