Archive for the "javascript" Tag

Automatic permalinks for blog posts

There’s been so many times that I’ve wished I could quickly link to a specific headline in an article, but there’s no id attributes on the tag…so I can’t. But then there’s nothing I can do to fix it, because it actually requires the blog author to overhaul their site to add ids to all […]

Where is that console.log?

Did you ever have phantom console.log – or more specifically you’ve no idea where it was happening? I have. This tiny bit of code will help you identify where the logging is being called from. The nice thing is it works in the browser and in node.

Feature based development

Recently we changed the way we were working on JS Bin. Instead of pushing new features whenever it took my fancy – which could result in success or equally some kind of breakage – we’re now pushing new features under feature flags and it’s proving to be really quite powerful (and fun).

nodemon 1.0

For the past few months I’ve been working on a re-factor of nodemon. The two main drivers were to make the code base easier to maintain and to make nodemon more extendible. Nodemon is a command line utility to detect file changes and restart your application. Typically node apps, but it can restart any kind […]

How I fixed an anonymous infinite loop in jsbin

If you’re a frequent user of jsbin, you might have noticed that on the odd occasion that it was unreachable. I’ve got alarms in place that notify me of problems, but the root cause was unknown to me. The result looked like an infinite loop, but how to find that code was a mission.

tracegl for JavaScript debugging

In preparing for my new Node workshop (tickets go on sale Wednesday 10am – set alarm!) my tool of choice used to be node-inspector but development has gone idle (for a year to date) and it’s showing it’s age. However, recently I came across tracegl I was intrigued as it looked to add to my […]

I know jQuery. Now what?

I gave this talk: I know jQuery. What now? at jQuery UK 2013 ((, but instead of my usual approach of post-it explosion on my desk, I wrote a post first, and created the slides from the post. So here is my (fairly unedited) quasi-ramble on how I used jQuery, and how I’m looking at […]