[sage-devel] Re: mpmath and plot incompatibility

2011-03-01 Thread Jason Grout
On 3/1/11 1:37 PM, Fredrik Johansson wrote: On Tue, Mar 1, 2011 at 3:43 PM, Jason Grout wrote: On 3/1/11 3:58 AM, Fredrik Johansson wrote: On Tue, Mar 1, 2011 at 4:30 AM, Francois Bissey wrote: On Mon, 28 Feb 2011 at 01:26PM -0800, jtyard wrote: I'm running sage 4.6.1 and cannot use p

Re: [sage-devel] Re: mpmath and plot incompatibility

2011-03-01 Thread Fredrik Johansson
On Tue, Mar 1, 2011 at 3:43 PM, Jason Grout wrote: > On 3/1/11 3:58 AM, Fredrik Johansson wrote: >> >> On Tue, Mar 1, 2011 at 4:30 AM, Francois Bissey >>  wrote: On Mon, 28 Feb 2011 at 01:26PM -0800, jtyard wrote: > > I'm running sage 4.6.1 and cannot use plot after loading mpma

Re: [sage-devel] Re: profiling Sage startup

2011-03-01 Thread Robert Bradshaw
On Tue, Mar 1, 2011 at 10:07 AM, David Kirkby wrote: > On 1 March 2011 15:38, daly wrote: >> Sage could follow the same technique used by Gimp. >> Gimp loads a huge number of files at startup and can >> take over a minute to start on small systems. They >> have a startup splash screen that shows

[sage-devel] Re: profiling Sage startup

2011-03-01 Thread luisfe
On Mar 1, 10:13 am, Robert Bradshaw wrote: > On Tue, Mar 1, 2011 at 12:48 AM, Johan S. R. Nielsen > See lazy-import. Doing this for everything may incur significant > delays the first time a function is called (rather than before the > prompt) and there are issues with Sage being fragile about t

Re: [sage-devel] Re: profiling Sage startup

2011-03-01 Thread Robert Bradshaw
On Tue, Mar 1, 2011 at 4:56 AM, luisfe wrote: > On Mar 1, 1:32 pm, "Johan S. R. Nielsen" > wrote: >> On Mar 1, 10:13 am, Robert Bradshaw >> wrote: >> >> Nice! I weren't aware of this module. When you get a good idea, >> there's a good chance that someone else thought of it before ;-) I >> like t

Re: [sage-devel] Re: profiling Sage startup

2011-03-01 Thread Robert Bradshaw
On Tue, Mar 1, 2011 at 4:32 AM, Johan S. R. Nielsen wrote: > On Mar 1, 10:13 am, Robert Bradshaw > wrote: >> On Tue, Mar 1, 2011 at 12:48 AM, Johan S. R. Nielsen >> >> >> >> wrote: >> > On Feb 23, 11:03 pm, Jason Grout wrote: >> >> On 2/23/11 3:56 PM, Robert Bradshaw wrote: >> >> >> > On Wed, F

Re: [sage-devel] Re: profiling Sage startup

2011-03-01 Thread David Kirkby
On 1 March 2011 15:38, daly wrote: > Sage could follow the same technique used by Gimp. > Gimp loads a huge number of files at startup and can > take over a minute to start on small systems. They > have a startup splash screen that shows the files > which are being loaded. That way the user sees p

Re: [sage-devel] Re: profiling Sage startup

2011-03-01 Thread daly
Sage could follow the same technique used by Gimp. Gimp loads a huge number of files at startup and can take over a minute to start on small systems. They have a startup splash screen that shows the files which are being loaded. That way the user sees progress during startup. -- To post to this g

[sage-devel] Error installing mpir-1.2.2.p2 (building sage-4.6.1/sage-4.6.2) on (32bit) Core Duo MacBook running OS X 10.6

2011-03-01 Thread Jan Raasch
Hi there, so I'm running Mac OS X 10.6 (Snow Leopard) on a first generation MacBook (Yeah, the one with the old 32bit Intel Core Duo processor). Now obviously I cannot run the precompiled sage-4.6.1-OSX-64bit-10.6-i386-Darwin binary, which is why I chose to build sage from source. During the build

Re: [sage-devel] Re: Making Google Analytics Public

2011-03-01 Thread Timothy Clemans
I didn't mean to suggest changing systems. Both Analytics and Piwik are installed on my sites. Posting summaries would be nice. Would you be willing to give individual viewing access? http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55500 On Tue, Mar 1, 2011 at 4:34 AM, Harald S

[sage-devel] Re: profiling Sage startup

2011-03-01 Thread luisfe
On Mar 1, 3:43 pm, "Johan S. R. Nielsen" wrote: > On Mar 1, 1:56 pm, luisfe wrote: > > > > > > > No, the lazy_import object keeps wrapping the original object, but > > when accessing the lazy_import object it imports the real object in > > the namespace. So, if the lazy_import has not been refe

[sage-devel] Re: profiling Sage startup

2011-03-01 Thread Johan S. R. Nielsen
On Mar 1, 1:56 pm, luisfe wrote: > > Yes, it is not used much. Ideally, the way of improving sage > startuptime would be: > > 1.- On first execution by a user, create a pickle of lazy_import of > the global names and save it in the .sage directory. This should not > be slower than current startup.

[sage-devel] Re: mpmath and plot incompatibility

2011-03-01 Thread Jason Grout
On 3/1/11 3:58 AM, Fredrik Johansson wrote: On Tue, Mar 1, 2011 at 4:30 AM, Francois Bissey wrote: On Mon, 28 Feb 2011 at 01:26PM -0800, jtyard wrote: I'm running sage 4.6.1 and cannot use plot after loading mpmath. Namely, running from mpmath import * plot(lambda t: sin(2*pi*t), [1, 4])

[sage-devel] Re: profiling Sage startup

2011-03-01 Thread Johan S. R. Nielsen
On Mar 1, 1:56 pm, luisfe wrote: > > No, the lazy_import object keeps wrapping the original object, but > when accessing the lazy_import object it imports the real object in > the namespace. So, if the lazy_import has not been referenced by > another object then it will be collected as garbage. I

[sage-devel] Re: profiling Sage startup

2011-03-01 Thread luisfe
On Mar 1, 1:32 pm, "Johan S. R. Nielsen" wrote: > On Mar 1, 10:13 am, Robert Bradshaw > wrote: > > Nice! I weren't aware of this module. When you get a good idea, > there's a good chance that someone else thought of it before ;-) I > like the fact that one can dynamically hack into an object's >

[sage-devel] Re: Making Google Analytics Public

2011-03-01 Thread Harald Schilly
I'm pretty sure there are some legal reasons why analytics is not public and changing our analytics system after we have collected years of data is not wise (apart from the fact that we would need to maintain yet another system). There are weekly summary reports that we could publish online, how

[sage-devel] Re: profiling Sage startup

2011-03-01 Thread Johan S. R. Nielsen
On Mar 1, 10:13 am, Robert Bradshaw wrote: > On Tue, Mar 1, 2011 at 12:48 AM, Johan S. R. Nielsen > > > > wrote: > > On Feb 23, 11:03 pm, Jason Grout wrote: > >> On 2/23/11 3:56 PM, Robert Bradshaw wrote: > > >> > On Wed, Feb 23, 2011 at 1:47 PM, Jason Grout > >> >  wrote: > >> >> On 2/23/11 3:

Re: [sage-devel] mpmath and plot incompatibility

2011-03-01 Thread Fredrik Johansson
On Tue, Mar 1, 2011 at 4:30 AM, Francois Bissey wrote: >> On Mon, 28 Feb 2011 at 01:26PM -0800, jtyard wrote: >> > I'm running sage 4.6.1 and cannot use plot after loading mpmath. >> > Namely, running >> > >> > > from mpmath import * >> > > plot(lambda t: sin(2*pi*t), [1, 4]) >> > >> > produces no

Re: [sage-devel] Re: profiling Sage startup

2011-03-01 Thread Robert Bradshaw
On Tue, Mar 1, 2011 at 12:48 AM, Johan S. R. Nielsen wrote: > On Feb 23, 11:03 pm, Jason Grout wrote: >> On 2/23/11 3:56 PM, Robert Bradshaw wrote: >> >> >> >> > On Wed, Feb 23, 2011 at 1:47 PM, Jason Grout >> >  wrote: >> >> On 2/23/11 3:06 PM, Robert Bradshaw wrote: >> >> >>> On Wed, Feb 23, 2

[sage-devel] Re: profiling Sage startup

2011-03-01 Thread Johan S. R. Nielsen
On Feb 23, 11:03 pm, Jason Grout wrote: > On 2/23/11 3:56 PM, Robert Bradshaw wrote: > > > > > On Wed, Feb 23, 2011 at 1:47 PM, Jason Grout > >  wrote: > >> On 2/23/11 3:06 PM, Robert Bradshaw wrote: > > >>> On Wed, Feb 23, 2011 at 11:34 AM, William Stein     > >>> wrote: > > On Wed, Feb 23,

[sage-devel] Re: Documentation of prcedures with decorator

2011-03-01 Thread Johan S. R. Nielsen
I don't know what influence there is from Cython, but for general python-functions, decorators need to decorate their return functions with @sage_wraps (see e.g. sage.plots.contour_plot.contour_plot) to get the correct doc-strings. Setting these could be done manually in the decorator, but it is th