[04:17] < Lawouach_> morning
[04:46] *** salmon_ has joined #kamaelia
[06:20] *** Uraeus has joined #kamaelia
[06:28] < Lawouach_> sweet
[06:29] < Lawouach_> I've finally managed to get my XMPP library running on Jython :)
[06:35] < ms-away> Really?
[06:36] < Lawouach_> yeap
[06:36] < ms-away> Your XMPP library ontop of kamaelia ?
[06:36] < Lawouach_> yes
[06:36] < ms-away> Wow, excellent! :-)
[06:36] < Lawouach_> Kamaelia wasn't actually a problem at all BTW
[06:36] < Lawouach_> It took me a couple of days to port my XML parser to Jython
[06:36] < ms-away> Cool :-)
[06:36] < Lawouach_> I didn't want to change the XMPP/Kamaelia layer
[06:36] < Lawouach_> yes it's very cool
[06:36] *** ms-away nods
[06:37] < ms-away> That is very cool to hear.
[06:37] < Lawouach_> :)
[06:37] < Lawouach_> I have tested with the latest Jython trunk
[06:37] < Lawouach_> I can't tell if it works with the latest stable release
[06:38] < ms-away> Even so though, that's one huge milestone as far as I'm concerned. A large funky library by someone not me that runs on top of K running on top of Jython
[06:38] < ms-away> That's amazingly cool :)
[06:39] < ms-away> Congrats :-)
[06:40] < Lawouach_> ta :)
[06:41] < Lawouach_> Jython has come a long way I guess since I can also run CherryPy with it (apart from a minor patch tpo apply that will probably make it to the CP trunk soon)
[06:42] < Lawouach_> what this means to me immediately is that I can keep using most of my code at work in a context where I thought I'd have to drop it in favor of Java
[06:42] < Lawouach_> Now it looks I'm good to go with Jython instead
[06:42] < Lawouach_> that is sweet music to me
[06:42] < ms-away> That really is cool to hear
[06:43] < Lawouach_> :)
[06:43] < ms-away> You've probably noticed that I'm slowly merging Jason's code at the moment as well. And whilst it needs a bit of hacking around to make it generally useful,
[06:43] < Lawouach_> That's good to hear
[06:43] < ms-away> the fact it supports your XMPP code & cherry py etc as well should make an interesting test
[06:43] < ms-away> as well
[06:43] < Lawouach_> I can understand it's a tedious task
[06:44] < Lawouach_> indeed
[06:44] < ms-away> Well, it's written in such an *odd* style :)
[06:44] < ms-away> I understand what he was doing clearly now though
[06:44] < ms-away> and seperating it out as an app has made everything go alot smoother
[06:44] < Lawouach_> cool
[06:45] < ms-away> I'm still smiling about your code running on Jython btw :-)
[06:47] < Lawouach_> uh uh :)
[06:48] < Lawouach_> Yeah, I was pleased as well to see that, aside from that XML parser, it just ran
[06:48] < ms-away> I'm pretty surprised tbh, but it's really cool.
[06:49] < Lawouach_> Regarding the parser, Java SAX parser doesn't support the feed(chunk) method that allows to keep parsing more incoming data
[06:49] < ms-away> I saw your frustrated comment about that
[06:49] < Lawouach_> so I ended up doing something that would perform that task atop their XML pull parser
[06:49] < Lawouach_> I'm stubborn :)
[06:49] < ms-away> :-)
[06:49] < Lawouach_> I dislike when technology gets into my way
[06:50] < ms-away> likewise
[06:50] < Lawouach_> The current solution I wrote seems good enough to me even though it might not be the most efficient. It doesn't bother me because it works :)
[06:53] < ms-away> Well, I always think a working solution is the most important first step anyway. You then just worry about if it's fast enough after all.
[06:55] < Lawouach_> indeed
[07:30] *** Uraeus has joined #kamaelia
[07:30] *** salmon_ has joined #kamaelia
[07:33] < ms-away> Thinking about it, if kamaelia *IS* running cleanly on Jython, then it makes writing a threaded chassis much much more important
[07:39] < ms-away> It'd mean that your "optimisation" phase could simply be more CPUs in a machine ...
[07:41] < Lawouach_> I like that idea ;)
[07:41] < ms-away> It's more cost effective too if you think about it :-)
[07:48] < ms-away> OK, tram
[07:48] < ms-away> afk
[07:48] *** ms-away has parted #kamaelia
[08:57] *** MS- has joined #kamaelia
[10:51] *** wyleu has joined #kamaelia
[10:58] < MS-> Whilst Seq & PAR were relatively simple,
[10:58] < MS-> a "repeat" or "do" statement is somewhat harder it seems
[11:01] < MS-> That said, I have a working Do/repeat/If statement
[11:03] < MS-> http://pastebin.com/m2c0ce00e has the core usage
[11:04] < MS-> Grabs 10 values via TCP using TCPClient, pausing for a second in between, updating a shared environment
[11:04] < MS-> The lambda statements are there because without them all the values are evaluated immediately
[11:04] < MS-> Rather than delayed.
[11:05] < MS-> The "Do" part of that is the interesting bit
[11:35] < Lawouach_> indeed
[11:37] *** Davbo has joined #kamaelia
[12:44] < ronny> sup
[13:10] < MS-> hey
[14:17] *** salmon_ has joined #kamaelia
[14:40] < MS-> I do so like the fact that all components have a unique id that includes their full name. One of the better decisions I made a long time ago :-)
[14:40] < Lawouach> :)
[14:41] < MS-> (looking at some updating stuff, and seeing all the numbers change next to the fully qualified component names is nice)
[14:42] < MS-> This could be prettier though:
[14:42] < MS-> http://pastebin.com/m181a2fa7
[14:44] < Lawouach> uh uh yes
[15:35] *** vmlemon_ has joined #kamaelia
[16:22] < MS-> right, off home
[16:23] *** MS- has parted #kamaelia
[16:24] < vmlemon_> Hi
[16:51] < Lawouach> argh
[16:51] < Lawouach> svn update Kamaelia when you haven't done it for a while is a mistake
[16:51] < Lawouach> so long :)
[16:52] *** vmlemon_ has joined #kamaelia
[18:56] *** vmlemon_ has joined #kamaelia
[19:19] *** Lawouach_ has joined #kamaelia
[19:27] *** MS- has joined #kamaelia
[19:28] < MS-> evening
[19:44] *** vmlemon_1 has joined #kamaelia
[20:21] *** vmlemon_ has joined #kamaelia
[20:23] *** vmlemon has joined #kamaelia