*** replaceafill has joined #schooltool | 00:06 | |
replaceafill | fsufitch, hi | 00:06 |
---|---|---|
fsufitch | replaceafill, hello | 00:06 |
fsufitch | hows it going? | 00:07 |
replaceafill | have you worked on cando recently? | 00:07 |
fsufitch | replaceafill, no, but i've been working on tjTalk | 00:09 |
fsufitch | maybe you could help with the problem i'm having | 00:10 |
replaceafill | :O | 00:10 |
fsufitch | i can't get any user except admins to be allowed to view any page in tjtalk | 00:10 |
fsufitch | ignas pointed me in the direction of crowds | 00:10 |
replaceafill | fsufitch, sorry i still don't know much about schooltool security | 00:11 |
fsufitch | darn | 00:12 |
fsufitch | cause this sucks >_> | 00:12 |
*** replaceafill has quit IRC | 01:23 | |
*** fsufitch has quit IRC | 02:23 | |
*** tdoggette has joined #schooltool | 06:05 | |
*** aelkner__ has joined #schooltool | 20:39 | |
*** aelkner_ has quit IRC | 20:56 | |
*** aelkner__ has quit IRC | 21:41 | |
*** aelkner has joined #schooltool | 22:07 | |
*** fsufitch has joined #schooltool | 22:24 | |
fsufitch | aelkner, ping | 22:25 |
*** replaceafill has joined #schooltool | 22:27 | |
fsufitch | replaceafill, hi | 22:28 |
replaceafill | fsufitch, hi man | 22:28 |
replaceafill | fsufitch, could you fix your problem? | 22:28 |
fsufitch | replaceafill, no, but i'm talking to pcardune about it right now | 22:28 |
replaceafill | fsufitch, :O | 22:28 |
aelkner | hey guys | 22:39 |
aelkner | fsufitch: you rang? | 22:39 |
fsufitch | aelkner, yeah, but im talking to pcardune atm about my prob | 22:39 |
fsufitch | so for now, i'm okay :) | 22:39 |
aelkner | cool | 22:40 |
fsufitch | aelkner, wat's up in life? | 22:40 |
fsufitch | long time no talk ;) | 22:40 |
aelkner | not much, how's tjtalk coming? | 22:40 |
fsufitch | aelkner, that's what the question was about | 22:41 |
fsufitch | i got the basic features working | 22:41 |
fsufitch | no scoring yet, but otherwise it's all good | 22:41 |
replaceafill | aelkner, hello! | 22:41 |
fsufitch | and right now i was having trouble with permissions | 22:41 |
aelkner | you should be able to debug crowds using pdb | 22:41 |
replaceafill | aelkner, got my mail? | 22:42 |
aelkner | yes, i'm running the tests now | 22:42 |
fsufitch | aelkner, that's what i'm doing right now ;) | 22:42 |
replaceafill | aelkner, i guess a change in schooltool broke the tests | 22:43 |
replaceafill | aelkner, because i was working in the old schooltool code i got in the sprint | 22:43 |
replaceafill | aelkner, and everything was working | 22:43 |
aelkner | which schooltool branch are you using? | 22:43 |
replaceafill | aelkner, im using eggs | 22:43 |
replaceafill | aelkner, i guess thats the problem | 22:44 |
replaceafill | aelkner, schooltool-2008.10.0dev_r2444-py2.4.egg | 22:44 |
replaceafill | aelkner, schooltool.gradebook-0.4.0dev_r41-py2.4.egg | 22:45 |
replaceafill | aelkner, could it be the introduction of school years? | 22:45 |
aelkner | you should try to use a checkout of schooltool for now | 22:49 |
aelkner | i have one that i'm using that has no years logic in it | 22:49 |
replaceafill | aelkner, :( yeah i thought that could do it | 22:49 |
replaceafill | aelkner, i was looking where school years came into play | 22:50 |
aelkner | i can't worry about that for now, i have two live schools that i have to keep running | 22:50 |
aelkner | and neither of them is ready for years | 22:50 |
replaceafill | i see | 22:50 |
aelkner | i'm using the schooltool trunk in my buildout | 22:51 |
aelkner | why don't you try doing for now | 22:51 |
aelkner | also the gradebook should be a checkout | 22:51 |
replaceafill | so, checkout cando, check out schooltool, checkout schooltool.gradebook | 22:51 |
replaceafill | edit cando buildout.cfg, right? | 22:52 |
replaceafill | and add those to the develop part | 22:52 |
aelkner | yeah, i'm using http://schooltool.org/aelkner/schooltool.gradebook/schooltool.gradebook_aelkner/ | 22:52 |
aelkner | so you should use that, too, so that i can make sense of any diff you send me | 22:52 |
aelkner | replaceafill: you know that you need to develop the utitily in schooltool before doing anything in cando, right? | 22:54 |
replaceafill | you mean the in the schooltool.gradebook? | 22:54 |
aelkner | yes, that's right | 22:55 |
replaceafill | IActivity is the key :) | 22:55 |
replaceafill | right_ | 22:55 |
aelkner | you wrote down the interface that we wrote on the board at the sprint, right? | 22:55 |
replaceafill | yes, but i forgot the name of the method :( | 22:56 |
replaceafill | i didnt write it down | 22:56 |
replaceafill | i had a method in it | 22:56 |
replaceafill | do u remember it? | 22:56 |
aelkner | un fortunately not | 22:56 |
replaceafill | suggestion? | 22:56 |
replaceafill | :) | 22:56 |
aelkner | what do you have? | 22:56 |
replaceafill | i have an utility to get all activities | 22:57 |
replaceafill | right? | 22:57 |
replaceafill | to build the dropdown | 22:57 |
replaceafill | i defined an interface iexternalactivity | 22:57 |
replaceafill | with the iactivity and a points value | 22:57 |
replaceafill | ah alan by the way | 22:59 |
aelkner | i wish you had written down the four lines of interface code i wrote on the borad... | 22:59 |
replaceafill | remember the method you work in the sprint? | 22:59 |
replaceafill | i did!!! | 23:00 |
replaceafill | but in the other laptop man | 23:00 |
aelkner | so where's that lwptop now? | 23:00 |
replaceafill | i switched laptops before coming back | 23:00 |
aelkner | well, that's unfortunate because i didn't write it down, and i don't have all the concepts in my head | 23:01 |
aelkner | here' what i can guess at | 23:02 |
aelkner | IExternalActivitiesUtility(Interface): | 23:02 |
aelkner | def getExternalActivities | 23:02 |
replaceafill | no problem with that | 23:03 |
aelkner | IExternalActivity(Interface): | 23:04 |
aelkner | but i don't know what needs to be done here | 23:04 |
replaceafill | i think i do | 23:05 |
aelkner | as the scores are stored with the student annotations | 23:05 |
replaceafill | about the schooltool.gradebook.interface module | 23:07 |
replaceafill | theres a method with a wrong name | 23:07 |
replaceafill | the one you work in the sprint | 23:07 |
replaceafill | i know it has no importance | 23:08 |
replaceafill | but... | 23:08 |
replaceafill | IReadGradebook.getWorksheetAverage | 23:08 |
replaceafill | should be IReadGradebook.getWorksheetTotalAverage | 23:09 |
aelkner | IReadGradebook.getWorksheetAverage is probably not used | 23:11 |
aelkner | and yes, it's not important | 23:11 |
replaceafill | it is for outsiders like me ;) | 23:11 |
aelkner | well i got another 30 minutes to think about this, so... | 23:13 |
aelkner | i think the interfaces shoudl look like this: | 23:14 |
replaceafill | :D | 23:14 |
aelkner | IExternalActivitiesUtility(Interface): | 23:14 |
aelkner | def getExternalActivities(section): | 23:14 |
aelkner | IExternalActivity(Interface): | 23:14 |
aelkner | def getScore(student): | 23:15 |
aelkner | you need to add these interfaces to the schooltool.gradebook package | 23:16 |
aelkner | and write tests that use that interface | 23:16 |
replaceafill | ok | 23:16 |
aelkner | that involves creating a "fake" utitilty | 23:16 |
aelkner | that delivers what is expected | 23:16 |
aelkner | later, and i emphasize, later | 23:16 |
aelkner | when all is tested and working in schooltool.gradebook | 23:17 |
aelkner | you can start thinking about how to provide the utility in cando | 23:17 |
replaceafill | :O!!! | 23:17 |
replaceafill | ok | 23:17 |
aelkner | do me a favor | 23:18 |
aelkner | please you the schooltool.gradebook branch i mentioned above | 23:18 |
aelkner | and send me the diff when you have the tests passing | 23:18 |
aelkner | so i can look into commiting it | 23:18 |
replaceafill | sure | 23:18 |
replaceafill | so, i wont worry about the cando failures until we got this first commit | 23:20 |
aelkner | i wouldn't say tat | 23:21 |
aelkner | you should be able to get cando tests to pass before you start working on the new code | 23:21 |
replaceafill | :( | 23:21 |
aelkner | always start with passing tests... | 23:22 |
replaceafill | why do u call it "fake" utility? | 23:23 |
replaceafill | why the "fake" part? | 23:23 |
aelkner | well, when creating tests, you have to create a fake version of what the real world would otherwise provide | 23:24 |
aelkner | in this case, cando will be providing the utility | 23:24 |
replaceafill | ah ok, a mock | 23:24 |
aelkner | yes, mock | 23:24 |
replaceafill | then we change the mock for the real one | 23:25 |
replaceafill | and it should work the same | 23:25 |
aelkner | no, not change | 23:26 |
aelkner | nothing changed after you develop the tests | 23:26 |
aelkner | what happens is that cando later provides the utility, and that one will deliver cando data | 23:26 |
replaceafill | alan, what schooltool revision r u using? | 23:39 |
*** jelkner has joined #schooltool | 23:43 | |
replaceafill | mr elkner | 23:43 |
aelkner | the trunk | 23:43 |
jelkner | gentleman | 23:44 |
jelkner | did we resolve the issue of which code douglas should be modifying? | 23:44 |
replaceafill | my bad | 23:44 |
jelkner | replaceafill ? | 23:45 |
replaceafill | i think im not using the right tools | 23:45 |
jelkner | what do you mean? | 23:45 |
replaceafill | i checked out cando refactoring 6 branch | 23:45 |
replaceafill | and tried the tests there | 23:46 |
replaceafill | but buildout downloads the latest eggs i guess | 23:46 |
replaceafill | and i think new schooltool eggs break that cando branch tests | 23:47 |
aelkner | jelkner: what happened to the laptop replaceafill used at the sprint | 23:47 |
aelkner | it has info in it that we could use | 23:47 |
jelkner | which one was that? | 23:47 |
replaceafill | jelkner, is the one for your sister | 23:47 |
jelkner | we have probably reinstalled on it | 23:47 |
replaceafill | :( | 23:47 |
replaceafill | my bad again | 23:47 |
aelkner | replaceafill: so you need to start over creating a sandbox | 23:48 |
aelkner | like you did at the sprint | 23:48 |
replaceafill | jelkner, remember i switch laptops? | 23:48 |
replaceafill | aelkner, yes | 23:48 |
replaceafill | aelkner, no prob with that | 23:48 |
jelkner | yes, i remember | 23:48 |
replaceafill | jelkner, my notes from the first meeting were there | 23:49 |
replaceafill | jelkner, and i didnt create a file in this one | 23:49 |
replaceafill | jelkner, by the way im using your laptop in santa ana | 23:50 |
replaceafill | :) | 23:50 |
jelkner | my laptop? | 23:50 |
replaceafill | the one you lent me ;) | 23:50 |
jelkner | i don't understand | 23:50 |
jelkner | you mean your laptop? | 23:51 |
jelkner | anyway, what can we do to get you back on track? | 23:51 |
jelkner | replaceafill: do you have what you need to get started? | 23:52 |
replaceafill | alan already instructed me to start defining the interfaces and tests needed in schooltool.gradebook | 23:52 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!