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

Crescent Wrenches, Socket Sets, and Other Tools For Debugging

Crescent Wrenches, Socket Sets, and Other Tools For Debugging

Software exists in a constant state of failure, facing pressure on many fronts - malicious intruders, hapless users, accidental features, and our own limits of imagination all conspire to bring our system to a screeching halt. Untangle even the most tangled of Gordian Knots by building your own toolkit for inquiry, by relying on the simplest technique of all: asking “why?"

Kerri Miller

July 01, 2016
Tweet

More Decks by Kerri Miller

Other Decks in Programming

Transcript

  1. C R E S C E N T W R

    E N C H E S , S O C K E T S E T S , A N D O T H E R T O O L S F O R D E B U G G I N G H O W T O B U I L D A T O O L K I T O F I N Q U I RY @kerrizor CodeConf 2016
  2. W H Y W O N ’ T T H

    E E N G I N E S TA R T ? @kerrizor CodeConf 2016 ! " ⚡ $ FUEL AIR SPARK PRESSURE
  3. T H E S C I E N T I

    F I C M E T H O D @kerrizor CodeConf 2016 • Ask A Question • Do Background Research • Construct a Hypothesis • Test Your Hypothesis by Doing an Experiment • Analyze Your Data and Draw a Conclusion • Communicate Your Results
  4. T H E S C I E N T I

    F I C M E T H O D @kerrizor CodeConf 2016 • Ask A Question • Do Background Research • Construct a Hypothesis • Test Your Hypothesis by Doing an Experiment • Analyze Your Data and Draw a Conclusion • Communicate Your Results
  5. T H E S C I E N T I

    F I C M E T H O D @kerrizor CodeConf 2016 • Ask A Question • Do Background Research • Construct a Hypothesis • Test Your Hypothesis by Doing an Experiment • Analyze Your Data and Draw a Conclusion • Communicate Your Results
  6. T H E S C I E N T I

    F I C M E T H O D @kerrizor CodeConf 2016 • Ask A Question • Do Background Research • Construct a Hypothesis • Test Your Hypothesis by Doing an Experiment • Analyze Your Data and Draw a Conclusion • Communicate Your Results
  7. T H E S C I E N T I

    F I C M E T H O D @kerrizor CodeConf 2016 • Ask A Question • Do Background Research • Construct a Hypothesis • Test Your Hypothesis by Doing an Experiment • Analyze Your Data and Draw a Conclusion • Communicate Your Results
  8. T H E S C I E N T I

    F I C M E T H O D @kerrizor CodeConf 2016 • Ask A Question • Do Background Research • Construct a Hypothesis • Test Your Hypothesis by Doing an Experiment • Analyze Your Data and Draw a Conclusion • Communicate Your Results
  9. T H E S C I E N T I

    F I C M E T H O D @kerrizor CodeConf 2016 “ ” THE REAL PURPOSE OF THE SCIENTIFIC METHOD IS TO MAKE SURE NATURE HASN’T MISLEAD YOU INTO THINKING YOU KNOW SOMETHING YOU DON’T ACTUALLY KNOW. - ROBERT M. PRISIG
  10. • Queue a Resque job • Bill client on internal

    accounting system client.domain_name.each do @kerrizor CodeConf 2016
  11. • Queue a Resque job • Bill client on internal

    accounting system • Use [company]'s CC to renew domain client.domain_name.each do @kerrizor CodeConf 2016
  12. • Queue a Resque job • Bill client on internal

    accounting system • Use [company]'s CC to renew domain • If registrar returns an error, retry client.domain_name.each do @kerrizor CodeConf 2016
  13. • Queue a Resque job • Bill client on internal

    accounting system • Use [company]'s CC to renew domain • If registrar returns an error, retry • After 3 attempts, requeue and exit client.domain_name.each do @kerrizor CodeConf 2016
  14. T H E S C I E N T I

    F I C M E T H O D @kerrizor CodeConf 2016 “ ” WHEN YOU CHANGE THE WAY YOU LOOK AT THINGS, THE THINGS YOU LOOK AT CHANGE. - DR. WAYNE W. DYER