2007-07-19T00:09:30 <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2538:92ea33cc356c 1.7-storage-hwendel/MoinMoin/ (_tests/test_user.py storage/fs_moin16.py): removed unused code; fix test_user.py
2007-07-19T00:18:23 <CIA-27> moin: Marian Neagul marian@info.uvt.ro work * 2510:0263e49ffe44 1.7-classify-mneagul/MoinMoin/classifier/SpamBayesRPC.py: Fix exception handling
2007-07-19T00:18:24 <CIA-27> moin: Marian Neagul marian@info.uvt.ro work * 2511:0318c5cde6f7 1.7-classify-mneagul/MoinMoin/classifier/__init__.py: Code fix
2007-07-19T00:18:27 <CIA-27> moin: Marian Neagul marian@info.uvt.ro work * 2512:6d4eb9268117 1.7-classify-mneagul/MoinMoin/classifier/SpamBayesRPC.py: Fix exception handling and spacing
2007-07-19T00:18:50 <neagulm> dreimark, I think I'm going to sleep
2007-07-19T00:21:58 <grzywacz> xorAxAx, pong
2007-07-19T00:22:15 <grzywacz> xorAxAx, in tip of hg? Ok.
2007-07-19T00:22:47 <xorAxAx> grzywacz: yes
2007-07-19T00:22:52 <xorAxAx> grzywacz: is i18n working? :)
2007-07-19T00:23:02 <xorAxAx> i want that the bot tells me some polish jokes ...
2007-07-19T00:23:03 <neagulm> good night all
2007-07-19T00:23:06 <xorAxAx> gn neagulm
2007-07-19T00:23:26 <grzywacz> xorAxAx, oh, I think that your request is slightly beyond a common understanding of i18n :D
2007-07-19T00:23:32 <grzywacz> xorAxAx, do you also want the bot to steal your car? :P :D
2007-07-19T00:23:57 <grzywacz> night neagulm
2007-07-19T00:24:09 <xorAxAx> grzywacz: no, thats out of scope
2007-07-19T00:24:19 <grzywacz> I see.
2007-07-19T00:24:41 <grzywacz> I have to look into my code and see what wrong assumptions I've made because it doesn't return dicts atm. ;)
2007-07-19T00:24:56 <grzywacz> Other than that, everything is already in place, I think.
2007-07-19T00:25:48 <grzywacz> Hm, yes. I think getting this done this night is a must, despite the awful day I had. :D
2007-07-19T00:26:18 <xorAxAx> oh, what happened? did some bot steal your car? :)
2007-07-19T00:26:22 <grzywacz> :D
2007-07-19T00:26:43 <grzywacz> No. I was feeling a little bit sick most of the time.
2007-07-19T00:26:59 <grzywacz> It's gone now, but frankly, couldn't motivate myself to do much today. :S
2007-07-19T00:28:02 <grzywacz> ThomasWaldmann, anyway, returning to my question, is there anything wrong in putting bot translations in moinmaster, given that they're not distributed anyway?
2007-07-19T00:28:13 <grzywacz> s/anyway//
2007-07-19T00:28:23 <xorAxAx> in one uni project running for 4 months with 9 people, we had somebody who was paralyzed by the feelings of guilt he had because of his inactivity - he said that he had this weird condition and he didnt know what it was and he kept saying so for weeks or even months
2007-07-19T00:29:47 <grzywacz> So, do you happen to know what that was?
2007-07-19T00:33:25 <xorAxAx> grzywacz: what? :)
2007-07-19T00:33:34 <grzywacz> xorAxAx, why was he saying so?
2007-07-19T00:33:48 <xorAxAx> he is the laziest guy of all
2007-07-19T00:33:55 <grzywacz> Oh.
2007-07-19T00:35:19 <grzywacz> Lol, I've just instantly found the bug I couldn't find yesterday... The translation file had a wrong name... :S
2007-07-19T00:36:07 <xorAxAx> grzywacz: do you know http://www.youtube.com/watch?v=1P3Wc-37pC4
2007-07-19T00:36:39 <grzywacz> nope
2007-07-19T00:37:00 <xorAxAx> well made piece of art :)
2007-07-19T00:37:40 <grzywacz> They could compress the dialog a little bit, given the redundancy of words used. ;)
2007-07-19T00:37:56 <xorAxAx> yes :)
2007-07-19T00:40:09 <grzywacz> I think I... can't really appreciate it. ;)
2007-07-19T00:40:39 <xorAxAx> well, its a large parody :)
2007-07-19T00:41:13 <grzywacz> Parody of what? :>
2007-07-19T00:41:47 <xorAxAx> american hip hop music videos of course
2007-07-19T00:42:20 <grzywacz> Ok, just wanted to make sure. :D
2007-07-19T00:45:54 <grzywacz> The further, the better it gets I see...
2007-07-19T00:46:18 <xorAxAx> of course ...
2007-07-19T00:46:26 <xorAxAx> never trust your first impression :)
2007-07-19T00:46:55 <grzywacz> Ok, I think I like it after all. D:
2007-07-19T00:47:00 <xorAxAx> hhe
2007-07-19T00:47:15 <xorAxAx> the music as well?
2007-07-19T00:47:20 <grzywacz> Mostly the music.
2007-07-19T00:47:24 <xorAxAx> ah :)
2007-07-19T00:48:23 <grzywacz> I'm not sure if I could keep listening to such music, but the artist is clever.
2007-07-19T00:48:45 <xorAxAx> hehe
2007-07-19T00:48:50 <xorAxAx> and its harmonic
2007-07-19T00:48:58 * grzywacz listening to Tubular Bells atm
2007-07-19T00:58:10 <xorAxAx> lanius_: ...
2007-07-19T00:58:19 <xorAxAx> lanius_: http://hg.alexanderweb.de/moin-1.7-storage-hwendel/rev/336e72e6ff4c a merge with some very confusing commit message
2007-07-19T01:27:08 <zenhase> hmm
2007-07-19T01:27:35 <zenhase> where is the formatter reference on the request object used?
2007-07-19T01:28:21 <xorAxAx> 114 times
2007-07-19T01:28:22 <zenhase> hmm .. seems everywhere
2007-07-19T01:29:28 <xorAxAx> i guess very often at the wrong time
2007-07-19T01:29:49 <xorAxAx> because only content should use the formatter mainly, the other parts are not bound to use it
2007-07-19T01:30:08 <xorAxAx> it doesnt make sense to generate docbook from the edit view for example
2007-07-19T01:30:26 <xorAxAx> but for some pieces of code, its not clear from where they are called
2007-07-19T01:30:41 <xorAxAx> often because of a layering violation (see the r.formatter usage in logfile.py)
2007-07-19T01:31:13 <zenhase> yeah, that was the first thing in a short grep, that really left me wondering
2007-07-19T01:32:13 <zenhase> regarding the actions: thomas already mentioned that to me some time ago
2007-07-19T01:32:40 <zenhase> this is something for once, where orthogonality does not make much sense :>
2007-07-19T01:33:07 <zenhase> (just as the example you gave)
2007-07-19T08:27:34 <ThomasWaldmann> moin
2007-07-19T08:35:25 <dreimark> moin
2007-07-19T10:06:22 <xorAxAx> grzywacz: good morning
2007-07-19T10:06:46 <xorAxAx> zenhase: please elaborate
2007-07-19T10:06:50 <xorAxAx> zenhase: on the action issue
2007-07-19T11:41:25 <zenhase> moin
2007-07-19T11:43:06 <zenhase> xorAxAx: you mean what i said 01:33?
2007-07-19T11:43:35 <xorAxAx> yes
2007-07-19T11:46:45 <zenhase> i am just saying the same thing as you said. like your example with docbook and edit view
2007-07-19T11:47:04 <xorAxAx> hmm?
2007-07-19T11:47:36 <zenhase> same goes for other actions, an attachfile-form in something other than html would not make much sense i think
2007-07-19T11:47:57 <xorAxAx> yes, actions are nearly always html
2007-07-19T11:47:59 <zenhase> it's just that actions are somehow bound to specific formatters
2007-07-19T11:48:05 <xorAxAx> and docbook is html as well :)
2007-07-19T11:48:18 <zenhase> erm?
2007-07-19T11:48:18 <xorAxAx> (0 bytes of html in this case because its a redirect to the formatter action)
2007-07-19T11:48:51 <zenhase> :P
2007-07-19T11:50:28 <xorAxAx> why ":P"?
2007-07-19T11:50:35 <xorAxAx> its important to get the facts right here
2007-07-19T11:50:48 <xorAxAx> and realise that the action itself is a dirty hack
2007-07-19T11:51:16 <zenhase> you mean docbook?
2007-07-19T11:51:30 <xorAxAx> the RenderAsDocbook action
2007-07-19T11:51:46 <zenhase> well, it's a bit hacky
2007-07-19T11:51:58 <zenhase> but at least it's small
2007-07-19T11:52:24 <ffesti> moral discussions on the early morning...
2007-07-19T11:52:46 <xorAxAx> i may rant about it - i wrote that action :)
2007-07-19T11:53:04 * ffesti reconsiders his asprin level
2007-07-19T11:53:44 <xorAxAx> asprin?
2007-07-19T11:53:59 <ffesti> +i
2007-07-19T11:54:50 <xorAxAx> you are taking aspirin and working nevertheless?
2007-07-19T11:54:51 <zenhase> xorAxAx: you're quite nitpicky sometimes ;>
2007-07-19T11:55:11 <xorAxAx> zenhase: well, i wanted to make sure that i understood him correctly :)
2007-07-19T11:55:14 <zenhase> hmm ... you take aspirin if you want to work, i suppose
2007-07-19T11:55:30 <xorAxAx> zenhase: that sounds like he has a very adorable job :)
2007-07-19T11:55:40 <zenhase> xorAxAx: not because of the job
2007-07-19T11:55:57 <xorAxAx> well, i am not sure :)
2007-07-19T11:56:37 <zenhase> if i have a hangover and know that there is nothing to do this day, i leave it to time and lot's of water to get rid of the hangover
2007-07-19T11:57:06 <xorAxAx> yes
2007-07-19T11:57:07 <zenhase> but if i have to get fit fast, because there is some work expected: aspirin
2007-07-19T11:57:18 <xorAxAx> well, i dont :)
2007-07-19T12:01:23 <zenhase> you never have hangovers?
2007-07-19T12:01:33 <xorAxAx> oh, i do
2007-07-19T12:02:02 <xorAxAx> but often they just make me tired, rather few are related to headaches
2007-07-19T12:02:37 <xorAxAx> and in those cases, i have never chosen aspirin to fix anything :)
2007-07-19T12:04:28 <zenhase> aspirin is perhaps the only chemical i would take without thinking about it too much. nevertheless i try to avoid that
2007-07-19T12:16:22 <vpv> rayvd's profiling patch causes 1.7 to crash for me, AttributeError: DefaultConfig instance has no attribute 'cProfileProfile'
2007-07-19T12:16:48 <xorAxAx> hmm, didnt it work for you yesterday?
2007-07-19T12:19:28 <vpv> it worked when I did profiling on the other computer, then I had something like cProfile = True in my wikiconfig_local
2007-07-19T12:20:17 <vpv> but here when I don't have anything like that, it crashes because config.cProfileProfile is not defined
2007-07-19T12:20:22 <xorAxAx> ah
2007-07-19T12:22:01 <vpv> oh, I guess it's cProfileProfile = name + '.prof' in moin.py, which is commented out by default
2007-07-19T12:23:54 <vpv> for now I just added a try - except - pass around the crashing part in server_standalone.py
2007-07-19T12:24:42 <xorAxAx> umm
2007-07-19T12:24:51 <xorAxAx> hopefully you dont commit that :)
2007-07-19T12:25:18 <ThomasWaldmann> i fix it
2007-07-19T12:27:15 <vpv> xorAxAx: wasn't going to ;)
2007-07-19T12:29:10 <xorAxAx> hehe
2007-07-19T12:31:05 <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2420:d268d5467cfe 1.7/MoinMoin/server/server_standalone.py: standalone server: fix AttributeError when not using cProfileProfile
2007-07-19T12:33:48 <ThomasWaldmann> vpv: please merge / test :)
2007-07-19T12:35:03 <grzywacz> morning xorAxAx
2007-07-19T12:35:24 <vpv> ThomasWaldmann: thanks, will do :)
2007-07-19T12:38:08 <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2527:5902ad979d0a 1.7-maninfo-vpv/MoinMoin/script/xmlrpc/manimport.py: cleanup one import
2007-07-19T12:38:32 <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2528:0e2778b854df 1.7-maninfo-vpv/MoinMoin/script/xmlrpc/manimport.py: add info handling option and do a couple of fixes
2007-07-19T12:38:36 <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2529:6f826f5f6508 1.7-maninfo-vpv/MoinMoin/script/xmlrpc/manimport.py: first parts of info handling, doesn't yet really work. also a couple of bugfixes.
2007-07-19T12:38:44 <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2530:d268d5467cfe 1.7-maninfo-vpv/MoinMoin/server/server_standalone.py: standalone server: fix AttributeError when not using cProfileProfile
2007-07-19T12:38:52 <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2531:0e2a54d23762 1.7-maninfo-vpv/ (.hgignore MoinMoin/server/server_standalone.py): merge from main
2007-07-19T12:39:06 <vpv> it works here, so I pushed my own repo
2007-07-19T12:39:32 <vpv> but, I see I forgot to add -X .hgignore to the merge commit :/
2007-07-19T12:39:58 <xorAxAx> ugh
2007-07-19T12:44:38 <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2532:69a9baf83adf 1.7-maninfo-vpv/.hgignore: revert .hgignore
2007-07-19T12:44:53 <johill> lala
2007-07-19T12:44:57 * johill broke the networking kernel
2007-07-19T12:45:07 <johill> at least if you use slub, which is default :)
2007-07-19T12:45:47 <johill> wait maybe you don't care, wrong channel
2007-07-19T12:45:52 <xorAxAx> :)
2007-07-19T12:47:40 <dreimark> http://m0j0.wordpress.com/2007/07/03/python-magazine-lives/ , http://pythonmagazine.com/ new print magazine, may be we should submit an artticle
2007-07-19T12:50:13 <johill> I offer to proof-read it ;)
2007-07-19T12:50:39 <dreimark> hi neagulm
2007-07-19T12:50:45 <neagulm> hy dreimark
2007-07-19T12:51:25 <CIA-27> moin: Marian Neagul marian@info.uvt.ro work * 2513:a619e136d6e7 1.7-classify-mneagul/MoinMoin/classifier/__init__.py: Try to prevent race condition in bsddb.
2007-07-19T12:51:41 <dreimark> neagulm: logging.error("Could not query remote classifier: " + str(error)) why not %s instead of + str
2007-07-19T12:52:10 <neagulm> dreimark, fixing now
2007-07-19T12:52:57 <neagulm> dreimark, in the previous commit I fixed a very strange behavior with bsddb
2007-07-19T12:53:17 <neagulm> dreimark, cProfile was very very usefull
2007-07-19T12:53:43 <dreimark> thanks to rayvd :)
2007-07-19T12:56:17 <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2533:64bc0f1b849f 1.7-maninfo-vpv/MoinMoin/script/xmlrpc/manimport.py: remove one debug print, in the worst possible place
2007-07-19T12:57:29 <dreimark> neagulm: def learn and learn = pysupport.makeThreadSafe(self._learn) and learn_state = learn(text, category, request) won't that make trouble always using namespace learn
2007-07-19T12:58:58 <dreimark> classifier/__init__.py
2007-07-19T12:58:58 <neagulm> dreimark, oops, I wrote the fix last night, before going to sleep :) I did not see it. I'm fixing now
2007-07-19T12:59:19 <ThomasWaldmann> lanius: if you move the rebuild functionality from _get_filename to get_items, you could also call _get_filename from rebuild_indexes
2007-07-19T12:59:46 <neagulm> dreimark, brb ~15 minutes
2007-07-19T12:59:49 <dreimark> ok
2007-07-19T12:59:51 <ThomasWaldmann> (or maybe even drop it, as it will be only a single line)
2007-07-19T13:04:41 <xorAxAx> neagulm: are you sure that your change is useful?
2007-07-19T13:05:01 <xorAxAx> neagulm: it doesnt look very sensible because you have to use the same decorated function for every call
2007-07-19T13:05:14 <xorAxAx> i.e. you need to pull the decorator onto the level of the fnuction definition
2007-07-19T13:05:30 <xorAxAx> currently it creates a different lock for every code path
2007-07-19T13:11:42 <ThomasWaldmann> zenhase: if you use code from trac, you should add trac's license to docs/licenses
2007-07-19T13:12:03 <ThomasWaldmann> and refer to the file from the src
2007-07-19T13:25:59 <neagulm> xorAxAx, It seems you are right
2007-07-19T13:26:11 <neagulm> xorAxAx, dreimark 646 4.049 0.006 4.053 0.006 bsddb/dbutils.py:41(DeadlockWrap)
2007-07-19T13:27:20 <neagulm> xorAxAx, dreimark :(
2007-07-19T13:27:30 <xorAxAx> well, the solution is obvious
2007-07-19T13:27:48 <xorAxAx> but bsddb should have its own locks, btw
2007-07-19T13:30:32 <zenhase> ThomasWaldmann: ah sorry ... i intended too, but forgot
2007-07-19T13:30:51 <dreimark> bbl (normal work calls .... )
2007-07-19T13:31:15 <zenhase> i wanted to ask the trac guys how they want the license to be reproduced
2007-07-19T13:31:45 <ThomasWaldmann> zenhase: if the license is special to trac somehow, call it trac.txt
2007-07-19T13:32:22 <ThomasWaldmann> (or similar), if it is some generally used "modified bsd license", call it modified_bsd.txt (or similar)
2007-07-19T13:32:44 <zenhase> ThomasWaldmann: no, it's plain BSD
2007-07-19T13:32:53 <zenhase> iirc
2007-07-19T13:33:12 <ThomasWaldmann> http://trac.edgewall.org/wiki/TracLicense
2007-07-19T13:33:52 <zenhase> hmm, looks like 3-clause BSD
2007-07-19T13:34:09 <ThomasWaldmann> funny ohloh thingy at the top right there
2007-07-19T13:34:38 <zenhase> ah on the wiki
2007-07-19T13:34:46 <zenhase> i just looked into COPYING
2007-07-19T13:34:51 <xorAxAx> hehe
2007-07-19T13:37:40 <lanius> ThomasWaldmann: but you need the rebuild also on save
2007-07-19T13:41:42 * ThomasWaldmann just wondered about the filename function and the use of os.path.join in rebuild function. but of course this is to avoid recursion the way it is now. X)
2007-07-19T13:42:14 <ThomasWaldmann> bbl
2007-07-19T14:22:46 <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2534:b117945a82dc 1.7-maninfo-vpv/MoinMoin/script/xmlrpc/manimport.py: cleanup the dicts that are going to be marshalled in a cache file, reduces size
2007-07-19T15:18:06 <ThomasWaldmann> lanius: btw, did you consider potential concurrency problems with your index code?
2007-07-19T16:49:50 <rayvd> vpv: Did you get the profiling working? Something broken in the patch (I have only tried with 1.5.8, not 1.7)?
2007-07-19T16:50:04 <xorAxAx> rayvd: its already fixed
2007-07-19T16:50:38 <rayvd> swell!
2007-07-19T16:55:38 <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2535:9a45b6e5627a 1.7-maninfo-vpv/MoinMoin/script/xmlrpc/manimport.py: fix a couple of weirdnesses
2007-07-19T16:55:39 <CIA-27> moin: Ville-Pekka Vainio <vpivaini AT cs DOT helsinki DOT fi> * 2536:6ca5c654a543 1.7-maninfo-vpv/MoinMoin/script/xmlrpc/manimport.py: Basics of srpm handling for info files, docstrings, some other small changes
2007-07-19T16:56:11 <vpv> rayvd: I did, I just haven't had time to look at the results carefully enough
2007-07-19T16:57:18 <vpv> If I take the moin.prof file and try to handle it with Python 2.4, it doesn't work. So I would have to do all that on my laptop which has 2.5
2007-07-19T16:58:08 <xorAxAx> vpv: its already fixed
2007-07-19T16:59:04 <vpv> xorAxAx: I wasn't talking about the Moin-not-starting bug, I have merged the fix into my repo and the it works
2007-07-19T16:59:34 <xorAxAx> ok
2007-07-19T16:59:44 <vpv> but if I try to open/handle the moin.prof file on Python 2.4, it complains about a wrong berkeley db format or something like that
2007-07-19T16:59:59 <xorAxAx> well, you need to load it with lsprof
2007-07-19T17:00:32 <vpv> ok
2007-07-19T18:26:59 <dreimark> bbl
2007-07-19T20:09:11 <grzywacz> Hm.
2007-07-19T20:10:42 <xorAxAx> grzywacz: hm? :)
2007-07-19T20:12:11 <grzywacz> xorAxAx, I couldn't merge main because I had outstanding uncommited changes, and couldn't commit my changes, because they were not finished, and testing required something that crashed Moin. :P
2007-07-19T20:12:18 <grzywacz> johill, http://kolos.math.uni.lodz.pl/~grzywacz/FrontPage.html
2007-07-19T20:12:27 <grzywacz> johill, I'm not sure if it's already fixed, but...
2007-07-19T20:12:35 <xorAxAx> grzywacz: then you dont have enough local branches
2007-07-19T20:12:41 <xorAxAx> make more of them
2007-07-19T20:12:50 <johill> huh
2007-07-19T20:13:25 <johill> umm, that was a 2.4 feature?
2007-07-19T20:13:29 <grzywacz> johill, I think I tried to save preferences without providing a password, but my branch is not entirely up to date with main...
2007-07-19T20:13:33 <johill> import with parentheses?
2007-07-19T20:13:59 <johill> well I can work around that
2007-07-19T20:17:44 <johill> fixed
2007-07-19T20:17:45 <CIA-27> moin: Johannes Berg <johannes AT sipsolutions DOT net> * 2421:059054049961 1.7/MoinMoin/auth/openidrp.py: don't use parenthesised imports in openid code
2007-07-19T20:18:13 <grzywacz> Thanks. :)
2007-07-19T20:21:41 <johill> 2.3 is just too old for me I guess ;)
2007-07-19T20:27:00 <grzywacz> xorAxAx, ok, so I have to make a new clone, merge it with main and then add my local changes?
2007-07-19T20:27:38 <xorAxAx> grzywacz: yeah, just do the main merging somewhere else
2007-07-19T20:28:11 <xorAxAx> grzywacz: note that you dont need to clone from remote because you surely adhering to the mantra of having a local mirror of every incoming repo locally
2007-07-19T20:28:21 <xorAxAx> s/you s/you are s/
2007-07-19T20:29:14 <grzywacz> I happen to do so atm, yes. :D
2007-07-19T20:29:52 <xorAxAx> :)
2007-07-19T20:30:28 <grzywacz> johill, fix working ok confirmed
2007-07-19T20:30:46 <johill> thanks
2007-07-19T20:35:15 <grzywacz> ":S
2007-07-19T20:36:01 <grzywacz> I hate copy&paste errors.
2007-07-19T20:36:34 <johill> hm?
2007-07-19T20:36:42 <grzywacz> I've just made one. :)
2007-07-19T20:36:50 <johill> ah. I thought I had :)
2007-07-19T20:37:11 <grzywacz> Nope. :)
2007-07-19T20:44:58 <johill> interesting :)
2007-07-19T20:45:08 <johill> all the wireless reverse engineering project use moin
2007-07-19T20:45:12 <johill> I guess I started ;)
2007-07-19T20:47:12 <grzywacz> :)
2007-07-19T20:56:27 <lanius> ThomasWaldmann: i'm still thinking about it, the bsddb docs say that it is thread safe, whatever that means
2007-07-19T20:57:29 * johill feels adventurous and updates to current moin 1.7
2007-07-19T20:59:29 <grzywacz> lanius, that means that something won't break if two threads use/access it at the same time.
2007-07-19T21:00:22 <lanius> that means i don't have to do anything else, e..g locking?
2007-07-19T21:00:38 <grzywacz> Yes, that's what it usually means. :)
2007-07-19T21:00:58 <lanius> well, that's what the bsddb docs says, but the shelve docs say nothing and shelve decides what backend to sue
2007-07-19T21:01:16 <lanius> maybe i should just switch to plain bsddb then
2007-07-19T21:01:34 <xorAxAx> yes
2007-07-19T21:01:58 <lanius> but it requires python 2.5 to be thread safe
2007-07-19T21:04:49 <xorAxAx> hah!
2007-07-19T21:04:53 <xorAxAx> hah
2007-07-19T21:05:09 <xorAxAx> lanius: also note that we need two levels of safety - concurrency and thread-safety
2007-07-19T21:05:20 <xorAxAx> both are a bit orthogonal when it comes to measures to ensure them
2007-07-19T21:05:50 <lanius> how can i now if the concurrency will work correctly
2007-07-19T21:06:04 <grzywacz> xorAxAx, how is concurrency orthogonal to thread safety?
2007-07-19T21:06:04 <lanius> s/now/know/
2007-07-19T21:06:50 <grzywacz> xorAxAx, (well, ok, it is if you mean different external processes accessing something)
2007-07-19T21:11:48 <xorAxAx> lanius: by praying and reading the docs
2007-07-19T21:11:59 <xorAxAx> lanius: and trying to figure out what they got wrong in 2.3/2.4
2007-07-19T21:12:17 <xorAxAx> grzywacz: yes, multiple processes
2007-07-19T21:12:31 <johill> hmm
2007-07-19T21:12:32 <grzywacz> xorAxAx, ack.
2007-07-19T21:12:36 <johill> this is weird
2007-07-19T21:13:11 <johill> my preferences code seems pretty borked if you invoke it on a subpage
2007-07-19T21:16:03 <johill> grzywacz:
2007-07-19T21:16:08 <johill> 106 jid = wikiutil.clean_input(form.get('jid', "")[0]).strip()
2007-07-19T21:16:14 <johill> string index out of range
2007-07-19T21:16:17 <johill> obviusly
2007-07-19T21:17:32 <CIA-27> moin: Johannes Berg <johannes AT sipsolutions DOT net> * 2422:2142eea37033 1.7/MoinMoin/ (action/userprefs.py userprefs/__init__.py): fix userpreferences links
2007-07-19T21:18:28 <grzywacz> johill, hm
2007-07-19T21:18:48 <grzywacz> johill, can form.get return something else than a string?
2007-07-19T21:18:50 <grzywacz> A list, perhaps?
2007-07-19T21:18:51 <johill> you need [''] instead of "" :)
2007-07-19T21:18:57 <grzywacz> oh.
2007-07-19T21:19:03 <grzywacz> %)
2007-07-19T21:19:16 <grzywacz> johill, I'll fix it if you can wait a little bit. :)
2007-07-19T21:19:20 <johill> sure
2007-07-19T21:22:25 <johill> hm
2007-07-19T21:22:30 <grzywacz> Yes?
2007-07-19T21:22:33 <johill> we could put the system admin stuff under userprefs too
2007-07-19T21:22:52 <johill> a bit undiscoverable maybe, but could be nicer than this macro thing
2007-07-19T21:24:39 <johill> wtf
2007-07-19T21:24:54 <johill> now my wiki shows the modern theme for changepass but the right one for everything else
2007-07-19T21:25:08 <johill> now it's back to normal
2007-07-19T21:25:09 <johill> huh?
2007-07-19T21:26:13 <johill> ah well, I'll ignore that :)
2007-07-19T22:18:18 <grzywacz> This is like the most shitty piece of hardware ever...
2007-07-19T22:22:01 <zenhase> grzywacz: is it an athlon t-bird with an asus a7v board?
2007-07-19T22:22:20 <grzywacz> zenhase, sempron with gigabyte board, nforce 4 iirc
2007-07-19T22:22:27 <grzywacz> Easily killed with any kind of hd activity.
2007-07-19T22:22:28 <grzywacz> :EEE
2007-07-19T22:23:18 <rayvd> vpv if you're up, will be discussing xen instance for moin shortly in #fedora-meeting
2007-07-19T22:23:58 <xorAxAx> 22:23:48 -!- Topic for #fedora-meeting: VCS Choice -- all (jcollie)
2007-07-19T22:23:59 <xorAxAx> hah
2007-07-19T22:24:23 <zenhase> grzywacz: oh
2007-07-19T22:24:38 <zenhase> i have nf4 too
2007-07-19T22:24:39 <rayvd> just trying to give him some early warning.. could be a while ;)
2007-07-19T22:24:55 <grzywacz> zenhase, in this case two smbd processes have gone wild, writing zounds of log messages per second.
2007-07-19T22:24:59 * zenhase hopes those hdd issues won't catch up on him
2007-07-19T22:25:15 <grzywacz> + full memory = alt+ctrl+sysrq+b
2007-07-19T22:25:22 <grzywacz> I couldn't even switch a fscking window in X.
2007-07-19T22:25:27 <grzywacz> Crappy POS.
2007-07-19T22:26:14 <vpv> rayvd: thanks, I'm here sort of
2007-07-19T22:26:29 <zenhase> hmm, sounds like missing DMA on the hdds to me
2007-07-19T22:27:00 <rayvd> vpv: i have a work meeting in 30 minutes, so if they don't get to it....
2007-07-19T22:27:00 <grzywacz> I think this should not be an issue with sata.
2007-07-19T22:27:07 <zenhase> oh
2007-07-19T22:27:08 <grzywacz> zenhase, Jul 19 21:59:46 omoikane PAM_smbpass[17882]: Failed to find entry for user UTF-16LE.
2007-07-19T22:27:11 <grzywacz> Cool, huh? ;-)
2007-07-19T22:27:18 <zenhase> grzywacz: nice
2007-07-19T22:27:20 <grzywacz> User UTF-16LE. I'm filling a bug report atm. :P
2007-07-19T22:56:59 <rayvd> if they bring up the moin wiki optimizations while i'm gone vpv, xorAxAx, maybe you guys could pipe up on the rationale for a xen instance for the testing :)
2007-07-19T22:57:02 <rayvd> should be back shortly.
2007-07-19T22:57:32 <xorAxAx> hehe
2007-07-19T22:57:52 <vpv> I'll try :D
2007-07-19T22:58:30 <rayvd> didn't think it would take this long, sheesh
2007-07-19T23:09:35 <xorAxAx> what do they mean by sponsor?
2007-07-19T23:09:41 <xorAxAx> company paying for stuff?
2007-07-19T23:10:16 <vpv> no, I think like a person who sets everything up and is ultimately responsible for the stuff
2007-07-19T23:10:22 <xorAxAx> ah
2007-07-19T23:10:33 <xorAxAx> usually non-redhat employees? :)
2007-07-19T23:11:14 <vpv> I guess they are usually the core people in Infrastructure team
2007-07-19T23:11:32 <xorAxAx> which are often payed by redhat
2007-07-19T23:12:07 <vpv> often, not always
2007-07-19T23:12:37 <vpv> I think skvidal for example isn't and he's doing a lot of work there
2007-07-19T23:16:21 <xorAxAx> nice
2007-07-19T23:19:01 <rayvd> darn.
2007-07-19T23:29:02 <johill> grzywacz: how does user created event work?
2007-07-19T23:29:35 <johill> do we have to change all auth mechanisms that support it or does it hook into user.save()?
2007-07-19T23:30:56 <grzywacz> johill, it's in action/newaccount.py %)
2007-07-19T23:31:05 <johill> oh bugger
2007-07-19T23:31:06 <grzywacz> Maybe not the most clever thing.
2007-07-19T23:31:22 <xorAxAx> sounds like a layering violation that i didnt spot!
2007-07-19T23:31:46 <johill> it's not easy to do in user itself tho
2007-07-19T23:32:07 <johill> well, I suppose loading users would set user.loaded= True and save() would send the event unless self.loaded
2007-07-19T23:32:41 <johill> I'll do the prefs if you clean that up ;)
2007-07-19T23:37:18 <grzywacz> johill, hm hm hm, ok. Once I have my i18n stuff tested and pushed.
2007-07-19T23:38:50 <grzywacz> I think I should come up with some kind of unit tests for the bot after all...
2007-07-19T23:39:01 <grzywacz> Actually, I should have some initial code somewhere. >_>
2007-07-19T23:39:18 <xorAxAx> yes, unittests!
2007-07-19T23:39:34 <johill> should the jid be in the prefs or the notification prefs?
2007-07-19T23:39:53 <xorAxAx> alongside of the mail-address
2007-07-19T23:39:55 <xorAxAx> IMHO
2007-07-19T23:40:37 <grzywacz> Yes.
2007-07-19T23:40:56 <grzywacz> It's a piece of information that doesn't have to be related to notification only.
2007-07-19T23:42:49 <johill> ok
2007-07-19T23:43:33 <johill> should notification settings appear if you have neither jabber id nor email?
2007-07-19T23:43:43 <johill> I mean, set with your account
2007-07-19T23:44:05 <grzywacz> Is it possible not to have an email address set?
2007-07-19T23:44:22 <grzywacz> If so, then I think that answer is: no.
2007-07-19T23:44:25 <grzywacz> At least currently.
2007-07-19T23:44:48 <grzywacz> If option is irrelevant, it should not be displayed. IMO. :)
2007-07-19T23:45:17 <johill> it's possible, I think, if you're logged in via ldap or such
2007-07-19T23:45:45 <johill> how about
2007-07-19T23:45:47 <johill> return (UserPrefBase.allowed(self) and
2007-07-19T23:45:47 <johill> ((self.request.cfg.mail_enabled and self.request.user.email) or
2007-07-19T23:45:47 <johill> (self.request.cfg.jabber_enabled and self.request.user.jid)))
2007-07-19T23:46:28 <xorAxAx> hmm
2007-07-19T23:46:43 <xorAxAx> it might make sense to show a greyed out text that explains why they are not enabled
2007-07-19T23:46:48 <xorAxAx> (maybe in the title)
2007-07-19T23:47:20 <grzywacz> %)
2007-07-19T23:47:22 <johill> so you want it on the userprefs page but not doing anything
2007-07-19T23:47:28 <johill> fine with me
2007-07-19T23:49:30 <grzywacz> rotfl
2007-07-19T23:50:18 <grzywacz> johill, http://kolos.math.uni.lodz.pl/~grzywacz/bugzor.png
2007-07-19T23:50:20 <grzywacz> %)
2007-07-19T23:50:51 <dreimark> grzywacz:may be there is a bios update available. But sometimes its better to not use the recent one as I learned yesterday.
2007-07-19T23:51:45 <dreimark> it has not recognized my sata disc
2007-07-19T23:52:07 <grzywacz> :S
2007-07-19T23:52:13 <johill> grzywacz: huh??
2007-07-19T23:52:30 <johill> oh, translation gone wrong I guess
2007-07-19T23:52:35 <xorAxAx> no
2007-07-19T23:52:44 <xorAxAx> you are not using formatted=False
2007-07-19T23:52:50 <johill> yeah that's what I mean
2007-07-19T23:54:42 <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2539:634b511da855 1.7-storage-hwendel/ (8 files in 7 dirs): more on indexes
2007-07-19T23:55:42 <grzywacz> Argh, stupid pyxmpp...
2007-07-19T23:56:46 <lanius> seems like i passed the midterm survey, how could that happen ;)
2007-07-19T23:56:51 <CIA-27> moin: Johannes Berg <johannes AT sipsolutions DOT net> * 2423:76bf8b6b3061 1.7/MoinMoin/userprefs/ (changepass.py oid.py prefs.py suid.py): use formatted=False for userprefs titles
2007-07-19T23:56:55 <dreimark> [22:24] <grzywacz> Easily killed ...
2007-07-19T23:57:50 <grzywacz> dreimark, what about it?
2007-07-19T23:58:10 <grzywacz> lanius, yeah, I wondered about the same thing. :D
2007-07-19T23:58:11 <xorAxAx> lanius: we received your payment :)
2007-07-19T23:59:42 <dreimark> grzywacz: may be a bios update solves your computer problem
MoinMoin: MoinMoinChat/Logs/moin-dev/2007-07-19 (last edited 2007-10-29 19:21:21 by localhost)