[sage-devel] Re: Preparsing madness...

2011-03-03 Thread Jason Grout
On 3/4/11 12:52 AM, Simon King wrote: Hi Robert, On 3 Mrz., 22:48, Robert Bradshaw wrote: I think allowing letters like ç is just fine, what I'm opposed to is letting our definition of valid symbol names vary from platform to platform and local to local. So, a useful definition would be to re

[sage-devel] Re: Preparsing madness...

2011-03-03 Thread Simon King
Hi Robert, On 3 Mrz., 22:48, Robert Bradshaw wrote: > I think allowing letters like ç is just fine, what I'm opposed to is > letting our definition of valid symbol names vary from platform to > platform and local to local. So, a useful definition would be to restrict to ASCII identifiers (no uni

Re: [sage-devel] Re: Questions regarding import from extension classes

2011-03-03 Thread Robert Bradshaw
On Thu, Mar 3, 2011 at 2:12 PM, luisfe wrote: > The difference is with sage.all > > $ sage -ipython > Python 2.6.4 (r264:75706, Jan 15 2011, 11:46:28) > Type "copyright", "credits" or "license" for more information. > > IPython 0.9.1 -- An enhanced Interactive Python. > ?         -> Introduction a

Re: [sage-devel] Re: About GSoC

2011-03-03 Thread David Kirkby
On 3 March 2011 19:26, Harald Schilly wrote: > On Thu, Mar 3, 2011 at 20:16, Dr. David Kirkby > wrote: >> IIRC we have not been successful in recent times. Do we get any feedback >> why? > > No, one vague guess is that there is a limit for each topic and we are > - obviously - in a small "math s

[sage-devel] Re: Error installing mpir-1.2.2.p2 (building sage-4.6.1/sage-4.6.2) on (32bit) Core Duo MacBook running OS X 10.6

2011-03-03 Thread Bill Hart
We've seen this before and if memory serves correctly it is due to an old assembler or compiler version. I can only recommend upgrading them. On Mar 1, 3:16 pm, Jan Raasch wrote: > Hi there, > > so I'm running Mac OS X 10.6 (Snow Leopard) on a first generation > MacBook (Yeah, the one with the ol

[sage-devel] Re: Questions regarding import from extension classes

2011-03-03 Thread luisfe
The difference is with sage.all $ sage -ipython Python 2.6.4 (r264:75706, Jan 15 2011, 11:46:28) Type "copyright", "credits" or "license" for more information. IPython 0.9.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick referen

[sage-devel] Re: QuadraticForm Impact/Usage information?

2011-03-03 Thread dmharvey
On Mar 2, 8:29 pm, Jonathan Hanke wrote: > Help out a fellow colleague with his promotion file.   Have you ever > used quadratic forms in Sage?  If so, please send me an email at > letting me know, or just respond to this email. I have used them to help me figure out examples for a grad number

Re: [sage-devel] Re: Preparsing madness...

2011-03-03 Thread Robert Bradshaw
On Thu, Mar 3, 2011 at 1:23 PM, Simon King wrote: > Hi Robert, > > On 3 Mrz., 20:02, Robert Bradshaw > wrote: >> On Thu, Mar 3, 2011 at 2:52 AM, Simon King wrote: >> > Hi Burcin and all, >> >> > On 2 Mrz., 17:36, Burcin Erocal wrote: >> >> People might want to use utf-8 strings which won't be v

Re: [sage-devel] QuadraticForm Impact/Usage information?

2011-03-03 Thread William Stein
Yes, and I can chime in to having used them in: (1) computing Heegner points (2) computing Kolyvagin classes, where finding representation numbers of ternary quadratic forms is important (3) computing Brandt matrices, i.e., Hecke operators on the free abelian group on right ideal classes i

[sage-devel] Re: Preparsing madness...

2011-03-03 Thread Simon King
Hi Robert, On 3 Mrz., 20:02, Robert Bradshaw wrote: > On Thu, Mar 3, 2011 at 2:52 AM, Simon King wrote: > > Hi Burcin and all, > > > On 2 Mrz., 17:36, Burcin Erocal wrote: > >> People might want to use utf-8 strings which won't be valid under that > >> condition. See #7496: > > >>http://trac.sa

[sage-devel] Re: Geogebra (again)

2011-03-03 Thread kcrisman
On Mar 3, 1:25 pm, mmarco wrote: > I have been trying to build a proof of concept of a class that would > handle the geogebra integration in the worksheet. > > My basic idea was to have a .show() method that would create the > applet itself, and then define some methods that use the javascript >

[sage-devel] Re: Preparsing madness...

2011-03-03 Thread kcrisman
> > What is needed to do in order to "localize" a regular expression? > > -100 for valid identifiers/sage variable names to be a function of the > users locality. Yeah, that could make sharing worksheets and/or code really tough. -- To post to this group, send an email to sage-devel@googlegroup

Re: [sage-devel] Re: About GSoC

2011-03-03 Thread Harald Schilly
On Thu, Mar 3, 2011 at 20:16, Dr. David Kirkby wrote: > IIRC we have not been successful in recent times. Do we get any feedback > why? No, one vague guess is that there is a limit for each topic and we are - obviously - in a small "math software" topic. Let's see, trying again doesn't hurt. H

Re: [sage-devel] Re: About GSoC

2011-03-03 Thread Dr. David Kirkby
On 03/ 3/11 06:19 PM, Harald Schilly wrote: I'm in charge this year. I'll write something up and everybody how wants to be a possible mentor please contact me (I'll also contact some usual suspects). greetings Harald IIRC we have not been successful in recent times. Do we get any feedback why

Re: [sage-devel] Re: About GSoC

2011-03-03 Thread Hector
On Thu, Mar 3, 2011 at 11:49 PM, Harald Schilly wrote: > I'm in charge this year. I'll write something up and everybody how wants to > be a possible mentor please contact me (I'll also contact some usual > suspects). > > greetings Harald > > -- > To post to this group, send an email to sage-devel@

Re: [sage-devel] Re: Preparsing madness...

2011-03-03 Thread Robert Bradshaw
On Thu, Mar 3, 2011 at 2:52 AM, Simon King wrote: > Hi Burcin and all, > > On 2 Mrz., 17:36, Burcin Erocal wrote: >> People might want to use utf-8 strings which won't be valid under that >> condition. See #7496: >> >> http://trac.sagemath.org/sage_trac/ticket/7496 > > I was reading in the Python

Re: [sage-devel] Questions regarding import from extension classes

2011-03-03 Thread Robert Bradshaw
On Thu, Mar 3, 2011 at 7:08 AM, luisfe wrote: > Could someone highlight why the following happens? > > from a sage session, the names that can be imported from > sage.rings.integer_ring are: > > {{{ > EuclideanDomains     Z                    factor > is_IntegerRing > IntegerRing          ZZ      

Re: [sage-devel] Re: profiling Sage startup

2011-03-03 Thread Harald Schilly
On Wednesday, February 23, 2011 10:56:10 PM UTC+1, robertwb wrote: > > And this is with the directory presumably in the FS cache. ... just because I read this, you can flush the disk cache via: sudo sh -c "sync && echo 3 > /proc/sys/vm/drop_caches" H -- To post to this group, send an email

[sage-devel] Re: About GSoC

2011-03-03 Thread Harald Schilly
I'm in charge this year. I'll write something up and everybody how wants to be a possible mentor please contact me (I'll also contact some usual suspects). greetings Harald -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Questions regarding import from extension classes

2011-03-03 Thread luisfe
Could someone highlight why the following happens? from a sage session, the names that can be imported from sage.rings.integer_ring are: {{{ EuclideanDomains Zfactor is_IntegerRing IntegerRing ZZ factorizationring IntegerRing_classari

[sage-devel] Re: Preparsing madness...

2011-03-03 Thread Simon King
Hi Burcin and all, On 2 Mrz., 17:36, Burcin Erocal wrote: > People might want to use utf-8 strings which won't be valid under that > condition. See #7496: > > http://trac.sagemath.org/sage_trac/ticket/7496 I was reading in the Python docs of the re module that the meaning of \w depends on the lo

[sage-devel] Re: Preparsing madness...

2011-03-03 Thread Simon King
On 3 Mrz., 09:21, Simon King wrote: > If it would work, I think the test above should be implemented as a > function in sage.misc.defaults. In that way, it could also be used by > normalize_variable_names. I meant "used by sage.structure.parent_gens.normalize_names". -- To post to this group, s

[sage-devel] Re: Preparsing madness...

2011-03-03 Thread Simon King
Hi Nils and all, On 3 Mrz., 08:25, Nils Bruin wrote: > A possibly somewhat heavyhanded approach: > > sage: import tokenize,StringIO > sage: S="QQ['t'], a, a_2, for" > sage: list((a[0],a[1]) for a in > tokenize.generate_tokens(StringIO.StringIO(S).readline)) > [(1, 'QQ'), (51, '['), (3, "'t'"), (5