IRC Logs

2008 10
Mo Tu We Th Fr Sa So
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

01. 10 2008

[00:35:15] * Kaelten has quit IRC
[00:40:52] * mtrichardson has quit IRC
[00:51:50] * rcscomp has joined #pocoo
[00:52:57] <rcscomp> Can anyone tell me how to simulate POST data with Client? I am reading the documentation about the open() method, but can't quite figure out how to use input_stream &/or data.
[00:53:08] * davidcramer has quit IRC
[00:53:47] * davidcramer has joined #pocoo
[01:10:38] <aa_> rcscomp: client.post(...) or client.open(method='POST', ...)
[01:10:57] <aa_> rcscomp: damn sorry I totally misread the question
[01:11:28] <aa_> rcscomp: what happens when you set data= ?
[01:12:56] <rcscomp> aa_: np :) Actually, I figured out I could set data, content_length, and content_type and that worked. I just copy the values from FF's Live HTTP headers extension. However, I am not trying to figure out how I would go about setting a cookie. I need to persist a session.
[01:13:12] <rcscomp> "I am not" = "I am now"
[01:13:16] <rcscomp> Any ideas?
[01:14:27] <alowry> rcscomp: I can't help with Client, but for alternatives I've had good experiences using twill to talk directly to the wsgi app: http://twill.idyll.org/testing.html
[01:16:15] <rcscomp> alowry: thanks, but I am so close with Client that I think I will try to figure out how to get it to work.
[01:23:37] * alowry has quit IRC
[01:24:52] * Kaelten has joined #pocoo
[01:38:46] * asmodai has quit IRC
[01:39:06] * alowry has joined #pocoo
[01:40:28] * matt_good has joined #pocoo
[01:53:16] <davidcramer> mitsuhiko: does jinja have some kind of generator support for rendering templates?
[01:53:33] <davidcramer> I'm trying to find a quick solution for rendering sitemaps on our site, as Django is eating up massive amounts of memory doing it
[02:03:04] * Baumichel has quit IRC
[02:20:43] * alowry has quit IRC
[02:55:09] * aconbere has quit IRC
[02:55:13] * davidcramer has quit IRC
[02:55:53] * davidcramer has joined #pocoo
[03:01:54] * matt_good has quit IRC
[03:05:10] * leche_y_galletas has joined #pocoo
[03:18:58] * rcscomp has left #pocoo
[04:15:08] * matt_good has joined #pocoo
[04:18:54] * matt_good has quit IRC
[04:19:48] * matt_good has joined #pocoo
[04:38:32] * matt_good has quit IRC
[05:16:43] * davidcramer has quit IRC
[05:17:23] * davidcramer has joined #pocoo
[05:20:35] * Suhail has joined #pocoo
[05:20:40] <Suhail> Any of you Jinja's on?
[05:20:54] <Suhail> Need help intergrating with django
[05:23:35] <Suhail> how do you integrate correctly with django in terms of its context processors ?
[05:30:32] * matt_good has joined #pocoo
[05:32:18] * matt_good has quit IRC
[05:55:43] <Kaelten> Suhail: I really need to finish packaging my code and post it :(
[06:13:37] <prencher> lazy bassa
[06:22:19] <Suhail> =\
[06:22:23] <Suhail> How do I integrate it?
[06:22:28] <Suhail> Kaelten: !
[06:23:01] <Kaelten> prencher: shut up! you know I've been hella vusy.
[06:23:28] <Suhail> no wonder, better get busy*
[06:23:51] <Suhail> So any clue how to do context_processor stuff?
[06:24:22] <Suhail> or is it completely off the map now
[06:24:31] <Kaelten> one second
[06:27:58] <Kaelten> http://paste.pocoo.org/show/86675/
[06:28:06] <Kaelten> might have a few syntax bugs in it from my stripping this out
[06:28:11] <Kaelten> but all in all it should be good
[06:28:12] <prencher> being the siege monkey for the new deployment is not being "hella vusy" :P
[06:28:20] <Kaelten> prencher: wowace.com :P
[06:28:24] <Suhail> hmmm
[06:28:29] <Kaelten> I've been super busy
[06:28:31] <prencher> oh taht little site
[06:28:35] <Kaelten> little?
[06:28:54] <Kaelten> hell I've been doing 80 pageview/s most of the day
[06:29:14] <Kaelten> without having any real content
[06:29:39] <Suhail> Kaelten: this makes me want to cry
[06:29:40] <Suhail> lol
[06:29:46] <Kaelten> Suhail: hrm?
[06:29:55] <prencher> Kaelten - surely all existing content is ther
[06:29:58] <Suhail> whatever happened to simplicity, I have no idea what's going on
[06:30:10] <Kaelten> suhail you want simplicity?
[06:30:11] <Kaelten> hehe
[06:30:16] <Kaelten> import render_to_response
[06:30:22] <Suhail> lol...
[06:30:39] <prencher> Kaelten - and it still doesnt fit in 1024 by a longshot =(
[06:30:43] <Suhail> That is a 133 lines of scariness
[06:30:53] <Kaelten> call render_to_response("index.html", {context dict}, request)
[06:31:08] <Kaelten> Suhail: hehe, just treat it as a lib
[06:31:41] <Suhail> What about Django's global context processors in settings.py?
[06:31:46] <prencher> Kaelten - also, implement a proper head title already for CF :P
[06:31:54] <Suhail> Ah I guess those just call functions anyway
[06:32:01] <Kaelten> Suhail: my stuff takes care of it
[06:32:02] <Kaelten> :)
[06:32:09] <Suhail> It does?!
[06:32:12] <Kaelten> yep
[06:32:19] <Kaelten> lines 41-44
[06:32:35] <Kaelten> er 41-43
[06:32:48] <Suhail> Interesting okay
[06:32:53] <Suhail> I'll give it a whirl
[06:33:30] <Kaelten> Suhail: versions of that code have ran some of the largest django websites, should be fine unless somethings changed in a very recent version
[06:33:55] <Suhail> You should um...put this on the site =P
[06:34:05] <Kaelten> I have a cheeseshop project
[06:34:13] <Kaelten> I need to finish packaging it
[06:34:25] <Kaelten> and cleaning it up a little bit more
[06:36:18] <Suhail> oh noez: No module named bccache
[06:36:19] <Suhail> wtf is bccache
[06:36:19] <Kaelten> thats in the newst versions of jinjda
[06:36:19] <Kaelten> jinja2
[06:36:24] <Suhail> yeah I installed that from command-line
[06:36:39] <Kaelten> comment lines 7 and 25 if you aren't using that yet
[06:37:33] <Suhail> Still happens
[06:37:48] <Suhail> Kaelten: btw, do you know if your parameters emulate that of Django's for render_to_response?
[06:38:01] <Kaelten> not sure honestly
[06:38:03] <Kaelten> I don't think so
[06:38:07] <Kaelten> but maybe
[06:38:16] <Kaelten> what is theres (I haven't used it in a long time)?
[06:38:30] <Kaelten> comment out
[06:38:30] <Kaelten> from jinja2.bccache import FileSystemBytecodeCache
[06:38:39] <Kaelten> and
[06:38:40] <Kaelten> bytecode_cache=FileSystemBytecodeCache(settings.BYTECODE_CACHE) if getattr(settings, 'BYTECODE_CACHE', None) else None
[06:39:22] <Suhail> oh oops
[06:39:28] <Suhail> guess my line #'s are offsetted
[06:39:37] <Suhail> global name 'env' is not defined
[06:39:58] <Suhail> I think you meant just that line
[06:39:59] <Suhail> I gues
[06:40:10] <Kaelten> oh no sorry
[06:40:13] <Kaelten> you need the environment
[06:40:16] <Kaelten> hehe
[06:40:16] <Suhail> I see what you meant
[06:40:25] <Suhail> I thought you said 7 THROUGH 25
[06:40:26] <Suhail> my bad
[06:40:29] <Kaelten> lol
[06:40:30] <Kaelten> sorry
[06:40:35] <Kaelten> nope just those two lines :)
[06:40:36] <Suhail> Error was: No module named markdown
[06:40:41] <Suhail> progress!
[06:41:28] <Kaelten> comment/remove from markdown import markdown as do_markdown
[06:41:41] <Kaelten> and then do the same for the next 4 lines if you don't have pyments installed
[06:41:47] <Suhail> okay
[06:41:49] <Suhail> I figured it out
[06:41:52] <Kaelten> :)
[06:41:57] <Suhail> finally erroring at render_to_response
[06:42:04] <Suhail> I don't need the markdown or pygments code
[06:42:14] <Suhail> I am using django's simplejson lib
[06:42:18] <Suhail> which I hope is okay
[06:42:21] <Suhail> *crosses fingers*
[06:42:59] <Suhail> Kaelten: Does your render_to_response take a parameter arguments?
[06:43:08] <Kaelten> parameter arguments?
[06:43:09] <Suhail> Django takes both context_instances and paramters
[06:43:16] <Kaelten> what is the function of that?
[06:43:25] <Suhail> Yeah global variables to the views, and regular parameters for views
[06:43:40] <Kaelten> def render_to_response(template, context={}, request=None, content_type="text/html", status_code=200):
[06:43:40] <Suhail> Let me find the function definition in django
[06:43:41] <Suhail> one sec
[06:43:45] <Kaelten> here is the signature of my function
[06:44:30] <Suhail> yeah I saw
[06:44:59] <Suhail> Kaelten: http://docs.djangoproject.com/en/dev/topics/http/shortcuts/?from=olddocs
[06:45:38] <Kaelten> ok mine is very similar then
[06:45:39] <Suhail> see how it has a data_dictionary
[06:45:44] <Suhail> And a context_instance?
[06:45:51] <Kaelten> right
[06:46:07] <Suhail> is your context the data_dictionary?
[06:46:10] <Kaelten> yes
[06:46:12] <Kaelten> same thing
[06:46:17] <Suhail> So no context_instance?
[06:46:21] <Kaelten> correct
[06:46:26] <Kaelten> just pass in the request object directly
[06:46:37] <Suhail> How do I manage passing in global variables across views, just append data to the dict?
[06:46:54] <Kaelten> global variables across views?
[06:47:05] <Suhail> Yeah say I need the user's status message because I show it on all pages
[06:47:17] <Suhail> Django uses context_processors to return dicts
[06:47:20] <Kaelten> you should probably do that in the context processors
[06:47:24] <Suhail> Which are included in the template
[06:47:25] <Kaelten> right
[06:47:28] <Kaelten> same thing
[06:47:38] <Suhail> So just append it to the dict then
[06:48:02] <Kaelten> well I read the standard django settings for context preprocessors
[06:49:02] <Suhail> Kaelten, so it's a matter of merging dictionaries then
[06:49:11] <Kaelten> well kinda my script handles that for you
[06:50:07] <Suhail> huh?
[06:50:09] <Suhail> No it doesn't.
[06:50:37] <Suhail> Context processors let's you define a list of functions that return dicts that will include those variables (based on the keys) into the template
[06:50:58] <Suhail> You have a variable called context that holds them all
[06:51:12] <Kaelten> not quite :)
[06:51:19] <Suhail> In django, you'd pass in the list of functions [custom_proc, another_proc] and then pass in a data_dict
[06:51:42] <Suhail> (btw got my site loaded in Jinja!)
[06:51:45] <Suhail> hoooray
[06:53:32] <Suhail> Kaelten: here's the slightly modified version: http://dpaste.com/81623/
[06:54:04] <Kaelten> cool
[06:54:18] <Kaelten> what I was saying is that my code will use the django context processors
[06:54:42] <Suhail> Kaelten: Your code uses the ones in settings.py
[06:54:46] <Suhail> What about ones outside of that?
[06:55:02] <Suhail> There's no way to pass it to your render_to_resposne function
[06:55:03] <Kaelten> and merge their results with the contents of context
[06:55:05] <Kaelten> those are the only ones supported
[06:55:13] <Kaelten> no I didn't see a way to pass it into theirs either though
[06:55:27] <Suhail> yeah Django let's you include them on the fly in their render, outside the settings.py file
[06:55:42] <Suhail> return render_to_response('my_template.html',
[06:55:43] <Suhail> my_data_dictionary,
[06:55:43] <Suhail> context_instance=RequestContext(request))
[06:55:52] <Suhail> ^ context_instance
[06:56:13] <Suhail> RequestContext(request, processors=[custom_proc, another_proc])
[06:56:25] <Suhail> processors will hold the value of more context processors
[06:56:29] <Kaelten> ah
[06:56:40] <Kaelten> well I might look at adding that functionality in it wouldn't be hard :)
[06:56:49] <Suhail> lol
[06:56:55] <Suhail> ah okay, yay
[06:57:01] <Suhail> Just wanted to make sure I wasn't wrong
[06:57:16] <Kaelten> btw, I'm more likely to get this project going if I know people are going to use it, hehe
[06:57:27] <Suhail> hahaha
[06:57:31] <Suhail> Yeah I know the feeling man
[06:58:41] <Suhail> Well
[06:58:55] <Suhail> There's a lot of people that use Django and dislike the template engine
[06:59:01] <Suhail> Trust me, you'd be helping a lot of people.
[06:59:11] <Suhail> Just write up the lib, do a tutorial, and you'll have lots of people using it
[06:59:36] <Suhail> I think if you make the function more backwards compatible, you'll be fine
[06:59:44] <Suhail> I got it running in 10 minutes once you got on
[06:59:56] <Suhail> Apparently Jinja doesn't like {% url %} though
[07:00:35] <Suhail> That might need to be in the "Switching to Django" part :P
[07:01:19] <Suhail> Kaelten: Does Jinja have reverse URL/
[07:01:21] <Suhail> ?
[07:02:11] <Kaelten> no
[07:02:16] <Kaelten> but there is hope :)
[07:02:22] <Suhail> !?
[07:02:26] <Suhail> zomg what do I do!?
[07:02:27] <Suhail> lol
[07:02:34] <Kaelten> I assume {% url %} is a alias for a permalink function?
[07:02:36] <Kaelten> of somesort?
[07:02:54] <Suhail> Yeah
[07:03:22] <Suhail> It generates the right url for a given function
[07:03:31] <Kaelten> well you'll need to either find that function
[07:03:37] <Kaelten> and import it
[07:03:40] <Kaelten> or write your own
[07:03:50] <Suhail> well, let's do the import!
[07:04:01] <Suhail> That way I know how to grab some django template love just in case.
[07:04:14] <Kaelten> well import it into your file
[07:04:16] <Kaelten> and then do
[07:05:03] <Kaelten> @Library.object(functionname)
[07:05:05] <Kaelten> er
[07:05:07] <Kaelten> sorry
[07:05:09] <Kaelten> Library.object(functionname)
[07:05:11] <Kaelten> and then do {{ functionanme() }}
[07:05:13] <Kaelten> in your template
[07:05:17] <Kaelten> passing in things to it like you would on the signature
[07:06:03] <Suhail> Kaelten: at the bottom?
[07:06:11] <Suhail> I think I found it
[07:06:11] <Kaelten> right near where I have Library.object(date)
[07:06:23] <Kaelten> er
[07:06:28] <Kaelten> actualy Library.filter(date)
[07:06:29] <Suhail> from django.core.urlresolvers import reverse
[07:07:05] <Suhail> Kaelten: it's not a filter though
[07:07:11] <Kaelten> well date it
[07:07:12] <Kaelten> is*
[07:07:21] <Suhail> So what should this be?
[07:07:22] <Kaelten> ok so import that
[07:07:38] * asmodai has joined #Pocoo
[07:07:38] <Suhail> Sytanx is {% url path.to.view.like.an.import arg1,keyword=arg2 %}
[07:07:44] <Kaelten> and do Library.object(reverse)
[07:08:07] <Suhail> Still saying unknown tag
[07:08:16] <Suhail> Library.object(reverse)
[07:08:19] <Kaelten> or if you want to keep using url to access it do Library.object(reverse, 'url')
[07:08:43] <Kaelten> and instead of that syntax
[07:08:45] <Suhail> hmm still saying unknown tag
[07:08:45] <Kaelten> do
[07:09:13] <Kaelten> {{ url('path.to.view.like.an.import', arg1, keword=arg2) }}
[07:09:20] <Suhail> oh okay
[07:09:25] <Suhail> guess it's the syntax messing up
[07:09:27] <Kaelten> ya
[07:09:44] <Kaelten> you can't create a 'tag' in jinja
[07:09:55] <Kaelten> you insert things into the global namespace that you can access like a variable
[07:10:22] <Suhail> seems like it might've worked
[07:10:25] <Kaelten> :)
[07:10:29] <Suhail> I got a new error
[07:10:42] <Kaelten> ?
[07:10:47] <Kaelten> whats it this time?
[07:10:49] <Suhail> {{ item.requires|join:", " }}'
[07:10:55] <Suhail> I guess it's just bad syntax now
[07:11:01] <Kaelten> yep
[07:11:07] <Kaelten> filter arguments are passed in like function arguments
[07:11:41] <Suhail> I don't eeven know where to find the info for doing a join
[07:11:56] <Kaelten> {{ item.requries|join(', ') }}
[07:12:00] <Suhail> Oh
[07:12:07] <Suhail> You just call the function
[07:12:11] <Kaelten> right :)
[07:12:13] <Suhail> Why bother with the pipe, just use the dot
[07:12:13] <Suhail> lol
[07:12:18] <Kaelten> lol
[07:12:35] <Kaelten> well... you could do ', '.join(item.requires)
[07:12:51] <Kaelten> but I'd just do the way I showed you first honestly
[07:12:55] <Kaelten> http://jinja.pocoo.org/2/documentation/templates#id2
[07:12:56] <Kaelten> btw
[07:13:07] <Kaelten> and all the built in filters: http://jinja.pocoo.org/2/documentation/templates#builtin-filters
[07:13:31] <Suhail> Ah thanks
[07:13:36] <Suhail> Kaelten: Are you a contributor?
[07:13:53] <Kaelten> kinda
[07:14:03] <Kaelten> I have a few credits in the jinja1 stuff
[07:14:14] <Kaelten> but no not a main contributor
[07:14:24] <Suhail> oh okay
[07:15:03] <Kaelten> mitsuhiko does most of the work on jinja i believ
[07:15:39] <Suhail> Appears I used the wrong reverse function I guess
[07:15:46] <Suhail> reverse() got an unexpected keyword argument 'item_key'
[07:15:51] <Suhail> Guess it didn't like the kwargs
[07:16:10] <Suhail> which is weird: url = reverse(self.view_name, args=args, kwargs=kwargs)
[07:16:11] <Kaelten> oh wait
[07:16:21] <Kaelten> do this
[07:16:30] <Kaelten> well pasteyour usage
[07:16:49] <Suhail> {{ url('games.dota.base.views.purchase', item_key="item_key", hero_id=hero_id) }}
[07:17:07] <Kaelten> try:
[07:17:24] <Kaelten> {{ url('games.dota.base.views.purchase', None, {item_key="item_key", hero_id=hero_id} ) }}
[07:17:53] <Suhail> nope
[07:18:19] <Suhail> err oops
[07:18:22] <Kaelten> er
[07:18:24] <Kaelten> that should be it
[07:18:28] <Suhail> :
[07:18:51] <Kaelten> or do this if you don't want to do that all over the place....
[07:19:34] <Suhail> yeah that's getting messy now
[07:19:48] <Kaelten> @Library.object
[07:19:49] <Kaelten> def url(view, *args, **kwargs):
[07:19:49] <Kaelten> return reverse(view, *args, **kwargs)
[07:20:12] <Suhail> isn't that the same thing?
[07:20:14] <Kaelten> hrm actually drop the * and ** on the return line (I believe)
[07:20:20] <Kaelten> yes
[07:20:28] <Kaelten> but it allows you to change your url call back
[07:20:30] <Suhail> Why would I drop the kwargs?
[07:20:39] <Suhail> I want to pass in arguments
[07:20:43] <Kaelten> I mean this
[07:20:44] <Kaelten> @Library.object
[07:20:44] <Kaelten> def url(view, *args, **kwargs):
[07:20:44] <Kaelten> return reverse(view, args, kwargs)
[07:20:50] <Suhail> oh
[07:20:52] <Suhail> that's what you meant
[07:21:03] <Kaelten> {{ url('view.path', bod=dole) }}
[07:21:11] <Kaelten> should work with that instead of just importing reverse
[07:21:23] <Suhail> in the clas?
[07:21:43] <Suhail> in class LibrarY?
[07:22:06] <Kaelten> hrm no
[07:22:17] <Suhail> do I still need to do:Library.object(reverse, 'url')
[07:22:22] <Suhail> Or does the decorator take care of it
[07:22:24] <Kaelten> replace the Library.object(reverse, 'url') with those three lines
[07:22:39] <Suhail> ah k
[07:24:06] <Suhail> Exception Value:
[07:24:07] <Suhail> __import__() argument 1 must be string, not tuple
[07:24:08] <Suhail> Kaelten:
[07:24:21] <Suhail> that's weiird
[07:24:24] <Kaelten> er
[07:24:28] <Kaelten> what did you pass in?
[07:24:56] <Suhail> {{ url('path.to.view', item_key="item_key", hero_id=hero_id) }}
[07:25:50] <Kaelten> hrm
[07:26:00] <Suhail> 197 self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])
[07:26:08] <Kaelten> do a print view inside your function
[07:26:19] <Kaelten> and see what it says?
[07:26:21] <Suhail> Probably a lot of shit to bubble up to that
[07:26:29] <Kaelten> hehe
[07:26:34] <asmodai> Kaelten: surprised you're still awake :)
[07:26:36] <Suhail> print view inside which function? :P
[07:26:38] <Kaelten> asmodai: me too
[07:26:43] <asmodai> hahahaha
[07:26:44] <Kaelten> Suhail: the one I just pasted you
[07:27:00] <Suhail> ok
[07:27:19] <Suhail> came up with: games.dota.base.views.index
[07:27:24] <Suhail> Which is wrong lol
[07:27:38] <Suhail> [01/Oct/2008 00:27:08] "GET /dota/items/37/ HTTP/1.1" 500 450921
[07:28:32] <Kaelten> is it?
[07:28:40] <Kaelten> that should be what you passed in
[07:28:42] <Suhail> wonder what self.urlconf_nam is
[07:28:53] <Suhail> Loook at the GET request
[07:28:54] <Kaelten> thats something from your settings.py
[07:28:56] <Suhail> it's different from the view
[07:29:23] <Suhail> Kaelten: it is?
[07:29:28] <Suhail> What var?
[07:29:30] * sashav has joined #pocoo
[07:30:20] <Kaelten> not sure, but I think it is
[07:30:22] <Kaelten> I may be wrong
[07:31:23] <Suhail> Kaelten: this is unrelated to url now, different error
[07:31:35] <Kaelten> ah well um, no clue then :)
[07:31:57] <Suhail> lol
[07:32:11] <Suhail> something is passing a tuple instead of a string
[08:32:52] * davidcramer has quit IRC
[08:33:48] * davidcramer has joined #pocoo
[08:57:50] * ronny_ has joined #pocoo
[08:58:33] * ronny has quit IRC
[09:02:46] * mika has quit IRC
[09:05:08] * mika has joined #pocoo
[09:27:02] * ronny_ is now known as ronny
[09:31:52] * davidcramer has quit IRC
[09:32:13] * davidcramer has joined #pocoo
[09:38:46] <ronny> mitsuhiko: got any idea for a upgrade path yet?
[09:38:51] <asmodai> ronny: hahaha
[09:38:56] <asmodai> Oh, you were serious
[09:39:57] <asmodai> prencher: saw the new character models for two other big names?
[09:44:34] <prencher> asmodai - what?
[09:45:06] <asmodai> http://static.mmo-champion.com/mmoc/images/news/2008/september/alextrasza9014.jpg
[09:45:13] <asmodai> http://static.mmo-champion.com/mmoc/images/news/2008/september/varimathras9014.jpg
[09:46:00] <prencher> hmrpf
[09:47:55] <asmodai> que?
[09:48:19] * rafael has joined #pocoo
[09:49:04] <prencher> no
[09:52:40] <asmodai> What no?
[09:54:16] * rafael__ has joined #pocoo
[09:54:44] <prencher> que?
[10:16:18] * rafael has quit IRC
[10:29:22] * prencher^ has joined #pocoo
[10:34:45] * prencher has quit IRC
[10:49:40] * prencher^ has quit IRC
[11:31:52] * delroth has quit IRC
[11:34:04] * delroth has joined #pocoo
[11:41:43] * prencher has joined #pocoo
[12:24:07] * Baumichel has joined #pocoo
[12:30:44] <asmodai> Former Soviet leader Mikhail Gorbachev will join forces with Russian tycoon Alexander Lebedev to launch a new political party independent of the Kremlin, the billionaire businessman said on Tuesday.
[12:35:07] * damjan has quit IRC
[12:35:20] * damjan has joined #pocoo
[12:39:08] <davidcramer> You can do that in Russia?
[12:39:11] <davidcramer> Can you do that in America? :D
[12:41:20] <asmodai> http://www.wordarc.com/images/linked_lists.jpg \o/
[12:42:55] <davidcramer> haha
[12:43:52] * davidcramer has quit IRC
[12:44:50] <prencher> finally
[12:46:39] * grumpy has joined #pocoo
[12:49:08] <asmodai> prencher: hmm?
[12:49:35] <prencher> asmodai - just set up new router at last
[12:50:10] <prencher> been having problems with the old and connection log overflow with torrents or something like that.. admin would go funny and not respond, upnp wouldn't work.. and then eventually it'd just die, needing a powercycle
[12:50:27] <asmodai> ah
[12:50:29] <prencher> so basically been powercycling it a few times a week, sometimes daily, depending on torrents and such
[12:50:34] <asmodai> was just funny:
[12:50:37] <asmodai> [12:43] :::: davidcramer!n=davidcra@cpe-76-84-24-16.neb.res.rr.com has quit
[12:50:37] <asmodai> [12:44] << prencher>> finally
[12:51:16] <prencher> you hax0red those timestamps first of all
[12:51:30] <prencher> and second, yay dd-wrt
[12:51:49] <grumpy> prencher: known issue with using bitttorrent a lot. The keep alive on sockets is too long and router doesn't kill them off. Need to adjust keepalive down to lower value.
[12:52:48] <prencher> grumpy - yar probably.. the old was a 3com with no such option though.. great router, but it was basically from before torrents and not geared for those kinds of connection patterns
[12:53:23] <prencher> new one is a lovely 16mb wrt54gl with dd-wrt on it.. runs great
[12:53:44] <prencher> won't know just how great for a couple days but so far so good
[12:53:56] <asmodai> grumpy: known issue with dd-wrt?
[12:54:18] <asmodai> my linksys is a ddwrt one too :)
[12:54:22] <prencher> asmodai - know for a fact dd-wrt has no such issue
[12:54:31] <prencher> but if it did, you can tweak basically everything in dd-wrt so..
[12:54:42] <prencher> it'd be a matter of tweaking keep-alive or max connection count
[12:54:43] <grumpy> http://www.dd-wrt.com/wiki/index.php/Router_Slowdown
[12:55:16] <prencher> asmodai - if you do get an issue, it'd be hardware related, not dd-wrt related
[12:55:29] <prencher> but then dd-wrt gives you the options to tweak to what your hardware is capable of
[12:56:36] <asmodai> well, need to check what my keep alives are
[12:56:48] <asmodai> mostly my problem has been Windows' tcp limits
[12:56:54] <asmodai> which I fixed by hacking tcpip.sys
[12:57:05] <prencher> yar, easy fix that one
[12:58:09] <prencher> so far i've had about 1k connections open on the wrt54gl.. and it's load has been <0.15 (half of which is the admin)
[12:58:21] <prencher> so.. not worried thus far :P
[12:59:30] <grumpy> And you will make it work even better by proxying all traffic via nginx for good measure no doubt. ;-)
[13:00:33] <prencher> better than carrier kangaroo
[13:02:02] <grumpy> Back to Australiaisms again are we. How did it it go, 'how ye doin mate'. Hmmm, doesn't sound quite right. :-)
[13:02:29] <prencher> that was asmodai
[13:02:33] <prencher> keep up, sheesh
[13:03:01] <grumpy> I know, and he is here, so thought I would just stick the knife in again.
[13:03:17] <prencher> i approve of this
[13:47:41] * rafael has joined #pocoo
[14:04:08] * grumpy has quit IRC
[14:10:32] * rafael__ has quit IRC
[14:30:05] <asmodai> owww
[14:30:06] * jpcw has quit IRC
[14:30:12] <asmodai> 2.6 final most likely today
[14:43:04] <prencher> 2.6 final what now?
[14:43:17] <asmodai> Python
[14:43:22] <asmodai> of course
[14:43:23] * jpcw has joined #pocoo
[14:43:35] <asmodai> Not Zine or so
[14:43:46] <prencher> birkenfeld - confirm this
[14:44:37] <prencher> whats new in 2.6 anyway? not been keeping up with that release
[14:45:37] <asmodai> prench