Category Archives: Tech Tips and Tutorials

Programming is About People


It’s easy to think about programming as an exercise of computers, or of languages and design. But at its heart programming is just about people. I bring this up because it’s so easy to lose sight of the fact that people are who you’re really programming for, and I just need a reminder sometimes. Maybe […]

Programming is Storytelling


I was pair programming recently, and I had a bit of revelation: programming is just storytelling. I was “leading” at the time, the more experienced of us in the problem space we were in, and my partner seemed to need the most help seeing how all the little bits fit together into a coherent and […]

When Programming, You Must Name Things


Programmers can spend a lot of time worrying about, thinking about, and optimizing the way that the code they’re writing looks. Whether it’s language designers obsessing about the way that you’ll find the length of string or language-users sweating about whether the function should be called findClassById() or get_class(), all thinking about naming is arguably […]

Why I Wish I’d First Learned Programming in Sass


Sass logo

Sass lets you code CSS stylesheets the way you would write other software. I just got done with a huge client project that relied heavily on Syntactically Awesome Stylesheets (Sass), the CSS preprocessor. Sass, which we’ve written about a few times, lets you code CSS stylesheets the way you would write other software, using functions, variables, inheritance, and […]

Preserving readability with variable text and background colors in Sass


Sass logo

This is a third post exploring applications for Syntactically Awesome Stylesheets (Sass), the CSS preprocessor that can really turbocharge how you create and modify CSS. Today we’ll be exploring a function called ensureTextContrast() that lets you rest assured that, across two arbitrary font and background color combinations, the font will be light or dark enough […]

rUp: A Sass Function That Offers a Powerful Alternative to Ems


Sass logo

This is a second post exploring applications for Syntactically Awesome Stylesheets (Sass), the CSS preprocessor that can really turbocharge how you create and modify CSS. Here we’ll be looking at a very simple Sass functions I’ve written called rUp, which I think is a generally-better alternative to CSS’s default em specification. The code @function rUp($multiple: […]

The Two Root Causes of Software Complexity


With a few notable exceptions, software makers hate dealing with preexisting code. Sure, they’re happy to have tools that solve problems they have, but give them a bunch of code that “mostly solved” an existing problem or the opportunity to start over from scratch, and many would blindly pick starting over from scratch. Easy-to-work-with software […]

Why You Should Write Down Your Passwords and Never Reuse Them


There are a few commonly-known password sins, in rough order of how I think most people think of them: Writing down your password. Telling someone else your password. Reusing a password. Of these, many people — myself included — were historically led to think that the first is the worst. Back in the old days, […]

A Simple Introduction to How Password Storage Works


One of the most interesting things that I didn’t understand before I really spent much time learning about computers is how passwords work. It seems kind of stupid, but it’s an interesting and important question: how is a site validating that you’re you? The Naivest Possible Password System Well, pretty simply, you can make a […]