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

#6951 2013-02-18 05:25:39

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

Re: BYOB 3 - Discussion Thread

I'll let Brian answer his version, here's mine:

We've been more or less constantly in touch with Mitch, John and the Scratch Team. I've made the first version of BYOB in 2008 while being an external contractor working on Scratch 1.4 for Mitch. Mitch and John put me in contact with Brian, when Brian was pressing for procedures in Scratch. I'd met Brian before at the first Scratch conference, but it was John who later got Brian and me working on BYOB together.

Mitch and John are also both on our advisory board for the NSF-supported curriculum development (BJC) which uses both Scratch and Snap!. We're very glad that they're letting us us remix their fantastic Scratch design, including features they've newly invented, such as cloning and turbo mode. And we're also proud to have pioneered some new features for Scratch, such as Build Your Own Block, and "Run without screen refresh".

Mitch has been extremely supportive and encouraging about Snap!, and we really consider ourselves and Snap! to be part of the Scratch community, not as something independent, even though we've (temporarily, I hope) parted implementation languages for now.


Jens Mönig

Offline

 

#6952 2013-02-18 05:40:31

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Hardmath123 wrote:

So how will you fix "touching" without rasterizing it?

How does Scratch 2.0 do it?  And how do all those SVG editors do things like "intersection" and so on?  You're the mathematician...

Hmm… how about this? Or this? Neither seem too sturdy, I think the best way is to keep a rasterized copy, even if actual rendering is via SVG: how would you do SVG-PNG intersection tests with irregularly-shaped PNGs? Turtle-SVG intersection? Ouch.


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

Offline

 

#6953 2013-02-18 05:58:29

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

Re: BYOB 3 - Discussion Thread

Yes, at some point I'll try to rasterize the SVG, since I'm not into such "hard math"  smile  myself, but I'm playing with ways that'll hopefully not taint the canvas.


Jens Mönig

Offline

 

#6954 2013-02-18 06:35:48

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

Re: BYOB 3 - Discussion Thread

Like Canvg?  smile  I found out why they cause canvas taints with SVGs, by the way: imagine rendering an SVG with lots of links, and then finding the purple ones to figure out your browser history. *shudders*

@bad software design: Yeah, a lot of software isn't really designed with users in mind. That's why I personally like Apple's software. Sure, once in a while they completely destroy great features, but most of the time what you expect to happen is exactly what happens. Take TextEdit, for example. If I want to create an HTML file in TextEdit, I just type out something in a plaintext document and save it as "something.html". On Windows, that doesn't work because it saves it as "something.html.txt". You need to do something to the file type somewhere, and I don't remember what.  hmm

People should assume that their software will be used by a 7-year-old—that fixes everything.*

To some extent, that's also my constant cribbing with programming languages: you should code exactly the way you think; instead of writing code to get an output given an input. And when you do write some code, it should work exactly as someone unfamiliar with the language would imagine it would work.

*Well, not everything. Once I was on a school computer trying to find a decent paint editor. There was some gross thing called "paintpad" or whatever, and it was completely Spongebob themed. Ew.


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

Offline

 

#6955 2013-02-18 11:20:17

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

II.  Custom Blocks
-----------------------

It's crude, but the only way I know to replicate that behavior is to select the list, right-click and then "Adjust List Indents", and changing "Follow number with" to "Nothing". Then just use the space bar a few times as an indent.

Offline

 

#6956 2013-02-18 11:22:29

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

Re: BYOB 3 - Discussion Thread

OldCodger wrote:

There is a simple solution! Use LaTeX

I've spent all my life using TeX (not even LaTeX -- I must be older than you!) for everything.  Somewhere is my check from Knuth for finding bugs in version 0 of the manual!  For example, my Logo books were written in TeX (and I used a Logo program to translate the TeX source files to HTML  smile  ).

But when I started on a manual for a visual programming language I admitted defeat.  Pretty pictures just aren't TeX's strong point.  (Not that it isn't a pain in the butt to get Word to put them where you want them.)  I started the project using Libre Office but, at least back then, the results weren't quite the same across computers, and other problems.  So I am, with extreme reluctance, using the Mac Office suite that the university arranged to get for us for free.  (As in free beer, alas.)


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

Offline

 

#6957 2013-02-18 11:29:13

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

If I want to create an HTML file in TextEdit, I just type out something in a plaintext document and save it as "something.html".

Except for the fact that OSX doesn't have a "create new text document" option in Finder. Which imo is much easier than opening up software just to create an html document.

UI designers have full license to take their software in whatever direction they chose, and personally I'm glad for the shift-lock-aspect-ratio decision. I would argue that if someone is so unfamiliar with a computer that they are unaware of this hotkey, that they have far more pressing habits to establish (namely on a Mac you can't delete a file with the delete key). If we're using Apple as the prime example for quality simplistic design, I would argue that the Windows 8 start screen fufills that design goal much better.

Offline

 

#6958 2013-02-18 11:31:08

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

It's crude, but the only way I know to replicate that behavior is to select the list, right-click and then "Adjust List Indents", and changing "Follow number with" to "Nothing". Then just use the space bar a few times as an indent.

This isn't in a list; it's in headings.  I can't find anything in the Numbering customization to get rid of the tab.  What I did as an almost-solution is set tabs every 0.2" (it won't let me get any closer than that) to minimize the damage.


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

Offline

 

#6959 2013-02-18 11:35:55

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

Re: BYOB 3 - Discussion Thread

Oh, do you mean "Header" as opposed to "Heading"?

EDIT: Because the procedure is the same in the "Headings" format as long as you have a Numbering list.

Last edited by shadow_7283 (2013-02-18 11:37:11)

Offline

 

#6960 2013-02-18 11:50:12

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

Re: BYOB 3 - Discussion Thread

About SVG and DOM Security Error 18: There seems to be growing consensus, that marking any SVG/xml contents as cross-origin without actually checking for embedded cross-origin references is clearly wrong:

http://svgopen.org/2010/papers/62-From_ … _and_Back/

Turns out the people at Mozilla have realized this a while ago, and already fixed this for Firefox:

https://bugzilla.mozilla.org/show_bug.cgi?id=672013

And when I just checked myself, lo and behold, Firefox let me work with SVGs in Snap just fine!

So, we are, once again, way ahead of most browsers, and basically need to wait for them to catch up with our implementation  smile

I'm going to try a few ticks anyway, but basically I hate kludging around while the solution is already clearly formulated and we're already supporting it.


Jens Mönig

Offline

 

#6961 2013-02-18 12:16:35

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

I'll let Brian answer his version

We have informal meetings with the Scratch Team all the time.  In the case of Jens and John, it's a nearly continual conversation.  I visit MIT at least twice a year, and we have wide-ranging conversations about the software, the web community, and our educational goals and plans.  The influences go both ways, although they're much slower to adopt a new idea than we are.  (That's not a criticism; it's why Scratch is so easy to use despite all the different things it can do.)  I wish they'd use zebra coloring!  It seems totally uncontroversial to me.  But I guess they value consistency over the readability of nested reporters.

It doesn't bother me as much as it once did that we're diverging in features and in user interface.  For a long time Jens and I hoped to convince them to adopt our ideas as a package, and we wanted to have as few differences as possible to have to resolve.  But it's now clear that, while open to thinking about our ideas, they're going to move very slowly on them, while focusing on other things.  (If you've heard Mitch speak, you've heard him talk about the Logo slogan "Low floor, high ceiling," and his idea that "wide walls" (meaning a lot of kinds of Scratch projects and media possible) are more important to kids than Logo's high ceiling.)

In some ways this is liberating for us.  We don't have to have every Scratch block.  Our (eventual) paint editor doesn't have to work exactly like theirs.  We can have a more permissive type system, and be more willing than they are to give error messages, which really helps the debugging of large projects.

I continue to worry that our parallel paths will end up hurting the community by dividing Snap! kids from Scratch kids, leaving Scratch as the "kiddie pool."  This hasn't been a problem yet because we don't have a web site where kids can share projects, but that's coming reasonably soon.  (Not incredibly soon; the first version of our web site will have only private storage, not sharing.)    But, we'll be discussing those questions with the Scratch Team, as we do everything.

Having said all that, I think almost all of their influence on us is embodied in Scratch itself -- Scratch 1.0 -- a work of genius without which we wouldn't have a project at all.  The Scratch Team were far from the first to invent a visual programming language, you know, but they're the ones who finally got it right.  There is a ton of design work in Scratch that you don't notice because they did get it right: Good design is invisible.  To the user, it just works.  More recently, I like to think that we're more of an influence on them, even though it's subtle.  Scratch 2.0 custom blocks take inputs because I bludgeoned them into it, I think, for example.

As of 2013, every major programming language has anonymous procedures.  (Java was the last holdout.)  Sooner or later, the idea will be so much a part of the programming culture, even among adults, that it'll seep its way into Scratch, too.  (I'm not saying I'll still be alive then, necessarily.)  Time is on our side!

Jens and I sweat blood over little details of the UI design, just as the Scratch Team do.  We just do it faster because there aren't as many of us.  smile   I think our version of lambda is better than anyone's, even Scheme, because we took the brilliant Scratch visual metaphor and worked out how to let it help us teach the idea.  We didn't invent lambda and we didn't invent blocks, but putting them together wasn't totally trivial.  (I think Snap! does it a lot better than BYOB3 does, although even that was way better than a text representation could ever be.)

Okay, I'm rambling, I'll stop now.  Blame Jens for inviting me to talk about this stuff.   smile   Bottom line:  We're extremely lucky to be their friends.


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

Offline

 

#6962 2013-02-18 12:24:58

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Oh, do you mean "Header" as opposed to "Heading"?

Heading:

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

Here's what the modify-style thing looks like:

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

Thanks.


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

Offline

 

#6963 2013-02-18 13:08:55

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Except for the fact that OSX doesn't have a "create new text document" option in Finder. Which imo is much easier than opening up software just to create an html document.

Creating files is not the Finder's job. If it were, we'd end up with truncated lists of file types that never have the ones we want (like Windows!). If you're looking at the folder in Finder you can just drag it into a save dialog to save there.

Also, why would you want to make an HTML document and then not open software to edit it?

(namely on a Mac you can't delete a file with the delete key).

That's not what the delete key is for. The delete key manipulates text, just like all other non-command key presses. Command-delete performs an action (moving something to the trash, not deleting it), just like all other command keyboard shortcuts.

Try renaming a file (enter*) and pressing command-delete. It moves it to the trash. Now rename a file and press delete. It deletes text. Delightfully unambiguous.

*Yes, I know, not a command keyboard shortcut. Non-command key presses actually manipulate form fields, including focus (enter is really manipulating focus by activating the editor).

If we're using Apple as the prime example for quality simplistic design, I would argue that the Windows 8 start screen fufills that design goal much better.

Have you seen Launchpad? It's much nicer-looking than the Metro start screen, and it has interactive searching. The live updates on tiles (= Dashboard) are cool, but that scrollbar is horrible!


nXIII

Offline

 

#6964 2013-02-18 13:45:16

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

Re: BYOB 3 - Discussion Thread

Uh oh.  I didn't mean to start yet another OS war.  Sorry...


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

Offline

 

#6965 2013-02-18 14:35:32

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

Re: BYOB 3 - Discussion Thread

Steps I went through Brian:
1. http://i.imgur.com/UqtWsFA.png
2. http://i.imgur.com/GgGTOX7.png
3. http://i.imgur.com/NawKhNI.png
4. http://i.imgur.com/zVJ4Sz3.png
5. http://i.imgur.com/Tm2wf9y.png

This is the epitome of interactive searching:
http://i.imgur.com/sAbjOe1.png

Sometimes when I'm coding large projects I make placeholder files for future use. Besides, with Explorer I can go [right-click,hover new, text document, rename] as opposed to [file, new, file, save-as, rename, type- html, enter].

Last edited by shadow_7283 (2013-02-18 14:40:29)

Offline

 

#6966 2013-02-18 17:12:23

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

Re: BYOB 3 - Discussion Thread

OK, I'm not going to continue OS-warring. I prefer Mac OS X, you clearly prefer Windows. Leave it at that, and stop making side-remarks about how Windows is so much better.


nXIII

Offline

 

#6967 2013-02-18 18:02:46

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

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Steps I went through Brian:

Interesting.  There's nothing called "adjust list indents" in Mac Word, but what pretty much worked for me was choosing "modify" in the header format, choosing "tabs," and then setting a tab stop at 0.1 inch.  Sigh.  They should just understand that if you underline the text and you underline the number, you want the space in between underlined, too!

EDIT: ... but if you set the tab stop to zero, the text jumps way over with a huge (non-underlined) space in front of it!  Weird.

Last edited by bharvey (2013-02-18 18:13:22)


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

Offline

 

#6968 2013-02-18 18:03:56

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

OK, I'm not going to continue OS-warring[...]  and stop making side-remarks about how Windows is so much better.

No meta-warring either, Mr. Community Moderator.   tongue

EDIT: @shadow:  N's a recent convert; you have to make allowances.  It's like people who've just quit smoking.  smile

Last edited by bharvey (2013-02-18 18:06:16)


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

Offline

 

#6969 2013-02-18 19:26:05

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

Re: BYOB 3 - Discussion Thread

Fair enough. Though perhaps this isn't the most appropriate place for it, I think that constructive debate is useful for exposing flaws in different systems. For instance, I considered for the first time today that the removal of files with the delete key is inconsistent with the overall function of single key presses. I'm not going to be so foolish as to say that Windows is a flawless system, and I assume you wouldn't say the same about OS X. But I digress.
It's strange that Mac's Word doesn't have that option, but I am on Word 2013 so maybe OS X's next iteration will have it. Sorry I couldn't be more helpful. :\

Last edited by shadow_7283 (2013-02-18 19:26:30)

Offline

 

#6970 2013-02-18 19:48:09

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

No meta-warring either, Mr. Community Moderator.   tongue

EDIT: @shadow:  N's a recent convert; you have to make allowances.  It's like people who've just quit smoking.  smile

Last edited by nXIII (2013-02-18 19:55:04)


nXIII

Offline

 

#6971 2013-02-18 20:00:01

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

This is a little too gnomic for me.  But just in case you mean "same to you," I wasn't meta-warring, I was teasing you.  It's different.   smile


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

Offline

 

#6972 2013-02-18 20:54:17

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

Re: BYOB 3 - Discussion Thread

For the record, I have a python script to make an entire project automatically (./create.py html js css ~/Desktop)


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

Offline

 

#6973 2013-02-18 21:21:57

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

make an entire project automatically

From a Scratch 2.0 project, you mean?  Or is this something else?  Anyway, send it to Jens!


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

Offline

 

#6974 2013-02-18 21:47:05

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Hardmath123 wrote:

make an entire project automatically

From a Scratch 2.0 project, you mean?  Or is this something else?  Anyway, send it to Jens!

I think he's talking about this:

shadow_7283 wrote:

Sometimes when I'm coding large projects I make placeholder files for future use. Besides, with Explorer I can go [right-click,hover new, text document, rename] as opposed to [file, new, file, save-as, rename, type- html, enter].

Last edited by nXIII (2013-02-18 21:47:54)


nXIII

Offline

 

#6975 2013-02-18 21:53:04

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

I think he's talking about this:

Oh.  Tnx.

@hm:  We're finished arguing about OS capabilities.  Now we're on teasing nXIII.


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

Offline

 

Board footer