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 Future is Dead: Long live the Past
Search
elcuervo
June 02, 2012
Programming
4
1.1k
The Future is Dead: Long live the Past
The Future is Dead: Long live the Past
elcuervo
June 02, 2012
Tweet
Share
More Decks by elcuervo
See All by elcuervo
Un tipo de Ruby
elcuervo
0
26
Airplay
elcuervo
0
440
Quince Primaveras
elcuervo
0
310
Apocalipsis
elcuervo
0
140
RadioFrequencia
elcuervo
0
120
TED: Cronicas de un hacker
elcuervo
0
120
Hackeando el STM
elcuervo
1
370
Teo y los contenedores
elcuervo
0
120
Objetos Encantados
elcuervo
0
160
Other Decks in Programming
See All in Programming
CSC307 Lecture 03
javiergs
PRO
1
470
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
980
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
360
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
520
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
660
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.5k
GISエンジニアから見たLINKSデータ
nokonoko1203
0
190
生成AI時代を勝ち抜くエンジニア組織マネジメント
coconala_engineer
0
38k
.NET Conf 2025 の興味のあるセッ ションを復習した / dotnet conf 2025 quick recap for backend engineer
tomohisa
0
110
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
470
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
310
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
190
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
540
Evolving SEO for Evolving Search Engines
ryanjones
0
94
Building AI with AI
inesmontani
PRO
1
610
Odyssey Design
rkendrick25
PRO
0
460
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Designing Experiences People Love
moore
143
24k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Transcript
The Future is Dead long live the past
Hi!
Bruno Aguirre
Bruno Aguirre github: elcuervo
Bruno Aguirre @cuerbot github: elcuervo
cuervo
None
None
None
None
None
None
None
None
None
None
None
disclaimer
None
relax
it’s not about this future
None
nor this past
None
None
UNIX
UNIX DB
UNIX DB WEB
UNIX
than an MORE OPERATING system
than MORE SOFTWARE
Philosophy
The ART of Unix programming Eric Raymond
Write SIMPLE parts connected by CLEAN interfaces
CLARITY is better than cleverness
Design programs to be CONNECTED to other programs
ps uax | grep ruby | sort | uniq
Design for SIMPLICITY; add complexity ONLY where you must
S R P
S R P ingle
S R P ingle esponsability
S R P ingle esponsability rinciple
PROTOTYPE before polishing. GET IT WORKING before you OPTIMIZE it
DISTRUST all claims for “ONE TRUE WAY”
Design for the FUTURE, because it will be here SOONER
than you think
KISS
KEEP
IT
SIMPLE
SWEETIE
None
“Simplicity is the ultimate sophistication” Leonardo Da Vinci 1452-1519
“Everything should be made as simple as possible, but no
simpler” Albert Einstein 1879-1955
“Unix is simple. It just takes a genius to understand
its simplicity” Dennis Ritchie 1941-2011
DB
once upon a time
RDB
ROFLSCALE
ROFLSCALE
None
POSTGRESQL
POSTGRESQL MYSQL
CONSTRAINS
None
PRIMARY KEY
PRIMARY KEY UNIQUE
PRIMARY KEY UNIQUE NOT NULL
PRIMARY KEY UNIQUE NOT NULL FOREIGN KEY
PRIMARY KEY UNIQUE NOT NULL FOREIGN KEY CHECK
PREPARED STATEMENTS
SELECT * FROM fruits WHERE id = 42;
PREPARE fruit_seeker (int) AS SELECT * FROM fruits WHERE id
= $1;
PREPARE fruit_seeker (int) AS SELECT * FROM fruits WHERE id
= $1; EXECUTE fruit_seeker(42);
~2003
QUERIES PER SECOND BOOST
~2011
STORED PROCEDURES
Execution within the database
Complex data handling
Column operations
We want to use Ruby everywhere
DON’T
WITHOUT ORM
WEB
HTTP 1.0 RFC 1945 (1996)
None
None
None
MOST WEB of the
client server request response open open close close
HTTP 1.1 RFC 2616 (1999)
None
None
None
None
Persistent connections
client server request response open close Re use open sockets
close open
client server request response open close Re use open sockets
Enabled by default
Pipelining
client server request response open close
Disabled by default
Get ready for the PAST
Firefox: can be enabled
Firefox: can be enabled Chrome: can be enabled
Firefox: can be enabled Chrome v20: enabled by default Chrome:
can be enabled
Upgrade header
GET /mychat HTTP/1.1 Host: server.example.com Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key:
x3JJHMbDL1EzLkh9GBhXDw== Sec-WebSocket-Protocol: chat Sec-WebSocket-Version: 13 Origin: http://example.com request
GET /mychat HTTP/1.1 Host: server.example.com Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key:
x3JJHMbDL1EzLkh9GBhXDw== Sec-WebSocket-Protocol: chat Sec-WebSocket-Version: 13 Origin: http://example.com request
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: HSmrc0sMlYUkAGmm5OPpG2HaGWk=
Sec-WebSocket-Protocol: chat response
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: HSmrc0sMlYUkAGmm5OPpG2HaGWk=
Sec-WebSocket-Protocol: chat response
That’s IT?
12 years
None
HTTP PTTH
HTTP R e v e rs e
client server
POST /reverse HTTP/1.1 Host: server.example.com Upgrade: PTTH/0.9 Connection: Upgrade Origin:
http://example.com request
POST /reverse HTTP/1.1 Host: server.example.com Upgrade: PTTH/0.9 Connection: Upgrade Origin:
http://example.com request
client server
HTTP/1.1 101 Switching Protocols Upgrade: PTTH/0.9 Connection: Upgrade response
client server
client server
server client
REAL life
None
The Future is not Dead
The Past is not Dead
None
LEARN from the past
LEARN from the past WATCH the present
LEARN from the past WATCH the present CREATE the future
Thank you!
Thank you! twitter: @cuerbot github: elcuervo
None