Getting to Know Vault

Oct 23, 2017 - 13 minutes
What is Vault? Vault is a secrets management tool from the excellent people at Hashicorp. A constantly evolving solution, based on academia, that always passes security audits with flying colors. It feels like using an encrypted Redis or Memcached. From the website - https://www.vaultproject.io/ Vault secures, stores, and tightly controls access to tokens, passwords, certificates, API keys, and other secrets in modern computing. Vault handles leasing, key revocation, key rolling, and auditing. Read more ...

Open-source Software Pipeline

Sep 10, 2017 - 7 minutes
The following is a demonstration of the build pipeline I use for my personal projects. Creating a repository To start, I create a repository on Github. This whole process supports a ton of different languages, but I’m going to write a simple console app in Go. Checkout repository to local file system Go has a convenient command for checking out the repository and automatically putting it into the correct path in my GOPATH. Read more ...

Creating a WebRTC Data Channel

Apr 19, 2016 - 5 minutes
I was recently learning about browser-based game development and was wondering about multiplayer games. WebSockets are super easy to work with but are they any good for games? The answer is yes and no. If you make a turn-based thing that doesn’t require up to the millisecond updates then WebSockets are the way to go, but for any fast-paced games they’re just not up to scratch. WebSockets are built on TCP, a reliable messaging protocol that ensures all data arrives and that it arrives in order. Read more ...

Bundling React with Webpack

Jan 31, 2016 - 6 minutes
A common complaint of the JavaScript ecosystem is the incredible rate of change. “Why bother learning any JavaScript frameworks when they’ll just be defunct by next week?” - Tommy Developer Tommy is kinda right. Every week there’s a new popular Github project, and now some JavaScript frameworks have even started to deprecate themselves with a new release. I believe that you can mitigate this problem, though, by choosing a framework or library that embraces a larger architectural movement. Read more ...

Array.prototype.reduce - The Daddy of JavaScript Array Manipulation

Jan 9, 2016 - 2 minutes
Shout out to mpjme’s YouTube channel that inspired this post - see the video here: https://www.youtube.com/watch?v=Wl98eZpkp-c What is Array.prototype.reduce? Array.prototype.reduce is a function on the Array prototype in JavaScript. Its purpose is to do some sort of operation on each element in an array and then return a result of some type. arr.reduce(callback[, initialValue]) The initialValue is optional. It is often things like 0, [] or {} but it can be whatever you like. Read more ...