1 2010-11-27T00:21:35 *** rfw
2 2010-11-27T00:27:02 *** rfw
3 2010-11-27T00:27:02 *** rfw
4 2010-11-27T00:53:44 *** nickr5
5 2010-11-27T00:53:50 *** nickr500
6 2010-11-27T01:25:08 *** jordonwii
7 2010-11-27T01:45:35 *** jordonwii
8 2010-11-27T01:49:01 *** grzywacz
9 2010-11-27T01:49:01 *** grzywacz
10 2010-11-27T02:25:29 *** grzywacz
11 2010-11-27T02:59:14 *** nickr500
12 2010-11-27T05:18:27 *** jordonwii
13 2010-11-27T05:22:11 <jordonwii> Anyone know why jQuery won't bind events to an <object> element?
14 2010-11-27T06:21:26 <rfw> jordonwii: what event
15 2010-11-27T06:21:31 <rfw> /late
16 2010-11-27T06:21:34 <jordonwii> Heh
17 2010-11-27T06:21:36 <jordonwii> mouseover
18 2010-11-27T06:21:38 <jordonwii> mouseout
19 2010-11-27T06:21:41 <rfw> what object?
20 2010-11-27T06:21:50 <rfw> er
21 2010-11-27T06:21:52 <rfw> what kind of object
22 2010-11-27T06:21:58 <jordonwii> <object> element
23 2010-11-27T06:22:07 <rfw> yeah what does the <object> contain
24 2010-11-27T06:22:08 <jordonwii> Technically it's an image
25 2010-11-27T06:22:09 <rfw> flash?
26 2010-11-27T06:22:20 <rfw> using an object element for images?
27 2010-11-27T06:22:28 <jordonwii> For some reason MoinMoin turns images into <object>'s
28 2010-11-27T06:22:38 <jordonwii> I fixed it for now, but I dunno if the devs want that
29 2010-11-27T06:22:38 <rfw> ah
30 2010-11-27T06:22:47 <rfw> probably because <object> is meant to replace <img>
31 2010-11-27T06:22:53 <rfw> sometime in the future
32 2010-11-27T06:22:55 <jordonwii> ?
33 2010-11-27T06:23:12 <rfw> The <object> tag is used to include objects such as images, audio, videos, ... The object element was intended to replace the img and applet elements. ...
34 2010-11-27T06:23:23 <rfw> what does an object tag for images even look like, lol
35 2010-11-27T06:23:40 <jordonwii> Normal, except no context menu
36 2010-11-27T06:23:50 <jordonwii> I think it's just b/c they can't accurately determine the object type.
37 2010-11-27T06:23:56 <jordonwii> *mimetype
38 2010-11-27T06:24:02 <rfw> no, i mean what does the tag look like
39 2010-11-27T06:24:19 <rfw> <object type="image/jpeg" src="blah.jpg" alt="blah"/> ?
40 2010-11-27T06:24:56 <jordonwii> <object data="src"></object>
41 2010-11-27T06:25:29 <rfw> hm
42 2010-11-27T06:25:46 <rfw> i'd have to say it's probably a browser implementation that causes object not to emit mouseover/mouseout
43 2010-11-27T06:25:54 <jordonwii> >.<
44 2010-11-27T06:26:05 <rfw> it works if you use img tags, right?
45 2010-11-27T06:26:09 <jordonwii> Yup
46 2010-11-27T06:26:15 <rfw> yeah, browser implementation
47 2010-11-27T06:26:19 <rfw> have you tried another browser?
48 2010-11-27T06:26:26 <jordonwii> No, not yet
49 2010-11-27T06:26:32 <jordonwii> Too lazy =p
50 2010-11-27T06:26:50 <rfw> heh
51 2010-11-27T06:26:54 <rfw> what operating system are you on
52 2010-11-27T06:27:07 <jordonwii> Linux
53 2010-11-27T06:27:41 <rfw> ah, you could always try webkit/gecko/presto
54 2010-11-27T06:28:29 <jordonwii> I've got Firefox installed...and the button is at the top of my screen....
55 2010-11-27T06:29:02 <rfw> move that mouse! :D
56 2010-11-27T06:29:42 <jordonwii> =p
57 2010-11-27T06:29:48 <rfw> meanwhile i'll be figuring out how the hell plone even works
58 2010-11-27T06:29:55 <jordonwii> Lol
59 2010-11-27T06:30:01 <rfw> i can see why making a portlet that displays weather is difficult
60 2010-11-27T06:30:15 <jordonwii> Is Plone just super-complex?
61 2010-11-27T06:30:36 <rfw> http://pastebin.com/xEZPnGWC all this (and more) to display a weather doohickey on a page
62 2010-11-27T06:30:57 <jordonwii> dear god...
63 2010-11-27T06:31:04 <jordonwii> 470 lines???
64 2010-11-27T06:31:09 <rfw> yeah
65 2010-11-27T06:31:16 <rfw> well, apparently there's an easier way
66 2010-11-27T06:31:22 <rfw> but i was using another doohickey for reference
67 2010-11-27T06:31:33 <rfw> which was more or less the same thing, but with rss
68 2010-11-27T06:32:26 <rfw> but yeah it makes working on moinmoin a breeze D:
69 2010-11-27T06:33:13 <jordonwii> >.<
70 2010-11-27T06:38:37 <jordonwii> Hmm, you know any way to determine from an onmouseout event handler what element the mouse was moved to?
71 2010-11-27T06:41:06 <rfw> hm
72 2010-11-27T06:41:14 <rfw> bind onmouseover to every other element? lol
73 2010-11-27T06:41:55 <rfw> you could find the mouse coordinates
74 2010-11-27T06:42:06 <rfw> but not sure about actually determining what the element is
75 2010-11-27T06:42:11 <jordonwii> Hmm
76 2010-11-27T06:42:27 <jordonwii> Can I do $("#myElem:hover")?
77 2010-11-27T06:42:46 <rfw> hm
78 2010-11-27T06:42:46 <jordonwii> As a test to see if the mouse was moved to myElem
79 2010-11-27T06:42:47 <rfw> you might
80 2010-11-27T06:43:57 <jordonwii> Looks like it works
81 2010-11-27T06:44:00 <jordonwii> Sweet
82 2010-11-27T06:44:19 <rfw> http://stackoverflow.com/questions/2087093/hover-selector-doesnt-work-with-jquery-1-4
83 2010-11-27T06:44:20 <rfw> :hover is not a documented pseudoclass selector.
84 2010-11-27T06:44:26 <rfw> looks iffy though
85 2010-11-27T06:45:46 <jordonwii> Gah
86 2010-11-27T06:45:49 <jordonwii> Thank you
87 2010-11-27T06:45:59 <rfw> any time
88 2010-11-27T06:46:02 <rfw> back to ripping my hair out
89 2010-11-27T06:46:06 <jordonwii> Lol
90 2010-11-27T06:46:40 <rfw> oh, just a question out of curiosity
91 2010-11-27T06:46:43 <rfw> how old are you jordonwii
92 2010-11-27T06:46:49 <jordonwii> 15
93 2010-11-27T06:46:51 <jordonwii> You?
94 2010-11-27T06:46:52 <rfw> ah
95 2010-11-27T06:46:52 <rfw> not bad
96 2010-11-27T06:46:54 <rfw> 16
97 2010-11-27T06:46:59 <jordonwii> Nice
98 2010-11-27T06:47:04 <rfw> i don't think i knew much at 15
99 2010-11-27T06:47:32 <jordonwii> Heh...I started Python...2 years ago I believe
100 2010-11-27T06:47:56 <jordonwii> Winter....HTML, CSS, and JS the summer prior
101 2010-11-27T06:47:59 <jordonwii> =)
102 2010-11-27T06:48:03 <rfw> ah, i think i learnt php at 13
103 2010-11-27T06:48:13 <rfw> then i learnt python and realized what a stupid language php was
104 2010-11-27T06:49:02 <jordonwii> Same here =D
105 2010-11-27T06:49:13 <jordonwii> I learned PHP before Python, hated it
106 2010-11-27T06:49:23 <rfw> i liked it, until i learnt python
107 2010-11-27T06:49:29 <rfw> now i can't stand it
108 2010-11-27T06:49:56 <rfw> (even so, i'm considering doing a wordpress task)
109 2010-11-27T06:50:08 <jordonwii> =p
110 2010-11-27T06:50:13 <jordonwii> I hated JS before I started using MooTools, which lets you create Classes in JS
111 2010-11-27T06:50:19 <jordonwii> Classes = =D
112 2010-11-27T06:50:33 <rfw> i think that defeats the purpose of JS lol
113 2010-11-27T06:50:40 <rfw> i miss JS's prototypical functions in python
114 2010-11-27T06:50:47 <jordonwii> Really?
115 2010-11-27T06:50:50 <rfw> yeah
116 2010-11-27T06:50:56 <rfw> but then again that's called ruby :p
117 2010-11-27T06:50:59 <jordonwii> honestly, I never really leaned much about prototyping
118 2010-11-27T06:51:13 <rfw> well
119 2010-11-27T06:51:16 <rfw> it's like classical oop
120 2010-11-27T06:51:28 <rfw> except you can define functions after you create a class
121 2010-11-27T06:51:38 <rfw> which then get shared among all instances of that type of object
122 2010-11-27T06:51:52 <jordonwii> Which is super-handy-dandy
123 2010-11-27T06:52:03 <rfw> so, in js, it's possible to do string.__prototype__.hello = function() { alert("hello!"); }
124 2010-11-27T06:52:15 <rfw> er
125 2010-11-27T06:52:15 <rfw> maybe
126 2010-11-27T06:52:22 <rfw> string.__prototype__.hello = function() { alert(this); }
127 2010-11-27T06:52:26 <rfw> then "hello".hello()
128 2010-11-27T06:52:32 <jordonwii> Ironically, I also like MooTools b/c of its use of Prototyping on native objects
129 2010-11-27T06:52:43 <rfw> i've never touched mootools
130 2010-11-27T06:52:46 <jordonwii> But Prototyping sounds cool...I'm just used to Classes I guess
131 2010-11-27T06:53:20 <rfw> i've poked dōjō with a foot-long pole
132 2010-11-27T06:53:31 <rfw> but in the end i still love jquery :p
133 2010-11-27T06:53:46 <jordonwii> Agh, I used Dojo for a while
134 2010-11-27T06:53:55 <jordonwii> Too complex for being not well documented
135 2010-11-27T06:54:11 <rfw> also i didn't like the idea of having dijit attributes in your html
136 2010-11-27T06:54:24 <jordonwii> Why does an empty selector in jQuery evaluate to true??
137 2010-11-27T06:54:41 <jordonwii> $() apparently is true
138 2010-11-27T06:54:51 <rfw> !!jQuery("")
139 2010-11-27T06:54:51 <rfw> true
140 2010-11-27T06:54:54 <rfw> probably because [] is true
141 2010-11-27T06:55:04 <jordonwii> Why is [] true??
142 2010-11-27T06:55:25 <rfw> this isn't _python_, you know :p
143 2010-11-27T06:55:48 <rfw> it's even worse in ruby, where "" is true
144 2010-11-27T06:55:48 <jordonwii> =p
145 2010-11-27T06:55:52 <jordonwii> Ack
146 2010-11-27T07:01:22 <rfw> every time i google "plone" i think "must construct additional plones"
147 2010-11-27T07:04:03 <jordonwii> ?
148 2010-11-27T07:04:26 <rfw> http://knowyourmeme.com/memes/you-must-construct-additional-pylons <-- you don't know this?
149 2010-11-27T07:05:24 <jordonwii> Wth, why do I not know of this meme?
150 2010-11-27T07:05:32 <rfw> :p
151 2010-11-27T07:05:44 <jordonwii> =p
152 2010-11-27T07:06:16 <jordonwii> Ok, how the heck can I tell whether the return value of $("some-selector") returns []??
153 2010-11-27T07:06:51 <rfw> $("some-selector").length != 0?
154 2010-11-27T07:07:14 <jordonwii> Heh
155 2010-11-27T07:07:17 <jordonwii> yes
156 2010-11-27T07:07:20 <jordonwii> Thanks...again =p
157 2010-11-27T07:24:16 <rfw> YES
158 2010-11-27T07:24:17 <rfw> YEEES
159 2010-11-27T07:24:21 <rfw> IT LOADED IN PLONE
160 2010-11-27T07:28:16 <jordonwii> =D
161 2010-11-27T07:28:21 <jordonwii> Good job
162 2010-11-27T07:47:15 *** Roboraider
163 2010-11-27T07:49:32 <jordonwii> Ok, I'm going to bed
164 2010-11-27T07:49:34 <jordonwii> 'Night
165 2010-11-27T07:49:52 *** jordonwii
166 2010-11-27T08:10:50 <dreimark> moin
167 2010-11-27T08:11:04 <dreimark> ThomasWaldmann: do you prefer anchorlinks?
168 2010-11-27T08:42:31 <valeuf> moin
169 2010-11-27T08:53:01 *** Roboraider
170 2010-11-27T08:53:27 *** kursor
171 2010-11-27T09:08:18 <dreimark> xorAxAx: please add your opinion to the alternate stylesheet task
172 2010-11-27T09:08:38 <xorAxAx> url?
173 2010-11-27T09:09:10 <dreimark> http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037965662
174 2010-11-27T09:14:36 <xorAxAx> dreimark: its ok IMHO
175 2010-11-27T09:29:58 <dreimark> xorAxAx: my comment or the work ?
176 2010-11-27T10:02:50 *** rfw
177 2010-11-27T10:07:05 *** franklin
178 2010-11-27T11:08:06 <dreimark> bbl
179 2010-11-27T11:19:34 *** kursor
180 2010-11-27T11:34:21 *** greg_f
181 2010-11-27T12:18:40 <ThomasWaldmann> moin
182 2010-11-27T12:24:40 <xorAxAx> dreimark: the work
183 2010-11-27T12:29:04 <dreimark> ThomasWaldmann: your decision http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037965662
184 2010-11-27T12:36:11 <ThomasWaldmann> i am not too happy with that one
185 2010-11-27T12:36:51 <ThomasWaldmann> e.g. all links go to a dropbox, there is no real "submission" to melange and he did not even attach the css or screenshots to the wiki page he made
186 2010-11-27T12:37:21 <ThomasWaldmann> i didn't use dropbox yet, but i guess you can clean up your files any time,right?
187 2010-11-27T12:41:27 <dreimark> i guess yes. with the other student who used that i had the patch problem
188 2010-11-27T12:41:56 <dreimark> the drop box solution is likly no real submission
189 2010-11-27T12:49:05 <ThomasWaldmann> dreimark: can you set "more work needed" there?
190 2010-11-27T12:49:27 <ThomasWaldmann> it only offers "comment without action" to me
191 2010-11-27T13:01:25 <waldi> what was it I should review?
192 2010-11-27T13:02:38 <ThomasWaldmann> https://bitbucket.org/RogerHaase/moin-2.0-dev
193 2010-11-27T13:03:16 <ThomasWaldmann> esp. the dom related stuff
194 2010-11-27T13:06:05 <dreimark> ThomasWaldmann: On 26th November 2010 21:44, by ReimarBauer:
195 2010-11-27T13:10:59 <ThomasWaldmann> so?
196 2010-11-27T13:20:28 <dreimark> it is already
197 2010-11-27T14:01:45 *** grzywacz
198 2010-11-27T14:01:45 *** grzywacz
199 2010-11-27T14:14:47 * ThomasWaldmann leaves for some hours, will be back later
200 2010-11-27T14:38:48 *** m4k3r
201 2010-11-27T14:41:22 * ThomasWaldmann stays, leaves later :)
202 2010-11-27T15:39:05 *** kursor
203 2010-11-27T17:17:28 *** m4k3r
204 2010-11-27T17:18:01 *** m4k3r
205 2010-11-27T18:39:17 *** m4k3r
206 2010-11-27T18:44:06 *** TheSheep_
207 2010-11-27T18:46:06 *** greg_f
208 2010-11-27T18:46:06 *** TheSheep
209 2010-11-27T18:51:09 *** greg_f
210 2010-11-27T18:51:09 *** greg_f
211 2010-11-27T19:34:36 *** nickr500
212 2010-11-27T19:39:32 *** kursor_
213 2010-11-27T19:39:52 *** blathijs_
214 2010-11-27T19:39:55 *** kursor
215 2010-11-27T19:39:55 *** Kapace_
216 2010-11-27T19:39:56 *** franklin_
217 2010-11-27T19:39:56 *** eSyr
218 2010-11-27T19:39:58 *** kursor_
219 2010-11-27T19:40:01 *** nickr5
220 2010-11-27T19:40:01 *** grzywacz
221 2010-11-27T19:40:01 *** franklin
222 2010-11-27T19:40:02 *** blathijs
223 2010-11-27T19:40:05 *** grzywa
224 2010-11-27T19:40:08 *** TheSheep_
225 2010-11-27T19:40:23 *** xorAxAx
226 2010-11-27T19:40:28 *** Kapace_
227 2010-11-27T19:41:55 *** xorAxAx
228 2010-11-27T19:42:17 *** eSyr
229 2010-11-27T19:45:03 *** TheSheep
230 2010-11-27T19:45:36 *** greg_f
231 2010-11-27T19:59:35 <ThomasWaldmann> re
232 2010-11-27T20:33:40 *** greenskeleron
233 2010-11-27T20:36:05 *** greenskeleton
234 2010-11-27T20:45:15 *** rfw
235 2010-11-27T20:45:15 *** rfw
236 2010-11-27T21:08:35 *** nickr500
237 2010-11-27T21:24:17 <Kapace_> what does "re" mean?
238 2010-11-27T21:26:45 *** nickr5
239 2010-11-27T21:28:27 *** Roboraider
240 2010-11-27T21:33:18 <dreimark> Kapace_: return
241 2010-11-27T21:33:22 <dreimark> re
242 2010-11-27T21:33:42 <dreimark> because we are always logged in we tell when we are available
243 2010-11-27T21:33:54 <Kapace_> oh i see
244 2010-11-27T21:36:36 <Roboraider> im confused. what did ReimarBauer and Thomas Waldmann mean when they said, "You have to find all places (in the templates, in the code)..." ??
245 2010-11-27T21:36:44 <Roboraider> i used grep
246 2010-11-27T21:37:01 <Roboraider> errr
247 2010-11-27T21:37:06 <Roboraider> find . -name "*.*" | xargs grep "entry="
248 2010-11-27T21:37:11 *** kursor
249 2010-11-27T21:37:21 <Roboraider> find . -name "*.*" | xargs grep ""
250 2010-11-27T21:37:36 <Roboraider> to find references to the html
251 2010-11-27T21:37:42 <Roboraider> http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037966408#c17001
252 2010-11-27T21:38:00 <Roboraider> but i couldnt find anything in the code base
253 2010-11-27T21:39:10 <Roboraider> im just supposed to search for things in the 2.0-dev folder, right?
254 2010-11-27T21:42:07 <ThomasWaldmann> entry= ?
255 2010-11-27T21:42:12 <Roboraider> oops
256 2010-11-27T21:42:16 <Roboraider> typo
257 2010-11-27T21:42:24 <Roboraider> find . -name "*.*" | xargs grep ""
258 2010-11-27T21:42:38 <Roboraider> i put whatever im looking for in grep ""
259 2010-11-27T21:44:34 <ThomasWaldmann> so, what exactly DID you search for?
260 2010-11-27T21:44:50 <Roboraider> 'html_after_footer', 'html_before_footer', 'html_after_header', 'html_be= fore_header', 'logo', 'html_pagetitle' and 'html_head'.
261 2010-11-27T21:45:08 * ThomasWaldmann can't read minds (yet!), so if you don't tell, I don't know what you did.
262 2010-11-27T21:45:22 <Roboraider> argh
263 2010-11-27T21:45:29 <Roboraider> equals signs
264 2010-11-27T21:45:39 <Roboraider> 'html_after_footer', 'html_before_footer', 'html_after_header', 'html_before_header', 'logo', 'html_pagetitle' and 'html_head'.
265 2010-11-27T21:47:07 <Roboraider> Those entries were the only pieces of configurable html that i found in the default.py file.
266 2010-11-27T21:47:39 <ThomasWaldmann> you have search for all html, not only the configurable one
267 2010-11-27T21:48:10 <ThomasWaldmann> that was just an example for the non-obvious stuff, you also have to look for the obvious
268 2010-11-27T21:48:31 <Roboraider> could you give me an example?
269 2010-11-27T21:49:29 <ThomasWaldmann> $ find . -name "*.html" | xargs grep "html_after"
270 2010-11-27T21:49:29 <ThomasWaldmann> ./templates/layout.html:{{ theme_supp.emit_custom_html(cfg.html_after_header) }}
271 2010-11-27T21:49:32 <ThomasWaldmann> ./templates/layout.html:{{ theme_supp.emit_custom_html(cfg.html_after_footer) }}
272 2010-11-27T21:49:45 <Roboraider> i checked layout.html
273 2010-11-27T21:50:08 <Roboraider> i did that
274 2010-11-27T21:50:12 <ThomasWaldmann> so you put a HHH there?
275 2010-11-27T21:50:15 <Roboraider> yes
276 2010-11-27T21:50:17 <ThomasWaldmann> ok
277 2010-11-27T21:50:35 <ThomasWaldmann> well, html you can find by looking for <...>
278 2010-11-27T21:51:47 <Roboraider> so im just going to look for those <> and just insert HHH>
279 2010-11-27T21:51:50 <Roboraider> ?
280 2010-11-27T21:52:36 <ThomasWaldmann> use your brain :)
281 2010-11-27T21:52:48 <Roboraider> okay
282 2010-11-27T21:53:03 <ThomasWaldmann> if you found something, you can also ask about it
283 2010-11-27T21:53:55 <ThomasWaldmann> not all <...> is html
284 2010-11-27T21:54:24 <dreimark> you have to look for html tags
285 2010-11-27T21:54:59 <Roboraider> yeah
286 2010-11-27T21:55:05 <Roboraider> so this would be an example: content = '<div><pre>%s</pre></div>' % content?
287 2010-11-27T21:55:36 <Roboraider> in the 2.0-dev/MoinMoin/apps/feed.py file
288 2010-11-27T21:57:00 <dreimark> isn't it that i showed you?
289 2010-11-27T21:57:18 <dreimark> yes
290 2010-11-27T21:57:49 <Roboraider> oh
291 2010-11-27T21:57:52 <Roboraider> okay
292 2010-11-27T21:58:17 <ThomasWaldmann> util/diff_html.py
293 2010-11-27T22:01:06 <ThomasWaldmann> ignore stuff in converter/_tests
294 2010-11-27T22:01:35 <Roboraider> i think i understand now
295 2010-11-27T22:02:06 <ThomasWaldmann> ignore stuff in support/
296 2010-11-27T22:03:06 <Roboraider> is there anything else to ignore?
297 2010-11-27T22:04:15 <ThomasWaldmann> i think that is the most important stuff to ignore
298 2010-11-27T22:04:33 <Roboraider> thank you for your help
299 2010-11-27T22:04:39 <Roboraider> sorry for asking so many questions
300 2010-11-27T22:04:53 <ThomasWaldmann> btw, you should put the HHH at the place where the complete html fragment is assembled and used
301 2010-11-27T22:05:24 <ThomasWaldmann> (or xml)
302 2010-11-27T22:08:17 *** Roboraider
303 2010-11-27T22:11:57 *** jordonwii
304 2010-11-27T22:12:28 <jordonwii> Hi
305 2010-11-27T22:13:42 <ThomasWaldmann> moin :)
306 2010-11-27T22:14:17 <jordonwii> Greetings =)
307 2010-11-27T22:15:02 <jordonwii> Does moin mean something in a certain language?
308 2010-11-27T22:19:22 <dreimark> jordonwii: yes in northern german
309 2010-11-27T22:19:52 <jordonwii> Really? That's good to know =)
310 2010-11-27T22:20:43 <ThomasWaldmann> http://moinmo.in/MoinMoinEtymology
311 2010-11-27T22:20:45 <dreimark> i am looking for the explaination page
312 2010-11-27T22:20:48 <dreimark> a there it is
313 2010-11-27T22:21:29 <dreimark> i sesared fot Etymologie the s/ie/y/ is the difference for en
314 2010-11-27T22:21:39 <dreimark> s/sesared/searched/
315 2010-11-27T22:24:06 <ThomasWaldmann> dreimark: with 100kb, i meant the size of the checked code
316 2010-11-27T22:24:22 <ThomasWaldmann> we could also require a diff >= xx KB, maybe easiest to check
317 2010-11-27T22:30:27 <dreimark> ThomasWaldmann: i thought replacing @ by : could be counted.
318 2010-11-27T22:33:35 <dreimark> if someone chooses item.__init__ it is quite less work and size is big
319 2010-11-27T22:34:15 <dreimark> grep @ __init__.py | wc is 11
320 2010-11-27T22:36:00 <dreimark> wikiutil is small 27K and has 64
321 2010-11-27T22:36:11 <ThomasWaldmann> i guess size of a non-unified diff is a good measure
322 2010-11-27T22:36:11 <dreimark> +er
323 2010-11-27T22:36:45 <dreimark> ok
324 2010-11-27T22:37:12 <dreimark> (if it isn't to complicated)
325 2010-11-27T22:38:01 *** moin2
326 2010-11-27T22:38:20 <moin2> i need clarification on my task
327 2010-11-27T22:39:16 <dreimark> moin2: url please
328 2010-11-27T22:39:47 <dreimark> ThomasWaldmann: ^
329 2010-11-27T22:40:29 <moin2> http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037965248
330 2010-11-27T22:40:36 <moin2> is that it?
331 2010-11-27T22:41:08 <dreimark> Title: implement wanted items view ?
332 2010-11-27T22:41:12 <moin2> yes
333 2010-11-27T22:41:27 <dreimark> then what do you want to know?
334 2010-11-27T22:42:33 <moin2> it was said that the list was similar to WantedPages in version 1, and the code for that was given, so am i supposed to modify
335 2010-11-27T22:42:34 <moin2> it
336 2010-11-27T22:42:36 <moin2> ?
337 2010-11-27T22:43:10 <dreimark> moin2: you need to rewrite it for moin-2.0
338 2010-11-27T22:43:23 <dreimark> do you have a clone of moin-2.0 repo?
339 2010-11-27T22:43:26 <moin2> can i copy it though?
340 2010-11-27T22:43:30 <moin2> no i don't
341 2010-11-27T22:43:53 <dreimark> get a clone by hg clone http://hg.moinmo.in/moin/2.0-dev/
342 2010-11-27T22:44:39 <dreimark> your task is quite similiar to the orphaned items task, which is already implemented
343 2010-11-27T22:44:59 <moin2> where do i go for cloning?
344 2010-11-27T22:45:16 <dreimark> hg clone http://hg.moinmo.in/moin/2.0-dev/
345 2010-11-27T22:45:26 <moin2> what do i do there?
346 2010-11-27T22:45:37 <dreimark> what platform do you use?
347 2010-11-27T22:45:42 <moin2> windows 7
348 2010-11-27T22:46:37 <dreimark> you need then install mercurial for windows http://mercurial.selenic.com/downloads/
349 2010-11-27T22:46:54 <dreimark> TortoiseHg
350 2010-11-27T22:47:11 <moin2> am doing it
351 2010-11-27T22:51:20 <moin2> ok it is downloaded, so how do i clone?
352 2010-11-27T22:51:52 <dreimark> do you have installed it?
353 2010-11-27T22:51:58 <moin2> yes
354 2010-11-27T22:52:01 <jordonwii> bbl
355 2010-11-27T22:52:02 *** jordonwii
356 2010-11-27T22:53:17 <dreimark> moin2: i have to start my virtual windows first, i only very seldom use windows
357 2010-11-27T22:53:21 <dreimark> moment please
358 2010-11-27T22:53:29 <moin2> ok, no problem
359 2010-11-27T23:01:21 <dreimark> http://tortoisehg.bitbucket.org/manual/1.1/quick.html
360 2010-11-27T23:02:14 <dreimark> select the clone
361 2010-11-27T23:02:46 <dreimark> http://tortoisehg.bitbucket.org/manual/1.1/clone.html
362 2010-11-27T23:02:53 <dreimark> enter the url i showed
363 2010-11-27T23:04:02 <moin2> ok
364 2010-11-27T23:09:03 <moin2> i am confused by step 3.4
365 2010-11-27T23:09:22 <dreimark> moin2: do you have the clone ?
366 2010-11-27T23:09:50 <dreimark> because if you use a clone you have already a repository
367 2010-11-27T23:10:00 <dreimark> 3.4 is for starting an own empty one
368 2010-11-27T23:10:37 <moin2> what exactly is the clone we're talkin g about?
369 2010-11-27T23:10:52 <dreimark> you must clone the moinmoin repository
370 2010-11-27T23:11:07 <dreimark> this is the codebase you want to work with
371 2010-11-27T23:11:20 <moin2> and what do i do for that?
372 2010-11-27T23:11:21 <dreimark> it is this http://hg.moinmo.in/moin/2.0-dev/
373 2010-11-27T23:11:43 <dreimark> you start the explorer on windows
374 2010-11-27T23:12:15 <dreimark> then you do a right click and select tortoisehg
375 2010-11-27T23:12:27 <dreimark> you select clone
376 2010-11-27T23:12:36 <dreimark> you give the url as source
377 2010-11-27T23:12:49 <dreimark> and destination e.g. moin-2.0
378 2010-11-27T23:13:00 <dreimark> with a drive letter
379 2010-11-27T23:13:43 <moin2> is it like 10120 chunks?
380 2010-11-27T23:14:34 <dreimark> can be, it is developed since 10 years
381 2010-11-27T23:15:00 <moin2> ok
382 2010-11-27T23:15:54 <dreimark> you have the files now local. I show our sources for reference
383 2010-11-27T23:16:09 <moin2> it's still cloning
384 2010-11-27T23:16:52 <dreimark> see here http://hg.moinmo.in/moin/2.0-dev/file/79e1a06073d1/MoinMoin/apps/frontend/views.py#l439
385 2010-11-27T23:17:47 <moin2> was that single function the solution to the implements orphane items task?
386 2010-11-27T23:18:14 <dreimark> sorry , we take this one http://hg.moinmo.in/moin/2.0-dev/file/tip/MoinMoin/apps/frontend/views.py#l440
387 2010-11-27T23:18:28 <dreimark> yes
388 2010-11-27T23:18:38 <dreimark> you must do something similiar for wanted pages
389 2010-11-27T23:19:12 <moin2> i've been so confused with figuring out what i'm supposed to do, that i have not even been able to code yet
390 2010-11-27T23:19:25 <dreimark> in your case it is collecting all links from the meta data of items
391 2010-11-27T23:19:40 <dreimark> and then to check which are not as itemname given
392 2010-11-27T23:19:59 <moin2> ok
393 2010-11-27T23:20:18 <moin2> is the cloning supposed to be slow or is it just my computer?
394 2010-11-27T23:20:37 <dreimark> it is slow, nearly 240MB of all the history
395 2010-11-27T23:20:59 <moin2> ok
396 2010-11-27T23:39:40 <moin2> it is not doing anything with only 5 chunks left to go
397 2010-11-27T23:40:08 <dreimark> may be it takes longer for the lasts, i cloned at the same time as you
398 2010-11-27T23:40:10 <dreimark> on win xp
399 2010-11-27T23:40:23 <dreimark> it is now finished for me
400 2010-11-27T23:40:39 <moin2> did it slow at the finish?
401 2010-11-27T23:40:50 <dreimark> yes
402 2010-11-27T23:40:57 <moin2> ok
403 2010-11-27T23:46:12 * dreimark liklyhas a faster speed because of the virtual windows on a ssd
404 2010-11-27T23:46:51 <moin2> ok
405 2010-11-27T23:47:26 <dreimark> the student doing the security task was also successful with cloning on windows 7
406 2010-11-27T23:48:25 <moin2> is this task possible without the clone?
407 2010-11-27T23:48:49 <dreimark> it is easier with it, you have to submit a patch of your changes
408 2010-11-27T23:49:37 <dreimark> ThomasWaldmann: do you have an idea why it is so slow on win7 ?
409 2010-11-27T23:49:54 <moin2> clone successful
410 2010-11-27T23:50:03 <ThomasWaldmann> because latencies differ and win7 is crap? :D
411 2010-11-27T23:50:13 <moin2> 7 is better than vista
412 2010-11-27T23:50:27 <moin2> but i guess not upto linux
413 2010-11-27T23:50:35 <ThomasWaldmann> yeah, vista was evil crap :))
414 2010-11-27T23:50:54 <rfw> vista was what made me use linux for a few years :D
415 2010-11-27T23:51:27 <ThomasWaldmann> what's the task you do, moin2?
416 2010-11-27T23:51:45 <moin2> http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037965248
417 2010-11-27T23:51:58 <moin2> so what should i do with the clone now?
418 2010-11-27T23:52:28 <dreimark> i shoed you the source file where the orphans example is
419 2010-11-27T23:52:31 <ThomasWaldmann> ah, that one, ok
420 2010-11-27T23:52:42 <moin2> yes
421 2010-11-27T23:52:54 <dreimark> implement there the wanted_items function
422 2010-11-27T23:53:10 <ThomasWaldmann> moin2: you had a good preparation by someone else :)
423 2010-11-27T23:53:23 <moin2> so write the function in that file and submit it
424 2010-11-27T23:53:33 <ThomasWaldmann> a changeset
425 2010-11-27T23:53:41 <dreimark> not the file
426 2010-11-27T23:53:50 <ThomasWaldmann> set your name / email in tortoise first, global settings
427 2010-11-27T23:54:00 <ThomasWaldmann> it will show you as author in the changeset
428 2010-11-27T23:54:53 <moin2> ok
429 2010-11-27T23:56:13 <moin2> now what?
430 2010-11-27T23:56:32 <dreimark> ?
431 2010-11-27T23:56:45 <moin2> how to make a changeset?
432 2010-11-27T23:57:04 <ThomasWaldmann> have a look at the old code, have a look at orphans in moin2 (see dreimarks link)
433 2010-11-27T23:57:15 <ThomasWaldmann> then implement wanteds for moin2
434 2010-11-27T23:57:19 <dreimark> if you have added code check the file with the tutoise addon
435 2010-11-27T23:57:27 <dreimark> read the manual i posted beforehand
436 2010-11-27T23:58:00 <ThomasWaldmann> you can run moin by starting "moin" in the toplevel dir
437 2010-11-27T23:59:48 <dreimark> the view is then called by +wanteds