Blot're Javascript Weather Client

Hooking shit up to Blot're just got easier thanks to Blot're.js. Blot're.js is a thin Javascript / Node wrapper around the Blot're REST API that can help you quickly query, obtain user authorization, and perform update operations against Blot're. The best way to learn is by doing, so let's…

Blot're

Social networking is dead. And good riddance. It's 2015, nobody has time for all that text and all those pixels anymore. And frankly, there just aren't enough people in the world to justify further investment. So while Big Social panders to the world's meager six billion remaining unconnected future consumers…

Stupid Template Tricks - Pride and Parser Combinators, Part Two

Previously, we started work a small C++ template compiletime, parser combinator library. We covered compile time strings, parser data structures, a few basic combinators, and parsers that consume input. This time around, we'll continue to create a more complete library of compile time parser combinators. We'll take a look at…

Stupid Template Tricks - Pride and Parser Combinators, Part One

It is a truth universally acknowledged, that a template metaprogrammer in possession of a domain specific language, must be in want of a compile time parser. However much a game of compile time snake may be enjoyed by such a programmer, this truth is so well fixed, and the problem…

Stupid Template Tricks: Snake Part 2 - Interactive Nibbler

Compile time Nibbler, man. We gotta get this sucker done. Last time, we got so caught in metaprogramming that we ended up with a state machine. To play a game, you had enter all of the commands ahead of time. That's pathetic. Is that what you want to do with…

Stupid Template Tricks: Snake

Conway's game of Life may be mathematically interesting, but it is not what most people would consider a real game. So let's take a look at another product of the 70's, the arcade game Snake. This post walks through a complete, compile time implementation of a Snake game using C…