[sage-support] Re: accessing sage notebook with android phone

2009-07-22 Thread Rob Beezer
A student of mine was running a connection to a Sage notebook server on his Android phone last Friday. He showed me an interesting plot, so I know it was working properly. I'll point him to this discussion and see if I can get details. Rob Dan Christensen wrote: > Oh, if anyone *has* had succe

[sage-support] Re: accessing sage notebook with android phone

2009-07-22 Thread Dan Christensen
Oh, if anyone *has* had success, please report back, so we know if it's something peculiar to my phone or my accounts. For the record, I have an HTC Dream on the Rogers network running android 1.5 (cupcake). My browser version is 1.2.0008. Dan --~--~-~--~~~---~--~--

[sage-support] Re: accessing sage notebook with android phone

2009-07-22 Thread Dan Christensen
William Stein writes: > Well I have no clue at all. Can you access a local server you setup > (say from another linux box) from your Android phone? I had also tested that, with the same bad results. > I personally don't have access to an Android phone. Maybe I should > somehow get access t

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Michael Madison
Thanks all, That did it. It did seem to compile with errors however, it worked and my floating point code is 8 times faster! Thanks MIke On Wed, Jul 22, 2009 at 2:05 PM, Minh Nguyen wrote: > > Hi Michael, > > On Thu, Jul 23, 2009 at 6:55 AM, Michael > Madison wrote: > > All, I decided to try h

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Minh Nguyen
Hi Michael, On Thu, Jul 23, 2009 at 6:55 AM, Michael Madison wrote: > All, I decided to try hg and I created a clone and added a ~/.hrgc to the > /develope/sage directory with my infomation. However, the last patch put me > into the hg_editor-DwDTEO.txt and says the following: > > HG: Enter com

[sage-support] Re: accessing sage notebook with android phone

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 1:57 PM, Dan Christensen wrote: > > William Stein writes: > >> On Wed, Jul 22, 2009 at 7:54 AM, Dan Christensen wrote: >>> >>> When I try to log in to sagenb.org or a sage notebook on a personal >>> machine using the browser on my android phone, after entering username >>>

[sage-support] Re: accessing sage notebook with android phone

2009-07-22 Thread Dan Christensen
William Stein writes: > On Wed, Jul 22, 2009 at 7:54 AM, Dan Christensen wrote: >> >> When I try to log in to sagenb.org or a sage notebook on a personal >> machine using the browser on my android phone, after entering username >> and password I end up at an empty page whose title is "Error | Sa

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Michael Madison
All, I decided to try hg and I created a clone and added a ~/.hrgc to the /develope/sage directory with my infomation. However, the last patch put me into the hg_editor-DwDTEO.txt and says the following: HG: Enter commit message. lines beginning with 'HG:' HG: -- HG: user : Michael Madison madis

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Ethan Van Andel
Yet another question: When I compile my class, I get something like this: cdef class Riemann_Map: cdef int N, B, ncorners cdef f cdef opp cdef double complex a cdef np.ndarray[float,ndim = 1] tester ^ -

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Ethan Van Andel
Robert, Is there any prediction for when numpy complex types will work? (outside of the notebook, when compiling via sage -b) Thanks, Ethan --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, se

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Minh Nguyen
On Thu, Jul 23, 2009 at 4:36 AM, Robert Bradshaw wrote: > > On Jul 22, 2009, at 11:27 AM, William Stein wrote: > >> On Wed, Jul 22, 2009 at 11:21 AM, Michael >> Madison wrote: >>> >>> Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I >>> will attempt to follow the Sage Days 16 "

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Robert Bradshaw
On Jul 22, 2009, at 11:27 AM, William Stein wrote: > On Wed, Jul 22, 2009 at 11:21 AM, Michael > Madison wrote: >> >> Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I >> will attempt to follow the Sage Days 16 "How to get started with >> developing Sage" to apply the patches.

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Minh Nguyen
On Thu, Jul 23, 2009 at 4:27 AM, William Stein wrote: > > On Wed, Jul 22, 2009 at 11:21 AM, Michael > Madison wrote: >> >> Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I >> will attempt to follow the Sage Days 16 "How to get started with >> developing Sage" to apply the patch

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 11:21 AM, Michael Madison wrote: > > Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I > will attempt to follow the Sage Days 16 "How to get started with > developing Sage" to apply the patches.  At first look this does not > look straight forward.  Mike

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Michael Madison
Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I will attempt to follow the Sage Days 16 "How to get started with developing Sage" to apply the patches. At first look this does not look straight forward. Mike On Jul 22, 8:32 am, Robert Bradshaw wrote: > After applying bothh

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Robert Bradshaw
On Jul 22, 2009, at 10:55 AM, Ethan Van Andel wrote: > Robert, > > Should those double complex declarations give any speedup? Yes, lots (compared to using Python complex objects). The are complex analogues of int, double, float, etc. > Are they declaring the numpy complex type or something el

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Ethan Van Andel
Robert, Should those double complex declarations give any speedup? Are they declaring the numpy complex type or something else? Slightly unrelated, how are self.something variables handled? It seems like you can't cdef them, so are they then always going to be slow? If you cdef a variable and t

[sage-support] Re: accessing sage notebook with android phone

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 7:54 AM, Dan Christensen wrote: > > When I try to log in to sagenb.org or a sage notebook on a personal > machine using the browser on my android phone, after entering username > and password I end up at an empty page whose title is "Error | Sage > Notebook" and whose URL i

[sage-support] Graphics support for R within notebook interface?

2009-07-22 Thread SunKidDance
Hi, using sage 4.0.2 with the Windows notebook interface (via VM virtual machine) I wonder that there in no possibility to show a R plot "directly" in the notebook: x <- 1:10 plot(x) Error in png() : X11 is not available A 'capabilties()' call shows the reason: jpeg pngtcltk X11 h

[sage-support] Re: Rendering latex

2009-07-22 Thread VictorMiller
Ok, I've absorbed all of that. This morning it occured to me that it would be nice if one could define a class method called _html_. If present, it would try to render an htmlized (is that a word?) version of the class (just as __str__ renders a printable version or _latex_ renders a latex versi

[sage-support] Re: Rendering latex

2009-07-22 Thread VictorMiller
Ok, I've absorbed all of that. This morning it occured to me that it would be nice if one could define a class method called _html_. If present, it would try to render an htmlized (is that a word?) version of the class (just as __str__ renders a printable version or _latex_ renders a latex versi

[sage-support] Re: Rendering latex

2009-07-22 Thread VictorMiller
Ok, I've absorbed all of that. This morning it occured to me that it would be nice if one could define a class method called _html_. If present, it would try to render an htmlized (is that a word?) version of the class (just as __str__ renders a printable version or _latex_ renders a latex versi

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Robert Bradshaw
After applying both http://trac.sagemath.org/sage_trac/ticket/6438 and http://trac.sagemath.org/sage_trac/ticket/4571 , the notebook seems to work just as well as the command line, or just raw Cython. Hopefully this makes it into 4.1.1. As for complex types, there's still some issues of doi

[sage-support] accessing sage notebook with android phone

2009-07-22 Thread Dan Christensen
When I try to log in to sagenb.org or a sage notebook on a personal machine using the browser on my android phone, after entering username and password I end up at an empty page whose title is "Error | Sage Notebook" and whose URL is http://sagenb.org/login I can view published worksheets without

[sage-support] Re: changeing sage -b (cython)

2009-07-22 Thread Michael Madison
Ethen, Sorry I have not tried. I wanted to speed up some molecular dynamics code I have been playing with that uses numpy and I actually only need the real types. Also, I have been just working with the notebooks. For VMWARE the graphics does not work outside of the notebook interface. Since t

[sage-support] Re: Groebner bases over symbolic ring

2009-07-22 Thread Marshall Hampton
I guess I was trying to say that it would be nice if that could be done more easily, like if one could do sage: var('x,y,z') sage: fs = [x^2*y - y, sin(z)*x*y^2 - y*sin(z)] sage: SR.groebner_basis(fs, [x,y]) -Marshall On Jul 22, 3:47 am, Martin Albrecht wrote: > On Tuesday 21 July 2009, Mars

[sage-support] Re: units and absolute fields

2009-07-22 Thread davidloeffler
On Jul 21, 6:01 pm, mac8090 wrote: > For a field extension over Q of 2 values, for example M=QQ(i, sqrt > (2)), it is possible to find an absolute field X by the following > > L.=NumberField(x^2-2) > R.=L[] > M.=L.extension(t^2+1) > > (this gets M) > > X.=M.absolute_field() > > so far so good. A

[sage-support] Re: Groebner bases over symbolic ring

2009-07-22 Thread Martin Albrecht
On Tuesday 21 July 2009, Marshall Hampton wrote: > I would recommend looking at how Mathematica handles this sort of > thing. One of the things I miss is its ability to selectively treat > different variables as either part of a coefficient ring or as > multivariate polynomials. For example: > G

[sage-support] Re: units and absolute fields

2009-07-22 Thread John Cremona
M.units() will give a set of units which are a Z-basis for the units modulo roots of unity. There is no canonical basis, so there's no reason why (even if the unit ranks are the same) you should get the same generators. For more functionality with units construct U=X.unit_group() and look at the