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

#7876 2013-04-12 13:11:07

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Why is it you like Python, again?

Hey, that's mean!  tongue

I'm still undecided as to whether or not I should rename the kurt package to kurt2, seeing as it's a completely new API...


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

Offline

 

#7877 2013-04-12 16:49:12

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

Hey, that's mean!

I'm allowed to be mean to Guido von thingo; he's bigger than I am.

I'm still undecided as to whether or not I should rename the kurt package to kurt2, seeing as it's a completely new API...

kurt1.5?  tongue


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

Offline

 

#7878 2013-04-12 16:50:52

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

kurt1.5?  tongue

No, I mean whether I should change the package name on pypi (ie "import kurt2" instead of "import kurt"), not add another version...  tongue


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

Offline

 

#7879 2013-04-12 17:20:43

Zygorithm
New Scratcher
Registered: 2012-08-17
Posts: 34

Re: BYOB 3 - Discussion Thread

Can someone take a look at this xml and figure out why it keeps crashing Snap every time I try to import it? And ideally offer some kind of fix?
https://docs.google.com/file/d/0B3XP_TcfLIf2d0NmdHh2WU1aTWs/edit

Offline

 

#7880 2013-04-12 17:21:42

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

Re: BYOB 3 - Discussion Thread

Zygorithm wrote:

Can someone take a look at this xml and figure out why it keeps crashing Snap every time I try to import it? And ideally offer some kind of fix?
https://docs.google.com/file/d/0B3XP_Tc … 1aTWs/edit

"You need permission to access this item"


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

Offline

 

#7881 2013-04-12 17:39:56

Zygorithm
New Scratcher
Registered: 2012-08-17
Posts: 34

Re: BYOB 3 - Discussion Thread

"You need permission to access this item"

Fixed.

Offline

 

#7882 2013-04-12 18:09:57

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

Re: BYOB 3 - Discussion Thread

Snap! appears to be GETting a whole bunch of data:image/pngs, but they're failed/pending and taking minutes to return...


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

Offline

 

#7883 2013-04-12 18:12:34

Zygorithm
New Scratcher
Registered: 2012-08-17
Posts: 34

Re: BYOB 3 - Discussion Thread

@blob8108, is there a fix?

Offline

 

#7884 2013-04-12 18:18:48

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

Re: BYOB 3 - Discussion Thread

No idea! It's painfully hard to debug, Chrome keeps freezing up.

I managed to get this traceback, if it's of any use to Jens or anyone:

Code:

"TypeError: Object [object Object] has no method 'setContents'
    at SnapSerializer.loadInput (http://snap.berkeley.edu/snapsource/store.js:922:19)
    at SnapSerializer.<anonymous> (http://snap.berkeley.edu/snapsource/store.js:870:18)
    at Array.forEach (native)
    at SnapSerializer.loadBlock (http://snap.berkeley.edu/snapsource/store.js:863:20)
    at http://snap.berkeley.edu/snapsource/store.js:783:28
    at Array.forEach (native)
    at SnapSerializer.loadScript (http://snap.berkeley.edu/snapsource/store.js:782:20)
    at http://snap.berkeley.edu/snapsource/store.js:718:30
    at Array.forEach (native)
    at SnapSerializer.loadScripts (http://snap.berkeley.edu/snapsource/store.js:715:20)"

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

Offline

 

#7885 2013-04-12 18:27:12

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

Re: BYOB 3 - Discussion Thread

The problem sprite appears to be named "ElementControl"


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

Offline

 

#7886 2013-04-12 18:42:27

Zygorithm
New Scratcher
Registered: 2012-08-17
Posts: 34

Re: BYOB 3 - Discussion Thread

What exactly is the problem? I don't think I have any strange code. There's only 1 costume for each of the ElementControl sprites and all they do is multiple if then statements that consider one variable and then set the super effective, not effective, or neutral calculation.

Offline

 

#7887 2013-04-12 23:19:17

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

Re: BYOB 3 - Discussion Thread

I just fixed a nasty bug with PNGs, so don't be surprised if they don't work.

bharvey wrote:

The first law of web design:  Do not override only one of the user's chosen background color and the user's chosen foreground color.  Either do it the user's way or do it your way.

White lettering on pale orange background is unreadable.

(And if, in self-defense, I turn off "allow pages to override these colors," then I can't see the black-on-black Apple logos.  They need a white border or something.)

It took a minute to understand that—you have a custom CSS? I'll fix that.

Does "recommended" mean "what I have on my computer"?  It makes me nervous when someone makes a recommendation without a reason given; I don't know how much weight to give the recommendation.  Python 3 is... buggy? insecure? hideous? expensive?  I'd prefer a straightforward "Snapin8r requires Python 2."  (But making it really work in 3 would be better still, of course.)

Recommended means that it was built and tested thoroughly with Python 2, but Python 3 should work (untested and experimental—use at your own risk). I would be glad not to support Python 3, but lots of people on Windows have Python 3, not two, and telling them to reinstall Python would be even worse.

(By the way, language designers who make gratuitous non-backward-compatible changes to their language are extremely annoying.  Just thought I'd mention it.  Why is it you like Python, again?)

I like Python because it's not C or Java. No type declarations, convenience methods for whatever you need, but no annoying JavaScript sandbox. There's even, to some extent, prototyping OOP (metaclasses). All it lacks is a "stack block" lambda—Python lambdas are "reporters".   smile

EDIT: But with your aversion towards whitespace dependent languages, I can see how you don't like it.

Last edited by Hardmath123 (2013-04-12 23:19:56)


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

Offline

 

#7888 2013-04-13 00:17:39

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

you have a custom CSS?

Nothing so fancy.  In the Firefox preferences I choose white print on a black background.

I didn't mean you had to explain to me about the Python 2 recommendation; I meant that you should explain it better to people who read the web page.


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

Offline

 

#7889 2013-04-13 17:29:47

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

Re: BYOB 3 - Discussion Thread

How do you get a html file in google drive to actually open in the browser as a html file like that?


BTW: i managed to fix my scheme interpreter, (well not an actual scheme interpreter yet, just a test bed for the basis of one) link in my sig if anyone's interested  smile

Last edited by joefarebrother (2013-04-13 17:36:09)


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

 

#7890 2013-04-13 19:42:55

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

Re: BYOB 3 - Discussion Thread

Just a thought, but won't we be able to program graphic effects in Snap! once costumes are first class? Then you could just have a kind of 'import effects' button in a menu.

Also, I'm nearly done with the Snap! extension launcher. I just have to add a few features, then I'll release it.  smile


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

Offline

 

#7891 2013-04-13 20:40:46

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

Re: BYOB 3 - Discussion Thread

technoboy10 wrote:

Just a thought, but won't we be able to program graphic effects in Snap! once costumes are first class?

Yup!  Although we won't know until we try it whether that'll be fast enough.  But it'll certainly make for interesting programming projects.


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

Offline

 

#7892 2013-04-13 20:59:57

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

technoboy10 wrote:

Just a thought, but won't we be able to program graphic effects in Snap! once costumes are first class?

Yup!  Although we won't know until we try it whether that'll be fast enough.  But it'll certainly make for interesting programming projects.

Yep. It'd also be cool to see what effects other people can make.  big_smile


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

Offline

 

#7893 2013-04-13 23:43:12

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

Re: BYOB 3 - Discussion Thread

Tutorial, 2nd attempt.

Duh.  You have to tell YouTube you want to watch it in HD, then it looks good.  Can you tell I don't use YouTube much?  Anyway, here's the new upload:

http://www.scratch.mit.edu/ext/youtube/?v=Bbl2fh3igQ4

and it's still downloadable from

http://snap.berkeley.edu/TutorialIIIA1.mov

I think this video is smaller than last time, too.


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

Offline

 

#7894 2013-04-13 23:53:46

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

Re: BYOB 3 - Discussion Thread

technoboy10 wrote:

It'd also be cool to see what effects other people can make.  big_smile

Maybe someone will make one that adds hair and takes away face bags.


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

Offline

 

#7895 2013-04-14 04:29:12

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

Re: BYOB 3 - Discussion Thread

joefarebrother wrote:

How do you get a html file in google drive to actually open in the browser as a html file like that?

https://googledrive.com/host/0B716ywBKT … sting.html  smile


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

Offline

 

#7896 2013-04-14 04:30:29

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

Re: BYOB 3 - Discussion Thread

@blob: Should I mention Kurt on the webpage? I hope eventually Snapin8r will just be a part of Kurt.


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

Offline

 

#7897 2013-04-14 05:21:56

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

@blob: Should I mention Kurt on the webpage? I hope eventually Snapin8r will just be a part of Kurt.

I don't think so now, unless you want to. I hope so, too!


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

Offline

 

#7898 2013-04-14 09:04:43

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

technoboy10 wrote:

It'd also be cool to see what effects other people can make.  big_smile

Maybe someone will make one that adds hair and takes away face bags.

We can make an entire Photoshop clone in Snap!!  tongue


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

Offline

 

#7899 2013-04-14 09:08:11

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

Re: BYOB 3 - Discussion Thread

technoboy10 wrote:

bharvey wrote:

technoboy10 wrote:

It'd also be cool to see what effects other people can make.  big_smile

Maybe someone will make one that adds hair and takes away face bags.

We can make an entire Photoshop clone in Snap!!  tongue

And then a Snap! clone in Snap!!  big_smile


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

Offline

 

#7900 2013-04-14 09:18:27

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

And then a Snap! clone in Snap!!  big_smile

*facepalm*


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

Offline

 

Board footer