[sage-devel] sagenb.org

2010-06-08 Thread William Stein
Hi, I re-enabled creation of accounts on sagenb.org. I used symlinks and divide the directories into some subdirectories. Let me know if there are suddenly mysterious problems. -- William -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this

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 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 up th

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

[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" wrote: > On 8 Jun., 10:21, John Cremona wrote: > > > Built fine and all (ptestlong) tests passed on 32-but Suse and 64-bit > > ubuntu. > > > John > > Same fo

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 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]   http://wstein.org/edu/2010/480b/p

[sage-devel] MPIR 2.1.0 released

2010-06-08 Thread Minh Nguyen
Hi folks, MPIR 2.1.0 was released on 08th June 2010. * source tarball: http://www.mpir.org/mpir-2.1.0.tar.gz * documentation: http://www.mpir.org/mpir-2.1.0.pdf * full changelog: http://www.mpir.org/changes.html See the MPIR website (www.mpir.org) for known issues and a list of supported platfor

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

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

[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 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 this group, send an em

Re: [sage-devel] spks examples and extcode

2010-06-08 Thread Mike Hansen
On Tue, Jun 8, 2010 at 1:12 PM, Mariah 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/ > extcode-4.4.3.spkg Thi

Re: [sage-devel] spks examples and extcode

2010-06-08 Thread William Stein
On Tue, Jun 8, 2010 at 1:12 PM, Mariah 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 be removed from Sage

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 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 prob

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 desc

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

[sage-devel] Re: sagenb is down

2010-06-08 Thread leif
On 8 Jun., 20:33, William Stein 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 options, visit this gro

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 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@googlegr

[sage-devel] Re: sagenb is down

2010-06-08 Thread leif
On 8 Jun., 19:57, Jason Grout 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 boxen, which is up). -Lei

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

2010-06-08 Thread leif
On 8 Jun., 19:25, Bill Hart 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 compilers (and preproce

[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+unsubscr...@googlegrou

[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 wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1

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

2010-06-08 Thread leif
On 8 Jun., 14:21, Sergey Bochkanov 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 *either* use ANSI C89, I

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

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

2010-06-08 Thread David Kirkby
On 8 June 2010 17:17, Matthew Gwynne 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 error. Looking a

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

[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

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] 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 i

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 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 -fno-strict-alia

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 __has

[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 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 then link to them from the Sag