[sage-devel] Epydoc API Documentation for Sage

2008-07-17 Thread Mike Hansen
Hello all, I played around a bit with Epydoc this morning and was able to get it to produce semi-decent output for Sage (by explicitly importing sage.all at the top of the epydoc script). You can find the documentation at http://sage.math.washington.edu/home/mhansen/sage-epydoc . --Mike (Note

[sage-devel] Re: does zn_poly normally take a long time to build?

2008-07-17 Thread David Harvey
On Jul 16, 2008, at 11:54 PM, tkeller wrote: I may have been imprecise. To clarify, zn_poly built, then displayed this message: Calibrating cycle counter... ok (3.84e+18) Okay, this means that zn_poly thinks your clock speed is around 3.84 billion GHz. (Yes, 3.84 * 10^18 cycles per

[sage-devel] [Sage Bug Report] Invalid polynomials generated in formal group law calculation

2008-07-17 Thread Hamish
Dear sage-devel, I have recently come across a bug which is perhaps best summarised in the following code (I've removed a big chunk of the backtrace to make it easier to read; the full backtrace is available at the end of this message): --- BEGIN --- sage: k.a = GF(5^2, 'a') sage:

[sage-devel] Re: [Sage Bug Report] Invalid polynomials generated in formal group law calculation

2008-07-17 Thread David Harvey
Hi, I don't have time to debug this now, but I want to mention that it sounds suspiciously similar to this ticket: http://sagetrac.org/sage_trac/ticket/2943 Maybe there are some clues there, but I never quite got to the bottom of it. david On Jul 17, 2008, at 8:50 AM, Hamish wrote: Dear

[sage-devel] Re: [Sage Bug Report] Invalid polynomials generated in formal group law calculation

2008-07-17 Thread Hamish
On Jul 17, 2:58 pm, David Harvey [EMAIL PROTECTED] wrote: I don't have time to debug this now, but I want to mention that   it sounds suspiciously similar to this ticket: http://sagetrac.org/sage_trac/ticket/2943 It certainly does. (I probably should have filtered the tickets with power

[sage-devel] Re: Sage 3.0.6.alpha0 released

2008-07-17 Thread David Joyner
Installed fine and all tests passed on amd64 hardy heron. On Wed, Jul 16, 2008 at 11:48 PM, mabshoff [EMAIL PROTECTED] wrote: Hello folks, this is 3.0.6.alpha0. This release is a mix of bug fixes and new features. Nothing crazy has been merged so far and it is unclear at the moment how

[sage-devel] Re: does zn_poly normally take a long time to build?

2008-07-17 Thread tkeller
Rebuilt 3.0.5 and didn't have any issues this time. Cycle counter gave (1.68e+09) this time around and zn_poly built in about 2 minutes or so. I also rebuilt 3.0.3 and likewise didn't have any problems. Sorry for the phantom bug report. Thomas On Jul 17, 6:36 am, David Harvey [EMAIL PROTECTED]

[sage-devel] Re: does zn_poly normally take a long time to build?

2008-07-17 Thread David Harvey
On Jul 17, 2008, at 10:31 AM, tkeller wrote: Rebuilt 3.0.5 and didn't have any issues this time. Cycle counter gave (1.68e+09) this time around and zn_poly built in about 2 minutes or so. I also rebuilt 3.0.3 and likewise didn't have any problems. Sorry for the phantom bug report. I've

[sage-devel] Re: [Sage Bug Report] Invalid polynomials generated in formal group law calculation

2008-07-17 Thread David Harvey
On Jul 17, 2008, at 9:51 AM, Hamish wrote: I don't have time to debug this now, but I want to mention that it sounds suspiciously similar to this ticket: http://sagetrac.org/sage_trac/ticket/2943 It certainly does. (I probably should have filtered the tickets with power series instead of

[sage-devel] Re: Epydoc API Documentation for Sage

2008-07-17 Thread John Cremona
I took a quick look at that link and it looks brilliant to me. Just this afternoon Francis Clarke and I were saying how nice it would be to have something just like this, and I observed that there was probably someone in the Sage community clever enough to do it. Were you reading my mind? John

[sage-devel] Re: Epydoc API Documentation for Sage

2008-07-17 Thread David Joyner
Wow. This is amazing and great that you did this! Thanks very much Mike. On Thu, Jul 17, 2008 at 6:06 AM, Mike Hansen [EMAIL PROTECTED] wrote: Hello all, I played around a bit with Epydoc this morning and was able to get it to produce semi-decent output for Sage (by explicitly importing

[sage-devel] Re: Epydoc API Documentation for Sage

2008-07-17 Thread David Harvey
On Jul 17, 2008, at 6:06 AM, Mike Hansen wrote: Hello all, I played around a bit with Epydoc this morning and was able to get it to produce semi-decent output for Sage (by explicitly importing sage.all at the top of the epydoc script). You can find the documentation at

[sage-devel] Re: Epydoc API Documentation for Sage

2008-07-17 Thread John Cremona
The weirdness seems to appear when the default for a parameter is None. What extra magic would cause the latex parts of the docstrings to be jsmath'ed ? John 2008/7/17 David Harvey [EMAIL PROTECTED]: On Jul 17, 2008, at 6:06 AM, Mike Hansen wrote: Hello all, I played around a bit with

[sage-devel] Re: Epydoc API Documentation for Sage

2008-07-17 Thread William Stein
On Thu, Jul 17, 2008 at 12:06 PM, Mike Hansen [EMAIL PROTECTED] wrote: Hello all, I played around a bit with Epydoc this morning and was able to get it to produce semi-decent output for Sage (by explicitly importing sage.all at the top of the epydoc script). You can find the documentation

[sage-devel] Re: Epydoc API Documentation for Sage

2008-07-17 Thread Mike Hansen
On Thu, Jul 17, 2008 at 11:53 AM, John Cremona [EMAIL PROTECTED] wrote: The weirdness seems to appear when the default for a parameter is None. Yeah, I'm not exactly sure why it's doing that. What extra magic would cause the latex parts of the docstrings to be jsmath'ed ? There are two

[sage-devel] Re: Sage 3.0.6.alpha0 released

2008-07-17 Thread John Cremona
Installed fine and all tests passed, with these flags set: SAGE_BUILD_THREADS=2 SAGE_PBUILD=yes on here: Linux version 2.6.18.8-0.3-default ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Tue Apr 17 08:42:35 UTC 2007 John 2008/7/17 David Joyner [EMAIL

[sage-devel] Re: Epydoc API Documentation for Sage

2008-07-17 Thread Mike Hansen
On Thu, Jul 17, 2008 at 2:44 PM, Mike Hansen [EMAIL PROTECTED] wrote: 4) Ran the following command epydoc --html -o sage-epydoc sage Sorry about the double post, but you'll want to add a --docformat=plaintext option in there as well. --Mike

[sage-devel] remove or hide a method?

2008-07-17 Thread John H Palmieri
This is probably a stupid question: Is there a way to hide or delete a method for a class? If I do this: class SteenrodAlgebra(Algebra): blah blah then do A = SteenrodAlgebra() then A has inherited all of the methods from the Algebra class, many of which are useful, but some of

[sage-devel] Re: remove or hide a method?

2008-07-17 Thread Mike Hansen
On Thu, Jul 17, 2008 at 2:52 PM, John H Palmieri [EMAIL PROTECTED] wrote: This is probably a stupid question: Is there a way to hide or delete a method for a class? If I do this: class SteenrodAlgebra(Algebra): blah blah then do A = SteenrodAlgebra() then A has inherited

[sage-devel] Re: remove or hide a method?

2008-07-17 Thread William Stein
On Thu, Jul 17, 2008 at 9:57 PM, Mike Hansen [EMAIL PROTECTED] wrote: On Thu, Jul 17, 2008 at 2:52 PM, John H Palmieri [EMAIL PROTECTED] wrote: This is probably a stupid question: Is there a way to hide or delete a method for a class? If I do this: class SteenrodAlgebra(Algebra):

[sage-devel] Minor documentation error

2008-07-17 Thread Bill Hart
This page: http://www.sagemath.org/doc/html/prog/node72.html claims: You can browse the official repositories for Sage with your web browser here: http://sagemath.org/sage/hg This appears to not be valid at present. It returns a 404. Bill.

[sage-devel] Fwd: [sage-devel] Minor documentation error

2008-07-17 Thread William Stein
Hi Harald, What happened to the hg repos? Before you modified the web page, http://sagemath.org/hg pointed to all the hg repos for sage. Now it doesn't anymore. We need to have a www2/hg directory, I think. -- Forwarded message -- From: Bill Hart [EMAIL PROTECTED] Date:

[sage-devel] Re: Sage 3.0.6.alpha0 released

2008-07-17 Thread Andrzej Giniewicz
Hi, small report - compiled fine, all tests passed (but that's what was reported by make test)... looking into test.log there's still segfault with tachyon test: sage -t devel/sage/sage/plot/tachyon.pysh: line 1: 2 Naruszenie ochrony pamięci tachyon

[sage-devel] Re: Minor documentation error

2008-07-17 Thread Harald Schilly
On Jul 17, 11:23 pm, Bill Hart [EMAIL PROTECTED] wrote: browser here:http://sagemath.org/sage/hg Seems to be a bug in the documentation, the correct link is http://www.sagemath.org/hg/ or http://hg.sagemath.org/ Harald PS: don't forget the trailing / ... directory vs. file problem

[sage-devel] another coercion question

2008-07-17 Thread John H Palmieri
I have several different vector space bases for an algebra A, and I have implemented this by having a class MyAlgebra, instances of which have an attribute _basis_name which is a string naming the basis. I have __cmp__ defined so that the basis is ignored: any two instances are canonically

[sage-devel] Re: book that uses sage

2008-07-17 Thread Daryl Hammond
In section 1.1.3 of your book you state: The smallest currently open challenge is RSA-704, worth $30.000: ... In 2007 RSA withdrew all unsolved factoring challenges: http://www.rsa.com/rsalabs/node.asp?id=2094 RSA-704 remains unsolved, but solving it today will only earn you a mention in

[sage-devel] Re: another coercion question

2008-07-17 Thread Carl Witty
On Jul 17, 3:30 pm, John H Palmieri [EMAIL PROTECTED] wrote: I have several different vector space bases for an algebra A, and I have implemented this by having a class MyAlgebra, instances of which have an attribute _basis_name which is a string naming the basis.  I have __cmp__ defined so

[sage-devel] Re: another coercion question

2008-07-17 Thread John H Palmieri
On Jul 17, 4:51 pm, Carl Witty [EMAIL PROTECTED] wrote: On Jul 17, 3:30 pm, John H Palmieri [EMAIL PROTECTED] wrote: I have several different vector space bases for an algebra A, and I have implemented this by having a class MyAlgebra, instances of which have an attribute _basis_name

[sage-devel] Re: Identification with ldap.

2008-07-17 Thread Michael_D_G
I am in the processes of implementing ldap authentication as well... although it is not going so smoothly. I was trying to override the classes in user_db.py with some custom classes. Fine. That seems ok. The UserDatabase is used throughout twist.py which seemed to be the server software.

[sage-devel] Re: Parent and Element support for non numeric data

2008-07-17 Thread Kurt
On Jul 16, 2:39 pm, Mike Hansen [EMAIL PROTECTED] wrote: I have a class which represents the set of words over an alphabet (but is not a Monoïd since it also contains infinite words) and another class which represents a word.  These classes have a natural Parent/Element relationship

[sage-devel] python warning module and computation warnings

2008-07-17 Thread Jason Grout
In working on the eigenspaces command, if an inexact ring uses the generic algorithm, we want to warn the user that the answer may not make sense because of numerical issues. Currently this is done by refusing to compute the eigenspaces unless a special option is set to true. Instead, I

[sage-devel] Re: Minor documentation error

2008-07-17 Thread William Stein
On Thu, Jul 17, 2008 at 11:45 PM, Harald Schilly [EMAIL PROTECTED] wrote: On Jul 17, 11:23 pm, Bill Hart [EMAIL PROTECTED] wrote: browser here:http://sagemath.org/sage/hg Seems to be a bug in the documentation, the correct link is http://www.sagemath.org/hg/ or http://hg.sagemath.org/

[sage-devel] Re: Identification with ldap.

2008-07-17 Thread William Stein
On Fri, Jul 18, 2008 at 2:17 AM, Michael_D_G [EMAIL PROTECTED] wrote: I am in the processes of implementing ldap authentication as well... although it is not going so smoothly. I was trying to override the classes in user_db.py with some custom classes. Fine. That seems ok. The UserDatabase

[sage-devel] Re: another coercion question

2008-07-17 Thread William Stein
On Fri, Jul 18, 2008 at 2:11 AM, John H Palmieri [EMAIL PROTECTED] wrote: On Jul 17, 4:51 pm, Carl Witty [EMAIL PROTECTED] wrote: On Jul 17, 3:30 pm, John H Palmieri [EMAIL PROTECTED] wrote: I have several different vector space bases for an algebra A, and I have implemented this by

[sage-devel] Re: Sage 3.0.5/3.0.6.alpha0: doctest failure in ssmod.py

2008-07-17 Thread mabshoff
Ok, here is what I found out last night: * 3.0.3 runs the test 200 times without failing it once * 3.0.4 with the new FLINT 1.0.13 fails 8 ought of 500 tests. So we are given a couple possibilities: * There is an algorithmic issue in ssmod somewhere or some algorithmic issue got exposed