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

#2876 2011-02-19 05:05:28

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

I think I'm the only American here who stays up at this hour... 2am here... oops just blew my cover(location), at least my longitude  wink

Last edited by 14God (2011-02-19 17:16:30)


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2877 2011-02-19 10:42:38

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

Re: BYOB 3 - Discussion Thread

14God wrote:

I think I'm the only American here who stays up at this hour... 2pm here... oops just blew my cover(location), at least my longitude  wink

You do mean 2am, right?


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

Offline

 

#2878 2011-02-19 10:44:58

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Tell you what: When we start on 4.0 in April, you can write the Javascript code to implement the checkbox thingy!

Hurrah!


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

Offline

 

#2879 2011-02-19 17:16:05

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

14God wrote:

I think I'm the only American here who stays up at this hour... 2pm here... oops just blew my cover(location), at least my longitude  wink

You do mean 2am, right?

Oops... yeah (shows how tired I was)


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2880 2011-02-20 00:09:49

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: BYOB 3 - Discussion Thread

14God wrote:

bharvey wrote:

14God wrote:

I think I'm the only American here who stays up at this hour... 2pm here... oops just blew my cover(location), at least my longitude  wink

You do mean 2am, right?

Oops... yeah (shows how tired I was)

I'm not too far behind... I'm up 'till I finish my research paper.  sad

I DETEST research papers...

Last edited by MathWizz (2011-02-20 00:10:09)


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#2881 2011-02-20 09:39:23

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

Re: BYOB 3 - Discussion Thread

At least we have Google.  tongue

Offline

 

#2882 2011-02-20 18:42:59

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

Re: BYOB 3 - Discussion Thread

if your research paper is about computer science you might always try http://pdos.csail.mit.edu/scigen/  big_smile


Jens Mönig

Offline

 

#2883 2011-02-20 18:59:02

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

MathWizz wrote:

I'm not too far behind... I'm up 'till I finish my research paper.  sad

I DETEST research papers...

Yeah I like making stuff more then writing about it.


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2884 2011-02-20 19:52:37

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

if your research paper is about computer science you might always try http://pdos.csail.mit.edu/scigen/  big_smile

That's hilarious!  big_smile

Offline

 

#2885 2011-02-20 20:26:16

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: BYOB 3 - Discussion Thread

Jens wrote:

if your research paper is about computer science you might always try http://pdos.csail.mit.edu/scigen/  big_smile

ROFLMAO! That's SO incredibly hillarious! I tried it, and it came up with this:
http://apps.pdos.lcs.mit.edu/scicache/303/figure3.png
Figure 6: The expected energy of our approach, as a function of block size.

OMG take a look at this:
http://apps.pdos.lcs.mit.edu/scicache/779/figure0.png
Figure 2: The effective block size of our system, as a function of response time.

Last edited by rubiks_cube_guy238 (2011-02-20 20:32:02)


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#2886 2011-02-21 13:48:05

14God
Scratcher
Registered: 2008-11-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

Whenever I take a bandwidth speed test my internet speed goes up 0.o


http://cs.berkeley.edu/~bh/sig4.png
Logic and reason have led me to atheism... but I'm stuck with the name  tongue

Offline

 

#2887 2011-02-22 01:31:32

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

Re: BYOB 3 - Discussion Thread

For the first time Jens is using the word "alpha" to describe part of today's experimental release!

Jens wrote:

Tonight's build completes and cleans up the generic object interface for sprites to what might be considered alpha level, adding the (non-inheritable) 'name' attribute, and letting users inspect which attributes are inherited (deleted in a child) by selecting that attribute in the ATTRIBUTE block's pulldown menu in the pallette. If the specified property is inherited, the ATTRIBUTE block turns to "ghosted." This build also cleans up some menus and UI details.

What's still missing is dynamic inheritance for costumes and sounds, as well as first class costumes and sounds. I'll explore those in the next experimental releases.


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

Offline

 

#2888 2011-02-22 07:52:57

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: BYOB 3 - Discussion Thread

Jens wrote:

What's still missing is dynamic inheritance for costumes and sounds, as well as first class costumes and sounds. I'll explore those in the next experimental releases.

Will we be able to create new costumes and draw them from a script?


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#2889 2011-02-22 08:40:15

wmays
Scratcher
Registered: 2008-05-10
Posts: 500+

Re: BYOB 3 - Discussion Thread

Just wondering, but is there a way to change the options on the <is [] a [number]?>


http://i42.tinypic.com/2z5vcz9.gif
http://phpscripthost.comoj.com/imagescripts/ipimg.php

Offline

 

#2890 2011-02-22 08:46:44

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: BYOB 3 - Discussion Thread

wmays wrote:

Just wondering, but is there a way to change the options on the <is [] a [number]?>

What do you mean? You can click the box and choose any of these: number, text, boolean, list, command, reporter, predicate

Offline

 

#2891 2011-02-22 09:55:47

llarsen
New Scratcher
Registered: 2011-02-22
Posts: 2

Re: BYOB 3 - Discussion Thread

I would like to say thanks for making a great tool for teaching kids programming. I have been using scratch to teach my kids programming, but I have felt the limitations of what is available in scratch, and I like many of the things BYOB has done.

There is one thing I really miss in both scratch and BYOB. I would love to see first class subroutines. My kids picked up on the idea of using broadcast to call actions on other sprites very quickly. It would be very nice to have a top level 'action' block that acted like a 'script' block (i.e. could receive parameters and would be called per object). It would also be great if there was a way to do polymorphism with these (i.e. you could store an object as a variable, and maybe have a 'tell object run action with parameters'  where the action could be typed in so that runtime discovery is possible). Maybe all that is needed is a block like the sensing 'attribute x of sprite', but where an object could be dropped into the sprite location, and an action name could be typed in. The new changes to make objects first class should make polymorphism possible and first class subroutines would be beautiful.

I did show my kids how to define a variable, with a script in it, and run the script stored in the variable. However they don't tend to use this because broadcast is more natural. I also saw a was to do polymorphism by passing strings to a script block which selects and returns another script using a long list of ifs. Quite ugly to try and teach someone polymorphism in this way. Seems very cumbersome compared to first class subroutines.

Offline

 

#2892 2011-02-22 11:02:46

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

Re: BYOB 3 - Discussion Thread

I'm not sure if this is what you mean, but it is possible to run scripts on other objects:

http://chronowars.srrcollab.site40.net/blocks.gif

Last edited by ScratchReallyROCKS (2011-02-22 11:03:13)


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

Offline

 

#2893 2011-02-22 11:40:20

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

Re: BYOB 3 - Discussion Thread

llarsen wrote:

There is one thing I really miss in both scratch and BYOB. I would love to see first class subroutines.

Jens and I are both confused about your message because we do have what we call first class subroutines; they are created by THE BLOCK and THE SCRIPT, which are exact ports of lambda for reporters and commands respectively.

Some of the things you want to do seem to me to be satisfied by the ability to make sprite-local blocks.  In particular polymorphism, as I understand it, works perfectly using our inheritance mechanism.

So, could you maybe write some pseudocode for what it is you want to do in BYOB that our latest experimental build doesn't allow?  Thanks.


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

Offline

 

#2894 2011-02-22 12:34:45

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

Re: BYOB 3 - Discussion Thread

rubiks_cube_guy238 wrote:

Will we be able to create new costumes and draw them from a script?

We hope so.  Right now we're pushing a deadline and it's not clear what will make it into 3.1, but Jens is working on costumes as we speak.


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

Offline

 

#2895 2011-02-22 12:37:29

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

Re: BYOB 3 - Discussion Thread

wmays wrote:

Just wondering, but is there a way to change the options on the <is [] a [number]?>

We're adding object types to the options, but there won't be a way for users to add types.  The idea here is that every possible value should be in exactly one of the categories, and anything you added would overlap with one of the primitive types.

But of course you can define your own predicate blocks to check for any user-defined type you want!


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

Offline

 

#2896 2011-02-22 12:54:42

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

Re: BYOB 3 - Discussion Thread

@ llarsen

See my : http://www.xleroy.net/ByobTuto/New/Thumbnails.html

In this example (downloadable) you will see that you can execute any LOCAL "variable function" defined in a "library sprite" by (SET varfunc + C-Shape block + script) by any other sprite with a combination of two <OF> instructions :

RUN [[varfunc OF library] OF [OBJ anysprite]]

IMHO this feature gives more possibilities than any "intelligent broadcast.

Offline

 

#2897 2011-02-22 13:44:20

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: BYOB 3 - Discussion Thread

(attribute [instrument]) doesn't work.


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#2898 2011-02-22 16:08:42

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

Re: BYOB 3 - Discussion Thread

rubiks_cube_guy238 wrote:

(attribute [instrument]) doesn't work.

instrument is currently only settable, not gettable.


Jens Mönig

Offline

 

#2899 2011-02-22 17:04:42

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hey guys. I was playing around on Scratch and realised that there was no tile engines. I then made one, which could display a map. This was not fast enough, so I moved to BYOB. Here is my attempt. It is quite fast, but could be improved. What are peoples opionions?


You can now reach me on Twitter @johnnydean1_

Offline

 

#2900 2011-02-22 21:35:46

MarySueHunterz12
New Scratcher
Registered: 2010-09-17
Posts: 16

Re: BYOB 3 - Discussion Thread

What does BYOB stand for? Oh, if this has already been answered, then I just want to say that I didn't really bother to read the entire forum.   tongue

Offline

 

Board footer