#6855: Embed live cells in external web pages and enable published interacts
---------------------------+------------------------------------------------
Reporter: mpatel | Owner: boothby
Type: enhancement | Status: new
Priority: major | Milestone:
Component: notebook | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
---------------------------+------------------------------------------------
Comment(by mpatel):
B15 enables cell expiration ("garbage collection") for the proxy worksheet
process, which can handle multiple concurrent viewers. Still to do:
* Security: Make recomputing / updating `interact`s send only ''data''
(e.g., arguments), not call the library functions `_interact_.update` and
`_interact_.recompute` directly. Otherwise, a user can execute arbitrary
code (on a private server with working published interacts) by prefixing
it with `'%__sage_interact__'`. This should be straightforward to
implement, although I'm not sure about replacing the `sage_eval`s in
`interact.py`. Perhaps we can suppress them in "public mode"?
* Allow a worksheet to use a ''pool'' of `sage` processes to evaluate
queued cells [1]. Since we `reset()` after each `interact` update, the
main difficulty here is passing a cell's global `_interact_.state` to the
process assigned to evaluate the cell. Can we simplify and store this
state in a cell attribute?
[1] Related: Share one compute process among multiple worksheets (cf.
#7655).
Anyway, with or without these changes, the logical next step is allocate a
`W_remote_proxy` worksheet for ''remote'' `interact`s analogous to the
published `interact`s' `W_pub_proxy`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6855#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.