IRC log of #schooltool for Thursday, 2005-12-01

*** jinty has joined #schooltool00:37
*** didymo has joined #schooltool01:37
*** pcardune has quit IRC02:15
*** pcardune has joined #schooltool02:19
pcardunesrichter: when the traverser returns a GroupRequirement object, wrapped in a LocationProxy, zope doesn't know that the wrapped object provides IGroupRequirement so we can specify browser pages for it.03:07
*** pcardune has quit IRC03:42
*** th1a has quit IRC05:13
*** ignas has joined #schooltool05:46
*** jinty has left #schooltool06:52
*** didymo has quit IRC08:51
*** jinty has joined #schooltool09:53
*** thisfred has joined #schooltool12:11
*** didymo has joined #schooltool12:26
*** jinty has left #schooltool12:42
*** mgedmin has joined #schooltool13:05
*** didymo has quit IRC13:20
*** ignas has quit IRC13:32
*** srichter has quit IRC14:05
povbot/svn/commits: * mg committed revision 5363:14:11
povbot/svn/commits: is not an adapter, it is a piece of content stored in the annotations.  getApplicationPreferences is the adapter.  Let's not confuse readers of the code with a misleading 'adapts' declaration.14:11
*** ignas has joined #schooltool14:30
*** mgedmin has quit IRC14:34
*** mgedmin has joined #schooltool14:36
*** srichter has joined #schooltool15:00
povbot/svn/commits: * mg committed revision 5364:15:24
povbot/svn/commits: The IRestError interface was declared and never used.15:24
mgedminif I write a unit test for a RESTive view, where do I get a TestRequest?15:28
mgedminhmm... it seems that existing tests use zope.publisher.browser.TestRequest15:29
mgedminoh well15:29
povbot/svn/commits: * mg committed revision 5365:15:40
povbot/svn/commits: Added a missing unit test module for
povbot/svn/commits: Added some docstrings.15:40
povbot/svn/commits: * mg committed revision 5366:15:47
povbot/svn/commits: Made DELETE /path/to/system/object return 405 Method Not Allowed with a reasonable error message instead of 500 Internal Server Error.15:47
povbot/svn/commits: * mg committed revision 5367:15:49
povbot/svn/commits: Minor clarification15:49
povbot/svn/commits: * ignas committed revision 5368:15:55
povbot/svn/commits: Removed an unused import.15:55
*** thisfred has quit IRC16:00
povbot/svn/commits: * ignas committed revision 5369:16:00
povbot/svn/commits: Fixed a typo.16:00
*** thisfred has joined #schooltool16:04
povbot/svn/commits: * mg committed revision 5370:16:13
povbot/svn/commits: Fixed a recurring typo (occured -> occurred).16:13
povbot/svn/commits: * ignas committed revision 5371:16:31
povbot/svn/commits: Upping generation by one (don't know why this wasn't done before)16:32
povbot/svn/commits: * ignas committed revision 5372:16:36
povbot/svn/commits: Missing newline.16:36
ignassrichter, could you please add something like (setq require-final-newline t) to your .emacs, you are forgetting to add a newline at the end of file sometimes16:38
*** mgedmin has quit IRC16:42
povbot/svn/commits: * ignas committed revision 5373:16:43
povbot/svn/commits: Eovolution script that creates default groups.16:43
*** mgedmin has joined #schooltool16:44
*** mgedmin_ has joined #schooltool16:47
srichternot having final newlines is nothing bad in my opinion16:48
mgedminwell, it's not portable16:49
mgedminon Unix text files must have a '\n' as the last character, if they are not empty16:50
srichterhuh, I have never heard about that rule16:51
mgedminin DOS, '\r\n' is the line _separator_16:51
mgedminin Unix, '\n' is the line _terminator_16:51
mgedminmany utilities like the C compiler or diff complain if they do not see a trailing \n16:51
*** mgedmin_ has quit IRC17:02
*** mgedmin has quit IRC17:41
*** erchache has joined #schooltool17:53
erchachewhy i cant join a resource into section?17:54
erchachei have a signature, with teachers, students, term and timetable...but.....and a resource? i need a classroom for it...17:55
erchacheand jinty and tom?17:55
*** thisfred has quit IRC18:12
*** th1a has joined #schooltool18:19
*** erchache has quit IRC18:41
*** mgedmin has joined #schooltool19:12
povbot/svn/commits: * mg committed revision 5374:19:20
povbot/svn/commits: Devmode usability: - Make the header clickable - Make the devtools menu always on top19:20
povbot/svn/commits: * mg committed revision 5375:19:26
povbot/svn/commits: Nitpicking: format CSS files consistently.19:26
mgedminth1a, are you there?19:45
mgedminI would like to discuss some attendance-related terms19:45
th1aI'm here.19:46
mgedminwhen a student is absent during class, we have a "class absence" -- right?19:48
mgedmin(as opposed to "day absence")19:48
mgedminis "class absence" the usual term?19:48
mgedmin(as opposed to "period absence" or "section absence")19:49
th1aGood point.19:49
th1aMy wireless keyboard just went dead.19:49
mgedminok, next question: what is the opposite of an absence19:49
mgedminis it "attendance" or "presence"?19:50
mgedminand should SchoolTool record the fact that a student was present during section X19:50
mgedminin other words, should SchoolTool keep track of absences and tardies only, or absences, tardies and presences?19:50
* mgedmin over for now19:51
th1aOK, replaced my batteries.19:54
th1aI was mulling over whether "period absence" or "section absence" is better.19:54
th1aThey're slightly different conceptually.19:54
th1aBut what we're really tracking is a section absence in this case.19:55
th1aPresence is the opposite of absence.19:55
th1aWe definitely need to note presence.19:56
th1aImagine you're creating a system whose records will be subpoenaed into a court proceeding to be used to establish someone's guilt or innocence.19:57
th1aBecause you are doing that.19:57
th1a"I couldn't have shot that guy, because I was in class."19:57
th1aSo I think we should definitely log every presence.19:58
mgedminwhat if a student leaves in the middle of a class?19:58
th1aGood point.19:58
mgedminthe workflow lets you convert an absence to a tardy, but I didn't notice a transition from a presence to an absence19:58
th1aA presence doesn't become an absence as such.19:59
th1aLeaving early with permission isn't a big deal, but technically should be noted.19:59
th1aLeaving early without permission is a big deal which we should probably deal with at a later point.20:00
th1aEither way, those are stories for the future, I think.20:00
* mgedmin likes "at a later point"20:00
povbot/svn/commits: * mg committed revision 5376:20:00
povbot/svn/commits: Added a schooltool.attendance package, with a README.txt that defines terms and lists use cases.20:00
th1aLeaving early without permission is probably a whole separate workflow.20:01
mgedminth1a, can you take a glance at
th1aSomeday you'd want that system to, for example, automatically IM the main office.20:01
mgedminand shout if you notice something obviously wrong in there20:01
th1aOK.  Looking at it now.20:02
th1aI'd say "A section absence is when a student fails to show up for the scheduled meeting of a section."20:03
*** vidasp has joined #schooltool20:04
th1aSomeday we'll probably differentiate whether or not they were someplace else, with permission, during that period.20:04
th1aIf they were completely gone, it would be a period absence.20:04
th1aIf they were only gone from the section, it would just be a section absence.20:04
th1aI don't know how important the distinction ultimately is.20:04
th1aWe shall see...20:05
th1aOK.  That looks good.20:07
th1aAnything else before I go get lunch?20:07
mgedminthe attendance workflow XML would be a nice thing to have20:07
mgedminbut you need not starve because of that20:08
*** srichter has quit IRC20:12
mgedminI wonder if I have an account on or not...20:20
th1aI think you might not.20:21
th1aThey weren't migrated from the old site.20:21
*** mgedmin has quit IRC20:21
*** mgedmin has joined #schooltool20:22
mgedminthis is the THIRD time today when I press Ctrl+Alt+Backspace by accident, and thus kill my X session20:22
*** th1a is now known as th1a|unch20:23
mgedminmgedmin: "The login name you selected is already in use or is not valid. Please choose another."20:24
mgedminin that case, what's my password?20:24
mgedminok, got it20:31
mgedminI advanced the status of the "Default groups" story to "Ready for merge"20:31
mgedminas it is done20:31
mgedminand waiting for acceptance20:32
mgedminis it possible to rename "Completed and merged" to "Merged and waiting for acceptance", and add a "Completed and accepted" state?20:33
mgedminis it worth it?20:33
mgedmin #3: SchoolTool Refactor20:33
mgedmin #5: Merging srichter Refactorings20:33
mgedminare still "in progress"20:34
mgedminis there a reason (other than "nobody got around to updating the state")?20:34
*** th1a|unch is now known as th1a21:09
th1amgedmin:  I suppose those can be marked as completed and merged.21:10
povbot/svn/commits: * jinty committed revision 5377:21:24
povbot/svn/commits: typos21:24
povbot/svn/commits: * jinty committed revision 5378:21:26
povbot/svn/commits: Make the devmode.txt functional test slightly weaker so that it passes when building/testing the nightly tarball. Unfortunately this is going to be an iterative process.21:26
*** jinty has joined #schooltool21:29
*** pcardune has joined #schooltool21:31
povbot/svn/commits: * jinty committed revision 5379:21:46
povbot/svn/commits: More changes to devmode.txt.21:46
*** vidasp has left #schooltool21:52
povbot/svn/commits: * jinty committed revision 5380:21:52
povbot/svn/commits: Taking care of comments from mg.21:52
povbot/svn/commits: * mg committed revision 5381:22:15
povbot/svn/commits: Committing some very raw attendance science fiction code.22:15
povbot/svn/commits: Mainly I want to figure out how to implement the use cases by using a science-fictional attendance API before I start thinking about the implementation details of said API.22:15
mgedminth1a, I've some questions about the attendance sparkline22:15
mgedminyou will find a table at the bottom of
mgedminI listed all the possible cases of attendance/nonattendance22:16
mgedminand some of them turned out to be underspecified22:16
povbot/svn/commits: * mg committed revision 5382:22:18
povbot/svn/commits: Mistake in translation.22:18
th1aSo you want to know what to do if the status is unknown or unavailable?22:18
th1aI would think no line or a dot.22:19
mgedminI assume the case "there is no homeroom period defined in the timetable for that particular day" is the same as "there is one, but we have no recorded absences/presences"22:19
mgedminanother question22:21
mgedmin"last 10 days" -- is that calendar days or school days?22:21
th1aSchool days.22:21
th1aLet's go over the cases where you don't have homeroom/day absences for a second.22:22
mgedminuh, ok22:22
th1aSo those days, in Lithuania, for example, would always be dots.22:22
th1aBecause you have no "absent for the day" concept anyhow.22:22
th1aI mean,22:22
th1aThe days the section doesn't meet would be dots.22:23
th1aAnd the days the section meets will always be full lines.22:23
mgedminnow we have dots?22:25
mgedminfull lines, half lines and dots?22:25
th1aWell, we have to handle these cases.22:25
th1aA dot would in effect be no line.22:26
th1aBecause in a school without homeroom we have no data for that day.22:26
th1aIf the section doesn't meet on a day.22:27
mgedminbut if there is homeroom, and we have no data, then we have a blank space?22:27
th1aSee what I mean?22:27
mgedminso full lines, half lines, dots and spaces22:27
th1aNo, I don't think we should have blank spaces.22:27
mgedminso if we do not have data for a particular day/section, then there should be a dot22:27
th1aI'm saying that when we don't have data, use a dot.22:27
mgedminwhat colour dot?22:28
th1aI would think black.22:28
th1aLooking at this again I see no good reason to have the explained absences on days the class doesn't meet as grey instead of black.22:28
th1aI mean, one could argue that all the colors should be less intense on days the class doesn't meet, but we can cross that bridge later if it seems necessary.22:29
povbot/svn/commits: * mg committed revision 5383:22:33
povbot/svn/commits: Updated the sparkline specification.22:33
*** ignas has quit IRC22:34
th1aYour table would be a bit more definitive if you also noted if the line is positive or negative.22:35
mgedminI overlooked that bit completely22:39
mgedminunless you want to edit the README?22:39
th1aI'll make myself useful.22:41
*** mgedmin has quit IRC22:52
*** pcardune has quit IRC22:58
povbot/svn/commits: * hoffman committed revision 5384:23:03
povbot/svn/commits: Added column for positive or negative sparklines.23:03
*** povbot` has joined #schooltool23:55

Generated by 2.15.1 by Marius Gedminas - find it at!