Re: [sage-devel] Re: building 4.7.alpha4 from source with SAGE_SPKG_INSTALL_DOCS=yes fails

2011-04-14 Thread Jeroen Demeyer
On 2011-04-14 05:22, Dan Drake wrote: > On Wed, 13 Apr 2011 at 03:53AM -0500, Jason Grout wrote: >> However, since we have this problem with the python package itself, >> maybe using the same approach we plan on executing there would work >> here. That is: after everything is done, maybe when we a

Re: [sage-devel] implementing mma's InverseFunction

2011-04-14 Thread Burcin Erocal
Hi Kelvin, On Tue, 12 Apr 2011 10:43:25 -0700 (PDT) Kelvin Li wrote: > Is anybody working on implementing something similar to mathematica's > InverseFunction? Or is there already a trac ticket out there? If there > is interest and it is not on trac, I can open a ticket. > > Here is the link to

[sage-devel] ptyrun: Run anything in a pseudo-tty

2011-04-14 Thread Jeroen Demeyer
Hello sage-devel, I wrote a program called "ptyrun", which runs an arbitrary program in a pseudo-tty. I personally found it useful, so maybe somebody else will find it useful also. You can find it at http://boxen.math.washington.edu/home/jdemeyer/ptyrun/ptyrun.c Compile this with $ gcc -O2 -Wal

Re: [sage-devel] ptyrun: Run anything in a pseudo-tty

2011-04-14 Thread David Kirkby
On 14 April 2011 09:08, Jeroen Demeyer wrote: > Hello sage-devel, > > I wrote a program called "ptyrun", which runs an arbitrary program in a > pseudo-tty.  I personally found it useful, so maybe somebody else will > find it useful also.  You can find it at > http://boxen.math.washington.edu/home/

Re: [sage-devel] Re: profiling cython

2011-04-14 Thread Martin Rubey
Robert Bradshaw writes: > On Wed, Apr 13, 2011 at 7:19 AM, Martin Rubey > wrote: >> Simon King writes: >> >>> On 13 Apr., 15:53, Martin Rubey >>> wrote: > 2) The spyx file gets a header prepended, meaning that the #cython ... > pragmas are not at the top of the file anymore, and so a

Re: [sage-devel] ptyrun: Run anything in a pseudo-tty

2011-04-14 Thread Jeroen Demeyer
On 2011-04-14 11:37, David Kirkby wrote: > On 14 April 2011 09:08, Jeroen Demeyer wrote: >> Hello sage-devel, >> >> I wrote a program called "ptyrun", which runs an arbitrary program in a >> pseudo-tty. I personally found it useful, so maybe somebody else will >> find it useful also. You can fin

Re: [sage-devel] ptyrun: Run anything in a pseudo-tty

2011-04-14 Thread David Kirkby
On 14 April 2011 12:52, Jeroen Demeyer wrote: > Well, I developed this program for Linux machines.  I don't know what > the Solaris equivalent is for the openpty() function.  Maybe there isn't > even one?? > > Jeroen. II dont' think there is one. That is part of glibc. http://h30097.www3.hp.co

[sage-devel] Re: spam trac tickets: 11171 and others

2011-04-14 Thread Jason Grout
On 4/14/11 1:02 AM, Rob Beezer wrote: Workflow gets confusing when you want to cc someone on a ticket and you can't remember which variant they use on Trac, and I don't think Trac notices if you cc a nonexistent account (at least I've never seen any kind of notification like that). Yes, I know

[sage-devel] Re: building 4.7.alpha4 from source with SAGE_SPKG_INSTALL_DOCS=yes fails

2011-04-14 Thread Jason Grout
On 4/14/11 2:24 AM, Jeroen Demeyer wrote: On 2011-04-14 05:22, Dan Drake wrote: On Wed, 13 Apr 2011 at 03:53AM -0500, Jason Grout wrote: However, since we have this problem with the python package itself, maybe using the same approach we plan on executing there would work here. That is: after

[sage-devel] Windows port status

2011-04-14 Thread Alexandre Blondin Massé
Hi, all! I know this is a recurrent subject, but I was wondering what was the status about the Windows port. As many other users/developers of Sage, I promote it the most I can but one obstacle that keeps showing up is that it does not work natively on Windows. I know that there is the VMWare solu

[sage-devel] Re: profiling cython

2011-04-14 Thread Simon King
On 14 Apr., 12:06, Martin Rubey wrote: > Please bear with me - what would that mean?  Yes, the first line of > > /home/martin/martin/TeXSource/Mathematik/configs.spyx > > contains this > > # cython: profle=True Note the type (profle versus profile). Is it the same in the file? Cheers, Simon

[sage-devel] Re: Windows port status

2011-04-14 Thread Kelvin Li
Currently, windows porting efforts are focusing on porting to Cygwin. One of the targets for the Sage-5.0 release is a successful port to Cygwin. Here is a page with some good info: http://trac.sagemath.org/sage_trac/wiki/CygwinPort I am not involved in the project myself. Someone else with more

[sage-devel] possible memory leak situation with factoring

2011-04-14 Thread kcrisman
In the process of reviewing #11138, I found the following. Looks like some sort of leak, but I know virtually nothing of such things. It doesn't affect the ticket - it's clear we should us the Kronecker product implementation - but thought it might be of interest to someone. This is on a Mac OS

Re: [sage-devel] possible memory leak situation with factoring

2011-04-14 Thread Jeroen Demeyer
On 2011-04-14 21:03, kcrisman wrote: > sage: n = next_prime(10^30)*next_prime(10^40) > sage: factor(n) > ^C--- > KeyboardInterrupt Traceback (most recent call > last) > > KeyboardInterrupt: > sage: > Ex

Re: [sage-devel] #10109 (document sig_on) needs review

2011-04-14 Thread Jeroen Demeyer
On 2011-04-13 17:07, Jeroen Demeyer wrote: > I have a documentation-only patch at #10109 ready for review. I would > really like to get this into sage-4.7, so please review :-) In the hope it helps the review: see the new manual at http://boxen.math.washington.edu/home/jdemeyer/doc/developer/inde

Re: [sage-devel] ptyrun: Run anything in a pseudo-tty

2011-04-14 Thread Jeroen Demeyer
On 2011-04-14 14:05, David Kirkby wrote: > http://h30097.www3.hp.com/docs/transition/openpty.pdf > > describes ho to implement it on HP-UX. I guess the same would work for > OS X and Solaris. Thanks for the pointer. If anybody finds my "ptyrun" particularly useful, I might consider porting it to

[sage-devel] Re: implementing mma's InverseFunction

2011-04-14 Thread Kelvin Li
On Apr 14, 1:03 am, Burcin Erocal wrote: > Hi Kelvin, > > On Tue, 12 Apr 2011 10:43:25 -0700 (PDT) > > > > Kelvin Li wrote: > > Is anybody working on implementing something similar to mathematica's > > InverseFunction? Or is there already a trac ticket out there? If there > > is interest and it i

Re: [sage-devel] ptyrun: Run anything in a pseudo-tty

2011-04-14 Thread Justin C. Walker
On Apr 14, 2011, at 01:08 , Jeroen Demeyer wrote: > Hello sage-devel, > > I wrote a program called "ptyrun", which runs an arbitrary program in a > pseudo-tty. I personally found it useful, so maybe somebody else will > find it useful also. You can find it at > http://boxen.math.washington.edu

[sage-devel] progress on sage on python-2.7

2011-04-14 Thread Francois Bissey
After a small number of patch (#11156 from Nicolas M. Thiery, and 2 in #9958, one of which is from my friend Steve Trogdon) we have a clear view of what needs to be fixed. Test done on 4.7.alpha4 + #7377 and #9969 Aside from the chatter due to change of format and messages here is what is interest

Re: [sage-devel] Re: profiling cython

2011-04-14 Thread Martin Rubey
Simon King writes: > On 14 Apr., 12:06, Martin Rubey > wrote: >> Please bear with me - what would that mean?  Yes, the first line of >> >> /home/martin/martin/TeXSource/Mathematik/configs.spyx >> >> contains this >> >> # cython: profle=True > > Note the type (profle versus profile). Is it the sa