th1a | ignas: Do you think ZEO might be an option? | 00:00 |
---|---|---|
ignas | ZEO? how? | 00:01 |
* ignas is using ZEO for lyceum... | 00:01 | |
th1a | If the agent was a separate app that used SchoolTool's ZODB. | 00:01 |
th1a | How are you using it? | 00:01 |
ignas | to run new UI and old UI on the same Data.fs | 00:02 |
th1a | Ah. | 00:02 |
ignas | a separate app might make sense | 00:02 |
ignas | it would not be very easy to maintain, yet it would make the implementation a lot more simple | 00:02 |
th1a | Hm... let me think about how it would actually work. | 00:03 |
th1a | Perhaps it wouldn't, since the agent would have to send messages in response to SchoolTool events. | 00:03 |
th1a | So you'd still be passing a message that may or may not be received. | 00:04 |
* ignas has to go afk for 15 mins, sorry | 00:05 | |
*** pcardune has quit IRC | 00:05 | |
*** jstraw has joined #schooltool | 00:11 | |
*** jstraw is now known as Lumiere | 00:11 | |
ignas | th1a: that's why i think that maintaining such thing would be more difficult, you'd have so add a queue in ZODB for comunication between the external SIF process and schooltool | 00:30 |
ignas | on the other hand you'll need something like that if you will do it with threads anyway | 00:30 |
ignas | I'd go for external process | 00:30 |
ignas | as that will limit communication to 1 queue and keep both things separate (a.k.a. safe from each other) | 00:31 |
th1a | How should the agent and the main SchoolTool process communicate? | 00:31 |
ignas | through a queue of events stored in ZODB | 00:32 |
th1a | Oh, I see. | 00:32 |
ignas | processed 1 by 1 by an external SIF process | 00:32 |
th1a | The agent would wake up and look at it periodically? | 00:32 |
ignas | yes | 00:32 |
th1a | ok | 00:32 |
th1a | i can wotk on that | 00:33 |
th1a | wotk | 00:33 |
th1a | work | 00:33 |
ignas | schooltool would require some primitives (functions) for putting messages into that queue | 00:33 |
ignas | and that's it ... | 00:33 |
th1a | yep. | 00:33 |
*** pcardune has joined #schooltool | 01:42 | |
*** eukreign has quit IRC | 01:54 | |
*** eukreign has joined #schooltool | 01:55 | |
*** eukreign has quit IRC | 01:58 | |
*** eukreign has joined #schooltool | 01:59 | |
*** eukreign has quit IRC | 02:25 | |
*** eukreign has joined #schooltool | 02:26 | |
*** ignas has quit IRC | 02:47 | |
*** eukreign has quit IRC | 02:54 | |
*** eukreign has joined #schooltool | 02:55 | |
*** eukreign has quit IRC | 03:12 | |
*** eukreign has joined #schooltool | 03:13 | |
*** alga has joined #SchoolTool | 03:33 | |
*** alga has quit IRC | 03:54 | |
*** eukreign has quit IRC | 04:24 | |
*** eukreign has joined #schooltool | 04:25 | |
*** pcardune has quit IRC | 04:25 | |
*** eukreign has quit IRC | 04:50 | |
*** wrobel has joined #schooltool | 05:37 | |
*** aelkner has quit IRC | 07:30 | |
*** jfroche has quit IRC | 08:34 | |
*** Lumiere has quit IRC | 08:37 | |
*** didymo has quit IRC | 08:37 | |
*** tiredbones has quit IRC | 08:37 | |
*** Lumiere has joined #schooltool | 08:39 | |
*** didymo has joined #schooltool | 08:39 | |
*** tiredbones has joined #schooltool | 08:39 | |
*** ignas has joined #schooltool | 09:46 | |
*** jfroche has joined #schooltool | 09:53 | |
ignas | jfroche: hi | 10:32 |
jfroche | hello ignas | 10:32 |
jfroche | how are you ? | 10:32 |
jfroche | ready to flight ? | 10:32 |
ignas | jfroche: kind of :) have to pack stuff, send you my up to date picture | 10:33 |
ignas | jfroche: btw - i will most probably be late | 10:33 |
jfroche | late ? | 10:33 |
ignas | as Vilnius airport is closed at the moment because of a heavy fog | 10:33 |
ignas | :/ | 10:34 |
jfroche | no problem, ll v my laptop and there is connection there ;) | 10:34 |
ignas | it's 6 hours until the flight so things might change | 10:34 |
ignas | I'll try to keep you informed ... | 10:34 |
jfroche | thanks | 10:37 |
jfroche | you take your laptop ? | 10:37 |
ignas | yes | 10:54 |
jfroche | do you need anything special in here ? | 11:05 |
ignas | like ? | 11:06 |
jfroche | euh don't know | 11:10 |
jfroche | food | 11:10 |
jfroche | uhm make it so: if you need something for here just ask | 11:10 |
ignas | ok :) | 11:10 |
*** jinty has joined #schooltool | 11:21 | |
*** vidasp has joined #schooltool | 11:51 | |
*** Aiste has joined #schooltool | 13:04 | |
*** mgedmin has joined #schooltool | 13:09 | |
*** thisfred has joined #schooltool | 13:12 | |
ignas | jfroche: could you email me some contact information just in case, like phone number, address ... | 13:33 |
jfroche | doing it now | 13:33 |
jfroche | thanks for photo | 13:36 |
*** alga has joined #SchoolTool | 13:50 | |
jfroche | ignas: mail sent | 13:57 |
ignas | thank you | 14:22 |
*** ignas has quit IRC | 14:32 | |
*** jfroche has quit IRC | 15:40 | |
*** jfroche has joined #schooltool | 15:41 | |
*** th1a has quit IRC | 15:50 | |
*** th1a has joined #schooltool | 16:02 | |
*** ignas has joined #schooltool | 16:25 | |
*** ignas is now known as ignas_delayed | 16:25 | |
*** ignas has joined #schooltool | 16:59 | |
*** ignas_delayed has quit IRC | 17:15 | |
*** ignas has quit IRC | 17:17 | |
*** alga has quit IRC | 17:20 | |
*** alga has joined #SchoolTool | 17:27 | |
*** th1a has quit IRC | 17:44 | |
*** th1a has joined #schooltool | 17:45 | |
*** aelkner has joined #schooltool | 17:47 | |
aelkner | Does anyone know how I can solve what seems like an inactivity timeout I'm having with ssh? | 17:52 |
Lumiere | there's a setting you can put in your sshd.conf | 17:53 |
aelkner | Hey Jason. I remember you now from the sprint. | 17:54 |
aelkner | We met almost two years ago at Dave's lab. | 17:54 |
Lumiere | yea | 17:56 |
Lumiere | I'll be back in a little bit | 17:56 |
Lumiere | gotta run into the ACC :) | 17:56 |
*** Lumiere has left #schooltool | 17:56 | |
*** wdickers has joined #schooltool | 17:59 | |
wdickers | morning | 17:59 |
aelkner | good moring. have you read my email? | 18:01 |
wdickers | yes | 18:01 |
aelkner | there's more I would like to explain. | 18:01 |
aelkner | First, did you notice that I left two routines there that are the old way? | 18:02 |
wdickers | one moment, I haven't had a chance to look at the files | 18:02 |
wdickers | Alright, the makeAck and makeError? | 18:04 |
aelkner | Right. Notice how buildElement allows us to halve the size of the code by doing two things for us? | 18:05 |
wdickers | Yeah, and I like how you used **kw | 18:06 |
aelkner | I love being concise :) | 18:06 |
aelkner | So. if you run it you'll see how it builds then parses. | 18:07 |
wdickers | The only reason I didn't want to use **kw in the first place was that it makes the calls to that method rather long | 18:07 |
wdickers | Because you have to have key=value for each argument | 18:08 |
aelkner | It does, but the statement to build the dict is even longer, right? | 18:08 |
wdickers | Yeah, you're right | 18:08 |
aelkner | So now we have the model for trnaslating to and from dict and xml, thus encapsulating lxml. | 18:09 |
aelkner | This way we could even change our mind (which we won't) about which tree lib to use without changing any code but this routine. | 18:09 |
wdickers | Ahhh. Nice | 18:10 |
aelkner | That's the kind of programming practice I prefer. Keep everything in its place. | 18:10 |
aelkner | Anyway, you could continue what I've done with other messages. | 18:10 |
th1a | Is this in svn? | 18:10 |
wdickers | So now we only use etree in two places in the class | 18:10 |
wdickers | Sure | 18:11 |
aelkner | Not yet. | 18:11 |
aelkner | What's the command: svn commit -m "whatever"? | 18:11 |
wdickers | So you want me to change makeAck and makeError? How will I call the methods of MessageTools? | 18:12 |
aelkner | Will, I thought rather than pair on the same file (which we can do at times), we'd split our work. | 18:13 |
wdickers | okay. What would you like me to work on? | 18:13 |
aelkner | You can make routines buildAck and buildError within the class that does the same thing. | 18:13 |
aelkner | Then you can get rid of makeAck and makeError. | 18:14 |
aelkner | Also there's all kinds of other messages that need to be built and parsed. | 18:14 |
aelkner | See exam.py as a guide. | 18:14 |
aelkner | th1a: ? | 18:14 |
wdickers | Okay. I'll have to copy the files and work on it in my directory though, I don't have permission to edit in yours | 18:14 |
aelkner | I can fix that. | 18:15 |
aelkner | What group are you in? | 18:15 |
aelkner | th1a: Are you there? | 18:15 |
wdickers | Hmm, I'm not sure. But my account is on maddog so I'm guessing I'm not public | 18:15 |
aelkner | look in /etc/groups. | 18:16 |
aelkner | /etc/group | 18:16 |
aelkner | /etc/passwd | 18:16 |
aelkner | Looking there it looks like Jeff needs to set up groups for us. | 18:17 |
aelkner | Now it seems like we only belong to a group with our own name. | 18:18 |
wdickers | Yeah, all I see is this | 18:18 |
wdickers | wdickers:x:1003:1003:Will Dickerson,,,703 969 5580:/home/wdickers:/bin/bash | 18:18 |
aelkner | Go ahead and copy and edit as you suggested. | 18:18 |
wdickers | alright | 18:18 |
aelkner | I'll let you know when Jeff solves our problem. | 18:18 |
th1a | aelkner: What? | 18:18 |
wdickers | I can go tell jeff what do to. We want a group of who exactly, just you and me? | 18:19 |
aelkner | th1a: my question above? | 18:19 |
aelkner | svn commit... | 18:19 |
aelkner | Right. He's there. | 18:19 |
aelkner | We need a group call develop that has you, me, and hoffman as members for starters. | 18:20 |
wdickers | gotcha | 18:20 |
aelkner | th1a: ? | 18:20 |
aelkner | th1a: you're there, but you're not it seems. | 18:21 |
th1a | svn commit? | 18:23 |
aelkner | svn commit -m "message", right? | 18:23 |
aelkner | Will, can you get Jeff to come over to your station to help me with another problem when he can? | 18:25 |
th1a | To? | 18:26 |
th1a | We do? | 18:26 |
th1a | What are we trying to do? | 18:26 |
th1a | What's the question? | 18:26 |
aelkner | th1a: you asked me if I commited my changes. I asked you for the command. | 18:27 |
wdickers | he made the group openzis | 18:28 |
wdickers | I'll get him over here | 18:28 |
aelkner | When he gets there, please have him add the following to /etc/ssh/sshd/config: | 18:29 |
aelkner | ClientAliveInterval 300 | 18:29 |
aelkner | Tell him its to stop my ssh client from disconnecting if I'm not active constantly. | 18:30 |
*** th1a_ has joined #schooltool | 18:30 | |
wdickers | he got the message | 18:30 |
aelkner | thanks. | 18:30 |
aelkner | th1a_? what's that? | 18:30 |
th1a_ | Hm... lagging on my desktop so I switched to my laptop. | 18:30 |
th1a_ | Not getting good reception on the desktop. | 18:31 |
aelkner | I see. | 18:31 |
aelkner | svn commit -m "message"? | 18:31 |
*** th1a_ is now known as th1a|X60s | 18:31 | |
th1a|X60s | To where? | 18:31 |
aelkner | Remember I did the svn co to maddog and am editing there. | 18:31 |
aelkner | Will's there, too. | 18:31 |
aelkner | Tomorrow at 10, you and I will be there. | 18:32 |
th1a|X60s | Yes... but I don't want you to cmmit to the tinyzis trunk. | 18:32 |
aelkner | Well, this is what I need you to explain to me. How to do updates as a rule. | 18:33 |
th1a|X60s | We need to make a separate project, right? | 18:33 |
wdickers | elkner can't find the file. There's only /etc/ssh/sshd_config he's asking you to look to make sure | 18:34 |
th1a|X60s | What is this agent called? | 18:34 |
aelkner | Will, that's the one. I made a typo. | 18:34 |
aelkner | Also, tell him to do this when he's done editing: | 18:34 |
aelkner | /sbin/service sshd reload | 18:34 |
aelkner | th1a: we haven't created an agent yet. We plan on creating multiple agents to test our framework of push and pull. | 18:35 |
aelkner | th1a: is your question geered to nameing a branch? | 18:36 |
th1a | Where are you committing to? | 18:36 |
aelkner | I dunno. I thought you would be telling me these things. | 18:37 |
aelkner | So far I added files to the trunk. I could put htem elsewhere if you so desire. | 18:37 |
aelkner | I haven't commited anything yet. | 18:37 |
th1a|X60s | That second "Where are you committing to?" took about five minutes to make it to you. | 18:39 |
wdickers | he restarted ssh, is that what you needed? | 18:39 |
th1a|X60s | That's why it is out of context. | 18:39 |
aelkner | I understand, networking problems... | 18:39 |
th1a|X60s | Anyhow, this is a separate project. | 18:39 |
wdickers | Alright, I'm out of time. I'll finish the makeAck and makeError by tomorrow | 18:39 |
th1a|X60s | So it needs a name. | 18:39 |
aelkner | buildAck, right? | 18:39 |
aelkner | that was for Will. | 18:40 |
aelkner | th1a: why not call it agents? | 18:40 |
aelkner | or agentBase? | 18:40 |
wdickers | ah, I'll change the names | 18:41 |
th1a|X60s | PyAgent? | 18:41 |
aelkner | Will, did Jeff run the sshd reload? | 18:41 |
*** wdickers has quit IRC | 18:41 | |
aelkner | Ok, Tom, Will is gone so my messages are for you bydefault. | 18:41 |
aelkner | PyAgent, why not? | 18:41 |
aelkner | Assume I'm a novice with svn, and please explain branches and what I need to do to use them. | 18:42 |
th1a|X60s | This isn't a branch, because it is a different project. | 18:42 |
aelkner | Why a different project when the source can live in the same directory? | 18:43 |
aelkner | Remember code sharing? | 18:43 |
th1a|X60s | Well, ultimately there will need to be three packages. | 18:44 |
th1a|X60s | The shared libraries, the ZIS and the Agent libraries. | 18:44 |
aelkner | Ok, so we do that later as we agreed. | 18:45 |
aelkner | For now you want a new peoject, right? | 18:45 |
th1a|X60s | Yes. | 18:45 |
th1a|X60s | Give me a minute to create it. | 18:45 |
*** Lumiere has joined #schooltool | 18:45 | |
aelkner | Hey Jason. Thaks for pointing me to the solution to my ssh problem. | 18:45 |
Lumiere | np | 18:45 |
th1a|X60s | ok... aelkner: svn co https://svn1.hosted-projects.com/sif/pyagentlib/trunk | 18:53 |
aelkner | from my home, right? | 18:54 |
th1a|X60s | Where ever you wish. | 18:54 |
aelkner | So now I have a dir called trun off of my homedir that's empty. So far so good? | 18:55 |
aelkner | trunk | 18:55 |
th1a|X60s | OK. That's your new trunk. | 18:56 |
*** jinty has quit IRC | 18:59 | |
*** aelkner has quit IRC | 19:46 | |
*** lisppaste5 has quit IRC | 20:05 | |
*** lisppaste5 has joined #schooltool | 20:09 | |
*** alga has quit IRC | 20:27 | |
*** thisfred has quit IRC | 21:30 | |
*** mgedmin has quit IRC | 21:39 | |
*** jfroche has joined #schooltool | 23:05 | |
Lumiere | bbl | 23:50 |
*** Lumiere has left #schooltool | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!