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
Gordon Diggs
December 13, 2013
Technology
0
48
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
280
The Customer Gap
gordondiggs
1
100
Picking Records with JavaScript and a Button
gordondiggs
0
71
Kafka Partitioning Algorithm
gordondiggs
0
130
Supbutton
gordondiggs
0
58
Rayons
gordondiggs
0
60
Sous Vide
gordondiggs
0
74
Dev Events & Internal Tools at Paperless Post
gordondiggs
0
120
The Joys and Pains of Working With an Old Codebase
gordondiggs
0
120
Other Decks in Technology
See All in Technology
ブラックフライデーで購入したPixel9で、Gemini Nanoを動かしてみた
marchin1989
1
540
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
170
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
3
2.4k
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
320
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
170
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
600
統計データで2024年の クラウド・インフラ動向を眺める
ysknsid25
2
850
Fanstaの1年を大解剖! 一人SREはどこまでできるのか!?
syossan27
2
170
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
190
10分で学ぶKubernetesコンテナセキュリティ/10min-k8s-container-sec
mochizuki875
3
350
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
350
Featured
See All Featured
A Philosophy of Restraint
colly
203
16k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Writing Fast Ruby
sferik
628
61k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
Testing 201, or: Great Expectations
jmmastey
40
7.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Code Review Best Practice
trishagee
65
17k
GitHub's CSS Performance
jonrohan
1030
460k
Designing on Purpose - Digital PM Summit 2013
jponch
116
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