[04:31] *** Lawouach has joined #kamaelia
[07:23] *** Uraeus has joined #kamaelia
[07:28] *** SamHasler has joined #kamaelia
[07:49] *** salmon_ has joined #kamaelia
[09:05] *** MS- has joined #kamaelia
[09:05] < MS-> greetings
[09:05] < Uraeus> hi MS-
[09:06] < Uraeus> MS-: we will probably have a BBC person in the office today or in the near future, seems the BBC has given the greenlight to a documentary about Sinclair, and the producer wants to come here to do some location scouting etc, since Sinclair used to have his office close to ours :)
[09:07] < MS-> Ahh, that's pretty cool :)
[09:07] < MS-> IIRC you still tend to even see a sinclair C5 going round Cambridge
[09:07] < MS-> Or used to last time I was around :)
[09:07] *** PJ_Coudert has joined #kamaelia
[09:40] < aa_> in the year 18 hundred and something
[09:40] *** aa_ hides
[09:40] < MS-> heh
[09:40] < MS-> :)
[10:01] *** vmlemon_ has joined #kamaelia
[10:35] *** wyleu has joined #kamaelia
[11:42] < Lawouach> eh eh http://github.com/disturbyte/zenqueue/tree/master
[11:42] < Lawouach> this reminds of when I wrote bucker http://trac.defuze.org/wiki/bucker
[11:42] < Lawouach> seems everyone writes his own queue/distributed product these days
[11:43] < Lawouach> :p
[13:01] < Lawouach> MS-: are you there mate?
[13:02] < Lawouach> I have a quick question if you're around
[13:02] Reply: Hi, I'm a bot. I've been put here to answer faq's and log the channel.
[13:02] Reply: I've not really been configured yet, so I won't do much here yet :-)
[13:02] < MS-> yep
[13:02] < Lawouach> cool
[13:02] < MS-> sorry, I hadn't noticed earlier (was afk for a bit)
[13:02] < Lawouach> have you tried running Axon inside a process started using the multiprocessing module?
[13:03] < MS-> Not inside multiprocessing, but there are hooks in there for dealing with running inside pprocess
[13:03] < Lawouach> I'm evaluating my options for a task at work and I'd like to be able to run Axon components that way
[13:03] < MS-> (specifically zapping the scheduler in case it's already got anything there)
[13:03] < Lawouach> essentially, do you see any pitfalls?
[13:03] < Lawouach> right
[13:03] < MS-> If you do something wrong you can get some real wierd stuff going on :)
[13:04] < MS-> (for example components being active in two processes, and one feeding into another)
[13:04] < Lawouach> hmm
[13:04] < MS-> That's why the scheduler gained the zap method :)
[13:04] < Lawouach> I'm wondering, are those processes real unix processes with their own Python vm?
[13:04] < MS-> yes
[13:04] < Lawouach> or do they share the Python VM instance?
[13:04] < Lawouach> so how come the scheduler is leaking?
[13:05] < MS-> What do you mean?
[13:05] < MS-> Oh, transferring onto the other?
[13:05] < MS-> pprocess calls fork()
[13:05] < MS-> if you do that after the scheduler has started
[13:06] < Lawouach> oooooh
[13:06] < Lawouach> I see
[13:06] < MS-> then you get a copy of everything ...
[13:06] < Lawouach> I should be safe if I start the scehduler from within the forked process right?
[13:06] < MS-> I suspect that multiprocessing does the same
[13:06] < MS-> yes
[13:06] < Lawouach> right
[13:07] < Lawouach> The thing is, I find the multiprocessing package very tempting for some long tasks I have to run but once inside a forked process, I'd like to use Kamaelia to perform the actual job :)
[13:07] *** MS- nods
[13:09] < MS-> rummaging inside the multiprocessing module yields this:
[13:09] < MS-> forking.py: self.pid = os.fork()
[13:09] < MS-> which shows that it can have similar issues.
[13:13] < Lawouach> right
[13:14] < Lawouach> thanks
[13:14] < MS-> you're welcome :)
[13:15] < MS-> BTW, how would you feel if I mirrored your Kamaelia apps into Kamaelia.Apps ? (eg Kamaelia.Apps.Bucker or Kamaelia.Apps.bucker ) ? The idea is to make it easier for people to reuse components from inside other apps.
[13:16] < MS-> I'm planning on opening Kamaelia.Apps up more widely, and reserving namespaces for known existing apps
[13:16] < MS-> I'd imagine that at the moment it just doesn't fit or make sense at all
[13:17] < MS-> But I'm planning on trying to make it easier to reuse whole kamaelia apps for other stuff. (much like reusing the whiteboard code in the scribble n write app & scribble n link toy)
[13:20] < Lawouach> I'm fine by it and the license allows it :)
[13:21] < Lawouach> that being said, I don't actively maintain all of those products (though headstock is currently maintained)
[13:21] < Lawouach> bucker on the other hand isn't really anymore
[13:21] < Lawouach> though it probably still works just as well :)
[13:21] < MS-> Cool.
[13:23] < MS-> I'm currently writing a mail at work to try and get Kamaelia's license changed to something BSD like - probably Apache 2.0 license, and I might use "being compatible with other Kamaelia projects" as a rationale :)
[13:23] < MS-> (along with other reasons)
[13:23] < MS-> since actually I've been asked that by a lot of people really
[13:24] < MS-> (well, alot is relative, but... :) )
[13:24] < Lawouach> I saw that
[13:24] < Lawouach> I didn't mind the current license but well
[13:24] < Lawouach> BSD is the real deal :p
[13:24] < Lawouach> bucker seems to work just fine
[13:26] < MS-> Well, yes. BSD is my personal preference. The MIT license seems to be the simplest of all really, but clause 5 of the Apache license is really handy:
[13:27] < MS-> 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions.
[13:27] < MS-> ie "done"
[13:29] < Lawouach> right
[14:47] < MS-> OK, asking the legal people first if they have any objections.
[14:47] < MS-> The fact that the BBC's released more than one project under the apache license (which I've pointed out) SHOULD mean they don't have any.
[14:53] < MS-> Means that also given it's not on the workplan at work, and the fact that I don't work on it during work time (unless I'm using it for a project of course...)
[14:53] < MS-> it is then fairer to everyone else (including me :)
[14:56] < Lawouach_> MS-: good
[14:56] < MS-> It's why I personally prefer the BSD license family in general really - everyone ends up with the same rights, abilities, and most importantly, complete lack of headaches :)
[15:49] < Lawouach_> http://news.bbc.co.uk/2/hi/uk_news/8056700.stm
[15:49] < Lawouach_> come on :)
[15:58] *** salmon_ has joined #kamaelia
[16:07] *** vmlemon_1 has joined #kamaelia
[16:09] < vmlemon_1> Hi
[16:09] < Lawouach_> hi
[16:09] *** vmlemon has joined #kamaelia
[16:09] *** vmlemon_1 is now known as vmlemon_
[18:00] *** MS- has joined #kamaelia
[18:24] < vmlemon_> Hi MS-
[19:20] *** vmlemon_ has joined #kamaelia