[sage-devel] emacs shifting regions

2012-01-24 Thread Jason Grout
Hi everyone, I figured out how to set emacs up so that tab and shift-tab will indent/dedent a selected block. This has bothered me for a while, so I thought I'd share it here, in case anyone else wants to have tab/shift-tab do indent/dedent, like most code editors out there. I've put up my

Re: [sage-devel] Re: sage days numbering

2012-01-24 Thread Robert Bradshaw
On Tue, Jan 24, 2012 at 10:05 PM, Jason Grout wrote: > On 1/24/12 11:59 PM, William Stein wrote: >> >> There will be >= 1 bug days.   Fractional numbers are fine. > > > I thought last time we had this discussion (for 35.5), the conclusion was to > just have integer Sage Days, and sometimes they wo

Re: [sage-devel] sage days numbering

2012-01-24 Thread William Stein
On Tuesday, January 24, 2012, Jason Grout wrote: > On 1/24/12 11:59 PM, William Stein wrote: >> >> There will be >= 1 bug days. Fractional numbers are fine. > > I thought last time we had this discussion (for 35.5), the conclusion was to just have integer Sage Days, and sometimes they would be o

[sage-devel] Re: sage days numbering

2012-01-24 Thread Jason Grout
On 1/24/12 11:59 PM, William Stein wrote: There will be >= 1 bug days. Fractional numbers are fine. I thought last time we had this discussion (for 35.5), the conclusion was to just have integer Sage Days, and sometimes they would be out of order (i.e., the integers represented when the Sag

Re: [sage-devel] sage days numbering

2012-01-24 Thread William Stein
On Tuesday, January 24, 2012, Rob Beezer wrote: > On Jan 22, 9:39 pm, Dan Drake wrote: >> > Anyone know of any upcoming events not listed on the wiki page? Or, >> > are there any objections if we claim Sage Days 38? >> >> Sounds good to me. We'll do 37 here. > > And maybe will claim 39 for Sage D

[sage-devel] Re: sage days numbering

2012-01-24 Thread Rob Beezer
On Jan 22, 9:39 pm, Dan Drake wrote: > > Anyone know of any upcoming events not listed on the wiki page? Or, > > are there any objections if we claim Sage Days 38? > > Sounds good to me. We'll do 37 here. And maybe will claim 39 for Sage Days in Seattle in mid-June? Any plans for anything betwee

[sage-devel] Re: Should we unset SAGE_ENV_SOURCED in sage-native-execute?

2012-01-24 Thread Nils Bruin
On Jan 23, 11:39 am, Ivan Andrus wrote: > Or perhaps your question was why am I running it after sage-env has been > sourced?  Well that could probably be changed but I was running it after I > checked to make sure the location hasn't changed. That's probably what Volker meant. So it's probabl

[sage-devel] Re: Touch Interacts on iOS

2012-01-24 Thread Jason Grout
On 1/24/12 3:17 PM, Stephen Hartke wrote: On 1/22/12 12:56 PM, Stephen Hartke wrote: Cutting and pasting on an Android phone does not work well (I had to switch to plain text to paste into the code box).. Will there eventually be an option to "preload" code into the

Re: [sage-devel] Re: Touch Interacts on iOS

2012-01-24 Thread Stephen Hartke
> > On 1/22/12 12:56 PM, Stephen Hartke wrote: > >> Cutting and pasting on an Android phone does not work well (I had to >> switch to plain text to paste into the code box).. Will there > > eventually be an option to "preload" code into the single cell server? > > On Mon, Jan 23, 2012 at 9:20 PM,

[sage-devel] sparse matrices O(1)?

2012-01-24 Thread William Stein
Hi, I naively expected making the zero nxn sparse matrix in Sage to be O(1), and so might you. However: sage: get_memory_usage() 836.4921875 sage: time a = matrix(QQ, 2^25, sparse=True) Time: CPU 6.79 s, Wall: 6.79 s sage: get_memory_usage() 3908.30078125 sage: time b = matrix(QQ, 2^26, sparse=T

[sage-devel] Re: Android app

2012-01-24 Thread Aaron Dutle
I've got the same problems on my Droid X2, running 2.3.3. I can access aleph.sagemath.org, but computations all give me a "webpage not found" error. Kudos on the app though, I was hoping someone would write it, since I have no programming skills other than inside SAGE. Aaron On Jan 24, 1:33 pm,

Re: [sage-devel] ...Regarding THE CHANGE MAKERS ..

2012-01-24 Thread David Joyner
Banned, reported and removed. Sorry for the spam. On Tue, Jan 24, 2012 at 11:54 AM, Monica Basu wrote: > *Get onboard to save Environment and be a change maker….*We don’t > celebrate World Environment day only on 5th June but on each and every day. > This year we are planning *to plant 10 millio

[sage-devel] Re: Android app

2012-01-24 Thread Kiran Kedlaya
I get similar errors on my Droid 3 running Android 2.3.4 (and I can also see aleph.sagemath.org in my browser). Kiran On Jan 24, 10:04 am, Volker Braun wrote: > On Tuesday, January 24, 2012 5:07:33 AM UTC-8, jason wrote: > > > Can you reach aleph.sagemath.org with your web browser on that phone?

[sage-devel] Re: Android app

2012-01-24 Thread Volker Braun
On Tuesday, January 24, 2012 5:07:33 AM UTC-8, jason wrote: > > Can you reach aleph.sagemath.org with your web browser on that phone? > The results are html created on the phone, so one should never get a "Web page not available" error. Looks like the android WebView widget works slightly differe

[sage-devel] Re: Android app

2012-01-24 Thread Michael Madison
I tried it on a HTC Thunderbolt with Android 2.3.4 and it said it could not connect to the web page. Mike On Jan 23, 6:31 pm, Volker Braun wrote: > I have now implemented (some) interacts and away of selecting pre-written > Sage commands, so it is ready for some public pre-release. You can get i

[sage-devel] Re: vector products

2012-01-24 Thread Dox
You're very right! Sorry On Jan 24, 1:06 pm, Jason Grout wrote: > On 1/24/12 9:56 AM, Dox wrote: > > > Hi Jason, > > > Thank you for the suggestion. Nonetheless, the first does not work... > > I venture to guess that SAGE understand the product (*) as commutative > > for vectors... or somehow it

[sage-devel] Re: sage days numbering

2012-01-24 Thread Franco Saliola
On Mon, Jan 23, 2012 at 12:39 AM, Dan Drake wrote: > On Sun, 22 Jan 2012 at 01:41PM -0500, Franco Saliola wrote: >> Hello everyone. >> >> We will be organizing a Sage Days in Montreal (7-11 May), and we want >> to claim a number in order to start announcing, advertising, etc. >> >> On the wiki pag

Re: [sage-devel] Re: Call for vote: lrcalc as standard or optional spkg?

2012-01-24 Thread Nicolas M. Thiery
On Fri, Jan 20, 2012 at 11:36:52AM -0800, Nils Bruin wrote: > It looks like the warning mentioned in > > http://trac.sagemath.org/sage_trac/ticket/10333#comment:25 > > should go away if you delete > > " sage/libs/lrcalc/lrcalc" > > (doc/en/reference/libs.rst, line 28) > > Once your package g

[sage-devel] Re: FreeBSD and Sage - ccosh

2012-01-24 Thread kcrisman
On Jan 24, 11:13 am, Stephen Montgomery-Smith wrote: > On 01/24/12 08:31, kcrisman wrote: > > > > >> I just found > >> this.http://trac.sagemath.org/sage_trac/attachment/ticket/9543/cephes-2.8 > > >> I'm trying it now. > > It caused build errors in other sub-packages.  But I have spent too

Re: [sage-devel] Re: FreeBSD and Sage - ccosh

2012-01-24 Thread Stephen Montgomery-Smith
On 01/24/12 08:31, kcrisman wrote: I just found this.http://trac.sagemath.org/sage_trac/attachment/ticket/9543/cephes-2.8 I'm trying it now. It caused build errors in other sub-packages. But I have spent too many late nights on figuring out the FreeBSD build, and I am going to have to

[sage-devel] Re: vector products

2012-01-24 Thread Jason Grout
On 1/24/12 9:56 AM, Dox wrote: Hi Jason, Thank you for the suggestion. Nonetheless, the first does not work... I venture to guess that SAGE understand the product (*) as commutative for vectors... or somehow it is rearranged. u1.column()*u2.row() gives a 3x3 matrix. u1.row()*u1.column() gives

[sage-devel] Re: Android app

2012-01-24 Thread Eva
I'm getting the same error on a Samsung Galaxy S running Android 2.2 Froyo. I can also reach aleph.sagemath.org on my web browser (relatively quickly since I'm connected via wifi), and evaluate 1+1 to obtain 2. Eva On Jan 24, 9:39 am, javier wrote: > Hi Jason, > > On Jan 24, 1:07 pm, Jason Gro

[sage-devel] Re: vector products

2012-01-24 Thread Dox
Hi Jason, Thank you for the suggestion. Nonetheless, the first does not work... I venture to guess that SAGE understand the product (*) as commutative for vectors... or somehow it is rearranged. The outer_product is OK! Thank you so much! On Jan 24, 12:06 pm, Jason Grout wrote: > On 1/24/12 8:

[sage-devel] Re: vector products

2012-01-24 Thread Dox
Thx, this is it! On Jan 24, 12:01 pm, David Joyner wrote: > On Tue, Jan 24, 2012 at 9:57 AM, Dox wrote: > > Hi everyone, > > > Today I rediscover a "problem" with the product of vectors. > > > I've defined two vectors u1 and u2, > > > sage: u1 = vector([a,b,c]) > > sage: u2 = vector([d,f,g]) > >

[sage-devel] Re: vector products

2012-01-24 Thread Jason Grout
On 1/24/12 9:06 AM, Jason Grout wrote: On 1/24/12 8:57 AM, Dox wrote: Hi everyone, Today I rediscover a "problem" with the product of vectors. I've defined two vectors u1 and u2, sage: u1 = vector([a,b,c]) sage: u2 = vector([d,f,g]) then I try to construct the matrix u1*u2.column() sage: M

[sage-devel] Re: vector products

2012-01-24 Thread Jason Grout
On 1/24/12 8:57 AM, Dox wrote: Hi everyone, Today I rediscover a "problem" with the product of vectors. I've defined two vectors u1 and u2, sage: u1 = vector([a,b,c]) sage: u2 = vector([d,f,g]) then I try to construct the matrix u1*u2.column() sage: M = u1*u2.column() sage: show(M) but it i

Re: [sage-devel] vector products

2012-01-24 Thread David Joyner
On Tue, Jan 24, 2012 at 9:57 AM, Dox wrote: > Hi everyone, > > Today I rediscover a "problem" with the product of vectors. > > I've defined two vectors u1 and u2, > > sage: u1 = vector([a,b,c]) > sage: u2 = vector([d,f,g]) > > then I try to construct the matrix u1*u2.column() > > sage: M = u1*u2.c

[sage-devel] vector products

2012-01-24 Thread Dox
Hi everyone, Today I rediscover a "problem" with the product of vectors. I've defined two vectors u1 and u2, sage: u1 = vector([a,b,c]) sage: u2 = vector([d,f,g]) then I try to construct the matrix u1*u2.column() sage: M = u1*u2.column() sage: show(M) but it interprets the command as a vector

[sage-devel] Re: FreeBSD and Sage - ccosh

2012-01-24 Thread kcrisman
> >> So I modified it so that cephes now builds.  It seems to help a little, > >> because in the log file for r-2.14.0.p1.log it says that it found ccosh, > >> when previously it said it didn't. > > >> Nevertheless, I am still getting the same errors when I run > > >>> sage -t -force_lib "devel/sag

Re: [sage-devel] Re: FreeBSD and Sage - ccosh

2012-01-24 Thread Stephen Montgomery-Smith
On 01/24/2012 07:56 AM, kcrisman wrote: On Jan 24, 12:19 am, Stephen Montgomery-Smith wrote: On 01/23/2012 05:40 PM, Stephen Montgomery-Smith wrote: On 01/23/2012 12:34 PM, Jeroen Demeyer wrote: On 2012-01-23 14:27, Stephen Montgomery-Smith wrote: "ccosh" not found seemed like a common err

[sage-devel] Re: FreeBSD and Sage - ccosh

2012-01-24 Thread kcrisman
On Jan 24, 12:19 am, Stephen Montgomery-Smith wrote: > On 01/23/2012 05:40 PM, Stephen Montgomery-Smith wrote: > > > On 01/23/2012 12:34 PM, Jeroen Demeyer wrote: > >> On 2012-01-23 14:27, Stephen Montgomery-Smith wrote: > >>> "ccosh" not found seemed like a common error. > >> This might be solv

[sage-devel] Re: Android app

2012-01-24 Thread javier
Hi Jason, On Jan 24, 1:07 pm, Jason Grout wrote: > Can you reach aleph.sagemath.org with your web browser on that phone? Yes, it loads in my phone browser, though it takes almost an entire minute to load. Computations there work too. Cheers, Javier -- To post to this group, send an email to s

[sage-devel] Re: Android app

2012-01-24 Thread Jason Grout
On 1/24/12 6:41 AM, javier wrote: Hi Volker, thanks for your work on the droid app! In an HTC Desire with Cyanogenmod 7 (Android 2.3 Gingerbread) I keep getting "Web page not available" messages whenever I hit the run button. Can you reach aleph.sagemath.org with your web browser on that phon

[sage-devel] Re: Android app

2012-01-24 Thread javier
Hi Volker, thanks for your work on the droid app! In an HTC Desire with Cyanogenmod 7 (Android 2.3 Gingerbread) I keep getting "Web page not available" messages whenever I hit the run button. Cheers, Javier On Jan 24, 6:17 am, Volker Braun wrote: > I see from the market that it is crashing on