Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The Scientific Method of Troubleshooting
Search
Blithe Rocher
August 08, 2014
Programming
2
640
The Scientific Method of Troubleshooting
This version of the talk was presented at Distill 2014 and GoGaRuCo 2014.
Blithe Rocher
August 08, 2014
Tweet
Share
More Decks by Blithe Rocher
See All by Blithe Rocher
Microservices War Stories
blithe
1
150
The Scientific Method of Troubleshooting
blithe
1
190
The Scientific Method of Troubleshooting
blithe
0
98
Other Decks in Programming
See All in Programming
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
340
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
180
Fast JSX: Don't clone props object #28768
yossydev
1
100
#phpcon_odawara オープン・クローズドなテストフィクスチャを求めて / open closed test fixtures
77web
3
230
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
380
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
370
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
1
110
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
380
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
Anthropic Cookbook のおすすめレシピ
schroneko
7
970
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
150
Ruby Function Composition
bkuhlmann
1
330
Featured
See All Featured
Gamification - CAS2011
davidbonilla
76
4.6k
For a Future-Friendly Web
brad_frost
172
9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
The Invisible Side of Design
smashingmag
294
49k
[RailsConf 2023] Rails as a piece of cake
palkan
23
4k
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
How to name files
jennybc
65
93k
How STYLIGHT went responsive
nonsquared
92
4.8k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Statistics for Hackers
jakevdp
789
220k
RailsConf 2023
tenderlove
4
540
Transcript
The Scientific Method of Troubleshooting
@blithe
Big Nerd Ranch Atlanta, Georgia
Scientist
PhD in Physical Chemistry
Physics
Chemistry
6 Years!
Experiments
Scientific Method
Developer < >
StackOverflow
Problem solved?
Learn anything?
Most Important Part
Scientific Method
Set of Techniques For Acquiring Knowledge
Methodical
Systematic
“Has anyone seen string interpolation fail?”
Define the Problem 2 3 4 5 6 7 1
Expected behavior? ! ! !
Expected behavior? ! Actual behavior? !
Expected behavior? ! Actual behavior? ! Criteria for success?
Do Your Research 3 4 5 6 7 Define 2
Know your environment
Read the literature
Discussions
Make it fail!
Establish a Hypothesis 5 6 7 Define Research 4 3
Design the Experiment 6 7 Define Research Hypothesis 5 4
Divide and conquer!
Limit the variables
Try something weird
None
Hierarchy of Blame
Gather Data 6 7 Define Research Hypothesis Experiment 5
Current status?
Read the error message!
Analyze Your Results 7 Define Research Data Hypothesis Experiment 6
Problem solved? ! Learn anything?
Understand the Why
Future Experiments
Embrace the Success
Keep a Good Lab Notebook Define Research Data Hypothesis Experiment
Analyze 7
None
You won’t remember
Logs aren’t enough
Commit Messages
Update the Docs
Contribute
None
Share the Knowledge
! Questions? Thanks! @blithe