1 2010-11-29T00:02:04  <moin2> how to make a  changeset?
   2 2010-11-29T00:05:22  <moin2> <dreimark> how do you make a changeset?
   3 2010-11-29T00:05:45  <ThomasWaldmann> ok, 5 new tasks up :)
   4 2010-11-29T00:06:43  *** maker__ has joined #moin-dev
   5 2010-11-29T00:07:13  <dreimark> moin2: i say hg diff after i have changed code or i do hg export [changeset number] if i have commited
   6 2010-11-29T00:07:16  <dreimark> +t
   7 2010-11-29T00:08:03  <moin2> hg diff [original] [new]   ?
   8 2010-11-29T00:08:23  <dreimark> just hg diff
   9 2010-11-29T00:08:42  <moin2> after changing the code in views.py
  10 2010-11-29T00:08:47  <dreimark> if it is done in the cloned repo hg knows the original
  11 2010-11-29T00:08:50  <dreimark> sure
  12 2010-11-29T00:11:46  <CIA-62> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5737:e0ea05bd1de8 1.9/contrib/googleimport/driver.py: googleimport: improve exception texts
  13 2010-11-29T00:12:37  <dreimark> moin2: in tortoise it is "View file status"
  14 2010-11-29T00:15:18  <moin2> yes i see it there in status, but what do i do with it?
  15 2010-11-29T00:17:14  <moin2> copy it all into a text file and submit it like that
  16 2010-11-29T00:17:36  <moin2> will that work?
  17 2010-11-29T00:19:30  <dreimark> yes, we will see
  18 2010-11-29T00:20:18  <moin2> i''' also request for review
  19 2010-11-29T00:22:44  <moin2> submitted
  20 2010-11-29T00:23:23  <ThomasWaldmann> """ for docstrings, not '''
  21 2010-11-29T00:23:45  <moin2> ok
  22 2010-11-29T00:24:05  <ThomasWaldmann> check indentation
  23 2010-11-29T00:25:08  <ThomasWaldmann> read pep8 :)
  24 2010-11-29T00:26:00  *** maker__ has quit IRC
  25 2010-11-29T00:26:01  <ThomasWaldmann> only call iteritems once to get a list of all item names
  26 2010-11-29T00:28:19  <moin2> the first one was to go through each item, the second one was to go through all items to check if that item existed
  27 2010-11-29T00:28:21  <ThomasWaldmann> those 2 inner loops are pretty inefficient (and not needed)
  28 2010-11-29T00:29:03  <ThomasWaldmann> maybe read the orphans code again and think about what you really need to do different (and what not)
  29 2010-11-29T00:29:24  <ThomasWaldmann> pythons set operations are quite powerful
  30 2010-11-29T00:29:58  <ThomasWaldmann> also, checking if an element is in a set can be done using the "in" operator
  31 2010-11-29T00:30:14  <ThomasWaldmann> e in s
  32 2010-11-29T00:32:10  <ThomasWaldmann> (your code likely works, but need tuning / simplification)
  33 2010-11-29T00:32:53  <dreimark> test_sourcecode would fai
  34 2010-11-29T00:32:54  <dreimark> l
  35 2010-11-29T00:33:14  <moin2> is iteritems a set
  36 2010-11-29T00:35:18  <ThomasWaldmann> no it is an iterator
  37 2010-11-29T00:36:05  <ThomasWaldmann> (that is something dynamically giving the next thing, you can see it simplified as a list)
  38 2010-11-29T00:38:26  * ThomasWaldmann hits Fn-key :)
  39 2010-11-29T00:42:45  <moin2> submitted again
  40 2010-11-29T00:43:56  <moin2> actually i can't
  41 2010-11-29T00:44:44  <moin2> submitted succesfully and awaiting review
  42 2010-11-29T00:45:08  <dreimark> moin2: use """ not ''' for doc string
  43 2010-11-29T00:45:18  <dreimark> and read pep8
  44 2010-11-29T00:45:45  <dreimark> or run pytest and keep an eye what test_sourcecode tells
  45 2010-11-29T00:45:55  <moin2> sorry forgot to change
  46 2010-11-29T00:46:00  <ThomasWaldmann> moin2: much better
  47 2010-11-29T00:46:07  <dreimark> twice time all_items defined
  48 2010-11-29T00:46:16  <dreimark> no my fault
  49 2010-11-29T00:46:26  <ThomasWaldmann> if you use same template as orphans, you can even see it in action now
  50 2010-11-29T00:46:42  <moin2> ok, what about the other part
  51 2010-11-29T00:46:57  <ThomasWaldmann> kill that wanted_items=set()
  52 2010-11-29T00:47:02  <dreimark> +wanteds to the url
  53 2010-11-29T00:47:23  <moin2> why kill it
  54 2010-11-29T00:47:47  <moin2> do i change anything for the +wanteds
  55 2010-11-29T00:47:53  <ThomasWaldmann> because you rebind it anyway
  56 2010-11-29T00:48:20  <moin2> right, should i submit it
  57 2010-11-29T00:48:53  <ThomasWaldmann> can you have a glance at pep8?
  58 2010-11-29T00:49:00  <moin2> what is that?
  59 2010-11-29T00:49:09  <ThomasWaldmann> the coding style for python
  60 2010-11-29T00:49:14  <ThomasWaldmann> google it
  61 2010-11-29T00:49:32  <ThomasWaldmann> almost every py coder (more or less) follows it
  62 2010-11-29T00:49:46  <ThomasWaldmann> except the ones who produce ugly code :))
  63 2010-11-29T00:51:04  <moin2> was it just for max length
  64 2010-11-29T00:52:44  <moin2> should i submit again
  65 2010-11-29T00:52:56  <dreimark> did you fixed pep8 ?
  66 2010-11-29T00:53:47  <moin2> i looked at the max length and fixed the extra spaces, was there anything else
  67 2010-11-29T00:54:07  <dreimark> it is also about where to add blanks
  68 2010-11-29T00:54:15  <dreimark> may be read it again
  69 2010-11-29T00:55:21  <ThomasWaldmann> moin2: did you run your code practically on the wiki?
  70 2010-11-29T00:57:19  <dreimark> moin2: http://moinmo.in/ReimarBauer?action=AttachFile&do=view&target=wanted.png
  71 2010-11-29T00:57:27  <dreimark> my editor cries
  72 2010-11-29T00:59:25  <moin2> no i didn't i couldn't figure out how to run it
  73 2010-11-29T00:59:48  <ThomasWaldmann> you just need to start the "moin" in the toplevel dir
  74 2010-11-29T01:00:11  <moin2> in the 2.0 dev folder
  75 2010-11-29T01:00:20  <ThomasWaldmann> and then acces http://localhost:8080/+wanteds
  76 2010-11-29T01:02:17  <moin2> is it working, should i submit again reformatted
  77 2010-11-29T01:03:43  <ThomasWaldmann> is it or it is?
  78 2010-11-29T01:03:50  <moin2> is it?
  79 2010-11-29T01:04:06  <ThomasWaldmann> is it working?
  80 2010-11-29T01:04:10  <moin2> yes
  81 2010-11-29T01:04:26  <moin2> that was what i was asking
  82 2010-11-29T01:05:02  <ThomasWaldmann> yes, submit it if it works
  83 2010-11-29T01:05:18  <ThomasWaldmann> then we can discuss what's still todo
  84 2010-11-29T01:05:58  <ThomasWaldmann> moin2: do you work under ms windows?
  85 2010-11-29T01:08:42  <dreimark> moin2: how can this work if the template is missing?
  86 2010-11-29T01:09:24  <moin2> what template?
  87 2010-11-29T01:09:34  <dreimark> wanteds.html ?
  88 2010-11-29T01:11:11  <dreimark> gn
  89 2010-11-29T01:12:45  <ThomasWaldmann> gn dreimark
  90 2010-11-29T01:13:46  <moin2> i can't start it , it gives me can't find program
  91 2010-11-29T01:14:57  <ThomasWaldmann> you need to start it with the python interpreter
  92 2010-11-29T01:15:03  <ThomasWaldmann> like: python moin
  93 2010-11-29T01:20:40  <moin2> with python.exe
  94 2010-11-29T01:20:41  <moin2> ?
  95 2010-11-29T01:26:14  <ThomasWaldmann> try it :)
  96 2010-11-29T01:26:44  <moin2> i did, it didn't work
  97 2010-11-29T01:26:54  <ThomasWaldmann> pythonw?
  98 2010-11-29T01:32:35  <moin2> it won't even open
  99 2010-11-29T01:38:09  <ThomasWaldmann> the start a cmd
 100 2010-11-29T01:38:19  <ThomasWaldmann> go to the moin directory
 101 2010-11-29T01:38:29  <ThomasWaldmann> enter: python moin
 102 2010-11-29T01:43:09  *** bobjoe has joined #moin-dev
 103 2010-11-29T01:46:46  <moin2> nothing seems to happen
 104 2010-11-29T01:50:44  <ThomasWaldmann> then you are doing something wrong :)
 105 2010-11-29T01:51:05  <ThomasWaldmann> what happens if you just enter: python<enter> on the commandline?
 106 2010-11-29T01:51:58  <moin2> it gives details on the python version i have
 107 2010-11-29T01:52:25  <ThomasWaldmann> that's your python interpreter running now
 108 2010-11-29T01:52:31  <ThomasWaldmann> enter 2**10
 109 2010-11-29T01:52:59  <ThomasWaldmann> enter 2**1000
 110 2010-11-29T01:54:11  <moin2> invalid arg
 111 2010-11-29T01:58:23  *** bobjoe has quit IRC
 112 2010-11-29T02:00:33  <ThomasWaldmann> http://paste.pocoo.org/show/297395/ should look like that
 113 2010-11-29T02:01:19  <ThomasWaldmann> is this your first python code?
 114 2010-11-29T02:02:24  <moin2> no, i normally run out of ide
 115 2010-11-29T02:02:45  <moin2> is my moin file suppose to have .py extension
 116 2010-11-29T02:04:39  <ThomasWaldmann> in the repo, it is just "moin"
 117 2010-11-29T02:04:57  <ThomasWaldmann> but you can make a copy of it to "moin.py" if that does help you
 118 2010-11-29T02:11:50  <moin2> my task deadline has passed
 119 2010-11-29T02:16:50  <ThomasWaldmann> how much time do you need additionally?
 120 2010-11-29T02:18:08  <moin2> i don't know the moin thing is not working
 121 2010-11-29T02:18:55  <ThomasWaldmann> hm?
 122 2010-11-29T02:19:21  <moin2> i changed the extension but its giving something weird when i run it
 123 2010-11-29T02:19:38  <ThomasWaldmann> weird means?
 124 2010-11-29T02:20:16  <moin2> a few warnings, and it won't let me input anything
 125 2010-11-29T02:21:32  <ThomasWaldmann> that is a server, you don't need to input stuff there
 126 2010-11-29T02:21:45  <ThomasWaldmann> just point your web browser to localhost:8080
 127 2010-11-29T02:21:56  *** nickr5 has quit IRC
 128 2010-11-29T02:22:05  <ThomasWaldmann> i extended deadline by 4 days
 129 2010-11-29T02:22:33  <moin2> ok, i am going to leave and see if i can make it work
 130 2010-11-29T02:22:56  <ThomasWaldmann> ok, cu tommorrow :)
 131 2010-11-29T02:23:01  *** moin2 has quit IRC
 132 2010-11-29T05:19:54  *** kursor has joined #moin-dev
 133 2010-11-29T07:27:13  *** Kapace_ has quit IRC
 134 2010-11-29T07:56:27  *** kursor has quit IRC
 135 2010-11-29T09:11:08  *** gwork has joined #moin-dev
 136 2010-11-29T09:40:19  <ThomasWaldmann> moin
 137 2010-11-29T09:44:53  <dreimark> moin
 138 2010-11-29T09:45:05  <dreimark> ThomasWaldmann: see ML ClaimRequested IRC bot
 139 2010-11-29T09:52:12  *** grzywacz has quit IRC
 140 2010-11-29T09:56:38  <ThomasWaldmann> yeah, nice :=
 141 2010-11-29T09:56:40  <ThomasWaldmann> )
 142 2010-11-29T09:57:49  <ThomasWaldmann> although a bit redundant (at least i get filled my mailbox with all sorts of gci notifications)
 143 2010-11-29T10:15:55  *** rfw has quit IRC
 144 2010-11-29T10:31:51  *** gustavojordan has quit IRC
 145 2010-11-29T10:54:48  *** greg_f has joined #moin-dev
 146 2010-11-29T13:23:58  *** pvinogradov has joined #moin-dev
 147 2010-11-29T13:35:50  <xorAxAx> dreimark: didnt you get my mail?
 148 2010-11-29T14:21:20  *** m4k3r has joined #moin-dev
 149 2010-11-29T14:32:01  <dreimark> xorAxAx: i did, my post here was before that, lets see if it works now
 150 2010-11-29T14:32:12  <dreimark> we need a new claim request ;)
 151 2010-11-29T16:02:36  *** kursor has joined #moin-dev
 152 2010-11-29T16:46:58  *** gwork has quit IRC
 153 2010-11-29T17:37:06  *** GCIBot has joined #moin-dev
 154 2010-11-29T17:38:20  *** GCIBot has quit IRC
 155 2010-11-29T17:38:33  *** GCIBot has joined #moin-dev
 156 2010-11-29T17:42:10  <ThomasWaldmann> moin
 157 2010-11-29T17:42:15  <ThomasWaldmann> hi GCIBot :)
 158 2010-11-29T17:42:17  <m4k3r> moin
 159 2010-11-29T17:42:31  <ThomasWaldmann> hi m4k3r :)
 160 2010-11-29T17:47:36  * xorAxAx hugs GCIBot
 161 2010-11-29T17:47:50  * xorAxAx hugs CIA-62
 162 2010-11-29T17:47:51  * CIA-62 hugs xorAxAx
 163 2010-11-29T17:48:12  <xorAxAx> virtuous bot!
 164 2010-11-29T17:49:13  <TheSheep> xorAxAx: human-bot love is forbidden!
 165 2010-11-29T17:50:34  * xorAxAx does usually not make love when hugging
 166 2010-11-29T17:51:20  * TheSheep usually does hug when/before/after making love
 167 2010-11-29T17:52:44  <xorAxAx> then you havent read the full kamasutra :)
 168 2010-11-29T17:59:04  <dreimark> lol
 169 2010-11-29T18:08:38  <ThomasWaldmann> http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037970322
 170 2010-11-29T18:08:47  <ThomasWaldmann> any more comments? is this done?
 171 2010-11-29T18:10:06  <ThomasWaldmann> still dark clouds, but maybe better now
 172 2010-11-29T18:10:17  <TheSheep> 500 Server Error
 173 2010-11-29T18:10:34  <ThomasWaldmann> you killed it!!1
 174 2010-11-29T18:11:03  <ThomasWaldmann> it=kenny
 175 2010-11-29T18:11:22  <dreimark> öicense question is not answered, can we assume gpl?
 176 2010-11-29T18:12:49  <dreimark> damn m$ tax - you need to configure it before removing
 177 2010-11-29T18:12:56  <ThomasWaldmann> m4k3r: https://bitbucket.org/account/signin/
 178 2010-11-29T18:13:17  <ThomasWaldmann> (click on OpenID)
 179 2010-11-29T18:19:56  <ThomasWaldmann> http://www.google-melange.com/gci/work_submission/download_blob?key=AMIfv97yhFvrlodUdBN5US19USIvz0pV6vgrtvW08lr69_fAnvn-d0TjylEM58pLJdA0FS_A6SIEsKgBsUCpm8YK1dvcMje-LTJwfOihQZ9zfZ_SRvxmnm1bmG2z7XWubFEstbCmWvGO5GpYfWAi4ULx6BFup0_uLg
 180 2010-11-29T18:20:32  <ThomasWaldmann> http://goo.gl/c7bV0
 181 2010-11-29T18:20:41  <ThomasWaldmann> TheSheep: works for me ^^
 182 2010-11-29T18:21:22  <TheSheep> wrong hue :(
 183 2010-11-29T18:21:26  <TheSheep> too much red
 184 2010-11-29T18:22:14  <ThomasWaldmann> red?
 185 2010-11-29T18:23:28  <ThomasWaldmann> my first thought was that clouds aren't blue usually, rather white, grey
 186 2010-11-29T18:23:51  <ThomasWaldmann> and that white clouds are maybe indicating friendlier weather
 187 2010-11-29T18:25:07  <TheSheep> that blue they used has too much of the red component so it looks violet
 188 2010-11-29T18:25:36  <ThomasWaldmann> ok.
 189 2010-11-29T18:25:54  <ThomasWaldmann> so he shall redo with less red or rather whitisch?
 190 2010-11-29T18:26:23  <TheSheep> I think it should use the same hue as the moin logo
 191 2010-11-29T18:26:35  <TheSheep> possibly less saturated
 192 2010-11-29T18:27:02  <TheSheep> but that's me
 193 2010-11-29T18:27:31  <ThomasWaldmann> http://farm4.static.flickr.com/3566/3856106332_f9bf6e29c3.jpg just some real clouds :)
 194 2010-11-29T18:28:33  <TheSheep> still wrong hue
 195 2010-11-29T18:28:34  <ThomasWaldmann> can i copy your comment into melange?
 196 2010-11-29T18:28:40  <TheSheep> sure
 197 2010-11-29T18:28:52  <ThomasWaldmann> real clouds have wrong hue?
 198 2010-11-29T18:29:20  <TheSheep> objects have no color, you know
 199 2010-11-29T18:29:33  <TheSheep> it's the light that bounces off them that has colors
 200 2010-11-29T18:30:01  <ThomasWaldmann> sure, and sunlight is white
 201 2010-11-29T18:30:07  <TheSheep> not really
 202 2010-11-29T18:30:58  <TheSheep> depends on the time of day, weather, position and latitude
 203 2010-11-29T18:31:09  <TheSheep> also altitude
 204 2010-11-29T18:31:20  <ThomasWaldmann> i want good weather :)
 205 2010-11-29T18:31:23  <TheSheep> but most of the time it's some shade of orange
 206 2010-11-29T18:31:26  <ThomasWaldmann> not like outside right now :D
 207 2010-11-29T18:32:29  <TheSheep> ThomasWaldmann: http://www.wulffmorgenthaler.com/striphandler.ashx?stripid=c83f25c9-3e7b-4311-9d53-2d9b0d55a8ec
 208 2010-11-29T18:34:31  <ThomasWaldmann> how much effort is it to make something like the student did with gimp?
 209 2010-11-29T18:35:14  <ThomasWaldmann> we have the same currently :P
 210 2010-11-29T18:35:29  <TheSheep> for me it's 1. find the right photo, 2. wait until gimp starts up, 3. crop to the right size, 4. apply the hue-saturation-lightness filter, 5. save
 211 2010-11-29T18:35:34  <TheSheep> 2. takes the longest time
 212 2010-11-29T18:36:07  <TheSheep> but that's assuming you know what you want
 213 2010-11-29T18:36:41  <m4k3r> ThomasWaldmann:  sorry, homwwork. Uhm, so, you want something like bitbucket's login?
 214 2010-11-29T18:37:08  <m4k3r> Now I have to continue with shchool, later I hope I can start writing something cool.
 215 2010-11-29T18:37:33  <ThomasWaldmann> yesterday, they had a funny moment in a documentation about Thomas Müntzer. War, no way out, hopeless. Suddenly a rainbow. "Must be a sign of God that we win."
 216 2010-11-29T18:38:22  <ThomasWaldmann> ok, so i guess it is not too much asking for another iteration.
 217 2010-11-29T18:40:12  <ThomasWaldmann> m4k3r: was just an example for something nice :)
 218 2010-11-29T18:59:27  *** kursor has quit IRC
 219 2010-11-29T19:20:40  <ThomasWaldmann> http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037970322 new bg image, comments?
 220 2010-11-29T19:26:40  <TheSheep> it's still violet, not blue
 221 2010-11-29T19:26:45  <TheSheep> pink even
 222 2010-11-29T19:33:31  <ThomasWaldmann> my tft seems to have less vibrant colours than yours
 223 2010-11-29T19:33:41  <ThomasWaldmann> or my eyes 8-)
 224 2010-11-29T19:41:36  <ThomasWaldmann> any more opinions?
 225 2010-11-29T19:48:47  *** rfw has joined #moin-dev
 226 2010-11-29T19:48:55  <dreimark> re
 227 2010-11-29T19:49:07  * dreimark looks
 228 2010-11-29T19:56:04  *** franklin has joined #moin-dev
 229 2010-11-29T19:56:50  <dreimark> ThomasWaldmann: i like it, task accepted ?
 230 2010-11-29T19:58:43  *** franklin_ has quit IRC
 231 2010-11-29T20:00:45  * dreimark looks with a large screen
 232 2010-11-29T20:06:39  *** greg_f has quit IRC
 233 2010-11-29T20:10:48  <dreimark> hmm, the logo colors don't fit
 234 2010-11-29T23:18:24  *** nickr5 has joined #moin-dev
 235 2010-11-29T23:51:11  *** m4k3r has quit IRC
 236 

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-11-29 (last edited 2010-11-28 23:45:02 by IrcLogImporter)