Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cheap tricks for startups

Cheap tricks for startups

My talk from Monki Gras 2013 -

Simon Willison

January 31, 2013
Tweet

More Decks by Simon Willison

Other Decks in Technology

Transcript

  1. FEATURE_FLAGS = { 'new_maps': 'Uses MapBox rather than Google', 'login_picker':

    '/signin/ page with picker', 'login_linkedin': 'Sign in with LinkedIn', # ... }
  2. <div class="secondary"> {% flag topic_tracking %} <div class="icon-feature feature-topic"> <em

    class="title">Keep exploring</em> <p class="med"><a href="/topics/"> Browse and track events by&nbsp;topic</a></p> </div> {% flagactive topic_tracking %} BETA ONLY {% endflagactive %} {% endflag %} <!-- ... --> </div>
  3. Internal metrics • created_at field on EVERY table, no exceptions

    • Makes building graphs of site growth trivial • updated_at useful but not essential
  4. Our report system • Reports are arbitrary calculations • Run

    daily by cron • Backfill available on date-field based reports • Points are stored in the database • Site can graph any report • We can export any report to a spreadsheet
  5. Cheap tricks Feature flags Read only mode History table Daily

    calculated reports http://lanyrd.com/sccqcy