*** menesis has quit IRC | 02:23 | |
*** jstraw has joined #schooltool | 03:31 | |
*** eakdev has joined #schooltool | 04:33 | |
eakdev | hello everyone | 04:34 |
---|---|---|
eakdev | okay so one of the guys at g+ suggested schooltool and im really glad i found it | 04:34 |
eakdev | what is the best way to install it on a small school where the computers (more or less 10) are connected only through a wireless router? | 04:35 |
*** eakdev has quit IRC | 05:10 | |
*** khildin has joined #schooltool | 08:47 | |
*** khildin has joined #schooltool | 08:49 | |
*** khildin has quit IRC | 09:00 | |
*** khildin has joined #schooltool | 09:02 | |
*** yvl has joined #schooltool | 09:53 | |
*** menesis has joined #schooltool | 11:21 | |
*** th1a has joined #schooltool | 12:42 | |
*** menesis has quit IRC | 14:20 | |
*** menesis has joined #schooltool | 14:21 | |
*** menesis has quit IRC | 14:47 | |
*** replaceafill has joined #schooltool | 15:14 | |
th1a | hi replaceafill, yvl. | 15:30 |
replaceafill | good afternoon | 15:30 |
th1a | Here's a quickie that Glenda has asked about... I think I filed a bug for it... | 15:33 |
th1a | maybe I should check... | 15:33 |
th1a | Actually I think I didn't assign it because it was when you were sick. | 15:33 |
replaceafill | ah, what is it? | 15:33 |
th1a | Anyhow, the first time someone uses a gradebook, it should default to the *active* year. | 15:33 |
replaceafill | ah | 15:34 |
replaceafill | i *think* i saw the bug | 15:34 |
* replaceafill goes look | 15:34 | |
replaceafill | https://bugs.launchpad.net/schooltool/+bug/1243781 | 15:34 |
replaceafill | you did assign it :) | 15:34 |
th1a | That should be easy, right? | 15:35 |
replaceafill | yes | 15:35 |
replaceafill | i can fix it today | 15:35 |
th1a | OK, please. | 15:35 |
*** menesis has joined #schooltool | 15:36 | |
th1a | hi menesis. | 15:36 |
menesis | hello | 15:37 |
th1a | So... 2.6.1 this week? | 15:38 |
menesis | sure | 15:39 |
th1a | OK. | 15:39 |
th1a | replaceafill has a bug he's going to work on today. | 15:39 |
th1a | Our friends in Thailand are going to try upping their memory. | 15:40 |
th1a | They weren't using swap because they're on Amazon E2C. | 15:40 |
th1a | Hopefully that was the problem. | 15:40 |
th1a | yvl, ayt? | 15:41 |
th1a | replaceafill: Why don't you go ahead? | 15:42 |
replaceafill | sure | 15:42 |
replaceafill | last week i started with the coure worksheets report | 15:43 |
replaceafill | i found a bug with the deployment of course worksheets | 15:43 |
replaceafill | they're not deployed to new sections | 15:43 |
replaceafill | so i've added an event subscriber similar to the one for report sheets | 15:44 |
replaceafill | i've also set up a selenium IDE script for filling data similar to the original sample | 15:44 |
replaceafill | biblical studies, english language, etc | 15:44 |
replaceafill | a question i have here is | 15:45 |
replaceafill | if i'm trying to explain a user how to add a custom package | 15:45 |
replaceafill | what's the easiest way for them to add something to the python path? | 15:45 |
replaceafill | i thought that just putting everything under the plugins directory would be enough | 15:46 |
replaceafill | but it isn't | 15:46 |
th1a | menesis: We're trying to use this report as an example of what a user-generated custom report might look like. | 15:47 |
menesis | hm. | 15:48 |
menesis | if schooltool is system-installed | 15:48 |
menesis | then put something in /usr/local | 15:49 |
menesis | if it is a python package, easy_install --prefix=/usr/local PACKAGE | 15:49 |
th1a | Does the plugins directory do anything? | 15:49 |
menesis | plugins directory is for zcml files | 15:50 |
replaceafill | but the zcml file has to point to python packages | 15:50 |
menesis | yes, and they need to be on python path | 15:50 |
menesis | there was a path option in schooltool.conf but I believe it was lost long time ago | 15:51 |
menesis | replaceafill: so what do you have? a single .py file? | 15:52 |
replaceafill | menesis, my fear with the easy_install step is that there's no way to "uninstall" the package, right? | 15:52 |
replaceafill | menesis, yes | 15:52 |
replaceafill | but i'll need templates at some point | 15:52 |
replaceafill | so it'll have to be a full python package | 15:53 |
replaceafill | (i mean directories, etc) | 15:53 |
menesis | pip (a successor of easy_install) does have an uninstall command | 15:53 |
replaceafill | ah ok | 15:54 |
menesis | installing into /usr/local is simplest way to put something on python path | 15:54 |
yvl | hi guys | 15:55 |
replaceafill | for development, i guess i can use the command line for including the path, right? | 15:55 |
yvl | sorry I'm late | 15:55 |
replaceafill | hi yvl | 15:55 |
th1a | hi yvl. | 15:55 |
menesis | for development just add the directory to buildout.cfg develop = line | 15:55 |
replaceafill | ah easier :D | 15:55 |
replaceafill | kk, thanks menesis that'll keep me going :) | 15:56 |
replaceafill | menesis, i fixed the cando stests | 15:56 |
replaceafill | using chromedriver 2.6 | 15:56 |
replaceafill | i left one still broken in the gradebook related to the Average column :( | 15:56 |
menesis | replaceafill: I saw, and checked | 15:57 |
menesis | very happy, thank you! | 15:57 |
replaceafill | great! | 15:57 |
* replaceafill done | 15:57 | |
menesis | replaceafill: what test? | 15:58 |
replaceafill | hold on | 15:58 |
replaceafill | popup_menus.txt | 15:59 |
menesis | I have been working on gradebook but touched only attendance and external activities, not average | 15:59 |
replaceafill | it gets broken when you have plugins enabled | 16:00 |
replaceafill | because the extra scoresystems | 16:00 |
menesis | oh | 16:00 |
replaceafill | i guess we can include Attendance, since the gradebook depends now on the journal, right? | 16:00 |
replaceafill | but the cando Competency one is optional | 16:01 |
menesis | ok I have seen such failure | 16:01 |
menesis | no, journal is optional | 16:01 |
replaceafill | ah ok | 16:01 |
menesis | but is enabled in tests | 16:02 |
th1a | The gradebook shouldn't depend on the journal. | 16:02 |
menesis | it doesn't, but there is code that uses journal, so it is enabled in tests | 16:03 |
replaceafill | menesis, ah, sorry i didn't notice the "extra" part in requires :D | 16:03 |
replaceafill | in any case, that part of the test should be rewritten | 16:03 |
menesis | the test should check that everything that is expected is there | 16:03 |
menesis | and ignore extra scoresystems | 16:04 |
replaceafill | right | 16:04 |
th1a | OK... | 16:06 |
th1a | So you're still getting to the actual new report, right replaceafill? | 16:07 |
replaceafill | th1a, yes | 16:07 |
replaceafill | i think i'll have it ready tomorrow | 16:07 |
th1a | OK. | 16:07 |
th1a | Thanks replaceafill. | 16:07 |
th1a | OK, yvl and menesis -- are there any settings that would reduce the memory footprint of SchoolTool 2.6? | 16:08 |
yvl | none I'm aware of | 16:09 |
menesis | [X] Use less memory | 16:09 |
menesis | no, I don't think so | 16:09 |
yvl | [X] use SQL | 16:09 |
th1a | OK. | 16:09 |
yvl | sorry | 16:09 |
th1a | Just checking. ;-) | 16:09 |
th1a | Wasn't sure if you could run fewer threads or something. | 16:09 |
yvl | I think we can reduce it somewhat though | 16:10 |
menesis | there is number of threads setting, but it is low at 4 | 16:10 |
yvl | at least kill caches after each report generation | 16:10 |
th1a | yvl: Where would that be done? | 16:11 |
yvl | we need to develop that | 16:12 |
th1a | What brings this up is just that our friends in Thailand have been running on E2C with just a bit over half a gig of memory and no swap. | 16:13 |
yvl | and that would combat some of the eventual RAM consumption growth | 16:14 |
th1a | Which is kind of miraculous that it ever worked. | 16:14 |
th1a | So that's an unreasonably low expectation. | 16:14 |
th1a | So... | 16:15 |
th1a | Hopefully it will just work with more memory. | 16:15 |
th1a | Since it is too late to use SQL. ;-) And memory is cheap. | 16:15 |
yvl | right | 16:16 |
menesis | I have read about "relstorage". It is not an Object-Relationship mapper, but stores pickles in an SQL database instead of FileStorage (Data.fs). It would make backup easier and maybe work better with lots of data. But of course need to set up a postgresql/mysql database, convert existing data (there's a script for that)... and the data in there is unreadable. | 16:16 |
th1a | It wouldn't be worth making that the default. | 16:17 |
th1a | Maybe an option someday for SIELibre customers. ;-) | 16:18 |
th1a | OK. | 16:19 |
th1a | yvl? | 16:19 |
th1a | I haven't looked at your branch yet. | 16:19 |
th1a | Which screens will be interesting to me? | 16:19 |
th1a | Adding students to sections? | 16:19 |
yvl | School -> Manage Enrollment (or similar) | 16:19 |
yvl | or enrollment statuses | 16:20 |
yvl | then adding students to sections | 16:20 |
yvl | instructors | 16:20 |
yvl | resource and course leaders | 16:20 |
yvl | and members to groups | 16:20 |
yvl | and members to students group (special case) | 16:20 |
yvl | also, I noticed substitute teachers do not work as "active" instructors in that branch | 16:21 |
yvl | typo | 16:21 |
th1a | ok | 16:21 |
yvl | after that, I wrote evolution for everything | 16:21 |
yvl | and evolved ACC database | 16:21 |
yvl | the big one :) | 16:22 |
th1a | And on the sixth day... | 16:22 |
yvl | still profiling now | 16:22 |
yvl | using sections with hundreds of students | 16:22 |
yvl | and skills that have ~15 equivalencies each | 16:23 |
yvl | * hundreds of students added manually | 16:23 |
yvl | so, it's horribly slow obviously | 16:23 |
yvl | it would be cool to have data replaceafill used | 16:23 |
yvl | and the view also | 16:24 |
th1a | I don't care if it is slow if it doesn't eat tons of memory. | 16:24 |
replaceafill | yvl, social skills? | 16:24 |
yvl | yes | 16:24 |
replaceafill | sure, hold on | 16:24 |
yvl | depends on your definition of "tons" | 16:25 |
yvl | if tons = gigabytes, then we're good :) | 16:25 |
replaceafill | yvl, do you want it evolved already? | 16:25 |
yvl | no | 16:26 |
replaceafill | ok | 16:26 |
yvl | thanks man | 16:26 |
yvl | as for speed | 16:27 |
yvl | let's put it this way | 16:27 |
yvl | temporal relationships are some 3 times slower as is | 16:27 |
yvl | unless fixed, that impacts speed | 16:28 |
th1a | Fixed? | 16:28 |
yvl | optimized | 16:29 |
yvl | a gradebook with 100+ members renders in some 3 secs with temporal filtering cut out | 16:29 |
yvl | 8+ secs with | 16:29 |
th1a | Yes... that would be next? | 16:29 |
yvl | well, that's what I'm working on | 16:29 |
yvl | also | 16:29 |
yvl | I'm looking into memory footprint of relationships | 16:29 |
* th1a doesn't care if *giant evolution* takes a long time. | 16:30 | |
replaceafill | yvl, just PM'd you the link for the social skills db | 16:30 |
yvl | I undertand and agree th1a :) | 16:30 |
th1a | Ok. ;-) | 16:30 |
replaceafill | yvl, and their custom views are in: lp:~schooltool-owners/schooltool/schooltool.socialskills | 16:30 |
yvl | thanks | 16:31 |
yvl | so one thing to look at what we're doing now | 16:32 |
yvl | is optimizing db querying | 16:32 |
yvl | using some of techniques used by SQL DB devs :) | 16:32 |
th1a | I'm sure. | 16:33 |
yvl | but I don't plan to spend a month on it | 16:34 |
th1a | OK, thanks yvl. | 16:34 |
yvl | rather investigate till Wed mostly | 16:34 |
th1a | Sounds good. | 16:34 |
th1a | Thanks yvl. | 16:34 |
th1a | menesis? | 16:34 |
menesis | I have been working on gradebook and journal | 16:35 |
menesis | fixed attendance columns in reports | 16:35 |
menesis | well that was done earlier | 16:36 |
menesis | also external activities | 16:36 |
menesis | were not updated for scoresystems | 16:36 |
menesis | there are also external activities in cando, and I believe "total points" activity counts its value incorrectly | 16:37 |
th1a | Ah... yes... | 16:37 |
menesis | not sure what it should be. sum of (grade/max value). | 16:38 |
menesis | but if competencies are not completed, should they be counted or not | 16:38 |
menesis | there is another column (percent passed) | 16:39 |
menesis | th1a: you know about this issue? | 16:39 |
th1a | Oh... you mean if you turn these columns on in CanDo? | 16:39 |
th1a | total points? | 16:39 |
menesis | In Gradebook, Add Activity, choose External Activity, and there is a choice of sources like Journal Average and two for each CanDo project | 16:40 |
th1a | Right. | 16:41 |
th1a | We're talking about the gradebook itself. | 16:41 |
th1a | ... | 16:41 |
* th1a tries to remember. | 16:41 | |
replaceafill | i think it was something done for jelkner? | 16:41 |
th1a | You set the point value of the external activity, and it expects a % essentially from the source. | 16:41 |
menesis | yes | 16:42 |
th1a | OK, so the question is what value should CanDo be giving you... | 16:42 |
menesis | a fraction between 0 and 1 | 16:42 |
th1a | Yes. | 16:42 |
th1a | OK, each score in cando has a Point Value. | 16:42 |
th1a | It would be the sum of the point values divided by the sum of the maximum point values. | 16:43 |
th1a | Right? | 16:43 |
menesis | example there are three skills, two of them graded 3, another empty. so the result should be either 6/8 or 6/12. | 16:43 |
th1a | Yeah, well, that's a business logic decision... | 16:44 |
menesis | and right now it is 6/3 | 16:44 |
th1a | OK, that's definitely wrong. | 16:44 |
th1a | I'd say 6/12. | 16:44 |
menesis | but some skills are optional? | 16:45 |
th1a | Hrm... | 16:45 |
th1a | Good point... | 16:45 |
th1a | Well, ideally it would be a combination of the two then. | 16:45 |
th1a | Kind of a pita, but computers are good at math. | 16:46 |
menesis | I'd say count only skills that have been graded | 16:46 |
th1a | OK. | 16:46 |
th1a | ;-) | 16:46 |
th1a | Do that until someone complains. | 16:46 |
menesis | OK :) | 16:47 |
menesis | so I was changing columns and reports, but the tests don't work, so wasn't sure if I broke something or not | 16:47 |
menesis | investigated why reports are not found by tests | 16:48 |
menesis | they are registered only for new skin. | 16:48 |
menesis | tried to do something about it, but a few attempts failed | 16:49 |
menesis | I have one idea... | 16:50 |
menesis | and then I'll be done with report fixes | 16:50 |
menesis | other than that, commented on questions/bugs | 16:51 |
th1a | Yes, we're getting a lot of feedback on LP now at least! | 16:52 |
menesis | That's good, when we can help :) | 16:52 |
th1a | Yeah, the "Well, I can't seem to delete my database," type responses are frustrating. | 16:53 |
menesis | upgrade to 2.6 solves some complaints, and 2.6.1 will fix a few issues more, so I will push it out quickly | 16:53 |
menesis | replaceafill: you are working on one more issue? which one? | 16:54 |
replaceafill | yes | 16:54 |
th1a | A quickie. | 16:54 |
replaceafill | https://bugs.launchpad.net/schooltool/+bug/1243781 | 16:55 |
replaceafill | writing a quick stest now... | 16:55 |
replaceafill | speaking of stests + reports | 16:55 |
replaceafill | i have a fix request for yvl | 16:55 |
replaceafill | (after he's done with the statuses ofc) :) | 16:55 |
replaceafill | it's about fixing the downloads functionality in the selenium test runner | 16:56 |
yvl | okay | 16:56 |
replaceafill | some stests are failing at ('Download').click() part | 16:56 |
yvl | please remind me again later :) | 16:57 |
replaceafill | kk, will do | 16:57 |
menesis | there is a 'Generate' button instead. but it won't work either. | 16:58 |
replaceafill | right | 16:58 |
menesis | I have some things to finish, and will make a release tomorrow | 16:59 |
* menesis done | 16:59 | |
th1a | OK. Super. | 17:00 |
th1a | Thanks guys. | 17:01 |
th1a | See you Wednesday. | 17:01 |
* th1a drops the bag of gravel. | 17:01 | |
replaceafill | thanks everybody, have a good week | 17:01 |
*** yvl has quit IRC | 17:31 | |
replaceafill | th1a, you around? | 18:06 |
*** menesis has quit IRC | 20:14 | |
*** menesis has joined #schooltool | 21:08 | |
*** khildin has quit IRC | 21:25 | |
*** khildin has joined #schooltool | 21:43 | |
*** khildin has quit IRC | 23:31 | |
th1a | hi replaceafill. | 23:42 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!