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
Thinking Outside The Box
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Armin Ronacher
July 01, 2013
Programming
3.5k
14
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Thinking Outside The Box
Keynote for EuroPython 2013.
Armin Ronacher
July 01, 2013
Transcript
56 slides
ThinkinG - = outside The box
Hello, I'm Armin! I do Computers - with Python. Currently
at Fireteam / Splash Damage. We do Internet for Pointy Shooty Games. c w
q t t j j d
the box is comfortable X
the comfort is dangerous l
the 9 dots puzzle 0 j 5 (and things of
similar nature)
h - W < å ≥ h ≥ U using
exactly 4 straight lines, without retracing or removing one's pen from the paper connect the dots j
h - W < å ≥ h ≥ U using
exactly 4 straight lines, without retracing or removing one's pen from the paper connect the dots j
g i know it's cliché Ç
J the six thinking hats
J the six thinking hats This
the majority is always wrong: congratulations; you're now a cynical
asshole 7 z “ ”
a change of environment 1 z m
c computer games
˚ 4 * this graph is not very scientific h
≥ Online
˚ 4 * this graph is not very scientific python!!!11
h ≥ Online
community influences your thinking . a - ∫ Î
C++ good; Scripting Languages Bad u
... if it takes you 30 minutes to do a
one line change then you obviously would not want to have runtime type checks ... E
it's too easy to dismiss something on fringe or outdated
experience alone
• never underestimate how much your environment/community influences you 1
• never underestimate how much your environment/community influences you 1
(unfortunately that also includes things like “the GIL is not a problem")
asking the right questions 2 j 5
the wrong questions are easy to spot on others a
- ˚ 4
<redacted> how do I do something after return render_template(...) if
I don't want to register teardown_request for all requests. J
• he was looking for celery / message queue ©
• first expectation was that the user wanted to change
the HTTP response 0
• teardown_request would not have worked anyways O
I don't want my user to wait while I do
some processing on his data v “ ” better:
t j the box was Flask
how to ask the right questions2 - 5 B
• assume you already started out wrong • describe the
•actual• problem =
How do I use Websockets with Flask? z “ ”
How do I notify my user about changes with low
latency. 6 better: “ ”
5 question leaves room for the answer
(a) Server-sent events via WSGI (b) application <-> redis <->
persistent connection server Ô bit.ly/pypush
f Jump on IRC help out other people < >
questioning the right things 3 z m
the worst parts in my libraries are the ones where
I took the design from elsewhere O
it's not because I know better ... ∆ Ò
• most things have some design behind • as people
copy it, the original design gets obscured and forgotten • the original design might no longer apply 1
• starting something new? • question everything! ˝
not with the intention of proving existing design wrong; with
the intention of understanding it. 9
9 paradigm shifts 4 F
Many times we don't even realize that things were an
example of thinking outside the box. (a) "echo" -> Request/Response objects (b) Interactive Interpreters 9
That's also what makes it hard to find examples now
... 9
every idea is a rehash don't get too excited when
you feel all "obviously ..." sometimes all that's necessary is transposing a concept from one industry to the other. 9
9 interesting examples 5 F
• Mill Processor: • Basic Block: One entry, one exit.
• Break instruction bundles in half • Two decoders, one moves left from EBB entry point, one moves to the right =
• Mill Processor: • Basic Block: One entry, one exit.
• Break instruction bundles in half • Two decoders, one moves left from EBB entry point, one moves to the right = two independent units, two separate caches
=a High-level Queues for Request Handling Stateful Frontend Servers Stateless
Workers
• Sending around signed data • Cookies • Access/Refresh Tokens
• Activation Links • Offers ˆ
• The Rust Programming Language • Memory ownership tracking 1
(and otherwise just steal from C++, C, Python, Ruby, Haskell and Scheme)
• Spotify's Native/Web Bridge • spawns HTTP server on localhost:XXXXX
• provides OAuth bridge • JavaScript authenticates with local server, sends commands and retrieves updates. c
That's it; Now ask questions ? @mitsuhiko lucumr.pocoo.org/talks gittip.com/mitsuhiko y
y y d
calibration slide -- 2 2 2 2 2 2 c
More Decks by Armin Ronacher
See All by Armin Ronacher
Reflections on building cloud and local hybrid machine entities
mitsuhiko
1
280
Agentic Coding: The Future of Software Development with Agents
mitsuhiko
0
1.1k
Do Dumb Things
mitsuhiko
0
1.1k
No Assumptions
mitsuhiko
0
480
The Complexity Genie
mitsuhiko
0
370
The Catch in Rye: Seeding Change and Lessons Learned
mitsuhiko
0
480
Runtime Objects in Rust
mitsuhiko
0
480
Rust at Sentry
mitsuhiko
0
650
Overcoming Variable Payloads to Optimize for Performance
mitsuhiko
0
340
Other Decks in Programming
See All in Programming
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
190
Spec-driven Development with AI
simas
PRO
0
2.3k
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
430
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
280
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
310
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
Ruby から Emacs を操作したい
phigasui
0
350
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
380
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
210
はじめてのPLATEAU
nokonoko1203
1
660
Featured
See All Featured
Six Lessons from altMBA
skipperchong
29
4.6k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.5k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
640
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
My Coaching Mixtape
mlcsv
0
390
It's Worth the Effort
3n
188
29k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
630