If I wrote a text editor

A little while ago Jezen Thomas linked a video to me on twitter (non-twitter link). It’s a talk by Gary Bernhardt of Destroy All Software. Please go watch it… now. The following post may contain spoilers that could ruin an otherwise excellent talk. So after that big tableflip inducing reveal, it got me thinking (just […]

Brainfuck VM in Clojure

This is my second implementation for my repository of brainfuck interpretors, this time in the wonderful language Clojure (the first was JavaScript). It largely follows the same format of my initial machine but takes a route that I want to eventually refactor my JavaScript implementation to use as well. It builds a list of token […]

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

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