[sage-combinat-devel] Rebasing of the queue

2010-07-20 Thread Nicolas M. Thiery
Dear Sage-Combinat devs, Mike, Nicolas, A good news: thanks to #8680, from sage 4.5.1 on, sage -t will complain if we inadvertently introduce tabs in our code. #8680 also removed all remaining tabs in the current sage sources. So the bad news is that a couple of our patches in the queue

[sage-devel] General requests about tickets and patches

2010-07-20 Thread Mitesh Patel
Gentle reminders: * Please remember to include the ticket number in the first line of the commit string of each Mercurial patch. This makes it much easier to find the ticket for a particular changeset with 'hg log some_file.py'. * Please remember to update ticket Author(s) and Reviewer(s).

[sage-devel] Re: multivariate polynomial multiplication, division, GCD, factorization

2010-07-20 Thread parisse
Is there any chance you could write an email explaining the basic ideas behind your new factorization implementation?   I'm just curious what goes into it.  Even something along the lines of this page would be nice:    http://magma.maths.usyd.edu.au/magma/htmlhelp/text315.htm  -- William

[sage-devel] Re: sage 4.5.1 unpack

2010-07-20 Thread 3DRaven
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? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this

[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

[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:

[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, Alexander

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

[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

Re: [sage-devel] sage -pkg ?

2010-07-20 Thread Carl Witty
On Tue, Jul 20, 2010 at 7:37 AM, John Cremona john.crem...@gmail.com 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)

Re: [sage-devel] sage -pkg ?

2010-07-20 Thread John Cremona
On 20 July 2010 16:24, Carl Witty carl.wi...@gmail.com wrote: On Tue, Jul 20, 2010 at 7:37 AM, John Cremona john.crem...@gmail.com 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-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] 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

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

2010-07-20 Thread John H Palmieri
On Jul 17, 8:18 pm, rjf fate...@gmail.com 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

[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

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 david.kir...@onetel.net 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

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 Kirkbydavid.kir...@onetel.net 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)

[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:

[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

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 fate...@gmail.com 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] 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.

[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: Univ of Washington postdoc job(s)

2010-07-20 Thread John H Palmieri
On Jul 20, 1:58 pm, rjf fate...@gmail.com 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

[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] 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

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 hand

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 marco.str...@gmail.com 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

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

2010-07-20 Thread Volker Braun
On Jul 20, 6:51 pm, John H Palmieri jhpalmier...@gmail.com 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

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 file and

[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, **kwds):

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 novos...@gmail.com 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

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

2010-07-20 Thread Ondrej Certik
On Fri, Jul 16, 2010 at 5:43 AM, dagss da...@student.matnat.uio.no wrote: On Jul 11, 12:20 pm, William Stein wst...@gmail.com 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-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/~drake

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

2010-07-20 Thread Carl Witty
On Tue, Jul 20, 2010 at 9:46 PM, Dan Drake dr...@kaist.edu 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