Blog
- CSS Naming Patterns Compared
A few weeks ago, I heard about AMCSS, a newly formalized alternative to using classes for CSS hooks. I was pretty hesitant at first – and still am to some extent – if nothing else because it just feels odd. The goal of this post is to briefly compare the most common methods of organizing CSS module classes – and…
- Perspective
Two years ago, Linds Redding passed away, about one year after being diagnosed with inoperable esophageal cancer. He was an art director and motion graphics designer in the advertising industry. He was 52 years old. I didn’t know him, but I recently read some of his blog, including a post entitled, A Short Lesson in Perspective. It’s worth a read –…
- How Double-Equals Works in JavaScript
tl;dr — Don’t use double-equals! When asked about the difference between double and triple-equals, a lot of JS developers will tell you that == compares values and === compares values and types. In other words, 1 == “1” will be true, and 1 === “1” will be false. That explanation is somewhat true, but it belies a much more complicated…
- Mozilla, DRM, and Pragmatism
Mozilla has taken a bit of a beating lately — more than their fair share, for sure. The latest trouble has been over their decision to add the Encrypted Media Extensions (EME) standard to Firefox. EME basically allows for native browser implementations of Digital Rights Management (DRM) systems. There was a lot of unhappiness about this, which is understandable. I’m…
- Old Particle App
Access it here: Bright Lights. A couple years ago, I built an app for the iOS app store using HTML5 Canvas. It was there for a year, and made a very modest profit, but it was really too silly and simple to be worth keeping there. I’ve been meaning to put it on GitHub for a while, and I finally…