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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Gordon Diggs
December 13, 2013
Technology
0
62
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
80
Kafka Partitioning Algorithm
gordondiggs
0
140
Supbutton
gordondiggs
0
64
Rayons
gordondiggs
0
66
Sous Vide
gordondiggs
0
88
Dev Events & Internal Tools at Paperless Post
gordondiggs
0
120
The Joys and Pains of Working With an Old Codebase
gordondiggs
0
150
Other Decks in Technology
See All in Technology
Network Firewall Proxyで 自前プロキシを消し去ることができるのか
gusandayo
0
130
ブラックボックス化したMLシステムのVertex AI移行 / mlops_community_62
visional_engineering_and_design
1
230
非同期・イベント駆動処理の分散トレーシングの繋げ方
ichikawaken
1
240
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Bref でサービスを運用している話
sgash708
0
210
Microsoft Fabricで考える非構造データのAI活用
ryomaru0825
0
510
AWS Systems Managerのハイブリッドアクティベーションを使用したガバメントクラウド環境の統合管理
toru_kubota
1
190
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
230
Cursor Subagentsはいいぞ
yug1224
2
120
OCI技術資料 : ロード・バランサ 概要 - FLB・NLB共通
ocise
4
27k
CREがSLOを握ると 何が変わるのか
nekomaho
0
300
AIエージェント時代に必要な オペレーションマネージャーのロールとは
kentarofujii
0
230
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Un-Boring Meetings
codingconduct
0
240
Typedesign – Prime Four
hannesfritz
42
3k
Mobile First: as difficult as doing things right
swwweet
225
10k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
300
Building the Perfect Custom Keyboard
takai
2
720
Become a Pro
speakerdeck
PRO
31
5.9k
Git: the NoSQL Database
bkeepers
PRO
432
67k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
140
From π to Pie charts
rasagy
0
160
Technical Leadership for Architectural Decision Making
baasie
3
300
We Are The Robots
honzajavorek
0
210
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