Re: [sage-combinat-devel] Re: sage combinat install failed

2011-03-03 Thread Nicolas M. Thiery
On Wed, Mar 02, 2011 at 04:21:39PM +0100, Nicolas M. Thiery wrote: Ah ah! There is no change indeed; but as far as I remember, the sage-combinat script looks at the *output* of sage -hg status to check that there is indeed no change; I bet it is confused by this Detected SAGE64 flag message. I

Re: [sage-combinat-devel] Overriding cartesian_product

2011-03-03 Thread Nicolas M. Thiery
Hi Andrey, On Wed, Mar 02, 2011 at 09:56:45AM -0800, Andrey Novoseltsev wrote: I would appreciate some input on the following ticket http://trac.sagemath.org/sage_trac/ticket/10809 which constructs Cartesian products of toric varieties as a new toric variety (without remembering the

Re: [sage-combinat-devel] graph editor

2011-03-03 Thread Martin Rubey
Nicolas M. Thiery nicolas.thi...@u-psud.fr writes: If I add the following line to your function so that the small graphs are drawn by dot2tex instead: G[1].set_latex_options(format=dot2tex, prog=circo) then I get a reasonable picture (attached). awesome!!! Is there a way to make the

[sage-combinat-devel] Re: Incomplete posets

2011-03-03 Thread Andrey Novoseltsev
Hi Nicolas, On Mar 3, 7:00 am, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote:         Hi Andrey, On Sun, Feb 13, 2011 at 01:30:03PM -0800, Andrey Novoseltsev wrote: While writing an enhancement proposal on http://trac.sagemath.org/sage_trac/ticket/10777 I thought that it could be

[sage-combinat-devel] Re: Overriding cartesian_product

2011-03-03 Thread Andrey Novoseltsev
Hi Nicolas, On Mar 3, 6:44 am, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote:         Hi Andrey, On Wed, Mar 02, 2011 at 09:56:45AM -0800, Andrey Novoseltsev wrote: I would appreciate some input on the following ticket http://trac.sagemath.org/sage_trac/ticket/10809 which constructs

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

2011-03-03 Thread Simon King
Hi Nils and all, On 3 Mrz., 08:25, Nils Bruin nbr...@sfu.ca 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'),

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

2011-03-03 Thread Simon King
On 3 Mrz., 09:21, Simon King simon.k...@uni-jena.de 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

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

2011-03-03 Thread Simon King
Hi Burcin and all, On 2 Mrz., 17:36, Burcin Erocal bur...@erocal.org 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

[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_class

[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

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 to

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 lftab...@yahoo.es 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          

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

2011-03-03 Thread Robert Bradshaw
On Thu, Mar 3, 2011 at 2:52 AM, Simon King simon.k...@uni-jena.de wrote: Hi Burcin and all, On 2 Mrz., 17:36, Burcin Erocal bur...@erocal.org 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

Re: [sage-devel] Re: About GSoC

2011-03-03 Thread Hector
On Thu, Mar 3, 2011 at 11:49 PM, Harald Schilly harald.schi...@gmail.comwrote: 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

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

Re: [sage-devel] Re: About GSoC

2011-03-03 Thread Harald Schilly
On Thu, Mar 3, 2011 at 20:16, Dr. David Kirkby david.kir...@onetel.net 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

[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@googlegroups.com

[sage-devel] Re: Geogebra (again)

2011-03-03 Thread kcrisman
On Mar 3, 1:25 pm, mmarco mma...@unizar.es 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

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

2011-03-03 Thread Simon King
Hi Robert, On 3 Mrz., 20:02, Robert Bradshaw rober...@math.washington.edu wrote: On Thu, Mar 3, 2011 at 2:52 AM, Simon King simon.k...@uni-jena.de wrote: Hi Burcin and all, On 2 Mrz., 17:36, Burcin Erocal bur...@erocal.org wrote: People might want to use utf-8 strings which won't be valid

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

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

2011-03-03 Thread Robert Bradshaw
On Thu, Mar 3, 2011 at 1:23 PM, Simon King simon.k...@uni-jena.de wrote: Hi Robert, On 3 Mrz., 20:02, Robert Bradshaw rober...@math.washington.edu wrote: On Thu, Mar 3, 2011 at 2:52 AM, Simon King simon.k...@uni-jena.de wrote: Hi Burcin and all, On 2 Mrz., 17:36, Burcin Erocal

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

2011-03-03 Thread dmharvey
On Mar 2, 8:29 pm, Jonathan Hanke jonha...@gmail.com 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 jonha...@gmail.com letting me know, or just respond to this email. I have used them to help me

[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 reference.

[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 jan.raa...@googlemail.com wrote: Hi there, so I'm running Mac OS X 10.6 (Snow Leopard) on a first generation MacBook

Re: [sage-devel] Re: About GSoC

2011-03-03 Thread David Kirkby
On 3 March 2011 19:26, Harald Schilly harald.schi...@gmail.com wrote: On Thu, Mar 3, 2011 at 20:16, Dr. David Kirkby david.kir...@onetel.net 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

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 lftab...@yahoo.es 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. ?         -

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

2011-03-03 Thread Simon King
Hi Robert, On 3 Mrz., 22:48, Robert Bradshaw rober...@math.washington.edu 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

[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 Bradshawrober...@math.washington.edu 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