2009/6/5 Robert Bradshaw <rober...@math.washington.edu>:
>
> On Jun 5, 2009, at 2:15 AM, William Stein wrote:
>
>>
>> Hi,
>>
>> I'm writing a Sage "grand tour" worksheet with one section for each of
>> the 39 main modules in SAGE_ROOT/devel/sage/sage/.  For each, there is
>> a quick summary of what it is about and where it comes from, then a
>> short discussion fo where it is going next, followed by a couple of
>> examples.
>> You can see the current version here:
>>
>> http://480.sagenb.org/home/pub/45/
>>
>> If you have any corrections, additions, etc., to make, please email
>> them to me in response to this email. Thanks.  There are still about
>> 15 sections left to write.
>
> I think we've got more than 300,000 lines of code.
>
> Robert-Bradshaws-Laptop:~/sage/sage-4.0/devel/sage-main robert$ cat
> *.py */*.py */*/*.py */*/*/*.py */*/*.pyx */*/*/*.pyx | grep -v "^ *
> $" | wc
>   884811 3774914 35147766
> Robert-Bradshaws-Laptop:~/sage/sage-4.0/devel/sage-main robert$ cat
> *.py */*.py */*/*.py */*/*/*.py */*/*.pyx */*/*/*.pyx | grep "sage:"
> | wc
>   141677  571148 6443360

I like counting unique lines as a lower bound, since that eliminates a
lot of redundancy (e.g., r""" lines for all docstrings).  I get just
over 300,000 doing that:

teragon:sage wstein$ cat *.py */*.py */*/*.py */*/*/*.py *.pyx */*.pyx
*/*/*.pyx */*/*/*.pyx *.pxd */*.pxd */*/*.pxd */*/*/*.pxd |sort |uniq
|wc -l
cat: *.pyx: No such file or directory
cat: *.pxd: No such file or directory
  343084

But there are indeed a lot of lines of code to deal with!

>
> Algebras
>  - "has been hardly touched since" sounds pessimistic. I would say
> that it remained untouched until earlier this year, when people
> started contributing to it again (which leads into your examples).

That sentence was not about all algebras code, but about
free_algebra's, which indeed has hardly been touched.

>
> Combinat
>  - Is there a good quote by the combinat people about how happy they
> are to have switched? After all, we're trying to sell switching.

I don't have such a quote.

>  - It doesn't come across very strong that more than just porting
> has been going on.

I actually have the impression that not much beyond "just porting" has
been going on.  Somebody who knows better should correct me if I'm
wrong (but I don't see "just porting" as unimpressive, personally).
The only thing I know about is Dan Bump's work and the words library.
I've added something about the words library.

>
> Ext
>  - Yes, we should remove all of the python_* files now that they're
> shipped with Cython. It just hasn't been done yet (should be easy,
> but not sure what the fallout might be).

OK, this is now http://trac.sagemath.org/sage_trac/ticket/6227

>
> Finance
> - "time series of double precision numbers" would it be less accurate
> to just say "lists of double precision numbers."

That's accurate.

> Graphing
>  - "graph_isom is old, and needs to go" -- should indicate what it's
> been superseded by.

Since I have no idea, I'll just delete that sentence.

>
> Gsl
> - is syipy (nearly) a supserset of what GSL offers? If so, we should
> say so, or at least that it has a large user community and handles
> the needs of people in the numerical fields

Functionality wise scipy is nearly a superset, though GSL is much
easier to use from Cython since it is a C library. So both have a lot
to offer.

>
> Schemes
>  - Maybe show off elliptic curves a bit more (e.g. compute some BSD
> invariants, or at least the rank/generators, of 37a).
>
> Structure
>  An coercion example
>
> sage: R.<x> = ZZ[]
> sage: sage.structure.element.get_coercion_model().explain(1/2, x+4)
> Action discovered.
>     Left scalar multiplication by Rational Field on Univariate
> Polynomial Ring in x over Integer Ring
> Result lives in Univariate Polynomial Ring in x over Rational Field
> Univariate Polynomial Ring in x over Rational Field
> sage: 1/2 * (x+4)
> 1/2*x + 2

Nice.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to