2007-07-30T02:04:31  <zenhase> ThomasWaldmann: i already threw away some code, merged main, fixed the test_sourcecode stuff and now i am working on putting the rest of the genshi code back into a sole theme
2007-07-30T02:05:53  <ThomasWaldmann> just wondered because last commit is 12d ago
2007-07-30T02:05:56  <zenhase> but i was a bit busy too this week since i had to decide quick on a small vacation and had to make some arrangements and organizational stuff
2007-07-30T02:07:21  <zenhase> hmm, i did not commit the changes right away, since i didn't know if i would rollback some of them during cleanup
2007-07-30T02:11:48  <zenhase> i think it will be finished the next few days
2007-07-30T02:12:30  <zenhase> then i will merge main again and write a wikipage on the theme
2007-07-30T02:14:09  <grzywacz> In the meantime I've managed to break notifications in my branch, so I'll commit when everything is ok.
2007-07-30T02:14:11  <grzywacz> ;S
2007-07-30T02:14:43  <zenhase> :)
2007-07-30T02:16:05  <ThomasWaldmann> http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html
2007-07-30T02:16:21  <zenhase> btw., i tried to follow the channel reading-wise and noticed this discussion on the parser/formatter ideas between xorAxAx and johill
2007-07-30T02:16:40  <grzywacz> ThomasWaldmann, I pasted it yesterday or so. :)
2007-07-30T02:16:59  <ThomasWaldmann> ah
2007-07-30T02:17:03  <zenhase> got me interested, since i had many thoughts on wikidom-like stuff too during the course of my project
2007-07-30T02:18:19  <ThomasWaldmann> yeah, this topic has been there since a while
2007-07-30T02:18:45  <zenhase> yeah, i didn't noticed in moinmo.in that this has been around already in the past
2007-07-30T02:18:46  <grzywacz> As a side note, my FF started to move its tabs responding to music, or so it looked. ;-)
2007-07-30T02:19:01  <zenhase> grzywacz: and what's his favorite?
2007-07-30T02:19:16  <grzywacz> zenhase, Bony M ;-D
2007-07-30T02:19:21  <grzywacz> zenhase, http://kolos.math.uni.lodz.pl/~grzywacz/ff_tabs_live.avi
2007-07-30T02:19:32  <grzywacz> If you don't mind downloading 18megs for 15 seconds of video. :D
2007-07-30T02:19:55  <zenhase> what codec?
2007-07-30T02:20:10  <zenhase> sitting at a non-media-configured win right now
2007-07-30T02:20:19  <grzywacz> mjpeg and pcm audio, exactly what my camera produces
2007-07-30T02:20:23  <grzywacz> Didn't bother to compress it.
2007-07-30T02:20:24  <grzywacz> :D
2007-07-30T02:20:39  <zenhase> and no, doesn't bother me
2007-07-30T02:21:15  <zenhase> omg
2007-07-30T02:21:23  <zenhase> what is this?
2007-07-30T02:21:36  <zenhase> is it something mechanical with the display?
2007-07-30T02:21:46  <grzywacz> No. It was firefox. I started like that. ;D
2007-07-30T02:21:50  <grzywacz> *It
2007-07-30T02:22:04  <zenhase> you mean it's actually on screen?
2007-07-30T02:22:08  <grzywacz> I clicked all the tabs and it stopped. ;)
2007-07-30T02:22:17  <zenhase> woo
2007-07-30T02:22:24  <zenhase> scary if you ask me :>
2007-07-30T02:22:30  <grzywacz> >_>
2007-07-30T02:22:41  <grzywacz> I played a few minutes of Doom 3 before that. Now I won't be able to sleep. ;)
2007-07-30T02:23:02  <zenhase> oh
2007-07-30T02:23:09  <zenhase> i totally know what you mean
2007-07-30T02:23:24  <zenhase> i played doom3 for about 2h
2007-07-30T02:23:32  <zenhase> i never touched it again afterwards
2007-07-30T02:23:45  <zenhase> too much 'shock'
2007-07-30T02:24:07  <zenhase> must be the best horror movie i played/saw in my life
2007-07-30T02:24:28  <grzywacz> Hm.
2007-07-30T02:24:33  <grzywacz> No. System Shock 2 was worse.
2007-07-30T02:24:36  <zenhase> well ok, saw3 was more shocking but in a non-good way
2007-07-30T02:24:56  <grzywacz> But doom 3 gets really close.
2007-07-30T02:25:07  <zenhase> and i didn't even watched that one, i just sat in the same room while some guys watched it
2007-07-30T02:25:28  <zenhase> the sound alone was enough to turn my stomach
2007-07-30T02:25:32  <grzywacz> ;S
2007-07-30T02:27:49  <grzywacz> zenhase, http://en.wikipedia.org/wiki/System_Shock_2 ;]
2007-07-30T02:28:06  <zenhase> didn't even play the first one :<
2007-07-30T02:29:02  <grzywacz> First one is now very, very old.
2007-07-30T02:29:19  <grzywacz> But then, I can stand doom 3 for one hour or so.
2007-07-30T02:29:31  <grzywacz> In SS2 I had to make breaks every bloody 5-10 minutes. ;)
2007-07-30T02:29:37  <zenhase> :o
2007-07-30T02:30:01  <zenhase> i think i somehow lost the patience for singleplayer games several years ago
2007-07-30T02:30:37  <grzywacz> Depends on a game. It has to be very good to be playable in SP.
2007-07-30T02:31:33  <zenhase> there was only a single sp game i played in the last 5 years that i played completely from start to end
2007-07-30T02:31:54  <zenhase> it was fable
2007-07-30T02:32:59  <grzywacz> Never heard of, I'm afraid.
2007-07-30T02:33:36  <zenhase> http://en.wikipedia.org/wiki/Fable:_The_Lost_Chapters
2007-07-30T02:34:02  <zenhase> absolutely lovely
2007-07-30T02:34:52  <zenhase> don't read too much into the wiki-pages about it if you intend to play
2007-07-30T02:35:12  <grzywacz> I'm afraid I have no windows. 8)
2007-07-30T02:35:13  <zenhase> it has an awesome immersive story and you don't want to spoil yourself the experience
2007-07-30T02:35:33  <zenhase> ok :>
2007-07-30T02:41:09  <zenhase> will catch up on some sleep now
2007-07-30T02:41:17  <zenhase> cu tomorrow
2007-07-30T02:42:21  <grzywacz> night
2007-07-30T02:42:23  <grzywacz> zenhase, http://www.ttlg.com/forums/showthread.php?t=114736
2007-07-30T02:42:24  <grzywacz> 8)
2007-07-30T03:30:10  <grzywacz> Aha, SS2: http://kolos.math.uni.lodz.pl/~grzywacz/log.ogg
2007-07-30T03:30:12  <grzywacz> ;)
2007-07-30T09:18:55  <xorAxAx> grzywacz: funny tabs :)
2007-07-30T09:36:02  <xorAxAx> grzywacz: "try working smarter, not harder, with a sense of urgency and a bias for action"
2007-07-30T09:36:07  <xorAxAx> :-)
2007-07-30T10:15:34  <grzywacz> xorAxAx, what's that quote? :)
2007-07-30T10:16:36  <xorAxAx> grzywacz: dilbert
2007-07-30T10:39:32  <lanius> moin
2007-07-30T10:40:44  <xorAxAx> moin lanius
2007-07-30T12:16:18  <ThomasWaldmann> moin
2007-07-30T13:17:42  <johill> ThomasWaldmann: id test?
2007-07-30T13:18:05  <xorAxAx> johill: he fixed the test already
2007-07-30T13:19:47  <johill> ah, I see
2007-07-30T13:20:31  <johill> I got the toc and include macros working with the dom stuff I did
2007-07-30T13:21:00  <xorAxAx> wow
2007-07-30T13:21:28  <johill> like basic test implementations, of course
2007-07-30T13:21:42  <johill> so the include test macro just creates a document and inserts it etc
2007-07-30T13:23:07  <johill> just pushed, if you want to look at it
2007-07-30T13:26:45  <johill> also, I think some sub-node activation should probably be moved
2007-07-30T13:26:51  <johill> but as proof-of-concept it's working fine
2007-07-30T13:39:44  <grzywacz> moin again...
2007-07-30T13:49:46  <johill> :)
2007-07-30T13:50:02  <johill> zenhase: did you have any questions about our discussion?
2007-07-30T13:58:43  <johill> ah no, I can't move replacement node activation but that's fine
2007-07-30T14:25:56  * johill moves it further in instead
2007-07-30T14:47:15  <johill> I wonder if it'd be possible to annotate the nodes to get back a byte-identical representation of the input to the parser
2007-07-30T14:47:23  <johill> that would make section editing almost trivial :)
2007-07-30T14:47:36  <xorAxAx> ?
2007-07-30T14:47:58  <xorAxAx> you only need byte positions from the parsing stage
2007-07-30T14:48:18  <johill> not if somebody else edits another section
2007-07-30T14:49:07  <johill> or you add them to the edit log (range a-b changed to c-d)
2007-07-30T14:52:27  <xorAxAx> ???
2007-07-30T14:52:44  <xorAxAx> johill: of course, on save, the chunks are assembled an merged
2007-07-30T14:52:52  <xorAxAx> like it works currently
2007-07-30T14:53:45  <johill> oh just a text merge, yeah
2007-07-30T14:54:17  <johill> it just seems to me that a tree-merge could be quite a bit easier (and possibly safer too)
2007-07-30T14:54:38  <xorAxAx> a tree merge?
2007-07-30T14:54:46  <johill> merging two node trees
2007-07-30T14:56:45  <xorAxAx> its not really easier :)
2007-07-30T16:36:56  <ThomasWaldmann> johill: while you're at it, also think about some generic include for any item type (that has implemented some own dom tree generation)
2007-07-30T16:37:11  <xorAxAx> ?
2007-07-30T16:37:18  <xorAxAx> ThomasWaldmann: thats what a macro does :)
2007-07-30T16:39:01  <ThomasWaldmann> we could have some Include(item) that works for any possible item type
2007-07-30T16:41:50  <xorAxAx> yes, thats rather orthogonal to the new rendering pipeline though
2007-07-30T16:43:49  <ThomasWaldmann> i guess it would do the include on the dom tree level, so if you implement some dom now....
2007-07-30T16:46:47  <xorAxAx> it would execute the macro and the macro would return a domtree
2007-07-30T16:47:00  <xorAxAx> like the macro returned a series of formatter call results before
2007-07-30T16:56:15  <ThomasWaldmann> ok, so it needs to be considered in the Include macro rewrite.
2007-07-30T16:57:36  <xorAxAx> not necessarily :)
2007-07-30T16:57:57  <xorAxAx> it could be some different part of the code that is called depending on the mimetype of the item that is being included
2007-07-30T17:54:31  <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2730:f62e98d839c3 1.7-storage-hwendel/MoinMoin/storage/ (fs_moin16.py fs_storage.py): save editlog
2007-07-30T17:55:54  <ThomasWaldmann> -v -v
2007-07-30T17:59:04  <lanius> i'm currently thinking where to set the metadata
2007-07-30T17:59:10  <lanius> in external stuff or in page stuff
2007-07-30T17:59:12  <lanius> and when to set it
2007-07-30T17:59:20  <lanius> when creating a revision, or when saving the data, or when saving the metadata
2007-07-30T18:01:26  <xorAxAx> btw, note that introducing acl checks in the storage layer doesnt make it necessary to set exception guards in the old code
2007-07-30T18:01:36  <xorAxAx> because old code uses user.may
2007-07-30T18:01:44  <xorAxAx> (so thats actually not a reason :))
2007-07-30T18:01:59  <xorAxAx> (to defer it)
2007-07-30T18:02:04  <lanius> hm, sounds good, right
2007-07-30T18:02:21  <lanius> and maybe it raises places where it is not used ;)
2007-07-30T18:02:31  <xorAxAx> yes
2007-07-30T18:02:55  <lanius> other than it would be a bit slower because of double-checking
2007-07-30T18:03:02  <xorAxAx> that doesnt matter :)
2007-07-30T18:03:15  <xorAxAx> in the short term
2007-07-30T18:03:18  <lanius> right
2007-07-30T18:03:37  <lanius> so it should be no big issue, but i'll finish the edit-log stuff first
2007-07-30T18:03:45  <xorAxAx> yes
2007-07-30T18:07:26  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2123:0c4f064400dd 1.6/ (MoinMoin/action/AttachFile.py docs/CHANGES): if attachment upload uses overwrite mode, we have to check for delete rights, not only for write rights
2007-07-30T18:08:34  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2582:66add9e5bec7 1.7/ (MoinMoin/action/AttachFile.py docs/CHANGES): if attachment upload uses overwrite mode, we have to check for delete rights, not only for write rights
2007-07-30T18:21:01  <ThomasWaldmann> lanius: your codecs.open calls miss the encoding
2007-07-30T18:21:53  <lanius> i knew something was missing ;)
2007-07-30T18:23:42  <ThomasWaldmann> + try:
2007-07-30T18:23:42  <ThomasWaldmann> + edit_log = codecs.open(self._backend.get_page_path(name, "edit-log"), "r")
2007-07-30T18:23:42  <ThomasWaldmann> + except IOError, err:
2007-07-30T18:23:42  <ThomasWaldmann> + _handle_error(self._backend, err, name, revno, message=_("Failed to save metadata for item %r with revision %r.") % (name, revno))
2007-07-30T18:23:55  <lanius> yes
2007-07-30T18:24:00  <ThomasWaldmann> also, thiss error msg is not that helpful
2007-07-30T18:24:31  <ThomasWaldmann> (this problem is also at other places)
2007-07-30T18:24:49  <xorAxAx> %-)
2007-07-30T18:24:57  <lanius> _handle_error will make it helpfull
2007-07-30T18:25:24  <xorAxAx> yes, its israelian magic
2007-07-30T18:25:34  <ThomasWaldmann> ?
2007-07-30T18:25:47  <xorAxAx> it was introduced by nir
2007-07-30T18:25:56  <xorAxAx> the compoundexception system
2007-07-30T18:26:01  <xorAxAx> or however its called
2007-07-30T18:26:41  <ThomasWaldmann> btw, where's nir? he's active on the wiki, but not here...
2007-07-30T18:29:00  <xorAxAx> no idea
2007-07-30T18:29:18  <xorAxAx> i have seen him less than 5 times in other channels on freenode in the last year
2007-07-30T19:15:21  * ThomasWaldmann updates i18n on master wiki
2007-07-30T19:46:46  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2124:dbe0cd3ea15c 1.6/MoinMoin/i18n/ (12 files): updated i18n
2007-07-30T19:46:47  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2125:1685c7f87d21 1.6/MoinMoin/macro/SystemInfo.py: better use formatted=False, not !CamelCase
2007-07-30T19:46:51  <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2126:411d7c9f76e1 1.6/MoinMoin/i18n/ (34 files): updated i18n
2007-07-30T20:40:25  <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2731:206890edee5e 1.7-storage-hwendel/MoinMoin/ (7 files in 3 dirs): a lot of metadata cleanup
2007-07-30T20:50:06  <ThomasWaldmann> +        Reset, you know what i mean?
2007-07-30T20:54:40  <ThomasWaldmann> +            if type(acl) != list:            <-- is not
2007-07-30T20:55:56  <ThomasWaldmann> lanius:
2007-07-30T20:58:25  <ThomasWaldmann> btw, the size implementation is rather expensive if it has to read the data to get len() of it
2007-07-30T20:59:22  <ThomasWaldmann> esp. for non-text/* mimetypes which tend to be a bit longer. info action would be very expensive then...
2007-07-30T21:05:25  <ThomasWaldmann> there could be a backend method doing os.stat in a file backend
2007-07-30T21:13:11  <xorAxAx> lanius: +                        metadata[EDIT_LOG_EXTRA] = values[7] when will it be gone?
2007-07-30T21:15:58  <ThomasWaldmann> xorAxAx: I would suggest keeping it for now, adding some TODO tag, until the attachment stuff has been done
2007-07-30T21:16:49  <xorAxAx> i am not sure about that
2007-07-30T21:17:10  <xorAxAx> he could already convert the readers
2007-07-30T21:17:15  <xorAxAx> and ignore the writers
2007-07-30T21:17:24  <xorAxAx> the attachment stuff doenst have any extra readers
2007-07-30T23:15:48  <ThomasWaldmann> johill: you said that linkconv did only one change to moinmaster pages. so you have written a mig script using it? Where is it?
2007-07-30T23:32:51  <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2734:c59be92d031a 1.7-maninfo-vpv/MoinMoin/action/SisterDiff.py: Remove one FIXME that was fixed
2007-07-30T23:32:55  <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2735:4fb7fcba4aa8 1.7-maninfo-vpv/MoinMoin/script/xmlrpc/manimport.py: Major rewrite of parse_filelist(), updates handling is completely missing now, needs to be put in a better place. Some other small fixes too.
2007-07-30T23:33:07  <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2737:1ae843c64dfb 1.7-maninfo-vpv/ (MoinMoin/action/AttachFile.py docs/CHANGES): merge from main

MoinMoin: MoinMoinChat/Logs/moin-dev/2007-07-30 (last edited 2007-10-29 19:19:21 by localhost)