Working with multiple of lists in JavaScript

If you’ve ever had to iterate over multiple lists at the same time or map a filtered map of a map, you’ll understand that nesting all of those blocks and callbacks isn’t very easy to work with or understand. Luckily, there’s some cool techniques that make turning several arrays (or infinite sequences created by generators, […]

D3 within React the right way

If you follow me on twitter (I’m @OliverCaldwell, if you don’t) you will have noticed that I’ve been tweeting about D3 and React a lot recently. More specifically, how to use both together in a pleasant yet efficient way. After a few weeks of thought and a couple of potential solutions actually being built and […]

Brainfuck VM in JavaScript

Welcome to 2015, I hope you had a good break! Some people may now be taking on resolutions for the year, be that to lose weight or to socialise more. I’ve opted to learn even more than usual, so that means more coursera courses and toy projects in various languages. This is where my brainfuck […]

Revisiting: Searching JavaScript arrays with a binary search

Last year I wrote a post called Searching JavaScript arrays with a binary search, it’s actually become quite popular and has seen a large amount of suggestions in the comments as well as helping out PowerArray. The problem is that it’s an untested, performance chasing, mess of a function. I’ve always wanted to redo this […]

A JavaScript / Clojure mashup

I’m going to create a nightmare inducing monster and you’re going to enjoy it. Hear me out: Data as code in plain JavaScript without a pre-compilation step or new language to learn (even if Clojure is beautiful and takes all of 10 minutes to memorise the syntax). Of course we don’t have the distinction of […]

My 2015 Bucket Set

I’m not really one for New Year’s resolutions, but this year I thought I’d create a sort of bucket list of programming related things to learn. But it’s more of a bucket set because the items are unique, I really want to focus on algorithms and data structures as well as a plethora of functional […]

My thoughts on React, Flux and Reflux

I could have used “My reaction to React, Flux and Reflux” in this title, but I thought it’d seem unprofessional, so I moved it down to the first point of this post. Because my blog is not an incredibly professional place. I spent a week of evenings and most of a weekend building an application […]

Essential Vim bundles for JavaScript and Clojure

I mention using NeoBundle in this post, but I’ve since made the switch to vim-plug. Do it, it’s wonderful. My two primary languages that go through Vim right now are JavaScript and Clojure. Obviously there’s others such as HTML, CSS and the odd bit of Java, but these two stand out since they can have […]

If you’re using sudo with npm you’re doing it wrong

I see countless developers blindly firing off sudo npm install -g XYZ and it hurts. A lot. From then on, every time you update or execute global npm commands from within scripts or tools the whole thing will halt or die when it encounters permission related problems. One “solution” I’ve seen for this is to […]