Re: What's next, continued

2020-04-02 Thread Edward K. Ream
On Thu, Apr 2, 2020 at 2:12 PM Thomas Passin wrote: All right, now I think I have a better example of what you are thinking > about. I suppose one of the things is keeping the execution context > between the invocations. > Don't forget the livecode.py plugin. Edward -- You received this

Re: What's next, continued

2020-04-02 Thread Thomas Passin
On Thursday, April 2, 2020 at 2:27:42 PM UTC-4, Offray Vladimir Luna Cárdenas wrote: > > > I for sure want live coding. It is not a theoretical desire. I have > experience it in Pharo and recently in (Python's powered music system) > FoxDot. They operate similar to Crtl+B and not as you

Re: What's next, continued

2020-04-02 Thread Offray Vladimir Luna Cárdenas
On 2/04/20 12:42 p. m., Thomas Passin wrote: > On Thursday, April 2, 2020 at 12:36:33 PM UTC-4, Offray Vladimir Luna > Cárdenas wrote: > >> And I would like to see live coding for Leo. I just don't how >> that's going to happen. >> > Maybe Leo should think in kind of a minimal server

Re: What's next, continued

2020-04-02 Thread Thomas Passin
On Thursday, April 2, 2020 at 12:36:33 PM UTC-4, Offray Vladimir Luna Cárdenas wrote: > > And I would like to see live coding for Leo. I just don't how that's going > to happen. > > Maybe Leo should think in kind of a minimal server or something that > tracks code changes and updates

Re: What's next, continued

2020-04-02 Thread Offray Vladimir Luna Cárdenas
On 2/04/20 5:14 a. m., Edward K. Ream wrote: > On Wednesday, April 1, 2020 at 2:48:31 PM UTC-5, Offray Vladimir Luna > Cárdenas wrote: > > Live Coding has been a "dead end" full of "toys" for non-live > coders since about 40 years. > > > I'm glad you are pushing back a bit. It's a useful

Re: What's next, continued

2020-04-02 Thread Edward K. Ream
On Wednesday, April 1, 2020 at 2:48:31 PM UTC-5, Offray Vladimir Luna Cárdenas wrote: Live Coding has been a "dead end" full of "toys" for non-live coders since > about 40 years. > I'm glad you are pushing back a bit. It's a useful discussion. I've just at all your references. Sliders could

Re: What's next, continued

2020-04-01 Thread Offray Vladimir Luna Cárdenas
Hi, Is good to see the path ahead and the upcoming focus. On 23/03/20 8:11 a. m., Edward K. Ream wrote: > 3. Imo, live coding is a dead end. The cool demos are toys which can > not be scaled up: > > A: *Graphics*: Any graphics-based demo could be more easily recreated > with a slider that

Re: What's next, continued

2020-03-27 Thread Edward K. Ream
On Thu, Mar 26, 2020 at 4:36 PM Thomas Passin wrote: These changes to viewrendered3.py are available in the VR3 branch of my > repo at > > https://github.com/tbpassin/leo-editor > Thanks for the continued work. I'd like to get you commit access so you can work on vr3 directly in devel. Edward

Re: What's next, continued

2020-03-26 Thread Thomas Passin
All right, I've added the XHML DOCTYPE, the namespace declarations to the html element, and enclosed the body in tags. I also added a closing tag. These tags weren't really needed for HTML - an HTML processor is required to infer them if missing - but for XHTML, you should be complete.

Re: What's next, continued

2020-03-26 Thread Thomas Passin
On Thursday, March 26, 2020 at 12:31:52 PM UTC-4, Edward K. Ream wrote: > > On Tuesday, March 24, 2020 at 6:20:15 PM UTC-5, Thomas Passin wrote: > > You can also embed an interactive Bokeh plot in a Markdown document using >> an iframe. The second attached screen capture file shows an example.

Re: What's next, continued

2020-03-26 Thread Edward K. Ream
On Tuesday, March 24, 2020 at 6:20:15 PM UTC-5, Thomas Passin wrote: You can also embed an interactive Bokeh plot in a Markdown document using > an iframe. The second attached screen capture file shows an example. > A nit: You can replace `>` with just `/>`. Like this: Edward -- You

Re: What's next, continued

2020-03-26 Thread Edward K. Ream
On Wed, Mar 25, 2020 at 6:12 PM Thomas Passin wrote: > I installed Holoviews with pip on my Python 3.6 installation on a Linux > Mint VM. After installation, the code above worked, and so did the bokeh > example. Python was not upgraded to 3.8. So that must be an Anaconda > thing. > Thanks.

Re: What's next, continued

2020-03-25 Thread Thomas Passin
I installed Holoviews with pip on my Python 3.6 installation on a Linux Mint VM. After installation, the code above worked, and so did the bokeh example. Python was not upgraded to 3.8. So that must be an Anaconda thing. On Wednesday, March 25, 2020 at 6:26:31 PM UTC-4, Thomas Passin wrote:

Re: What's next, continued

2020-03-25 Thread Thomas Passin
On Wednesday, March 25, 2020 at 4:56:34 PM UTC-4, Edward K. Ream wrote: > > On Wed, Mar 25, 2020 at 3:27 PM Thomas Passin > wrote: > > The exact packages that get installed probably doesn't matter. What *does* > matter is that python gets upgraded to 3.8 whenever I install holoviews, > and

Re: What's next, continued

2020-03-25 Thread Edward K. Ream
On Wed, Mar 25, 2020 at 3:27 PM Thomas Passin wrote: > OK, I set up a virtual environment, and installed packages in this order: matplotlib bokeh leo holoviews > The program worked as expected. I ended up completely reinstalling Anaconda. That cleared up some problems with weird

Re: What's next, continued

2020-03-25 Thread Thomas Passin
On Wednesday, March 25, 2020 at 10:32:23 AM UTC-4, Edward K. Ream wrote: > > On Wed, Mar 25, 2020 at 9:29 AM Thomas Passin > wrote: > > > This is one of those "I dunno, it works on my machine" things. I do not > recall installing anything besides matplotlib - i mean, I just installed HV >

Re: What's next, continued

2020-03-25 Thread Edward K. Ream
On Wed, Mar 25, 2020 at 9:29 AM Thomas Passin wrote: > This is one of those "I dunno, it works on my machine" things. I do not recall installing anything besides matplotlib - i mean, I just installed HV itself, and not any extension. I'll set up a virtual environment and see what happens.

Re: What's next, continued

2020-03-25 Thread Thomas Passin
On Wednesday, March 25, 2020 at 7:49:47 AM UTC-4, Edward K. Ream wrote: > > But I'm still having troubles. Importing matplotlib directly does work, > but the last line here throws an exception: > > import holoviews as hv > import holoviews.util > hv.extension('matplotlib') > > Here is the

Re: What's next, continued

2020-03-25 Thread Thomas Passin
That's funny. I edited my post twice, but it seems that the original unedited version hung around. I don't know how that happened, but I'm sorry for the confusion. On Wednesday, March 25, 2020 at 7:49:47 AM UTC-4, Edward K. Ream wrote: > > On Wednesday, March 25, 2020 at 6:33:23 AM UTC-5,

Re: What's next, continued

2020-03-25 Thread Edward K. Ream
On Wednesday, March 25, 2020 at 6:33:23 AM UTC-5, Edward K. Ream wrote: I haven't yet figure out how to use holoviews. I copied the code shown, > namely: > > import holoviews as hv > import holviews.util > hv.extension('matplotlib') > xs = range(-10, 11) > ys = [100-z**2 for z in xs] > > curve =

Re: What's next, continued

2020-03-25 Thread Edward K. Ream
On Tuesday, March 24, 2020 at 6:20:15 PM UTC-5, Thomas Passin wrote: It turns out that using Holoviews with the matplotlib back end, it is easy > to save a plot image and show it in a Leo Restructured Text (@rst) node. > Using the Bokeh backend, or using Bokeh itself, you can actually embed

Re: What's next, continued

2020-03-25 Thread Edward K. Ream
On Tue, Mar 24, 2020 at 6:20 PM Thomas Passin wrote: > ...using Holoviews with the matplotlib back end, it is easy to save a plot and show in in a Leo node. Using the Bokeh backend, or using Bokeh itself, it's nearly impossible. > The attached png file is a screen shot showing my little

Re: What's next, continued

2020-03-24 Thread Thomas Passin
On Tuesday, March 24, 2020 at 2:12:39 AM UTC-4, Edward K. Ream wrote: > > On Mon, Mar 23, 2020 at 7:56 PM Thomas Passin > wrote: > > > Here's a simple Bokeh program that VR3 executes: [snip] > > Thanks for this. Looks like holoviews/bokeh are just what we need. > I've been looking at them a

Re: What's next, continued

2020-03-24 Thread Edward K. Ream
On Mon, Mar 23, 2020 at 7:56 PM Thomas Passin wrote: > Here's a simple Bokeh program that VR3 executes: [snip] Thanks for this. Looks like holoviews/bokeh are just what we need. I'll be studying them both. Edward -- You received this message because you are subscribed to the Google Groups

Re: What's next, continued

2020-03-23 Thread Thomas Passin
On Monday, March 23, 2020 at 8:50:16 PM UTC-4, Thomas Passin wrote: > On Monday, March 23, 2020 at 9:11:04 AM UTC-4, Edward K. Ream wrote: >> >> >> The VR (and VR3?) plugins should be able to support Bokeh fairly easily. >> > > VR3 already does in this in a sense - you can run a node with a

Re: What's next, continued

2020-03-23 Thread Thomas Passin
On Monday, March 23, 2020 at 9:11:04 AM UTC-4, Edward K. Ream wrote: > > I have been working on this post for about a week. The way forward has > just become clear: > > The work in 2019 will be the foundation for this year's work. > > The work in 2020 will focus on bridges between programs. > >