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 […]

vim-expand, my second {plugin,bundle}!

So I just pushed up my second ever Vim plugin, vim-expand. It allows you to expand things like {foo,bar}, {1..10} and $HOME inline with a single command. It’s not just limited to single lines though, you can also execute it on a visual range! Here’s a quick video of it in action. There’s way more […]

I want to learn stuff and write about it over 2015

I mean, I’ve been doing that on and (mostly) off for a while now, but I really want to focus on things like Khan Academy (which I’m currently using to learn more about algorithms). So hopefully you’ll see more frequent, yet short, posts on things I’ve recently stumbled across. I’ll try and write a few […]

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

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 astounding tooling if you select carefully. So can Java if you wish to go down the eclim route (which […]

Emacs: There and Back Again

So I’m back in Vim already. I gave Emacs a few months of good usage though and tried out multiple styles of configuration. At first I tried to build my own from the ground up, a la Vim, but it was too fiddly. I found Emacs to be too big to handle cleanly for one […]

Spacemacs: Emacs + Vim

This post is pretty rough around the edges. I wrote it in Google keep as notes I intended to write up and eventually publish nicely but I don’t have the time. I’ve done what I can from my phone but I just wanted to get it out there. I hope you find it useful! What […]

Understanding Emacs errors

You can probably begin to get to the bottom of most internal Emacs problems with debug-on-entry. This function prompts for a function name interactively (which also hooks into helm) and will essentially set a breakpoint within Emacs on that function. When it is called you’ll get to see what functions were called and with what […]