*** alga has quit IRC | 00:06 | |
*** replaceafill has quit IRC | 00:53 | |
*** aelkner has joined #schooltool | 00:56 | |
*** replaceafill has joined #schooltool | 01:05 | |
*** menesis has quit IRC | 02:24 | |
*** menesis has joined #schooltool | 02:48 | |
*** ignas_ has quit IRC | 05:06 | |
*** aks has joined #schooltool | 06:18 | |
aks | yvl: ping | 06:18 |
---|---|---|
*** menesis has quit IRC | 06:37 | |
*** menesis has joined #schooltool | 10:11 | |
yvl | aks: pong | 10:18 |
aks | yvl: our schooltool package is working | 10:27 |
yvl | glad to hear! | 10:27 |
yvl | just a point of interest.. are you going to publish them somewhere? | 10:30 |
aks | yvl: I'll be publising the spec files and sources of the RPM packages on github, will let you know in a while | 10:32 |
yvl | cool :) | 10:37 |
yvl | by the way, IIRC you pacakged against SchoolTool trunk | 10:40 |
yvl | just a reminder that you might want to package released series in the future... | 10:40 |
yvl | trunks are somewhat unstable as you might guess | 10:41 |
yvl | we'll be releasing 1.5.x (most likely) to Maverick, and that will be the closest to what you have now | 10:42 |
yvl | usually, all you need for the series can be found (for example, 1.4) here http://ftp.schooltool.org/schooltool/1.4/ and in PPAs | 10:43 |
yvl | and if you for some reason decide to publish packages in RPM Fusion (or something similar), that would be most awesome :) | 10:44 |
aks | yvl: my current on is 1.5.1dev | 10:47 |
aks | yvl: I've also written a script that will download the sources for required version number (same for dependencies), download spec templates, correct source version in them, and initiate a build of all | 10:48 |
aks | yvl: on error I only have to test for the failed builds | 10:48 |
aks | yvl: without this automation, packaging would be a PITA | 10:49 |
yvl | yeah :) | 10:50 |
yvl | and serious PITA :) | 10:51 |
yvl | the scripts will be in repo also? | 10:51 |
replaceafill | yvl, you around and have five mins? | 10:54 |
yvl | sure | 10:55 |
yvl | and hi :) | 10:55 |
replaceafill | hey yvl! | 10:55 |
replaceafill | design question | 10:55 |
replaceafill | for cambodia (and also for one of the schools here in el salvador) i need to add addional columns to the gradebook | 10:56 |
replaceafill | for instance, cambodia uses 2 worksheets | 10:56 |
replaceafill | one for each semester | 10:56 |
replaceafill | both worksheets have 4 monthly grades and 1 semester grade | 10:57 |
replaceafill | right now, they're all in the 'Exam' category | 10:57 |
replaceafill | oh sorry | 10:57 |
replaceafill | 4 assignments and 1 exam | 10:57 |
replaceafill | the thing is that one of these new columns have to calculate average for the 4 assingments | 10:58 |
aks | yvl: sorry was out, am here now | 10:58 |
replaceafill | and the other column has to calculate average of the 1 exam vs the other average (the one wih the 4 assignments)! | 10:58 |
aks | yvl: I'll make the script in the repo as well | 10:58 |
* replaceafill is starting to confuse himself... | 10:58 | |
yvl | aks - cool | 10:59 |
aks | yvl: currently i've done a few dirty hacks to make things work, i'll clean up the mess with the specs and the script itself and push it to a repo, and let you guys know | 10:59 |
replaceafill | yvl, https://spreadsheets.google.com/ccc?key=0Ate78VyWm8bndGw2eGRpVlBUcmlyUDNSZUcweFY3S1E&hl=es explain it better :) | 10:59 |
yvl | aks, and if you don't mind, I'll send link to the git repo to schooltool developers mailing list | 10:59 |
aks | yvl: sure | 11:00 |
yvl | aks, it may save someone a lot of work, if they decide to package their own rpms... | 11:00 |
yvl | thanks! | 11:00 |
yvl | replaceafill - looking | 11:00 |
replaceafill | yvl, see the AMS and SSS columns | 11:01 |
aks | yvl: yes, my specs are basically templates upon which others can build (they work fine against the version i'm packaging, but might new a few tweaks for other version) | 11:01 |
replaceafill | aks, this is for fedora, correct? | 11:01 |
aks | replaceafill: yes | 11:01 |
aks | replaceafill: I've succesfully tested on Fedora 9 | 11:01 |
replaceafill | ah! i downloaded Fedora 13 to test it :) | 11:02 |
replaceafill | will download 9 then | 11:02 |
aks | replaceafill: I'll be doing for fedora 13 in a few days as well. Also that we'll be pilot testing schooltool in two of the school by the end of this month | 11:02 |
replaceafill | aks, will you provide instructions on how to install it for us the less familiar with fedora? :) | 11:03 |
aks | replaceafill: of course | 11:03 |
aks | replaceafill: the only problem with me now is the lack of space where I can host the RPM packages for various fedora versions (9,13) | 11:03 |
replaceafill | ah | 11:04 |
replaceafill | aks, i'd like to tell the fedora leader here in El Salvador about your initiative | 11:05 |
aks | replaceafill: If I could fine someone who could provide some hosting space, I'll be happy to package schooltool for successive releases of schooltool | 11:05 |
aks | replaceafill: thanks, I'm a fedora Ambassador myself ;) | 11:05 |
replaceafill | :D | 11:05 |
replaceafill | yvl, going back to my question | 11:06 |
replaceafill | sorry :P | 11:06 |
replaceafill | i started to think "i'd like to use the zc.table.column approach here" | 11:06 |
replaceafill | like inserting one column and put all the logic of the calculation there | 11:07 |
replaceafill | instead of adding it to the gradebook view itself | 11:07 |
replaceafill | and i was very surprised to notice that the journal works this way! | 11:07 |
replaceafill | using getters | 11:07 |
* yvl is trying to follow :) | 11:08 | |
replaceafill | sorry man, i confuse myself here trying to explain... | 11:08 |
yvl | by this way, you mean - adding the functionality to the view itself? | 11:09 |
yvl | no, a column | 11:09 |
yvl | found the code :) | 11:09 |
replaceafill | oh sorry, i should have pointed to the modules | 11:10 |
yvl | np | 11:10 |
yvl | well, it would make sense to me if the averages were 'special requirements' | 11:11 |
yvl | or evaluations | 11:11 |
yvl | read-only | 11:11 |
yvl | but I'm not sure how easy that would be | 11:11 |
replaceafill | but calculated on each view, correct? | 11:11 |
replaceafill | basically i liked the table formatter used in the journal | 11:12 |
replaceafill | and started to think if cambodia could use something like that for the gradebook | 11:13 |
replaceafill | but that feels like going in a different direction... | 11:13 |
replaceafill | that ST core | 11:13 |
yvl | true | 11:13 |
yvl | lyceum.journal uses that column for presentation only | 11:13 |
yvl | hence - table formatters | 11:13 |
replaceafill | yes | 11:14 |
yvl | and it's grading/attendance/comments are very basic meeting-bound structures | 11:14 |
yvl | schooltool.gradebook has a quite different approach | 11:14 |
*** alga has joined #schooltool | 11:14 | |
yvl | and in the end I'd like to see a fusion of those :) | 11:14 |
replaceafill | please! :D | 11:14 |
replaceafill | btw, i'm also refering to presentation only | 11:15 |
yvl | hmm | 11:15 |
replaceafill | i'm not talking about not using requirement/activities etc | 11:15 |
yvl | you'll have to do data export of those soon, right? | 11:15 |
replaceafill | data export? | 11:15 |
replaceafill | reports? | 11:16 |
yvl | yes | 11:16 |
replaceafill | yes | 11:16 |
yvl | pdf, or xls or whatever | 11:16 |
replaceafill | yes | 11:16 |
yvl | correct me if I'm wrong, but it looks like pdf-only reports won't be enough? | 11:16 |
replaceafill | well, that was my first thought but th1a suggested the teachers should be able to see the columns in the gradebook | 11:17 |
replaceafill | maybe i should just subclass the huge gradebookoverview class and insert the calculations at the end... | 11:19 |
yvl | hmm, gradebook has something called LinkedColumn | 11:20 |
yvl | I wonder what that is | 11:20 |
replaceafill | you can show columns from one worksheet in another | 11:20 |
yvl | or averages | 11:20 |
replaceafill | yes | 11:20 |
yvl | theoretically you should extend the linked column so it could calculate averages of some of the columns in the worksheet | 11:22 |
replaceafill | :O | 11:23 |
yvl | but I'm somewhat doubtful if this is feasible | 11:23 |
replaceafill | ok, i'll look into that | 11:24 |
yvl | replaceafill, you know, as Alan how he would do that | 11:29 |
replaceafill | yvl, you mean "ask", right? :D | 11:32 |
yvl | yes :D | 11:32 |
replaceafill | will do | 11:33 |
*** menesis has quit IRC | 11:33 | |
yvl | he will definitely give you the shortest path ;) | 11:33 |
replaceafill | subclass! | 11:33 |
replaceafill | it's just that i hate it :( | 11:33 |
replaceafill | but i'll ask | 11:34 |
replaceafill | thanks yvl! | 11:34 |
yvl | umm, you hate what? :) | 11:34 |
yvl | subclassing? | 11:34 |
replaceafill | yes | 11:34 |
yvl | great! :) | 11:34 |
replaceafill | i think the shortest path is subclassing the huge gradebookoverview view | 11:35 |
replaceafill | add the calculation there, update the template and you got it | 11:35 |
replaceafill | kind of the way the average is done right now | 11:35 |
yvl | hmm | 11:36 |
yvl | yeah | 11:36 |
* yvl wanted something like... | 11:36 | |
yvl | schooltool.gradebook.GradebookBase.getEvaluation | 11:36 |
yvl | but good luck inserting any functionality there :| | 11:36 |
yvl | (it gives averages, if the activity provides ILinkedActivity and the source object provides IWorksheet) | 11:37 |
yvl | seriously | 11:37 |
yvl | was it *that* difficult instead of doing nested ifs | 11:37 |
yvl | just add the gradebookEvaluation adapter | 11:38 |
yvl | and adapt the activity and it's source | 11:38 |
yvl | really | 11:38 |
yvl | *that* difficult? | 11:38 |
* yvl is angry and upset | 11:38 | |
replaceafill | easy yvl, easy!! | 11:38 |
replaceafill | breath man, breath :D | 11:38 |
yvl | :D | 11:38 |
yvl | if that was done in the form of adapter, you could easily extend it to calculate averages for wanted columns :| | 11:39 |
yvl | just make a specific LinkedActivity that knows what columns to use for averages - and viola! | 11:39 |
yvl | sigh.. | 11:40 |
replaceafill | :D | 11:40 |
replaceafill | yeah!! bring the adapters!!! | 11:40 |
yvl | I'd really love to remove almost all providedBy check in gradebook... | 11:42 |
replaceafill | i'd like the gradebook code to be as easy to understand as the journal gradebook code | 11:42 |
yvl | a call for rafactoring, eh? :) | 11:43 |
replaceafill | at least the view code | 11:43 |
replaceafill | table formatters!!! | 11:43 |
replaceafill | column adapters | 11:43 |
* replaceafill sighs now... | 11:43 | |
yvl | honestly - I look at gradebooks as excel sheets | 11:46 |
yvl | if you have an "average" column or whatever | 11:47 |
yvl | it is a same persistent column | 11:47 |
yvl | you just need to store formula instead of a grade | 11:47 |
yvl | and that's it | 11:47 |
replaceafill | ah | 11:47 |
yvl | that should not be done in a view :( | 11:47 |
replaceafill | so, the view approach is wrong? | 11:48 |
yvl | in my opinion - yes | 11:48 |
yvl | but it might be much easier to do | 11:48 |
replaceafill | as you say a 'special requirement' type | 11:49 |
yvl | and we need things done in Cambodia as opposed to architecturally correct ;) | 11:49 |
replaceafill | ¬¬ | 11:50 |
replaceafill | view approach it is then!! | 11:50 |
yvl | probably yes :| | 11:51 |
* replaceafill pukes... | 11:51 | |
yvl | or I can try to refactor this out | 11:51 |
replaceafill | will let the dreams for later | 11:51 |
yvl | but we need Alan's and Tom's blessing :) | 11:51 |
replaceafill | no man, put it in your long TODO.txt ;) | 11:51 |
replaceafill | well, we could bring it up sometime soon ;) | 11:52 |
replaceafill | "douglas has been whining it's too difficult to insert a calculation in the gradebook..." | 11:52 |
yvl | (and some of our users did that too :D ) | 11:53 |
yvl | you know, looking at it now I think adding calculations is quite achievable | 11:54 |
replaceafill | i know i need them :) | 11:55 |
replaceafill | for two pilots ;) | 11:55 |
yvl | I'll try to catch Tom when he wakes up today | 11:55 |
replaceafill | thanks | 11:56 |
replaceafill | will go to whine to my pillow now | 11:56 |
replaceafill | thanks yvl | 11:56 |
yvl | good night, replaceafill :) | 11:56 |
replaceafill | bye man | 11:56 |
*** replaceafill has quit IRC | 11:56 | |
aks | yvl: gone to sleep? | 12:05 |
yvl | no :) | 12:06 |
yvl | it's morning here :) | 12:07 |
yvl | well, noon | 12:07 |
aks | yvl: oh ok | 12:08 |
aks | yvl: let tom know the progress that we're making, he was interested in knowing about the status | 12:08 |
yvl | sure! | 12:08 |
aks | yvl: thanks | 12:09 |
*** menesis has joined #schooltool | 12:30 | |
*** ignas_ has joined #schooltool | 13:51 | |
aks | yvl: packaging complete, will do a quick test tomorrow, and upload the specs and the sources | 14:16 |
aks | yvl: btw what's the irc nick of tom? | 14:16 |
aks | yvl: leaving now, see you tomorrow | 14:19 |
*** aks has quit IRC | 14:20 | |
*** alga has quit IRC | 17:26 | |
*** replaceafill has joined #schooltool | 18:48 | |
*** aks has joined #schooltool | 19:12 | |
*** alga has joined #schooltool | 19:16 | |
*** menesis has quit IRC | 19:37 | |
aks | yvl: ping | 20:11 |
aks | yvl: I'll put the RPM spec files and sources at http://gitorious.org/schooltool-rpm/schooltool-rpm and the wiki is available at http://gitorious.org/schooltool-rpm/pages/Home | 20:13 |
*** aks has quit IRC | 20:23 | |
*** ryanpg has joined #schooltool | 21:31 | |
*** menesis has joined #schooltool | 21:36 | |
*** ryanpg has quit IRC | 22:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!