DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
11 Monitoring and Observability Tools for 2023
Learn more

Feel Like a Kid Again — Play With Some Blocks

Anyone who has ever played with Legos knows the appeal of snapping together a few simple blocks to make something creative, artistic, and even functional. The Blockly language is like that.

Emmett Coin user avatar by
Emmett Coin
·
Mar. 22, 16 · Opinion
Like (4)
Save
Tweet
Share
3.64K Views

Join the DZone community and get the full member experience.

Join For Free

Blockly is a visual language that has been in use since at least 2011. It is used by and is an integral part of a number of projects and systems:

Blockly Games Games for tomorrow's programmers.
App Inventor IDE for Android apps from MIT.
Code.org K-12 computer science.
OzoBlockly Programming line-following robots.
Wonder Workshop Robots for play and education.
Open Roberta Programming Lego EV3 robots.
Gamefroot Make, play and share games.
Gameblox Introduction to Game Design from MIT.
Made with Code Encouraging girls to code.

scriptr.io Powering your Internet of Things.

I personally have used the MIT AppInventor to create android phone and tablet clients for speech applications. For me, the system was attractive because it allowed me to quickly assemble a speech based Android client as an input-output channel for the conversation management systems I develop. Without any Android development experience, I was able to learn and implement a working alpha prototype in less than two hours. All the complicated details and syntax for what needed to be done are elegantly hidden in the simplicity of the blocks. After experimenting a bit and investing several more hours refining my alpha prototype, I now have a solid working beta platform that I use regularly as a demonstration portal for the features our AI-based conversation management system. I don't want to sound like an evangelist, but if you want to have a lot of fun creating a multimodal Android application in minutes then check out AppInventor. Watch a couple of the five-minute tutorial videos and build something yourself.

Most of the applications listed above as examples have the look and feel of an introductory educational system for children. But, this simplicity and elegance are also part of its power. Much of the difficulty in programming involves getting the syntax correct. With Blockly, the blocks only snap together where they are supposed to, and their shapes are easy-to-understand indicators of what goes together with what. And, the cool and surprisingly rewarding part of the experience of programming with Blockly is that when components do fit together properly, the programmer gets a clear audible verification "click". Programming is truly multimodal with Blockly.

You might think that building an application with simple procedural (and colorful) building blocks that "click" together is enough of a reward. But, Blockly is more than just that. Blockly is a methodology that allows you to implement a language of your own using blocks that you create. You as the language developer define the inputs, outputs, modalities, colors, and resulting raw computer instructions that your blocks will generate. In fact, along with the Blockly download is a program called the Blockly Factory (which is... wait for it... written in the Blockly language) that assists you in the creation of your new Blockly language. And, all of this (including languages you develop) runs in an ordinary browser using standard JavaScript. 

In fact, I did create a Blockly version of the control language for our ejTalker conversation management server. It was featured in a SpeechTEK University tutorial in 2015:

STKU-8 – Advanced Dialogue Techniques for Intelligent Virtual Agents 1:00 p.m - 4:00 p.m

Emmett Coin, Speech Scientist - ejTalk

Intelligent virtual agents require advanced dialogue techniques. This workshop identifies and describes four interrelated dialogue techniques that enable virtual agents to act intelligently. This workshop goes over dynamically adjusting the dialogue context, based on recent user input; rephrasing the agent’s responses so they don’t sound repetitive; automatically generating conversational ellipsis (wording redundant with previous parts of the conversation) in the agent’s response for naturalness and efficiency; interpreting badly formed user utterances; and integrating information expressed by the user via multiple modalities. It presents examples illustrating each of these techniques using a simple graphic “blockly” notation. Emmett Coin also illustrates how to combine these techniques to form more powerful dialogue managers, using a layered approach to a dialogue design. This layering strategy is essential to manage dialogue design and implementation complexity as agent interactions become more open. Bring your laptop for a hands-on experience.

So, consider getting some real work done by playing with Blocks! Feel like a kid again, you deserve it.

Blocks

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Testing Repository Adapters With Hexagonal Architecture
  • Java Code Review Solution
  • Important Data Structures and Algorithms for Data Engineers
  • Java REST API Frameworks

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: