[sage-devel] Re: Set immutable?

2007-04-13 Thread Nick Alexander
Just a heads up: the Python folks debated immutable vs. mutable sets at some length. A little google-fu might be in order to address the issues they had with mutable sets and the language. Nick --~--~-~--~~~---~--~~ To post to this group, send email to [EMAIL PRO

[sage-devel] Re: A patch for rational and integers (Re: sage-2.4.2)

2007-04-13 Thread David Roe
I also have a patch for RDF.random_element. I've pasted it in below for comparison to ideas other people have. The interface is still incomplete (I wrote it in 5 minutes): I want to eventually provide an interface to all of the probability distributions that GSL offers. def random_element(se

[sage-devel] Re: ieShoes.com Shop nike air jordan air force 1 dunk sb bape sta shoes

2007-04-13 Thread David Joyner
He's been banned, reported, and the post removed from the archives. On 4/13/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > > Too bad google does not send spam to admins for review. > > On 4/13/07, www_ieshoes_com <[EMAIL PROTECTED]> wrote: > > > > > > > > Main Menu Search Basket Content Check

[sage-devel] Re: ieShoes.com Shop nike air jordan air force 1 dunk sb bape sta shoes

2007-04-13 Thread Timothy Clemans
Too bad google does not send spam to admins for review. On 4/13/07, www_ieshoes_com <[EMAIL PROTECTED]> wrote: > > > > Main Menu Search Basket Content Checkout Customer Service Order > Tracking AddFavorite > > > Member Login > Login Name: > Password: > Register > Forget your password? > > >

[sage-devel] ieShoes.com Shop nike air jordan air force 1 dunk sb bape sta shoes

2007-04-13 Thread www_ieshoes_com
Main Menu Search Basket Content Checkout Customer Service Order Tracking AddFavorite Member Login Login Name: Password: Register Forget your password? Categories Nike Shoes Air Force I Air Jordan 1-10 Air Jordan 11-22 Air Max TN Air Max 95

[sage-devel] Re: sage-2.4.2

2007-04-13 Thread William Stein
On 4/13/07, mabshoff <[EMAIL PROTECTED]> wrote: > > If you get libgd working, > > I did post a patch earlier. Should I submit it formally? Could you just make a new version of the gdmodule spkg and make that available to me? > > I just > > found a problem building real_mpfr.pyx in the SAGE libra

[sage-devel] Re: Set immutable?

2007-04-13 Thread William Stein
On 4/13/07, Kyle Schalm <[EMAIL PROTECTED]> wrote: > > >> you mean something like > >> > >> s = Set([1,2,3],immutable=True) > >> > >> ? that would work for me. > > > > Yes, exactly. Also, > > s = Set([1,2,3]) > > then > > s.set_immutable() > > when would someone want to change a set from

[sage-devel] Re: SymPy

2007-04-13 Thread Timothy Clemans
How fast should a symbolic computation library be? What is the fastest symbolic computation library? On 4/13/07, David Joyner <[EMAIL PROTECTED]> wrote: > > On 4/13/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > > > > If SymPy was written in C++ and had a Python interface in it what > > would b

[sage-devel] Re: A patch for rational and integers (Re: sage-2.4.2)

2007-04-13 Thread didier deshommes
On 4/13/07, William Stein <[EMAIL PROTECTED]> wrote: > Thanks. I've added it to the milestone. In general, I strongly encourage > people to ping me if their patches don't appear in official SAGE releases > in a timely manner. Please continue to do so -- it's no problem. > > William It doesn't

[sage-devel] Re: SymPy

2007-04-13 Thread David Joyner
On 4/13/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > > If SymPy was written in C++ and had a Python interface in it what > would be the likely hood of it being the backend for symbolic > computation in SAGE? Are you talking about Yacas? http://www.koders.com/python/fidDCC1B0FBFABC770277A288

[sage-devel] Re: Set immutable?

2007-04-13 Thread William Stein
On 4/13/07, Kyle Schalm <[EMAIL PROTECTED]> wrote: > >> while i'm on the topic of sets, is the Set class intended to be immutable? > > > > No. The builtin Python set type isn't immutable, so it doesn't > > seem sensible to make the SAGE one immutable. E.g., the > > builtin set type has an add m

[sage-devel] Re: Set immutable?

2007-04-13 Thread Kyle Schalm
>> while i'm on the topic of sets, is the Set class intended to be immutable? > > No. The builtin Python set type isn't immutable, so it doesn't > seem sensible to make the SAGE one immutable. E.g., the > builtin set type has an add method: ok, but there is no add method in the SAGE Set, nor

[sage-devel] Re: sage-2.4.2

2007-04-13 Thread mabshoff
On Apr 13, 8:21 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Hi Michael, > > Thanks for the work on cygwin. In the past we've packaged up > whatever was needed from a cygwin install, e.g., cygwin1.dll > and a bunch of other things, and it worked OK. > Ok. > If you get libgd working, I di

[sage-devel] Re: SymPy

2007-04-13 Thread Ondrej Certik
Hi all, I am the lead developer of SymPy and I just wanted to clarify a few things about SymPy's motivations. 1) Speed is not a (top) priority. Rewriting it in C++ will maybe be done in the future, but definitely not now, as we are still playing with the design. However, I think that rewriting t

[sage-devel] Re: SymPy

2007-04-13 Thread Timothy Clemans
If SymPy was written in C++ and had a Python interface in it what would be the likely hood of it being the backend for symbolic computation in SAGE? On 4/13/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > me: There are several SAGE people who are playing around with SymPy > and an optional packa

[sage-devel] Re: some sage development notes

2007-04-13 Thread Soroosh Yazdani
On Fri, Apr 13, 2007 at 10:08:43AM -0700, William Stein wrote: > This is great news! Many thanks for the volunteering of help. > Robert Bradshaw has also expressed interest in helping on the MacOSX > packaging. So that makes two volunteers so far. Is anybody interested > in helping with the L

[sage-devel] Re: SymPy

2007-04-13 Thread Timothy Clemans
me: There are several SAGE people who are playing around with SymPy and an optional package of SymPy for SAGE has been requested by William Sent at 11:50 AM on Friday Ondrej: I see feel free to ask on the sympy mailing list On 4/13/07, Bill Page <[EMAIL PROTECTED]> wrote: > > On April 13, 2007 11

[sage-devel] Re: sage-2.4.2

2007-04-13 Thread William Stein
Hi Michael, Thanks for the work on cygwin. In the past we've packaged up whatever was needed from a cygwin install, e.g., cygwin1.dll and a bunch of other things, and it worked OK. If you get libgd working, I just found a problem building real_mpfr.pyx in the SAGE library, which you'll run into

[sage-devel] Re: block sums

2007-04-13 Thread David Harvey
On Apr 13, 2007, at 2:08 PM, Robert Miller wrote: > sage: A = Matrix( GF(2), [[]] ) > sage: B = Matrix( GF(2), [[0]] ) > sage: A > [] > sage: B > [0] > sage: A.block_sum(B) > > [0] > [0] > sage: A = Matrix( GF(2), [] ) > sage: A > [] > sage: A.block_sum(B) > [0] I don't understand the problem.

[sage-devel] Re: some sage development notes

2007-04-13 Thread William Stein
On 4/13/07, Nick Alexander <[EMAIL PROTECTED]> wrote: > > It's not a paradox. The point is that SAGE is > > very much *not* only a volunteer committee. I hire four undergrads > > at 19/week to work on SAGE -- they are not volunteers at all -- SAGE > > is their job, and have hired a grad student

[sage-devel] Re: sage-2.4.2

2007-04-13 Thread mabshoff
Reagarding the patch: I just found out the hard way that for gdmodule one has to patch Setup.py.cygwin. Now it actually works if one invokes "make" in SAGE_ROOT: --- Setup.py.cygwin.orig2007-04-13 20:05:02.43750 +0200 +++ Setup.py.cygwin 2007-04-13 20:05:17.31250 +0200 @@ -1,

[sage-devel] block sums

2007-04-13 Thread Robert Miller
sage: A = Matrix( GF(2), [[]] ) sage: B = Matrix( GF(2), [[0]] ) sage: A [] sage: B [0] sage: A.block_sum(B) [0] [0] sage: A = Matrix( GF(2), [] ) sage: A [] sage: A.block_sum(B) [0] --~--~-~--~~~---~--~~ To post to this group, send email to [EMAIL PROTECTED] To

[sage-devel] Re: some sage development notes

2007-04-13 Thread Nick Alexander
"William Stein" <[EMAIL PROTECTED]> writes: > An anoymous person wrote: >> > SAGE is such a paradox. How are these things going to get done by a >> > volunteer community? Especially the boring things. I can't figure it >> > out. But then I can't figure out how any project like this gets off >> >

[sage-devel] Re: sage-2.4.2

2007-04-13 Thread William Stein
On 4/13/07, David Joyner <[EMAIL PROTECTED]> wrote: > 1. installation went fine on suse 10.1amd64 Thanks. Please check that when you type version() from in sage, it says 2.4.2. On one of my upgrades the problem with that missing file that was messing up cloning also messes up upgrading. If yo

[sage-devel] Re: sage-2.4.2

2007-04-13 Thread mabshoff
Ok, the problem is not in gdmodule, but libgd ask for symbols that were in libfl and libfontconfig (at least on my box ;) I am not working with hg yet (this is planned for the weekend), so this is just a "classic" diff: 61,72c61,65 < import os < if os.uname()[0][:6] == "CYGWIN": < want_libs

[sage-devel] Re: some sage development notes

2007-04-13 Thread William Stein
On 4/13/07, mabshoff <[EMAIL PROTECTED]> wrote: > > I tried to get started with 2.4.2, but that got sidelined by gdmodule > not linking properly. I will look into that next. If nobody else wants > to do it I will give packaging SAGE with cygwin a shot. I can also > help out with the app bundles on

[sage-devel] Re: A patch for rational and integers (Re: sage-2.4.2)

2007-04-13 Thread William Stein
On 4/13/07, Pablo De Napoli <[EMAIL PROTECTED]> wrote: > sorry for the inconvenience, I've sent it again since it was not mentionated > in the sage-2.5 milestone. > (And so.. I didn't know if you had received it or perphaps it was lost with > the spam..) Thanks. I've added it to the milestone.

[sage-devel] Re: A patch for rational and integers (Re: sage-2.4.2)

2007-04-13 Thread Pablo De Napoli
sorry for the inconvenience, I've sent it again since it was not mentionated in the sage-2.5 milestone. (And so.. I didn't know if you had received it or perphaps it was lost with the spam..) Pablo On 4/13/07, William Stein <[EMAIL PROTECTED]> wrote: > > > On 4/13/07, Pablo De Napoli <[EMAIL PROT

[sage-devel] Re: some sage development notes

2007-04-13 Thread mabshoff
Hello, > > - MS Windows: We need a .msi installer that installs cygwin and > SAGE together to a uers's directory. Gary Zablackis used to make one > of this, but he is no longer contributing to SAGE, unfortunately. I just did a little googling and I could not find anything specific about t

[sage-devel] Re: A patch for rational and integers (Re: sage-2.4.2)

2007-04-13 Thread William Stein
On 4/13/07, Pablo De Napoli <[EMAIL PROTECTED]> wrote: > Dear William: > > I've sent you a patch for improving the rational numbers and > integer implementations, more precisely: > > Have you received it? > > Just in case, I sent here an updated version, both as a patch (clear text) > and as a bun

[sage-devel] Re: SymPy

2007-04-13 Thread Bill Page
On April 13, 2007 11:02 AM William Stein wrote: > > On 4/13/07, Mike Hansen wrote: > > I definitely agree that SAGE's goals are quite a bit higher > > and more ambitious than those outlined on the SymPy project. > > While looking over the SymPy website, I was just surprised > > because I had neve

[sage-devel] Re: some sage development notes

2007-04-13 Thread William Stein
An anoymous person wrote: > > SAGE is such a paradox. How are these things going to get done by a > > volunteer community? Especially the boring things. I can't figure it > > out. But then I can't figure out how any project like this gets off > > the ground at all. It's not a paradox. The point

[sage-devel] A patch for rational and integers (Re: sage-2.4.2)

2007-04-13 Thread Pablo De Napoli
Dear William: I've sent you a patch for improving the rational numbers and integer implementations, more precisely: -fixing multiplicative_order so that it returns +Infinity instead of raising an exception. - fixing bugs (still present in sage-2.4.2) like sage: a=1/2 sage: a.is_one() True sage:

[sage-devel] Fwd: [sage-devel] log_html() crashes

2007-04-13 Thread didier deshommes
FYI, this is still present in 2.4.2 -- Forwarded message -- From: didier deshommes <[EMAIL PROTECTED]> Date: Feb 19, 2007 6:45 PM Subject: [sage-devel] log_html() crashes To: [EMAIL PROTECTED] Allo, {{{log_html}}} crashes because of undefined variable: {{{ sage: log_html () [..

[sage-devel] Re: Set immutable?

2007-04-13 Thread William Stein
On 4/13/07, Kyle Schalm <[EMAIL PROTECTED]> wrote: > while i'm on the topic of sets, is the Set class intended to be immutable? No. The builtin Python set type isn't immutable, so it doesn't seem sensible to make the SAGE one immutable. E.g., the builtin set type has an add method: > sage: a =

[sage-devel] Re: some sage development notes

2007-04-13 Thread William Stein
On 4/13/07, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > Looks like a very good roadmap (for widespread use). I've got some > comments and questions on distributions. > On Apr 13, 2007, at 12:05 AM, William Stein wrote: > > - OS X: We need an .app bundle for SAGE, i.e., a way to create a > > .

[sage-devel] Re: SymPy

2007-04-13 Thread Timothy Clemans
I have talked with Ondrej Certik many times. He wants a pure Python library for symbolic computation. Bobby has SymPy in his sage.math directory. I am very impressed with how well that project is going. I just think it will actually be useful. Bobby has worked very hard to make the exact kind of f

[sage-devel] Re: SymPy

2007-04-13 Thread William Stein
On 4/13/07, Mike Hansen <[EMAIL PROTECTED]> wrote: > I definitely agree that SAGE's goals are quite a bit higher and more > ambitious than those outlined on the SymPy project. While looking over the > SymPy website, I was just surprised because I had never heard of the project > and their scope s

[sage-devel] Re: sage-2.4.2

2007-04-13 Thread mabshoff
On Apr 13, 10:04 am, "William Stein" <[EMAIL PROTECTED]> wrote: > Hello, > > I've released sage-2.4.2. This is just a fairly minimal > bugfix release, though there are number of important optimizations > in it. There are probably about 10-15 patches from people > in my patch inbox that I haven

[sage-devel] Set immutable?

2007-04-13 Thread Kyle Schalm
while i'm on the topic of sets, is the Set class intended to be immutable? this does seem to be the intent, since there is no method on the object itself which can be used to change its value. however, In [58]: x=[1,2,3] In [59]: s=Set(x) In [60]: x[1]=5 In [61]: s Out[61]: {1, 3, 5} i pro

[sage-devel] patch for set.py

2007-04-13 Thread Kyle Schalm
i discovered a bug when i tried to use a Set as a dictionary key. i've included a patch below. i have also created a test case illustrating the bug -- in the future, where do i put this in the code/docs so it can go in the patch too? here is the test case: --- In [72]: d={Set([2*I,1+I]):1}

[sage-devel] Re: is_zero

2007-04-13 Thread Martin Albrecht
On Friday 13 April 2007 02:03, William Stein wrote: > On 4/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi there, > > > many classes in SAGE implement and test for is_zero. I think these > > > methods should be replaced with __nonzero__ methods, as this is the > > > standard way of >

[sage-devel] Re: SymPy

2007-04-13 Thread Mike Hansen
I definitely agree that SAGE's goals are quite a bit higher and more ambitious than those outlined on the SymPy project. While looking over the SymPy website, I was just surprised because I had never heard of the project and their scope seemed to be much wider than I had initially thought (quantum

[sage-devel] sage-2.4.2

2007-04-13 Thread William Stein
Hello, I've released sage-2.4.2. This is just a fairly minimal bugfix release, though there are number of important optimizations in it. There are probably about 10-15 patches from people in my patch inbox that I haven't included yet due to a lack of time. Those will be in the next SAGE releas

[sage-devel] Re: SymPy

2007-04-13 Thread William Stein
On 4/13/07, Mike Hansen <[EMAIL PROTECTED]> wrote: > I was just browsing around and saw that there are three Google Summer of > Code projects (through the Python Software Foundation) for work on SymPy -- > a CAS written in Python. Their goals seem to be very close to the goals of > SAGE with the

[sage-devel] SymPy

2007-04-13 Thread Mike Hansen
I was just browsing around and saw that there are three Google Summer of Code projects (through the Python Software Foundation) for work on SymPy -- a CAS written in Python. Their goals seem to be very close to the goals of SAGE with the exception of being "lightweight". I was wondering if anyon

[sage-devel] some sage development notes

2007-04-13 Thread William Stein
Hello, Within one year, I would like to push for SAGE to have at least ten thousand serious users instead of only a few hundred users (I estimate there are < 400 users of SAGE in the world today). I think the following are the main priorities if we want to make this happen: 1. Installation: