*** menesis has quit IRC | 00:04 | |
*** khildin has quit IRC | 00:16 | |
*** replaceafill has quit IRC | 00:39 | |
*** menesis has joined #schooltool | 00:52 | |
*** th1a has quit IRC | 02:06 | |
*** Lumiere has quit IRC | 02:24 | |
*** menesis has quit IRC | 02:41 | |
*** yvl has quit IRC | 08:17 | |
*** yvl has joined #schooltool | 09:44 | |
*** khildin has joined #schooltool | 10:35 | |
*** menesis has joined #schooltool | 12:57 | |
*** menesis has quit IRC | 14:29 | |
*** th1a has joined #schooltool | 14:57 | |
*** replaceafill has joined #schooltool | 15:23 | |
th1a | hi replaceafill, yvl. | 15:30 |
---|---|---|
replaceafill | good afternoon | 15:30 |
yvl | good morning and afternoon | 15:30 |
th1a | How's the optimization coming replaceafill? | 15:30 |
replaceafill | good | 15:31 |
replaceafill | i modified the logic for finding equivalent | 15:31 |
replaceafill | as yvl suggested | 15:31 |
replaceafill | and thankfully there's a test for that | 15:31 |
replaceafill | and the test pass | 15:31 |
replaceafill | passes* | 15:31 |
replaceafill | so i think we're ok | 15:31 |
th1a | So we're down to? | 15:32 |
replaceafill | the view takes ~10 seconds now | 15:32 |
th1a | Phew, that's still a lot. | 15:32 |
replaceafill | indeed | 15:32 |
th1a | Can we put a spinner up or something? | 15:32 |
replaceafill | hhmm i don't know | 15:33 |
replaceafill | since it's page loading time | 15:33 |
yvl | can I look at the optimization some time later? | 15:33 |
replaceafill | oh sure | 15:33 |
th1a | 10 seconds is not a practical problem in this context, but it is long enough that you might not think it works. | 15:33 |
replaceafill | hold one | 15:33 |
th1a | When yvl does indexing magic, is that just automatic or will the view need to be changed? | 15:34 |
replaceafill | yvl, http://pastebin.com/Lh3REKTK | 15:34 |
yvl | automatic, if automatic is not enough, view can be changed | 15:34 |
yvl | (for better speedup) | 15:35 |
*** menesis has joined #schooltool | 15:36 | |
th1a | hi menesis. | 15:36 |
th1a | btw, I got timezone confused and have a meeting in 25 minutes. | 15:36 |
replaceafill | :| | 15:36 |
replaceafill | th1a, i also fixed the bug with the spaces | 15:37 |
replaceafill | in comments | 15:37 |
menesis | hi | 15:37 |
th1a | Yes, ckeditor is an example of the usability drawbacks of an option for everything. | 15:37 |
replaceafill | th1a, so what's next? i guess i'll finish this optimization work today | 15:38 |
th1a | I'd like to do the course report sheet report card. | 15:39 |
th1a | course worksheet. | 15:39 |
replaceafill | ah ok | 15:39 |
replaceafill | it's just a matter of changing the source of the report, right? | 15:40 |
replaceafill | from global report sheets to course worksheets | 15:40 |
th1a | Well, it is a completely different report, really. | 15:40 |
replaceafill | ah ok | 15:40 |
th1a | Do you want to chat about it tonight perhaps? | 15:41 |
replaceafill | sure | 15:41 |
th1a | Hm... 8:00 my time? | 15:41 |
replaceafill | 9 pm your time? | 15:41 |
replaceafill | ah ok | 15:41 |
replaceafill | 8 is ok | 15:41 |
th1a | OK. 8:00. | 15:41 |
replaceafill | kk | 15:41 |
* replaceafill done | 15:41 | |
replaceafill | yvl, let me know if there's a better way to write my methods :) | 15:41 |
yvl | okay :) | 15:42 |
replaceafill | i wanted to test set.isdisjoint() | 15:42 |
replaceafill | insted of interesection | 15:42 |
replaceafill | instead* | 15:42 |
th1a | replaceafill: Given that this is a custom report, are you sure we can't speed this up by just making some assumptions? | 15:42 |
replaceafill | th1a, i was thinking the same | 15:43 |
replaceafill | instead of looping through labels | 15:43 |
replaceafill | since they don't change | 15:43 |
th1a | Yeah... we may be hamstringing ourselves by our habit of making everything universal. | 15:43 |
th1a | (which is of course necessary) | 15:43 |
replaceafill | :) | 15:43 |
th1a | OK, so yeah, think about that, since there is only one user for this particular report. | 15:44 |
replaceafill | oh! | 15:44 |
replaceafill | the report! | 15:44 |
replaceafill | i haven't profiled that | 15:44 |
th1a | Eh. | 15:44 |
replaceafill | i will | 15:44 |
th1a | Er. | 15:44 |
th1a | Oh. | 15:44 |
th1a | OK. | 15:44 |
replaceafill | thanks for reminding me ;) | 15:44 |
th1a | That's my job. ;-) | 15:44 |
th1a | Thanks replaceafill. | 15:44 |
th1a | menesis: Have you thought about your rest-of-year tasks? | 15:45 |
menesis | th1a: yes, a little | 15:45 |
menesis | I wrote a short list of themes I should work on | 15:46 |
menesis | from the task list | 15:46 |
menesis | but it's the same tasks that have been dragging | 15:47 |
th1a | Yes... | 15:48 |
th1a | The question really is which ones do you think you can really complete with a push. | 15:48 |
th1a | I guess all the big ones have been hanging around for years... | 15:48 |
menesis | *** CKEditor migration (includes work upstream on zope.html) | 15:49 |
menesis | *** bin/schooltool wrapper around supervisor | 15:49 |
menesis | *** Stop using Liberation fonts | 15:50 |
menesis | *** Unicode usernames (includes a fix in z.a.publication) | 15:50 |
menesis | *** Remove old skin, update ftests to test flourish or remove | 15:50 |
menesis | *** Upgrade to buildout 2 | 15:50 |
menesis | *** Ask for manager password on first access? | 15:50 |
menesis | those are for schooltool source | 15:50 |
menesis | and ubuntu packages... when there is a `schooltool` script the init scripts can be updated | 15:51 |
menesis | other than that | 15:51 |
menesis | there is online backup question | 15:52 |
th1a | That's helpful, actually. | 15:52 |
th1a | Because probably the more feature oriented things I'm thinking about replaceafill would be relatively able to do if we get to that point. | 15:53 |
th1a | Whereas the in-the-weeds packaging stuff, probably it is better to have you do it. | 15:53 |
th1a | How do you feel about the unicode username one? | 15:54 |
menesis | Well yes that's what we've been doing | 15:54 |
menesis | unicode username in fact is simple | 15:54 |
menesis | one-line fix to a zope library | 15:55 |
th1a | Well, things like help and backup are inbetween. | 15:55 |
menesis | or a try-except clause | 15:55 |
th1a | At this point, I'm not worried about Mark suddenly objecting to us committing a small fix to Zope core. | 15:55 |
menesis | then need to remove check from schooltool and see what breaks. | 15:56 |
th1a | I think we've pretty well established we're not going to waste his money on Zope fixes. ;-) | 15:56 |
menesis | but I've had people with unicode usernames and have fixed what broke long ago | 15:56 |
menesis | of cause there can be new issues, like I was fixing before the release | 15:57 |
menesis | when schoolyear name has unicode chars | 15:57 |
menesis | but yes I should solve this | 15:57 |
menesis | I have all the needed permissions for zope | 15:58 |
th1a | Yeah, fixing underlying Zope stuff right now makes sense. | 15:58 |
menesis | Regarding Liberation fonts, there is only one report left that use it. And I was rewriting it. Then all the reports will use only Ubuntu font | 16:00 |
th1a | OK. | 16:00 |
menesis | and configuration can be simplified | 16:00 |
th1a | So basically... you can just continue as before. ;-) | 16:01 |
menesis | maybe even configurable (Asian languages need their own font) | 16:01 |
menesis | OK, but I should really focus on these tasks... | 16:03 |
th1a | Yes. | 16:04 |
menesis | Oh, and I have to write down release/packaging procedure | 16:05 |
menesis | And you want me to help integrate the book. | 16:06 |
th1a | Well, probably the book is the least important. | 16:07 |
th1a | That could take a while. | 16:07 |
th1a | OK, thanks menesis. | 16:08 |
th1a | I'm going to need to go in a minute... | 16:08 |
th1a | yvl? | 16:08 |
yvl | ok... | 16:09 |
yvl | working on various custom statuses this week | 16:09 |
yvl | few hours from having them done | 16:09 |
yvl | they're somewhat extensive IMHO now | 16:09 |
yvl | completed statuses for seciton enrollment | 16:09 |
yvl | graduated statuses for students | 16:10 |
yvl | substitutes for teachers | 16:10 |
th1a | Ooh! Substitute teachers? | 16:10 |
yvl | yep :) | 16:10 |
th1a | OK... so, should we schedule a demo? | 16:10 |
th1a | Or just tell me how to set it up? | 16:10 |
yvl | sure, once I push everything | 16:10 |
yvl | you'll need a fresh database probably | 16:11 |
yvl | sandbox-breaking | 16:11 |
th1a | OK. | 16:11 |
yvl | thing is, there's a lot of work left on actually using the statuses | 16:11 |
th1a | I'm sure. | 16:11 |
yvl | ok, I'll guess I'll have to explain a bit more how they're done later on | 16:12 |
yvl | in short: | 16:12 |
yvl | we have the "system part" | 16:12 |
yvl | that is dropdowns | 16:12 |
yvl | they can be pre-defined combo statuses | 16:12 |
yvl | like active / graduated | 16:12 |
yvl | inactive / graduated | 16:12 |
yvl | so on | 16:12 |
yvl | and customizable user statuses, that have those values | 16:13 |
yvl | also users must input unique codes (letters) for them | 16:13 |
yvl | for import/export, TBD. | 16:13 |
yvl | that's it in a nutshell | 16:13 |
th1a | OK. Let me know when I can check it out. | 16:14 |
yvl | of course | 16:14 |
th1a | OK, thanks guys! | 16:14 |
th1a | Have a good week/end. | 16:14 |
yvl | thanks guys! | 16:14 |
th1a | See you tonight replaceafill. | 16:14 |
* th1a drops the bag of gravel. | 16:15 | |
replaceafill | thanks everybody | 16:18 |
*** khildin has quit IRC | 17:37 | |
*** menesis has quit IRC | 18:13 | |
*** menesis has joined #schooltool | 18:13 | |
yvl | th1a: https://code.launchpad.net/~justas-pov/schooltool/temporal-2 | 18:18 |
yvl | with many unpolished edges, but should roughly work | 18:19 |
th1a | Thanks yvl. | 18:27 |
*** yvl has quit IRC | 18:27 | |
*** th1a has quit IRC | 19:44 | |
*** menesis has quit IRC | 21:13 | |
*** replaceafill has quit IRC | 21:39 | |
*** replaceafill has joined #schooltool | 21:41 | |
*** th1a has joined #schooltool | 22:00 | |
th1a | hi replaceafill. | 22:02 |
replaceafill | hey th1a | 22:02 |
th1a | How's it going? | 22:03 |
replaceafill | i profiled the report | 22:03 |
replaceafill | almost same time | 22:03 |
replaceafill | ~15 sec | 22:04 |
replaceafill | i think some logic in the template slows it down a bit | 22:04 |
replaceafill | and i thought about what you said on making assumptions | 22:04 |
th1a | Did you think about assumptions we might make? | 22:04 |
replaceafill | yes | 22:04 |
replaceafill | there's always the same labels | 22:05 |
replaceafill | it's not necessary to loop over them | 22:05 |
replaceafill | trying to be dynamic | 22:05 |
replaceafill | i'm going to try that next | 22:06 |
replaceafill | after the meeting ;) | 22:06 |
th1a | OK. | 22:06 |
th1a | Do you have the mail and report from D P (moving on to the meeting...) | 22:06 |
replaceafill | got it | 22:07 |
replaceafill | dorm report :) | 22:08 |
replaceafill | attitude :D | 22:08 |
replaceafill | i hadn't seen that part | 22:08 |
th1a | I had to wonder if the bet wetting part was some kind of put-on. | 22:08 |
th1a | Anyhow, we're interested in page 2. | 22:09 |
replaceafill | kk | 22:09 |
th1a | Consider this a draft. | 22:09 |
th1a | Also... | 22:10 |
th1a | we really need an example -- a skeleton -- for just a custom report. | 22:10 |
th1a | Technically this doesn't need to be a .deb even, right? | 22:10 |
replaceafill | you mean, one that the user can code? | 22:10 |
replaceafill | no | 22:11 |
th1a | Just as an example of "OK, if you want a custom report, here's an example." | 22:11 |
th1a | With the ZCML, etc. | 22:11 |
replaceafill | got it | 22:11 |
replaceafill | maybe a external python package that the user can include under plugins/ | 22:11 |
th1a | plugins where? | 22:12 |
replaceafill | so they don't mess with the core code | 22:12 |
replaceafill | /etc/schooltool/standard/ | 22:12 |
replaceafill | has a plugins/ directory | 22:12 |
replaceafill | i think you can put zcml there | 22:12 |
replaceafill | that gets included | 22:12 |
replaceafill | yep, site.zcml has this line: | 22:13 |
replaceafill | <include files="plugins/*.zcml" /> | 22:13 |
th1a | OK. | 22:13 |
th1a | Yes. We just don't have an example of that. | 22:13 |
replaceafill | what kind of sample report? | 22:13 |
replaceafill | something on demographics maybe? | 22:13 |
replaceafill | since they're customizable | 22:14 |
replaceafill | list of section students with some custom demographics? | 22:14 |
th1a | The course worksheet one! | 22:14 |
replaceafill | :| | 22:14 |
th1a | The one we're working on. | 22:14 |
replaceafill | hhmm ok | 22:15 |
th1a | I'm just saying, lets do it quick and let D P look at it. | 22:15 |
replaceafill | you need to understand the data model well to do that imho | 22:15 |
replaceafill | i mean | 22:15 |
replaceafill | ok | 22:15 |
th1a | We're doing it! | 22:15 |
th1a | I just mean let's do it and let him install it in plugins. | 22:15 |
replaceafill | ah | 22:16 |
th1a | And then we also have an example. | 22:16 |
replaceafill | got it | 22:16 |
replaceafill | cool | 22:16 |
replaceafill | i understand | 22:16 |
th1a | OK. ;-) | 22:16 |
replaceafill | let's document this feature! | 22:16 |
replaceafill | :D | 22:16 |
th1a | Indeed. I get asked about it. | 22:16 |
th1a | So... | 22:16 |
th1a | Let's stick with the landscape format. | 22:16 |
th1a | We're just talking about page 2. | 22:17 |
replaceafill | sure | 22:17 |
replaceafill | what about those groupings: | 22:17 |
replaceafill | English Language, Physical Education | 22:17 |
th1a | Well, those are courses. | 22:17 |
replaceafill | are those SchoolTool courses? | 22:17 |
th1a | We just don't have Core/Fundamental grouping. | 22:17 |
replaceafill | and Literature, Grammar, etc, sheets? | 22:17 |
th1a | That would be a c ustom thing. | 22:17 |
replaceafill | ah ok | 22:17 |
th1a | I think Literature, Grammar, etc. are just Activities. | 22:18 |
replaceafill | ok | 22:18 |
th1a | Well, let's say that for now. They COULD be sheets. | 22:18 |
replaceafill | i thought about sheets because of the Term 1, Term 2 columns | 22:18 |
th1a | They're deployed per term, right? | 22:19 |
replaceafill | yes | 22:19 |
th1a | So it will work if they are activities. | 22:19 |
replaceafill | sure | 22:20 |
th1a | Don't worry about the CA at this point. | 22:20 |
replaceafill | ok | 22:20 |
th1a | Hm... comments would have to come from a "regular" report sheet? | 22:20 |
replaceafill | those are the only ones that allow comments | 22:21 |
th1a | Yeah. | 22:22 |
th1a | We could just look for comments in any relevant deployed report sheets. | 22:22 |
replaceafill | or we could allow the user to set the scoresystem on regular activities ;) | 22:23 |
replaceafill | but i guess this should work with 2.6 | 22:23 |
replaceafill | so that's not an option | 22:24 |
th1a | Yeah. | 22:24 |
replaceafill | use comments from the report card layout? too complicated? | 22:25 |
th1a | We could do that... | 22:25 |
th1a | Yeah, sure. | 22:25 |
replaceafill | at least the user would have some degree of control | 22:26 |
replaceafill | instead of retrieving everything automatically | 22:26 |
th1a | Yeah, I briefly was hoping for magic, but you brought me back to reality. | 22:26 |
replaceafill | :D | 22:27 |
replaceafill | course report layout! | 22:28 |
th1a | The style should be the flourish version of their basic layout. | 22:28 |
replaceafill | (kidding) | 22:28 |
replaceafill | ok | 22:28 |
th1a | I'd like this to just require a dialog if possible. | 22:29 |
replaceafill | a dialog? | 22:29 |
th1a | Not a whole layout form. | 22:30 |
th1a | Click the report link, get the dialog, run the report. | 22:30 |
replaceafill | ah | 22:30 |
th1a | Maybe just a drop down for the comments, since you know they have to be coming from a deployed report sheet. | 22:31 |
replaceafill | but it'll be something peristent? | 22:32 |
th1a | Not if we do it that way. | 22:33 |
replaceafill | ok | 22:33 |
th1a | I mean, practically speaking, it will be a drop down that says Comment: and has a menu where 90% of the time there will be on choice, labeled "Comment" | 22:33 |
th1a | one choice | 22:34 |
replaceafill | oh, i thought you wanted something like the outline items part of the report card layout form | 22:35 |
replaceafill | where the user could select the comments to include in the rerpot | 22:35 |
replaceafill | report* | 22:35 |
th1a | Well, let's assume that there is just one. | 22:36 |
replaceafill | just one comment per course? | 22:36 |
th1a | Yeah (section, per term). | 22:36 |
replaceafill | ah ok | 22:36 |
th1a | That's going to be all anyone wants 99% of the time. | 22:37 |
th1a | You can have multiple comments in the other form because... why not. We already had a complicated form. | 22:37 |
replaceafill | :D | 22:37 |
th1a | Sometimes you have very verbose scores systems too. | 22:37 |
th1a | We're not worried about that here. | 22:37 |
replaceafill | got it | 22:38 |
replaceafill | we're not doing the Final Marks table, right? | 22:39 |
th1a | No. | 22:39 |
replaceafill | ok | 22:39 |
replaceafill | i'd remove the two column/landscape part from the "example" | 22:41 |
replaceafill | it's what worries me the most at this point :) | 22:42 |
th1a | Yeah... | 22:42 |
th1a | Go ahead. | 22:42 |
th1a | I was suspecting that would take the most time! | 22:42 |
replaceafill | yeah :( | 22:43 |
replaceafill | not saying we won't do it ;) | 22:43 |
replaceafill | ah | 22:43 |
replaceafill | the header | 22:43 |
replaceafill | and footer | 22:43 |
replaceafill | standard footer | 22:43 |
replaceafill | and just a title for the header? | 22:43 |
replaceafill | or do you want additional "subtitle" lines? | 22:44 |
th1a | Same header/footer as regular report card I guess. | 22:44 |
replaceafill | ah ok | 22:44 |
th1a | Subtitle lines? | 22:44 |
replaceafill | the small lines below the header | 22:44 |
replaceafill | like Instructor(s): ..... in some report | 22:45 |
replaceafill | section roster i think, don't remember exaclty | 22:45 |
th1a | Oh yeah, he doesn't have instructors. | 22:45 |
replaceafill | ok, i'll stick with the report card header | 22:46 |
replaceafill | i guess, that's it right? | 22:46 |
replaceafill | it *should* be straightforward | 22:46 |
replaceafill | :D | 22:46 |
th1a | It should be! | 22:47 |
replaceafill | kk | 22:47 |
th1a | Yeah, don't get lost in any rabbit holes. | 22:47 |
* replaceafill prepares the screencast: How to code a report in ST | 22:47 | |
replaceafill | :D | 22:47 |
th1a | OK, thanks replaceafill. | 22:49 |
replaceafill | thanks th1a | 22:49 |
*** th1a has quit IRC | 23:18 | |
*** menesis has joined #schooltool | 23:21 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!