Month: February 2017

Windows Won't Let My Program Crash

It’s been known for a while that windows has a bad habit of eating your exceptions if you’re inside a WinProc callback function. This behavior can cause all sorts of mayhem, like your program just vanishing into thin air without read more ›

Calling Go Functions from Other Languages

Starting with version 1.5, the Go compiler introduced support for several build modes via the -buildmode flag. Known as the Go Execution Modes, these build modes extended the go tool to compile Go packages into several formats including Go archives, read more ›

Looking For The Logic Behind Logarithms

When I was first trying to figure out what topics to cover in this series, I started off by doing what any developer would do: I asked the internet, of course! Well, to be a little more specific, I started read more ›

TL;DR: Dynamo: Amazon’s Highly Available Key-value Store

Crossposted from my personal blog; part of a series of blog posts in which I try to make systems-y papers more digestible. At SOSP 2007, Amazon presented Dynamo: Amazon’s Highly Available Key-value Store. It’s the thing that “launched a thousand read more ›

How do you choose between an interface and abstract class?

I have been asking this question in interviews for some years now. I get to hear a lot of interesting answers from folks. All these answers have helped me make a great addition to my knowledge. If you google this read more ›

Leaf It Up To Binary Trees

Most things in software can be broken up into smaller parts. Large frameworks are really just small pieces of functionality that have been built up to create a heavyweight code infrastructure. Object-oriented programming is really just a bunch of classes read more ›

Automating Your Node Workflow with Gulp and Nodemon

Disclaimer Allow me to preface this article by saying that I am a newcomer to web development, and most of the veterans here will likely already know these skills. However, these are things that I found incredibly useful when I read more ›

Moving from Heroku to Linode: Part 1

Heroku is pretty great service. It takes all of the complexity of web infrastructure and reduces it down to a pretty simple interface. Deploying your app is as simple as pushing to a git repository and you don’t have to read more ›

Manage content with web components

This tutorial takes 5-10 minutes. In this tutorial you will use a web component to render content on a webpage. Once the component is in place, you’ll be able to edit the content without touching your code. Demo here Getting read more ›

Where Should Tests Live?

I came across a design question when working on elm-test recently: What if you could write tests in the same file as the code they’re testing? There are a few testing systems that support this: clojure.spec (to vastly oversimplify) lets read more ›