Re: [sage-support] Re: latex binary and dvips binary

2009-12-18 Thread Dima Pasechnik
Are you talking about the postscript files produced by dvips? You probably only installed a small subset of fonts, and scaling them produces substandard results. It can also be that dvips is set up to create 300 DPI (dots per inch) docs - this is easy to fix then (but depends upon a particular

[sage-support] Re: latex binary and dvips binary

2009-12-18 Thread ma...@mendelu.cz
I think that better is to use scalable fonts. this should be default in modern distribution. What exactly you have installed? texlive? from where, from texlive homepage or from centos repository? Try to compile you ps into PDF (using ps2pdf), open PDF document, go to the document - properties and

[sage-support] ploting x^(1/3)

2009-12-18 Thread Hobus
Why when I want to graph f=x^(1/3) I get the following error? In this case, what should I do to get the complete graph? sage: plot(x^(1/3),x,-1,1) verbose 0 (2999: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 100 points. verbose 0 (2999: plot.py,

[sage-support] How to create local copy of an FFT object?

2009-12-18 Thread Maxim
Hello! I am working with the builtin FFT Fast Fourier Transform of Sagemath, and have coded (based on the work of P. Lutus here : http://vps.arachnoid.com/sage/fourier.html) a function that takes an fftobject to plot the spectrum of a function. My problem is that when I pass the fftobject, I

[sage-support] Re: Sage 4.2.1 under Windows 7 not functioning with VirtualBox either?

2009-12-18 Thread Stefan
Oh boy. I had a bunch of problems with getting the VirtualBox appliance to work in Windows 7. When you import the appliance, prior to starting it, go into the configuration and look at the hard drive configuration. The configuration should be reference the three files that comes with the Sage

[sage-support] Re: How to create local copy of an FFT object?

2009-12-18 Thread Maxim
Ok. I've found a way (to copy an fft object) : lfft = len(fftobj) fftobj_copy = FFT(lfft) for i in range(lfft): fftobj_copy[i]=fftobj[i] If you see things which I could / should do another way in my code, feel free to post your suggestions! On Dec 18, 11:45 am, Maxim

[sage-support] Re: latex binary and dvips binary

2009-12-18 Thread Mikie
I am using the latex in Moodle and I had Moodle's latex filter turned on. I removed it and the fonts are great. Before it was creating an image. On Dec 18, 2:22 am, ma...@mendelu.cz ma...@mendelu.cz wrote: I think that better is to use scalable fonts. this should be default in modern

[sage-support] Preventing admin auto-login for Notebook server

2009-12-18 Thread Stefan
Hey guys, Is there any way to disable the auto-login feature when a user accesses the Notebook server from the machine? Since I'm hosting the notebook server in a VM and have an outside port forwarded to the VM, any users that access the server globally get logged in as admin. Thanks! -- To

[sage-support] Re: ploting x^(1/3)

2009-12-18 Thread kcrisman
On Dec 18, 9:55 am, Hobus josel...@gmail.com wrote: Why when I want to graph f=x^(1/3) I get the following error? In this case, what should I do to get the complete graph? sage:  plot(x^(1/3),x,-1,1) verbose 0 (2999: plot.py, generate_plot_points) WARNING: When plotting, failed to

[sage-support] Recovering permutations from poset elements

2009-12-18 Thread Barry Dewitt
Hi, I've created a poset of permutation elements using the Bruhat partial order: bruhat_p_order = lambda p,q : p.bruhat_lequal(q) my_poset = Poset([perms, bruhat_p_order]) It seems that when I create the poset, the elements are no longer permutations but PosetElements, and I can't figure out

Re: [sage-support] Using the simple server API

2009-12-18 Thread Robert Bradshaw
On Dec 18, 2009, at 8:53 AM, Stefan wrote: Hi all, I surfed through the discussion board and through the documentation on trying to figure out how to get the simple server API up and running. I made sure to run 'import sage.server.simple.twist' in my sage prompt. Is there a way to easily

Re: [sage-support] Preventing admin auto-login for Notebook server

2009-12-18 Thread Robert Bradshaw
On Dec 18, 2009, at 10:19 AM, Stefan wrote: Hey guys, Is there any way to disable the auto-login feature when a user accesses the Notebook server from the machine? Since I'm hosting the notebook server in a VM and have an outside port forwarded to the VM, any users that access the server

Re: [sage-support] Preventing admin auto-login for Notebook server

2009-12-18 Thread William Stein
On Fri, Dec 18, 2009 at 10:19 AM, Stefan stefan.louis.no...@gmail.com wrote: Hey guys, Is there any way to disable the auto-login feature when a user accesses the Notebook server from the machine?  Since I'm hosting the notebook server in a VM and have an outside port forwarded to the VM,

Re: [sage-support] Re: Sage 4.2.1 under Windows 7 not functioning with VirtualBox either?

2009-12-18 Thread William Stein
On Fri, Dec 18, 2009 at 9:17 AM, Stefan stefan.louis.no...@gmail.com wrote: Oh boy.  I had a bunch of problems with getting the VirtualBox appliance to work in Windows 7. When you import the appliance, prior to starting it, go into the configuration and look at the hard drive configuration.  

[sage-support] Re: Using the simple server API

2009-12-18 Thread Stefan
Hi Robert, Thanks for getting back to me. The error I'm getting is: File /sage/sage/local/lib/python2.6/site-packages/sagenb/simple/ twist.py, line 207, in render U = notebook_twist.notebook.user(username) exceptions.AttributeError: 'NoneType' object has no attribute 'user' On Dec 18, 2:17 pm,

Re: [sage-support] Re: Using the simple server API

2009-12-18 Thread William Stein
On Fri, Dec 18, 2009 at 11:58 AM, Stefan stefan.louis.no...@gmail.com wrote: Hi Robert, Thanks for getting back to me.  The error I'm getting is: File /sage/sage/local/lib/python2.6/site-packages/sagenb/simple/ twist.py, line 207, in render U = notebook_twist.notebook.user(username)

Re: [sage-support] ploting x^(1/3)

2009-12-18 Thread Dan Aldrich
Two options I can think of, probably a lot more from the elders here: 1) turn off verbose set_verbose(-1) f(x) = x^(1/3) plot(f(x),(-5,5)) 2) Don't plot negative f(x) = x^(1/3) plot(f(x),(0,5)) -d At 09:55 AM 12/18/2009, you wrote: Why when I want

Re: [sage-support] Preventing admin auto-login for Notebook server

2009-12-18 Thread Robert Bradshaw
On Dec 18, 2009, at 11:28 AM, William Stein wrote: On Fri, Dec 18, 2009 at 10:19 AM, Stefan stefan.louis.no...@gmail.com wrote: Hey guys, Is there any way to disable the auto-login feature when a user accesses the Notebook server from the machine? Since I'm hosting the notebook server

[sage-support] Re: Sage 4.2.1 under Windows 7 not functioning with VirtualBox either?

2009-12-18 Thread Charles J. Daniels
On Dec 18, 11:30 am, William Stein wst...@gmail.com wrote: Hi, So the main issue is that often some of the hard drives aren't appearing after import, due to bugs in VirtualBox on various platforms? [...] William To be fair to your efforts William, I'm not sure they have the new

[sage-support] Running Sage remotely via a web browser: How?

2009-12-18 Thread rvaug...@gmail.com
On a newly-installed instance of Sage, one of my users ssh's in and runs sage. He gets this: sage: notebook() which returned: Open your web browser to http://localhost:8000 There must be some incantation for starting a sage server that can be connected to over the web remotely from

Re: [sage-support] Running Sage remotely via a web browser: How?

2009-12-18 Thread Robert Bradshaw
On Dec 18, 2009, at 2:53 PM, rvaug...@gmail.com wrote: On a newly-installed instance of Sage, one of my users ssh's in and runs sage. He gets this: sage: notebook() which returned: Open your web browser to http://localhost:8000 There must be some incantation for starting a sage

Re: [sage-support] Preventing admin auto-login for Notebook server

2009-12-18 Thread William Stein
On Fri, Dec 18, 2009 at 11:28 AM, William Stein wst...@gmail.com wrote: On Fri, Dec 18, 2009 at 10:19 AM, Stefan stefan.louis.no...@gmail.com wrote: Hey guys, Is there any way to disable the auto-login feature when a user accesses the Notebook server from the machine?  Since I'm hosting the

[sage-support] Easiest method to solve a PDE

2009-12-18 Thread Carlos Córdoba
Hi, I know this is not a general mathematical forum, but I hope you can help me. I have this PDE: \frac{dB}{dt} = F(x,y,z)B(x,y,z) - G(x,y,z)\nabla B(x,y,z) and I don't know how to solve it numerically. What would be the easiest method to do it? It can be in python, but preferably in C++.

Re: [sage-support] Running Sage remotely via a web browser: How?

2009-12-18 Thread Christopher Olah
I'm not sure I understand. Why can't you just use ${IP ADDRESS}:8000 ? You'll probably need to port-forward, but that is easy enough... On Fri, Dec 18, 2009 at 6:09 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Dec 18, 2009, at 2:53 PM, rvaug...@gmail.com wrote: On a

Re: [sage-support] Running Sage remotely via a web browser: How?

2009-12-18 Thread William Stein
On Fri, Dec 18, 2009 at 9:35 PM, Christopher Olah christopherolah...@gmail.com wrote: I'm not sure I understand. Why can't you just use ${IP ADDRESS}:8000 ? You'll probably need to port-forward, but that is easy enough... The notebook only listens on localhost by default. Use sage:

Re: [sage-support] Easiest method to solve a PDE

2009-12-18 Thread Thierry Dumont
Carlos Córdoba a écrit : Hi, I know this is not a general mathematical forum, but I hope you can help me. I have this PDE: \frac{dB}{dt} = F(x,y,z)B(x,y,z) - G(x,y,z)\nabla B(x,y,z) and I don't know how to solve it numerically. What would be the easiest method to do it? It can be in