*** tpb has joined #melange | 00:00 | |
jamtoday | i got it working, all bugs i wrote. | 00:02 |
---|---|---|
jamtoday | I'm using the model name ProjectPair | 00:02 |
jamtoday | or SurveyProjectPair | 00:02 |
jamtoday | this is kind of heady stuff, so I think its appropriate to use more descriptive names | 00:02 |
ajaksu | agreed :) | 00:04 |
ajaksu | jamtoday: I gotta get some sleep, can you push later so I get to see things early tomorrow? :) | 00:07 |
jamtoday | ajaksu: sure. There'll be a conference call at 21.00 UTC +2 | 00:27 |
jamtoday | I'll have all the project related linking we've discussed | 00:27 |
jamtoday | ajaksu: just found a bug in the view. a check for request.POST was in the _public method, making it so that the state of taken surveys wasn't being regenerated for me. | 01:18 |
*** solydzajs has joined #melange | 02:16 | |
*** ChanServ sets mode: +o solydzajs | 02:16 | |
*** Shaan7 has joined #melange | 04:36 | |
*** florinciu has joined #melange | 05:12 | |
*** MatthewWilkes has joined #melange | 05:21 | |
*** Shaan7 has quit IRC | 05:24 | |
*** jamtoday has quit IRC | 05:26 | |
*** matthewwilkes_ has joined #melange | 05:49 | |
*** MatthewWilkes has quit IRC | 05:54 | |
*** dhans has joined #melange | 05:58 | |
*** dhans has quit IRC | 06:12 | |
*** dhans has joined #melange | 06:20 | |
*** matthewwilkes_ is now known as MatthewWilkes | 06:23 | |
*** Merio has joined #melange | 06:48 | |
*** ChanServ sets mode: +v Merio | 06:48 | |
*** dr__house has joined #melange | 07:10 | |
*** mithro has joined #melange | 08:28 | |
*** ChanServ sets mode: +v mithro | 08:28 | |
Merio | dhans: ping | 09:51 |
dhans | Merio: pong! | 09:51 |
Merio | dhans: Hi ^__^ Is it ok for you to anticipate a bit the meeting? | 09:51 |
dhans | of course :) | 09:52 |
Merio | great :) | 09:52 |
Merio | My proposed agenda: 1) Status update 2) dashboard creation 3) JSON responses 4) Tasks to submit to our mentors (next steps) | 09:53 |
Merio | Something else from you? | 09:53 |
dhans | not really, because you already added the 3rd point | 09:54 |
dhans | which is important imho:) | 09:54 |
Merio | ok ^__^ | 09:54 |
Merio | So point 1) | 09:54 |
dhans | maybe something will come up... | 09:54 |
Merio | yep! | 09:54 |
Merio | I worked on integrating YUITest and deleting JSUnit, and porting JSUnit sample tests I've done to YUITest, that's already done and committed. Same thing I've done with Selenium for black box testing (also with a sample test, which is actually something I needed to automate for me to use statistics). Now I was starting on something dynamic to change the visualization with the same data in the browser, for that to happen I would like to integrate some browser | 09:57 |
Merio | That connects to point 2), but first your point 1) ^__^ | 09:57 |
dhans | ok, I am not writing so fast :P | 09:57 |
Merio | (Forgot I also integrated a new jquery spin version in the main branch, but this has nothing to do with statistics :)) | 09:57 |
dhans | I finished division of stats collecting into two parts (choice collection and actual stats collection), but it is not very nice in my opinion so I canceled introducing it before I discover if it can be done in an easier way by task queue api (now I am learning it). | 09:58 |
dhans | also, I added some default views for statistic module (create, list, delete, edit) | 09:58 |
Merio | great I've seen the task in the issue tracker | 09:58 |
dhans | but the view for create is going to change after statistic logic functions abstraction | 09:59 |
dhans | and I also pre-designed abstraction of statistic logic function, but I suggest postponing it now | 09:59 |
Merio | I agree | 09:59 |
dhans | because it could be better to abstract everything for example after introducing stats for surveys | 10:00 |
Merio | yes, as James Crook said in the mailing list | 10:00 |
Merio | Otherwise we will come up with nearly no deliverables for midterm ;D | 10:00 |
dhans | we should better finish something ;p | 10:01 |
Merio | yes ^__^ | 10:01 |
dhans | which leads us definitely to point 2... :) | 10:02 |
Merio | yes :) | 10:02 |
Merio | So, my question is: I've seen how to integrate something that is related with a model | 10:02 |
Merio | But dashboard is not integrated with a model, it's only view and logic, is it true? | 10:02 |
dhans | hmm I think it is true... | 10:03 |
Merio | So is there something different to be done Python side to create a view unrelated to an actual model? I've seen that something like this has been done for example for duplicate students | 10:03 |
Merio | I didn't explore the code yet | 10:04 |
dhans | most melange views are designed to display model entities... | 10:04 |
dhans | ok, so we may check out this duplicate students and go for it | 10:05 |
Merio | Yes but statistics will be very different, because we don't have a "view" for it (beyond this testing instance), they will be all doing JSON responses | 10:05 |
dhans | or maybe we could create another model like stats dashboard which would be 'per user' or something... | 10:05 |
Merio | And JS will take care of making the whole dashboard view | 10:06 |
Merio | I think it can make some sense if we want to save the status of the dashboard | 10:06 |
Merio | for example which charts are displayed | 10:06 |
dhans | exactly | 10:06 |
Merio | (that links to the chart.py thing) | 10:06 |
dhans | eaxactly again | 10:06 |
Merio | So we will probably have a dahsboard.py that handles "per user" dashboard status | 10:07 |
dhans | yes | 10:07 |
dhans | or maybe 'per org_admin' at the beginning if you don't mind | 10:08 |
Merio | That model will need probably links to chart.pys, to say which charts are displayed, and probably some options to save the status of the dashboard (where every chart.py is displayed) | 10:08 |
Merio | Yes, if it simpler that can be changed afterwards | 10:08 |
dhans | damn I meant per program admin :) | 10:09 |
Merio | so in the dashboard view, we will read JSON responses from chart.pys (for already made charts) and statistic.pys (to take data from the backend to create new charts.pys) | 10:09 |
Merio | yes I've got it :) | 10:09 |
Merio | Understood what I was meaning about the interactions with the models? | 10:11 |
Merio | Because we need to agree at that point to have a common view of the final product :) | 10:11 |
dhans | hmm I think so | 10:12 |
Merio | What I'm meaning is: the final user will have only the dashboard | 10:12 |
dhans | yes | 10:13 |
Merio | Probably only few users will have the statistic collection control panel, which is going to be something that will parametrize stuff we give to task api and some parameters to give to task api itself | 10:13 |
dhans | and you mean that stats collection will be also available for admins by dashboard? | 10:13 |
Merio | Well I think it can be a separate view, because they're very separate tasks | 10:14 |
dhans | agree | 10:14 |
Merio | The stats collection view will be based on what we have now, but integrated with task API in the future | 10:14 |
Merio | If we want we can also keep the "visualize", which will give only a table, just to see which data has been gathered | 10:15 |
Merio | And probably extended to work also with partial JSONs | 10:15 |
Merio | So the dashboard will be something that can | 10:16 |
Merio | 1) create new chart.py based on data gathered with statistic.py | 10:16 |
Merio | 2) modify/delete chart.pys that already present in the dashboard | 10:16 |
Merio | 3) add charts saved previously by the users in the dashboard | 10:16 |
Merio | 4) give permissions to other users to see some chart.pys | 10:17 |
*** dr__house has quit IRC | 10:17 | |
Merio | To accomplish task 1) we need something in the backend that gives a list of statistic.pys (pure data) available. And then clicking on a pool of data, the backend will return a JSON with all the data | 10:17 |
dhans | hmm now you talking about dashboard for admins? | 10:18 |
Merio | Well yes, I'm talking about the overall functionality, than we can give other users less rights, but we can do that at the end of the project | 10:18 |
dhans | because I think I don't understand the point number 3 | 10:18 |
Merio | Keeping in mind that, we need to develop the "all-features" | 10:18 |
Merio | Ok so.. | 10:19 |
Merio | I enter the dashboard for the first time | 10:19 |
dhans | ok I think I got it | 10:19 |
Merio | No one has saved charts | 10:19 |
Merio | So you have a list of data available (that comes from statistic.py) | 10:20 |
Merio | I select one of the pools of data | 10:20 |
Merio | Ajaxy way, I receive from the backend a JSON with all the data | 10:20 |
Merio | This creates a widget in my dashboard with, for example, a simple table view of that data | 10:20 |
Merio | Now I can tweak it in some ways, may it be the colors, the type of chart or some filtering using jLinq in some way | 10:21 |
Merio | That's ok, I've my chart | 10:21 |
Merio | I click save and I give it a name | 10:21 |
Merio | This goes to chart.py, which saves the type of the chart, the options for the visualization and the steps for jLinq to get that filtered view (or a link to a shrinked version of data, but it's for the future) | 10:22 |
Merio | Ok so now I reenter the dashboard | 10:22 |
Merio | (or something will change dinamically, doesn't matter now) | 10:22 |
Merio | And it will shows me | 10:23 |
Merio | A widget in the position I left (because it was saved in dashboard.py when I left) | 10:23 |
Merio | Then a list of the pools of data available (taken from statistic.py as before) | 10:23 |
Merio | And then a list (which actually contains only one name) of the charts that I already saved (or saved by some other user if I've permission to see them), taken from charts.py | 10:24 |
Merio | If I have, for example, permission to read another user chart, then I can click on it and it gives me another widget with the chart in it | 10:25 |
Merio | Did you get the point? Don't know if I explained it well | 10:25 |
*** dhans_ has joined #melange | 10:28 | |
Merio | dhans_: wb ^__^ | 10:28 |
dhans_ | Merio: again some problems ;-/ | 10:28 |
Merio | sorry about that :( | 10:28 |
dhans_ | anyway, I read your messages up to 'Then a lost of pools of data available ... ' | 10:29 |
Merio | (15:24:24) Merio: And then a list (which actually contains only one name) of the charts that I already saved (or saved by some other user if I've permission to see them), taken from charts.py | 10:30 |
Merio | (15:25:09) Merio: If I have, for example, permission to read another user chart, then I can click on it and it gives me another widget with the chart in it | 10:30 |
Merio | Here it is :) | 10:30 |
dhans_ | thanks :) | 10:30 |
dhans_ | ok and I ased a quastion if you mean that the charts.py should be rather global? | 10:31 |
Merio | What do you mean for global? | 10:31 |
dhans_ | so that if I save a chart then you can access it? | 10:31 |
Merio | Well it depends on the rights I give to it | 10:31 |
dhans_ | hmm ok, that is also a solution | 10:32 |
dhans_ | because I thought for charts to by like 'per user' and no one else has access... | 10:32 |
dhans_ | but it is ok, if... | 10:32 |
Merio | This is going to be linked with how we deal with charts that are based on data that program admin don't want to send to the client, so the program admin can save a "shrinked" JSON and link the chart to it instead of the original data | 10:32 |
Merio | Well it's "per user", everyone can save own charts, but you can give rights | 10:33 |
*** madrazr has joined #melange | 10:33 | |
*** ChanServ sets mode: +v madrazr | 10:33 | |
dhans_ | for example, I create a chart for 'students per degree' and give you rights for it | 10:34 |
Merio | In theory it should be expanded with categories or tags, but I think it's very well for the future at the moment, it depends on how much time it will get to get something functional ^__^ | 10:34 |
dhans_ | and then you can both: create a new chart for students per degree and view my chart? | 10:34 |
Merio | I think so, you can read other users charts and then save your own charts based on other users chart | 10:35 |
Merio | The problem is not the chart, the problem is the JSON that chart.py is linked to from statistic.py. We need to take care of it as much as we can | 10:35 |
dhans_ | yes it is | 10:36 |
dhans_ | because if I remember correctly we have not yet decided what format should a 'half-cooked' json has | 10:37 |
*** dhans has quit IRC | 10:37 | |
Merio | Yes but we can change it whenever we want, the logic is what we need to care about at this stage, "half-cooked" jsons is something for future (after midterm), we need to take the basics done for midterm | 10:38 |
Merio | (this connects to next steps and JSON responses ;)) | 10:39 |
dhans_ | yes :) | 10:39 |
dhans_ | the generation of half-cooked jsons on the server side is not a problem | 10:40 |
Merio | So I think for the moment one important thing is to have statistic.py querable and reply to the client with JSON responses | 10:41 |
Merio | yes, it might be even easier once we get the structure done | 10:41 |
Merio | I mean for the 29 | 10:41 |
dhans_ | yes | 10:41 |
dhans_ | so if I remember correctly you wanted to have some kind of RESTful responses | 10:42 |
Merio | If we work on creating the statistic dashboard and to query statistic.py with type of data and, if asked a type of data, have it reply with a JSON with the data.. and then something to play with in the dashboard.. then we will have something ready for the midterm one week before it, and then we have a week to refine it better | 10:42 |
Merio | yew | 10:42 |
Merio | yes | 10:43 |
Merio | You can see something of it done in the seed_db.py and seed_db.html files | 10:43 |
Merio | But we just need to organize the tasks and then assign it to me or to you, and have that list of tasks approved by our mentors (we can ask them during conference call this evening) | 10:43 |
dhans_ | yes | 10:44 |
Merio | So here => http://bitbucket.org/dhans/statistic-module-for-melange/issues/?status=!resolved&version=20090629 | 10:46 |
tpb | <http://ln-s.net/3M_n> (at bitbucket.org) | 10:46 |
Merio | There are the tasks we planned for 29 June | 10:47 |
Merio | We need to see if there's something missing to achieve what we want to do | 10:47 |
Merio | I think the abstraction for EntityPerField should be postponed | 10:48 |
Merio | Going to | 10:48 |
Merio | I think it's all in place, do you see something missing? | 10:49 |
dhans_ | not really | 10:50 |
Merio | I'm going to add Python statistic logic and model to components and extend dashboard page to dashboard page and model | 10:50 |
Merio | I think I should do it | 10:51 |
dhans_ | add python statistic logic and model? | 10:51 |
Merio | oh sorry.. I was meaning dashboard :) | 10:51 |
dhans_ | ok, if you want. the second thing is chart.py, but I don't want to end up with doing nothing | 10:52 |
Merio | No I think chart.py it's not something we want for 29 | 10:53 |
dhans_ | so from where you want to read data abouth the charts? | 10:54 |
Merio | I think it's enough some functions in the statistic.py for the moment, than we will change | 10:54 |
Merio | But if you think you've enough time during the week we can start with chart.py | 10:56 |
dhans_ | i don't think that it requires so much work... | 10:56 |
Merio | Well so it could be great :) | 10:56 |
Merio | Going to create the tasks then | 10:56 |
dhans_ | anyway, for me the most important thing is what type of json response you mean that you need on js side? | 10:57 |
Merio | Nothing different from what we already have | 10:57 |
Merio | it's only that it should not be given as a json string in the django template | 10:57 |
dhans_ | exactly, so how? | 10:58 |
Merio | Hmm let me see where is the code | 10:58 |
Merio | (however statistic.py need to send JSON responses with the data before) | 10:58 |
dhans_ | because the only thing I know it that it's probably some kind of ajaxy way, so as the site is not reloaded? | 10:59 |
Merio | Yes | 10:59 |
Merio | hmm I can't find the code | 11:01 |
dhans_ | but it is somewhere inside seed_db and seed_db.html? | 11:02 |
*** mithro has quit IRC | 11:02 | |
Merio | In seed_db you can see how to get data from a JS query | 11:03 |
Merio | Then in proposal duplicates you can find how to reply with a JSON response | 11:03 |
Merio | But I can't find the latter | 11:03 |
Merio | dhans: program.py in views/models, lines 500 to 580 | 11:05 |
Merio | the query from JS is in soc/content/js/duplicate-slots-090505.js, line 80 | 11:06 |
dhans_ | ok I see it | 11:07 |
Merio | so we need something like that | 11:08 |
Merio | First step is getting via JS query/JSON response what we already have for statistic.py | 11:08 |
Merio | Then we can expand to chart.py | 11:08 |
Merio | But it's another level of complexity, also for JS side | 11:08 |
Merio | So I suggest for 29 just to work on statistic.py and integrate the dashboard in JS | 11:09 |
dhans_ | by JSON response that we already have you mean this one data_table object for students per degree ? :) | 11:09 |
Merio | And see if there's time left in some meeting | 11:09 |
Merio | At the moment it could be enough | 11:09 |
Merio | Probably it would be better to spend time on having more statistics instead of working in chart.py | 11:09 |
Merio | You can work on the JSON response and with the other statistics | 11:10 |
dhans_ | for more statistic is certainly not a lot of work I think | 11:10 |
Merio | And I'll work on creating the dashboard, both client side and backend side | 11:10 |
Merio | Well just giving priorities | 11:10 |
dhans_ | ok, and if we have time we'll move on to chart | 11:11 |
Merio | In next meetings we can plan better | 11:11 |
Merio | yes | 11:11 |
Merio | Also because dashboard is going to take some effort on integrating it | 11:11 |
dhans_ | about those responses: on the python side it looks to be very similar to the traditional responses... | 11:14 |
dhans_ | except that self.json() is returened | 11:15 |
dhans_ | Merio: that was a question in some kind :) | 11:18 |
Merio | dhans_: sorry I was away a minute :) Reading | 11:19 |
dhans_ | :) | 11:20 |
Merio | Yes is very simple to do it I guess | 11:20 |
Merio | It's that the function should get data from the GET variables and output data to JSON responses | 11:20 |
Merio | This is the only difference | 11:20 |
Merio | So you have a function that I query from JS without any parameter, that gives me a JSON object in response with all available statistics (say like {name: whatever, link_id: whatever}) | 11:21 |
Merio | Then I query "link_id" and it gives me the same JSON you already have created with gviz | 11:21 |
*** florinciu has quit IRC | 11:22 | |
dhans_ | ok, so I will do it by tomorrow | 11:24 |
Merio | Oh that's great :) | 11:26 |
Merio | Probably it will take me some time to work on the dashboard (backend and frontend), I think two or three days | 11:26 |
Merio | But if you are ready for tomorrow I can start querying you and receive JSON soo | 11:27 |
Merio | soon | 11:27 |
dhans_ | ok | 11:29 |
Merio | Ok will you be idling here in the afternoon? | 11:30 |
Merio | So in the meantime I can update the list of tasks, update the wiki with today meeting and ping you to confirm the list of tasks to be sent in the mailing list | 11:30 |
Merio | dhans_: ^^ | 11:30 |
dhans_ | sure | 11:31 |
dhans_ | but let me do the wiki update tomorrow. i just sad I never did :) | 11:31 |
Merio | I would like to update it with today meeting contents now, if it's ok for you, so we're prepared for today's conference call. If you want, tomorrow it would be fine if you update the wiki formalizing a bit the architecture based on what I've already put inside the wiki and what we discussed about today, so we can double check if we're both in sync with it | 11:34 |
Merio | So just divide the wiki effort, I would put meeting contents now and you put formal architecture tomorrow | 11:34 |
Merio | Is it ok? | 11:34 |
dhans_ | ok | 11:35 |
Merio | perfect :) Going to start it in half an hour, then I'll ping you, say, in an hour or two, to double check the task list :) | 11:35 |
dhans_ | sure, I should be at home | 11:36 |
Merio | ok :) | 11:36 |
*** veelck has joined #melange | 12:01 | |
*** veelck has quit IRC | 12:21 | |
*** veelck has joined #melange | 12:22 | |
*** florinciu has joined #melange | 12:26 | |
*** veelck has quit IRC | 12:51 | |
*** veelck has joined #melange | 12:51 | |
*** dr__house has joined #melange | 12:59 | |
*** veelck has quit IRC | 13:00 | |
*** veelck has joined #melange | 13:01 | |
*** veelck has left #melange | 13:18 | |
Merio | dhans_: ping | 13:20 |
dhans_ | Merio: pong | 13:20 |
Merio | I've finished with meeting notes and with tasks assignment, have a look at => http://bitbucket.org/dhans/statistic-module-for-melange/issues/?status=!resolved&version=20090629 | 13:22 |
tpb | <http://ln-s.net/3M_n> (at bitbucket.org) | 13:22 |
Merio | check if it's all in place and tell me if some changes are needed | 13:22 |
Merio | obviously we can refine it during the week, but it's just something to review for our mentors | 13:22 |
dhans_ | ok | 13:23 |
dhans_ | now I am going to eat something, so will do it just after that | 13:23 |
Merio | Ok, I'll post the mail in the dev list, just tell me if some change is needed before conference call :) | 13:24 |
dhans_ | ok | 13:26 |
Merio | ajaksu: ping :) | 13:35 |
ajaksu | Merio: pong, and thanks a lot for the review! :) | 13:35 |
Merio | ajaksu: you're welcome ^__^ I was wondering how did you reply in that way to the review. I mean, it seems that I can start a new review and send a plain new message, or reply to your message but without doing a review... what are the steps? :P | 13:37 |
Merio | ajaksu: so I can reply you better :) | 13:37 |
ajaksu | the inline comments? you have to click on 'start review' in the left... you could also click on View under side-by-side diff, but it's hard to do that in the jquery review :) | 13:39 |
ajaksu | Merio: should I post our updated survey JS now or are you busy until the call? :) | 13:40 |
Merio | ajaksu: no I mean I received a mail with your reply and then the inline comments. It seems from the site that I can send you a new plain mail (without your text quoted) and inline comments, or reply to your email (but without inserting inline comments). I'm updating the blog, but post it if I have some time before conference call I can try to review it | 13:42 |
ajaksu | Merio: ah, I copy-and-pasted it, after adding the inline comments, in the reply box :D | 13:44 |
Merio | ahahah understood :) | 13:45 |
Merio | So now I'll be updating the blog than.. code review :) | 13:45 |
*** dhans_ has quit IRC | 13:49 | |
*** dhaun has joined #melange | 13:54 | |
*** MatthewWilkes has quit IRC | 14:05 | |
*** madrazr has left #melange | 14:43 | |
*** MatthewWilkes has joined #melange | 14:45 | |
*** MatthewWilkes has quit IRC | 14:45 | |
*** MatthewWilkes has joined #melange | 14:46 | |
*** Lennie has joined #melange | 14:56 | |
*** ChanServ sets mode: +o Lennie | 14:56 | |
*** jamtoday has joined #melange | 15:01 | |
jamtoday | http://jamstage.appspot.com/survey/create/program/sponsor/program | 15:37 |
tpb | <http://ln-s.net/3MgS> (at jamstage.appspot.com) | 15:37 |
*** jamtoday_ has joined #melange | 15:40 | |
*** madrazr has joined #melange | 15:41 | |
*** ChanServ sets mode: +v madrazr | 15:41 | |
*** solydzajs has quit IRC | 16:01 | |
*** lh has joined #melange | 16:05 | |
*** ChanServ sets mode: +o lh | 16:05 | |
lh | hello nurse | 16:05 |
lh | jamtoday: ping | 16:05 |
lh | jamtoday_: ping | 16:05 |
Erant | pong? | 16:06 |
*** lh_ has joined #melange | 16:06 | |
lh_ | grumble vpn connection disconnects me from the irc grumble | 16:06 |
Erant | Like duh it does. | 16:07 |
lh_ | Erant: whateva. annoying! | 16:08 |
lh_ | jamtoday: ping again | 16:08 |
*** lh has quit IRC | 16:12 | |
*** lh_ is now known as lh | 16:12 | |
*** ChanServ sets mode: +o lh | 16:12 | |
MatthewWilkes | lh! | 16:13 |
lh | MatthewWilkes: i just sent you mail. | 16:14 |
lh | yes, i have been irc handicapped lately. i fell into a boy hole. | 16:14 |
MatthewWilkes | lh: Wonderful! :) | 16:15 |
lh | damn straight. | 16:15 |
lh | he makes me happy. it's nice. | 16:15 |
lh | MatthewWilkes: what have you been up to? | 16:15 |
jamtoday_ | lh: ping back | 16:15 |
jamtoday_ | I am signed in twice, making this pinging thing not work out too wel | 16:15 |
jamtoday_ | *well | 16:15 |
* jamtoday_ is signing off of his laptop | 16:16 | |
lh | jamtoday_: it's all good. | 16:16 |
lh | let me know when you're ready jamtoday_ | 16:16 |
*** jamtoday_ has quit IRC | 16:16 | |
MatthewWilkes | lh: Falling behind on my book, cat-herding Plone people, working late, finding a new house and finishing my 1st year of uni. Same old, same old :) | 16:16 |
lh | MatthewWilkes: my goodness. nicely done dear. where are you looking for housing? | 16:17 |
* lh goes to call james levy, bbialb | 16:17 | |
MatthewWilkes | I'm going to a place 3 minutes walk from university, right next door to one of my favourite pubs | 16:26 |
MatthewWilkes | sharing with a physics student called Tarek and a maths student called Araminta | 16:26 |
*** dr__house has quit IRC | 16:30 | |
*** madrazr1 has joined #melange | 16:33 | |
*** madrazr has quit IRC | 16:34 | |
*** madrazr1 is now known as madrazr | 16:34 | |
*** ChanServ sets mode: +v madrazr | 16:34 | |
Erant | MatthewWilkes: Wow, where did you find those people. :P | 16:34 |
Erant | MatthewWilkes: Straight out of a sci-fi movie? | 16:34 |
MatthewWilkes | Erant: The repository of the weird and wonderful, gumtree.com | 16:35 |
*** Lennie has quit IRC | 17:00 | |
kblin | yay, a lh | 17:02 |
lh | kblin: yes, she lives | 17:03 |
kblin | unbelievable | 17:03 |
kblin | but your excuse is good | 17:03 |
lh | MatthewWilkes: i think you should be careful, too much intellectualism in one place can be bad for you | 17:03 |
lh | kblin: :p I fell down a boy hole, ok? | 17:03 |
ajaksu | lh: you said you're going to arrive early, is that in Porto Alegre or are you staying somewhere else before FISL starts? :) | 17:04 |
MatthewWilkes | lh: I'll just tell them to get jobs and spend all my time coding :) | 17:04 |
lh | ajaksu: i am in porto alegre now | 17:05 |
kblin | lh: not arguing against that one | 17:05 |
lh | MatthewWilkes: that works | 17:05 |
lh | kblin: it's nice down here. :) | 17:05 |
kblin | lh: glad to hear that. :) | 17:07 |
lh | kblin: what have you been up to? | 17:08 |
ajaksu | lh: tell me you want to chat about surveys (and that you have a bit of time for that :)) and I'll be there before FISL ends, I just had no good excuses to go :) | 17:08 |
kblin | finishing up my thesis | 17:08 |
kblin | just printed it out today, handing it in tomorrow | 17:08 |
lh | ajaksu: i really really really need to talk to you about surveys and have no plans on thursday at fisl | 17:09 |
lh | and am in town the rest of the weekend too | 17:09 |
lh | *ahem* | 17:09 |
lh | hint hint | 17:09 |
ajaksu | lh: that's it, lemme buy a plane ticket or two :) | 17:11 |
lh | rock the hell on | 17:11 |
lh | i am staying at the sheraton | 17:11 |
lh | and have no plans for all of tomorrow except working on survey stuff so there you go | 17:11 |
lh | oh yeah, maybe i should write my talks. that would be a good idea. | 17:12 |
ajaksu | lol, that would make some sense, true :) | 17:12 |
MatthewWilkes | lh: Pshaw. You're meant to start those after getting back from the bar the night before | 17:12 |
lh | MatthewWilkes: i'm optimizing for brew consumption. first slides, then beer. | 17:12 |
kblin | hehe | 17:13 |
MatthewWilkes | that works | 17:13 |
kblin | lh: I realized I'm going to miss Cat at LinuxTag, but I just found out that I've got an exam in under a month about a subject I had a couple of years ago, so I'm busy preparing for that | 17:15 |
kblin | so please say hi once you folks meet back at the office | 17:15 |
lh | will do m'dear | 17:15 |
* MatthewWilkes suddenly remembers he has a beer in the fridge | 17:20 | |
MatthewWilkes | winrar. | 17:20 |
*** dhaun has quit IRC | 17:22 | |
ajaksu | lh: got nice prices for going wednesday night and returning on friday night, but it's the same as going tuesday night... and I don't have experience with working on the road, so if makes no difference for you I'll stay here longer to make sure I code during tuesday, otherwise it's something I'd have to learn anyway, so I'd leave tomorrow :) | 17:41 |
lh | ajaksu: sounds good to me, will leave Thursday open for you. | 17:42 |
ajaksu | lh: deal :) | 17:50 |
lh | ajaksu: you going to stay with friends? if not try to find lodgings near me. | 17:51 |
ajaksu | lh: I can stay with friends, but they live in the neighbouring Canoas (30 minutes car ride without traffic), so let me check if there's a place near the sheraton that doesn't have prices near the sheraton's :) | 17:55 |
lh | ajaksu: ok sounds good. | 17:55 |
lh | let me know how it goes. | 17:55 |
*** jamtoday has quit IRC | 18:04 | |
*** Merio has quit IRC | 18:05 | |
*** florinciu has quit IRC | 18:06 | |
*** madrazr has left #melange | 18:18 | |
scorche|sh | lhlhlh! | 18:22 |
MatthewWilkes | hehe | 18:22 |
lh | scorche|sh: hello dear, how are you? | 18:26 |
scorche|sh | lh: decent...in Gent at the moment | 18:26 |
lh | Gent or Ghent? | 18:26 |
lh | I know the second, not the first | 18:26 |
scorche|sh | both are the same (in different languages) | 18:27 |
scorche|sh | Gent in local language, Ghent in english, i suppose | 18:27 |
lh | Ah ha! | 18:28 |
lh | lovely | 18:28 |
scorche|sh | it is! | 18:28 |
lh | Whatcha there for? | 18:31 |
MatthewWilkes | Right, I'm going to bed! Lovely seeing you again lh, don't be a stranger :) | 18:31 |
scorche|sh | lh: rockbox annual developers conference, but that is over with now and i am exploring the city =) | 18:31 |
lh | MatthewWilkes: i won't. sleep well dear. | 18:32 |
lh | scorche|sh: ah lovely. i hope you it treats you right. | 18:33 |
*** MatthewWilkes has quit IRC | 18:33 | |
scorche|sh | it has so far...london next =) | 18:34 |
lh | london is AWESOME | 18:38 |
lh | have fun. | 18:38 |
lh | say hi to the queen for me | 18:38 |
lh | or at the very least, have a nice chutney | 18:38 |
scorche|sh | we shall see =) | 18:39 |
lh | chutney! | 18:39 |
* scorche|sh doesnt think chutnet is really his thing | 18:42 | |
scorche|sh | chutney either | 18:42 |
lh | ok then cream stout | 18:42 |
scorche|sh | that might work =) | 18:43 |
lh | mmm, cream stout | 18:43 |
*** ajuonline has joined #melange | 18:55 | |
*** ajuonline has left #melange | 18:56 | |
scorche|sh | lh: when should this testing ideally be done by?...i am still in .eu for a week or so, so i may have the occasionally opportunity to test, but if it can wait till i get home too... | 19:01 |
lh | we go live with surveys on july 6th iirc | 19:01 |
* lh checks timeline | 19:01 | |
scorche|sh | alright, so there is some time... | 19:01 |
lh | as far as i know, anytime before the 6th your comments would be useful, welcome and appreciated. | 19:01 |
lh | :) | 19:01 |
lh | yes, we are god forbid doing things early this year. | 19:02 |
scorche|sh | :) | 19:02 |
lh | :) | 19:02 |
scorche|sh | a novel idea | 19:02 |
ajaksu | scorche: ping me for anything surveys you want, including special roles or developer access, I'm still writing about features and coding some improvements but should have a nice list of 'needs testing' very soon :) | 19:04 |
scorche|sh | ok...it may not be for a bit though as i am on vacation, but i will help eventually =) | 19:05 |
ajaksu | thank you very much :) | 19:06 |
* lh strews flowers | 19:10 | |
lh | :) | 19:10 |
*** solydzajs has joined #melange | 19:49 | |
*** ChanServ sets mode: +o solydzajs | 19:49 | |
*** solydzajs has quit IRC | 20:12 | |
*** solydzajs has joined #melange | 21:28 | |
*** ChanServ sets mode: +o solydzajs | 21:28 | |
ajaksu | solydzajs: hi :) | 21:37 |
*** jamtoday has joined #melange | 21:42 | |
*** solydzajs has quit IRC | 22:15 | |
lh | jamtoday: hey before i make an ass of myself | 22:17 |
lh | do we have the capacity to do an all participant survey that is separate from the mentor survey and student survey? | 22:17 |
ajaksu | jamtoday: I'm calling w.o. after 2 minutes :D | 22:18 |
ajaksu | *cough*yes*cough* | 22:18 |
ajaksu | lh: yes we have :) | 22:22 |
lh | ajaksu: thank you dear. i will add in a survey. | 22:22 |
ajaksu | lh: porting the participation example you gave us earlier is on my todo list for... uh, tonight (for long values of tonight that might include sunshine), but I'm debating requirements and have a couple of tasks to clear before porting it | 22:24 |
lh | participation example? | 22:24 |
ajaksu | "Copy of Past Google Summer of Code Participant Survey" :) | 22:25 |
ajaksu | it's more of a UI test than anything, so it's down the list :) | 22:25 |
* ajaksu realizes he hasn't taken a look at jamtoday's midterms yet, this might be redundant by now :) | 22:25 | |
jamtoday | hey guys...just catching up | 22:26 |
jamtoday | my midterm examples were abundantly simple | 22:26 |
lh | ajaksu: ah got it | 22:27 |
lh | thanks! | 22:27 |
ajaksu | jamtoday, lh: maybe I should port the 2008 midterms from the google doc instead? | 22:28 |
lh | i thought i updated all of them for 2009, no? | 22:28 |
lh | if not i can fix. | 22:28 |
ajaksu | there's 2008 surveys for historical... just a sec... | 22:28 |
ajaksu | reference, historical reference :) | 22:29 |
lh | ok what we have in there taht is not for historical reference is useful if you want to do imports. :) | 22:29 |
ajaksu | and not something we want to keep private for now? that was the reason I was aiming at the historical reference :) | 22:30 |
jamtoday | We can't import from a Google Form or Doc at this time, just from one Melange survey to another | 22:36 |
jamtoday | and even that feature is not yet on the testing instance | 22:36 |
jamtoday | lh: I forgot to ask before, is it high-priority to be able to specify required survey questions? | 22:38 |
lh | nah, no point in keeping private | 22:38 |
lh | jamtoday: uh, it's best if we can specify required, and kinda needed since the payment yes no question for mentors needs to be required | 22:39 |
jamtoday | lh: to clarify, I mean requiring that certain questions must be answered before the survey can be submitted | 22:39 |
lh | jamtoday: saving in draft form is a good thing(TM) | 22:39 |
ajaksu | great, I'll port it then so we'll have it on survey form sooner rather than later :) | 22:39 |
jamtoday | the Grade field and Project field are required, but the arbitrary questions are not | 22:39 |
lh | ajaksu: you rock. i owe you a caparhina | 22:39 |
lh | i am sure i spelled that wrong too | 22:39 |
ajaksu | lh: you did, but at least it's recognizable :) | 22:40 |
lh | woot. | 22:40 |
lh | i will totally get you one, too | 22:40 |
ajaksu | jamtoday: want me to add a 'required' checkbox (no time to test validation, I'm afraid) | 22:42 |
ajaksu | jamtoday: maybe we should adopt the 'text at top, options below' format instead of left-right as it's now, but keeping a title at left and adding what we store as 'question' on top could work too, what do you think? | 22:43 |
jamtoday | No...not important enough | 22:43 |
jamtoday | I'm not sure I follow.... | 22:43 |
jamtoday | ajaksu: if there is one really crucial fix you could make, it's getting checkboxes and radio buttons to re-render saved state | 22:45 |
jamtoday | I've tested this locally and on the testing instance, does not seem to work. | 22:45 |
ajaksu | jamtoday: I can't fix what I can't reproduce, can we do a side-by-side test right now on my test instance? | 22:46 |
ajaksu | I see my checkboxes translate to entries in my records, do yours? | 22:46 |
jamtoday | I'm talking specifically about taking a survey, not creating/editing | 22:46 |
jamtoday | Yes, it is saved correctly, but not re-rendered | 22:46 |
jamtoday | so the problem is with the SurveyForm() configuration of the form fields | 22:47 |
ajaksu | jamtoday: me too, I'm talking about taking a survey and my radio buttons and checkboxes being correctly checked/selected | 22:47 |
jamtoday | is your git repo fully updated? | 22:47 |
jamtoday | I can also pull from hg | 22:48 |
* lh reads scroll back | 22:48 | |
lh | nothing for me to see here, move along | 22:48 |
ajaksu | jamtoday: not from your last commits, so I'll update, run a local test, push to testing instance, run a test there and, if it works for me, we take a side-by-side test, deal? :) | 22:49 |
jamtoday | yessir | 22:49 |
jamtoday | this would be a good time to try some other browsers...I've been using FF3/Ubuntu | 22:50 |
* jamtoday is booting into XP | 22:51 | |
ajaksu | jamtoday: could it be related to newsfeeds changes I didn't manually merge? can you take the survey on my testing instance? | 22:57 |
jamtoday | sure | 22:59 |
jamtoday | I'm fairly positive it doesn't involve newsfeed code | 22:59 |
ajaksu | jamtoday: you actually added some relevant JS code, so my wfm seems less relevant now... still merging :) | 23:02 |
jamtoday | good chance it was my bad...let me look over my recent JS changesets... | 23:05 |
ajaksu | jamtoday: but you've had this issue for a long time and it's been wfm, so I'm actually thinking my form extensions might be fooling me | 23:07 |
ajaksu | jamtoday: same issue in my test instance? | 23:08 |
ajaksu | change in access list names needs reseeding :) | 23:10 |
ajaksu | and it also breaks reseeding :) | 23:10 |
jamtoday | I thought I had changed it in all the necessary places... | 23:11 |
ajaksu | I think I had everyone hardcoded in there, maybe we could fetch the real list and pick from it? | 23:12 |
ajaksu | jamtoday: locally, on your latest commit, I can get the checkbox checked in FF and, on logging in on Opera, it's still checked... I'll push it to my testing instance now, unless you want to run a test there with the old code firstt | 23:16 |
ajaksu | pushing, then :) | 23:20 |
ajaksu | jamtoday: and my checkboxes are still checked on my testing instance, so we need to track it down together :) | 23:23 |
jamtoday | very odd | 23:24 |
jamtoday | how about at http://jamstage.appspot.com/survey/show/program/google/gsoc2009/samplestudentmidtermgsoc2009 | 23:25 |
tpb | <http://ln-s.net/3Mnj> (at jamstage.appspot.com) | 23:25 |
ajaksu | testing | 23:26 |
jamtoday | You didn't use seed_db on your test instance? | 23:26 |
jamtoday | The evaluation debugging mode requires it to be run once to make the fake mentors and students | 23:26 |
jamtoday | ajaksu: I do see what you mean about left-right vs. up-down | 23:27 |
jamtoday | but you are just testing public surveys, so that should be fine | 23:27 |
ajaksu | I didn't know about having to run it... lemme check how :) | 23:28 |
ajaksu | I'm getting 500 Server Error submitting on that link :) | 23:28 |
ajaksu | and there is no pick_multi, right? | 23:28 |
jamtoday | There is no pick_multi when first creating a survey | 23:30 |
jamtoday | only when editing | 23:30 |
jamtoday | strange..i'm not getting the 500....to the logs! | 23:31 |
ajaksu | are you talking about pick_quant? anyway, I meant no pick_multi in that specific survey you linked above | 23:31 |
jamtoday | not pick_quant, both select and pick_multi | 23:34 |
ajaksu | 'NoneType' object has no attribute '__dict__' in /home/ajaksu/melange/app/soc/logic/models/survey.py in getProjects, line 184 | 23:34 |
ajaksu | sigh... let's go slowly: you click 'create a survey', then you click 'add selection question', you fill stuff in, and you don't have a question type select or you don't have pick_multi there? is this it? because I do have it there | 23:36 |
ajaksu | jamtoday | 23:37 |
ajaksu | ? | 23:37 |
jamtoday | ajaksu: I do have pick_multi, just no checkboxes or radio | 23:38 |
jamtoday | er, rather, no radio | 23:38 |
jamtoday | radio_buttons and pick_quant only appear in editing | 23:38 |
ajaksu | great, that's a know lacking bit of code on my part :) | 23:38 |
ajaksu | now, to the checkboxes not being rendered checked, can you take http://melange-ajaksu.appspot.com/survey/show/program/melange_team/surveys_demo/first_one ? | 23:39 |
tpb | Title: Error (at melange-ajaksu.appspot.com) | 23:39 |
ajaksu | jamtoday: erroring in: soc/views/models/survey.py", line 267, in _public | 23:46 |
ajaksu | survey_record=survey_record, | 23:46 |
ajaksu | UnboundLocalError: local variable 'survey_record' referenced before assignment | 23:46 |
jamtoday | ajaksu: you have uncovered a bug...I was too GSOC-focused writing this | 23:48 |
jamtoday | I'll refactor in push within a couple minutes... | 23:49 |
ajaksu | jamtoday: is this about the views 500 or the logic 500? | 23:49 |
ajaksu | I'm officially not sleeping tonight, things are broken and we have a heisenbug, can we please work together so I can either pick something to fix or can tick something out of my worry-about list? | 23:50 |
ajaksu | and viewing saved records is broken too, at least it seems to be due to one of the above two issues | 23:54 |
ajaksu | brb :) | 23:54 |
jamtoday | yes, I am up for that | 23:54 |
jamtoday | just pushed the bug fix | 23:54 |
jamtoday | The problem is that I've been doing most testing on midterm evaluations, not so much on non-midterms | 23:54 |
ajaksu | jamtoday: is the error on /app/soc/logic/models/survey.py in getProjects, line 184 the same thing? | 23:56 |
ajaksu | ok, brb for real now | 23:57 |
jamtoday | no the logic thing was because the DebugUser() function ran....i can fix that tooo | 23:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!