[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread John H Palmieri
On Aug 21, 11:03 pm, John H Palmieri wrote: > Okay, so what information do we need to include in the banner?  I > suggest we vote on each item, and then worry about how to word each > item and how to assemble all of the results.  I'll post suggestions, > and then I'll vote myself in a separate me

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread John H Palmieri
Okay, so what information do we need to include in the banner? I suggest we vote on each item, and then worry about how to word each item and how to assemble all of the results. I'll post suggestions, and then I'll vote myself in a separate message. * Type "notebook()" for the notebook interfac

[sage-devel] Re: notebook rewrite

2009-08-21 Thread William Stein
On Fri, Aug 21, 2009 at 9:28 PM, ghtdak wrote: > > > I wonder if this has contributed to the lack of contributions to the > > notebook relative to other parts of Sage. > > The Notebook has a major problem. The pexpect code is opaque and > kludgy and includes strings of python code which get inje

[sage-devel] Re: notebook rewrite

2009-08-21 Thread Thierry Dumont
Yoav Aner a écrit : > > only web-based requests. Google also try to push users to have a > google account to authenticate. It might be a good or a bad thing, > depending on your perspective. Amazon EC2 in that respect gives you > more flexibility I believe. I would personally avoid either from a >

[sage-devel] Re: notebook rewrite

2009-08-21 Thread ghtdak
> > def doThings(): > > >     myDeferred = someting_that_blocks(); > > >     def doThingOne(result1): > >          print("doing ThingOne", result1) > >          return sqrt(result1) > >     myDeferred.addCallback(doThingOne) > > >      def doThingTwo(result2): > >          print("doing ThingTwo",

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread Dr. David Kirkby
John H Palmieri wrote: > Here's a proposal: the banner could look like this (looks best in > fixed-width font -- the first line and the last two lines are > centered): > > -- > |Sage version 4.1.1, release date 2009-0

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread Robert Bradshaw
On Aug 21, 2009, at 6:02 PM, Nick Alexander wrote: > On 21-Aug-09, at 4:00 PM, John H Palmieri wrote: > >> >> Here's a proposal: the banner could look like this (looks best in >> fixed-width font -- the first line and the last two lines are >> centered): >> >>

[sage-devel] Re: notebook rewrite

2009-08-21 Thread Robert Bradshaw
On Aug 21, 2009, at 4:18 PM, ghtdak wrote: > >> >>> Of course, this is the penultimate reason that going multi- >>> threaded in >>> python is insane... not only do you get the opportunity to learn all >>> about synchronization and thread management, you also enjoy non- >>> deterministic bugs whi

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

2009-08-21 Thread Golam Mortuza Hossain
Hi. On Fri, Aug 21, 2009 at 5:47 PM, William Stein wrote: > >> Personally, I am for accepting pynac's answer by default as it >> would massively speed up test like "if x in list" for symbolics. > > We must default to pynac, in my opinion.  The question then just becomes > how to make pynac's comp

[sage-devel] Re: notebook rewrite

2009-08-21 Thread ghtdak
> > > Of course, this is the penultimate reason that going multi-threaded in > > python is insane... not only do you get the opportunity to learn all > > about synchronization and thread management, you also enjoy non- > > deterministic bugs which only take days or weeks to solve whereas more > >

[sage-devel] Re: Sage leaving processes running

2009-08-21 Thread William Stein
On Fri, Aug 21, 2009 at 4:44 PM, Dr. David Kirkby wrote: > > I've just run 'make test' on Sage. That has now completed. Sage is not > being used, nor anything else that uses python. > > What I see is that there are 3 Maxima processes running, all using lots > of CPU time. Python is still running t

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread Nick Alexander
On 21-Aug-09, at 4:00 PM, John H Palmieri wrote: > > Here's a proposal: the banner could look like this (looks best in > fixed-width font -- the first line and the last two lines are > centered): > > -- > |Sage versi

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread John H Palmieri
Here's a proposal: the banner could look like this (looks best in fixed-width font -- the first line and the last two lines are centered): -- |Sage version 4.1.1, release date 2009-08-14 | |

[sage-devel] Re: notebook rewrite

2009-08-21 Thread Yoav Aner
Sounds like a great idea to me to de-couple the notebook from sage. Appengine is not the only option though (but maybe the cheapest at least for now), you could probably use an Amazon EC2 instance just as easily (and with some more facilities at your disposal, having a virtual server running). So

[sage-devel] Re: ECL as a library

2009-08-21 Thread Robert Bradshaw
On Fri, 21 Aug 2009, Nils Bruin wrote: > > Maxima can indeed be coerced into behaving like a library in ECL. The > changes required are relatively small and it would be easy to > incorporate them into the current spkg. I haven't bothered, since > other people are already working on a new maxima.

[sage-devel] Re: ECL as a library

2009-08-21 Thread Nils Bruin
Maxima can indeed be coerced into behaving like a library in ECL. The changes required are relatively small and it would be easy to incorporate them into the current spkg. I haven't bothered, since other people are already working on a new maxima. Details posted on: http://trac.sagemath.org/sage_

[sage-devel] Sage leaving processes running

2009-08-21 Thread Dr. David Kirkby
I've just run 'make test' on Sage. That has now completed. Sage is not being used, nor anything else that uses python. What I see is that there are 3 Maxima processes running, all using lots of CPU time. Python is still running too. As you can see, the load average is quite high too. For reas

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

2009-08-21 Thread William Stein
On Thu, Aug 20, 2009 at 1:37 PM, Golam Mortuza Hossain wrote: > > 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 =

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

2009-08-21 Thread Robert Bradshaw
On Fri, 21 Aug 2009, Nathann Cohen wrote: > > Actually, it should not load the graph when graph_generator is loaded. > Anyway, I think that if it was the case, the error would be printed a > Sage's startup and not when I call the function, which is my current > situation :-/ > > When I remove all

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

2009-08-21 Thread Nathann Cohen
Actually, it should not load the graph when graph_generator is loaded. Anyway, I think that if it was the case, the error would be printed a Sage's startup and not when I call the function, which is my current situation :-/ When I remove all the docstrings, this functions is pretty simple : def

[sage-devel] Re: showcasing ticket #6381: bug in integral_points when rank is large

2009-08-21 Thread John Cremona
I'll reply to this more fully later. In the case reported the range of x was more like 10^10 and it failed since range(10^10) fails (or maybe it was 10^1000 , ...). In the new version it does not fail, though it takes far too long to be practical. On my todo list is to do thisusing the newly wr

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

2009-08-21 Thread Tim Abbott
On Thu, 20 Aug 2009, William Stein wrote: > > 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 wh

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread William Stein
On Fri, Aug 21, 2009 at 11:24 AM, Harald Schilly wrote: > > On Aug 21, 7:12 pm, Simon King wrote: > > return a > > dictionary D, where.. > > I like that idea! > Let's start with collecting commands: > > import sys; sys.platform for the platform? > > os.environ['SAGE_ROOT'] might be nice for bugre

[sage-devel] Re: ECL as a library

2009-08-21 Thread Nils Bruin
On Aug 21, 2:27 am, Juanjo wrote: > [...] ecl_register_root is only scarcely > used, and only for static variables. If you keep references to objects > in the C stack, this will not be needed (as far as the garbage > collector knows your thread) Thank you very much. Keeping an array of pointers

[sage-devel] Re: Version 4.1.1 cannot be launched in Debian unstable

2009-08-21 Thread Harald Schilly
On Aug 21, 6:41 pm, Minh Nguyen wrote: > Harald Schilly reported a similar problem ... I had no problem, it was just this one i was talking about ;) H --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from th

[sage-devel] Re: scipy 09 sympy videos

2009-08-21 Thread Jason Grout
Ondrej Certik wrote: > Hi, > > here is the sympy tutorial I gave at the SciPy 09 conference at Caltech: > > http://www.archive.org/details/scipy09_advancedTutorialDay1_4 > > here is the main sympy presentation: > > http://www.archive.org/details/scipy09_day1_13-Ondrej_Certik Thanks for posti

[sage-devel] Re: Version 4.1.1 cannot be launched in Debian unstable

2009-08-21 Thread William Stein
On Fri, Aug 21, 2009 at 9:41 AM, Minh Nguyen wrote: > > Hi, > > On Sat, Aug 22, 2009 at 12:49 AM, HZ wrote: > > > > Hi all, > > > > I have just downloaded and installed sagemath 4.1.1 in my computer on > > which Debian unstable is running. After successfully decompressing > > the tarball and cha

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread Harald Schilly
On Aug 21, 7:12 pm, Simon King wrote: > return a > dictionary D, where.. I like that idea! Let's start with collecting commands: import sys; sys.platform for the platform? os.environ['SAGE_ROOT'] might be nice for bugreports? import multiprocessing; multiprocessing.cpu_count() for cpu count,

[sage-devel] Re: Version 4.1.1 cannot be launched in Debian unstable

2009-08-21 Thread Jason Grout
HZ wrote: > Hi all, > > I have just downloaded and installed sagemath 4.1.1 in my computer on > which Debian unstable is running. After successfully decompressing > the tarball and change directory into it, the launch of `./sage' > command fails however. It seems that there are some bash progra

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread David Kirkby
2009/8/21 Simon King : > However, I am not so sure if I want to see all technical data when > starting sage. Imagine how this would look on sage.math -- would it > list all 24 processors? > > Cheers, > Simon I don't see anything wrong with '24 CPUs' I feel if people use a remote system, it is

[sage-devel] Re: showcasing ticket #6381: bug in integral_points when rank is large

2009-08-21 Thread Minh Nguyen
On Sat, Aug 22, 2009 at 2:14 AM, Minh Nguyen wrote: > Hi folks, > > I'm trying to showcase the feature introduced by ticket #6381. In the > release tour for Sage 4.1.1 at > > http://wiki.sagemath.org/sage-4.1.1 > > you can see the following claim: > >> (bug in integral_points when rank is large):

[sage-devel] showcasing ticket #6381: bug in integral_points when rank is large

2009-08-21 Thread Minh Nguyen
Hi folks, I'm trying to showcase the feature introduced by ticket #6381. In the release tour for Sage 4.1.1 at http://wiki.sagemath.org/sage-4.1.1 you can see the following claim: > (bug in integral_points when rank is large): > > The function integral_x_coords_in_interval() for finding all >

[sage-devel] new group sage-marketing

2009-08-21 Thread Harald Schilly
Hello, I've just created http://groups.google.com/group/sage-marketing It's about promoting Sage, developing information materials, posters, sheets, t-shirts and similar. Everyone who wants to help spreading the word about Sage is invited! H --~--~-~--~~~---~--~~

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread William Stein
On Fri, Aug 21, 2009 at 8:37 AM, John H Palmieri wrote: > > On Aug 21, 8:17 am, Craig Citro wrote: > > > Perhaps a function "get_help()" (or "help()") could print a link to > > > sage-support, could print the needed technical data, *and* could print > > > a brief introduction on how to post a goo

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread Simon King
Hi David, On Aug 21, 5:54 pm, David Kirkby wrote: > 2009/8/21 Simon King : [...] > I don't see anything wrong with '24 CPUs' Sure, '24 CPUs' is short enough. But by "listing all 24 CPUs", I mean something like the output of "cat /proc/cpuinfo", which really is quite long. I am +1 concerning a

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread Robert Bradshaw
On Fri, 21 Aug 2009, Dr. David Kirkby wrote: > > When Sage starts, it gives you the version and license, but not much else. > > -- > | Sage Version 4.1.1, Release Date: 2009-08-14 | > | Type notebook() for t

[sage-devel] Re: Version 4.1.1 cannot be launched in Debian unstable

2009-08-21 Thread Minh Nguyen
Hi, On Sat, Aug 22, 2009 at 12:49 AM, HZ wrote: > > Hi all, > > I have just downloaded and installed sagemath 4.1.1 in my computer on > which Debian unstable is running. After successfully decompressing > the tarball and change directory into it, the launch of `./sage' > command fails however.

[sage-devel] Re: notebook rewrite

2009-08-21 Thread Robert Bradshaw
On Thu, 20 Aug 2009, ghtdak wrote: >>> 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...

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

2009-08-21 Thread William Stein
On Fri, Aug 21, 2009 at 4:49 AM, Nathann Cohen wrote: > > Do you have any idea how it is possible to call the "load" function > from graph_generators.py ? > I cannot use "load" as the function is not defined yet, nor can I > directly write : > return sage.structure.sage_object.load("graph_

[sage-devel] Re: Explicit variable of integration

2009-08-21 Thread Robert Bradshaw
On Thu, 20 Aug 2009, Golam Mortuza Hossain wrote: > > 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, tuto

[sage-devel] Version 4.1.1 cannot be launched in Debian unstable

2009-08-21 Thread HZ
Hi all, I have just downloaded and installed sagemath 4.1.1 in my computer on which Debian unstable is running. After successfully decompressing the tarball and change directory into it, the launch of `./sage' command fails however. It seems that there are some bash programming errors in the sc

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread John H Palmieri
On Aug 21, 8:17 am, Craig Citro wrote: > > Perhaps a function "get_help()" (or "help()") could print a link to > > sage-support, could print the needed technical data, *and* could print > > a brief introduction on how to post a good request (i.e., odds are > > that we understand what the user mea

[sage-devel] Re: ECL as a library

2009-08-21 Thread William Stein
On Fri, Aug 21, 2009 at 2:27 AM, Juanjo < juanjose.garciarip...@googlemail.com> wrote: > > On Aug 21, 2:08 am, Nils Bruin wrote: > > Thank you! Should I call that on any cl_object that lives outside ecl? > > or only (as the name suggests) on the root of a cl_object tree? > > If you have a single

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread Craig Citro
> Perhaps a function "get_help()" (or "help()") could print a link to > sage-support, could print the needed technical data, *and* could print > a brief introduction on how to post a good request (i.e., odds are > that we understand what the user means): > I much prefer something along these line

[sage-devel] Re: quoting netiquette

2009-08-21 Thread Minh Nguyen
Hi Nick, On Fri, Aug 21, 2009 at 5:22 AM, Nick Alexander wrote: > > 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

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

2009-08-21 Thread Harald Schilly
On Aug 20, 11:08 pm, rjf wrote: > Totally separating variable names -- that is, names that can be > assigned values, and > symbols, that cannot be assigned (ever) could clarify matters, but I > think that no CAS does this. I'm not sure how you mean it, but it's probably the case that Sage does s

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

2009-08-21 Thread Alex Ghitza
I have just posted a patch at http://trac.sagemath.org/sage_trac/ticket/6699 which takes care of all but one doctest failure *on Linux systems* due to the new ECL and Maxima spkg's. If anybody has ideas about how to deal with the last doctest, it would be great to hear about it. It also remain

[sage-devel] Symbolic signum (sgn) function and Kronecker delta in Sage

2009-08-21 Thread Golam Mortuza Hossain
Hi, Do we have symbolic Kronecker delta in Sage? While I could find signum (sgn) function but it returns wrong answer for symbolic input. sage: sgn(x) 1 These are very useful for symbolic computation in Physics. Cheers, Golam --~--~-~--~~~---~--~

[sage-devel] Re: patch reviews (PolyBoRi patch)

2009-08-21 Thread Alexander Dreyer
ears, to /opt/sunstudio12.1 here is the one I used: http://sage.math.washington.edu/home/dreyer/pb063/polybori-0.6.3-20090821-AD.spkg Note, that it's very inofficial! > I note that this also add '-m64' as a linker flag if SAGE64 is set to > 'yes'. Looking at one .spkg

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread Simon King
Hi! On Aug 21, 12:13 pm, David Joyner wrote: > I don't object much but I wonder if variable output should always > be tested and I don't know how to test the banner display. If this is > not voted for, I would like to see this as an option to the "version" > command. It is indeed not nice if th

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

2009-08-21 Thread Nathann Cohen
Do you have any idea how it is possible to call the "load" function from graph_generators.py ? I cannot use "load" as the function is not defined yet, nor can I directly write : return sage.structure.sage_object.load("graph_world.sobj") as sage is not defined at that time either... ^^;

[sage-devel] Re: formal power series package

2009-08-21 Thread Minh Nguyen
Hi Henryk, On Fri, Aug 21, 2009 at 9:27 PM, Henryk Trappmann wrote: > > No, not yet. I thought I first need a person that would kinda mentor > it. > > On 21 Aug., 13:14, David Joyner wrote: >> Did you create a ticket and a patch for it on trac? >> If so, what is the trac number? >> >> On Fri, Au

[sage-devel] Re: formal power series package

2009-08-21 Thread David Joyner
On Fri, Aug 21, 2009 at 7:27 AM, Henryk Trappmann wrote: > > No, not yet. I thought I first need a person that would kinda mentor > it. I don't have the time or expertise for that but here are some comments, which may or may not be useful: 1. How do you know it has "100% coverage". Did you run s

[sage-devel] Re: formal power series package

2009-08-21 Thread Henryk Trappmann
No, not yet. I thought I first need a person that would kinda mentor it. On 21 Aug., 13:14, David Joyner wrote: > Did you create a ticket and a patch for it on trac? > If so, what is the trac number? > > On Fri, Aug 21, 2009 at 6:40 AM, Henryk > > Trappmann wrote: > > > My last post on this topi

[sage-devel] Re: Suggestion to print extra information in the banner.

2009-08-21 Thread David Joyner
On Fri, Aug 21, 2009 at 5:04 AM, Dr. David Kirkby wrote: > > When Sage starts, it gives you the version and license, but not much else. > > -- > | Sage Version 4.1.1, Release Date: 2009-08-14 | > | Type noteb

[sage-devel] Re: formal power series package

2009-08-21 Thread David Joyner
Did you create a ticket and a patch for it on trac? If so, what is the trac number? On Fri, Aug 21, 2009 at 6:40 AM, Henryk Trappmann wrote: > > My last post on this topic is now nearly 5 months time ago: > http://groups.google.com/group/sage-devel/browse_thread/thread/49069f5090e0f4b9/eaabced82d

[sage-devel] formal power series package

2009-08-21 Thread Henryk Trappmann
My last post on this topic is now nearly 5 months time ago: http://groups.google.com/group/sage-devel/browse_thread/thread/49069f5090e0f4b9/eaabced82d61573b I didnt get any reply to the formal powerseries code I proposed. The code had 100% coverage and I put quite some effort into making it pickl

[sage-devel] Re: patch reviews (PolyBoRi patch)

2009-08-21 Thread Dr. David Kirkby
Alexander Dreyer wrote: > Hello, >> In order to obey this, the following lines should be added to >> patch/custom.py: > ok, that seems to fix it indeed. I've attached to corresponding > custom.py to the trac ticket. > > Regards, > Alexander Can you post a link to the spkg. I've installed Sun S

[sage-devel] Re: bibtex function

2009-08-21 Thread Minh Nguyen
On Fri, Aug 21, 2009 at 3:31 AM, David Joyner wrote: > > 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 an

[sage-devel] Re: ECL as a library

2009-08-21 Thread Juanjo
On Aug 21, 2:08 am, Nils Bruin wrote: > Thank you! Should I call that on any cl_object that lives outside ecl? > or only (as the name suggests) on the root of a cl_object tree? If you have a single lisp object that links to all live data outside of ECL, then you need only register that object. A

[sage-devel] Re: cliquer

2009-08-21 Thread Nathan Dunfield
> Yes, I got confused between Nathans.  Sorry.  And many thanks again for the > directions!! You're welcome. It's often annoying how hard it is to do certain administrative tasks on OS X from the command line. Even for just creating an account, it's no harder to do a full screenshare via ssh an

[sage-devel] Suggestion to print extra information in the banner.

2009-08-21 Thread Dr. David Kirkby
When Sage starts, it gives you the version and license, but not much else. -- | Sage Version 4.1.1, Release Date: 2009-08-14 | | Type notebook() for the GUI, and license() for information.| -

[sage-devel] Re: patch reviews (PolyBoRi patch)

2009-08-21 Thread Alexander Dreyer
Hello, > In order to obey this, the following lines should be added to > patch/custom.py: ok, that seems to fix it indeed. I've attached to corresponding custom.py to the trac ticket. Regards, Alexander -- Dr. rer. nat. Dipl.-Math. Alexander Dreyer Abteilung "Systemanalyse, Prognose und Regel