[sage-support] Re: error proxying Sage behind Apache2 after 5.2 update..... a '/' is missing in urls!?

2012-08-30 Thread Keshav Kini
Chris Seberino writes: > SOLVED! > > I'm posting this in case it helps anyone else out there trying to use > Sage with Apache. > The problem with an Apache config issue. The line below is wrong... > > > Redirect / https://sage.phil4.com > > > > It should be this: > > Redirect / https:/

[sage-support] Re: error proxying Sage behind Apache2 after 5.2 update..... a '/' is missing in urls!?

2012-08-30 Thread Chris Seberino
SOLVED! I'm posting this in case it helps anyone else out there trying to use Sage with Apache. The problem with an Apache config issue. The line below is wrong... > Redirect / https://sage.phil4.com > > It should be this: Redirect / https://sage.phil4.com/ (Notice the / at the end now.)

[sage-support] Re: aleph: turn the preparser off?

2012-08-30 Thread Jason Grout
On 8/30/12 11:26 AM, William Stein wrote: On Thu, Aug 30, 2012 at 9:24 AM, Jason Grout wrote: On 8/30/12 11:00 AM, John H Palmieri wrote: Is it possible to turn off the preparser for a few lines when using http://aleph.sagemath.org? The easiest way to do that is to use eval() or exec or co

Re: [sage-support] Re: aleph: turn the preparser off?

2012-08-30 Thread William Stein
On Thu, Aug 30, 2012 at 9:24 AM, Jason Grout wrote: > On 8/30/12 11:00 AM, John H Palmieri wrote: >> >> Is it possible to turn off the preparser for a few lines when using >> http://aleph.sagemath.org? >> > > The easiest way to do that is to use eval() or exec or compile to evaluate > your string:

[sage-support] Re: aleph: turn the preparser off?

2012-08-30 Thread Jason Grout
On 8/30/12 11:00 AM, John H Palmieri wrote: Is it possible to turn off the preparser for a few lines when using http://aleph.sagemath.org? The easiest way to do that is to use eval() or exec or compile to evaluate your string: eval("type(1)") or exec "a=1"; type(a) With aleph version 1: htt

[sage-support] aleph: turn the preparser off?

2012-08-30 Thread John H Palmieri
Is it possible to turn off the preparser for a few lines when using http://aleph.sagemath.org? -- John -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from thi

[sage-support] Re: Linear programming in sage

2012-08-30 Thread kcrisman
John, if you have any doc upgrades on this, *please* open a ticket and put them there! I've occasionally had to use this too, and as someone who definitely isn't that comfortable with using computers (as opposed to graphs!) to do LP, any help would be great. We don't want people reverting to

Re: [sage-support] Sage in Computer Lab

2012-08-30 Thread Jorge Garcia
I had my tech dept isolate my room from the rest of the school so I don't see any other dhcp servers. They created a different logical subnet on the school network. I have IPs like 10.5.xxx.xxx while every other room has 10.10.xxx.xxx. I have setup SAGE servers and even a DHCP server for MPI in the

[sage-support] Re: Sage in Computer Lab

2012-08-30 Thread Volker Braun
The Sage virtual machine is set up to run the notebook server in the virtual machine, it is not reachable from the outside. If you just want to use the browser inside the VM (and not the host web browser) then you can disable the port forwarding from the virtual machine to have it completely en

[sage-support] Re: Linear programming in sage

2012-08-30 Thread Robert Samal
Thanks John! Your suggestion sage: p.solver_parameter("simplex_or_intopt", "simplex_then_intopt") > Works nicely also on sage v5.2. It would be worth to document it though. p.solve? doesn't mention anything (p = MixedIntegerLinearProgram() ), p.solver_parameter says that GLPK specific pa

Re: [sage-support] Calculate discrimanent of relative number fields

2012-08-30 Thread David Loeffler
On 29 August 2012 12:54, Cindy wrote: > Hi, > > Given a cyclotomic field Q(zeta_n), where zeta_n is a primitive nth root of > unity, with maximal real subfield F, how can I calculate the discriminant of > K/F? You need to use the "relativize" command to create the field extension K / F. Here's an

Re: [sage-support] Sage in Computer Lab

2012-08-30 Thread Jori Mantysalo
On Wed, 29 Aug 2012, Luis Garcia-Puente wrote: After the sys admin installed Sage in one computer, he "discovered" that SAGE starts a server. Soon after, this was labeled as a "security risk" and SAGE was removed from every computer in the lab. Sage on Windows is application on VirtualBox. Ad