[sage-devel] Re: random polynomial generation

2007-10-16 Thread cwitty
On Oct 16, 8:32 pm, "didier deshommes" <[EMAIL PROTECTED]> wrote: > 2007/10/16, Steffen <[EMAIL PROTECTED]>: > > > Hi didier, > > > the implementation does not return a polynomial of a total degree of > > at most 4, but a polynomial of total degree of at most 4/2 = 2 in x > > and in y. If I change

[sage-devel] Re: random polynomial generation

2007-10-16 Thread didier deshommes
2007/10/16, Steffen <[EMAIL PROTECTED]>: > Hi didier, > > the implementation does not return a polynomial of a total degree of > at most 4, but a polynomial of total degree of at most 4/2 = 2 in x > and in y. If I change the total degree to 5, nothing happens, since > 5/2 = 2. This might be a bug

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread Alfredo Portes
> > And yes, I know, if only I would release a "SageLite" that was the sage > > notebook without the hard-to-build Sage math library, then all kinds > > of unix gurus would just solve all these problems for me (since then the > > notebook would be popular and independently interesting beyond Sage)

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread TrixB4Kidz
> I would suggest not to actually use unixy infrastructure to create the > users. But that certainly involves a decent amount of coding to do > your own user creation/permission management and so on. Trying to > secure unix user accounts seems doomed in my opinion. I agree to some extent. Howeve

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread mabshoff
On Oct 17, 1:09 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On 10/16/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > > > > > I don't think it is the main jails you would block since they have to > > receive and send data in order for the public to access them. Maybe > > you would block the

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread William Stein
On 10/16/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > > I don't think it is the main jails you would block since they have to > receive and send data in order for the public to access them. Maybe > you would block the pool of sage__ users from accessing the net using > Iptables. (this might be

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread Timothy Clemans
I don't think it is the main jails you would block since they have to receive and send data in order for the public to access them. Maybe you would block the pool of sage__ users from accessing the net using Iptables. (this might be helpful --> http://www.thescripts.com/forum/thread705507.html) Al

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread William Stein
On 10/16/07, TrixB4Kidz <[EMAIL PROTECTED]> wrote: > Hey again. I actually got a similar reply from William earlier today > that I was going to append to this message (this post took quite some > time to appear on google groups for whatever reason). The particular > attack that I described is pr

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread William Stein
On 10/16/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > William do you really think the notebooks can be vandalized? Yes. The only secure computer is one that is not connected to the internet and is behind a secure wall with armed guards, etc. It helps if the computer is broken too. Security

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread TrixB4Kidz
Hey again. I actually got a similar reply from William earlier today that I was going to append to this message (this post took quite some time to appear on google groups for whatever reason). The particular attack that I described is preventable, but the fact that the users have full access to

[sage-devel] Re: Enhancing the SymbolicEquation class

2007-10-16 Thread William Stein
On 10/16/07, Ted Kosan <[EMAIL PROTECTED]> wrote: > > I am currently adding a section on solving problems to the "SAGE > Programming For Newbies" book and I would like to propose some > enhancements to the SymbolicEquation class. > > The approach I am taking with the problem solving examples is to

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread Timothy Clemans
William do you really think the notebooks can be vandalized? > > > If I remember right William welcomes people to try to vandalize the > > > notebook server at https://sage.math.washington.edu:8102 > > No I don't! The e-mail below is what I thinking of. -- Forwarded message -- F

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread William Stein
On 10/16/07, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > The public notebook servers on sage.math.washington.edu are jailed > > (http://sagemath.org/doc/html/inst/node10.html). Also there is a pool > > of 30 unix users that are used to evaluate worksheet code. That > > protects the main noteboo

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread Robert Bradshaw
On Oct 16, 2007, at 3:02 PM, Timothy Clemans wrote: > Hi, > > The public notebook servers on sage.math.washington.edu are jailed > (http://sagemath.org/doc/html/inst/node10.html). Also there is a pool > of 30 unix users that are used to evaluate worksheet code. That > protects the main notebook s

[sage-devel] Re: Secure Notebook Deployment

2007-10-16 Thread Timothy Clemans
Hi, The public notebook servers on sage.math.washington.edu are jailed (http://sagemath.org/doc/html/inst/node10.html). Also there is a pool of 30 unix users that are used to evaluate worksheet code. That protects the main notebook system from a random user. Ulimit is also used. If I remember ri

[sage-devel] Secure Notebook Deployment

2007-10-16 Thread TrixB4Kidz
Hello Professor Stein. For a final project at Case Western, I offered to setup a cluster of SAGE servers for the math department. Unfortunately, I found that the default server setup is highly insecure. I would like to collaborate with you and find a way to modify the notebook deployment to elim

[sage-devel] Enhancing the SymbolicEquation class

2007-10-16 Thread Ted Kosan
I am currently adding a section on solving problems to the "SAGE Programming For Newbies" book and I would like to propose some enhancements to the SymbolicEquation class. The approach I am taking with the problem solving examples is to show how to use SAGE to solve a problem semi-manually and th

[sage-devel] Re: Fwd: ode_solver

2007-10-16 Thread Robert Bradshaw
Yep, that was the main (in my opinion for SAGE) feature enhancement of cython 0.6.7 (included in sage 2.8.7). I am still not sold that rdef is the best name, been toying with bdef (for "both") or something else, but we can start using it and if the signature changes, that's a one-line patch

[sage-devel] Re: Fwd: ode_solver

2007-10-16 Thread David Roe
Is rdef in sage 2.8.7? David On 10/16/07, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > > On Oct 14, 2007, at 1:40 AM, Joshua Kantor wrote: > > > > > Good to see that you got things sped up. > > > > The factor of 30 or so slowdown is consistent with my experience > > comparing to matlab. > > I be

[sage-devel] Re: sage-2.8.7

2007-10-16 Thread William Stein
> > Well, could you just for fun rebuild pari? I think the compiler should > > blow up in that case, too, and I am curious why pari's build system > > doesn't catch it. > > The command > sage -f pari-2.3.2.p3 > worked fine on the suse machine. The problem isn't with building pari but with some n

[sage-devel] Re: sage-2.8.7

2007-10-16 Thread William Stein
On 10/16/07, David Joyner <[EMAIL PROTECTED]> wrote: > On 10/16/07, mabshoff <[EMAIL PROTECTED]> wrote: > -fPIC -I/home/wdj/sagefiles/sage-2.8.7/local//include > -I/home/wdj/sagefiles/sage-2.8.7/local//include/csage > -I/home/wdj/sagefiles/sage-2.8.7/devel//sage/sage/ext > -I/home/wdj/sagefiles/s

[sage-devel] Re: sage-2.8.7

2007-10-16 Thread David Joyner
On 10/16/07, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Oct 16, 6:09 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > > On 10/16/07, mabshoff <[EMAIL PROTECTED]> wrote: > > > > Hi David, > > > > > > gcc blows up, there is little we can do about that. Please check if > > > there are updates com

[sage-devel] Re: Fwd: ode_solver

2007-10-16 Thread Robert Bradshaw
On Oct 14, 2007, at 1:40 AM, Joshua Kantor wrote: > > Good to see that you got things sped up. > > The factor of 30 or so slowdown is consistent with my experience > comparing to matlab. > I believe the issue is that due to the way the interface to gsl works > > explanation: > The gsl ode solver

[sage-devel] Re: sage-2.8.7

2007-10-16 Thread William Stein
Sage-2.8.5 compiled fine on SUSE, so this problem only occurs with a very recent version of gen.pyx. I recently modified the factor function in gen.pyx so that it would do provably-correct factorization of integers. Since that's the function causing the compiler error, probably something I did cau

[sage-devel] Re: Unbelievably trivial

2007-10-16 Thread Robert Bradshaw
On Oct 16, 2007, at 10:25 AM, John Voight wrote: > > Hi Robert, > > I can't seem to get primessq to be defined as a cdef long*. I've > tried > cdef long primessq[46] = [...] > cdef long *primessq = [...] > etc. and they always give errors. This is because [...] creates a python list, which

[sage-devel] Re: Another cython?

2007-10-16 Thread boothby
Last update was over 7 years ago; 6 months after the creation date. I think it's safe to assume that this is a dead project. On Tue, 16 Oct 2007, John Voight wrote: > > This must be a different cython, no? > http://campbell.nu/oscar/cython/cython-doc.html > > Weird! > > JV > > > > > --~--

[sage-devel] Re: Another cython?

2007-10-16 Thread mabshoff
On Oct 16, 7:23 pm, John Voight <[EMAIL PROTECTED]> wrote: > This must be a different cython, no? > http://campbell.nu/oscar/cython/cython-doc.html > > Weird! > Definitely, but it is something completely different. It also seems dead, last update was at the end of 2000. > JV Cheers, Michael

[sage-devel] Re: Unbelievably trivial

2007-10-16 Thread John Voight
Hi Robert, I can't seem to get primessq to be defined as a cdef long*. I've tried cdef long primessq[46] = [...] cdef long *primessq = [...] etc. and they always give errors. Cython doesn't allow you to use macros (#define) I guess? JV --~--~-~--~~~---~--~

[sage-devel] Another cython?

2007-10-16 Thread John Voight
This must be a different cython, no? http://campbell.nu/oscar/cython/cython-doc.html Weird! JV --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more optio

[sage-devel] Re: sage-2.8.7

2007-10-16 Thread mabshoff
On Oct 16, 6:09 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > On 10/16/07, mabshoff <[EMAIL PROTECTED]> wrote: > Hi David, > > gcc blows up, there is little we can do about that. Please check if > > there are updates compilers available for SuSE 10.2. If not you can > > either install your

[sage-devel] Re: sage-2.8.7

2007-10-16 Thread David Joyner
On 10/16/07, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Oct 16, 5:46 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > > On 10/16/07, mabshoff <[EMAIL PROTECTED]> wrote: > > > > > > > > > On Oct 16, 4:26 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > > > > > Hi David, > > > > Hi David, > > > >

[sage-devel] Re: sage-2.8.7

2007-10-16 Thread mabshoff
On Oct 16, 5:46 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > On 10/16/07, mabshoff <[EMAIL PROTECTED]> wrote: > > > > > On Oct 16, 4:26 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > > > Hi David, > Hi David, > > > This version does not upgrade or install on suse 9.1 amd64. > > > As far as

[sage-devel] Re: sage-2.8.7

2007-10-16 Thread David Joyner
On 10/16/07, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Oct 16, 4:26 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > > Hi David, > > > This version does not upgrade or install on suse 9.1 amd64. > > As far as I can tell Suse 9.1 AMD64 ships with gcc 3.3, which is not > C99 conform. So flint wo

[sage-devel] Re: andlinux

2007-10-16 Thread Jaap Spies
Bill Page wrote: > > Are you using any special (non-US) keyboard configuration? > Standard US-keyboard on a laptop, but the Windows is Dutch! I'm not very familiar to Windows, but I need this laptop for some navigational programs, only available under Window$! There are some dead keys I suppo

[sage-devel] Re: sage-2.8.7

2007-10-16 Thread mabshoff
On Oct 16, 4:26 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: Hi David, > This version does not upgrade or install on suse 9.1 amd64. As far as I can tell Suse 9.1 AMD64 ships with gcc 3.3, which is not C99 conform. So flint won't build, you need at least gcc 3.4 or higher. > > I would not m

[sage-devel] Re: sage-2.8.7

2007-10-16 Thread David Joyner
This version does not upgrade or install on suse 9.1 amd64. I would not make it a priority since these machines are due to be upgraded, but thought I'd let you know. However, it does not install on suse 10.2 either! In case this helps: sage: An error occurred while installing flint-0.2.p4 Plea

[sage-devel] Re: random polynomial generation

2007-10-16 Thread Steffen
Hi and thanks for your quick answers! > Hi Stephen, > This is not an "exact" function. The only guarantee we have is that we > will get a polynomial with total degree of *at most* 4 and total > number of terms is *at most* 9. > > You're right, in such a big field the coefficient is almost alwa

[sage-devel] Re: sage-2.8.7

2007-10-16 Thread Robert Miller
On sage.math, I tried to run the public version: [EMAIL PROTECTED]:~$ sage -- | SAGE Version 2.8.7, Release Date: 2007-10-15 | | Type notebook() for the GUI, and license() for information.| -