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
Arduino Dojo @Mozilla
Search
Luciano Ramalho
March 22, 2013
Technology
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Arduino Dojo @Mozilla
Slides used to present a Coding Dojo with Arduino at the Mozilla offices in San Francisco
Luciano Ramalho
March 22, 2013
More Decks by Luciano Ramalho
See All by Luciano Ramalho
Pythonic type hints with typing.Protocol
ramalho
2
270
Hash tables como funcionam dicts e sets
ramalho
2
560
Beyond Paradigms (with Python examples)
ramalho
1
420
typing.Protocol: type hints as Guido intented
ramalho
1
780
Type hints, protocols, and good sense
ramalho
4
2.5k
Protocol: keystone of Python type hints
ramalho
1
1.2k
Protocol: pedra angular das type hints em Python
ramalho
1
590
2010-2030: linguagens no Technology Radar
ramalho
2
290
Tipagem Pato, agora com tipos estáticos
ramalho
0
660
Other Decks in Technology
See All in Technology
脱Jenkins、インターン生が挑んだCIツールGitHubActions移行
mixi_engineers
PRO
1
110
コンポーネント名には何を含めるべきなのか? / what-should-be-included-in-component-names
airrnot1106
0
110
「休む」重要さ
smt7174
7
1.7k
AI時代におけるエンジニアの新たな役割──FDEとクオリアの探求/登壇資料(戸井田 裕貴)
hacobu
PRO
0
480
データと地図で読む 大井町の「かわるもの、かわらないもの」
yoshiyama_hana
0
410
ここは地獄!つらい朝会を体験することで、チームとしてのより良い振る舞いに気づくワークショップ / The stand-up meeting from hell in the game industry
scrummasudar
0
340
AIで楽になるはずが、なぜ疲れる?
kinopeee
0
100
現場で使える AWS DevOps Agent 活用ノウハウ - Release Management 機能の検証結果を添えて / AWS DevOps Agent Release Management and Know-How
kinunori
3
130
WEBフロントエンド研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
1
360
変更し続けられるシステムをどう保つか — AI時代のSSoTという設計原則
kawauso
1
1.3k
ソフトウェアアーキテクチャ研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
2
560
インシデント事例と パッケージの全量解析に学ぶ ソフトウェアサプライチェーンの守り方 / supply-chain-attack-defense
flatt_security
0
1.1k
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Claude Code のすすめ
schroneko
67
230k
Designing Powerful Visuals for Engaging Learning
tmiket
1
460
Producing Creativity
orderedlist
PRO
348
40k
GitHub's CSS Performance
jonrohan
1033
470k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Music & Morning Musume
bryan
47
7.3k
HDC tutorial
michielstock
2
750
Making the Leap to Tech Lead
cromwellryan
135
10k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
280
Being A Developer After 40
akosma
91
590k
Transcript
presentS
arduINO CoDIng dOjo
coding dojo * Collective programming exercises * Fun and effective
for: * Introducing best practices; eg.TDD * Learn languages and APIs * Welcome new team members
arduIno for the dojo
randorI: Free practice * Pair programming with TDD * One
pair: pilot and copilot * Pilot types * Copilot assists * After 5 minutes pilot steps down * Copilot become pilot * Volunteer becomes copilot
tdd = test-driven design * Write test before adding any
new funcionality * While test is not passing, audience should be quiet * When test passes, audience may give suggestions for next steps
tdd wITh hardware? * Objective, testable steps must be written
*before* new code is added * It’s hard to automate hardware tests; more hardware would be needed * In the Arduino Dojo we do manual/visual testing
babY steps * Each step should be so simple the
implementation is obvious * Just enough to pass the test * Resist the temptation to be clever and optimize or generalize before the next test is passing
Example: First Step * Blink the led connected to pin
13 * To check USB connection and “smoke test” the circuit under testing
today’s problem * Make a simple animation toggling the 6
LEDs in the perimeter of the display in sequence, at a rate controlled by the pot
7 segment display pot Arduino
STArt! * Volunteers? * If a new copilot volunteer does
not step up in a timely manner, the randori may end prematurely * I have 150 slides about the History of Cobol to show instead
Come visit US in São Paulo, all Are Welcome! http://garoa.net.br