A few months ago (fall of 2015), my 6 year old daughter saw a crochet kit at a bookstore. It was the kind of kit that comes with a crochet hook, yarn and a book of patterns. There’s enough yarn to create two small projects and hopefully get you started with a new hobby. My […]
A WatchMeCode subscriber recently emailed a question regarding some code in my Variable Scope episode (part of the JS Fundamentals series). In her question, she points out some code from the episode, wondering if it is still considered an Immediately Invoking Function Expression (IIFE) or not. I watched the variable scope episode and you initially […]
At the Nodevember 2015 conference, I gave a talk titled “A Telegraph To The Future Of Web Apps”. This talk is very much the “why to” of human communication, messaging in software, and how software reflects the way we work together. The Nodevember conference had all of the talks recorded and there are a log of […]
ES6 includes a new feature called Symbols that allow you to do a number of very interesting things (if you haven’t heard about symbols yet, check out the ExploringJS chapter and my own WatchMeCode videos on the ES6/Symbols). In my exploration of ES6 Classes, I found a very interesting use case for Symbols… one that […]
It’s a common question with a dozen variations… “How do I store messages for my users that aren’t connected, with my message queue / broker?” There will be some subtle differences in how it’s asked, but the question often includes details such as a web server, a RabbitMQ instance, and clients connected via websockets. Updating […]
Someone on twitter asked me a question about promises a while back. It was a good question about the general use of reject and resolve to manage a yes/no dialog box. The short answer is always resolve with a status indicator – but I think they wanted more of the “why” than just this one specific answer. To understand why, there is some background to dig in to, first: modal dialog results and reject vs resolve.