Building A #BADA55 Node Development Environment: The Video!

delete-your-ide.jpg

Over the weekend, I attended and spoke at the Nodevember conference in Nashville, TN. At this conference, I spoke on the subject of destroying your IDE in favor of using smaller, light-weight, flexible and composable tooling like Grunt, Grunt-Contrib-Watch and others. I had a strongly positive amount of feedback from the session, which is always […]

Calculating Standard Deviation with Array.map and Array.reduce, In JavaScript

standard-deviation.jpg

I’ve built a handful of reports for podcasters on SignalLeaf to see how large their audience is, how the audience is listening, etc. One report that I have been wanting to build for a while, though, needs to show the standard deviation for episode listens. That is, I want to show the listens for each episode and […]

Show A Friendly Error Message If A User Specified Image URL Doesn’t Load

NewImage.png

SignalLeaf allows a podcaster to specify an image for the podcast and/or episodes. To do this, you paste a URL to an image in to an input box. It’s a pretty standard setup, over-all.  With this being a public facing system, letting people specify any URL they want often leads to mistakes – the most […]

Decorating A Backbone.Model With Features, For A UI Component

interior-decorator-pattern.png

I’m a huge fan of component based UI development – the idea of having individual functional things in a UI be an encapsulated “component”. Have a search form? That’s a component. The search results? A separate component. That menu system? You guessed it… a component. There are a lot of benefits to doing things this […]

Proper Error Handling In ExpressJS Route Handlers

NewImage.png

For a long time now, I’ve been brute-force ugly with my error handling in my ExpressJS apps. Basically, just throw the exception after it bubbles back up to the route handler. This works. If you don’t mind the app completely blowing chunks at this point and dumping itself entirely. Of course, you could put a […]

Using The NodeJS Debugger On Code Called From Grunt (And Grunt-Jasmine-Node Specs)

debugging-grunt-jasmine-node.jpg

I found myself needing to run a debugger on my Jasmine specs. The really fun part is that I am running these specs through the grunt-jasmine-node plugin for grunt. This means what I really need to do is run a debugger on top of grunt, and have it hit my Jasmine specs when they get around to being executed.

Pogo Connect vs Pencil

pogoconnect-vs-53pencil.png

If you’ve been paying attention to my blog and/or my weekly email in the last month or two, you’ve probably noticed all the hand-drawn illustrations. I can’t say I had really planned on doing this, at first, but once I started I couldn’t stop. I love drawing these little stick figures and scenes to visualize […]

Do You Polish And Shine What You Have, Or Build More?

build-or-polish.png

“I have so many things I want to do. But I’m constantly torn: should I polish the things I have in place, already? Or should I build new features that will be more attractive?” – me (basically), talking to my friend and coworker, Justin Gregory, at lunch. It’s a constant struggle with me. I see […]