PMXBOT Log file Viewer

Help | Karma | Search:

#dcpython logs for Monday the 6th of February, 2012

(Back to #dcpython overview) (Back to channel listing) (Animate logs)
[17:49:24] <aclark> richleland: you good2go for tomorrow? Almost 70 peeps!
[17:49:52] <aclark> kennethreitz: ping
[17:50:00] <kennethreitz> aclark: yo
[17:50:22] <aclark> kennethreitz: yo how'd you make that cookies.dat for fortune-service? Maybe'll make a non-offensive one and send you pull request
[17:50:41] <aclark> kennethreitz: right i have to redact "fuck" from everything
[17:50:44] <kennethreitz> aclark: that'd be awesome.
[17:50:46] <aclark> which is sub-optimal
[17:50:59] <aclark> s/right/right now/
[17:51:13] <kennethreitz> aclark: i took the forunes from hombrew's fortune forumla
[17:51:15] <kennethreitz> and packed them
[17:51:21] <kennethreitz> then also added the offensive collection
[17:51:29] <kennethreitz> so if you just exclude that completely, i think we're good
[17:51:34] <aclark> who knew there was so much lewd fortunes? :-)
[17:51:34] <aclark> ok
[17:51:38] <kennethreitz> those were a bit more offensive then i remember :P
[17:51:42] <aclark> yah
[18:44:44] <papna> kennethreitz: A lot of platforms ship their fortunes segregated
[18:45:03] <kennethreitz> papna: yeah, this module really sucks
[18:45:22] <kennethreitz> papna: but i'm too lazy to write my own ;P
[18:45:45] <papna> Getting a non-offensive fortunes.dat is probably better than trying to filter a mixed one.
[18:45:52] <papna> I can't tell if that's what he's saying he'd do.
[18:45:59] <kennethreitz> yeah, i vote for just taking them out completely
[18:46:20] <kennethreitz> we can have a seperate app for offensive ones if really neccesary :)
[18:46:24] <papna> aclark: This is the internet; it's hard to overestimate people.
[18:46:59] <aclark> papna: in case you have any interest in working on it: https://github.com/kennethreitz/fortune-service
[18:48:14] <papna> aclark: It looks pretty, erm, done?
[18:48:24] <aclark> papna: see my ticket
[18:48:48] <papna> Ah.
[18:50:30] <papna> Where is fortune.py?
[18:50:32] <aclark> papna: i was saying that until i can pass in ?offensive=0 i've been doing: return results.content.replace('fuck', '[redacted]')
[18:50:37] <aclark> which is not ideal :-)
[18:51:19] <aclark> but i must have fortunes! :-)
[18:51:54] <papna> https://github.com/goerz/fortune.py is a dependency?
[18:52:33] <aclark> oh there you go someone already did it, sort of
[18:52:46] <aclark> papna: no i think kennethreitz rolled his own
[18:53:00] <kennethreitz> i did not
[18:53:11] <papna> kennethreitz: You're depending on goerz's fortune library?
[18:54:04] <aclark> papna: just check the code
[18:54:54] <papna> aclark: I did, and I notice it's using a library called fortune. There's many fortune.py's out there, but it appears that is indeed the one, so it already has hooks to get innofensive fortunes.
[18:55:08] <aclark> papna: ah cool
[19:00:29] <richleland> aclark I'm good - can you send me details on the location though? contact phone #, when I can get in, etc.?
[19:00:56] <aclark> richleland: sent to rich@richleland.com
[19:00:59] <richleland> made some major progress on multi-mechanize over the weekend
[19:01:04] <aclark> w00t
[19:01:07] <richleland> totally rebuilt the report output
[19:01:15] <aclark> awesome
[19:01:16] <richleland> got rid of the matplotlib/numpy dependency
[19:01:39] <richleland> I'm really curious to see what kinds of things people want to perf test