2006-07-29T01:08:34  <Kepplar> xorAxAx: hardly, i would just like to be updated with any prospect changes so if i release it separately on my site i can update it and vise versa
2006-07-29T01:09:04  <Kepplar> xorAxAx: thanks for the feedback, ill check those lines tomorrow morning
2006-07-29T01:10:05  <xorAxAx> Kepplar: can you please reformulate them in order make it clear that this is not a must? otherwise it would be really incompatible
2006-07-29T01:10:45  <Kepplar> sure
2006-07-29T01:11:05  <Kepplar> i havent written any rubik test suite
2006-07-29T01:11:11  <Kepplar> but my manual tests are behaving ok
2006-07-29T01:11:36  <Kepplar> and storage is using a rubik fine
2006-07-29T10:21:35  <Kepplar> :45 < xorAxAx> Kepplar: there is a small mistake in line 27 - x is not returned if line 33 should hold true. do you have rubik tests? i would suggest to add those lines there :)
2006-07-29T10:22:01  <Kepplar> i dont get this xorAxAx
2006-07-29T10:49:21  <xorAxAx> Kepplar: let me test it :)
2006-07-29T10:52:04  <xorAxAx> Kepplar: please revise the docstring
2006-07-29T10:52:10  <xorAxAx> Kepplar: it already fails in the first line
2006-07-29T10:52:30  <Kepplar> what fails?
2006-07-29T10:52:36  <xorAxAx> x = Rubik()
2006-07-29T10:52:39  <Kepplar> works fine
2006-07-29T10:52:44  <Kepplar> 100% fine for me
2006-07-29T10:52:51  <xorAxAx> not here
2006-07-29T10:53:01  <xorAxAx>  TypeError: __init__() takes at least 2 arguments (1 given)
2006-07-29T10:53:02  <Kepplar> you need at elast python 2.4
2006-07-29T10:53:05  <Kepplar> ah
2006-07-29T10:53:09  <Kepplar> i forgot about that
2006-07-29T10:53:12  <Kepplar> but None
2006-07-29T10:53:17  <Kepplar> its just the payload
2006-07-29T10:53:25  <xorAxAx> please write a test
2006-07-29T10:53:43  <xorAxAx> or, better, call doctest :)
2006-07-29T10:53:47  <xorAxAx> from the unittest
2006-07-29T10:53:55  <Kepplar> what does that do/
2006-07-29T10:53:56  <xorAxAx> it will execute the lines in the docstring automatically
2006-07-29T10:54:04  <Kepplar> really?
2006-07-29T10:54:05  <Kepplar> cool
2006-07-29T10:54:06  <xorAxAx> yep
2006-07-29T10:54:25  <Kepplar> I will, but at the moment TW wants integration
2006-07-29T10:54:33  <Kepplar> so i'mrushing more than I would :)
2006-07-29T10:55:07  <xorAxAx> yeah
2006-07-29T10:55:26  <xorAxAx> ok, now i try with None as payload
2006-07-29T10:55:36  <xorAxAx> lets see if the other line is broken as i sais
2006-07-29T10:56:17  <xorAxAx> yes, i was right
2006-07-29T10:56:26  <xorAxAx> the docstring is broken
2006-07-29T10:56:59  <Kepplar> i didnt understand what you meant was broken
2006-07-29T10:57:54  <xorAxAx> just execute all lines and look at your commets
2006-07-29T10:58:01  <xorAxAx> they are wrong, you will notice on your own
2006-07-29T11:02:01  <Kepplar> oh
2006-07-29T11:02:04  <Kepplar> i typoed on a comment
2006-07-29T11:02:05  <Kepplar> thats all
2006-07-29T11:02:26  <Kepplar> hardly a biggie :P
2006-07-29T11:02:51  <Kepplar> but ta for pointing it out
2006-07-29T11:04:31  <Kepplar> ThomasWaldmann: (and all interested) can we sit down to discuss the hierarchy of specialised item types, as I'm now stuck until we worked out where everything goes
2006-07-29T11:09:30  <Kepplar> ThomasWaldmann: this makes me stuck on all testing :)
2006-07-29T13:48:07  <ThomasWaldmann> Kepplar: how about making a wiki page about it? try to use some full sentences.
2006-07-29T13:49:26  <Kepplar> ok
2006-07-29T13:49:47  <Kepplar> ThomasWaldmann: you seen the Rubik, its working and is very very useful :) (at least for storage)
2006-07-29T13:50:58  <xorAxAx> Kepplar: no, its not working :)
2006-07-29T13:51:21  <Kepplar> i dont know what your doing but it works perfectly
2006-07-29T13:51:31  <Kepplar> that including in storage
2006-07-29T13:51:36  <Kepplar> where im using automatic tests
2006-07-29T13:51:37  <xorAxAx> Kepplar: see your doc string please, its broken
2006-07-29T13:51:41  <Kepplar> yes
2006-07-29T13:51:42  <Kepplar> i fixed that
2006-07-29T13:51:46  <xorAxAx> ah, let me check
2006-07-29T13:51:47  <Kepplar> it was just a comment
2006-07-29T13:51:50  <Kepplar> was wrong
2006-07-29T13:51:56  <Kepplar> the actual lines worked
2006-07-29T13:52:06  <Kepplar> and also. docstring != not working :P
2006-07-29T13:52:46  <Kepplar> ive copied and pasted the usage lines directly into my interpter and it works
2006-07-29T13:53:33  <xorAxAx> very nice :)
2006-07-29T13:53:48  <Kepplar> working now?
2006-07-29T13:53:56  <xorAxAx> yes
2006-07-29T13:53:59  <Kepplar> cool
2006-07-29T13:54:04  <Kepplar> it need 2.4 though
2006-07-29T13:54:13  <Kepplar> as it needs String.rsplit
2006-07-29T13:54:14  <xorAxAx> why?
2006-07-29T13:54:17  <xorAxAx> ah
2006-07-29T13:54:29  <xorAxAx> then it cannot be merged into main ...
2006-07-29T13:54:34  <Kepplar> oh?
2006-07-29T13:54:36  <xorAxAx> but rsplit can be emulated
2006-07-29T13:54:42  <Kepplar> i thought 1.6 will require 2.4
2006-07-29T13:54:43  <xorAxAx> 1.6 depends on 2.3
2006-07-29T13:54:53  <Kepplar> pfff
2006-07-29T13:54:56  <xorAxAx> i dont think so
2006-07-29T13:55:03  <Kepplar> ThomasWaldmann?
2006-07-29T13:55:15  <xorAxAx> when 1.6 will be out, we might not even have python 2.5, ...
2006-07-29T13:55:34  <xorAxAx> but rsplit can be emulated
2006-07-29T13:55:36  <Kepplar> yea
2006-07-29T13:55:41  <xorAxAx> thats not an issue
2006-07-29T13:55:43  <Kepplar> but that requires re-concat of the rest of it
2006-07-29T13:55:48  <Kepplar> expensive
2006-07-29T13:55:54  <xorAxAx> no
2006-07-29T13:55:59  <Kepplar> ah
2006-07-29T13:56:04  <Kepplar> backwards walking of the string?
2006-07-29T13:56:15  <ThomasWaldmann> Kepplar: i told you to move rubik.py out of MoinMoin/
2006-07-29T13:56:18  <xorAxAx> no, thats more expensive :)
2006-07-29T13:56:22  <Kepplar> where to though?
2006-07-29T13:57:02  <Kepplar> MoinMoin/datastructures?
2006-07-29T13:58:03  <Kepplar> (that was a joke btw)
2006-07-29T13:58:39  <Kepplar> ok
2006-07-29T13:58:42  <Kepplar> ill move it to util/
2006-07-29T13:59:54  <Kepplar> pushed
2006-07-29T14:02:40  <ThomasWaldmann> Kepplar: I already told you. And please read through rubik.py and fix typos and implementation. Also include some reference about why it is called rubik etc.
2006-07-29T14:02:57  <xorAxAx> Kepplar: rsplit = lambda x, y: [x[::-1] for x in a[::-1].split(x, y)]
2006-07-29T14:03:03  <xorAxAx> oops
2006-07-29T14:03:09  <xorAxAx> Kepplar: rsplit = lambda x, y: [e[::-1] for e in a[::-1].split(x, y)]
2006-07-29T14:03:41  <xorAxAx> hmm
2006-07-29T14:03:43  <ThomasWaldmann> and i would really love to see some code DOING something ASAP.
2006-07-29T14:03:48  <xorAxAx> Kepplar: rsplit = lambda a, x, y: [e[::-1] for e in a[::-1].split(x, y)]
2006-07-29T14:03:57  <Kepplar> ThomasWaldmann: actually you mentioned a suggestion which xorAxAx said that wouldnt be suited to go there which left me thinking a decision had not been reached
2006-07-29T14:04:08  <Kepplar> yes Im trying this project is quite large
2006-07-29T14:04:23  <xorAxAx> Kepplar: which decision?
2006-07-29T14:04:30  <Kepplar> location for rubik
2006-07-29T14:05:01  <xorAxAx> i think util is ok as long as you dont want to create a new subpackage
2006-07-29T14:05:15  <xorAxAx> but  i said that rubik is not really a util :)
2006-07-29T14:05:26  <Kepplar> ThomasWaldmann: i will be also releasing Rubik outside moin, so its called Rubik because its called Rubik :)
2006-07-29T14:06:03  <Kepplar> xorAxAx: cool re: rsplit
2006-07-29T14:06:20  <Kepplar> im going to be busy for the rest of the day until this evening now
2006-07-29T14:06:33  <Kepplar> so when we've sorted out the item hierarchy I can continue
2006-07-29T14:07:35  <ThomasWaldmann> Kepplar: btw, this tuple splitting stuff in rubik getitem can be replaced by x, y=None):
2006-07-29T14:08:29  <xorAxAx> Kepplar: it had a little bug: rsplit = lambda a, x, y: [e[::-1] for e in a[::-1].split(x, y)[::-1]]
2006-07-29T14:15:25  <ThomasWaldmann> and i prefer readable code
2006-07-29T14:15:53  <Kepplar> ThomasWaldmann: any suggestions instead of xorAxAx's lambda :)?
2006-07-29T14:16:18  <Kepplar> (I could just put a comment above it)
2006-07-29T14:21:29  <xorAxAx> that is readable
2006-07-29T14:22:09  <Kepplar> xorAxAx: i think TW doesnt like lambdas :)
2006-07-29T14:23:02  <xorAxAx> it doesnt need to be lambda
2006-07-29T14:23:12  <xorAxAx> you can write it as a normal function as well and rename the parameters
2006-07-29T14:23:24  <xorAxAx> but thats not so good for irc transmission ...
2006-07-29T14:42:32  <Kepplar> where fpletz?
2006-07-29T14:42:36  <Kepplar> where is*
2006-07-29T23:24:08  <ThomasWaldmann> fpletz has been absent for 4 days, at least the repo looks like that
2006-07-29T23:24:38  <xorAxAx> hmm
2006-07-29T23:24:55  <xorAxAx> there are so many errors just trying to render all underlay pages (linkto search etc.)
2006-07-29T23:25:16  <xorAxAx> i think i have to fix some
2006-07-29T23:27:22  <ThomasWaldmann> what errors?
2006-07-29T23:27:54  <xorAxAx> all kinds of. nameerror, pluginmissingerror etc. pp.
2006-07-29T23:27:58  <ThomasWaldmann> and you maybe should better concentrate on sync stuff
2006-07-29T23:28:13  <ThomasWaldmann> at least as far as the sync branch is concerned
2006-07-29T23:28:14  <xorAxAx> oh, i have done sync stuff in the last hours
2006-07-29T23:28:39  <xorAxAx> currently tracking a bug and needed to search by title
2006-07-29T23:28:59  <xorAxAx> and then the connection was closed immediately without a backtrace
2006-07-29T23:29:00  <Kepplar> hi

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