Building a back-end API layer introduces a whole new layer of coordination between server and client code. While there are many aspects to this delicate dance of communication, one key ingredient to minimizing back-and-forth-confusion-about what-call-does-what, is consistently communicating about your API endpoints. This is by no means rocket science, but over time I’ve created a […]

Tagged:

It seems that just about every time we talk about the trainings we do at the Bocoup Loft in Boston, people ask us whether we will ever do trainings in other cities. While we’ve done a handful of trainings in conjunction with conferences such as TXJS and the jQuery Conference, today we’re excited to announce […]

Tagged:

00000001 // 1 — truthy, so LED 7 is ON Throw in the iteration from 0 to 255, a timeout, and some Johnny Five code, and we end up with this: Part 2: Learning to Write If all we wanted to do was count from 0 to 255 in blinking lights, then the best we […]

Tagged:

Welcome to the third tutorial in our series geared towards Arduino programming on Node.js, using the Johnny-Five framework. Get caught up here. Johnny-Five is a Firmata based Arduino programming framework. See: JavaScript: Arduino Programming on Node.js. In the first tutorial you created a program to control a servo via REPL; then, in the second tutorial […]

Tagged:

The things we’re asking JavaScript to do are getting more and more complex by the day, and that means that manual testing — the good old “click around and make sure nothing’s broken” — is becoming less and less effective. If you’ve run into this in your work, you probably know that you ought to […]

Tagged:

I got to hear some great presentations and have some great conversations at last week’s inaugural Backbone Conf, and one thing that came up over and over again was how to effectively communicate between views in client-side applications. There are lots of patterns for doing this — and we love talking patterns at Bocoup — […]

Tagged:

When analyzing and visualizing a new dataset, you’ll often find yourself working with data over time. Most software assumes that the data in a time series is collected at regular intervals, without gaps in the data: while this is usually true of data collected in a laboratory experiment, this assumption is often wrong when working […]

Tagged:

I’ve just returned from the future, and I have a lot to share with you. World news, sports scores, market changes, all that stuff can wait. First, we need to talk about third-party JavaScript. There’s a great deal of browser technology on the way that will affect the way you write code. Here, I’ll focus […]

Tagged:

CC BY-SA

Welcome to the second tutorial in our series geared towards Arduino programming on Node.js, using the Johnny-Five framework. Get caught up here. Johnny-Five is a Firmata based Arduino programming framework. See: JavaScript: Arduino Programming on Node.js. In the previous tutorial, you created a program that gave you a simple REPL control interface to a servo […]

Tagged:

This is the first tutorial in a new series geared towards Arduino programming on Node.js, using the Johnny-Five framework. Johnny-Five is a Firmata based Arduino programming framework. See: JavaScript: Arduino Programming on Node.js. At the end of the first article, I showed a simple program that would strobe an LED at the default rate of […]

Tagged: