Re: [sage-support] Lattice Probem

2010-03-30 Thread Robert Bradshaw
On Mar 30, 2010, at 10:18 AM, Santanu Sarkar wrote: Suppose L is a lattice generated by b_1, b_2, \ldots, b_m for example say b_1=(1,2,3), b_2=(2,3,4). Is there any function in Sage by which one can find orthogonal lattice of L? An orthogonal lattice might not exist in general, but you can

Re: [sage-support] Re: make of Sage 4.3.4 works on 32-bit Linux, but not 64-bit; ???

2010-03-24 Thread Robert Bradshaw
On Mar 24, 2010, at 6:08 AM, rvaug...@gmail.com wrote: Thanks for all responses Complete config.log can be found here: www.physics.rutgers.edu/~rvaughn/config.log Appended is an excerpt. Also, in compiling Hello, world (as both root and a normal user) I receive: [root]# g++ -Wall hello.cc -o

Re: [sage-support] Re: AA(sqrt(2)) - AA(sqrt(2)) = 0.?e-18

2010-03-24 Thread Robert Bradshaw
On Mar 22, 2010, at 2:51 PM, Timo wrote: Thank you for this explanation. Now the problem has gotten a bit worse. I thought that AA(x) - AA(x) == 0 always returned True, which is what was really mattered for my needs. But now: sage: b = 1/6*sqrt(3*(1/18*sqrt(3)*sqrt(283) + 1/2)^(2/3) -

Re: [sage-support] make of Sage 4.3.4 works on 32-bit Linux, but not 64-bit; ???

2010-03-23 Thread Robert Bradshaw
On Mar 23, 2010, at 5:44 PM, rvaug...@gmail.com wrote: Brand-new (3/20/10) 4.3.4 version of SAGE; ran make on my Scientific Linux 32-bit Scientific Linux PC. make took a long time, but succeeded. Took the same brand-new (3/20/10) 4.3.4 version of SAGE, ran make on my Scientific Linux 64-bit

Re: [sage-support] AA(sqrt(2)) - AA(sqrt(2)) = 0.?e-18

2010-03-22 Thread Robert Bradshaw
On Mar 22, 2010, at 10:44 AM, Timo wrote: Hello, I would like the following commands to return 0 in sage: sage: AA(1) - AA(1) 0 sage: AA(15/9) - AA(15/9) 0 sage: AA(sqrt(2)) - AA(sqrt(2)) 0.?e-18 sage: AA(sqrt(3)) - AA(sqrt(3)) 0.?e-18 sage: AA(3^(22/5)) - AA(3^(22/5)) 0.?e-16 sage:

Re: [sage-support] sage on slitaz linux?

2010-03-19 Thread Robert Bradshaw
On Mar 19, 2010, at 1:51 AM, bb wrote: I tried to compile sage from source on slitaz, a very small and ultrafast starting linux and slitaz might be installed to a bootable USB. No success. The line from the makefile will be echoed: cd spkg ./install all 21 | tee -a ../install.log the cd to

Re: [sage-support] one more copyright issue question

2010-03-19 Thread Robert Bradshaw
On Mar 19, 2010, at 9:20 AM, bb wrote: David Joyner schrieb: On Thu, Mar 18, 2010 at 5:53 PM, bb bblo...@arcor.de wrote: If I try to write a math-tutorial ... Sage code and its documentation are licensed under open-source licenses, so feel free to copy+paste. In fact, it is encouraged.

Re: [sage-support] Re: Seeking Cython-101 lesson

2010-03-19 Thread Robert Bradshaw
On Mar 19, 2010, at 10:39 AM, Marshall Hampton wrote: I hope someone more knowledgable than me will help you out. I need a cython tutorial myself! But maybe I can point out a couple of resources: 1) For adding cython code to the sage library, I think the developer guide is pretty clear:

Re: [sage-support] Seeking Cython-101 lesson

2010-03-19 Thread Robert Bradshaw
On Mar 17, 2010, at 5:42 PM, kstueve wrote: Hi, I would like to rewrite the C code in ticket 8135 (Riemann's explicit formula for the prime counting function, based on code from Oliveira e Silva) in Cython so that it can be added to Sage, but I don't have any experience programming in Cython.

Re: [sage-support] Re: writing user defined modules in SAGEs web notebooks/worksheets

2010-03-15 Thread Robert Bradshaw
On Mar 15, 2010, at 1:15 AM, vdelecroix wrote: Hello, thanks, I tried all that onwww.sagenb.org. I could access files many of the files of 221 visible 'users' in / home, like some vincent, a certain notorious wstein, a victor, a carlos, a Ulrike etc. by import os; dn = '/home/some_user';

Re: [sage-support] Re: writing user defined modules in SAGEs web notebooks/worksheets

2010-03-15 Thread Robert Bradshaw
On Mar 15, 2010, at 9:54 AM, Robert Bradshaw wrote: On Mar 15, 2010, at 1:15 AM, vdelecroix wrote: Hello, thanks, I tried all that onwww.sagenb.org. I could access files many of the files of 221 visible 'users' in / home, like some vincent, a certain notorious wstein, a victor, a carlos

Re: [sage-support] Running SAGE on Scientific Linux: Possible?

2010-03-15 Thread Robert Bradshaw
On Mar 15, 2010, at 10:30 AM, rvaug...@gmail.com wrote: Anybody running SAGE on Scientific Linux? If so, how? What version SAGE, what version Scientific Linux? I've tried several versions on SAGE on SciLinux 4.8 5.4, and in no case did the 'make' succeed. Anybody making this work? Would

Re: [sage-support] Need help with an error which causes maxima to crash

2010-03-15 Thread Robert Bradshaw
On Mar 15, 2010, at 6:37 PM, zsharon wrote: Hi, When running this code: K.a = NumberField(x^2 + 1) K.is_galois() These two lines shouldn't be invoking maxima at all, and work for me. Are you sure it's not something else. Was x something other than the variable x? I get (in part) this

Re: [sage-support] Re: Need help with an error which causes maxima to crash

2010-03-15 Thread Robert Bradshaw
On Mar 15, 2010, at 7:10 PM, zsharon wrote: K.a = NumberField(x^2 + 1) K.is_galois() These two lines shouldn't be invoking maxima at all, and work for me. Are you sure it's not something else. Was x something other than the variable x? I tried running reset() first, and then K.a =

Re: [sage-support] sagetex and stereographic plots

2010-03-13 Thread Robert Bradshaw
On Mar 12, 2010, at 8:16 PM, Dan Drake wrote: On Fri, 12 Mar 2010 at 01:27PM +0100, G. Damm wrote: is it possible to make stereographic 3d-plots with sagetex? I'd want to make a beamer-presentation with these plots and want to help my students see the 3d. Can Sage make stereographic 3-d

Re: [sage-support] newbie to cython: wrap int func( int n, float x[] )

2010-03-12 Thread Robert Bradshaw
On Mar 12, 2010, at 9:05 AM, gerhard wrote: Trying to wrap an existing library. I managed to at least get started with a .spyx file as follows: cdef extern from stdlib.h: void *malloc(size_t size) int free(void*) int sizeof() cdef extern from func.h:

Re: [sage-support] plot3d in notebook generates no plot

2010-03-11 Thread Robert Bradshaw
On Mar 11, 2010, at 7:53 AM, Eckhard Kosin wrote: Robert, thanks for the quick answer. Am Mittwoch, den 10.03.2010, 12:07 -0800 schrieb Robert Bradshaw: On Mar 10, 2010, at 11:53 AM, Eckhard Kosin wrote: Hi all, I just installed Sage and now I'm working through the tutorial. However

Re: [sage-support] plot3d in notebook generates no plot

2010-03-11 Thread Robert Bradshaw
On Mar 11, 2010, at 11:12 AM, Eckhard Kosin wrote: Am Donnerstag, den 11.03.2010, 10:10 -0800 schrieb Robert Bradshaw: On Mar 11, 2010, at 7:53 AM, Eckhard Kosin wrote: Robert, thanks for the quick answer. Am Mittwoch, den 10.03.2010, 12:07 -0800 schrieb Robert Bradshaw: On Mar 10, 2010

Re: [sage-support] Re: Can I factor x^2 - 2 and get (x-sqrt(2))*(x+sqrt(2)) ?

2010-03-10 Thread Robert Bradshaw
On Mar 10, 2010, at 10:15 AM, John H Palmieri wrote: On Mar 10, 3:23 am, slabbe sla...@gmail.com wrote: Hi, A friend of mine wants to factorize symbolicly x^2 - 2 : sage: p = x^2 - 2 sage: p.factor() x^2 - 2 Apparently p.roots() gives almost what he wants : sage: p.roots() [(-sqrt(2), 1),

Re: [sage-support] plot3d in notebook generates no plot

2010-03-10 Thread Robert Bradshaw
On Mar 10, 2010, at 11:53 AM, Eckhard Kosin wrote: Hi all, I just installed Sage and now I'm working through the tutorial. However, inside notebook I'm unable to generate 3d plots: Issuing i.e. x,y = var('x,y') plot3d(x^2 + y^2, (x,-2,2), (y,-2,2)) only yields a gray square without any

Re: [sage-support] spellchecker for tinymce

2010-03-08 Thread Robert Bradshaw
On Mar 8, 2010, at 3:51 AM, ma...@mendelu.cz wrote: Dear support, do you know how to enable spelling for Sage notebooks? I use Firefox and it checks input cells automatically, but I do not know hot to check the text in text cells. We don't do any spell checking, have you tried asking on

Re: [sage-support] Re: animations of raytraces of 3d plots.

2010-03-04 Thread Robert Bradshaw
On Mar 3, 2010, at 1:23 PM, calcp...@aol.com wrote: BTW, tachyon is supposed to run over MPI. Can I use SAGE to run tachyon over a cluster? Sage just calls the tachyon executable, so if you (re)compile tachyon with MPI support it might just work. Of course if you're doing an animation

Re: [sage-support] Pretty printing expressions with using the Maxima engine

2010-03-04 Thread Robert Bradshaw
On Mar 3, 2010, at 4:46 PM, Alasdair wrote: If I want to pretty print a rational expression in the console, I need to invoke maxima: sage: var('a') sage: S=factor(sum(1/(a+1)^i for i in range(6))) sage: S (a + 2)*(a^2 + a + 1)*(a^2 + 3*a + 3)/(a + 1)^5 sage: print S (a + 2)*(a^2 + a + 1)*(a^2

Re: [sage-support] Import a Data file

2010-03-04 Thread Robert Bradshaw
On Mar 4, 2010, at 12:10 PM, Oscar Castillo-Felisola wrote: Hi everybody, I'd like to know if it is possible to import data into Sage, so that plots (or other manipulation) might be done. Yes, it's possible. - Robert -- To post to this group, send email to

Re: [sage-support] Re: numerator has a funny parent() -- intentional ?

2010-03-02 Thread Robert Bradshaw
On Mar 1, 2010, at 11:46 AM, Pierre wrote: oooh wait wait wait. I've said something totally confusing. My previous two posts apply to rational fractions... for which indeed, the numerator method gives the 'correct' answer ! The issue I raised in my original post is the 'funny' behaviour when

Re: [sage-support] quitting local sage notebook

2010-03-01 Thread Robert Bradshaw
On Mar 1, 2010, at 9:02 AM, Dana Ernst wrote: What's the proper way to quit a local sage notebook? I've been signing out of the web browser and then quitting terminal, which kills anything running. I have OSX 10.6. Is this what you are supposed to do? You can kill the sage -notebook

Re: [sage-support] numerator has a funny parent() -- intentional ?

2010-03-01 Thread Robert Bradshaw
On Mar 1, 2010, at 7:50 AM, Pierre wrote: hi all, is this a bug or intentional ? sage: x= QQ['x'].gen() sage: n= x.numerator() sage: x.parent() Q[x] sage: n.parent() Z[x] what about this Z popping out of nowhere ? (well...) It's certainly making my like (a little) more complicated (i have a

Re: [sage-support] finding out how to import a built-in (say, vector)

2010-02-27 Thread Robert Bradshaw
On Feb 27, 2010, at 6:22 PM, Dima Pasechnik wrote: In a sage function I need to use Sage's built-in types, say, vector. E,g, def foo(bar): from import vector as v a=v(bar) How do I find out from where it has to be imported? (I haven't come up with anything better than running a grep on

Re: [sage-support] Multiple cores in ATLAS

2010-02-25 Thread Robert Bradshaw
On Feb 25, 2010, at 7:18 AM, ErwinJunge wrote: Hello sage-support, I would like to use multiple cores in ATLAS. I checked the search for multi atlas and found this discussion:

Re: [sage-support] synchronizing local Sage worksheets

2010-02-25 Thread Robert Bradshaw
On Feb 24, 2010, at 2:10 PM, Dana Ernst wrote: I regularly work on three different computers. What is the best way to keep worksheets synchronized that were created using a local Sage Notebook? If I create a worksheet in on one computer, I've had to remember to upload the worksheet to

Re: [sage-support] Creating a graphic histogram from an image

2010-02-25 Thread Robert Bradshaw
Would sage.finance.time_series.TimeSeries.histogram? work? Histogram should be a top-level function. - Robert On Feb 25, 2010, at 10:10 AM, Itamar Carvalho wrote: Sage Masters, I'm starting my studies in a mastering course (MsC), planning to work with image processing. I've found Sage

Re: [sage-support] finding splitting field of a polynomial

2010-02-25 Thread Robert Bradshaw
On Feb 25, 2010, at 4:12 PM, esisk wrote: Hello, Brand new to sage. Could someone please help me in finding the splitting filed of a polynomial.I thank you for your time. p.s. The particular polynomial is x^10-3 over Qbut I rather would like to learn the how. Thank you again sage: K.a =

Re: [sage-support] Re: Problem compiling with cython

2010-02-22 Thread Robert Bradshaw
On Feb 21, 2010, at 7:58 PM, Oscar Lazo wrote: On 21 feb, 21:50, Oscar Gerardo Lazo Arjona algebraicame...@gmail.com wrote: He is on an amd phenom 965 x4 a 3.4 Ghz processor, and Ubuntu 9.10 64 bits. It turns out it is actually an Intel core 2 dou with ubuntu 9.10 32 bits Is g++

Re: [sage-support] Re: Using CRT to speed up calculations over QQ

2010-02-22 Thread Robert Bradshaw
On Feb 21, 2010, at 4:17 PM, Jeff Stroomer wrote: Burcin, Thanks - I never before saw the multimodular argument. That's really nice, and I like that fact that the default is to pick something suitable. But simply using the multimodular approach when echelonizing the matrix isn't enough. I

Re: [sage-support] Updating Cython Files.

2010-02-18 Thread Robert Bradshaw
On Feb 18, 2010, at 9:39 PM, William Stein wrote: On Thu, Feb 18, 2010 at 9:34 PM, D. Monarres dmmonar...@gmail.com wrote: Hello all, Recently I have been using sage for my thesis work and wanted to cythonize a bit of code in hopes of making it run faster. I have created a directory under

Re: [sage-support] animations of raytraces of 3d plots.

2010-02-17 Thread Robert Bradshaw
On Feb 17, 2010, at 10:28 AM, Christopher Olah wrote: Greetings! I've been trying to make animations of Tachyon raytraced 3d plots, so that people can see a plot from multiple angles without java. (It could also be used to visualise a forth dimension...) None of my attempts have worked

Re: [sage-support] Re: WTF

2010-02-16 Thread Robert Bradshaw
On Feb 15, 2010, at 11:38 PM, David Kirkby wrote: On 16 February 2010 07:25, William Stein wst...@gmail.com wrote: On Mon, Feb 15, 2010 at 10:54 PM, David Kirkby david.kir...@onetel.net wrote: On 16 February 2010 06:31, William Stein wst...@gmail.com wrote: To Dana -- you might want to try

Re: [sage-support] Re: sagemath installs on ubuntu karmic, but abends on simple problem

2010-02-16 Thread Robert Bradshaw
On Feb 15, 2010, at 2:47 PM, Alex Ghitza wrote: On Mon, 15 Feb 2010 10:50:18 -0800, William Stein wst...@gmail.com wrote: -1 to the phone home idea. It might be good to warn of releases that are really old, but this won't help with the one already in Debian. - Robert Since we're voting,

Re: [sage-support] Re: sagemath installs on ubuntu karmic, but abends on simple problem

2010-02-15 Thread Robert Bradshaw
On Feb 14, 2010, at 4:23 AM, Harald Schilly wrote: On Feb 14, 12:47 pm, David Kirkby david.kir...@onetel.net wrote: As a longer term solution, would it not be worth having code in Sage which checks if the current date is more than X months since the Sage release date, and if so gives a warning

Re: [sage-support] sage_eval

2010-02-15 Thread Robert Bradshaw
On Feb 15, 2010, at 7:46 AM, Viny wrote: I'm working on two versions of sage: sage4.3.1 and sage4.1.1. The evaluation sage_stuff = sage_eval(string,locals=dico,preparse='False') where string contains a list of symbolic expressions, dico it's my dictionnary of variables, gives an error type

Re: [sage-support] multiple integrals

2010-02-15 Thread Robert Bradshaw
On Feb 15, 2010, at 11:27 AM, Thomas Scofield wrote: Can someone point me to examples/documentation on doing double integrals numerically? That is, say you have to calculate a double integral with integrand f(x,y) for which no closed-form antiderivative (neither in x nor y) exists.

Re: [sage-support] Aspect ratios on graphs

2010-02-15 Thread Robert Bradshaw
There's an aspect ratio option that you might be interested in as well. sage: C = circle((3, 4), 5) sage: C.show(aspect_ratio=1) On Feb 15, 2010, at 8:15 PM, Dan Aldrich wrote: I'm trying to get an exact aspect on some sage graphs. So far I've tried specifying xmax and ymax and this is

Re: [sage-support] WTF

2010-02-15 Thread Robert Bradshaw
On Feb 15, 2010, at 9:13 PM, Dana Ernst wrote: I'm trying to create a worksheet for class tomorrow morning at 8AM (7 hours and 51 mins from now). I typed up the whole worksheet, it looked great, then saved it, went back to check on it, but the sage cells and HTML blocks were rearranged

Re: [sage-support] Re: cookies and Sage Notebook

2010-02-11 Thread Robert Bradshaw
On Feb 11, 2010, at 7:21 PM, Marshall Hampton wrote: Just for the record, this has happened to me quite a bit recently. I use a lot of different sage servers, often running different versions, so I don't usually report this kind of stuff since I think I am something of an extreme case. But

Re: [sage-support] Re: Get notebook cell path from inside the cell

2010-02-09 Thread Robert Bradshaw
On Feb 9, 2010, at 12:29 PM, kcrisman wrote: On Feb 9, 3:02 pm, William Stein wst...@gmail.com wrote: On Tue, Feb 9, 2010 at 10:17 AM, kcrisman kcris...@gmail.com wrote: Dear support, Suppose I want to refer to a file in a notebook cell directory from inside that cell. How do I access

Re: [sage-support] how to stop a Sage program from consuming all available memory?

2010-02-06 Thread Robert Bradshaw
On Feb 6, 2010, at 5:42 PM, Minh Nguyen wrote: Hi folks, I received an email asking the following question: Is there any way of stopping a Sage program from eating up all available system memory? A program I'm running just keeps using up more and more memory until my computer becomes

Re: [sage-support] Re: Text Editor for Sage

2010-02-03 Thread Robert Bradshaw
On Feb 3, 2010, at 12:49 PM, Georges wrote: Thanks a lot Dan, that works. Is there an easy way to access the files I created in VirtualBox in Windows? I suppose I can email it to myself using the web browser inside VB... I'm not aware of one, but I think virtualbox can be set up to share

Re: [sage-support] Profiling code in Sage

2010-02-02 Thread Robert Bradshaw
On Feb 1, 2010, at 6:14 PM, Minh Nguyen wrote: Hi Stefan, On Tue, Feb 2, 2010 at 1:07 PM, Stefan stefan.louis.no...@gmail.com wrote: SNIP Can anyone point me in the right direction for profiling a Python function in Sage? Here's an example on using prun from within Sage: sage: %prun

Re: [sage-support] Cython Installation Problem with suse 10.1

2010-02-01 Thread Robert Bradshaw
On Jan 31, 2010, at 2:23 PM, ulrich.t...@hsnr.de wrote: Hi, I got a problem with the insatllation of sage-4.3.1. I am using Suse 10.1 on a Dell Latitude Laptop. Excerpt from the install.log: building 'Cython.Compiler.Parsing' extension gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall

Re: [sage-support] Irreducibility of a polynomial

2010-01-29 Thread Robert Bradshaw
On Jan 29, 2010, at 11:55 AM, William Stein wrote: On Fri, Jan 29, 2010 at 5:06 AM, Santanu Sarkar sarkar.santanu@gmail.com wrote: How one can check weather a polynomial f(x,y) is irreducible over rational or not? sage: R.x,y = QQ[] sage: f = (x^3-x*y+y^2-x)*(x^5-3/2*x-y); f x^8 -

Re: [sage-support] Re: Can Sage handle large integers?

2010-01-28 Thread Robert Bradshaw
On Jan 28, 2010, at 11:14 AM, Martin Rubey wrote: Mike Hansen mhan...@gmail.com writes: I'm not sure whether you saw my answer yet... It shows that you can have full evaluation (as in Python), and still work modulo n. William was just saying that the mod function in

Re: [sage-support] installation problems for Sage binary on Mac

2010-01-24 Thread Robert Bradshaw
Do you know which exact binary you downloaded? On Jan 23, 2010, at 2:02 PM, Mark Mueller wrote: I installed the Sage 4.3.1. binary in the Applications folder on my MacBook Air. I am running Mac OSX 10.5.8. I have tired installing both by dragging the image into the applications folder and

Re: [sage-support] error in documentation Construction

2010-01-15 Thread Robert Bradshaw
On Jan 15, 2010, at 9:14 AM, Ichnich wrote: Hi everyone, I just checked out one of first page in the Constructions page: http://www.sagemath.org.nyud.net/doc/constructions/calculus.html Just after the first example Differentiation sage: var('x k w') (x, k, w) sage: f = x^3 * e^(k*x) *

Re: [sage-support] Re: plotting the quotient of two degree 128 polynomials

2010-01-13 Thread Robert Bradshaw
On Jan 9, 2010, at 7:51 PM, Marshall Hampton wrote: I could be wrong but that problem might relate to the fact that plotting is often done in floats, which can't handle quantities like 15^1024. Other types in Sage can handle such things, so you might have to work around that limitation by

Re: [sage-support] Re: SAGE and .NET interoperability.

2010-01-08 Thread Robert Bradshaw
On Jan 8, 2010, at 10:10 AM, William Stein wrote: On Fri, Jan 8, 2010 at 9:58 AM, Robert Bradshaw rober...@math.washington.edu wrote: For the record, this was already tried (using a combination of .bat files and standalone javascript). The problem is that even fewer people understood/were

Re: [sage-support] array with Field of Arbitrary Precision Real Numbers

2010-01-07 Thread Robert Bradshaw
On Dec 21, 2009, at 6:31 AM, Mike Hansen wrote: Hello, On Mon, Dec 21, 2009 at 5:34 AM, daan daancurv...@gmail.com wrote: For simulations I'm running, I'd like to perform some calculations with an arbitrary precision, but I want to store my variables in arrays so I can iterate through them

Re: [sage-support] Re: Setting up a sage server securely for students' use

2010-01-07 Thread Robert Bradshaw
On Jan 7, 2010, at 10:49 AM, William Stein wrote: On Thu, Jan 7, 2010 at 9:10 AM, Jason Grout jason-s...@creativetrax.com wrote: William Stein wrote: Yes, it sounds completely right to me. Let us know if the above steps lead you to any trouble. And if they work, we should clearly add

Re: [sage-support] Re: SAGE and .NET interoperability.

2010-01-06 Thread Robert Bradshaw
Very interesting discussion--I'm glad to see stuff is still happening on this front, and great to hear from you again Blair. On Jan 5, 2010, at 6:49 PM, David Kirkby wrote: On Jan 3, 6:13 pm, Dima Pasechnik dimp...@gmail.com wrote: Also, note that many parts of Sage are not developed by

Re: [sage-support] Can SAGE perform raising to a p^th power quicker in char p?

2009-12-31 Thread Robert Bradshaw
On Dec 30, 2009, at 9:46 PM, Alex P wrote: I was trying to figure out if SAGE can raise to the pth power quickly in characteristic p. It seems that it doesn't. Am I right to think that or am I missing something? No, there's nothing (as far as I know) that takes advantage of the

Re: [sage-support] Creating Repeating Composite Functions

2009-12-19 Thread Robert Bradshaw
On Dec 19, 2009, at 11:14 AM, Christopher Olah wrote: Greetings! I can't seem to figure out how (elegantly) to make a function that is the repeated composite of another. eg. Suppose I have a function f, how do I get f*f*f*f... In math, I could just f^n, One difficulty with supporting that

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 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

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] File handling in Sage

2009-12-17 Thread Robert Bradshaw
On Dec 17, 2009, at 4:48 AM, Walking Randomly wrote: Hi When in a Sage notebook how do I find what the current working directory is and how do I do a directory listing? For example in MATLAB I might do pwd to print the working directory and ls to do a directory listing. Please

Re: [sage-support] Re: Fwd: sage bug report

2009-12-17 Thread Robert Bradshaw
The speed could be do to the inefficiency of fraction field arithmetic over the polynomial ring. Ideally, we should have fraction-free gaussian elimination. Also, easily invertable/small determinant may actually be worse--as it could be creating a lot of large intermediate values with

Re: [sage-support] Re: Fwd: sage bug report

2009-12-17 Thread Robert Bradshaw
one.) That would be great. This intrigued me, so I hunted down where it's hanging. It is trying to take a gcd in fraction field reduction. See http://sage.math.washington.edu/home/robertwb/det.sage for the hanging example. On 12/17/09, Robert Bradshaw rober...@math.washington.edu wrote

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Robert Bradshaw
On Dec 14, 2009, at 8:01 AM, Dag Sverre Seljebotn wrote: I don't know if it's a good idea to make this valid Sage syntax, though. I'm on the fence, but leaning towards not favoring it just because of the added complexity and the departure from true Python, and the python version isn't

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Robert Bradshaw
On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: I have to agree with Marshall, because it could be confusing for new sage users that come from python to see such a different syntax meaning. But what about the Mathematica syntax? Could it be adopted by sage? The Mathematica syntax is

Re: [sage-support] Re: An abbreviation for lambda?

2009-12-14 Thread Robert Bradshaw
On Dec 14, 2009, at 12:15 PM, Dag Sverre Seljebotn wrote: Robert Bradshaw wrote: On Dec 14, 2009, at 11:43 AM, Carlos Córdoba wrote: I have to agree with Marshall, because it could be confusing for new sage users that come from python to see such a different syntax meaning. But what about

Re: [sage-support] interrupting execution from the command line

2009-12-13 Thread Robert Bradshaw
On Dec 13, 2009, at 1:46 AM, Charles J. Daniels wrote: I haven't gotten notebook running just yet, but I prefer command line anyway so far. The thing is, my computational eyes are larger than my processing ability's stomach, so I end up finding out it's going to take longer than I want to

Re: [sage-support] Installing Sage 4.2.1 in Mac OS X 10.5.6

2009-12-11 Thread Robert Bradshaw
Try copying sage onto your local hard drive (e.g into Applications) before starting it up. On Dec 11, 2009, at 11:28 AM, Gennaro Alphonse wrote: I download Sage 4.2.1 for Mac OS 10.5 with Intel, and when I select the sage file to run with the terminal, it give me the next message: The Sage

Re: [sage-support] Re: Running Sage on a 64-bit Scientific Linux machine

2009-12-10 Thread Robert Bradshaw
From Lisandro (author of mpi4py). Sounds like at the very least we should be shipping a newer mpi4py. Begin forwarded message: From: Lisandro Dalcin dalc...@gmail.com Date: December 9, 2009 8:36:03 PM PST To: Robert Bradshaw rober...@math.washington.edu Subject: Re: [sage-support] Re

Re: [sage-support] Re: Running Sage on a 64-bit Scientific Linux machine

2009-12-10 Thread Robert Bradshaw
On Dec 9, 2009, at 5:30 PM, linuxgus wrote: On the same track, if sage is built from source on Richard's eight-CPU machine, will it be able to take advantage of the multiple processor cores? If I remember correctly, in a previous thread here a few months ago, the answer was negative. If so,

Re: [sage-support] Re: unsubscribe

2009-12-08 Thread Robert Bradshaw
On Dec 8, 2009, at 8:05 AM, kcrisman wrote: I don't get why people can't unsubscribe themselves? They can. This is footer is wrong: To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread Robert Bradshaw
On Dec 8, 2009, at 4:49 AM, Stan Schymanski wrote: Robert Bradshaw wrote: [SNIP] Making notebook IDs that are not simply consecutive integers would solve nearly all of your issues above, and I think a lot of people (myself included) would appreciate that. Either short names or globally

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread Robert Bradshaw
On Dec 8, 2009, at 10:17 AM, William Stein wrote: On Tue, Dec 8, 2009 at 9:06 AM, Robert Bradshaw rober...@math.washington.edu wrote: On Dec 8, 2009, at 4:49 AM, Stan Schymanski wrote: Robert Bradshaw wrote: [SNIP] Making notebook IDs that are not simply consecutive integers would solve

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread Robert Bradshaw
On Dec 8, 2009, at 11:54 AM, William Stein wrote: On Tue, Dec 8, 2009 at 11:04 AM, Robert Bradshaw rober...@math.washington.edu wrote: I think you misunderstood my proposal-- Yes, I'm sure I did, since I also don't understand your further explanation of it below. all the user would see

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-07 Thread Robert Bradshaw
On Dec 6, 2009, at 6:37 AM, tmb wrote: SSH uses $HOME/.ssh Thunderbird uses $HOME/.thunderbird Mathematica uses $HOMe/.Mathematica Lots of programs do put configuration data in directories which start with a dot. Yes, lots of programs put _configuration_ data in dot directories. Few

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-07 Thread Robert Bradshaw
On Dec 6, 2009, at 6:40 AM, tmb wrote: I'm sorry to say, but the way I see it, there is really a serious problem with Sage notebooks right now. Please, please, fix it. I've never had any of the issues you're describing, but it sounds like you have a lot of reproducible bugs on your

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-05 Thread Robert Bradshaw
On Dec 5, 2009, at 12:20 AM, tmb wrote: I think they will be. 4.1.2 was a major change to the notebook, things should be stabilizing from here on out. Of course, there's lots of room for improvement, and I do appreciate your feedback. Well, I still have a backup file with worksheets that

Re: [sage-support] Re: 3D plots fail using VirtualBox Sage 4.21 on old XP computer

2009-12-04 Thread Robert Bradshaw
Though Windows is not near as well supported as linux and OS X, this should work in principle. Try browsing some of the applets at http://jmol.sourceforge.net/ , does that crash your browser? - Robert On Dec 4, 2009, at 8:09 AM, Michael Madison wrote: I think we should say then what base

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-04 Thread Robert Bradshaw
On Dec 4, 2009, at 4:53 AM, Dima Pasechnik wrote: just a side remark - IMHO notebooks are not designed for any kind of large-scope project. There's no reason they couldn't be. For the latter, you are much better off with good old scripts. Notebooks certainly have their own pluses, such as

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-04 Thread Robert Bradshaw
On Dec 4, 2009, at 3:39 AM, tmb wrote: You can put the .sage/sage_notebook.sagenb/home/ directory under revision control. You should probably only hg add the worksheet.html and worksheet_conf.pickle files, and ignore everything else. That doesn't really work with the current directory

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-04 Thread Robert Bradshaw
On Dec 4, 2009, at 9:31 PM, Dima Pasechnik wrote: 2009/12/5 Robert Bradshaw rober...@math.washington.edu: On Dec 4, 2009, at 4:53 AM, Dima Pasechnik wrote: just a side remark - IMHO notebooks are not designed for any kind of large-scope project. There's no reason they couldn't be. I meant

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-04 Thread Robert Bradshaw
On Dec 4, 2009, at 12:20 PM, tmb wrote: -- For single user mode, put all the worksheets in ~/SageMath (that tells me that I'm supposed to look at them) It's standard to make a .foo directory to hold application defaults and data. Making a visible top-level directory is more invasive.

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-04 Thread Robert Bradshaw
On Dec 4, 2009, at 10:35 PM, Dima Pasechnik wrote: 2009/12/5 Robert Bradshaw rober...@math.washington.edu: On Dec 4, 2009, at 9:31 PM, Dima Pasechnik wrote: 2009/12/5 Robert Bradshaw rober...@math.washington.edu: On Dec 4, 2009, at 4:53 AM, Dima Pasechnik wrote: just a side remark - IMHO

Re: [sage-support] Re: Cannot open the disk 'D:\Program Files\Sage\sage-vmware-4.1\disk.vmdk'

2009-12-03 Thread Robert Bradshaw
something for FAQ if people experience a SIGSEGV ERROR. Thanks for all your support. Roland On 3 dec, 05:45, Robert Bradshaw rober...@math.washington.edu wrote: On Dec 1, 2009, at 9:24 PM, dimpase wrote: well, you probably just need to remove some stale locks. That is, somewhere on the VM

Re: [sage-support] Re: dense matrix over the ring

2009-12-03 Thread Robert Bradshaw
On Dec 3, 2009, at 12:07 PM, Gennaro Alphonse wrote: Thanks for your valuable response, and the problem is not printing the array, more well is to calculate it. Now another question is that sage seems only supports to calculate matrix of size 2047 x 2047. When I want to calculate matrix of

Re: [sage-support] large upload fails

2009-12-03 Thread Robert Bradshaw
On Dec 3, 2009, at 4:51 PM, tmbdev wrote: I backed up my worksheets in a download_worksheets.zip file. The file is 63M large. Now I'm trying to upload it and the upload is failing. Is there any way of getting the zip file uploaded or installed (maybe I can just unzip it somewhere)? You can

Re: [sage-support] losing confidence in Sage notebooks

2009-12-03 Thread Robert Bradshaw
On Dec 3, 2009, at 5:18 PM, tmb wrote: I have created a pretty large number of worksheets over the last year for courses in pattern recognition and image processing. Unfortunately, I keep having problems with sage versioning. For example, I had renamed worksheets to have a more consistent

Re: [sage-support] Re: Cannot open the disk 'D:\Program Files\Sage\sage-vmware-4.1\disk.vmdk'

2009-12-02 Thread Robert Bradshaw
On Dec 1, 2009, at 9:24 PM, dimpase wrote: well, you probably just need to remove some stale locks. That is, somewhere on the VM, there is a place where files indicating busy status of a particular volume, so-called locks, are stored. On Windows hosts, they have .lck extensions. So you need

Re: [sage-support] Re: Cannot open the disk 'D:\Program Files\Sage\sage-vmware-4.1\disk.vmdk'

2009-12-01 Thread Robert Bradshaw
I don't know much about Windows, but did you try restarting? That might release any stale file locks. (Don't worry, your data should still be there.) On Dec 1, 2009, at 11:00 AM, Rolandb wrote: Hi, Sage fails to start. Does this mean that I lost all my notebook files? That would be very

Re: [sage-support] unsubscribe

2009-11-28 Thread Robert Bradshaw
Is there a way to filter these requests so that only moderators see them? On Nov 28, 2009, at 9:46 AM, Minh Nguyen wrote: Hi, On Sun, Nov 29, 2009 at 4:39 AM, bert wiley bertwi...@gmail.com wrote: unsubscribe This is to inform you that you are now unsubscribed from the sage-support

Re: [sage-support] Can't run Cython's hello world example

2009-11-23 Thread Robert Bradshaw
On Nov 21, 2009, at 8:16 PM, Jorge E. ´Sanchez Sanchez wrote: Hi Robert, just to tell you that I have built sage-4.2.1 from source (it took my athlon 64bits 1Gb almost 5 hours), although I cannot embed a main() with cython --embed hw.pyx I could generate the hw.so file with the

Re: [sage-support] Re: Ctrl-Backspace behavior

2009-11-23 Thread Robert Bradshaw
On Nov 22, 2009, at 11:34 AM, cool-RR wrote: Okay, I'm sorry. I'll try to be more polite. Thanks. They all respect ctrl-backspace as deleting a word. Why does Sage do differently? Probably because we weren't even aware of the convention at the time (few Windows users are Sage

Re: [sage-support] Re: Ctrl-Backspace behavior

2009-11-23 Thread Robert Bradshaw
For joining cells. On Nov 23, 2009, at 11:20 AM, cool-RR wrote: You mean, shortcut keys for deleting a cell? On Mon, Nov 23, 2009 at 9:07 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Nov 22, 2009, at 11:34 AM, cool-RR wrote: Okay, I'm sorry. I'll try to be more polite

Re: [sage-support] Can't run Cython's hello world example

2009-11-23 Thread Robert Bradshaw
On Nov 23, 2009, at 11:45 AM, Jorge E. ´Sanchez Sanchez wrote: Robert: Now I am understanding, in the William Stein's example he could get an executable hw: Now I can in fact do: cython --embed hw.py without any complains but when I try to gcc-compile, I got a message

Re: [sage-support] Can't run Cython's hello world example

2009-11-23 Thread Robert Bradshaw
On Nov 23, 2009, at 6:58 PM, Jorge E. ´Sanchez Sanchez wrote: Robert: I am so sorry for bothering you again with my silly questions but I am still walking in circles around the correct compilation flags. Here's how I am succeded to build hibehnel.py as executable, where hibehnel.py

Re: [sage-support] Can't run Cython's hello world example

2009-11-23 Thread Robert Bradshaw
On Nov 23, 2009, at 9:56 PM, Robert Bradshaw wrote: In any case, if you do from sage.all import ... you might have to potentially link in every library that Sage builds (trust me, there's a lot of them) to create a standalone executable with the --embed option. This will work on OS X where

<    1   2   3   4   5   6   7   8   >