In Praise of the Humble Website

The other day I had an informal talk with a friend about a project we had been offered. I can’t divulge much about the project but I can say that it has, structurally, a lot in common with an ecommerce app. Users shop a class of product and check out, they’ll also be able to use common coupon codes like the ones found on websites like Raise. Work has already been done on this app. The “MVP” that has been built has a wholly decoupled “thick client” browser-based UI built in AngularJS. I have a decent amount of experience with AngularJS as well as the other, similarly popular (possibly moreso) javascript MVC framework Ember.js.

I have seen a trend firsthand in the last several projects I have been offered – and a couple that I have taken on – toward the use of these javascript frameworks and decoupled, thick client architectures. Stunningly, in every one of these cases, the architecture is unambiguously more burden than benefit (much more, in fact) in respect of both development load and user experience.

Coolest Sidewalk Encounter!

Coolest Sidewalk Encounter!

I was walking down to my favorite neighborhood coffee shop, Porto Rico, this lazy Sunday afternoon to get a coffee when I passed by Tom Preston-Werner of Github and Gravatar fame having coffee at another neighborhood spot with his wife, Theresa. I did not wish to intrude but also felt I couldn’t let the moment pass without just making a momentary show of gratitude. To my shock he ended up asking all about my own work and we talked for several minutes about Github, Jekyll and many other things.

Insanity

Insanity

I wanted to watch Zero Dark Thirty last week. It was only available on DVD through Netflix, so I put it in my Queue and 2 days later I was watching it. Then I thought about what I had done.

Russian Doll Caching in Rails 4

Russian Doll Caching in Rails 4

Rails 4 nudges developers toward more pervasive use of fragment caching (and the so-called “russian doll caching” strategy of deeply nesting fragment caches) with the introduction of ActionView::Digestor and on-by-default appending of template digests to fragment cache keys. Though actually pretty simple in its implementation, this feature (paired with correct use of ActiveRecord’s “touch” relation option) solves most of the formerly enormous headaches you’d encounter (and still do today with pretty much every other framework) trying to implement an advanced caching strategy with largely dynamic content. I’ve been working with this technique for more than half a year now (initially using the Rails 3 “cache_digests” gem , which implemented the same functionality now available through ActionView::Digestor in Rails 4).

Back to The Future: Encrypt Emails the Old Fashioned Way – With PGP!

Back to The Future: Encrypt Emails the Old Fashioned Way – With PGP!

Since we now know that we can’t reasonably expect the emails we exchange with friends and colleagues to not be warehoused and read without our knowledge (and without a subpoena, warrant, or similar from the reading party), I want to shine a spotlight on one of the still-effective techniques available for restoring some privacy (with caveats) to personal email. This strategy is not new. In fact, it’s quite old. I’m talking about GnuGP(GPG), a FOSS implementation of the OpenPGP encryption standard, and GPGMail, an awesome plugin for the native Mac Mail client.

First Impressions of Digital Ocean

First Impressions of Digital Ocean

Digital Ocean is a relatively young VPS provider with servers in New York, the Netherlands and San Francisco. My first introduction to them was working on a web app called RapPad which helps people write and share rap lyrics and which I started contributing to a few months ago after it caught my eye on Hacker News.

RapPad’s owner, Amir, had it up on a VPS with Digital Ocean, which I was only vaguely aware of. I was pretty blown away with the slickness of our deploys (typical Rails deployment bottlenecks like asset compilation were carried out with literally 4x the speed of on my EC2 instance) and the speed with which I could traverse the file system, install packages and do various administrative tasks.

It Seems I’m In a Banner Campaign

A friend of mine told me a few weeks ago that he thought he’d seen me on a banner ad for the software freelancing site GroupTalent.  He took a screencap and I confirmed it was, indeed, me. Today, I followed a link from a news aggregator to TechCrunch and, lo and behold, I saw my likeness!  I took a screenshot, too.