This week I refactored a Node project of mine from the traditional Node callback pattern to the recently available Async/Await pattern. This pattern is available without transpiling code as of Node v8.3. In this post I’ll walk you through a small example of this conversion. This particular project is by no means large; it consists… Read more »
Here’s a post I wrote over at my friends collaborative blog site, Code Planet: The only bad thing about ES7 async/await. It adds some further insight into the async/await constructs given to us by ES7, particularly regarding an anti-pattern which I suspect will become very common amongst developers.
Today I did a high-level presentation of Backbone.js, covering many of the same topics from my book. This video is a recording of my voice as well as the presentation. It was done in front of an audience of about 50 Barracuda Networks employees.
A friend linked to this game the other day: Cookie Clicker It’s really simple. You click something over and over, and you buy upgrades, and then some automated processes happen in the background. Open your console, and paste in the following commands. They will allow you to play the game automatically. Notice the $$; this… Read more »
Any of my regular followers are probably aware of my little adventure into the land of Haskell, a purely functional (FP) language. One of the benefits of a pure FP language is that there are no side effects when running functions. Translated, this means that whenever you run a function, given a set of inputs,… Read more »
Hi, I’m Thomas Hunter, creator of Cobalt Calibur, an HTML5 multiplayer game. I’m here to tell you about how I used the new HTML5 canvas API to provide visuals using sprite-based graphics. This is similar to how old game consoles such as the NES drew graphics. You are likely familiar with using Sprite Sheets with… Read more »