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 ).
(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:
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)
Offline
nXIII wrote:
Helvetica Neue (Light)
Oooh, not sure about that And now I have to ask: what random project is that from?
Does anyone here use light color schemes?
Yes! :colorscheme desert in Macvim
Hardmath123 wrote:
Maybe all I need is a new editor…
Vim vim vim! (It's totally worth learning, even if you just use it in Insert Mode for the first few days. )
Offline
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!
Offline
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. 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!.
Offline
Brian doesn't know anything! Also Emacs hurts your hands.
Offline
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
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', …) ). Since you asked, here's an inspector:
Last edited by nXIII (2013-04-15 11:54:01)
Offline
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:
>>> execute order 66 "It will be done, my Lord."
As you can tell, I've finished Revenge of the Sith.
Offline
@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
Thank you—I will look it over first thing tomorrow morning.
Offline
Hardmath123 wrote:
tomorrow morning
Which timezone are you in, anyway?
Offline
Hardmath123 wrote:
My dad says I'm too young to know about vim.
If he means vim is obscene, I agree!
Offline
bharvey wrote:
Ah yes! I love the alt text on that one.
Offline
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
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)
Offline
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 Sith.
Yes. Epic win.
@n Do you use the full version of Sublime Text?
Last edited by technoboy10 (2013-04-15 14:23:45)
Offline
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?
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.
Offline
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:
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)
Offline
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? )
Offline
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
Offline
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.
Offline
I thought Jens had added "of" already...
Offline
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!
Last edited by bharvey (2013-04-16 02:45:03)
Offline
bharvey wrote:
But only because I wrote that big extra paragraph, not because he has a better editor!
You keep telling yourself that; we both know vim is faster. Just admit it!
Did you even use Emacs to write that (a la QuickCursor)?
Offline
Really, blob, you write forum responses in vim? Is there a shortcut for ?
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…
Now to figure out why it still doesn't work.
Offline
Hardmath123 wrote:
Really, blob, you write forum responses in vim? Is there a shortcut for ?
I do sometimes (mostly just when I want to indent a code paragraph). No, there isn't; maybe I should make one...
Offline
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.
Offline