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
Garden City Rubyconf 2015 Keynote: Race Condition
Search
Sidu Ponnappa
January 10, 2015
Programming
4
1.5k
Garden City Rubyconf 2015 Keynote: Race Condition
A talk on habits, programming and motorcycles (closing Keynote, Garden City Ruby Conf 2015)
Sidu Ponnappa
January 10, 2015
Tweet
Share
More Decks by Sidu Ponnappa
See All by Sidu Ponnappa
12 Years of Ruby
kaiwren
0
74
Keynote at DevOps Days India 2013
kaiwren
0
420
Other Decks in Programming
See All in Programming
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
910
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
1.3k
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
Jakarta EE meets AI
ivargrimstad
0
510
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
Arm移行タイムアタック
qnighy
0
290
距離関数を極める! / SESSIONS 2024
gam0022
0
280
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
120
as(型アサーション)を書く前にできること
marokanatani
8
2.6k
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
The Language of Interfaces
destraynor
154
24k
Six Lessons from altMBA
skipperchong
27
3.5k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Facilitating Awesome Meetings
lara
50
6.1k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Transcript
RACE CONDITION habits, programming & motorcycles
@niranjan_p Niranjan Paranjape Founding Partner & CTO C42 Engineering achamian
@ponnappa Sidu Ponnappa Founding Partner & CEO C42 Engineering kaiwren
None
None
None
Yamaha R15
KTM RC390
Triumph Daytona 675R
None
Don’t Panic
There Are Two Kinds Of Programmers those who live in
fear and those who don’t
Fear Makes You Slow
Fear Makes You Avoid Change
Fear Causes Panic
Panic Causes Mistakes
You Don’t Learn When Panicked
Your Mind is the Bottleneck not your bike
Push Yourself to Go Faster …but without causing a panic
attack every five minutes
Do Not Trust Your Instincts
Your Human Instincts Are Wrong (especially in a new context)
Copy-Paste Oriented Development
Crunch Mode: Stop Writing Tests
Fat Controller Skinny Model
Hot Fix on Production
Default Instincts Need Re-training
None
Panic Braking (destabilises the bike)
Chopping Throttle (when getting on the gas is the right
thing to do)
Your Strongest Instincts Will Work Against You (they may even
cause you to crash)
Understand and Compensate for Survival Reactions (panic is the enemy)
You Improve What You Measure
We All Track Metrics code coverage, cyclomatic complexity, velocity…
Measurements Introduce Biases loc as a productivity metric #fail
Areas of Interest Create Biases beautifully architected codebase, no working
code #fail
Measure Everything You Can lap times, sector times, rpm, gearing…
Train One Metric at a Time it’s hard to improve
in two areas simultaneously at 100+ kmph
Local Maxima != Global Maxima sometimes improving one corner reduces
overall lap times
Focus Is A Currency
You Never Fix Two Bugs at the Same Time juggling
is for jugglers
You Always Prefer Fine Grained Abstractions decoupling help you think
more clearly
You Hate Side Effects because side effects cause bugs
You Are Always Quicker When the Architecture is Well Understood
fewer decisions, more time to think about each of them
You Are Always Quicker With A Comprehensive Spec Suite you
don’t have to evaluate side effects in your head, so fewer decisions
Focus is a Currency and everyone has a finite budget
You Spend Focus When You Make Decisions so you want
to save up for important decisions
You Spend Focus When You Make Decisions and everyone has
a finite budget
Habits Save On Trivial Decision Making all you need to
do is practice
None
Go Slow To Go Fast
Overall Consistency Trumps Spot Performance frequent death marches slow you
down
We Know Learning Takes Time
But Not Learning Takes Longer
We Know Katas are Valuable
We Treat these as Investments we trade spot performance in
the short-term for consistent performance in the long-term
CONSISTENCY
CONSISTENCY
Be an Investor invest the time it takes to get
better
Investments Take Time to Mature don’t be impatient, you will
go slower
Invest in Practice practice common decisions through drills to save
focus
Drills throttle control, braking, counter steering, lines…
Define Your Product
We Understand the Importance of Clear Requirements
We Use Tools like User Stories
We Value Clear Acceptance Criteria
Knowing Desired Outcomes Reduces Errors
Define the Product for every corner
Clarify the Tradeoffs easy to unintentionally trade entry speed for
exit speed
Tune your Markers markers are essential to optimising your cornering
Know Your Environment
Picking the Right Tools Matters ruby for number crunching cobol
for web applications
We Constantly Optimize Our Development Environments OS, shell, editor, IDE,
macros…
We Constantly Tune Our Configurations dotfiles
We Know Our Projects Inside-Out architecture, domain, ops
Choose Your Kit
Motorcycles are More Specialized than we Think
Track Bikes are Heavily Optimized posture, handling, comfort, storage, range,
mileage, power delivery, braking
Non-Track Bikes are a Bad Idea ok for MVP, but
not to scale
Customize Your Bike Further To Suit adjust brakes, lever play,
suspension, gearing etc. to your needs
Know Your Track surface, camber, corners, lines
Hack Your Habits
Instincts can be hacked turn a disadvantage into a strength
You Go Where You Look measure loc, you get loc
measure customer focus, you get customer focus
Target Fixation
You Literally Go Where You Look use this to go
faster, not just avoid crashes
When You’re Going Down, You’re Going Down
High Side
PHOTO CREDITS Raniel Diaz, https://flic.kr/p/cGsPDY ! Pair Programming, http://commons.wikimedia.org/ wiki/File:Pair_programming_1.jpg
! Lorenzo crashes out of the lead of the Valencia MotoGP. Source, Alberto Siz / AP
Q & A @niranjan_p Niranjan Paranjape Founding Partner & CTO
C42 Engineering achamian @ponnappa Sidu Ponnappa Founding Partner & CEO C42 Engineering kaiwren