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

#7926 2013-04-15 10:32:53

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

Hardmath123 wrote:

Ouch—that sounds painful. Who programs in a non-monospace font?!

I switched to Helvetica Neue (Light) in Sublime Text, and look how awesome it is:

I'm still a monospace fan (Menlo  big_smile ).

(aside: Hooray for taking random screenshots from random projects!)
(other aside: I've been so spoiled by Github's drag-and-drop-to-upload comment editor)
EDIT: Because asides are fun, here's a third: Does anyone here use light color schemes?

Yeah, the Xcode default.

I was thinking of setting the default to a light color scheme, but I'm kind of used to colors-on-white. I'll need to mess with the colors—this is terrible:
http://i48.tinypic.com/2kpxed.png

Maybe all I need is a new editor… how's TextMate? My dad uses it.

Last edited by Hardmath123 (2013-04-15 10:33:05)


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

Offline

 

#7927 2013-04-15 10:50:50

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

Helvetica Neue (Light)

Oooh, not sure about that  tongue  And now I have to ask: what random project is that from?

Does anyone here use light color schemes?

Yes! :colorscheme desert in Macvim  tongue

Hardmath123 wrote:

Maybe all I need is a new editor…

Vim vim vim!  big_smile  (It's totally worth learning, even if you just use it in Insert Mode for the first few days.  tongue )


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

Offline

 

#7928 2013-04-15 11:38:20

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

I thought you would know someone I knew named Hugo, and I figured he would be around 9-ish.

Does he go to Thousand Oaks?

I know about a Hugo in Paris...

Is that a literary reference?

You don't know The Invention of Hugo Cabret?

Maybe all I need is a new editor…

Pay no attention to blob.  Use God's editor!


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

Offline

 

#7929 2013-04-15 11:45:38

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

Re: BYOB 3 - Discussion Thread

xly wrote:

IMHO Map notion is simple and intuitive as long as you start explaining it in a concrete way.

Yes, FOR EACH is easier for people to get than MAP.  I'll try that next time...

(MAP = multiple application ? )

Very cute.  big_smile   Alas, "application" is just as opaque to a non-mathematician as "map"!

Of course people can change the name themselves.  But it still matters which name we supply, because it has to match our curriculum.  That's what most teachers will teach, if they're using Snap!.


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

Offline

 

#7930 2013-04-15 11:46:49

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

Re: BYOB 3 - Discussion Thread

Brian doesn't know anything! Also Emacs hurts your hands.  tongue


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

Offline

 

#7931 2013-04-15 11:50:01

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

how's TextMate? My dad uses it.

TextMate is good, but Sublime Text is better (it's Sublime!). It even has a vim-bindings mode  wink

blob8108 wrote:

And now I have to ask: what random project is that from?

It's the top part of the inspector class for a morphic framework. (You can probably guess from the 20+ occurrences of the word "morph" and the m.Class.define('m.morph.Inspector', …)  tongue ). Since you asked, here's an inspector:

http://i46.tinypic.com/s332p1.jpg

Last edited by nXIII (2013-04-15 11:54:01)


nXIII

Offline

 

#7932 2013-04-15 12:36:24

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

Re: BYOB 3 - Discussion Thread

My dad says I'm too young to know about vim. He's probably right. And bharvey, you can't link to xkcd if you don't believe in Python!

Speaking of which, if I ever get around to implementing my language, the execute command will have an easter egg:

Code:

>>> execute order 66
"It will be done, my Lord."

As you can tell, I've finished Revenge of the Sithsmile


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

Offline

 

#7933 2013-04-15 12:54:30

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

Re: BYOB 3 - Discussion Thread

@Hardmath123 You asked for the shared version of the Scratch 2.0 project with ElementControl.
Here it is.
http://beta.scratch.mit.edu/projects/10085763
Note: There are 4 ElementControls. ElementControl, ElementControl2, etc.They are all positioned on the same x and y coordinates and have a costume that is a single pixel. The rest is just script for interpreting type advantages and disadvantages.

Offline

 

#7934 2013-04-15 12:56:12

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

Re: BYOB 3 - Discussion Thread

Thank you—I will look it over first thing tomorrow morning.  smile


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

Offline

 

#7935 2013-04-15 13:03:13

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

tomorrow morning

Which timezone are you in, anyway?


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

Offline

 

#7936 2013-04-15 13:08:36

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

My dad says I'm too young to know about vim.

If he means vim is obscene, I agree!

Consistency is the hobgoblin of small minds.


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

Offline

 

#7937 2013-04-15 13:45:47

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

Re: BYOB 3 - Discussion Thread

Ah yes! I love the alt text on that one.  tongue


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

Offline

 

#7938 2013-04-15 13:48:00

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

If he means vim is obscene, I agree!

Hey, no fair! Don't escalate this...

nXIII wrote:

It even has a vim-bindings mode

This I like  tongue

You can probably guess from the 20+ occurrences of the word "morph"

I did wonder... You're writing a morphic in Obj-C? O_o

EDIT: remove one occurrence of colon-P (I need to start rationing myself...)

Last edited by blob8108 (2013-04-15 13:48:33)


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

Offline

 

#7939 2013-04-15 14:21:30

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Speaking of which, if I ever get around to implementing my language, the execute command will have an easter egg:

Code:

>>> execute order 66
"It will be done, my Lord."

As you can tell, I've finished Revenge of the Sithsmile

Yes. Epic win.  big_smile

@n Do you use the full version of Sublime Text?

Last edited by technoboy10 (2013-04-15 14:23:45)


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

Offline

 

#7940 2013-04-15 15:59:31

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

bharvey wrote:

If he means vim is obscene, I agree!

Hey, no fair! Don't escalate this...

Fair?  There are rules to this game?  smile

I actually spent several minutes trying to figure out what Hm's dad actually meant (vim is too hard for him?  vim died before he was born?) before I realized what a great opening that ambiguity made.


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

Offline

 

#7941 2013-04-15 17:05:04

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

Re: BYOB 3 - Discussion Thread

blob8108 wrote:

You can probably guess from the 20+ occurrences of the word "morph"

I did wonder... You're writing a morphic in Obj-C? O_o

That's JavaScript….
(if it were Objective-C, it would have way more "[]"s and even more ":"s than it already does, and no "this"s)

Here's a more monospace-y version of the snippet:
http://i46.tinypic.com/261p8h0.jpg
It goes on (hence the comma) but this is quite enough for demonstrating its JS-ness.
EDIT: I just realized that part of that is indented incorrectly. Oh well. It still doesn't make it any less JavaScripty.

@n Do you use the full version of Sublime Text?

Yes, for two reasons:
- It's awesome
- Sublime Text 3 Beta (you need a license to get the beta) is even more ridiculously fast

Last edited by nXIII (2013-04-15 17:08:47)


nXIII

Offline

 

#7942 2013-04-15 18:08:52

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

Re: BYOB 3 - Discussion Thread

How embarassing! I thought it looked JSey at first, but your screenshot looked like a native OS X app… (Let's just say your variable-width font confused me?  wink )


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

Offline

 

#7943 2013-04-15 18:46:42

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

Re: BYOB 3 - Discussion Thread

If you all have got any spare time, would you mind testing the Snap! extension launchpad program I've made? Just make sure to put Launchpad.py in the same directory as all your Snap! extension .py and .xml files, and create a file named .snapmodules with the Snap! extension names separated with newlines. Thanks! https://github.com/Technoboy10/snap-launchpad


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

Offline

 

#7944 2013-04-16 01:56:37

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

Re: BYOB 3 - Discussion Thread

Zygorithm wrote:

@Hardmath123 You asked for the shared version of the Scratch 2.0 project with ElementControl.
Here it is.
http://beta.scratch.mit.edu/projects/10085763
Note: There are 4 ElementControls. ElementControl, ElementControl2, etc.They are all positioned on the same x and y coordinates and have a costume that is a single pixel. The rest is just script for interpreting type advantages and disadvantages.

Ok, the problem is a Snap! issue: Snap! does not support the ([] OF []) sensing block yet, so that particular sprite does not work. Sorry.

@bharvey and Jens: Is this reason enough for you to add the basic ([] of []) block? You can add fancy OOP-style stuff later. You can even make it an obsolete block called "Scratch-style [] of []" which is not in the palette, but works if imported.

Also, if would be nice if blocks in the palette (only those in the palette, not those in scripts) had tooltips with a short description, rather than right-click-help.


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

Offline

 

#7945 2013-04-16 02:33:51

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

Re: BYOB 3 - Discussion Thread

I thought Jens had added "of" already...


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

Offline

 

#7946 2013-04-16 02:43:45

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

@bharvey and Jens: Is this reason enough for you to add the basic ([] of []) block?

Huh?  Already done!

Also, it would be nice if blocks in the palette (only those in the palette, not those in scripts) had tooltips with a short description, rather than right-click-help.

Umm.  Maybe "in addition to," not "rather than."  But I'm a little skeptical about being able to write something that's not fatuous (e.g., for MOVE (n) STEPS, "move the sprite so many steps") in the size of a tooltip (so, not "move the sprite so many steps in the direction that it's facing, where a step is the distance between screen pixels horizontally or vertically"), or something at all for some blocks (e.g., CALL).

EDIT: Phooey, beaten by blob.  But only because I wrote that big extra paragraph, not because he has a better editor!  tongue

Last edited by bharvey (2013-04-16 02:45:03)


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

Offline

 

#7947 2013-04-16 03:26:07

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

But only because I wrote that big extra paragraph, not because he has a better editor!  tongue

You keep telling yourself that; we both know vim is faster. Just admit it!  tongue

Did you even use Emacs to write that (a la QuickCursor)?


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

Offline

 

#7948 2013-04-16 03:28:40

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

Re: BYOB 3 - Discussion Thread

Really, blob, you write forum responses in vim? Is there a shortcut for  tonguetongue

I can't believe I haven't noticed that! I even have a 10-line patch for it in Snapin8r! I've gotta start programming more in Snap! if I'm going to write plugins…  sad

Now to figure out why it still doesn't work.  hmm


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

Offline

 

#7949 2013-04-16 03:32:24

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Really, blob, you write forum responses in vim? Is there a shortcut for  tonguetongue

I do sometimes (mostly just when I want to indent a code paragraph). No, there isn't; maybe I should make one...  tongue


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

Offline

 

#7950 2013-04-16 04:04:24

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

Re: BYOB 3 - Discussion Thread

Turns out it was a bonehead mistake: Scratch puts false in place of inputs that don't exist, while Snap! uses <l/>. I accidentally tested for "false" and inserted <l>False</l>. I banged my head against the wall when I saw that.

Now that that works, I'm going to try and run Snapin8r with costumes… the output file without costumes added up to almost half a megabyte, so I'm not going to pretty-print it. I'll put the finished XML up on gdocs, you can try it out.  smile


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

Offline

 

Board footer