"Every crisis is an opportunity to shrink or expand."
"Twenty years from now you will be more disappointed by the things that you didn’t do than by the ones that you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover."
— Mark Twain

Corner office

garrettdimon:

Of course ‘painfully’ is subjective, but the point is that almost all bootstrapped startups take longer to rampup than you’d like as a founder. That means a year or three of living in two worlds and juggling bill paying work with growing that side project.

The absolute best way to grow a side project into something big enough to sustain you is to have realistic expectations. A big dramatic switch from a 9-to-5 to a side project almost never happens overnight.

On a related note, it’s useful to remember that having something grow too fast means you’re going to be spending a lot of time playing catchup. So slow and steady isn’t always a bad thing as long as you’re ready for it.

"My next step is a small step in a long journey."

The blue-ray player’s remote has been missing for a while. I was looking for it today. I thought there would be a pretty good chance that it would be under the sofa seat.

So I lifted up one seat. I did not find the remote. Instead I found

  1. One tennis ball
  2. One telephone handset
  3. A marble
  4. A hairband
  5. A post-it pad
  6. A ziplock bag
  7. A candy wrapper
  8. A gift wrapper

Still looking for the remote.

A view from my office.

Spilled coffee, but I did not get it on the mouse

I ran into the weirdest error. The computer started saying sudo: unable to resolve host dev-pomsapp, whenever I ran chef-client. Even when I did vi.

The solution was pretty straightforward.

  1. Run “sudo hostname <hostname>” and set the hostname
  2. edit /etc/hosts and add an entry for your hostname, just like localhost. Use the same name as the hostname you specified above.

The reason this happened, is because chef’s “set_fqdn” command is not working properly and setting the hostname.

BTW if you dont care about the host name, you can just run the first command like this “sudo hostname localhost”. Since localhost is already defined in /etc/hosts, you dont need to do step 2.

def merge_into_string(animal, second_animal, action)
  template = 'The <%=animal%> <%=action%> the <%=second_animal%>'
  ERB.new(template).result(binding)
end

merge_into_string('tiger', 'deer', 'eats')
=> "The tiger eats the deer"

merge_into_string('bird', 'worm', 'finds')
=> "The bird finds the worm"

The above example is from Clint Pachi at Ruby: Merging variables in to a string