[sage-devel] Re: notebook rewrite

2009-08-20 Thread ghtdak
. > > > Not surprising. Also, I forgot about the GIL, which truely limits the > > performance benifits of threading in Python. If anything ever kills > > Python, I bet it'll be the GIL (but I'm hopeful that it'll get removed > > before it causes an untimely death...) > > Maybe you can remove it :-

[sage-devel] Re: ECL as a library

2009-08-20 Thread Nils Bruin
On Aug 20, 2:09 pm, Juanjo wrote: > >  - If one keeps pointers to ECL objects outside of ECL's management > > (i.e., a cl_object pointer in a cython object), one needs to tell > > ECL's garbage collector about it. I don't know how. > > extern ECL_API void ecl_register_root(cl_object *p); > > But

[sage-devel] Re: Explicit variable of integration

2009-08-20 Thread Golam Mortuza Hossain
Hi, > http://trac.sagemath.org/sage_trac/ticket/6465 Patches are up and reviews are welcome. While (1) and (2) syntaxes are encouraged, (3) will remain valid until we sort out the coersion issue and update all doctests, tutorial etc. BTW, I did update some of the doctests including the docstr

[sage-devel] Re: cliquer

2009-08-20 Thread William Stein
On Thu, Aug 20, 2009 at 2:41 PM, Nathan Dunfield wrote: > On Aug 20, 10:22 am, William Stein wrote: > > On Thu, Aug 20, 2009 at 7:59 AM, Nathan Dunfield > wrote: > > >> If there are any OS X sysadmins out there that actually know how to > > >> create accounts remotely via the command line, let me

[sage-devel] Re: cliquer

2009-08-20 Thread Nathan Dunfield
On Aug 20, 10:22 am, William Stein wrote: > On Thu, Aug 20, 2009 at 7:59 AM, Nathan Dunfield wrote: > >> If there are any OS X sysadmins out there that actually know how to > >> create accounts remotely via the command line, let me know. > > > William, > > > The following works for me under 10.5.

[sage-devel] Re: ECL as a library

2009-08-20 Thread Juanjo
On Aug 20, 10:18 pm, Nils Bruin wrote: >  - If one keeps pointers to ECL objects outside of ECL's management > (i.e., a cl_object pointer in a cython object), one needs to tell > ECL's garbage collector about it. I don't know how. extern ECL_API void ecl_register_root(cl_object *p); But a more

[sage-devel] Re: enhance usability of symbolic expressions?

2009-08-20 Thread rjf
This is not a difference between lexical and dynamic scope. You can make Maxima work this way by doing infinite evaluation, e.g. ev(.., infeval). The model obviously makes some sense because maple and mathematica use it. The model obviously is not the only one, and since Maxima's default is

[sage-devel] Re: quoting netiquette

2009-08-20 Thread Simon King
Hi Nick! On 20 Aug., 21:22, Nick Alexander wrote: > Please: when you reply to a message, quote appropriately. +1 Actually, a year or so ago, there was already a thread on that matter. Cheers, Simon --~--~-~--~~~---~--~~ To post to this group, send an email to s

[sage-devel] Re: It takes too long to check "x in list" in symbolics!

2009-08-20 Thread Golam Mortuza Hossain
Hi, On Thu, Aug 20, 2009 at 3:03 PM, Jason Grout wrote: >> I guess, a policy decision is involved here as to whether use mathematical >> identities by default or as an option during comparison. To clarify: >> >> ex = sin(x)^2 + cos(x)^2 - 1 >> >> In pynac, for above expression "ex.is_zero()" test

[sage-devel] ECL as a library

2009-08-20 Thread Nils Bruin
A little experiment to see if ECL can be used as a library from python, and after browsing through ECL's API, it looks like it should be fairly straightforward to wrap the API with cython. The data format that ECL uses for its objects should also be easy to interface with, and since many of the at

[sage-devel] Re: A graph of the whole world....

2009-08-20 Thread Nathann Cohen
It took some time to build filters from the original files ( it is HTML I had to parse, nothing as clean as xml, sadly ) and several scripts... I will look again at the sources to see whether I could find an automatic way to do it... But the source is not clean at all, I had to change a lot

[sage-devel] Re: bibtex function

2009-08-20 Thread David Joyner
On Thu, Aug 20, 2009 at 1:17 PM, wrote: > > Hi > > Here > http://trac.sagemath.org/sage_trac/ticket/1348 > I suggested a bibtex() function. > > bibtex(sage) > bibtex(scipy) > etc. > > I am not able to implement it due to time and skill. > Whatever happened to that? There is this comment in #13

[sage-devel] quoting netiquette

2009-08-20 Thread Nick Alexander
Hello sage-devel, I have thought about writing this dozens of times and started writing it half a dozen times. I think it's now time to actually send it. Please: when you reply to a message, quote appropriately. A one line reply appended to three pages of text is bad etiquette. A three li

[sage-devel] Re: What's the view on updating Maxima?

2009-08-20 Thread William Stein
On Thu, Aug 20, 2009 at 11:43 AM, gsw wrote: > > Hi David, > > concerning your original question: > In Debian sid (==unstable currently), there are Maxima version 5.17.1, > and ECL version 9.6.1. > These versions are more recent than what currently comes with Sage. > But if we grade up to Maxima v

[sage-devel] Re: What's the view on updating Maxima?

2009-08-20 Thread gsw
Hi David, concerning your original question: In Debian sid (==unstable currently), there are Maxima version 5.17.1, and ECL version 9.6.1. These versions are more recent than what currently comes with Sage. But if we grade up to Maxima version 5.19.0 and ECL version 9.8.3, these versions were mor

[sage-devel] Re: A graph of the whole world....

2009-08-20 Thread John H Palmieri
On Aug 20, 2:18 am, Nathann Cohen wrote: > Hello !!! > > Starting from a kind of troll related to the next-to-be tour for > Graphs in Sage ( I wanted to color the map of western europe, but the > majority of Sage's users do not live there ), I tried to build a graph > of the whole world by using

[sage-devel] Re: A graph of the whole world....

2009-08-20 Thread Jason Grout
William Stein wrote: > On Thu, Aug 20, 2009 at 11:01 AM, Jason > Grout wrote: >> William Stein wrote: >>> On Thu, Aug 20, 2009 at 2:18 AM, Nathann Cohen >>> wrote: Hello !!! Starting from a kind of troll related to the next-to-be tour for Graphs in Sage ( I wanted to color the

[sage-devel] Re: A graph of the whole world....

2009-08-20 Thread William Stein
On Thu, Aug 20, 2009 at 11:01 AM, Jason Grout wrote: > > William Stein wrote: >> On Thu, Aug 20, 2009 at 2:18 AM, Nathann Cohen >> wrote: >>> Hello !!! >>> >>> Starting from a kind of troll related to the next-to-be tour for >>> Graphs in Sage ( I wanted to color the map of western europe, but th

[sage-devel] Re: It takes too long to check "x in list" in symbolics!

2009-08-20 Thread Jason Grout
Golam Mortuza Hossain wrote: > Hi, > > > On Thu, Aug 20, 2009 at 1:28 PM, William Stein wrote: >> On Thu, Aug 20, 2009 at 4:11 AM, Golam Mortuza >> Hossain wrote: >>> Hi, >>> >>> It takes too long to check whether x is in a list in new symbolics >>> >>> - >>> sage: var('x,x1,x2,x3,x4') >

[sage-devel] Re: A graph of the whole world....

2009-08-20 Thread Jason Grout
William Stein wrote: > On Thu, Aug 20, 2009 at 2:18 AM, Nathann Cohen wrote: >> Hello !!! >> >> Starting from a kind of troll related to the next-to-be tour for >> Graphs in Sage ( I wanted to color the map of western europe, but the >> majority of Sage's users do not live there ), I tried to buil

[sage-devel] bibtex function

2009-08-20 Thread jan
Hi Here http://trac.sagemath.org/sage_trac/ticket/1348 I suggested a bibtex() function. bibtex(sage) bibtex(scipy) etc. I am not able to implement it due to time and skill. Whatever happened to that? regards, Jan --~--~-~--~~~---~--~~ To post to this group, sen

[sage-devel] Re: cliquer

2009-08-20 Thread William Stein
On Thu, Aug 20, 2009 at 7:59 AM, Nathan Dunfield wrote: >> If there are any OS X sysadmins out there that actually know how to >> create accounts remotely via the command line, let me know. > > William, > > The following works for me under 10.5.8: What OS X computer do you have access to? It migh

[sage-devel] Re: Bressoud on Alpha

2009-08-20 Thread William Stein
On Thu, Aug 20, 2009 at 7:04 AM, kcrisman wrote: > > Dear sage-devel, > > MAA president David Bressoud talks about Wolfram Alpha here: > http://www.maa.org/columns/launchings/launchings_08_09.html > > The relevance to sage-devel is the interesting semantic interpreting > of various requests for in

[sage-devel] Re: What's the view on updating Maxima?

2009-08-20 Thread Dr. David Kirkby
Nick Alexander wrote: >> For the cases where fixing seems non-trivial, we can discuss >> here how to deal with them. > > Please post a log somewhere (not on list) so that the masses can take > a look. I can often identify trivial fixes quickly. > > Nick > > > > This was taken with a sligh

[sage-devel] Re: It takes too long to check "x in list" in symbolics!

2009-08-20 Thread William Stein
On Thu, Aug 20, 2009 at 9:57 AM, Golam Mortuza Hossain wrote: > > Hi, > > > On Thu, Aug 20, 2009 at 1:28 PM, William Stein wrote: >> >> On Thu, Aug 20, 2009 at 4:11 AM, Golam Mortuza >> Hossain wrote: >>> >>> Hi, >>> >>> It takes too long to check whether x is in a list in new symbolics >>> >>> --

[sage-devel] Re: It takes too long to check "x in list" in symbolics!

2009-08-20 Thread Golam Mortuza Hossain
Hi, On Thu, Aug 20, 2009 at 1:28 PM, William Stein wrote: > > On Thu, Aug 20, 2009 at 4:11 AM, Golam Mortuza > Hossain wrote: >> >> Hi, >> >> It takes too long to check whether x is in a list in new symbolics >> >> - >> sage: var('x,x1,x2,x3,x4') >> (x, x1, x2, x3, x4) >> sage: f = funct

[sage-devel] Re: What's the view on updating Maxima?

2009-08-20 Thread Nick Alexander
> For the cases where fixing seems non-trivial, we can discuss > here how to deal with them. Please post a log somewhere (not on list) so that the masses can take a look. I can often identify trivial fixes quickly. Nick --~--~-~--~~~---~--~~ To post to this gr

[sage-devel] Re: cliquer

2009-08-20 Thread Nathan Dunfield
> If there are any OS X sysadmins out there that actually know how to > create accounts remotely via the command line, let me know. William, The following works for me under 10.5.8: sudo mkdir -p /Users/ta sudo dscl . -create /Users/ta sudo dscl . -create /Users/ta PrimaryGroupID 20 sudo dscl .

[sage-devel] Re: It takes too long to check "x in list" in symbolics!

2009-08-20 Thread William Stein
On Thu, Aug 20, 2009 at 4:11 AM, Golam Mortuza Hossain wrote: > > Hi, > > It takes too long to check whether x is in a list in new symbolics > > - > sage: var('x,x1,x2,x3,x4') > (x, x1, x2, x3, x4) > sage: f = function('f') > sage: mylist = [x1,x2,x3,x4,f(x1),f(x2),f(x3),f(x4)] > > sage: t

[sage-devel] Re: proposal to make PIL standard

2009-08-20 Thread William Stein
On Thu, Aug 20, 2009 at 12:54 AM, Robert Bradshaw wrote: > > On Aug 13, 2009, at 4:32 PM, David Joyner wrote: > >> >> Hi: >> >> I'd like to suggest that PIL be made standard. This requires a vote. >> >> Though PIL is written in Python, the trac ticket >> http://trac.sagemath.org/sage_trac/ticket/6

[sage-devel] Re: A graph of the whole world....

2009-08-20 Thread William Stein
On Thu, Aug 20, 2009 at 2:18 AM, Nathann Cohen wrote: > > Hello !!! > > Starting from a kind of troll related to the next-to-be tour for > Graphs in Sage ( I wanted to color the map of western europe, but the > majority of Sage's users do not live there ), I tried to build a graph > of the whole w

[sage-devel] Re: A graph of the whole world....

2009-08-20 Thread Jason Grout
Nathann Cohen wrote: > 5234 characters.. This may be the best solution indeed :-) > > How can I know after that, though, the matching between vertices and > labels ? > What is the autmorphism group? You may be able to uniquely identify each vertex... :) I guess that's a bit harder question.

[sage-devel] Re: Bressoud on Alpha

2009-08-20 Thread Harald Schilly
On Aug 20, 4:04 pm, kcrisman wrote: > ... the interesting semantic interpreting > of various requests for integrals... My first thought on this: Uhm, so you not only don't know what Mathematica does, but you also no longer know how it actually understood your input!? (but nice graphics *g*) Isn'

[sage-devel] Bressoud on Alpha

2009-08-20 Thread kcrisman
Dear sage-devel, MAA president David Bressoud talks about Wolfram Alpha here: http://www.maa.org/columns/launchings/launchings_08_09.html The relevance to sage-devel is the interesting semantic interpreting of various requests for integrals in the second or third paragraph. Not that Sage will be

[sage-devel] Re: enhance usability of symbolic expressions?

2009-08-20 Thread Stan Schymanski
Just before you implement .subs(locals()) or .subs(globals()), could you test for the problem described in the following post? http://groups.google.com/group/sage-devel/browse_thread/thread/3ede8a9571033949/b26cc636859a6367?q=subs#b26cc636859a6367 One .subs(locals()) command used to screw up al

[sage-devel] Re: What's the view on updating Maxima?

2009-08-20 Thread Golam Mortuza Hossain
Hi, On Thu, Aug 20, 2009 at 8:08 AM, Dr. David Kirkby wrote: >>> A decision needs to be made about updating Maxima. First a few facts. >>> * I've created packages for *almost* the latest versions of ECL and Maxima. >>> >>> http://sage.math.washington.edu/home/kirkby/Solaris-fixes/ecl-9.8.3/ >>> h

[sage-devel] Re: Making a mirror of the documentation

2009-08-20 Thread Thierry Dumont
Harald Schilly a écrit : > > > outch, please don't torture our poor server with wget -- and i guess > it will not work. > everything that's below /doc is 1:1 generated by Sage! ./sage - > docbuild ... or if you have compiled it, it's already generated. > There is also http://sagemath.org/doc-zip/

[sage-devel] Re: Making a mirror of the documentation

2009-08-20 Thread Harald Schilly
On Aug 20, 2:19 pm, Thierry Dumont wrote: > Hi, > > Always for my "university wide Sage server" (yes, I'm back), I would > like to make the Sage documentation available for all the users, > together with other documentation (Python...). outch, please don't torture our poor server with wget -- an

[sage-devel] Re: Making a mirror of the documentation

2009-08-20 Thread Harald Schilly
On Aug 20, 2:19 pm, Thierry Dumont wrote: > Hi, > > Always for my "university wide Sage server" (yes, I'm back), I would > like to make the Sage documentation available for all the users, > together with other documentation (Python...). outch, please don't torture our poor server with wget -- an

[sage-devel] Making a mirror of the documentation

2009-08-20 Thread Thierry Dumont
Hi, Always for my "university wide Sage server" (yes, I'm back), I would like to make the Sage documentation available for all the users, together with other documentation (Python...). Is the best way to do: wget -r http://www.sagemath.org/doc/ or is there something better? Yours Thierry Dumon

[sage-devel] It takes too long to check "x in list" in symbolics!

2009-08-20 Thread Golam Mortuza Hossain
Hi, It takes too long to check whether x is in a list in new symbolics - sage: var('x,x1,x2,x3,x4') (x, x1, x2, x3, x4) sage: f = function('f') sage: mylist = [x1,x2,x3,x4,f(x1),f(x2),f(x3),f(x4)] sage: timeit('x in mylist') 5 loops, best of 3: 461 ms per loop If your program

[sage-devel] Re: A graph of the whole world....

2009-08-20 Thread Nathann Cohen
5234 characters.. This may be the best solution indeed :-) How can I know after that, though, the matching between vertices and labels ? On Aug 20, 11:36 am, Jason Grout wrote: > Nathann Cohen wrote: > > Hello !!! > > > Starting from a kind of troll related to the next-to-be tour for > > Graphs

[sage-devel] Re: What's the view on updating Maxima?

2009-08-20 Thread Dr. David Kirkby
Golam Mortuza Hossain wrote: > Hi, > > On Thu, Aug 20, 2009 at 6:45 AM, Dr. David > Kirkby wrote: >> A decision needs to be made about updating Maxima. First a few facts. >> >> >> * The version of Maxima (5.16.3) in Sage is quite old. >> * The version of ECL (9.4.1) in Sage is quite old. >> * The

[sage-devel] Re: enhance usability of symbolic expressions?

2009-08-20 Thread Harald Schilly
On Aug 19, 10:43 pm, Robert Bradshaw wrote: > Is u.subs(globals()) good enough? If it would work, yes ... expr.evaluate() could be just that, of course. plus, mentioning it in the introduction tutorials :) H --~--~-~--~~~---~--~~ To post to this group, send an

[sage-devel] Re: What's the view on updating Maxima?

2009-08-20 Thread MaxTheMouse
> > IMO, we should definitely upgrade to the latest versions of both. > Could you please give the number (roughly) of doctest failures in all? > > Best, > Golam After running sage -testall, I got ~60 failures which sounds like a lot. Not all are in maxima.py. However, many seem to be changes in

[sage-devel] Re: What's the view on updating Maxima?

2009-08-20 Thread Golam Mortuza Hossain
Hi, On Thu, Aug 20, 2009 at 6:45 AM, Dr. David Kirkby wrote: > > A decision needs to be made about updating Maxima. First a few facts. > > > * The version of Maxima (5.16.3) in Sage is quite old. > * The version of ECL (9.4.1) in Sage is quite old. > * The old ECL 9.4.1 will not build on Solaris

[sage-devel] What's the view on updating Maxima?

2009-08-20 Thread Dr. David Kirkby
A decision needs to be made about updating Maxima. First a few facts. * The version of Maxima (5.16.3) in Sage is quite old. * The version of ECL (9.4.1) in Sage is quite old. * The old ECL 9.4.1 will not build on Solaris with a SPARC processor. * The updated ECL will not work with the old Maxim

[sage-devel] Re: A graph of the whole world....

2009-08-20 Thread Jason Grout
Nathann Cohen wrote: > Hello !!! > > Starting from a kind of troll related to the next-to-be tour for > Graphs in Sage ( I wanted to color the map of western europe, but the > majority of Sage's users do not live there ), I tried to build a graph > of the whole world by using your dear CIA's data

[sage-devel] Re: Categories restart: call for reviewers

2009-08-20 Thread Minh Nguyen
Hi Javier, On Thu, Aug 20, 2009 at 7:17 PM, javier wrote: > > I would like to get more involved with Sage developing, and > "mathematical sanity check" looks like something I can certainly do > and a nice way to get started, so I will try to jump into this one. Welcome aboard! At the moment, the

[sage-devel] A graph of the whole world....

2009-08-20 Thread Nathann Cohen
Hello !!! Starting from a kind of troll related to the next-to-be tour for Graphs in Sage ( I wanted to color the map of western europe, but the majority of Sage's users do not live there ), I tried to build a graph of the whole world by using your dear CIA's data ( available freely on their webs

[sage-devel] Re: Categories restart: call for reviewers

2009-08-20 Thread javier
I would like to get more involved with Sage developing, and "mathematical sanity check" looks like something I can certainly do and a nice way to get started, so I will try to jump into this one. Mind that I haven't been involved with Sage any further than the mail lists so far, so any pointers w

[sage-devel] Re: cliquer

2009-08-20 Thread Nathann Cohen
what about ncohen, for a change ? :-) On Aug 20, 9:32 am, William Stein wrote: > On Thu, Aug 20, 2009 at 12:20 AM, Nathann Cohen > wrote: > > Hello !! > > > I am really sorry but I do not feel like I know more about Cliquer than > > anyone of us. I mainly built the spkg ( and it took me some ti

[sage-devel] Re: proposal to make PIL standard

2009-08-20 Thread Robert Bradshaw
On Aug 13, 2009, at 4:32 PM, David Joyner wrote: > > Hi: > > I'd like to suggest that PIL be made standard. This requires a vote. > > Though PIL is written in Python, the trac ticket > http://trac.sagemath.org/sage_trac/ticket/6741 > adds some functions which make the interface even easier to use

[sage-devel] Re: cliquer

2009-08-20 Thread William Stein
On Thu, Aug 20, 2009 at 12:20 AM, Nathann Cohen wrote: > Hello !! > > I am really sorry but I do not feel like I know more about Cliquer than > anyone of us. I mainly built the spkg ( and it took me some time because I > did not know how ), and in the end was told to use SCons to avoid > platform-

[sage-devel] Re: cliquer

2009-08-20 Thread Nathann Cohen
Hello !! I am really sorry but I do not feel like I know more about Cliquer than anyone of us. I mainly built the spkg ( and it took me some time because I did not know how ), and in the end was told to use SCons to avoid platform-dependent issues.. My only answer to theses tickets is that perhap