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
79
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
310
The Customer Gap
gordondiggs
1
120
Picking Records with JavaScript and a Button
gordondiggs
0
88
Kafka Partitioning Algorithm
gordondiggs
0
150
Supbutton
gordondiggs
0
88
Rayons
gordondiggs
0
94
Sous Vide
gordondiggs
0
110
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
MCP Appsを作ってみよう
iwamot
PRO
4
480
個人最適 から 全体最適 へ AI情報共有会・AIギルド・AI-DLC で進める カンリーの組織展開
rfdnxbro
0
2.2k
How Timee Delivers Day 1 Production Ready LLM Features
tomoyks
0
110
LLMと共に進化するプロセスを目指して
ymatsuwitter
12
3.9k
失敗を経て、Harness Engineering で 大切にしたいことを考える / Learning from Failure: What Matters in Harness Engineering
bitkey
PRO
1
290
Snowflakeと仲良くなる第一歩
coco_se
4
410
SIer20年! 培ったスキルがスタートアップで輝く時
shucho0103
0
830
失敗を資産に変えるClaude Code
shinyasaita
0
300
タクシーアプリ『GO』の実践的データ活用
mot_techtalk
3
190
生成 AI × MCP で切り拓く次世代 SRE!自律型運用への挑戦と開発者体験の進化
_awache
0
190
中期計画、2回作ってみた ~業務委託と正社員、両方の視点から~
demaecan
1
650
AI駆動開発を通して感じた、 AI時代のデザイナーの役割変化
whisaiyo
0
180
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
360
Everyday Curiosity
cassininazir
0
230
Speed Design
sergeychernyshev
33
1.8k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
Design in an AI World
tapps
1
240
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
310
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
480
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