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.
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).
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 [...]
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.
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 gave this talk: I know jQuery. What now? at jQuery UK 2013 (video of the talk), 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’ll start this post by saying: I very very rarely ever need a popup window, and in fact usually just include an inline overlay. But sometimes the situation comes up when I need a popup – this was one of those times. One thing that always bugged me about dynamic popup windows when compared to [...]