Technology

Managing Async Dependencies with JavaScript

5 minute read Modified:

Managing asynchronous dependencies with JavaScript can be a nightmare. But there's a better way. It's called Fetch Injection.

I’ve long been inspired by the work of Steve Souders. In 2009 he published an article titled Loading Scripts Without Blocking, which I first became aware of and studied during my time at Orbitz – where every millisecond a user waited for the page to load had a measurable impact to the business.

Steve’s work was instrumental for the Web development community, and even inspired Nicholas C. Zakas to write Loading JavaScript without Blocking the same month Steve’s book Even Faster Web Sites was published.

Initial Commit: Why I created Hack Cabin

5 minute read Modified:

Welcome to Hack Cabin. Learn about the site architecture and why it was built.

Back in 2008 I started my first blog. Its original incarnation was a WordPress site hosted on Bluehost. I’ll never forget the countless hours I spent wrestling with WordPress plug-in updates, sweating my database back-up process, fighting the content editor to produce valid markup and, on at least one occasion, losing several hours of work as a result of clicking the wrong button somewhere. WordPress was complicated and it sucked.

WordPress was complicated and it sucked.

Beyond Incognito

2 minute read Modified:

Browse the Web more securely.

I read an article on Medium titled How to encrypt your entire life in less than an hour. The article provided a number of tips for staying secure digitally. One of the tips was to use the TOR browser because popular browsers such as Safari and Chrome were not private enough – even in private mode.

What the author didn’t tell you was that it’s possible to increase your privacy without switching browsers using Dan Pollock’s hosts file. A quick look at the file describes exactly what it does…

How to Make a Branded URL Shortener for your Blog

3 minute read Modified:

There are many URL shorteners you can use to create tiny URLs for sharing on social media, but it's easy if you make your own branded short links.

Tiny URLs, otherwise known as short links. We’ve all used them to shorten URLs. Sometimes for sharing y2u.be videos. Or to make some 🧀 using amzn.to. Perhaps even to view someone else’s analytics data. And though some may lead you to believe short URLs can be dangerous, used thoughtfully they make a useful addition in your link building strategy. Learn how to make your own branded tiny URLs free in under 5 minutes.

Hugo's Fastest Theme Gets a New 404 Page

2 minute read Published:

The Devil is in the detail. About the After Dark 404 page redesign.

As mentioned in Initial Commit, Hack Cabin is powered by the open source After Dark theme for Hugo. When I originally created the theme in , the 404 page contained an MP4 throwback video paying homage to a certain popular screensaver introduced by Berkeley Systems for the Macintosh in 1989.

The video, and the After Dark theme name, were inspired by a website with an interactive After Dark simulator. And though unlikely either of us will ever be sued by Berkeley Systems, I’ve decided to retire the original video, and replace it with a new animated 404 page.