2011-11-19

02:17 plamb- joined #geoloqi
06:06 plamb joined #geoloqi
07:25 kyledrake-geoloq joined #geoloqi
08:54 <@vruba> Geoloqi-ing out. Geoloqi me on Geoloqi! #geoloqi #loqihack http://t.co/EimCZnYW
09:14 <@tylergillies> Loqi sent geoloqi layer Gx USGS Earthquakes http://t.co/7MPJcutz from irc
09:14 <@tylergillies> tjgillies sent geoloqi layer USGS Earthquakes from irc
09:16 <@patrickarlt> Running late to the Geoloqi Hackathon. #loqihack / cc @caseorganic http://t.co/TUm652Kn
09:17 cinch_ joined #geoloqi
09:18 <aaronpk> oh no cinch_ is here
09:18 <cinch_> aaronpk is talking to: [{:user=>"cinch_", :score=>1}]
09:18 <cinch_> Currently in conversation 71c68810-f500-012e-f722-1093e90a25cc, a pause of 5 minutes will generate a new conversation. ["tjgillies", "agj", "mpacific", "Loqi", "aaronpk"] are currently participating in this conversation
09:19 <aaronpk> everybody run
09:19 <cinch_> Currently in conversation 827eb8d0-f500-012e-f722-1093e90a25cc, a pause of 5 minutes will generate a new conversation. ["tjgillies", "agj", "mpacific", "Loqi", "aaronpk"] are currently participating in this conversation
09:19 <tjgillies> ok hes dead now
09:19 <tjgillies> heading for MFP
09:19 <tjgillies> then geoloqi HQ
09:19 <aaronpk> mfp?
09:19 <tjgillies> my fathers place
09:20 <tjgillies> breakfast with wraithan
09:20 <aaronpk> ah cool
09:20 <aaronpk> we have bagels and cream cheese here
09:20 <aaronpk> also coffee
09:20 <tjgillies> yeah
09:20 <tjgillies> ok
09:20 <tjgillies> cya later ;)
09:42 <@geografa> Heading to the Geoloqi Hackathon. #loqihack http://t.co/MaiXrYDV
09:45 caseorganic joined #geoloqi
10:38 Vruba joined #geoloqi
10:39 geografa joined #geoloqi
10:39 jfrankamp joined #geoloqi
10:40 <vruba> Still not a geo guy.
10:42 <@jburrows> #loqihack (@ Geoloqi HQ w/ @aaronpk) http://t.co/NK7dspYN
10:53 teknotus joined #geoloqi
10:54 <vruba> jfrankamp: the first one in the dump is https://twitter.com/#!/chairkicker/status/137775970470989824
11:01 <vruba> Sooo … I guess like one in 200 tweets’ JSON is misformed.
11:03 <jfrankamp> codecs.open('/var/twitternom/feed.txt', 'r', 'utf-8')
11:10 <vruba> jfrankamp, have a look at the .place.url attribute when you have a minute.
11:14 <jfrankamp> vruba: thats crazy, looking at a bunch of geo data at that url loc. im looking at docs now
11:19 <jfrankamp> using that we can get place information like place type, example: city for the portland place type. idk if it varies in granularity
11:24 <@rubygems> sinatra-geoloqi (0.9.1): http://t.co/M32fZbPG Geoloqi adapter for Sinatra, quickly allows you to make applications
11:25 <vruba> Okay, http://rheme.net/hurry/tweet-plot-test may not look like much, but it’s our data.
11:26 <vruba> That’s lat 45 through 46, lon -123.5 through -122.
11:28 <@kyledrake> Whipped up a Geoloqi plugin for Sinatra! http://t.co/3Pi5MJYa
11:41 jfrankamp joined #geoloqi
11:41 <jfrankamp> http://pastebin.com/uRXwY6i3 snippet for live data
11:42 <vruba> Blue is now, green (which nothing is yet) is 12 hours ago.
11:43 <vruba> Generated with http://pastebin.com/mUNtxCKm
11:54 <vruba> First point outside that box in the dataset is at 46.82291695, -119.19483267.
11:54 <jfrankamp> s=-122.87,45.36,-122.43,45.66
11:54 <Loqi> !calc s=-122.87,45.36,-122.43,45.66
11:58 <@Wraithan> I think I am supposed to tweet about #loqihack. I am bad at this twitter thing. In a few hours there should be a python geoloqi client lib.
11:59 caseorganic joined #geoloqi
12:02 <Wraithan> aaronpk: http://developers.geoloqi.com/api/Time_and_Dates doesn't specify what the default TZ is
12:02 <Wraithan> I'd assume GMT but not sure
12:02 <aaronpk> like if you don't include the header?
12:02 <Wraithan> yea
12:02 <aaronpk> ah yea thanks
12:03 <aaronpk> it's UTC if it's unknown, but it defaults to the user's preference stored in their account
12:03 <Wraithan> Ah
12:03 <Wraithan> Interesting
12:03 <Wraithan> k
12:05 <aaronpk> added a bit to the page, thanks! http://developers.geoloqi.com/api/Time_and_Dates
12:05 <vruba> jfrankamp, geografa: As of right now, that dump has 1126 points inside the 45,-123.5, 46,-122 bbox, and 241 outside. Seems like an awful lot.
12:06 <geografa> Uh-oh, only 1107 here: https://grafa.cartodb.com/tables/3911#/map
12:08 <vruba> Give us a screenshot, maybe?
12:12 <vruba> when = calendar.timegm(time.strptime(tweet['created_at'], '%a %b %d %H:%M:%S +0000 %Y'))
12:14 <Wraithan> aaronpk: np, as I go through I'll try to note any pain/clarity points and keep track of them (or let you know as I see them depending on if I can work out what was meant)
12:14 <Wraithan> is interested in good docs :)
12:14 <aaronpk> awesome
12:15 <geografa> grr. forgot cartodb is prvate beta
12:26 <vruba> .oO(Most Twitter users are horrible people.)
12:27 <aaronpk> agreed. see: http://pin13.net/cybersanta/
12:53 <vruba> We’re bailing on the Twitter idea. We think we don’t have a dense enough dataset to do anything interesting with it in the short-term. It’s cool but we want something we can finish today.
12:54 <aaronpk> ah darn
12:55 <vruba> Meh. It was fun to try, and we have some ideas for when we have more data.
12:56 <vruba> Now we’re just reading tweets.
13:03 <aaronpk> MOAR COFFEE IS ON THE WAY
13:10 <@vruba> %b/quit
13:10 <Loqi> ''' or drop table http://t.co/ZsG2Zj62
13:13 <aaronpk> lol
13:13 <aaronpk> ^^ no way
13:14 <vruba> Drat!
13:22 <vruba> I have a sandbox Linux server on AWS if that’s useful to anyone. Just ask for a login.
13:25 <jfrankamp> here is the geojson version, also updating every 60 seconds
13:25 <Wraithan> meh
13:25 <Wraithan> those oauth libs are both borked
13:25 <Wraithan> by borked I mean one I can't use with the other
13:26 <Wraithan> er
13:26 <Wraithan> python-oauth2 I can't really use with requests (the http lib I'm using)
13:26 <Wraithan> and requests-oauth only support oauth2
13:27 <aaronpk> it's not hard to just do by hand
13:28 <Wraithan> aaronpk: yea... going to do that
13:29 adron joined #geoloqi
13:30 Guest72663 joined #geoloqi
13:32 <aaronpk> Wraithan: how are you not in this room but are talking?
13:32 <Wraithan> I am in this room...
13:32 <aaronpk> my client disagrees :(
13:32 <Wraithan> get a better cleint
13:33 <Wraithan> client
13:33 <aaronpk> I'm on a bouncer, it's probably confused
13:33 <Wraithan> I suggest weechat
13:33 <Wraithan> 13:32:48 -- | Nicks #geoloqi: [@aaronpk aaronpk_ adron caseorganic geografa Guest72663 jfrankamp kyledrake-geoloq Loqi plamb reidab teknotus tjgillies vruba Wraithan]
13:33 <Loqi> woot!
13:33 <aaronpk> I can help with oauth2 stuff if you want a walkthrough
13:33 <Wraithan> Oh, I'm fine, I have the spec next to me
13:33 <Wraithan> Going to ignore it for now actually and just use the perm token
13:33 <aaronpk> hehe
13:34 <Wraithan> I'll fix it when I go to build the site
13:34 <Wraithan> and am doing the web based auth
13:34 <aaronpk> ok
13:34 <Wraithan> three legged auth or whatever they call it
13:36 <tjgillies> Wraithan: wat?
13:37 <Wraithan> twitter three-legged oauth example
13:39 <vruba> Okay, so we just found a real-world event by accident in the Twitter data.
13:40 <vruba> Well, s/accident/hand/
13:52 <tjgillies> verified? tjgillies
14:19 <Wraithan> aaronpk: neat idea, link/create {bounding_box_ne: (lat, long), bounding_box_sw: (lat, long)}
14:19 <Wraithan> aaronpk: if that makes sense
14:20 <Wraithan> but, well, better names and shit
14:20 <Wraithan> lol
14:26 <@casebot> Caseorganic published a photo: Geoloqi Open Data Hackathon Begins!: caseorganic posted a photo:
14:27 <aaronpk> wraithan: what would that do?
14:31 <Wraithan> (For others reading the convo) the link would only show data if the user was inside the bounding box.
14:34 <Wraithan> I'll get it up on pypi shortly so it is installable
14:34 <Wraithan> and add an example
14:47 <vruba> The War Room has pivoted and will now pursue GeoFutbol.
14:48 <aaronpk> excellent
15:05 <Wraithan> decides to start the workout tracker and deal with the concrete api later
15:06 <Wraithan> as well as the oauth stuff that I'll have to handle in my django app anyway
15:23 <caseorganic> GeoFutbol? I want to play!
15:55 <aaronpk> it's going to be sweet!
16:00 <@casebot> Caseorganic was blogged about in:Geoloqi – Now with GPX Export! | Geoloqi Blog: Geoloqi – Now with GPX Export! P... http://t.co/PzJA2Phu
16:05 jfrankamp joined #geoloqi
16:05 <jfrankamp> back
16:07 <jfrankamp> vruba: let me know when you have server creds
16:10 <@anothercasebot> Posted a photo: Geoloqi Open Data Hackathon Begins! http://t.co/hVRF5RBG [Flickr]
16:45 <Wraithan> oauth2 is dumb becuase I can't just use a library to make it go away.
16:46 <vruba> Oh goody. AWS saw me messing aboot and decided to “verify” my account, so I can’t launch anything for 2 hours.
16:46 <Wraithan> Just for the record.
16:46 <Wraithan> that's nice of them
16:46 <aaronpk> nobody has written good oauth2 clients yet
16:46 <aaronpk> shame on them
16:46 <Wraithan> aaronpk: you should write a good one in python for me so I don't have to.
16:47 <aaronpk> yes of course because i am a python export
16:54 <Wraithan> I may be a dirty liar... http://code.google.com/p/google-api-python-client/wiki/OAuth2Client looks suspiciously promising
17:05 <kyledrake-geoloq> caseorganic Patrick aaron https://samurai.feefighters.com/developers
17:14 <@vruba> Increasingly sure that if I told @kyledrake I wanted to get a mayfly to Neptune, he’d be impatient that I wasn’t already trying. #loqihack
17:14 <@rachelrigg> OH at #loqihack lunch: "I need to finish import calories."
17:14 <@vruba> @geografa Sample tweet from #loqihack.
17:14 <@pkbot> Posted a photo: The bagels have arrived #loqihack http://t.co/DeWixeDm [Flickr]
17:14 <@vruba> Heh heh. #loqihack
17:32 <aaronpk> group/create now documented! http://developers.geoloqi.com/api/group/create
17:57 <aaronpk> some initial documentation on the streaming api! http://developers.geoloqi.com/api/Streaming_API
18:36 <@geografa> Good times at Geoloqi HQ. Eager to hack some more on the GeoFutbol layer. Thanks for hosting Geoloqi team! #loqihack
20:15 Patrick joined #geoloqi
20:54 caseorganic joined #geoloqi
20:57 <Wraithan> Imma fuckin rage
20:57 <Wraithan> the oauth2client is for google services.
20:59 <Wraithan> fucking I'm going to have to code one from scratch... why does python hat oauth
21:09 <Wraithan> ah, maybe it just defaults to google
21:09 <Wraithan> reading the code
21:13 <Wraithan> aaronpk: ping
21:20 <Wraithan> ah ha, got it working
21:21 <Wraithan> aaronpk: geoloqi authentication API could talk about permissions/scope, libraries seem to want it
21:35 Patrick joined #geoloqi
21:55 jfrankamp joined #geoloqi
22:40 <@HeatherGillies> Heading out! Track me on Geoloqi! http://t.co/LQHNrMTa
23:02 <Wraithan> aaronpk: ended up implementing the oauth stuff myself
23:02 <Wraithan> which was stupidly simple