2010-09-02T00:04:43 *** jbalogh has quit IRC 2010-09-02T00:05:11 graham/grumpy: there? 2010-09-02T00:05:51 *** lauer_ has joined #pocoo 2010-09-02T00:07:17 *** moraes has quit IRC 2010-09-02T00:08:18 *** visteya has quit IRC 2010-09-02T00:08:30 *** derdon has quit IRC 2010-09-02T00:09:05 mitsuhiko: what day you getting into portland? 2010-09-02T00:09:13 *** visteya has joined #pocoo 2010-09-02T00:09:16 monday 2010-09-02T00:09:26 was the cheapest flight available :) 2010-09-02T00:10:08 portland... oregon? 2010-09-02T00:10:28 yes 2010-09-02T00:10:38 Wait, people coming to OR? 2010-09-02T00:10:48 Is this where Djangocon is? 2010-09-02T00:10:48 * semaphore is already there 2010-09-02T00:11:06 all of the above 2010-09-02T00:11:24 mitsuhiko: can we try it again tomorrow night? ;-) 2010-09-02T00:11:33 Hm. I'll have to play hooky from work and drive up to have lunch with people, then. 2010-09-02T00:11:36 * MostAwesomeDude works in Corvallis 2010-09-02T00:11:38 mcdonc: sure 2010-09-02T00:11:43 ok, cool, sorry 2010-09-02T00:11:48 no worries :) 2010-09-02T00:17:02 *** lakin has joined #pocoo 2010-09-02T00:19:13 *** bobthemilkman has quit IRC 2010-09-02T00:19:47 *** warz has joined #pocoo 2010-09-02T00:22:25 *** lauer_ has quit IRC 2010-09-02T00:23:49 *** bobthemilkman has joined #pocoo 2010-09-02T00:24:01 *** lauer_ has joined #pocoo 2010-09-02T00:24:49 *** jbalogh has joined #pocoo 2010-09-02T00:28:35 *** lauer_ has quit IRC 2010-09-02T00:37:39 I am a newbie to Python and its web frameworks. Trying to decide between pylons and flask for my next startup. Any pointers/suggestions? 2010-09-02T00:38:31 ChetanP: try them? :) 2010-09-02T00:38:41 ronny: ping 2010-09-02T00:38:54 ronny: there is a problem in logbook's design i want to iron out, but not sure what the best solution 2010-09-02T00:39:09 the processor is currently handler bound but will change the log record for more than one level 2010-09-02T00:39:19 see line 495 in base.py 2010-09-02T00:39:39 cloning would be the best idea of course, but then it also means that handlers will run more than one time if another handler needs the same extra information 2010-09-02T00:39:52 now the alternative would the ability to push handlers and processors independently 2010-09-02T00:39:55 any ideas? 2010-09-02T00:42:55 *** phrackSipsin has quit IRC 2010-09-02T00:45:45 *** lakin has quit IRC 2010-09-02T00:46:04 *** Eftarjin has quit IRC 2010-09-02T00:46:25 mitsuhiko: im not in a state to propperly evaluate that atm, it was a long day 2010-09-02T00:52:12 *** bobthemilkman has quit IRC 2010-09-02T01:03:57 im trying to find the Flask documentation for creating my own view function decorators 2010-09-02T01:04:29 warz: http://flask.pocoo.org/docs/patterns/viewdecorators/ 2010-09-02T01:04:52 ah, thanks. i knew it had to be there somewhere. 2010-09-02T01:05:14 you're welcome :) 2010-09-02T01:05:47 birkenfeld: ping 2010-09-02T01:06:03 *** mattikus has quit IRC 2010-09-02T01:08:37 *** kenneth_reitz has quit IRC 2010-09-02T01:08:38 *** kreitz has quit IRC 2010-09-02T01:10:18 *** ltbarcly1 has joined #pocoo 2010-09-02T01:10:57 *** ltbarcly has quit IRC 2010-09-02T01:11:19 *** alexre1 has quit IRC 2010-09-02T01:11:44 *** alexre1 has joined #pocoo 2010-09-02T01:12:33 *** lakin has joined #pocoo 2010-09-02T01:14:32 *** d0ugal has quit IRC 2010-09-02T01:21:02 *** alexre1 has quit IRC 2010-09-02T01:26:20 *** lubyou has quit IRC 2010-09-02T01:32:57 im trying to mimic this application structure, but i feel like the docs get a little ambiguous: http://flask.pocoo.org/docs/patterns/packages/#modules-and-resources 2010-09-02T01:33:18 it states: "Do the same with the frontend.py and then make sure to register the modules in the application (__init__.py) like this:" 2010-09-02T01:33:37 but i'm not sure which __init__ file it means - the outter-most, or the module specific one? 2010-09-02T01:34:08 i feel like it means the outter-most, because that's where app would be defined (only one Flask instance, i assume) 2010-09-02T01:34:43 but if thats the case, then the imports dont quite make sense 2010-09-02T01:35:35 oh, those are for the section above, oops. hrm. 2010-09-02T01:41:43 *** kenneth_reitz has joined #pocoo 2010-09-02T01:43:19 oh, what.. flask has an explicit app.register_module now.. didn't know that 2010-09-02T01:43:19 i must be confused. i mean, i like to think im a pretty smart guy, but i just cant figure out how to achieve that application directory structure properly. its just not adding up for me. =\ 2010-09-02T01:44:14 .. and no longer are you required to use a global "app" object.. cool 2010-09-02T01:47:22 *** juanpablo has left #pocoo 2010-09-02T01:48:17 *** michelp has quit IRC 2010-09-02T01:49:54 in the following example, do you even need the views.py files? http://flask.pocoo.org/docs/patterns/packages/#modules-and-resources 2010-09-02T01:50:11 i think itd make more sense to me if i just did all my views in __init__.py, and had no views.py 2010-09-02T01:50:28 ok this is the *correct* way to do python web apps http://flask.pocoo.org/docs/patterns/appfactories/ :) 2010-09-02T01:50:28 rather than having an empty __init__.py and importing my Module from view.py 2010-09-02T01:52:11 *** moraes has joined #pocoo 2010-09-02T01:55:41 *** GrahamDumpleton has joined #pocoo 2010-09-02T01:55:48 You rang. 2010-09-02T01:56:23 Mitsuhiko: Are you still there? 2010-09-02T01:56:33 unfortunately yes :) 2010-09-02T01:56:42 GrahamDumpleton: time tomorrow at my evening? 2010-09-02T01:56:54 In meeting, so can half listen. 2010-09-02T01:57:11 mcdonc and me would like to discuss that wsgi thing :) 2010-09-02T01:57:19 interested in joining? 2010-09-02T01:57:39 What time ITC. 2010-09-02T01:57:51 UTC 2010-09-02T02:00:44 *** moraes has quit IRC 2010-09-02T02:01:04 *** moraes has joined #pocoo 2010-09-02T02:04:38 Mitsuhiko: are we talking just irc, or some sort fo fancy Skype conference. 2010-09-02T02:06:34 skype :) 2010-09-02T02:06:58 GrahamDumpleton: timezone here is 19:00 UTC as a start would be awesome, but if later is required, i can adapt :) 2010-09-02T02:09:38 *** GrahamDumpleton has quit IRC 2010-09-02T02:11:31 *** DasIch_ has joined #pocoo 2010-09-02T02:14:42 *** matrixise has joined #pocoo 2010-09-02T02:15:10 *** DasIch has quit IRC 2010-09-02T02:16:14 *** GrahamDumpleton has joined #pocoo 2010-09-02T02:16:53 Think that is 5am my time. :-( 2010-09-02T02:18:30 GrahamDumpleton: what timezone are you in? 2010-09-02T02:19:20 i think mcdonc is something around utc as well, might even be in my timezone 2010-09-02T02:19:25 +1000 2010-09-02T02:19:40 i'm utc-5 or utc-6 2010-09-02T02:20:40 er, looks like utc-4 2010-09-02T02:21:23 *** NamNT has joined #pocoo 2010-09-02T02:23:30 *** michelp has joined #pocoo 2010-09-02T02:25:01 Actually 3am. Not think straight this morning so that guess may be wrong as well. 2010-09-02T02:25:46 No 5am is right. 2010-09-02T02:26:04 damn. mixed that up 2010-09-02T02:26:27 GrahamDumpleton, mcdonc: so, what time should we pick? 2010-09-02T02:26:50 What are you wanting to discuss? 2010-09-02T02:26:59 a conference? is it public? i'd like to listen to your ideas 2010-09-02T02:27:24 Way I see it, we have a few options, just a case of having wider group of people agree on which one. 2010-09-02T02:28:10 aiui, we're to discuss how to amend the existing "web3" spec so we can send it to web-sig 2010-09-02T02:28:24 Wanting to update flox wiki page but not motivated enough. 2010-09-02T02:29:01 *** mattikus has joined #pocoo 2010-09-02T02:30:19 What day are you talking about. Your Thursday evening or Friday evening. 2010-09-02T02:31:08 thursday 2010-09-02T02:32:25 You want to talk about this before DjangoCon? 2010-09-02T02:32:57 Worst case I will be in US in a few weeks and time zones may work better. :-) 2010-09-02T02:34:33 GrahamDumpleton: i can't promise you yet that i will have a notebook with me with working skype 2010-09-02T02:34:40 my macbook still did not arrive :-/ 2010-09-02T02:35:18 *** plaes has quit IRC 2010-09-02T02:35:22 logbook: Armin Ronacher thing-stack * raeabd14 / (4 files in 2 dirs): Started working on experimental new processor support - http://bit.ly/cWnieE * http://github.com/mitsuhiko/logbook/commit/aeabd14fe6fb3fc72b4dc6f8aa6d3f89811ab3fe 2010-09-02T02:35:24 logbook: Armin Ronacher thing-stack * rb87c2fb / (5 files in 2 dirs): Fixed test cases, but docstrings are still not up to date - http://bit.ly/bQ1ZW1 * http://github.com/mitsuhiko/logbook/commit/b87c2fbf7e4b445dd6f2cdfbb310cba3accc7917 2010-09-02T02:35:48 *** plaes has joined #pocoo 2010-09-02T02:37:37 Back at desk now. Getting off so can switch from iPad back to laptop. 2010-09-02T02:37:44 *** GrahamDumpleton has quit IRC 2010-09-02T02:38:25 *** GrahamDumpleton has joined #pocoo 2010-09-02T02:38:48 *** lakin has quit IRC 2010-09-02T02:39:03 mitsuhiko: i think your changes to AppClass in the spec aren't quite right... 2010-09-02T02:39:31 (with your changes, its __call__ will need to accept an environ rather than its __init__) 2010-09-02T02:39:47 mcdonc: ah yes, that is a refactoring bug :) 2010-09-02T02:39:55 the idea is that __call__ will get the environment obviously 2010-09-02T02:40:05 no worries, i'll fix 2010-09-02T02:40:36 logbook: Armin Ronacher thing-stack * rf62b824 / (logbook/handlers.py test_logbook.py): Reversed logic for bubble. Better default by far - http://bit.ly/9zSDzx * http://github.com/mitsuhiko/logbook/commit/f62b824e3aa5401b315aa35bd65ea5092b02afab 2010-09-02T02:42:19 So the point of this discussion then is not where bytes vs unicode is used, but the separate issue of refactoring interface to get rid of start_response? Yes/no? 2010-09-02T02:42:35 What part of problem you trying to work on? 2010-09-02T02:42:47 GrahamDumpleton: all :D 2010-09-02T02:43:31 bytes/unicode/start_response/file_wrapper/input stream/backwards compat/async? 2010-09-02T02:43:52 the last one i want to tackle because otherwise things like tornado go too far from the wsgi eco system 2010-09-02T02:44:36 Right now I wish we could just get people to decide on where bytes/unicode is to be used. The rest is easy in comparison to getting people to agree on that first one. 2010-09-02T02:45:02 GrahamDumpleton: we have to give people a reason to go python 3 2010-09-02T02:45:22 and if we have an ass kicking version of wsgi that also works on python 3 that does more than just fixing bytes/unicode that would be a huge thing 2010-09-02T02:46:50 does streaming work in async mode? 2010-09-02T02:47:03 or would it be like buffering everything and dumping out all at once 2010-09-02T02:47:31 streaming already works in sync mode 2010-09-02T02:47:37 why should we break it for async? 2010-09-02T02:48:00 technology limitation? 2010-09-02T02:48:14 (applied to libevent at least) 2010-09-02T02:49:04 the thing with streaming is there's gotta be a timer event 2010-09-02T02:49:17 *** lakin has joined #pocoo 2010-09-02T02:49:19 which i think shouldn't be part of the web spec 2010-09-02T02:50:31 breakfast! 2010-09-02T02:51:09 *** mattikus has quit IRC 2010-09-02T02:53:58 *** lubyou has joined #pocoo 2010-09-02T02:54:04 *** lubyou has joined #pocoo 2010-09-02T02:54:19 until we provide a fully fleshed out spec, all argument is for naught i think 2010-09-02T02:55:14 NamNT: what timer event? 2010-09-02T02:58:08 mcdonc: In your specification, can you please fix up the CGI/WSGI example so as to make it safe for people who use 'print' Ie., replace sys.stdin/sys.stdout and remember originals for use by bridge. See https://bitbucket.org/grahamdumpleton/wsgi2wsgi/src/tip/wsgi2wsgi/adapters/cgi2wsgi/adapter.py as example. 2010-09-02T02:58:39 ok 2010-09-02T03:03:28 *** lakin has quit IRC 2010-09-02T03:09:01 *** ChetanP has quit IRC 2010-09-02T03:09:44 Whoops, protecting done in https://bitbucket.org/grahamdumpleton/wsgi2wsgi/src/tip/wsgi2wsgi/adapters/cgi2wsgi/program.py 2010-09-02T03:10:04 mitsuhiko: i'm really looking forward to using logbook for my apps 2010-09-02T03:10:10 That code is part of one of my semi abandoned experiments that have no time for. 2010-09-02T03:10:15 *** alexre1 has joined #pocoo 2010-09-02T03:10:33 kenneth_reitz: the new branch i have is a lot more useful than main though :) 2010-09-02T03:10:47 but unfortunately i probably broke the handler setups, but that should be easy to adapt 2010-09-02T03:10:56 i basically moved the bubbling flag and stuff like that on the handler 2010-09-02T03:10:59 mitsuhiko: i haven't tried it all yet, just used the documentation 2010-09-02T03:11:01 a lot more awesome that way :) 2010-09-02T03:11:13 when do you think it'll be released? 2010-09-02T03:11:29 ready for djangocon :) 2010-09-02T03:12:28 GrahamDumpleton: i think i'm too lazy to python3-ify that protection code 2010-09-02T03:12:42 python-3-and-2-compatify that protection code really 2010-09-02T03:12:54 logbook: Armin Ronacher thing-stack * r132bf9d / (logbook/more.py test_logbook.py): Refactored tagging handler - http://bit.ly/cH4QYc * http://github.com/mitsuhiko/logbook/commit/132bf9d638eb2629ece5b47c326ff0d0bad8fb73 2010-09-02T03:12:55 logbook: Armin Ronacher thing-stack * ra4ce5ab / (6 files): Started updating the docs - http://bit.ly/b95gb0 * http://github.com/mitsuhiko/logbook/commit/a4ce5ab51a978a9d071093c2f3739d75d7ea5e96 2010-09-02T03:12:56 logbook: Armin Ronacher thing-stack * rb30ea22 / logbook/base.py : Logger handlers and context handlers are handled the same way now - http://bit.ly/9RgfTS * http://github.com/mitsuhiko/logbook/commit/b30ea22b94dfd7b0b546dfdff376ce4d1a2beb99 2010-09-02T03:12:57 logbook: Armin Ronacher thing-stack * rb19f95c / (CHANGES docs/api.rst logbook/base.py logbook/handlers.py): More documentation updates - http://bit.ly/9TZxxt * http://github.com/mitsuhiko/logbook/commit/b19f95cc15d59360f4d3d8f651f8011b54a76412 2010-09-02T03:12:58 logbook: Armin Ronacher thing-stack * r21297eb / test_logbook.py : Fixed a testcase - http://bit.ly/acZS7M * http://github.com/mitsuhiko/logbook/commit/21297eb857ea422481f08e18fd67630dd41a82bc 2010-09-02T03:15:18 (given that its purpose is to be a short example, and not a production system) 2010-09-02T03:15:57 damjan, there's gotta be a way to send, stop, send, stop, no? 2010-09-02T03:16:38 just yield? 2010-09-02T03:17:12 damjan, yea, then the hub (or whatever) must then resume it 2010-09-02T03:17:54 or more preferably, ersume it at the next interval 2010-09-02T03:17:59 say, 8000kbps 2010-09-02T03:18:26 you send one 8000 chunk at time t, a second later another 8000 chunk 2010-09-02T03:18:58 maybe i'm overcomplicating the problem :-/ 2010-09-02T03:20:52 I think the problem is that all async frameworks for Python are cooperative 2010-09-02T03:21:23 so if you want to give equal share to all requests, you'd need to limit what they do for each iteration 2010-09-02T03:21:47 .. but not many libraries that will generate the output will do that 2010-09-02T03:27:40 *** lakin has joined #pocoo 2010-09-02T03:36:16 mcdonc: Huh. It is 4 lines. 2010-09-02T03:37:05 Problem is people use the CGI/WSGI adapter from specification as they trust it is complete and correct and not an example. :-( 2010-09-02T03:37:25 k, can you translate it to something that uses the equivalent of StringIO that uses python 3 spellings 2010-09-02T03:38:38 imo this is the job of the reference impl 2010-09-02T03:38:46 (which of course doesnt yet exist) 2010-09-02T03:39:29 if somebody cuts and pastes this thing into their production app, they can keep both pieces imo 2010-09-02T03:40:20 mcdonc: http://paste.pocoo.org/show/257407/ 2010-09-02T03:40:39 At least that is what 2to3 did. :-) 2010-09-02T03:41:08 Then use remember stdin/stdout instead of sys ones. 2010-09-02T03:41:22 you're gonna make me do this huh 2010-09-02T03:41:53 It can wait. 2010-09-02T03:42:08 It is just one of my pet peeves about old spec. 2010-09-02T03:42:43 k.. we've bigger fish to fry i think 2010-09-02T03:43:53 speaking of which, i've projected my own pet peeve into this spec wrt PATH_INFO and SCRIPT_NAME 2010-09-02T03:44:32 the spec indicates that the server should put non-%2F escaped values for those things into web3.path_info and web3.script_name respectively 2010-09-02T03:44:43 this may not stand the test of reality, but just FYI 2010-09-02T03:48:39 logbook: Armin Ronacher thing-stack * ra09e9c6 / (5 files in 3 dirs): Added warning redirections and more documentation updates - http://bit.ly/aw7oqy * http://github.com/mitsuhiko/logbook/commit/a09e9c6333591f2c0bc38e7cdcc32370befc8e3d 2010-09-02T03:54:28 mcdonc: That is what Ian wants as well. It opens a bit of a can of worms because web servers will normalise ../ in path. It has to still be able to do that for SCRIPT_NAME and get rid of it, but for PATH_INFO we now don't want that done. But don't do it you better make sure web applicaiton knows it has to. else could end up with directory traversal attacks. 2010-09-02T03:58:26 *** NamNT has quit IRC 2010-09-02T04:01:41 wow. web2py now has sponsored links on reddit 2010-09-02T04:01:49 """web2py book 3rd Ed on Lulu: authentication (OpenID/OAuth/RPX), access control, components, plugins, new DAL features (recursive selects, virtual fields, etc.), GAE integration and more. Free online. (lulu.com) 2010-09-02T04:01:50 promoted by mdipierro 2010-09-02T04:01:50 share 2010-09-02T04:01:50 save 2010-09-02T04:01:50 hide 2010-09-02T04:01:52 sponsored link""" 2010-09-02T04:02:07 not a bad idea 2010-09-02T04:02:49 GrahamDumpleton: yeah, most sensible apps do the right thing there (I know paste's code does) 2010-09-02T04:02:55 Man, those books suck. 2010-09-02T04:03:31 mitsuhiko: Just let a adwords thing expire without using it. I get them occassionally. We could have used to get and add for Flask when you search for web2py. That would be funny. 2010-09-02T04:03:51 crap i had one of those adwords things sitting around too 2010-09-02T04:03:56 wonder if mine expired 2010-09-02T04:04:03 GrahamDumpleton: heh :D 2010-09-02T04:04:15 the pdf's are pretty expensive and i've. uh, aquired a few of them, and they are terribad. 2010-09-02T04:04:17 looks like digg is using some python in v4 2010-09-02T04:04:34 mitsuhiko: i just made some minor changes to that spec 2010-09-02T04:04:35 http://github.com/mcdonc/web3/commit/676456b8ca853d53d9823dd7e9ce7a80e2f20c7b 2010-09-02T04:05:02 mcdonc: that somehow does not show a diff 2010-09-02T04:05:21 crud i also renamed web3.txt to web3.rst that's likely whu 2010-09-02T04:05:23 why 2010-09-02T04:05:34 mcdonc: AppClass still has environ on __init__ 2010-09-02T04:05:40 that should be changed i suppose 2010-09-02T04:06:09 wtf 2010-09-02T04:06:40 i'm a git dummy 2010-09-02T04:06:48 it's likely i still have pending changes 2010-09-02T04:06:54 git status should show that 2010-09-02T04:07:01 For SCRIPT_NAME, you cant require %2f to be intact. That will be server dependent. 2010-09-02T04:07:27 *** Ergo^ has quit IRC 2010-09-02T04:07:54 ok, they're pushed (i forgot git add) 2010-09-02T04:08:06 mcdonc: git commit -a commits all changes 2010-09-02T04:08:28 i should use that 2010-09-02T04:08:53 i will read that when i wake up again 2010-09-02T04:09:00 it's 4 am here right now and i'm damn tired :) 2010-09-02T04:09:13 yup, mostly the checkin message is all you need to know 2010-09-02T04:09:46 mcdonc: +1 to all of them :) 2010-09-02T04:09:58 k, so tomorrow, then? 2010-09-02T04:10:05 yes 2010-09-02T04:10:09 ttys 2010-09-02T04:11:19 *** alexre1 has quit IRC 2010-09-02T04:22:20 hi all, im trying to get this Module-based directory structure working. ive got several Modules, none of them really do much of anything yet, but in my 'core' module i'm just trying to render a template in one of the views. the urls seem to be mapping to the proper view functions, in each module. but, i'm getting template not found exceptions. 2010-09-02T04:22:26 mitsuhiko: 4am your time works for me. :-) 2010-09-02T04:22:26 my directory structure looks like this: http://dpaste.org/vZnp/ 2010-09-02T04:22:47 We can talk while I have lunch. 2010-09-02T04:23:00 and the view function looks like this: http://dpaste.org/3Sqp/ 2010-09-02T04:23:44 i cant figure out where it's looking for the templates 2010-09-02T04:31:46 *** mattikus has joined #pocoo 2010-09-02T04:40:00 *** darkrho has quit IRC 2010-09-02T04:41:03 *** lubyou has quit IRC 2010-09-02T04:51:05 *** hoangelos has quit IRC 2010-09-02T04:57:16 *** lakin has quit IRC 2010-09-02T04:59:18 *** lubyou has joined #pocoo 2010-09-02T04:59:19 *** lubyou has joined #pocoo 2010-09-02T05:03:35 *** sublee has joined #pocoo 2010-09-02T05:11:46 ah, have to use app name / template name 2010-09-02T05:11:59 *** izibi has quit IRC 2010-09-02T05:12:52 *** sublee has quit IRC 2010-09-02T05:13:49 PyPI update: [flask-silk] docupdate 2010-09-02T05:21:49 *** zarf has quit IRC 2010-09-02T05:24:17 *** cgrinds has quit IRC 2010-09-02T05:24:20 *** italomaia has joined #pocoo 2010-09-02T05:24:59 hi, i'm trying to use jinja extension i18n, but i happen to fall in this exception: 'gettext' is undefined. gettext is in the path, tough 2010-09-02T05:25:01 any ideas? 2010-09-02T05:28:00 *** sublee has joined #pocoo 2010-09-02T05:31:58 *** krunk- has quit IRC 2010-09-02T05:32:07 *** krunk- has joined #pocoo 2010-09-02T05:32:21 *** krunk- has joined #pocoo 2010-09-02T05:39:46 *** slackrunner has quit IRC 2010-09-02T05:50:13 *** GrahamDumpleton has quit IRC 2010-09-02T05:56:10 *** alexre1 has joined #pocoo 2010-09-02T05:58:26 *** alexre1 has quit IRC 2010-09-02T06:06:16 *** NamNT has joined #pocoo 2010-09-02T06:06:47 *** jbalogh has quit IRC 2010-09-02T06:12:38 *** riq has quit IRC 2010-09-02T06:13:22 *** riq has joined #pocoo 2010-09-02T06:16:51 *** warz has quit IRC 2010-09-02T06:21:26 *** riq has quit IRC 2010-09-02T06:22:07 *** riq has joined #pocoo 2010-09-02T06:23:30 *** mcdonc has quit IRC 2010-09-02T06:23:40 *** mcdonc has joined #pocoo 2010-09-02T06:25:13 *** jbalogh has joined #pocoo 2010-09-02T06:46:54 *** iFDH has joined #pocoo 2010-09-02T06:48:51 *** kenneth__ has joined #pocoo 2010-09-02T06:50:01 *** kenneth_reitz has quit IRC 2010-09-02T06:50:41 *** iFDH has quit IRC 2010-09-02T06:52:45 *** DasIch_ is now known as DasIch 2010-09-02T07:06:14 *** mr_amit has joined #pocoo 2010-09-02T07:11:09 *** zepolen__ has joined #pocoo 2010-09-02T07:14:40 *** zepolen_ has quit IRC 2010-09-02T07:16:44 *** jbalogh has quit IRC 2010-09-02T07:18:41 *** michelp has quit IRC 2010-09-02T07:21:16 *** pigletto has joined #pocoo 2010-09-02T07:21:25 *** sjampoo has joined #pocoo 2010-09-02T07:23:51 *** kenneth__ has quit IRC 2010-09-02T07:24:12 *** kenneth_reitz has joined #pocoo 2010-09-02T07:24:51 *** jbalogh has joined #pocoo 2010-09-02T07:24:58 *** michelp has joined #pocoo 2010-09-02T07:29:14 *** maze has quit IRC 2010-09-02T07:29:17 *** maze has joined #pocoo 2010-09-02T07:50:37 *** warz has joined #pocoo 2010-09-02T07:51:01 *** bwang has joined #pocoo 2010-09-02T07:56:49 *** sublee has quit IRC 2010-09-02T08:03:48 *** bwang has quit IRC 2010-09-02T08:12:40 *** Eftarjin has joined #pocoo 2010-09-02T08:18:04 *** jpcw has quit IRC 2010-09-02T08:18:09 *** bwang has joined #pocoo 2010-09-02T08:20:44 *** sublee has joined #pocoo 2010-09-02T08:22:42 *** italomaia has quit IRC 2010-09-02T08:29:42 PyPI update: [Flask-Cache] new release 2010-09-02T08:29:43 PyPI update: [Flask-Cache] add 2.6 file Flask_Cache-0.3.1-py2.6.egg 2010-09-02T08:29:46 PyPI update: [Flask-Cache] docupdate 2010-09-02T08:35:25 *** andialbrecht_ is now known as andialbrecht 2010-09-02T08:35:37 *** arteme has joined #pocoo 2010-09-02T08:36:41 *** lauer_ has joined #pocoo 2010-09-02T08:40:54 *** lauer_ has quit IRC 2010-09-02T08:42:18 *** kenneth_reitz has quit IRC 2010-09-02T08:47:03 *** Eftarjin1 has joined #pocoo 2010-09-02T08:47:25 *** lauer_ has joined #pocoo 2010-09-02T08:48:30 *** danjac has joined #pocoo 2010-09-02T08:49:04 *** kenneth_reitz has joined #pocoo 2010-09-02T08:50:20 *** Eftarjin has quit IRC 2010-09-02T08:54:04 *** kenneth_reitz has quit IRC 2010-09-02T09:00:10 *** riq has quit IRC 2010-09-02T09:00:17 *** kenneth_reitz has joined #pocoo 2010-09-02T09:00:53 *** riq has joined #pocoo 2010-09-02T09:06:36 hi 2010-09-02T09:09:56 mitsuhiko: pong 2010-09-02T09:23:15 *** nullie has joined #pocoo 2010-09-02T09:25:25 *** warz has quit IRC 2010-09-02T09:26:12 *** warz has joined #pocoo 2010-09-02T09:27:47 kenneth_reitz: ping 2010-09-02T09:28:00 hello 2010-09-02T09:30:55 *** kenneth_reitz has quit IRC 2010-09-02T09:33:27 *** d0ugal has joined #pocoo 2010-09-02T09:34:56 *** tux21b has joined #pocoo 2010-09-02T09:37:03 git is horrible 2010-09-02T09:37:29 *** kenneth_reitz has joined #pocoo 2010-09-02T09:37:31 mitsuhiko: http://packages.python.org/Flask-Cache/ talks about "The following configuration values exist for Flask-SQLAlchemy:" 2010-09-02T09:37:31 that is all 2010-09-02T09:37:52 *** warz has quit IRC 2010-09-02T09:38:25 ThomasWaldmann: raise a ticket on the Flask-Cache github repo 2010-09-02T09:39:33 why is git horrible 2010-09-02T09:44:07 awkward 2010-09-02T09:44:26 compared to mercurial anyway 2010-09-02T09:44:50 I'm sure it has better support for merging etc, but it's UI is just horrible 2010-09-02T09:45:53 as in counter-intuitive 2010-09-02T09:47:53 danjac: just fixing such stuff is much faster than the bugtracking overhead 2010-09-02T09:48:10 *** kenneth_reitz has quit IRC 2010-09-02T09:48:26 mitsuhiko: the timeout description is missing the unit of time (seconds?) 2010-09-02T09:48:39 sure but mitshuhiko isn't the contributor 2010-09-02T09:48:54 *** Eftarjin1 has quit IRC 2010-09-02T09:50:20 *** kenneth_reitz has joined #pocoo 2010-09-02T09:52:35 *** mattikus has quit IRC 2010-09-02T09:52:52 *** jpcw has joined #pocoo 2010-09-02T09:53:14 oops 2010-09-02T09:56:55 mitsuhiko: ignore 09:37/48 2010-09-02T10:02:02 *** hasenj has joined #pocoo 2010-09-02T10:05:13 *** piranha has joined #pocoo 2010-09-02T10:08:59 danjac: hah, good luck telling that to mitsuhiko :) 2010-09-02T10:09:17 birkenfeld: I know :-) 2010-09-02T10:09:29 but at least I am not alone here anymore 2010-09-02T10:10:08 It looks like it was designed by Linux kernel developers...oops, it was 2010-09-02T10:11:12 The interface feels more 'hacked together' than designed 2010-09-02T10:14:44 * ThomasWaldmann also dislikes git, esp. for not being platform independant pretty python code 2010-09-02T10:20:48 PyPI update: [Flask-Cache] docupdate 2010-09-02T10:21:46 PyPI update: [flask-silk] docupdate 2010-09-02T10:24:15 that was fast :) 2010-09-02T10:25:11 of course, for me there's also the dogfood aspect, as a Python developer I like to stick with Python tools 2010-09-02T10:32:26 birkenfeld: please pull bb://RonnyPfannschmidt/hgpaste - i added private paste support 2010-09-02T10:36:00 *** hasenj has quit IRC 2010-09-02T10:39:23 *** keppla has joined #pocoo 2010-09-02T10:39:54 *** bwang has quit IRC 2010-09-02T10:41:24 *** maxpn has joined #pocoo 2010-09-02T10:41:33 ronny: thank 2010-09-02T10:41:34 s 2010-09-02T10:44:14 birkenfeld: i wonder if we can get that extension some acceptance tests 2010-09-02T10:44:19 same goes for hgbb 2010-09-02T10:44:44 feel free :) 2010-09-02T10:45:40 birkenfeld: i'll have to pester the hg guys first about making their testrunner more accessible 2010-09-02T10:46:30 (urrently external extension tend to ship a own outdated copy thats a bit not nice) 2010-09-02T10:47:58 *** donri has joined #pocoo 2010-09-02T10:51:16 yep 2010-09-02T10:51:20 *** tlynn has joined #pocoo 2010-09-02T10:51:28 ronny: btw, did mitsuhiko ask you about pocoo membership? 2010-09-02T10:52:13 *** bobthemilkman has joined #pocoo 2010-09-02T10:55:24 birkenfeld: not yet 2010-09-02T10:55:55 so, would you be interested? 2010-09-02T10:56:01 *** d0ugal has quit IRC 2010-09-02T10:58:19 birkenfeld: sure 2010-09-02T10:58:27 *** tlynn has quit IRC 2010-09-02T10:58:45 ronny: would you want to put projects under the pocoo umbrella then? 2010-09-02T10:59:16 birkenfeld: im just a bit axious about living up to it, and there is also the pida umbrella, needs some tought i think 2010-09-02T11:01:23 and now for something different - birkenfeld: what do you think of hgdistver? 2010-09-02T11:02:52 *** d0ugal has joined #pocoo 2010-09-02T11:03:24 * dennda likes git :P 2010-09-02T11:04:32 ronny: there's nothing you have live up to :) 2010-09-02T11:04:56 as critical as you are with code, I don't think you can even produce bad quality :) 2010-09-02T11:05:28 well anyway, best fork bb:mitsuhiko/pocoo-website and add yourself 2010-09-02T11:05:31 birkenfeld: you guys kind of set a nicely unreasonably high standard 2010-09-02T11:05:37 hah :) 2010-09-02T11:06:55 don't worry 2010-09-02T11:07:28 hum, now i still have to think about what to do with the stuff under pida 2010-09-02T11:07:31 and even if so, it cannot hurt your projects to have the pocoo stamp then :) 2010-09-02T11:08:12 mitsuhiko: FileSystemCache looks like having avoidable concurrency issues, would you like a fix or do you prefer fixing it on your own? 2010-09-02T11:09:29 * ThomasWaldmann means the case that one process is updating cache and while that is happening, another process is reading the same entry 2010-09-02T11:09:36 * moraes bets on "would like a fix" 2010-09-02T11:10:03 *** krunk- has quit IRC 2010-09-02T11:12:18 (I didn't implement the fix yet as I am not using that code, but I am considering using it instead of some code from MoinMoin.caching - but of course I don't want regressions.) 2010-09-02T11:13:07 (the fix is to write to a tempfile and then do a hopefully-atomic rename using that special platform-abstracting rename function) 2010-09-02T11:19:23 hmm, _prune looks defect. confusing keys and filenames. 2010-09-02T11:20:32 does anyone use FileSystemCache? 2010-09-02T11:29:50 *** riq has quit IRC 2010-09-02T11:30:32 *** riq has joined #pocoo 2010-09-02T11:40:30 *** tux21b has quit IRC 2010-09-02T11:40:50 ThomasWaldman: I can't imagine anyone would, for the reasons you give - why, when you can used memcached ? 2010-09-02T11:41:07 it's cool that the new pocoo site will eat own dog food. 2010-09-02T11:41:32 personally I'd only used filesystem cache for testing purposes 2010-09-02T11:42:25 danjac, maybe to provide it as option for setups that don't have memcache 2010-09-02T11:43:02 I wonder about what efficiency you would gain by having to read from disk anyway 2010-09-02T11:43:46 for complex queries, I suppose 2010-09-02T11:43:49 versus making a bunch of queries etc. 2010-09-02T11:44:24 but why would you not have memcached for a setup where you need caching ? 2010-09-02T11:44:42 *** izibi has joined #pocoo 2010-09-02T11:45:18 well. think on a moinmoin user that has a cheap host with limited resources. :P 2010-09-02T11:46:45 anyway. screw it. use memcache. 2010-09-02T11:48:35 damn, there is so much activity on the flask mailinglist it's getting scary 2010-09-02T11:48:57 moraes: yes, I can see that. 2010-09-02T11:51:26 ronny: you can't abandon pida, look at all these guys managing 6 or 7 open source projects 2010-09-02T12:01:20 danjac: some people can't use memcached because they have none and can't setup one either 2010-09-02T12:03:40 *** worrp has joined #pocoo 2010-09-02T12:03:52 pocoo is becoming like apple 2010-09-02T12:04:13 whatever you put out on the web is praised by numerous people :) 2010-09-02T12:04:19 (not saying i don't like that) 2010-09-02T12:04:53 dennda: we are just that awesome ;) 2010-09-02T12:06:19 if anything from pocoo sucks, it is because they understand users better and cut features. 2010-09-02T12:06:25 *** Shyde has joined #pocoo 2010-09-02T12:08:54 DasIch, btw, congratulations for being a pocooner now. :) 2010-09-02T12:09:15 pocooner? 2010-09-02T12:09:38 should it be pocoonista? 2010-09-02T12:09:59 pocooner sounds better, no? 2010-09-02T12:10:22 pocooltist 2010-09-02T12:10:36 i can't decide 2010-09-02T12:10:57 pocooian 2010-09-02T12:11:07 poopoo 2010-09-02T12:11:27 pocuckoos 2010-09-02T12:12:58 p(r)octoologist ;-) 2010-09-02T12:23:51 mitsuhiko: http://paste.pocoo.org/show/257499/ fix for FileSystemCache 2010-09-02T12:24:20 (for prune, which was completely broken) 2010-09-02T12:27:19 *** worrp has quit IRC 2010-09-02T12:27:42 PyPI update: [Flask-Testing] add source file Flask-Testing-0.2.4.tar.gz 2010-09-02T12:28:09 *** Octal_ has quit IRC 2010-09-02T12:28:09 *** m_c has joined #pocoo 2010-09-02T12:28:10 *** Octal has joined #pocoo 2010-09-02T12:29:38 PyPI update: [Flask-Testing] docupdate 2010-09-02T12:32:25 *** nullie has quit IRC 2010-09-02T12:37:30 a pocoo person is a "poc" 2010-09-02T12:37:48 i.e. the group is named after the people, not the people named after the group 2010-09-02T12:37:56 like I know what I am talking about 2010-09-02T12:38:48 ThomasWaldmann, I guess it's better if you create a ticket for that 2010-09-02T12:39:07 porcoopine 2010-09-02T12:39:16 (see, i'm good with these things) 2010-09-02T12:39:56 now the logo must change to a porcupine 2010-09-02T12:40:46 but i like the owl 2010-09-02T12:41:40 where is the new website? 2010-09-02T12:42:36 dennda: bitbucket.org/mitsuhiko/pocoo-website 2010-09-02T12:43:34 ah k no live version yet 2010-09-02T12:49:00 *** nullie has joined #pocoo 2010-09-02T12:58:26 The page isn't redirecting properly 2010-09-02T12:58:42 i get this at quite many places on dev.pocoo.org 2010-09-02T12:59:27 trac is borked 2010-09-02T13:00:48 mitsuhiko: see the pastebin, can't post ticket 2010-09-02T13:01:43 ThomasWaldmann: the projects will be moved to bitbucket/github and there will be a new website soon anyway 2010-09-02T13:09:15 moin 2010-09-02T13:11:03 moraes: a serious porcoopine? 2010-09-02T13:11:48 ThomasWaldmann: is there any chance you could add a testcase? 2010-09-02T13:13:56 PyPI update: [Flask-AutoIndex] new release 2010-09-02T13:14:01 PyPI update: [Flask-AutoIndex] add source file Flask-AutoIndex-0.2.0.tar.gz 2010-09-02T13:17:13 PyPI update: [Flask-AutoIndex] docupdate 2010-09-02T13:18:28 mitsuhiko: read the changeset 2010-09-02T13:18:56 +def test_filesystemcache_prune(): 2010-09-02T13:19:24 ThomasWaldmann: that change only affects the prune function? 2010-09-02T13:19:39 mitsuhiko, :) 2010-09-02T13:20:05 mitsuhiko, this is the cliche that it reminds me: http://www.fotosearch.com/FSB050/x10885615/ 2010-09-02T13:20:10 *** Ergo^ has joined #pocoo 2010-09-02T13:20:27 mitsuhiko, there are egyptian owls that would even be somewhat related to sphinx 2010-09-02T13:20:30 a bad one: http://www.egyptology.escholar.info/images/img_hieroglyph_owl.png 2010-09-02T13:20:35 there are betters 2010-09-02T13:21:12 i must admit, porcupines are awesome: http://3.bp.blogspot.com/_aQNtsIbdNrw/TDIPdKxe-mI/AAAAAAAAA3Q/Yg6dWutzmHA/s1600/porcupine.jpg 2010-09-02T13:21:51 several: http://www.google.com/images?um=1&hl=en&biw=1280&bih=888&tbs=isch:1&sa=1&q=owl+hieroglyph&btnG=Search&aq=f&aqi=&aql=&oq=&gs_rfai= 2010-09-02T13:21:57 heh, they are 2010-09-02T13:25:56 Werkzeug: Thomas Waldmann default * 1081:3924f8441643 / (tests/contrib/test_cache.py werkzeug/contrib/cache.py): 2010-09-02T13:25:56 Werkzeug: fix FileSystemCache._prune issues, see below 2010-09-02T13:25:56 Werkzeug: fixed confusion of cache keys with fs cache filenames 2010-09-02T13:25:56 Werkzeug: added 'rb' file opening mode 2010-09-02T13:25:56 Werkzeug: made sure the file gets closed in all cases (this is especially important 2010-09-02T13:30:02 mitsuhiko: http://paste.pocoo.org/show/257521/ 2010-09-02T13:30:48 birkenfeld, ronny: what about dropping log groups? 2010-09-02T13:31:12 i don't really see the usecase any more and they currently are only used to process records, they cannot filter or set bubble flags 2010-09-02T13:31:16 so the usecase is very limited 2010-09-02T13:31:25 furthermore, testcases are missing and they are actually broken currently 2010-09-02T13:31:34 ThomasWaldmann: just docstrings and file->open? 2010-09-02T13:32:22 *** NamNT has quit IRC 2010-09-02T13:32:24 yes 2010-09-02T13:32:56 just cosmetics/typos 2010-09-02T13:33:21 (and rephrased some stuff a bit to make it clearer, hopefully) 2010-09-02T13:33:46 Werkzeug: Thomas Waldmann default * 1083:59be84c09a25 /werkzeug/contrib/cache.py: cache: improve docstrings, use open() instead of file() * http://bit.ly/bxzee4 2010-09-02T13:34:01 mitsuhiko: what do you think about using rename to avoid concurrency issues? 2010-09-02T13:34:24 iirc, we had same issue in filebased session storage 2010-09-02T13:34:35 i think you are the only person in the world using that filesystem based session storage, so what does not break for you... :) 2010-09-02T13:34:54 moin2 does not use it any more 2010-09-02T13:35:15 but werkzeug's cookie based stuff 2010-09-02T13:35:33 at least until someone breaks it :) 2010-09-02T13:37:54 *** donmarten has joined #pocoo 2010-09-02T13:39:57 but for now, we'll definitely want to use fs-based caching and not require memcached 2010-09-02T13:40:24 or any other separate daemon thing 2010-09-02T13:49:42 *** donmarten has quit IRC 2010-09-02T13:49:47 *** nullie has quit IRC 2010-09-02T13:49:48 *** donmarten has joined #pocoo 2010-09-02T13:54:21 logbook: Armin Ronacher thing-stack * r6a61639 / (CHANGES logbook/base.py test_logbook.py): Fixed and improved logger group - http://bit.ly/bJXs5h * http://github.com/mitsuhiko/logbook/commit/6a616398431c887bc40de3f0da67c0a1af794817 2010-09-02T13:57:41 hmm, more bugs found 2010-09-02T14:09:07 mitsuhiko: http://paste.pocoo.org/show/257556/ 2010-09-02T14:09:51 Werkzeug: Thomas Waldmann default * 1084:0e692a19631c / (tests/contrib/test_cache.py werkzeug/contrib/cache.py): 2010-09-02T14:09:52 Werkzeug: fix FileSystemCache.clear() confusing cache key vs. cache filename 2010-09-02T14:09:52 Werkzeug: using a new internal method _list_dir() now to get a list of cache filenames 2010-09-02T14:09:52 Werkzeug: (absolute filenames). this method will also be used later to filter out 2010-09-02T14:09:52 Werkzeug: the temp files we will need when updating the cache using a tempfile and 2010-09-02T14:10:34 *** cgrinds has joined #pocoo 2010-09-02T14:18:41 *** tux21b has joined #pocoo 2010-09-02T14:26:35 mitsuhiko: ronny will be a part of the pocoo team as well, can you give him writer access to the website repo? 2010-09-02T14:26:43 sure 2010-09-02T14:26:51 welcome ronny :) 2010-09-02T14:27:15 *** d0ugal has quit IRC 2010-09-02T14:28:02 *** d0ugal has joined #pocoo 2010-09-02T14:28:23 nooo, ronny nooo! 2010-09-02T14:28:32 kidding. congratulations, ronny. ;) 2010-09-02T14:31:06 *** tux21b has quit IRC 2010-09-02T14:32:08 *** Juha| has joined #pocoo 2010-09-02T14:32:14 hello 2010-09-02T14:32:52 I've just installed sphinx using easy_install and everything is working nicely except :scale: option with images 2010-09-02T14:32:59 mitsuhiko, birkenfeld: im honored :) 2010-09-02T14:33:10 Juha|: Maybe you need PIL or something? 2010-09-02T14:33:22 you should add aa_ so that it doesn't look like you only accept german people 2010-09-02T14:33:25 * moraes runs 2010-09-02T14:33:37 donri: PIL? 2010-09-02T14:33:42 ronny: now we need a 100x100 image of you :) 2010-09-02T14:33:46 But the german people is superior? I don't follow your logic, moraes. 2010-09-02T14:33:52 and an entry on the team page 2010-09-02T14:34:15 Juha|: Python... Image... Library? :D 2010-09-02T14:34:17 Methinks. 2010-09-02T14:34:19 moraes: we could accept you and you make tipfy a pocoo project :D 2010-09-02T14:34:34 donri: okei sorry 2010-09-02T14:34:45 what's this with pocoo "accepting" people? :P 2010-09-02T14:34:45 donri: I am stupid n00b 2010-09-02T14:34:53 Why so serious? Lets put a smile on that face! 2010-09-02T14:35:03 donri: xD 2010-09-02T14:35:05 hah. i don't think it deserves. 2010-09-02T14:35:11 lericson, only arians 2010-09-02T14:35:34 +1 for white Python supremacy. 2010-09-02T14:35:40 moraes: why? tipfy is an excellent piece of software 2010-09-02T14:36:10 and then there is a higher chance that werkzeug will get patches for GAE :) 2010-09-02T14:36:20 thanks for saying it. makes me happy. 2010-09-02T14:36:29 annexation in progress... 2010-09-02T14:36:36 hmm, werkzeug doesn't need patches. 2010-09-02T14:36:38 moraes: oh come on, you could've told me about tipfy before I made the half a dussin gae apps I've made :< 2010-09-02T14:36:42 mitsuhiko: now i have the issue of figuring how the heck i get a good 100x100 picture 2010-09-02T14:37:06 (its not like i dont need one for my twitter/bitbucket accounts :P 2010-09-02T14:37:13 mitsuhiko: I've used werkzeug a lot of gae, not sure why you'd need patches :? 2010-09-02T14:37:48 i was under the impression that the router's setup time is improvable 2010-09-02T14:38:02 hm, haven't looked into that tbh 2010-09-02T14:38:16 improvable? 2010-09-02T14:38:19 Is tipfy using Werkzeug? 2010-09-02T14:38:21 but setup as in the Map() part or the bind_to_environ + match part? 2010-09-02T14:38:27 lericson: the former 2010-09-02T14:38:32 donri: ah, thanks, PIL did the trick 2010-09-02T14:39:00 donri, yup. 2010-09-02T14:40:15 lericson: well, it compiles all regular expressions ahead of time and stuff 2010-09-02T14:40:29 that's nice for regular setups but with GAE people usually try to do things on dem and 2010-09-02T14:40:31 *on demand 2010-09-02T14:40:39 not sure how big the impact actually is though 2010-09-02T14:40:40 ah that. 2010-09-02T14:40:45 *** Juha| has left #pocoo 2010-09-02T14:41:04 *** cofi has joined #pocoo 2010-09-02T14:41:07 mitsuhiko, subdomain is also a little trickier 2010-09-02T14:41:08 mitsuhiko: oh, I didn't know gae cycled global state between requests--does it? 2010-09-02T14:41:24 but, coincidentally, the routing part is the part I don't use on gae :P 2010-09-02T14:41:48 The gae part is the part I don't use on gae. 2010-09-02T14:42:04 *** hoangelos has joined #pocoo 2010-09-02T14:42:15 what i'm doing now is to patch SERVER_NAME and HTTP_HOST so access to subdomain.myapp.appspot.com is read as subdomain.myapp.com 2010-09-02T14:42:59 just because some background services use the appspot domain. so if you setup subdomains with own domain as server_name, it fails. 2010-09-02T14:43:21 well. a middleware solves it. 2010-09-02T14:43:24 mitsuhiko: http://paste.pocoo.org/show/257582/ atomic fix 2010-09-02T14:43:38 bbl 2010-09-02T14:44:15 Werkzeug: Thomas Waldmann default * 1085:657223ad99d0 / (tests/contrib/test_cache.py werkzeug/contrib/cache.py): (log message trimmed) 2010-09-02T14:44:15 Werkzeug: FileSystemCache: use atomic rename to update cache, fixes concurrency issues 2010-09-02T14:44:15 Werkzeug: If one read the cache while another process was updating it, reading likely 2010-09-02T14:44:15 Werkzeug: failed (and get() returned None due to exception being catched). This can be 2010-09-02T14:44:15 Werkzeug: avoided if writing happens to a temporary file which gets atomically renamed 2010-09-02T14:45:03 mitsuhiko, a simple app(environ, start_response): return Response('hi') using webob on gae takes 100ms and using werkzeug it takes 300ms 2010-09-02T14:45:28 this is not important, but i was curious about where werkzeug is spending it 2010-09-02T14:46:11 moraes: not using a request object? 2010-09-02T14:46:20 no 2010-09-02T14:46:49 well, one concern of overhead here is the werkzeug import 2010-09-02T14:47:01 which should be improved on tip 2010-09-02T14:47:38 what does being an official member of the pocoo team *mean*? 2010-09-02T14:47:44 commit access to all pocoo projects? 2010-09-02T14:48:06 they gain a free owl tattoo, among other things 2010-09-02T14:48:12 owl? 2010-09-02T14:48:13 why owl? 2010-09-02T14:48:15 also women 2010-09-02T14:48:20 *** worrp has joined #pocoo 2010-09-02T14:48:24 I can think of lots of way cooler tattoos 2010-09-02T14:48:25 voidspace: yep. and that there is generally someone there to care for your project if you are busy 2010-09-02T14:48:32 I can't imagine it helps with the women 2010-09-02T14:48:33 I'm afraid 2010-09-02T14:48:37 imagine the pickup lines! "hey babe, I'm a member of the software group pocoo" 2010-09-02T14:48:51 mitsuhiko: ah - I would have expected the projects to be managed separately rather than monolithicly 2010-09-02T14:48:59 mitsuhiko: I thought you were a fan of modularity... 2010-09-02T14:49:02 ;-) 2010-09-02T14:49:05 voidspace: we are in the process of improving on that 2010-09-02T14:49:08 Hey babe, I'm a member of the social group "puckon". 2010-09-02T14:49:13 best of both worlds bla bal bla 2010-09-02T14:49:16 hehe 2010-09-02T14:49:28 you can manage it socially anyway 2010-09-02T14:49:30 lericson: you are not properly delivering that line 2010-09-02T14:50:13 obviously-- I'm not a member of the pocoo group so.. 2010-09-02T14:51:52 * mitsuhiko announced lericson as head of "pickup line testing department" 2010-09-02T14:52:21 oh the glory \o/ 2010-09-02T14:52:44 which project is ronny involved with - werkzeug? 2010-09-02T14:54:24 moraes: if you feel like it, feel free to profile a run of such an application on gae :) 2010-09-02T14:54:36 i might have the time to do that after the logbook stuff 2010-09-02T14:56:22 what should i use to profile? 2010-09-02T14:56:52 flickzeug? 2010-09-02T14:57:03 :) 2010-09-02T14:57:07 oh right, it writes files 2010-09-02T14:57:08 doesn't run on gae 2010-09-02T14:57:17 uses werkzeug template, also 2010-09-02T14:57:36 well how do you normally profile gae apps? :P 2010-09-02T14:58:25 using a dummy recipe. 2010-09-02T14:58:50 moraes: i guess wrapping everything in a cprofile and storing the output somewhere 2010-09-02T14:59:32 ok, i have it ready then 2010-09-02T15:01:15 *** Octal has quit IRC 2010-09-02T15:02:00 PyPI update: [flask-silk] remove 2010-09-02T15:02:10 PyPI update: [Flask-Silk] new release 2010-09-02T15:02:11 PyPI update: [Flask-Silk] create 2010-09-02T15:03:07 *** Octal has joined #pocoo 2010-09-02T15:05:06 logbook: Armin Ronacher thing-stack * rffb25c5 / (4 files in 2 dirs): Added unittest for global log functions. Added flag to disable channel informations. - http://bit.ly/akj7Ap * http://github.com/mitsuhiko/logbook/commit/ffb25c55a1a635254d9efe7e5f9e88cbfd09c244 2010-09-02T15:05:07 logbook: Armin Ronacher thing-stack * r374c797 / (CHANGES logbook/base.py logbook/handlers.py test_logbook.py): Added testcase for pickling and support for it - http://bit.ly/bHs2YO * http://github.com/mitsuhiko/logbook/commit/374c7976619f81c953095e0a86ee2bd3c8811fc9 2010-09-02T15:05:41 *** tux21b has joined #pocoo 2010-09-02T15:06:09 hey tux21b 2010-09-02T15:06:12 *** pigletto has quit IRC 2010-09-02T15:06:19 hi armin 2010-09-02T15:06:38 tux21b: already in graz? 2010-09-02T15:07:23 yes (since a week or so) and the upc-man was here today ;) 2010-09-02T15:07:25 *** zarf has joined #pocoo 2010-09-02T15:07:42 tux21b: where are you right now? 2010-09-02T15:07:55 and where do you live btw :) 2010-09-02T15:08:03 you might have told me, but i forgot it in that case 2010-09-02T15:08:34 *** Shyde has quit IRC 2010-09-02T15:08:54 i am living in sandgasse 25 (jakomini) 2010-09-02T15:09:02 and i am there right now :) 2010-09-02T15:09:05 TheSheep: no, i'm not pseis 2010-09-02T15:09:13 you life near the train station, aren't you? 2010-09-02T15:09:22 live 2010-09-02T15:09:51 TheSheep: but i had seen his site (found through yours i think) 2010-09-02T15:10:21 TheSheep: i think the changes we discussed are working perfectly 2010-09-02T15:10:47 PyPI update: [Flask-Silk] docupdate 2010-09-02T15:10:57 TheSheep: thing i'm still not sure about: 2010-09-02T15:11:08 TheSheep: on http://hg.hatta-wiki.org/hatta-dev/file/tip/hatta/wiki.py#l626 2010-09-02T15:11:13 *** kenneth_reitz has quit IRC 2010-09-02T15:11:24 TheSheep: and http://hg.hatta-wiki.org/hatta-dev/file/tip/hatta/wiki.py#l673 2010-09-02T15:11:49 *** kenneth_reitz has joined #pocoo 2010-09-02T15:12:19 did you mean to tell me to s#history#+history# (with a '+')? 2010-09-02T15:13:55 tux21b: nope. klosterwiesgasse 2010-09-02T15:15:27 mitsuhiko: 1.6km away :) 2010-09-02T15:15:56 *** keppla has quit IRC 2010-09-02T15:19:15 tux21b: schon gegessen? 2010-09-02T15:19:25 tux21b: ich koch hier grad was, lust vorbeizukommen? 2010-09-02T15:19:41 ne, hab noch nicht gegessen. soll ich was mitnehmen? 2010-09-02T15:19:49 (nudeln hab ich z.b. schon herumliegen *g*) 2010-09-02T15:20:19 sollte genug da sein 2010-09-02T15:20:31 klosterwiesgasse 34/5 :) 2010-09-02T15:21:45 gut. brauchen wir eine nachspeise? ^^ 2010-09-02T15:22:26 hast du was? 2010-09-02T15:22:32 (wohn hier mit kollegen ftr) 2010-09-02T15:22:49 ich komm sicher irgendwo vorbei 2010-09-02T15:22:59 für wieviel leute? 2010-09-02T15:23:11 3 mit dir 2010-09-02T15:23:21 ok, ich schau mal 2010-09-02T15:23:39 wunderbar. bin in der kueche :) 2010-09-02T15:23:42 ich kann eh mit den inlinern kommen, oder? (fahrrad hab ich noch keins) 2010-09-02T15:24:38 *** maxpn has quit IRC 2010-09-02T15:28:34 *** NamNT has joined #pocoo 2010-09-02T15:29:34 *** donmarten has quit IRC 2010-09-02T15:30:31 *** keppla has joined #pocoo 2010-09-02T15:34:12 *** m_c has quit IRC 2010-09-02T15:36:44 *** sjl has joined #pocoo 2010-09-02T15:39:38 *** maxpn has joined #pocoo 2010-09-02T15:41:43 *** lubyou has quit IRC 2010-09-02T15:52:56 *** lubyou has joined #pocoo 2010-09-02T15:52:56 *** lubyou has joined #pocoo 2010-09-02T16:00:38 *** derdon has joined #pocoo 2010-09-02T16:04:18 *** arteme has quit IRC 2010-09-02T16:08:38 zarf: one is for old revisions of pages, and the other for recent changes 2010-09-02T16:09:35 TheSheep: ok so i leave them as they are. 2010-09-02T16:09:57 TheSheep: incidently, i'm getting an uncaught exception 2010-09-02T16:10:10 oh? do tell! 2010-09-02T16:10:12 TheSheep: with subdirectories = True 2010-09-02T16:10:37 if you create a wiki page and immediately delete it by the button in History 2010-09-02T16:11:07 TheSheep: OSError (it wants to rmdir the wiki dir itself, which is not empty) 2010-09-02T16:11:27 TheSheep: i guess the easy way out is just ask for forgiveness 2010-09-02T16:11:43 TheSheep: by wrapping this in try: except: OSError 2010-09-02T16:12:08 TheSheep: but you might prefer to not attempt the deletion in the first place 2010-09-02T16:13:45 brb 2010-09-02T16:13:52 yeah, thanks 2010-09-02T16:18:40 I'm lost on werkzeug.routing 2010-09-02T16:18:50 http://paste.pocoo.org/show/257630/ 2010-09-02T16:21:21 flox: everything works as it should 2010-09-02T16:21:32 the first Map behaves correctly, but the 2nd example do not do what I want 2010-09-02T16:21:55 flox: in line 29 you specify a user jean so /~jean is created 2010-09-02T16:22:08 flox: if you don't specify a user the default is used 2010-09-02T16:22:37 but line 9 I specify a user 2010-09-02T16:22:45 and it does not show in the URL 2010-09-02T16:22:50 (it's ok for me) 2010-09-02T16:22:51 *** piranha has quit IRC 2010-09-02T16:22:52 mitsuhiko: what do you think about additional honeypot spam protection on comments in zine? 2010-09-02T16:23:07 so create css hidden input field that should be left empty 2010-09-02T16:23:48 flox: hum, right. i'm not familiar with werkzeug but i can look into it 2010-09-02T16:24:16 DasIch: according to documentation the "defaults" allow to enforce single URL for each case 2010-09-02T16:24:17 (not familiar with the code base that is) 2010-09-02T16:24:32 http://werkzeug.pocoo.org/documentation/dev/routing.html#werkzeug.routing.Rule 2010-09-02T16:24:44 * flox is off for 20 minutes 2010-09-02T16:25:01 *** mr_amit has quit IRC 2010-09-02T16:25:59 *** ambv has joined #pocoo 2010-09-02T16:26:32 mitsuhiko: http://werkzeug.pocoo.org/documentation/dev/_static responds with a 404 2010-09-02T16:26:56 *** andialbrecht is now known as andialbrecht_ 2010-09-02T16:27:02 *** batok has joined #pocoo 2010-09-02T16:31:56 *** lauer_ has quit IRC 2010-09-02T16:42:29 *** slackrunner has joined #pocoo 2010-09-02T16:42:58 evening all 2010-09-02T16:43:14 *** m_c has joined #pocoo 2010-09-02T16:44:39 *** michelp has quit IRC 2010-09-02T16:46:27 *** mr_amit has joined #pocoo 2010-09-02T16:46:52 *** slackrunner has quit IRC 2010-09-02T16:48:34 *** slackrunner has joined #pocoo 2010-09-02T17:04:59 *** NamNT has quit IRC 2010-09-02T17:07:42 *** kenneth_reitz has quit IRC 2010-09-02T17:08:16 *** kenneth_reitz has joined #pocoo 2010-09-02T17:09:44 *** piranha has joined #pocoo 2010-09-02T17:22:58 *** lauer_ has joined #pocoo 2010-09-02T17:27:54 *** d0ugal has quit IRC 2010-09-02T17:32:11 *** mr_amit has quit IRC 2010-09-02T17:36:16 *** slackrunner has quit IRC 2010-09-02T17:36:22 *** lauer_ has quit IRC 2010-09-02T17:37:54 *** lauer_ has joined #pocoo 2010-09-02T17:39:22 *** m_c has quit IRC 2010-09-02T17:40:05 *** ambv has quit IRC 2010-09-02T17:45:19 *** jpcw has quit IRC 2010-09-02T17:46:52 *** Gradius_ has joined #pocoo 2010-09-02T17:50:17 *** bthomson has quit IRC 2010-09-02T17:50:48 *** bthomson has joined #pocoo 2010-09-02T17:52:34 *** slackrunner has joined #pocoo 2010-09-02T17:55:07 DasIch: hmm. i wonder why 2010-09-02T17:56:28 *** lauer_ has quit IRC 2010-09-02T17:59:49 birkenfeld: sphinx docs: html_context is mentioned only once, in templating. 2010-09-02T18:00:18 html_context is not listed in config.rst 2010-09-02T18:00:24 mitsuhiko: I try to use defaults in werkzeug Rules 2010-09-02T18:00:31 it seems it should be 2010-09-02T18:01:04 visteya: depends 2010-09-02T18:01:13 it is mostly used for the -A command line flag 2010-09-02T18:01:37 mitsuhiko: I have problems when the defaults dict contains more than 1 item 2010-09-02T18:01:45 because when you edit stuff in conf.py, it is not clear why you couldn't edit it in the template in the first place 2010-09-02T18:01:54 mitsuhiko: http://paste.pocoo.org/show/257630/ 2010-09-02T18:02:13 that might be i'm afraid 2010-09-02T18:02:13 but I agree it should be documented 2010-09-02T18:02:19 the ordering logic not too bright :( 2010-09-02T18:04:46 mitsuhiko: ok, will open a bug report (and see if I find courage to look into it) 2010-09-02T18:05:14 werkzeug's tracker is in Trac ? 2010-09-02T18:05:19 *** d0ugal has joined #pocoo 2010-09-02T18:05:25 birkenfeld: my use case: template with 'bannersubtitle' as configurable text. 2010-09-02T18:05:57 visteya: are you sharing the template for different projects? 2010-09-02T18:06:26 *** krunk- has joined #pocoo 2010-09-02T18:06:26 *** krunk- has joined #pocoo 2010-09-02T18:07:05 birkenfeld: yes. common layout, but configurable bits like colors and a couple of texts 2010-09-02T18:07:22 and logo graphic 2010-09-02T18:07:24 *** lauer_ has joined #pocoo 2010-09-02T18:07:32 sounds like it should be a theme. 2010-09-02T18:07:48 and then put the configurable bits into theme options 2010-09-02T18:09:32 ok. i'll pretend i didn't accidentally discover html_context. :) 2010-09-02T18:10:18 *** derdon has quit IRC 2010-09-02T18:11:08 visteya: you're free to use it of course. just saying the themes are meant to do exactly that :) 2010-09-02T18:11:47 *** lauer_ has quit IRC 2010-09-02T18:12:04 birkenfeld: i originally had it as theme_ var. now i cannot remember now why i thought html_ var is more appropriate. 2010-09-02T18:17:19 ronny: ping 2010-09-02T18:17:21 *** mattikus has joined #pocoo 2010-09-02T18:20:29 *** piranha has quit IRC 2010-09-02T18:22:42 *** michelp has joined #pocoo 2010-09-02T18:26:15 *** d0ugal has quit IRC 2010-09-02T18:28:56 mitsuhiko: pong? 2010-09-02T18:31:05 ronny: seen my logbook changes in the new branch? 2010-09-02T18:39:51 *** worrp has quit IRC 2010-09-02T18:41:15 mitsuhiko: not yet, will take a look at it once i get home 2010-09-02T18:42:34 *** michelp has quit IRC 2010-09-02T18:47:16 *** tux21b has quit IRC 2010-09-02T18:49:08 *** michelp has joined #pocoo 2010-09-02T18:49:21 *** keppla has quit IRC 2010-09-02T18:56:51 *** tm8522010 has joined #pocoo 2010-09-02T18:57:00 *** tm8522010 has left #pocoo 2010-09-02T18:57:12 *** slackrunner has quit IRC 2010-09-02T19:01:44 *** NamNT has joined #pocoo 2010-09-02T19:02:18 *** michelp has quit IRC 2010-09-02T19:08:39 *** michelp has joined #pocoo 2010-09-02T19:08:55 *** Eftarjin has joined #pocoo 2010-09-02T19:08:57 *** maxpn has quit IRC 2010-09-02T19:10:31 *** tux21b has joined #pocoo 2010-09-02T19:21:10 *** mattikus has quit IRC 2010-09-02T19:25:55 *** nosklo has joined #pocoo 2010-09-02T19:28:12 *** tux21b has quit IRC 2010-09-02T19:33:39 *** d0ugal has joined #pocoo 2010-09-02T19:39:18 *** d0ugal has joined #pocoo 2010-09-02T19:41:17 *** NamNT has quit IRC 2010-09-02T19:41:40 *** d0ugal has quit IRC 2010-09-02T19:47:34 *** derdon has joined #pocoo 2010-09-02T19:54:12 *** whit has joined #pocoo 2010-09-02T20:01:13 mitsuhiko: thing-stack? 2010-09-02T20:05:29 *** tux21b_ has joined #pocoo 2010-09-02T20:13:14 *** coderanger has quit IRC 2010-09-02T20:14:36 ronny: back 2010-09-02T20:14:37 thing stack? 2010-09-02T20:14:48 ah. the branch name 2010-09-02T20:14:51 Can't you set descriptors/properties on instances? :( 2010-09-02T20:14:58 i changed that to ContextObject internally 2010-09-02T20:15:04 donri: you trigger __get__ 2010-09-02T20:15:09 or __set__ 2010-09-02T20:15:45 mitsuhiko: http://paste.pocoo.org/show/257730/ 2010-09-02T20:15:50 there are separate stacks for processors and handlers now. much cleaner 2010-09-02T20:16:02 Uhm, same for lambda self:... if that matters 2010-09-02T20:16:18 donri: you have to put it into the __dict__ if i remember correctly 2010-09-02T20:16:21 donri: yes, this obviously does not work :) 2010-09-02T20:16:27 :( 2010-09-02T20:16:47 you will have to override __getattribute__ in a class to change that behaviour 2010-09-02T20:17:01 I want app.genshi_instance to show a DeprecationWarning 2010-09-02T20:18:28 *** lakin has joined #pocoo 2010-09-02T20:19:39 *** mattikus has joined #pocoo 2010-09-02T20:22:12 pocoo: Which branch should i use for logbook? 2010-09-02T20:22:17 i need it now. 2010-09-02T20:22:18 :) 2010-09-02T20:22:33 er, rather mitsuhiko, sorry. 2010-09-02T20:22:41 don't know how that got in my clipboard.. 2010-09-02T20:22:41 thing-stack 2010-09-02T20:22:59 donri: yeah, no chance :( 2010-09-02T20:23:13 well, there is a way 2010-09-02T20:23:14 but well 2010-09-02T20:23:15 thing-stack any big parts to stay away from? 2010-09-02T20:23:26 it involves monkeypatching the __class__ 2010-09-02T20:23:30 :D 2010-09-02T20:23:32 kenneth_reitz: nope, pretty stable 2010-09-02T20:23:39 ^_^ 2010-09-02T20:23:47 i want to create a web application for log introspection 2010-09-02T20:23:50 i'm so sick of rolling out my own loggers for every app 2010-09-02T20:23:55 i want to create a web application for log introspection 2010-09-02T20:24:46 *** iFDH has joined #pocoo 2010-09-02T20:28:43 mitsuhiko: im slowly iterating the changes, looks good so far, but the context object details are still a bit fuzzy in my mind 2010-09-02T20:28:53 *** jmason has joined #pocoo 2010-09-02T20:29:03 ronny: you mean the metaclass that creates the stacks? 2010-09-02T20:32:42 yes 2010-09-02T20:33:09 the other changes look fine so far, i'll get a grip on the metaclass stuff once im done going trough them 2010-09-02T20:33:41 logbook: Armin Ronacher thing-stack * rbc2549c / (logbook/base.py logbook/handlers.py): Implicit _co_abstract. That can be selected from the bases - http://bit.ly/bxFThf * http://github.com/mitsuhiko/logbook/commit/bc2549c343257af9b92751705ee9836105a5bde0 2010-09-02T20:38:51 ronny: if i would want to log into some kind of data store and provide a web interface for that, what store would you pick? 2010-09-02T20:39:16 *** Eftarjin has quit IRC 2010-09-02T20:39:23 *** ltbarcly has joined #pocoo 2010-09-02T20:39:47 mitsuhiko: i'm going to do a write up Logbook for thechangelog.com 2010-09-02T20:39:56 when should i publish? 8th? 2010-09-02T20:40:05 sounds good 2010-09-02T20:40:13 awesome 2010-09-02T20:40:31 *** ltbarcly1 has quit IRC 2010-09-02T20:40:38 mitsuhiko: something with fit write performance 2010-09-02T20:41:05 ronny: and what would that be? 2010-09-02T20:41:35 mitsuhiko: Is this good in the class docstring? 2010-09-02T20:41:37 .. deprecated:: 0.4 2010-09-02T20:41:37 ``app.genshi_instance`` in favor of ``app.extensions['genshi']``. 2010-09-02T20:41:38 since cassandra comes to mind i suppose im utterly biased torwards scale 2010-09-02T20:41:55 mitsuhiko: will it include an asynchronous daemon that does jobs in the background? 2010-09-02T20:41:59 donri: looks good 2010-09-02T20:42:02 re: log introspection website 2010-09-02T20:42:02 pretty much a timestamped sql table + indexes might do 2010-09-02T20:42:04 Or should I use a warning box / ignore the whole issue (who the f* uses genshi_instance anyway) :D 2010-09-02T20:42:07 merlincorey: that is the plan, yes 2010-09-02T20:42:16 will be a separate package though 2010-09-02T20:42:33 so the website is more of an interface to that package? well not more, but you know what I mean :P 2010-09-02T20:42:52 mitsuhiko: i dont think its a good idea to limit the store 2010-09-02T20:43:01 mitsuhiko: I think a position:fixed ToC for the small flask sphinx theme would be good 2010-09-02T20:43:04 ronny: no, but i'm lazy and want to start with one store 2010-09-02T20:43:21 donri: probably 2010-09-02T20:43:28 then make a sqlalchemy one, others can do stuff like mongo, couch and cassandra later 2010-09-02T20:43:33 just too lazy to do that right now :) 2010-09-02T20:43:35 all those css grid frameworks seem to force you to write really ugly code 2010-09-02T20:43:45 mitsuhiko: Just checking the idea with you (: 2010-09-02T20:44:08 DasIch: the reason i don't use them 2010-09-02T20:44:11 i hate reset stylesheets 2010-09-02T20:44:56 css grids are completely pointless 2010-09-02T20:45:00 resets i like 2010-09-02T20:45:04 somehow i think the only reason people are using them is that they are already used to ugly code thanks to IE 2010-09-02T20:48:31 I like CSS3 flexbox 2010-09-02T20:49:38 *** iFDH has quit IRC 2010-09-02T20:49:59 mitsuhiko: how's now + 2 hrs (5pm my time)? 2010-09-02T20:50:10 mcdonc: fine for me 2010-09-02T20:50:16 k, i'll poke you back 2010-09-02T20:50:17 hi 2010-09-02T20:51:21 mcdonc: perfect 2010-09-02T20:53:45 *** bobthemilkman has quit IRC 2010-09-02T21:04:01 *** eclark_ has joined #pocoo 2010-09-02T21:05:10 Does anyone have a solution on how to use logging when using mod_wsgi ? 2010-09-02T21:05:32 It doesn't seem like any exceptions are being logged. 2010-09-02T21:06:00 *** cgrinds has quit IRC 2010-09-02T21:08:18 eclark_: flask? 2010-09-02T21:08:48 Yeah sorry forgot to mention that. Flask 0.6 2010-09-02T21:08:52 in case of flask, you have to configure the logger for production usage: http://flask.pocoo.org/docs/errorhandling/ 2010-09-02T21:09:03 that shows two log setups, i recommend the mail one :) 2010-09-02T21:10:10 Awesome. Thanks. totally missed that page when googling around 2010-09-02T21:12:55 *** jmason has quit IRC 2010-09-02T21:14:02 mitsuhiko: do you know how to get a list of subscribers out of librelist? 2010-09-02T21:14:17 kenneth_reitz: not at all besides asking zed 2010-09-02T21:14:29 i wanted an api at one point but he is pretty busy with mongrel2 atm 2010-09-02T21:15:09 hmm 2010-09-02T21:15:10 thanks 2010-09-02T21:15:58 kenneth_reitz: did you see my message about gistapi? 2010-09-02T21:17:09 *** donri has quit IRC 2010-09-02T21:20:06 flox: haha, yeah 2010-09-02T21:20:32 flox: i need to push again 2010-09-02T21:21:03 thanks for the StringIO thing. I did not test it (yet) 2010-09-02T21:21:17 yeah it's not perfect 2010-09-02T21:21:22 and it's read only 2010-09-02T21:21:36 haven't looked into adding hooks into stringio 2010-09-02T21:21:58 i'd like so have have a gistfile object that wraps stringio 2010-09-02T21:22:14 that has a .save method that'll update itself 2010-09-02T21:22:21 one thing at a time :) 2010-09-02T21:22:26 actually i forgot about you changes 2010-09-02T21:22:29 *your 2010-09-02T21:22:39 the stringio might have broken all of them 2010-09-02T21:25:39 no problem 2010-09-02T21:25:59 I'll see next time I use gistapi. either I'll take 0.2.0 or fix trunk 2010-09-02T21:37:22 *** smerch has joined #pocoo 2010-09-02T21:38:44 *** NamNT has joined #pocoo 2010-09-02T21:43:30 *** dividuum_ has joined #pocoo 2010-09-02T21:43:30 *** nicetry_ has joined #pocoo 2010-09-02T21:43:33 *** andialbr1cht_ has joined #pocoo 2010-09-02T21:43:39 *** shawn__ has joined #pocoo 2010-09-02T21:43:45 *** MostAwesomeDude has quit IRC 2010-09-02T21:43:48 *** MostAwes1meDude has joined #pocoo 2010-09-02T21:47:11 *** andialbrecht_ is now known as andialbrecht 2010-09-02T21:47:30 *** andialbrecht has quit IRC 2010-09-02T21:47:30 *** nicetry has quit IRC 2010-09-02T21:47:32 *** dividuum has quit IRC 2010-09-02T21:47:32 *** merlincorey has quit IRC 2010-09-02T21:47:33 *** shawn_ has quit IRC 2010-09-02T21:47:47 *** merlincorey has joined #pocoo 2010-09-02T21:48:07 *** andialbr1cht_ has quit IRC 2010-09-02T21:49:56 *** jmason has joined #pocoo 2010-09-02T21:57:13 *** matrixise has quit IRC 2010-09-02T21:58:10 Would someone mind casting their eye at: http://paste.pocoo.org/show/257702/ I'm trying to use wtforms with Flask, and it seems to be failing validation on the 'name' entry. It just keeps telling me I need to put 1-25 characters in (and I am) 2010-09-02T22:00:39 *** davidcramer has quit IRC 2010-09-02T22:01:31 *** davidcramer has joined #pocoo 2010-09-02T22:03:06 ahhh 2010-09-02T22:03:10 I've got it :) 2010-09-02T22:04:14 I should really set a 5min delay on my IRC questions, always solve them once I've typed them out 2010-09-02T22:04:15 i need to write some forms soon myself 2010-09-02T22:05:04 heh 2010-09-02T22:09:08 *** piranha has joined #pocoo 2010-09-02T22:10:18 *** warz has joined #pocoo 2010-09-02T22:12:12 *** davidcramer has quit IRC 2010-09-02T22:21:58 w0000za 2010-09-02T22:22:17 logbook: Armin Ronacher thing-stack * r5bc8962 / (CHANGES setup.py test_logbook.py logbook/ticketing.py): Added a ticketing handler that logs into a database - http://bit.ly/aC2zzh * http://github.com/mitsuhiko/logbook/commit/5bc896288cade3cc7f1c5519a67edad57be942b0 2010-09-02T22:22:18 logbook is evolving nicely :) 2010-09-02T22:22:22 w34z44444 ;) 2010-09-02T22:23:08 mitsuhiko, can I push some mongodb-handler? :D 2010-09-02T22:23:20 (we already have one for ubuntuusers.de so it would be easy to port I guess) 2010-09-02T22:23:25 sphinx and multiprocessing is going to be a problem with the current logging stuff 2010-09-02T22:23:33 EnTeQuAk: sure 2010-09-02T22:23:45 cool, I'll work on that tomorrow 2010-09-02T22:23:54 EnTeQuAk: if you want, refactor the TicketingDatabaseHandler so that there is some common ground between them 2010-09-02T22:23:57 and a common query api 2010-09-02T22:24:05 I'll do 2010-09-02T22:24:26 well, I have to review the latest logbook stuff, didnt take a look for weeks *shame* 2010-09-02T22:24:45 probably one of the best things about logbook will be that there is finally good documentation on that subject and a lot of useful handlers 2010-09-02T22:25:09 *** piranha has quit IRC 2010-09-02T22:25:17 need to go to sleep now, cya tomorrow 2010-09-02T22:31:47 *** ltbarcly1 has joined #pocoo 2010-09-02T22:32:16 *** ltbarcly has quit IRC 2010-09-02T22:33:00 *** piranha has joined #pocoo 2010-09-02T22:33:06 *** warz has quit IRC 2010-09-02T22:34:26 *** danjac has quit IRC 2010-09-02T22:34:59 *** danjac has joined #pocoo 2010-09-02T22:40:21 *** ltbarcly has joined #pocoo 2010-09-02T22:40:35 logbook: Armin Ronacher thing-stack * r89f3c04 / logbook/ticketing.py : Refactored inserting of new tickets - http://bit.ly/ae4uW9 * http://github.com/mitsuhiko/logbook/commit/89f3c04adda4c9f3fe0fe38e8332d47be450d08a 2010-09-02T22:40:36 logbook: Armin Ronacher thing-stack * ra53fa0f / logbook/ticketing.py : Apply salt - http://bit.ly/bBPw2o * http://github.com/mitsuhiko/logbook/commit/a53fa0f46fd86f546b31e2fbe13417b5c3078f05 2010-09-02T22:41:03 *** ltbarcly1 has quit IRC 2010-09-02T22:43:42 *** mcdonc has quit IRC 2010-09-02T22:49:52 *** davidcramer has joined #pocoo 2010-09-02T22:49:56 *** derdon has quit IRC 2010-09-02T22:50:52 *** mcdonc has joined #pocoo 2010-09-02T22:50:55 *** ambv has joined #pocoo 2010-09-02T22:53:46 *** cofi has quit IRC 2010-09-02T22:54:22 *** nosklo has quit IRC 2010-09-02T22:54:53 *** meatballhat has quit IRC 2010-09-02T22:55:13 *** meatballhat has joined #pocoo 2010-09-02T22:56:41 *** matrixise has joined #pocoo 2010-09-02T22:57:01 hi all 2010-09-02T22:57:25 hi 2010-09-02T22:57:26 ! 2010-09-02T22:59:22 mitsuhiko: get_ticket is a bit broken 2010-09-02T22:59:30 birkenfeld: it is? 2010-09-02T23:00:44 I think I fixed it, but please check 2010-09-02T23:01:01 just made an experimental chat room using Flask and gevent: https://bitbucket.org/danjac/chatbox 2010-09-02T23:01:05 oh indeed. totally broken it was 2010-09-02T23:01:18 logbook: Georg Brandl master * r02c73b0 / logbook/ticketing.py : Fix get_ticket(). (+17 more commits...) - http://bit.ly/aONFrd * http://github.com/mitsuhiko/logbook/commit/02c73b00db96a3e4808879ea0162b6c0e47d3943 2010-09-02T23:01:24 hmm 2010-09-02T23:01:43 I also think I merged back to master? 2010-09-02T23:01:47 wtf 2010-09-02T23:02:44 birkenfeld: no idea what you did, will check that later 2010-09-02T23:02:47 on a call with mcdonc right now 2010-09-02T23:02:55 Graham: ping? 2010-09-02T23:03:00 I just did "git push" 2010-09-02T23:03:17 danjac: interesting. 2010-09-02T23:03:28 *** hoangelos has quit IRC 2010-09-02T23:03:38 just playing around with gevent 2010-09-02T23:03:51 birkenfeld: git rage ? 2010-09-02T23:03:56 huh, apparently quantum cryptography is not secure 2010-09-02T23:03:57 ah ok, I see. I pulled *into* master 2010-09-02T23:04:38 danjac: :| 2010-09-02T23:04:59 had that this morning, as you might have guessed 2010-09-02T23:05:00 logbook: Georg Brandl thing-stack * r3f7fa16 / (CHANGES logbook/base.py): Fix a typo and make changelog style more consistent. - http://bit.ly/cK1ULh * http://github.com/mitsuhiko/logbook/commit/3f7fa166c28efe4becb454a5c7839526fe377f05 2010-09-02T23:05:00 logbook: Georg Brandl thing-stack * r02c73b0 / logbook/ticketing.py : Fix get_ticket(). - http://bit.ly/aONFrd * http://github.com/mitsuhiko/logbook/commit/02c73b00db96a3e4808879ea0162b6c0e47d3943 2010-09-02T23:05:53 .oO( think bookmarks ) 2010-09-02T23:08:12 hah 2010-09-02T23:09:29 *** donri has joined #pocoo 2010-09-02T23:10:01 I bloody hate it when I find a nice monospaced font and it lacks a bold variant so syntax highlighting fucks up the alignment of code. 2010-09-02T23:10:47 why would that fuck up alignment? 2010-09-02T23:12:13 *** matrixis1 has joined #pocoo 2010-09-02T23:15:46 *** sjampoo has quit IRC 2010-09-02T23:17:09 hah, I repaired it 2010-09-02T23:19:34 *** tlynn has joined #pocoo 2010-09-02T23:19:38 birkenfeld: Because the editor fakes bold and so the typeface is no longer monospaced. 2010-09-02T23:19:54 donri: that's a bad editor then :) 2010-09-02T23:20:04 Maybe an editor bug. 2010-09-02T23:20:12 (Or pango bug, even?) 2010-09-02T23:25:08 *** piranha has quit IRC 2010-09-02T23:26:17 *** batok has quit IRC 2010-09-02T23:26:23 *** nullie has joined #pocoo 2010-09-02T23:31:29 *** meatballhat has quit IRC 2010-09-02T23:31:49 *** nullie_ has joined #pocoo 2010-09-02T23:31:50 birkenfeld: is sprintf on the roadmap for python 3.2? 2010-09-02T23:31:51 for bytes 2010-09-02T23:31:56 or is that already off the table 2010-09-02T23:32:02 no, it's on the roadmap 2010-09-02T23:32:15 I'll put it in if nobody else does 2010-09-02T23:33:11 birkenfeld: nice :) 2010-09-02T23:33:30 birkenfeld: we're on skype right now discussing wsgi. if you want to join, give me your skypename 2010-09-02T23:33:35 any comments about PEP 3149? 2010-09-02T23:33:40 oh, no thanks 2010-09-02T23:33:47 I don't know enough about wsgi 2010-09-02T23:34:04 I also have no microphone here 2010-09-02T23:34:16 who is "we" anyway? 2010-09-02T23:34:34 birkenfeld: me and mcdonc 2010-09-02T23:34:58 so better invite PJE 2010-09-02T23:34:59 birkenfeld: will check later 2010-09-02T23:35:11 but you may have to pay hourly rates for his time :) 2010-09-02T23:35:38 *** nullie has quit IRC 2010-09-02T23:35:57 I'm satisfied if you tell me that bprintf is everything you need for making WSGI work on Python 3.2 2010-09-02T23:36:20 birkenfeld: we're currently thinking about replacing wsgi :) 2010-09-02T23:36:31 :D 2010-09-02T23:36:33 hah 2010-09-02T23:36:36 ... or whatever the successor will be called 2010-09-02T23:36:45 Fuck it, lets replace Python! 2010-09-02T23:37:08 birkenfeld: but in all honesty, it's basically wsgi with different names :) 2010-09-02T23:37:20 we could call it wsgi (2, 0) 2010-09-02T23:38:00 sounds like wsgi all right 2010-09-02T23:38:27 cynicalWSGI 2010-09-02T23:38:41 CyneGI 2010-09-02T23:39:25 oh wow 2010-09-02T23:39:29 when does Djangocon start? 2010-09-02T23:39:39 I wasn't aware it is now 2010-09-02T23:40:00 birkenfeld: maybe they forgot to cc you 2010-09-02T23:40:01 tuesday 2010-09-02T23:40:29 mitsuhiko: I would even be willing to allot you PEP number 444 for WSGI 2.0 :) 2010-09-02T23:40:47 nice :D 2010-09-02T23:41:20 and, what the hell, once it's in PEP form and implementations exist, it *will* get used if it's not complete bullshit 2010-09-02T23:41:39 birkenfeld: logbook is now complaining when i pull :( 2010-09-02T23:41:44 haha, birkenfeld, look how well wsgi did :) 2010-09-02T23:42:03 you mean, git is complaining? 2010-09-02T23:42:10 yes 2010-09-02T23:42:12 well, I push --forced master :) 2010-09-02T23:42:21 huh. why that? 2010-09-02T23:42:31 what is your latest local commit on master? 2010-09-02T23:43:08 3be7c54f05e16bb6a44d06a3eb598c47fc50dd75 refs/heads/master 2010-09-02T23:43:08 d4ae47d58e03d0bfd58cb4031baa04afc0ba65e8 refs/heads/thing-stack 2010-09-02T23:43:37 *** nullie_ has quit IRC 2010-09-02T23:43:37 hmm, that is what I set as the new master 2010-09-02T23:43:48 why would it complain? 2010-09-02T23:43:51 yes, i updated by specifying the remote branch explicitly 2010-09-02T23:43:59 but it complained when updating the thing-stack 2010-09-02T23:44:06 so not sure what happened there 2010-09-02T23:44:09 what I did is, I merged thing-stack into master locally and pushed 2010-09-02T23:44:15 ah 2010-09-02T23:44:20 so master is actually thing-stack now? 2010-09-02T23:44:27 so I deleted master locally and re-set it to the 3be7 2010-09-02T23:44:33 and then had to do push --force 2010-09-02T23:45:10 birkenfeld: ah. because i pulled too early 2010-09-02T23:45:22 i guess i had your merge locally already 2010-09-02T23:45:25 ah 2010-09-02T23:45:32 then you have to pull --force maybe? 2010-09-02T23:46:18 aa_: exactly 2010-09-02T23:47:28 nope, i did "git pull origin master" on master 2010-09-02T23:47:54 it might just not have recognized the remove branch any more 2010-09-02T23:47:59 well, I cannot help you :) 2010-09-02T23:48:13 why doesn't it magically work? 2010-09-02T23:48:30 *** warz has joined #pocoo 2010-09-02T23:48:32 i wish i knew :) 2010-09-02T23:48:37 maybe you need to "git remote update" or to "git sacrifice chicken" 2010-09-02T23:48:45 birkenfeld: but do you know what magically works? end of line conversion :D 2010-09-02T23:48:53 head ... blown 2010-09-02T23:49:41 Someone recommend me a good programmer font. I don't like those "crisp" ones that just look pixly; a little bored with Consolas and would prefer something Free, don't quite like Inconsolata. 2010-09-02T23:50:13 donri: nothing beats consolas. sorry 2010-09-02T23:50:16 :D 2010-09-02T23:50:26 I like variation. 2010-09-02T23:50:39 I fell in love with Monofur but it lacks a bold variant. 2010-09-02T23:50:41 donri: I guess you know Monaco; that and the two you mentioned is my current triptychon 2010-09-02T23:51:32 dejavu sans mono is still one of the best imo 2010-09-02T23:51:39 apple improved slightly upon it with menlo 2010-09-02T23:51:43 looks boring though 2010-09-02T23:51:48 compared with consolas 2010-09-02T23:51:54 especially the italic 2010-09-02T23:51:58 yep 2010-09-02T23:52:07 DejaVu is nice but also boring. :D 2010-09-02T23:52:13 consolas has a nice italic version 2010-09-02T23:52:25 what about Droid Mono? 2010-09-02T23:52:26 which is pretty unique for monospace fonts 2010-09-02T23:53:04 and there is also Liberation Mono which I personally don't like 2010-09-02T23:54:01 the liberation fonts were designed by a person who should better not do font design 2010-09-02T23:54:20 well, the sans is okay 2010-09-02T23:54:44 at least as a UI font 2010-09-02T23:54:48 heh. they were designed by steve matteson 2010-09-02T23:54:57 not for print probably 2010-09-02T23:54:58 who also did nice fonts 2010-09-02T23:55:08 namely many of the c fonts 2010-09-02T23:55:22 the liberation serif is a joke compared to libertine 2010-09-02T23:55:40 he also made andale mono 2010-09-02T23:56:11 also made the Droid family 2010-09-02T23:57:47 Interesting, Inconsolata fails to align properly too and it does have a bold variant. 2010-09-02T23:58:14 donri: what os? 2010-09-02T23:58:19 I wish the new Ubuntu font will come with a monospaced variant eventually. 2010-09-02T23:58:23 mitsuhiko: Ubuntu/gedit. 2010-09-02T23:58:29 hmm 2010-09-02T23:58:36 maybe they broke the font config again 2010-09-02T23:58:59 Duno. Some fonts align wrongly when there are keywords that render in bold. 2010-09-02T23:59:51 Someone needs to invent "dynamic monospace" where space is mono relative to the graphemes on the previous line :D :D 2010-09-02T23:59:59 logbook: Armin Ronacher thing-stack * rd4ae47d / logbook/ticketing.py : Added app id - http://bit.ly/9qK41Z * http://github.com/mitsuhiko/logbook/commit/d4ae47d58e03d0bfd58cb4031baa04afc0ba65e8