*** menesis has joined #schooltool | 00:46 | |
*** menesis has quit IRC | 01:03 | |
*** yvl has joined #schooltool | 09:03 | |
*** bigbrovar has joined #schooltool | 09:20 | |
*** khildin has joined #schooltool | 09:57 | |
*** menesis has joined #schooltool | 10:20 | |
*** bigbrovar_ has joined #schooltool | 10:29 | |
*** bigbrovar has quit IRC | 10:30 | |
*** bigbrovar_ has quit IRC | 11:17 | |
*** bigbrovar_ has joined #schooltool | 11:17 | |
*** khildin has quit IRC | 11:20 | |
*** bigbrovar_ has quit IRC | 12:33 | |
*** bigbrovar__ has joined #schooltool | 12:33 | |
*** menesis has quit IRC | 14:28 | |
*** menesis has joined #schooltool | 15:12 | |
*** pgulley has joined #schooltool | 15:39 | |
*** replaceafill has joined #schooltool | 16:18 | |
pgulley | replaceafill, good morning! | 16:21 |
---|---|---|
replaceafill | good morning pgulley | 16:21 |
replaceafill | pgulley, i reviewed your branch | 16:22 |
replaceafill | just a few comments: | 16:22 |
replaceafill | 1. remove all the logic in the Assignments container | 16:23 |
replaceafill | as far as i can tell, it only needs the implements | 16:23 |
replaceafill | 2. move the assignment logic (persistent stuff) to its own module | 16:24 |
replaceafill | did we talk about this before? | 16:24 |
pgulley | We had talked about 2, that was a thing I wanted to do today. I just had figured that everything should work first. | 16:25 |
replaceafill | ah ok | 16:26 |
replaceafill | other than that i think it's fine for merging it | 16:27 |
pgulley | okay | 16:27 |
pgulley | so with regards to that first thing | 16:27 |
pgulley | wait, nevermind, I'll just play with it. | 16:28 |
pgulley | I can do that | 16:28 |
replaceafill | :) | 16:28 |
replaceafill | by remove all the logic i just meant, remove most of the methods, except addAssignment | 16:29 |
pgulley | right, that makes sense. Most of the dunder methods must already be defined under BTree | 16:29 |
replaceafill | right | 16:29 |
pgulley | okay, perfect. I'll do all that! thanks! | 16:30 |
replaceafill | thanks pgulley | 16:30 |
*** th1a has joined #schooltool | 16:37 | |
th1a | Sorry I'm late. | 16:37 |
th1a | hi menesis, replaceafill, yvl. | 16:37 |
yvl | good morning :) | 16:37 |
th1a | Getting this in before a 7 hour drive back from Grandma's. | 16:38 |
menesis | hi | 16:39 |
replaceafill | good morning/afternoon | 16:39 |
th1a | Would you like to start replaceafill? | 16:40 |
replaceafill | sure | 16:40 |
replaceafill | i finished the script for the malawi school | 16:40 |
replaceafill | yvl suggestions worked pretty well :) | 16:40 |
yvl | ya y\o/ | 16:40 |
th1a | Unfortunately we haven't heard back from him, right? | 16:41 |
replaceafill | th1a, right :( | 16:41 |
replaceafill | the script is here: | 16:41 |
replaceafill | http://bazaar.launchpad.net/~replaceafill/+junk/malawi/view/head:/import_grades.py | 16:41 |
th1a | Well, it won't be the last time we have a case like this. | 16:41 |
replaceafill | true | 16:41 |
replaceafill | on friday i started working on jelkner's request for managing images in schooltool quiz | 16:42 |
replaceafill | i think i'll be done with it today | 16:43 |
replaceafill | and.. i think that's it from me | 16:43 |
th1a | Tomorrow, back to report cards? | 16:43 |
replaceafill | yes | 16:44 |
th1a | OK Cool. | 16:45 |
th1a | Thanks replaceafill . | 16:45 |
th1a | yvl? | 16:45 |
yvl | plumbing is pretty much done | 16:45 |
yvl | we'll need an evolution though | 16:45 |
yvl | started working on UI | 16:46 |
yvl | not sure how it's supposed to work though :) | 16:46 |
th1a | For student enrollment. | 16:46 |
th1a | Statuses. | 16:46 |
th1a | Correct? | 16:46 |
yvl | let's say yes | 16:47 |
yvl | we have: | 16:47 |
yvl | group membership, student enrollment, section instructors and resource leaders | 16:47 |
yvl | these are candidates for relationship statuses IMHO | 16:47 |
yvl | so | 16:48 |
yvl | adding removing in section (edit students) | 16:48 |
yvl | I guess they should add/remove a person today | 16:48 |
th1a | Actually in terms of those kinds of memberships student membership in sections is by far the most important. | 16:49 |
yvl | of course | 16:49 |
th1a | OK. | 16:49 |
yvl | (I also think it's worth hooking up year statuses to student-level relationships, but that's another story for later) | 16:49 |
th1a | To be clear -- "student enrollment" refers to any person's status as a student in relationship to the school. | 16:49 |
yvl | oh | 16:50 |
yvl | right | 16:50 |
th1a | "section enrollment" is primarily the student in relationship to the section. | 16:50 |
yvl | yes | 16:50 |
yvl | student enrollment is group enrollment | 16:50 |
th1a | And year statuses is by far the most wide ranging in terms of the way it affects the rest of the application. | 16:51 |
th1a | OK, practically they are the same then. | 16:51 |
th1a | ? | 16:51 |
yvl | from my point of view - yes :) | 16:51 |
th1a | OK. That's not a bad thing. | 16:52 |
yvl | but group enrollment is also valid for teachers, school managers and so on and so forth | 16:52 |
th1a | OK. | 16:52 |
th1a | I'll think about it that way. | 16:52 |
th1a | Obviously it kills several birds with one stone. | 16:52 |
yvl | yes :) | 16:53 |
yvl | so there are few things to think about | 16:53 |
th1a | Can you just review briefly how statuses work as you've actually implemented them? | 16:53 |
yvl | ok | 16:54 |
yvl | a relationship between two objects is now conditional | 16:54 |
yvl | it has a status, which is essentially a string | 16:54 |
yvl | uhm | 16:54 |
yvl | statuses | 16:54 |
yvl | each status is applicable from a date | 16:54 |
yvl | and before the first status, the relationship does not exist | 16:55 |
yvl | if you add a student to a section today, he's not there yesterday | 16:55 |
yvl | from today | 16:56 |
yvl | when you iterate through students of the section | 16:56 |
yvl | for a certain date | 16:56 |
yvl | (by default - for todays date) | 16:56 |
yvl | (and by default - active status) | 16:56 |
yvl | he will be in section | 16:57 |
yvl | there's no UI yet, but you can set his status to inactive from say Aug 1 | 16:57 |
yvl | and until Aug 1, all queries (active by default, todays date) will return him in section | 16:57 |
yvl | from Aug 1 he will dissappear | 16:58 |
yvl | statuses are arbitrary and can be anything that is hardwired to the system | 16:58 |
yvl | and at the moment I only use active / inactive | 16:58 |
yvl | and always use today's dates, since there's only UI for that :) | 16:58 |
th1a | I'm thinking we need a system like the excuse customization status customization. | 16:58 |
yvl | uhm? | 16:59 |
yvl | excuse customization? | 16:59 |
th1a | Maybe we have three hardwired "pending" "enrolled" "withdrawn" and then you can add other strings which must be equivalent to one of the three. | 16:59 |
th1a | Like, you can make a new string that is more specific but to the system equivalent to "absent" "excused" or whatever. | 17:00 |
yvl | ok | 17:01 |
th1a | So you add a string "Moved away" and have to select "withdrawn" next to it. | 17:01 |
yvl | makes sense | 17:01 |
yvl | right | 17:01 |
th1a | That's probably the next step and maybe we should talk about other parts of the UI tomorrow after I'm home? | 17:02 |
yvl | sure | 17:02 |
yvl | let me just enumerate what parts are unclear to me | 17:02 |
th1a | OK. | 17:02 |
yvl | when persons are pending or withdrawn, they probably should be displayed in relevant tables somehow | 17:02 |
yvl | maybe strikeout, maybe gray out | 17:03 |
th1a | It may be somewhat view specific. | 17:03 |
yvl | yes | 17:03 |
yvl | so a thing to think about | 17:03 |
yvl | same for person views | 17:03 |
th1a | It is going to need to be a switch in the grade book views. | 17:03 |
th1a | show/hide | 17:03 |
yvl | (the view of your sections) | 17:03 |
yvl | what else | 17:04 |
yvl | modifying the status | 17:04 |
yvl | probably the simplest thing is to have a separate view | 17:04 |
th1a | Yeah… we just need to go through these. | 17:05 |
yvl | you'd need to select a date, an action and click on a person's button? | 17:05 |
yvl | also importer sheets could become more complicated | 17:05 |
th1a | True, yes. | 17:05 |
yvl | and then - the reports | 17:05 |
yvl | so these are main things I think | 17:06 |
th1a | Right. It touches a lot of places, but mostly just adding filters and fairly straightforward elaboration. | 17:06 |
yvl | right | 17:06 |
yvl | but still | 17:06 |
th1a | Yes, lots of decisions. | 17:07 |
yvl | yep :) | 17:07 |
th1a | I've just got a chaotic scene here today, so we'll focus tomorrow. | 17:07 |
yvl | sure | 17:08 |
yvl | meanwhile I'll keep myself busy :) | 17:08 |
th1a | OK. Sounds good. Glad it is moving fast enough to catch me flat footed. ;-) | 17:08 |
yvl | :D | 17:09 |
th1a | Thanks yvl. | 17:09 |
th1a | menesis? | 17:09 |
menesis | I have submitted my updated supervisor package to debian | 17:10 |
th1a | Ah, good. | 17:10 |
menesis | next I have to make proper releases of all the schooltool projects | 17:11 |
menesis | right? | 17:11 |
th1a | Um… | 17:11 |
th1a | Well, we're shooting for a feature freeze and then a release around the end of the month -- when we get these statuses and the new report cards settled. | 17:12 |
th1a | Is that what you're referring to? | 17:12 |
menesis | up to now all the celery, permissions, and journal scoresystems are available only as automatically built packages | 17:13 |
th1a | Oh, ok. | 17:13 |
th1a | Well... | 17:13 |
th1a | Should that just wait for the statuses and report cards? | 17:13 |
menesis | maybe | 17:13 |
menesis | but celery work has settled 6 weeks ago, scoresystems also done a few weeks ago | 17:14 |
th1a | I don't know if you need to get the celery parts packaged. | 17:14 |
menesis | and I never made releases at these milestones | 17:15 |
th1a | You know better than I do what needs to be done packaging-wise. | 17:15 |
th1a | As long as we're on the same page that we're doing the feature freeze around the 1st, and then will be squaring that stuff up for a real release in advance of the October Ubuntu release. | 17:16 |
menesis | well, I'm getting anxious and want to upload some of the last several months work to ubuntu | 17:18 |
th1a | (that is, trying to get the final release with everything up to enrollment/report cards out in September) | 17:18 |
th1a | OK. | 17:18 |
menesis | to have smaller uploads later | 17:18 |
th1a | That is fine. | 17:18 |
th1a | I'm just checking to make sure we | 17:19 |
th1a | 're on the same page. | 17:19 |
menesis | good | 17:19 |
th1a | Good. :-) | 17:20 |
menesis | ... | 17:21 |
th1a | OK. Anything else? | 17:21 |
menesis | no, that's all | 17:21 |
th1a | Time to pack up the car and chuck in the kids? | 17:21 |
th1a | Thanks guys. | 17:22 |
th1a | Talk to you tomorrow, yvl. | 17:22 |
th1a | And Wednesday for everyone. | 17:22 |
th1a | Have a great week! | 17:22 |
yvl | thanks | 17:23 |
* th1a drops the bag of gravel. | 17:23 | |
yvl | see you soon :) | 17:23 |
replaceafill | thanks everybody, have a good week | 17:23 |
replaceafill | have a good trip th1a | 17:23 |
pgulley | replaceafill- I've gotten everything moved as you asked. | 17:24 |
pgulley | But I don't think I can remove those dunder methods- the "IKeyReference" thing is nessecary | 17:24 |
replaceafill | why? | 17:25 |
pgulley | The BTree object wants inputs as strings. | 17:27 |
pgulley | Unless I'm seriously misunderstanding (which is very possible) | 17:27 |
replaceafill | ah true | 17:28 |
replaceafill | and you're using... | 17:28 |
replaceafill | the item? | 17:28 |
pgulley | right. | 17:28 |
pgulley | That could be restructured? | 17:28 |
replaceafill | well, you could use the item's __name__ | 17:28 |
pgulley | That's not unique, though? | 17:29 |
replaceafill | it is | 17:29 |
replaceafill | item's live in the item's container | 17:29 |
replaceafill | they all get a different __name__ when they're put there | 17:30 |
pgulley | oh! okay, in that case | 17:30 |
pgulley | yeah. that should work | 17:30 |
replaceafill | imho it makes the container code a lot simpler | 17:30 |
pgulley | I agree. | 17:31 |
replaceafill | no need to understand ikeyreference and such | 17:31 |
pgulley | mhm. Less to sift through. | 17:31 |
replaceafill | or plain btrees | 17:31 |
replaceafill | the one you copied from is a very specialized container | 17:31 |
replaceafill | that's why all that logic is needed | 17:31 |
replaceafill | also, install pyflakes in your ubuntu | 17:32 |
replaceafill | and run: | 17:33 |
replaceafill | pyflakes /path/to/your/quiz/branch | 17:33 |
replaceafill | it should tell you about some unused imports, redefinitions, etc | 17:33 |
pgulley | alright | 17:33 |
pgulley | replaceafill, pushed latest revisions | 18:08 |
*** menesis has quit IRC | 19:46 | |
*** th1a has quit IRC | 19:48 | |
*** menesis has joined #schooltool | 20:25 | |
*** replaceafill has quit IRC | 22:21 | |
*** replaceafill has joined #schooltool | 22:56 | |
*** pgulley has quit IRC | 23:02 | |
*** replaceafill has quit IRC | 23:32 | |
*** replaceafill has joined #schooltool | 23:44 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!