02:25 workshop joined #geoloqi
03:04 workshop joined #geoloqi
06:39 workshop joined #geoloqi
07:05 workshop joined #geoloqi
08:14 <@Tropo> RT @geoloqi: ChatterCast local emergency alerter, built w/@geoloqi+@tropo, wins Seattle Open Gov Hackathon! http://loqi.me/1Tz #gov20
09:28 <@govfresh> RT @mheadd: ChatterCast local emergency alerter, built w/@geoloqi+@tropo, wins Seattle #OpenGov Hackathon! http://loqi.me/1Tz #gov20
12:04 MarkDilley joined #geoloqi
12:28 <@chrismetcalf> @aaronpk Can you hook me up with access to Geoloqi so I can try out your Socrata integration?
13:21 MarkDilley joined #geoloqi
13:23 <@yuetsu> .@aaronpk @loqisaur i love, in @geoloqi, & @donpdonp 's map, now showing that @caseorganic is geo-locating from 14 seconds... IN THE FUTURE!
14:53 <@aaronpk> @chrismetcalf You can use ChatterCast right now by getting Instamapper. This is necessary until the Geoloqi app is in the iTunes store.
15:28 <@yuetsu> .@donpdonp @aaronpk @caseorganic @geoloqi @loqisaur - geo-loqi-ing something fierce today, check the map. down to 3% iPhone power.
16:32 don-n1 joined #geoloqi
16:33 <don-n1> tjgilles: what does nodejs server use for location storage?
17:18 <tjgillies> don-n1: redis, but im gonna move it to couch
17:56 <techwraith> There are some pretty cool MongoDB implementations for node as well
18:17 caseorganic joined #geoloqi
19:38 <@yuetsu> .@donpdonp @aaronpk @caseorganic @loqisaur so... how's this @geoloqi on iPhone 4 workin' for you today? already drained my battery down once
19:54 caseorganic joined #geoloqi
20:23 <@sull> thinking about integrative points between geoloqi and my experiment in social gesture objects.
20:28 jtbandes joined #geoloqi
20:29 <jtbandes> The recent web profile map changes look nice, it's good to see where the points are :)
20:29 <jtbandes> although the iPhone app seems broken, wasn't showing anything on the map today
20:29 <jtbandes> I've had Geoloqi on all day http://test.geoloqi.com/profile/jtbandes
20:29 <aaronpk> yea! I actually added that for debugging
20:30 <aaronpk> uhoh ...hmm
20:30 <aaronpk> when did you last build the app?
20:30 <jtbandes> No idea :D
20:30 <jtbandes> (useful I know)
20:30 <aaronpk> I try not to make backwards compatible changes to the API, but I may have...let me see
20:31 <jtbandes> You know, a good idea... did this at work... toss in a build script that puts $(git rev-parse head) somewhere user-visible, so you can see what exact commit the app was built from
20:31 <aaronpk> in the iphone app?
20:31 <jtbandes> yep
20:31 <jtbandes> Could be for debug builds only, or whatever
20:31 <aaronpk> i've got a field in the API to track versions of the app
20:31 <aaronpk> so it'd be great to push that in the location post
20:31 <jtbandes> Yeah, but if I want to know exactly what commit
20:31 <jtbandes> sure, it could get pushed to the APi
20:31 <jtbandes> *API
20:32 <jtbandes> It won't be sequential but it'll be unique and easy to see what changes have been put in and what haven't
20:32 <aaronpk> yea, you could push the commit number
20:32 <jtbandes> Also, we need some way to show more points on the map on the site :)
20:32 <aaronpk> your last position recorded was at 8:09pm
20:32 <jtbandes> cull them on the server if you like, but 200 points isn't much depending on the frequency
20:33 <aaronpk> oh check out http://new.aaron.pk/map/
20:33 <aaronpk> I was playing around with a new browsing interface
20:33 <jtbandes> ooh fancy
20:33 <jtbandes> Now what do I do with it?
20:33 <aaronpk> don't set points to more than like 10000 or your browser will cry
20:33 <jtbandes> Ahh
20:33 <aaronpk> it loads data on the fly based ont he bounding box of the window
20:33 <jtbandes> is the accuracy server-side?
20:34 <jtbandes> ha, nice
20:34 <@geoloqi> @sull Would love to hear more about that.
20:34 <jtbandes> Also, I'm really keen on getting the auto-off/auto-on features in soon, though I don't know if I'll personally have time
20:35 <aaronpk> accuracy will not return points with acuracy worse than that number
20:35 <jtbandes> but I want it to remind me to turn it off when I get home, or stay in one place a long time
20:35 <jtbandes> And remind me to turn it on when I leave :)
20:35 <aaronpk> ah, yea!
20:35 <jtbandes> unfortunately, the latter would be hard, since that means leaving location turned on, which means battery death
20:35 <aaronpk> actually
20:36 <aaronpk> in my experience (with windows mobile and android) it's sending data to the server that takes a lot of battery, not leaving the GPS on
20:36 <jtbandes> I think it's a combo of both, at least on the iPhone
20:36 <jtbandes> I haven't don eextensive tests though
20:36 <aaronpk> try setting the sending interval to something super high like 5 or 10 minutes next time
20:36 <jtbandes> That's what I have it at
20:37 <jtbandes> though today it was plugged in
20:37 <aaronpk> ah
20:37 <jtbandes> can I use the new map for myself, or is it just set for theu ser aaronpk at this point?
20:37 <jtbandes> *user
20:37 <aaronpk> right now it's just on my test site there
20:37 <jtbandes> /map/?user=jtbandes :)
20:37 <aaronpk> but I'm getting really close to having the new geoloqi website up and running
20:37 <aaronpk> okok one sec
20:38 <jtbandes> It's neat to see how accurate the distance filter is
20:38 <jtbandes> the points are pretty evenly spaced
20:44 <aaronpk> your wish is my command: http://new.aaron.pk/map/?user=jtbandes
20:47 <@loqisaur> ROOAAARR!
20:47 <jtbandes> Apparently loqisaur likes that
20:48 <@loqisaur> *nomomnomnomnomnomnomnomnom*
20:50 <aaronpk> did the map work for you?
20:51 <jtbandes> working on it
20:51 <jtbandes> is there a good way to see all the points from portland to my current location? it's apparently a lot, I turned up the point count but I'm not getting the whole thing
20:51 <aaronpk> you could trim the date range?
20:57 <aaronpk> wrong channel
20:57 <aaronpk> wrong channel fail fail
20:57 <aaronpk> so... my highest priority with the iphone app at this point is getting the new signup/login flow working http://loqi.me/1TX
20:58 <jtbandes> is anyone else working on it?
20:59 <aaronpk> not yet
20:59 <jtbandes> suppose I'll pretend I have some time and do it right now
21:00 <jtbandes> except... OAuth is hard :P
21:00 <aaronpk> but..this is oauth 2! which is a lot easier!
21:00 <jtbandes> with twitter & facebook?
21:00 <jtbandes> twitter is only oauth 1 iirc
21:00 <aaronpk> ignore the twitter and facebook things for now
21:00 <jtbandes> oh
21:01 <jtbandes> Also, passwords... I haven't used Keychain before
21:01 <jtbandes> I guess now's the time
21:01 <aaronpk> you don't need to store passwords
21:01 <aaronpk> just two oauth tokens
21:01 <jtbandes> oh wait, I see
21:02 <jtbandes> be back in a few, then I'll work on it
21:02 <aaronpk> k, i'll write up some stuff
21:23 <@sull> @geoloqi i'll make my way to your channels for discussion. involves mainly proximity detection & my objects can be considered as "geonotes".
21:30 <jtbandes> aaronpk: k, what do I need to do?
21:32 <@mpanighetti> @loqisaur's on a nompage!
21:33 <caseorganic> sorry - wrong channel
21:34 <aaronpk> ok so...
21:34 <Loqi> [[Mobile App Guidelines]] http://geoloqi.org/index.php?diff=358&oldid=249&rcid=359 * Aaronpk * (+133) updating signup/login description
21:35 <aaronpk> jtbandes: check out http://loqi.me/1TX
21:35 <Loqi> who, me?
21:35 <jtbandes> no, not you
21:35 <aaronpk> specifically, the signup section
21:36 <jtbandes> blrggh
21:36 <jtbandes> we're still targeting pre-4.0 eventually?
21:36 <aaronpk> eventually yea
21:36 <aaronpk> why?
21:37 <jtbandes> ^{}
21:37 <jtbandes> jtbandes wants blocks
21:37 <aaronpk> ah, backwards compatibility
21:38 <jtbandes> PLBlocks I spose
21:40 <aaronpk> so basically there are three methods to deal with
21:40 <aaronpk> for log in, sign up, and use anonymously
21:41 <jtbandes> did anyone ever make @2x graphics for the toolbar icons & stufF?
21:42 <aaronpk> oh, I forgot about that!
21:42 <aaronpk> still need to do that
21:53 <caseorganic> yes. still need
21:53 <Loqi> [[API/oauth/token]] N http://geoloqi.org/index.php?oldid=359&rcid=360 * Aaronpk * (+1585) documented oauth/token
21:54 <aaronpk> the minimum requirement would be "log in", so that would use the http://geoloqi.org/API/oauth/token method
21:55 <aaronpk> jtbandes: basically you make a POST request with the username and password, and yo uget back two tokens
21:55 <aaronpk> the access token is used for all the location updates, and it is equivalent to the current device key
21:56 <jtbandes> hm
21:56 <jtbandes> do oauth libs normallly handle the un/pass sending too, or...?
21:56 <aaronpk> I have no idea if there is an oauth2 lib for iphone yet. It might be easier to just write it
21:59 <aaronpk> interesting
22:00 <aaronpk> i'm loking for which revision it's writen against. Geoloqi is written against the latest revision (10)
22:02 <aaronpk> looks like that library doesn't use the password grant type, so we'd need to add that to the library
22:02 <jtbandes> eugh
22:02 <aaronpk> the Password grant type is just sending the user/pass combination and getting back the tokens
22:02 <jtbandes> maybe I shouldn't do this now :P
22:02 <jtbandes> wait then what does it support?
22:02 <aaronpk> the web flow
22:02 <aaronpk> where you load a web page and get back tokens
22:02 <jtbandes> ah
22:02 <aaronpk> which we're not doing on the apps
22:03 <jtbandes> how's that different from how oauth 1 does it?
22:03 <aaronpk> basically think of OAuth 2 as a way to get the device key into the app
22:03 <aaronpk> OAuth 1 only supports web flow, and has complicated signature stuff. OAuth 2 supports web or password flows, and has no signatures
22:04 <jtbandes> no signatures ≠ less secure?
22:04 <aaronpk> everything goes over SSL so it's fine
22:04 <jtbandes> hm
22:04 <aaronpk> actually, forget I said OAuth at all! Just make a web request sending the username and password, and you'll get back what is basically the device key
22:04 <aaronpk> occasionally you'll need to send the "refresh token" to get a new device key
22:04 <jtbandes> :P
22:04 <Loqi> Loqi grabs jtbandes's tongue
22:05 <jtbandes> Are you saying LROAuth2Client is completely unuseful though? or does it have useful bits?
22:06 <aaronpk> probably the only thing you'd use from it is the refreshAccessToken method http://github.com/lukeredpath/LROAuth2Client/blob/master/Classes/LROAuth2Client.m#L107
22:06 <aaronpk> the rest is for handling the web view
22:07 <jtbandes> wtf is with everyone using ASIHTTPRequest?
22:07 <jtbandes> what does it even gain?
22:07 <jtbandes> jtbandes looks up
22:07 <aaronpk> "I’m very open to pull requests so if you feel like stripping away the ASIHTTPRequest dependency and using NSURLConnection instead, please, go ahead."
22:07 <jtbandes> now if it supported blocks, I'd be happier
22:08 <jtbandes> ...heh
22:10 <aaronpk> so... a "log in" form with a place for username and password, makes a web request to api.geoloqi.com/oauth/token and gets back a json response like {"access_token":"11111","refresh_token":"22222"}
22:11 <aaronpk> store the two tokens, and if you get back a json response that has "error":"expired_token", then call oauth/token with the refresh_token parameter
22:11 <aaronpk> i mean if you get a response with expired token from one of the location update calls
22:12 <aaronpk> brb, going to drive home
22:32 <aaronpk> back
22:33 <aaronpk> jtbandes: does that make any more sense?
22:33 <jtbandes> I think so
22:33 <jtbandes> working on UI first
22:33 <aaronpk> cool
22:34 caseorganic joined #geoloqi
22:34 <jtbandes> can I get some cute loqisaur graphics to accompany the welcome screen? :D
22:35 <caseorganic> it is possible
22:41 <aaronpk> by "it is possible" I think she means "yes"
22:42 <caseorganic> Yes. Absolutely, but define the situation more. The Default.png scren or the welcome screen for a certain function in the app?
22:44 <jtbandes> splash screen
22:44 <jtbandes> Default.png we have already, I think
22:45 <jtbandes> yeah
22:45 <caseorganic> Yes! I'll make some!
22:46 <caseorganic> Not tonight, but tomorrow or the next.
22:46 <caseorganic> Good idea.
22:47 <aaronpk> jtbandes: do you want to come over tomorrow to work on the app? I can walk you through some of the OAuth stuff that way.
22:47 <jtbandes> aaronpk: remember when I said I'd had geoloqi on all day?
22:47 <jtbandes> and linked to my profile?
22:47 <jtbandes> I'm not in town :P
22:47 <jtbandes> on the way to college in fact
22:47 <caseorganic> I saw that
22:47 <aaronpk> oh lol!
22:47 <caseorganic> you're somewhere in oregon!
22:48 <jtbandes> not anymore
22:48 <jtbandes> north CA now
22:48 <aaronpk> I saw I5 and assumed that was somewhere just south of Portland
22:48 <caseorganic> did you fly out of a small airport?
22:48 <jtbandes> ha.
22:48 <jtbandes> Nah, we're driving
22:48 <aaronpk> redding!
22:48 <aaronpk> ahhhh the net is much faster here at home
22:49 <caseorganic> That sounds like a ton of fun.
22:49 <aaronpk> road trip!
22:50 <jtbandes> the road trip part, not super exciting
22:50 <jtbandes> but college yes!
22:52 <caseorganic> I'll make some image files by tomorrow then
22:52 <caseorganic> When do you end your trip>
22:52 <caseorganic> ?
22:52 <jtbandes> aaronpk: yes! that's what I was going for
22:53 <jtbandes> we'll arrive on wednesday
22:53 <jtbandes> which means, after wednesday my schedule is either booked or totally up in the air
22:53 <jtbandes> before then though, I have free time and free wi-fi
22:54 <jtbandes> and by "free time" i mean "I have a million things to do but geoloqi caught me first"
22:54 <caseorganic> ok. i'm doing everything i can from 5-9pm on geoloqi tomorrow night then
22:55 <jtbandes> don't do anything drastic on my account
22:55 <jtbandes> no idea how much time I'll actually have at the computer
22:57 <caseorganic> ah - i work on geoloqi all the time anyways. nothing drastic. :)
22:58 <jtbandes> see, what I really need to do is make my website
22:58 <jtbandes> but we all know that isn't happening, so.. :P
22:58 <jtbandes> I have some random designs put together but not finished, and no content
22:59 <aaronpk> I may be able to help with your website to give you more time :)
22:59 <jtbandes> ha
22:59 <jtbandes> ok, write my r�sum� for me :P
23:00 <jtbandes> sneak peek, though: http://cl.ly/73e8167b8b8176e5bb35
23:00 <jtbandes> some subtle CSS3 transitions thrown in too
23:01 <aaronpk> nice
23:01 <jtbandes> anyway. geoloqi.
23:01 <caseorganic> Ohh. Nice.
23:06 <caseorganic> We can give you reccomendations on your resume - as in, we can provide very good references for you.
23:06 <caseorganic> And can link to your site a bunch.
23:08 <jtbandes> that'd be great
23:08 <jtbandes> I need a site first though :)
23:08 <jtbandes> well, one that isn't perpetually under construction, no matter how shiny
23:24 <jtbandes> good night
23:24 <Loqi> buenas noches
23:25 <aaronpk> yeah!! awesome!
23:25 <aaronpk> night!
23:25 <caseorganic> Good night! Woot!!
23:25 <caseorganic> Wow. That was cool.