My new prompt (oh-my-zsh)

I’ve rewritten this in fish shell functions since writing this, you can find that in a gist. I’ve been thinking about my terminal prompt recently, more specifically my oh-my-zsh theme and what I actually need it to show. I’ve been using the “clean” theme since I began using oh-my-zsh but I’ve realised I basically ignored […]

Wrangling JavaScript with Vim

I’ve created a few posts on here about writing JavaScript with Vim, this is because it’s what I do all day (and night) long, I’ve refined my editor to make writing this slightly questionable language as easy as possible. I’ve now hit a point, once again, where I feel like I should share my tooling […]

Lazy arrays in JavaScript

So I built a thing called lazy-array. It came off the back of a tiny gist and grew into something quite powerful (if I do say so myself). This project allows you to define lazy arrays in JavaScript, surprisingly enough, but what are they? Lazy arrays A lazy array is a sort of collection that […]

Things I learned about Docker the hard way

This list was just ripped from a Google Keep item I wrote late last night, just wanted to share. A process per container is noble but hard for existing projects. Use one container if you have multiple components with a startup order / dependency. Write a script to manage the processes. When you build a […]

Some thoughts on Prolog

I usually write some notes as I read and work then pad those notes out into a full post after I’m done with the chapter. This time I’m just going to publish it as is (pretty much). Initial thoughts Very concise. Beautiful, after you spend hours getting it working. Reminds me of my experience with […]

Some thoughts on Io

I’m talking about the language not input/output. This whole Io != I/O thing made Googling around for documentation and examples a whole lot harder too. This was the second language from the book which, on the whole, was a pleasant experience. My source code for the exercises can be found in my languages repository. The […]

Some thoughts on Ruby

You may have noticed that I recently started working my way through Seven Languages in Seven Weeks (which will be shortly followed by Seven More Languages in Seven Weeks). I almost definitely won’t finish in that time frame with Coursera deadlines looming ever closer, but it’s worth a shot. I finished the first chapter this […]

Making El-Get sync like vim-plug

As my post from last night says, I’m giving Emacs another go. And in an even older post, when I was trying Emacs for the first time, I show my approach to getting my packages syncing like I do in Vim (spoiler alert: It didn’t work very well). My Vim setup will remove unused packages, […]

Giving Emacs another chance

I was originally going to call this post “Attempting Emacs 2: The Re-Emacsing – A Vimmers tale”, I thought better of it. As you may have noticed from my tweets over the recent weeks, I’m infatuated by Clojure among many other languages that aren’t the one I’m paid to write (JavaScript). I’ve been planning on […]

A quick reflection on Algorithms

It may not be completely over just yet, but I’ve gone as far as I can in Algorithms, Part I from Princeton on Coursera. It was an interesting course that ultimately defeated me in some areas, but taught me quite a lot along the way. I’ve given up on the very last part though since […]