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
72
Kafka Partitioning Algorithm
gordondiggs
0
130
Supbutton
gordondiggs
0
58
Rayons
gordondiggs
0
60
Sous Vide
gordondiggs
0
76
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
クラウドサービス事業者におけるOSS
tagomoris
3
920
Building Products in the LLM Era
ymatsuwitter
10
5.7k
エンジニアのためのドキュメント力基礎講座〜構造化思考から始めよう〜(2025/02/15jbug広島#15発表資料)
yasuoyasuo
18
7k
(機械学習システムでも) SLO から始める信頼性構築 - ゆる SRE#9 2025/02/21
daigo0927
0
170
30分でわかる『アジャイルデータモデリング』
hanon52_
9
2.8k
深層学習と古典的画像アルゴリズムを組み合わせた類似画像検索内製化
shutotakahashi
0
160
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
260
Goで作って学ぶWebSocket
ryuichi1208
3
1.9k
データ資産をシームレスに伝達するためのイベント駆動型アーキテクチャ
kakehashi
PRO
2
580
組織貢献をするフリーランスエンジニアという生き方
n_takehata
2
1.4k
SA Night #2 FinatextのSA思想/SA Night #2 Finatext session
satoshiimai
1
150
あれは良かった、あれは苦労したB2B2C型SaaSの新規開発におけるCloud Spanner
hirohito1108
2
700
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
182
22k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
550
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
240
Facilitating Awesome Meetings
lara
52
6.2k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
We Have a Design System, Now What?
morganepeng
51
7.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Making Projects Easy
brettharned
116
6k
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