Welcome to Hack Cabin

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.

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.

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 although 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.

Bali Travel Survival Guide: Digital Nomad Edition

6 minute read Modified:

How to travel like a God during your voyage to Bali.

Inspired by an interview with Lydia Lee , who left her six-figure job in Canada “in pursuit of a path less conventional”, I decided to retrace her steps to Indonesia, to the Island of the Gods (Bali) and a place there called Ubud.

What follows is a guide to travel like a God during your visit to Bali, formed from my experiences over a three-week period in late 2016.

Landing Affiliate Marketing Partners

5 minute read Modified:

How to bootstrap a new blog and land marketing partners along the way.

In Initial Commit I explain why I created Hack Cabin. And even though I’ve been blogging for over 8 years on habd.as , Hack Cabin is a new domain and blog, with little content to show for itself at the outset. As a result of being new and not having much content, some initial challenges have arisen while attempting to monetize it via affiliate marketing :

  • Gaining organic traffic requires a link building strategy
  • Affiliate marketing partners may be leery about working with new publishers

Let’s briefly discuss each of these challenges and how to deal with them. At the end I’ll summarize what this all means to new publishers trying to land affiliate marketing partners early in a website’s life.