technoboy10 wrote:
Where are the block specs for Snap!?
Also, how do you let a web server be accessed through the http:// block?
Check objects.js, or look up SpriteMorph on your console.
Offline
apologies for gushing but... snap (as in 4) just seems freakishly solid
It defies my expectations of "non-trivial browser based apps"
True -I don't have many Snap-miles on my odometer -but I had a session with some 9 year-olds today where I expected to be saying "oh yeah -don't worry about that -you just have to do this..." but well, it just worked...
Coal-face snapistas might be thinking "what is he talking about -x,y and z are not right yet" but from out here in userland, Snap has the feel of the (infinitely more controllable) squeak based stuff, and I think that is quite an acheivment. Whatever you are doing ,please keep doing it.
Offline
1. The first question with B as the correct answer is:
A. 1
B. 4
C. 3
D. 2
2. The answer to Question 4 is:
A. D
B. A
C. B
D. C
3. The answer to Question 1 is:
A. D
B. C
C. B
D. A
4. The number of questions which have D as the correct answer is:
A. 3
B. 2
C. 1
D. 0
5. The number of questions which have B as the correct answer is:
A. 0
B. 2
C. 3
D. 1
Don't post solutions without a big SPOILER ALERT.
@n: The Scratch 2.0 forum software should have a spoiler-alert feature [spoiler]...[/spoiler] that would appear as a button that you'd have to push to see the stuff between the tags!
Offline
bharvey wrote:
@n: The Scratch 2.0 forum software should have a spoiler-alert feature [spoiler]...[/spoiler] that would appear as a button that you'd have to push to see the stuff between the tags!
Yeah, that's been suggested. I forgot to add it to the bugtracker, though—thanks.
Offline
technoboy10 wrote:
I've got basic NXT control from Snap! working!
That's great! Does it work across platforms? When you think it's ready to publish, send us the code and it can be the first entry in our hardware-control collection. Thanks!
Offline
bharvey wrote:
technoboy10 wrote:
I've got basic NXT control from Snap! working!
That's great! Does it work across platforms? When you think it's ready to publish, send us the code and it can be the first entry in our hardware-control collection. Thanks!
Whoa, awesome!
It's written in Python, so in theory it should be cross-platform. It's still in super-alpha (I can move one motor, one rotation, at one speed. ), so it might be a few days before I finish it.
Offline
bharvey wrote:
1. The first question with B as the correct answer is:...
Well, it's trivial to brute force, as there are only 256 possibilities. So I have the solution! Now to write my own logic puzzle solver implementation to find it properly...
Offline
@blob well, the first answer cannot be A.
SPOILER ALERT
1. C
2. D
3. B
4. C
5. B
Last edited by Firedrake969 (2013-03-08 15:40:55)
Offline
Firedrake969 wrote:
SPOILER ALERT
Yup, that's what I got
Offline
SPOILER!!!!!
I got these answers without looking at anyone else's answers.
1. C
2. D
3. B
4. C
5. B
Offline
Snap-NXT v.0.1
http://github.com/technoboy10/snap-nxt
Has support for the 4 main NXT sensors and all 3 motors.
See link for more info.
nxt.xml includes all NXT interaction blocks, as well as an example program.
Offline
technoboy10 wrote:
Snap-NXT v.0.1
This looks wonderful -- I can't actually run it b/c I don't have a NXT with me -- except there's one detail in the documentation that seems fragile:
You must have the all sensors plugged into your NXT in this arrangement:
It doesn't bother me so much that a particular sensor has to go in a particular port (although, can't you have more than one of the same kind of sensor?), but why must they all be present, if you're not going to use them all?
Sorry to nitpick right off the bat...
Offline
technoboy10 wrote:
The nxt-python module for Python.
You're not using OS X, are you? I've had terrible difficulty trying to get nxt-python to work on 10.8...
Offline
bharvey wrote:
1. The first question with B as the correct answer is:
A. 1
B. 4
C. 3
D. 2
2. The answer to Question 4 is:
A. D
B. A
C. B
D. C
3. The answer to Question 1 is:
A. D
B. C
C. B
D. A
4. The number of questions which have D as the correct answer is:
A. 3
B. 2
C. 1
D. 0
5. The number of questions which have B as the correct answer is:
A. 0
B. 2
C. 3
D. 1
Don't post solutions without a big SPOILER ALERT.
@n: The Scratch 2.0 forum software should have a spoiler-alert feature [spoiler]...[/spoiler] that would appear as a button that you'd have to push to see the stuff between the tags!
SPOILER ALERT!!!!! (don't know if it's been answered or not, I just read the logic problem and hit quote. I worked it out myself.)
If you are using Internet Explorer, the text below is NOT hidden - skip over it if you don't want to see it!
Otherwise, highlight it to see it.
Question 1 cannot be A or B because of a simple logical contradiction - if it was A, it would mean the answer to question 1 is B, and if it was B, it would mean it is not B. So it must be C or D.
Assuming it were D, it would mean question 2 is B and therefore question 4 is A. So 3 questions have D as their correct answer. We know about question 1, which we are assuming is D, and 2 and 4 are inferred to NOT be D. That means 5 & 3 must be D and therefore question 1 is A, which is a contradiction. So the assumption that 1 is D is false. Therefore 1 MUST be C, so 3 is B.
Now let's do question 4:(and, indirectly, 2)
It obviously can't be D, that would mean no answers are D which is a contradiction. So there are is only 2 questions left that could be D, that is, 2 and 5. So the answer isn't A, either. It is either B or C: if it were B, 2 and 5 must be D, and if 2 were D, 4 would be C. So our assumption that 4 was B is false. Therefore 4 must be C. That makes 2 D,
Since there is only one question who's answer is D, and that is 2. That means 5 is not D. It isn't A either, because we know that 3 is B. It can't be C, because there aren't enough questions left that could be B. Therefore it's B.
So:
1 = C
2 = D
3 = B
4 = C
5 = B
QED.
Last edited by joefarebrother (2013-03-09 08:33:48)
Offline
blob8108 wrote:
You're not using OS X, are you? I've had terrible difficulty trying to get nxt-python to work on 10.8...
@tb10: Welcome to the wonderful world of software development, where you do something useful and people start picking on you! Isn't it fun?
We do need, I'm afraid, to get to where people can download a package (an app, an installer, whatever), click OK, and be ready to rock and roll. (Elvis is playing on iTunes as I type this. )
When I get home I'll see what I can do about making a Mac app, but I'm not a Python ace, so if blob is right, someone who is should do it. Oh, plus, I'm on 10.7 -- I don't want my Mac to pretend to be a tablet. So, @blob: can you test this potential Python problem?
Offline
blob8108 wrote:
technoboy10 wrote:
The nxt-python module for Python.
You're not using OS X, are you? I've had terrible difficulty trying to get nxt-python to work on 10.8...
Nope, I'm using Linux, but I do have a Mac. I'll take a look...
bharvey wrote:
Sorry to nitpick right off the bat...
You're totally right. I'm going to rewrite a lot of the code today to make it more efficient and flexible.
|@bharvey #Mac app| Have you seen this? http://sveinbjorn.org/platypus
Last edited by technoboy10 (2013-03-09 09:38:18)
Offline
technoboy10 wrote:
|@bharvey #Mac app| Have you seen this? http://sveinbjorn.org/platypus
No, that's great, thanks for the pointer! Especially the run-as-root feature will be good for hardware interfaces like yours.
Offline