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

#1726 2010-09-08 11:49:37

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

Re: BYOB 3 - Discussion Thread

Daffy22 wrote:

Could you add this code either in the forum or the website?  It is so your users know they can upload and share BYOB projects!

Umm.  That sounds like a trivial request but actually it does raise issues for me.  One reason parents let kids use the Scratch web site is that it's guaranteed safe, both because Scratch can't do much to your disk and because questionable projects are very quickly removed by a combination of paid staff at MIT and an army of kid volunteers policing the site.  The first (technical) reason doesn't apply to mods, and I'm guessing the second doesn't apply to your site either.  That makes me nervous about an endorsement, even implicit.  A kid such as, say, soupoftomato, who's perfectly safe and happy using BYOB itself, but doesn't like profanity, is likely not to be safe and happy browsing the projects uploaded by a zillion people.

Don't get me wrong, I think you're providing a worthwhile service.  But I'm not sure my university's lawyers would want us to endorse it on their web service.


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

Offline

 

#1727 2010-09-08 16:05:53

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

Re: BYOB 3 - Discussion Thread

ÜBERGLITCH:

Okay, so make a block with an un-evaluated boolean and any other argument with the boolean first. Now drag the block out into the scripting area, and delete the boolean argument, and these blocks appear in the other argument:

(the script.
[report <false>]
)

Also, the (the script) block has the 'atomic' option checked (right-click on it).

Okay, so it doesn't work with every argument type, but it does with most.

Last edited by rubiks_cube_guy238 (2010-09-08 16:09:06)


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

Offline

 

#1728 2010-09-08 16:16:15

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

Re: BYOB 3 - Discussion Thread

rubiks_cube_guy238 wrote:

make a block with an un-evaluated boolean and any other argument with the boolean first. Now drag the block out into the scripting area, and delete the boolean argument, and these blocks appear in the other argument:

(the script.
[report <false>]
)

Yeah, interesting.  Scripts like that (THE SCRIPT [REPORT ...]) are Jens's internal representation of THE ... BLOCK, so it's not surprising that the script is marked as atomic.

Anyway, I filed a Bugzilla report.


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

Offline

 

#1729 2010-09-08 19:02:11

geohendan
Scratcher
Registered: 2009-08-06
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Okay, okay, hooray, whatever.... But I downloaded it and don't know how to open it. Halp!  sad  http://scratch.mit.edu/forums/viewtopic.php?id=45518


Scratching that nasty wart on my back since 2009!
http://i.imgur.com/OzpGtWV.jpg

Offline

 

#1730 2010-09-08 22:05:58

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

fullmoon wrote:

Argh! No bookstores seem to carry it around here...

The good news:  The Cal bookstore has it.

The bad news:  It costs $86.

(You can get an old first edition cheaper if you work at it, but trust me, you want the second edition.)

EDIT: If you're not in a hurry, you can usually find used copies at the end of our semester, Dec 16.

Meh, I'll check my local library.


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

Offline

 

#1731 2010-09-11 07:12:02

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

Re: BYOB 3 - Discussion Thread

ÜBERBUMP


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

Offline

 

#1732 2010-09-11 12:46:31

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

Re: BYOB 3 - Discussion Thread

rubiks_cube_guy238 wrote:

ÜBERBUMP

It has been a bit quiet the last couple of days.  I was thinking everyone was scared away at the thought of the library.  smile


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

Offline

 

#1733 2010-09-11 12:56:55

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

A kid such as, say, soupoftomato, who's perfectly safe and happy using BYOB itself, but doesn't like profanity

When did I get back into this discussion after missing about 20 pages?


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#1734 2010-09-11 15:25:15

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

Re: BYOB 3 - Discussion Thread

soupoftomato wrote:

When did I get back into this discussion after missing about 20 pages?

Hi!  I was just remembering you (I'm pretty sure) upset about the obscene programming language name mentioned here some time ago by mp56.  And so when the subject of moderating of uploaded projects came up I thought of you.


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

Offline

 

#1735 2010-09-11 19:13:06

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

soupoftomato wrote:

When did I get back into this discussion after missing about 20 pages?

Hi!  I was just remembering you (I'm pretty sure) upset about the obscene programming language name mentioned here some time ago by mp56.  And so when the subject of moderating of uploaded projects came up I thought of you.

Oh,I just didn't want my parents finding that in the computer history. XD

But, I've learned to deal with it in real life.


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#1736 2010-09-11 19:21:42

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

Re: BYOB 3 - Discussion Thread

Hey bharvey, have you tried clicking the link in your sig? I think you misspelled the name of your own school!  big_smile


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

Offline

 

#1737 2010-09-11 20:44:56

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

Re: BYOB 3 - Discussion Thread

fullmoon wrote:

Hey bharvey, have you tried clicking the link in your sig? I think you misspelled the name of your own school!  big_smile

Haha! Yeah I noticed that - he better fix it soon  smile


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

Offline

 

#1738 2010-09-11 22:27:06

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

Re: BYOB 3 - Discussion Thread

soupoftomato wrote:

Oh,I just didn't want my parents finding that in the computer history. XD

Ah!  Gotcha.  smile


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

Offline

 

#1739 2010-09-11 22:29:12

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

Re: BYOB 3 - Discussion Thread

fullmoon wrote:

Hey bharvey, have you tried clicking the link in your sig?

Oooooops!  Thanks!  hmm

*Twiddles thumbs waiting for 60 seconds to pass...*  sad


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

Offline

 

#1740 2010-09-11 22:51:06

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

fullmoon wrote:

Hey bharvey, have you tried clicking the link in your sig?

Oooooops!  Thanks!  hmm

*Twiddles thumbs waiting for 60 seconds to pass...*  sad

Hehe. I was really confused when I clicked that!


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

Offline

 

#1741 2010-09-11 23:29:26

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

Re: BYOB 3 - Discussion Thread

fullmoon wrote:

Hehe. I was really confused when I clicked that!

PS You should run! (for mod I mean)


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

Offline

 

#1742 2010-09-12 11:08:48

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

*Twiddles thumbs waiting for 60 seconds to pass...*  sad

Just copy-paste into your previous post with this:
____________________________

between them!  smile

And now I'm waiting for the 60-second rule to pass on three separate posts in three separate threads....


nXIII

Offline

 

#1743 2010-09-12 15:56:59

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

soupoftomato wrote:

When did I get back into this discussion after missing about 20 pages?

Hi!  I was just remembering you (I'm pretty sure) upset about the obscene programming language name mentioned here some time ago by mp56.  And so when the subject of moderating of uploaded projects came up I thought of you.

I completely forgot about that... did I really scare people away with that?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#1744 2010-09-12 17:16:52

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

PS You should run! (for mod I mean)

Thanks! I'm considering it, but given the amount of candidates I have a very small chance of winning.

By the way, my friend actually GAVE me a Macbook Pro to fix. The first thing I installed on it was BYOB, a testament to its awesomeness. Second was Flex Builder 4, then Skype.  big_smile


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

Offline

 

#1745 2010-09-13 00:32:04

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

Re: BYOB 3 - Discussion Thread

fullmoon wrote:

The first thing I installed on it was BYOB, a testament to its awesomeness.

Thanks!


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

Offline

 

#1746 2010-09-13 16:41:52

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

Re: BYOB 3 - Discussion Thread

One of the main things I think should be improved in BYOB is more sample projects  tongue


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

Offline

 

#1747 2010-09-13 18:38:57

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

Re: BYOB 3 - Discussion Thread

Lucario621 wrote:

One of the main things I think should be improved in BYOB is more sample projects

Agreed!  Make some!  smile  (We will too.)


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

Offline

 

#1748 2010-09-13 19:31:29

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

Re: BYOB 3 - Discussion Thread

Oh, I guess now that my scripting language is in a decently-working order you guys could have it for a sample project. It's just...does anyone have a really fast dictionary class? Because the one I used is just lists of associations.


nXIII

Offline

 

#1749 2010-09-13 20:18:54

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

Re: BYOB 3 - Discussion Thread

I can't wait to look at your scripting language and include it in the next distro, nXIII! Why don't you stick with your associative lists for now? (they're probably faster than anything else anyway, at least for "reasonably sized" dictionaries).


Jens Mönig

Offline

 

#1750 2010-09-13 20:30:12

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

Re: BYOB 3 - Discussion Thread

Yes, but that depends how big the function list is! It might not be so reasonable after all!  tongue
The problem is that I also used associative lists for variables, so they're a little slow, but that's the only dictionary that's used at runtime, the rest is compiled (YAY!).
I just need a few more than 3 or 4 functions, and maybe some special-casing with assignment/operators (I haven't made operators yet  tongue )
Sadly, no lambdas yet, but they're on the list! Remarkably, they would be quite easy to implement, it just means a little more work by the parser.
EDIT: Actually, the work would be in the evaluator because it would just leave the compiled code as it is instead of evaluating it.

Last edited by nXIII (2010-09-13 20:30:51)


nXIII

Offline

 

Board footer