*** tpb has joined #melange | 00:00 | |
*** r0bby has quit IRC | 00:28 | |
*** tansell_laptop has quit IRC | 00:28 | |
*** r0bby has joined #melange | 00:29 | |
*** tansell_laptop has joined #melange | 00:47 | |
*** dhans has joined #melange | 02:47 | |
*** ChanServ sets mode: +v dhans | 02:47 | |
*** mithro has quit IRC | 04:09 | |
*** tansell_laptop has quit IRC | 04:14 | |
*** florinciu has joined #melange | 04:33 | |
*** dr__house has joined #melange | 05:08 | |
*** madrazr has joined #melange | 05:28 | |
*** ChanServ sets mode: +v madrazr | 05:28 | |
*** Merio has joined #melange | 05:43 | |
*** ChanServ sets mode: +v Merio | 05:43 | |
*** MatthewWilkes has joined #melange | 05:48 | |
*** MatthewWilkes has quit IRC | 06:30 | |
*** MatthewWilkes has joined #melange | 07:21 | |
*** Merio has quit IRC | 07:47 | |
*** Merio has joined #melange | 07:47 | |
*** ChanServ sets mode: +v Merio | 07:47 | |
*** Merio has quit IRC | 08:16 | |
*** Merio1 has joined #melange | 08:16 | |
*** Merio1 has quit IRC | 09:33 | |
*** Merio has joined #melange | 09:34 | |
*** ChanServ sets mode: +v Merio | 09:34 | |
*** mithro has joined #melange | 09:44 | |
*** ChanServ sets mode: +v mithro | 09:44 | |
*** lisppaste9 has quit IRC | 09:49 | |
*** lisppaste9 has joined #melange | 09:49 | |
Merio | dhans: ping | 10:15 |
---|---|---|
dhans | Merio: pong | 10:16 |
Merio | dhans: I've pulled your latest changes and trying to collect students per degree after running seed_db... I receive "global name 'subsets_dict' is not defined" | 10:17 |
Merio | dhans: seems line 123 of statistic.py | 10:17 |
dhans | Merio: damn, I forgot to send the next commit which fixes that... | 10:18 |
Merio | dhans: eheh please push it ^_^ | 10:18 |
dhans | Merio: can you type self.subsets_dict ? | 10:18 |
Merio | sure | 10:18 |
dhans | Merio: just one word :-) | 10:18 |
Merio | dhans: however I contacted you for a different thing, regarding the scope path thing... is needed for us, as we have one dashboard and more than one gsoc (and also we have ghop) | 10:20 |
dhans | Merio: I am working on that | 10:20 |
Merio | dhans: and so I have to do an interface in the dashboard to select it... and if it's not ready it's difficult for me to hack on that :) | 10:21 |
dhans | Merio: because I wanted to do it along with the access stuff | 10:21 |
dhans | Merio: it is almost finished, I just need to test it | 10:21 |
Merio | dhans: ok no problems, it's just to ask you to complete it (if you can) with reasonable time for me to work on the GUI :) | 10:22 |
dhans | Merio: I will commit and push it in a very few hours | 10:22 |
Merio | dhans: I'm almost finished the refactoring, I don't know if you see what I've done, I basically put some logic (update and move) in the dashboard one and out of the widget object, which make more sense for incapsulation of behaviors. | 10:23 |
Merio | dhans: great, thx :) :) | 10:24 |
Merio | dhans: but we really should upgrade to jquery 1.3 as madrazr said some days ago | 10:24 |
dhans | Merio: I saw :-) didn't fully understand, but saw :-) | 10:24 |
dhans | Merio: is this a problem to upgrade? | 10:24 |
Merio | dhans: you mean you didn't understand the code or the reason? | 10:24 |
madrazr | Merio: I dropped the plan of using colorbox later :D | 10:25 |
Merio | dhans: well, I guess it's not a great problem, but we should then test everything to assure no regression happens | 10:25 |
dhans | Merio: the code, but I just took a look :-) | 10:25 |
Merio | madrazr: yes but then yesterday I was trying to do some simple publish/subscribe behavior for events (something straightforward in Dojo) and couldn't do anything to help... it was very discouraging ... :( | 10:25 |
Merio | dhans: ah ok, it's just to assure myself I'm not completely mad on wanting to do that :D | 10:26 |
madrazr | Merio: Oh ! | 10:26 |
Merio | madrazr: I had to do an ugly workaround with delegation and checking the target object of the click. I mean, that is what probably it's done behind the scenes in the Dojo's observer pattern.. but it's not beautiful code to read in this way :) | 10:27 |
dhans | Merio: actually now you are calling /statistic/get_json_response/google/gsoc2009, so you can change it to /statistic/get_available_statistics | 10:29 |
madrazr | Merio: Oh OK, sad :( | 10:30 |
madrazr | sad when you have to do work arounds :( | 10:30 |
Merio | dhans: are they divided for gsoc/ghop, gsoc2008/gsoc2009 and so on? | 10:34 |
Merio | madrazr: yes :( So I think I'll send a mail in the dev list supporting your idea :) | 10:34 |
Merio | But I think these kind of things will be better done after GSoC ends | 10:35 |
madrazr | Merio: yeah, for heavens sake not during GSoC :D | 10:36 |
dhans | Merio: it is strange, because the dashboard is 'per user', so there is no good way how to 'divide' them better than 'by name' or something like that | 10:36 |
Merio | madrazr: eheheh sure ^__^ | 10:36 |
Merio | dhans: what do you mean? I thought that if you have the user, you know which roles and rights the user has and so which kind of statistics and which event/instance (gsoc-ghop/2008-2009 and so on) is allowed to see | 10:38 |
dhans | Merio: yep, only statistics which the user is allowed to see will be sent | 10:39 |
Merio | and can't you divide it for gsoc/ghop? | 10:39 |
dhans | Merio: it can be done. for example {"GSoC": [stat1, stat2, stat3, etc], "GHOP": [stat1, stat2, stat3, ...]} | 10:41 |
dhans | Merio: but to be honest I do not know it the current module with work for GHOP without any modifications | 10:42 |
Merio | dhans: yes we need something like this in response... I think preferred way is the key like google/gsoc2009 and google/gsoc2008 and so on | 10:42 |
Merio | dhans: well, that's not a problem, we don't have to support ghop in the project AFAIK, but we can have a look into the future... and at least be assured that it works with multiple instances of gsoc at a time | 10:43 |
*** florinciu has quit IRC | 10:43 | |
dhans | Merio: you mean {"google/gsoc2009": [stat1, stat2, stat3, ..], } | 10:44 |
dhans | Merio: ? | 10:44 |
Merio | dhans: exactly | 10:44 |
dhans | Merio: scope_path for each statistic is already sent in json reponses | 10:45 |
Merio | dhans: yes but should be divided in that way you mentioned | 10:47 |
dhans | Merio: so won't it be a problem if I remove it? Because it would be like {"google/gsoc2009": [{"link_id": "students_per_degree, "scope_path": "google/gsoc2009", "name": "Students Per Degree"}]...} | 10:47 |
*** dr__house has quit IRC | 10:48 | |
Merio | dhans: something like this data = {"google/gsoc2009": {name: "Google Summer of Code 2009", statistics: [{"link_id": "students_per_degree", "name": Students Per Degree"},...]}, "google/gsoc2008": {...}}; | 10:49 |
dhans | Merio: ok cool | 10:49 |
Merio | dhans: cool ^_^ | 10:50 |
*** madrazr has quit IRC | 11:02 | |
*** tansell_laptop has joined #melange | 12:08 | |
*** madrazr has joined #melange | 12:39 | |
*** ChanServ sets mode: +v madrazr | 12:39 | |
*** dr__house has joined #melange | 12:47 | |
*** dhans has quit IRC | 12:51 | |
*** dhans has joined #melange | 13:05 | |
*** ChanServ sets mode: +v dhans | 13:05 | |
*** Merio has quit IRC | 13:12 | |
*** MatthewWilkes has quit IRC | 13:12 | |
*** Merio has joined #melange | 13:12 | |
*** MatthewWilkes has joined #melange | 13:12 | |
*** irc.freenode.net sets mode: +v Merio | 13:12 | |
*** tansell_laptop has quit IRC | 13:33 | |
*** dhans has quit IRC | 13:48 | |
*** dhans has joined #melange | 13:51 | |
*** ChanServ sets mode: +v dhans | 13:51 | |
*** MatthewWilkes has quit IRC | 14:03 | |
*** dhaun has joined #melange | 14:28 | |
dhans | Merio: ping | 15:03 |
Merio | dhans: pong | 15:03 |
dhans | Merio: I pushed the get_available_stats commit | 15:04 |
dhans | Merio: anyway, there is no access checking so you will always get a list of all stats | 15:04 |
dhans | Merio: I am having some problems with that access control and I will work on it on Sunday | 15:05 |
Merio | dhans: ok important thing is that I can read the available statistics divided by scope path :) | 15:05 |
Merio | dhans: ok no probs for me. In the meantime I've fixed the bug about saving chart modification made right after creation | 15:06 |
dhans | Merio: tomorrow I am going out (to run on a desert :D) and be back very late and tired in the evening | 15:06 |
Merio | dhans: and also made only one "update chart" function in the javascript, and change all the update chart stuff in the code referring to that function... cleaner :) | 15:06 |
Merio | "run on a desert"? :) | 15:06 |
dhans | Merio: great :-) | 15:06 |
dhans | Merio: yeah, it came out that there is one (small) desert in Poland and tomorrow some local sport organizations from there organize the first polish run on a desert :P 5 or 10 km | 15:08 |
dhans | Merio: they give medals, so I am going :P | 15:08 |
Merio | dhans: eheh great...! Enjoy then :) | 15:09 |
dhans | Merio: thanks :-) | 15:09 |
*** dhans has left #melange | 15:10 | |
*** dr__house has quit IRC | 17:33 | |
*** dhaun has quit IRC | 18:06 | |
*** Merio has quit IRC | 18:25 | |
*** madrazr has quit IRC | 19:10 | |
*** Lennie has joined #melange | 20:34 | |
*** ChanServ sets mode: +o Lennie | 20:34 | |
*** Lennie has quit IRC | 20:35 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!