November 2011
3 posts
I’m using supervisord to run my nodejs services on some Amazon EC2 instances and something I wanted to do was be notified when a service stops/starts/crashes. Supervisord has a feature where you can add event listeners for specific events. Awesome right!? Turns out that there wasn’t any nodejs listeners around so I wrote one. The supervisord eventlistener just emits an...
4 tags
Bypassing the bodyParser in expressjs
I’ve recently been using nodejs quite heavily at work and one of the pieces I’m working on is replacing the .NET web site with nodejs. The setup is pretty simple, nodejs + express + jade, and it works well - except for one place. On there .NET side there is a HttpHandler that accepts POST data as a string. Just getting the response from express/connect is simple, but we’re also...
6 tags
The importance of testing
From where I sit there are two types of software companies, those who test and those who don’t. But I’m not talking about testing code, because let’s be honest if a software company does not test their product in some form they’re not going to be around for long. What I am talking about are companies that test their interviewees. I have now worked for both types of...