*** balor has quit IRC | 00:01 | |
*** mgedmin has quit IRC | 00:10 | |
*** jelkner has quit IRC | 00:29 | |
*** replaceafill has quit IRC | 00:29 | |
*** fsufitch has joined #schooltool | 00:53 | |
*** fsufitch has quit IRC | 05:34 | |
*** alga has quit IRC | 06:25 | |
*** yvl has quit IRC | 11:17 | |
*** ignas has joined #schooltool | 11:33 | |
*** fsufitch has joined #schooltool | 13:13 | |
*** fsufitch has quit IRC | 14:02 | |
*** alga has joined #SchoolTool | 15:11 | |
*** mgedmin has joined #schooltool | 16:56 | |
*** jelkner has joined #schooltool | 20:30 | |
*** balor has joined #schooltool | 20:49 | |
balor | redfoot | 20:50 |
---|---|---|
ignas | hi | 20:52 |
balor | sorry...wrong terminal :) | 20:52 |
*** ignas has quit IRC | 20:55 | |
*** replaceafill has joined #schooltool | 21:20 | |
*** jcrowley has joined #schooltool | 21:22 | |
*** elarson_ has joined #schooltool | 21:23 | |
*** cpcarey has joined #schooltool | 21:24 | |
*** elarson_ has quit IRC | 21:25 | |
*** fsufitch has joined #schooltool | 21:26 | |
fsufitch | cpcarey: hi | 21:26 |
cpcarey | fsufitch: hi | 21:28 |
fsufitch | cpcarey: so we need to talk about 1. how we're getting nhssl done on time and 2. intro to tjtalk for you | 21:28 |
cpcarey | kk | 21:28 |
fsufitch | so yesterday ellie and i added a couple new blueprints for the stuff she needs done | 21:29 |
fsufitch | only the longer one actually matters though | 21:29 |
cpcarey | on launchpad? | 21:29 |
fsufitch | yes | 21:29 |
fsufitch | basically what she wants is for nhssl to manage the individual service periods | 21:29 |
fsufitch | there are 4 for juniors (incl. hours for induction), and 2 for seniors | 21:30 |
fsufitch | and she wants to be able to submit hours for each of these individually, even if they're overdue | 21:30 |
fsufitch | because makeup is allowed | 21:30 |
fsufitch | and to be able to see totals per period, and totals overall | 21:31 |
fsufitch | jelkner: ping | 21:31 |
fsufitch | jelkner: you should be listening too :) | 21:31 |
fsufitch | so basically for that we'll have to rewrite some things | 21:31 |
fsufitch | like the monthly due hours | 21:31 |
cpcarey | you said it involves a Deadline and Event class correct? | 21:32 |
fsufitch | well the event class (namely ServiceEvent) is already there | 21:32 |
fsufitch | the thing is, since this is massive refactoring, it would also be a good time to refactor the service event types | 21:33 |
cpcarey | gotcha | 21:33 |
fsufitch | right now there are 3 classes: IndividualServiceEvent, GroupServiceEvent and SchoolServiceEvent | 21:33 |
fsufitch | that's inefficient | 21:34 |
*** rbra has joined #schooltool | 21:34 | |
cpcarey | right | 21:34 |
fsufitch | and if any school doesnt neex those exact 3, there needs to be a separate code branch for them | 21:34 |
fsufitch | so what i'm thinking is one of us tackles that, while the other tackles the deadlines | 21:34 |
cpcarey | ok | 21:34 |
fsufitch | take your pick :) | 21:34 |
fsufitch | i'm fine with either | 21:34 |
fsufitch | im a little more familiar with the service event, since i worked with it before | 21:35 |
fsufitch | so i could provide help if you want that | 21:35 |
cpcarey | i think you understand the requirements for deadlines | 21:35 |
cpcarey | better than i do | 21:35 |
cpcarey | oh | 21:35 |
fsufitch | well yes thats true too | 21:35 |
fsufitch | so i'll take that | 21:35 |
cpcarey | ok | 21:35 |
fsufitch | and if you need some clarification about the events, i can help | 21:35 |
fsufitch | although it's pretty straightforward | 21:35 |
cpcarey | we're refactoring the three kinds of service event into one service event with an attribute that can determine if its an individual, group, or school? | 21:36 |
fsufitch | yes | 21:37 |
fsufitch | or anything else really, make there an ability to edit what types there are | 21:37 |
fsufitch | a class called ServiceEventType | 21:37 |
cpcarey | alright | 21:37 |
fsufitch | and for the attribute to IServiceEvent: | 21:37 |
fsufitch | zope.schema.Object(..... , schema=nhssl.interfaces.IServiceEventType) | 21:38 |
fsufitch | you can figure it out :) | 21:40 |
cpcarey | yupyup | 21:40 |
fsufitch | soo thats that | 21:40 |
fsufitch | and i'll make the deadline work with the ServiceEvent class | 21:40 |
cpcarey | do we have a deadline for this? | 21:40 |
fsufitch | i won't even worry about the 3 subclasses | 21:40 |
jelkner | fsufitchi: hey man | 21:40 |
fsufitch | semester end | 21:40 |
cpcarey | i'm crammed this weekend | 21:40 |
fsufitch | jelkner: it's | 21:40 |
fsufitch | "fsufitch" | 21:40 |
fsufitch | :-P | 21:40 |
cpcarey | semester exam week | 21:41 |
fsufitch | cpcarey: it's not this weekend that we need to have it by | 21:41 |
jelkner | ah | 21:41 |
cpcarey | oh phew | 21:41 |
fsufitch | we got 2 long weekends before then | 21:41 |
fsufitch | :) | 21:41 |
cpcarey | i got a little scared there haha | 21:41 |
fsufitch | jelkner: read up. cpcarey and i have been talking about what the tj nhs wants extra before using it this 2nd semester | 21:41 |
fsufitch | cpcarey: heh i did at first too | 21:41 |
jelkner | fsufitch: anyway, my misspelling of your name aside, you pinged? | 21:42 |
fsufitch | jelkner: yes, because i wanted you to see how our meeting with ellie on wednesday went, too | 21:42 |
fsufitch | and, did you manage to get in touch with said person? | 21:42 |
* fsufitch checks his email | 21:42 | |
jelkner | thanks for reminding me | 21:43 |
jelkner | no, i haven't gotten to that yet | 21:43 |
fsufitch | lol, okay | 21:43 |
fsufitch | no pressure, nhssl-tjhsst won't be done for quite a little while | 21:43 |
fsufitch | our deadline to do these changes they want is by 2nd quarter | 21:43 |
jelkner | how did the meeting go? | 21:43 |
fsufitch | so basically by the philly sprint we'll be done | 21:43 |
fsufitch | she was overall impressed and happy with how it worked | 21:44 |
jelkner | excellent | 21:44 |
fsufitch | but the tj nhs chapter doesn't run on monthly deadlines | 21:44 |
jelkner | no problem | 21:44 |
fsufitch | there are 4 deadlines for the juniors, and 2 for the seniors | 21:44 |
fsufitch | so we need to implement that | 21:44 |
jelkner | great | 21:44 |
fsufitch | a Deadline class and attribute, and the ability for the nhs to define those and assign deadlines | 21:44 |
jelkner | again, business logic will be different between the two organizations | 21:44 |
fsufitch | yeah | 21:45 |
fsufitch | and this is a more flexible way of doing it | 21:45 |
jelkner | but similar enough that only tweaks are needed | 21:45 |
fsufitch | yes | 21:45 |
jelkner | great | 21:45 |
jelkner | let ccarey know what you are doing | 21:45 |
fsufitch | this will be able to be configured client-side to work by months though | 21:45 |
fsufitch | which is great | 21:45 |
fsufitch | yep | 21:45 |
jelkner | after he gets into nhs next year he can take over from you ;-) | 21:45 |
fsufitch | and ccarey will be working on making that universal ServiceEvent class with different types | 21:45 |
fsufitch | yep, we talked to ellie about that too | 21:46 |
jelkner | oh, it is cpcarey | 21:46 |
cpcarey | fsufitch: i might also make a few changes to the event attributes | 21:46 |
jelkner | i did it again | 21:46 |
fsufitch | cpcarey: sweet | 21:46 |
jelkner | ok, i have a bus to catch | 21:46 |
fsufitch | jelkner: on an unrelated note about the meeting, we both found out we're in NHS | 21:46 |
fsufitch | :) | 21:46 |
fsufitch | ok | 21:46 |
cpcarey | like some members suggested that "contact phone number" be switched to "contact email" or both | 21:46 |
cpcarey | ok | 21:46 |
cpcarey | i should keep my nick ccarey btw | 21:47 |
cpcarey | its just out of habit | 21:47 |
fsufitch | less confusing ;) | 21:47 |
fsufitch | where's the p from? | 21:47 |
cpcarey | philip | 21:47 |
fsufitch | ohh | 21:47 |
fsufitch | nice name ;) | 21:47 |
cpcarey | haha | 21:47 |
fsufitch | im gonna get a middle name after college | 21:48 |
fsufitch | Peter most likely | 21:48 |
cpcarey | nice | 21:48 |
cpcarey | or... | 21:48 |
cpcarey | you could go crazy | 21:48 |
fsufitch | TROGDOR | 21:48 |
cpcarey | haha exactly | 21:48 |
fsufitch | anyway | 21:48 |
fsufitch | now, on to tjtalk | 21:48 |
fsufitch | ssh to ccarey@tjtalk.misato.us | 21:49 |
fsufitch | your password is that curvy yellow somewhat phallic fruit | 21:49 |
fsufitch | make sure to change it with passwd | 21:49 |
cpcarey | ok i'm in | 21:50 |
*** jelkner has quit IRC | 21:50 | |
fsufitch | k | 21:50 |
fsufitch | you got sudo access fyi | 21:50 |
fsufitch | and a server is running off my account | 21:50 |
fsufitch | its stuff can be found in /home/fsufitch/schooltool/schooltool.tjtalk | 21:51 |
fsufitch | also nhs is found in /home/fsufitch/nhs-service-log/ | 21:51 |
fsufitch | the server is just for when you dont have access to other comps | 21:51 |
cpcarey | k | 21:51 |
fsufitch | and for when you need to reset it when im not available | 21:51 |
fsufitch | now, to get your instance up | 21:51 |
fsufitch | either on the server, or ur craptop, whichever you prefer | 21:51 |
cpcarey | i'll do it on the server for now | 21:52 |
*** mgedmin has quit IRC | 21:52 | |
fsufitch | k | 21:52 |
fsufitch | so, mkdir schooltool | 21:52 |
cpcarey | keep going ahead i'll follow your instructions | 21:52 |
fsufitch | k | 21:52 |
cpcarey | and i'm not signed up b block so i've got about 15 mins | 21:52 |
fsufitch | hang on, im verifying im doing the right stuff first | 21:53 |
fsufitch | so you'll be in the same room as me | 21:53 |
fsufitch | great XD | 21:53 |
cpcarey | no i'm signed up for something else | 21:53 |
fsufitch | no wireless for u tho | 21:53 |
fsufitch | ohh | 21:53 |
fsufitch | okay | 21:53 |
fsufitch | actually | 21:54 |
fsufitch | do this: http://www.schooltool.org/documentation/setting-up-a-development-server/your-development-environment/ | 21:54 |
fsufitch | and, just as the gradebook (for example) is set up, also do it for tjtalk | 21:54 |
fsufitch | its lp branch is lp:tjtalk | 21:54 |
fsufitch | (simple!) | 21:55 |
fsufitch | however, put it in the dir called schooltool.tjtalk | 21:55 |
fsufitch | and just go from there | 21:55 |
fsufitch | remember, tjtalk is not in its own outer package like cando or nhssl, it's contained by schooltool | 21:55 |
fsufitch | also, the instance of the TJTalkApplication is not present from the start | 21:55 |
fsufitch | you need to go to dostuff.html on the server for it and click on the button for it to be created | 21:56 |
fsufitch | (yes, dostuff. ignas would kill me.) | 21:56 |
fsufitch | so yeah | 21:57 |
fsufitch | u prolly dont have time to do it in 3-4 mins | 21:57 |
fsufitch | but the irc log is online | 21:57 |
fsufitch | so there :-P | 21:57 |
fsufitch | now, about how tjtalk is structured | 21:57 |
cpcarey | yeah | 21:57 |
cpcarey | ok | 21:57 |
fsufitch | TJTalkApplication contains QuestionContainers which contain Questions which contain Answers (and later, Comments) | 21:57 |
fsufitch | the TJTalkApplication contains a short list of recently asked questions | 21:58 |
fsufitch | which is updated with its questionAsked(q) and questionTouched(q) methods | 21:58 |
fsufitch | QuestionContainers dont do anything special, except be able to recursively calculate their size | 21:58 |
fsufitch | size = # of questions | 21:59 |
fsufitch | Questions know who asked them, their title, their text, the time they were made, and are containers for answers | 21:59 |
fsufitch | the reason i dont display who asked them is because only privileged users (teachers, admins) have the zope permissions to view a BasicPerson's attributes (such as firstname,lastname, or username) | 22:00 |
fsufitch | i need to make it display only for those who have the privileges | 22:00 |
fsufitch | or we | 22:00 |
fsufitch | w/e | 22:00 |
cpcarey | ah its about time for me to go | 22:01 |
cpcarey | but keep logging | 22:01 |
cpcarey | i | 22:01 |
fsufitch | okay | 22:01 |
cpcarey | will read it once i get the chance | 22:01 |
fsufitch | kk | 22:01 |
cpcarey | i've got the branch | 22:01 |
fsufitch | have fun wherever you go | 22:01 |
fsufitch | cool | 22:01 |
cpcarey | see you on the bus | 22:01 |
fsufitch | cya | 22:01 |
*** cpcarey has quit IRC | 22:02 | |
fsufitch | so Answers have their text, answer, and score attributes | 22:02 |
fsufitch | the score can be changed via the vote method | 22:02 |
*** replaceafill has quit IRC | 22:03 | |
fsufitch | wait | 22:04 |
fsufitch | no, it doesnt have a score attribute | 22:04 |
fsufitch | score is a method masquerading as a property | 22:04 |
fsufitch | it actually has a votes attribute | 22:04 |
fsufitch | which is a dict of person->rating for those who voted | 22:05 |
fsufitch | the score is just the sum of all ratings | 22:05 |
fsufitch | it tracks the person so that it doesnt allow them to vote twice for one thing, or allows them to retract a vote and cast it some other way | 22:05 |
fsufitch | that's basically it so far | 22:06 |
fsufitch | that, and the views associated with it | 22:06 |
fsufitch | i've got unit tests for some stuff | 22:06 |
fsufitch | ftests are 0 | 22:06 |
*** rbra has quit IRC | 22:07 | |
fsufitch | theres also the search AI that i need to implement | 22:07 |
aelkner | fsufitch: hey | 22:07 |
aelkner | i've been reading your log here with keen interest | 22:07 |
*** rbra has joined #schooltool | 22:07 | |
*** jcrowley has quit IRC | 22:07 | |
aelkner | you know, we'll be sprinting together on this next weekend | 22:08 |
fsufitch | aelkner: hey! | 22:08 |
fsufitch | next weekend?! | 22:08 |
aelkner | oh, two weekends from now? | 22:08 |
fsufitch | yes | 22:08 |
fsufitch | the weekend after the next ;) | 22:08 |
aelkner | ah, yes | 22:08 |
*** rbra has quit IRC | 22:08 | |
aelkner | anyway, a question about the sandbox | 22:08 |
fsufitch | so yeah, the tjtalk stuff is for you too ;) | 22:08 |
fsufitch | myes? | 22:08 |
aelkner | you mentioned following ignas' sandbox instructions | 22:09 |
aelkner | and adding the chekcout of tjtalk to it | 22:09 |
aelkner | but you didn't mention adding schooltool.tktalk to the parts in the buildout.cfg | 22:09 |
aelkner | well, maybe you implied it by saying "jsut as with the gradebook" | 22:10 |
fsufitch | yes | 22:10 |
fsufitch | cuz cpcarey had to go | 22:11 |
fsufitch | and that was mainly for him | 22:11 |
aelkner | so is TJTalkApplication a replacement for SchoolToolApplication? | 22:11 |
fsufitch | no | 22:12 |
fsufitch | SchoolToolApplication contains TJTalkApplication | 22:12 |
fsufitch | i will probably later make it be a Site itself | 22:12 |
fsufitch | so that i can make a standalone tjTalk | 22:12 |
fsufitch | bu right now i'm happy with this as is | 22:12 |
aelkner | oh, i see | 22:13 |
aelkner | ok, that's all the questions i have then | 22:13 |
fsufitch | yagni style ;) | 22:13 |
aelkner | you'd make jelkner proud with that kind of talk :) | 22:13 |
fsufitch | haha | 22:15 |
fsufitch | too bad he left | 22:15 |
fsufitch | aelkner: so any other questions? | 22:17 |
aelkner | not for now, i'll have more when i've created my sandbox and looked at your code | 22:17 |
fsufitch | alright | 22:17 |
*** jstraw has joined #schooltool | 22:42 | |
jstraw | hmm *tries to find an xls file* | 22:42 |
*** fsufitch has quit IRC | 22:50 | |
*** alga has quit IRC | 23:01 | |
* balor hands google to jstraw | 23:09 | |
jstraw | balor: fail | 23:10 |
jstraw | balor: it's something I need from ignas | 23:10 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!