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
66
0
Share
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
300
The Customer Gap
gordondiggs
1
110
Picking Records with JavaScript and a Button
gordondiggs
0
83
Kafka Partitioning Algorithm
gordondiggs
0
140
Supbutton
gordondiggs
0
66
Rayons
gordondiggs
0
69
Sous Vide
gordondiggs
0
91
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
AI時代のシステム開発者の仕事_20260328
sengtor
0
320
バックオフィスPJのPjMをコーポレートITが担うとうまくいく3つの理由
yueda256
1
160
遊びで始めたNew Relic MCP、気づいたらChatOpsなオブザーバビリティボットができてました/From New Relic MCP to a ChatOps Observability Bot
aeonpeople
1
150
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
11k
MIX AUDIO EN BROADCAST
ralpherick
0
140
OpenClaw初心者向けセミナー / OpenClaw Beginner Seminar
cmhiranofumio
0
240
I ran an automated simulation of fake news spread using OpenClaw.
zzzzico
1
520
AIエージェント勉強会第3回 エージェンティックAIの時代がやってきた
ymiya55
0
230
昔話で振り返るAWSの歩み ~S3誕生から20年、クラウドはどう進化したのか~
nrinetcom
PRO
0
140
やさしいとこから始めるGitHubリポジトリのセキュリティ
tsubakimoto_s
3
2.1k
AI時代のIssue駆動開発のススメ
moongift
PRO
0
350
Even G2 クイックスタートガイド(日本語版)
vrshinobi1
0
190
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
230
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
300
New Earth Scene 8
popppiees
2
2k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
KATA
mclloyd
PRO
35
15k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Visualization
eitanlees
150
17k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
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