Polyhistoric Man Of The Web

Category: Programming

  • Douglas Crockford could sue the White House

    Recently, the White House switched to using WordPress for whitehouse.gov. While doing so, they deployed the most recent version of WordPress. WordPress 4.9 includes a copy of CodeMirror for an improved experience when it comes to editing code. In order to provide linting of JavaScript ,CodeMirror uses JSHint.  And this is where things get interesting.  […]

  • Random Thoughts On…Product Engineering

    Random Thoughts On…Product Engineering

    For the past 5.5 years, I've been a part of the product engineering leadership at a couple of organizations. While I'm not sure if these ideas translate to client services, I know that they have all been valuable to me as I work long term building products and brands. It's important to periodically reevaluate your […]

  • Getting started with Jest

    In the past, my automated testing for javascript was done in either QUnit if it was a browser app or Mocha if it was a node app. On a new project, I decided to kick the tires on Jest and thus far, I really like it. It did have a bit of a learning curve […]

  • Falsehoods Programmers Believe about Versions

    Inspired by the list of falsehoods programmers believe about names and falsehoods programmers believe about time, here are some Falsehoods programmers believe about Versions and some examples of the falsehoods. Versions are always numbers When versions are numbers, they will always be sequential (See PHP 6) Software never changes how they use versions (see Firefox) When […]

  • Akin’s Laws of Spacecraft Design Modified for Websites

    I have long been a believer that as creators and creatives working on websites, we can learn a lot of other fields.  One that I am constantly looking at for inspiration is spacecraft and astrophysics. Akin's Laws of Spacecraft Design are a collection of axioms collected and maintained by David Akin, a professor at the University […]

  • Bash Functions I use for access logs

    The command line is my IDE.  Vim is my editor and all the functions and programs in bash help me be a better developer.  As much time as I am writing code though, I also am often spending a lot of time looking through logs to see what is going on.  Over the last five […]

  • Color Is Based on Surrounding Color

    “The redness isn’t a property of the apple. It’s a property of the apple in combination with a particular lighting that’s on it and a particular observer looking at it.” via These X’s Are The Same Shade, So What Does That Say About Color? : Shots – Health News : NPR. Next to typography, color […]

  • Testing for Web Accessibility in 60 Seconds

    You want to make your website more accessible, but you don’t know where to start. If you have 60 seconds, I can help. via David A. Kennedy. Some great tips on how to do super simple, yet super valuable accessibility testing.

  • Aggregate Multiple Log Files From Multiple Servers

    The majority of the time I need to analyze logs across multiple servers, I use logstash.  Sometimes though I want to aggregate the actual files on the server and go through them myself with awk and grep.  For doing that, I use two tools. In my bash config, I have a function called access_concat that […]

  • Changes should happen in Code, not in UI

    If you are deploying your WordPress site, it generally doesn’t make much sense to have to go in and setup changes when you push the newest version live. When you push to production, production should have all your changes. One more benefit of this method is that you never need to be signed in with […]