*** th1a has quit IRC | 00:28 | |
*** ignas has quit IRC | 01:54 | |
*** replaceafill has quit IRC | 01:57 | |
*** ignas has joined #schooltool | 02:21 | |
*** ignas has quit IRC | 02:29 | |
*** khildin has joined #schooltool | 10:45 | |
*** ignas has joined #schooltool | 11:03 | |
*** ignas has quit IRC | 11:49 | |
*** yvl has quit IRC | 12:01 | |
*** yvl has joined #schooltool | 12:02 | |
*** ignas has joined #schooltool | 12:35 | |
*** ignas has quit IRC | 13:22 | |
*** th1a has joined #schooltool | 13:35 | |
*** khildin has quit IRC | 14:13 | |
*** menesis has quit IRC | 14:16 | |
*** khildin has joined #schooltool | 14:55 | |
*** menesis has joined #schooltool | 15:07 | |
*** ignas has joined #schooltool | 15:10 | |
*** replaceafill has joined #schooltool | 15:24 | |
th1a | replaceafill: Were we meeting today? | 15:44 |
---|---|---|
th1a | Are we? | 15:45 |
replaceafill | th1a, yes | 15:45 |
replaceafill | i have some "news" | 15:45 |
replaceafill | about the social skills instance | 15:45 |
th1a | Yes...? | 15:45 |
replaceafill | i merged the old code with the trunk branch, right? | 15:45 |
th1a | Yes? | 15:46 |
replaceafill | but when i try to evolve the database the process gets killed :( | 15:46 |
replaceafill | 8 GB of RAM + 2 of swap are not enough | 15:46 |
th1a | Oh, crap. | 15:46 |
th1a | What's in there? | 15:46 |
replaceafill | i'm now trying to improve the evolve scripts in core and cando | 15:46 |
replaceafill | to not use .values() calls | 15:46 |
replaceafill | which i think creates huges lists in memory | 15:47 |
replaceafill | and also, i've set the generations version in cando to 1 | 15:47 |
replaceafill | so only the first evolve gets called | 15:47 |
replaceafill | for core, evolve40 has the permission remap | 15:48 |
replaceafill | assigning people to correct groups | 15:48 |
replaceafill | and evolve41 puts manager in the correct groups | 15:49 |
replaceafill | for cando, evolve 1 is what copies skills to sections | 15:49 |
th1a | There's got to be some potential optimization in there. | 15:51 |
replaceafill | imho the issue are those .values() calls | 15:52 |
replaceafill | i'll finish removing those and try running the evolve again | 15:52 |
th1a | ok | 15:53 |
replaceafill | http://imagebin.org/index.php?mode=image&id=272602 | 15:54 |
replaceafill | running out of RAM! ;) | 15:54 |
replaceafill | (green indicator) | 15:54 |
th1a | I'm familiar with that display! | 15:54 |
th1a | replaceafill: I'm afraid that trying to generalize the autism views too much is just going to lead to node sniffing craziness. | 16:00 |
replaceafill | th1a, i agree | 16:00 |
th1a | OK. We've got too many other things on our plates as it is. | 16:01 |
replaceafill | http://imagebin.org/index.php?mode=image&id=272603 | 16:01 |
replaceafill | out of ram (swap in purple) | 16:01 |
replaceafill | th1a, kk, so we put those views in a custom package? | 16:02 |
replaceafill | well, there's already a custom schooltool.socialskills package | 16:02 |
replaceafill | that they're using | 16:02 |
th1a | Yeah. | 16:02 |
th1a | We shouldn't need to do any rearranging. | 16:02 |
replaceafill | we should move their custom logic there | 16:03 |
replaceafill | ok, i'll stop this evolve before my laptop freezes again! | 16:03 |
th1a | Oh, is there other custom logic in their core? | 16:07 |
th1a | Yes, move that. | 16:07 |
replaceafill | no, i meant, their custom menus, views and reports | 16:08 |
replaceafill | they don't have any custom *data* logic afaict | 16:08 |
replaceafill | ah btw | 16:08 |
replaceafill | they do have a custom IEP demographis | 16:08 |
replaceafill | demographics* | 16:08 |
replaceafill | maybe they could be interested in the whole IEP feature | 16:09 |
replaceafill | not sure if it means the same for them though | 16:09 |
th1a | Ah, well, actually I'm having a skype chat with someone from VA DOE about special ed in general. | 16:09 |
th1a | The state-wide thing. | 16:10 |
replaceafill | :O | 16:10 |
th1a | It is hard to tell if IEP is relevant, since this is essentially evaluating them in the context of their special needs, whereas IEP generally is just about defining the needs vis a vis regular ed. | 16:10 |
th1a | Anyhow, we can see. | 16:11 |
replaceafill | sure | 16:11 |
replaceafill | btw, just removing app['persons'].values() improves running evolve40 by a lot! | 16:11 |
th1a | How often does that run? | 16:12 |
replaceafill | once | 16:13 |
replaceafill | but they have like 8736 people in the db | 16:13 |
th1a | That doesn't seem like it should be too taxing... | 16:15 |
th1a | What does it do, have to get the whole context of each person? | 16:16 |
replaceafill | gets each person and queries groups that the person is member of | 16:18 |
th1a | Instead of just doing one at a time as needed? | 16:19 |
replaceafill | correct | 16:20 |
replaceafill | while trying t reproduce this bug: https://bugs.launchpad.net/bugs/1234690 | 16:55 |
replaceafill | i just found that you can't delete courses with non-ascii __name__s | 16:56 |
*** replaceafill has quit IRC | 17:57 | |
*** ignas has quit IRC | 18:51 | |
*** ignas has joined #schooltool | 19:57 | |
*** menesis has quit IRC | 19:57 | |
*** ignas has quit IRC | 20:01 | |
*** menesis has joined #schooltool | 21:09 | |
*** replaceafill has joined #schooltool | 21:19 | |
*** khildin has quit IRC | 21:21 | |
*** ignas has joined #schooltool | 22:19 | |
*** replaceafill has left #schooltool | 22:35 | |
*** replaceafill has joined #schooltool | 22:47 | |
*** menesis has quit IRC | 22:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!