IRC log of #schooltool for Wednesday, 2012-01-25

*** th1a has quit IRC00:09
*** replaceafill has quit IRC00:42
*** menesis has quit IRC01:06
*** th1a has joined #schooltool01:52
*** alga has quit IRC02:40
*** th1a has quit IRC06:25
*** ignas has joined #schooltool07:07
*** replaceafill has joined #schooltool07:29
*** yvl has joined #schooltool09:46
*** replaceafill has quit IRC09:48
*** menesis has joined #schooltool11:32
*** ignas has quit IRC11:37
*** ignas has joined #schooltool11:39
*** ignas has quit IRC12:01
*** alga has joined #schooltool12:25
*** ignas has joined #schooltool12:52
*** alga has quit IRC14:57
*** alga has joined #schooltool14:57
*** th1a has joined #schooltool16:01
*** ignas has quit IRC16:05
*** replaceafill has joined #schooltool16:20
th1ahi aelkner, yvl, menesis, replaceafill.16:30
replaceafillgood morning/afternoon16:30
aelknermorning16:30
yvlhi guys16:30
aelknerth1a, can i go first so that i can get back to bed?  not feeling too well16:31
th1aOK, go ahead aelkner.16:31
* th1a has a bug too...16:31
aelkneri looked at a number of the images you sent me, i.e., the google search for transcripts16:32
aelknerthey all seem to have the same idea, basically,with course credits mattering in the calculation16:32
aelknerwhat is it, grade * credits = grade points?16:33
aelkneri think so16:33
th1auh...16:33
th1aNo.16:33
aelkneranyway, would credits be a mandatory field in course for us to make this calculation?16:34
aelkneroh, no?16:34
th1aIn calculating grade point average?16:34
th1aActually, I guess that's it.16:34
aelknerthis one has a good simple example:16:35
aelknerhttp://www.washingtonmonthly.com/college_guide/College_Guide/images/Transcript.jpg16:35
th1aWell,16:35
th1agrade points divided by credits.16:35
th1a?16:36
th1aOh, I see.16:36
aelknerok, that was a college transcript, granted16:36
th1aNo...16:37
th1aI just never really considered it so I'm confused.16:37
th1aI'm not used to thinking of grade points per course.16:37
th1aSo technically in each course it is grade * credits16:37
th1aand then you divide by credits when calculating the grade point average.16:38
aelkneri think so16:38
th1aWe might need a with and without gpa version.16:38
th1aBecause you really don't need to see that in an elementary school transcript.16:39
aelknerright16:39
th1aAnd we can't start making credits required.16:39
aelkneralso, in the version for college, there is the issue of converting A, A- and A+ all to 416:39
th1aWell, we let you assign them values in the score system.16:40
th1aSO that's already defined.16:40
aelkneris it possible to have A- be 3.5, A, 3.7 and A+ 4.0 in the scoresyzstem16:40
aelknerbut have all of them map to 4 for the transcript?16:41
aelkneri don't know16:41
aelknerperhaps it's a stupid question16:41
th1aNo, if that's not what you want you should just make a new score system.16:41
th1aThat's the whole point of having those values...16:42
aelknerok, makes sense16:42
*** ignas has joined #schooltool16:43
aelknerso i also got started creating the transcript pdf view16:43
aelknerjust to get to the issues that may pop up just getting the report to come up16:44
aelkneryvl, are you around all week?16:44
yvlyes, aelkner16:44
yvlat least this week ;)16:44
aelknerok, because i may need your help with the reportLink directive and geting the modal to then call up the report16:45
aelknerbut i haven't tried enough myself yet to ask for any help16:46
aelkneranyway, that's my report16:46
aelknerany questions before i slip off to bed?16:46
th1aI guess not.16:47
th1aOh.16:47
th1aYOu're driving to Arlington, right?16:47
aelkneryes16:47
th1aSo we do actually have wheels and there will only be four of us.16:47
aelknerindeed, we'll have my wheels16:48
th1aOK, cool.  Thanks aelkner.  Get some rest.16:49
aelknerthanks16:49
aelknercya guys16:49
th1aThanks aelkner.16:50
th1ayvl?16:50
yvlok...16:50
yvlI'm working on group edit membership view16:50
yvlreplaced add/remove buttons with spinners once you clicked them16:51
yvland a spinner on table indicating that some action is taking place16:52
yvlso you can click add on several members then for example click next page16:52
yvlthere are still quirks but I think I'll iron most of them out tomorrow16:52
th1aGet a demo up when you can.16:53
yvlok16:53
yvlthu or fri16:53
yvlthen I'll move to replacing other tables with this16:54
yvlI'll keep you posted16:54
* yvl done16:54
th1aOK.  Sounds good.  Looking forward to seeing it.16:54
* yvl hopes you'll like it16:55
th1ayvl:  Do you think you can have that done by the sprint?16:55
yvlfor some views - yes16:55
yvlI don't know if I'll be able to move all of the views16:55
yvland there probably will be some quirks left16:55
yvlnamely - bad behaviour when session expires16:56
yvl(that happens in other modal dialogs currently anyhow)16:56
yvland I am able to get ZODB read/write conflict warnings16:56
yvlif I click like mad on add/remove16:57
yvlthey are resolved eventually in the background - hence warnings, not errors16:57
th1aYeah, it is definitely something that has to be manually hammered on for testing purposes.16:57
yvland I've seen a very, very weird error -16:57
yvlfailed to adapt ISchoolToolApplication(None)16:58
yvlthat should never ever happen16:58
yvlwill see if it reproduces itself16:58
yvloverall it does look somewhat better when searching/filtering16:59
yvland better when adding/removing members16:59
yvlbut (+) and (-) buttons on the same page are far from ideal16:59
yvlanyway16:59
th1aThe main thing is speed in adding removing.16:59
yvla step forward16:59
yvlright16:59
* yvl played with students and had to re-add 40-50 of them back to the students group17:00
yvlstill a bit annoying because of the small buttons17:00
yvlbut waaaaay better than was before17:00
* yvl done now :)17:01
th1aUltimately the question is whether it is more annoying than clicking checkboxes.17:01
th1aOr whether "invert selection" was really more important than we realized.17:01
yvlwell17:02
yvlfrankly, I'd rather click checkboxes for group actions17:02
yvland have the rows hilited with javascript17:02
yvlbut we can chat about this at the sprint17:03
th1aOK.  Well, I guess I may have marched us in the wrong direction on that one.17:04
th1aThanks yvl.17:04
th1areplaceafill?17:04
replaceafillok17:04
replaceafilli worked on some bugs:17:05
replaceafilladded reports to the gradebook view17:05
replaceafillexport.xls and gradebook.pdf17:05
replaceafillregistered them using reportLink directives, so they are listed in the overview page for reports17:05
replaceafillalso, found this: https://bugs.launchpad.net/schooltool/+bug/92082817:06
replaceafilland since i was already fixing this one https://bugs.launchpad.net/schooltool/+bug/78388717:07
replaceafilli decided to fix both at the same time17:07
replaceafilli need your help with the error messages though17:07
replaceafillhttp://69.164.203.135:6660/demographics17:07
replaceafillplease, 1. add a new field with an existing ID17:07
replaceafillexisting IDs: ID, ethnicity, language, placeofbirth, citizenship17:08
replaceafillyou should get a XXX error message17:08
th1aThis ID is not unique.17:09
th1a?17:09
replaceafillah, ok17:09
replaceafilland 2. add a new field with an invalid ID17:09
replaceafilllike with two words17:09
replaceafillor symbols like @, +, etc17:09
replaceafillyou should get a XXX message too17:10
th1aDo we have a description of the constraints anywhere?17:10
th1aWhat are you allowed to use?17:11
replaceafillth1a, well, the validation of the pythonidentifier (which we use for IDs) uses a regexp17:11
replaceafilllet me get it17:11
replaceafillPYIDENTIFIER_REGEX = u'\\A[a-zA-Z_]+[a-zA-Z0-9_]*\\Z'17:12
* replaceafill needs yvl help to translate that into an error message :)17:12
yvlUSE ONLY ALPHANUMERIC VALUES PLZ17:13
yvl:)17:13
replaceafill!!!17:13
replaceafillsimple :D17:13
yvl( a-z, 0-9 and _ )17:13
th1alower case only?17:14
replaceafillth1a, that's the only constraint when validating IDs in demo fields17:14
replaceafillboth17:14
replaceafillupper and lower17:14
th1aok.17:14
th1aAllowed characters: a-z, A-Z, 0-9, _.17:15
yvland it must start with a letter17:15
replaceafillcan we insert ASCII somewhere?17:15
replaceafillbecause for some people a-z can mean "ñ" is allowed17:15
th1aoh... is there some reason we only allow ASCII?17:16
yvlhmm, can't tell off-hand17:16
replaceafilli can only think about the ID being translated to the field's __name__17:17
replaceafillbut __name__ can be unicode of course17:18
replaceafillso that's not it :)17:18
yvlDouglas, could you take a look at the code -- if you have time for that of course17:18
th1aMaybe it is harder to write the regex.  ;-)17:18
replaceafillyvl, what part?17:19
yvlwhere the thing regex is trying to protect is used17:20
replaceafillah sure, it's a very simple class which inherits from TExtLIne17:20
yvlmaybe we can get away with using plain unicode with a relatively small changes17:21
replaceafillhttp://svn.zope.org/*checkout*/zope.configuration/trunk/src/zope/configuration/fields.py?content-type=text%2Fplain&rev=11296417:21
th1aIf aelkner wrote that it might just because his mental OS version still uses ASCII exclusively.17:21
replaceafillyvl, are you referring to the PythonIdentifier class?17:21
replaceafillits _validate method17:21
yvlumm, I was referring to name = PythonIdentifier17:22
yvland where the name is used for field descriptions17:22
replaceafillah, the IFieldDescription interface17:22
yvlto build the schema17:22
yvlright17:22
yvlthat's why :)17:22
replaceafillshould i try changing it to a regular TextLine?17:23
replaceafilland just validate the "one word" part?17:24
* replaceafill is +1 on unicode IDs btw17:25
th1aOK, so take a look at that replaceafill.17:28
th1aAnything else?17:28
replaceafillno, that's it from me17:28
replaceafillah, th1a also fixed the bug you assigned me last night17:29
th1aOK.  menesis, anything to report?17:29
replaceafillthe one for the sections accordion17:29
th1athanks replaceafill.17:29
* replaceafill done17:29
* th1a assumes menesis has nothing toreport...17:31
th1aOK.  Thanks guys.  Have a great rest of the week and weekend!17:32
* th1a drops the bag of gravel.17:32
replaceafillthanks everybody17:33
*** alga has quit IRC17:34
*** menesis has quit IRC17:34
*** yvl has quit IRC17:34
*** ignas has quit IRC17:34
*** alga has joined #schooltool17:39
* replaceafill goes to run some errands17:49
*** menesis has joined #schooltool17:53
*** replaceafill has quit IRC20:26
*** replaceafill has joined #schooltool20:27
th1areplaceafill: I didn't think that bug applied to the gradebook too.21:28
replaceafillth1a, it does21:28
replaceafillit's here too: https://bugs.launchpad.net/schooltool/+bug/90780021:28
replaceafilli'm working on it btw :)21:28
replaceafill- Gradebook input widths (make the gradebook look like a spreadsheet)21:29
th1aAh.  :-)21:29

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