<br><br><div class="gmail_quote">On Mon, Jun 6, 2011 at 8:11 PM, John Gilmore <span dir="ltr"><<a href="mailto:gnu@toad.com" target="_blank">gnu@toad.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I had to think about this some before having a useful response.<br></blockquote><div><br>Lots of good ideas here, so thank you for taking the time. <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><br>
> I cannot speak for every Sugar developer, but the approach I have tried to<br>
> take with Turtle Art is a bit different than you are describing. The<br>
> block-based programming environment is not meant to be a substitute for real<br>
> tools; it is meant to be a place to get started; to learn that you can write<br>
> and modify code; and to provide multiple motivations and launch pads for<br>
> getting into the "real" thing. I've worked pretty hard to make the<br>
> "structured thing" behind the view more approachable, and have provided<br>
> multiple ways in and out: exporting your "fluffy" view into Logo that can be<br>
> run in Brian Harvey's text-based Logo environment; direct, in-line<br>
> extensions written in Python; the ability to create new blocks by importing<br>
> Python; a plugin mechanism for making major interventions; and a refactoring<br>
> of the underlying structures to make the code more approachable. (The source<br>
> code is peppered with comments and examples of how to make modifications.)<br>
> None of these interventions are intended to keep the kids programming in<br>
> Turtle Art. They are all intended to get the kids started down the path of<br>
> "real" programming. But I content that we need to engage them; let them<br>
> discover that they can write code; and make changes; and that it is not<br>
> something just for "others" but for everyone.<br>
<br>
</div>Walter, this is a worthwhile approach.<br>
<br>
But it was all invisible from an OLPC user's point of view (i.e. a<br>
child's). All they get is a GUI in which they can hook blocks<br>
together and see graphics.<br>
<br>
Even finding the library of fun looking pre-existing designs was hard<br>
(it's hiding behind a bizarre looking icon that you can't even see<br>
until you go to a different tab in the Frame than the default one).<br>
If you show a kid how to find one of those designs, they get the idea<br>
of TurtleArt, and can modify them to see how the design changes.<br>
Until they see a complete, working design in 10 blocks including a<br>
loop, TurtleArt is a morass where new users can drag things around but<br>
it doesn't do anything fun.<br>
<br>
(Note I'm working from memory of a several-year-old TurtleArt. Perhaps<br>
it's better now.)<br></blockquote><div><br>Please grab a recent version. It is quite different from even a year ago. <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
(Also, it's hard to make the leap from a slow turtle leaving marks<br>
behind as it goes two steps and turns, to the whole screen being<br>
filled with colors in a flash. Most things in the world don't have<br>
the many-orders-of-magnitude speedups that we in computing have become<br>
blase about. It wouldn't occur to us that to paint an entire wall in<br>
a second, we should tell the painter to move the brush one inch and<br>
then repeat that over and over until done. We'd look for a spray gun,<br>
or toss a whole bucket of paint, or recruit a crowd of painters, or<br>
something. Fast things and painstaking things aren't disjoint in<br>
computing, as they are elsewhere; how do you teach that powerful insight?)<br></blockquote><div><br>Cute idea for a project: "fill the screen." There are of course many ways to do it: from using the fill-screen block to setting the pen size to the screen width to discovering the repeat block to discovering that you can launch as many turtles as you'd like, each of which has a pen. <br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><br>
> I am open to suggestions as to how to get more kids to move on from Turtle<br>
> Art to ___ (insert you favorite "real" programming environment here).<br>
<br>
</div>First, have Turtle Art start up not with a blank slate, but by<br>
bringing in one of the predefined designs -- preferably at random, so<br>
they'll see more of the corpus as they run it over and over.<br></blockquote><div><br>I have gone back and forth on this one. I think that you are right: I should start with a program on the screen, probably a simple example of a spiral that introduces the concepts of loops and variables (and perhaps sensors).<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Second, I suggest that if some blocks are implemented in short bits of<br>
Python, that there be a user interface for seeing and modifying those<br>
short bits of Python (by examining the block in the GUI). This will<br>
provide a bridge for exploring kids to notice that the blocks are<br>
built out of short bits of structured text -- and that they can<br>
understand and modify those texts. If they've already figured out<br>
that they can modify the numeric blocks, then they'll try modifying<br>
these too. The thing that pops the blocks open shouldn't be too hard<br>
to find -- perhaps a double-click, or something else that they'll do<br>
by accident sometime.<br></blockquote><div><br>All of the blocks are implemented as short bits of Python. But I deferred to the Sugar View Source mechanism for revealing the contents. I use a simple plug-in mechanism to define blocks and palettes, but the disconnect is that I don't (generally) edit them in line; rather, I leave that to other tools. This was a design decision; in part my goal was to give incentive to using Pippy and Edit rather than recreate Pippy and Edit in Turtle Art itself. But I suppose that making it possible to change them directly in Turtle Art as well maybe necessary. I can do it easily enough, but it adds more complexity.<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
If you can implement more blocks in such bits of Python, do it, so<br>
they'll have more blocks they can open up and examine and modify from<br>
the GUI.<br>
<br>
How to get them beyond the TurtleArt GUI into the actual Python source<br>
code of the body of TurtleArt is a challenge that nobody seems to have<br>
insight on. The "View Source" concept seems to have been much harder<br>
to implement than we all expected.<br></blockquote><div><br>I am hoping that the recent work I have been doing on View Source -- you can use it to make copies of the source -- may help.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Don Hopkins worked on a PostScript-based window system (HyperLook)<br>
that would let you "flip over" an object on the screen to see "behind<br>
it" a control panel with the guts of its implementation visible. You<br>
could modify those, then "flip it back" and it would resume running.<br>
See: <a href="http://www.art.net/%7Ehopkins/Don/hyperlook/index.html" target="_blank">http://www.art.net/~hopkins/Don/hyperlook/index.html</a> and<br>
<a href="http://www.art.net/%7Ehopkins/Don/simcity/hyperlook-demo.html" target="_blank">http://www.art.net/~hopkins/Don/simcity/hyperlook-demo.html</a> .<br>
<br>
Looking back at HyperLook, it looks a lot like the etoys environment,<br>
full of object oriented code with direct manipulation gui editor<br>
interfaces. It's dead now; a historical curiosity of interest only to<br>
prior-art searchers defeating too-obvious software patents. It's hard<br>
to keep such self-contained and self-referential environments alive<br>
and relevant in the world at large. I think one problem is that the<br>
state of the environment doesn't get kept in simple text "files" -- a<br>
concept of enduring value. My old APL programs are all dead too; they<br>
were "objects" in "workspaces" and weren't usually stored in small,<br>
persistent, portable, named, modular textual representations, the way<br>
C or Python programs are.<br></blockquote><div><br>This is why I am trying to get kids to leave Turtle Art behind. It is there as a hook to get them started, but not intended to be more than a stepping stone.<br> <br></div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Perhaps the key is to keep these immersive environments sufficiently<br>
tiny that you don't mind them dying when you turn your attention to<br>
something else. Tininess also helps to make one understandable and<br>
modifiable by others in case they DO want to keep it going after you<br>
move on.<br>
<font color="#888888"><br>
John<br>
<br>
</font></blockquote></div><br>It is worth pointing out that there are some math teachers in .UY who are using the export SVG capabilities of Turtle Art to launch their students into more sophisticated graphing and data visualization. Not what I had expected, but quite a good outcome nonetheless.<br>
<br>-walter<br clear="all"><br>-- <br>Walter Bender<br>Sugar Labs<br><a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br><br>