2006-07-17T00:35:04  <xorAxAx> my 3 lines for tomorrow:
2006-07-17T00:37:35  <xorAxAx>  LAST:  Implemented getDiff XMLRPC method, added preliminary SyncPages action, added interwikiName XMLRPC method, added mergeChanges XMLRPC method. Started analysis of the moinupdate script written by Stefan Merten - interesting approaches there, slightly different algorithm though.
2006-07-17T00:37:41  <xorAxAx>  NEXT: Finish mergeChanges method, cut some reusable code/design from moinupdate, mainly the file renaming logic.
2006-07-17T00:37:44  <xorAxAx>  BLOCKERS: the storage api might block me when it comes to the merging logic of the syncpages action.
2006-07-17T01:51:19  <ThomasWaldmann> xorAxAx: vary headers fixed. your other comment is unclear.
2006-07-17T08:46:47  <Kepplar> Oh bloody greayt
2006-07-17T08:47:02  <Kepplar> the hg merge just fired up vi and didnt think of telling me whats wrong
2006-07-17T08:47:40  <Kepplar> er
2006-07-17T08:47:41  <Kepplar> GRR
2006-07-17T08:47:45  <Kepplar> im going to have to reclone now
2006-07-17T10:08:02  <Kepplar> zHmm
2006-07-17T10:08:04  <Kepplar> hello?
2006-07-17T10:08:08  <Kepplar> its 9am
2006-07-17T10:08:48  <ffesti> Kepplar, 9:00 UTC
2006-07-17T10:09:02  <ffesti> == 11:00 MEST
2006-07-17T10:24:26  <Kepplar> im UK
2006-07-17T10:24:27  <Kepplar> oh
2006-07-17T10:24:32  <Kepplar> Im BST at the moment
2006-07-17T10:55:36  <fpletz> moin
2006-07-17T10:56:00  <Kepplar> moin
2006-07-17T10:58:07  <xorAxAx> oh, interesting, didnt see "UTC"
2006-07-17T10:58:24  <Kepplar> that means it should be in 2 minutes
2006-07-17T11:00:08  <ffesti> moin
2006-07-17T11:00:23  <xorAxAx> ffesti: 8 seconds too late :)
2006-07-17T11:00:30  <Kepplar> ok
2006-07-17T11:00:37  <Kepplar> thats 50 euros into the beer pot
2006-07-17T11:01:10  <ThomasWaldmann> moin
2006-07-17T11:01:16  <ThomasWaldmann> Good morning everybody! Welcome to our fixed weekly online meeting.
2006-07-17T11:01:33  <ThomasWaldmann> Everybody here maybe give a short sign of life. :)
2006-07-17T11:01:37  <Kepplar> We're hear most of them time tbh :)
2006-07-17T11:01:56  <Kepplar> here*
2006-07-17T11:01:58  <ThomasWaldmann> not everybody, at least not really
2006-07-17T11:02:00  * fpletz is still alive ;)
2006-07-17T11:02:22  <xorAxAx> Kepplar: tbh?
2006-07-17T11:02:27  <Kepplar> to be honest
2006-07-17T11:02:36  <ThomasWaldmann> xorAxAx: finished dentist already?
2006-07-17T11:03:07  <xorAxAx> ThomasWaldmann: yes!
2006-07-17T11:03:12  <ThomasWaldmann> richard is on vacation, so i guess we are complete
2006-07-17T11:03:17  <xorAxAx> it was 9:15 MEST
2006-07-17T11:03:28  <Kepplar> MEST?
2006-07-17T11:03:46  <xorAxAx> middle european summer time
2006-07-17T11:03:47  <ffesti> Middle Eurpean Summer Time
2006-07-17T11:03:50  <Kepplar> ah
2006-07-17T11:03:51  <ffesti> grrr
2006-07-17T11:03:54  <xorAxAx> or mid ...
2006-07-17T11:03:56  <ThomasWaldmann> ok, let's proceed alphabetically by realname, kepplar begins
2006-07-17T11:04:00  <Kepplar> I thought it was Central European
2006-07-17T11:04:12  <Kepplar> Oh ok
2006-07-17T11:04:33  <Kepplar> this week I've been trying to tie up the storage engine and flatfile implementation ready for integration into moin code
2006-07-17T11:04:54  <Kepplar> ran into a couple of architectural problems when i was implementing the test cases for the modules
2006-07-17T11:05:09  <Kepplar> which I'm stuck on until I solve them. Which I have now, its a matter of implementation
2006-07-17T11:05:21  <Kepplar> Mostly it was centered around the creation of new item
2006-07-17T11:05:41  <Kepplar> as I had been working from the pretext of successive revisions of an existing item
2006-07-17T11:05:58  <ThomasWaldmann> pretext?
2006-07-17T11:06:05  <Kepplar> as a result I created a new object mechanism related to Item and Item Revision which allowed the creation of new items and itemrevision
2006-07-17T11:06:20  <Kepplar> ThomasWaldmann: working from that point and mindframe
2006-07-17T11:06:35  <Kepplar> while keeping readonly properties to existing revisions
2006-07-17T11:07:02  <Kepplar> this was pretty important to maintain an ItemRevision object with correct data
2006-07-17T11:07:10  <ThomasWaldmann> is it possible to write to existing revisions by API now?
2006-07-17T11:07:15  <Kepplar> as a result we now have a mechanism to clone a revision extracted
2006-07-17T11:07:26  <Kepplar> well its yet to be integrated
2006-07-17T11:07:32  <Kepplar> but thats always been the case for weeks
2006-07-17T11:07:39  <Kepplar> what we can do now is create a brand new revision
2006-07-17T11:08:04  <Kepplar> changes to the filesystem (or whatever storage implementation) is now not on changes of the file revision which used to be the case
2006-07-17T11:08:15  <Kepplar> but now rather on it being added or commited to the Item
2006-07-17T11:08:29  <Kepplar> (add is a method on the item, commit calls add, and is on the item)
2006-07-17T11:08:48  <Kepplar> (item revision has a reference to its owning item, in order to get data such as wikiname etc)
2006-07-17T11:09:31  <Kepplar> In the last couple of days (I lie, I had a day off yesterday) I have been looking at Exception handling, as at the moment there isnt really a decent safety net in covering what can go wrong
2006-07-17T11:09:45  <ThomasWaldmann> your test cases, do they work and do they do "realistic work" on the filesystem?
2006-07-17T11:10:00  <Kepplar> both trivial and realistic
2006-07-17T11:10:32  <Kepplar> I hope to get the test cases in this week once the exception have been implementated so I can trace whats might go wrong
2006-07-17T11:10:47  <ThomasWaldmann> if you don't know how to handle and exception, it is sometimes the best NOT to handle it until you (or someone else) does
2006-07-17T11:10:51  <Kepplar> (and also thus implement the creation of directories for new items)
2006-07-17T11:11:02  <Kepplar> i know how to handle it
2006-07-17T11:11:11  <Kepplar> i mean't how to handle it being raised :)
2006-07-17T11:11:31  <Kepplar> regarding the problem I had about finding out in detail why IOError  was thrown
2006-07-17T11:11:38  <xorAxAx> ThomasWaldmann: umm, the caller shouldnt handle IOError
2006-07-17T11:11:39  <xorAxAx> s
2006-07-17T11:11:48  <xorAxAx> the storage layer should do that
2006-07-17T11:11:50  <Kepplar> (aka I need to find out if the wikiname/directory) is
2006-07-17T11:11:57  <Kepplar> storage abstraction layer will
2006-07-17T11:11:59  <xorAxAx> and wrap it into a semantic exception if necessary
2006-07-17T11:12:05  <Kepplar> mainly because IOError will only exist for flatfile
2006-07-17T11:12:15  <Kepplar> SQL errors will need to be manually raised
2006-07-17T11:12:33  <xorAxAx> Kepplar: not really, dbapi2 contains exceptions as well
2006-07-17T11:12:33  <Kepplar> hence why I was thinking on wrapping IOError (in the case of flatfile) with a custom exception object
2006-07-17T11:12:49  <Kepplar> which is raised upon IOError being thrown
2006-07-17T11:12:50  <xorAxAx> i.e. the backend would have to wrap as well
2006-07-17T11:12:56  <Kepplar> yes yes
2006-07-17T11:13:05  <Kepplar> so we have a 'common error api'
2006-07-17T11:13:52  <ThomasWaldmann> Kepplar: when do you think you have "1.5 api" running life in a wiki, being called from Page at least?
2006-07-17T11:14:13  <Kepplar> Hmm
2006-07-17T11:14:44  <Kepplar> 2 weeks before we have it working, one week of getting it finished up and tested, and then a week for integration - i say a week taking into account things going wrong
2006-07-17T11:14:50  <Kepplar> so possibly by next sunday/monday
2006-07-17T11:14:53  <Kepplar> but ill say 2 weeks to be sure
2006-07-17T11:15:18  <ThomasWaldmann> how much is that behind your schedule?
2006-07-17T11:15:27  <Kepplar> well im not
2006-07-17T11:15:47  <Kepplar> since we got rid of the flat-API i have to turn what I needed to do around
2006-07-17T11:16:04  <Kepplar> so instead of a interface integration and then writing the storage layers
2006-07-17T11:16:12  <Kepplar> i have written the stroage layers and am now integrating
2006-07-17T11:16:42  <Kepplar> plus the fact i was working for the first few weeks which reduced my time, so really i have had even less time in the past compared to what i have ahead
2006-07-17T11:16:45  <Kepplar> (if that makes sense)
2006-07-17T11:16:51  <Kepplar> 4 weeks left?
2006-07-17T11:16:52  <Kepplar> or 5?
2006-07-17T11:17:11  <Kepplar> after integration there isnt that much more to be done
2006-07-17T11:17:18  <Kepplar> tidying up config is mainly it
2006-07-17T11:17:43  <ThomasWaldmann> ok, i suggest trying getting Page to run soon. as you might find out new problems you won't find without practically using it
2006-07-17T11:18:09  <Kepplar> does that wiki you run on my branch auto update on push?
2006-07-17T11:18:17  <ThomasWaldmann> it should
2006-07-17T11:18:26  <Kepplar> and is there a debug mode for the wiki (could you set it to that)?
2006-07-17T11:18:43  <xorAxAx> Kepplar: ?
2006-07-17T11:18:46  <ThomasWaldmann> if you need config changes, tell me
2006-07-17T11:18:52  <Kepplar> traceback and alike
2006-07-17T11:18:55  <Kepplar> ok
2006-07-17T11:19:00  <xorAxAx> Kepplar: umm
2006-07-17T11:19:08  <ThomasWaldmann> you will see lots of TBs
2006-07-17T11:19:10  <fpletz> well, you get tracebacks?!
2006-07-17T11:19:13  <Kepplar> xorAxAx: i realise this is probably wishful thinking :)
2006-07-17T11:19:35  <Kepplar> would be cool if we had a runtime object inspector in a debug mode too =)
2006-07-17T11:19:38  <xorAxAx> Kepplar: no, you obviously had none yet
2006-07-17T11:19:38  <Kepplar> web based =)
2006-07-17T11:19:47  <Kepplar> had none?
2006-07-17T11:19:54  <xorAxAx> Kepplar: thats harder, but you can push print statements :)
2006-07-17T11:19:59  <xorAxAx> Kepplar: traceback
2006-07-17T11:20:03  <ThomasWaldmann> ok, time for Kepplar is near over. So currently nothing blocks you any more?
2006-07-17T11:20:14  <fpletz> mmh, can pydb do such fancy stuff?
2006-07-17T11:20:20  <Kepplar> ask me that when im actually integrating =)
2006-07-17T11:20:31  <xorAxAx> fpletz: what exactly?
2006-07-17T11:20:32  <Kepplar> just so i know
2006-07-17T11:20:41  <Kepplar> if i run into problems of some area within moin
2006-07-17T11:20:47  <fpletz> xorAxAx: the objekt inspector
2006-07-17T11:20:48  <Kepplar> who should i go to for that related area?
2006-07-17T11:20:58  <xorAxAx> fpletz: no, but there is a thread-unsafe wsgi middleware
2006-07-17T11:21:13  <ThomasWaldmann> ok. :) after "A", we proceed to "F" now, fpletz, your time!
2006-07-17T11:21:23  <fpletz> yup ;)
2006-07-17T11:21:31  <Kepplar> can I also please say again that can no one touch Page/PageEditor/user etc etc without asking me :)
2006-07-17T11:21:35  <fpletz> Last week, I was focussing to improve my code which saves and fetches the positions of every term in the xapian index.
2006-07-17T11:21:45  <fpletz> In the process, I found out that xapwrap is in fact limiting us in order to save the correct positions for instance for titles and doesn't give us proper hooks to do this ourselves.
2006-07-17T11:21:53  <fpletz>  Moreover, we might run into some trouble because the Enquire-Object is hidden to us (well, was ;)), so we might not be able to collapse searches etc.
2006-07-17T11:21:55  <xorAxAx> Kepplar: i touched it :)
2006-07-17T11:22:10  <fpletz> All the positioning stuff should work now but xapwrap needed some hackish modifications. I would be much happier if we would drop xapwrap, rip out everything useful and restructure it a bit.
2006-07-17T11:22:50  <fpletz> Blockers: I was not implementing the UI stuff because I'm unsure where to put the HTML stuff.
2006-07-17T11:22:53  <ThomasWaldmann> fpletz: It would be great if we could modify xapwrap so it is useful.
2006-07-17T11:23:08  <fpletz> ok, that was everything what I wanted to say ;)
2006-07-17T11:23:20  <xorAxAx> fpletz: you dont need HTML :)
2006-07-17T11:23:39  <xorAxAx> Kepplar: http://moin.pocoo.org:8080/moin-1.6-sync-aschremmer?cs=213776426ce2
2006-07-17T11:23:49  <fpletz> xorAxAx: but somewhere it has to be generated, for sure ;)
2006-07-17T11:23:57  <xorAxAx> fpletz: that is done automatically :)
2006-07-17T11:24:02  <fpletz> mmmh
2006-07-17T11:24:05  <fpletz> any pointers? :p
2006-07-17T11:24:07  <xorAxAx> fpletz: by the formatter and the web module
2006-07-17T11:24:18  <xorAxAx> fpletz: search for usages of it
2006-07-17T11:24:34  <fpletz> ok, I'll take a look at that
2006-07-17T11:24:34  <fpletz> thanks
2006-07-17T11:24:38  <Kepplar> xorAxAx: thanks
2006-07-17T11:24:55  <ThomasWaldmann> fpletz: what's your plans for UI?
2006-07-17T11:25:32  <fpletz> ThomasWaldmann: I already outlined most of my goals in my mail to you and richard. that's mostly it
2006-07-17T11:25:50  <fpletz> should I reiterate some of the highlights?
2006-07-17T11:26:09  <ThomasWaldmann> just what's this week
2006-07-17T11:27:18  <fpletz> ok, originally, I would've not started today with the UI but the category search which I wanted to do for a long time now
2006-07-17T11:27:29  <fpletz> but UI is no problem
2006-07-17T11:28:03  * ThomasWaldmann noticed xapian.wikiwikiweb.de -> 500
2006-07-17T11:28:22  <xorAxAx> ThomasWaldmann: only you know why
2006-07-17T11:28:34  <fpletz> so, I will evaluate how it's currently being done (seems complicated but let's have look) and add a new advanced search dialog where you get more options to customize the search and the results
2006-07-17T11:28:47  <fpletz> that would be the place to choose the stemming language and stuff
2006-07-17T11:29:15  <ThomasWaldmann> fpletz: if the search UI would be somehow OO, it would be nice
2006-07-17T11:29:17  <fpletz> then change the formatting of the results to be more "google-like"
2006-07-17T11:29:30  <fpletz> ok, I'll keep that in mind
2006-07-17T11:29:45  <ffesti> fpletz, shouldn't go the stemming language wikiconfig?
2006-07-17T11:29:47  <xorAxAx> fpletz: will it have paging?
2006-07-17T11:30:21  <fpletz> ffesti: it is currentl, but there are pages in different languages
2006-07-17T11:30:43  <fpletz> the stemming language is chosen on a per page basis
2006-07-17T11:30:44  <ffesti> does it makesense to have different stemmings in an index?
2006-07-17T11:31:00  <xorAxAx> ffesti: of course
2006-07-17T11:31:06  <ffesti> ok
2006-07-17T11:31:23  <fpletz> well, I just fetch the language from the metadata and stem the page terms in that language
2006-07-17T11:31:29  <fpletz> that sensible imho
2006-07-17T11:31:36  <ThomasWaldmann> I might contribute some "get charset and language" magic at some time.
2006-07-17T11:31:39  <fpletz> *that's
2006-07-17T11:32:11  <fpletz> ThomasWaldmann: from the headers provided by the browser?
2006-07-17T11:32:22  <ThomasWaldmann> no, from content of file
2006-07-17T11:32:32  <fpletz> oh, though of stemming lang.. ok ;)
2006-07-17T11:32:42  <xorAxAx> fpletz: he too
2006-07-17T11:32:44  <xorAxAx> him too
2006-07-17T11:32:45  <fpletz> *thought
2006-07-17T11:33:06  <fpletz> well, I was referring to the the search interface
2006-07-17T11:33:19  <fpletz> thomas was thinking of indexing
2006-07-17T11:33:37  <ThomasWaldmann> right
2006-07-17T11:34:09  <ThomasWaldmann> ok, so no real blockers for fpletz?
2006-07-17T11:34:43  <ThomasWaldmann> (in case the existing API can't do what you want, just ask again with concrete problems)
2006-07-17T11:34:44  <fpletz> I hope there won't be any. I'll cry if there are any ;)
2006-07-17T11:34:50  <fpletz> ok
2006-07-17T11:35:37  <fpletz> btw. concerning my irc activity: this irssi session runs in a screen on my router and isn't always attached.. so sorry when I'm not responding altough I'm on the pc
2006-07-17T11:35:48  <ThomasWaldmann> fpletz: you will be here this week or any known timing problems?
2006-07-17T11:36:01  <fpletz> no, should be here the whole week
2006-07-17T11:36:44  <fpletz> university is now over, so I have my wednesday back
2006-07-17T11:37:06  <ThomasWaldmann> maybe try to be online on irc at least in the evening
2006-07-17T11:37:39  <ThomasWaldmann> if you can concentrate better while daytime programming, be offline from irc :)
2006-07-17T11:37:41  <fpletz> yeah, normally I'm always here but some times I forget to attach the screen
2006-07-17T11:37:51  <fpletz> that's the thing ;)
2006-07-17T11:38:38  <ThomasWaldmann> btw, what does currently happen when you start moin with xapian and there is no index?
2006-07-17T11:39:04  <fpletz> mmh, dunno, crash I guess ;)
2006-07-17T11:39:23  <ThomasWaldmann> maybe test that, people will do it :)
2006-07-17T11:39:25  <fpletz> yup, tb
2006-07-17T11:39:29  <Kepplar> i always use screen for everything :)
2006-07-17T11:39:39  <xorAxAx> fpletz: a fallback would be sensible %-)
2006-07-17T11:39:59  <ThomasWaldmann> fallback with a msg maybe.
2006-07-17T11:40:22  <ThomasWaldmann> in the end, it would be nice to see whether it used xap or moin or both, somehow.
2006-07-17T11:40:23  <fpletz> yes, at least.. could we also support rebuilding the db over the ui?
2006-07-17T11:40:53  <ThomasWaldmann> fpletz: long running stuff can be a problem for cgi-like stuff
2006-07-17T11:41:00  <fpletz> I see, ok
2006-07-17T11:41:24  <fpletz> ThomasWaldmann: currently, which search backend is used can be determined by the timings
2006-07-17T11:42:00  <ThomasWaldmann> ok. ok, xorAxAx's time now.
2006-07-17T11:42:01  <xorAxAx> fpletz: no indicator in the systeminfo macro?
2006-07-17T11:42:05  <xorAxAx>  LAST:  Implemented getDiff XMLRPC method, added preliminary SyncPages action, added interwikiName XMLRPC method, added mergeChanges XMLRPC method. Started analysis of the moinupdate script written by Stefan Merten - interesting approaches there, slightly different algorithm though.
2006-07-17T11:42:10  <xorAxAx>  NEXT: Finish mergeChanges method, cut some reusable code/design from moinupdate, mainly the file renaming logic.
2006-07-17T11:42:14  <xorAxAx>  BLOCKERS: the storage api might block me when it comes to the merging logic of the syncpages action. Fortunately, I will start that part of the code at last of all essential modules (i.e. after the mergeChanges script)
2006-07-17T11:42:49  <fpletz> xorAxAx: yes, but only the state of the config option.. but great idea, this should reflect the actual state
2006-07-17T11:43:00  <ThomasWaldmann> i guess you just can use the 1.5 api.
2006-07-17T11:43:08  <xorAxAx> ThomasWaldmann: i am doing so currently
2006-07-17T11:43:18  <xorAxAx> and i am trying to make it easily changable
2006-07-17T11:43:24  <xorAxAx> by introducing helper functions etc.
2006-07-17T11:43:45  <xorAxAx> but i would like to minimise the integration efforts, of course
2006-07-17T11:44:13  <ThomasWaldmann> xorAxAx: is there any procedure to make your stuff work somehow currently? UI? Tests?
2006-07-17T11:44:43  <xorAxAx> ThomasWaldmann: you can already use the syncpages action, it doesnt do much yet (just parameter checking)
2006-07-17T11:44:53  <xorAxAx> ThomasWaldmann: the test scripts are just locally
2006-07-17T11:45:00  <xorAxAx> mainly because we dont have an xmlrpc testing framework
2006-07-17T11:45:20  <xorAxAx> (it is not easy to write unit tests against xmlrpc functions)
2006-07-17T11:45:26  <ThomasWaldmann> iirc there is some minimal stuff
2006-07-17T11:45:34  <xorAxAx> where?
2006-07-17T11:45:40  <xorAxAx> i mean, it would need to start a server etc.
2006-07-17T11:45:41  <ThomasWaldmann> tests/
2006-07-17T11:46:16  <xorAxAx> no test module at least
2006-07-17T11:46:26  <xorAxAx> and you can already use the getdiff method
2006-07-17T11:46:36  <xorAxAx> which could be used by antispam already
2006-07-17T11:46:44  <xorAxAx> in order to reduce the traffic
2006-07-17T11:47:14  <ThomasWaldmann> ah, good idea
2006-07-17T11:48:03  <ThomasWaldmann> you are at home this week working daily?
2006-07-17T11:48:14  <xorAxAx> yes, i am at home
2006-07-17T11:48:33  <xorAxAx> and the only timely blocker are the preparation for the exams (as pointed out in my CHANGES file)
2006-07-17T11:49:03  <ThomasWaldmann> ok.
2006-07-17T11:49:05  <xorAxAx> but i will find some time, e.g. to get some distraction
2006-07-17T11:49:39  <ThomasWaldmann> btw, general note for all: I expect you have read the GoogleSoc2006/BetterProgress page and follow it starting from today.
2006-07-17T11:49:48  <Kepplar> yes yes, i know :)
2006-07-17T11:49:51  * ThomasWaldmann WILL follow it. :)
2006-07-17T11:50:03  <Kepplar> or we will be assiminated
2006-07-17T11:50:17  <xorAxAx> by the BBND
2006-07-17T11:50:22  <Kepplar> BBND?
2006-07-17T11:50:24  <ThomasWaldmann> annihilitated :)
2006-07-17T11:50:25  <Kepplar> l*
2006-07-17T11:50:33  <xorAxAx> Bietigheim-Bissingener nachrichten dienst
2006-07-17T11:50:46  <xorAxAx> our "Federal Intelligence Service"
2006-07-17T11:50:52  <Kepplar> Ah
2006-07-17T11:50:55  * ThomasWaldmann guesses they don't know about Python.
2006-07-17T11:50:58  <xorAxAx> ok, not federal, but you should get my joke
2006-07-17T11:51:24  <Kepplar> assmilated*, i was refering to borg :P
2006-07-17T11:51:42  <Kepplar>  my apathy for typing let me down again :)
2006-07-17T11:52:26  <ThomasWaldmann> OK, we can take the last minutes for general stuff. So if someone has forgotten something, ask now.
2006-07-17T11:54:02  * ThomasWaldmann looks at xapian 500 meanwhile
2006-07-17T11:54:15  <fpletz> will be fixed ;)
2006-07-17T11:54:35  <fpletz> mmh
2006-07-17T11:55:03  <fpletz> where? I don't get it
2006-07-17T11:56:12  <ThomasWaldmann> it's the extremely helpful "premature end of script headers" :)
2006-07-17T11:56:52  <fpletz> umm, which url?
2006-07-17T11:57:59  <ThomasWaldmann> http://xapian.wikiwikiweb.de/ - strange, it works now. X)
2006-07-17T11:58:10  <ThomasWaldmann> i didnt change anything.
2006-07-17T11:58:32  <fpletz> me neither
2006-07-17T11:58:32  <fpletz> mh, well, I did a push
2006-07-17T11:58:37  <fpletz> pulled the changes from 1.6
2006-07-17T12:00:04  <ThomasWaldmann> http://xapian.wikiwikiweb.de/SeiteFinden?action=fullsearch&context=180&value=test&fullsearch=Text
2006-07-17T12:00:25  <ThomasWaldmann> the highlighting, should it already be fixed?
2006-07-17T12:00:34  <fpletz> changeset 936 introduced a tb (in is a keyword)
2006-07-17T12:00:42  <fpletz> yes, the index should be rebuilt
2006-07-17T12:00:45  <ThomasWaldmann> ok
2006-07-17T12:01:09  <fpletz> xapwrap did some black magic with the positioning
2006-07-17T12:01:14  <fpletz> but before that, 936 should be fixed ;)
2006-07-17T12:01:24  <ThomasWaldmann> http://xapian.wikiwikiweb.de/SeiteFinden?action=fullsearch&context=180&value=test&fullsearch=Text
2006-07-17T12:01:27  <ThomasWaldmann> look now
2006-07-17T12:01:42  <fpletz> hmm..
2006-07-17T12:01:51  <fpletz> what did you do? ;)
2006-07-17T12:02:05  <ThomasWaldmann> deleted the index :)
2006-07-17T12:02:10  <fpletz> lol
2006-07-17T12:02:12  <fpletz> okay
2006-07-17T12:03:01  <fpletz> problem is that xapwrap only opens the db when actually performing the search
2006-07-17T12:03:08  <fpletz> some more magic for the exists-function ;)
2006-07-17T12:06:12  * ThomasWaldmann wishes everyone happy hacking now. :)
2006-07-17T12:06:42  <xorAxAx> ThomasWaldmann: re your question above - your change makes more requests cachable
2006-07-17T12:06:48  <xorAxAx> ThomasWaldmann: esp. ones that should not be cached
2006-07-17T12:06:49  <ThomasWaldmann> fpletz: can you make the exception at least mention "xapian"?
2006-07-17T12:07:09  <ThomasWaldmann> xorAxAx: give a concrete example
2006-07-17T12:07:25  <fpletz> ThomasWaldmann: I'm currently fixing this and making the systeminfo macro aware of the index state
2006-07-17T12:08:03  <xorAxAx> ThomasWaldmann: a) pages using dynamic macros
2006-07-17T12:08:14  <xorAxAx> (it should use the cache time, not the page time)
2006-07-17T12:08:21  <ThomasWaldmann> fpletz: btw, it would be really good if we (you :) could fix xapwrap, so we can contribute it back to the xapwrap maintainers
2006-07-17T12:08:46  <xorAxAx> ThomasWaldmann: b) format action
2006-07-17T12:08:56  <ThomasWaldmann> xorAxAx: i guess you only read the diff, and it does not have enough context.
2006-07-17T12:08:58  <xorAxAx> ThomasWaldmann: recall action
2006-07-17T12:09:10  <xorAxAx> yes, i just read the diff
2006-07-17T12:09:12  <ThomasWaldmann> the change you talk about is action=raw code
2006-07-17T12:09:33  <xorAxAx> ThomasWaldmann: in Page.py, there is action=raw code!?!
2006-07-17T12:09:46  <fpletz> ThomasWaldmann: yes, we should do that after the UI stuff because the current implementation just.. well.. works more or less ;)
2006-07-17T12:09:57  <ThomasWaldmann> yes. and it is as good as it gets for now. :)
2006-07-17T12:10:16  <xorAxAx> ThomasWaldmann: ok, then it makes sense :)
2006-07-17T12:10:39  <xorAxAx> ThomasWaldmann: but it doesnt belong there, at least not in 1.6
2006-07-17T12:10:57  <ThomasWaldmann> and the only place changing request.cacheable is some do_show related stuff, no more.
2006-07-17T12:11:32  <ThomasWaldmann> of course all actions will go OO soon, but I guess we have to wait for Kepplar finishing
2006-07-17T12:11:46  <fpletz> ThomasWaldmann: are you fixing 936 (your code) or should I do that? I need a new index, you know ;)
2006-07-17T12:12:15  <xorAxAx> the item class should be HTTP-agnostic IMHO
2006-07-17T12:12:15  <ThomasWaldmann> fpletz: url?
2006-07-17T12:12:22  <xorAxAx> Kepplar: what do you think?
2006-07-17T12:12:44  <fpletz> ThomasWaldmann: http://hg.thinkmo.de/moin/1.6-xapian-fpletz?fd=9dcfb8f36524;file=MoinMoin/script/__init__.py
2006-07-17T12:12:52  <ThomasWaldmann> we will have some sort of mimetype based UI classes
2006-07-17T12:12:58  <fpletz> problem is this line
2006-07-17T12:12:58  <fpletz> +    def __init__(self, in, out, err):
2006-07-17T12:12:59  <fpletz> "in" is a keyword
2006-07-17T12:13:55  <ThomasWaldmann> oh, sorry. the code is not really used yet, but of course that spoils it. :)
2006-07-17T12:14:01  <ThomasWaldmann> I fix it.
2006-07-17T12:14:11  <fpletz> great
2006-07-17T12:14:24  <Kepplar> er
2006-07-17T12:14:25  <Kepplar> soorry
2006-07-17T12:14:26  <Kepplar> what?
2006-07-17T12:14:31  <Kepplar> well
2006-07-17T12:14:32  <Kepplar> it is OO
2006-07-17T12:14:49  <Kepplar> but for the imeediatle future its going to be shoved on the end of Page and user etc
2006-07-17T12:15:45  <xorAxAx> Kepplar: where will the HTTP code go
2006-07-17T12:15:54  <Kepplar> ?
2006-07-17T12:16:00  <xorAxAx> Kepplar:
2006-07-17T12:16:01  <xorAxAx> oops
2006-07-17T12:16:08  <Kepplar> http is front end
2006-07-17T12:16:12  <xorAxAx> Kepplar: see  http://moin.pocoo.org:8080/moin-1.6-main?fd=274b021f26b1;file=MoinMoin/Page.py
2006-07-17T12:16:19  <xorAxAx> Kepplar: it is in the page class and handles HTTP
2006-07-17T12:17:09  <Kepplar> ...
2006-07-17T12:17:10  <Kepplar> Im lost
2006-07-17T12:17:26  <Kepplar> # use the correct last-modified value from the on-disk file
2006-07-17T12:17:26  <Kepplar> +            # to ensure cacheability where supported. Because we are sending
2006-07-17T12:17:27  <Kepplar> +            # RAW (file) content, the file mtime is correct as Last-Modified header.
2006-07-17T12:17:30  <Kepplar> value of what?
2006-07-17T12:17:50  <ThomasWaldmann> fpletz: pushed
2006-07-17T12:18:00  <Kepplar> ThomasWaldmann: did you see my merge problems with morning?
2006-07-17T12:19:13  <fpletz> ThomasWaldmann: thanks
2006-07-17T12:19:30  <ThomasWaldmann> Kepplar: i guess if it starts the editor, it want's you to do some conflict resolving
2006-07-17T12:19:53  <Kepplar> but it would be useful if they told me what the problem was :)
2006-07-17T12:20:01  <Kepplar> or where in the file the conflict is
2006-07-17T12:20:10  <ThomasWaldmann> there should be markers
2006-07-17T12:20:27  <Kepplar> what do they look like?
2006-07-17T12:20:49  <ThomasWaldmann> ehrm, i guess like >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<< -------------------- or similar
2006-07-17T12:20:54  <Kepplar> ok
2006-07-17T12:21:09  <xorAxAx> Kepplar: what kind of merge problem do you have?
2006-07-17T12:21:15  <xorAxAx> Kepplar: merging hg branches?
2006-07-17T12:21:21  <Kepplar> yea
2006-07-17T12:21:23  <Kepplar> merging main
2006-07-17T12:21:48  <xorAxAx> Kepplar: which merging program do you use?
2006-07-17T12:21:51  <xorAxAx> i suggest kdiff3
2006-07-17T12:21:54  <ThomasWaldmann> I did some minor bug fix to Page.py.
2006-07-17T12:21:55  <xorAxAx> Kepplar: just diff3?
2006-07-17T12:21:58  <xorAxAx> (and EDITOR)
2006-07-17T12:22:09  <Kepplar> ....
2006-07-17T12:22:15  <Kepplar> i just use hg merge
2006-07-17T12:23:08  <xorAxAx> Kepplar: try vim `which hgmerge`
2006-07-17T12:23:15  <Kepplar> ok
2006-07-17T12:23:16  <Kepplar> grr
2006-07-17T12:23:17  <xorAxAx> Kepplar: and see that hg doesnt do merging at all
2006-07-17T12:23:21  <Kepplar> dev box just crashed
2006-07-17T12:23:32  <Kepplar> O_o?
2006-07-17T12:23:37  <xorAxAx> and, furthermore, that hg supports visual merging programs at all
2006-07-17T12:23:43  <xorAxAx> Kepplar: it just calls the merging programm
2006-07-17T12:23:43  <Kepplar> you know that really sounds fiddily
2006-07-17T12:23:57  <xorAxAx> and that other program has to resolve it
2006-07-17T12:25:22  <fpletz> ThomasWaldmann: when was the last rebuild the index on the server?
2006-07-17T12:25:41  <fpletz> and, could you do one now? ;)
2006-07-17T12:26:08  <ThomasWaldmann> fpletz: 10 minutes ago
2006-07-17T12:26:21  <fpletz> then we might have a problem..
2006-07-17T12:28:27  <ThomasWaldmann> why?
2006-07-17T12:28:30  <fpletz> the matching on the server is pretty funky, I can't reproduce this on my machine and would suspect an old index
2006-07-17T12:28:47  <ThomasWaldmann> term highlighting?
2006-07-17T12:29:07  <fpletz> yup, on the results page
2006-07-17T12:32:02  <ThomasWaldmann> wait, I guess my fault
2006-07-17T12:37:05  <ThomasWaldmann> strange, now running current code, but still broken
2006-07-17T12:38:32  <fpletz> hmm
2006-07-17T12:40:05  <fpletz> are you certain the moin tool uses the new code (especially concerning xapwrap) for the index? the cgi-script definitly uses the new one but the index is probably generated using old code
2006-07-17T12:42:57  <Kepplar> failing of the mkdir will throw a OSError?
2006-07-17T12:58:27  <ThomasWaldmann> fpletz: 952:f472ddeba121 is the code i am running for indexing
2006-07-17T13:02:58  <fpletz> ThomasWaldmann: weird..
2006-07-17T13:08:29  <fpletz> ah, got the problem
2006-07-17T13:08:45  <fpletz> did you use the new rebuild mode?
2006-07-17T13:11:23  <fpletz> ThomasWaldmann: fixed and pushed, if you've got some spare time, please rebuild the index one more time ;)
2006-07-17T13:16:43  <ThomasWaldmann>   File "/srv/moin_tw/moin-1.6-xapian-fpletz/MoinMoin/script/../../MoinMoin/search/Xapian.py", line 445, in _index_pages
2006-07-17T13:16:47  <ThomasWaldmann>     os.unlink(f)
2006-07-17T13:16:49  <ThomasWaldmann> OSError: [Errno 2] No such file or directory: 'meta'
2006-07-17T13:18:26  <fpletz> mmh, impossible
2006-07-17T13:18:33  <fpletz> oh
2006-07-17T13:18:46  <fpletz> mmh, why didn't I get this error
2006-07-17T13:22:06  <fpletz> ThomasWaldmann: fixed
2006-07-17T13:24:30  <ThomasWaldmann> ok, rebuilt. highlighting looks better now.
2006-07-17T13:27:50  <ThomasWaldmann> ok, merged xapian -> main
2006-07-17T13:28:21  <xorAxAx> ThomasWaldmann: can i merge as well?
2006-07-17T13:29:33  <fpletz> I was just wondering.. can we feed those small fragments of wiki-syntax shown in the search results into the parser/formatter to actually show the hilighted words as they would look like in the page? with links, headlines and stuff?
2006-07-17T13:31:13  <ThomasWaldmann> xorAxAx: as long as there is nothing useable, please merge main -> sync
2006-07-17T13:31:59  <ThomasWaldmann> fpletz: that would hide some stuff
2006-07-17T13:32:06  <xorAxAx> ThomasWaldmann: there is a some api changes that Kepplar needs to respect
2006-07-17T13:32:12  <xorAxAx> s/some//
2006-07-17T13:32:17  <ThomasWaldmann> as we search the src (not the rendered output), we should also show the src
2006-07-17T13:33:07  <ThomasWaldmann> xorAxAx: ok, as long as it has no negative side-effects. I want to have 1.6-main in a useable state.
2006-07-17T13:33:46  <xorAxAx> ThomasWaldmann: yes, you know the quality of my code :)
2006-07-17T13:33:53  <fpletz> ok, sounds reasonable
2006-07-17T13:35:00  <xorAxAx> fpletz: have you cashed the cheque already?
2006-07-17T13:35:08  <xorAxAx> fpletz: how many fees did you have to pay?
2006-07-17T13:35:38  <xorAxAx> have you got 2 packages as well? fedex just brought a small document and a large packet
2006-07-17T13:36:21  <xorAxAx> oh, its the OLPC PC :)
2006-07-17T13:36:31  <ThomasWaldmann> nice :)
2006-07-17T13:36:43  <ThomasWaldmann> MMOE :)
2006-07-17T13:36:46  <fpletz> xorAxAx: yes I have, no fees at all
2006-07-17T13:37:03  <xorAxAx> one moin per child!
2006-07-17T13:37:24  <ThomasWaldmann> MMWDE
2006-07-17T13:37:43  <fpletz> I've got one dhl package for the suprise (notebook) and one fedex letter for the cheque
2006-07-17T13:37:57  <fpletz> both arrived about two weeks ago
2006-07-17T13:38:22  * ThomasWaldmann got nothing (snief)
2006-07-17T13:38:44  <ThomasWaldmann> but I got a Google/Python T-Shirt at EP2006 :)
2006-07-17T13:39:12  <ThomasWaldmann> ok, gtg & bbl
2006-07-17T13:42:09  <Kepplar> Good/python?
2006-07-17T13:42:11  <Kepplar> google*
2006-07-17T13:43:42  <xorAxAx> argh, damn american power connector
2006-07-17T13:44:35  <Kepplar> damn american and continental power connectors :P
2006-07-17T19:42:09  <ThomasWaldmann> moin
2006-07-17T20:37:14  <xorAxAx> fpletz_: hmm, your xapian status is not very well i18ned
2006-07-17T21:03:15  <Kepplar> has anyone got a list of error codes for IOerror?
2006-07-17T21:03:25  <Kepplar> google isnt helping
2006-07-17T21:04:15  <xorAxAx> Kepplar: help(errno)
2006-07-17T21:05:04  <Kepplar> ??
2006-07-17T21:05:56  <xorAxAx> help("errno") even
2006-07-17T21:06:00  <xorAxAx> sorry for my typo
2006-07-17T21:06:05  <xorAxAx> Kepplar: thats valid python!
2006-07-17T21:06:23  <Kepplar> right
2006-07-17T21:06:24  <Kepplar> :)
2006-07-17T21:06:28  <Kepplar> " " threw me
2006-07-17T21:06:38  <Kepplar> (tbh i think its a retarded way to handle documentation but hey)
2006-07-17T21:07:20  <xorAxAx> tbh?
2006-07-17T21:07:27  <Kepplar> to be honest
2006-07-17T21:07:38  <Kepplar> second time today ;P
2006-07-17T21:08:18  <xorAxAx> i know
2006-07-17T21:08:28  <Kepplar> this isnt helpful
2006-07-17T21:08:34  <Kepplar> as i dont knoww hat erro code ioerror throww
2006-07-17T21:08:35  <Kepplar> s
2006-07-17T21:08:36  <Kepplar> :/
2006-07-17T21:08:48  <xorAxAx> i am preparing myself for exams ... quite much knowledge gets lost because of that
2006-07-17T21:08:58  <xorAxAx> its a ring buffer ...
2006-07-17T21:09:13  <xorAxAx> Kepplar: umm, yeah, you should be familiar with posix :)
2006-07-17T21:09:23  <xorAxAx> and it needs to translate the windowserror codes as well
2006-07-17T21:09:30  <xorAxAx> see the current code for that :)
2006-07-17T21:09:36  <xorAxAx> (python isnt very clean at that point
2006-07-17T21:10:52  <Kepplar> *groans*
2006-07-17T21:11:04  <Kepplar> clubbing gear is sooo good to wear in the summer because its designed to be cool =)
2006-07-17T21:13:13  <xorAxAx> what is clubbing gear?
2006-07-17T21:14:03  <xorAxAx> ah, the clothes you wear in clubs
2006-07-17T21:14:10  <Kepplar> yea
2006-07-17T21:14:11  <Kepplar> :)
2006-07-17T21:14:13  <Kepplar> in my case cyber
2006-07-17T21:14:25  <xorAxAx> cyber what?
2006-07-17T21:14:32  <xorAxAx> is that the name of the club? sounds like a swinger club
2006-07-17T21:14:36  <Kepplar> lol
2006-07-17T21:14:37  <Kepplar> no
2006-07-17T21:14:41  <Kepplar> cyber as in cybergoth
2006-07-17T21:14:53  <Kepplar> although im not a "proper" cyber goth
2006-07-17T21:14:58  <Kepplar> i wouldnt say im a goth even
2006-07-17T21:15:11  <Kepplar> i go to the clubs though as its cool and have fair few goth/cyber friends
2006-07-17T21:15:36  <Kepplar> theres actually a wiki entry
2006-07-17T21:15:40  <Kepplar> in wikipedia
2006-07-17T21:15:53  <Kepplar> although im no where near that side of cyber (picture this is of a friend of mine)
2006-07-17T22:05:56  <Kepplar> ThomasWaldmann: how do i create a request when i run tests?
2006-07-17T22:06:04  <Kepplar> im importing MoinMoin._tests.run
2006-07-17T22:06:09  <Kepplar> and it wants a request too
2006-07-17T22:06:15  <Kepplar> how can i just create one easily?
2006-07-17T23:26:27  <Kepplar> ThomasWaldmann: eugh, your not going to like this
2006-07-17T23:26:40  <Kepplar> ive just had an architectual breakthrough to really clean up how all this works
2006-07-17T23:26:44  <Kepplar> i recommend i write it down
2006-07-17T23:26:47  <Kepplar> leave it until after Soc?
2006-07-17T23:26:50  <Kepplar> do you agree?

MoinMoin: MoinMoinChat/Logs/moin-dev/2006-07-17 (last edited 2007-10-29 19:08:34 by localhost)