IRC log of #schooltool for Sunday, 2008-11-09

*** replaceafill has joined #schooltool00:06
replaceafillfsufitch, hi00:06
fsufitchreplaceafill, hello00:06
fsufitchhows it going?00:07
replaceafillhave you worked on cando recently?00:07
fsufitchreplaceafill, no, but i've been working on tjTalk00:09
fsufitchmaybe you could help with the problem i'm having00:10
replaceafill:O00:10
fsufitchi can't get any user except admins to be allowed to view any page in tjtalk00:10
fsufitchignas pointed me in the direction of crowds00:10
replaceafillfsufitch, sorry i still don't know much about schooltool security00:11
fsufitchdarn00:12
fsufitchcause this sucks >_>00:12
*** replaceafill has quit IRC01:23
*** fsufitch has quit IRC02:23
*** tdoggette has joined #schooltool06:05
*** aelkner__ has joined #schooltool20:39
*** aelkner_ has quit IRC20:56
*** aelkner__ has quit IRC21:41
*** aelkner has joined #schooltool22:07
*** fsufitch has joined #schooltool22:24
fsufitchaelkner, ping22:25
*** replaceafill has joined #schooltool22:27
fsufitchreplaceafill, hi22:28
replaceafillfsufitch, hi man22:28
replaceafillfsufitch, could you fix your problem?22:28
fsufitchreplaceafill, no, but i'm talking to pcardune about it right now22:28
replaceafillfsufitch, :O22:28
aelknerhey guys22:39
aelknerfsufitch: you rang?22:39
fsufitchaelkner, yeah, but im talking to pcardune atm about my prob22:39
fsufitchso for now, i'm okay :)22:39
aelknercool22:40
fsufitchaelkner, wat's up in life?22:40
fsufitchlong time no talk ;)22:40
aelknernot much, how's tjtalk coming?22:40
fsufitchaelkner, that's what the question was about22:41
fsufitchi got the basic features working22:41
fsufitchno scoring yet, but otherwise it's all good22:41
replaceafillaelkner, hello!22:41
fsufitchand right now i was having trouble with permissions22:41
aelkneryou should be able to debug crowds using pdb22:41
replaceafillaelkner, got my mail?22:42
aelkneryes, i'm running the tests now22:42
fsufitchaelkner, that's what i'm doing right now ;)22:42
replaceafillaelkner, i guess a change in schooltool broke the tests22:43
replaceafillaelkner, because i was working in the old schooltool code i got in the sprint22:43
replaceafillaelkner, and everything was working22:43
aelknerwhich schooltool branch are you using?22:43
replaceafillaelkner, im using eggs22:43
replaceafillaelkner, i guess thats the problem22:44
replaceafillaelkner, schooltool-2008.10.0dev_r2444-py2.4.egg22:44
replaceafillaelkner, schooltool.gradebook-0.4.0dev_r41-py2.4.egg22:45
replaceafillaelkner, could it be the introduction of school years?22:45
aelkneryou should try to use a checkout of schooltool for now22:49
aelkneri have one that i'm using that has no years logic in it22:49
replaceafillaelkner, :( yeah i thought that could do it22:49
replaceafillaelkner, i was looking where school years came into play22:50
aelkneri can't worry about that for now, i have two live schools that i have to keep running22:50
aelknerand neither of them is ready for years22:50
replaceafilli see22:50
aelkneri'm using the schooltool trunk in my buildout22:51
aelknerwhy don't you try doing for now22:51
aelkneralso the gradebook should be a checkout22:51
replaceafillso, checkout cando, check out schooltool, checkout schooltool.gradebook22:51
replaceafilledit cando buildout.cfg, right?22:52
replaceafilland add those to the develop part22:52
aelkneryeah, i'm using  http://schooltool.org/aelkner/schooltool.gradebook/schooltool.gradebook_aelkner/22:52
aelknerso you should use that, too, so that i can make sense of any diff you send me22:52
aelknerreplaceafill: you know that you need to develop the utitily in schooltool before doing anything in cando, right?22:54
replaceafillyou mean the in the schooltool.gradebook?22:54
aelkneryes, that's right22:55
replaceafillIActivity is the key :)22:55
replaceafillright_22:55
aelkneryou wrote down the interface that we wrote on the board at the sprint, right?22:55
replaceafillyes, but i forgot the name of the method :(22:56
replaceafilli didnt write it down22:56
replaceafilli had a method in it22:56
replaceafilldo u remember it?22:56
aelknerun fortunately not22:56
replaceafillsuggestion?22:56
replaceafill:)22:56
aelknerwhat do you have?22:56
replaceafilli have an utility to get all activities22:57
replaceafillright?22:57
replaceafillto build the dropdown22:57
replaceafilli defined an interface iexternalactivity22:57
replaceafillwith the iactivity and a points value22:57
replaceafillah alan by the way22:59
aelkneri wish you had written down the four lines of interface code i wrote on the borad...22:59
replaceafillremember the method you work in the sprint?22:59
replaceafilli did!!!23:00
replaceafillbut in the other laptop man23:00
aelknerso where's that lwptop now?23:00
replaceafilli switched laptops before coming back23:00
aelknerwell, that's unfortunate because i didn't write it down, and i don't have all the concepts in my head23:01
aelknerhere' what i can guess at23:02
aelknerIExternalActivitiesUtility(Interface):23:02
aelkner    def getExternalActivities23:02
replaceafillno problem with that23:03
aelknerIExternalActivity(Interface):23:04
aelknerbut i don't know what needs to be done here23:04
replaceafilli think i do23:05
aelkneras the scores are stored with the student annotations23:05
replaceafillabout the schooltool.gradebook.interface module23:07
replaceafilltheres a method with a wrong name23:07
replaceafillthe one you work in the sprint23:07
replaceafilli know it has no importance23:08
replaceafillbut...23:08
replaceafillIReadGradebook.getWorksheetAverage23:08
replaceafillshould be IReadGradebook.getWorksheetTotalAverage23:09
aelknerIReadGradebook.getWorksheetAverage is probably not used23:11
aelknerand yes, it's not important23:11
replaceafillit is for outsiders like me ;)23:11
aelknerwell i got another 30 minutes to think about this, so...23:13
aelkneri think the interfaces shoudl look like this:23:14
replaceafill:D23:14
aelknerIExternalActivitiesUtility(Interface):23:14
aelkner     def getExternalActivities(section):23:14
aelknerIExternalActivity(Interface):23:14
aelkner     def getScore(student):23:15
aelkneryou need to add these interfaces to the schooltool.gradebook package23:16
aelknerand write tests that use that interface23:16
replaceafillok23:16
aelknerthat involves creating a "fake" utitilty23:16
aelknerthat delivers what is expected23:16
aelknerlater, and i emphasize, later23:16
aelknerwhen all is tested and working in schooltool.gradebook23:17
aelkneryou can start thinking about how to provide the utility in cando23:17
replaceafill:O!!!23:17
replaceafillok23:17
aelknerdo me a favor23:18
aelknerplease you the schooltool.gradebook branch i mentioned above23:18
aelknerand send me the diff when you have the tests passing23:18
aelknerso i can look into commiting it23:18
replaceafillsure23:18
replaceafillso, i wont worry about the cando failures until we got this first commit23:20
aelkneri wouldn't say tat23:21
aelkneryou should be able to get cando tests to pass before you start working on the new code23:21
replaceafill:(23:21
aelkneralways start with passing tests...23:22
replaceafillwhy do u call it "fake" utility?23:23
replaceafillwhy the "fake" part?23:23
aelknerwell, when creating tests, you have to create a fake version of what the real world would otherwise provide23:24
aelknerin this case, cando will be providing the utility23:24
replaceafillah ok, a mock23:24
aelkneryes, mock23:24
replaceafillthen we change the mock for the real one23:25
replaceafilland it should work the same23:25
aelknerno, not change23:26
aelknernothing changed after you develop the tests23:26
aelknerwhat happens is that cando later provides the utility, and that one will deliver cando data23:26
replaceafillalan, what schooltool revision r u using?23:39
*** jelkner has joined #schooltool23:43
replaceafillmr elkner23:43
aelknerthe trunk23:43
jelknergentleman23:44
jelknerdid we resolve the issue of which code douglas should be modifying?23:44
replaceafillmy bad23:44
jelknerreplaceafill ?23:45
replaceafilli think im not using the right tools23:45
jelknerwhat do you mean?23:45
replaceafilli checked out cando refactoring 6 branch23:45
replaceafilland tried the tests there23:46
replaceafillbut buildout downloads the latest eggs i guess23:46
replaceafilland i think new schooltool eggs break that cando branch tests23:47
aelknerjelkner: what happened to the laptop replaceafill used at the sprint23:47
aelknerit has info in it that we could use23:47
jelknerwhich one was that?23:47
replaceafilljelkner, is the one for your sister23:47
jelknerwe have probably reinstalled on it23:47
replaceafill:(23:47
replaceafillmy bad again23:47
aelknerreplaceafill: so you need to start over creating a sandbox23:48
aelknerlike you did at the sprint23:48
replaceafilljelkner, remember i switch laptops?23:48
replaceafillaelkner, yes23:48
replaceafillaelkner, no prob with that23:48
jelkneryes, i remember23:48
replaceafilljelkner, my notes from the first meeting were there23:49
replaceafilljelkner, and i didnt create a file in this one23:49
replaceafilljelkner, by the way im using your laptop in santa ana23:50
replaceafill:)23:50
jelknermy laptop?23:50
replaceafillthe one you lent me ;)23:50
jelkneri don't understand23:50
jelkneryou mean your laptop?23:51
jelkneranyway, what can we do to get you back on track?23:51
jelknerreplaceafill: do you have what you need to get started?23:52
replaceafillalan already instructed me to start defining the interfaces and tests needed in schooltool.gradebook23:52

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!