Hi all,
https://github.com/acleone/sageserver
A few days ago I sent out a proposal for a scalable sage server (see [1] for
the discussion and [2] for the document in question).
I did some initial work on the "Computation Node" and browser client parts
over the summer. It switched the message fo
>
> In some cases it might make sense to be able to specify coordinates or
> other rich data:
>
> {image:"foo.png", position:[3,7]}
>
> This argues for making the output document have a type like you
> suggested above, e.g.,
>
> {t:'image', data:'foo.png', position:[3,7]}
t for 'type'. Otherwi
>
> Alex -- can you also post your document to the wiki (or a link to it)?
> http://wiki.sagemath.org/Notebook%20scalability
>
Done. It's in the Notes section.
> 1. I wouldn't do a "isAdmin" property for users. Rather, create one or
> > more groups that are marked as isAdmin and then add the
Sorry, I meant that deadlock *shouldn't* be problem. The problem is the
call to read(0, )... by the singular process before it writes anything to
stdout (eg write(1, ")).
- Alex
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an e
This should be the problem:
1. If you start singular normally, it prints version info, etc to stdout and
then waits for stdin. So if we read stdout, we should get something
immediately after the process is started.
2. We set stdout to nonblocking (in the python process), so read() doesn't
block.
I wrote a small script (see attached) that reads ~1 second of the stdout of
a command opened with subprocess.Popen(). For some reason singular doesn't
like this and refuses to show any output. However gap works fine:
singular output:
{{{
SAGE_ROOT=/home/alex/progs/src/sage-4.6.1.alpha2
(sage su
for reference: I'm running Ubuntu 10.10 on a quad core, 2.6.35-22-generic
1. This is not an issue with select. This is an issue with the low_latency
pty stuff that Simon mentioned. I tested this by modifying pexpect to use
true nonblocking io (ie set the child_fd to O_NONBLOCK, and then just rea
I've been thinking about architecture for a while. I'll copy some of
my ideas to that page when I get a chance. Hopefully we can nail down
a general structure before the bug days in January.
> I've put up a page on the wiki about this project. Any interested
> parties are strongly encouraged to
select.select is a networking call - in this case (probably) to see if
there is any output from the singular process. I would try running
singular directly to see if it takes ~20 seconds for the prompt to
appear.
- Alex
http://docs.python.org/library/select.html
--
To post to this group, send
This should be fixed with the ast display-hook patch, #7997
- Alex
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/grou
One approach would be to store all the variables in a nested
dictionary, eg n[1, 2][2, 2], and use var('n_1_2_2_2',
latex_name='n_{(1,2),(2,2)}') to create the variables.
Here's an example:
nn = dict( [ ((i, j), {}) for i in [1..2] for j in [1..2] ] )
nn[(1, 1)] = dict( [ ((i, j),
var
Hi Alberto,
I'm currently working on a matrix viewer for the sage notebook (using
SVG). It wouldn't be too difficult to add editing features once it's
been integrated with the notebook.
http://students.washington.edu/acleone/sage_matrix/
- Alex
--
To post to this group, send an email to sage-
Sorry, that was rather cryptic. Does
sage/rings/number_field/totallyreal_dsage.py need to be removed?
- Alex
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit
I thought dsage was removed?
- Alex
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sa
Mozilla Bespin[1], which is an browser-based IDE with syntax highlighting
etc, recently released an easy way to embed the editor in your own web
pages. I'll look into how hard it would be to use in Sage. It's still
pretty alpha.
- Alex
[1] https://bespin.mozilla.com/
--
To post to this group
What would change between the current UI and a webkit UI?
1. When the webkit UI is closed, the Sage process closes
2. Dedicated windows for worksheets?
Anything else?
Instead of a stand-alone webkit UI, how about making sage installable?
1. Start menu item for sage, that when run
2. Displays a loa
16 matches
Mail list logo