[sage-devel] public worksheets

2012-10-04 Thread Jason Grout
I just submitted a pull request [1] that does some sanitizing for public worksheets. I applied this to demo.sagenb.org and temporarily re-enabled published worksheets there. Can people test this to see if it prevents bad content from making it through in published worksheets? I suppose we st

[sage-devel] public worksheets on *.sagenb.org

2012-10-04 Thread Jason Grout
I've implemented some sanitizing of public worksheets [1] and applied it to demo.sagenb.org as a test. The concerns from before were that javascript was executing on the page, leading to malware being on the page. Can people test the new html sanitizing being done on demo.sagenb.org? If it lo

[sage-devel] Re: public worksheets

2012-10-04 Thread Jason Grout
On 10/4/12 7:49 PM, kcrisman wrote: On Thursday, October 4, 2012 5:50:25 PM UTC-4, jason wrote: (apologies for possible multiple posts--I've sent this twice to gmane and it hasn't appeared) I've implemented some sanitizing of public worksheets [1] and applied it to demo.sa

[sage-devel] Re: public worksheets

2012-10-04 Thread kcrisman
On Thursday, October 4, 2012 5:50:25 PM UTC-4, jason wrote: > > (apologies for possible multiple posts--I've sent this twice to gmane > and it hasn't appeared) > > I've implemented some sanitizing of public worksheets [1] and applied it > to demo.sagenb.org as a test. The concerns from before

[sage-devel] public worksheets

2012-10-04 Thread Jason Grout
(apologies for possible multiple posts--I've sent this twice to gmane and it hasn't appeared) I've implemented some sanitizing of public worksheets [1] and applied it to demo.sagenb.org as a test. The concerns from before were that javascript was executing on the page, leading to malware bein

Re: [sage-devel] Please review: new ANF2CNF converter (#13558)

2012-10-04 Thread Tom Boothby
Philipp, The ticket already has some comments from Martin -- it needs doctests, etc. When I looked at the code, I found the documentation about the various substitution strategies. The docstrings should list the strategies and give an explanation for how they work. Regards, Tom On Thu, Oct

[sage-devel] Please review: new ANF2CNF converter (#13558)

2012-10-04 Thread Philipp Jovanovic
Hi everybody, I've got a proposal for a new anf2cnf converter supporting various substitution strategies. As I'm pretty new to SAGE, Martin Albrecht did me a favour and already opened a ticket. Below you find the ticket needing review please: http://trac.sagemath.org/sage_trac/ticket/1355

[sage-devel] Re: Cygwin on XP attempt

2012-10-04 Thread kcrisman
On Thursday, October 4, 2012 1:36:27 PM UTC-4, Jean-Pierre Flori wrote: > > > > On Thursday, October 4, 2012 7:33:02 PM UTC+2, Jean-Pierre Flori wrote: >> >> >> Well, you're not on XP, right? That seems like the right analysis, >>> though. >>> >>> Yup, but I got a bunch of such errors, so still

[sage-devel] Re: Cygwin on XP attempt

2012-10-04 Thread Jean-Pierre Flori
On Thursday, October 4, 2012 7:33:02 PM UTC+2, Jean-Pierre Flori wrote: > > > Well, you're not on XP, right? That seems like the right analysis, though. >> >> Yup, but I got a bunch of such errors, so still strange I did not get > that particular one. > Or maybe the cvxopt spkg was updated in b

[sage-devel] Re: Cygwin on XP attempt

2012-10-04 Thread Jean-Pierre Flori
On Thursday, October 4, 2012 7:15:21 PM UTC+2, kcrisman wrote: > > > > On Thursday, October 4, 2012 12:52:56 PM UTC-4, Jean-Pierre Flori wrote: >> >> >> >> On Thursday, October 4, 2012 6:07:27 PM UTC+2, kcrisman wrote: >>> >>> >>> > >>> > Should we continue this conversation in a new thread, or

[sage-devel] Re: Cygwin on XP attempt

2012-10-04 Thread kcrisman
On Thursday, October 4, 2012 12:52:56 PM UTC-4, Jean-Pierre Flori wrote: > > > > On Thursday, October 4, 2012 6:07:27 PM UTC+2, kcrisman wrote: >> >> >> > >> > Should we continue this conversation in a new thread, or on >> sage-windows? >> >> For now I'll leave it on sage-devel... though this

[sage-devel] Re: Cygwin on XP attempt

2012-10-04 Thread Jean-Pierre Flori
On Thursday, October 4, 2012 6:07:27 PM UTC+2, kcrisman wrote: > > > > > > Should we continue this conversation in a new thread, or on > sage-windows? > > For now I'll leave it on sage-devel... though this is mainly for JP > and/or Dima. > > I couldn't get cvxopt to build - Volker's new pack

Re: [sage-devel] Re: Modular forms membership testing bug

2012-10-04 Thread William Stein
On Thu, Oct 4, 2012 at 2:24 AM, David Loeffler wrote: > On 4 October 2012 00:57, Maarten Derickx wrote: >> The reason is that q_expansion_basis returns power series and not modular >> forms: > > Yes, I know, but in practice one often wants to know if a given power > series is the q-expansion of a

Re: [sage-devel] Re: failure to configure atlas

2012-10-04 Thread John Cremona
On 4 October 2012 16:35, Volker Braun wrote: > You are trying to import the html-formatted patch. The correct url would be > > sage -hg import > http://trac.sagemath.org/sage_trac/raw-attachment/ticket/10508/trac_10508_doctest.patch > > Note the /raw-attachment/ instead of /attachment/ in the url.

[sage-devel] Cygwin on XP attempt

2012-10-04 Thread kcrisman
> > Should we continue this conversation in a new thread, or on sage-windows? For now I'll leave it on sage-devel... though this is mainly for JP and/or Dima. I couldn't get cvxopt to build - Volker's new package, unsurprisingly, gave the same results. The log is at http://sage.math.washington

Re: [sage-devel] Re: failure to configure atlas

2012-10-04 Thread Volker Braun
You are trying to import the html-formatted patch. The correct url would be sage -hg import http://trac.sagemath.org/sage_trac/raw-attachment/ticket/10508/trac_10508_doctest.patch Note the /raw-attachment/ instead of /attachment/ in the url. On Thursday, October 4, 2012 3:13:58 PM UTC+1, John

Re: [sage-devel] Re: failure to configure atlas

2012-10-04 Thread John Cremona
Progress report: the build finished fine. Sage runs. Next I started to apply the other two patches on #10508. Since I don't have a working hg I used sage -hg but: masgaj@host-56-160%pwd /home/masgaj/local/sage-5.4.rc0/devel/sage masgaj@host-56-160%../../sage -hg import http://trac.sagemath.org

Re: [sage-devel] Re: failure to configure atlas

2012-10-04 Thread John Cremona
On 4 October 2012 12:59, Jeroen Demeyer wrote: > On 2012-10-04 13:41, John Cremona wrote: >> 2. I downloaded the new atlas and cvxopt spkgs from that ticket to >> SAGE_ROOT/spkg/standard > Good. > >> 3. Before starting to build, I see that tehre are two patches to be >> applied. > Not sure where y

Re: [sage-devel] Re: failure to configure atlas

2012-10-04 Thread Jeroen Demeyer
On 2012-10-04 13:41, John Cremona wrote: > 2. I downloaded the new atlas and cvxopt spkgs from that ticket to > SAGE_ROOT/spkg/standard Good. > 3. Before starting to build, I see that tehre are two patches to be > applied. Not sure where you get the number "two" from, I assume you meant either "on

Re: [sage-devel] Re: failure to configure atlas

2012-10-04 Thread John Cremona
On 4 October 2012 12:01, Volker Braun wrote: > I think its a known issue that the old ATLAS won't work with the newest > CPUs. Can you try the new ATLAS spkg: > > http://trac.sagemath.org/10508 > To check I am doing the right thing: 1. #10508 had various dependencies now merged in 5.4 so I switc

Re: [sage-devel] Re: failure to configure atlas

2012-10-04 Thread John Cremona
On 4 October 2012 12:01, Volker Braun wrote: > I think its a known issue that the old ATLAS won't work with the newest > CPUs. Can you try the new ATLAS spkg: > > http://trac.sagemath.org/10508 OK, I will do. For the record: vendor_id : GenuineIntel cpu family : 6 model : 4

[sage-devel] Re: failure to configure atlas

2012-10-04 Thread Volker Braun
I think its a known issue that the old ATLAS won't work with the newest CPUs. Can you try the new ATLAS spkg: http://trac.sagemath.org/10508 On Thursday, October 4, 2012 11:51:52 AM UTC+1, John Cremona wrote: > > I tried to build sage-5.3 on the new desktop my department has just > supplied m

[sage-devel] failure to configure atlas

2012-10-04 Thread John Cremona
I tried to build sage-5.3 on the new desktop my department has just supplied me with (on which I do not have root access), and atlas failed to configure. uname -a Linux host-56-160 3.0.38-0.5-default #1 SMP Fri Aug 3 09:02:17 UTC 2012 (358029e) x86_64 x86_64 x86_64 GNU/Linux gcc -v Using built-in

Re: [sage-devel] Re: Modular forms membership testing bug

2012-10-04 Thread David Loeffler
On 4 October 2012 00:57, Maarten Derickx wrote: > The reason is that q_expansion_basis returns power series and not modular > forms: Yes, I know, but in practice one often wants to know if a given power series is the q-expansion of an element of the space, and it seems strange to me that you can