1 2010-04-21T00:40:47  *** _buck has joined #moin-dev
   2 2010-04-21T00:42:07  <_buck> ThomasWaldmann : Can you suggest a good command line IRC client?
   3 2010-04-21T00:45:17  *** _buck has quit IRC
   4 2010-04-21T00:48:50  *** _buck has joined #moin-dev
   5 2010-04-21T00:50:19  *** _buck has left #moin-dev
   6 2010-04-21T00:51:07  *** JosefMeier has quit IRC
   7 2010-04-21T00:55:34  *** _buck has joined #moin-dev
   8 2010-04-21T00:56:28  * _buck would like to know link for a nice ircii tutorial;
   9 2010-04-21T00:56:36  <xorAxAx> _buck: use irssi
  10 2010-04-21T00:56:40  <xorAxAx> or weechat
  11 2010-04-21T00:56:44  <xorAxAx> not ircii
  12 2010-04-21T00:56:48  <_buck> okay
  13 2010-04-21T00:58:47  <_buck> yes
  14 2010-04-21T00:59:07  <_buck> I also didn't ask , thought they are kept from students.
  15 2010-04-21T00:59:48  * _buck will be back from xchat
  16 2010-04-21T00:59:51  <_buck> quit
  17 2010-04-21T00:59:55  *** _buck has quit IRC
  18 2010-04-21T01:00:19  *** _buck has joined #moin-dev
  19 2010-04-21T01:03:53  *** eraser029 has joined #moin-dev
  20 2010-04-21T01:38:00  *** ValentinJaniaut has left #moin-dev
  21 2010-04-21T01:38:13  *** ValentinJaniaut has joined #moin-dev
  22 2010-04-21T02:09:12  *** eraser029 has quit IRC
  23 2010-04-21T02:29:07  *** _buck has quit IRC
  24 2010-04-21T03:08:47  *** mikema has joined #moin-dev
  25 2010-04-21T03:08:56  *** mikema has left #moin-dev
  26 2010-04-21T03:23:09  *** AshishG has joined #moin-dev
  27 2010-04-21T03:23:58  * AshishG is not dead, just tied up with semester end formalities and deadlines.
  28 2010-04-21T03:24:44  * AshishG will be back tonight (most probably) for some time.
  29 2010-04-21T03:24:51  *** AshishG has quit IRC
  30 2010-04-21T05:15:59  *** kursor has joined #moin-dev
  31 2010-04-21T05:31:15  *** kursor has quit IRC
  32 2010-04-21T08:14:20  *** ValentinJaniaut_ has joined #moin-dev
  33 2010-04-21T08:14:20  *** ValentinJaniaut has quit IRC
  34 2010-04-21T08:14:21  *** ValentinJaniaut_ is now known as ValentinJaniaut
  35 2010-04-21T08:36:41  *** gwork has joined #moin-dev
  36 2010-04-21T09:42:43  *** moin4_ has joined #moin-dev
  37 2010-04-21T09:43:18  <moin4_> ThomasWaldmann: hi
  38 2010-04-21T09:43:25  <moin4_> all: hi
  39 2010-04-21T09:45:55  <moin4_> i've created a bitbucket.org mirror of 2.0-storage plus started on mirror for relevant themes (i think this make make it easier for people to fork and patch)
  40 2010-04-21T09:46:17  <moin4_> i'd like to make sure that at least one of the core devs has admin access to these repos on bitbucket.org
  41 2010-04-21T09:46:22  <moin4_> is anyone registered there?
  42 2010-04-21T10:00:21  *** eSyr has joined #moin-dev
  43 2010-04-21T10:02:03  <ThomasWaldmann> moin
  44 2010-04-21T10:02:23  <eSyr> moin
  45 2010-04-21T10:18:21  <ThomasWaldmann> moin4_: i recently created an account there for non-moin stuff
  46 2010-04-21T10:25:23  <ThomasWaldmann> moin4_: thomaswaldmann is my account
  47 2010-04-21T10:49:34  *** mikema has joined #moin-dev
  48 2010-04-21T10:49:57  *** mikema has left #moin-dev
  49 2010-04-21T10:59:10  *** JosefMeier has joined #moin-dev
  50 2010-04-21T11:14:19  *** _buck has joined #moin-dev
  51 2010-04-21T11:33:51  <dreimark> moin
  52 2010-04-21T11:35:23  <moin4_> ThomasWaldmann: i've added you as an admin on both repos ...
  53 2010-04-21T11:35:29  *** eSyr has quit IRC
  54 2010-04-21T11:35:57  <moin4_> Should i mention the existence of this mirror on Storage page? Also i will aim to set up a cron job that regularly pushes to that mirror ...
  55 2010-04-21T11:36:01  <dreimark> moin4_: what is your real name ?
  56 2010-04-21T11:36:33  <moin4_> i also think the themes repo could be very useful -- even as a fairly sophisticated user I can find it hard to work out how to get theme easily (esp + patches)
  57 2010-04-21T11:36:46  <moin4_> dreimark: i'm rgrp (Rufus Pollock)
  58 2010-04-21T11:36:59  <moin4_> i tried joining this channel with my proper irc client (irssi)
  59 2010-04-21T11:37:17  <moin4_> (But had problems -- my main server is irc.oftc.net ...)
  60 2010-04-21T11:38:17  <dreimark> ah ok
  61 2010-04-21T11:44:50  * dreimark we should collect services which can do something similiar to
  62 2010-04-21T11:44:53  <dreimark> http://saucelabs.com/how-it-works
  63 2010-04-21T11:45:33  <dreimark> TheSheep: that is interesting at the time we have some more jinja2 stuff available
  64 2010-04-21T11:45:56  <dreimark> also i likly want it cheap
  65 2010-04-21T11:49:27  <moin4_> i did try hacking on the jinja stuff btw (spoke with Waldmann about this a while ago)
  66 2010-04-21T11:49:38  <moin4_> not that easy to find out where to start there btw ;)
  67 2010-04-21T11:54:41  <TheSheep> I try to keep my themes in repositories
  68 2010-04-21T11:54:48  <TheSheep> and to link to them on the theme market
  69 2010-04-21T11:55:02  <TheSheep> much better than just uploading tarballs
  70 2010-04-21T11:55:27  *** _buck has quit IRC
  71 2010-04-21T11:55:59  <ThomasWaldmann> moin4_: you know we have a moin/extensions repo for some non-core stuff?
  72 2010-04-21T11:56:38  <TheSheep> it's not svn, keeping everything in one repo is not convenient
  73 2010-04-21T11:58:13  <TheSheep> dreimark: I'm not sure we will want to test jinja2 itself, I think we can be pretty sure it does what it promises.
  74 2010-04-21T11:59:56  <ThomasWaldmann> TheSheep: well, as it is called moin-themes, it sounds like some themes should end up being done there
  75 2010-04-21T12:00:21  <TheSheep> ThomasWaldmann: where?
  76 2010-04-21T12:00:26  <ThomasWaldmann> i had moved some theme that i personally needed to moin/extensions
  77 2010-04-21T12:00:49  <ThomasWaldmann> (i meant bitbucket moin-themes from moin4_ )
  78 2010-04-21T12:01:16  <ThomasWaldmann> we have to be a bit careful that users don't get confused about where to find good stuff
  79 2010-04-21T12:01:47  <TheSheep> there should be one way to do it
  80 2010-04-21T12:02:00  <ThomasWaldmann> so maybe we could just add those themes to moin/extensions also and clone that to bitbucket
  81 2010-04-21T12:05:34  <TheSheep> yeah, lets have hundreds of places to keep them, that will avoid confusion
  82 2010-04-21T12:06:24  <ThomasWaldmann> :P
  83 2010-04-21T12:06:45  <ThomasWaldmann> i guess moin4_'s intention was to use more revision control
  84 2010-04-21T12:07:05  <ThomasWaldmann> which is a good idea
  85 2010-04-21T12:07:35  <ThomasWaldmann> if he likes to manage the bitbucket repo (and merge back stuff from other repos there), that would be fine
  86 2010-04-21T12:07:53  <ThomasWaldmann> and if it was a clone of our repo, we could merge back from that one
  87 2010-04-21T12:08:55  <TheSheep> I think it's better for each theme to have a single 'main' repository, linked from theme market
  88 2010-04-21T12:10:14  <ThomasWaldmann> hmm, then you need lots of repos for extensions
  89 2010-04-21T12:10:30  <ThomasWaldmann> well, as they are cheap, maybe not a problem
  90 2010-04-21T12:10:49  <TheSheep> not necessarily, you can keep multiple extensions in one repository
  91 2010-04-21T12:11:04  <TheSheep> like that moin-themes repo that has two themes right now
  92 2010-04-21T12:11:20  <TheSheep> just for each plugin have a single 'master' repo
  93 2010-04-21T12:12:02  <ThomasWaldmann> moin4_: what do you like to do with moin-storage?
  94 2010-04-21T12:27:21  <JosefMeier> I think I found the place where the slowdown occurs in 1.9.2 : http://hg.moinmo.in/moin/1.9/file/c7dd42405e5a/MoinMoin/security/__init__.py#l323
  95 2010-04-21T12:28:15  <JosefMeier> Debugging and timediff measurments show, that there and in the line after time diffs of around 17ms occur very often
  96 2010-04-21T12:28:29  <JosefMeier> in 1.8.4 regular expressions are used in this line and no delays occur
  97 2010-04-21T12:29:04  <JosefMeier> looks very clear for me
  98 2010-04-21T12:30:07  <ThomasWaldmann> JosefMeier: looks like new group code maybe. soc project of last year.
  99 2010-04-21T12:30:48  <ThomasWaldmann> maybe directly debug / profile that code
 100 2010-04-21T12:31:08  <ThomasWaldmann> see MoinMoin/datastruct
 101 2010-04-21T12:31:09  <JosefMeier> I don't understand why a string compare is so slow
 102 2010-04-21T12:32:04  <ThomasWaldmann> it is a group membership check, not a string compare
 103 2010-04-21T12:32:35  <dreimark> JosefMeier: groups is a set
 104 2010-04-21T12:32:40  <ThomasWaldmann> see what request.groups is and how "x in request.groups[groupname] is done
 105 2010-04-21T12:33:23  <JosefMeier> Hm. Why did you change group code? Isn't that something very big in Moin code?
 106 2010-04-21T12:33:35  <ThomasWaldmann> because old was crap :)
 107 2010-04-21T12:33:42  <ThomasWaldmann> and inflexible
 108 2010-04-21T12:33:48  <dreimark> we refactored wikidicts and that was ^
 109 2010-04-21T12:34:09  <ThomasWaldmann> new is rather nice code (maybe not bug-free yet, though) and is flexible for other backends
 110 2010-04-21T12:34:13  <dreimark> and very difficult to debug
 111 2010-04-21T12:34:28  <JosefMeier> dreimark: the old or the new one?
 112 2010-04-21T12:34:37  <dreimark> the old was wikidict
 113 2010-04-21T12:34:41  <ThomasWaldmann> if those 17ms happen rather often, it should be checked for efficiency
 114 2010-04-21T12:35:15  <dreimark> and this was ugly, hard to understand, to debug and there was no chance to extend it without breaking something
 115 2010-04-21T12:35:29  <JosefMeier> ThomasWaldmann: It's not reproducible but it happens much more often in 1.9.2 than in 1.8.x
 116 2010-04-21T12:35:30  <ThomasWaldmann> JosefMeier: maybe you could contact its author and invite him for debugging :)
 117 2010-04-21T12:35:52  <ThomasWaldmann> MoinMoin:DmitrijsMilajevs
 118 2010-04-21T12:36:07  <JosefMeier> ThomasWaldmann: Do you think this group stuff is hard to debug?
 119 2010-04-21T12:36:30  <ThomasWaldmann> no, but maybe talk to him nevertheless :)
 120 2010-04-21T12:37:06  <JosefMeier> hm. ok. will try to get more debug info later in the afternoon. Have a 2h meeting beginning from 1pm
 121 2010-04-21T12:37:39  <ThomasWaldmann> JosefMeier: try what happens if you use a config group
 122 2010-04-21T12:37:45  <dreimark> TheSheep: i meant not testing jinja2 just looking on a theme by different browsers
 123 2010-04-21T12:38:03  <JosefMeier> ThomasWaldmann: what do you mean? where and how?
 124 2010-04-21T12:38:13  <dreimark> see config snippets
 125 2010-04-21T12:38:17  <ThomasWaldmann> if it suddenly gets fast then, you have found a problem in wiki_groups
 126 2010-04-21T12:38:47  <dreimark> JosefMeier: http://hg.moinmo.in/moin/1.9/file/c7dd42405e5a/wiki/config/more_samples/groups_wikiconfig_snippet
 127 2010-04-21T12:40:05  <ThomasWaldmann> lines 10..15
 128 2010-04-21T12:40:57  <JosefMeier> and what should I do there?
 129 2010-04-21T12:42:08  <ThomasWaldmann> if you use config groups, the code that deals with groups gets rather simple
 130 2010-04-21T12:42:38  <ThomasWaldmann> and likely also very fast, because it is just some ready-to-use python data structure and never changes while moin is running
 131 2010-04-21T12:43:02  <ThomasWaldmann> wiki groups are more complicated, because they are on wiki pages, need parsing, etc.
 132 2010-04-21T12:43:28  <JosefMeier> what are situations when I shouldn't use config groups?
 133 2010-04-21T12:43:54  <ThomasWaldmann> if you want to edit them via wiki pages :)
 134 2010-04-21T12:48:48  * ThomasWaldmann gtg/bbl
 135 2010-04-21T14:44:10  *** mikema has joined #moin-dev
 136 2010-04-21T14:44:17  *** mikema has left #moin-dev
 137 2010-04-21T15:12:25  <JosefMeier> dreimark: Could you give me a hint for what I must do to "use config groups" ?
 138 2010-04-21T15:13:32  <dreimark> you just add the example to your wikiconfig
 139 2010-04-21T15:14:23  <ThomasWaldmann> (12:40) < ThomasWal> lines 10..15
 140 2010-04-21T15:14:45  <dreimark> yes, i was refering to these lines
 141 2010-04-21T15:16:45  <JosefMeier> ah ok. But then page ACLs will be ignored for this test?
 142 2010-04-21T15:18:15  <dreimark> no
 143 2010-04-21T15:19:00  <dreimark> you need to be a member in the group
 144 2010-04-21T15:19:39  <dreimark> see SystemAdmin du user browser
 145 2010-04-21T15:20:16  <dreimark> s/du/do/
 146 2010-04-21T15:20:55  <dreimark> bbl
 147 2010-04-21T15:26:56  *** _buck has joined #moin-dev
 148 2010-04-21T15:47:03  *** kursor has joined #moin-dev
 149 2010-04-21T15:56:36  *** kursor has quit IRC
 150 2010-04-21T16:18:26  <JosefMeier> bbl
 151 2010-04-21T16:18:36  *** JosefMeier has quit IRC
 152 2010-04-21T16:35:48  *** moin4_ has quit IRC
 153 2010-04-21T16:42:01  *** _buck is now known as Ashish
 154 2010-04-21T17:01:48  *** Ashish has quit IRC
 155 2010-04-21T17:26:53  *** Ashish has joined #moin-dev
 156 2010-04-21T17:27:30  *** Ashish is now known as _buck
 157 2010-04-21T18:16:37  *** kursor has joined #moin-dev
 158 2010-04-21T18:21:28  *** DmitryAndreev_ has joined #moin-dev
 159 2010-04-21T18:24:18  *** DmitryAndreev has quit IRC
 160 2010-04-21T18:27:39  *** JosefMeier has joined #moin-dev
 161 2010-04-21T18:28:46  <JosefMeier> dreimark, ThomasWaldmann: with wiki_groups page access is incredibly fast
 162 2010-04-21T18:30:15  <JosefMeier> there seems to be a performance issue in the group code
 163 2010-04-21T18:45:24  *** JosefMeier has quit IRC
 164 2010-04-21T19:00:52  *** kursor has quit IRC
 165 2010-04-21T19:06:47  *** diofeher has joined #moin-dev
 166 2010-04-21T19:18:39  <ValentinJaniaut> hello,
 167 2010-04-21T19:19:04  <ValentinJaniaut> de you think you will support math function rendering natively for Moin2 ??
 168 2010-04-21T19:31:46  <dreimark> re
 169 2010-04-21T19:33:00  <dreimark> ValentinJaniaut: in the extension repo is a mathran parser
 170 2010-04-21T19:33:11  <dreimark> do you have something special in mind?
 171 2010-04-21T19:33:46  <ValentinJaniaut> dreimark: I need to write a report for a math course, and I will need to display nice Math formula
 172 2010-04-21T19:34:14  <ValentinJaniaut> dreimark: using Mathran is nice, however it won't work with DocBook export !
 173 2010-04-21T19:34:39  <dreimark> ValentinJaniaut: it creates a png in sendcache and display it
 174 2010-04-21T19:34:43  <ValentinJaniaut> dreimark: and using mathml in DocBook is quite complicate
 175 2010-04-21T19:35:10  *** moin0 has joined #moin-dev
 176 2010-04-21T19:35:17  <ValentinJaniaut> dreimark: yep, but I om not sure that DocBook will handl the PNG correctly, it won't display it at the correct place most of time
 177 2010-04-21T19:35:28  <dreimark> http://hg.moinmo.in/moin/extensions/file/64d08878782b/data/plugin/parser/text_x_mathtran.py
 178 2010-04-21T19:36:17  <dreimark> in that dir is also a inline_latex which you use as #format parameter
 179 2010-04-21T19:36:41  <moin0> dreimark: sorry: I wanted to say that with configgroups page access is very fast. with wikigroups its slow. so something isn't very performant in there.
 180 2010-04-21T19:36:45  <dreimark> and then you can write wiki markup and by $\alpha$ you get an alpha sign
 181 2010-04-21T19:37:09  <ValentinJaniaut> dreimark: yep, but do you plan to support officialy one of these method for moin2 ?
 182 2010-04-21T19:37:10  <dreimark> moin0: i have transformed it to this
 183 2010-04-21T19:37:25  <dreimark> we haven't discussed yet
 184 2010-04-21T19:37:29  <dreimark> ValentinJaniaut: ^
 185 2010-04-21T19:37:36  <ValentinJaniaut> dreimark: ok !
 186 2010-04-21T19:37:43  <dreimark> mathran uses an external service
 187 2010-04-21T19:37:52  <ValentinJaniaut> dreimark: I do not like so much mathran
 188 2010-04-21T19:37:58  <dreimark> and it is quite safe for every other server
 189 2010-04-21T19:38:13  <dreimark> latex can't be used on the same server it is quite insecure
 190 2010-04-21T19:38:23  <ValentinJaniaut> dreimark: I quite like MathML, but it requires extensions to work correctly
 191 2010-04-21T19:38:39  <dreimark> i mean it is difficult to get is safe
 192 2010-04-21T19:38:49  <ValentinJaniaut> dreimark: I will see what is the easiest solution to be displayed correctly in a DocBook document
 193 2010-04-21T19:39:00  <ValentinJaniaut> dreimark: this my biggest priority
 194 2010-04-21T19:39:22  <dreimark> i have nothing against doint something different, it should be just as easy as latex
 195 2010-04-21T19:39:38  <dreimark> because scientific people use latex for publications
 196 2010-04-21T19:40:52  *** moin0 has quit IRC
 197 2010-04-21T19:41:04  <ValentinJaniaut> dreimark: yep, I personally use LaTeX
 198 2010-04-21T19:41:40  <ValentinJaniaut> dreimark: but, it is really good to be able to write document from the wiki and then process it into LaTeX (and so PDF) vio DocBook !
 199 2010-04-21T19:42:08  * dreimark likes that 
 200 2010-04-21T19:42:16  <dreimark> often i am asked if we can do this
 201 2010-04-21T19:42:42  <dreimark> and currently i can only do a document by create_PDF Document
 202 2010-04-21T19:42:45  <dreimark> brb
 203 2010-04-21T19:43:14  <ValentinJaniaut> dreimark: I did it for 3 reports already, always really nice result, with almost no any post-Processing operation,
 204 2010-04-21T19:43:32  <ValentinJaniaut> dreimark: using db2latex, you can really obtain whatever result you want
 205 2010-04-21T19:52:58  <dreimark> re
 206 2010-04-21T19:53:15  <dreimark> ValentinJaniaut: that sound very good
 207 2010-04-21T19:53:24  <dreimark> do you have an idea if svg graphics also can be used
 208 2010-04-21T19:54:37  <dreimark> i want people use svg on the web instead of ps/pdf converted to png
 209 2010-04-21T19:59:28  <ValentinJaniaut> dreimark: I am quite interested in, however I did not took time to find a solution
 210 2010-04-21T19:59:42  <ValentinJaniaut> dreimark: I know that it is possible to embed SWG directly inside of DocBook
 211 2010-04-21T20:00:27  <ValentinJaniaut> dreimark: so, we need to see how to keep the SVG in a page, with the new DOM tree it should be possible, without big trouble
 212 2010-04-21T20:06:11  *** dreimark is now known as moin_dreimark
 213 2010-04-21T20:12:08  *** gwork has quit IRC
 214 2010-04-21T20:13:22  *** JosefMeier has joined #moin-dev
 215 2010-04-21T20:13:32  *** moin_dreimark is now known as moinmoin|dreimar
 216 2010-04-21T20:13:40  *** moinmoin|dreimar is now known as moin|dreimark
 217 2010-04-21T20:31:19  <JosefMeier> dreimark: ThomasWaldmann : the locking mechanism is the problem
 218 2010-04-21T20:31:40  <JosefMeier> aquiring a lock takes too long on windows
 219 2010-04-21T20:32:11  <moin|dreimark> JosefMeier: aha - how can it be fasten up ?
 220 2010-04-21T20:33:13  <JosefMeier> why is locking different for posix and windows? locks are handled different for posix/windows. why?
 221 2010-04-21T20:34:01  <JosefMeier> btw: I found the problem in the code, which locks the group cache file
 222 2010-04-21T20:35:55  <moin|dreimark> because non posix filesystems misses some features
 223 2010-04-21T20:36:06  <moin|dreimark> for example the inode concept
 224 2010-04-21T20:37:00  <JosefMeier> puh
 225 2010-04-21T20:43:05  *** dreimark has joined #moin-dev
 226 2010-04-21T20:44:58  *** _buck has quit IRC
 227 2010-04-21T20:46:20  <JosefMeier> dreimark: is support for win95/98/me really required?
 228 2010-04-21T20:51:36  *** _buck has joined #moin-dev
 229 2010-04-21T20:54:33  <JosefMeier> dreimark: cause in the lock.py file is a comment which says, that the current lock implementation is not perfect but needed for win95/win98/win me. I would doubt that these os are widely spread today.
 230 2010-04-21T20:56:39  <JosefMeier> btw: my data directory is full of __lock__ directories which are rather old
 231 2010-04-21T20:56:51  <JosefMeier> seems as if they never are deleted
 232 2010-04-21T20:57:17  <JosefMeier> maybe this is a problem, cause then we always run in timeouts?
 233 2010-04-21T20:57:53  <JosefMeier> ... run in timeouts if the lock mechanism for windows can't create the lock cause a old one ever exists.
 234 2010-04-21T20:58:08  <dreimark> JosefMeier: i am currently at a irc meeting
 235 2010-04-21T20:59:01  <JosefMeier> dreimark: all cache directories in my data folder have old __lock__ directories in it!
 236 2010-04-21T21:03:36  <JosefMeier> ok. my theory seems to be wrong. cause moin also creates directories inside of the __lock__ dir. and this subdirs are the real lockfiles.
 237 2010-04-21T21:33:02  <JosefMeier> maybe my 17ms are the access time of my hard disk.
 238 2010-04-21T21:33:48  <JosefMeier> and maybe it makes sense to get the list of pages in a single transaction which only locks the group cache file once since the transaction is finished.
 239 2010-04-21T21:34:15  <JosefMeier> and not for every page access again and again
 240 2010-04-21T21:55:48  *** JosefMeier has quit IRC
 241 2010-04-21T21:58:05  *** JosefMeier has joined #moin-dev
 242 2010-04-21T22:22:52  *** moin9 has joined #moin-dev
 243 2010-04-21T22:24:04  *** JosefMeier has quit IRC
 244 2010-04-21T22:29:44  *** dreimark has quit IRC
 245 2010-04-21T22:29:48  *** moin|dreimark is now known as dreimark
 246 2010-04-21T22:37:01  <moin9> Maybe the cross platform python module "portalocker" provides a better locking mechanism. http://code.activestate.com/recipes/65203/
 247 2010-04-21T22:37:09  *** moin9 is now known as JosefMeier
 248 2010-04-21T22:37:41  <JosefMeier> it doesn't work on win95/win98 but ... who cares?
 249 2010-04-21T22:38:26  <JosefMeier> Here's also a way for file locking under windows with python (in german): http://aktuell.de.selfhtml.org/artikel/programmiertechnik/dateisperren/python.htm
 250 2010-04-21T22:39:06  <JosefMeier> both techniques don't use lock files but file system mechanisms similar to flock
 251 2010-04-21T22:40:52  <dreimark> hi
 252 2010-04-21T22:42:16  <dreimark> sounds interesting, needed to be compared to the stuff we currently do
 253 2010-04-21T22:44:41  <JosefMeier> I don't know if file system locking is faster than directory locking but it's maybe worth a look. I'm no locking specialist but I would at least recommend myself for testing new mechanisms on my windows systems
 254 2010-04-21T23:01:27  <JosefMeier> dreimark: Do you think, flock would be faster than directory locking?
 255 2010-04-21T23:01:36  <JosefMeier> ... on posix systems
 256 2010-04-21T23:01:39  <JosefMeier> ?
 257 2010-04-21T23:03:23  <dreimark> we should wait for waldi opinion (at least me does)
 258 2010-04-21T23:03:47  <dreimark> i think he knows it me must try or read
 259 2010-04-21T23:05:13  <JosefMeier> dreimark: waldi = waldi or ThomasWaldmann ?
 260 2010-04-21T23:07:41  <dreimark> JosefMeier: waldi is BastianBlank
 261 2010-04-21T23:12:37  <JosefMeier> ok
 262 2010-04-21T23:14:19  <diofeher> i'm leaving now... good night you all :)
 263 2010-04-21T23:14:28  *** diofeher has quit IRC
 264 2010-04-21T23:22:35  <ThomasWaldmann> re
 265 2010-04-21T23:27:32  *** JosefMeier has quit IRC
 266 2010-04-21T23:29:53  *** JosefMeier has joined #moin-dev
 267 2010-04-21T23:31:31  <JosefMeier> ThomasWaldmann: have you reviewed the python lock module "portalocker" before implementing the moin lock code?
 268 2010-04-21T23:40:20  *** JosefMeier has quit IRC
 269 2010-04-21T23:44:01  *** moin7 has joined #moin-dev
 270 2010-04-21T23:44:04  *** moin7 is now known as JosefMeier
 271 2010-04-21T23:45:14  <ThomasWaldmann> JosefMeier: name sounds familiar, but i can't remember
 272 2010-04-21T23:47:59  <JosefMeier> If I uncomment the line http://hg.moinmo.in/moin/1.9/file/c7dd42405e5a/MoinMoin/caching.py#l195 everything is rocket fast
 273 2010-04-21T23:48:56  <JosefMeier> It would be very interesting to check if file system locking is faster than moin's current locking method.
 274 2010-04-21T23:49:57  <JosefMeier> in both methods the os must read the file from the harddisk. so harddisk access time will always occur, isn't it?
 275 2010-04-21T23:50:39  *** xorAxAx has quit IRC
 276 2010-04-21T23:51:35  <JosefMeier> this should also happen with posix's flock method. but that's only an assumption from me
 277 2010-04-21T23:57:13  <ThomasWaldmann> you use linux or windows?
 278 2010-04-21T23:59:06  <JosefMeier> windows

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-04-21 (last edited 2010-04-20 22:45:03 by IrcLogImporter)