14 Oct
2013

Detecting the End of a Rainbow Inside a Writable Stream

Category:UncategorizedTag: :

I was implementing a custom writable stream in Node.js the other day when I ran into this issue where I wanted to know whether more data was coming or that we were actually done writing stuff. When looking at the recently revised API for stream implementers, the only thing that gets mentioned in the docs […]

Read More
15 Aug
2013

Taking Toddler Steps with Node.js – The Towering Inferno Revisited

Soon after I started using Node.js, I ran into the phenomenon of multiple nested callbacks that create some kind of horizontal tower effect. The solution I came up with in order to improve the readability of my code was using a library called step, as described in this blog post that I wrote at that […]

Read More
26 Jul
2013

Byte Magazine Archives

Category:UncategorizedTag: :

Earlier this week I accidentally stumbled on archive.org where they are hosting an extensive backlog of old issues of Byte magazine. This magazine was an American microcomputer magazine, influential in the late 1970s and throughout the 1980s (and well before my time). I’ve been skimming through a couple of these old magazines, and I got […]

Read More
31 May
2013

Taking Baby Steps with ScriptCS

I?ve been following the ScriptCS project with great interest over the last couple of months. As you may know by now, I?ve been searching for a more lightweight .NET development experience for quite some time. The ScriptCS project is here to fulfill this desperate need. Driven by the open-source .NET community, this wonderful initiative promises […]

Read More
3 May
2013

Introducing node-validation

Category:UncategorizedTag: :

Some time ago I was looking for a validation library/module for use in a small Express application that I was writing at the time. I couldn?t find anything that suited my taste so I decided to write one myself just for kicks. The goal was learning how to publish a module to npm and making […]

Read More
22 Mar
2013

Basic JavaScript: Prototypical Inheritance vs. Functional Inheritance

Inheritance in JavaScript has been the topic of many discussions in the past and will continue to be the source of future debates and arguments. While we do value composition over inheritance, we don?t want to throw the baby out with the bathwater either. So, from time to time, we run into these cases where […]

Read More
22 Feb
2013

Confessions of a Sublime Text-aholic

It’s true. I’m a Sublime Text addict. It’s by far my favorite development tool. End of story! Just to illustrate, earlier this week, a member of our development team asked how to quickly remove all empty lines from a very large text file. I quickly came up with the following: Press CTRL-F. Enable regular expressions […]

Read More