<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 27, 2014 at 11:28 AM, Jason Grout <span dir="ltr"><<a href="mailto:jason-sage@creativetrax.com" target="_blank">jason-sage@creativetrax.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 2/27/14 9:09 AM, Doug Blank wrote:<br>
> (I just realized that we could have some magics that handle these<br>
> cases... run cell in a thread, return the thread id, cancel a thread,<br>
> etc. You would effectively say: run this cell in the background. I could<br>
> think of some use cases for that (we program a lot of robots). I guess<br>
> you could do this in the IPython Python kernel too by just manually<br>
> creating threads).<br>
><br>
<br>
</div>That would be interesting to explore doing this using magics.  I don't<br>
know how the notebook handles multiple simultaneous kernel executions.<br>
It seems like you could make it work so that the message header on<br>
return messages was local to the thread, so different thread's messages<br>
would be routed to different handlers in the notebook.<br></blockquote><div><br></div><div>In order to route a language's standard output, we have redirected all output to whatever the current cell is. There may be some manner to associate output to its thread, and then route that to the proper cell. But I don't see a lot of use for the complexity just yet. </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">> It would be cool someday to have Calico as a viable kernel in Sage. (Of<br>
> course, there are a lot of good kernels under development. We just got<br>
> F# working as one of our languages, and some people might be interested<br>
> in that reason alone.)<br>
<br>
</div>Does Calico work on unix (maybe via mono)?<br></blockquote><div><br></div><div>Yes :) In fact it works on Windows via mono. And OS X via mono. I smile because it is a common assumption if I mention something like C# or F# that we have some Windows bias. But ain't so.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sage doesn't work well on Windows natively because many of the component<br>
programs don't support Windows very well.<br></blockquote><div><br></div><div>I, personally, do all of my development on Linux, but we make sure that whatever we create works on the major operating systems. It is quite a nice system in that we only have one set of "binaries" that work everywhere. </div>
<div><br></div><div>Calico as a IPython kernel is interesting because it allows programming in Java, Ruby, F#, Scheme, assembly (and 15 other languages) as first class IPython languages (eg, not running via a process or shell). Thus, you should be able to use our CameraWidget directly in all of those languages.</div>
<div><br></div><div>-Doug </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
Jason<br>
<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br></div></div>