2007-12-19T00:01:17 <ThomasWaldmann> cb22: nice :)
2007-12-19T00:02:06 <ThomasWaldmann> one thing, while you are at it: maybe add some css class to that "clear message" link that make it look more like some button to press.
2007-12-19T00:06:42 <ThomasWaldmann> cb22: btw, if you just use "dialog warning", this is not nested, but rather having both classes in parallel, right?
2007-12-19T00:15:19 <xorAxAx> rafael: a key, type, value output is not userfriendly at all
2007-12-19T00:20:12 <xorAxAx> cb22: "edit was cancelled" is not an error
2007-12-19T00:23:08 <xorAxAx> cb22: also it would be nice if you could factor out the code that generates the html for every message into a new theme method so subclassing becomes easier
2007-12-19T01:15:45 * cb22 blames his insomnia on GHOP :)
2007-12-19T01:19:17 <ThomasWaldmann> |-)
2007-12-19T01:19:55 <ThomasWaldmann> maybe count some sheep
2007-12-19T01:26:58 <cb22> hehe
2007-12-19T01:27:11 <cb22> class countSheep(sleep.cant):
2007-12-19T01:37:16 <ThomasWaldmann> TheSheep can draw some for you :)
2007-12-19T01:37:52 <cb22> hehe, hmm, wait - i dont think countSheep follows PEP8
2007-12-19T01:38:00 <cb22> it should be CountSheep
2007-12-19T01:38:22 <xorAxAx> yeah, otherwise you will have a thomas-pep8-checker-nightmare :)
2007-12-19T01:38:26 <xorAxAx> good night :)
2007-12-19T01:38:39 <ThomasWaldmann> gn xorAxAx
2007-12-19T01:39:07 <cb22> xorAxAx: hmm, would that be a warning or an exception?
2007-12-19T01:39:13 <cb22> night xorAxAx :)
2007-12-19T02:02:20 <ThomasWaldmann> TheSheep: after reviewing some src and not finding the real problem, I am debugging that formatter.parser problem now
2007-12-19T02:04:50 <TheSheep> ThomasWaldmann: I'm completely baffled too :(
2007-12-19T02:04:58 <TheSheep> ThomasWaldmann: but you managed to reproduce this?
2007-12-19T02:05:06 <TheSheep> ThomasWaldmann: I'm not going insane?
2007-12-19T02:07:52 <ThomasWaldmann> i am currently seeing an AssertionError, so YES :)
2007-12-19T02:08:17 <TheSheep> but there is an explicit "return ''"
2007-12-19T02:12:19 <TheSheep> "# attention: this is copied into text_python!"
2007-12-19T02:12:21 <TheSheep> hmm...
2007-12-19T02:13:20 <TheSheep> the text_python formatter has its own .parser() that returns
2007-12-19T02:13:53 <TheSheep> I can't imagine how it gets called though...
2007-12-19T02:17:34 <ThomasWaldmann> reset_output for wsgi looks strange, btw
2007-12-19T02:17:53 <ThomasWaldmann> but that can't be the problem because i do not use it
2007-12-19T02:18:45 <TheSheep> ThomasWaldmann: I wonder if synchronizing both .parser() methods would bring back consistece
2007-12-19T02:23:36 <TheSheep> looks like it returns if the result is cached
2007-12-19T02:23:52 <ThomasWaldman2> hmm, looks like someone pulled the plug on shell.moinmo.in
2007-12-19T02:23:54 * TheSheep blinks
2007-12-19T02:24:36 <TheSheep> 02:24 [freenode] CTCP PING reply from ThomasWaldmann: 1.424 seconds
2007-12-19T02:25:36 <ThomasWaldman2> try icmp ping
2007-12-19T02:26:14 <TheSheep> Pinging shell.moinmo.in (78.47.126.98) - delay 1 sec(s), timeout 5 sec(s)
2007-12-19T02:26:14 <TheSheep> Ping reply from 78.47.126.98: seq=1 time=29.653 msec
2007-12-19T02:26:18 <ThomasWaldmann> ah, plugged in again
2007-12-19T02:27:04 <ThomasWaldmann> # ret = '<<<>>>'
2007-12-19T02:27:18 <ThomasWaldmann> that's what my assert ret == '' gives
2007-12-19T02:27:27 <ThomasWaldmann> (in the creole parser)
2007-12-19T02:27:49 <TheSheep> look at the end of text_python
2007-12-19T02:28:04 <TheSheep> it will call normal parser (that does request.write) if there is no cache
2007-12-19T02:28:24 <TheSheep> but return self.__insert_code(...) otherwise
2007-12-19T02:28:46 <TheSheep> or something like that
2007-12-19T02:29:49 <TheSheep> .oO( personally I would prefer .parser() to always return instead of writing, but that would requuire changes all over the code )
2007-12-19T02:31:01 <ThomasWaldmann> yeah, that's rather 1.7 or 1.8
2007-12-19T02:31:40 <TheSheep> anyways, I think adding self.reqest.write() at the last line of formatter.text_python() should fix it
2007-12-19T02:36:20 <ThomasWaldmann> dont think so
2007-12-19T02:37:12 <ThomasWaldmann> but i have to look more deeply at text_python voodoo to know better
2007-12-19T02:38:30 <ThomasWaldmann> hmm, how does it look like after adding?
2007-12-19T02:38:45 <TheSheep> I hate it when I'm looking at code and can't understand what it does :(
2007-12-19T02:42:09 <cb22> TheSheep: working with perl? :p
2007-12-19T02:43:23 <ThomasWaldmann> TheSheep: i think adding a .write there is wrong because that insert_code thing creates a dynamic call to the formatter.parser (which does request.write itself)
2007-12-19T02:43:34 <TheSheep> cb22: incidentally, the other wiki engine I use is written in perl and it has much less vooodoo :)
2007-12-19T02:44:11 <ThomasWaldmann> yeah, reading perl source is enough challenge
2007-12-19T02:44:20 <ThomasWaldmann> no need for additional voodoo :D
2007-12-19T02:44:29 * TheSheep points to The Humble Programmer
2007-12-19T02:44:29 <cb22> hehe
2007-12-19T02:45:08 <TheSheep> ThomasWaldmann: ok, and where is that call actually performed?
2007-12-19T02:45:34 <TheSheep> ThomasWaldmann: in the FormatterBase?
2007-12-19T02:46:18 <ThomasWaldmann> when executing the py bytecode we cache to disk
2007-12-19T02:46:39 <TheSheep> ThomasWaldmann: but where is the code that calls it?
2007-12-19T02:47:08 <ThomasWaldmann> it's some exec() in Page
2007-12-19T03:08:37 <ThomasWaldmann> i think it is either ret == <<<>>> and writ == ''
2007-12-19T03:08:55 <ThomasWaldmann> or ret == '' and writ = 'some output'
2007-12-19T03:10:00 <ThomasWaldmann> TheSheep: thus I think your fix is as good as it gets without doing a bigger refactoring
2007-12-19T03:13:49 <TheSheep> an alternative would be "if not ret: ret=writ" :)
2007-12-19T03:13:55 <TheSheep> or something like this
2007-12-19T03:14:26 <TheSheep> "output = ret or writ"
2007-12-19T03:14:53 <ThomasWaldmann> yeah
2007-12-19T03:22:41 <ThomasWaldmann> is text/creole a official mimetype?
2007-12-19T03:23:17 <TheSheep> no
2007-12-19T03:24:27 <TheSheep> maybe x-application/text+creole? ;)
2007-12-19T03:24:41 <ThomasWaldmann> or text/x-creole?
2007-12-19T03:25:41 <TheSheep> xxx-creole
2007-12-19T03:25:55 <TheSheep> suit yourself :)
2007-12-19T03:27:35 <ThomasWaldmann> hmm, i'll stay with text/creole. and i add a mapping so it works with #format creole also
2007-12-19T03:30:47 <CIA-34> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2445:ef854d96b46e 1.6/MoinMoin/wikiutil.py: make '#format creole' work
2007-12-19T03:31:22 <ThomasWaldmann> ok, enough for now. gn.
2007-12-19T03:34:11 <TheSheep> good night
2007-12-19T08:24:52 <dreimark> moin
2007-12-19T08:25:02 * dreimark comments on 62
2007-12-19T12:07:14 <ThomasWaldmann> moin
2007-12-19T13:21:23 <dreimark> moin ThomasWaldmann
2007-12-19T13:22:04 <dreimark> I've seen Marian had joined moin-dev some days ago
2007-12-19T13:36:55 <ThomasWaldmann> yeah, but he is not here right now
2007-12-19T14:04:07 <rafael> xorAxAx: what is userfriendly in your opinion?
2007-12-19T14:11:38 <CIA-34> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2446:fdddfa2be380 1.6/MoinMoin/ (failure.py search/_tests/test_search.py): updated some urls: moinmoin.wikiwikiweb.de > moinmo.in
2007-12-19T14:11:40 <CIA-34> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2447:ec6695d72f34 1.6/MoinMoin/wikiutil.py: merged main
2007-12-19T14:18:22 <TheSheep> rafael: patting on the back and going out for beer
2007-12-19T14:29:07 <xorAxAx> rafael: well, the user doesnt want to know the type, neither does he want to see empty fields, nor in a simple key/value table. think about how outlook/evolution show vcards
2007-12-19T14:30:06 <rafael> xorAxAx: empty fields are not displayed, type is needed i think because you must now if it is "Home" or "Office" or something
2007-12-19T14:30:24 <xorAxAx> rafael: ah
2007-12-19T14:30:40 <xorAxAx> it makes more sense to group by type
2007-12-19T14:31:37 <rafael> ok
2007-12-19T16:19:15 <theredmonkey> hi
2007-12-19T16:23:35 <theredmonkey> [Issue 77 / Comment 21] The problem is: I cannot change the backgroundcolor only for the people who disabled images. If I change bg-color everyone will see the effect ...
2007-12-19T16:24:20 <theredmonkey> (thats releated to the "black on dark blue issue")
2007-12-19T16:30:41 <TheSheep> theredmonkey: you can set the background to light, and use an image without transparency?
2007-12-19T16:31:24 <TheSheep> theredmonkey: then it would cover the light background when the image is loaded
2007-12-19T16:37:33 <xorAxAx> TheSheep: you need to change the font colour then
2007-12-19T16:37:46 <xorAxAx> hmm, no, bg color
2007-12-19T16:38:03 <xorAxAx> well, like it is currently, its pretty bad
2007-12-19T16:38:33 <theredmonkey> TheSheep: Without transparency it would work
2007-12-19T16:38:52 <theredmonkey> but then it is difficould to change the bg-color ...
2007-12-19T16:38:58 <TheSheep> theredmonkey: transparency doesn't work for msie anyways, no? :)
2007-12-19T16:39:19 <TheSheep> I need to see that theme
2007-12-19T16:39:24 * TheSheep downloads the patch
2007-12-19T16:42:32 <johill> xorAxAx: looking
2007-12-19T16:43:01 <johill> xorAxAx: who had that dumb idea?
2007-12-19T16:43:10 <johill> xorAxAx: the real new arg parser is in 1.7
2007-12-19T16:43:21 <xorAxAx> johill: see the wiki page :)
2007-12-19T16:43:26 <xorAxAx> that is linked from the task
2007-12-19T16:43:50 <johill> bleh
2007-12-19T16:43:52 <johill> oh well
2007-12-19T16:44:03 <johill> well why do you want me to look? :) my new code is in 1.7
2007-12-19T16:44:14 <xorAxAx> so he should work on 1.7 because it doesnt make sense with 1.6?
2007-12-19T16:44:40 <johill> well if I remember correctly (I should double check) the magic stuff with default args isn't in 1.6
2007-12-19T16:44:55 <johill> i.e. where you just write my_macro(macro, arg1=int, arg2=bool)
2007-12-19T16:45:04 <xorAxAx> yeah
2007-12-19T16:45:09 <xorAxAx> so what is in 1.6?
2007-12-19T16:45:12 <xorAxAx> dreimark: ?
2007-12-19T16:45:42 <TheSheep> pathc for edit-log %)
2007-12-19T16:47:52 <johill> xorAxAx: the base groundwork is in 1.6, see wikiutil.invoke_extension_function
2007-12-19T16:48:00 <johill> xorAxAx: but 1.6's macro stuff doesn't use that iirc
2007-12-19T16:48:45 <theredmonkey> TheSheep: On MSIE 5.5 (Wine/Linux) transparency does work
2007-12-19T16:50:15 <TheSheep> theredmonkey: seems like just making those ytransparent corners dark blue, and setting the background colors for the tabs to light blue would fix it
2007-12-19T16:51:28 <TheSheep> theredmonkey: also, it would be nice to have some dark 1px border just under the tabs -- as a border, not as image
2007-12-19T16:51:48 <TheSheep> theredmonkey: but that's minor
2007-12-19T16:52:22 <theredmonkey> 1st: Yes, thats what I've said - but then it is difficoult to change the headers bg-color later on ...
2007-12-19T16:52:40 <TheSheep> ah, true
2007-12-19T16:53:21 <theredmonkey> 2nd: No. Thats impossible because the CSS-border underlines the whole navigation-bar
2007-12-19T16:53:42 <theredmonkey> and it is impossible to "free" the active tab
2007-12-19T16:54:08 <TheSheep> theredmonkey: negative margins :)
2007-12-19T16:55:04 <TheSheep> all you need is li { margin-bottom: -1px }
2007-12-19T16:55:15 <theredmonkey> right ... but then its 1px smaller
2007-12-19T16:55:37 <TheSheep> theredmonkey: no, then the li's border overlaps with the ul's border
2007-12-19T16:56:12 <theredmonkey> ok, I'll try it out
2007-12-19T16:56:21 <TheSheep> theredmonkey: the extra pixel will comew from the ul's bottom border
2007-12-19T16:58:31 <dreimark> xorAxAx: ping
2007-12-19T17:01:43 <dreimark> johill: xorAxAx only the magic stuff is missing
2007-12-19T17:01:46 <xorAxAx> dreimark: poing
2007-12-19T17:04:00 <dreimark> xorAxAx: our macros doesn't use it in 1.6
2007-12-19T17:04:26 <dreimark> so we can move this task to 1.7 but then those macros are not useful in 1.6
2007-12-19T17:04:52 <dreimark> while only the execute function has to be removed for 1.7
2007-12-19T17:05:59 <xorAxAx> ok
2007-12-19T17:13:32 <dreimark> johill: I do think if one likes to refactor macros he should use that arg parser now and not after release of 1.7
2007-12-19T17:14:50 <johill> but that's a useless refactoring because you have to write a whole bunch of template code in each macro
2007-12-19T17:15:16 <johill> seriously, I don't care what you make them do. but if they do it please let them do it in a way that allows us to simply remove the execute() template code in the future
2007-12-19T17:16:42 <dreimark> I discussed this HelloWorld.py example template arleady with you some weeks ago.
2007-12-19T17:16:53 <dreimark> It is mostly yours
2007-12-19T17:17:14 <johill> ok so if the suggestion is to just use that template I can see at least some point in the exercise
2007-12-19T17:20:43 <dreimark> that's the idea. Afterwards for 1.7 the execute has to be removed.
2007-12-19T17:23:34 <johill> ok
2007-12-19T17:31:41 <dreimark> bbl
2007-12-19T18:04:27 <theredmonkey> bye
2007-12-19T19:19:15 <grzywacz> moin
2007-12-19T19:19:44 <xorAxAx> moin karol
2007-12-19T19:20:59 <grzywacz> Who is ricardo.fang?
2007-12-19T19:21:29 <xorAxAx> a student :)
2007-12-19T19:21:36 <grzywacz> Does he appear here? :>
2007-12-19T19:21:40 <xorAxAx> yes
2007-12-19T19:21:48 <grzywacz> And his nick would be? :)
2007-12-19T19:21:49 <xorAxAx> as ... ricardo-fang
2007-12-19T19:21:52 <xorAxAx> :-)
2007-12-19T19:21:54 <grzywacz> Oh, surprise.
2007-12-19T19:21:55 <grzywacz> :D
2007-12-19T19:23:41 <grzywacz> I couldn't use ssh @ work recently :(
2007-12-19T19:25:36 <xorAxAx> they block it? "its encrypted traffic so the employee will likely transmit secret corporate data over it, lets block it"? :)
2007-12-19T19:26:01 <grzywacz> Nah, probably something got broken.
2007-12-19T19:26:07 <grzywacz> It used to work normally.
2007-12-19T19:28:16 <grzywacz> ...
2007-12-19T19:28:18 <grzywacz> My isp sucks.
2007-12-19T19:38:29 <xorAxAx> rafael: did you try my suggestions?
2007-12-19T19:48:14 <grzywacz> bbl
2007-12-19T19:50:35 <kikka> hello.
2007-12-19T19:53:32 <TheSheep> hi kikka
2007-12-19T19:54:07 <kikka> Hello TheSheep.
2007-12-19T19:54:12 * TheSheep runs
2007-12-19T19:54:31 <kikka> ?
2007-12-19T19:56:23 <kikka> Why?
2007-12-19T21:00:28 <xorAxAx> kikka: where did you get to know about ghop and moin participating in it?
2007-12-19T21:07:50 <kikka> xorAxAx, a friend (braun.sven) tell me about ghop in sunday evening. moin has nice tasks.
2007-12-19T21:07:55 <xorAxAx> ah
2007-12-19T21:08:07 <kikka> And of course, i don't code.
2007-12-19T21:08:08 <xorAxAx> do you write an exam tomorrow as well?
2007-12-19T21:09:03 <kikka> Jes. German.
2007-12-19T21:10:13 <kikka> Summary.
2007-12-19T21:12:06 <kikka> Who tell you that?
2007-12-19T21:12:25 <xorAxAx> sven braun :)
2007-12-19T21:12:53 <kikka> Eh!
2007-12-19T21:13:26 <kikka> Ok
2007-12-19T21:18:36 <kikka> Well, on which network do you chat with him?
2007-12-19T21:18:54 <xorAxAx> kikka: in the google issue tracker :)
2007-12-19T21:19:09 <xorAxAx> in the comments of the task that he is currently working on
2007-12-19T21:20:13 <kikka> well,
2007-12-19T21:21:10 <xorAxAx> grzywacz: activity on #84
2007-12-19T21:21:16 <xorAxAx> grzywacz: the students want to drop the task
2007-12-19T21:22:32 <kikka> xorAxAx, there's nothing about my exam!
2007-12-19T21:22:54 <ThomasWaldmann> moin
2007-12-19T21:22:58 <ernestas> moin
2007-12-19T21:23:28 <xorAxAx> kikka: hmm?
2007-12-19T21:24:04 <kikka> xorAxAx, I see there something about his exam, but nothing about mine.
2007-12-19T21:24:28 <xorAxAx> kikka: well, i assumed that you are in the same class as him
2007-12-19T21:24:59 <kikka> xorAxAx, ohh, noe.
2007-12-19T21:25:06 <xorAxAx> hehe
2007-12-19T21:25:15 <kikka> I'm 14, he's 16 :P
2007-12-19T21:25:19 <xorAxAx> ok
2007-12-19T21:25:28 * xorAxAx never had an exam on the last day of school
2007-12-19T21:25:30 <kikka> In different states. :)
2007-12-19T21:25:35 <kikka> Ich auch nicht.
2007-12-19T21:25:37 <xorAxAx> wow
2007-12-19T21:25:41 <kikka> Err.
2007-12-19T21:25:57 <kikka> Eh, i meant "bundeslaender"
2007-12-19T21:29:24 <kikka> Gute Nacht
2007-12-19T21:29:32 <kikka> I mean, good Night!
2007-12-19T21:29:46 <ernestas> labanakt, kikka
2007-12-19T21:30:02 <kikka> bonan nokto, etc.
2007-12-19T22:04:15 <grzywacz> xorAxAx, well, if he want's to drop it... I guess there's no much to discuss...
2007-12-19T22:04:51 <xorAxAx> grzywacz: please assist him while dropping or whatever :-)
2007-12-19T22:05:16 <xorAxAx> dreimark: can you have a look at 62?
2007-12-19T22:13:19 <grzywacz> xorAxAx, of course.
2007-12-19T23:21:55 <rafael> xorAxAx: sorry, was off - what suggestions exactly? to order the types? i'm working on it
2007-12-19T23:22:03 <xorAxAx> yes, the grouping
2007-12-19T23:27:25 <ernestas> I'm sorry, but I'm delaying the translation till Saturday. Our teachers went crazy before Christmas and now we have lots of work to do...
2007-12-19T23:28:17 <xorAxAx> %-)
2007-12-19T23:30:26 <grzywacz> :D
MoinMoin: MoinMoinChat/Logs/moin-dev/2007-12-19 (last edited 2007-12-22 22:45:03 by IrcLogImporter)