Re: [sage-cell] Re: [sage-devel] Sage cells in interact wiki

2016-10-09 Thread Andrey Novoseltsev
On Monday, 19 September 2016 18:59:09 UTC-6, Jason Grout wrote:
>
> Some ideas:
>
> Is the MoinMoin sage cell extension enabled? 
> https://github.com/sagemath/sagecell/blob/master/contrib/moinmoin/sagecell.py.
>  If 
> it is enabled, was MoinMoin updated and the extension no longer works?
>
> Thanks,
>
> Jason
>

Thanks for the pointer, Jason! Cells are created now but it would be great 
to go over interacts to fix deprecated and broken things or report new bugs.


>
> On Mon, Sep 19, 2016 at 8:48 PM William Stein  > wrote:
>
>> On Mon, Sep 19, 2016 at 1:46 PM, Andrey Novoseltsev > > wrote:
>>
>>> On Monday, 19 September 2016 10:53:27 UTC-6, William wrote:

 This seems to be an absolutely *massive* issue, which I'm sure was 
 caused by some API change by Andrey.  These wiki pages have worked fine 
 for 
 about 7 years, so it's annoying that they are all suddenly broken. 

 > I guess it was meant to use the Sage cell server to make the 
 examples actually work but it doesn't do that anymore.

 They did actually work (and well) until very, very recently.

>>>
>>> Do you have a better idea of how recently? Week/month/several months? 
>>>
>>
>> Hmm.  This could also coincide with when Mike Hansen moved the wiki to 
>> GCE.
>>  
>>
>>>
>>> Looking at the page source, I do not understand how embedded_sagecell.js 
>>> is supposed to load and there are no requests for it reported by browser. 
>>> Console complains about $, so something is off with jQuery, I guess. For 
>>> the record there is no need to load/use it with sagecell.makeSagecell at 
>>> all. And as "official API" that I am trying hard not to break (or at least 
>>> fix when I do) I consider 
>>> https://github.com/sagemath/sagecell/blob/master/doc/embedding.rst
>>>
>>> So - it does not work indeed, but I have no idea why and I hope that I 
>>> am not responsible ;-)
>>>
>>
>> I now think that you are not responsible at all.  Thanks for the hints 
>> above!
>>  
>>
>>>
>>> Thank you!
>>> Andrey
>>>
>>>
  -- William

 On Mon, Sep 19, 2016 at 6:04 AM, Jeroen Demeyer  
 wrote:

> The "interact" wiki page
> https://wiki.sagemath.org/interact
> is seriously broken: I guess it was meant to use the Sage cell server 
> to make the examples actually work but it doesn't do that anymore. What 
> is 
> worse: also the source code is not shown, making the examples almost 
> totally useless...
>
> Well, the Sage source code is still in the source of the wiki page, 
> but that's not very practical. However, there seem to be some 
> backslash-escaping going on, making the examples not 100% copy-pastable.
>
> Some context: I am working on an implementation of the SageNB 
> interacts in Jupyter at https://trac.sagemath.org/ticket/21267 and 
> that page is a valuable source of examples for me.
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-devel+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>



 -- 
 William (http://wstein.org)

>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "sage-cell" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to sage-cell+...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sage-cell/87a9ae7b-5ea6-4a7f-b435-5eced2efe633%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> William (http://wstein.org)
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-cell" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-cell+...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-cell/CACLE5GBwhA4TrzSKYQamL_DN93oiFLqWCtkK445dGwse50JWQw%40mail.gmail.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.c

Re: [sage-cell] Re: [sage-devel] Sage cells in interact wiki

2016-09-19 Thread Andrey Novoseltsev
On Monday, 19 September 2016 18:59:08 UTC-6, Jason Grout wrote:
>
> Some ideas:
>
> Is the MoinMoin sage cell extension enabled? 
> https://github.com/sagemath/sagecell/blob/master/contrib/moinmoin/sagecell.py.
>  If 
> it is enabled, was MoinMoin updated and the extension no longer works?
>

While I think the old version should work if it is enabled (no clue about 
this stuff), it is not necessary to load jQuery, we do not promote aleph 
name, and HTTPS is better. I've made some changes here and hope that they 
will work: 
https://github.com/sagemath/sagecell/commit/b3f3985c6286f745d92e677acf3a17314c7087ce


> Thanks,
>
> Jason
>
>

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


Re: [sage-cell] Re: [sage-devel] Sage cells in interact wiki

2016-09-19 Thread Jason Grout
Some ideas:

Is the MoinMoin sage cell extension enabled?
https://github.com/sagemath/sagecell/blob/master/contrib/moinmoin/sagecell.py.
If
it is enabled, was MoinMoin updated and the extension no longer works?

Thanks,

Jason


On Mon, Sep 19, 2016 at 8:48 PM William Stein  wrote:

> On Mon, Sep 19, 2016 at 1:46 PM, Andrey Novoseltsev 
> wrote:
>
>> On Monday, 19 September 2016 10:53:27 UTC-6, William wrote:
>>>
>>> This seems to be an absolutely *massive* issue, which I'm sure was
>>> caused by some API change by Andrey.  These wiki pages have worked fine for
>>> about 7 years, so it's annoying that they are all suddenly broken.
>>>
>>> > I guess it was meant to use the Sage cell server to make the examples
>>> actually work but it doesn't do that anymore.
>>>
>>> They did actually work (and well) until very, very recently.
>>>
>>
>> Do you have a better idea of how recently? Week/month/several months?
>>
>
> Hmm.  This could also coincide with when Mike Hansen moved the wiki to GCE.
>
>
>>
>> Looking at the page source, I do not understand how embedded_sagecell.js
>> is supposed to load and there are no requests for it reported by browser.
>> Console complains about $, so something is off with jQuery, I guess. For
>> the record there is no need to load/use it with sagecell.makeSagecell at
>> all. And as "official API" that I am trying hard not to break (or at least
>> fix when I do) I consider
>> https://github.com/sagemath/sagecell/blob/master/doc/embedding.rst
>>
>> So - it does not work indeed, but I have no idea why and I hope that I am
>> not responsible ;-)
>>
>
> I now think that you are not responsible at all.  Thanks for the hints
> above!
>
>
>>
>> Thank you!
>> Andrey
>>
>>
>>>  -- William
>>>
>>> On Mon, Sep 19, 2016 at 6:04 AM, Jeroen Demeyer 
>>> wrote:
>>>
 The "interact" wiki page
 https://wiki.sagemath.org/interact
 is seriously broken: I guess it was meant to use the Sage cell server
 to make the examples actually work but it doesn't do that anymore. What is
 worse: also the source code is not shown, making the examples almost
 totally useless...

 Well, the Sage source code is still in the source of the wiki page, but
 that's not very practical. However, there seem to be some
 backslash-escaping going on, making the examples not 100% copy-pastable.

 Some context: I am working on an implementation of the SageNB interacts
 in Jupyter at https://trac.sagemath.org/ticket/21267 and that page is
 a valuable source of examples for me.

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

>>>
>>>
>>>
>>> --
>>> William (http://wstein.org)
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-cell" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-cell+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-cell/87a9ae7b-5ea6-4a7f-b435-5eced2efe633%40googlegroups.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> William (http://wstein.org)
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-cell" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-cell+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-cell/CACLE5GBwhA4TrzSKYQamL_DN93oiFLqWCtkK445dGwse50JWQw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [sage-cell] Re: [sage-devel] Sage cells in interact wiki

2016-09-19 Thread William Stein
On Mon, Sep 19, 2016 at 1:46 PM, Andrey Novoseltsev 
wrote:

> On Monday, 19 September 2016 10:53:27 UTC-6, William wrote:
>>
>> This seems to be an absolutely *massive* issue, which I'm sure was caused
>> by some API change by Andrey.  These wiki pages have worked fine for about
>> 7 years, so it's annoying that they are all suddenly broken.
>>
>> > I guess it was meant to use the Sage cell server to make the examples
>> actually work but it doesn't do that anymore.
>>
>> They did actually work (and well) until very, very recently.
>>
>
> Do you have a better idea of how recently? Week/month/several months?
>

Hmm.  This could also coincide with when Mike Hansen moved the wiki to GCE.


>
> Looking at the page source, I do not understand how embedded_sagecell.js
> is supposed to load and there are no requests for it reported by browser.
> Console complains about $, so something is off with jQuery, I guess. For
> the record there is no need to load/use it with sagecell.makeSagecell at
> all. And as "official API" that I am trying hard not to break (or at least
> fix when I do) I consider https://github.com/sagemath/
> sagecell/blob/master/doc/embedding.rst
>
> So - it does not work indeed, but I have no idea why and I hope that I am
> not responsible ;-)
>

I now think that you are not responsible at all.  Thanks for the hints
above!


>
> Thank you!
> Andrey
>
>
>>  -- William
>>
>> On Mon, Sep 19, 2016 at 6:04 AM, Jeroen Demeyer 
>> wrote:
>>
>>> The "interact" wiki page
>>> https://wiki.sagemath.org/interact
>>> is seriously broken: I guess it was meant to use the Sage cell server to
>>> make the examples actually work but it doesn't do that anymore. What is
>>> worse: also the source code is not shown, making the examples almost
>>> totally useless...
>>>
>>> Well, the Sage source code is still in the source of the wiki page, but
>>> that's not very practical. However, there seem to be some
>>> backslash-escaping going on, making the examples not 100% copy-pastable.
>>>
>>> Some context: I am working on an implementation of the SageNB interacts
>>> in Jupyter at https://trac.sagemath.org/ticket/21267 and that page is a
>>> valuable source of examples for me.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "sage-devel" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to sage-devel+...@googlegroups.com.
>>> To post to this group, send email to sage-...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/sage-devel.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> William (http://wstein.org)
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-cell" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-cell+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/sage-cell/87a9ae7b-5ea6-4a7f-b435-5eced2efe633%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
William (http://wstein.org)

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


Re: [sage-devel] Sage cells in interact wiki

2016-09-19 Thread Paul Masson
I copied the generated source from a couple pages to an empty file and 
added a link to the SageMathCell script,

https://sagecell.sagemath.org/static/embedded_sagecell.js";>

and the interacts run (albeit with numerous deprecation errors). There is 
no problem with the SageMathCell server, there's just no JavaScript 
available to process the interacts.


On Monday, September 19, 2016 at 1:46:36 PM UTC-7, Andrey Novoseltsev wrote:
>
> On Monday, 19 September 2016 10:53:27 UTC-6, William wrote:
>>
>> This seems to be an absolutely *massive* issue, which I'm sure was caused 
>> by some API change by Andrey.  These wiki pages have worked fine for about 
>> 7 years, so it's annoying that they are all suddenly broken. 
>>
>> > I guess it was meant to use the Sage cell server to make the examples 
>> actually work but it doesn't do that anymore.
>>
>> They did actually work (and well) until very, very recently.
>>
>
> Do you have a better idea of how recently? Week/month/several months? 
>
> Looking at the page source, I do not understand how embedded_sagecell.js 
> is supposed to load and there are no requests for it reported by browser. 
> Console complains about $, so something is off with jQuery, I guess. For 
> the record there is no need to load/use it with sagecell.makeSagecell at 
> all. And as "official API" that I am trying hard not to break (or at least 
> fix when I do) I consider 
> https://github.com/sagemath/sagecell/blob/master/doc/embedding.rst
>
> So - it does not work indeed, but I have no idea why and I hope that I am 
> not responsible ;-)
>
> Thank you!
> Andrey
>
>
>>  -- William
>>
>> On Mon, Sep 19, 2016 at 6:04 AM, Jeroen Demeyer  
>> wrote:
>>
>>> The "interact" wiki page
>>> https://wiki.sagemath.org/interact
>>> is seriously broken: I guess it was meant to use the Sage cell server to 
>>> make the examples actually work but it doesn't do that anymore. What is 
>>> worse: also the source code is not shown, making the examples almost 
>>> totally useless...
>>>
>>> Well, the Sage source code is still in the source of the wiki page, but 
>>> that's not very practical. However, there seem to be some 
>>> backslash-escaping going on, making the examples not 100% copy-pastable.
>>>
>>> Some context: I am working on an implementation of the SageNB interacts 
>>> in Jupyter at https://trac.sagemath.org/ticket/21267 and that page is a 
>>> valuable source of examples for me.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "sage-devel" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to sage-devel+...@googlegroups.com.
>>> To post to this group, send email to sage-...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/sage-devel.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> William (http://wstein.org)
>>
>

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


Re: [sage-devel] Sage cells in interact wiki

2016-09-19 Thread Andrey Novoseltsev
On Monday, 19 September 2016 10:53:27 UTC-6, William wrote:
>
> This seems to be an absolutely *massive* issue, which I'm sure was caused 
> by some API change by Andrey.  These wiki pages have worked fine for about 
> 7 years, so it's annoying that they are all suddenly broken. 
>
> > I guess it was meant to use the Sage cell server to make the examples 
> actually work but it doesn't do that anymore.
>
> They did actually work (and well) until very, very recently.
>

Do you have a better idea of how recently? Week/month/several months? 

Looking at the page source, I do not understand how embedded_sagecell.js is 
supposed to load and there are no requests for it reported by browser. 
Console complains about $, so something is off with jQuery, I guess. For 
the record there is no need to load/use it with sagecell.makeSagecell at 
all. And as "official API" that I am trying hard not to break (or at least 
fix when I do) I consider 
https://github.com/sagemath/sagecell/blob/master/doc/embedding.rst

So - it does not work indeed, but I have no idea why and I hope that I am 
not responsible ;-)

Thank you!
Andrey


>  -- William
>
> On Mon, Sep 19, 2016 at 6:04 AM, Jeroen Demeyer  > wrote:
>
>> The "interact" wiki page
>> https://wiki.sagemath.org/interact
>> is seriously broken: I guess it was meant to use the Sage cell server to 
>> make the examples actually work but it doesn't do that anymore. What is 
>> worse: also the source code is not shown, making the examples almost 
>> totally useless...
>>
>> Well, the Sage source code is still in the source of the wiki page, but 
>> that's not very practical. However, there seem to be some 
>> backslash-escaping going on, making the examples not 100% copy-pastable.
>>
>> Some context: I am working on an implementation of the SageNB interacts 
>> in Jupyter at https://trac.sagemath.org/ticket/21267 and that page is a 
>> valuable source of examples for me.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-devel" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-devel+...@googlegroups.com .
>> To post to this group, send email to sage-...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/sage-devel.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> William (http://wstein.org)
>

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


Re: [sage-devel] Sage cells in interact wiki

2016-09-19 Thread William Stein
This seems to be an absolutely *massive* issue, which I'm sure was caused
by some API change by Andrey.  These wiki pages have worked fine for about
7 years, so it's annoying that they are all suddenly broken.

> I guess it was meant to use the Sage cell server to make the examples
actually work but it doesn't do that anymore.

They did actually work (and well) until very, very recently.

 -- William

On Mon, Sep 19, 2016 at 6:04 AM, Jeroen Demeyer 
wrote:

> The "interact" wiki page
> https://wiki.sagemath.org/interact
> is seriously broken: I guess it was meant to use the Sage cell server to
> make the examples actually work but it doesn't do that anymore. What is
> worse: also the source code is not shown, making the examples almost
> totally useless...
>
> Well, the Sage source code is still in the source of the wiki page, but
> that's not very practical. However, there seem to be some
> backslash-escaping going on, making the examples not 100% copy-pastable.
>
> Some context: I am working on an implementation of the SageNB interacts in
> Jupyter at https://trac.sagemath.org/ticket/21267 and that page is a
> valuable source of examples for me.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
William (http://wstein.org)

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