2006-05-21T12:46:47  <xorAxAx> "MoinMoin.script: move _util stuff to __init__"
2006-05-21T12:46:55  <xorAxAx> argh, that will yield a lot of conflicts here
2006-05-21T12:58:52  <xorAxAx> ThomasWaldmann: can you backport the thread monitor? you rewrote the action interface and should know what to change
2006-05-21T12:59:48  <ThomasWaldmann> ?
2006-05-21T13:00:03  <xorAxAx> ThomasWaldmann: see my latest checkins
2006-05-21T13:10:35  <xorAxAx> ThomasWaldmann: http://test.wikiwikiweb.de/?action=raw doesnt work
2006-05-21T13:11:57  <ThomasWaldmann> oops
2006-05-21T13:15:01  <ThomasWaldmann> das betrifft nicht-existente seiten + bug für frontpage
2006-05-21T13:24:29  <ThomasWaldmann> http://test.wikiwikiweb.de/?action=raw
2006-05-21T13:24:39  <ThomasWaldmann> X)
2006-05-21T13:25:29  <ThomasWaldmann> wir haben da glaub was drin, dass auch der Seitenname im querystring sein kann
2006-05-21T13:25:51  <xorAxAx> yeah, but you broke it :)
2006-05-21T13:27:26  <ThomasWaldmann> no, it obviously works :)
2006-05-21T13:28:21  <ThomasWaldmann> http://test.wikiwikiweb.de/?FrontPage
2006-05-21T13:29:25  <xorAxAx> no, it doesnt work
2006-05-21T13:41:46  <ThomasWaldmann> shouldnt that dump also include some variables?
2006-05-21T13:49:39  <xorAxAx> no :)
2006-05-21T13:50:02  <xorAxAx> one could use cgitb ...
2006-05-21T13:50:06  <xorAxAx> but that would be a security leak
2006-05-21T13:50:16  <xorAxAx> as you could sample passwords etc.
2006-05-21T13:51:43  <ThomasWaldmann> the sense of that thing is finding out why it hangs in some thread and we can restrict it to superuser
2006-05-21T13:52:30  <ThomasWaldmann> btw, header is not as usual in moin
2006-05-21T13:53:10  <xorAxAx> yeah, that is a solution. but if think you can find most hang situations by just looking at the code where its running
2006-05-21T13:53:14  <xorAxAx> header?
2006-05-21T13:53:59  <ThomasWaldmann> src file header
2006-05-21T13:54:18  <xorAxAx> i copied it from another file
2006-05-21T13:54:23  <xorAxAx> (action)
2006-05-21T13:54:34  <xorAxAx> ah, you mean the util file
2006-05-21T13:54:44  <ThomasWaldmann> comment is not epydoc, encoding is missing
2006-05-21T13:54:46  <xorAxAx> yeah, that one is different because there is no moin specific code
2006-05-21T13:55:47  <xorAxAx> encoding is not needed
2006-05-21T13:56:17  <ThomasWaldmann> we have encoding declared for in ANY file
2006-05-21T13:56:23  <xorAxAx> i will commit an 8bit clean version with @ in the comment
2006-05-21T13:56:39  <xorAxAx> no, not in any file
2006-05-21T13:56:47  <ThomasWaldmann> and that's what MoinMoin/_template.py is for, btw
2006-05-21T13:57:20  <ThomasWaldmann> import order is unusual
2006-05-21T13:57:58  <xorAxAx> why is it unusual?
2006-05-21T13:58:20  <ThomasWaldmann> because usually we first import stdlib and then moin stuff
2006-05-21T13:58:31  <xorAxAx> feel free to fix it up
2006-05-21T13:58:42  <xorAxAx> considering how you broke the request files, i dont dare to touch such issue
2006-05-21T13:58:43  <xorAxAx> s
2006-05-21T13:58:45  <ThomasWaldmann> (see PEP8)
2006-05-21T14:00:27  <ThomasWaldmann> if you want me to backport it to 1.5, first clean it up
2006-05-21T17:16:08  <ThomasWaldmann> how about adding some "cost" parameter to caching module?
2006-05-21T17:18:33  <ThomasWaldmann> like "it will cost you approx x ms to recreate this cache file"
2006-05-21T17:19:21  <ThomasWaldmann> text_html cache e.g. 100, event stats 100000
2006-05-21T17:20:05  <ThomasWaldmann> and then use separate directories per cost class
2006-05-21T17:20:47  <xorAxAx> hmm, i dislike that idea
2006-05-21T17:21:04  <xorAxAx> rather provide such an interface in the cachecleaner script
2006-05-21T17:23:04  <ThomasWaldmann> the idea was to separate by cost
2006-05-21T17:23:26  <xorAxAx> with which goal?
2006-05-21T17:23:43  <xorAxAx> rather repair invalidation
2006-05-21T17:23:49  <ThomasWaldmann> to be able to delete stuff with no regret
2006-05-21T17:23:57  <xorAxAx> (which is not really broken directly currently)
2006-05-21T17:23:59  <ThomasWaldmann> to be able to use different media
2006-05-21T17:24:19  <xorAxAx> but why do you want to use different media based on that parameter?
2006-05-21T17:24:23  <xorAxAx> that doesnt make sense IMHO
2006-05-21T17:24:36  <xorAxAx> and that deletion thingie can be handled by a script parameter
2006-05-21T17:24:55  <ThomasWaldmann> lower cost to recreate == higher risk can be taken
2006-05-21T17:25:07  <ThomasWaldmann> e.g. put it on ramfs
2006-05-21T17:27:13  <xorAxAx> which other files should go to ramfs?
2006-05-21T17:27:18  <xorAxAx> besides page caches
2006-05-21T17:29:02  <ThomasWaldmann> maybe not much more
2006-05-21T17:29:12  <ThomasWaldmann> i18n maybe
2006-05-21T17:31:26  <ThomasWaldmann> (depends on setup, for persistent stuff it makes no sense, maybe it does for cgi)

MoinMoin: MoinMoinChat/Logs/moin-dev/2006-05-21 (last edited 2007-10-29 19:10:42 by localhost)