On Sun, Oct 11, 2009 at 11:38, William Stein wrote:
> That's it. It worked first try, and solves the problem.
I'm not a twisted expert, but i know a lot about threads and sub
processes. The basic problem is, that the user calls something
synchronized when he/she requests a zip, but behind the s
On Sun, Oct 11, 2009 at 2:38 AM, William Stein wrote:
> On Wed, Aug 19, 2009 at 1:19 AM, Robert Bradshaw
> wrote:
> >
>
>
>
> The Sage Notebook is a Twisted application, and Twisted's "deferreds"
> might seem like a good idea for solving the above problem. However,
> they are actually *not*
On Wed, Aug 19, 2009 at 1:19 AM, Robert Bradshaw
wrote:
>
> On Jul 22, 2009, at 11:12 AM, ghtdak wrote:
>
>> On Jul 21, 6:40 pm, "Dr. David Kirkby"
>> wrote:
>>> ghtdak wrote:
>>>
This thread has gotten long and there are many subjects embedded
within.
>>>
One of the problems I've
On Aug 23, 4:51 pm, Alex Clemesha wrote:
> On Fri, Aug 21, 2009 at 5:56 PM, Yoav Aner wrote:
>
> > Sounds like a great idea to me to de-couple the notebook from sage.
> > Appengine is not the only option though (but maybe the cheapest at
> > least for now), you could probably use an Amazon EC2
On Sun, Aug 23, 2009 at 10:37 PM, Brian Granger wrote:
> William,
>
> Thanks for clarifying some of the details of pexpect. I do really want to
> understand this because I am starting to use the notebook more and currently
> IPython's parallel stuff works fine (there are a few things that need to
William,
Thanks for clarifying some of the details of pexpect. I do really want to
understand this because I am starting to use the notebook more and currently
IPython's parallel stuff works fine (there are a few things that need to be
fixed on our side to make it easier though).
Moreover, as lo
On Sun, Aug 23, 2009 at 9:17 AM, Brian Granger wrote:
>
>> In the current architecture, a twistd daemon spawns a notebook server
>> which is responsible for doing "sage" stuff. twistd is fully
>> asynchronous, but the notebook process itself is a pexpect based
>> blocking process connected with
> In the current architecture, a twistd daemon spawns a notebook server
> which is responsible for doing "sage" stuff. twistd is fully
> asynchronous, but the notebook process itself is a pexpect based
> blocking process connected with pipes to twistd. As such, the block
> on read by pexpect prec
On Fri, Aug 21, 2009 at 5:56 PM, Yoav Aner wrote:
>
> Sounds like a great idea to me to de-couple the notebook from sage.
> Appengine is not the only option though (but maybe the cheapest at
> least for now), you could probably use an Amazon EC2 instance just as
> easily (and with some more facili
On Aug 22, 6:04 am, Thierry Dumont wrote:
> Yoav Aner a écrit :
>
> > only web-based requests. Google also try to push users to have a
> > google account to authenticate. It might be a good or a bad thing,
> > depending on your perspective. Amazon EC2 in that respect gives you
> > more flexibil
On Fri, Aug 21, 2009 at 9:28 PM, ghtdak wrote:
>
> > I wonder if this has contributed to the lack of contributions to the
> > notebook relative to other parts of Sage.
>
> The Notebook has a major problem. The pexpect code is opaque and
> kludgy and includes strings of python code which get inje
Yoav Aner a écrit :
>
> only web-based requests. Google also try to push users to have a
> google account to authenticate. It might be a good or a bad thing,
> depending on your perspective. Amazon EC2 in that respect gives you
> more flexibility I believe. I would personally avoid either from a
>
> > def doThings():
>
> > myDeferred = someting_that_blocks();
>
> > def doThingOne(result1):
> > print("doing ThingOne", result1)
> > return sqrt(result1)
> > myDeferred.addCallback(doThingOne)
>
> > def doThingTwo(result2):
> > print("doing ThingTwo",
On Aug 21, 2009, at 4:18 PM, ghtdak wrote:
>
>>
>>> Of course, this is the penultimate reason that going multi-
>>> threaded in
>>> python is insane... not only do you get the opportunity to learn all
>>> about synchronization and thread management, you also enjoy non-
>>> deterministic bugs whi
>
> > Of course, this is the penultimate reason that going multi-threaded in
> > python is insane... not only do you get the opportunity to learn all
> > about synchronization and thread management, you also enjoy non-
> > deterministic bugs which only take days or weeks to solve whereas more
> >
Sounds like a great idea to me to de-couple the notebook from sage.
Appengine is not the only option though (but maybe the cheapest at
least for now), you could probably use an Amazon EC2 instance just as
easily (and with some more facilities at your disposal, having a
virtual server running).
So
On Thu, 20 Aug 2009, ghtdak wrote:
>>> Not surprising. Also, I forgot about the GIL, which truely limits the
>>> performance benifits of threading in Python. If anything ever kills
>>> Python, I bet it'll be the GIL (but I'm hopeful that it'll get removed
>>> before it causes an untimely death...
.
>
> > Not surprising. Also, I forgot about the GIL, which truely limits the
> > performance benifits of threading in Python. If anything ever kills
> > Python, I bet it'll be the GIL (but I'm hopeful that it'll get removed
> > before it causes an untimely death...)
>
> Maybe you can remove it :-
Robert Bradshaw wrote:
>
> Not surprising. Also, I forgot about the GIL, which truely limits the
> performance benifits of threading in Python. If anything ever kills
> Python, I bet it'll be the GIL (but I'm hopeful that it'll get removed
> before it causes an untimely death...)
>
Has anyone
2009/8/19 Robert Bradshaw :
> On Wed, 19 Aug 2009, William Stein wrote:
>
>>
>> 2009/8/19 Robert Bradshaw :
>>>
>>> On Wed, 19 Aug 2009, William Stein wrote:
>>>
On Wed, Aug 19, 2009 at 1:19 AM, Robert
Bradshaw wrote:
> Multithreading will have to be introduced at one
> leve
On Wed, 19 Aug 2009, William Stein wrote:
>
> 2009/8/19 Robert Bradshaw :
>>
>> On Wed, 19 Aug 2009, William Stein wrote:
>>
>>>
>>> On Wed, Aug 19, 2009 at 1:19 AM, Robert
>>> Bradshaw wrote:
Multithreading will have to be introduced at one
level or another to scale the notebook to more
2009/8/19 Robert Bradshaw :
>
> On Wed, 19 Aug 2009, William Stein wrote:
>
>>
>> On Wed, Aug 19, 2009 at 1:19 AM, Robert
>> Bradshaw wrote:
>>> Multithreading will have to be introduced at one
>>> level or another to scale the notebook to more than a single
>>> processor anyways.
>>>
>>> - Robert
On Wed, 19 Aug 2009, William Stein wrote:
>
> On Wed, Aug 19, 2009 at 1:19 AM, Robert
> Bradshaw wrote:
>> Multithreading will have to be introduced at one
>> level or another to scale the notebook to more than a single
>> processor anyways.
>>
>> - Robert
>
> Huh? Why? I don't see any need fo
On Wed, Aug 19, 2009 at 1:19 AM, Robert
Bradshaw wrote:
> Multithreading will have to be introduced at one
> level or another to scale the notebook to more than a single
> processor anyways.
>
> - Robert
Huh? Why? I don't see any need for multithreading to solve the
above problem, or rather I
On Jul 22, 2009, at 11:12 AM, ghtdak wrote:
> On Jul 21, 6:40 pm, "Dr. David Kirkby"
> wrote:
>> ghtdak wrote:
>>
>>> This thread has gotten long and there are many subjects embedded
>>> within.
>>
>>> One of the problems I've had with the notebook implementation is
>>> that
>>> the sage proce
On Aug 19, 2009, at 12:18 AM, Pat LeSmithe wrote:
>
> On Jul 22, 9:23 pm, William Stein wrote:
>> On Wed, Jul 22, 2009 at 2:19 PM, ghtdak wrote:
>>> My primary problem is that the Sage subprocess is blocking
>>> forever on
>>> the other side of the pipe when its not computing... Therefore, I
>
Pat LeSmithe wrote:
> On Jul 22, 9:23 pm, William Stein wrote:
>> On Wed, Jul 22, 2009 at 2:19 PM, ghtdak wrote:
>>> My primary problem is that the Sage subprocess is blocking forever on
>>> the other side of the pipe when its not computing... Therefore, I
>>> can't have a Sage sub-process that I
On Jul 22, 9:23 pm, William Stein wrote:
> On Wed, Jul 22, 2009 at 2:19 PM, ghtdak wrote:
> > My primary problem is that the Sage subprocess is blocking forever on
> > the other side of the pipe when its not computing... Therefore, I
> > can't have a Sage sub-process that I'm using in the noteboo
On Thu, Jul 23, 2009 at 4:06 PM, ghtdak wrote:
>
>
>
> On Wed, Jul 22, 2009 at 10:11 PM, ghtdak wrote:
>
>-- Forwarded message --
>From: Dorian Raymer
>Date: Jul 22, 8:00 pm
>Subject: notebook rewrite
>To: sage-devel
>
>Hi Glenn,
>
>On Wed, Jul 22, 200
On Wed, Jul 22, 2009 at 10:11 PM, ghtdak wrote:
-- Forwarded message --
From: Dorian Raymer
Date: Jul 22, 8:00 pm
Subject: notebook rewrite
To: sage-devel
Hi Glenn,
On Wed, Jul 22, 2009 at 4:41 PM, ghtdak wrote:
> Of course, once you put an
Hi Glenn,
On Wed, Jul 22, 2009 at 4:41 PM, ghtdak wrote:
>
>
> >
> > > My primary problem is that the Sage subprocess is blocking forever on
> > > the other side of the pipe when its not computing... Therefore, I
> > > can't have a Sage sub-process that I'm using in the notebook that is
> > > al
>
> > My primary problem is that the Sage subprocess is blocking forever on
> > the other side of the pipe when its not computing... Therefore, I
> > can't have a Sage sub-process that I'm using in the notebook that is
> > also able to communicate with other processes as I can't
> > asynchronousl
On Wed, Jul 22, 2009 at 2:19 PM, ghtdak wrote:
>
>
>
> On Jul 22, 11:18 am, William Stein wrote:
>> On Wed, Jul 22, 2009 at 11:12 AM, ghtdak wrote:
>>
>> > On Jul 21, 6:40 pm, "Dr. David Kirkby"
>> > wrote:
>> >> ghtdak wrote:
>>
>> >> > This thread has gotten long and there are many subjects em
On Jul 22, 11:18 am, William Stein wrote:
> On Wed, Jul 22, 2009 at 11:12 AM, ghtdak wrote:
>
> > On Jul 21, 6:40 pm, "Dr. David Kirkby"
> > wrote:
> >> ghtdak wrote:
>
> >> > This thread has gotten long and there are many subjects embedded
> >> > within.
>
> >> > One of the problems I've had
On Wed, Jul 22, 2009 at 11:12 AM, ghtdak wrote:
>
>
>
> On Jul 21, 6:40 pm, "Dr. David Kirkby"
> wrote:
>> ghtdak wrote:
>>
>> > This thread has gotten long and there are many subjects embedded
>> > within.
>>
>> > One of the problems I've had with the notebook implementation is that
>> > the sag
On Jul 21, 6:40 pm, "Dr. David Kirkby"
wrote:
> ghtdak wrote:
>
> > This thread has gotten long and there are many subjects embedded
> > within.
>
> > One of the problems I've had with the notebook implementation is that
> > the sage process supporting the notebook computation blocks on the
> >
On Wed, Jul 22, 2009 at 11:12 AM, Ondrej Certik wrote:
[..]
>
> But the reality is that it works, unless you run Firefox and unless
> you run linux. :(
I mean as long as.
O.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To
On Wed, Jul 22, 2009 at 4:00 AM, javier wrote:
>
> For the pyjamas version, with Firefox 3.5.1 and Safari 4 under OS-X
> 10.4 I cannot see the outputs. In Firefox, I also get some
>
> "JavaScript Error: Permission denied to access property 'parentNode'
> from a non-chrome context at line number 92
For the pyjamas version, with Firefox 3.5.1 and Safari 4 under OS-X
10.4 I cannot see the outputs. In Firefox, I also get some
"JavaScript Error: Permission denied to access property 'parentNode'
from a non-chrome context at line number 9254. Please inform
webmaster."
The AJAX version (the one s
On Tue, Jul 21, 2009 at 9:07 PM, Ondrej Certik wrote:
> On Tue, Jul 21, 2009 at 9:03 PM, Ondrej Certik wrote:
>> Hi,
>>
>> here is an early preview of the pyjamas version:
>>
>> http://2.latest.pythonnb.appspot.com/
>>
>> So far my experience is:
>>
>> * it doesn't work in IE8 (that's a showstoppe
On Tue, Jul 21, 2009 at 9:03 PM, Ondrej Certik wrote:
> Hi,
>
> here is an early preview of the pyjamas version:
>
> http://2.latest.pythonnb.appspot.com/
>
> So far my experience is:
>
> * it doesn't work in IE8 (that's a showstopper)
> * it's fast enough
> * implementing the cursor positions and
On Tue, Jul 21, 2009 at 4:54 PM, Rado wrote:
>
> Having read a bit of the old notebook code, for the graph editor
> (which I should polish and submit in the next few days), I think Sage
> will greatly benefit from notebook rewrite. It is very possible to
> make front-end applets like the graph edi
Hi,
here is an early preview of the pyjamas version:
http://2.latest.pythonnb.appspot.com/
So far my experience is:
* it doesn't work in IE8 (that's a showstopper)
* it's fast enough
* implementing the cursor positions and resizing was a piece of cake
(I was very impressed)
* learning the whol
ghtdak wrote:
>
> This thread has gotten long and there are many subjects embedded
> within.
>
> One of the problems I've had with the notebook implementation is that
> the sage process supporting the notebook computation blocks on the
> pipe between itself and the twistd server which spawns it.
This thread has gotten long and there are many subjects embedded
within.
One of the problems I've had with the notebook implementation is that
the sage process supporting the notebook computation blocks on the
pipe between itself and the twistd server which spawns it. This means
that one can't
Having read a bit of the old notebook code, for the graph editor
(which I should polish and submit in the next few days), I think Sage
will greatly benefit from notebook rewrite. It is very possible to
make front-end applets like the graph editor once it is easy to talk
to the sage kernel, without
On Tue, Jul 21, 2009 at 3:35 PM, William Stein wrote:
>
> On Tue, Jul 21, 2009 at 1:56 PM, J Elaych wrote:
>>
>>
>>>
>>> There is one more thing I want to try -- pyjamas, as pointed out
>>> above. I already played with it yesterday, and what I saw so far is
>>> *impressive*. So my next step will b
William Stein wrote:
> (1) Can pyjamas cleanly make use of arbitrary javascript libraries?
Here's an example of a pyjamas "application" using a JQuery slider
(its along the bottom edge of the map)
Demo: http://web2py.gdw2.com/maps/default/index
To my untrained eye it looks like there was some t
On Tue, Jul 21, 2009 at 2:56 PM, J Elaych wrote:
>
>
>>
>> There is one more thing I want to try -- pyjamas, as pointed out
>> above. I already played with it yesterday, and what I saw so far is
>> *impressive*. So my next step will be to rewrite what I did into
>> pyjamas (e.g. just pure python b
On Tue, Jul 21, 2009 at 1:56 PM, J Elaych wrote:
>
>
>>
>> There is one more thing I want to try -- pyjamas, as pointed out
>> above. I already played with it yesterday, and what I saw so far is
>> *impressive*. So my next step will be to rewrite what I did into
>> pyjamas (e.g. just pure python b
Hi Ondrej,
>> So, I am all for combining efforts and becoming more in tune with your end
>> goal and motivation for improving the notebook.
>
> I agree with everything you wrote.
>
> Only one suggestion -- could you take my simple frontend for the cells
> and incorporate it in codenode? I mean h
>
> There is one more thing I want to try -- pyjamas, as pointed out
> above. I already played with it yesterday, and what I saw so far is
> *impressive*. So my next step will be to rewrite what I did into
> pyjamas (e.g. just pure python both on the server and in the browser).
> If that works an
I have tested your demo. It works fine in firefox, but i can't see the
cells in konqueror 3.5.10 (sage notebook doesn't look well in
konqueror, but most of the functionalities work).
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.
On Tue, Jul 21, 2009 at 1:13 PM, Ondrej Certik wrote:
>
> On Tue, Jul 21, 2009 at 12:53 PM, William Stein wrote:
>>
>>
>> On Tue, Jul 21, 2009 at 10:21 AM, Ondrej Certik wrote:
>>>
>>> On Tue, Jul 21, 2009 at 10:44 AM, William Stein wrote:
>>> >
>>> > On Tue, Jul 21, 2009 at 9:39 AM, Ondrej Certi
On Tue, Jul 21, 2009 at 12:53 PM, William Stein wrote:
>
>
> On Tue, Jul 21, 2009 at 10:21 AM, Ondrej Certik wrote:
>>
>> On Tue, Jul 21, 2009 at 10:44 AM, William Stein wrote:
>> >
>> > On Tue, Jul 21, 2009 at 9:39 AM, Ondrej Certik wrote:
>> >>
>> >> On Tue, Jul 21, 2009 at 1:58 AM, Robert
>> >
Hi Dorian!
On Tue, Jul 21, 2009 at 1:11 PM, Dorian Raymer wrote:
> Hi Ondrej,
>
> I like what you have done!
>
> On Tue, Jul 21, 2009 at 10:21 AM, Ondrej Certik wrote:
>>
>> On Tue, Jul 21, 2009 at 10:44 AM, William Stein wrote:
>> >
>> > On Tue, Jul 21, 2009 at 9:39 AM, Ondrej Certik wrote:
>>
On Tue, Jul 21, 2009 at 1:08 PM, Tim Dumol wrote:
>
> On Jul 22, 12:24 am, Ondrej Certik wrote:
>> On Tue, Jul 21, 2009 at 4:47 AM, Tim Dumol wrote:
>>
>> > It's working great in Firefox 3.5, Windows XP x32 and Linux x86_64.
>>
>> > I'm doing some work on converting the notebook to Jinja (
>> >ht
On Jul 22, 12:24 am, Ondrej Certik wrote:
> On Tue, Jul 21, 2009 at 4:47 AM, Tim Dumol wrote:
>
> > It's working great in Firefox 3.5, Windows XP x32 and Linux x86_64.
>
> > I'm doing some work on converting the notebook to Jinja (
> >http://trac.sagemath.org/sage_trac/ticket/6568). It shouldn't
Hi Ondrej,
I like what you have done!
On Tue, Jul 21, 2009 at 10:21 AM, Ondrej Certik wrote:
>
> On Tue, Jul 21, 2009 at 10:44 AM, William Stein wrote:
> >
> > On Tue, Jul 21, 2009 at 9:39 AM, Ondrej Certik wrote:
> >>
> >> On Tue, Jul 21, 2009 at 1:58 AM, Robert
> >> Bradshaw wrote:
> >>>
> >>
On Tue, Jul 21, 2009 at 10:21 AM, Ondrej Certik wrote:
>
> On Tue, Jul 21, 2009 at 10:44 AM, William Stein wrote:
> >
> > On Tue, Jul 21, 2009 at 9:39 AM, Ondrej Certik wrote:
> >>
> >> On Tue, Jul 21, 2009 at 1:58 AM, Robert
> >> Bradshaw wrote:
> >>>
> >>> On Jul 20, 2009, at 9:02 PM, Ondrej Ce
On Tue, Jul 21, 2009 at 10:44 AM, William Stein wrote:
>
> On Tue, Jul 21, 2009 at 9:39 AM, Ondrej Certik wrote:
>>
>> On Tue, Jul 21, 2009 at 1:58 AM, Robert
>> Bradshaw wrote:
>>>
>>> On Jul 20, 2009, at 9:02 PM, Ondrej Certik wrote:
>>
Well, let me say that I really like to run things on t
On Tue, Jul 21, 2009 at 9:39 AM, Ondrej Certik wrote:
>
> On Tue, Jul 21, 2009 at 1:58 AM, Robert
> Bradshaw wrote:
>>
>> On Jul 20, 2009, at 9:02 PM, Ondrej Certik wrote:
>
>>> Well, let me say that I really like to run things on the appengine,
>>> rather than to constantly maintain our own serve
On Tue, Jul 21, 2009 at 1:58 AM, Robert
Bradshaw wrote:
>
> On Jul 20, 2009, at 9:02 PM, Ondrej Certik wrote:
>> Well, let me say that I really like to run things on the appengine,
>> rather than to constantly maintain our own servers. I see no reason
>> why the notebook cannot run on the appengi
On Tue, Jul 21, 2009 at 4:47 AM, Tim Dumol wrote:
>
> It's working great in Firefox 3.5, Windows XP x32 and Linux x86_64.
>
> I'm doing some work on converting the notebook to Jinja (
> http://trac.sagemath.org/sage_trac/ticket/6568 ). It shouldn't be too
> hard to convert my work from Jinja templ
Very promising! Just yesterday, I found Google's tutorial on writing a
Python application for their App Engine:
http://code.google.com/appengine/docs/python/gettingstarted/
There are some sample projects at
http://code.google.com/p/google-app-engine-samples/
Actually, I was motivated not to
It's working great in Firefox 3.5, Windows XP x32 and Linux x86_64.
I'm doing some work on converting the notebook to Jinja (
http://trac.sagemath.org/sage_trac/ticket/6568 ). It shouldn't be too
hard to convert my work from Jinja templates to Django templates, or
to switch the Django templating
My contributions to the server code have been pretty trivial, but in
case it matters:
I release everything I've contributed under sage/server/* under BSD.
I'm excited to see this work on the notebook; I've been trying to
learn some jQuery and it seems quite nice. It seems in the future
there w
Robert Bradshaw wrote:
> I release everything I've contributed under sage/server/* under BSD.
I also release everything I've contributed up to this point under
sage/server/* under BSD.
Jason
--
Jason Grout
--~--~-~--~~~---~--~~
To post to this group, send ema
On Jul 20, 2009, at 9:02 PM, Ondrej Certik wrote:
> Hi,
>
> I finally learned javascript and AJAX, so that I can help with the
> notebook. I also studied it's sources.
>
> First things I like:
>
> * I like the user interface, it's usable, especially the attention to
> little details, like borders
Ondrej Certik wrote:
> Hi,
>
> I finally learned javascript and AJAX, so that I can help with the
> notebook. I also studied it's sources.
>
> First things I like:
>
> * I like the user interface, it's usable, especially the attention to
> little details, like borders around the cells, tab comp
On Mon, Jul 20, 2009 at 10:31 PM, John H Palmieri wrote:
>
> On Jul 20, 9:02 pm, Ondrej Certik wrote:
>
> [snip]
>
>> Also, question to all, do you like the In [3] and Out[3] lines? I
>> don't have an opinion on it yet myself, so I implemented them, to see
>> how it looks like.
>
> How easy would
Hi Ondrej,
very nice work!
On Mon, Jul 20, 2009 at 9:02 PM, Ondrej Certik wrote:
> a) the keyboard handling is horrific, why not to use some standard
> library for that, that works across all browsers
> b) it uses some custom format for transfering data (which has bugs,
> like
> http://groups
On Jul 20, 9:02 pm, Ondrej Certik wrote:
[snip]
> Also, question to all, do you like the In [3] and Out[3] lines? I
> don't have an opinion on it yet myself, so I implemented them, to see
> how it looks like.
How easy would it be to add a way to toggle them on and off?
> Also, please let me k
73 matches
Mail list logo