[sage-devel] Re: 4.1.1.alpha0 Installation just 'dying' for no known reason

2009-07-22 Thread Dr. David Kirkby
Minh Nguyen wrote: > On Thu, Jul 23, 2009 at 12:57 AM, Minh Nguyen wrote: > > > >>> Also, perhaps you can review the polybori fix >>> >>> http://sagetrac.org/sage_trac/ticket/6528 >>> http://sage.math.washington.edu/home/kirkby/Solaris-fixes/polybori-0.5rc.p9-Second-try/polybori-0.5rc.p9.spkg >

[sage-devel] Re: Secure Notebook server for several users

2009-07-22 Thread Móra Péter
Thanks for the answers. Yes, it would be fine, if Sage could use other authentication systems, and run processes in the name of other users. I'm quite new to Sage developping, but in next month I will try to implement this features. Most of the ftp servers do the same (the user types name and pas

[sage-devel] Re: Sagemath with XMLRPC

2009-07-22 Thread Minh Nguyen
On Thu, Jul 23, 2009 at 2:31 AM, NoSyu wrote: > > Hello. > I use blog and Sagemath. Sagemath Notebook is great, but I want to > write post in my blog with Sagemath code and result(output). > So I add the XMLRPC server code in server/notebook/twisted.py and make > the APIKEY each user a substitute

[sage-devel] Re: notebook rewrite

2009-07-22 Thread Minh Nguyen
On Thu, Jul 23, 2009 at 4:06 PM, ghtdak wrote: > > > > On Wed, Jul 22, 2009 at 10:11 PM, ghtdak wrote: > >-- Forwarded message -- >From: Dorian Raymer >Date: Jul 22, 8:00 pm >Subject: notebook rewrite >To: sage-devel > >Hi Glenn, > >On Wed, Jul 22, 200

[sage-devel] Catalan Numbers

2009-07-22 Thread Tom Boothby
Richard Stanley currently lists 172 combinatorial interpretations of the Catalan numbers. I've been doing some research on Coxeter groups this summer, and we recently found that a class of permutations in S_n which are counted by the Catalan numbers. Turns out, the permutations are just the 321-a

[sage-devel] Re: notebook rewrite

2009-07-22 Thread ghtdak
On Wed, Jul 22, 2009 at 10:11 PM, ghtdak wrote: -- Forwarded message -- From: Dorian Raymer Date: Jul 22, 8:00 pm Subject: notebook rewrite To: sage-devel Hi Glenn, On Wed, Jul 22, 2009 at 4:41 PM, ghtdak wrote: > Of course, once you put an

[sage-devel] Re: Sage libraries and outside packages...

2009-07-22 Thread William Stein
On Tue, Jul 21, 2009 at 9:45 PM, ghtdak wrote: > > I've been building lots of stuff inside Sage which gets nailed > together in various ways.  Keeping includes and libraries straight > when many libraries are duplicated in Ubuntu has been necessary > lately. > > Most recently, I have found 2 speci

[sage-devel] Re: Notebook translation tips

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 2:03 AM, Sergey Semerikov wrote: > > I tried to translate the interface of the notebook using gettext and > faced with the need to make several changes to the source code: Thanks for working on this!! (1) What is gettext? I've never heard of it? (2) Thanks for making th

[sage-devel] Re: Sagemath with XMLRPC

2009-07-22 Thread NoSyu
Dear Prof Dan. Thanks to reply my post. I also don't know about XMLRPC exactly, but I can show the process. XMLRPC is Remote Procedure Control to use XML. So I have sagemath server and another blog server. I can use sage code in blog server using XMLRPC. So I write the post on my blog like thi

[sage-devel] Re: pointsize and thickness in list_plot

2009-07-22 Thread Jason Grout
William Stein wrote: > On Wed, Jul 22, 2009 at 11:49 AM, Robert > Bradshaw wrote: >> On Jul 22, 2009, at 11:24 AM, William Stein wrote: >> >>> On Wed, Jul 22, 2009 at 11:19 AM, Ethan Van >>> Andel wrote: In list_plot there's some confusion with the pointsize and thickness keyword argumen

[sage-devel] Re: notebook rewrite

2009-07-22 Thread Dorian Raymer
Hi Glenn, On Wed, Jul 22, 2009 at 4:41 PM, ghtdak wrote: > > > > > > > My primary problem is that the Sage subprocess is blocking forever on > > > the other side of the pipe when its not computing... Therefore, I > > > can't have a Sage sub-process that I'm using in the notebook that is > > > al

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Bill Page
On Wed, Jul 22, 2009 at 8:52 PM, Golam Mortuza Hossain wrote: > > Hi, > > On Wed, Jul 22, 2009 at 11:49 PM, Bill Page wrote: > >>> - >>> h = f(x^2).diff(x)*(x+1/x) >>> >>> sage: h.subs(f(x^2)==1) >>> 2*(x + 1/x)*x*D[0](f)(x^2) >>> >>> sage: h.subs(f(x^2).diff(x)==0) >>> 2*(x + 1/x)*x*D[0](

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Tim Lahey
On Jul 22, 2009, at 7:49 PM, Bill Page wrote: > >> On Jul 19, 6:08 pm, Golam Mortuza Hossain wrote: >> >>> (5) Looses information irrecoverably: >>> >>> From "D[0](f)(x-a)" its not possible to decide whether original >>> variable of differentiation was "x" as in f(x-a).diff(x) or "a" >>> as in

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Golam Mortuza Hossain
Hi, On Wed, Jul 22, 2009 at 11:49 PM, Bill Page wrote: >> - >> h = f(x^2).diff(x)*(x+1/x) >> >> sage: h.subs(f(x^2)==1) >> 2*(x + 1/x)*x*D[0](f)(x^2) >> >> sage: h.subs(f(x^2).diff(x)==0) >> 2*(x + 1/x)*x*D[0](f)(x^2) >> - > > It does not make sense to ask to "substitute" 'f(x^2)

[sage-devel] Sage 4.1.1.alpha0 take two

2009-07-22 Thread Minh Nguyen
Hi folks, The previous Sage 4.1.1.alpha0 release had a corrupted main repository resulting from ticket #6307. This issue was reported at http://groups.google.com/group/sage-devel/browse_thread/thread/267a2cb90085536b/6eed2111445df3a2 Below is a second release of Sage 4.1.1.alpha0 in which #6307

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Bill Page
> On Jul 19, 6:08 pm, Golam Mortuza Hossain wrote: > >> (5) Looses information irrecoverably: >> >> From "D[0](f)(x-a)" its not possible to decide whether original >> variable of differentiation was "x" as in f(x-a).diff(x) or "a" >> as in -f(x-a).diff(a). This again affects integration algorithm

[sage-devel] Re: notebook rewrite

2009-07-22 Thread ghtdak
> > > My primary problem is that the Sage subprocess is blocking forever on > > the other side of the pipe when its not computing... Therefore, I > > can't have a Sage sub-process that I'm using in the notebook that is > > also able to communicate with other processes as I can't > > asynchronousl

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Tim Lahey
On Jul 22, 2009, at 7:33 PM, Golam Mortuza Hossain wrote: > > I agree. Both Sage derivative and anti-derivative should be made > compatible > to each other by design from the very beginning. Having them in two > separate sub-system can make thing only worse. > > Regarding Maxima, I strongly be

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Golam Mortuza Hossain
Hi, On Wed, Jul 22, 2009 at 9:25 PM, Maurizio wrote: >> (5) Looses information irrecoverably: >> >> From "D[0](f)(x-a)" its not possible to decide whether original >> variable of differentiation was "x" as in f(x-a).diff(x)  or "a" >> as in -f(x-a).diff(a). This again affects integration algorith

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Ondrej Certik
On Wed, Jul 22, 2009 at 12:21 PM, William Stein wrote: > > On Wed, Jul 22, 2009 at 9:31 AM, Golam Mortuza > Hossain wrote: >> >> Hi, >> >> On Wed, Jul 22, 2009 at 7:47 AM, Burcin Erocal wrote: >> > Inability to substitute the argument of D[]  has ensured that > I am forced out from using

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

2009-07-22 Thread Minh Nguyen
Hi John, On Thu, Jul 23, 2009 at 7:54 AM, John H Palmieri wrote: >> You can't commit anything in Sage 4.1.1.alpha0 since the repository >> has been corrupted by the previous patches on ticket #6307. One option >> is to refer to the new patches on #6307 for a fix. Another is to wait >> for Sage

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

2009-07-22 Thread John H Palmieri
On Jul 22, 2:17 pm, Minh Nguyen wrote: > Hi Jaap, > > > > > > On Thu, Jul 23, 2009 at 6:55 AM, Jaap Spies wrote: > > > slabbe wrote: > >> Bonjour Jaap, > > >> This is nowhttp://trac.sagemath.org/sage_trac/ticket/6593. > > >> I will post a patch soon. > > > Thanks! I could not apply the patch{ > >

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

2009-07-22 Thread Jaap Spies
Minh Nguyen wrote: > Hi Jaap, > > On Thu, Jul 23, 2009 at 6:55 AM, Jaap Spies wrote: >> slabbe wrote: >>> Bonjour Jaap, >>> >>> This is now http://trac.sagemath.org/sage_trac/ticket/6593. >>> >>> I will post a patch soon. >>> >> Thanks! I could not apply the patch{ >> >> sage: hg_sage.patch('../t

[sage-devel] Re: pointsize and thickness in list_plot

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 11:49 AM, Robert Bradshaw wrote: > > On Jul 22, 2009, at 11:24 AM, William Stein wrote: > >> On Wed, Jul 22, 2009 at 11:19 AM, Ethan Van >> Andel wrote: >>> >>> In list_plot there's some confusion with the pointsize and thickness >>> keyword arguments. >>> >>> These 2 comma

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Maurizio
Hi all, let me give some comments. On Jul 19, 6:08 pm, Golam Mortuza Hossain wrote: > Hi, > > I have spent considerable amount of time in last one month > working with new symbolics. Overall, I am impressed with > it. One of the best selling point of Pynac has always been its speed, so we shoul

[sage-devel] Re: notebook rewrite

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 2:19 PM, ghtdak wrote: > > > > On Jul 22, 11:18 am, William Stein wrote: >> On Wed, Jul 22, 2009 at 11:12 AM, ghtdak wrote: >> >> > On Jul 21, 6:40 pm, "Dr. David Kirkby" >> > wrote: >> >> ghtdak wrote: >> >> >> > This thread has gotten long and there are many subjects em

[sage-devel] Re: notebook rewrite

2009-07-22 Thread ghtdak
On Jul 22, 11:18 am, William Stein wrote: > On Wed, Jul 22, 2009 at 11:12 AM, ghtdak wrote: > > > On Jul 21, 6:40 pm, "Dr. David Kirkby" > > wrote: > >> ghtdak wrote: > > >> > This thread has gotten long and there are many subjects embedded > >> > within. > > >> > One of the problems I've had

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

2009-07-22 Thread Minh Nguyen
Hi Jaap, On Thu, Jul 23, 2009 at 6:55 AM, Jaap Spies wrote: > > slabbe wrote: >> Bonjour Jaap, >> >> This is now http://trac.sagemath.org/sage_trac/ticket/6593. >> >> I will post a patch soon. >> > > Thanks! I could not apply the patch{ > > sage: hg_sage.patch('../trac_6593-word-morphism-doctest-

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Jaap Spies
William Stein wrote: > On Wed, Jul 22, 2009 at 9:31 AM, Golam Mortuza > Hossain wrote: >> Hi, >> >> On Wed, Jul 22, 2009 at 7:47 AM, Burcin Erocal wrote: >> > Inability to substitute the argument of D[] has ensured that > I am forced out from using new sage symbolics for my own work. >>>

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

2009-07-22 Thread Jaap Spies
slabbe wrote: > Bonjour Jaap, > > This is now http://trac.sagemath.org/sage_trac/ticket/6593. > > I will post a patch soon. > Thanks! I could not apply the patch{ sage: hg_sage.patch('../trac_6593-word-morphism-doctest-sl.patch') cd "/home/jaap/downloads/sage-4.1.1.alpha0/devel/sage" && hg st

[sage-devel] Re: Fwd: CoMarketing: Sage & Sun

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 11:35 AM, rjf wrote: > > Interesting as this discussion might be, I would expect that the SUN > people would like to see a way to sell more SUN machines.  For this > purpose one would like to say SUN machines are better than < machines>> for running Sage because << your ide

[sage-devel] Re: sage -clone "permission denied"

2009-07-22 Thread VictorMiller
Ah, ok, I understand. On Jul 22, 4:42 pm, Minh Nguyen wrote: > Hi Victor, > > On Thu, Jul 23, 2009 at 6:36 AM, VictorMiller wrote: > > > I just tried to run sage -clone on our local SAGE installation and got > > back the following error. > > Is there something wrong with the SAGE installation?  

[sage-devel] Re: sage -clone "permission denied"

2009-07-22 Thread Minh Nguyen
Hi Victor, On Thu, Jul 23, 2009 at 6:36 AM, VictorMiller wrote: > > I just tried to run sage -clone on our local SAGE installation and got > back the following error. > Is there something wrong with the SAGE installation? How can it be > fixed? > > Victor > > Now cloning the current Sage library

[sage-devel] sage -clone "permission denied"

2009-07-22 Thread VictorMiller
I just tried to run sage -clone on our local SAGE installation and got back the following error. Is there something wrong with the SAGE installation? How can it be fixed? Victor Now cloning the current Sage library branch... hg clone sage sage-victor Not trusting file /east/common/Sage/sage-4.0

[sage-devel] Re: Sagemath with XMLRPC

2009-07-22 Thread Dan Drake
Hello JinYeong, I don't understand much about XMLRPC, but I'll try to answer some of your questions: On Wed, 22 Jul 2009 at 09:31AM -0700, NoSyu wrote: > 1. Can this XMLRPC code add into the public Sagemath source? > It adds several codes and function in list_top.html and user.py. So I > think it

[sage-devel] Re: Python, Cython and JavaScript resources

2009-07-22 Thread Marshall Hampton
Nice, thats quite helpful. Thanks! On Jul 22, 1:24 pm, Pat LeSmithe wrote: > Sage Wiki pages on Python, Cython, and JavaScript resources: > > http://wiki.sagemath.org/PythonResourceshttp://wiki.sagemath.org/JavascriptResources > > Currently, both are accessible from the wiki home page. > > Plea

[sage-devel] Re: 4.1.1.alpha0 Installation just 'dying' for no known reason

2009-07-22 Thread Minh Nguyen
Hi David, On Thu, Jul 23, 2009 at 4:01 AM, Dr. David Kirkby wrote: > > Minh Nguyen wrote: > >> Can you please first remove any junk files from the following SPKG? >> >> http://sage.math.washington.edu/home/kirkby/Solaris-fixes/atlas-3.8.3.p6/atlas-3.8.3.p6.spkg >> >> Since you patched that SPKG,

[sage-devel] Re: pointsize and thickness in list_plot

2009-07-22 Thread Robert Bradshaw
On Jul 22, 2009, at 11:24 AM, William Stein wrote: > On Wed, Jul 22, 2009 at 11:19 AM, Ethan Van > Andel wrote: >> >> In list_plot there's some confusion with the pointsize and thickness >> keyword arguments. >> >> These 2 commands run just fine. >> list_plot([(0,0),(1,1)],thickness = 20,plotjo

[sage-devel] Re: Python, Cython and JavaScript resources

2009-07-22 Thread Minh Nguyen
On Thu, Jul 23, 2009 at 4:24 AM, Pat LeSmithe wrote: > > > Sage Wiki pages on Python, Cython, and JavaScript resources: > > http://wiki.sagemath.org/PythonResources > http://wiki.sagemath.org/JavascriptResources > > Currently, both are accessible from the wiki home page. It was very thoughtful of

[sage-devel] Re: Fwd: CoMarketing: Sage & Sun

2009-07-22 Thread rjf
Interesting as this discussion might be, I would expect that the SUN people would like to see a way to sell more SUN machines. For this purpose one would like to say SUN machines are better than <> for running Sage because << your idea goes here>>. But presumably the money from Microsoft has as

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Tim Lahey
On Jul 22, 2009, at 2:21 PM, William Stein wrote: > > No worries. This will get sorted out. Burcin is sharing his opinion, > but it isn't the law or anything, and Sage development is not done by > "dictators". > > I would like to hear more from other users if anybody else has an > opinion. >

[sage-devel] Re: sage -upgrade via mirrors

2009-07-22 Thread Harald Schilly
On Jul 20, 2:09 pm, Marshall Hampton wrote: > Hi Jan, > > I thought you could do something like: > > sage -upgradeftp://ftp.sun.ac.za/pub/mirrors/www.sagemath.org/ > > i.e. you can give an explicit URL, but that doesn't seem to work.  I > guess the tarball needs to be unpacked on that mirror for

[sage-devel] Re: Secure Notebook server for several users

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 11:21 AM, nrbruin wrote: > > I have wondered about Peter's problem as well. Particularly in larger > classes, one wouldn't necessarily trust all students to behave nicely. > In those cases, it would be nice to have a sage notebook that runs a > little more locked down. > >

[sage-devel] Re: pointsize and thickness in list_plot

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 11:19 AM, Ethan Van Andel wrote: > > In list_plot there's some confusion with the pointsize and thickness > keyword arguments. > > These 2 commands run just fine. > list_plot([(0,0),(1,1)],thickness = 20,plotjoined = true) > list_plot([(0,0),(1,1)],pointsize = 20,plotjoined

[sage-devel] Python, Cython and JavaScript resources

2009-07-22 Thread Pat LeSmithe
Sage Wiki pages on Python, Cython, and JavaScript resources: http://wiki.sagemath.org/PythonResources http://wiki.sagemath.org/JavascriptResources Currently, both are accessible from the wiki home page. Please feel free to make changes. --~--~-~--~~~---~--~~ T

[sage-devel] Re: Secure Notebook server for several users

2009-07-22 Thread nrbruin
I have wondered about Peter's problem as well. Particularly in larger classes, one wouldn't necessarily trust all students to behave nicely. In those cases, it would be nice to have a sage notebook that runs a little more locked down. As a point of feedback that some of the sage advocates might c

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 9:31 AM, Golam Mortuza Hossain wrote: > > Hi, > > On Wed, Jul 22, 2009 at 7:47 AM, Burcin Erocal wrote: > >>> > Inability to substitute the argument of D[]  has ensured that >>> > I am forced out from using new sage symbolics for my own work. >> >> As I said above, you coul

[sage-devel] pointsize and thickness in list_plot

2009-07-22 Thread Ethan Van Andel
In list_plot there's some confusion with the pointsize and thickness keyword arguments. These 2 commands run just fine. list_plot([(0,0),(1,1)],thickness = 20,plotjoined = true) list_plot([(0,0),(1,1)],pointsize = 20,plotjoined = false) This one runs but ignores thickness and gives you a warning

[sage-devel] Re: notebook rewrite

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 11:12 AM, ghtdak wrote: > > > > On Jul 21, 6:40 pm, "Dr. David Kirkby" > wrote: >> ghtdak wrote: >> >> > This thread has gotten long and there are many subjects embedded >> > within. >> >> > One of the problems I've had with the notebook implementation is that >> > the sag

[sage-devel] Re: notebook rewrite

2009-07-22 Thread ghtdak
On Jul 21, 6:40 pm, "Dr. David Kirkby" wrote: > ghtdak wrote: > > > This thread has gotten long and there are many subjects embedded > > within. > > > One of the problems I've had with the notebook implementation is that > > the sage process supporting the notebook computation blocks on the > >

[sage-devel] Re: 4.1.1.alpha0 Installation just 'dying' for no known reason

2009-07-22 Thread Dr. David Kirkby
Minh Nguyen wrote: > Can you please first remove any junk files from the following SPKG? > > http://sage.math.washington.edu/home/kirkby/Solaris-fixes/atlas-3.8.3.p6/atlas-3.8.3.p6.spkg > > Since you patched that SPKG, perhaps you're more able than me to tell > which are junks and which are par

[sage-devel] Re: Secure Notebook server for several users

2009-07-22 Thread William Stein
2009/7/22 Móra Péter : > > I tried the option server_pool. As I understand, sage can connect to > other machines to run worksheets on them (to use their resources). I > would like to run worksheets under different users depending on the > owner of the worksheet, and in home directories. > >  Peter

[sage-devel] Re: Groebner bases over symbolic ring

2009-07-22 Thread William Stein
On Wed, Jul 22, 2009 at 1:38 AM, Martin Albrecht wrote: > > On Tuesday 21 July 2009, Ryan Hinton wrote: >> OK, this is now #6581.  I assume it's just the >> MPolynomialRing_polydict class missing the monomial_divides method. >> Can anybody recommend a good approach for this? > > Hi, take a  look a

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

2009-07-22 Thread Minh Nguyen
Hi Robert, On Wed, Jul 22, 2009 at 5:39 AM, Robert Miller wrote: > > Something is corrupted in the repository. As I learned last time, this > probably has something to do with MANIFEST.in not pointing out the > following files: > > [rlm-book sage-main]$ hg status > ! sage/server/notebook/template

[sage-devel] Re: notebook rewrite

2009-07-22 Thread Ondrej Certik
On Wed, Jul 22, 2009 at 11:12 AM, Ondrej Certik wrote: [..] > > But the reality is that it works, unless you run Firefox and unless > you run linux. :( I mean as long as. O. --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To

[sage-devel] Re: notebook rewrite

2009-07-22 Thread Ondrej Certik
On Wed, Jul 22, 2009 at 4:00 AM, javier wrote: > > For the pyjamas version, with Firefox 3.5.1 and Safari 4 under OS-X > 10.4 I cannot see the outputs. In Firefox, I also get some > > "JavaScript Error: Permission denied to access property 'parentNode' > from a non-chrome context at line number 92

[sage-devel] Re: 4.1.1.alpha0 Installation just 'dying' for no known reason

2009-07-22 Thread Dr. David Kirkby
Minh Nguyen wrote: > On Thu, Jul 23, 2009 at 12:57 AM, Minh Nguyen wrote: > > > >>> Also, perhaps you can review the polybori fix >>> >>> http://sagetrac.org/sage_trac/ticket/6528 >>> http://sage.math.washington.edu/home/kirkby/Solaris-fixes/polybori-0.5rc.p9-Second-try/polybori-0.5rc.p9.spkg >

[sage-devel] Re: 4.1.1.alpha0 Installation just 'dying' for no known reason

2009-07-22 Thread Dr. David Kirkby
Craig Citro wrote: >> When you build packages in parallel, it is possible that a build >> failure is due to race conditions. That is a known problem with the >> current parallel build system of Sage. The relevant ticket is #6374 >> >> http://trac.sagemath.org/sage_trac/ticket/6374 >> > > Actually

[sage-devel] Re: Solaris issue: Pari / modified sage library code

2009-07-22 Thread Dr. David Kirkby
John Cremona wrote: > If by "this code" you mean paripriv.h then that belongs to pari, i.e. > is upstream. But sage/ext/fast_callable.c will have been written by > someone who subscribes to this list, I hope! > > John But the build of pari works fine, including the lines in paripriv.h. If the

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Tim Lahey
On Jul 22, 2009, at 6:47 AM, Burcin Erocal wrote: > > I still don't see the motivation for switching back to Maxima > behavior. > Somehow Maple and MMA both work the same way as GiNaC/pynac, and their > users don't have difficulty using them. > > I'm sure if some users complained about how par

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

2009-07-22 Thread slabbe
Bonjour Jaap, This is now http://trac.sagemath.org/sage_trac/ticket/6593. I will post a patch soon. Seb On Jul 22, 5:37 am, Jaap Spies wrote: > John Cremona wrote: > > Fresh builds of 4.1.1.alpha0: > > > 64-bit linux: > > The following tests failed: > >         sage -t  "devel/sage/sage/inter

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Golam Mortuza Hossain
Hi, On Wed, Jul 22, 2009 at 7:47 AM, Burcin Erocal wrote: >> > Inability to substitute the argument of D[]  has ensured that >> > I am forced out from using new sage symbolics for my own work. > > As I said above, you could have added a short term workaround for this, > once you start using cyth

[sage-devel] Sagemath with XMLRPC

2009-07-22 Thread NoSyu
Hello. I use blog and Sagemath. Sagemath Notebook is great, but I want to write post in my blog with Sagemath code and result(output). So I add the XMLRPC server code in server/notebook/twisted.py and make the APIKEY each user a substitute for password. Because XMLRPC doesn’t have own secure polic

[sage-devel] Re: sage -upgrade via mirrors

2009-07-22 Thread Harald Schilly
On Jul 22, 5:58 pm, Jan Groenewald wrote: > It poses quite a problem for this. It might be better like > ubuntu which during install chooses your country's mirror. > SAGE could use some geolocation thing to redirect > to your continent's mirror? Unless the user overrides it? > Uhm, first of all,

[sage-devel] Re: 4.1.1.alpha0 Installation just 'dying' for no known reason

2009-07-22 Thread Craig Citro
> When you build packages in parallel, it is possible that a build > failure is due to race conditions. That is a known problem with the > current parallel build system of Sage. The relevant ticket is #6374 > > http://trac.sagemath.org/sage_trac/ticket/6374 > Actually, #6374 only fixes a race con

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

2009-07-22 Thread Minh Nguyen
On Wed, Jul 22, 2009 at 5:39 AM, Robert Miller wrote: > > Something is corrupted in the repository. As I learned last time, this > probably has something to do with MANIFEST.in not pointing out the > following files: > > [rlm-book sage-main]$ hg status > ! sage/server/notebook/templates/async_lib.

[sage-devel] Re: sage -upgrade via mirrors

2009-07-22 Thread Jan Groenewald
Hi On Wed, Jul 22, 2009 at 08:15:48AM -0700, Harald Schilly wrote: > > You test this by opening index.html? Everything here is > > proxied, and in low bandwidth environments HAVE to be proxied. > > By policy and techically enforced. > > i've never heard of that before. perhaps it's possible to b

[sage-devel] Re: Secure Notebook server for several users

2009-07-22 Thread Móra Péter
I tried the option server_pool. As I understand, sage can connect to other machines to run worksheets on them (to use their resources). I would like to run worksheets under different users depending on the owner of the worksheet, and in home directories. Peter On Wed, Jul 22, 2009 at 5:42 PM, R

[sage-devel] Re: Secure Notebook server for several users

2009-07-22 Thread Móra Péter
> Try this from the Sage command line: > > sage: notebook(secure=True) I think secure=True forces https. This makes the connection secure between the server and the users. Maybe the server_pool option? Peter --~--~-~--~~~---~--~~ To post to this group, send

[sage-devel] Re: Secure Notebook server for several users

2009-07-22 Thread Robert Bradshaw
On Jul 22, 2009, at 8:39 AM, Minh Nguyen wrote: > > Hi Peter, > > On Thu, Jul 23, 2009 at 1:35 AM, Peter wrote: >> >> Dear Sage Developers! >> >> >> We would like to set up a Sage Notebook server for the students, >> in a >> secure way. How can we do that? >> >> For example if on www.sagenb.o

[sage-devel] Re: 4.1.1.alpha0 Installation just 'dying' for no known reason

2009-07-22 Thread Minh Nguyen
On Thu, Jul 23, 2009 at 12:57 AM, Minh Nguyen wrote: >> Also, perhaps you can review the polybori fix >> >> http://sagetrac.org/sage_trac/ticket/6528 >> http://sage.math.washington.edu/home/kirkby/Solaris-fixes/polybori-0.5rc.p9-Second-try/polybori-0.5rc.p9.spkg >> >> The polybori fix now works

[sage-devel] Re: Secure Notebook server for several users

2009-07-22 Thread Minh Nguyen
Hi Peter, On Thu, Jul 23, 2009 at 1:35 AM, Peter wrote: > > Dear Sage Developers! > > > We would like to set up a Sage Notebook server for the students, in a > secure way. How can we do that? > > For example if on www.sagenb.org I write > > {{{ > %sh > cat /home/sage/sagenb/sage_notebook/worksh

[sage-devel] Secure Notebook server for several users

2009-07-22 Thread Peter
Dear Sage Developers! We would like to set up a Sage Notebook server for the students, in a secure way. How can we do that? For example if on www.sagenb.org I write {{{ %sh cat /home/sage/sagenb/sage_notebook/worksheets/any_user_name/0/ worksheet.txt }}} then I can see the content of other

[sage-devel] Re: sage -upgrade via mirrors

2009-07-22 Thread Harald Schilly
On Jul 22, 4:42 pm, Jan Groenewald wrote: > Perhaps the random > noise is enough of randomness...? not for me here, it was always the same (CH). > > You test this by opening index.html? Everything here is > proxied, and in low bandwidth environments HAVE to be proxied. > By policy and techica

[sage-devel] Re: 4.1.1.alpha0 Installation just 'dying' for no known reason

2009-07-22 Thread Minh Nguyen
Hi David, On Thu, Jul 23, 2009 at 12:10 AM, Dr. David Kirkby wrote: > It's possible I've made more use of > > make -k j 50 > > or something like, but I've certainly built packages in the past in > parallel. It is possible some of these might have race conditions which > cause random failures l

[sage-devel] Re: TachyonPlot function in sage.plot.plot3d.tachyon: used?

2009-07-22 Thread Marshall Hampton
A patch is up at http://trac.sagemath.org/sage_trac/ticket/6543. I deleted the TachyonPlot class, which was not used anywhere and mostly undocumented. I can't find any record online of people using it or even talking about it. Who wrote it - Tom Boothby? I can't tell. If it has potential to d

[sage-devel] Re: Solaris issue: Pari / modified sage library code

2009-07-22 Thread John Cremona
If by "this code" you mean paripriv.h then that belongs to pari, i.e. is upstream. But sage/ext/fast_callable.c will have been written by someone who subscribes to this list, I hope! John 2009/7/22 Dr. David Kirkby : > > John Cremona wrote: > >> Line 428 defines an enum struct which is only rel

[sage-devel] Re: sage -upgrade via mirrors

2009-07-22 Thread Jan Groenewald
Hi Harald On Wed, Jul 22, 2009 at 07:07:09AM -0700, Harald Schilly wrote: > Below is a link to a python script that tests the active and up-to- > date mirrors, selects one of the 3 fastest (to be "fair" and > distribute the load, there is much random noise anyways) and then > returns the link to

[sage-devel] Re: 4.1.1.alpha0 Installation just 'dying' for no known reason

2009-07-22 Thread Dr. David Kirkby
Minh Nguyen wrote: > Hi David, > > On Wed, Jul 22, 2009 at 10:53 PM, Dr. David > Kirkby wrote: >> Until I downloaded 4.1.1.alpha0, every time there has been a failure of >> Sage on Solaris, there has been a useful error message. >> >> Since downloading 4.1.1.alph0, I've found the install just die

[sage-devel] Re: sage -upgrade via mirrors

2009-07-22 Thread Harald Schilly
On Jul 20, 9:24 pm, Harald Schilly wrote: > On Jul 20, 2:41 pm, Jason Grout wrote: > > > As I understand it, the -upgrade downloads just the spkgs it needs. > > However, if all that is available on the mirror is the complete .tar > > file (i.e., not extracted), there are no spkgs to download.  Y

[sage-devel] Re: 4.1.1.alpha0 Installation just 'dying' for no known reason

2009-07-22 Thread Minh Nguyen
Hi David, On Wed, Jul 22, 2009 at 10:53 PM, Dr. David Kirkby wrote: > > Until I downloaded 4.1.1.alpha0, every time there has been a failure of > Sage on Solaris, there has been a useful error message. > > Since downloading 4.1.1.alph0, I've found the install just dies for no > known reason some

[sage-devel] 4.1.1.alpha0 Installation just 'dying' for no known reason

2009-07-22 Thread Dr. David Kirkby
Until I downloaded 4.1.1.alpha0, every time there has been a failure of Sage on Solaris, there has been a useful error message. Since downloading 4.1.1.alph0, I've found the install just dies for no known reason some times. (I've also seen the usual thing about running sage sh etc). The last

[sage-devel] Re: Can one speed up ATLAS build time?

2009-07-22 Thread Dr. David Kirkby
John Cremona wrote: > Here's what I did when Atlas failed to recognise my machine: > > 1. Copy the SAGE_ROOT/local directory to (e.g.) /home/john/sagelocal . > 2. Add > > export SAGE_ATLAS_LIB="/home/john/sagelocal" > > to my startup file .bashrc. > > Then in all subsequent builds it finds the

[sage-devel] Re: Solaris issue: Pari / modified sage library code

2009-07-22 Thread Dr. David Kirkby
John Cremona wrote: > Line 428 defines an enum struct which is only relevant for gp. > The > earlier two have no numeric constants that I can see but the function > prototypes have variables in upper case, and it's possible that these > are macros which are getting expanded into numbers. > > J

[sage-devel] Re: Solaris issue: Pari / modified sage library code

2009-07-22 Thread John Cremona
Line 428 defines an enum struct which is only relevant for gp. The earlier two have no numeric constants that I can see but the function prototypes have variables in upper case, and it's possible that these are macros which are getting expanded into numbers. John 2009/7/22 Dr. David Kirkby : >

[sage-devel] Re: MPIR failure in Sage on OpenSolaris

2009-07-22 Thread Dr. David Kirkby
Dr. David Kirkby wrote: > Dr. David Kirkby wrote: >> Bill Hart wrote: >>> Here is the entire sparc configuration from MPIR: >>> >>> *sparc*-*-*) >>> # sizeof(long)==4 or 8 is tested, to ensure we get the right ABI. >>> We've >> >> Hi Bill, >> >> The processor in Thommy's computer is is not S

[sage-devel] Re: Is new symbolic derivative really worth the efforts?

2009-07-22 Thread Burcin Erocal
On Tue, 21 Jul 2009 15:54:11 -0700 William Stein wrote: > > On Tue, Jul 21, 2009 at 3:03 PM, Golam Mortuza > Hossain wrote: > > > > Hi, > > > > On Mon, Jul 20, 2009 at 8:31 PM, Robert > > Bradshaw wrote: > >>> On Sun, Jul 19, 2009 at 3:11 PM, William Stein > >>> wrote: > >> Or should we jus

[sage-devel] Solaris issue: Pari / modified sage library code

2009-07-22 Thread Dr. David Kirkby
Pari build fine on Solaris now. However, many packages later, there is a failure when building the 'modified sage library code' which is related to the inclusion of the pari header file $SAGE_HOME/local/include/pari/paripriv.h There are according to gcc on Solaris a problem with this file. I s

[sage-devel] Re: notebook rewrite

2009-07-22 Thread javier
For the pyjamas version, with Firefox 3.5.1 and Safari 4 under OS-X 10.4 I cannot see the outputs. In Firefox, I also get some "JavaScript Error: Permission denied to access property 'parentNode' from a non-chrome context at line number 9254. Please inform webmaster." The AJAX version (the one s

[sage-devel] Re: [codenode-devel] Support in codenode for 'Sage style' notebook look/feel and keyboard actions

2009-07-22 Thread Ondrej Certik
On Wed, Jul 22, 2009 at 1:44 AM, Alex Clemesha wrote: > Hi, > > From the ongoing "notebook rewrite" thread, it was made clear to me > that we very much need to support the "Sage style" notebook look/feel and > keyboard actions, in codenode, as soon as possible. > > I have finished the styling alre

[sage-devel] Re: notebook rewrite

2009-07-22 Thread Ondrej Certik
On Tue, Jul 21, 2009 at 9:07 PM, Ondrej Certik wrote: > On Tue, Jul 21, 2009 at 9:03 PM, Ondrej Certik wrote: >> Hi, >> >> here is an early preview of the pyjamas version: >> >> http://2.latest.pythonnb.appspot.com/ >> >> So far my experience is: >> >> * it doesn't work in IE8 (that's a showstoppe

[sage-devel] Re: [sage-release] Re: Sage 4.1.1.alpha0 released

2009-07-22 Thread Jaap Spies
John Cremona wrote: > Fresh builds of 4.1.1.alpha0: > > 64-bit linux: > The following tests failed: > sage -t "devel/sage/sage/interfaces/r.py" > but passed on retry. > Same here on Fedora 10 and Fedora 11, 32 bit. In addition both in a fresh install and in an upgrade: sage -t "

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

2009-07-22 Thread Minh Nguyen
On Tue, Jul 21, 2009 at 1:04 PM, Minh Nguyen wrote: > Hi folks, > > This is the first release of the Sage 4.1.1 release cycle. William and > I are co-chairing this release cycle. The source tarball and the > sage.math only binary are available at > > http://sage.math.washington.edu/home/mvngu/rele

[sage-devel] Notebook translation tips

2009-07-22 Thread Sergey Semerikov
I tried to translate the interface of the notebook using gettext and faced with the need to make several changes to the source code: 1) List of files for internationalization: - data/extcode/notebook/templates/ (may not be used?): failed_login.template login.template register.template yes_no.tem

[sage-devel] Re: Groebner bases over symbolic ring

2009-07-22 Thread Martin Albrecht
On Tuesday 21 July 2009, Ryan Hinton wrote: > OK, this is now #6581. I assume it's just the > MPolynomialRing_polydict class missing the monomial_divides method. > Can anybody recommend a good approach for this? Hi, take a look at the generic monomial_divides function in multi_polynomial_ri

[sage-devel] Re: [sage-release] Re: Sage 4.1.1.alpha0 released

2009-07-22 Thread John Cremona
Fresh builds of 4.1.1.alpha0: 64-bit linux: The following tests failed: sage -t "devel/sage/sage/interfaces/r.py" ...but passed on retry. 32-bit linux: sage -t "devel/sage/sage/interfaces/r.py" File "./r.py", line 18 from devel/sage/sage/interfaces/r import * ^ Synt