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.

Initial Commit: Why I created Hack Cabin

5 minute read Modified:

Welcome to Hack Cabin, a JAMstack site. 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.

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.

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.

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.

Become a Digital Nomad in Bali: The Lost Guide

18 minute read Modified:

Everything you need to know to become a Digital Nomad in Bali.

If you live in a First World country chances are you’ve become a wage slave like I was before quitting a six-figure job to gain my independence. Or maybe you’ve already started freelancing and want to become a better freelancer. Whatever your reasons, becoming a Digital Nomad in Bali is not as difficult as you may think. But it takes preparation.

In this guide I will share valuable information and resources to help you decide if Bali is right for you, describe various move considerations, explain how to actually make the move and show you what’s necessary to get settled in.

Becoming a Better Freelancer

8 minute read Published:

Avoid making mistakes as a freelancer by learning from the hard lessons of others.
Shortly after leaving a six-figure job to gain my independence I found myself scrambling for work. I wasn’t sure who my ideal clients were, and that lead me learn a few hard lessons early on. In this post I will explain the mistakes made and the lessons I learned as a result. I will then share a book I’m reading, and how it can help you avoid my mistakes to become a better freelancer.

Turn the tables — How to Attract Beautiful Women on OKCupid

7 minute read Published:

Forget statistics. Use guile and cunning to attract beautiful women on OKCupid.

A friend once told me dating is a numbers game. Like myself, he was divorced. And we had both signed up for dating services several years ago.

We took different approaches to dating. My friend took a more conventional approach and joined a paid service, whereas I started using OKCupid .

Over the last few years I’ve used OKC to read hundreds-upon-hundreds of online dating profiles, surrendered dozens of hours chatting and seized the opportunity to go on some thrilling dates (and some chilling ones too).

To improve my chances I read research articles about exactly what to say in a first message – how words like “zombie” and “pretty” improve response rates from women. But what follows is nothing like that.

Beyond Incognito

2 minute read Published:

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…

Why I Left A Six-Figure Job To Gain My Independence

3 minute read Published:

Live life on your own terms. The money simply isn't worth it.

It was last Spring. I was at my favorite watering hole the night before, after a recent break-up. I drank too much, stumbling home with disappointment realizing I wasn’t living the life I wanted. I had given up my dream of independence for money.