1 2013-03-18T02:48:41  *** ashutosh1461 has joined #moin-dev
   2 2013-03-18T03:37:28  *** ashutosh1461 has quit IRC
   3 2013-03-18T05:43:53  *** vaishaks has quit IRC
   4 2013-03-18T05:56:34  *** vaishaks has joined #moin-dev
   5 2013-03-18T06:36:21  *** sharky93 has joined #moin-dev
   6 2013-03-18T07:08:28  *** sharky93 has quit IRC
   7 2013-03-18T07:31:13  <dreimark> moin
   8 2013-03-18T07:31:23  * dreimark in german (sorry) http://www.pysprints.de/locale/index.html
   9 2013-03-18T08:08:49  <dreimark> hmm, how can I center a table, {{{#!wiki center ... works with text
  10 2013-03-18T08:58:20  *** haseeb has joined #moin-dev
  11 2013-03-18T08:58:20  *** haseeb has joined #moin-dev
  12 2013-03-18T09:00:49  *** greg_f has joined #moin-dev
  13 2013-03-18T09:30:39  *** haseeb has quit IRC
  14 2013-03-18T10:08:55  *** moinBot` has joined #moin-dev
  15 2013-03-18T10:08:55  *** moinBot has quit IRC
  16 2013-03-18T10:09:24  *** xorAxAx has quit IRC
  17 2013-03-18T10:10:05  *** xorAxAx has joined #moin-dev
  18 2013-03-18T10:13:37  <ThomasWaldmann> moin
  19 2013-03-18T10:34:39  *** ronny has joined #moin-dev
  20 2013-03-18T10:34:39  *** ronny has joined #moin-dev
  21 2013-03-18T10:39:07  *** ashutosh1461 has joined #moin-dev
  22 2013-03-18T10:55:31  *** ashutosh1461 has quit IRC
  23 2013-03-18T11:11:55  *** ashutosh1461 has joined #moin-dev
  24 2013-03-18T11:29:51  <ashutosh1461> I am facing a problem, maybe it is a bug, if we create a user and then try to delete/destroy the user page then the moin crashes, we face a 500 internal error, The error is https://bitbucket.org/ashu1461/code/commits/14feeea3b4cc79c47f8ce1c7864f7b9894167080 .
  25 2013-03-18T11:31:40  *** spy has joined #moin-dev
  26 2013-03-18T11:32:03  *** spy is now known as Guest55609
  27 2013-03-18T11:33:19  *** Guest55609 is now known as spy_
  28 2013-03-18T11:41:09  <ThomasWaldmann> ashutosh1461: what do you mean by "the user page"?
  29 2013-03-18T11:42:05  <ashutosh1461> I mean http://localhost:8080/<username>.
  30 2013-03-18T11:42:27  <ThomasWaldmann> that's the user profile. don't kill it.
  31 2013-03-18T11:43:00  <ThomasWaldmann> (sooner or later that will get moved to a separate namespace, so it doesn't show up between normal items)
  32 2013-03-18T11:44:51  <ashutosh1461> Oh, I see and how do i fix it ? re-installing ?
  33 2013-03-18T11:59:16  <ThomasWaldmann> kill your cookie, moin index-create -s -i
  34 2013-03-18T12:07:06  *** xiaq has joined #moin-dev
  35 2013-03-18T12:13:06  <xiaq> moin1's nospam email address can be quite annoying... and it seems that writing "a AT b DOT com" doesn't really work (http://techblog.tilllate.com/2008/07/20/ten-methods-to-obfuscate-e-mail-addresses-compared/). instead css tricks all seem to work pretty well
  36 2013-03-18T12:14:22  <xiaq> i think we can do this in moin2. i wrote a jinja filter that inserts random noises wrapped in invisible <span>s a while ago - see line 72 of http://tuna.tsinghua.edu.cn/get_involved for instance :)
  37 2013-03-18T12:18:54  <ThomasWaldmann> what does "doesn't really work" mean exactly?
  38 2013-03-18T12:19:51  <xiaq> ThomasWaldmann: you still get a lot of spam :)
  39 2013-03-18T12:20:05  <xiaq> no, not a *lot*
  40 2013-03-18T12:20:15  <ThomasWaldmann> the article you linked says it's relatively few
  41 2013-03-18T12:20:44  <ThomasWaldmann> also, what makes you think that spammer's can't throw away display-none stuff also?
  42 2013-03-18T12:21:41  <xiaq> ThomasWaldmann: the number, 0 spam
  43 2013-03-18T12:21:57  <ThomasWaldmann> a nice property of the MailTo macro of moin is that it eliminates all UPPERCASE, so it is not limited to AT and DOT, you can insert arbitrary other stuff
  44 2013-03-18T12:22:29  <ThomasWaldmann> that number is 5 years old. back then, even salted sha1 worked for passwords.
  45 2013-03-18T12:23:26  <xiaq> ThomasWaldmann: yeah AT but DOT it gets NOSPAM confusing the SPAMFREE more uppercases you add :)
  46 2013-03-18T12:23:47  <xiaq> AT and DOT seems not too bad after all...
  47 2013-03-18T12:24:59  <ThomasWaldmann> only intelligent people will write you email then :D
  48 2013-03-18T12:25:26  <ThomasWaldmann> (that's a feature :D )
  49 2013-03-18T12:26:55  <ThomasWaldmann> also, side-effects of this have to be considered. e.g. how screenreaders read such stuff.
  50 2013-03-18T12:27:18  <ThomasWaldmann> might work for the display none method, not sure.
  51 2013-03-18T12:28:39  <xiaq> ThomasWaldmann: ah screen readers. that's a concern indeed
  52 2013-03-18T12:29:30  <ThomasWaldmann> btw, try to get rid of: https://test.moinmo.in/Home
  53 2013-03-18T12:32:27  <xiaq> ThomasWaldmann: someone managed to change Home to a ticket...
  54 2013-03-18T12:37:31  <ThomasWaldmann> usually that's not an issue in a wiki as one always can revert such changes
  55 2013-03-18T12:40:16  <xiaq> ThomasWaldmann: according to this (http://stackoverflow.com/questions/1755656/displaynone-vs-visibilityhidden-vs-text-indent9999-how-screen-reader-behave-w) most screen readers honor visibility:hidden and display:none
  56 2013-03-18T12:40:24  <xiaq> ThomasWaldmann: what's the problem then?
  57 2013-03-18T12:47:01  <ThomasWaldmann> xiaq: where's the ui for revert?
  58 2013-03-18T12:50:57  <xiaq> ThomasWaldmann: hm, i tried reverting to the oldest version in http://test.moinmo.in/+history/Home which is still a ticket. seems to result from a rename instead.
  59 2013-03-18T12:51:11  <xiaq> i get the point, the item bar is missing on tickets...
  60 2013-03-18T13:11:19  *** dave_largo has joined #moin-dev
  61 2013-03-18T13:13:32  *** Pods has joined #moin-dev
  62 2013-03-18T13:14:51  <Pods> Hey I just downloaded moin and the complete source, want to start contributing asap :D
  63 2013-03-18T13:14:56  <Pods> Any directions??
  64 2013-03-18T13:16:37  <ThomasWaldmann> Pods: gsoc?
  65 2013-03-18T13:17:20  <Pods> Yes, Plus i have an interest in open source development , have been a constant developer at swig since the last 4-5 months now :)
  66 2013-03-18T13:19:55  <xiaq> Pods: swig! that's pretty cool
  67 2013-03-18T13:19:59  <Pods> Moinmoin seems interesting since i have at some level being studying semantic wikis :)
  68 2013-03-18T13:20:41  <ThomasWaldmann> ok, for gsoc, most tasks are about MoinMoin 2.0 (aka moin2), see http://moinmo.in/MoinMoin2.0
  69 2013-03-18T13:21:09  <ThomasWaldmann> there are also docs about it, see the link on that page, even documenting how to contribute (iirc)
  70 2013-03-18T13:22:19  <ThomasWaldmann> about semantic stuff: that's interesting, but we will focus on more basic features now and in the near future, so we can release it. more advanced features might come later.
  71 2013-03-18T13:30:52  <ThomasWaldmann> (compared to moin 1.9, moin2 has much better means to deal with additional metadata, so such stuff might be possible much easier then)
  72 2013-03-18T13:34:35  <Pods> xiaq : thanks :)
  73 2013-03-18T13:35:23  <Pods> ThomasWaldmann : Okay will look through the tasks.
  74 2013-03-18T13:36:16  <Pods> Also, there were two ways cited in the documentation to access moinmoin, 1. via the localhost and 2. by extracting the server on our system.
  75 2013-03-18T13:36:34  <Pods> I am assuming the later will be recommended for development purposes. Is that correct?
  76 2013-03-18T13:38:49  <dreimark> Pods: just do quickinstall as in the docs
  77 2013-03-18T13:39:20  <Pods> dreimark : great will do :)
  78 2013-03-18T13:39:23  <dreimark> https://moin-20.readthedocs.org/en/latest/admin/install.html
  79 2013-03-18T13:39:55  <dreimark> as we develop we are using an env setup locally
  80 2013-03-18T13:42:27  <Pods> yes, so i will revert to the later option of using moin2 locally
  81 2013-03-18T13:57:01  <Pods> So i am through with the installation setup and have seen the overview for the projects, is there some specific suggested code i should look at, or i can go ahead and play with the new found repo??
  82 2013-03-18T14:01:13  <dreimark> you can look at the bitbucket tracker
  83 2013-03-18T14:01:24  <dreimark> there are more issues than described there
  84 2013-03-18T14:01:59  <dreimark> also have a look into http://moinmo.in/GoogleSoc2013/InitialProjectIdeas
  85 2013-03-18T14:02:24  <dreimark> i guess you meant that
  86 2013-03-18T14:02:39  <dreimark> Pods: ^
  87 2013-03-18T14:03:17  <Pods> dreimark: yes, meant precisely  that :), great help there . Thanks
  88 2013-03-18T14:06:07  <Pods> I like a couple of ideas there, especially improving the UI is critical for any page on web, is it ok if i work on any of the listed ideas as a part of gsoc or would i have to produce my own project idea?
  89 2013-03-18T14:07:31  <ThomasWaldmann> the stuff there are just some rather vague ideas. a project needs to be much more detailled and have own ideas from yourself also.
  90 2013-03-18T14:08:22  <ThomasWaldmann> also, you need to plan the project, so the time needed for it is adequate for gsoc.
  91 2013-03-18T14:08:55  <Pods> yes, absolutely would want to elaborate the ideas there into concrete ones which can be realized into a substantial releasable end product in the time frame of gsoc (and also can be improvized later :) )
  92 2013-03-18T14:09:34  <ThomasWaldmann> you mean improved ;)
  93 2013-03-18T14:09:48  <Pods> yes :)
  94 2013-03-18T14:10:16  <Pods> *goes to researching onto the awesome-seeming projects*
  95 2013-03-18T14:15:33  <ThomasWaldmann> Pods: btw, if you want to work on some UI projekt like visually making it look much better, you should have experience with such stuff and you should be able to point at some of your past work
  96 2013-03-18T14:31:19  *** ashutosh1461 has quit IRC
  97 2013-03-18T14:57:18  *** RogerHaase has joined #moin-dev
  98 2013-03-18T15:11:24  *** dave_largo has quit IRC
  99 2013-03-18T15:13:25  *** dave_largo has joined #moin-dev
 100 2013-03-18T15:39:46  *** ashutosh1461 has joined #moin-dev
 101 2013-03-18T15:57:00  <Pods> ThomasWaldmann : I have a couple of projects I can point to, maybe sending in my resume would help??
 102 2013-03-18T16:00:45  <ThomasWaldmann> just prepare it
 103 2013-03-18T16:28:16  *** bruno_ has joined #moin-dev
 104 2013-03-18T16:28:38  <dreimark> Pods: you can have a wiki page and use the developer template
 105 2013-03-18T16:32:33  *** Pods has quit IRC
 106 2013-03-18T16:42:10  <ashutosh1461> What is the difference between temp storage and normal storage ? https://bitbucket.org/thomaswaldmann/moin-2.0/src/4307c3e76076/MoinMoin/storage/middleware/indexing.py?at=default#cl-440
 107 2013-03-18T16:45:58  <dreimark> ashutosh1461: whoosh in main branch uses tmp directory which is also incompatible with gae. So in gae branch there is already a different solution but I think it is not released yet
 108 2013-03-18T16:48:17  *** dreimark is now known as ReimarBauer
 109 2013-03-18T16:57:26  <ashutosh1461> RogerHaase, can you give an example of meta variable which is passed in this function ? https://bitbucket.org/thomaswaldmann/moin-2.0/src/4307c3e76076/MoinMoin/storage/middleware/indexing.py?at=default#cl-452
 110 2013-03-18T17:04:02  <RogerHaase> ashutosh1461: I am not familar with that code.  A guess is go to http://test.moinmo.in/rst and click the meta link or the modify link (and scroll down)
 111 2013-03-18T17:15:56  <ashutosh1461> umm .. fine. :D !
 112 2013-03-18T17:25:42  <ThomasWaldmann> ReimarBauer: the line ashutosh1461 was referring to is not related to gae
 113 2013-03-18T17:26:09  <ThomasWaldmann> the point there is just that we want to use the current index while building a fresh one
 114 2013-03-18T17:30:05  *** haseeb has joined #moin-dev
 115 2013-03-18T17:30:06  *** haseeb has joined #moin-dev
 116 2013-03-18T17:32:18  *** greg_f has quit IRC
 117 2013-03-18T17:32:21  <ThomasWaldmann> that stuff is not quite in the final state maybe, i even talked to matt about it once and he said that should work without having such a separate tmp index
 118 2013-03-18T17:32:58  <ThomasWaldmann> but in the end, I was not quite sure whether that would give us the desired behaviour of really rebuilding it from scratch in parallel to using it
 119 2013-03-18T17:47:50  <ReimarBauer> ok, i thought it will be replaced by the other code
 120 2013-03-18T17:50:30  <ThomasWaldmann> no, that's completely unrelated
 121 2013-03-18T17:51:19  <ThomasWaldmann> the tmp fix in the gae branch is avoiding to create tempfiles on disk
 122 2013-03-18T17:51:46  <ThomasWaldmann> the tmp index is a real index, just in a different directory as the one that the wiki uses
 123 2013-03-18T17:52:26  <ThomasWaldmann> the idea behind is that in big wikis fully building the index from scratch might take hours or even days
 124 2013-03-18T17:52:50  <ThomasWaldmann> and one still wants to use the wiki in that time, with a valid index
 125 2013-03-18T17:59:59  *** moin9 has joined #moin-dev
 126 2013-03-18T18:00:49  *** moin9 is now known as Pods
 127 2013-03-18T18:20:34  *** ReimarBauer is now known as dreimark
 128 2013-03-18T18:21:17  <Pods> ThomasWalmann, I was looking at the projects what exactly goes into the Remote Editor wrapper?? The project title is not too descriptive to understand.
 129 2013-03-18T18:24:27  <Pods> Also in the project regarding Network APIs, I am surprised we are still debating whether to choose xml rpc vs json rpc, I think the later should anysay be better?? Isnt it??
 130 2013-03-18T18:25:14  *** dreimark is now known as ReimarBauer
 131 2013-03-18T18:25:36  *** ReimarBauer is now known as dreimark
 132 2013-03-18T18:26:41  <Pods> Lastly another very valid project to me is "Validation of Wiki Contents" , could anyone elaborate on it further??
 133 2013-03-18T18:31:14  *** ronny_ has joined #moin-dev
 134 2013-03-18T18:35:01  *** ronny has quit IRC
 135 2013-03-18T18:51:10  <ThomasWaldmann> Pods: like using vim or libreoffice to edit wiki item
 136 2013-03-18T18:51:46  <Pods> okay
 137 2013-03-18T18:52:01  <ThomasWaldmann> Pods: xml or json is matter of taste and software support
 138 2013-03-18T18:52:25  <Pods> true, maybe json although seems more compact.
 139 2013-03-18T18:52:42  <ThomasWaldmann> about validation: there is stuff in metadata that can be compared to the real data
 140 2013-03-18T18:53:10  <Pods> ThomasWaldmann : could you cite an instance for the same??
 141 2013-03-18T18:56:36  <RogerHaase> Pods: size, itemlinks, itemtransclusions,...
 142 2013-03-18T18:58:04  *** ashutosh1461 has quit IRC
 143 2013-03-18T19:00:10  <Pods> Oh, okay.
 144 2013-03-18T19:03:00  <dreimark> ThomasWaldmann: we can now send our data to carol ;)
 145 2013-03-18T19:04:52  *** haseeb has quit IRC
 146 2013-03-18T19:06:35  *** RogerHaase has left #moin-dev
 147 2013-03-18T19:39:01  <ThomasWaldmann> dreimark: yeah, got the mail, too
 148 2013-03-18T19:39:45  <dreimark> checked :)
 149 2013-03-18T19:40:03  <dreimark> i go to play trombone, bbl
 150 2013-03-18T20:08:46  *** haseeb has joined #moin-dev
 151 2013-03-18T20:38:47  *** sharky93 has joined #moin-dev
 152 2013-03-18T21:03:19  *** pooryorick has joined #moin-dev
 153 2013-03-18T21:07:49  *** dave_largo has quit IRC
 154 2013-03-18T21:45:53  *** Pods has quit IRC
 155 2013-03-18T21:45:57  <sharky93> ThomasWaldmann, i have the fix for this bug -> https://bitbucket.org/thomaswaldmann/moin-2.0/issue/291/foobar-theme-home-link-is-not-coloured-as
 156 2013-03-18T21:46:56  <ThomasWaldmann> ah, cool :)
 157 2013-03-18T21:47:05  <sharky93> what should i do next, should i explain my method, well i had not been assigned this, i just started working on it out of interest.
 158 2013-03-18T21:47:14  <ThomasWaldmann> can you put it on codereview?
 159 2013-03-18T21:47:57  <sharky93> how can i do that ?
 160 2013-03-18T21:48:15  <ThomasWaldmann> codereview.appspot.com
 161 2013-03-18T21:48:24  <ThomasWaldmann> (you need a google account)
 162 2013-03-18T21:49:40  <sharky93> should i be assigned that bug ? so that others also do not start working on the same thing, because im pretty sure it should now be fixed.
 163 2013-03-18T21:49:44  *** haseeb has quit IRC
 164 2013-03-18T21:51:39  <dreimark> sharky93: look for uploads.py
 165 2013-03-18T21:51:59  <dreimark> http://code.google.com/p/rietveld/wiki/UploadPyUsage
 166 2013-03-18T21:55:44  <sharky93> dreimark, i found the form for submitting the issue on codereview, should i just use that ?
 167 2013-03-18T21:56:07  <sharky93> what should i fill in Base, Reviewers, CC, url ?
 168 2013-03-18T21:56:23  <ThomasWaldmann> just use upload.py, much easier
 169 2013-03-18T21:56:34  <sharky93> ok
 170 2013-03-18T21:56:51  <dreimark> sharky93: you can use the form but if you use the same ID for an update it is much easier to do it with upload.py
 171 2013-03-18T21:57:06  <dreimark> and I guess you will have to use it more than once
 172 2013-03-18T21:59:00  *** ashutosh1461 has joined #moin-dev
 173 2013-03-18T22:03:55  <sharky93> ok, i used the python script, https://codereview.appspot.com/7897043
 174 2013-03-18T22:08:12  <ThomasWaldmann> that was easy :D
 175 2013-03-18T22:10:34  <dreimark> added some comments too
 176 2013-03-18T22:11:01  <dreimark> sharky93: we have a pep8 checker in the tests
 177 2013-03-18T22:13:05  <ThomasWaldmann> "make test"
 178 2013-03-18T22:13:41  <ashutosh1461> ThomasWaldmann, Hello, can i work on the subitems links bug??
 179 2013-03-18T22:18:18  <ThomasWaldmann> sure, you can work on any bug you like.
 180 2013-03-18T22:18:36  <ThomasWaldmann> maybe update the issue tracker with a comment about it, so that double work is avoided.
 181 2013-03-18T22:20:58  <ashutosh1461> fine :D
 182 2013-03-18T22:27:41  *** spy_ has quit IRC
 183 2013-03-18T22:35:17  *** ashutosh1461 has quit IRC
 184 2013-03-18T22:38:46  <ThomasWaldmann> sharky93: you need to configure your editor for python
 185 2013-03-18T22:41:43  <ThomasWaldmann> btw, PyCharm is a nice idea for python, good editor included. we have a license for MoinMoin developers for it.
 186 2013-03-18T22:41:49  <ThomasWaldmann> ide*
 187 2013-03-18T22:45:09  <ThomasWaldmann> sharky93: if you have fixed the tabs, use same codereview id for next upload (-i)
 188 2013-03-18T23:01:13  <dreimark> gn
 189 2013-03-18T23:13:39  <ThomasWaldmann> argh, i committed on wrong branch yesterday :|
 190 2013-03-18T23:14:31  *** bruno_ has quit IRC
 191 2013-03-18T23:25:07  *** ronny_ has quit IRC
 192 2013-03-18T23:34:35  <sharky93> ThomasWaldmann, just installed PyCharm. How can i get the license key ?
 193 2013-03-18T23:35:10  <ThomasWaldmann> write me an email after trying it for a while. the demo license should work for a month, right?
 194 2013-03-18T23:35:37  <sharky93> yeah
 195 2013-03-18T23:40:25  <ThomasWaldmann> if you have questions about pycharm (after googling), ask, I also use it
 196 2013-03-18T23:40:47  *** sharky93 has quit IRC
 197 2013-03-18T23:42:49  *** sharky93 has joined #moin-dev
 198 2013-03-18T23:55:13  <sharky93> ThomasWaldmann, when i check for pep8, it shows me other errors apart from the lines of code, i added. What about it ? In reference to https://codereview.appspot.com/7897043

MoinMoin: MoinMoinChat/Logs/moin-dev/2013-03-18 (last edited 2013-03-18 03:00:02 by IrcLogImporter)