[sage-devel] Re: function name as string

2010-02-21 Thread bsdz
On Feb 21, 8:06 pm, Mike Hansen wrote: > Hello, > > On Sun, Feb 21, 2010 at 12:03 PM, bsdz wrote: > > I used to be able to obtain a function name in Sage 3+ using something > > like the following: - > > > fu = function('fu', x) > > print fu._f._n

[sage-devel] function name as string

2010-02-21 Thread bsdz
Hi I used to be able to obtain a function name in Sage 3+ using something like the following: - fu = function('fu', x) print fu._f._name # would print "fu" I notice that this does not work in Sage 4 and "fu" is no longer a SymbolicFunctionEvaluation but an Expression. Is there a way to obtain t

[sage-devel] Re: Using --enable-framework on Mac OS X?

2009-08-03 Thread bsdz
On 3 Aug, 20:07, William Stein wrote: > On Mon, Aug 3, 2009 at 12:02 PM, Ondrej Certik wrote: > > > On Wed, May 13, 2009 at 10:46 AM, Brian Granger > > wrote: > > >> I just pinged the pythonmac-sig group about why and when a framework > >> build is actually needed.  A while back I created an spk

[sage-devel] Re: Using --enable-framework on Mac OS X?

2009-08-03 Thread bsdz
On 3 Aug, 20:17, Ondrej Certik wrote: > On Mon, Aug 3, 2009 at 1:07 PM, William Stein wrote: > >> Also, what is the state of the windows port of Sage --- will it be > >> possible to just maintain one spkg and it would build on windows, or > >> will it be necessary to maintain one spkg for linux/m

[sage-devel] Re: Google wants to make Python 5x faster

2009-06-15 Thread bsdz
On 15 June, 17:48, javier wrote: > This looks like good news for sage: > > http://code.google.com/p/unladen-swallow/wiki/ProjectPlan The idea of rewriting of Python's VM to use LLVM is a similar goal to that of Parrot's VM (http://www.parrot.org/). What makes it more interesting is that they pla

[sage-devel] Re: Windows

2009-01-27 Thread bsdz
best forget it though. On 27 Jan, 07:58, William Stein wrote: > On Mon, Jan 26, 2009 at 3:09 PM, bsdz wrote: > > > I see what you mean by the download size. Perhaps another option might > > be to offer the source code as a separate download if any is included. > > Al

[sage-devel] Re: Bell Polynomials

2009-01-26 Thread bsdz
wrote: > Hi Blair, > > On Mon, Jan 26, 2009 at 3:36 PM, bsdz wrote: > > Is there any where this could be added to the main distribution? > > I made a few modifications to your routine to match some of the style > conventions used in Sage.  Also, instead of passing in the var

[sage-devel] Bell Polynomials

2009-01-26 Thread bsdz
Hi I have written a simple function that generates Bell Polynomials. It is documented and published at http://sagenb.org:8000/home/pub/182/ Is there any where this could be added to the main distribution? Cheers -- Blair --~--~-~--~~~---~--~~ To post to this gr

[sage-devel] Re: Windows

2009-01-26 Thread bsdz
e the VMware session, I admit that is a solution but probably quite tricky for an ordinary Windows user. I prefer to use WinSCP that gives the same look and feel as Explorer. -- Blair On Jan 26, 8:48 pm, William Stein wrote: > Hi, > > I just want to thank bsdz for responding, and emphas

[sage-devel] Re: Windows

2009-01-26 Thread bsdz
I feel one fairly big problem with the VMware installation is the sheer size of the binary to download. Other issues are performance; running a Sage server in a VMware session is noticeable slower than connecting to an on-line Linux version. Then there are some practical problems such as accessing

[sage-devel] Re: sage/sets/primes.py -- Petition to remove old code

2009-01-23 Thread bsdz
I use it! Actually in my first notebook. Please don't remove. On Jan 23, 1:43 pm, Robert Miller wrote: > Does anyone use this module anymore? It seems, well, a little silly... > > sage: P = Primes() > sage: P > Set of all prime numbers: 2, 3, 5, 7, ... > sage: 3 in P > True > sage: 4 in P > Fals

[sage-devel] Re: syntax highlighting in notebook textareas

2009-01-09 Thread bsdz
I admit it wouldn't be for everyone. Initially I tried loading it in using a GreaseMonkey script but discovered that was too late in the DOM tree. What would be nice is if one could add plug-ins. Perhaps they could be loaded using xml files much like Google allows. These initially could be to pers

[sage-devel] Re: syntax highlighting in notebook textareas

2009-01-08 Thread bsdz
t. Thanks for the update. On 8 Jan, 20:24, mabshoff wrote: > On Jan 6, 1:33 am, bsdz wrote: > > > Hi, > > Hi Blair, > > > I dabbled a little with the vmware version of Sage and was able to > > install EditArea, a javascript syntax highlighting library > >

[sage-devel] syntax highlighting in notebook textareas

2009-01-06 Thread bsdz
Hi, I dabbled a little with the vmware version of Sage and was able to install EditArea, a javascript syntax highlighting library (http:// www.cdolivet.net/index.php?page=editArea). It is quite useful when editing Python and can be turned on or off. It also allows callbacks so pressing the save b