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

#7126 2013-02-26 12:52:59

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

Re: BYOB 3 - Discussion Thread

firedrake969_test wrote:

I'll take the course!

You can check it out now -- everything is already online except the MOOC framework.  http://bjc.berkeley.edu

Assuming this is on topic, Snap! is based on HTML/JS, right?

Right.  Runs everywhere, even on iPad!


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

Offline

 

#7127 2013-02-26 12:57:02

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

Re: BYOB 3 - Discussion Thread

MathWizz wrote:

There's no way it supports cross-site references. If it did, we'd all be bankrupt.  tongue

Why?  You still have to log in.

But I guess all those "pay with Paypal" buttons are just old fashioned links, not cross-site references.

@Jens: Someday we should implement active-media sprites that open a little iframe on the stage, so people can embed YouTube videos in their projects and so on.  That'd solve the send-Hardmath-to-Michigan problem, too, right?


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

Offline

 

#7128 2013-02-26 13:51:19

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Paypal buttons

Don't we have a "link" block yet?  tongue


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

Offline

 

#7129 2013-02-26 14:03:18

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

March 6-9: Jens and Brian in Denver for SIGCSE

Check out Bryce Boe's talk on "Hairball: Lint-inspired Static Analysis of Scratch Projects" if you can — they wrote a static analysis tool using Kurt, my Python module  smile

Hardmath123 wrote:

a robotics competition we won called "Robofest"

That sounds awesome. I envy you.  tongue

Last edited by blob8108 (2013-02-26 14:04:16)


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

Offline

 

#7130 2013-02-26 14:42:32

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

MathWizz wrote:

There's no way it supports cross-site references. If it did, we'd all be bankrupt.  tongue

Why?  You still have to log in.

But I guess all those "pay with Paypal" buttons are just old fashioned links, not cross-site references.

@Jens: Someday we should implement active-media sprites that open a little iframe on the stage, so people can embed YouTube videos in their projects and so on.  That'd solve the send-Hardmath-to-Michigan problem, too, right?

yeah, but you still have to login on a foreign site *cough* keylogger *cough*  wink

btw, bharvey, did you see this? They already promote kodu, alice and scratch (of course...), maybe try to covince them to use Snap!  wink

Offline

 

#7131 2013-02-26 16:03:11

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

Don't we have a "link" block yet?  tongue

We have the HTTP:// reporter, but it doesn't actually render the page; it just reports the html as a big string.  (@Jens: If it were a list of lines, then the programs users write to parse the text would run faster, I think.  Either that or a fast substring primitive.)

One of you geniuses with too much time on your hands should try writing a browser in Snap!, parsing and rendering the html.  We'd learn a lot about what features we're lacking, aside from the obvious one about displaying text on the stage.

PS Too bad you're not coming to SIGCSE, but I guess that would be a big trip.


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

Offline

 

#7132 2013-02-26 16:05:24

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

Re: BYOB 3 - Discussion Thread

roijac wrote:

did you see this?

Yes, we're already negotiating with them about maybe basing their planned after-school programming class on Snap! and BJC.


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

Offline

 

#7133 2013-02-26 17:05:05

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

blob8108 wrote:

Don't we have a "link" block yet?  tongue

We have the HTTP:// reporter, but it doesn't actually render the page; it just reports the html as a big string.  (@Jens: If it were a list of lines, then the programs users write to parse the text would run faster, I think.  Either that or a fast substring primitive.)

One of you geniuses with too much time on your hands should try writing a browser in Snap!, parsing and rendering the html.  We'd learn a lot about what features we're lacking, aside from the obvious one about displaying text on the stage.

but jens should make this block work outside snap.berkeley.edu first ;P

Offline

 

#7134 2013-02-26 17:41:12

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

PS Too bad you're not coming to SIGCSE, but I guess that would be a big trip.

I guess so. Who knows, maybe I'll submit a paper someday...  wink


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

Offline

 

#7135 2013-02-26 18:34:46

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

I guess so. Who knows, maybe I'll submit a paper someday...  wink

Meanwhile, you're not that far from Barcelona...


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

Offline

 

#7136 2013-02-26 18:35:52

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

Re: BYOB 3 - Discussion Thread

roijac wrote:

but jens should make this block work outside snap.berkeley.edu first ;P

It does, if the other site permits us to cross-site reference.


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

Offline

 

#7137 2013-02-26 18:50:18

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

try writing a browser in Snap!

That was a project nXIII, MathWizz, and a few other Scratchers worked on (in Scratch, of course). It was pretty neat, but n's JS alternative bogged things down quite a bit.  tongue

Offline

 

#7138 2013-02-26 20:06:21

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Hardmath123 wrote:

piano lessons with a teacher in Brooklyn

Over the net?  That's pretty cool.

I know, right? And since he's a genius he can actually catch one wrong note in a huge muddle of Liszt over Skype, just by looking at the notes and listening. It's pretty amazing.  big_smile


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#7139 2013-02-26 21:02:44

Sidharth
Scratcher
Registered: 2007-12-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

(sorry for offtopic)

@Hardmath123: I recall you saying that you took the AMC 10 recently. I took it too! How did you do?


http://www.danasoft.com/citysign.jpg

Offline

 

#7140 2013-02-27 00:20:18

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

I know, right?

I've been smiling at this all day.  It sounds just like a kid!

[Hm:  I am a kid!]

I know, but most of the time you don't sound (at least in text) like one.


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

Offline

 

#7141 2013-02-27 03:19:21

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Hardmath123 wrote:

I know, right?

I've been smiling at this all day.  It sounds just like a kid!

I say that all the time, and I'm technically not supposed to be a kid anymore...  sad


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

Offline

 

#7142 2013-02-27 05:45:10

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Sidharth wrote:

(sorry for offtopic)

@Hardmath123: I recall you saying that you took the AMC 10 recently. I took it too! How did you do?

I (somehow) got 121.5! I don't even remember answering enough questions to get that much, but hey… I personally am proud of what I did, considering I'm not too old and it's my first try. I'm happier about USATMS, though: a clean 60/75.  smile

Of course, I'm probably going to be obliterated at the AIME—I can barely get more than 6 problems, and judging from past years I'll need at least 8. And I don't have the stamina to spend 3 hours thinking without a cookie break.

How did you do? Also, if you don't mind me asking, where do you live? I think I may know you—and I just realized I may know one of your friends, adityasm9. At least, I used to know an Aditya with last initials SM. I'll get in touch with him.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#7143 2013-02-27 05:52:51

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

I know, but most of the time you don't sound (at least in text) like one.

You should hear me at school. Being the only person who can use words like 'innocuous' properly is nerve-wracking.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#7144 2013-02-27 07:37:34

Sidharth
Scratcher
Registered: 2007-12-14
Posts: 100+

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Sidharth wrote:

(sorry for offtopic)

@Hardmath123: I recall you saying that you took the AMC 10 recently. I took it too! How did you do?

I (somehow) got 121.5! I don't even remember answering enough questions to get that much, but hey… I personally am proud of what I did, considering I'm not too old and it's my first try. I'm happier about USATMS, though: a clean 60/75.  smile

Of course, I'm probably going to be obliterated at the AIME—I can barely get more than 6 problems, and judging from past years I'll need at least 8. And I don't have the stamina to spend 3 hours thinking without a cookie break.

How did you do? Also, if you don't mind me asking, where do you live? I think I may know you—and I just realized I may know one of your friends, adityasm9. At least, I used to know an Aditya with last initials SM. I'll get in touch with him.

That's... amazing, not to mention the first try.

I've been taking AMC 10 since sixth grade, but my performance has been pretty constant, not too much preparing. I barely scraped into AIME, with a 108, but I usually can only solve 4 or 5 in those things.

I do, in fact, know an Aditya SM!  smile    Does he live in the Phx, AZ area?


http://www.danasoft.com/citysign.jpg

Offline

 

#7145 2013-02-27 07:57:23

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

4 or 5 is great, considering how incredibly hard they are… I haven't done much serious precalc, though.

The Aditya SM I know used to live in India, but he may be in Arizona now. I'll try and contact him tomorrow. It'll be pretty cool if it's the same person!


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#7146 2013-02-27 09:41:36

OldCodger
New Scratcher
Registered: 2012-05-16
Posts: 54

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Hardmath123 wrote:

Would you be fine with "mathy"?

Wait, are you Chinese?  I've never heard anyone use "fine" in that context except for my English-second-language ethnic-Chinese Berkeley students.

British English: "would you be fine with a beer?"
"Yes, that'd be fine thanks."

Used same as O.K. with.

Offline

 

#7147 2013-02-27 10:53:21

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

Re: BYOB 3 - Discussion Thread

OldCodger wrote:

British English: "would you be fine with a beer?"

Huh.  Either nobody ever said that to me in Britain or I had so much trouble with the accent that I misparsed it.  smile   Or I've just forgotten, I guess.


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

Offline

 

#7148 2013-02-27 10:58:35

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: BYOB 3 - Discussion Thread

OK, 3 things.

1) I've noticed in snap that certain parts of the screen seem to flicker and flash a bit. Does the morphic.js library use double buffered graphics? I think that's what's causing it.

2) I don't know why my block won't work. Here it is:
http://i.imgur.com/B39v5ss.png
Recursive is defined like this:
http://i.imgur.com/IEMUyUG.png
It works when the item is in the list but not when it isn't. Can you help me?

3) There should be a way to re-order the blocks in the block palette.  Because I always find myself in situations where I plan to write an API involving several blocks, but halfway through the writing on one block i realize I need to write another block, which happens to fit in the same palette, so I end up with a few blocks as part of the API, then some seemingly unrelated block, then the rest of an API. So i want to be able to move the out-of-place block to another area where it fits better.

Last edited by joefarebrother (2013-02-27 11:08:59)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#7149 2013-02-27 10:59:34

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

I haven't done much serious precalc, though.

Don't waste time taking courses with "pre" in their names.  Have you done trigonometry?  If so, just go straight to Tom Apostol's Calculus book.  And then you can read Knuth's discrete math book.  smile


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

Offline

 

#7150 2013-02-27 11:09:29

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

Re: BYOB 3 - Discussion Thread

joefarebrother wrote:

It works when the item is in the list but not when it isn't. Can you help me?

How does it fail?  And, can you post the XML?


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

Offline

 

Board footer