Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Digger
Search
Gordon Diggs
December 13, 2013
Technology
0
60
Digger
PP Dev Lightning Talks 12/13/13
Gordon Diggs
December 13, 2013
Tweet
Share
More Decks by Gordon Diggs
See All by Gordon Diggs
John Coltrane: Lessons in Leadership
gordondiggs
2
290
The Customer Gap
gordondiggs
1
110
Picking Records with JavaScript and a Button
gordondiggs
0
79
Kafka Partitioning Algorithm
gordondiggs
0
140
Supbutton
gordondiggs
0
63
Rayons
gordondiggs
0
64
Sous Vide
gordondiggs
0
84
Dev Events & Internal Tools at Paperless Post
gordondiggs
0
120
The Joys and Pains of Working With an Old Codebase
gordondiggs
0
140
Other Decks in Technology
See All in Technology
ログ管理の新たな可能性?CloudWatchの新機能をご紹介
ikumi_ono
1
850
Oracle Cloud Infrastructure IaaS 新機能アップデート 2025/09 - 2025/11
oracle4engineer
PRO
0
160
Reinforcement Fine-tuning 基礎〜実践まで
ch6noota
0
190
エンジニアとPMのドメイン知識の溝をなくす、 AIネイティブな開発プロセス
applism118
4
1.3k
Lookerで実現するセキュアな外部データ提供
zozotech
PRO
0
150
エンジニアリングをやめたくないので問い続ける
estie
2
1.2k
WordPress は終わったのか ~今のWordPress の制作手法ってなにがあんねん?~ / Is WordPress Over? How We Build with WordPress Today
tbshiki
1
810
文字列の並び順 / Unicode Collation
tmtms
3
610
RAG/Agent開発のアップデートまとめ
taka0709
0
190
Microsoft Agent 365 についてゆっくりじっくり理解する!
skmkzyk
0
370
AI駆動開発における設計思想 認知負荷を下げるフロントエンドアーキテクチャ/ 20251211 Teppei Hanai
shift_evolve
PRO
2
420
AI 駆動開発勉強会 フロントエンド支部 #1 w/あずもば
1ftseabass
PRO
0
400
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
Documentation Writing (for coders)
carmenintech
76
5.2k
Faster Mobile Websites
deanohume
310
31k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Statistics for Hackers
jakevdp
799
230k
Become a Pro
speakerdeck
PRO
31
5.7k
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