Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-05 Thread Francois Bissey
> On Nov 5, 2011, at 18:02 , Burcin Erocal wrote: > > On Sat, 5 Nov 2011 17:23:38 -0700 (PDT) > > > > leif wrote: > >> On 5 Nov., 21:24, "Justin C. Walker" wrote: > >>> On Nov 5, 2011, at 12:16 , Julien Puydt wrote: > Le 05/11/2011 17:42, William Stein a écrit : > > What do you base thi

Re: [sage-devel] Re: Error related to readline while installing r-2.10.1.p4

2011-11-05 Thread leif
leif wrote: Thomas Oliveira wrote: Now, sage runs without throwing any warning. Let me summarizing how I followed your advices to a next user that faces this problem: $ touch spkg/installed/readline-6.2.p2 $ sudo apt-get install libncurses5-dev libncursesw5-dev Verified that $SAGE_ROOT/spkg/

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-05 Thread Justin C. Walker
On Nov 5, 2011, at 18:02 , Burcin Erocal wrote: > On Sat, 5 Nov 2011 17:23:38 -0700 (PDT) > leif wrote: > >> On 5 Nov., 21:24, "Justin C. Walker" wrote: >>> On Nov 5, 2011, at 12:16 , Julien Puydt wrote: >>> Le 05/11/2011 17:42, William Stein a écrit : > What do you base this "probab

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-05 Thread Burcin Erocal
On Sat, 5 Nov 2011 17:23:38 -0700 (PDT) leif wrote: > On 5 Nov., 21:24, "Justin C. Walker" wrote: > > On Nov 5, 2011, at 12:16 , Julien Puydt wrote: > > > > > Le 05/11/2011 17:42, William Stein a écrit : > > >> What do you base this "probably" on?  Having started and watched > > >> Sage "evolve"

Re: [sage-devel] Re: Error related to readline while installing r-2.10.1.p4

2011-11-05 Thread leif
Thomas Oliveira wrote: > Now, sage runs without throwing any warning. > > Let me summarizing how I followed your advices to a next user that faces > this problem: > > $ touch spkg/installed/readline-6.2.p2 > > $ sudo apt-get install libncurses5-dev libncursesw5-dev > > Verified that $SAGE_ROOT/

Re: Re: [sage-devel] Re: The "sage -sh" shell prompt: any objections to shortening it?

2011-11-05 Thread Martin Albrecht
On Saturday 05 November 2011, John H Palmieri wrote: > Well, as I mentioned above, the current plan in #11790 is, among other > things, to source a file ~/.sage/.sagerc (if it exists), so maybe you can > add code to set your prompt there. That sounds like a great plan. Cheers, Martin -- name: Ma

[sage-devel] Re: Error related to readline while installing r-2.10.1.p4

2011-11-05 Thread Thomas Oliveira
On Nov 5, 4:32 am, leif wrote: > john.hoebing wrote: > > The solution is to replace ./spkg/standard/readline-6.1* with > > readline-6.2.p2.spkg and then go to the sage home directory and run > > 'make distclean' and then run 'make'. The 'libreadline*' files that > > are already built (and used

[sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-05 Thread leif
On 5 Nov., 21:24, "Justin C. Walker" wrote: > On Nov 5, 2011, at 12:16 , Julien Puydt wrote: > > > Le 05/11/2011 17:42, William Stein a écrit : > >> What do you base this "probably" on?  Having started and watched Sage > >> "evolve" of over 6 years, if anything it is not evolving in the > >> direc

Re: [sage-devel] Re: Error related to readline while installing r-2.10.1.p4

2011-11-05 Thread leif
Thomas Oliveira wrote: > $ ./sage --python -c "import readline" > > gives > > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named readline Ok, your Python spkg apparently wasn't (re)built after you installed the readline-6.2.p2 spkg. To do so, run $ ./sag

Re: [sage-devel] Re: The "sage -sh" shell prompt: any objections to shortening it?

2011-11-05 Thread John H Palmieri
Well, as I mentioned above, the current plan in #11790 is, among other things, to source a file ~/.sage/.sagerc (if it exists), so maybe you can add code to set your prompt there. -- John -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, se

Re: [sage-devel] Re: The "sage -sh" shell prompt: any objections to shortening it?

2011-11-05 Thread Ivan Andrus
On Nov 5, 2011, at 3:44 PM, Martin Albrecht wrote: >>> case "$SHELL_NAME" in > > It's not that terribly important, by this wouldn't work for my ZShell prompt > because i use more advanced features in my prompt. In particular, my prompt > displays the revision number of the hg repository I'm in

[sage-devel] Re: Bug Days in/near Boston after Joint Meetings?

2011-11-05 Thread Kiran Kedlaya
On Nov 4, 9:03 pm, kcrisman wrote: > Well, we're currently just assessing interest; I'm sure it would be > possible to do it closer in, but then we'd need someplace different to > do it.  I have no idea whether the usual suspects in Cambridge or some > of the other Boston institutions (or CMI wher

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-05 Thread Justin C. Walker
On Nov 5, 2011, at 12:16 , Julien Puydt wrote: > Le 05/11/2011 17:42, William Stein a écrit : >> What do you base this "probably" on? Having started and watched Sage >> "evolve" of over 6 years, if anything it is not evolving in the >> direction you suggest. > > Fair point. But that can't last.

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-05 Thread William Stein
On Sat, Nov 5, 2011 at 12:16 PM, Julien Puydt wrote: > Le 05/11/2011 17:42, William Stein a écrit : >> >> What do you base this "probably" on?  Having started and watched Sage >> "evolve" of over 6 years, if anything it is not evolving in the >> direction you suggest. > > Fair point. But that can'

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-05 Thread Julien Puydt
Le 05/11/2011 17:42, William Stein a écrit : What do you base this "probably" on? Having started and watched Sage "evolve" of over 6 years, if anything it is not evolving in the direction you suggest. Fair point. But that can't last. All the libs and programs on my system weight 9G, with many

Re: [sage-devel] Re: The "sage -sh" shell prompt: any objections to shortening it?

2011-11-05 Thread Jeroen Demeyer
On 2011-11-05 15:44, Martin Albrecht wrote: >>> case "$SHELL_NAME" in > > It's not that terribly important, by this wouldn't work for my ZShell prompt > because i use more advanced features in my prompt. In particular, my prompt > displays the revision number of the hg repository I'm in and whet

[sage-devel] Re: The "sage -sh" shell prompt: any objections to shortening it?

2011-11-05 Thread leif
On 5 Nov., 15:44, Martin Albrecht wrote: > > > case "$SHELL_NAME" in > > It's not that terribly important, by this wouldn't work for my ZShell prompt > because i use more advanced features in my prompt. In particular, my prompt > displays the revision number of the hg repository I'm in and whether

[sage-devel] Re: Using several algorithms in parallel

2011-11-05 Thread Maarten Derickx
Well the best thing would be if you didn't import paralel in multi_polynomial_ideal.py. You should first write some decorators like leif mentioned based on the trick that Tom showed so it will become easy to make functions have multiple implementations. So that something like the following woul

[sage-devel] Re: too many file descriptors causing problems on sagenb

2011-11-05 Thread Jason Grout
On 11/5/11 12:00 PM, William Stein wrote: On Sat, Nov 5, 2011 at 9:40 AM, Jason Grout wrote: On 11/5/11 11:37 AM, William Stein wrote: It certainly seems possible. I'm restarting the *.sagenb.org servers, since it would be nice for people to be able to use them... I already restarted sage

Re: [sage-devel] Re: too many file descriptors causing problems on sagenb

2011-11-05 Thread William Stein
On Sat, Nov 5, 2011 at 9:40 AM, Jason Grout wrote: > On 11/5/11 11:37 AM, William Stein wrote: > >> It certainly seems possible. >> >> I'm restarting the *.sagenb.org servers, since it would be nice for >> people to be able to use them... >> > > I already restarted sagenb.org.  I think I've restar

[sage-devel] Re: Using several algorithms in parallel

2011-11-05 Thread mmarco
So, the solution is to move the parallel importation to somewhere else? Which would be the apropriate place? On 5 nov, 14:28, Maarten Derickx wrote: > The problem is that by putting > > from sage.parallel.all import parallel > > in sage/rings/polynomial/multi_polynomial_ideal.py you changed the i

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-05 Thread William Stein
On Sat, Nov 5, 2011 at 7:26 AM, Julien Puydt wrote: > Le 05/11/2011 14:31, Jeroen Demeyer a écrit : >> >> On 2011-11-04 08:19, Julien Puydt wrote: >>> >>> but rather a more deliberately fragile one : >>> - check very-specific-arch1, and set magic options if so ; >>> ... >>> - check very-specific-a

[sage-devel] Re: too many file descriptors causing problems on sagenb

2011-11-05 Thread Jason Grout
On 11/5/11 11:37 AM, William Stein wrote: It certainly seems possible. I'm restarting the *.sagenb.org servers, since it would be nice for people to be able to use them... I already restarted sagenb.org. I think I've restarted sagenb.org maybe 2-3 times in the past 2 weeks for this problem

Re: [sage-devel] too many file descriptors causing problems on sagenb

2011-11-05 Thread William Stein
On Sat, Nov 5, 2011 at 7:51 AM, Jason Grout wrote: > Yet again, sagenb.org is throwing lots of errors like: > > 2011-11-05 07:30:38-0700 [-] Unhandled Error >        Traceback (most recent call last): >          File > "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/Twisted-9.0.0-

[sage-devel] too many file descriptors causing problems on sagenb

2011-11-05 Thread Jason Grout
Yet again, sagenb.org is throwing lots of errors like: 2011-11-05 07:30:38-0700 [-] Unhandled Error Traceback (most recent call last): File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/application/app.py", line 4

Re: [sage-devel] Re: The "sage -sh" shell prompt: any objections to shortening it?

2011-11-05 Thread Martin Albrecht
> > case "$SHELL_NAME" in It's not that terribly important, by this wouldn't work for my ZShell prompt because i use more advanced features in my prompt. In particular, my prompt displays the revision number of the hg repository I'm in and whether it's clean or not. Hence, additional modules ne

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-05 Thread Julien Puydt
Le 05/11/2011 14:31, Jeroen Demeyer a écrit : On 2011-11-04 08:19, Julien Puydt wrote: but rather a more deliberately fragile one : - check very-specific-arch1, and set magic options if so ; ... - check very-specific-archN, and set magic options if so ; - if we aren't on a known arch, or a fly f

Re: [sage-devel] Re: or sage-5.0? (Re: [sage-release] Next release: sage-4.7.3 or sage-4.8?)

2011-11-05 Thread Jeroen Demeyer
On 2011-11-04 08:19, Julien Puydt wrote: > but rather a more deliberately fragile one : > - check very-specific-arch1, and set magic options if so ; > ... > - check very-specific-archN, and set magic options if so ; > - if we aren't on a known arch, or a fly farted too near a known one : > FAIL. Th

[sage-devel] Re: Using several algorithms in parallel

2011-11-05 Thread Maarten Derickx
The problem is that by putting from sage.parallel.all import parallel in sage/rings/polynomial/multi_polynomial_ideal.py you changed the import order of the sage library causing the import to fail because now you try to import QuotientRing from the not yet completely initialized quotient_ring

[sage-devel] Re: Using several algorithms in parallel

2011-11-05 Thread mmarco
>From a clean sage braaanch, i put the line from sage.parallel.all import parallel in sage/rings/polynomial/multi_polynomial_ideal.py and after rebuilding i get the following output when starting up sage: -- | Sage Version 4.7.2

[sage-devel] Re: The "sage -sh" shell prompt: any objections to shortening it?

2011-11-05 Thread P Purkayastha
On Wednesday, November 2, 2011 9:11:12 AM UTC+8, leif wrote: > > On 2 Nov., 01:22, Keshav Kini wrote: > > Another possibility is to set PS1 in the new shell to an expanded PS1 > from > > the old shell by creating a dynamic string: > > > > fs@zhenghe ~/tmp $ echo "export PS1=\"(sage -sh) $PS