Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Failure Teaches Success
Search
Hiromu Shioya
July 17, 2014
Technology
4.5k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Failure Teaches Success
2014-07-17 System Lightning Talks Bar Vol.2
"Failure Teaches Success" by kwappa
Hiromu Shioya
July 17, 2014
More Decks by Hiromu Shioya
See All by Hiromu Shioya
成長自己責任時代のあるきかた/How to navigate the era of personal responsibility for growth
kwappa
4
1.2k
礼節とHRTと心理的安全性(2025年9月版)/Civility, HRT and Psychological Safety(Sep. 2025 edition)
kwappa
0
360
はじめての転職講座/The Guide of First Career Change
kwappa
6
5.8k
My Generation 年配者がこの先生きのこるには (Developers CAREER Boost 2024 Edition)/My Generation How elder engineers can survive
kwappa
5
2.3k
三大あいまい能力/Three ambiguous abilities
kwappa
1
470
My Generation 年配者がこの先生きのこるには/My Generation How elder engineers can survive
kwappa
3
6.9k
勝ちに不思議の勝ちあり、負けに不思議の負けあり/There is a mystery to win, but there is no mystery to lose
kwappa
0
480
伸び代だらけのチームに 伸びてもらうための施策100連発/100 measures to grow up a team with a lot of growth potential
kwappa
1
390
HIGH OUTPUT Infrastructure Engineering
kwappa
1
120
Other Decks in Technology
See All in Technology
遠藤な_めぐろLT #38 「社内のAI活用推進」@麻布台_20261009
endonanana
0
110
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
880
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
0
500
おそらく日本で唯一のDevRelインターン生として
husengs7
0
180
OSC2026on_the-world-is-waiting-for-your-voice.pdf
naruoga
0
370
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
ai_cording_with_k8s_knowledge.pdf
mochizuki875
1
340
AI時代のPRレビューにどう向き合うか?
kairim0
1
210
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
1
690
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
710
Datadog の学び方 - あるいは、オブザーバビリティを学ぶとは何か
mananyuki
1
550
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
5.8k
Featured
See All Featured
Believing is Seeing
oripsolob
1
240
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Building Adaptive Systems
keathley
44
3.2k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
The Limits of Empathy - UXLibs8
cassininazir
2
720
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Transcript
Failure Teaches Success 2014-07-17! System Lightning Talks Bar Vol.2! SHIOYA,
Hiromu (@kwappa)
Hello, World!
kwappa SHIOYA Hiromu
None
http://cookpad.com
http://info.cookpad.com
http://bit.ly/cookpadjobs
Failure Teaches Success
CASE 1 1998
FLAG SHOULD NEVER COMPARE TO 1
FOR EXAMPLE
!!! BUG !!! item[42] # => 0
!!! BUG !!! item[42] # => 1
!!! BUG !!! item[42] # => 2
!!! BUG !!! item[42] # => 3
!!! BUG !!! item[42] # => 4
!!! BUG !!! item[42] # => 5
DEAD END
BETTER ONE
CASE 2 2008
BOSS SHOULD NEVER DEPLOY
NEW BOSS CAME AND TOLD US
NEW BOSS CAME AND TOLD US I USED TO CODE,
BUT I TOOK AN ARROW IN THE KNEE...
OUR SYSTEM commit checkout rsync DEVELOPER SVN STAGING DEPLOY PRODUCTION
HERE COMES THE BOSS rsync STAGING DEPLOY PRODUCTION
HERE COMES THE BOSS login rsync STAGING DEPLOY PRODUCTION
HERE COMES THE BOSS login rsync STAGING DEPLOY PRODUCTION $vi
regist.php
HERE COMES THE BOSS login rsync STAGING DEPLOY PRODUCTION $vi
regist.php $rm regist.php
HERE COMES THE BOSS login rsync STAGING DEPLOY PRODUCTION $vi
regist.php $rm regist.php $svn hogehoge
HERE COMES THE BOSS login rsync STAGING DEPLOY PRODUCTION $vi
regist.php $rm regist.php $svn hogehoge $./deploy.sh
CASE 3 2014
ERRORS SHOULD NEVER PASS SILENTLY
http://www.flickr.com/photos/chrisdonia/3460805358/
http://www.flickr.com/photos/chrisdonia/3460805358/ ʊਓਓਓਓਓਓਓਓਓਓਓਓਓਓʊ ʼ 500 ʻ ʼ INTERNAL SERVER ERROR ʻ
ʉY^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Yʉ
OAuth2::Response#parsed # => nil
https://github.com/intridea/oauth2/commit/ 56f9758d961fc317a05b2f93fd039588967a84b1
None
None
None
None
WHY DID IT WORK? multi_xml oauth2 requires
WHY DID IT WORK? multi_xml httparty oauth2 requires depends
WHY DID IT WORK? aws-sdk-ruby multi_xml httparty oauth2 requires depends
depends
WHY DID IT BRAKE?
WHY DID IT BRAKE? Gemfile
WHY DID IT BRAKE? Gemfile.lock Gemfile
https://github.com/aws/aws-sdk-ruby/commit/ c25952ed50d568172de6eb1756525a35eeb2fa77
WHY DID IT BREAK? aws-sdk-ruby multi_xml httparty oauth2 requires depends
depends
WHY DID IT BREAK? aws-sdk-ruby multi_xml httparty oauth2 requires depends
WHY DID IT BREAK? aws-sdk-ruby multi_xml oauth2 requires
WHY DID IT BREAK? aws-sdk-ruby oauth2 requires
WHY DID IT BREAK? aws-sdk-ruby oauth2 requires ʊਓਓਓਓਓਓਓਓਓਓਓਓਓਓʊ ʼ 500
ʻ ʼ INTERNAL SERVER ERROR ʻ ʉY^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Yʉ
CONCLUSION
FLAG SHOULD NEVER COMPARE TO 1
FLAG SHOULD NEVER COMPARE TO 1 BOSS SHOULD NEVER DEPLOY
FLAG SHOULD NEVER COMPARE TO 1 BOSS SHOULD NEVER DEPLOY
ERRORS SHOULD NEVER PASS SILENTLY
Failure Teaches Success SHARE YOUR FAILURES!!! THANK YOU FOR LISTENING