[sage-support] Re: How add new Sage notebook accounts? AND How kill notebook background process?

2008-11-20 Thread [EMAIL PROTECTED]
On Nov 20, 8:23 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > I don't know if that is possible -- let me know.  It would be interesting. Actually I found a better way to write an init.d script. It appears that killing twistd shuts down the whole show. Adding here on hopes useful to someone..

[sage-support] Re: Possible to change base notebook URL? e.g. localhost:8000/foo/bar ?

2008-11-20 Thread Timothy Clemans
> I thought that this was going to be a part of the templating of the > notebook. For whoever is doing that, how is it going? Would it be easy > to add the tag at the top? > It will be easy to do that. Mike said he would review the notebook tickets over the weekend. With templating I'm finding

[sage-support] Re: Possible to change base notebook URL? e.g. localhost:8000/foo/bar ?

2008-11-20 Thread Jason Grout
William Stein wrote: > On Thu, Nov 20, 2008 at 7:31 PM, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> Possible to change base notebook URL? e.g. localhost:8000/foo/bar ? >> > > Unfortunately, this isn't supported yet, though it's certainly been requested > before. Indeed, see http://groups

[sage-support] Re: How add new Sage notebook accounts? AND How kill notebook background process?

2008-11-20 Thread William Stein
On Thu, Nov 20, 2008 at 6:30 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Nov 20, 1:05 pm, "William Stein" <[EMAIL PROTECTED]> wrote: >> Type notebook? and read the docs. If that isn't enough please please >> do ask here again. > > The "Help" link inside the notebook gives a ton of gre

[sage-support] Re: Possible to change base notebook URL? e.g. localhost:8000/foo/bar ?

2008-11-20 Thread William Stein
On Thu, Nov 20, 2008 at 7:31 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Possible to change base notebook URL? e.g. localhost:8000/foo/bar ? > Unfortunately, this isn't supported yet, though it's certainly been requested before. William --~--~-~--~~~---~--~-

[sage-support] Possible to change base notebook URL? e.g. localhost:8000/foo/bar ?

2008-11-20 Thread [EMAIL PROTECTED]
Possible to change base notebook URL? e.g. localhost:8000/foo/bar ? cs --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at ht

[sage-support] Re: How add new Sage notebook accounts? AND How kill notebook background process?

2008-11-20 Thread [EMAIL PROTECTED]
On Nov 20, 1:05 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Type notebook? and read the docs.  If that isn't enough please please > do ask here again. The "Help" link inside the notebook gives a ton of great docs on how to do great things with notebook. I couldn't find the section on how to

[sage-support] Re: latex output for real numbers without zeros at the end

2008-11-20 Thread kcrisman
> > Thanks a lot for that, Robert! > > Seehttp://trac.sagemath.org/sage_trac/ticket/4572 Thanks to you from here too! This relieves yet another of the okay- but-still-annoying things I've experienced in Sage. I can't import the whole patch from here but just making the actual code change worked

[sage-support] Mathematica (under wine) sage interface

2008-11-20 Thread Quicksilver_Johny
I am currently running Mathematica through wine on Ubuntu. >From the command line: [EMAIL PROTECTED]:~$ wine "C:\Program Files\Wolfram Research\Mathematica \6.0\math.exe" Mathematica 6.0 for Microsoft Windows (32-bit) Copyright 1988-2008 Wolfram Research, Inc. In[1]:= And in /usr/bin/math [EMAIL

[sage-support] How to exponentiate a matrix with mixed entries?

2008-11-20 Thread Paul Leopardi
Hi all, I'm trying to exponentiate a matrix with a complex entry. The input and output is below. Why does Sage give me 103993*I/33102 in the upper right hand corner, and how can I get it to give me the right answer? Also, how do I get it to use (eg.) RealField(100)? Best, Paul [EMAIL PROTECTED]:~

[sage-support] Re: latex output for real numbers without zeros at the end

2008-11-20 Thread Robert Bradshaw
On Nov 20, 2008, at 1:54 AM, Stan Schymanski wrote: > Thanks a lot for that, Robert! See http://trac.sagemath.org/sage_trac/ticket/4572 Do you want to review it? > Is the ultimate "fix" the one that will > use pynac instead of maxima? I can't wait for this one. Yep, though we won't be replac

[sage-support] Re: How add new Sage notebook accounts? AND How kill notebook background process?

2008-11-20 Thread William Stein
On Thu, Nov 20, 2008 at 12:27 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > How add new Sage notebook accounts so everyone doesn't have to log in > as admin? Type notebook? and read the docs. If that isn't enough please please do ask here again. > > And, how kill Sage notebook? I run it

[sage-support] Re: Doc tests for file-producing methods

2008-11-20 Thread William Stein
On Thu, Nov 20, 2008 at 11:45 AM, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > On Nov 20, 2008, at 11:00 AM, Simon King wrote: > >> >> Hi folks, >> >> assume that some function/method produces files on the disk. What >> should a doc test look like for such functions/methods? Is there a >> standa

[sage-support] How add new Sage notebook accounts? AND How kill notebook background process?

2008-11-20 Thread [EMAIL PROTECTED]
How add new Sage notebook accounts so everyone doesn't have to log in as admin? And, how kill Sage notebook? I run it as a background process and it seems to start a ton of processes. Perhaps there is a parent process I can kill that will automatically cause rest to die? Thanks, Chris --~--~-

[sage-support] Re: Doc tests for file-producing methods

2008-11-20 Thread Simon King
Dear Robert, On Nov 20, 9:10 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > On Nov 20, 2008, at 12:04 PM, Simon King wrote: > > But shouldn't the doc test of save_session be changed, using tempfile? > > After all, if the user has a file 'session.sobj' in the current > > directory, the doc test

[sage-support] Re: Doc tests for file-producing methods

2008-11-20 Thread Mike Hansen
Hello, On Thu, Nov 20, 2008 at 12:10 PM, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > On Nov 20, 2008, at 12:04 PM, Simon King wrote: > >> >> Dear Robert, >> >> On Nov 20, 8:45 pm, Robert Bradshaw <[EMAIL PROTECTED]> >> wrote: a) In what directory should the files be created? [Subdirecto

[sage-support] Re: Doc tests for file-producing methods

2008-11-20 Thread Robert Bradshaw
On Nov 20, 2008, at 12:04 PM, Simon King wrote: > > Dear Robert, > > On Nov 20, 8:45 pm, Robert Bradshaw <[EMAIL PROTECTED]> > wrote: >>> a) In what directory should the files be created? [Subdirectories >>> of] SAGE_TMP perhaps? >> >> Yes. >> >>> b) How can one avoid name conflicts with user

[sage-support] Re: Doc tests for file-producing methods

2008-11-20 Thread Simon King
Dear Robert, On Nov 20, 8:45 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > a) In what directory should the files be created? [Subdirectories > > of] SAGE_TMP perhaps? > > Yes. > > > b) How can one avoid name conflicts with user data? E.g., in the doc > > test for save_session, this point

[sage-support] Re: Doc tests for file-producing methods

2008-11-20 Thread Robert Bradshaw
On Nov 20, 2008, at 11:00 AM, Simon King wrote: > > Hi folks, > > assume that some function/method produces files on the disk. What > should a doc test look like for such functions/methods? Is there a > standard? My fear is to have doc tests that destroy user data. I'd > like to know your opinion

[sage-support] Doc tests for file-producing methods

2008-11-20 Thread Simon King
Hi folks, assume that some function/method produces files on the disk. What should a doc test look like for such functions/methods? Is there a standard? My fear is to have doc tests that destroy user data. I'd like to know your opinion on my concerns. 1. The doc test would produce a file, even t

[sage-support] Re: assume(...) is very slow

2008-11-20 Thread William Stein
On Thu, Nov 20, 2008 at 1:51 AM, Stan Schymanski <[EMAIL PROTECTED]> wrote: > > I'm probably not the right one to respond to this one, but please, do! > I get reminded of this every time I run through any of my worksheets, > but then I usually get distracted by the results before I get to send > o

[sage-support] Re: calculating and plotting polynomials with 3 variables

2008-11-20 Thread Jason Grout
Joshua Kantor wrote: > In case anyone is interested there is a relatively standard algorithm > for constructing mesh for an isosurfaces called marching cubes. For > a while that was patented so there is a marching tetrahedrons analog > but I think the patent issue is expired. Its complicated in t

[sage-support] Re: calculating and plotting polynomials with 3 variables

2008-11-20 Thread Joshua Kantor
In case anyone is interested there is a relatively standard algorithm for constructing mesh for an isosurfaces called marching cubes. For a while that was patented so there is a marching tetrahedrons analog but I think the patent issue is expired. Its complicated in that there are lots of things

[sage-support] Re: calculating and plotting polynomials with 3 variables

2008-11-20 Thread William Stein
On Thu, Nov 20, 2008 at 7:21 AM, kcrisman <[EMAIL PROTECTED]> wrote: > > > >> >> > I am really newbie to Sage, but I need to both plot and declare >> > functions like: >> > f(x,y,z) = x*y*z >> > and other poly's containing 3 variables. >> > How do I do that? >> > > It sounds like you are looking f

[sage-support] Re: bug in integral?

2008-11-20 Thread David Joyner
I know Stavros M saw it and Mike cc'd Robert D, so two of the main maxima developers definitely know about it now. Thanks again. On Thu, Nov 20, 2008 at 11:00 AM, pong <[EMAIL PROTECTED]> wrote: > > Yes, integral does not handle abs correctly. > > sage: integral(abs(x),x) > integrate(abs(x), x)

[sage-support] Re: lists, vectors, arrays in equations?

2008-11-20 Thread Stan Schymanski
Hi Jason, Thanks for that. I still have a problem, as I use sage to derive a complicated equation first, and then I need to get that function into python. Say this function is called f, I tried the following: import numpy var('a b x') f = a*x^2 + b v = numpy.array([1,2,3]) w = numpy.array([4,5,6

[sage-support] Re: bug in integral?

2008-11-20 Thread pong
Yes, integral does not handle abs correctly. sage: integral(abs(x),x) integrate(abs(x), x) sage: integral(max(x,-x),x) x^2/2 If that's for sure a bug coming from maxima, I hope someone it can be reported to their bug list. I can see that it has been reported by David to the maxima-user list, bu

[sage-support] Re: Problem with optional trac package (sage version 3.1.4)

2008-11-20 Thread gerhard
> What operating system *exactly*? What version of Sage? How > did you install trac into Sage? And anything else useful about your > setup that you can think of... Redhat Fedora 8 with all current patches applied. Linux localhost.localdomain 2.6.26.6-49.fc8 SAGE Version 3.1.4, Release Date: 20

[sage-support] Re: lists, vectors, arrays in equations?

2008-11-20 Thread Jason Grout
Jason Grout wrote: >> The last output is what I want, but I don't want to type the whole >> equation in again. I am collecting all the methods and ideas that help >> me and I hope that I will be able to put it all into a tutorial one >> day. >> > > > You could use a pure python function, then.

[sage-support] Re: calculating and plotting polynomials with 3 variables

2008-11-20 Thread kcrisman
> > > I am really newbie to Sage, but I need to both plot and declare > > functions like: > > f(x,y,z) = x*y*z > > and other poly's containing 3 variables. > > How do I do that? > It sounds like you are looking for a 3-D implicit plot. Is that correct? Or perhaps a contour plot in 3-D. Unfor

[sage-support] Re: lists, vectors, arrays in equations?

2008-11-20 Thread Jason Grout
Stan Schymanski wrote: > Thanks a lot for all your help! The [f(a=i,x=j,b=k) for i,j,k in zip > (v,w,z)] way looks useful, as I can easily see what is inserted for > what. Looking at the other examples, I realised that most of my time > series are likely to be imported as numpy arrays, so I will h

[sage-support] Re: How to use tar from Sage?

2008-11-20 Thread Simon King
Dear David, On Nov 19, 9:02 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > I think bz2 is the smaller than tar.gz in general. > You might try doing a few examples to see how they > compare in the type of data you are compressing, > to see if it makes a difference. I think decompressing tar.gz fi

[sage-support] Re: calculating and plotting polynomials with 3 variables

2008-11-20 Thread Tim Lahey
On Nov 20, 2008, at 9:02 AM, HJ_dk wrote: > > Hi > > I am really newbie to Sage, but I need to both plot and declare > functions like: > f(x,y,z) = x*y*z > and other poly's containing 3 variables. > How do I do that? > > The plot3d-command seems like only accepting 2 variables. > Well, it isn't

[sage-support] calculating and plotting polynomials with 3 variables

2008-11-20 Thread HJ_dk
Hi I am really newbie to Sage, but I need to both plot and declare functions like: f(x,y,z) = x*y*z and other poly's containing 3 variables. How do I do that? The plot3d-command seems like only accepting 2 variables. plz help. --~--~-~--~~~---~--~~ To post to th

[sage-support] Re: lists, vectors, arrays in equations?

2008-11-20 Thread Stan Schymanski
Thanks a lot for all your help! The [f(a=i,x=j,b=k) for i,j,k in zip (v,w,z)] way looks useful, as I can easily see what is inserted for what. Looking at the other examples, I realised that most of my time series are likely to be imported as numpy arrays, so I will have to look in more detail at t

[sage-support] Re: How to use tar from Sage?

2008-11-20 Thread Simon King
Dear Michael, On Nov 19, 9:34 pm, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > I think it is much more important to understand what the intended use > here is instead of arguing about the finer details of compression. Good point, although I think that the speed/memory issues pointed out by

[sage-support] Re: latex output for real numbers without zeros at the end

2008-11-20 Thread Stan Schymanski
Thanks a lot for that, Robert! Is the ultimate "fix" the one that will use pynac instead of maxima? I can't wait for this one. All the best, Stan On Nov 19, 6:46 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > On Nov 18, 2008, at 11:18 PM, Stan Schymanski wrote: > > > Hi Robert, > > > Will the

[sage-support] Re: assume(...) is very slow

2008-11-20 Thread Stan Schymanski
I'm probably not the right one to respond to this one, but please, do! I get reminded of this every time I run through any of my worksheets, but then I usually get distracted by the results before I get to send out an email about it. Thanks for picking it up again! Stan On Nov 20, 6:46 am, mabsh