element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
CodeBug
  • Learn
  • Learning Center
  • STEM Academy
  • CodeBug
  • More
  • Cancel
CodeBug
Blog Blockly? Google? Google Blockly - wow!! How did I miss That!
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join CodeBug to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Former Member
  • Date Created: 18 Oct 2015 5:13 AM Date Created
  • Views 3215 views
  • Likes 6 likes
  • Comments 13 comments
Related
Recommended

Blockly? Google? Google Blockly - wow!! How did I miss That!

Former Member
Former Member
18 Oct 2015

I resigned myself to the task of finishing my next Codebug Blockly program yesterday and went in track of understanding better something that is either a bug or an as yet non utilized feature!! The right click menu for the Blockly blocks has a "help" option at the bottom for each block that opens another browser tab to a generic help guide on the Codebug website.. Trying to gather some extra info on the bug/feature that caused me nearly 2 hours worth of disabling, torture, disconnecting, anger, deleting, confusion, rebuilding, anguish and growling... lots and lots of GROWLING!!! GRRRrrrrrrRRRRR! - I randomly clicked on a block to get to the codebug help guide to try and sift through it for some clues and was surprised to be taken to the "Google Blockly" help guide?

 

I was like.."well it's very similar, and seems to have a more comprehensive instruction set - so what is it??"

 

It is Blockly. A Google product that can be configured and used by anybody for their own applications, it comes with a free Javascript, Python, <insert a few other scripting languages here>.

 

I went to the Blocky Editor there expecting it to be just as painful.. but wow!! There are more instructions, The drag and drop editor is responsive.. You know that lag that Codebug Blockly has?? The one that feels as if you are trying to drag virtual blocks through virtual treacle? Then have to sit and wait until the block you just dragged over snaps into place in case it doesn't want to and decides it wants to slip down and split up a very quick sum that took way too many more blocks than it should have and about 8 minutes and 22 seconds longer than it should have out of the 8 minutes and 24 seconds it took for the total construction of said sum? THEN THE DAMNED SCREEN SCROLLED TO THE BOTTOM AGAIN... AGAIN... AGAIN.... POX ON YOU!!

 

Have a quick try of the google editor interface... OK OK... Its still the same Blockly... I understand, I really do...

 

It's great for the novelty value, I know, its like when codeblocks and all the others appeared about 15 years ago when every compiler and target platform seemed to have it's own version... until they realised... programmers write programs, not stare blankly and hurt at a computer trying to fight off a weird boredom headache brought about by nonsensical, badly fitting, unimaginative, inefficient Jigsaws. Yep Jigsaws... and they didn't even bother to put pictures on the pieces... I found a Jigsaw today and realised it had never been out of the box.. In fact I can't recall a time that I did ever just sit there and do a jigsaw. There's a reason for that.. Jigsaws are for grannies. If you have a granny, give her the best gift She could get... Give her Blockly...

 

Sorry!! Just kind of went off on some random erm? thing. Hah!

 

Here's the link for the Blockly editor and other info about it in Googles product overview https://developers.google.com/blockly/ Really is so much zippier and reactive. As mentioned above, it comes with a Blockly to Javscript converter which explains why you can't edit the generated code on the codebug site.. the included compilers/converters only go one way... It also has an included Blockly to Python converter hmmmm? makes sense..

 

I'm determined to get this program finished!! The issue I had was solved but yeah... I totally need to de-stress my Blockly beans before I start rebuilding it all... 

  • Sign in to reply

Top Comments

  • Former Member
    Former Member over 9 years ago in reply to michaelkellett +2
    Hi Michael The idea was to try and come up with some fun alternative projects using the "out of the box" toolkit, kids really need a lot of motivation to get past the "new toy, I made the lights flash…
  • balearicdynamics
    balearicdynamics over 9 years ago in reply to Former Member +2
    Why not interfere ? Interference and contamination is the core of the creativity
  • balearicdynamics
    balearicdynamics over 9 years ago in reply to shabaz +2
    Hi Shabaz, about the scrolling problem I have "discovered" (at the moment I have not yet read anywhere a decent documentation on all the - poor - editor features) that when you right-click on a object…
Parents
  • michaelkellett
    michaelkellett over 9 years ago

    Lucie - you've rambled a bit (in a nice way) so I can't quite understand why you are bothering with the Codebug and Blockly at all.

    I totally agree that (good) programming is hard enough without being encapsulated in a jigsaw so I've a bit lost sight of where you are trying to take your Codebug. (Mine's in a  drawer somewhere, all interest being lost once I had looked at the board and knew what the processor was and pretty much how it's connected up.)

    I think you could easily program it using a cheapo PIC programmer and a real C compiler - but I'm sure you know that - hence the question ?

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 9 years ago in reply to michaelkellett

    Hi Michael

     

    The idea was to try and come up with some fun alternative projects using the "out of the box" toolkit, kids really need a lot of motivation to get past the "new toy, I made the lights flash a bit, i'm bored now" phase - I saw it happen for myself!! A 9 year old that loves to fiddle with things like this and the targeted projects just didn't appeal to him... next stop minecraft! Inspiration beyond curriculum styled examples is needed!

     

    There's a lot of potential possible but a lot wasted too...

     

    and a piezo speaker would have been nice.

     

    Hi Enrico!

     

    I really didn't want to interfere with that side of things hah! but Codebug does need a bit of help to come out of his shell... A run through of the compiled files, and the other compiled firmware files for using the Python methods and an i2c port monitor/logger... Might be tempted to sneak a few extra tricks onto it image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 9 years ago in reply to Former Member

    Why not interfere ? Interference and contamination is the core of the creativity image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • balearicdynamics
    balearicdynamics over 9 years ago in reply to Former Member

    Why not interfere ? Interference and contamination is the core of the creativity image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube