The Lapidary Lemur

Musings from Brandon Weaver

A Burgeoning Blog

Why do people bother to blog? Very few must have anything truly breathtaking to say, at least not to the caliber of other writers already out there. I get it, it’s intimidating to publish when there’s already so much good content out there already. There’s always a fear of looking the fool, saying the wrong thing, or otherwise just doing a poor job of it. So why should you even bother?

Sanctimoniously Self-Made

In this industry, and especially in American in general, we place great value on being a self-made person. Beating the odds, overcoming adversity, and coming out on top. I fear that such an attitude is extremely toxic for one key reason: there’s no such thing as being self-made.

Reveling in REST

Services are always the last thing anyone mentions in conjunction with Angular, despite being the single most important part. It rather well kills the point of having a frontend framework if you can’t even get data properly from your respective backend. Great! Now that we have that out of the way, let’s dive right into how to implement a RESTful client in Angular to get you up on your data in high fashion!

…except if you’ve already tried, you noticed quite the disconcerting truth. Angular is Javascript, and like its kin it has as many implementations of REST as there are people who are capable of making one. A few might chuckle to themselves on the fulfillment of the LISP curse, but fret not! There is hope yet, or at very least someone with enough patience to lay out a few options worth looking into so you don’t have to.

The Frivolous Frontend Framework

Many a hardened Rails programmer will swear by their ERB or HAML, shaking a fist at the sky decrying the acolytes from the land of Javascript for their frivolous frontend frameworks.

“Who needs them!” they say haughtily. “jQuery has sustained us perfectly fine, and our applications are not nearly large enough to warrant the extra overhead! Why would any of us use a frontend framework?”

Yet there are those of us, standing upon the hill, pilgrims from the unholy land of Ajax Callbacks and Asynchronous Updates, looking upon them with something akin to pity.

Many Woes With Many to Many Relations

Rails provides us with a lot of power in routing and associations, but if you’ve ever tried to set up an API with any form of many-to-many relationship, you’re in for a nightmare. Google won’t save you, the Rails guides are sparse, and there’s a grand total of one good blog post on the matter from a few years ago.

Getting Cozy With the Command Line

To some, the command line is a truly frightening beast. To be fair, when I began, it really was. Who in the world would ever want to sit around in a prompt when there are such beautiful visual editors out there? It seems so counterintuitive that no one should ever want to go that way.

Yet here we are. The great bearded ones hammering away in their prompts, invoking vim wizardry, emacs enigmas, and unix hackery. What makes them so cozy?

The Functional Side of Ruby

Many people come into Ruby from a C-based language background, and are quick to use only what they really feel comfortable with that has a direct parallel in their language of choice. Doing so, you miss out on all types of wonderful features of Ruby, and in this post we’ll cover a few of them.

Automate It

The better programmer is not the one who flies across the keyboard, generating hundreds of lines of code, but the one who has but a few strokes that do the same work in half the effort.