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    

18. 10 2008

[00:06:25] * zekel has quit IRC
[00:29:06] * davidcramer has quit IRC
[00:29:43] * davidcramer has joined #pocoo
[00:35:09] * Kaelten has quit IRC
[01:14:25] * davidcramer has quit IRC
[01:14:49] * davidcramer has joined #pocoo
[01:24:54] * hoffmann has quit IRC
[01:27:31] * davidcramer has quit IRC
[01:28:09] * davidcramer has joined #pocoo
[01:32:18] * highwaychile has quit IRC
[02:43:33] * rafiu has quit IRC
[03:35:31] * mtrichardson has quit IRC
[03:59:56] * kaelten has joined #pocoo
[04:01:18] * kaelten has quit IRC
[04:01:36] * kaelten has joined #pocoo
[04:24:45] * ckknight has quit IRC
[04:25:12] * ckknight has joined #pocoo
[05:01:12] * grumpy has joined #pocoo
[05:24:02] * Jarrett has joined #pocoo
[05:24:16] <Jarrett> KirkMcDonald: <_<
[05:33:13] * kaelten is now known as Kaelten
[05:56:56] * ckknight has quit IRC
[06:01:59] * Jarrett has quit IRC
[06:04:43] * ckknight has joined #pocoo
[06:22:49] * davidcramer has quit IRC
[06:31:40] * hoffmann has joined #pocoo
[06:56:15] * grumpy has quit IRC
[06:56:55] * grumpy has joined #pocoo
[07:17:29] * empty has quit IRC
[07:19:05] * Kaelten has quit IRC
[10:53:16] * jpcw has quit IRC
[11:12:34] * zero-one has joined #pocoo
[11:23:30] * POX has quit IRC
[11:23:53] * izibi has joined #pocoo
[11:25:27] * izibi has quit IRC
[11:30:45] <CIA-49> python-doctools: georg.brandl * r66965 /doctools/trunk/ (6 files in 3 dirs): Support <meta> tags via meta directive.
[11:31:27] * izibi has joined #pocoo
[11:35:34] * POX has joined #pocoo
[11:40:33] * |izibi| has joined #pocoo
[11:40:49] * izibi has quit IRC
[11:40:50] * |izibi| has quit IRC
[11:41:07] * izibi has joined #pocoo
[11:47:57] * izibi has quit IRC
[11:48:54] * zero-one has quit IRC
[11:56:49] * izibi has joined #pocoo
[12:12:46] * hoffmann has quit IRC
[12:25:44] * grumpy has quit IRC
[15:27:03] * empty has joined #pocoo
[15:28:02] * empty has left #pocoo
[15:32:27] * empty has joined #pocoo
[15:52:37] * paradoxist1 has joined #pocoo
[16:00:55] * paradoxist1 has quit IRC
[16:08:18] * highwaychile has joined #pocoo
[16:33:58] * s0undt3ch has joined #pocoo
[16:34:01] <s0undt3ch> hello ppl
[16:45:37] * highwaychile has quit IRC
[16:51:59] * CIA-49 has quit IRC
[16:56:54] * lakin has joined #pocoo
[17:07:33] <s0undt3ch> does Zine have widget already?
[17:07:39] <s0undt3ch> mitsuhiko: ?
[17:23:10] * Jarrett has joined #pocoo
[17:28:19] <Jarrett> I've got a question related to Pygments - I'm updating the MiniD lexer, and to non-escaped strings, I've added the ability to embed double quotes in them by doubling up the quote character, like @"this is a literal string "" that keeps going" => "this is a literal string \" that keeps going". How would I recognize this with a regexp?
[17:29:30] <mitsuhiko> Jarrett: @"(""|.)*" i guess
[17:29:39] <mitsuhiko> s0undt3ch: nope, but working on it
[17:29:55] <Jarrett> oh. .. that seems almost too easy.
[17:30:00] <Jarrett> :)
[17:30:17] <mitsuhiko> :)
[17:31:24] <Jarrett> wee, that works.
[17:41:55] * stifal has joined #pocoo
[17:52:04] <Jarrett> birkenfeld: I've sent you an update to the MiniD lexer for Pygments :)
[18:00:27] <birkenfeld> Jarrett: thanks!
[18:00:36] * davidcramer has joined #pocoo
[18:14:08] * CIA-49 has joined #pocoo
[18:51:28] * Jarrett has quit IRC
[18:57:22] * lakin has quit IRC
[19:05:29] <izibi> does anybody know how i can get zine running on lighttpd using fcgi?
[19:08:25] <prencher> like you would any other python wsgi app; using flup
[19:08:43] <CIA-49> Zine: mitsuhiko default * 510:29ca4c48e4f2 /zine/ (20 files in 7 dirs): Reimplemented page and entry editing.
[19:08:44] <CIA-49> Zine: mitsuhiko default * 511:a8f1fa48719f /zine/ (database.py forms.py models.py views/blog.py widgets.py): Changed the all-mighty get_list to a simpler form by utilizing chained queries.
[19:08:44] <CIA-49> Zine: mitsuhiko default * 508:e73d63a039e7 /zine/ (12 files in 4 dirs): Second part of the switch to content types for posts.
[19:08:46] <CIA-49> Zine: mitsuhiko default * 509:979c7f60d2a3 /zine/ (24 files in 7 dirs):
[19:08:48] <CIA-49> Zine: It's now possible to edit pages again. Drafts no longer appear on the index
[19:08:50] <CIA-49> Zine: page for logged in users and sheduled posts are marked as such. Furthermore are
[19:08:52] <CIA-49> Zine: pub dates now set on publish not on first save, this however is not true for the
[19:09:13] * prencher smacks CIA-49
[19:09:17] <CIA-49> Zine: slugs, so if the post is edited for longer than a day, the slug has to be
[19:09:17] <CIA-49> Zine: adapted too.
[19:09:17] <CIA-49> Zine: mitsuhiko default * 507:2d33456fad99 /zine/ (application.py models.py utils/forms.py): Slightly improved CSRF checks for forms.
[19:10:57] <izibi> prencher: but it doesn't work :( using the script in servers/ doesn't work
[19:11:19] * highwaychile has joined #pocoo
[19:12:23] <mitsuhiko> izibi: haven't tried in ages, and last time i was looking lighttpd was still sucking hard for fastcgi serving :(
[19:12:33] <mitsuhiko> at least if you are hooking the app into the url root
[19:12:42] <prencher> Just Use Nginx(TM)
[19:14:10] <mitsuhiko> there we go :)
[19:14:30] <mitsuhiko> prencher: have you seen the latest version of the zine forms?
[19:14:42] <prencher> no
[19:15:23] <mitsuhiko> my intention was to go away from the http cruft as much as possible
[19:15:37] <mitsuhiko> (by using a crowbar ^^)
[19:16:07] <mitsuhiko> if you transmit foo=1&foo=2 it's the same as transmitting foo.0=1&foo=.1=2
[19:16:11] <mitsuhiko> eh
[19:16:17] <mitsuhiko> i mean foo.0=1&foo.1=2
[19:16:37] <mitsuhiko> which basically enables nested forms and using fundamentally different widgets for the same validator
[19:17:19] <mitsuhiko> furthermore i've split up the form validation and the form rendering into two completely different parts
[19:17:34] <mitsuhiko> that's *basically* how zine.forms works currently
[19:17:47] <mitsuhiko> and how it's supposed to stay
[19:18:04] <mitsuhiko> the forms look like this currently: http://www.bitbucket.org/mitsuhiko/zine-main/src/tip/zine/forms.py
[19:18:35] <mitsuhiko> what's the thing that you didn't like about zine.forms?
[19:19:18] <prencher> validations
[19:20:03] <mitsuhiko> what exactly? that part of the validation is driven by the fields?
[19:20:58] <prencher> that fields do any sort of validation - e.g. max_length, that's a validation task, not a data conversion task
[19:21:17] <prencher> i see you've added required/validators/widget support to construction of fields, so that's better now at least
[19:22:38] <prencher> also i find the messages= thing weird, but i can see what you're trying to solve with it
[19:24:11] <mitsuhiko> i believe max_length to be a data conversion related task due to the length limits of fields
[19:27:01] <prencher> i disagree, but we have different defintions of what fields do
[19:38:16] * CIA-49 has quit IRC
[19:45:10] * hoffmann has joined #pocoo
[20:04:34] <birkenfeld> mitsuhiko: #4067 is reviewed, btw
[20:04:46] <mitsuhiko> oh yes. i totally forgot about that one
[20:05:08] * mitsuhiko adapts and commits
[20:09:34] * davidcramer has quit IRC
[20:17:51] * CIA-49 has joined #pocoo
[20:27:04] <izibi> it looks like the fcgi process is running
[20:27:06] <izibi> julian@h1338268:~/www/zine$ sudo netstat -l -p | grep izibi
[20:27:06] <izibi> unix 2 [ ACC ] STREAM HÖRT 51483124 3880/python /home/julian/www/zine/izibi_en/zine.sock
[20:27:15] <izibi> but it doesn't work :(
[20:27:22] <izibi> does anyone have an idea?
[20:27:49] <izibi> http://en.julian.xairro.com/
[20:33:34] <izibi> IT WORKS!! wohoo
[20:33:57] <izibi> but now it's using tcp instead of an unix socket
[20:37:23] <izibi> it's a problem with the file permissions... grrr
[20:47:45] * davidcramer has joined #pocoo
[20:56:09] <izibi> if i run it as www-data, it doesn't work, but as julian it does work...
[20:56:12] <izibi> wtf?
[20:56:17] <izibi> but there are no errors
[20:59:12] <izibi> it works! cool :)
[20:59:35] <izibi> the python egg cache was the problem
[21:11:32] <izibi> <type 'exceptions.AttributeError'>: 'Plugin' object has no attribute 'deactivate'
[21:11:33] <izibi> grml
[21:25:10] <mitsuhiko> zine is currently under heavy development :)
[21:25:52] <izibi> but i want to use it ;)
[22:26:25] * hoffmann has left #pocoo
[22:26:39] * hoffmann has joined #pocoo
[22:34:35] * ckknight has quit IRC
[22:44:18] * davidcramer has quit IRC
[22:45:33] * adaran has joined #pocoo
[23:08:58] * CIA-49 has quit IRC
[23:34:41] * kaelten has joined #pocoo
[23:36:09] * kaelten has joined #pocoo
[23:38:00] * kaelten is now known as Kaelten
[23:38:34] * davidcramer has joined #pocoo
[23:50:53] * hoffmann_ has joined #pocoo
[23:53:19] * hoffmann has quit IRC
[23:53:23] * hoffmann_ is now known as hoff
[23:53:29] * hoff is now known as hoffmann
[23:58:35] * mq has quit IRC