Skip to content

Instantly share code, notes, and snippets.

View jamesgary's full-sized avatar

James Gary jamesgary

View GitHub Profile
@jamesgary
jamesgary / gist:5485643
Created April 29, 2013 23:35
Incremental Design - Rebecca Miller-Webster and Savannah Wolf - RailsConf 2013

Incremental Design

Rebecca Miller-Webster and Savannah Wolf

  • Rebecca: Developer, Savannah: Designer

  • How do you make design changes?

  • Big redesigns are often long and frustrating

  • Designers throw the design over the wall

  • Developers either are confused by it, or 'screw it up'

  • Redesigning page by page can lead to technical debt, and is awkward

@jamesgary
jamesgary / gist:5485331
Created April 29, 2013 22:31
Object-Oriented Lessons for a Service-Oriented World - Chris Kelly (@amateurhuman) - RailsConf 2013

Object-Oriented Lessons for a Service-Oriented World

Chris Kelly (@amateurhuman)

  • Works for New Relic as Happiness Engineer
  • These aren't hard principles, mostly ideas for now
  • Monorail - Monolithic Rails App
  • Network-based application software instead of SOA
  • (not necessarily building 'service')
  • Monorail (which is a mess) <-> Cache <-> Database
  • Your app is a special snowflake that breaks every time something changes.
  • Apt metaphor: Crystaline architecture shatters when a small thing changes
@jamesgary
jamesgary / gist:5485061
Last active December 16, 2015 19:29
Testing HTTP APIs in Ruby - @shaiguitar - RailsConf 2013

Testing HTTP APIs in Ruby

@shaiguitar

  • Everything as a service
  • Test it!
  • Problem statement: Testing a server/client HTTP API
  • Good plan:
    • Create API
    • Build client lib that can be used in confusmer apps
  • Make it easy for consumer apps to test w/ our client library
#!/usr/bin/env ruby
require 'rubygems'
require 'gmail'
class SecretSanta
class << self
def get_secret_santas(people, couples)
invalid = true
while(invalid) do