My name is Dan Sowter, and I like the internet.

Jan 22

#coffeescript #middleman #handlebars

Adding recent tweets to my static site with coffeescript

I recently began redesigning my blog, and settled on middleman. Things have been going swimmingly, and I'm now happily deploying with a simple “middleman sync” to S3.

Today I decided a list of my most recent tweets would help bring things to life a little, and I took it as an opportunity to get playing with Handlebars. We'll be using the excellent handlebars_assets gem.

Jan 9

#mongo #rspec #rails

MapReduce and Hairloss

tl;dr

rake db:mongoid:create_indexes

will create your mongo collections to avoid intermittent CI failure hell.

The problem

Mongoid doesn't create collections in an eager fashion.

This wouldn't be a problem, except we're good little ruby citizens performing TDD, with a random test order, and a request spec happens to attempt a map/reduce on an empty collection.

Jan 9

#startups #video

What Goes Wrong

Jessica Livingston, Partner, Y Combinator

Slides

Determination

  • Resilience (resists backwards)
  • Drive (pushes forward)

Rejection (why you need resilience)

  • Speaks about AirBnB
  • Started as a website for people to rent out airbeds for conferences.

Jan 8

#startups #video

The Only Things That Matter

Tom Preston-Werner at Startup School 2012

People are the only thing that matters.

  • Founder of Github.
  • Called himself the 'Janitor' – went around fixing things.
  • Titles are bullshit. Too much to do for anyone to specialize

Jan 29

#rubyonrails #rspec

Mailman Guide

Mailman is an incoming mail processing microframework (with POP3 and Maildir support), that works with Rails “out of the box”. - Jonathan Rudenberg, author of Mailman.

I came across mailman a couple of weeks ago on Railscasts, and immediately began looking for a chance to implement it in my work at NetEngine.com.au. Things set off quickly, starting with Ryan Bates’ code and ideas and going from there, but I don’t have very much experience just yet in the ruby/rails world and I quickly ran into some problems that I couldn’t just fix with a quick trip to google and stack overflow. Realising of course, that everything I’ve learned about Rails is these last couple of months since I began has come from someone who’s taken the time to put together a tutorial, I thought I should boot-up DanSowter.com and start writing something that might help the 10 people with less experience than me.