[sage-support] Re: Running Sage through Apache2 with Reverse Proxy

2015-09-02 Thread kcrisman


> My test server at https://141.233.196.149/sagetest/ is back up and 
> running.  I think I have found all the problems.  I'm just about ready to 
> push my fixes into my master branch, convert my production server to 6.8 
> using this and put in a new pull request.  I will wait a couple of days 
> hoping that somebody interested in this will do a little testing.
>

Jsmols in published worksheet work, I didn't know that was supported but I 
guess it shouldn't surprise me!  Security risk? 

When one tries to create an account the html for the challenge is just 
text, ascii of the html.  So that is not so good, though I don't know if 
it's related to your changes or not.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Linear Programming - loading LP or MPS file?

2015-09-02 Thread Dima Pasechnik


On Tuesday, 1 September 2015 23:05:44 UTC-7, Nathann Cohen wrote:
>
> > isn't it a bit too much code to have this for each backend, rather than 
> just 
> > something that communicates with the 
> > frontend only? 
>
> Indeed. Were you thinking of something like that? 
>
> 1) Use GLPK to load a LP/MPS from a file  
> 2) Read the MILP at Python-level 
> 3) Use the info to create a new MILP object, and return it along with 
> the MIPVariable 
>

It seems that 3) should disregard MIPVariable. Otherwise, how do you use a
backend different from GLPK?

I think something like "from_file=..." argument in 
MixedIntegerLinearProgram() should be implemented,
and it ought to be compatible with "solver=...".
Behind the curtains it can talk to GLPK, no problem...

Dima

>
> Nathann 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Cyclotomic Field coercion

2015-09-02 Thread Volker Braun
Sounds right, can you open a ticket?



On Tuesday, September 1, 2015 at 1:41:06 PM UTC-4, Antonio Francisco Behn 
Von Schmieden wrote:
>
> There seems to be a bug in the implementation of the coercion from 
> universal cyclotomic field.  The rational part disappears when converting.
> For example:
>
>F.=CyclotomicField(4)
>F(-1/2 + 1/2*E(4))
>
> 1/2*c^2
>
>
> Reading the code:
> from sage.rings.number_field.number_field import 
> CyclotomicField
> k = self._obj.Conductor().sage()
> Rcan = CyclotomicField(k)
> if R is None:
> R = Rcan
> obj = self._obj
> if obj.IsRat():
> return R(obj.sage())
> zeta = Rcan.gen()
> coeffs = obj.CoeffsCyc(k).sage()
> return R(sum(coeffs[a] * zeta**a for a in range(1,k)))
>
> I believe the problem is in the range(1,k) which should be range(0,k)
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] The sage notebook does not show results

2015-09-02 Thread Oscar Lazo
Point 6 says "I don't thing the following sudo syntax works anymore. I 

> had to do this by hand now." Did you do that? 
>
>
I wouldn't know how to do that, but it ran smoothly, asked me for a path to 
place the key, a passphrase and it all worked seemingly fine. 

What happened on point 7 of instructions? If it worked, have you tried it 
> with accounts sage1, sage2 and so on? 
>
>
This did not work at all. It asked me for sage0's password, though I did 
not think it had one. I tried with oscarlazo's password which has root 
powers, but that didn't work either.

oscarlazo@VIDEO-AF:~$ sudo -u sageserver ssh sage0@localhost echo Done
sage0@localhost's password: 
Permission denied, please try again.
sage0@localhost's password: 
Permission denied, please try again.
sage0@localhost's password: 
Permission denied (publickey,password).

 How could the sage0, sage1,... passwords be changed?

Thank you!

Oscar

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Broken links to

2015-09-02 Thread Simon King
Hi William,

On 2015-09-01, William Stein  wrote:
>>> Anyway, let's stop telling Simon King that Bitbucket or Github will
>>> solve his 30GB of data hosting problem, when they don't.
>>
>>
>> Agreed.  There are two problems, not quite the same: first to find somewhere
>> to put the files -- not such a great problem, even the tiny card in my
>> camera has 32gb and external disk drives are not expensive;

My current affiliation (University of Jena) seems to be willing to
provide me with the possibility to host the data base and the
documentation of the package, although I am moving to University of
Cologne next month.

Reasons: The main part of the spkg was created in Jena, my main co-worker
is professor in Jena, and our computational results in human-readable
form are available in Jena anyway.

So, I guess the sources of the spkg will go to github (to finally
convert it to the new spkg format), the data and documentation will be
in Jena, and the main author will be in Cologne...

> I could host the files fine at UW now -- the issues are resolved.  The
> big problem now is labor.  I have no money to hire anybody (even super
> cheap students) to do work on the Sage cluster here, and I don't have
> the time.   If I had got that NSF grant earlier this summer it would
> be completely different.

You mentioned before that funding is the main problem. That's why I have
already asked (here or on sage-devel? I don't recall) whether hosting
digital data bases for advanced mathematical research lies within the
purpose of OpenDreamKit. The kick-off meeting of OpenDreamKit is right
now...

Best regards,
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.