[sage-devel] Re: [sage-support] Re: Clearing the Terminal when running Sage

2013-02-08 Thread John H Palmieri
On Friday, February 8, 2013 7:40:52 PM UTC-8, KnS wrote: > > I think that "clear" (with no parentheses) clears the screen. "reset('a')" >>> is probably the command you're looking for. >>> >> > No, I wanted to clear the screen. I brought in Octave for want of an > anology and to say the fact tha

[sage-devel] Re: Clearing the Terminal when running Sage

2013-02-08 Thread Nils Bruin
On Feb 8, 7:40 pm, Kannappan Sampath wrote: > No, I wanted to clear the screen. I brought in Octave for want of an > anology and to say the fact that what works when I start Octave myself does > not work when I start it from Sage (the Ctrl + L). And, unfortunately, > "clear" does not clear the scr

[sage-devel] Re: [sage-support] Re: Clearing the Terminal when running Sage

2013-02-08 Thread Kannappan Sampath
> > I think that "clear" (with no parentheses) clears the screen. "reset('a')" >> is probably the command you're looking for. >> > No, I wanted to clear the screen. I brought in Octave for want of an anology and to say the fact that what works when I start Octave myself does not work when I start i

[sage-devel] Re: Clearing the Terminal when running Sage

2013-02-08 Thread John H Palmieri
On Friday, February 8, 2013 6:56:26 PM UTC-8, KnS wrote: > > Hello! > > Sage versions: 5.6, 5.7beta3... > > I'd be glad if someone can help me here: I'd like to clear the terminal > sometimes when I run Sage. > > -- For instance on Octave, Ctrl + L works [1]. Here is what surprises me: > in the

[sage-devel] Clearing the Terminal when running Sage

2013-02-08 Thread Kannappan Sampath
Hello! Sage versions: 5.6, 5.7beta3... I'd be glad if someone can help me here: I'd like to clear the terminal sometimes when I run Sage. -- For instance on Octave, Ctrl + L works [1]. Here is what surprises me: in the Octave interface that Sage provides, this simply does not work!! I don't und

[sage-devel] Re: easy segfaulting pure python

2013-02-08 Thread Benjamin Peterson
Jeroen Demeyer cage.ugent.be> writes: > > Looks similar to > http://bugs.python.org/issue7985 Next version of Python 3.3 $ ./python x.py Traceback (most recent call last): File "x.py", line 10, in f('g(h(s))') File "x.py", line 8, in f eval(s) File "", line 1, in File "x.py

Re: [sage-devel] easy segfaulting pure python

2013-02-08 Thread William Stein
On Fri, Feb 8, 2013 at 8:14 AM, Jeroen Demeyer wrote: > Looks similar to > http://bugs.python.org/issue7985 Thanks! > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an

Re: [sage-devel] easy segfaulting pure python

2013-02-08 Thread Jeroen Demeyer
Looks similar to http://bugs.python.org/issue7985 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, s

Re: [sage-devel] easy segfaulting pure python

2013-02-08 Thread Jeroen Demeyer
Slightly reduced: def h(x): return x + "+" + x def g(s): return eval(s) g("g(h(s))") -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr

Re: [sage-devel] easy segfaulting pure python

2013-02-08 Thread Jeroen Demeyer
On 2013-02-08 16:01, William Stein wrote: > I've always wondered if being able to completely > crash the Python interpreter from pure Python with a segfault is considered > a bug. I certainly consider it a bug. It's clearly an infinite recursion/stack overflow of some sort, but normally one would

[sage-devel] Re: easy segfaulting pure python

2013-02-08 Thread Jason Grout
On 2/8/13 9:01 AM, William Stein wrote: Hi, I was working on percent modes in a notebook, and was surprised to find that if I run this [1] little self-contained pure Python program under the Python in Sage, I get "4242 Segmentation fault (core dumped) python "$@"". Also, under my Linux sys

[sage-devel] Re: Adjoint of a matrix

2013-02-08 Thread Jason Grout
On 2/8/13 5:09 AM, Stephan Ehlen wrote: Hey, this discussion is amazing... I'm currently teaching linear algebra and I introduced sage to the students. I was confused by the fact that .adjoint() returns what we called "complementary matrix" or "adjugate" in class and I was close to submitting a

[sage-devel] Re: Adjoint of a matrix

2013-02-08 Thread kcrisman
On Friday, February 8, 2013 6:09:32 AM UTC-5, Stephan Ehlen wrote: > > Hey, this discussion is amazing... > > I'm currently teaching linear algebra and I introduced sage to the > students. > I was confused by the fact that .adjoint() returns what we called > "complementary matrix" or "adjugate"

Re: [sage-devel] Tour-Benchmark.

2013-02-08 Thread Kannappan Sampath
On Sun, Dec 30, 2012 at 2:18 PM, Thierry Dumont wrote: > Dear Colleagues, > > I just want to point out that at least one of the results of the > "Tour-Benchmark" should be modified/updated: the " > Matrix Multiplication in Sage vs. MATLAB and Mathematica". > > On my personal, quite old, with a Cel

[sage-devel] Re: Adjoint of a matrix

2013-02-08 Thread Stephan Ehlen
Hey, this discussion is amazing... I'm currently teaching linear algebra and I introduced sage to the students. I was confused by the fact that .adjoint() returns what we called "complementary matrix" or "adjugate" in class and I was close to submitting a bug report or at least start a discussio

Re: [sage-devel] Fix busted sage -valgrind

2013-02-08 Thread David Joyner
On Fri, Feb 8, 2013 at 3:32 AM, Florent Hivert wrote: > On Wed, Feb 06, 2013 at 08:59:21PM -0500, Nicolas M. Thiery wrote: >> On Wed, Feb 06, 2013 at 10:46:24PM +, John Cremona wrote: >> > On 6 February 2013 22:02, Minh Nguyen wrote: >> > > Hi Michael, >> > > >> > > On Thu, Feb 7, 2013 at 8:1

Re: [sage-devel] Fix busted sage -valgrind

2013-02-08 Thread Florent Hivert
On Wed, Feb 06, 2013 at 08:59:21PM -0500, Nicolas M. Thiery wrote: > On Wed, Feb 06, 2013 at 10:46:24PM +, John Cremona wrote: > > On 6 February 2013 22:02, Minh Nguyen wrote: > > > Hi Michael, > > > > > > On Thu, Feb 7, 2013 at 8:13 AM, mabshoff wrote: > > >> it has been a while, i.e.summer

[sage-devel] Re: Fix busted sage -valgrind

2013-02-08 Thread Alexander Dreyer
Hello Michael! > it has been a while, i.e.summer 2009 or so, and I no longer have my trac > account password nor do I recall the email address I used. Anyway, attached > is a patch that fixes sage -valgrind. Did not see any ticket on track, but > I noticed that at least the valgrind 3.8.1 spkg