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

#4801 2012-03-12 13:36:03

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

What do we need these for?
http://www.imgpaste.com/1Rfk.png

They're the ASCII blocks in BYOB.  wink
I think they can be quite useful. :3

Offline

 

#4802 2012-03-12 16:08:34

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: BYOB 3 - Discussion Thread

scimonster wrote:

Hardmath123 wrote:

What do we need these for?
http://www.imgpaste.com/1Rfk.png

They're the ASCII blocks in BYOB.  wink
I think they can be quite useful. :3

Unicode  smile


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

Offline

 

#4803 2012-03-13 13:26:42

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

Re: BYOB 3 - Discussion Thread

rookwood101 wrote:

scimonster wrote:

Hardmath123 wrote:

What do we need these for?
http://www.imgpaste.com/1Rfk.png

They're the ASCII blocks in BYOB.  wink
I think they can be quite useful. :3

Unicode  smile

I thought they were called (ascii code of []) and (ascii [] as letter)...

Offline

 

#4804 2012-03-13 13:41:23

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: BYOB 3 - Discussion Thread

scimonster wrote:

rookwood101 wrote:

scimonster wrote:


They're the ASCII blocks in BYOB.  wink
I think they can be quite useful. :3

Unicode  smile

I thought they were called (ascii code of []) and (ascii [] as letter)...

But they say unicode?


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

Offline

 

#4805 2012-03-13 13:50:28

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

Re: BYOB 3 - Discussion Thread

rookwood101 wrote:

scimonster wrote:

rookwood101 wrote:


Unicode  smile

I thought they were called (ascii code of []) and (ascii [] as letter)...

But they say unicode?

I'm talking about BYOB, you're talking about Snap!. That's the confusion.

Offline

 

#4806 2012-03-13 14:39:50

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: BYOB 3 - Discussion Thread

scimonster wrote:

rookwood101 wrote:

scimonster wrote:


I thought they were called (ascii code of []) and (ascii [] as letter)...

But they say unicode?

I'm talking about BYOB, you're talking about Snap!. That's the confusion.

Ahhh  smile


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

Offline

 

#4807 2012-03-14 04:23:06

Taneb
Scratcher
Registered: 2009-07-07
Posts: 100+

Re: BYOB 3 - Discussion Thread

Just a thought: will Snap! count as a Scratch modification? Certainly it was based on Scratch, but does it use any of Scratch's code?

Offline

 

#4808 2012-03-14 04:42:32

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

Re: BYOB 3 - Discussion Thread

You're right that Snap 4 is a more or less complete rewrite of BYOB 3 up from the bare metal in another implementation language and in another environment. However, there is no question that the design of Snap is influenced and inspired by Scratch, and many, many underlying ideas are taken almost directly from the Squeak implementation of Scratch 1.4, including the Morphic GUI framework (which is actually influenced and inspired by Squeak and SELF). We're going out of our way to make Snap look and feel a lot like BYOB 3 and Scratch 1.4 so the transition to the new browser based Snap will be really easy for BYOB's existing users.

Incidentally I just happened to ask Mitch Resnick about this, and he suggested that we put the following text into the Snap! About Dialog:

"The design of Snap is influenced and inspired by Scratch, from the Lifelong Kindergarten group at the MIT Media Lab (http://scratch.mit.edu)"

I'm very happy with this understanding and from tonight on this is what we will say about the relationship between Snap! and Scratch.

(actually, I think the relationship is much stronger, and I personally believe that Snap! is based on Scratch, and not just "inspired" by it, but I'm fine with whatever is the preferred way to give credit to the über-awesome design genius of Mitch, John and the MIT Scratch Team)

Last edited by Jens (2012-03-14 04:45:02)


Jens Mönig

Offline

 

#4809 2012-03-14 07:43:36

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

@ Jens
"I personally believe that Snap! is based on Scratch"
You should add + extensions like Byob (Build your own block) + Object Programming.
So Snap! is a kind of Scratch++
"Incidentally I just happened to ask Mitch Resnick about this, and he suggested that we put the following text into the Snap! About Dialog".
Excellent, your suggestion, and excellent the MIT answer.

It seems easy to share common self-respect between uber-awesome design and programming genius !

Offline

 

#4810 2012-03-14 10:42:29

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: BYOB 3 - Discussion Thread

Snap Glitch —

The sprites (turtles) can be moved off the stage (directly with the mouse, I haven't tried it with programming them) and into the scripting area.


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#4811 2012-03-14 11:59:32

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

Re: BYOB 3 - Discussion Thread

zippynk wrote:

The sprites (turtles) can be moved off the stage (directly with the mouse, I haven't tried it with programming them) and into the scripting area.

Good catch.  And then you can't move them by programming; if you could, I'd be tempted to declare it a feature.  smile


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

Offline

 

#4812 2012-03-14 12:58:33

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

Re: BYOB 3 - Discussion Thread

yeah, well, we don't have the "slide back to former situation" feature implemented yet...


Jens Mönig

Offline

 

#4813 2012-03-14 13:05:44

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: BYOB 3 - Discussion Thread

Bug report:

If I create a custom block and set the category to the operator category, when I press ok and click on that category nothing shows up.

This only happened on firefox 10.0.2 on Mac OSX Snow Leopard.

This did not happen on my windows machine running the same browser.

Last edited by rookwood101 (2012-03-14 13:25:28)


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

Offline

 

#4814 2012-03-14 13:46:58

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

Re: BYOB 3 - Discussion Thread

http://i.imgur.com/w3kkf.png tongue

Offline

 

#4815 2012-03-14 17:29:16

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

zippynk wrote:

The sprites (turtles) can be moved off the stage (directly with the mouse, I haven't tried it with programming them) and into the scripting area.

Good catch.  And then you can't move them by programming; if you could, I'd be tempted to declare it a feature.  smile

Yes, but then when you move them back on the stage, you can program them again.

I wonder what happens when you try to save a project with offstage sprites?


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#4816 2012-03-15 13:05:10

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

Re: BYOB 3 - Discussion Thread

rookwood101 wrote:

Bug report:

If I create a custom block and set the category to the operator category, when I press ok and click on that category nothing shows up.

This only happened on firefox 10.0.2 on Mac OSX Snow Leopard.

This did not happen on my windows machine running the same browser.

you need to type in a name for the block


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

 

#4817 2012-03-15 14:52:25

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: BYOB 3 - Discussion Thread

joefarebrother wrote:

rookwood101 wrote:

Bug report:

If I create a custom block and set the category to the operator category, when I press ok and click on that category nothing shows up.

This only happened on firefox 10.0.2 on Mac OSX Snow Leopard.

This did not happen on my windows machine running the same browser.

you need to type in a name for the block

Lol, I did do that, but I thought there wouldn't be much point in telling you every stage  smile


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

Offline

 

#4818 2012-03-16 06:01:50

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

@Jens
I've written a dozen of small "Snap! initiation games" using the Chrome browser. No problem for Saving/Loading these applications written on a PC in the city A . From there I had to move to a city B where I work with an other PC. Not surprisingly I don't find my previously saved application on this second PC.Nevertheless I'm curious to know where have been saved my applications ? Into a server on into some hidden Chrome file ?

Offline

 

#4819 2012-03-16 06:10:13

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

Re: BYOB 3 - Discussion Thread

Yep, in your browser's local storage.

Offline

 

#4820 2012-03-16 06:11:56

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

Re: BYOB 3 - Discussion Thread

Hi Xavier,

your projects are saved locally on your hard disk in what is called your browser's "local storage". This is basically the same as a big "cookie". This isn't nice but at least it - kinda - works for now. We're also discussing ways to support real cloud storage. Stay tuned!


Jens Mönig

Offline

 

#4821 2012-03-16 12:34:03

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

Re: BYOB 3 - Discussion Thread

xly wrote:

@Jens
I've written a dozen of small "Snap! initiation games" using the Chrome browser. No problem for Saving/Loading these applications written on a PC in the city A . From there I had to move to a city B where I work with an other PC. Not surprisingly I don't find my previously saved application on this second PC.Nevertheless I'm curious to know where have been saved my applications ? Into a server on into some hidden Chrome file ?

The only way to transfer projects currently is to copy the ENTIRE url and email it and retrieve it on the other computer where you can copy and paste the url and get the project back.


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

 

#4822 2012-03-16 12:56:32

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

Thank you, Jens and Snap!ers for your help.
I'm rather oldish, still Windows XP, using for Snap! mainly Chrome and sometimes Firefox.
In both cases I've no found any file correponding to a Snap! project (it would be too simple for Microsoft !)
The "joefarebrother" method does not work either, neither with Chrome, nor Firefox.
Anyhow , Chrome has a "save page" feature and I have saved 5 of my projects into *.htm file format which gather all Project codification. But I can't reload it into Chrome.
Well, I know that this issue will be fixed in due time, it was just for the sake of understanding the situation.

Offline

 

#4823 2012-03-16 13:56:37

xly
Scratcher
Registered: 2010-04-17
Posts: 100+

Re: BYOB 3 - Discussion Thread

Save/Load Snap! projects.

I've made some progress since my last msg above.
Using Chrome + Tools + Save this file under ....
Give a name "projname", then Save.
Now close the project and Chrome.
Re-open It + Tools + Downloads
The a page opens with the list of saved projects.
Click on the second line of one Snap! item...
The project loads into a new Tab
Wonderful.
Chrome give you the name of tha Donwloading Folder (Documents and settings +...)
As I had saved some of my previous projects like this, I copied them into this Folder. But the project is not seen by Chrome. Why ?
At this stage I 'va a method to save my Snap! projects.
I've to find why I can't copy one Snap! *.htm from another Folder ??

Offline

 

#4824 2012-03-16 22:47:55

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

Re: BYOB 3 - Discussion Thread

xly wrote:

I've to find why I can't copy one Snap! *.htm from another Folder ??

The main thing to understand here is that "local storage" is a technical term in HTML5 for a sort of browser-private file system that's encrypted on your disk, and the project names you use don't correspond to names of ordinary Windows files.

They use this complicated system so that if a web page downloads a virus or other malware, the encryption will turn it into gibberish that can't harm your system, and you can't accidentally copy it to someplace else where it might make trouble.  This is why people won't be afraid to run Snap! in their browser and save their own projects.

The official correct solution is cloud storage.  We'll get there.  But meanwhile, as a temporary workaround, when you save a project, the URL at the top of your browser window is changed to a really really long one that encodes your entire project!  So there really is no .html file that contains your project; the URL is still snap.berkeley.edu/snapsource/nasciturus.html but now after the ".html" comes a bazillion characters unique to your project.  You should be able to copy this (click in the URL bar and control-A, control-C) and paste it wherever you want: a text editor, another browser, whatever.


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

Offline

 

#4825 2012-03-17 05:36:24

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

Re: BYOB 3 - Discussion Thread

save failed: TypeError: Cannot read property 'expression' of null


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

 

Board footer