Discuss Scratch

theLman
Scratcher
80 posts

Snap! user discussion

bharvey wrote:

theLman wrote:

Any updates on the rollout of the planned new front page?
The latest theory is to have a beta release for brave people in Feb, and the big cutover in March.

That's exciting. Good luck with everything.
MichaelIsSoAnnoying
Scratcher
3 posts

Snap! user discussion

I'm working on a hangman project, and I would like to generate random words from a java script dictionary. Is there any way I could do this?
bharvey
Scratcher
1000+ posts

Snap! user discussion

MichaelIsSoAnnoying wrote:

I'm working on a hangman project, and I would like to generate random words from a java script dictionary. Is there any way I could do this?
If you have the dictionary in a list, just use
(item (random v) of [list v] :: list)

Nice username, by the way.

theLman
Scratcher
80 posts

Snap! user discussion

Phew… Just finished making my first project in SNAP! The first session or two was surprisingly difficult even though I've done a lot of Scratch. There are a few little idiosyncrasies with how to achieve certain things that differ from Scratch, such as making a list by putting an empty list block in a variable etc. But once I got used to the small differences it was a such a pleasure to be able to make custom blocks and reporters etc. The project is definitely not the most elegant code and I have hardly scratched the surface of what's possible so I'll keep learning as I go. The power of the language in terms of features is amazing.

For anyone interested, the project is a tool to use in one of my year 6 classes for some code breaking activities. It's not really meant to be used outside the classroom. It may make a little more sense with this. Or just copy and paste this text in: 5305830583370553 1085 83235342 235858 100205 8323100221 38855342. 63 210285075870 55631305 05235002 21100770059710 92055385 850710 8577 859705 02079770530570! 370710 63 38635858 3705 97635005… 778553 978538. 63 708597'10 38239710 1085 37588538 8374 5085130553.

Last edited by theLman (Dec. 25, 2017 19:06:09)

bharvey
Scratcher
1000+ posts

Snap! user discussion

theLman wrote:

a tool to use in one of my year 6 classes for some code breaking activities.
Great minds think alike:

https://people.eecs.berkeley.edu/~bh/v2ch11/crypto.html

theLman
Scratcher
80 posts

Snap! user discussion

bharvey wrote:

theLman wrote:

a tool to use in one of my year 6 classes for some code breaking activities.
Great minds think alike:

https://people.eecs.berkeley.edu/~bh/v2ch11/crypto.html

Wow! What a fascinating read. I love how you started with letter frequency. Thank you for sharing.
logofoundation
Scratcher
2 posts

Snap! user discussion

Is there a Spanish version of Snap! ?
PullJosh
Scratcher
1000+ posts

Snap! user discussion

logofoundation wrote:

Is there a Spanish version of Snap! ?
Yes:

Base 10 is the best number system.
logofoundation
Scratcher
2 posts

Snap! user discussion

never mind…found the Spanish…
Ize
Scratcher
14 posts

Snap! user discussion

Hey, this is pretty cool! It feels a lot smoother. And things can go off the screen! YES!
theLman
Scratcher
80 posts

Snap! user discussion

Ize wrote:

Hey, this is pretty cool! It feels a lot smoother. And things can go off the screen! YES!

And you can make the stage bigger
bharvey
Scratcher
1000+ posts

Snap! user discussion

theLman wrote:

Ize wrote:

Hey, this is pretty cool! It feels a lot smoother. And things can go off the screen! YES!
And you can make the stage bigger
… and use higher order functions …

chris_francis
Scratcher
1 post

Snap! user discussion

The end of “Exploring tables with Snap!” under Codification says:
For “bigger” data sets a more promising strategy might be to store them in a server-hosted data base and to use Snap as a client. Snap’s codification feature can be leveraged to transcompile blocks into SQL queries that can be sent to the server hosting the (possibly remote) data base using Snap’s
HTTP block.

I'd like to be able to load a CSV file to a Google Fusion Table (outside of Snap!) and then pull that data into a list in Snap! Is this type of functionality available with a Fusion Table or other database? Could someone post an example of how to pull data from an external database into a Snap! list?
Thanks, Chris
xly
Scratcher
100+ posts
bharvey
Scratcher
1000+ posts

Snap! user discussion

xly wrote:

Happy new Year !
Go Neuronal with :
https://snap.berkeley.edu/snapsource/snap.html#present:Username=xleroy&ProjectName=00-deepv3
Umm, okay, it changes a lot of variables… When I connect the WHEN FLAG block in the second sprite with the script under it, that sprite starts bouncing around. The first sprite has different colored costumes but doesn't seem to do anything with them… So I'm having trouble working out what this is for!

theLman
Scratcher
80 posts

Snap! user discussion

bharvey wrote:

theLman wrote:

Ize wrote:

Hey, this is pretty cool! It feels a lot smoother. And things can go off the screen! YES!
And you can make the stage bigger
… and use higher order functions …

Haha yeah sorry Brian… that is much more important. However, sometimes we just get excited about the shiny paint on the turbocharged car.
xly
Scratcher
100+ posts

Snap! user discussion

bharvey wrote:

xly wrote:

Happy new Year !
Go Neuronal with :
https://snap.berkeley.edu/snapsource/snap.html#present:Username=xleroy&ProjectName=00-deepv3
Umm, okay, it changes a lot of variables… When I connect the WHEN FLAG block in the second sprite with the script under it, that sprite starts bouncing around. The first sprite has different colored costumes but doesn't seem to do anything with them… So I'm having trouble working out what this is for!
For the theoretical basis of my project see Project notes.
All programming examples of NN of the literature are based either on Python, Java or JS.
I just wanted to check that Snap! is well adapted for this type of exercize which uses extensively vectors and matrices
bharvey
Scratcher
1000+ posts

Snap! user discussion

xly wrote:

For the theoretical basis of my project see Project notes.
Ah! Thanks.

xly
Scratcher
100+ posts

Snap! user discussion

bharvey wrote:

xly wrote:

Happy new Year !
Go Neuronal with :
https://snap.berkeley.edu/snapsource/snap.html#present:Username=xleroy&ProjectName=00-deepv3
Umm, okay, it changes a lot of variables… When I connect the WHEN FLAG block in the second sprite with the script under it, that sprite starts bouncing around. The first sprite has different colored costumes but doesn't seem to do anything with them… So I'm having trouble working out what this is for!
I had used clones to draw network nodes (in green).
But I forgot that when closing a project…clones are killed and thus no more network !
bharvey
Scratcher
1000+ posts

Snap! user discussion

xly wrote:

But I forgot that when closing a project…clones are killed and thus no more network !
Ah, great! Tell Jens that you really want to be able to generate clones programmatically and have them be permanent. (If you make clones by clicking on menus, they are permanent!)

Powered by DjangoBB

Standard | Mobile