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

#751 2010-06-14 19:15:42

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

Re: BYOB 3 - Discussion Thread

jstout wrote:

the three pieces of information

I've been thinking that it should really also include information about the pen state, but I guess we don't have reporters for that.  I guess we have to wait for the BYOB/Panther merger.  smile


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

Offline

 

#752 2010-06-14 19:17:15

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

Re: BYOB 3 - Discussion Thread

BYOB 2.99.018, no big new features, just some bug fixes, including the one about replacing list items.


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

Offline

 

#753 2010-06-15 03:55:01

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

Re: BYOB 3 - Discussion Thread

jstout wrote:

Complicated variables/lists to store the three pieces of information and the restore process is very simple.

It's a good exercise to use your method, but in this precise case probably that it is simpler to save position+direction into 3 variables.

Anyway the solution you mention - to use lists as a kind of shared memory - is not a bad one, mainly if you need to handle long lists of variables. In addition a list can store "procedures" ...and everything you like etc It can be an elegant solution to store every variables, or every property of a sprite into a dedicated list.

Offline

 

#754 2010-06-15 05:27:38

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

Re: BYOB 3 - Discussion Thread

TheExternal wrote:

http://scratchx.webs.com/
I re-made my website and (i'm still working on it now) for BYOB.

Nice! Thanks for sharing your site here. It's such a blast for us to see how you guys are enthusiastically taking on those "big ideas" behind BYOB3! The Scratch community really is something else. See, that's why we want first class procedures and first class lists in the official Scratch, and not a separate "Scratch4CS" application: We don't want to split this wonderful community, where grown-ups can learn from kids and vice-versa (just look at the age range in this forum thread, it's amazing!).


Jens Mönig

Offline

 

#755 2010-06-15 09:04:20

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

TheExternal wrote:

http://scratchx.webs.com/
I re-made my website and (i'm still working on it now) for BYOB.

Nice! Thanks for sharing your site here. It's such a blast for us to see how you guys are enthusiastically taking on those "big ideas" behind BYOB3!

Thanks  smile  Also, is there a way to be able to put download links for BYOB projects on  websites?

EDIT:
Nevermind I figured out how to.

Last edited by TheExternal (2010-06-15 09:40:52)


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

 

#756 2010-06-15 16:30:35

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

Re: BYOB 3 - Discussion Thread

Okay, so I'm a little bit confused right now, and I don't feel like reading through 31 pages of posts to find the answer  tongue

Is Jens creating this solo, or is it a group of people? As I recall, Jens did create BYOB, and so I was a little confused when there was a new thread made by somebody other than Jens about BYOB. Anybody care to clear this up for me? Thanks  smile

Offline

 

#757 2010-06-15 16:33:02

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

Re: BYOB 3 - Discussion Thread

I think is now a group, but not 100% sure...


You can now reach me on Twitter @johnnydean1_

Offline

 

#758 2010-06-15 16:55:56

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

Re: BYOB 3 - Discussion Thread

coolstuff wrote:

Okay, so I'm a little bit confused right now, and I don't feel like reading through 31 pages of posts to find the answer  tongue

Is Jens creating this solo, or is it a group of people? As I recall, Jens did create BYOB, and so I was a little confused when there was a new thread made by somebody other than Jens about BYOB. Anybody care to clear this up for me? Thanks  smile

Jens is pretty much writing the software, and bharvey is providing input and expertise, as well as documentation and tutorials. Everyone else in this thread has merely been providing examples, suggestions, bug reports, and praise. And maybe a few gripes.  wink

Last edited by fullmoon (2010-06-15 16:56:48)


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

Offline

 

#759 2010-06-15 17:02:05

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

coolstuff wrote:

Okay, so I'm a little bit confused right now, and I don't feel like reading through 31 pages of posts to find the answer  tongue

Is Jens creating this solo, or is it a group of people? As I recall, Jens did create BYOB, and so I was a little confused when there was a new thread made by somebody other than Jens about BYOB. Anybody care to clear this up for me? Thanks  smile

Jens is the main developer of BYOB. The other people are just fans, who are helping. The creator of this thread is also just a fan. People who help a lot, get on the Certificate of Appreciation. You can view the image, and a lot of other things related to BYOB3 at the BYOB3 Website

If you are too lazy to do that, here is a picture:

http://i50.tinypic.com/sxdwls.jpg

Soon, a person best known among us Scratchers as "bharvey" who came along and started to help Jens. Soon enogh, they found themselves working with each other to complete BYOB3. But bharvey did not help to make BYOB1 or BYOB2.


Clear enough?  tongue


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#760 2010-06-15 17:06:59

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

Re: BYOB 3 - Discussion Thread

coolstuff wrote:

Is Jens creating this solo, or is it a group of people? As I recall, Jens did create BYOB, and so I was a little confused when there was a new thread made by somebody other than Jens about BYOB. Anybody care to clear this up for me? Thanks  smile

Jens remains the sole programmer of BYOB.  As of BYOB3 I'm participating in the design (mostly this means I taught Jens about first class functions  smile  but also we've been working out a million little user interface issues) and contributing documentation, tutorials, making trouble on forums, etc.

The two of us are the "team" officially, but of course lots of other people have been helping in large and small ways.  Lucario organized this forum thread.  A whole gang have been finding bugs for us.  We have a team at Berkeley developing a new computer science course using BYOB, and they've contributed ideas; in particular, Sally Ahn, a student in human-computer interaction, is doing an HCI evaluation for us, looking systematically for aspects of the design that would make BYOB unnecessarily hard to use.

Hope that helps.


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

Offline

 

#761 2010-06-15 17:10:59

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

Re: BYOB 3 - Discussion Thread

Okay, thanks bharvey, fullmoon, henley, and johnnydean1! That helps a lot.

Offline

 

#762 2010-06-15 17:50:45

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

coolstuff wrote:

Okay, thanks bharvey, fullmoon, henley, and johnnydean1! That helps a lot.

lol, we were all to bored not to answer  lol


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#763 2010-06-15 18:06:58

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

Re: BYOB 3 - Discussion Thread

henley wrote:

People who help a lot, get on the Certificate of Appreciation

Umm, we weren't planning to change the Certificate.  A few people have come on board since then (in particular fullmoon who missed the beginning but started being really useful just after!  hmm  ) and are definitely appreciated!  I wish you were all in one place and we could host a party or something.  But that certificate celebrates people who were on board right at the beginning, major bugs and all.


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

Offline

 

#764 2010-06-15 19:27:04

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

Re: BYOB 3 - Discussion Thread

xly wrote:

jstout wrote:

Complicated variables/lists to store the three pieces of information and the restore process is very simple.

It's a good exercise to use your method, but in this precise case probably that it is simpler to save position+direction into 3 variables.

Anyway the solution you mention - to use lists as a kind of shared memory - is not a bad one, mainly if you need to handle long lists of variables. In addition a list can store "procedures" ...and everything you like etc It can be an elegant solution to store every variables, or every property of a sprite into a dedicated list.

I'm not sure it's simpler using three variables, or even a list with three items. I'd have to have one custom reporter block to report a list with three items in it (the current x, y, and direction), and a variable to hold the list reported. Then I'd need another custom block with one list parameter which would pick out the three items in the list and do a goto x:y:, then a set direction:.

With the functional approach I only need one custom reporter block which reports the block that, when run, does the goto x:y:, then the set direction:, and a variable to store the block reported. Then to restore the position I just run the contents of the variable. One fewer custom blocks to keep in sync: if I change the order in which x, y, and direction are stored in the list I'd have to remember to change the code in my restore position block. If Jens and Brian give us a way of saving and restoring the pen then I can add that to the functional reporter block and I don't have to change any other code.

I think it's one of the things that you get from functional programming: once you get your head around the central idea, then all sort of things become so much simpler.

John

Last edited by jstout (2010-06-15 19:27:52)

Offline

 

#765 2010-06-15 20:29:24

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

Re: BYOB 3 - Discussion Thread

Quoth Jens:

this release significantly speeds up the evaluation of editable argument  slots (of type text, number or any), bringing some parts of BYOB back to Scratch speed. As I found out in first tests with various Scratch and BYOB projects, other parts are still lagging behind Scratch / BYOB2 speed. I hope to be able to do something about them, too, before the release of BYOB 3.

The speed-up in tonight's release affects the part of the code that's responsible for suppressing empty argument slots to be automatically filled with zeros by Scratch. Therefore I'm half expecting some new bugs related to zero-filled empty slots and perhaps even involving saving/reading errors to surface. Let's uncover those if they're in there!  smile


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

Offline

 

#766 2010-06-15 20:39:42

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

Re: BYOB 3 - Discussion Thread

jstout wrote:

With the functional approach I only need one custom reporter block which reports the block that, when run, does the goto x:y:, then the set direction:, and a variable to store the block reported. Then to restore the position I just run the contents of the variable.

With some regret, because I love the elegance of your solution, I think I've thought of a simpler way for most applications:

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

But your way has the advantage that you can call the restore-state procedure more than once.


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

Offline

 

#767 2010-06-16 00:12:40

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Quoth Jens:

this release significantly speeds up the evaluation of editable argument  slots (of type text, number or any), bringing some parts of BYOB back to Scratch speed. As I found out in first tests with various Scratch and BYOB projects, other parts are still lagging behind Scratch / BYOB2 speed. I hope to be able to do something about them, too, before the release of BYOB 3.

The speed-up in tonight's release affects the part of the code that's responsible for suppressing empty argument slots to be automatically filled with zeros by Scratch. Therefore I'm half expecting some new bugs related to zero-filled empty slots and perhaps even involving saving/reading errors to surface. Let's uncover those if they're in there!  smile

Virtual high-five! I'll have to download it tomorrow and see how it goes.

Last edited by fullmoon (2010-06-16 00:13:42)


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

Offline

 

#768 2010-06-16 00:21:35

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

The speed-up in tonight's release affects the part of the code that's responsible for suppressing empty argument slots to be automatically filled with zeros by Scratch. Therefore I'm half expecting some new bugs related to zero-filled empty slots and perhaps even involving saving/reading errors to surface. Let's uncover those if they're in there!  smile

wait... your gonna make the empty slots automatically fill up with a 0? Can you at least keep some of them like they are because if i leave an empty slot and do this:
{ [answer] > [] } I can make the script sense if there's anything in the box at all instead of just numbers. I use this alot.


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

 

#769 2010-06-16 00:52:50

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

Re: BYOB 3 - Discussion Thread

i was using byob 2.99.019 and i froze byob so i started the task manager to exit out and the cpu usage was at 100% so i exited it out and then my computer froze.


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

 

#770 2010-06-16 01:08:22

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Yes. It is possible for that to happen. It managed to crash Brian's Mac.  tongue


Hai.

Offline

 

#771 2010-06-16 01:35:48

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

Re: BYOB 3 - Discussion Thread

fg123 wrote:

Yes. It is possible for that to happen. It managed to crash Brian's Mac.  tongue

Well It hasn't crashed my Mac. Go Mac Minis!!


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

Offline

 

#772 2010-06-16 01:54:10

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

Re: BYOB 3 - Discussion Thread

TheExternal wrote:

wait... your gonna make the empty slots automatically fill up with a 0?

Not on purpose!  Jens is just expecting that some bugs of that kind will turn up.  When you find them, we'll fix them.   smile


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

Offline

 

#773 2010-06-16 01:55:22

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

Re: BYOB 3 - Discussion Thread

TheExternal wrote:

i was using byob 2.99.019 and i froze byob so i started the task manager to exit out and the cpu usage was at 100% so i exited it out and then my computer froze.

It would be great if you could show us what you were doing that froze!  Thanks.


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

Offline

 

#774 2010-06-16 01:57:07

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

Re: BYOB 3 - Discussion Thread

ScratchReallyROCKS wrote:

Well It hasn't crashed my Mac. Go Mac Minis!!

Apparently it's just my particular year's model of MacBook Pro that has this overheating problem.  It hasn't happened since I installed the Fan Control preferences pane that lets me get the fans going faster sooner.


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

Offline

 

#775 2010-06-16 03:31:13

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Hi... when I run LINE in Scratch, it's at a nice speed - but when I run it in BYOB, it's very slow... any ideas why?


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

Board footer