Re: [sage-devel] sage -b in parallel?

2010-07-20 Thread Dan Drake
On Tue, 20 Jul 2010 at 10:28PM -0700, Carl Witty wrote: > On Tue, Jul 20, 2010 at 9:46 PM, Dan Drake wrote: > > Hello all, > > > > When building from source, I can set MAKE and have the Sage library > > build in parallel. Is there a way I can do the same thing when using > > "sage -b"? In analogy

Re: [sage-devel] sage -b in parallel?

2010-07-20 Thread Carl Witty
On Tue, Jul 20, 2010 at 9:46 PM, Dan Drake wrote: > Hello all, > > When building from source, I can set MAKE and have the Sage library > build in parallel. Is there a way I can do the same thing when using > "sage -b"? In analogy to "sage -t" and "sage -tp", it would be nice to > have "sage -bp".

[sage-devel] sage -b in parallel?

2010-07-20 Thread Dan Drake
Hello all, When building from source, I can set MAKE and have the Sage library build in parallel. Is there a way I can do the same thing when using "sage -b"? In analogy to "sage -t" and "sage -tp", it would be nice to have "sage -bp". Dan -- --- Dan Drake - http://mathsci.kaist.ac.kr/~dra

[sage-devel] Re: Univ of Washington postdoc job(s)

2010-07-20 Thread John H Palmieri
On Jul 20, 5:17 pm, Volker Braun wrote: > On Jul 20, 6:51 pm, John H Palmieri wrote: > > > [...] if in the > > future a particular department got a reputation for exploiting its > > post-docs, it would have a harder time hiring people.  Word gets > > around pretty fast. > > I would like to shoot

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

2010-07-20 Thread Ondrej Certik
On Fri, Jul 16, 2010 at 5:43 AM, dagss wrote: > On Jul 11, 12:20 pm, William Stein wrote: >> 2. Sage at EuroScipy: >> >> Another thing -- though most talks mention Cython, not one single talk >> given about actual engineers/scientists doing work even mentioned Sage >> -- and there were over 30 ta

Re: [sage-devel] Re: finding out if something is a valid keyword argument

2010-07-20 Thread Mike Hansen
On Tue, Jul 20, 2010 at 5:50 PM, Andrey Novoseltsev wrote: > Somewhat related to this subject - is it possible to automatically put > into documentation parameters that were defined and documented in the > "base method'? E.g. if I have You could make a decorator which modifies B.f.__doc__ by inse

[sage-devel] Re: finding out if something is a valid keyword argument

2010-07-20 Thread Andrey Novoseltsev
Somewhat related to this subject - is it possible to automatically put into documentation parameters that were defined and documented in the "base method'? E.g. if I have class A(): def f(self, a=1): """ INPUT: - ``a`` -- integer """ ... class B(A): def f(self, b=2, *args, **

Re: [sage-devel] Re: sage 4.5.1 unpack

2010-07-20 Thread Gonzalo Tornaria
On Tue, Jul 20, 2010 at 3:43 AM, 3DRaven <3dra...@gmail.com> wrote: > Yes. I do not speak English. > I use a translator of Google. > Why unpacking: sage-4.5-linux-32bit-ubuntu_10.04_lts-i686- > Linux.tar.lzma > I get the message about the impossibility of creating hard links? I just checked the fi

[sage-devel] Re: Univ of Washington postdoc job(s)

2010-07-20 Thread Volker Braun
On Jul 20, 6:51 pm, John H Palmieri wrote: > [...] if in the > future a particular department got a reputation for exploiting its > post-docs, it would have a harder time hiring people.  Word gets > around pretty fast. I would like to shoot down your blind faith in market efficiency :-) http://w

Re: [sage-devel] finding out if something is a valid keyword argument

2010-07-20 Thread Mike Hansen
On Tue, Jul 20, 2010 at 4:17 PM, Marco Streng wrote: > I have a question that I thought was a simple python question, but I was > unable to find the answer on the internet. > > Suppose I want to find out if "root" is a valid keyword argument for the > "is_square" function of an object "a". Is ther

Re: [sage-devel] Re: Suggested spkg: Modelica

2010-07-20 Thread Carl Witty
On Tue, Jul 20, 2010 at 2:46 PM, Vincent D <20100.delecr...@gmail.com> wrote: > Jmodelica seems to be very interesting... but from > http://www.jmodelica.org/page/14 > (or see the copy below) they argue that the software is their property > (is that a problem for inclusion in Sage?). On the other

[sage-devel] finding out if something is a valid keyword argument

2010-07-20 Thread Marco Streng
Hi, I have a question that I thought was a simple python question, but I was unable to find the answer on the internet. Suppose I want to find out if "root" is a valid keyword argument for the "is_square" function of an object "a". Is there a good way to do this? I tried the following for I

[sage-devel] Re: Suggested spkg: Modelica

2010-07-20 Thread Simon King
Hi! On 20 Jul., 23:46, Vincent D <20100.delecr...@gmail.com> wrote: > ... >     * You assign and transfer the copyright of your JModelica.org > contribution to the Project owner to the extent permitted by > applicable law. In return you receive back a broad license to re-use > and distribute your

[sage-devel] Re: Univ of Washington postdoc job(s)

2010-07-20 Thread John H Palmieri
On Jul 20, 1:58 pm, rjf wrote: > The issue to me is the extent to which a person in such a position is > unfairly exploited.   Right. As kcrisman says, this doesn't happen that much in math: we don't have tasks like sequencing DNA or building circuit boards that we can foist off on post-docs or

[sage-devel] Re: Univ of Washington postdoc job(s)

2010-07-20 Thread kcrisman
> The issue to me is the extent to which a person in such a position is > unfairly exploited.  Of course Other posters are correct that in mathematics any short-term position with a 2-2 or less load is usually considered a postdoc of sorts (though at an elite liberal arts college it may be a visi

[sage-devel] Re: Suggested spkg: Modelica

2010-07-20 Thread Vincent D
Jmodelica seems to be very interesting... but from http://www.jmodelica.org/page/14 (or see the copy below) they argue that the software is their property (is that a problem for inclusion in Sage?). On the other hand very few is said about the user license "The code base is provided under standard

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

2010-07-20 Thread Maurizio
Unfortunately, I have no log of this. I think that what we did was to make it run under the sage -sh shell, so that it was possible to do "from sage import *" at the beginning of any python file and achieving something pretty usable. Sorry for missing details Maurizio On 18 Lug, 02:29, "Nicolas M

Re: [sage-devel] Re: Univ of Washington postdoc job(s)

2010-07-20 Thread Tom Boothby
On Tue, Jul 20, 2010 at 1:58 PM, rjf wrote: > A computer science postdoc would typically be purely research funded. This is an ad for a math postdoc. -- 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...@g

[sage-devel] Re: Univ of Washington postdoc job(s)

2010-07-20 Thread rjf
A computer science postdoc would typically be purely research funded. Any teaching would be optional. There are lecturer/ instructor positions with low teaching requirements (for lecturers) that are intended to fund young people so they can do research. There used to be (maybe no longer) Miller as

[sage-devel] Suggested spkg: Modelica

2010-07-20 Thread Hazem
In a previous discussion, OpenModelica was considered as a new Sage addition, but was dropped because their license is apparently incompatible with GPL. However, JModelica seems like a viable alternative. Please see the following excerpt from a private correspondence between me and William: > Tha

Re: [sage-devel] ATLAS - proposal to allow a threaded build.

2010-07-20 Thread Dr. David Kirkby
On 07/20/10 07:42 PM, Peter Jeremy wrote: On 2010-Jul-19 23:20:40 +0100, "Dr. David Kirkby" wrote: So if I understand you correctly, SAGE_NUM_THREADS=10 would set 10 threads globally in Sage, but SAGE_NUM_THREADS_ATLAS=1 would override the 10 to 1 (single threaded) for just ATLAS. Have I

Re: [sage-devel] ATLAS - proposal to allow a threaded build.

2010-07-20 Thread Peter Jeremy
On 2010-Jul-19 23:20:40 +0100, "Dr. David Kirkby" wrote: >> How about an extension to the standard environment variable parsing >> so that SAGE_FOO_bar is equivalent to (and overrides) SAGE_FOO in >> package 'bar' only? This allows variables to be overridden for >> specific packages without havi

[sage-devel] hyperbolic geometry and fundamental domains for subgroups of PSL(2,ZZ)

2010-07-20 Thread Vincent D
Hello, I did write two almost complete patches for hyperbolic geometry (#9439) and plotting fundamental domains of subgroups of PSL(2,Z) (#9557). I'm not so interested in plotting fundamental domains of the standard congruence groups but it would be very nice to put all that in a generic framework

[sage-devel] Re: Univ of Washington postdoc job(s)

2010-07-20 Thread John H Palmieri
On Jul 17, 8:18 pm, rjf wrote: > I wouldn't call this a postdoc. It is non-tenure track position that > requires teaching.  The blurb doesn't mention > how much teaching or how much money.  Actually, the ad doesn't call it > a postdoc either. > RJF Whatever the position is officially called (in t

Re: [sage-devel] Serious-looking error in spkg-install for pari-2.3.5.p1

2010-07-20 Thread John Cremona
That's relief -- thanks. I think my mind is frying, as it is hot & humid (well, by English standards). Now I see what is happening. It is easy to get confused since under the src/ directorythere is another one called src, so some of the targets for cp do start src John On 20 July 2010 17:

Re: [sage-devel] Serious-looking error in spkg-install for pari-2.3.5.p1

2010-07-20 Thread Mike Hansen
On Tue, Jul 20, 2010 at 9:08 AM, John Cremona wrote: > Amazing discovery -- the script spkg-install is VERY broken, even the one >  currently distributed with sage 4.5!  (pari-2.3.5.p1) > >  There are several lines like >  {{{ >  # pjeremy: fix for FreeBSD: #7825 >  cp "$TOP"/patches/get_kernel co

[sage-devel] Serious-looking error in spkg-install for pari-2.3.5.p1

2010-07-20 Thread John Cremona
The following came to light while woring on #9343 (pari upgrade) which I thought deserved a wider circulation. John Amazing discovery -- the script spkg-install is VERY broken, even the one currently distributed with sage 4.5! (pari-2.3.5.p1) There are several lines like {{{ # pjeremy: fix

Re: [sage-devel] sage -pkg ?

2010-07-20 Thread John Cremona
On 20 July 2010 16:24, Carl Witty wrote: > On Tue, Jul 20, 2010 at 7:37 AM, John Cremona wrote: >> I am having trouble with sage -pkg to make a new spkg from a directory >> my-spkg/.  (I have done this before).  Am I doing something stupid? >> >> After typing >> >> sage -pkg my-spkg >> >> nothing

Re: [sage-devel] sage -pkg ?

2010-07-20 Thread Carl Witty
On Tue, Jul 20, 2010 at 7:37 AM, John Cremona wrote: > I am having trouble with sage -pkg to make a new spkg from a directory > my-spkg/.  (I have done this before).  Am I doing something stupid? > > After typing > > sage -pkg my-spkg > > nothing apparently happens (no new prompt) BUT a file with

[sage-devel] sage -pkg ?

2010-07-20 Thread John Cremona
I am having trouble with sage -pkg to make a new spkg from a directory my-spkg/. (I have done this before). Am I doing something stupid? After typing sage -pkg my-spkg nothing apparently happens (no new prompt) BUT a file with the right name my-spkg.spkg is being created in the current directo

Re: [sage-devel] How to I debug a crashing Sage?

2010-07-20 Thread Willem Jan Palenstijn
On Mon, Jul 19, 2010 at 07:54:14PM +0100, David Kirkby wrote: > I don't know, but suspect so. This page looked interesting, to preload > a Solaris malloc library with LD_PRELOAD. That seemed to display > something semi-useful after I inspected the core file with 'mdb' and > used this 'findleaks com

[sage-devel] Re: python setup.py picks prefix from ~/.pydistutils.cfg

2010-07-20 Thread Alexander Dreyer
Hi! > I've used python very little, so my skills in that are poor, so I am > not going to suggest what may or may not be the best way to do this. > However, I will point you at > > http://trac.sagemath.org/sage_trac/ticket/9551 Maybe the python patch will also work for you. Best regards, Alexan

[sage-devel] Re: python setup.py picks prefix from ~/.pydistutils.cfg

2010-07-20 Thread Alexander Dreyer
Hi there! > An alternative would be to to patch distutils to obey some environment > variable. I backported the --no-user-cfg stuff in python's distutils and added an environment variable for simplifying the usage. The patched skpg is here: http://sage.math.washington.edu/home/dreyer/suse101/python

[sage-devel] how to publish a book at lulu

2010-07-20 Thread Ondrej Certik
Hi, here I put some technical info about how to publish your own book at lulu.com: http://ondrejcertik.blogspot.com/2010/07/theoretical-physics-reference-book.html Overall it cost me $20 and I am now having the physical hardcover book in my hands. Ondrej -- To post to this group, send an emai