How I Learned Red, Green, Refactor from Airbnb
By Annie Hedgpeth · June 7, 2016
How I Learned Red, Green, Refactor from Airbnb

Red

Two summers ago I had booked a place on Airbnb for a vacation, and in return Airbnb had asked if I wanted to rent out my place. I’ll try anything once, so I did it. I figured that we could just book it once and use that money to go on a vacation. (And we did! We totally broke even on the deal, including gas, food, and entertainment.)

The one hiccup in the plan was that we couldn’t check the guests in personally because my husband wanted to get on the road early to go on our vacation. So we were driving the 10 hours to Taos, NM, and as with any long road-trip, you know that you experience several drops in phone signal, sometimes for quite a long time.

I had lost my signal for probably an hour as we drove through the eastern portion New Mexico, and suddenly I get about

10 texts and voicemails all at once.

“Hello Mrs. Hedgpeth, we’re getting an alarm from your home. Since we can’t reach you, we will dispatch police.”

then,

“Hi Annie, this is Emily, your Airbnb guest. We got in and the alarm was on, but you didn’t give us the code. Can you call me ASAP!”

followed by,

“Annie, it’s Courtney. Your guests set off your alarm. The police are here. What’s your code? They can’t turn it off.”

and then,

“Hi Annie, it’s David from across the street. There are cops going into your house. I’ll keep you updated.”

I. Lost. It. It was a good thing I wasn’t driving. I was so mad at myself. I thought I had thought of everything. Now I had to spend the rest of my day cleaning up the mess I had created.

I vowed to never rent my house out again.

I told myself that I was just not cut out for it, that there’s just too much to think of and too much that can go wrong.

I was totally right about there being too much to think of. And there’s a lot that can go wrong. Unfortunately, I couldn’t quit because I had already booked the house out two more times after that, and we had already planned on using that money for two other trips. I had no choice but to suck it up and figure it out.

It was time to start making some lists. First, I made a list of everything that had gone wrong in that little scenario, and I made a plan to remediate it for next time. Then I made a list of everything that I had done in order to prepare, even down to the most minuscule of details.

AirBnb

Green

Now that I had the safety of my lists and processes, I was ready for our next booking. I was still a little afraid that I’d forget something, but my mindset had changed. Sure it would have been a big bummer if something else had gone wrong, but it would just serve to give me more data that I could use to further improve upon my processes.

I’m happy to say that the next booking went off without a hitch. And, in a very short time I had the coveted title of Superhost.

And I even exceeded the requirements!

AirBnb success metrics
  • You must host 10 trips within the last year. I did 25.
  • At least 80% of your reviews need to be five stars. Mine was 100%!
  • Superhosts maintain a 90% response rate or higher by responding to guests quickly. Mine was 100%!
  • Superhosts don’t cancel confirmed reservations unless there are extenuating circumstances. I never canceled.

Refactor

With each booking (I went on to do it for another year after that) I improved upon my system. There were little things that I had to add to the list here and there that only served to make the experience better for all involved. I even wrote a 40-page house manual with every detail you could ever hope to know about my house, from how to work the washer to where the nearest hospital is.

Workflow

So how does that translate into technology for me? Most of you devopsy, unit tester types already know all of this, but for me, it took a really frustrating two days at the coffee shop to be reminded of the importance of a good workflow.

Coffee Shop

We have been without internet at the house for a week (thanks for nothing, Frontier FiOS), so I’ve had to spend many long hours at the coffee shop like a vagrant. Working without big monitors in a public place is enough of a challenge, but then when you’re scattered in your mind without a proper workflow, then you just totally set yourself up for wasting a whole lotta time.

You start on something…find an issue…it reminds you of another issue, so you go to it…you forget about the first thing…you can’t figure out the second thing, so you go back to the first thing…you don’t remember it, so you have to retest…someone you know walks in, so you say hi…you think you know how to solve that second problem now…your favorite song comes on and your mind wanders…and so on.

It’s a frustrating, jumbled mess! But knowing is half the battle, so as I’m trying to write my control tests and remediate through kitchen, I have a simple plan that will keep me on the straight and narrow:

Red—write a control and make it fail

  • Run kitchen converge to make sure my machine is in the latest state
  • Run kitchen verify to run InSpec on the latest state of said machine
  • Write a control for the current test I’m running
  • Run kitchen verify again to see if it failed

Green—fix the control with Chef

  • Remediate my failure through a resource in my cookbook in kitchen
  • Run kitchen converge to fix the problem
  • Run kitchen verify again to see if it fixed it

Refactor—make sure I have a good solution going forward

  • Clean up—is there a better way
  • Check In—a little at a time because when it breaks it sucks, and it’s hard to figure out where it broke

Concluding Thoughts

When things are all in a jumble, and I’m confused and frustrated and mad, it’s easy to tell myself some pretty self-defeating junk. But focus is so simple and so powerful. And in the past when I’ve really focused on things, like Airbnb, I’ve had great results. I know that the same will be true for my IT pursuits, and I’m excited to see what happens.