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
Digger
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Gordon Diggs
December 13, 2013
Technology
68
0
Share
Digger
PP Dev Lightning Talks 12/13/13
Gordon Diggs
December 13, 2013
More Decks by Gordon Diggs
See All by Gordon Diggs
John Coltrane: Lessons in Leadership
gordondiggs
2
300
The Customer Gap
gordondiggs
1
110
Picking Records with JavaScript and a Button
gordondiggs
0
84
Kafka Partitioning Algorithm
gordondiggs
0
140
Supbutton
gordondiggs
0
71
Rayons
gordondiggs
0
76
Sous Vide
gordondiggs
0
95
Dev Events & Internal Tools at Paperless Post
gordondiggs
0
130
The Joys and Pains of Working With an Old Codebase
gordondiggs
0
150
Other Decks in Technology
See All in Technology
AI時代 に増える データ活用先
takahal
0
140
Rapid Start: Faster Internet Connections, with Ruby's Help
kazuho
2
150
Code Interpreter で、AIに安全に コードを書かせる。
yokomachi
0
6.9k
Azure Speech で音声対応してみよう
kosmosebi
0
150
20年前の「OSS革命」に学ぶ AI時代の生存戦略
samakada
0
250
2026年、知っておくべき最新 サーバレスTips10選/serverless-10-tips
slsops
13
5k
インターネットの技術 / Internet technology
ks91
PRO
0
170
職能の壁を取り払った先で見えた壁 -AI時代のクロスファンクショナル組織-
shimotaroo
1
110
ARIA Notifyについて
ryokatsuse
1
120
最初の一歩を踏み出せなかった私が、誰かの背中を押したいと思うようになるまで / give someone a push
mii3king
0
150
こんなアーキテクチャ図はいやだ / Anti-pattern in AWS Architecture Diagrams
naospon
1
410
Rebirth of Software Craftsmanship in the AI Era
lemiorhan
PRO
4
1.8k
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
6.8k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
790
Practical Orchestrator
shlominoach
191
11k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
770
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
170
How to make the Groovebox
asonas
2
2.1k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
210
BBQ
matthewcrist
89
10k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
270
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
330
Transcript
Digger: The Traveling Record Collector PP Lightning Talks 131213 Friday,
December 13, 13
I go to a lot of record stores Friday, December
13, 13
I usually make maps like this Friday, December 13, 13
I figured there could be a way to do it
more efficiently Friday, December 13, 13
Yes, this is NP Hard http://en.wikipedia.org/wiki/Travelling_salesman_problem Friday, December 13, 13
http://www.recordshops.org/ Friday, December 13, 13
recordshops.org • Exposes whole database as json Friday, December 13,
13
Enter digger • I didn’t really want to do much
work Friday, December 13, 13
Enter digger • I didn’t really want to do much
work • Sinatra Friday, December 13, 13
Enter digger • I didn’t really want to do much
work • Sinatra • MongoDB / MongoMapper - can just load JSON into database Friday, December 13, 13
Enter digger • I didn’t really want to do much
work • Sinatra • MongoDB - can just load json in • Bootstrap - margin: 0 auto; No time for that Friday, December 13, 13
MongoDB • Geospatial indexes make life easy • http://docs.mongodb.org/manual/core/ geospatial-indexes/
ensure_index [[:location, '2d']] def self.near(location) # [0.00, 0.00] where(:location => {'$near' => location}) end Friday, December 13, 13
Geocoder Gem • Uses Google Geocoding API to find starting
location Friday, December 13, 13
Google JS Maps • Given waypoints, generate directions Friday, December
13, 13
Demo • http://x-digger.herokuapp.com Friday, December 13, 13