| *** filip101 has joined #schooltool | 00:48 | |
| *** jfroche_ has joined #schooltool | 00:53 | |
| *** filip101 has quit IRC | 01:03 | |
| *** jfroche has quit IRC | 01:10 | |
| *** filip101 has joined #schooltool | 02:21 | |
| *** filip101 has quit IRC | 02:40 | |
| *** jinty has quit IRC | 02:44 | |
| *** wrobel has quit IRC | 03:27 | |
| *** pcardune has quit IRC | 04:17 | |
| *** th1a_ has quit IRC | 06:47 | |
| *** Fujitsu_ has joined #schooltool | 08:10 | |
| *** Fujitsu_ has quit IRC | 08:12 | |
| *** Fujitsu has quit IRC | 09:51 | |
| *** alga has joined #SchoolTool | 11:10 | |
| *** Fujitsu has joined #schooltool | 11:52 | |
| *** alga has quit IRC | 12:22 | |
| *** Fujitsu has quit IRC | 12:26 | |
| *** Fujitsu has joined #schooltool | 12:41 | |
| *** Fujitsu has quit IRC | 14:21 | |
| *** filip101 has joined #schooltool | 14:58 | |
| *** filip101 has quit IRC | 15:17 | |
| *** pcardune has joined #schooltool | 16:45 | |
| *** AVN` has joined #schooltool | 17:32 | |
| *** pcardune has quit IRC | 17:47 | |
| *** pcardune_climbin has joined #schooltool | 17:50 | |
| * pcardune_climbin waits for interns | 17:58 | |
| *** pcardune_climbin is now known as pcardune | 17:58 | |
| *** filip101 has joined #schooltool | 17:59 | |
| filip101 | I'm here | 17:59 |
|---|---|---|
| pcardune | Hi filip101 | 17:59 |
| * filip101 is Filip S. | 17:59 | |
| filip101 | hehe habit | 17:59 |
| pcardune | do you know if chris is coming? | 18:00 |
| filip101 | he's on | 18:00 |
| filip101 | he's AVN` | 18:00 |
| filip101 | AVN`: you there? | 18:00 |
| pcardune | oh, i didn't see him | 18:00 |
| filip101 | I do | 18:00 |
| pcardune | why can't you youngsters choose more relevant irc nicks? | 18:00 |
| *** tehminkeh has joined #schooltool | 18:00 | |
| pcardune | what is the 101 for? | 18:00 |
| filip101 | I just always use 101 | 18:01 |
| filip101 | because filip might be in use | 18:01 |
| filip101 | and I don't feel like using fsufitchi | 18:01 |
| * tehminkeh is Stephen Drodge | 18:01 | |
| pcardune | and why AVN? and why with a back tick? | 18:01 |
| filip101 | noooo idea | 18:01 |
| filip101 | ask him | 18:01 |
| pcardune | AVN`: ? | 18:01 |
| pcardune | AVN`: ping | 18:01 |
| AVN` | pong | 18:01 |
| filip101 | so why AVN`? | 18:02 |
| AVN` | Avian | 18:02 |
| pcardune | tehminkeh: you know that I am meeting with your group at 1 right? | 18:02 |
| filip101 | as pcardune was asking | 18:02 |
| AVN` | i am a birdwatcher | 18:02 |
| filip101 | ok | 18:02 |
| pcardune | oh, i see | 18:02 |
| tehminkeh | pcardune: sorry, didnt know, ive been a tad deliquent about checking my email | 18:02 |
| filip101 | go to jail | 18:02 |
| filip101 | pay $50 fine | 18:03 |
| pcardune | no problem, you are free to stay but it might be kind of boring? | 18:03 |
| pcardune | ok, so let's get started | 18:03 |
| filip101 | ok | 18:03 |
| tehminkeh | why? | 18:03 |
| tehminkeh | why would it be boring? | 18:03 |
| AVN` | great | 18:03 |
| filip101 | because there's no class | 18:03 |
| tehminkeh | haha | 18:03 |
| tehminkeh | ok well ill be back at 1 then | 18:03 |
| filip101 | it's just groups working with pcardune on their projects | 18:03 |
| pcardune | do you guys want to use irc? or some other communication tool? (skype, aim, msn?) | 18:03 |
| filip101 | I don't mind using irc | 18:03 |
| AVN` | IRC | 18:04 |
| pcardune | ok | 18:04 |
| pcardune | first thing to do is we need to all be looking at the same shell | 18:04 |
| pcardune | we are going to use this program called screen to do that | 18:04 |
| pcardune | to use screen we also all have to be logged in to the same account | 18:05 |
| filip101 | so we go onto maddog to use it? | 18:05 |
| pcardune | yeah | 18:05 |
| filip101 | which account is it? | 18:05 |
| pcardune | so what account are the files under? | 18:05 |
| filip101 | chris's | 18:05 |
| AVN` | mine | 18:05 |
| pcardune | ok, | 18:05 |
| filip101 | account: cbeacham | 18:05 |
| pcardune | you should log in to maddog first | 18:05 |
| pcardune | then change your password | 18:05 |
| pcardune | to something simple | 18:05 |
| pcardune | (that you will change back right after this) | 18:06 |
| pcardune | (and never use again) | 18:06 |
| pcardune | in fact, it would be best if you private messaged the password to us | 18:06 |
| pcardune | don't put it on these public logs :) | 18:06 |
| filip101 | lol | 18:06 |
| filip101 | just msg me on AIM | 18:06 |
| pcardune | my aim is paulinsenegal if you want to use that | 18:07 |
| AVN` | there | 18:08 |
| filip101 | yay it works | 18:08 |
| pcardune | ok | 18:09 |
| pcardune | now type screen -x | 18:09 |
| filip101 | there are several suitable screens | 18:09 |
| filip101 | 4046.pts-5.maddog (Attached) | 18:10 |
| filip101 | 4025.pts-4.maddog (Attached) | 18:10 |
| pcardune | hmm | 18:10 |
| pcardune | can you pick one? | 18:11 |
| filip101 | ok | 18:11 |
| filip101 | I think I'm in | 18:12 |
| *** pcardune is now known as pcardune_mac | 18:13 | |
| *** pcardune has joined #schooltool | 18:13 | |
| pcardune | AVN` and filip101, first thing to do is change your file permission | 18:15 |
| filip101 | I think we already did that | 18:15 |
| pcardune | you don't want those files to be executable | 18:15 |
| filip101 | oh lol | 18:15 |
| pcardune | ok, i'd like you to also make this a bzr branch | 18:16 |
| pcardune | filip101: AVN`, do you know how to do this? | 18:16 |
| pcardune | use the bzr init command | 18:16 |
| filip101 | I think I did it once | 18:16 |
| filip101 | for the homework thing | 18:16 |
| pcardune | yeah | 18:16 |
| filip101 | but I don't remember very clearly how it works or what to do after that | 18:17 |
| pcardune | i'll give you a link to look at | 18:17 |
| filip101 | ok | 18:18 |
| pcardune | http://dc.ubuntu-us.org/resources/tutorials/bzr-intro.php | 18:18 |
| pcardune | while you two read about it, i'll do some of the set up (just what it says in there) | 18:18 |
| filip101 | vi? | 18:19 |
| filip101 | not vim? | 18:19 |
| pcardune | they are aliases | 18:19 |
| filip101 | oh | 18:19 |
| pcardune | AVN`: you should file in your information here | 18:19 |
| pcardune | filip101: you should also do these steps in your home directory (you might want to open up another shell to do that | 18:20 |
| filip101 | kk | 18:20 |
| filip101 | in my home directory or my zope3 directory? | 18:20 |
| pcardune | filip101: in your home directory | 18:21 |
| filip101 | ok | 18:21 |
| filip101 | yep, I already did it | 18:22 |
| filip101 | it's all there | 18:22 |
| filip101 | running bzr init again won't kill it, right? | 18:22 |
| pcardune | oh ok, great | 18:22 |
| pcardune | no | 18:22 |
| filip101 | ok | 18:22 |
| pcardune | bzr init is for the location of the module, the bazaar.conf file is so that when you make "commits" it knows who you are. | 18:23 |
| filip101 | ok | 18:23 |
| pcardune | AVN`: first thing to do is add these files to the repository | 18:23 |
| pcardune | using the bzr add command | 18:23 |
| pcardune | once you've done that you need to "committ" the changes | 18:24 |
| pcardune | using bzr committ -m "some message explaing the changes" | 18:24 |
| AVN` | does committ have 2 t's? | 18:26 |
| AVN` | nvm | 18:26 |
| filip101 | no | 18:26 |
| pcardune | you can also use ci which is an alias for commit | 18:26 |
| pcardune | now i suggest that someone be the person who controls the server? | 18:27 |
| pcardune | AVN`: how about you? | 18:27 |
| filip101 | his account... | 18:27 |
| AVN` | uh, sure | 18:27 |
| pcardune | log in with another shell and fire up your zope server | 18:27 |
| pcardune | (that way we will have the shell we are all in to edit files and such) | 18:27 |
| AVN` | ok | 18:28 |
| filip101 | is there a way to sync files in my /zope3/lib/python/forum ti chris's? | 18:28 |
| AVN` | starting | 18:28 |
| filip101 | done? | 18:29 |
| pcardune | ok, please show me what you have so far (provide me with a login and tell me where to go? | 18:29 |
| filip101 | just use mine | 18:29 |
| filip101 | fsufitch and 123456 | 18:30 |
| pcardune | ok | 18:30 |
| filip101 | we only have a "post" class | 18:30 |
| filip101 | it holds a subject and a message field as strings | 18:31 |
| filip101 | and there's an interface.py | 18:31 |
| filip101 | with IPost | 18:31 |
| pcardune | ok, so there is not yet anything in the ZMI to see? | 18:31 |
| filip101 | no | 18:31 |
| pcardune | ok | 18:31 |
| filip101 | except for creating a pointless Post object | 18:32 |
| filip101 | :) | 18:32 |
| pcardune | well my first recommendation is to change the IPost interface to use schema fields | 18:32 |
| pcardune | you first have to import zope.schema | 18:32 |
| filip101 | I think we both need a memory refresh on how to do that | 18:32 |
| filip101 | *how to use schema fields | 18:33 |
| pcardune | then you can do something like subject=zope.schema.TextLine(title=u'Subject', required=True) | 18:33 |
| pcardune | do you remember why you want to use schemas instead of just attributes? | 18:34 |
| filip101 | my bad, wrong window | 18:34 |
| filip101 | to use autogenerated forums? | 18:34 |
| pcardune | yeah | 18:34 |
| filip101 | yay I'm actually learning | 18:35 |
| pcardune | you should do the same thing with the other field | 18:35 |
| pcardune | except instead you probably want to use the zope.schema.Text field instead of TextLine | 18:35 |
| AVN` | so it can be longer than 1 line? | 18:36 |
| pcardune | the Text field will produce a big text box, where as the TextLine field will produce just a little entry box | 18:36 |
| pcardune | yep | 18:36 |
| pcardune | there are special rults in python about having things on multiple lines | 18:36 |
| pcardune | usually, if a line ends with a comma, you can have another line. | 18:36 |
| pcardune | so save this | 18:37 |
| pcardune | and open up the Post class | 18:37 |
| pcardune | the first change you need to make there is to make it persistent | 18:37 |
| pcardune | do you remember how to make things persistent? | 18:37 |
| filip101 | put Persistent instead of object in the inheritance? | 18:38 |
| AVN` | make it inherite from persistant? | 18:38 |
| pcardune | yes | 18:38 |
| AVN` | \o/ | 18:38 |
| filip101 | but wait, why is the file readonly? | 18:38 |
| filip101 | "post.py" [readonly] 10L, 184C | 18:38 |
| pcardune | that is strange | 18:39 |
| filip101 | should I use my acct to changemod? | 18:39 |
| AVN` | its cause filip owns it | 18:39 |
| pcardune | yep | 18:39 |
| AVN` | yeah chown it | 18:39 |
| AVN` | no | 18:40 |
| AVN` | with your account | 18:40 |
| pcardune | filip101 has to chown it | 18:40 |
| AVN` | you are loggid in as me | 18:40 |
| filip101 | there we go | 18:40 |
| filip101 | I did it | 18:40 |
| filip101 | uhh | 18:40 |
| filip101 | didn't work? | 18:40 |
| AVN` | no | 18:40 |
| filip101 | hmm | 18:41 |
| pcardune | there | 18:42 |
| filip101 | what's a pyc? | 18:42 |
| pcardune | pyc is a python file compiled to byte code | 18:42 |
| filip101 | ahh compiled python | 18:42 |
| pcardune | yeah | 18:42 |
| filip101 | sounds like an oxymoron | 18:42 |
| pcardune | now on with persistents | 18:43 |
| pcardune | it's not compiled in the sense that c++ is compiled | 18:43 |
| filip101 | don't we need to import zope.persistent? | 18:43 |
| pcardune | just persistent | 18:43 |
| filip101 | ok | 18:43 |
| filip101 | that all? | 18:44 |
| pcardune | nope | 18:44 |
| filip101 | oh I c | 18:44 |
| pcardune | now that is all | 18:44 |
| filip101 | oops indentation | 18:45 |
| pcardune | xml doesn't care, but it looks better this way | 18:46 |
| pcardune | and is easier to read | 18:46 |
| filip101 | ok | 18:46 |
| pcardune | ok, restart the server AVN` | 18:46 |
| AVN` | k | 18:46 |
| AVN` | started | 18:47 |
| pcardune | ok, i just created the First Post object in the ZMI | 18:47 |
| pcardune | so what do you guys want to do next with this stuff? | 18:48 |
| pcardune | what do you think would be a good next step that is... | 18:48 |
| AVN` | well | 18:48 |
| filip101 | actually being able to put text in the post? | 18:48 |
| AVN` | we need a thread eventually | 18:48 |
| pcardune | and what about displaying the text in the post? | 18:48 |
| AVN` | so we need to think about how to store the posts | 18:49 |
| filip101 | yeah, that would be useful too | 18:49 |
| filip101 | well, we'll just make a container | 18:49 |
| pcardune | start with the simplest thing first | 18:49 |
| filip101 | called a threat | 18:49 |
| filip101 | *thred | 18:49 |
| AVN` | yeah, displaying text comes first | 18:49 |
| filip101 | *thread | 18:49 |
| filip101 | then after that we can make topics et cetera | 18:49 |
| AVN` | well, do we want like a tree interface where you reply to posts? | 18:49 |
| filip101 | yes | 18:49 |
| AVN` | or you reply to the whole thread | 18:49 |
| filip101 | oh | 18:49 |
| pcardune | so go ahead and create the display for this Post object | 18:49 |
| filip101 | actually I favor replying to a whole thread | 18:49 |
| filip101 | ok | 18:49 |
| pcardune | and remember kiss | 18:50 |
| filip101 | we'll do that | 18:50 |
| filip101 | kiss? | 18:50 |
| pcardune | keep is simple stupid | 18:50 |
| pcardune | keep it* simple stupid | 18:50 |
| *** smalekgh has joined #schooltool | 18:50 | |
| filip101 | so, uh we need a post.pt? | 18:50 |
| pcardune | we only have 10 more minutes | 18:50 |
| pcardune | yes, post.pt would be a good thing to make | 18:50 |
| *** Makorihi has joined #schooltool | 18:51 | |
| filip101 | hang on | 18:51 |
| filip101 | I'm going to go check on exactly what's in a pt file | 18:51 |
| Makorihi | filip: what exactly are you checking? | 18:52 |
| Makorihi | .pt is a page template, no? | 18:52 |
| filip101 | yes | 18:52 |
| filip101 | um | 18:52 |
| filip101 | we're in the middle of something | 18:52 |
| AVN` | we should make our own macro later | 18:53 |
| AVN` | to make a black background | 18:53 |
| filip101 | yeah black backgrounds are cool | 18:53 |
| AVN` | br? | 18:55 |
| filip101 | yes | 18:55 |
| filip101 | you don't want it to say | 18:55 |
| filip101 | Text: this is the message body | 18:55 |
| filip101 | you want it to say | 18:55 |
| filip101 | Text: | 18:55 |
| filip101 | This is the message body | 18:55 |
| AVN` | oh, br is new line? | 18:55 |
| filip101 | yes | 18:55 |
| filip101 | <br> = break | 18:55 |
| AVN` | havn't done html in a while | 18:55 |
| filip101 | that's all we can do | 18:56 |
| filip101 | does the server need to be reset? | 18:56 |
| pcardune | you need to register this page in zcml | 18:56 |
| filip101 | oopd | 18:58 |
| AVN` | what happened? | 18:58 |
| AVN` | ahhh | 18:58 |
| filip101 | browser:page? | 18:59 |
| filip101 | maybe? | 18:59 |
| pcardune | filip101: yep | 18:59 |
| pcardune | Makorihi: are you ready to meet about your project? | 18:59 |
| Makorihi | pcardune: i'm not sure about how tehminkeh is doing. smalekgh said he was eating food, but he should be back soon | 19:00 |
| pcardune | ok | 19:00 |
| filip101 | did I really miss something? | 19:00 |
| pcardune | Makorihi: where are you guys working on your project | 19:00 |
| pcardune | filip101: yes | 19:01 |
| filip101 | oh my | 19:01 |
| filip101 | I think I missed some stuff bad | 19:01 |
| filip101 | >_> | 19:01 |
| Makorihi | pcardune: i believe we are working on my server. have have 3 instances of schooltool set up on my home server | 19:01 |
| pcardune | yeah, you were looking at the wrong example | 19:01 |
| pcardune | Makorihi: ok great | 19:01 |
| pcardune | is your home server running ubuntu i imagine? | 19:02 |
| filip101 | mine? | 19:02 |
| Makorihi | yes it is | 19:02 |
| pcardune | Makorihi: does your home server have X installed on it? | 19:02 |
| pcardune | or rather, gnome? | 19:02 |
| Makorihi | yes | 19:02 |
| smalekgh | okay, I'm back from eating breakfast >_< don't comment please. | 19:02 |
| pcardune | ok perfect | 19:02 |
| pcardune | Makorihi: in that case we will use gobby | 19:02 |
| pcardune | Makorihi: have you used gobby before? | 19:03 |
| pcardune | it is very quick to install: sudo apt-get install gobby | 19:03 |
| Makorihi | i'll do that now | 19:03 |
| smalekgh | you were having plenty of trouble earlier >_< | 19:03 |
| Makorihi | i have it set up on my laptop though | 19:03 |
| filip101 | if I knew I could've set up a remote X server on my laptop | 19:04 |
| pcardune | you can get gobby for windows here: http://gobby.0x539.de/trac/wiki/Download | 19:04 |
| filip101 | I have zope and ubuntu on here too | 19:04 |
| pcardune | filip101: yeah, but all your development files are on maddog | 19:04 |
| pcardune | we'll do that next time | 19:04 |
| filip101 | true... | 19:04 |
| filip101 | hard to fetch those | 19:04 |
| filip101 | what class do I use for the browser:page? | 19:04 |
| filip101 | I have it set to post.interfaces.IPost | 19:05 |
| pcardune | filip101: you don't have to specify one | 19:05 |
| filip101 | oh | 19:05 |
| filip101 | ok | 19:05 |
| AVN` | stupid gnometerm | 19:05 |
| filip101 | get Eterm | 19:05 |
| filip101 | or Konsole | 19:05 |
| AVN` | i had yukatka, but it kept crashing | 19:05 |
| smalekgh | so, where's stephen? | 19:06 |
| pcardune | Makorihi: let me know when you have gobby installed | 19:06 |
| Makorihi | kay, i was just configuring my router | 19:06 |
| filip101 | AVN`: restart the server | 19:06 |
| AVN` | k | 19:06 |
| pcardune | Makorihi, smalekgh, what is your preferred method of communication (irc? aim? skype? something else?) | 19:06 |
| AVN` | started | 19:07 |
| Makorihi | i'm fine with all of those | 19:07 |
| smalekgh | uh, we're both on AIM atm, irc works imo, skype doesn't because I don't exactly have a mic... | 19:07 |
| AVN` | and by my clock, filip, we are eating Jama & Pals time | 19:07 |
| AVN` | we better scram | 19:07 |
| pcardune | AVN` and filip101, before you leave... | 19:08 |
| pcardune | do another bzr commit | 19:08 |
| filip101 | ok | 19:08 |
| pcardune | so that your changes are revision controled | 19:08 |
| pcardune | I want you guys to come up with a set of steps you will complete over the next week | 19:08 |
| filip101 | uhh | 19:08 |
| filip101 | how do we add the other 3 files? | 19:08 |
| pcardune | that is why i use the -m option :) | 19:09 |
| pcardune | it's also usually better to have more descriptive commit messages | 19:10 |
| pcardune | ok | 19:10 |
| pcardune | now I really recommend reading that bzr tutorial | 19:10 |
| filip101 | lol | 19:10 |
| filip101 | ok | 19:10 |
| pcardune | then filip101, you won't have to log in to chris's account to modify the code | 19:10 |
| pcardune | you will just make your own branch | 19:11 |
| pcardune | for changes | 19:11 |
| filip101 | ok | 19:11 |
| pcardune | etc etc | 19:11 |
| filip101 | fun | 19:11 |
| Makorihi | when i try to connect to the gobby session onmy server, i get a 'protocol version mismatch' error | 19:11 |
| pcardune | Makorihi: hmmm, that is rather strange | 19:11 |
| smalekgh | what's the version of gobby on your laptop? | 19:12 |
| Makorihi | smalekgh: the one you gave me | 19:12 |
| smalekgh | and the one on the server? | 19:12 |
| pcardune | do you have a gobby session running on your server? | 19:12 |
| Makorihi | yes | 19:12 |
| Makorihi | my ip is 68.100.102.147 and i forwarded port 3626 for the gobby session | 19:13 |
| smalekgh | what's the version on theserver <_< ? | 19:13 |
| Lumiere | maddog is on .4 | 19:13 |
| smalekgh | 3->4 doesn't work | 19:13 |
| Lumiere | make sure you use .4 :) | 19:13 |
| Makorihi | heh | 19:14 |
| Makorihi | i have .3 | 19:14 |
| smalekgh | hmmmmmmm | 19:14 |
| Makorihi | lemme somehow upgrade... | 19:14 |
| Makorihi | where can i get .4 | 19:14 |
| Makorihi | for linux | 19:14 |
| tehminkeh | im here | 19:14 |
| smalekgh | yay! it's stephen! | 19:14 |
| smalekgh | we're struggling with getting gobby to work on jama's server >_< | 19:15 |
| pcardune | just do sudo apt-get install gobby and it will give you the latest version | 19:15 |
| Makorihi | heh | 19:15 |
| Makorihi | i forgot to add the repository | 19:15 |
| Makorihi | just a sec | 19:15 |
| smalekgh | oh | 19:15 |
| pcardune | we don't have to use gobby, it's just a little bit nicer than using a shell | 19:15 |
| tehminkeh | shell is the yummy | 19:15 |
| smalekgh | shell for sharing work = t3h non-awesomeness | 19:15 |
| Lumiere | screen for sharing work = t3h awesomeness | 19:16 |
| Lumiere | especially with ssh keys | 19:16 |
| pcardune | in the mean time smalekgh and tehminkeh should explain what you guys have been up to and accomplished up to this point | 19:16 |
| tehminkeh | ok ill take this one | 19:16 |
| tehminkeh | we've accomplished precisely nothing | 19:16 |
| pcardune | what have you tried to accomplish? | 19:17 |
| tehminkeh | lol | 19:17 |
| tehminkeh | well we've been getting the actual source set up | 19:17 |
| pcardune | using bzr right? | 19:17 |
| tehminkeh | which ended up being hilariously more difficult than it shouldve been | 19:17 |
| tehminkeh | well, i gave up, because i was missing some libraries, so jama would know | 19:18 |
| tehminkeh | we are going to use his server | 19:18 |
| pcardune | setting up the source is very straightforward on ubuntu... and not so straight forward on any other system | 19:18 |
| pcardune | well why don't we use screen in the meantime | 19:19 |
| pcardune | have you guys ever used screen before? | 19:19 |
| tehminkeh | yup | 19:19 |
| smalekgh | uh | 19:19 |
| Makorihi | ya | 19:19 |
| smalekgh | ... screen? like a monitor screen or is it like some special code-word for stabbing myself? | 19:19 |
| Makorihi | screen session | 19:19 |
| Makorihi | it can do gobby stuff | 19:20 |
| Makorihi | but in the terminal | 19:20 |
| smalekgh | oh | 19:20 |
| pcardune | ok Makorihi, can you set up a screen session then and get the rest of us some logins? | 19:20 |
| smalekgh | is it that thinger that we did that time in the thing at the ACC thing? | 19:20 |
| Makorihi | okay then | 19:20 |
| smalekgh | by the by, I couldn't ever find an online or downloadable API for schooltool <_< | 19:20 |
| pcardune | smalekgh: do you mean downloadable source code for schooltool? | 19:21 |
| smalekgh | no, I mean documentation | 19:21 |
| pcardune | oh | 19:22 |
| pcardune | the documentation is the code :) | 19:22 |
| pcardune | you can look at interfaces and you can look at the *.txt files | 19:22 |
| smalekgh | it'd be nice if the code could magically transform itself into a wondrous web-page with hyperlinks >_< | 19:22 |
| pcardune | all the .txt files are documentations for the module they are in | 19:23 |
| smalekgh | ah | 19:23 |
| pcardune | it actually can do that... | 19:23 |
| pcardune | you just need to enable devmode in schooltool.conf | 19:23 |
| smalekgh | oh | 19:23 |
| pcardune | and then the API is generated on the fly | 19:23 |
| pcardune | when you log in to schooltool you will see a devmode thing at the top right | 19:23 |
| pcardune | click on it and you can get to "apidoc" | 19:24 |
| pcardune | which is the fantastical zope api documentation tool | 19:24 |
| pcardune | Makorihi: how are we coming on screen sessions? | 19:24 |
| tehminkeh | oh guys, btw | 19:24 |
| tehminkeh | i have to leave at 2 | 19:24 |
| smalekgh | that's when it's over <_< | 19:25 |
| tehminkeh | convenient! | 19:25 |
| pcardune | yep | 19:25 |
| Makorihi | so there will be one screen session running as which user | 19:25 |
| pcardune | although I'll be available after that if you guys feel you are on a roll and want more of my time | 19:25 |
| pcardune | Makorihi: you pick, some user that we can all log in as | 19:25 |
| pcardune | and who has access to the files | 19:25 |
| smalekgh | in a very bashish way, I think I do | 19:26 |
| Makorihi | then | 19:26 |
| Makorihi | lets do it as fxo | 19:26 |
| smalekgh | NOooooooo!!! | 19:26 |
| smalekgh | >_< | 19:26 |
| Makorihi | smalekgh, change your password to password | 19:26 |
| smalekgh | mannn | 19:26 |
| Makorihi | i dont really want to do it as root | 19:27 |
| smalekgh | what was the command for password change? <_< | 19:27 |
| Makorihi | passwd | 19:27 |
| smalekgh | no wonder why it wasn't working... | 19:27 |
| tehminkeh | lol | 19:27 |
| smalekgh | fxo password | 19:27 |
| tehminkeh | all this for a screen session | 19:27 |
| tehminkeh | url? | 19:28 |
| Makorihi | ip is 68.100.102.147 | 19:28 |
| pcardune | ok, someone should start the screen server | 19:28 |
| Makorihi | i did | 19:28 |
| Makorihi | i think | 19:28 |
| tehminkeh | no ssh? | 19:28 |
| tehminkeh | why is port 22 closed? | 19:28 |
| Makorihi | uhh | 19:28 |
| Makorihi | it isnt... | 19:28 |
| tehminkeh | oh ok | 19:29 |
| smalekgh | just got disconnected, one sec | 19:29 |
| pcardune | ok, i'm logged in to a screen | 19:29 |
| Makorihi | okay | 19:29 |
| tehminkeh | its definitely hanging when i attempt ssh | 19:29 |
| tehminkeh | oh ok | 19:29 |
| Makorihi | hmm | 19:29 |
| tehminkeh | there we go | 19:29 |
| Makorihi | is everybody on? | 19:30 |
| tehminkeh | im logged in | 19:31 |
| smalekgh | I'm logged in, but un-initiated in the art of screening | 19:31 |
| pcardune | type screen -x pts-4 | 19:31 |
| Makorihi | i think | 19:32 |
| pcardune | ok, we can only let one person type at a time | 19:32 |
| Makorihi | ya | 19:32 |
| smalekgh | darn | 19:32 |
| pcardune | Makorihi: why don't you lead for a while since this is your server | 19:32 |
| Makorihi | okay | 19:32 |
| pcardune | so have you been able to start the schooltool server? | 19:33 |
| Makorihi | yes | 19:33 |
| pcardune | have you been able to get the scheduling source code? | 19:33 |
| Makorihi | nope | 19:33 |
| Makorihi | and | 19:33 |
| smalekgh | no, the e-mail didn't work <_< | 19:33 |
| Makorihi | i'm not sure how to create modules for schooltool | 19:33 |
| Makorihi | i looked at the source but it greatly confused me | 19:33 |
| pcardune | it is kind of like creating applications in zope | 19:34 |
| pcardune | except that there are a bunch of other stuff we can use for integration into schooltool | 19:34 |
| pcardune | i will show you guys some of these things | 19:34 |
| pcardune | but first we have to get the existing source code | 19:34 |
| Makorihi | where from? | 19:35 |
| smalekgh | so, who wants to hit ctrl-c? | 19:35 |
| smalekgh | existing source code is right there in 'src' methinks <_< | 19:35 |
| Makorihi | do i need to apt-get bzr? | 19:36 |
| pcardune | yeah | 19:36 |
| pcardune | so as you discovered the existing schooltool and cando src is in the src directory | 19:36 |
| pcardune | however, when we did scheduling last summer, we used bzr and stored the src on a completely separate branch | 19:36 |
| Makorihi | kay, installing | 19:36 |
| pcardune | so it isn't in the main cando repository | 19:37 |
| pcardune | you will continue to use bzr to work on this project | 19:37 |
| Makorihi | i suppose its installed now | 19:37 |
| pcardune | yep, it's working | 19:37 |
| smalekgh | it's just the server that needs bzr, right? | 19:37 |
| pcardune | bzr is the revision control system, where ever you want to use bzr, you need to install it ... | 19:37 |
| smalekgh | to google <_< | 19:38 |
| pcardune | ok, so let me tell you a bit about this code | 19:38 |
| pcardune | first of all, to get it to run, you need to put the scheduling-configure.zcml file somewhere | 19:38 |
| pcardune | just like we had to do for the zcontact application | 19:39 |
| pcardune | in the case of schooltool, you should put it here (see terminal) | 19:39 |
| pcardune | now if you start the server, the scheduling package will be loaded | 19:39 |
| pcardune | I would recommended starting the server in another shell | 19:39 |
| pcardune | so we can keep this one for typing | 19:40 |
| Makorihi | okay | 19:40 |
| Makorihi | its running | 19:41 |
| pcardune | Makorihi: what port? | 19:42 |
| Makorihi | 2033 | 19:42 |
| smalekgh | what were you just looking for? | 19:42 |
| pcardune | the port :) | 19:43 |
| smalekgh | the listening port? | 19:43 |
| pcardune | you should probably turn on devmode too | 19:43 |
| pcardune | as I was telling smalekgh, that is in schooltool.conf.in at the bottom | 19:43 |
| pcardune | wrong file | 19:44 |
| pcardune | and restart the server | 19:44 |
| Makorihi | restarted | 19:45 |
| smalekgh | system error occurd trying to access the docs >_< | 19:45 |
| pcardune | log in as manager first | 19:46 |
| pcardune | username: manager, password: schooltool | 19:46 |
| *** filip101 has left #schooltool | 19:47 | |
| pcardune | ok, let us take a look at the existing code | 19:47 |
| pcardune | i'll drive | 19:48 |
| pcardune | so a lot of this you may want to rewrite | 19:48 |
| pcardune | and or redesign | 19:48 |
| pcardune | this was the first application folks worked on last summer so it is not as pretty as the zope lessons | 19:49 |
| pcardune | the first thing you want to do as usual is right tests | 19:49 |
| pcardune | but even before that you have to know what your application is going to do | 19:49 |
| pcardune | so can one of you describe to me the exact goal for this application | 19:50 |
| tehminkeh | to provide an interface for students to select courses | 19:50 |
| smalekgh | provide students with the ability to choose their schedules for the upcoming year | 19:50 |
| tehminkeh | and then be able to dump that information for the administration | 19:50 |
| Makorihi | to be able to easily chose your courses and have your counselor be able to view your choices | 19:50 |
| pcardune | ok | 19:51 |
| smalekgh | jama's looks nice | 19:51 |
| tehminkeh | lol | 19:51 |
| pcardune | so do you have any architectural ideas about how you might do this? | 19:51 |
| tehminkeh | hmm | 19:51 |
| smalekgh | schooltool is meant for teachers to log into, right? not students? | 19:51 |
| Makorihi | well schedule object has course objects | 19:51 |
| Makorihi | well | 19:51 |
| tehminkeh | i think that the interface should probably have it grouped | 19:51 |
| tehminkeh | into like | 19:52 |
| tehminkeh | required courses | 19:52 |
| pcardune | students, teachers, administrators, etc | 19:52 |
| Makorihi | we need to be able to have a main database | 19:52 |
| tehminkeh | which you might have some leeway on | 19:52 |
| tehminkeh | and then electives | 19:52 |
| Makorihi | to see how many students take which courses | 19:52 |
| tehminkeh | and students should have to login and can only see their own | 19:52 |
| smalekgh | so teachers need to be able to set up which courses are available, and students should be able to choose them... | 19:52 |
| tehminkeh | yup | 19:52 |
| Makorihi | and they will be grouped according to type of course | 19:52 |
| Makorihi | and grade req | 19:53 |
| Makorihi | and credit req | 19:53 |
| pcardune | yep | 19:53 |
| pcardune | at the moment, schooltool suppers some of this functionality | 19:53 |
| pcardune | but not all of it | 19:53 |
| pcardune | supports* | 19:53 |
| smalekgh | supper... you're making me hungry... | 19:53 |
| pcardune | you can already create courses | 19:53 |
| pcardune | and then within courses are sections | 19:54 |
| pcardune | you might think of them as periods, but in schooltool they are called sections | 19:54 |
| pcardune | then you can add students and teachers to the sections | 19:54 |
| Makorihi | so, we need to make a way for the students to add themselves | 19:54 |
| pcardune | well no not really | 19:54 |
| Makorihi | but have a flag that shows if they are approved | 19:54 |
| pcardune | right | 19:55 |
| pcardune | that is a bit more like it | 19:55 |
| pcardune | I usually like to think about things from the UI perspective | 19:55 |
| pcardune | have you guys explored schooltool's UI that much? | 19:55 |
| Makorihi | not too much | 19:55 |
| smalekgh | it looks funky at almost every turn <_< | 19:55 |
| pcardune | well at the moment we mostly work with top level containers | 19:56 |
| pcardune | there is a container for all the people, a container for all the courses, a container for all the sections... so on | 19:56 |
| pcardune | these containers are where you will be getting lots of data about courses and people from | 19:56 |
| smalekgh | so for scheduling, we need to access | 19:57 |
| Makorihi | so | 19:57 |
| pcardune | but what steps would we want a student to take in order to register for a course | 19:57 |
| Makorihi | we want a list | 19:57 |
| Makorihi | of possible spaces to fill | 19:57 |
| pcardune | partly this requires user stories from Jeff, and I'll ask him for those, but we can think of a few things right off the bat | 19:57 |
| smalekgh | uh, log in, go down to 'scheduling' take a deep breath, sweat a little, get a list, check a few boxes, get rejected, try again, and then have his/her courses set up | 19:57 |
| Makorihi | such that they have initial limits | 19:58 |
| *** jinty has joined #schooltool | 19:58 | |
| smalekgh | in terms of user stories... | 19:58 |
| Makorihi | so | 19:59 |
| pcardune | (these would be really good things to add to your wiki page) | 19:59 |
| Makorihi | how do we get the container | 19:59 |
| smalekgh | Freddie goes to his computer, logs on to schooltool, goes to the menu list at the right and chooses 'Schedule', he then has 7 courses originally set to (NOTSIGNEDUP) | 19:59 |
| smalekgh | or however many for that school | 19:59 |
| *** lisppaste5 has quit IRC | 19:59 | |
| smalekgh | well, not courses | 19:59 |
| pcardune | I think the first thing you are going to want to start with is writing doc tests | 20:00 |
| pcardune | specifically functional tests | 20:00 |
| tehminkeh | guys. sorry i got to split | 20:00 |
| tehminkeh | cya later! | 20:00 |
| pcardune | they don't even need to work or anything, you just need to start writing them | 20:00 |
| smalekgh | aye, but don't we need a complete user story for that? | 20:00 |
| Makorihi | cya | 20:00 |
| pcardune | bye tehminkeh | 20:00 |
| *** tehminkeh has quit IRC | 20:00 | |
| smalekgh | cya steohen | 20:00 |
| pcardune | smalekgh: not necessarily | 20:00 |
| pcardune | you can always change the functional test or add to it | 20:00 |
| pcardune | I would actually begin writing the functional test in the wiki itself | 20:00 |
| pcardune | we have decided that new specifications should be written as functional tests | 20:01 |
| pcardune | do you guys remember where the documentation was for writing functional tests? | 20:02 |
| smalekgh | no :-( | 20:03 |
| pcardune | you have to look in the zope src code | 20:03 |
| Makorihi | so | 20:03 |
| Makorihi | in the functional test | 20:03 |
| Makorihi | we must get the course list from schooltool | 20:03 |
| Makorihi | how so? | 20:03 |
| pcardune | well, figure out how to do it in firefox | 20:04 |
| pcardune | then write up the steps using the functional testing api | 20:04 |
| *** lisppaste5 has joined #schooltool | 20:04 | |
| pcardune | (the readme for which I have on screen0 | 20:04 |
| smalekgh | oh, it looks nice... (sticks into memory) | 20:04 |
| pcardune | you might also want to look at REAME.txt from cando or schooltool source code | 20:04 |
| pcardune | for example, you might go and check out cando/virinia/browser/README.txt | 20:05 |
| pcardune | or cando/journal/browser/README.txt | 20:05 |
| smalekgh | those test out the entireties of each module? | 20:06 |
| pcardune | no, those are just the functional tests | 20:06 |
| pcardune | there are also unit tests | 20:06 |
| pcardune | cando doctests are not complete everywhere, so not *all* of cando is as thouroughly tested as it should be | 20:07 |
| pcardune | anyhow, over the course of the next week I want you to get into these doctests | 20:08 |
| pcardune | learn how to write them | 20:08 |
| pcardune | I'll help you along the way also | 20:08 |
| smalekgh | yessir | 20:08 |
| pcardune | and hopefully by next week we will have the first few steps that can be implemented | 20:08 |
| pcardune | I want you to write the functional tests in browser.txt | 20:09 |
| pcardune | and every time you make a change you should commit it to the bzr branch | 20:09 |
| pcardune | how familiar are you guys with bzr? | 20:09 |
| Makorihi | not very | 20:10 |
| smalekgh | on a scale of 1-1000, around a 0.1 | 20:10 |
| pcardune | ok, well that should probably be the first thing you do | 20:10 |
| pcardune | look at this tutorial written by kevin cole here: http://dc.ubuntu-us.org/resources/tutorials/bzr-intro.php | 20:10 |
| pcardune | I want you to use bzr religiously | 20:11 |
| pcardune | I want to be able to checkin on your progress during the week | 20:11 |
| pcardune | Makorihi: maybe you could give me an account on your server? | 20:11 |
| Makorihi | i have | 20:11 |
| Makorihi | password is password | 20:12 |
| Makorihi | username is pcardune | 20:12 |
| smalekgh | can I have my account back yet? | 20:12 |
| Makorihi | if class is over, then i guess | 20:12 |
| Makorihi | i mean, meeting* | 20:12 |
| pcardune | I will email jeff so that we might all have a discussion about specific features he wants | 20:13 |
| pcardune | also take a look at the existing src code and see if you can figure out how it works | 20:13 |
| pcardune | ok, so do you guys have enough to keep you busy for the next few days? | 20:17 |
| smalekgh | ... yes | 20:17 |
| Makorihi | indeed | 20:17 |
| pcardune | ok, well then i'll let you get to work. Shoot me an email if you have any questions. | 20:18 |
| Makorihi | okay | 20:18 |
| smalekgh | kk | 20:18 |
| *** Makorihi has quit IRC | 20:20 | |
| smalekgh | paul, you still there? | 20:32 |
| *** alga has joined #SchoolTool | 20:32 | |
| smalekgh | oh, bah, to gmail... cya peoples~! (or at least whoever's here) | 20:33 |
| *** smalekgh has left #schooltool | 20:33 | |
| *** khaleel5000 has joined #schooltool | 20:42 | |
| *** AVN` has quit IRC | 20:51 | |
| *** alga has quit IRC | 20:53 | |
| *** khaleel5000 has quit IRC | 21:28 | |
| *** filip101 has joined #schooltool | 21:59 | |
| *** filip101 has quit IRC | 22:19 | |
| *** pcardune_mac has quit IRC | 22:52 | |
| *** pcardune has quit IRC | 23:10 | |
| *** jelkner has joined #schooltool | 23:10 | |
| *** Fujitsu has joined #schooltool | 23:14 | |
| *** jelkner has quit IRC | 23:48 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!