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

#1201 2010-07-25 20:23:26

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: BYOB 3 - Discussion Thread

I just tried the latest version of BYOB and I must say - I'm impressed! I haven't tried BYOB in several years (I think since it first came out) and it's turned Scratch into a true programming language, with parameters and everything. I must admit I find a lot of the programming to be quite befuddling, but that's probably because I'm not used to BYOB quite yet. My head itches at the thought of a script as a reporter (if you want to explain, go ahead - I'd love to get an answer), I'm not entirely sure what the <true> and <false> blocks do, but my guess is that they are what they say they are  tongue  - I'm just not sure when I would use them.

I'm completely blank on editing existing blocks with what I believe is Processing, though I'd imagine that would come from Squeaking... I have no idea what the [the ( ) block] block does, but I'd imagine it gives the result of a predicate or reporter block does... And I simply fail to see the difference between the "report" block and what the report field at the bottom of the block-building window does. I'm not entirely sure what the difference is between the "run" and "launch" blocks are, or why you would need the "with inputs" or "with input list" when you could just put the respective reporter blocks just into the block itself, or why you would even need those blocks in the first place. I have no idea what the (copy of) block does, but it looks pretty cool; methinks it makes a copy of a list  tongue

Despite my lack of understanding of the blocks and features of BYOB, I have been able to create a rather fully-featured program with it - imagine if I actually knew what half the blocks did! I'm incredibly impressed with the GUI innovations, such as panning and the resizable block window, the alternating colours between blocks, and the ease of creating new fields (excuse me for not knowing the right term) in each block you create. It truly is a pleasure to use, and surely will bring infinite possibilities to aspiring programmers. I haven't read through the manual yet (which would probably explain my lack of understanding) but it certainly looks like a world of opportunity. Well done, Jens and bharvey!

Offline

 

#1202 2010-07-25 23:54:28

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

fullmoon wrote:

By the way, excellent beta release. It installed flawlessly on Vista (which is no mean feat).

Thanks!

Scratch 2.0: Flash? Squeak? JS? Take the Scratch 2.0 Platform Poll!

What if I don't like any of those languages?  Your poll has no provision for write-in votes.  (I know, you didn't write the software.)

Let me guess...Scheme?  big_smile

Actually, the poll has closed automatically, I think, so there's no reason for me to keep that in my sig.


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

Offline

 

#1203 2010-07-26 03:17:07

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

Re: BYOB 3 - Discussion Thread

Hi coolstuff,

thanks for the favorable review of BYOB! It's heartwarming and encouraging to see that (smart) people are able to use it for their own projects even without fully understating what some of the blocks are for. You know, Brian did an awesome job in documenting all the new features. If you don't know what a block does you can always right-click it and select "help" and - tadaa - a help screen for that particular block will pop up, ususally containing an example and an explanation. So, you should be able to get answers to most of your questions by just "browsing" BYOB!

To get an overwiew of the new functions, as well as some pretty advanced programming techniques, check out Brian's "movie" tutorials in his "mystuff" area or on the byob.berkely.edu website (where you can also view them as Quicktime movies). They are pretty short but astoundingly dense and informative.

Enjoy!

Last edited by Jens (2010-07-26 03:17:40)


Jens Mönig

Offline

 

#1204 2010-07-26 07:29:47

jstout
Scratcher
Registered: 2007-05-04
Posts: 39

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Basically, there's this race going on, between the hardware developers, who make computers exponentially faster, and the software developers, who make the software exponentially more bloated.  In my experience the software people are "winning" -- that is, my subjective experience of computer speed has been getting consistently worse, not better, for five decades now.  What I get for this is stuff like the ability to watch movies; again I guess it's a matter of taste whether you like this tradeoff.

Or as Niklaus Wirth (I think) wrote: Software is getting slower faster than hardware is getting faster.

Offline

 

#1205 2010-07-26 09:04:04

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jens wrote:

Hi coolstuff,

thanks for the favorable review of BYOB! It's heartwarming and encouraging to see that (smart) people are able to use it for their own projects even without fully understating what some of the blocks are for. You know, Brian did an awesome job in documenting all the new features. If you don't know what a block does you can always right-click it and select "help" and - tadaa - a help screen for that particular block will pop up, ususally containing an example and an explanation. So, you should be able to get answers to most of your questions by just "browsing" BYOB!

Aha! Thanks for pointing that out - I wasn't expecting such amazing documentation for a beta release  tongue

To get an overwiew of the new functions, as well as some pretty advanced programming techniques, check out Brian's "movie" tutorials in his "mystuff" area or on the byob.berkely.edu website (where you can also view them as Quicktime movies). They are pretty short but astoundingly dense and informative.

Enjoy!

I'll be sure to check those out. Thanks!

Offline

 

#1206 2010-07-26 12:23:06

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

Re: BYOB 3 - Discussion Thread

markyparky56 wrote:

That-one-that-you-keep-mention-but-I-can't-remember?

Scheme.  It's called Scheme.  A single-namespace lexically scoped Lisp.  God's programming language.


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

Offline

 

#1207 2010-07-26 12:27:08

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

Schaffenswut should probably translate to "obsessively creative"  smile

Or, as my old boss Ralph Gorin used to tell me, "you're a feature-mongerer!"  smile

We make a good team.  Yin and yang.


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

Offline

 

#1208 2010-07-26 12:38:13

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

Brian came up with the big ideas about first class data and functional programming.

Okay, I'll let you credit me with some of the GUI stuff (although I send Jens rough ideas and he sends back beautiful layout and graphics), but the big ideas predate me by quite a bit!  I put some stuff in the Scratch wiki article on BYOB about its intellectual antecedents, so I won't repeat it here, but the ultimate sources are Christopher Strachey (first class data) and Alonzo Church (functional programming).

I see myself as Prometheus: I hang out with smart people and figure out ways to get their ideas into the hands of ordinary mortals.

P.S.  Hi from Paris!  smile

Last edited by bharvey (2010-07-26 15:08:19)


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

Offline

 

#1209 2010-07-26 12:49:39

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

Re: BYOB 3 - Discussion Thread

coolstuff wrote:

My head itches at the thought of a script as a reporter (if you want to explain, go ahead - I'd love to get an answer)

... And I simply fail to see the difference between the "report" block and what the report field at the bottom of the block-building window does.

These questions partly answer each other!  If you put a REPORT block in a script, it's a reporter.

Program as data is a hard idea, although once you get it, it makes programming much easier.  Besides the tutorials, read the Reference Manual (BYOBManual.pdf in the distribution folder).  Then come back with questions.


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

Offline

 

#1210 2010-07-26 21:36:26

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

Re: BYOB 3 - Discussion Thread

Quick question:
Would hacks to BYOB to create new blocks (in the squeak source code, not using elements) still be effective when compiled?

Offline

 

#1211 2010-07-26 21:39:34

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Quick question:
Would hacks to BYOB to create new blocks (in the squeak source code, not using elements) still be effective when compiled?

no, if you have a Mac and you look at the package contents of a BYOB compiled application, you'll see why.


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

Offline

 

#1212 2010-07-26 22:09:09

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

Re: BYOB 3 - Discussion Thread

After my argument against Macs do you really think I'd have one?  tongue

Offline

 

#1213 2010-07-26 22:11:37

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

After my argument against Macs do you really think I'd have one?  tongue

Sorry, I forgot about that. I've had a long day.  tongue


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

Offline

 

#1214 2010-07-27 03:08:52

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Would hacks to BYOB to create new blocks (in the squeak source code, not using elements) still be effective when compiled?

A "compiled" BYOB program consists of a copy of BYOB packaged with a little batch file/shell script that starts it in presentation mode after loading your project file.  (So the project is still interpreted -- I wish Jens had picked a different name for this process.)  What this means is that if you make your patch in BYOB itself (you Smalltalk-save to the same file) then yes, your changes will be available.  If you (sensibly) rename the patched BYOB to something else, then one of the things you patch has to be (on the mac) the script compile.sh or (on Windows) the programs in the "mak" subdirectory -- you can ask Jens for source code for these -- to copy your patched BYOB instead of the real BYOB into your "compiled" projects.


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

Offline

 

#1215 2010-07-27 03:11:11

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

Re: BYOB 3 - Discussion Thread

ScratchReallyROCKS wrote:

no, if you have a Mac and you look at the package contents of a BYOB compiled application, you'll see why.

Not right out of the box, but if you're a modder, you shouldn't draw the line at modding compile.sh; you can replace "cp BYOB realBYOB" with "cp /users/me/myhackedBYOB realBYOB".


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

Offline

 

#1216 2010-07-27 07:04:33

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

ScratchReallyROCKS wrote:

no, if you have a Mac and you look at the package contents of a BYOB compiled application, you'll see why.

Not right out of the box, but if you're a modder, you shouldn't draw the line at modding compile.sh; you can replace "cp BYOB realBYOB" with "cp /users/me/myhackedBYOB realBYOB".

Wouldn't you just have to replace the BYOB.image file that's in the MacOS folder in the contents?


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

Offline

 

#1217 2010-07-27 07:09:58

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

Re: BYOB 3 - Discussion Thread

ScratchReallyROCKS wrote:

Wouldn't you just have to replace the BYOB.image file that's in the MacOS folder in the contents?

Yeah, I guess that'd work too.  If you totally replace BYOB with your modded version, then of course it works.  But with some effort in compile.sh you can have two versions and choose which to include with standalone (I prefer that term) projects.


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

Offline

 

#1218 2010-07-27 09:26:25

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

Re: BYOB 3 - Discussion Thread

http://suggest.scratch.mit.edu/forums/60449-suggestions/suggestions/941139-merge-byob3-and-scratch-
Vote to join BYOB3 and Scratch 2.0!

Offline

 

#1219 2010-07-27 09:37:48

TheExternal
Scratcher
Registered: 2008-11-04
Posts: 54

Re: BYOB 3 - Discussion Thread

I just made the play sound until block... Check it out here: play soud until block

If you want to add photos, log in the website with your webs ID, or make a new webs ID. the visit this link: BYOB Block Gallery
If you're posting a block please name it this: { (You're name here)- (Block name here) }

Last edited by TheExternal (2010-07-27 13:56:34)


http://i37.tinypic.com/2jdp99s.png
The funniest thing about this quote is that by the time you realize it doesn't say anything of importance, it's too late to stop reading it.

Offline

 

#1220 2010-07-27 17:14:05

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

Re: BYOB 3 - Discussion Thread

New image 2.995.002

Jens wrote:

This release fixes the following bugs/issues:

- REPORT did not work in custom C-shaped slots
- sometimes wide reporters could not be dropped into empty slots
- added an asterix to indicate unevaluated slots in the prototype
- the ALLOW SPRITES OFFSTAGE flag now gets saved in the project (and in the .ini file)
- Only creating a block sometimes did not set the "dirty" flag
- showValue-ing the DEBUG reporter sometimes resulted in a error

The "secret" easter egg (in the STOP BLOCK) had to be disabled. because it was sometimes causing a bug in other contexts.

Thanks, everybody, for the great testing and for your bug reports!

Also new tools project and sprite 1.7 (some cleanup, and turns the variants of REPEAT UNTIL into special forms).

Hi from Paris!

EDIT:  .001 had a bug, found instantly and fixed in .002.

Last edited by bharvey (2010-07-27 17:32:01)


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

Offline

 

#1221 2010-07-27 17:20:13

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

Re: BYOB 3 - Discussion Thread

TheExternal wrote:

BYOB Block Gallery

Wow!  You're way ahead of us.  smile

Sadly, something in my browser configuration is incompatible with that site.  I can see the thumbnails in the gallery (which is enough for blocks 1 and 3) but not the full picture.


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

Offline

 

#1222 2010-07-27 17:50:56

TheExternal
Scratcher
Registered: 2008-11-04
Posts: 54

Re: BYOB 3 - Discussion Thread

bharvey wrote:

TheExternal wrote:

BYOB Block Gallery

Wow!  You're way ahead of us.  smile

Thanks, although its small  tongue 

bharvey wrote:

Sadly, something in my browser configuration is incompatible with that site.  I can see the thumbnails in the gallery (which is enough for blocks 1 and 3) but not the full picture.

I've been having problems with the Webs photo album for some reason its not showing up even though the pics are in the same folder so your browser is fine.

Last edited by TheExternal (2010-07-27 17:59:57)


http://i37.tinypic.com/2jdp99s.png
The funniest thing about this quote is that by the time you realize it doesn't say anything of importance, it's too late to stop reading it.

Offline

 

#1223 2010-07-28 00:02:56

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Vote to join BYOB3 and Scratch 2.0!

Hey, shadow, I want to thank you for your wonderful response to John's "what part of BYOB3 is most useful"!  (For those who aren't following this survey, he basically said "all of it.")  Your response was eloquent and heartwarming.


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

Offline

 

#1224 2010-07-28 00:08:12

PlayWithFire
Scratcher
Registered: 2010-01-20
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

shadow_7283 wrote:

Vote to join BYOB3 and Scratch 2.0!

Hey, shadow, I want to thank you for your wonderful response to John's "what part of BYOB3 is most useful"!  (For those who aren't following this survey, he basically said "all of it.")  Your response was eloquent and heartwarming.

not to mention accurate! way to go shadow!

Last edited by PlayWithFire (2010-07-28 03:37:03)


http://scratch.mit.edu/static/projects/PlayWithFire/1610180_sm.png
Check out the DG Games Website For the latest news on games like Infected

Offline

 

#1225 2010-07-29 04:23:50

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

Re: BYOB 3 - Discussion Thread

2.995.003 bugfix release:

Jens wrote:

- DEBUG reported 'Error!' for all custom reporter blocks
    - non-Western font sets (Korean) did not work in menus with
checkboxes (Edit-options)
    - REPORT in custom C-shaped slots did not always work
    - ASKing a list or a block  showed garbled text instead of the
first-class item
    - Trying to undelete a custom block used to raise an error box
    - double clicking on an "orphaned" variable setter used to raise an
error box

plus some more I forgot just now.


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

Offline

 

Board footer