[sage-devel] Re: sage short course at the joint meeting in Boston

2011-11-01 Thread Jason Grout
On 11/1/11 11:59 PM, William Stein wrote: On Tue, Nov 1, 2011 at 7:09 PM, Jason Grout wrote: On 11/1/11 9:02 PM, kcrisman wrote: Wiki page up at http://wiki.sagemath.org/jmms2012 Everyone, please make this more accurate (e.g., sign up!) and think about how to make the table even more awesome

Re: [sage-devel] Re: sage short course at the joint meeting in Boston

2011-11-01 Thread William Stein
On Tue, Nov 1, 2011 at 7:09 PM, Jason Grout wrote: > On 11/1/11 9:02 PM, kcrisman wrote: >> >> Wiki page up at http://wiki.sagemath.org/jmms2012 >> >> Everyone, please make this more accurate (e.g., sign up!) and think >> about how to make the table even more awesome this year. > > Here's one thin

[sage-devel] Re: sage short course at the joint meeting in Boston

2011-11-01 Thread Jason Grout
On 11/1/11 9:02 PM, kcrisman wrote: Wiki page up at http://wiki.sagemath.org/jmms2012 Everyone, please make this more accurate (e.g., sign up!) and think about how to make the table even more awesome this year. Here's one thing we did at the Mathfest table that turned out to be a great thing.

[sage-devel] Re: sage short course at the joint meeting in Boston

2011-11-01 Thread kcrisman
Wiki page up at http://wiki.sagemath.org/jmms2012 Everyone, please make this more accurate (e.g., sign up!) and think about how to make the table even more awesome this year. - kcrisman -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send a

[sage-devel] Re: sage short course at the joint meeting in Boston

2011-11-01 Thread kcrisman
Also it's worth pointing out that there are (at least) two contributed papers about using Sage. Teaching Transformations of Functions Using Sage (by PREP participant Susan Schmoyer) http://jointmathematicsmeetings.org/amsmtgs/2138_abstracts/1077-d5-2556.pdf Full Sage Contents of Introductory Line

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

2011-11-01 Thread Keshav Kini
Yeah, something like that is what I meant. Grab the PS1 from a running interactive shell. -Keshav Join us in #sagemath on irc.freenode.net ! -- 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...@goog

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

2011-11-01 Thread leif
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) $PS1\"" #run this string > in the new shell > export PS1="(sage -sh) \[\033[01;32m\]\

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

2011-11-01 Thread Keshav Kini
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) $PS1\"" #run this string in the new shell export PS1="(sage -sh) \[\033[01;32m\]\u@\h\[\033[01;34m\] \w $\[\033[00m\] " Maybe

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

2011-11-01 Thread Willem Jan Palenstijn
On Tue, Nov 01, 2011 at 05:07:47PM -0700, Keshav Kini wrote: > That's what I thought too, but upon testing it seems that PS1 is somehow > special in this regard: PS1 is only set in interactive shells: [wjp@aldur ~]$ bash -c 'echo $PS1' [wjp@aldur ~]$ bash -i -c 'echo $PS1' [\u@\h \w]$ -Willem

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

2011-11-01 Thread John H Palmieri
On Tuesday, November 1, 2011 5:07:47 PM UTC-7, Keshav Kini wrote: > > That's what I thought too, but upon testing it seems that PS1 is somehow > special in this regard: > That's what I discovered, too. The current idea (at #11790) is that you can set a new environment variable, SAGE_SHPROMPT,

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

2011-11-01 Thread Keshav Kini
That's what I thought too, but upon testing it seems that PS1 is somehow special in this regard: fs@zhenghe ~/tmp $ export $FOO=bar fs@zhenghe ~/tmp $ echo $PS1 \[\033[01;32m\]\u@\h\[\033[01;34m\] \w $\[\033[00m\] fs@zhenghe ~/tmp $ cat ps1test echo PS1 in this script is $PS1 PS1="foo $PS1" bash

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

2011-11-01 Thread Jason Grout
On 10/31/11 5:55 PM, P Purkayastha wrote: As for having the same prompt as the user has defined in ~/.shellrc, I don't think it is possible since the sage subshell is specifically launched so as not to read user files from ~. But it inherits PS1 from the user environment, right? Couldn't it

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

2011-11-01 Thread leif
On 1 Nov., 18:07, William Stein wrote: > On Mon, Oct 31, 2011 at 10:52 PM, leif wrote: > > On 1 Nov., 06:15, leif wrote: > >> On 1 Nov., 04:45, William Stein wrote: > > >> > Who changed the prompt to be long and two lines in the first place, and > >> > what do they think? > > >> Well, it had be

[sage-devel] Re: Request for Sage slides

2011-11-01 Thread leif
On 1 Nov., 07:31, Simon King wrote: > In a totally different thread (the one about the sage-shell prompt), > Iftikhar Burhanuddin asked the question that I have copy-and-pasted > below. > > Iftikhar: Please do not use an existing thread for a new question, but > open a new thread instead. I repli

[sage-devel] Re: sagenb again

2011-11-01 Thread leif
On 1 Nov., 07:25, Jason Grout wrote: > To help diagnose this, it appears that select() has its own internal > limit that is *not* affected by the number of open files set in ulimit. The maximum is FD_SETSIZE, which is defined in . Note that you can only use file descriptors from 0 to FD_SETSIZE-

[sage-devel] sage short course at the joint meeting in Boston

2011-11-01 Thread William Stein
Hi Sage-devel, There will be a Sage-related short course at the joint meetings in Boston. You can see it in their schedule [1]. See also our wiki page [2] on the course. [1] http://jointmathematicsmeetings.org/meetings/national/jmm2012/2138_progfull.html [2] http://wiki.sagemath.org/jmm12 --

Re: [sage-devel] Re: Request for Sage slides

2011-11-01 Thread William Stein
On Mon, Oct 31, 2011 at 11:31 PM, Simon King wrote: > Hi! > > In a totally different thread (the one about the sage-shell prompt), > Iftikhar Burhanuddin asked the question that I have copy-and-pasted > below. > > Iftikhar: Please do not use an existing thread for a new question, but > open a new

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

2011-11-01 Thread William Stein
On Mon, Oct 31, 2011 at 10:52 PM, leif wrote: > On 1 Nov., 06:15, leif wrote: >> On 1 Nov., 04:45, William Stein wrote: >> >> > Who changed the prompt to be long and two lines in the first place, and >> > what do they think? >> >> Well, it had been a two-line prompt before #9527, but it's also f

[sage-devel] porting Sage to OS X Lion

2011-11-01 Thread William Stein
Hi, I spent some time working through the metaticket [1] to port Sage to OS X 10.7 (Lion), and resolved two issues that people didn't know how to fix (building Maxima and building the Sage library), so now Sage *builds* on Lion. I've posted a source tarball that one can use to build from source [

[sage-devel] Re: sagenb again

2011-11-01 Thread Jason Grout
On 11/1/11 1:25 AM, Jason Grout wrote: exceptions.ValueError: filedescriptor out of range in select() 2011-10-31 23:00:45-0700 [-] Malformed file descriptor found. Preening lists. 2011-10-31 23:00:45-0700 [-] bad descriptor To help diagnose this, it appears that select() has its own

[sage-devel] Update on Sage Days 35

2011-11-01 Thread John Cremona
The Wiki page for Sage-FLINT Days (aka Sage Days 35) which will be in Warwick in December has been updated here: http://wiki.sagemath.org/SageFlintDays complete with a poster for you to download. John Cremona (on behalf of theorganisers) -- To post to this group, send an email to sage-devel@goo

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

2011-11-01 Thread Maarten Derickx
If we do this we should make it clear in the opening message how to find out in which sage shell you are. For the rest a big +1 -- 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...@googlegroups.com For mor

Re: [sage-devel] Re: list_plot / matplotlib can't plot a horizontal line

2011-11-01 Thread Dan Drake
On Mon, 31 Oct 2011 at 09:39PM -0500, Jason Grout wrote: > Add a ymin and ymax as a workaround: > > list_plot([[0, 0.7886751345948214], [0.01, 0.788675134595], [0.02, > 0.788675134595], [0.03, 0.788675134595], [0.04, 0.788675134595], > [0.05, 0.788675134595], [0.06, 0.788675134595], [0.07, > 0.788