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

#7276 2013-03-11 12:10:41

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

Re: BYOB 3 - Discussion Thread

technoboy10 wrote:

Could you change the link URL to http://technoboy10.github.com/snap-nxt? That makes it easier for my code to be downloaded. Thanks.  smile

Done.  Although it doesn't make it easier for people whose browser is set to display white on black -- you should complain to github about that!

PS  You haven't changed the filenames, though.


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

Offline

 

#7277 2013-03-11 12:13:40

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

@Jens [...]
Also, this is kind of unrelated, but to you happen to be going to a conference in the coming weeks?  smile

Ooh, I'm going to be mad if Jens gets to meet you and I don't.

Last edited by bharvey (2013-03-11 12:55:31)


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

Offline

 

#7278 2013-03-11 12:45:59

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

Re: BYOB 3 - Discussion Thread

snap.berkelet.edu wrote:

SNAP! runs in your browser. It is implemented using Javascript, not Flash, so it's safe to run even other people's projects.

Erm…I don't think it's unsafe to run Scratch 2.0 projects you didn't make. What did you have in mind?


nXIII

Offline

 

#7279 2013-03-11 12:51:54

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Which looks nicer, and which is easier to understand (for this one, imagine you don't know any of the languages)?

In my case, that isn't so hard to imagine.  hmm

(See, I'm more worldly-cynical than you lot.)

None of the three will ever replace

Code:

(define (prime? n)
    (null? (filter (lambda (x) (divides? x n))
                   (range 2 (ceil (sqrt n))))))

Honestly, apart from the idiotic spaces-as-braces in Python, those three are all pretty much indistinguishable to me.  I vastly prefer the explicit starting point of 2 to the "n+2" idiom in the other examples, although I'm not a fan of the FOR syntax.  So I vote for a RANGE function in your language for which the starting point is an explicit argument.

Last edited by bharvey (2013-03-11 12:52:32)


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

Offline

 

#7280 2013-03-11 12:55:12

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

snap.berkelet.edu wrote:

SNAP! runs in your browser. It is implemented using Javascript, not Flash, so it's safe to run even other people's projects.

Erm…I don't think it's unsafe to run Scratch 2.0 projects you didn't make. What did you have in mind?

Flash can do anything, such as zero your disk or send all your passwords to Russia.  So, if you trust Scratch 2.0, it's because you trust the Scratch Team.  Javascript is sandboxed, so you don't have to trust the competence or honesty of the Snap! Team to feel safe.  Maybe I should reword that to make the point clearer, though, you're right.

P.S.  In any case, the point of that paragraph isn't to make an implicit comparison with Scratch.  It's to address the concerns of paranoid school IT people who've never heard of Snap!.

P.P.S.  Read it again and see if you like this version better.

Last edited by bharvey (2013-03-11 13:09:02)


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

Offline

 

#7281 2013-03-11 13:39:03

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

How would I go about implementing graphic effects? (i.e. how are sprites represented in the canvas element, as images or something else?)


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#7282 2013-03-11 14:24:18

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

So, should I submit a proposal based on Kurt to the conference in Barcelonatongue


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#7283 2013-03-11 14:47:17

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

Re: BYOB 3 - Discussion Thread

By all means, do submit one, and be sure to come!


Jens Mönig

Offline

 

#7284 2013-03-11 15:07:51

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Read it again and see if you like this version better.

Thanks, that's much better.


nXIII

Offline

 

#7285 2013-03-11 15:10:02

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

Re: BYOB 3 - Discussion Thread

I would also love to see proposals about Snap-nxt and Snapin8or for Barcelona!


Jens Mönig

Offline

 

#7286 2013-03-11 15:28:22

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jens wrote:

By all means, do submit one, and be sure to come!

What am I supposed to say? How do these things work — is it just like "Hey, I made this thing! Look how cool it is"?  tongue


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#7287 2013-03-11 15:39:01

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

Re: BYOB 3 - Discussion Thread

Yes, that'll do perfectly for a lightening talk/demo. Honestly, submit it!


Jens Mönig

Offline

 

#7288 2013-03-11 15:45:35

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

@Jens Should I make a video about Snap-NXT if I want to submit something for the conference?


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#7289 2013-03-11 15:52:34

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

Re: BYOB 3 - Discussion Thread

Sure, you can do that, but just your readme text fromgithubwill essentially do for a demo session.


Jens Mönig

Offline

 

#7290 2013-03-11 16:12:58

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jens wrote:

Honestly, submit it!

'kay.  tongue

Boring question: is there any organised accommodation, or would I need to find a way to afford a hotel?

Last edited by blob8108 (2013-03-11 16:13:10)


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#7291 2013-03-11 16:36:09

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

Re: BYOB 3 - Discussion Thread

technoboy10 wrote:

How would I go about implementing graphic effects? (i.e. how are sprites represented in the canvas element, as images or something else?)

See SpriteMorph.prototype.setEffect in objects.js


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

Offline

 

#7292 2013-03-11 16:43:00

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

is there any organised accommodation, or would I need to find a way to afford a hotel?

Maybe you can share a room with technoboy10.  smile    (Always supposing that he organizes transatlantic airfare!)

I would really, really, really love to organize a Snap! get-together where I could meet our whole gang at once.  But I guess at least I can meet you in Barcelona!  And JSO is coming, too.  (And xly, but he's a grownup, so doesn't count.)


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

Offline

 

#7293 2013-03-11 16:49:03

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

So, should I submit a proposal based on Kurt

This finally prompted me to click on the link in your sig.  Cool!  (@Jens: All the teachers at SIGCSE want some text representation of Snap! programs to do automated analysis of student work.  I still vote for Scheme, although I guess the existing XML will work when you separate out the media.)  Why is it called Kurt?


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

Offline

 

#7294 2013-03-11 17:13:07

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Why is it called Kurt?

You're the first to ask.  tongue  No particular reason; it's just what happens when you ask your Austrian girlfriend to name something...

First person to think of a decent acronym gets a cookie! At BCN. Assuming I go.

some text representation of Snap! programs to do automated analysis of student work

I wouldn't worry about it — I'll have implemented a universal Scratch 1.4/2.0/BYOB/Snap! converter in not-too-long, and then you can just use that.  big_smile


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#7295 2013-03-11 17:25:22

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

acronym

Konvert yoUr blocks into paRselTongue  tongue


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

Offline

 

#7296 2013-03-11 17:31:29

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

blob8108 wrote:

acronym

Konvert yoUr blocks into paRselTongue  tongue

What on earth is "parseltongue"?!  tongue

EDIT: ah, it appears Harry Potter-related...

EDIT^2: Why doesn't natural language have a decent way of delineating precedence that doesn't look ugly?

Last edited by blob8108 (2013-03-11 17:34:07)


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#7297 2013-03-11 17:37:45

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

So what are the chances that my proposal will get accepted?


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#7298 2013-03-11 19:44:18

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

What on earth is "parseltongue"?!  tongue

EDIT: ah, it appears Harry Potter-related...

It's, you know, the language spoken by snakes.  Such as for example pythons.

P.S.  Are you really the only person on earth who's neither read the books nor seen the movies?

Last edited by bharvey (2013-03-11 19:58:20)


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

Offline

 

#7299 2013-03-11 19:57:09

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

Re: BYOB 3 - Discussion Thread

technoboy10 wrote:

So what are the chances that my proposal will get accepted?

Well, considering Jens is more or less in charge of the conference...

The real question is, can you actually come?


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

Offline

 

#7300 2013-03-11 20:43:05

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

The real question is, can you actually come?

If I get accepted, yeah, I'll be able to come.  smile


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

Board footer