[sage-combinat-devel] Re: gap3 interface

2010-06-08 Thread Nicolas M. Thiery
Hi Franco! On Tue, Jun 08, 2010 at 12:20:31AM -0400, Franco Saliola wrote: I imagine that you would like the gap3 interface merged into sage-4.4.4. Twist my arm :-) It was positively reviewed and nearly merged into 4.4.4.alpha0, except for a doctest failure. That failure is not

[sage-combinat-devel] Re: #8327 Implement the universal cyclotomic field, using Zumbroich basis

2010-06-08 Thread Christian Stump
Salut Nicolas, thanks for your detailed answer! I implemented, as you suggested, a universal cyclotomic field. The problem is that this causes dependencies between basis elements. These are as follows: - if p divides n: [ ( p*n, p*k ) for (n,k) in ZumbroichBasis( n, 1 ) ] is contained in

[sage-combinat-devel] Re: #8327 Implement the universal cyclotomic field, using Zumbroich basis

2010-06-08 Thread Christian Stump
Another question I just thought about was: Do we want: 1. every element in the universal cyclotomic field living in exactly one cyclotomic field QQ( \zeta_n ) generated by ZumbroichBasis(n,1) for some n, or 2. can an element have several monomials living in different cyclotomic fields. In gap,

[sage-combinat-devel] Lazy Family membership check

2010-06-08 Thread Christian Stump
Hi all, is it on purpose that the method LazyFamily does not check membership when calling __getitem__? sage: a = Family( range(10), lambda i:i+2) sage: a[4] 6 sage: a[100] KeyError: 100 sage: b = Family( range(10), lambda i:i+2, lazy=True) sage: b[4] 6 sage: b[100] 102 Do you also think that

Re: [sage-devel] Standalone SageNotebook

2010-06-08 Thread Ondrej Certik
On Mon, Jun 7, 2010 at 2:00 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Jun 7, 2010, at 1:53 PM, Bill Page wrote: Once upon a time there was http://code.google.com/p/spdproject/ Source Python Distribution (SPD) is a Python distribution and many optional (mainly scientific)

Re: [sage-devel] Re: vote on moving Sage's IRC channel over to #sagemath

2010-06-08 Thread Ondrej Certik
On Mon, Jun 7, 2010 at 4:33 AM, Peter Jeremy peterjer...@acm.org wrote: On 2010-Jun-07 10:12:33 +0200, Fredrik Johansson fredrik.johans...@gmail.com wrote: I've heard good things about OFTC. I'll second that.  Myself and a couple of friends have been monitoring a channel on OFTC for the last

[sage-devel] Re: Inclusion of external library and compatibility between licenses ...

2010-06-08 Thread Jason Grout
On 6/7/10 4:47 PM, William Stein wrote: On Mon, Jun 7, 2010 at 1:37 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Jun 7, 2010, at 1:23 PM, Nathann Cohen wrote: Well, there's a technical and legal question here. On a technical note, it's better to put the C files in an spkg and

Re: [sage-devel] Portability question...

2010-06-08 Thread Florent Hivert
On Mon, Jun 07, 2010 at 05:12:55PM -0700, Justin C. Walker wrote: On Jun 7, 2010, at 06:12 , Florent Hivert wrote: Hi there, I've question concerning handling of hash value vs portability. Is sage developer guide manual one can read: Here is the definition of __hash__ from the

Re: [sage-devel] Re: Sage 4.4.4.alpha0 released / build reports

2010-06-08 Thread John Cremona
Built fine and all (ptestlong) tests passed on 32-but Suse and 64-bit ubuntu. John On 8 June 2010 03:50, leif not.rea...@online.de wrote: Ubuntu 9.04 x86 (Pentium4 Prescott, gcc 4.3.3): make build: OK make doc: OK make ptestlong: OK (All tests passed.) (Built with CFLAGS=-march=native

[sage-devel] Enumeration of the integer points of a polytope

2010-06-08 Thread Nathann Cohen
Hello everybody !!! A long, long time ago there had been some discussion going on about the possible enumeration of the integer points of a polytope... By sheer luck, I learned today of such a software named PORTA : http://www.iwr.uni-heidelberg.de/groups/comopt/software/PORTA/ So if anyone is

Re: [sage-devel] Enumeration of the integer points of a polytope

2010-06-08 Thread Robert Schwarz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/08/2010 11:30 AM, Nathann Cohen wrote: A long, long time ago there had been some discussion going on about the possible enumeration of the integer points of a polytope... By sheer luck, I learned today of such a software named PORTA :

[sage-devel] ANSI C vs. C99

2010-06-08 Thread Sergey Bochkanov
Hello, SAGE developers! I have a question about C standard which SAGE packages should conform to. Is it C99? Plain ANSI C? Modern ANSI C, i.e. ANSI C which borrowed several features from C99? I am working on Python=ALGLIB interface with intention to make it usable from SAGE. It

[sage-devel] Re: Problems building Sage 4.4.1

2010-06-08 Thread Matthew Gwynne
Hi, As some additional points of interest/questions for this problem: 1. Version 2.7.2 was the last Sage version which could be installed. We tried most versions since then (latest 4.4.2), and they all failed with the same error. 2. It is always the same package which fails. We don't have any

Re: [sage-devel] Re: Problems building Sage 4.4.1

2010-06-08 Thread David Kirkby
On 8 June 2010 17:17, Matthew Gwynne mathew.gwy...@gmail.com wrote: Hi, As some additional points of interest/questions for this problem: 1. Version 2.7.2 was the last Sage version which could be installed. We tried most versions since then (latest 4.4.2), and they all failed with the same

[sage-devel] Re: ANSI C vs. C99

2010-06-08 Thread Bill Hart
Flint for example, uses C99. However, use of C99 has caused problems for porting to Windows. My recommendation would be to stick with ANSI C as much as possible. I doubt comments // will be a problem. The inline sematics are different in c99 and in general cause a screwup across compiler

[sage-devel] Re: ANSI C vs. C99

2010-06-08 Thread leif
On 8 Jun., 14:21, Sergey Bochkanov sergey.bochka...@alglib.net wrote: Hello, SAGE developers! I  have a question about C standard which SAGE packages should conform to.  Is  it  C99?  Plain  ANSI  C?  Modern ANSI C, i.e. ANSI C which borrowed several features from C99? I think you should

[sage-devel] Re: Enumeration of the integer points of a polytope

2010-06-08 Thread Volker Braun
Can PPL find integral points in polyhedra with not necessarily integral vertices (mixed integer programming)? I'm somewhat familiar with the library but I don't see how to do that. Code sample? Volker On Jun 8, 12:13 pm, Robert Schwarz m...@rschwarz.net wrote: -BEGIN PGP SIGNED

[sage-devel] sagenb is down

2010-06-08 Thread Jason Grout
Sagenb seems like it has been down for an hour or so. Does anyone know if it is a bigger problem than just a simple restart? Thanks, Jason -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: ANSI C vs. C99

2010-06-08 Thread leif
On 8 Jun., 19:25, Bill Hart goodwillh...@googlemail.com wrote: Flint for example, uses C99. However, use of C99 has caused problems for porting to Windows. Windows... ;-) My recommendation would be to stick with ANSI C as much as possible. I doubt comments // will be a problem. Though many

[sage-devel] Re: sagenb is down

2010-06-08 Thread leif
On 8 Jun., 19:57, Jason Grout jason-s...@creativetrax.com wrote: Sagenb seems like it has been down for an hour or so.  Does anyone know if it is a bigger problem than just a simple restart? No idea. sagenb.org is down since at least a few hours (503 - service temporarily not available, from

Re: [sage-devel] sagenb is down

2010-06-08 Thread William Stein
It will be back soon... On Tue, Jun 8, 2010 at 10:57 AM, Jason Grout jason-s...@creativetrax.com wrote: Sagenb seems like it has been down for an hour or so.  Does anyone know if it is a bigger problem than just a simple restart? Thanks, Jason -- To post to this group, send an email to

[sage-devel] Re: sagenb is down

2010-06-08 Thread leif
On 8 Jun., 20:33, William Stein wst...@gmail.com wrote: It will be back soon... Yes, it is up again. Thanks, -Leif -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more

[sage-devel] spks examples and extcode

2010-06-08 Thread Mariah
Would a kind person explain to me (or point me at documentation that explains) what the following two spkgs contain and are supposed to do: examples-4.4.3.spkg extcode-4.4.3.spkg (I am trying to get a better understanding of Sage by looking at each of the spkgs.) Mariah -- To post to this

Re: [sage-devel] Re: Enumeration of the integer points of a polytope

2010-06-08 Thread Robert Schwarz
On 06/08/2010 07:50 PM, Volker Braun wrote: Can PPL find integral points in polyhedra with not necessarily integral vertices (mixed integer programming)? I'm somewhat familiar with the library but I don't see how to do that. Code sample? To be honest, I've only used it to compute linear

Re: [sage-devel] Re: ANSI C vs. C99

2010-06-08 Thread Robert Bradshaw
On Jun 8, 2010, at 11:05 AM, leif wrote: On 8 Jun., 19:25, Bill Hart goodwillh...@googlemail.com wrote: Flint for example, uses C99. However, use of C99 has caused problems for porting to Windows. Windows... ;-) My recommendation would be to stick with ANSI C as much as possible. I

Re: [sage-devel] spks examples and extcode

2010-06-08 Thread William Stein
On Tue, Jun 8, 2010 at 1:12 PM, Mariah mariah.le...@gmail.com wrote: Would a kind person explain to me (or point me at documentation that explains) what the following two spkgs contain and are supposed to do: examples-4.4.3.spkg This is the directory SAGE_ROOT/examples.I think it should

Re: [sage-devel] spks examples and extcode

2010-06-08 Thread Mike Hansen
On Tue, Jun 8, 2010 at 1:12 PM, Mariah mariah.le...@gmail.com wrote: Would a kind person explain to me (or point me at documentation that explains) what the following two spkgs contain and are supposed to do: examples-4.4.3.spkg This contains the files found under $SAGE_ROOT/examples/

[sage-devel] Re: Sage 4.4.4.alpha0 released / build reports

2010-06-08 Thread Georg S. Weber
On 8 Jun., 10:21, John Cremona john.crem...@gmail.com wrote: Built fine and all (ptestlong) tests passed on 32-but Suse and 64-bit ubuntu. John Same for MacIntel OS X 10.4 (32bit). Cheers, Georg -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from

[sage-devel] Lazy Family membership check

2010-06-08 Thread Christian Stump
Hi all, is it on purpose that the method LazyFamily does not check membership when calling __getitem__? sage: a = Family( range(10), lambda i:i+2) sage: a[4] 6 sage: a[100] KeyError: 100 sage: b = Family( range(10), lambda i:i+2, lazy=True) sage: b[4] 6 sage: b[100] 102 Do you also think that

[sage-devel] final projects for undergrad sage course

2010-06-08 Thread William Stein
Hi, In case people are interested, the materials from the final projects for the Python/Sage course [1] that Craig Citro and I just taught are here [2]: [1] http://wiki.wstein.org/10/480b [2] http://wstein.org/edu/2010/480b/projects/ -- William Stein Professor of Mathematics University

Re: [sage-devel] final projects for undergrad sage course

2010-06-08 Thread David Joyner
On Tue, Jun 8, 2010 at 7:30 PM, William Stein wst...@gmail.com wrote: Hi, In case people are interested, the materials from the final projects for the Python/Sage course [1] that Craig Citro and I just taught are here [2]: [1]   http://wiki.wstein.org/10/480b [2]  

[sage-devel] Re: Sage 4.4.4.alpha0 released / build reports

2010-06-08 Thread doug5y
Built with no problems and all tests ( ptestlong ) passed on Fedora 11 32 bit. Cheers, Doug Nadworny On Jun 8, 4:39 pm, Georg S. Weber georgswe...@googlemail.com wrote: On 8 Jun., 10:21, John Cremona john.crem...@gmail.com wrote: Built fine and all (ptestlong) tests passed on 32-but Suse and

[sage-devel] Re: final projects for undergrad sage course

2010-06-08 Thread Craig Citro
[1]  http://wiki.wstein.org/10/480b [2]  http://wstein.org/edu/2010/480b/projects/ Thanks. What distribution license is used for the lecture notes and projects? As far as the notes/assignments/anything else I wrote up there, it's cc-by-sa. -cc -- To post to this group, send an email to

Re: [sage-devel] Re: final projects for undergrad sage course

2010-06-08 Thread William Stein
On Tue, Jun 8, 2010 at 10:39 PM, Craig Citro craigci...@gmail.com wrote: [1]  http://wiki.wstein.org/10/480b [2]  http://wstein.org/edu/2010/480b/projects/ Thanks. What distribution license is used for the lecture notes and projects? As far as the notes/assignments/anything else I wrote