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

#5076 2012-05-07 09:28:53

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

Re: BYOB 3 - Discussion Thread

roijac wrote:

zebra coloring bug:
drop a reporter so it gets colored, now drop it elsewhere...
http://tinyurl.com/zebracoloringbug

Thanks! I'm working on it...


Jens Mönig

Offline

 

#5077 2012-05-07 09:45:49

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

Re: BYOB 3 - Discussion Thread

the "upvar saving problem" doesn't seem to be fixed yet; I tried it this morning.


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

 

#5078 2012-05-07 10:24:43

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

Re: BYOB 3 - Discussion Thread

roijac wrote:

bharvey, you gained access to my snapshots dropbox folder, i'll post when i finish part IV, is it ok?

Awesome, thanks so much!


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

Offline

 

#5079 2012-05-07 10:26:11

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

Re: BYOB 3 - Discussion Thread

joefarebrother wrote:

the "upvar saving problem" doesn't seem to be fixed yet; I tried it this morning.

According to Jens it's really a problem about custom blocks with empty bodies, but in any case, he's working on it.


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

Offline

 

#5080 2012-05-07 13:45:02

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

Re: BYOB 3 - Discussion Thread

http://i.imgur.com/oZG6M.png  yikes

Offline

 

#5081 2012-05-07 16:05:07

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

Re: BYOB 3 - Discussion Thread

roijac wrote:

yikes

Yeah, you're right, variadic functions should be callable with variable-length input lists.  Do we special-case having zero inputs in the called block?  Do we special-case having any number of input slots but no values given?  And what if the variadic block is an input to something else?  E.g., what should

CALL ([LIST] + ( )) [LIST (...) (...) ...]

do?

P.S.  Jens is going to send me an email saying "See?  Filling empty input slots without explicit formal parameters is all a bad idea."  sad

Last edited by bharvey (2012-05-07 16:14:26)


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

Offline

 

#5082 2012-05-07 17:13:14

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

roijac wrote:

yikes

"See?  Filling empty input slots without explicit formal parameters is all a bad idea."  sad

Then maybe there should be a way to specify a varadic input on a ring?


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

 

#5083 2012-05-07 20:18:52

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

Re: BYOB 3 - Discussion Thread

joefarebrother wrote:

Then maybe there should be a way to specify a varadic input on a ring?

Yeah, eventually we want to be able to click on a formal parameter of a ring and get the whole long form input dialog.  Probably not soon.


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

Offline

 

#5084 2012-05-08 02:17:02

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

Re: BYOB 3 - Discussion Thread

also, you should probably introduce the left arrow in the join function. just a thought  smile

(of course, this is now useless. when you finish the variadic function calls, this is crucial)

Offline

 

#5085 2012-05-08 08:37:17

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

scimonster wrote:

Hardmath123 wrote:

Being a Mac user, I just drag it onto my folder.  smile

Jens, maybe you could set the document.title to something a bit nicer than the DataURI, so that if you open up 3 or 4, you can tell them apart. Even something as simple as Script1, Script2, etc. would help out a lot. Thanks!

It's an image fie though, not an HTML. The browser automatically uses the URL as the title.
Hey, you can use document.title to change the title? Cool!

Well, as far as I'm concerned, just the window title is good enough, because I rename the images anyway.

You shouldn't use window.title "just like that", you should only use it for specially generated windows. Content windows like a normal blog shouldn't change their title during runtime as it can confuse search engines. Imagine a page titled "blogp1" in Google!  tongue  Anyway, it is in some cases even a form of SEO because someone can title a window "Our Solar System" in the HTML, then rename it to "Cheap Deals on Airline Tickets" in the JS.

Very useful in AJAX heavy pages though.  smile

Offline

 

#5086 2012-05-08 14:18:21

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

Re: BYOB 3 - Discussion Thread

bug report  smile
if you drop a block which is reporting an error into the palette, the error message is still there http://i.imgur.com/R0OR1.png

Offline

 

#5087 2012-05-09 03:06:03

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

Re: BYOB 3 - Discussion Thread

yeah, but if you press the red stop sign the bubble disappears  smile


Jens Mönig

Offline

 

#5088 2012-05-09 03:08:01

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

Re: BYOB 3 - Discussion Thread

oh, thanks  big_smile

edit: the new shift-exporting produces the weird %whatever things in firefox  hmm

Last edited by roijac (2012-05-09 11:33:37)

Offline

 

#5089 2012-05-09 16:26:24

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

Re: BYOB 3 - Discussion Thread

the URI encoding of project strings is just a temporary thing I'm needing in developing the cloud backend, whereas the regular (non-shift) export function is actually somewhat useful...


Jens Mönig

Offline

 

#5090 2012-05-09 17:40:57

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

Re: BYOB 3 - Discussion Thread

Scratch 2.0 fails to stack up to Snap!, imo. Not that it was ever a competition or anything.  wink

Offline

 

#5091 2012-05-09 20:41:31

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Scratch 2.0 fails to stack up to Snap!, imo. Not that it was ever a competition or anything.  wink

No, of course not.  tongue

You could argue that the progress they're making from 1.4 to 2.0 is more than the progress we're making from 3.1 to 4.0 -- we'll be doing well if we can avoid moving backward!  Somewhere around 4.2 or 4.3 we'll start making real progress again, with new first class data types (costumes, etc.).

All that social networking stuff they're doing leaves me cold, I admit, but vector costumes are neat and the webcam thing is super neat!  (We are going to support the Knect, though, because we're working with a Microsoft guy on a high school education project they run.)

Anyway, thanks for the compliment.  Takes my mind off grading.  hmm


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

Offline

 

#5092 2012-05-09 21:09:36

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

(We are going to support the Knect, though, because we're working with a Microsoft guy on a high school education project they run.)

Wow! That sounds awesome! I got my kinect to work with Scratch 1.4, but sometimes it gives problems, and sometimes it doesn't work well for me in full screen, and stuff like that. But this will be really nice. I wonder what kind of kinect blocks there will be!  smile


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

Offline

 

#5093 2012-05-10 01:08:40

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

Re: BYOB 3 - Discussion Thread

Lucario621 wrote:

I wonder what kind of kinect blocks there will be!

Well, we haven't started doing it yet...  but presumably we'll make the primitive block(s) as low-level as possible, and let people build libraries on top of that.  Scratch doesn't have that luxury.  smile


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

Offline

 

#5094 2012-05-10 02:13:43

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

You're going to try to get low-level with JavaScript!? (I assume you're still making snap in JavaScript 'cause that's what you were doing last I checked :b)

Last edited by slinger (2012-05-10 02:13:51)


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#5095 2012-05-10 02:23:00

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

Re: BYOB 3 - Discussion Thread

slinger wrote:

You're going to try to get low-level with JavaScript!? (I assume you're still making snap in JavaScript 'cause that's what you were doing last I checked :b)

Yup, Javascript.  It's possible that we'll have to have a separate program that actually talks to the USB port and then talks to Snap! over a net socket.  What I mean by "low level" is that, for example, there will be a "read Kinect" block that takes whatever numbers the device gives us, puts them in a list, and then lets the user turn them into useful window-relative coordinates or whatever the program needs.


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

Offline

 

#5096 2012-05-10 02:27:11

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Wow, that will be interesting! I didn't actually think of that, that's quite clever  smile


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#5097 2012-05-10 09:24:49

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

Re: BYOB 3 - Discussion Thread

Hey, that got me thinking: you can actually access the gyro sensors on various devices (MacBook Pro, iPad) with JavaScript. Maybe Snap! could support that? It would be awesome to write simple motion-oriented games for an iPhone with Snap!  big_smile


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

Offline

 

#5098 2012-05-10 09:40:47

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Hey, that got me thinking: you can actually access the gyro sensors on various devices (MacBook Pro, iPad) with JavaScript. Maybe Snap! could support that? It would be awesome to write simple motion-oriented games for an iPhone with Snap! :D

Snap could have an "iPhone mode" or "player mode" where it would just show the project, and fill the whole screen, for this! :)


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

Offline

 

#5099 2012-05-11 12:51:01

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

Re: BYOB 3 - Discussion Thread

Hey, sorry about this week, I didn't work on the images at all. I was sorta busy with real life. I'll work on it next week.  smile


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

Offline

 

#5100 2012-05-11 20:25:43

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

real life

Wait, you mean this is all a dream?


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

Offline

 

Board footer