Jens wrote:
Haha, you guys are fantastic! LOL, thx for the favicon and hi from back home
Is that really you? Since when do adults use "thx" and "LOL"?!
Offline
.... ..- .... ..--.. / .. / -.. .. -.. -. .----. - / --. . - / .. - / ---... .--.
.-- .... .- - .----. ... / .- / .-..-. .-- .... .. .--. .--. . .-. ... -. .- .--. .--. . .-. .-..-. ..--..
Last edited by Hardmath123 (2012-06-08 09:53:09)
Offline
Hardmath123 wrote:
.... ..- .... ..--.. / .. / -.. .. -.. -. .----. - / --. . - / .. - / ---... .--.
.-- .... .- - .----. ... / .- / .-..-. .-- .... .. .--. .--. . .-. ... -. .- .--. .--. . .-. .-..-. ..--..
https://en.wiktionary.org/wiki/whippersnapper
http://www.butlerart.com/pc_book/pages/ … r_1836.htm
Offline
bharvey wrote:
Hardmath123 wrote:
.... ..- .... ..--.. / .. / -.. .. -.. -. .----. - / --. . - / .. - / ---... .--.
.-- .... .- - .----. ... / .- / .-..-. .-- .... .. .--. .--. . .-. ... -. .- .--. .--. . .-. .-..-. ..--..https://en.wiktionary.org/wiki/whippersnapper
http://www.butlerart.com/pc_book/pages/ … r_1836.htm
"a young and cheeky or presumptuous person"
Hey!
Offline
By the way, thanks for the advice about the Scheme interpreter. It's shaping up great!
Offline
In case anyone is tracking these issues, in the latest Chromium builds (e.g. 21.0.1168.0 (Developer Build 141182 Windows)), I can't enter a space in the text for a "say" block. When I attempt to do so, the browser scrolls the page down instead of inserting a space character. Looks like Snap! is not getting the event and the browser is just handling it per default.
Offline
asampal wrote:
In case anyone is tracking these issues, in the latest Chromium builds (e.g. 21.0.1168.0 (Developer Build 141182 Windows)), I can't enter a space in the text for a "say" block. When I attempt to do so, the browser scrolls the page down instead of inserting a space character. Looks like Snap! is not getting the event and the browser is just handling it per default.
Scrolls the page down? I thought Snap! was designed to use up the entire window, and only the entire window, so that you wouldn't need to scroll.
A related problem is that sometimes the window's scrollbar will pop up. I found a little patch you could use. You need a GreaseMonkey userscript:
document.body.style.overflow="hidden";
specified for Snap!, which prevents the scrollbar from appearing.
Offline
PS In case you missed the reference:
https://en.wikipedia.org/wiki/%E2%80%9330%E2%80%93
Offline
Further notes on this issue. The browser scroll bars only appear when the browser size is below a certain threshold - only then does a space cause the vertical scroll. When the browser size is large enough, space doesn't cause scrolling, but neither does it insert a space - the character is dropped, it seems.
asampal wrote:
In case anyone is tracking these issues, in the latest Chromium builds (e.g. 21.0.1168.0 (Developer Build 141182 Windows)), I can't enter a space in the text for a "say" block. When I attempt to do so, the browser scrolls the page down instead of inserting a space character. Looks like Snap! is not getting the event and the browser is just handling it per default.
Offline
bharvey wrote:
Hardmath123 wrote:
You need a GreaseMonkey userscript:
Good workaround, thanks, but it still needs to be really fixed — I don't think most schools are going to run Greasemonkey!
No need for a Greasemonkey script, we just need to add a CSS selector to nasciturus.html:
body { overflow: hidden !important; }
Offline
fullmoon wrote:
bharvey wrote:
Hardmath123 wrote:
You need a GreaseMonkey userscript:
Good workaround, thanks, but it still needs to be really fixed — I don't think most schools are going to run Greasemonkey!
No need for a Greasemonkey script, we just need to add a CSS selector to nasciturus.html:
Code:
body { overflow: hidden !important; }
Even better, add it into the inline style. <body style="overflow:hidden">
@bharvey: I got the reference, I was wondering why you didn't say "Peace Out!".
Offline
Taneb wrote:
I think pattern matching would be quite hard to add to Snap.
Making it an integral part of the syntax, as in Haskell, would be awkward. OTOH it's easy enough to write a pattern matching procedure as a Snap! custom block.
Offline
Is there a Snap! discussion thread?
EDIT: Wow, totally missed my 500th post, this is my 505th. Might as well celebrate here.
Last edited by technoboy10 (2012-06-09 12:27:01)
Offline
bharvey wrote:
it's easy enough to write a pattern matching procedure as a Snap! custom block.
I wouldn't really know where to start.
BTW, I thought of an idea to disambiguify a single input from a block dropped onto a varadic input: a special "ring" with the text "items of" that automaticly appears when you drop something onto the arrowheads.
Offline
joefarebrother wrote:
I wouldn't really know where to start.
http://www.cs.berkeley.edu/~bh/ssch16/match.html
That chapter is written in terms of words and sentences, sort of a cross between strings and lists implemented as an abstract data type. You should probably work with lists, and use ITEM 1 OF for FIRST, use ALL BUT FIRST OF for BUTFIRST, and use IN FRONT OF for SENTENCE.
Offline