This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1251 2010-07-31 18:15:30

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

A few things I noticed while creating my project:

Wow, thanks for these serious bug reports!  Three of the four are real bugs.  The one about SET not letting you select script variables in the palette is a (mis?)feature, though.  You have to drag the SET block so that it's actually attached to your script before it'll recognize script variables.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#1252 2010-07-31 18:29:39

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

What if it isn't a script variable? The same thing occurs with global and local sprite variables...

Offline

 

#1253 2010-07-31 20:32:55

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Lucario621 wrote:

Hmm - something about that sample project, something doesn't appear right to me.

I can't reproduce this in 2.995.004.

WELL then.

I'll just skip to updating when the final version comes out  tongue


http://i.imgur.com/WBkM2QQ.png

Offline

 

#1254 2010-08-01 20:31:16

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

2.995.005 more bugfixes.

Jens wrote:

this release fixes the overlapping list watcher bug reported by shadow (thanks, your're awesome!), and features a huge speed-up in nested lists (don't get all too excited, because it doesn't affect ttt). I'm also attaching a BYOBbed version of the Scratch sample project MouseRecorder, which demonstrates (among other things):

   - custom blocks
   - lists in lists
   - making a sprite go to coordinates
   - first class procedures
   - nested sprites


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#1255 2010-08-01 20:35:57

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: BYOB 3 - Discussion Thread

What's "ttt"?


http://i.imgur.com/WBkM2QQ.png

Offline

 

#1256 2010-08-01 20:46:53

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: BYOB 3 - Discussion Thread

BTW - nice sample project! Though definitely a bit slow for recording  hmm

Why are you guys in such a rush to make the final version? For the Scratch Conference? I think you guys should take your time to make it as shiny as possible :3


http://i.imgur.com/WBkM2QQ.png

Offline

 

#1257 2010-08-01 21:01:00

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Lucario621 wrote:

What's "ttt"?

Tic-Tac-Toe. Bharvey made a BYOB tic-tac-toe AI, but it takes several minutes to make one move.

He was hoping for a list speedup so that it would be made more practical to use.

Last edited by nXIII (2010-08-01 21:01:25)


nXIII

Offline

 

#1258 2010-08-02 01:34:07

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hey Lucario621, did you try 2.995.005? It's been made real fast for recording nested lists...


Jens Mönig

Offline

 

#1259 2010-08-02 04:35:37

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Lucario621 wrote:

What's "ttt"?

Here it is.  Give it a try, but be prepared for slowness.  I'm definitely working on speeding this up!


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#1260 2010-08-02 12:04:36

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

There will be some form of procedure definition in 2.0, they say, but, for example, one idea they had tossed around was to limit it to commands with no inputs, to keep it simple.

I'm referring back to your contact with the "Scratch Team".
I'm just to point out that the Logo language offers - since 30 years at least - the same "sophisticated features" as offered by Byob : custom-designed functions, block editor, list of lists, and even some more like building a function inside a function. ( DEFINE and TEXT primitives if I remember correctly). These have not prevented to use Logo at all ages and educational levels without problem. Hundreds of tutorial, samples ,books have been written to teach and use Logo. Scratch should at least implement the equivalent of these largely used and known features.

For example MAP and ASSOC applications can be easily implemented by using some couples of simple primitives like FIRST, ALLBUTFIRST etc. These MAP/ASSOC primitives (or blocks) are very useful to create educational tools like quizz, dictionaries, sentence building, grammar exersizes etc

I understand that the Team is not prepared to adopt all the Byob concepts, but they should consider , at least, BYOB features already used in Logo language.

Offline

 

#1261 2010-08-02 19:08:35

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

If I finish it in time, do you want my (true) scripting language parser/evaluator? It will use tables to store syntax and functions, and stack and context variables.

(PS: Thanks for the inspiration, bharvey!)


nXIII

Offline

 

#1262 2010-08-02 19:25:48

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

nXIII wrote:

If I finish it in time, do you want my (true) scripting language parser/evaluator?

As a sample project, you mean?  Sounds great!  Yes!


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#1263 2010-08-02 19:45:13

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

nXIII wrote:

If I finish it in time, do you want my (true) scripting language parser/evaluator?

As a sample project, you mean?  Sounds great!  Yes!

Cool! Thanks! I'll try to finish it as quickly as I can.


nXIII

Offline

 

#1264 2010-08-02 19:57:00

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

xly wrote:

the Logo language offers - since 30 years at least - the same "sophisticated features" as offered by Byob... These have not prevented to use Logo at all ages and educational levels without problem... Scratch should at least implement the equivalent of these largely used and known features.

First of all, I want to emphasize that the Scratch Team are the same MIT team that developed Logo, or at least the intellectual children of the Logo developers.  Mitch Resnick is a Logo pretty-old-timer.  So it's not that they're unaware of this history!

I really don't want to be the one to talk about why the S.T. are resistant (but not antagonistic!) to BYOB; when I try, I don't always get it right and then Mitch gets annoyed at me.  hmm   But I think it's more like "we want to move slowly" than "we think this is too hard."

When I was working at Atari a million years ago I heard a talk by one of their star game designers who pointed out that if the video games of (then) today had been introduced back at the beginning, kids would have found them impossible to understand, with bazillions of unfamiliar details and very fast action, but now, even kids new to video gaming can play them, because a set of conventions about how video games work has become part of the general culture, and so enough kids are around who already get it to teach the newcomers.

In the same spirit, I can see some merit in the idea that the ideas in BYOB, introduced all at once, might be too foreign to the culture of what kids already know and expect.  We have some counterexamples hanging out in this forum, but how many?  Two dozen?  Out of half a million Scratchers.  I believe that if these ideas turn up in Scratch, more than two dozen will get it right away, and most of the active users, the ones who upload projects, or at least the ones who upload serious projects, will get it after a while.  But I believe this just out of general optimism, not based on any real field testing -- what little testing I've done indicates that almost everyone needs a fair amount of teaching to help them.

Now, you're basically right that it was all in Logo.  (Not quite right, because Logo is dynamically scoped and has first class expressions rather than first class procedures -- you had to pass around procedure names as data.  Al Cuoco, the world's best math teacher, used to bug me all the time about how he needed lexical scope.)

But if you look at that history more carefully, every Logo kid got simple custom commands with no inputs, or maybe one numeric input; a much smaller number wrote operations at all, let alone recursive operations, let alone higher order operations.  So you can imagine someone back then saying "we could simplify Logo by leaving out these capabilities that hardly anyone uses."  In fact you don't have to imagine it!  You may recall Radio Shack's TRS-80 "Logo," or Turtle Tracks, or a bunch of other alleged Logo equivalents that weren't.  Here in the UK (that's where I am right now) there were big fights because the government picked one of those lesser turtle graphics programs as the standard for use in schools.  That was sad, but I don't think we can point to any educational disasters that are really rooted in that particular choice (rather than in the way schools are altogether, but don't get me started).

So, I don't know.  Maybe in the long run it would be better if Scratch 2.0 dipped its toes into first-class data (let's say with first-class lists but not procedures), and then Scratch 2.1 or 2.2 or 3.0 went the rest of the way.  I don't think so, but I'm not sure I'm right.  It certainly would be a pain in the neck for those of us teaching college students, but that's not the S.T.'s job.  We can muddle along with a separate BYOB for a while, if we have to.  (We certainly have to right now, because Scratch 2.0 is not imminent!)


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#1265 2010-08-02 20:30:17

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

So, I don't know.  Maybe in the long run it would be better if Scratch 2.0 dipped its toes into first-class data (let's say with first-class lists but not procedures), and then Scratch 2.1 or 2.2 or 3.0 went the rest of the way.  I don't think so, but I'm not sure I'm right.  It certainly would be a pain in the neck for those of us teaching college students, but that's not the S.T.'s job.  We can muddle along with a separate BYOB for a while, if we have to.  (We certainly have to right now, because Scratch 2.0 is not imminent!)

Well, the thing is, Scratch is really the only kid-oriented programming language out there. I've pretty much hit the limits of Scratch - hard. I'm trying to do things that it just can't do. I still use it, but I also have moved on to other things.

Okay, back to what I was saying. The fact that Scratch is used by people as young as 8 years old (maybe younger), all these added first class lists and procedures may be confusing. As it is, there are still New Scratchers asking what specific things in Scratch do. For each of the hundreds of us who would love BYOB features in Scratch, there are probably a hundred others who wouldn't understand it. What would they do then? Where else do you find an easy to learn and use programming language? There isn't.

So, my point is, if you make Scratch too complicated, you will lose your original and intended audience.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#1266 2010-08-02 21:55:57

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

2.995.006

Jens wrote:

this release fixes a minor (but annoying) bug that would truncate leading zeros in temporary variables (thanks, Stefano!). It also contains a small fix regarding the STOP BLOCK block, although there appear to be some cases in which something wrong still seems to be happening.

There are two small new features:

- an additional option in the EDIT menu offering "Scope Contrast", so you can tell late bound variable setters from early bound ones
- a little Windows screensaver that will be installed by the Setup program in the final distro

Note: The Screensaver only works if you have at some point installed BYOB via the Windows setup program (because it requires registry entries made by the installer).

To test the screensaver

    1. copy the .scr file into your Windows\system32 directory
    2. add a folder named "Projects" (without quotation marks) to your BYOB installation folder
    3. add one or more . ypr or .sb files to the Projects directory
    4. fire up your Windows screen settings and choose the BYOB screensaver

the Screensaver starts BYOB in presentation mode with a random project from the Projects folder. If you want to always run the same project (your own special screensaver) be sure to just put that one into the Projects folder (you can put other projects into subfolders, in this case they won't be used as screensavers). Like a "compiled" standalone project the screensaver exits back to Windows once the user presses Esc or exits from presentation mode. The Screensaver also makes sures that only a single instance of itself always runs.

Enjoy!


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#1267 2010-08-02 22:14:50

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

ScratchReallyROCKS wrote:

I've pretty much hit the limits of Scratch - hard. I'm trying to do things that it just can't do.

but

if you make Scratch too complicated, you will lose your original and intended audience.

That's the dilemma.  I don't know if you intended it this way, but you present arguments on both sides.

I think the BYOB blocks themselves are not a problem.  What worries the S.T., maybe correctly, is that the collection of online projects will use custom blocks a lot, if they're in the language, and so the projects will become hard to understand.

OTOH, I find the existing Scratch projects, the interesting ones, hard to understand already!  They have scripts that go on for miles.  And they're structured that way often for lack of custom blocks, which would allow huge simplifications.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#1268 2010-08-02 22:17:16

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Wow cool! A screensaver option! Awesome!  tongue


http://i.imgur.com/WBkM2QQ.png

Offline

 

#1269 2010-08-02 22:26:10

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Lucario621 wrote:

Why are you guys in such a rush to make the final version? For the Scratch Conference? I think you guys should take your time to make it as shiny as possible :3

Yes, for the Scratch Conference, and for the European Logo conference (Constructionism 2010) the following week.

I think deadlines are good for a project.  If we waited until it's perfect, we'd never get it out the door.  There are a million little things I'd like to change (e.g., some dialogs have RETURN key = click OK, but others don't) and half a million big ones (first class sprites!).

But, there's always 3.1.   smile


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#1270 2010-08-02 23:30:11

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

I think deadlines are good for a project.  If we waited until it's perfect, we'd never get it out the door.  There are a million little things I'd like to change (e.g., some dialogs have RETURN key = click OK, but others don't) and half a million big ones (first class sprites!).

But, there's always 3.1.   smile

I think this version looks very polished! I haven't found any bugs at all (of course I haven't really been looking for them  big_smile  )

Hey, there's still time to add psuedo-first-class sprites. All we need is that (my name) reporter!


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#1271 2010-08-03 03:04:33

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

fullmoon wrote:

Hey, there's still time to add psuedo-first-class sprites. All we need is that (my name) reporter!

Hehe! Yeah, I'm really missing that one when messing around with BYOBbed demo projects, too. But, of course, we want real first class sprites, so - even can I hardly resist it - we're not going to add pseudo ones for the imminent release.  smile

Thanks for all your encouraging comments, fullmoon!

@ everybody:

Please post (or send me) your sample BYOB projects by tomorrow night (your time, wherever you live), so we can decide which ones (hopefully all of them!) to include in the official BYOB 3 distro.

Thanks!

Last edited by Jens (2010-08-03 03:05:28)


Jens Mönig

Offline

 

#1272 2010-08-03 11:48:33

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

ScratchReallyROCKS wrote:

I've pretty much hit the limits of Scratch - hard. I'm trying to do things that it just can't do.

but

if you make Scratch too complicated, you will lose your original and intended audience.

That's the dilemma.  I don't know if you intended it this way, but you present arguments on both sides.

I think the BYOB blocks themselves are not a problem.  What worries the S.T., maybe correctly, is that the collection of online projects will use custom blocks a lot, if they're in the language, and so the projects will become hard to understand.

OTOH, I find the existing Scratch projects, the interesting ones, hard to understand already!  They have scripts that go on for miles.  And they're structured that way often for lack of custom blocks, which would allow huge simplifications.

Yes, I did intend it that way. Also, like you said, I don't think the custom blocks are the problem, but the lists-in-lists and blocks-in-lists and 'script variables (a) >' may be harder to understand.

I still think BYOB should be implemented in Scratch 2.0 though, I was just stating why it might not be.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#1273 2010-08-03 15:34:19

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

2.995.007.  Mönig.  Jens Mönig.

Jens wrote:

This release fixes both the STOP BLOCK for good and the "Scope Contrast" setting for custom blocks. It also contains a slight performance gain for certain variable-based operations and a slightly more appealing color setting for "Scope Contrast".

Sorry for spamming you with frequent releases. I'm considering this release to be the "final" beta. Now I'll start going through all the other files once again and building the full installer.

Thanks again for the bug reports!


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#1274 2010-08-03 16:04:44

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Jens wrote:

Sorry for spamming you with frequent releases. I'm considering this release to be the "final" beta. Now I'll start going through all the other files once again and building the full installer.

Yeah, like that'll happen  tongue   tongue


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#1275 2010-08-03 17:37:25

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: BYOB 3 - Discussion Thread

ScratchReallyROCKS wrote:

Yeah, like that'll happen  tongue   tongue

Alas, you're right -- more bugs uncovered, one more bugfix release expected tomorrow.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

Board footer