1 2010-07-27T00:00:35  *** RogerHaase has left #moin-dev
   2 2010-07-27T00:24:36  <valeuf> ThomasWaldmann: ok, here is the last patch http://paste.pocoo.org/show/242013/ for the smiley, with ignored tags, and no known bugs ^^
   3 2010-07-27T00:25:04  <valeuf> ThomasWaldmann: it works with flask also, if you are fine with this, you can merge back to the main repos
   4 2010-07-27T00:25:14  <valeuf> (NB : I move the smiley into
   5 2010-07-27T00:25:19  <valeuf> a smileys subdirectory)
   6 2010-07-27T00:29:41  <ThomasWaldmann> line 26 TODO:
   7 2010-07-27T00:29:56  <valeuf> ThomasWaldmann: I think I am wrong with all the TODO
   8 2010-07-27T00:30:11  <ThomasWaldmann> and what does that mean "grab change..."?
   9 2010-07-27T00:30:36  <valeuf> grab = retrieve, fetch
  10 2010-07-27T00:30:40  <ThomasWaldmann> typo in 29
  11 2010-07-27T00:30:51  <ThomasWaldmann> what change?
  12 2010-07-27T00:30:53  <valeuf> ThomasWaldmann: got it
  13 2010-07-27T00:31:19  <valeuf> ThomasWaldmann: my idea was to detect if the smiley list was different in the theme, but I agree it is not really clear
  14 2010-07-27T00:32:59  <ThomasWaldmann> hmm, it looks like raw strings are not as raw as i expected
  15 2010-07-27T00:33:14  <valeuf> ThomasWaldmann: http://stackoverflow.com/questions/647769/why-cant-pythons-raw-string-literals-end-with-a-single-backslash
  16 2010-07-27T00:33:28  <valeuf> ThomasWaldmann: I get stuck with that for a long time ...
  17 2010-07-27T00:35:31  <ThomasWaldmann> the dom has just code/blockcode? nothing called pre or so?
  18 2010-07-27T00:36:42  <ThomasWaldmann> maybe use smileys.keys() instead of config.smileys
  19 2010-07-27T00:36:58  <ThomasWaldmann> ehrm, icons.keys()
  20 2010-07-27T00:38:53  <valeuf> ThomasWaldmann: yep, actually, I was looking if we won't have to handle icon, but I think it was never used in the content of the page
  21 2010-07-27T00:40:01  <ThomasWaldmann> 117 -> .strip()?
  22 2010-07-27T00:40:47  <valeuf> ThomasWaldmann: as you can see on this page : http://moinmo.in/ValentinJaniaut/GSoC/TreeOutputModification there is no pre element in the DOM tree
  23 2010-07-27T00:41:34  <valeuf> ThomasWaldmann: yes strip is better
  24 2010-07-27T00:43:04  <ThomasWaldmann> are you doing this in your local repo workdir?
  25 2010-07-27T00:43:28  <valeuf> ThomasWaldmann: no I worked in a copy of my local repo
  26 2010-07-27T00:43:41  <valeuf> ThomasWaldmann: I did not want to mess up my working directory
  27 2010-07-27T00:43:58  <ThomasWaldmann> (btw, for the smileys use hg mv from to)
  28 2010-07-27T00:44:36  <ThomasWaldmann> just a diff won't be enough for that, so either do a binary changeset export
  29 2010-07-27T00:44:55  <ThomasWaldmann> or just commit it to your repo and i merge it back to main
  30 2010-07-27T00:45:00  <dreimark> our bot seems to sleep
  31 2010-07-27T00:45:20  <valeuf> ThomasWaldmann: what do you prefer? Commit to my repos or the binary changeset?
  32 2010-07-27T00:46:05  * dreimark changeset 9100:a6d13ae569b6 userprefs: template for prefs
  33 2010-07-27T00:46:20  <ThomasWaldmann> commit to your repo would be easier
  34 2010-07-27T00:46:49  <CIA-51> Reimar Bauer <rb.proj AT googlemail DOT com> default * 9100:a6d13ae569b6 2.0-dev/MoinMoin/ (userprefs/prefs.py templates/userprefs.html): userprefs: template for prefs
  35 2010-07-27T00:47:08  <dreimark> hmm - delay 2 mins
  36 2010-07-27T00:47:33  * ThomasWaldmann works on copy/delete/rename/... actions
  37 2010-07-27T00:56:21  <valeuf> ThomasWaldmann: where is wsgiapp? py.test complain I do not have it after my last merge with the main repo
  38 2010-07-27T00:57:15  <valeuf> nevermind, something was wrong in my configuration, it's fixed now
  39 2010-07-27T00:59:01  <ThomasWaldmann> wsgiapp is gone
  40 2010-07-27T00:59:17  <valeuf> ThomasWaldmann: yep, but there is still some reference
  41 2010-07-27T00:59:32  <ThomasWaldmann> it is MoinMoin.app now (in __init__)
  42 2010-07-27T00:59:38  <ThomasWaldmann> have to check
  43 2010-07-27T01:00:16  <valeuf> ThomasWaldmann: there is still the test_wsgiapp.py file
  44 2010-07-27T01:00:58  <ThomasWaldmann> will clean up :)
  45 2010-07-27T01:01:40  <valeuf> ThomasWaldmann: except that it works really fine ^ ^
  46 2010-07-27T01:04:40  <valeuf> ThomasWaldmann: ok I pushed my merge with the main moin2.0 repos and my commit for the smiley in my repo
  47 2010-07-27T01:05:30  <CIA-51> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9108:ebcbf6349ba6 2.0-dev-docbook-html-vjaniaut/ (1102 files in 212 dirs): Merge against the main moin2.0 repos
  48 2010-07-27T01:05:33  <valeuf> I going to bed now, good luck with copy/delete/rename actions ^ ^
  49 2010-07-27T01:06:04  <ThomasWaldmann> gn :)
  50 2010-07-27T01:08:15  <CIA-51> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9109:e745aba7f31a 2.0-dev-docbook-html-vjaniaut/MoinMoin/ (53 files in 5 dirs): Add support for the smiley conversion
  51 2010-07-27T01:08:18  <CIA-51> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9111:6f80eb6c21d9 2.0-dev-docbook-html-vjaniaut/MoinMoin/ (28 files in 4 dirs): Merge with my clone repos for the smiley
  52 2010-07-27T01:08:20  <CIA-51> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9112:3d830255465e 2.0-dev-docbook-html-vjaniaut/MoinMoin/ (userprefs/prefs.py templates/userprefs.html): Merge with the main moin2.0 repos
  53 2010-07-27T01:21:32  <dreimark> gn
  54 2010-07-27T01:40:07  *** valeuf has quit IRC
  55 2010-07-27T01:40:31  *** valeuf has joined #moin-dev
  56 2010-07-27T01:55:18  *** valeuf has quit IRC
  57 2010-07-27T01:55:55  *** valeuf has joined #moin-dev
  58 2010-07-27T02:02:07  <CIA-51> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9101:5a6b70648e50 2.0-dev/MoinMoin/ (12 files in 5 dirs): refactored copy/delete/destroy/rename/revert (TODO: fix POST problem)
  59 2010-07-27T02:02:09  <CIA-51> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9102:cebbd9b7add3 2.0-dev/MoinMoin/ (userprefs/prefs.py templates/userprefs.html): merged main
  60 2010-07-27T02:11:32  *** valeuf has quit IRC
  61 2010-07-27T02:11:43  *** valeuf has joined #moin-dev
  62 2010-07-27T02:22:18  *** valeuf has quit IRC
  63 2010-07-27T02:22:27  *** valeuf has joined #moin-dev
  64 2010-07-27T02:38:28  *** valeuf has quit IRC
  65 2010-07-27T02:39:11  *** valeuf has joined #moin-dev
  66 2010-07-27T02:54:04  *** valeuf has quit IRC
  67 2010-07-27T02:54:40  *** valeuf has joined #moin-dev
  68 2010-07-27T03:09:33  *** valeuf has quit IRC
  69 2010-07-27T03:10:28  *** valeuf has joined #moin-dev
  70 2010-07-27T03:48:55  *** grzywacz has quit IRC
  71 2010-07-27T05:20:42  *** valeuf has quit IRC
  72 2010-07-27T05:21:09  *** valeuf has joined #moin-dev
  73 2010-07-27T05:26:57  *** valeuf has quit IRC
  74 2010-07-27T05:27:59  *** valeuf has joined #moin-dev
  75 2010-07-27T05:38:48  *** valeuf has quit IRC
  76 2010-07-27T05:38:52  *** valeuf has joined #moin-dev
  77 2010-07-27T05:47:12  *** valeuf has quit IRC
  78 2010-07-27T05:47:16  *** valeuf has joined #moin-dev
  79 2010-07-27T06:00:52  *** valeuf has quit IRC
  80 2010-07-27T06:01:06  *** ei-grad has quit IRC
  81 2010-07-27T06:01:06  *** franklin has quit IRC
  82 2010-07-27T06:02:57  *** valeuf has joined #moin-dev
  83 2010-07-27T06:02:57  *** ei-grad has joined #moin-dev
  84 2010-07-27T06:02:57  *** franklin has joined #moin-dev
  85 2010-07-27T06:03:47  *** valeuf has quit IRC
  86 2010-07-27T06:03:55  *** ei-grad has quit IRC
  87 2010-07-27T06:03:57  *** franklin has quit IRC
  88 2010-07-27T06:05:56  *** ChanServ has quit IRC
  89 2010-07-27T06:06:13  *** franklin has joined #moin-dev
  90 2010-07-27T06:06:13  *** ei-grad has joined #moin-dev
  91 2010-07-27T06:06:13  *** ChanServ has joined #moin-dev
  92 2010-07-27T06:06:13  *** wolfe.freenode.net sets mode: +o ChanServ
  93 2010-07-27T06:07:27  *** moinBot` has joined #moin-dev
  94 2010-07-27T06:08:17  *** valeuf has joined #moin-dev
  95 2010-07-27T06:08:37  *** franklin has joined #moin-dev
  96 2010-07-27T06:08:37  *** ei-grad has joined #moin-dev
  97 2010-07-27T06:08:37  *** ChanServ has joined #moin-dev
  98 2010-07-27T06:08:37  *** gibson.freenode.net sets mode: +o ChanServ
  99 2010-07-27T06:09:37  *** ei-grad has quit IRC
 100 2010-07-27T06:09:37  *** franklin has quit IRC
 101 2010-07-27T06:09:47  *** ChanServ has quit IRC
 102 2010-07-27T06:09:47  *** moinBot has quit IRC
 103 2010-07-27T06:14:39  *** franklin has joined #moin-dev
 104 2010-07-27T06:14:39  *** ei-grad has joined #moin-dev
 105 2010-07-27T06:14:39  *** ChanServ has joined #moin-dev
 106 2010-07-27T06:14:39  *** gibson.freenode.net sets mode: +o ChanServ
 107 2010-07-27T06:15:32  *** waldi has quit IRC
 108 2010-07-27T06:15:34  *** ei-grad has quit IRC
 109 2010-07-27T06:15:34  *** franklin has quit IRC
 110 2010-07-27T06:15:43  *** ChanServ has quit IRC
 111 2010-07-27T06:15:45  *** dreimark has quit IRC
 112 2010-07-27T06:18:44  *** ChanServ has joined #moin-dev
 113 2010-07-27T06:18:44  *** ei-grad has joined #moin-dev
 114 2010-07-27T06:18:44  *** franklin has joined #moin-dev
 115 2010-07-27T06:18:44  *** waldi has joined #moin-dev
 116 2010-07-27T06:18:44  *** dreimark has joined #moin-dev
 117 2010-07-27T06:18:44  *** gibson.freenode.net sets mode: +o ChanServ
 118 2010-07-27T06:19:16  *** valeuf has quit IRC
 119 2010-07-27T06:19:49  *** valeuf_ has joined #moin-dev
 120 2010-07-27T06:26:38  *** valeuf_ has quit IRC
 121 2010-07-27T06:27:34  *** valeuf has joined #moin-dev
 122 2010-07-27T06:38:26  *** valeuf has quit IRC
 123 2010-07-27T06:38:30  *** valeuf has joined #moin-dev
 124 2010-07-27T06:54:31  *** valeuf has quit IRC
 125 2010-07-27T06:54:57  *** valeuf has joined #moin-dev
 126 2010-07-27T07:03:06  *** valeuf has quit IRC
 127 2010-07-27T07:03:38  *** valeuf has joined #moin-dev
 128 2010-07-27T07:14:23  *** valeuf_ has joined #moin-dev
 129 2010-07-27T07:15:08  *** valeuf has quit IRC
 130 2010-07-27T07:26:30  *** valeuf_ has quit IRC
 131 2010-07-27T07:27:28  *** valeuf has joined #moin-dev
 132 2010-07-27T07:27:38  *** xjjk has quit IRC
 133 2010-07-27T07:41:38  *** valeuf has quit IRC
 134 2010-07-27T07:42:28  *** valeuf has joined #moin-dev
 135 2010-07-27T07:53:58  *** valeuf has quit IRC
 136 2010-07-27T07:54:10  *** valeuf has joined #moin-dev
 137 2010-07-27T08:08:55  *** valeuf has quit IRC
 138 2010-07-27T08:09:39  *** valeuf has joined #moin-dev
 139 2010-07-27T08:28:59  *** ebo^ has joined #moin-dev
 140 2010-07-27T09:40:52  <ThomasWaldmann> moin
 141 2010-07-27T09:45:28  <ebo^> moin :-)
 142 2010-07-27T09:48:23  <ThomasWaldmann> ebo^: hi. if you're doing moin development or want to help with it, just ask.
 143 2010-07-27T09:48:45  <ebo^> I'm Jörg ... from EP
 144 2010-07-27T09:49:39  <ThomasWaldmann> ah :) wb!
 145 2010-07-27T09:53:28  <valeuf> moin
 146 2010-07-27T09:56:16  <ThomasWaldmann> btw, i am a little bit stuck with the rename/delete/copy stuff, it does the GET ok, but if you submit (POST), it somehow crashes with 500 - but no debugger, no traceback.
 147 2010-07-27T09:57:25  <ThomasWaldmann> (it's in the actions menu and the views are in MoinMoin/apps/frontend/views.py
 148 2010-07-27T09:57:26  <ThomasWaldmann> )
 149 2010-07-27T10:01:36  *** grzywacz has joined #moin-dev
 150 2010-07-27T11:03:29  *** grzywacz has quit IRC
 151 2010-07-27T12:26:06  <dreimark> moin
 152 2010-07-27T12:28:05  <ThomasWaldmann> hi dreimark
 153 2010-07-27T12:29:38  <dreimark> ThomasWaldmann: do you see http://paste.pocoo.org/show/242153/ too?
 154 2010-07-27T12:31:04  <dreimark> had seen this yesterday on the notebook too
 155 2010-07-27T12:31:59  <dreimark> + now in the url :)
 156 2010-07-27T12:32:45  <dreimark> rename of WikiSandBox doesn't show a 500 but takes ages
 157 2010-07-27T12:32:52  <ThomasWaldmann> hmm, i did multiple renames, but I didn't see that (and I didn't think I did something evil :)
 158 2010-07-27T12:32:59  <valeuf> dreimark: I saw this too
 159 2010-07-27T12:33:14  <ThomasWaldmann> the error shows after cancelling the request and doing the next
 160 2010-07-27T12:34:03  <ThomasWaldmann> global_history is used for "Recent Changes" style global history
 161 2010-07-27T12:34:30  <ThomasWaldmann> history is used for per-item local history (like info->history in 1.9)
 162 2010-07-27T12:35:43  <dreimark> strange "handlers need to give it" right of logo
 163 2010-07-27T12:36:01  <CIA-51> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9113:8c402d6f10df 2.0-dev-docbook-html-vjaniaut/ (1130 files in 216 dirs): Merge against moin2.0/dev repos
 164 2010-07-27T12:36:19  <ThomasWaldmann> that's when item_name is not being set by the handler, needs more cleanup for the actions
 165 2010-07-27T12:36:42  <CIA-51> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9116:306cf2778a14 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_out.py: Add warning message for unsupported and unknown tag for DocBook_out converter
 166 2010-07-27T12:36:42  <CIA-51> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9115:9362b2cab658 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/ (_tests/test_docbook_out.py docbook_out.py): Add support for <code> element for the DocBook_out converter
 167 2010-07-27T12:36:42  <CIA-51> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9114:3f08c31b1bb5 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_out.py: Pylinting docbook_out code
 168 2010-07-27T12:36:42  <CIA-51> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 9117:c65a8bbc5108 2.0-dev-docbook-html-vjaniaut/: Merge againsh dev/moin2.0 repos
 169 2010-07-27T12:36:43  *** aa_ has quit IRC
 170 2010-07-27T12:36:43  *** aa_ has joined #moin-dev
 171 2010-07-27T12:37:06  <ThomasWaldmann> if a handler operates on an item, there should be just the item name
 172 2010-07-27T12:37:14  * dreimark can't rename but don't see a 500 too. 
 173 2010-07-27T12:37:26  <dreimark> browser stop
 174 2010-07-27T12:37:31  <ThomasWaldmann> if it is a global handler, there should be something else (no idea yet)
 175 2010-07-27T12:37:40  <dreimark> selecting FindPage wants to rename Findpage then
 176 2010-07-27T12:37:52  <dreimark> cancel also takes much time
 177 2010-07-27T12:38:45  <dreimark> browser stop
 178 2010-07-27T12:38:50  <ThomasWaldmann> btw, any comments about Index, Supplementation Items List?
 179 2010-07-27T12:39:17  <valeuf> ThomasWaldmann: I think a little bit more to the get and conversion problem
 180 2010-07-27T12:39:36  <valeuf> ThomasWaldmann: I think we should still use get action, since it is the action te "get" an item
 181 2010-07-27T12:40:02  <valeuf> ThomasWaldmann: however, if there is a different mimetype than the mimetype of the item given in the parameter of the request
 182 2010-07-27T12:40:11  <valeuf> ThomasWaldmann: we should delegate the conversion, and the action to the convert action
 183 2010-07-27T12:41:46  <dreimark> index is showing the hierachy but only at one level
 184 2010-07-27T12:42:02  <dreimark> http://localhost:8080/NewPage/examples/nextlevel
 185 2010-07-27T12:42:05  <ThomasWaldmann> that is intended
 186 2010-07-27T12:42:22  <ThomasWaldmann> (and on purpose) it is using flat_index() internally
 187 2010-07-27T12:43:29  <dreimark> hmm it is confusing, http://localhost:8080/%2Bindex/NewPage/examples itselfs is a subitem and has also a subitem
 188 2010-07-27T12:45:13  <dreimark> it is similiar to children of Navigation, so siblings would be missing
 189 2010-07-27T12:45:34  <dreimark> also i think something which shows the complete tree would be better
 190 2010-07-27T12:46:14  <dreimark> the current question is what all is a subitem of the item
 191 2010-07-27T12:46:15  <ThomasWaldmann> i wanted to have something usable in the same way on all levels
 192 2010-07-27T12:46:50  <ThomasWaldmann> and displaying all subitems of imaginary root item would display whole wiki contents, including all "attached files" etc.
 193 2010-07-27T12:47:15  <dreimark> a tree information will also show it on every starting point
 194 2010-07-27T12:47:45  <dreimark> yes we can use some filters as a filemanager did, small, details e.g.
 195 2010-07-27T12:47:48  <ThomasWaldmann> if we have some advanced tree UI element, we could maybe show expandable tree
 196 2010-07-27T12:47:58  <dreimark> yes
 197 2010-07-27T12:52:01  <dreimark> discussion :)
 198 2010-07-27T12:52:52  <dreimark> hmm, may be the root http://localhost:8080/Discussion should become special cased
 199 2010-07-27T12:52:55  <dreimark> not sure
 200 2010-07-27T12:54:05  <dreimark> we also should think about items which can only be used as the last item
 201 2010-07-27T12:54:46  <dreimark> e.g. which ommits to do http://localhost:8080/FrontPage/Discussion/dfdf/Discussion
 202 2010-07-27T12:55:28  <dreimark> s/ommits/prohibit/
 203 2010-07-27T12:56:52  <dreimark> e.g. it may be useful to have a subitem which until it exists makes it impossible to add further subitems below e.g. Discussion
 204 2010-07-27T12:57:04  <dreimark> s/unitl/as long as/
 205 2010-07-27T12:58:02  <dreimark> bbl
 206 2010-07-27T13:14:13  <valeuf> There is one dependency to PIL which was not written in the dependency file
 207 2010-07-27T13:14:39  <valeuf> PIL is usually not so easy to install, and not really multiplateform, it is only use for some basic operation for imagess items
 208 2010-07-27T13:15:06  <valeuf> maybe we should see to make this dependency optional?
 209 2010-07-27T13:15:24  <valeuf> it is already done, but I mean, we should write these information for the package
 210 2010-07-27T14:05:28  *** AaronZhang has joined #moin-dev
 211 2010-07-27T14:05:40  *** AaronZhang has left #moin-dev
 212 2010-07-27T14:12:57  <valeuf> that's cool with flask you do not have to restart wikiserver at each change, it is automatically detected correctly ^ ^
 213 2010-07-27T14:57:12  *** RogerHaase has joined #moin-dev
 214 2010-07-27T15:12:03  *** valeuf has quit IRC
 215 2010-07-27T15:12:10  *** valeuf has joined #moin-dev
 216 2010-07-27T15:13:59  <ThomasWaldmann> valeuf: PIL is optional (at least it should be)
 217 2010-07-27T15:28:22  <CIA-51> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9103:36f1cbe38681 2.0-dev/MoinMoin/ (apps/frontend/views.py auth/__init__.py): dummy stubs for register/recoverpass
 218 2010-07-27T15:32:07  <CIA-51> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9104:834f9abe2af5 2.0-dev/MoinMoin/ (templates/layout.html theme/__init__.py): use url_for for login/logout
 219 2010-07-27T16:13:57  <CIA-51> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9105:f85b670340ca 2.0-dev/MoinMoin/ (10 files in 5 dirs):
 220 2010-07-27T16:13:57  <CIA-51> use url_for('endpoint', ...) instead of href(), add some missing endpoints
 221 2010-07-27T16:13:57  <CIA-51> implement frontend.highlight
 222 2010-07-27T16:13:57  <CIA-51> add app for misc. kinds of feeds, currently only a stub for feed.atom
 223 2010-07-27T16:18:11  <ThomasWaldmann> diofeher: SOC is waiting for you :)
 224 2010-07-27T16:28:52  <valeuf> Review pleas : http://paste.pocoo.org/show/242204/
 225 2010-07-27T16:29:02  <valeuf> I am not sure the way I used to call child method is really clean and nice
 226 2010-07-27T16:29:10  <valeuf> *please:
 227 2010-07-27T16:29:56  <valeuf> the idea is to get a convert action, with a method which does the general conversion for the text items, then each items get a specific method to finalize correctly the conversion (like adding mimetype and so ...)
 228 2010-07-27T16:35:05  <dreimark> don't use i
 229 2010-07-27T16:35:09  <dreimark> see pylint
 230 2010-07-27T16:36:34  <dreimark> if method is not None: ?? if method ?
 231 2010-07-27T16:37:14  <dreimark> from emeraldtree.tree import *?? is a * really needed
 232 2010-07-27T16:38:06  <dreimark> "After creation of the StringIO, the pointer is at the and"
 233 2010-07-27T16:38:28  <dreimark> s/and/end/ ? but not sure which pointer ?
 234 2010-07-27T16:39:26  <diofeher> moin!
 235 2010-07-27T16:39:30  <diofeher> using flask now? awesome :D
 236 2010-07-27T16:39:46  <diofeher> i'm reading diff here
 237 2010-07-27T16:43:24  <ThomasWaldmann> your todo page just got an update with todo for this week
 238 2010-07-27T16:45:05  <ThomasWaldmann> btw, you need to work a bit more concentrated now as you missed a full week and you are behind schedule
 239 2010-07-27T16:45:35  <diofeher> ThomasWaldmann: i know... ^^
 240 2010-07-27T16:45:41  <diofeher> full full time this week
 241 2010-07-27T16:46:25  <dreimark> ei-grad: where are your changesets or diary entries ?
 242 2010-07-27T16:46:50  <ThomasWaldmann> don't underestimate the static stuff btw. cleaning up / rewriting all the css in a good way will need some time, also the images and js stuff
 243 2010-07-27T16:47:46  <dreimark> ei-grad: last commit Wed Jul 07
 244 2010-07-27T16:47:51  <dreimark> 20 days ago
 245 2010-07-27T16:47:56  <dreimark> what are you doing?
 246 2010-07-27T16:48:38  <ThomasWaldmann> -> email
 247 2010-07-27T16:49:03  <diofeher> uh, front page broken
 248 2010-07-27T16:50:44  <diofeher> http://paste.pocoo.org/show/242210/
 249 2010-07-27T16:51:49  <ThomasWaldmann> oops
 250 2010-07-27T16:52:28  <ThomasWaldmann> works for me
 251 2010-07-27T16:53:38  <ThomasWaldmann> diofeher: is you repo current?
 252 2010-07-27T16:53:58  <diofeher> yea, updated from my repo and from main
 253 2010-07-27T16:54:09  <ThomasWaldmann> hg heads shows?
 254 2010-07-27T16:54:58  <diofeher> hg heads
 255 2010-07-27T16:54:58  <diofeher> changeset:   9105:f85b670340ca
 256 2010-07-27T16:54:58  <diofeher> tag:         tip
 257 2010-07-27T16:54:58  <diofeher> user:        Thomas Waldmann <tw AT waldmann-edv DOT de>
 258 2010-07-27T16:54:58  <diofeher> date:        Tue Jul 27 16:13:50 2010 +0200
 259 2010-07-27T16:55:12  <ThomasWaldmann> do you have uncommitted changes in your workdir?
 260 2010-07-27T16:55:36  <ThomasWaldmann> if not, try hg up -C
 261 2010-07-27T16:56:07  <diofeher> 69 changesets found
 262 2010-07-27T16:56:27  <diofeher> when pulled from main repo, i've updated, not merged
 263 2010-07-27T16:56:45  <ThomasWaldmann> ah wait, i see the problem
 264 2010-07-27T16:57:31  <CIA-51> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9106:4354ea8fa6b7 2.0-dev/MoinMoin/templates/editbar.html: fix quicklink and subscribe endpoints
 265 2010-07-27T16:57:47  <ThomasWaldmann> try with that ^^
 266 2010-07-27T16:58:11  <ThomasWaldmann> as creating a new user currently does not work, it is a bit hard to test in a fresh wiki X)
 267 2010-07-27T16:58:41  <diofeher> xD
 268 2010-07-27T16:58:45  <diofeher> now it's working
 269 2010-07-27T16:59:33  <diofeher> well, i'm going to push this to my repository, get ready for flood in channel :)
 270 2010-07-27T16:59:58  <ThomasWaldmann> there is a dupe filter, so it shouldn't reannounce changesets
 271 2010-07-27T17:04:46  <diofeher> nice ^^
 272 2010-07-27T17:10:39  <CIA-51> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9107:154bc9e1967a 2.0-dev/MoinMoin/theme/__init__.py: theme.render temp fix, add TODO to get rid of theme.render and theme.send_title
 273 2010-07-27T17:12:02  <valeuf> dreimark: thanks, I fixed the issues you pointed out
 274 2010-07-27T17:12:33  <valeuf> dreimark: by pointer, I was meaning the position in the file, I rewrote these comments for something more clear
 275 2010-07-27T17:12:46  <valeuf> last version of the commit
 276 2010-07-27T17:12:50  <valeuf> http://paste.pocoo.org/show/242219/
 277 2010-07-27T17:13:17  <valeuf> any thoughts about the way I used to access to the method of the child class?
 278 2010-07-27T17:19:30  <ThomasWaldmann> is it intended that you give the wanted mimetype to create()?
 279 2010-07-27T17:20:13  <ThomasWaldmann> the target mimetype of the conversion I mean
 280 2010-07-27T17:20:28  <valeuf> to create?
 281 2010-07-27T17:20:29  <valeuf> where
 282 2010-07-27T17:20:36  <ThomasWaldmann> item = Item.create(g.context, item_name, mimetype=mimetype, rev_no=-1)
 283 2010-07-27T17:20:51  <ThomasWaldmann> (in views.py:65)
 284 2010-07-27T17:21:27  <ThomasWaldmann> btw, that do_* stuff is already gone
 285 2010-07-27T17:22:03  <valeuf> ThomasWaldmann: hum, actually, it was some try to see if I could have a better way to call a finalize_conversion specific to the wanted mimetype object
 286 2010-07-27T17:22:05  <ThomasWaldmann> (not completely yet, but half of it at least)
 287 2010-07-27T17:22:17  <valeuf> ThomasWaldmann: well, what should I use so?
 288 2010-07-27T17:22:26  <valeuf> ThomasWaldmann: just a function convert?
 289 2010-07-27T17:22:31  *** ebo^ has quit IRC
 290 2010-07-27T17:22:44  <ThomasWaldmann> do_xxx was the user interface, that is in views.py now
 291 2010-07-27T17:22:57  <ThomasWaldmann> xxx is the method that really does something
 292 2010-07-27T17:23:03  <valeuf> ThomasWaldmann: ok, I see
 293 2010-07-27T17:23:14  <valeuf> ThomasWaldmann: I will try a new way so, I suddenly got another idea
 294 2010-07-27T17:26:21  <ThomasWaldmann> in to_conv you don't use to_mimetype
 295 2010-07-27T17:26:51  <valeuf> ThomasWaldmann: ah yes, I was doing test, I forget to revert, thanks
 296 2010-07-27T17:28:18  <ThomasWaldmann> also that code is somehow generic, but somehow not
 297 2010-07-27T17:28:26  <ThomasWaldmann> maybe try to make it generic :)
 298 2010-07-27T17:28:39  <valeuf> ThomasWaldmann: yep, I got a new idea for that
 299 2010-07-27T17:29:07  <valeuf> ThomasWaldmann: btw, it was more complicate than I expected
 300 2010-07-27T17:30:27  * ThomasWaldmann tries to fix newaccount/register
 301 2010-07-27T17:35:15  <valeuf> btw, thanks for your help dreimark and ThomasWaldmann ^^
 302 2010-07-27T17:40:28  <ThomasWaldmann> thanks for your help :)
 303 2010-07-27T18:15:20  <CIA-51> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9108:f820066c6160 2.0-dev/MoinMoin/ (4 files in 4 dirs): implemented frontend.register endpoint (was: newaccount action)
 304 2010-07-27T18:16:38  <ThomasWaldmann> diofeher: you're working on what currently?
 305 2010-07-27T18:30:36  <diofeher> ThomasWaldmann: reading through the diff
 306 2010-07-27T18:31:10  <diofeher> ThomasWaldmann: well, i was lunching but gonna start to review theme code
 307 2010-07-27T18:31:57  <CIA-51> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9109:1f56622ea90b 2.0-dev/MoinMoin/apps/frontend/views.py: views: some cleanup
 308 2010-07-27T18:43:53  <CIA-51> Diogenes Augusto Fernandes Herminio <diofeher@gmail.com> default * 9108:860d2d272c4a 2.0-dev-jinja2-plugins-dfeher/MoinMoin/theme/__init__.py: [templating] replaced calls from storage.has_item() to item_exists()
 309 2010-07-27T18:45:01  *** grzywacz has joined #moin-dev
 310 2010-07-27T18:46:55  <CIA-51> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9110:eba8257bc8f2 2.0-dev/MoinMoin/ (6 files in 3 dirs): templates: cleanup, add some headlines
 311 2010-07-27T18:50:38  <diofeher> *if Flask isn't installed in pythonpath, py.test doesn't works'
 312 2010-07-27T18:53:10  <CIA-51> Diogenes Augusto Fernandes Herminio <diofeher@gmail.com> default * 9109:35b732a64c7d 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (5 files in 2 dirs): [templating] get rid of ThemeBase.render()
 313 2010-07-27T18:55:28  <diofeher> i think we can move userprefs stuff to one separate app in apps
 314 2010-07-27T19:06:39  <CIA-51> Diogenes Augusto Fernandes Herminio <diofeher@gmail.com> default * 9110:c29010579bb1 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/layout.html theme/__init__.py): [templating] added docstrings to ThemeBase functions and removed unused variables
 315 2010-07-27T19:08:02  <diofeher> what # XXX comments mean?
 316 2010-07-27T19:13:32  <ThomasWaldmann> something that should be noted
 317 2010-07-27T19:13:47  <ThomasWaldmann> and maybe get fixed later
 318 2010-07-27T19:15:24  <diofeher> ah ok
 319 2010-07-27T19:15:28  <ThomasWaldmann>     1.10 -        # TODO: get rid of all calls to this, call render_template of flask directly
 320 2010-07-27T19:15:35  <ThomasWaldmann>     1.12 +        raise DeprecationWarning("Using send_title is deprecated! Use return_template of flask directly.")
 321 2010-07-27T19:15:50  <ThomasWaldmann> you still don't read your diffs?
 322 2010-07-27T19:16:32  <diofeher> i read. i thought this would make sense
 323 2010-07-27T19:16:45  <ThomasWaldmann> return_template?
 324 2010-07-27T19:17:10  <diofeher> yea, now i see i've misleaded ^^
 325 2010-07-27T19:18:25  <diofeher> gonna fi
 326 2010-07-27T19:18:28  <diofeher> fix*
 327 2010-07-27T19:18:50  <ThomasWaldmann>     2.39 +            url = item_name  #no need to use href, item_name is already an url
 328 2010-07-27T19:18:53  <ThomasWaldmann> wtf?
 329 2010-07-27T19:19:39  <diofeher> if wikiutil.is_URL(item_name):
 330 2010-07-27T19:21:33  <ThomasWaldmann> if you notice that the names are wrong, how about fixing the names instead of adding comments?
 331 2010-07-27T19:22:38  <ThomasWaldmann> (the wrong names are likely not your fault, but still ...)
 332 2010-07-27T19:27:44  <ThomasWaldmann> hmm, login works now, but sessions not
 333 2010-07-27T19:28:05  <diofeher> hm, understand what you've said about names
 334 2010-07-27T19:28:20  <diofeher> but 'no need of use href' refers to request.href not to variable name
 335 2010-07-27T19:28:21  <diofeher> ^^
 336 2010-07-27T19:28:25  * ThomasWaldmann thinks about maybe killing our session managment and just using the clientside sessions of flask
 337 2010-07-27T19:28:27  <diofeher> anyway, going to fix this
 338 2010-07-27T19:28:51  <ThomasWaldmann> "item_name is already an url"
 339 2010-07-27T19:29:05  <ThomasWaldmann> that means that the name is too specific
 340 2010-07-27T19:29:30  <ThomasWaldmann> if it could be an url or an item_name or some other target spec, maybe it should be just named "target"?
 341 2010-07-27T19:30:34  <diofeher> hmm good idea
 342 2010-07-27T19:30:38  <ThomasWaldmann> the only problem I see right now is that clientside sessions might blow up when getting bigger than 4K for spec compliant browsers
 343 2010-07-27T19:31:00  <TheSheep> ThomasWaldmann: clientside sessions are neat!
 344 2010-07-27T19:31:12  <ThomasWaldmann> also, sizeof(cookie) travels over the line all the time
 345 2010-07-27T19:31:21  <TheSheep> ThomasWaldmann: especially since moin doesn't even really need much of that crypto security
 346 2010-07-27T19:31:44  <ThomasWaldmann> why?
 347 2010-07-27T19:32:18  <TheSheep> ThomasWaldmann: because most of what you keep in the session are just use prefs which he can modify at will anyways
 348 2010-07-27T19:32:22  <ThomasWaldmann> (flask / werkzeug sessions are crypto signed, so they should be tamper-safe)
 349 2010-07-27T19:32:49  <ThomasWaldmann> well, most, but not the user id :)
 350 2010-07-27T19:34:09  <ThomasWaldmann> i guess we'ld save some disk accesses on the server and exchange that for some more traffic going over the wire
 351 2010-07-27T19:34:23  <TheSheep> depends on what's cheaper
 352 2010-07-27T19:34:39  <TheSheep> javascript localstorage would be perfect
 353 2010-07-27T19:34:53  <ThomasWaldmann> and if someone has an insane long trail, it might blow up
 354 2010-07-27T19:35:04  <TheSheep> you just send some js on the page when you want to change something
 355 2010-07-27T19:35:24  <TheSheep> and send js on pages in places that need to differ depending on preferences
 356 2010-07-27T19:35:39  <TheSheep> it caches perfectly and doesn't take up cookie space
 357 2010-07-27T19:36:06  <TheSheep> js-based trial may even just use browser's history directly
 358 2010-07-27T19:36:54  <TheSheep> ThomasWaldmann: oi, you can't use those cookie sessions, bookmarks would not travel from computer to computer
 359 2010-07-27T19:37:22  <ThomasWaldmann> bookmarks?
 360 2010-07-27T19:37:49  <ThomasWaldmann> they're stored in user profile iirc
 361 2010-07-27T19:38:18  <TheSheep> ah
 362 2010-07-27T19:38:19  <ThomasWaldmann> (if you mean quicklinks)
 363 2010-07-27T19:38:25  <TheSheep> so it's kinda like session
 364 2010-07-27T19:39:36  * ThomasWaldmann is tempted to get rid of lots of complicated session code :)
 365 2010-07-27T19:40:14  <ThomasWaldmann> waldi: xorAxAx: any comments?
 366 2010-07-27T19:40:40  <TheSheep> what goes into the session exactly now?
 367 2010-07-27T19:41:13  <ThomasWaldmann> iirc, userid, suid, trail
 368 2010-07-27T19:42:50  <TheSheep> secure cookies would make sense for everything except for the trail
 369 2010-07-27T19:44:41  <ThomasWaldmann> botbouncer stuff also
 370 2010-07-27T19:45:56  <ThomasWaldmann> openid stuff
 371 2010-07-27T19:46:58  <TheSheep> botbouncer?
 372 2010-07-27T19:47:11  <TheSheep> ou expect bots to keep cookies? :D
 373 2010-07-27T19:47:13  <TheSheep> you
 374 2010-07-27T19:47:32  <ThomasWaldmann> i have no clue about that openid stuff, not from me
 375 2010-07-27T19:48:44  <ThomasWaldmann> but assuming session store behaves similarly, no matter whether it is clientside or serverside, maybe we can just change it
 376 2010-07-27T19:51:20  <ThomasWaldmann> brb
 377 2010-07-27T20:12:11  <ThomasWaldmann> re
 378 2010-07-27T20:20:32  <ThomasWaldmann> biggest session file on moinmo.in is 400bytes
 379 2010-07-27T20:46:12  <dreimark> diofeher: userprefs should be splitted in nice sections
 380 2010-07-27T20:48:01  <dreimark> we need crypto it should not be easy to guess a cookie
 381 2010-07-27T21:10:38  <valeuf> is there anyway to disactivate the cache during debugging with flask?
 382 2010-07-27T21:13:33  <dreimark> aa_: ^
 383 2010-07-27T21:15:49  <valeuf> it seems also that logging.debug does not work with the default configuration
 384 2010-07-27T21:27:42  <CIA-51> Diogenes Augusto Fernandes Herminio <diofeher@gmail.com> default * 9111:be8654ffcdab 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/editbar.html theme/__init__.py): [templating] shouldShowEditbar is not necessary anymore. if a template doesn't need editbar, extends content block from layout.html else extends content block from show.html
 385 2010-07-27T21:27:42  <CIA-51> Diogenes Augusto Fernandes Herminio <diofeher@gmail.com> default * 9112:00f31d509b3d 2.0-dev-jinja2-plugins-dfeher/MoinMoin/theme/__init__.py: [templating] refactored split_navilink
 386 2010-07-27T21:27:44  <CIA-51> Diogenes Augusto Fernandes Herminio <diofeher@gmail.com> default * 9113:63c7edec7483 2.0-dev-jinja2-plugins-dfeher/MoinMoin/theme/__init__.py: [templating] fixed some docs in ThemeBase
 387 2010-07-27T21:28:38  <valeuf> hum the cache seems to come from jinja in fact
 388 2010-07-27T21:28:51  <valeuf> I delete all the file in wiki/data/cache/jinja to solve my problem
 389 2010-07-27T21:29:21  <valeuf> diofeher: any idea about it ↑
 390 2010-07-27T21:32:18  <ThomasWaldmann> i don't know how it works for flask, but when creating a jinja env, one can configure the cache
 391 2010-07-27T21:33:50  <diofeher> valeuf: don't know...
 392 2010-07-27T22:06:13  <valeuf> ok better implementation for the convert action : http://paste.pocoo.org/show/242386/
 393 2010-07-27T22:06:49  <valeuf> the idea is to create an item with the wanted mimetype, but at the creation of the item, we save the former mimetype
 394 2010-07-27T22:07:12  <valeuf> then we can call the _convert action corresponding to the given mimetype, and use parent _convert method if needed
 395 2010-07-27T22:08:48  <ThomasWaldmann> how is that way better than the other?
 396 2010-07-27T22:09:10  <valeuf> ThomasWaldmann: there is no need of of long switch
 397 2010-07-27T22:09:27  <valeuf> ThomasWaldmann: we can use generic code for conversion in mother class, and so avoid redundant code
 398 2010-07-27T22:09:45  <valeuf> ThomasWaldmann: and it can be re-used if we want to save the item with the new mimetype
 399 2010-07-27T22:10:02  <ThomasWaldmann> valeuf: isn't that problem somehow symetric?
 400 2010-07-27T22:10:19  <valeuf> ThomasWaldmann: what do you mean?
 401 2010-07-27T22:10:33  <ThomasWaldmann> either your need to do something different for the input format or for the output format
 402 2010-07-27T22:11:03  <valeuf> ThomasWaldmann: for the input format it is always same I think, you need to convert it to the DOM tree
 403 2010-07-27T22:11:24  <valeuf> (I do not think we should support conversion for Binary item)
 404 2010-07-27T22:11:41  <ThomasWaldmann> yeah, and for the output format you always convert dom to the output format :D
 405 2010-07-27T22:12:12  <valeuf> ThomasWaldmann: yes, but you have to had few things usually, like a doctype, fixing namespace if need and so
 406 2010-07-27T22:13:44  <ThomasWaldmann> btw, MIMETYPE is mandatory
 407 2010-07-27T22:13:54  <dreimark> why is line 111 removed?
 408 2010-07-27T22:14:17  <valeuf> ThomasWaldmann: well, if the specified mimetype is the same than the item, there is no problem
 409 2010-07-27T22:14:17  <ThomasWaldmann> see 114
 410 2010-07-27T22:14:19  <dreimark> ok, it is shifted
 411 2010-07-27T22:14:42  <valeuf> I have a little issue with this part
 412 2010-07-27T22:14:47  <valeuf> *litle
 413 2010-07-27T22:16:49  <ThomasWaldmann> there's still hardcoded stuff in there
 414 2010-07-27T22:17:11  <dreimark> item_mimetype in (mimetype, 'application/x-unknown')
 415 2010-07-27T22:17:11  <dreimark> instead of the ors
 416 2010-07-27T22:17:22  <valeuf> dreimark: ok
 417 2010-07-27T22:17:27  <ThomasWaldmann> you don't need x-unknown
 418 2010-07-27T22:17:30  <dreimark> the precious mimetype can it differ from the meta data of the previous revision?
 419 2010-07-27T22:17:34  <ThomasWaldmann> MIMETYPE is always there
 420 2010-07-27T22:17:49  <ThomasWaldmann> without it, moin can't work anyway
 421 2010-07-27T22:18:05  <valeuf> ThomasWaldmann: sometimes we get None :p and it works
 422 2010-07-27T22:19:03  <valeuf> but there is two different things, the MIMETYPE of the item, and the mimetype given as an argument of the create method
 423 2010-07-27T22:19:17  <ThomasWaldmann> sure
 424 2010-07-27T22:19:42  <ThomasWaldmann> somehow it feels backwards not to create the item with the mimetype we have in original data
 425 2010-07-27T22:19:44  <valeuf> but I agree we can get rid of this or 'application/x-unknown'
 426 2010-07-27T22:19:52  <dreimark> line 610 whitespace :
 427 2010-07-27T22:19:52  <dreimark> valeuf: may be it is a good idea to write a test for this
 428 2010-07-27T22:19:52  <dreimark> or add a method to test_sourcecode
 429 2010-07-27T22:20:10  <ThomasWaldmann> tests are fscked currently anyways
 430 2010-07-27T22:20:28  <valeuf> ThomasWaldmann: my idea was to consider that the item we creat is the resulting item
 431 2010-07-27T22:20:49  <valeuf> ThomasWaldmann: it seems also weird to create an item with html mimetype, when we want docbook mimetype at the end
 432 2010-07-27T22:20:50  <ThomasWaldmann> do we want to create (store) a new item?
 433 2010-07-27T22:21:02  <valeuf> ThomasWaldmann: no we currently do not store it
 434 2010-07-27T22:21:47  <ThomasWaldmann> maybe we need 2 items
 435 2010-07-27T22:22:02  <valeuf> ThomasWaldmann: I thought about it, but I could not find a neat solution
 436 2010-07-27T22:22:06  <ThomasWaldmann> 1 with original mimetype of stored data, does convert -> dom
 437 2010-07-27T22:22:33  <ThomasWaldmann> 1 with wanted mimetype, does convert <- dom
 438 2010-07-27T22:22:51  <valeuf> how do we make the two objects communicates?
 439 2010-07-27T22:23:44  *** waldi has quit IRC
 440 2010-07-27T22:23:45  *** RogerHaase has quit IRC
 441 2010-07-27T22:23:47  *** ei-grad has quit IRC
 442 2010-07-27T22:23:47  *** franklin has quit IRC
 443 2010-07-27T22:23:56  *** grzywacz has quit IRC
 444 2010-07-27T22:23:58  *** ChanServ has quit IRC
 445 2010-07-27T22:24:00  *** dreimark has quit IRC
 446 2010-07-27T22:24:00  <valeuf> for the second one, we need to feed it with the result of the first one, since it cannot retrieve his data from the storage backend
 447 2010-07-27T22:24:47  *** waldi has joined #moin-dev
 448 2010-07-27T22:26:26  *** RogerHaase has joined #moin-dev
 449 2010-07-27T22:26:26  *** dreimark has joined #moin-dev
 450 2010-07-27T22:26:26  *** franklin has joined #moin-dev
 451 2010-07-27T22:26:26  *** ei-grad has joined #moin-dev
 452 2010-07-27T22:26:26  *** ChanServ has joined #moin-dev
 453 2010-07-27T22:26:26  *** gibson.freenode.net sets mode: +o ChanServ
 454 2010-07-27T22:27:20  <ThomasWaldmann> that has to be solved :)
 455 2010-07-27T22:27:30  *** dreimark has quit IRC
 456 2010-07-27T22:27:31  *** RogerHaase has quit IRC
 457 2010-07-27T22:27:34  *** ei-grad has quit IRC
 458 2010-07-27T22:27:34  *** franklin has quit IRC
 459 2010-07-27T22:27:42  *** ChanServ has quit IRC
 460 2010-07-27T22:27:42  <valeuf> ThomasWaldmann: ok, I will try to find a solution ^ ^
 461 2010-07-27T22:27:43  <valeuf> ThomasWaldmann: there is no reason I cannot find
 462 2010-07-27T22:27:57  <ThomasWaldmann> btw, i have something for you :D
 463 2010-07-27T22:28:29  *** RogerHaase has joined #moin-dev
 464 2010-07-27T22:28:29  *** ChanServ has joined #moin-dev
 465 2010-07-27T22:28:29  *** ei-grad has joined #moin-dev
 466 2010-07-27T22:28:29  *** franklin has joined #moin-dev
 467 2010-07-27T22:28:29  *** dreimark has joined #moin-dev
 468 2010-07-27T22:28:29  *** gibson.freenode.net sets mode: +o ChanServ
 469 2010-07-27T22:28:32  <valeuf> ThomasWaldmann: ?
 470 2010-07-27T22:29:32  *** vpv has quit IRC
 471 2010-07-27T22:29:34  *** RogerHaase has quit IRC
 472 2010-07-27T22:29:38  *** ei-grad has quit IRC
 473 2010-07-27T22:29:38  *** franklin has quit IRC
 474 2010-07-27T22:29:47  *** ChanServ has quit IRC
 475 2010-07-27T22:29:49  *** dreimark has quit IRC
 476 2010-07-27T22:29:49  <ThomasWaldmann> http://www.numerama.com/magazine/16319-pour-arreter-le-terrorisme-interdisons-la-programmation-c.html
 477 2010-07-27T22:29:49  * ThomasWaldmann agrees with that ^^. C++ is terror. :O
 478 2010-07-27T22:30:52  *** vpv has joined #moin-dev
 479 2010-07-27T22:30:52  *** RogerHaase has joined #moin-dev
 480 2010-07-27T22:30:52  *** dreimark has joined #moin-dev
 481 2010-07-27T22:30:52  *** franklin has joined #moin-dev
 482 2010-07-27T22:30:52  *** ei-grad has joined #moin-dev
 483 2010-07-27T22:30:52  *** ChanServ has joined #moin-dev
 484 2010-07-27T22:30:52  *** gibson.freenode.net sets mode: +o ChanServ
 485 2010-07-27T22:31:59  <valeuf> ThomasWaldmann: ah ah ah, C manual looks much more impressive with arabic language
 486 2010-07-27T22:32:15  <dreimark> 22:27 < dreimark> valeuf: line 1221 if not(from_conv):
 487 2010-07-27T22:32:15  <dreimark> 22:27 < dreimark> no ()
 488 2010-07-27T22:32:27  <aa_> valeuf: I have a very close relationship with the firefox clear cache button extension
 489 2010-07-27T22:34:00  <valeuf> aa_: well, I decided to debug with lynx, it solved my problem
 490 2010-07-27T22:39:43  <dreimark> c
 491 2010-07-27T22:39:57  <dreimark> valeuf: why do you import at module level?
 492 2010-07-27T22:42:49  <valeuf> dreimark: I sow it was done like this in _render_data
 493 2010-07-27T22:42:58  <valeuf> but I do not know if it is a good things or not
 494 2010-07-27T22:45:44  <dreimark> if not(from_conv): is twice
 495 2010-07-27T22:45:53  <dreimark> valeuf: and () not needed
 496 2010-07-27T22:46:20  * dreimark should better read
 497 2010-07-27T22:47:04  <valeuf> dreimark: fix the () for the not, but if not(from_conv) is only one time ^^
 498 2010-07-27T22:47:09  <dreimark> I should better ask why you give twice the same raise
 499 2010-07-27T22:47:19  <valeuf> so do you think that import at module level is correct or not?
 500 2010-07-27T22:47:47  <dreimark> seen,  my mistake happens because i readed the quite the same message twice
 501 2010-07-27T22:48:13  <dreimark> valeuf: if there is no special reason for it e.g. circular import it should not be there
 502 2010-07-27T22:48:24  <valeuf> dreimark: ok
 503 2010-07-27T22:48:36  <dreimark> and if there is circular import this needs also be fixed
 504 2010-07-27T22:49:42  <dreimark> but if it is now easier to get something productive then you can have imports at module level. it just should not increase because somewhere else it is needed that way
 505 2010-07-27T22:50:12  <valeuf> ok
 506 2010-07-27T22:57:03  <dreimark> eSyr: what is dmitry doing?
 507 2010-07-27T23:02:25  <valeuf> ok, I om going to bed ^ ^
 508 2010-07-27T23:02:31  <valeuf> I will finish tomorrow
 509 2010-07-27T23:04:18  <dreimark> gn valeuf
 510 2010-07-27T23:25:33  <xorAxAx> ThomasWaldmann: well, i cannot assess whether this makes sense, they have some problem if you store non-pickable data in it, also i am not completely sure whether they are secure
 511 2010-07-27T23:47:34  <ThomasWaldmann> we store only picklable stuff in there

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-07-27 (last edited 2010-07-26 22:45:02 by IrcLogImporter)