TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Snap! 5 is here

96 pointsby TheAsprngHackeralmost 6 years ago

5 comments

DonHopkinsalmost 6 years ago
Also:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17594403" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17594403</a><p>One of the coolest ways to learn programming I&#x27;ve ever seen is the Snap! visual programming language, which is written in JavaScript and runs in the browser. <a href="https:&#x2F;&#x2F;snap.berkeley.edu" rel="nofollow">https:&#x2F;&#x2F;snap.berkeley.edu</a><p>It&#x27;s the culmination of years of work by Brian Harvey and Jens Mönig and other Smalltalk and education experts. It benefits from their experience and expert understanding about constructionist education, Smalltalk, Scratch, E-Toys, Lisp, Logo, Star Logo, and many other excellent systems.<p>Snap! takes the best ideas, then freshly and coherently synthesizes them into a visual programming language that kids can use, but is also satisfying to professional programmers, with all the power of Scheme (lexical closures, special forms, macros, continuations, user defined functions and control structures), but deeply integrating and leveraging the web browser and the internet (JavaScript primitives, everything is a first class object, dynamically loaded extensions, etc).<p>Y Combinator demo:<p><a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;cOq8tvR.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;cOq8tvR.png</a><p><a href="https:&#x2F;&#x2F;snap.berkeley.edu&#x2F;snapsource&#x2F;snap.html#present:Username=jens&amp;ProjectName=y%20combinator" rel="nofollow">https:&#x2F;&#x2F;snap.berkeley.edu&#x2F;snapsource&#x2F;snap.html#present:Usern...</a><p>Here&#x27;s an excellent mind-blowing example by Ken Kahn of what&#x27;s possible: teaching kids AI programming by integrating Snap! with existing JavaScript libraries and cloud services like AI, machine learning, speech synthesis and recognition, Arduino programming, etc:<p>AI extensions of Snap! for the eCraft2Learn project<p><a href="https:&#x2F;&#x2F;ecraft2learn.github.io&#x2F;ai&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ecraft2learn.github.io&#x2F;ai&#x2F;</a><p>&gt;The eCraft2Learn project is developing a set of extensions to the Snap! programming language to enable children (and non-expert programmers) to build AI programs. You can use all the AI blocks after importing this file into Snap! or Snap4Arduino. Or you can see examples of using these blocks inside this Snap! project.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ecraft2learn&#x2F;ai" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ecraft2learn&#x2F;ai</a><p><a href="http:&#x2F;&#x2F;lntrg.education.ox.ac.uk&#x2F;presentation-of-ai-cloud-services-integrated-with-snap-at-the-connective-ubiquitous-technology-for-embodiments-center-of-the-national-university-of-singapore-and-keio-university-on-16-march-2017-by-k&#x2F;" rel="nofollow">http:&#x2F;&#x2F;lntrg.education.ox.ac.uk&#x2F;presentation-of-ai-cloud-ser...</a><p>Use devices with Snap!:<p>Orbotix Sphero guide by Connor Hudson and Dan Garcia:<p><a href="https:&#x2F;&#x2F;docs.google.com&#x2F;document&#x2F;d&#x2F;11wR53OTnofRtTtxZCmxnCUjIlFQjnGewM21A0vmjtFw&#x2F;edit?usp=sharing" rel="nofollow">https:&#x2F;&#x2F;docs.google.com&#x2F;document&#x2F;d&#x2F;11wR53OTnofRtTtxZCmxnCUjI...</a><p>Lego NXT package by Connor Hudson:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;technoboy10&#x2F;snap-nxt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;technoboy10&#x2F;snap-nxt</a><p>Nintendo Wiimote package by Connor Hudson:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;technoboy10&#x2F;wiisnap" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;technoboy10&#x2F;wiisnap</a><p>Finch and Hummingbird robots package by Tom Lauwers:<p><a href="https:&#x2F;&#x2F;www.hummingbirdkit.com&#x2F;learning&#x2F;snap-programming&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.hummingbirdkit.com&#x2F;learning&#x2F;snap-programming&#x2F;</a><p>Parallax S2 robot package by Connor Hudson:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;blockext&#x2F;s2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;blockext&#x2F;s2</a><p>LEAP Motion by Connor Hudson:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;technoboy10&#x2F;snapmotion" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;technoboy10&#x2F;snapmotion</a><p>Speech synthesis by Connor Hudson:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;technoboy10&#x2F;snap2speech" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;technoboy10&#x2F;snap2speech</a><p>Arduino package by Alan Yorinks:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;MrYsLab&#x2F;s2a_fm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;MrYsLab&#x2F;s2a_fm</a><p>Arduino package by Bernat Romagosa&#x2F;Citilab:<p><a href="http:&#x2F;&#x2F;snap4arduino.rocks&#x2F;" rel="nofollow">http:&#x2F;&#x2F;snap4arduino.rocks&#x2F;</a><p>Fischertechnik ROBOTICS TXT Controller by Richard Kunze:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;rkunze&#x2F;ft-robo-snap" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rkunze&#x2F;ft-robo-snap</a><p>Snap! for Raspberry Pi by rasplay.org:<p><a href="http:&#x2F;&#x2F;downloads.rasplay.org&#x2F;pisnap&#x2F;" rel="nofollow">http:&#x2F;&#x2F;downloads.rasplay.org&#x2F;pisnap&#x2F;</a><p>More Snap! extensions for CS education:<p>snap-apps.org provides Edgy for graphs, Cellular for multi-agent simulation, and more.<p><a href="http:&#x2F;&#x2F;snap-apps.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;snap-apps.org&#x2F;</a><p><a href="http:&#x2F;&#x2F;www.snap-apps.org&#x2F;edgy.html" rel="nofollow">http:&#x2F;&#x2F;www.snap-apps.org&#x2F;edgy.html</a><p><a href="http:&#x2F;&#x2F;www.flipt.org&#x2F;#cellular" rel="nofollow">http:&#x2F;&#x2F;www.flipt.org&#x2F;#cellular</a><p>Netsblox for multiplayer networking.<p><a href="https:&#x2F;&#x2F;netsblox.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;netsblox.org&#x2F;</a>
评论 #20316259 未加载
DonHopkinsalmost 6 years ago
I posted this before about a previous version of Snap!:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17056444" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17056444</a><p>I was hoping that second one was about Scratch, the visual blocks programming language for kids, similar to Logo, based on a Smalltalk development environment (which is a lot better than X!)<p>If you&#x27;re interested in visual programming with a powerful Scheme-like language with first class functions, closures, special forms, macros, and even continuations so you can define your own control structures, check out Snap! (The exclamation mark is part of the name, so it&#x27;s easy to get excited about Snap!)<p>It&#x27;s a descendent of Scratch but more powerful, hand-written in JavaScript instead of Smalltalk, and it integrates easily with JS code. (There&#x27;s a user defined JavaScript function block that you can use to integrate with the Snap VM and the browser!)<p>Snap was written by Jens Mönig and Brian Harvey, who know what they&#x27;re doing! ;)<p><a href="https:&#x2F;&#x2F;snap.berkeley.edu" rel="nofollow">https:&#x2F;&#x2F;snap.berkeley.edu</a><p>Y Combinator: <a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;cOq8tvR.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;cOq8tvR.png</a><p>A* Pathfinding Demo: <a href="https:&#x2F;&#x2F;snap.berkeley.edu&#x2F;snapsource&#x2F;snap.html#present:Username=jens&amp;ProjectName=PathFinder" rel="nofollow">https:&#x2F;&#x2F;snap.berkeley.edu&#x2F;snapsource&#x2F;snap.html#present:Usern...</a> (press the diagonal arrow button at the top to see the block code in the development environment!)<p>Snap! is a visual programming language inspired by Scratch. Run Snap! in your browser at <a href="http:&#x2F;&#x2F;snap.berkeley.edu&#x2F;run" rel="nofollow">http:&#x2F;&#x2F;snap.berkeley.edu&#x2F;run</a> The IIIA1 in the title means that this is the first tutorial corresponding to Chapter III, Section A of the Reference Manual at <a href="http:&#x2F;&#x2F;snap.berkeley.edu&#x2F;SnapManual.pdf" rel="nofollow">http:&#x2F;&#x2F;snap.berkeley.edu&#x2F;SnapManual.pdf</a><p>Snap! Tutorial IIIA1: Make a block <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Bbl2fh3igQ4" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Bbl2fh3igQ4</a><p>Snap! Tutorial IIIA2: Custom Blocks with Inputs: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=hZC2tDVYWBo" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=hZC2tDVYWBo</a><p>The Basics of Snap! <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=hAxqwwg4uhk" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=hAxqwwg4uhk</a><p>Prototypical Inheritance in Snap! (no audio) <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=lvlWvHgfrlw" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=lvlWvHgfrlw</a><p>Editing Formulas in Snap! (no audio) <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ahHAl3p3gEU" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ahHAl3p3gEU</a>
jacknewsalmost 6 years ago
Yes! My son is getting into Scratch (50 projects in the last couple of months), but it has at least a couple of serious limitations as a programming language, namely no return values from functions&#x2F;blocks, and lists are not first-class, making it unnecessarily complex to implement data structures.<p>The one thing keeping him on Scratch (or rather, away from Snap) is the Scratch community&#x2F;sharing. I&#x27;ll have him and his friends consider joining Snap now.
评论 #20311809 未加载
sinuhe69almost 6 years ago
I love snap! It&#x27;s IMO the only visual system with them one can teach programming seriously and properly. The only problem is its slow loading speed. And I mean really slow. Any program takes minutes to load (on a iPad). In comparison, program in Scratch 3 (also implemented in JS) takes only seconds to load. Otherwise, it&#x27;s a perfect system to teach children programming.
TeMPOraLalmost 6 years ago
What&#x27;s the difference between Snap! and Scratch? They look prima facie identical.
评论 #20311522 未加载