1 2010-12-13T00:31:50  *** ChanServ has quit IRC
   2 2010-12-13T00:34:09  <ThomasWaldmann> dreimark: the "fixes" are incorrect, but also the task is not really easy
   3 2010-12-13T00:36:00  <ThomasWaldmann> problem analysis is correct, though
   4 2010-12-13T00:39:09  <jbills> Is this what a patch should look like: http://paste.pocoo.org/show/304127/
   5 2010-12-13T00:42:41  <dreimark> jbills: only py files should be diffed not compiled pyc files
   6 2010-12-13T00:42:54  <dreimark> count=0
   7 2010-12-13T00:43:01  <dreimark> pep8 blanks wrong
   8 2010-12-13T00:43:37  <dreimark> why is line 41 removed ?
   9 2010-12-13T00:44:36  <dreimark> line 86 pep8
  10 2010-12-13T00:44:40  <ThomasWaldmann> dreimark: i am considering accepting roboraiders analysis as solution good enough for easy class
  11 2010-12-13T00:45:02  <ThomasWaldmann> because really fixing it is at least medium or difficult
  12 2010-12-13T00:45:16  <ThomasWaldmann> or even completely beyond gci
  13 2010-12-13T00:46:39  <dreimark> ThomasWaldmann: ok
  14 2010-12-13T00:47:35  <dreimark> jbills: don't change files which are not belowing to your work
  15 2010-12-13T00:47:57  <dreimark> s/belowing/belonging/
  16 2010-12-13T00:48:41  *** ChanServ has joined #moin-dev
  17 2010-12-13T00:48:42  *** niven.freenode.net sets mode: +o ChanServ
  18 2010-12-13T00:49:44  <jbills> but I didnt
  19 2010-12-13T00:50:00  <jbills> dreimark: I didnt
  20 2010-12-13T00:50:02  <dreimark> see line 2087
  21 2010-12-13T00:50:29  <jbills> -jEYhAI8IVCDgIByx1dLa95FGGs1I76DfegG9h37oCfRXf3XPdu+5izsQzKwejY3SuosB4C7n7mf9
  22 2010-12-13T00:50:51  <dreimark> or line 391
  23 2010-12-13T00:51:15  <dreimark> may be you saved those files
  24 2010-12-13T00:51:33  <jbills> I havent opened them
  25 2010-12-13T00:51:43  <jbills> I copied them with windows?
  26 2010-12-13T00:51:56  <dreimark> they are under version control
  27 2010-12-13T00:52:00  <jbills> would that do something to it?
  28 2010-12-13T00:52:19  <dreimark> i guess you had opened them and now they have a windows linefeed
  29 2010-12-13T00:52:47  <dreimark> you can revert their changes before you create the diff
  30 2010-12-13T00:53:06  <dreimark> e.g. hg revert moin-2.0-dev/moin
  31 2010-12-13T00:53:18  <jbills> err
  32 2010-12-13T00:53:27  <jbills> I used the zip file
  33 2010-12-13T00:53:32  <jbills> from the mirror
  34 2010-12-13T00:53:36  <dreimark> ah, you named them to py extension
  35 2010-12-13T00:53:45  <jbills> yes
  36 2010-12-13T00:53:51  <jbills> windows
  37 2010-12-13T00:54:44  <dreimark> make a patch without these changes
  38 2010-12-13T00:54:53  <jbills> ok
  39 2010-12-13T00:54:58  <dreimark> may be make a copy, also without pyc files
  40 2010-12-13T00:55:32  <jbills> oh so the pyc files are the problem
  41 2010-12-13T00:55:45  <dreimark> they are binary compilations
  42 2010-12-13T00:56:01  <dreimark> and we don't need them for the diff
  43 2010-12-13T00:56:11  <jbills> so if I delete them the patch should be cleaner?
  44 2010-12-13T00:56:34  <dreimark> much cleaner
  45 2010-12-13T00:56:47  <jbills> thanks
  46 2010-12-13T00:57:10  <jbills> any linux command to find and delete all files that end with pyc
  47 2010-12-13T00:57:54  <dreimark> find . | grep \.pyc$
  48 2010-12-13T00:58:06  <ronny> jbills: find -name '*.pyc' -exec rm -print
  49 2010-12-13T00:58:10  <dreimark> and if that gives the wanted result
  50 2010-12-13T00:58:12  <ronny> whops
  51 2010-12-13T00:58:21  <ronny> jbills: find -name '*.pyc' -exec rm {} \; -print
  52 2010-12-13T00:58:27  <dreimark> rm `find . | grep \.pyc$`
  53 2010-12-13T00:58:34  <ronny> alternatively py.cleanup
  54 2010-12-13T00:58:40  <dreimark> :)
  55 2010-12-13T00:58:44  <ronny> (which is shipped with py 1.3 or pycmd
  56 2010-12-13T00:58:47  <jbills> which one?
  57 2010-12-13T01:03:15  <dreimark> i prefer the grep one because often i can't remember the syntax of the one ronny showed
  58 2010-12-13T01:03:50  <jbills> thanks
  59 2010-12-13T01:04:08  <jbills> will this also do subdirectories
  60 2010-12-13T01:04:25  <dreimark> just look at the output
  61 2010-12-13T01:04:35  <dreimark> find finds everything
  62 2010-12-13T01:05:06  <ronny> the most pleasant one is py.cleanup
  63 2010-12-13T01:05:28  <ronny> night
  64 2010-12-13T01:05:54  <jbills> It shows this ">"
  65 2010-12-13T01:06:12  <jbills> when I use yours dreimark
  66 2010-12-13T01:08:57  <jbills> ronny: thanks
  67 2010-12-13T01:09:17  *** grzywacz has quit IRC
  68 2010-12-13T01:09:25  <dreimark> I tried it in moin-2.0-dev$
  69 2010-12-13T01:09:48  <dreimark> but ronny is right call py.cleanup
  70 2010-12-13T01:10:42  <dreimark> gn ronny
  71 2010-12-13T01:13:29  <dreimark> gn
  72 2010-12-13T02:11:19  *** Kapace__ has quit IRC
  73 2010-12-13T02:46:24  *** GCIBot has quit IRC
  74 2010-12-13T03:05:54  *** racines__ has joined #moin-dev
  75 2010-12-13T03:08:24  <racines__> i've installed moinmoin 1.9.3 however I'm unsure of how to run it
  76 2010-12-13T03:08:29  <racines__> installed on kubuntu 10.10
  77 2010-12-13T03:08:48  <racines__> I tried running "moin.spec" however it said it was an unknown command
  78 2010-12-13T03:18:23  <racines__> ...anyone?
  79 2010-12-13T03:18:28  <racines__> really?
  80 2010-12-13T03:18:51  <jbills> I am the only one here
  81 2010-12-13T03:21:34  *** racines__ has quit IRC
  82 2010-12-13T05:53:57  *** racines__ has joined #moin-dev
  83 2010-12-13T06:58:11  *** racines__ has quit IRC
  84 2010-12-13T08:50:33  *** gwork has joined #moin-dev
  85 2010-12-13T09:10:38  <ThomasWaldmann> dreimark: do you use xapian indexing for a bigger wiki with many attachments?
  86 2010-12-13T09:11:41  <ThomasWaldmann> or anyone else? if so, can you please monitor memory usage while the indexer is running?
  87 2010-12-13T09:19:31  <dreimark> ThomasWaldmann: can look at it later
  88 2010-12-13T09:24:19  <ThomasWaldmann> i observed increasing memory usage of the indexer process, rising at about 1MB every few secs rate and not stopping.
  89 2010-12-13T09:26:24  <ThomasWaldmann> when it reaches RAM limit, it gets slow, when it reaches virtual memory limit, the fork/clone calls are failing
  90 2010-12-13T09:27:49  <ThomasWaldmann> happens on an older linux system (debian 4.0), py 2.4, xapian 1.0.7 (IIRC)
  91 2010-12-13T10:13:49  *** rfw has quit IRC
  92 2010-12-13T10:16:43  *** skylamer` has joined #moin-dev
  93 2010-12-13T10:16:55  <skylamer`> dreimark, ThomasWaldmann hello
  94 2010-12-13T11:09:10  *** greg_f has joined #moin-dev
  95 2010-12-13T11:20:32  *** skylamer` has quit IRC
  96 2010-12-13T12:52:31  *** Samm has joined #moin-dev
  97 2010-12-13T13:02:26  *** Abhishek_Singh has joined #moin-dev
  98 2010-12-13T14:29:22  *** Samm has quit IRC
  99 2010-12-13T14:37:53  <jbills> What are the issues with innerhtml?
 100 2010-12-13T15:08:57  <jbills> anyone here?
 101 2010-12-13T15:34:06  *** Abhishek_Singh has quit IRC
 102 2010-12-13T15:36:50  <jbills> Anyone here now?
 103 2010-12-13T15:53:20  <jbills> Anyone here yet?
 104 2010-12-13T16:05:57  <TheSheep> maybe just ask your question and the first person who knows the answer will answer when they come
 105 2010-12-13T16:06:15  <jbills> ok
 106 2010-12-13T16:16:04  *** m4k3r has joined #moin-dev
 107 2010-12-13T16:17:26  <jbills> whats an alternative to innerhtml
 108 2010-12-13T16:21:01  <TheSheep> `innerhtml
 109 2010-12-13T16:21:13  <TheSheep> wrong channel
 110 2010-12-13T16:21:16  <TheSheep> sorry
 111 2010-12-13T16:21:23  <TheSheep> jbills: alternative for doing what?
 112 2010-12-13T16:22:15  <jbills> getting a value and replacing the value with a new one
 113 2010-12-13T16:22:52  <jbills> http://pastebin.com/fcf0tvxp
 114 2010-12-13T16:23:42  <TheSheep> DOM operations
 115 2010-12-13T16:24:13  <TheSheep> first of all, never use href="javascript:..."
 116 2010-12-13T16:24:18  <jbills> ok
 117 2010-12-13T16:24:24  <jbills> onclick?
 118 2010-12-13T16:24:26  <TheSheep> connect a function to the onclick event
 119 2010-12-13T16:24:31  <jbills> ok
 120 2010-12-13T16:24:33  <TheSheep> thorugh DOM
 121 2010-12-13T16:24:46  <jbills> ok
 122 2010-12-13T16:24:46  <TheSheep> should make things easier
 123 2010-12-13T16:25:02  <jbills> but isnt dom slower than innerhtml
 124 2010-12-13T16:25:40  <TheSheep> depends, I doubt it will be slower for such callback change
 125 2010-12-13T16:26:21  <TheSheep> another idea, you could keep the code the same, but add some attribute on that element, and refer to that in the script
 126 2010-12-13T16:26:34  <TheSheep> in the onclick event, that is
 127 2010-12-13T16:27:08  <jbills> what attribute?
 128 2010-12-13T16:27:10  <TheSheep> or even just use the reference to this
 129 2010-12-13T16:27:34  <TheSheep> looks like you are doing this thing just to change the `num`
 130 2010-12-13T16:27:40  <TheSheep> right?
 131 2010-12-13T16:27:58  <jbills> no to change toc[num]
 132 2010-12-13T16:28:07  <TheSheep> if the togglein() didn't get that num as a parameter, but took it from `this`, you wouldn't need that
 133 2010-12-13T16:29:35  <jbills> what is `this`
 134 2010-12-13T16:30:37  <TheSheep> http://www.quirksmode.org/js/this.html
 135 2010-12-13T16:30:44  <jbills> thanks
 136 2010-12-13T16:38:01  <jbills> So I use this.parentNode.id instead of the num var?
 137 2010-12-13T16:44:31  *** skylamer` has joined #moin-dev
 138 2010-12-13T16:57:54  *** m4k3r has quit IRC
 139 2010-12-13T16:59:08  *** gwork has quit IRC
 140 2010-12-13T17:05:48  *** fluster has quit IRC
 141 2010-12-13T17:15:13  <jbills> TheSheep: Is innerhtml cross-browser compatable?
 142 2010-12-13T17:50:41  <dreimark> jbills: try opera
 143 2010-12-13T17:51:22  <dreimark> i think innerHTML is not a w3c standard
 144 2010-12-13T17:55:02  <dreimark> it is http://dev.w3.org/html5/spec/Overview.html#innerhtml
 145 2010-12-13T18:06:01  *** pvinogradov has joined #moin-dev
 146 2010-12-13T18:20:43  *** grzywacz has joined #moin-dev
 147 2010-12-13T18:20:43  *** grzywacz has joined #moin-dev
 148 2010-12-13T18:28:14  <jbills> dreimark: Test my page in opera?
 149 2010-12-13T18:30:14  *** Samm has joined #moin-dev
 150 2010-12-13T18:30:38  *** Samm has quit IRC
 151 2010-12-13T18:31:41  <dreimark> jbills: test it in some browsers
 152 2010-12-13T18:31:49  <jbills> dreimark: It works in opera
 153 2010-12-13T18:33:09  <jbills> dreimark: It works in firefox.
 154 2010-12-13T18:35:20  <jbills> dreimark: Does ie 9 count?
 155 2010-12-13T18:41:52  <ThomasWaldmann> re
 156 2010-12-13T18:42:06  <jbills> huh
 157 2010-12-13T18:59:16  <pvinogradov> Hi, ThomasWaldmann
 158 2010-12-13T18:59:37  <pvinogradov> I'm just implement support for ssha256 auth in moin-2.0
 159 2010-12-13T18:59:47  <ThomasWaldmann> ah, great :)
 160 2010-12-13T19:00:03  <pvinogradov> this code is available in https://bitbucket.org/pavel_vinogradov/gci10-moin-2.0-dev
 161 2010-12-13T19:00:32  <pvinogradov> i try to use existing ssha code
 162 2010-12-13T19:01:20  <ThomasWaldmann> hm?
 163 2010-12-13T19:01:51  <pvinogradov> im use ssha password validate code as example
 164 2010-12-13T19:02:22  <ThomasWaldmann> btw, it is "Forward port"
 165 2010-12-13T19:03:47  *** pvinogradov has left #moin-dev
 166 2010-12-13T19:03:50  *** pvinogradov has joined #moin-dev
 167 2010-12-13T19:05:27  <pvinogradov> no, ssha256 support included in commit https://bitbucket.org/pavel_vinogradov/gci10-moin-2.0-dev/changeset/d28ce1702819
 168 2010-12-13T19:07:37  <pvinogradov> i'm dont sure that this code is correct, but it pass my auth test
 169 2010-12-13T19:12:24  <ThomasWaldmann> is base64 encoding popular for ssha256 hashes?
 170 2010-12-13T19:13:21  <ThomasWaldmann> https://bitbucket.org/pavel_vinogradov/gci10-moin-2.0-dev/changeset/d28ce1702819#chg-MoinMoin/_tests/test_user.py_newline135 trailing blanks?
 171 2010-12-13T19:13:36  *** Samm has joined #moin-dev
 172 2010-12-13T19:18:03  <pvinogradov> why moin use base64 for sha1 passwords?
 173 2010-12-13T19:19:57  <ThomasWaldmann> does it?
 174 2010-12-13T19:20:50  <ThomasWaldmann> ah, yeah, it does
 175 2010-12-13T19:22:06  <pvinogradov> yes:)
 176 2010-12-13T19:25:50  <pvinogradov> i don't know why moin use base64 encoding for sha1, but i copy this approach for sha256 passwords
 177 2010-12-13T19:26:22  <pvinogradov> and i will fix trailing blanks in next commit
 178 2010-12-13T19:26:56  <ThomasWaldmann> maybe run the test_sourcecode test
 179 2010-12-13T19:27:31  *** greg_f has quit IRC
 180 2010-12-13T19:37:36  <pvinogradov> ThomasWaldmann: Thanks, now all warnings is fixed
 181 2010-12-13T19:40:18  *** pvinogradov has left #moin-dev
 182 2010-12-13T19:40:21  *** pvinogradov has joined #moin-dev
 183 2010-12-13T19:51:56  *** Guest10483 has joined #moin-dev
 184 2010-12-13T19:53:44  *** Guest10483 has quit IRC
 185 2010-12-13T19:53:44  *** Guest10483 has joined #moin-dev
 186 2010-12-13T19:53:45  <jbills> dreimark: Does ie 9 count?
 187 2010-12-13T19:53:48  *** Guest10483 is now known as rfw
 188 2010-12-13T19:55:34  <dreimark> jbills: since ms users do use ie9 yes. does it have a problem?
 189 2010-12-13T19:55:53  <jbills> yes innerhtml does not work
 190 2010-12-13T19:56:35  <dreimark> wasn't that introduces by ie at first time ?
 191 2010-12-13T19:56:46  <dreimark> do you have filed a bug report to ie?
 192 2010-12-13T19:56:56  <jbills> no
 193 2010-12-13T19:57:14  <jbills> does ie have adev console
 194 2010-12-13T19:57:57  *** franklin has joined #moin-dev
 195 2010-12-13T19:59:04  * dreimark has purged windows some years ago - don't ask me
 196 2010-12-13T20:00:41  <jbills> ThomasWaldman:Do you know of an alternative to innerhtml on ie
 197 2010-12-13T20:00:50  *** franklin_ has quit IRC
 198 2010-12-13T20:42:23  <jbills> ThomasWaldman:Do you know of an alternative to innerhtml on ie
 199 2010-12-13T20:43:01  <ThomasWaldmann> use google
 200 2010-12-13T20:43:09  <jbills> ok
 201 2010-12-13T20:43:41  <ThomasWaldmann> i don't know if it helps, but in moin2 we have jquery
 202 2010-12-13T20:44:41  <jbills> jqueries html function uses innerhtml
 203 2010-12-13T21:10:23  *** skylamer` has quit IRC
 204 2010-12-13T21:21:02  *** m4k3r has joined #moin-dev
 205 2010-12-13T21:48:29  <jbills> ThomasWaldman: It doesnt maximize in ie. it minimizes though
 206 2010-12-13T22:02:07  *** franklin_ has joined #moin-dev
 207 2010-12-13T22:02:29  *** franklin has quit IRC
 208 2010-12-13T22:27:20  <dreimark> jbills: http://domscripting.com/blog/display/99
 209 2010-12-13T22:41:48  <jbills> k
 210 2010-12-13T23:07:05  *** Samm has quit IRC
 211 

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-12-13 (last edited 2010-12-12 23:45:02 by IrcLogImporter)