1 2011-04-12T00:21:41 *** pkumar_
2 2011-04-12T00:28:43 *** m4k3r
3 2011-04-12T03:23:49 *** ronny
4 2011-04-12T03:36:51 *** ronny
5 2011-04-12T03:54:58 *** ronny
6 2011-04-12T04:07:48 *** ronny
7 2011-04-12T04:19:20 *** Marchael
8 2011-04-12T04:31:33 *** Marchael
9 2011-04-12T05:23:09 *** Marchael
10 2011-04-12T05:31:43 <Marchael> moin
11 2011-04-12T07:31:50 *** andialbrecht_
12 2011-04-12T07:37:45 *** andialbrecht
13 2011-04-12T08:12:06 *** andialbrecht_
14 2011-04-12T08:13:33 <andialbrecht> Moin
15 2011-04-12T08:44:13 <dreimark> moin
16 2011-04-12T09:17:31 *** Marchael
17 2011-04-12T09:35:21 *** ronny
18 2011-04-12T09:36:34 *** ronny
19 2011-04-12T09:37:25 <ThomasWaldmann> there seem to be deadline(?) about students of projects we want to do shall have an assigned mentor right now
20 2011-04-12T09:38:12 <ThomasWaldmann> (so that google can do preliminary slot allocations)
21 2011-04-12T09:38:40 <ThomasWaldmann> the mentor assignment doesn't need to be final
22 2011-04-12T09:38:58 *** Marchael
23 2011-04-12T09:39:33 <ThomasWaldmann> therefore (so not to miss anything) I temporarily assigned myself as mentor to the projects that look good
24 2011-04-12T09:42:08 <ThomasWaldmann> dreimark: jek: waldi: xorAxAx: please click "i want to mentor" for whatever you think you could and want to mentor, so we can replace my temporary assignment by a more real one soon
25 2011-04-12T09:42:58 <dreimark> ThomasWaldmann: ok
26 2011-04-12T09:43:53 <ThomasWaldmann> please also continue scoring
27 2011-04-12T09:45:53 *** Marchael
28 2011-04-12T09:47:03 *** Marchael
29 2011-04-12T09:48:06 <Marchael> ThomasWaldmann: how can I see which mentor assigned to my project?
30 2011-04-12T09:51:02 <ThomasWaldmann> Marchael: you'll see it after it is final and it will be announced by google
31 2011-04-12T09:51:11 <Marchael> hm, ok
32 2011-04-12T09:59:44 <Marchael> ThomasWaldmann: I think what whoosh is offers enough for my project. Indexing schema and search quieries are quite flexible for advanced searching
33 2011-04-12T10:00:16 <Marchael> sqla can be using as storage backend
34 2011-04-12T10:02:31 <Marchael> also If I need all document for displaying I can use name\uuid\rev_no
35 2011-04-12T10:03:16 <Marchael> althought name\rev_no will be enough
36 2011-04-12T10:05:09 <ThomasWaldmann> dreimark: jek: waldi: xorAxAx: please read carol's email from 2011-04-11 15:59 on the mentor list
37 2011-04-12T10:12:58 *** ronny
38 2011-04-12T10:13:30 *** ronny
39 2011-04-12T10:20:58 *** ronny
40 2011-04-12T10:25:58 *** ronny
41 2011-04-12T10:58:21 <ThomasWaldmann> Marchael: yes, for accessing an item revision you use either name or uuid, plus revno
42 2011-04-12T10:59:46 <ThomasWaldmann> Marchael: maybe try to make a more detailed plan
43 2011-04-12T11:00:37 <Marchael> weekly plan?
44 2011-04-12T11:01:34 <Marchael> or clarify existing?
45 2011-04-12T11:01:55 <ThomasWaldmann> well, the schedule needs improvement, I already said that in a public melange comment
46 2011-04-12T11:02:40 <ThomasWaldmann> but what i meant above was rather about implementation, goals, how it should look like, how it all works together etc.
47 2011-04-12T11:04:01 *** MattMaker
48 2011-04-12T11:04:02 <Marchael> ok, I`ll try to do it
49 2011-04-12T11:04:50 *** MattMaker
50 2011-04-12T11:05:01 <ThomasWaldmann> maybe start with the informal plan. afterwards you'll know better for your schedule, too.
51 2011-04-12T11:05:58 <ThomasWaldmann> just start somewhere. e.g. at the search box' input field.
52 2011-04-12T11:06:47 <ThomasWaldmann> what should be doable there? syntax for doing that? how will the query get processed?
53 2011-04-12T11:07:18 <ThomasWaldmann> how will results get presented?
54 2011-04-12T11:07:31 <ThomasWaldmann> what is needed in index to do this all?
55 2011-04-12T11:07:52 <ThomasWaldmann> what's exact 1:1, what has to be preprocessed and how?
56 2011-04-12T11:09:51 <xorAxAx> 1:1?
57 2011-04-12T11:11:32 <ThomasWaldmann> xorAxAx: a revision mtime can be put "as is" into the index. but revision content text needs tokenization etc.
58 2011-04-12T11:11:59 <xorAxAx> ah, yes
59 2011-04-12T11:13:02 <ThomasWaldmann> Marchael: and keep in mind we have mimetyped items, so non-text content of misc. types exists.
60 2011-04-12T11:15:07 <Marchael> I`s simply solves by adding comprasion between item mimetype and list of mimetypes allowing for indexing
61 2011-04-12T11:15:16 <Marchael> *It
62 2011-04-12T11:15:49 <ThomasWaldmann> not quite
63 2011-04-12T11:17:22 <ThomasWaldmann> it depends on what we can process somehow. if we can't process some content, we'll still index the revision, but there won't be indexed content then.
64 2011-04-12T11:23:22 <ThomasWaldmann> Marchael: see MoinMoin.filter in 1.9. we can't use this 1:1 (no plugins in moin2), but we need something doing a similar job.
65 2011-04-12T11:43:57 *** Marchael
66 2011-04-12T13:05:31 *** ronny
67 2011-04-12T13:13:23 *** greg_f
68 2011-04-12T13:44:42 *** Marchael
69 2011-04-12T14:07:02 *** ronny
70 2011-04-12T14:26:06 *** grad
71 2011-04-12T14:28:45 *** ei-grad
72 2011-04-12T14:31:46 *** grad_
73 2011-04-12T14:32:03 *** grad
74 2011-04-12T14:32:16 *** grad_
75 2011-04-12T14:32:17 *** ei-grad
76 2011-04-12T14:33:07 *** ei-grad
77 2011-04-12T14:54:22 <Marchael> ThomasWaldmann: I haven`t see update button on my proposal
78 2011-04-12T14:54:38 <Marchael> just withdraw and resubmit
79 2011-04-12T14:56:55 <Marchael> It is discussed on #gsoc. If I understand right orgs can allow students update their proposals
80 2011-04-12T15:00:31 <ThomasWaldmann> Marchael: yes, wait a sec
81 2011-04-12T15:01:11 <ThomasWaldmann> Marchael: try now
82 2011-04-12T15:01:41 <Marchael> yes, it`s works
83 2011-04-12T15:06:36 *** ei-grad
84 2011-04-12T15:24:02 *** andialbrecht
85 2011-04-12T15:31:53 *** Marchael
86 2011-04-12T15:46:37 *** Marchael
87 2011-04-12T15:52:50 *** cosmo_
88 2011-04-12T15:52:52 <cosmo_> moin
89 2011-04-12T16:19:26 *** Marchael
90 2011-04-12T16:35:30 *** Marchael
91 2011-04-12T16:38:30 *** greg_f
92 2011-04-12T17:28:39 *** m4k3r
93 2011-04-12T18:31:50 *** Marchael
94 2011-04-12T19:15:36 *** andialbrecht_
95 2011-04-12T19:26:02 *** Marchael
96 2011-04-12T19:39:30 *** ivpusic
97 2011-04-12T19:39:48 *** ivpusic
98 2011-04-12T19:40:50 *** ivpusic
99 2011-04-12T19:41:31 *** ivpusic
100 2011-04-12T20:11:09 *** pkumar_
101 2011-04-12T20:14:09 * ThomasWaldmann dropped a mail to the moin-user mailing list about moin2, SOC, co-mentors wanted
102 2011-04-12T20:21:03 <Marchael> ThomasWaldmann: what role of co-mentor?
103 2011-04-12T20:22:45 <dreimark> Marchael: have you been involved in capture the flag ?
104 2011-04-12T20:22:51 <dreimark> contests?
105 2011-04-12T20:23:45 <Marchael> dreimark: what exactly? http://www.plaidctf.com/ ?
106 2011-04-12T20:25:22 <Marchael> Yes, I was play in ctf since 2009
107 2011-04-12T20:25:52 <dreimark> Is there one running at the same time as gsoc?
108 2011-04-12T20:26:23 <dreimark> I'm asking because I mentored a student who spend to much time on non gsoc stuff
109 2011-04-12T20:26:38 <Marchael> :)
110 2011-04-12T20:26:51 <Marchael> Yes, I know him
111 2011-04-12T20:26:57 *** andialbrecht
112 2011-04-12T20:27:22 <Marchael> no, ctf usualy going in 1 or maximum 2 days
113 2011-04-12T20:27:43 <Marchael> and of corse I didn`t play in it all time
114 2011-04-12T20:28:46 <Marchael> I like this game, but not like Andrew :)
115 2011-04-12T20:28:53 <dreimark> good to know
116 2011-04-12T20:32:28 <TheSheep> ThomasWaldmann: py.test2?
117 2011-04-12T20:32:35 <TheSheep> ThomasWaldmann: wassdat?
118 2011-04-12T20:32:39 <dreimark> version 2.0
119 2011-04-12T20:33:09 <TheSheep> why does the world have to change every time I'm not looking? :/
120 2011-04-12T20:34:31 <ThomasWaldmann> Marchael: co-mentors are friendly folk helping students although they are not formally mentors
121 2011-04-12T20:35:06 *** sinha
122 2011-04-12T20:41:54 *** pkumar_
123 2011-04-12T20:48:26 <sinha> ThomasWaldmann: You have suggested me regarding correctly copyright and license the new file thing,but currently i am not seeing any such note in already implemented javascript files,so should i do it as other .py files or just leave it out ?
124 2011-04-12T20:54:43 <ThomasWaldmann> take the good ones as an example, not the bad ones :)
125 2011-04-12T20:55:19 <ThomasWaldmann> doing something similar as MoinMoin/_template.py should be ok
126 2011-04-12T20:59:11 <sinha> okay.
127 2011-04-12T21:00:28 <sinha> And also regarding including that new js file,should i generate its url being a static file or just include in index.html template ,because in first case i guess it will be included in all other pages which is not desirable
128 2011-04-12T21:02:26 <ThomasWaldmann> i don't think i understood that question
129 2011-04-12T21:03:04 <ThomasWaldmann> likely you want to add it in the template for the views that use that js code
130 2011-04-12T21:03:24 <ThomasWaldmann> and you want to generate its url, so it is not hardcoded
131 2011-04-12T21:06:40 <sinha> when i will generate through url wont it be included in all other views ?
132 2011-04-12T21:06:55 <sinha> but i just want it to be included in just the index view
133 2011-04-12T21:07:27 <sinha> so shouldnt i just inlude in the index.html template itself,using blocks
134 2011-04-12T21:07:41 <sinha> s/inlude/include
135 2011-04-12T21:09:09 <ThomasWaldmann> with "generate url", I mean something like url_for('.static', filename='path/foo.js')
136 2011-04-12T21:10:30 <ThomasWaldmann> http://hg.moinmo.in/moin/2.0/file/9cc75ad9d6d1/MoinMoin/templates/modify_text_html.html and you would maybe do it in a similar way as you see there for the ckeditor.js (which is also only used there)
137 2011-04-12T21:11:04 <sinha> yes,exactly.
138 2011-04-12T21:11:13 <ThomasWaldmann> hmm, block_head_scripts might be more appropriate maybe
139 2011-04-12T21:12:58 <sinha> yes that would me more appropriate
140 2011-04-12T21:13:37 <ThomasWaldmann> if it works, fix it at the other places, too, please - in a separate commit
141 2011-04-12T21:14:37 <sinha> okay,sure.
142 2011-04-12T21:27:33 <sinha> In the line 20 http://paste.pocoo.org/show/368555/ ,i didn't get it .You wanted to say that when the Expand/Collapse checkbox is checked it's title text should be set as "True" and when it is not it should be set as "False" ?
143 2011-04-12T21:28:54 <sinha> ThomasWaldmann: ^
144 2011-04-12T21:34:38 <ThomasWaldmann> no :)
145 2011-04-12T21:35:34 <ThomasWaldmann> if you have a button labelled "Win/Lose", do you click it? :)
146 2011-04-12T21:36:24 <ThomasWaldmann> what I meant is something like this:
147 2011-04-12T21:37:23 <ThomasWaldmann> [ ] Expand all <--- it shows this (checkbox not checked) when not everything is expanded (either nothing or just a few ones manually)
148 2011-04-12T21:37:46 <ThomasWaldmann> [X] Expand all <-- it shows this if you clicked it
149 2011-04-12T21:38:01 <ThomasWaldmann> (and expands all :)
150 2011-04-12T21:41:12 <ThomasWaldmann> OR do not use a checkmark, then maybe "Expand All / Collapse All" makes sense as link text
151 2011-04-12T21:44:54 <sinha> ThomasWaldmann: okay i get it ,but sometimes when one refreshes a page,the browser tends to retain the state of the chekbox, so i have to check on page load that what is its current state and then alter the text according to it
152 2011-04-12T21:55:41 <ThomasWaldmann> uh, really?
153 2011-04-12T21:55:58 <ThomasWaldmann> then maybe go for the 2nd solution
154 2011-04-12T21:56:02 <sinha> yes it happens to me
155 2011-04-12T21:56:11 <sinha> no i fixed the situation
156 2011-04-12T21:56:15 <sinha> with checkbox
157 2011-04-12T21:56:35 <sinha> do you want me to go with 2nd choice now ?
158 2011-04-12T21:57:22 <sinha> I just calls the function when document gets ready and it handles it as a normal call
159 2011-04-12T21:57:27 <sinha> so not to do much
160 2011-04-12T21:58:07 *** Marchael
161 2011-04-12T21:58:07 <ThomasWaldmann> no, just have something working :)
162 2011-04-12T21:58:30 <ThomasWaldmann> brb
163 2011-04-12T22:03:07 <sinha> ThomasWaldmann: The indented javascript file looks like this using 2 spaces for indentation http://paste.pocoo.org/show/370564/ , this online tool is really helpful in doing that http://jsbeautifier.org/
164 2011-04-12T22:13:58 <dreimark> ThomasWaldmann: http://paste.pocoo.org/show/370582/
165 2011-04-12T22:16:30 <ThomasWaldmann> sinha: i don't care that much about whether it is 2 or 4 for js, but > 0 please :)
166 2011-04-12T22:18:09 <sinha> okay
167 2011-04-12T23:10:28 *** cdom
168 2011-04-12T23:17:39 <sinha> ThomasWaldmann: repo updated with the specified changes at https://bitbucket.org/sinha/moin-2.0/
169 2011-04-12T23:24:08 *** xjjk
170 2011-04-12T23:25:04 * ThomasWaldmann looks
171 2011-04-12T23:27:42 *** xjjk
172 2011-04-12T23:30:25 *** cdom
173 2011-04-12T23:32:27 *** cdom
174 2011-04-12T23:36:24 <ThomasWaldmann> sinha: Copyright: 2011 MoinMoin: Akash Sinha <akash2607@gmail.com>
175 2011-04-12T23:37:08 <ThomasWaldmann> the point of using MoinMoin:FirstnameLastname is that it is an interwiki link and you kind of "link" to your homepage on MoinMoin wiki
176 2011-04-12T23:37:49 <ThomasWaldmann> so, no blanks, if you want that, or leave away that MoinMoin: and just write your name and email
177 2011-04-12T23:38:11 <sinha> okay i wasn't aware of that thing,my mistake
178 2011-04-12T23:38:36 <sinha> should i change it ,or follow this from next time
179 2011-04-12T23:41:17 <ThomasWaldmann> wait until we have all changes there
180 2011-04-12T23:41:24 <ThomasWaldmann> details: <-- leave that away
181 2011-04-12T23:41:47 <ThomasWaldmann> and put what it does above the (c)/license
182 2011-04-12T23:42:25 <ThomasWaldmann> does anybody know if sphinx can extract docs from javascript also?
183 2011-04-12T23:45:34 <sinha> okay ,but regarding the functionality of file ,i have seen similar things in _template.py/user.py file so i did like that
184 2011-04-12T23:46:04 <sinha> doesnt matter will keep this in mind also
185 2011-04-12T23:46:56 <ThomasWaldmann> btw, it would've been good to make multiple changesets from this
186 2011-04-12T23:47:11 <ThomasWaldmann> e.g. one only for whitespace change (comments, indenting)
187 2011-04-12T23:47:33 <ThomasWaldmann> because like it is now, trivial changes are mixed with non-trivial ones
188 2011-04-12T23:49:03 <ThomasWaldmann> sinha: url_for name vs filename?
189 2011-04-12T23:49:48 <sinha> oops ! i mistakenly did that,sry
190 2011-04-12T23:50:02 <sinha> shouldn't have added the complete filename as name
191 2011-04-12T23:51:28 <ThomasWaldmann> maybe look at existing url_for usage with .static
192 2011-04-12T23:52:08 <sinha> and in that thing there isn't any other attributes added anywhere ,like there should be "type" for script and link tags ( for stylesheets)
193 2011-04-12T23:52:12 <ThomasWaldmann> and don't confuse it with serve.files
194 2011-04-12T23:52:35 <ThomasWaldmann> it's html5
195 2011-04-12T23:52:36 <sinha> yes
196 2011-04-12T23:52:50 <sinha> okay.
197 2011-04-12T23:55:32 <ThomasWaldmann> <input type="checkbox" id="moin-expandAll" /><label for="moin-expandAll"> Expand All </label>
198 2011-04-12T23:55:35 <ThomasWaldmann> needs i18n
199 2011-04-12T23:56:08 <ThomasWaldmann> (also all other places where you may have hardcoded english text)
200 2011-04-12T23:58:44 <sinha> yes ,means to write something like this {{ _("Expand All") }}
201 2011-04-12T23:59:43 <sinha> but how would i alter the text through javascript,when checkbox state changes ?