07:51 LoqiLog joined #geoloqi
07:55 caseorganic joined #geoloqi
08:45 jtbandes joined #geoloqi
10:10 <jtbandes> aaronpk: love that article
10:10 <aaronpk> the alot?
10:10 <jtbandes> (love it alot, even)
10:10 <jtbandes> Yep
10:10 <aaronpk> :)
10:12 <jtbandes> 'twas an unproductive day when my english class discovered that
10:14 <aaronpk> lol, my translating bots figured out that I actually meant "a lot"
12:14 jtbandes joined #geoloqi
13:25 aaronpk joined #geoloqi
13:25 donpdonp joined #geoloqi
13:25 tjgillies joined #geoloqi
13:25 Loqi joined #geoloqi
13:28 Loqi joined #geoloqi
13:28 tjgillies joined #geoloqi
13:28 donpdonp joined #geoloqi
13:28 aaronpk joined #geoloqi
13:30 reidab joined #geoloqi
13:30 aaronpk joined #geoloqi
13:30 donpdonp joined #geoloqi
13:30 tjgillies joined #geoloqi
13:30 Loqi joined #geoloqi
15:37 workshop joined #geoloqi
16:00 <donpdonp> tjgillies: what ruby lib are you using for irc bots?
16:00 <tjgillies> donpdonp, i don't have any bots right now that use ruby. but i typically use cinch
16:00 <tjgillies> its a nice terse dsl
16:00 <donpdonp> tjgillies: oh, what do you use normally
16:01 <tjgillies> nodejs
16:01 <tjgillies> this is a good lib: http://github.com/fwg/nodejs.irc/
16:02 jtbandes joined #geoloqi
16:02 <tjgillies> actually i lied
16:02 <tjgillies> thats the good one
16:03 <tjgillies> aka npm install irc
16:03 <donpdonp> coolio thx
16:05 <tjgillies> i'll post a gist of an irc bot i made for reference
16:07 <tjgillies> nevermind its kinda chopped up, not really anything more verbose than the README
16:10 icecondor joined #geoloqi
16:11 <tjgillies> iz that yur b0t?
16:11 icecondor joined #geoloqi
16:12 <tjgillies> donpdonp, if you're gonna get into node, i just found this cool javascript book: http://eloquentjavascript.net
16:13 <donpdonp> thx!
16:13 <donpdonp> http://al3x.net/2010/07/27/node.html great post on taking nodejs excitement with a grain of salt
16:14 <aaronpk> i saw that, good read
16:15 <aaronpk> was also talking with @joshmarinacci and @grigs last night about the nodejs hype too
16:15 icecondor joined #geoloqi
16:15 <aaronpk> hello icecondor! what are you doing here?
16:16 <tjgillies> i like node because it doesn't eat the crap out of my memory
16:16 <tjgillies> ;)
16:16 <aaronpk> "like" is fine, expecting it to be *the* solution to your scaling problems is not. that's basically what al3x was saying
16:16 <donpdonp> icecondor is the bot equivalent of an amoeba
16:17 <donpdonp> one lightbulb for me is a reminder that 'evented' means nothing blocks
16:18 <donpdonp> if multiple threads keeps a cpu busy even when one is waiting on IO, a single thread can keep the cpu busy if nothing waits on IO
16:19 <tjgillies> at readwrite web my infrastructure uses a combination of javascript, ruby, and python, all parts talking to each other via redis pubsub message queues
16:20 <donpdonp> oh rad. interesting use of redis
16:20 <donpdonp> that could be how the icecondor server and bot could communicate
16:21 <donpdonp> there is a redis binding for *everything*
16:21 <tjgillies> my geoloqi (node edition) server has a bot built into it
16:21 <donpdonp> tjgillies: is the source online?
16:22 <tjgillies> donpdonp, not yet, its still alpha
16:22 <tjgillies> waiting for aaron to work on the new api so i can implement it
16:22 <aaronpk> aaronpk should be able to pump out some methods tonight
16:23 <tjgillies> we busted out most of the oauth stuff the other night
16:23 <aaronpk> yea, that was the hard part :)
16:23 <aaronpk> I think I'm going to do them in the order on this page http://geoloqi.org/api
16:23 <aaronpk> will fill in the wiki pages as i go
16:24 <tjgillies> aaronpk, thats what i figured you were going to do
16:24 <tjgillies> donpdonp, i'll post a gist of the main file
16:24 <donpdonp> donpdonp wonders how the ruby script would receive new redis messages while its in the irc main loop
16:25 <aaronpk> tjgillies: I'll make you a repo in geoloqi's account so you can upload it there when you're ready
16:25 <donpdonp> i guess thats what threading is for :)
16:25 <donpdonp> aaronpk: good idea
16:25 <tjgillies> donpdonp, http://gist.github.com/493049
16:26 <tjgillies> aaronpk, ok
16:26 <donpdonp> tjgillies: got it
16:27 <tjgillies> donpdonp, i usually make a global variable for the irc object then call it from redis callback, e.g. $irc = IRCobject.new.... and in redis.subscribe { |message| $irc.say(message) }
16:28 caseorganic joined #geoloqi
16:28 <tjgillies> thats some major pesudocode though heh
16:41 <tjgillies> i use redis to push messages to browser via ajax in one app
16:42 <tjgillies> i store requests as an array and send responses to each request on message event
16:43 <donpdonp> is there... a places database.... with a URL query.... given a lat/long.... it returns..... place(s) that encompass that point?
16:44 <tjgillies> if you find one, tell me. i usually set my own bounding boxes manually
16:44 <aaronpk> places that encompass that point..?
16:44 <aaronpk> i bet yahoo's database has that
16:44 <tjgillies> would more than one place encompass a point? isn't that kind of impossible?
16:45 <tjgillies> like my house an your house encompassing the place im standing
16:45 <donpdonp> i expect one place to be the norm, but overlaps are possible. especially with a 'place' like 'oregon'
16:45 <aaronpk> 45.512,-122.632 is encompassed by: my house, ladd's addition, SE portland, Portland, Oregon, USA
16:46 <tjgillies> ok good point
16:46 <tjgillies> one project i did awhile ago was sending messages via amqp topic to an area hierarchy
16:46 <aaronpk> damn i was a little bit off
16:47 <tjgillies> so you could subscribe to *.portland and get messages for all of portland
16:47 <tjgillies> or subscribe to *.portland.se and only get messages from se portland
16:47 <aaronpk> what was the source of the messages?
16:47 <tjgillies> me, it was jus ta test system
16:48 <tjgillies> it could be anything though
16:48 <tjgillies> oh.. i remember it was a browser
16:48 <tjgillies> that got location info
16:48 <tjgillies> and then turned it into a routing key
16:49 <tjgillies> was using it for garagedollar.com
16:52 <donpdonp> gah, yahoo geo API will take all sorts of english addresses, but not lat/long
16:52 <tjgillies> donpdonp, you could reverse geocode then send to yahoo
16:52 workshop joined #geoloqi
16:52 <donpdonp> ew
16:52 <donpdonp> :)
16:52 <aaronpk> well there's also gowalla's api
16:54 <tjgillies> i don't have places defined by a "box" in geofence app, places are just lat,lon points and i use a geodesic algorithim to determine how far away from that point i am
16:57 <aaronpk> yea, point/radius math is way easier than polygon math
16:58 <donpdonp> that gowalla call just rocks
17:00 <aaronpk> yea that's pretty cool
17:00 <donpdonp> <venues><group type="Nearby"><venue><id>4285216</id><name>*Steakadelphia</name><primarycategory><id>79039</id><fullpathname>Food:American</fullpathname>
17:00 <donpdonp> woah, foursquare is equally accessable.
17:01 <donpdonp> happy days
17:08 <aaronpk> whatcha planning?
17:12 icecondor joined #geoloqi
17:12 <donpdonp> icecondor: foursquare 45.6 -122.5
17:12 <icecondor> donpdonp: closest venue: The Cove at Fisher's Landing
17:12 <tjgillies> nice
17:12 <donpdonp> aaronpk: im thinking about second-order analysis
17:13 <donpdonp> something that watches my movements and decides when im 'at' a place
17:13 <aaronpk> ah yea
17:13 <donpdonp> icecondor: foursquare 45.512,-122.632
17:13 <icecondor> Quote: 'foursquare 45.512,-122.632' by donpdonp
17:13 <donpdonp> icecondor: foursquare 45.512 -122.632
17:13 <icecondor> donpdonp: closest venue: Gold Dust Meridian
17:14 <aaronpk> icecondor: foursquare 45.5118 -122.6433
17:14 <icecondor> aaronpk: closest venue: Satellite Cafe
17:14 <donpdonp> nice
17:15 <tjgillies> icecondor: foursquare 45.523775,-122.672527
17:15 <icecondor> Quote: 'foursquare 45.523775,-122.672527' by tjgillies
17:15 <tjgillies> icecondor: foursquare 45.523775 -122.672527
17:15 <tjgillies> ...
17:15 <tjgillies> :(
17:15 <donpdonp> it doesnt know comma
17:15 <tjgillies> icecondor: foursquare 45.523775 -122.672527
17:15 <icecondor> tjgillies: closest venue: The Boiler Room
17:15 <tjgillies> there we go
17:16 <tjgillies> whats that written in?
17:16 <icecondor> tjgillies: closest venue: Foursquare is over capacity, please try again in a few minutes!
17:17 <aaronpk> ratelimited!
17:17 <tjgillies> lol
17:17 <tjgillies> not rate limited, that looks like foursquare failwhale
17:17 <donpdonp> tjgillies: http://gist.github.com/493101
17:17 <donpdonp> icecondor: where is tjgillies
17:17 <icecondor> donpdonp: I dont know where 'tjgillies' is.
17:17 <donpdonp> :)
17:18 <tjgillies> oooh isaac, haven't tried that dsl yet
17:18 <tjgillies> starring
17:18 <donpdonp> it looked nicer than cinch
17:18 <donpdonp> a cinch blog post pointed to it
17:20 <aaronpk> where is aaron?
17:20 <tjgillies> icecondor: where is self.inspect
17:20 <icecondor> tjgillies: I dont know where 'self.inspect' is.
17:20 <tjgillies> heh
17:20 <donpdonp> ha. it doesnt execute ruby code
17:21 <donpdonp> aaronpk: it looks for ^icecondor:
17:21 <aaronpk> i was trying to get loqi to do it ;)
17:21 <donpdonp> oh ;)
17:21 <tjgillies> json parsing at curl call heh
17:21 <tjgillies> i never tried that before. i usually use httparty
17:22 <tjgillies> xml/json agnostic
17:22 <donpdonp> yeah i thought about that :)
17:22 <aaronpk> where is loqi anyway?
17:22 <aaronpk> ping
17:22 <Loqi> pong
17:22 <donpdonp> tjgillies: thanks for the reminder, just dawned on me the lat long is given to the shell directly
17:23 <tjgillies> donpdonp, is that bad?
17:24 <aaronpk> i wonder where aaron is
17:24 <aaronpk> LOQI!!!!
17:24 <Loqi> Loqi loves caps
17:24 <tjgillies> !op tjgillies
17:24 <tjgillies> boys and their bots ;)
17:25 <tjgillies> ok im out headed down hawthorne ttyl
17:25 <aaronpk> i'm gonna have to install xcode before i can install geoloqi on your phone
17:25 <aaronpk> caseorganic took her laptop to cali this morning
17:26 <tjgillies> seems like shes always jetsetting
17:26 <aaronpk> no kidding
17:27 <aaronpk> ok see you at 45.5118 -122.6433
17:30 <tjgillies> if you goole those cords the first result is geoloqi at github
17:40 icecondor joined #geoloqi
17:40 <donpdonp> icecondor: where is don
17:40 <icecondor> donpdonp: Foursquare is over capacity, please try again in a few minutes! (45.5125272274017, -122.653432488441
17:41 <donpdonp> i wonder if its rate limiting my account or foursquare is failwhaling
17:58 <aaronpk> probably rate limiting
18:12 tyler-iphone joined #geoloqi
18:12 <tyler-iphone> Creepy dudes galore at this stop
18:20 <tyler-iphone> Colloquy is a nice app
19:09 caseorganic joined #geoloqi
19:20 icecondor joined #geoloqi
19:21 <donpdonp> icecondor: where is don
19:21 <icecondor> donpdonp: Hot Lips Pizza (45.5132138729095, -122.644050121307
19:21 <donpdonp> close enough :)
19:24 <donpdonp> caseorganic is at Point Richmond
19:24 <caseorganic> hha
19:24 <caseorganic> haha
19:24 <Loqi> hehe
19:25 <caseorganic> I feel like i live in a videogame
19:25 <caseorganic> and google maps is my map
19:25 <donpdonp> lol
19:25 <donpdonp> maxogden has been floating in the willamette for 21 days
19:26 <caseorganic> hahahahah
19:26 <Loqi> awesome
19:28 <donpdonp> caseorganic: i hope the trains dont keep you up at night
19:29 <donpdonp> satellite view shows tracks near by, agent case.
19:29 <donpdonp> not to mention hwy 580 :)
19:30 <caseorganic> :)
19:30 <caseorganic> thank you sir, i'll do my best to avoid the trains
19:30 <caseorganic> proximal radar tells me the enemy is nearby.
19:31 <caseorganic> in fact, the enemy may be hiding on one of those trains!
19:31 <caseorganic> i'll set up a sensor that will tell me when the next train has entered the area
19:32 <donpdonp> excelent. i'll correlate with freight and passenger train schedules
19:33 <caseorganic> roger that, over and out
19:35 <donpdonp> carry on. so say we all.
19:35 <aaronpk> so say we all
19:35 <donpdonp> ah ha! the battlestar fan was flushed out of hiding :)
19:35 <aaronpk> :)
19:35 <aaronpk> i'm so far behind, no spoilers
19:35 <donpdonp> everyone dies. oh wait, they dont.
19:36 <aaronpk> damn!
19:36 <Loqi> lolz
19:37 tyler_ joined #geoloqi
20:45 don-n1 joined #geoloqi
20:50 jtbandes joined #geoloqi
21:28 <@geoloqi> Great news - @geoloqi installed on @tylergillies phone. @aaronpk and @tylergillies now working serverside.
21:57 <donpdonp> aaronpk: epic. i love the rel: link
22:04 <aaronpk> then we'd need some discovery on geoloqi.com to go from a profile URL to a JSON endpoint
22:04 <aaronpk> or a PuSH feed
22:21 <donpdonp> i have yet to see PuSH in action
22:21 <aaronpk> i thoguht buzz uses it
22:40 tyler_ joined #geoloqi
22:41 <aaronpk> my access token expired, so now i'm implementing refresh tokens
23:29 <aaronpk> also: HTML5 prototype side-scroller engine! http://surrealize.net