[01:32] *** vmlemon_ has joined #kamaelia
[02:23] *** wyleu has joined #kamaelia
[03:08] *** wyleu has joined #kamaelia
[06:08] *** Lawouach_ has joined #kamaelia
[06:08] < Lawouach_> hello
[07:12] < Lawouach_> Well IronPython is still not Kamaelia ready.
[07:23] *** orphans has joined #kamaelia
[07:36] *** j_baker has joined #kamaelia
[07:40] *** Uraeus has joined #kamaelia
[08:28] < Lawouach_> Currently IronPython and kamaelia fail because of this bug
[08:28] < Lawouach_> http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=17561
[08:28] < Lawouach_> That I've opened.
[08:28] < Lawouach_> IP is not complete but metaclasses do suck
[08:41] *** Davbo has joined #kamaelia
[08:46] *** MS- has joined #kamaelia
[08:46] < MS-> morning
[08:47] *** MS- notes he moved the logs at the weekend
[08:48] *** orphans notes the new address - ta MS- 
[08:49] *** orphans segfaults :)
[08:49] < MS-> Yep, I made sure I updated the channel's topic
[08:53] < MS-> Davbo: morning
[08:53] < Davbo> morning MS-
[08:54] < MS-> How goes?
[08:54] < MS-> I saw you've been restructuring things
[08:55] < MS-> http://edit.kamaelia.org/Developers/Projects/KamaeliaPaint hasn't been updated in a couple of weeks though - would be useful to get a summary of work from the past couple of weeks there
[08:55] < MS-> (nothing major, just an overview)
[08:58] *** MS- reads j_baker's reply
[08:58] < Davbo> Hey MS-, sorry I got conscripted to some manual labour
[08:59] < Davbo> Yeah, I'll write up a summary of what's gone on
[09:00] < MS-> Davbo: np & thanks
[09:09] < MS-> Also when you're back a talk through stuff would be useful
[09:10] < MS-> (esp so I can help with packaging up with you)
[09:12] < Davbo> back, sorry again. All done now :-)
[09:15] *** MS- notes this: http://edit.kamaelia.org/Developers/Projects/KamaeliaPublish/CrossTalk
[09:16] < MS-> Not sure I like the idea of slinging pre-parsed HTTP data around. I can understand the rationale that got things there, but it means that a third party has to deal with a non-standard form of HTTP rather than a standard.
[09:16] < Davbo> Sounds like a Christian discussion group
[09:16] < MS-> No, I think the name is fine
[09:17] < MS-> It's just the idea that it opens up a third party to something they're not expecting
[09:17] < MS-> I'm also unclear as to the serialisation for things like chunked encoding
[09:18] < Davbo> interesting
[09:18] < MS-> But hey, he's marking it as experimental, so experimental it is
[09:19] < MS-> After all the saying is "If you always do what you've always done, you always get what you've always got"
[09:19] < Davbo> I suppose
[09:20] < Davbo> Oh I see what he's doing
[09:21] < Davbo> Anyway,
[09:22] < Davbo> I want to get animation in this week MS-
[09:22] < MS-> Sounds like a good goal.
[09:23] < MS-> & fun :)
[09:23] < Davbo> I have already made a start on some parts, it shouldn't be a problem.
[09:23] < MS-> I take it the layers stuff should help somewhat there?
[09:23] < Davbo> Yeah
[09:24] < MS-> What's your take on my using your code as an example of how that proposed bit of syntax may make things clearer?
[09:24] < MS-> If you think it makes it less clear, please say
[09:25] < Davbo> Oh i did see that, the stuff in ToolBox right?
[09:26] < MS-> IIRC yes
[09:26] < mhrd-afk> """vmlemon_ : I take it that Kamaelia's demultiplexing components are intended to be used when you, A: know the PIDs you want, and B: only have data from a single multiplex in your TS file?""" ... yes.
[09:26] < mhrd-afk> * I'd strongly advise against recording more than one transport stream/multiplex into the same file, since you'll not be able to unpick the data from the two. Stuff carried on the same PIDs in both will interfere with each other and there'll be no way to distinguish them.
[09:26] < mhrd-afk> * There are a few variations on demultiplexing components in Kamaelia. Some take fixed arguments at initialisation telling them which PIDs to demux. Others can be reconfigured at runtime. See bottom of http://kamaelia.sourceforge.net/Cookbook ... The dvb examples get progressively more complex as you go down. The "RegisterService" stuff can be imported from Kamaelia.Experimental.Services
[09:26] < mhrd-afk> http://kamaelia.sourceforge.net/Components/pydoc/Kamaelia.Experimental.Services.html
[09:26] < mhrd-afk> (sorry about that brain dump ... am afk again now I'm afraid :-) )
[09:26] < mhrd-afk> ok &"£$ ... he's not around is he? :-)
[09:26] < MS-> um, no
[09:26] < MS-> :)
[09:27] < mhrd-afk> ah well, can someone point him at the logs if he turns up? (thanks)
[09:28] < Davbo> sure mhrd-afk
[09:28] < MS-> yep
[09:29] < Davbo> MS-: the sub_graphline is a nicer way to do what I've done
[09:29] < MS-> cool
[09:29] < MS-> I think there's more discussion to be had yet though since it's generating a bunch of interesting ideas
[09:30] < Davbo> Yeah
[09:30] < MS-> I'm still planning on doing the release this week.
[09:31] < MS-> Three major outstanding items to do - release notes, website shift over to new layouts & merge of kamaelia grey onto trunk
[09:31] < Davbo> Oh I remembered another thing. I'm so sorry, I only noticed I still have to merge Tools2Apps yesterday
[09:31] < MS-> It's packaged up approrpiate
[09:31] < MS-> You do?
[09:32] < Davbo> Yeah I should have done it ages ago
[09:32] < MS-> Branches (most recently) Merged
[09:32] < MS-> ...
[09:32] < MS-> private_MPS_Tools2AppsConsolidation
[09:32] < MS-> (from http://edit.kamaelia.org/ReleaseJune2008)
[09:32] < Davbo> Hmm
[09:33] < MS-> "Branches That Need Merging
[09:33] < MS-> These branches need claiming for merge:
[09:33] < MS-> None at present!"
[09:33] < Davbo> I *did* do it but had problems with it
[09:33] < Davbo> Maybe someone else looked at it?
[09:33] < MS-> I was in a merge frenzy just before Mashed - I think it happened then
[09:33] < MS-> (*think*)
[09:34] < MS-> would be worth double checking
[09:34] < Davbo> There was something wrong with setup.py and iirc you said you'd have a look
[09:35] < MS-> I think in future whenever actions get agreed by someone like this we ought to set a time/date it'll get done by, and if no done released back to the pool of "things to do"
[09:35] < MS-> So that we know better what's going on
[09:35] < MS-> It's so easy after all to go "Yes, I'll do that" and then not realise just how much time it'll take, hit and issue and it get left
[09:36] < MS-> At least if it's clearly "dropped", it's visible and can get picked up without confusing anyone
[09:36] < Davbo> Don't we delete branches once they're merged?
[09:36] < MS-> (random thought - you say after all "iirc you said you'd have a look")
[09:36] < MS-> Initially they're normally moved into "merged"
[09:36] < MS-> or "rejected"
[09:36] < Davbo> ah I see
[09:36] < MS-> for a brief while
[09:37] < MS-> then deleted with the last version number they existed in noted
[09:37] < Davbo> I noticed it when testing a checkout on code.google
[09:37] < MS-> Most of "merged" for example can probably be deleted I guess
[09:37] < MS-> (after current version noted)
[09:37] < MS-> I'm not impressed with code.google at present FWIW
[09:37] < MS-> took 3 hours for a checkout at the weekend failing repeatedly
[09:38] < MS-> I *really* don't like that
[09:38] < Davbo> Really? Wow
[09:38] < Davbo> seemed okay here
[09:38] < MS-> Yeah, long long time
[09:39] < MS-> OK, we ought to think about packaging your stuff up to make it easier for someone to run etc
[09:39] < MS-> You said you needed help with branching
[09:39] < MS-> it boils down to doing this:
[09:40] < MS-> cd branches
[09:40] < MS-> svn cp ../trunk/Code/Python private_DK_AnythingYouWantHere
[09:40] < MS-> svn ci private_DK_AnythingYouWantHere
[09:40] < MS-> I'd suggest AnythingYouWantHere be something related to PaintDev or similar
[09:41] < Davbo> Right
[09:41] < MS-> You'll then want to copy what's going on inside
[09:41] < MS-> /branches/private_MPS_Games4Kids/Apps/Games4Kids
[09:42] < MS-> specifically put your paint program in App
[09:42] < orphans> Lawouach, Lawouach_, ping?
[09:42] < MS-> Modify the files in DistBuild in the (hopefully) obvious way
[09:42] < MS-> (may not be obvious)
[09:42] < MS-> You'll also note that on that branch
[09:42] < MS-> I've also created
[09:43] < MS-> /branches/private_MPS_Games4Kids/Kamaelia/Kamaelia/Apps/Games4Kids/
[09:43] < MS-> which has a bunch of files in
[09:43] < Davbo> Games4Kids?
[09:43] < Lawouach> pong
[09:43] < MS-> and you'll also note that the setup.py file has this added:
[09:43] < MS-> "Kamaelia.Apps.Games4Kids",
[09:43] < Davbo> where's that come from?
[09:43] < MS-> Yeah, I'm killing two birds with one stone
[09:43] < orphans> Lawouach, can you cast your eye over something - it's a bit of c++ which isn't working and I can't for the life of my see why
[09:44] < orphans> s/my/me
[09:44] < MS-> It's something I'm writing as games for kids :) , but also in relation to a project mhrd-afk is doing
[09:44] < MS-> which requires location/distance detection
[09:44] < MS-> and that's a simple way of testing some ideas
[09:44] < Davbo> Oh, heh cool
[09:44] < orphans> Lawouach, It's a little complex, so I've simplified as much as I can - basically it comes down to passing a struct as a void pointer not working right
[09:45] < MS-> The reason it's relevant is because it's pygame based & adds some stuff in places you'll probably need to
[09:45] < Lawouach> any code snippet at hand?
[09:45] < orphans> http://orphans.pastebin.com/d26c45a1
[09:45] < Davbo> I see
[09:46] < Davbo> Right, I think I know what to do
[09:46] < MS-> svn diff -r5036:HEAD |less
[09:46] < MS-> in ~/code.google/kamaelia/branches/private_MPS_Games4Kids
[09:46] < MS-> Should
[09:46] < Davbo> (looking at that branch now)
[09:46] < MS-> give you an idea of the sort of things you'll need to look at
[09:46] < Lawouach> orphans: what's the problem? I mean what's happening?
[09:47] < orphans> Lawouach, basically the wrapped openStream gets called, which the calls the unwrapped version. That calls the callback with a struct of data, which turns out to be nonsense within the callback
[09:47] < Lawouach> define nonsense
[09:47] < orphans> Lawouach, so where I print stuff in openStream it prints 1, whereas when I print it in streamCallback it gives a big silly int (which appears to be pretty random)
[09:48] < Lawouach> right
[09:48] < orphans> Lawouach, 3217995288 on the last run through :)
[09:48] < Lawouach> uh
[09:48] < Lawouach> your signature is wrong it seems
[09:48] < Lawouach> int streamCallback(A, LOAD, OF, ARGS, INCLUDING, void *userData)
[09:49] < Lawouach> sipCpp->openStream(A, LOAD, OF, ARGS, INCLUDING, streamCallback, &data);
[09:49] < MS-> Davbo: If you run into problems, let me know. It'll either be blindingly obvious what's going on or incredibly opaque
[09:49] < Lawouach> hmm
[09:49] < Lawouach> or am I reading this incorrectly?
[09:49] < Davbo> MS-: When should I aim to get it done MS-?
[09:50] < orphans> Lawouach, sipCpp->openStream calls streamCallback(&data) basically
[09:51] < Lawouach> ok
[09:51] < MS-> Davbo: I'd personally do the packaging when you're ready to "put down" what you're currently working on.
[09:51] < MS-> ie asap :)
[09:51] < Davbo> thought so
[09:51] < Davbo> I want to be able to move layers and animate before then
[09:51] < MS-> I'd like to see everyone able to package up their stuff before friday this week ideally
[09:51] < MS-> Largely because I'll then know it's sorted
[09:51] < Davbo> Alright
[09:52] < Davbo> I like having deadlines is all
[09:52] < MS-> If you have problems let me know - it'll be quick for me to do, but it's worth learning how to do it
[09:52] < MS-> OK, wednesday
[09:52] < MS-> :)
[09:52] < Davbo> :-)
[09:52] < Lawouach> orphans: at firts sight I don't know
[09:52] < Davbo> meeting them != having them ;-)
[09:52] < MS-> I'd expect it to be done today though
[09:53] < MS-> since it's not too hard, but you may hit problems since you've not done it before
[09:53] < Davbo> Okay, once i've done that where should I be making changes
[09:53] < Davbo> to the branch?
[09:53] < orphans> Lawouach, (kinda) good to hear - I thought it might be something really obvious that I was doing wrong
[09:53] < MS-> To the branch
[09:53] < MS-> You own that branch in the same way you own your sketches area
[09:54] < MS-> in fact you own the entire namespace /branches/private_DK_*
[09:54] < MS-> :-)
[09:54] < orphans> Lawouach, I'll have a poke around in sipCpp->openStream, put some debugging stuff in there and see how far I'm getting
[09:55] < MS-> The nice thing about that of course, is once that's done, you'll be able to give other people your code relatively easily by running the build script and giving them a tar ball to install
[09:56] < MS-> OK, regarding animation, would it be reasonable for me to assume that you will be enabling that before friday?
[09:57] < MS-> Assuming that's the case you'd probably be able to claim a version 0 this friday of your target code.
[09:57] < MS-> (since it'll be a multiwindow, packaged, animation scribbler :-) )
[09:57] < Davbo> Yeah, I aim for animation before friday
[09:58] < Lawouach> orphans: it seems the memory is allocated properly but not initialized as you'd expect
[09:58] < Lawouach> hence the big int number telling you "Yeah the memory is there but the data isn't"
[09:59] < MS-> We can also look at how you're planning on exporting the images so we can figure out how you can distibute the animations for others to run
[09:59] < MS-> (ie mpeg, flv, etc)
[09:59] < orphans> Lawouach, I love C :)
[10:00] < MS-> As long as you're generating frames of images, I can help you with (useful) pointers for how to do those
[10:01] < Davbo> dirac would be trivial from the components we already have
[10:01] < MS-> Could be worth looking at, yes.
[10:02] *** MS- idly wonders where Chong is
[10:02] < MS-> weather is really nice here though, so I can hardly blame him if he's off enjoying the weather given what it's been like recently
[10:02] < MS-> :)
[10:02] < Davbo> Yeah, same here
[10:02] < MS-> I'm sure he'll make up the time elsewhere if he's off enjoying it
[10:03] < Davbo> All the graduates were boiling in robes and suits on Friday :-)
[10:06] *** wyleu has joined #kamaelia
[10:12] < MS-> Davbo: :)
[10:14] < Davbo> It was probably the most white & middle-classed thing i've ever done, there was even light jazz and Pimm's
[10:14] < MS-> heh
[10:14] < Davbo> ;-)
[10:15] < MS-> right, I'm going to get some lunch, then come back and write a document I've been asked to write
[10:15] < MS-> back later
[10:15] < Davbo> cya
[10:15] < MS-> cya :)
[10:15] *** MS- is now known as ms-afk
[10:19] < Lawouach_> back
[10:28] *** ian_brasil has joined #kamaelia
[10:36] < orphans> woop, Lawouach, fixed :)
[10:38] < Lawouach_> what was it?
[10:39] < orphans> needed to manually allocate the memory for the struct
[10:39] < orphans> otherwise I think it was getting garbage collected somewhere along the line
[10:39] < Lawouach_> Yeah would make sense
[10:39] < Lawouach_> Actually, question for you, why did you choose a struct over a class?
[10:40] < Lawouach_> I'm just curious :)
[10:40] < orphans> I was cribbing off some other code which did basically the same thing :)
[10:40] < orphans> I'm not very good with C
[10:40] < orphans> learnt an awful lot this week :)
[10:42] < Lawouach_> that's good :)
[10:42] < Lawouach_> don't forget your timeline though ;)
[10:42] < orphans> heh, I wish I could forget it
[10:42] < orphans> I'm hoping lotsly to hear sound today
[10:42] < orphans> :)
[10:43] < Lawouach_> :p
[10:50] < wyleu> Is Joe Turner still around?
[10:55] < Lawouach_> orphans: ping
[10:55] < orphans> wyleu, hey :)
[10:55] < wyleu> Hey Orphans
[10:56] < wyleu> I've just presented to the local council after finally getting Java running in Iceweasel at 3.25am this morning :D
[10:58] < wyleu> But that's not the question. I want to make a synth make a noise have you a simplistic component that just takes some form of on /off message sent to it in an inbox?
[10:58] < wyleu> Control B on steroids really...
[10:58] < orphans> wyleu, sort of :)
[10:59] < wyleu> aaaah he says sort of. ..... I'm willing to offer Jaffa Cakes.
[10:59] < Lawouach_> wyleu: send some along :)
[10:59] < Lawouach_> I'll put the kettle on
[10:59] < wyleu> SOME ???!???!
[11:00] < Lawouach_> I could eat them all of course if you prefer
[11:00] < wyleu> now that would re the USB connected DNA synthesis machine at work woulddn't it?
[11:00] < Lawouach_> Good ol' mail would do too.
[11:01] < orphans> if you don't mind quite high latency look at using SineSynth (http://code.google.com/p/kamaelia/source/browse/trunk/Sketches/JT/Jam/library/trunk/Kamaelia/Apps/Jam/Audio/SineSynth.py)
[11:02] < orphans> the code isn't very well documented yet, but you should get an idea of what it looks like
[11:03] < wyleu> wyleu goes to play, with cup of tea in hand....
[11:03] < orphans> the latency is from the AOAudioPlaybackAdaptor() in there - I'm working on something better :)
[11:09] *** Chong- has joined #kamaelia
[11:21] *** vmlemon_ has joined #kamaelia
[11:21] < vmlemon_> Hi
[11:23] < Chong-> afternoon, vmlemon_
[11:24] *** vmlemon has joined #kamaelia
[11:25] < Davbo> Hey Chong-
[11:26] < Chong-> hi Davbo
[11:33] < vmlemon_> kamlogbot: dance
[11:33] Reply: does the macarena
[11:46] *** ms-afk is now known as ms-
[11:47] < Davbo> That OpenTaste thing seems interesting Lawouach_, well if it does what it says it does.
[11:48] < Lawouach_> It's a specification, young at that, so it's a wait and see situation :)
[11:49] < Lawouach_> It was via RadioBlogs from the BBC (they are deeply interesting to follow)
[11:49] < Lawouach_> well if you are in that sort of things ;)
[11:49] < Davbo> it could be like GreaseMonkey, for people which don't know how to use GreaseMonkey
[11:50] < vmlemon_> Anyone following the Backstage lists?
[11:50] < Davbo> well, that's one use I could see for it
[11:53] < ms-> vmlemon_: yep
[11:54] < ms-> Oh btw mhrd said "look at the logs" :)
[11:54] < vmlemon_> Aah
[11:55] < vmlemon_> I'll look soon
[11:55] < Lawouach_> ms-: have you seen my note here on my IronPython and kamaelia status?
[11:55] < Lawouach_> basically it ain't working yet
[11:55] < Lawouach_> because of this bug I opened:
[11:55] < Lawouach_> http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=17561
[11:56] < Lawouach_> the AxonObject class uses the AxonType metaclass
[11:56] < Lawouach_> and that doesn't fly well with IronPython on some cases when linkage(...) is called in a specific way
[11:59] *** Davbo was listening to ms- talk from Pycon last year yesterday, where he mentions about Kamaelia not working on IronPython :-)
[12:00] < vmlemon_> Hmm, will there be any bits from Pycon this year, for those who can't go?
[12:00] < ms-> Lawouach_: I saw that
[12:00] < ms-> It did make me wonder whether to remove the metaclass after this release
[12:00] < Davbo> I think it's fair to assume so vmlemon_
[12:00] < ms-> Or whether to start on ideas for Axon 2.0
[12:01] < ms-> Since there's a bunch of ideas heading that way
[12:01] < ms-> so to make that branch earlier rather than later
[12:01] < ms-> It was originally there to allow the .__super() syntax
[12:02] < ms-> But that's a bad idea generally speaking it sounds
[12:02] < ms-> since there's edge cases that work wrong in that cse
[12:02] < ms-> which is why I don't recommend it these days
[12:02] < Lawouach_> Well it seems that the meta-class doesn't bring much here,
[12:02] < Lawouach_> at least the rationale is not immediate
[12:03] < ms-> There was a reason for it, and deprecating it seemed more sensible than removing
[12:03] < ms-> Now I'm not sure it's sensible to leave in, esp if it opens doors
[12:14] < vmlemon_> kamlogbot: date
[12:14] Reply: 2008-07-28
[12:16] < Chong-> kamlogbot: time
[12:16] Reply: 12:16:46
[12:18] < Chong-> Where is kamlogbot in? :-) 2:15 difference
[12:18] < vmlemon_> Somewhere in the UK, I assume
[12:19] < vmlemon_> Maybe on a BBC box
[12:20] < Chong-> probably
[12:20] < ms-> Chong-: It' needs the clock changing
[12:20] < vmlemon_> Thanks mhrd
[12:20] < vmlemon_> I saw your technote/brain dum
[12:21] < Chong-> ms-: yep
[12:21] < vmlemon_> *dump
[12:21] < ms-> "(14:17:55) Lawouach_: at least the rationale is not immediate"
[12:21] < ms-> That's a polite way of saying "it looks damn bizarre from where I'm sitting"
[12:24] < aa_> I bet it actually runs on a BBC
[12:26] < vmlemon_> Acorn Atom?
[12:26] < vmlemon_> ;)
[12:26] < Lawouach_> ms-: My mom educated me well enough not to anger an English man. She used to say "Poor people they're angry enough already as it is with their cranberry sauce"
[12:32] < vmlemon_> aa_: Maybe it's running on *gasp* a ZX Spectrum? ;)
[12:48] < ms-> Lawouach_: hehehe
[12:49] < aa_> I seem to remember the beebs were round before the spectrums, but then maybe I am wrong
[12:51] < vmlemon_> Kamaelia: BASIC?
[12:53] < Davbo> I think you're right aa_
[12:53] < Davbo> My school had an '82 BBC IIRC :-)
[12:54] *** Davbo has the huuuge manual
[12:54] < ms-> Davbo: Oddly my school had an '82 BBC as well
[12:54] < ms-> Mind you, that was in '82
[12:54] < ms-> :)
[12:56] < vmlemon_> I think they released the code for it as Sources Available/Shared Source
[12:58] < ms-> Oh BBC Basic you mean ?
[12:58] < ms-> Oh, that's hardly an issue
[12:59] < vmlemon_> (as part of RISC OS)
[13:00] < vmlemon_> kamlogbot: dance
[13:00] Reply: does the macarena
[13:00] < ms-> Though if you're interested in it: http://www.compulink.co.uk/~rrussell/bbcbasic/history.html
[13:00] < vmlemon_> ms-: Yup
[13:01] < vmlemon_> Although I think it was modified during porting
[13:02] < ms-> Personally I'm not interested in basic at all
[13:02] < ms-> Stopped doing that god knows how long ago
[13:02] < ms-> Probably last major piece of code I wrote in basic would've been...
[13:02] < ms-> 18 years ago?
[13:02] < ms-> something like that
[13:03] < ms-> gosh that's a while back
[13:03] *** vmlemon_ isn't, either, but thought he'd mention it
[13:04] < ms-> http://www.heretical.com/sheppard/bbcbasic.html is interesting though
[13:07] < ms-> Gosh that entire website looks bananas
[13:13] < ms-> http://sourceforge.net/project/showfiles.php?group_id=185535&package_id=216227
[13:13] < ms-> shows last updated boxing day last year
[13:14] *** orphans swears quite loudly at numpy
[13:14] *** ms- hears the swearing from here
[13:16] < orphans> I can't even work out how to initialise the *&%^ing thing properly
[13:26] < Davbo> There are some interesting jobs that crop up, in my uni inbox. Some Nanny agency wants someone to setup their CRM lol :-)
[13:26] < Davbo> "We bought this......Does anyone know how it works??"
[13:26] Reply: Hm?
[13:27] < vmlemon_> Hmm, any interest in making FileAppender an "official" Kamaelia component, since I've found it to be useful, and Kamaelia seems to be lacking a component to do that?
[13:29] *** vmlemon_ has had success with using it with the DVB stuff, and as part of his (work in progress) MSN server
[13:29] < ms-> vmlemon_: Sure, sling a copy to the list? If it's something we'd all like (which seems plausible) we could always add it.
[13:38] *** ms- notes chong didn't make use of mentor time today
[13:45] < Davbo> that's odd, he usually treats it as a meeting
[14:04] < ms-> Maybe he expects me to treat it as a meeting rather than a time when he can corner me?
[14:10] < orphans> mm, segfaulting in new and unusual ways :)
[14:25] < Davbo> Serves you right for using C orphans ;-)
[14:25] < Davbo> Although I managed to get a couple of segfaults with my code the other week :-)
[14:38] *** vmlemon_ has joined #kamaelia
[14:44] < orphans> Davbo, seriously, not fun
[14:45] < vmlemon_> Hi
[14:46] < Davbo> sympathy @orphans, are you doing this as an alternative to pd-extended
[14:48] < orphans> yup
[14:48] < orphans> for my sins :)
[14:49] < orphans> currently I know of three places which are making it segfault
[14:49] < orphans> and that's just as far as I've got
[14:50] < Davbo> Well so far your project has massively impressed me, if not anyone else :-)
[14:51] < orphans> :)
[14:51] < orphans> on the plus side I think I just found another problem :)
[15:21] *** wyleu has joined #kamaelia
[15:22] < vmlemon_> Hi wyleu
[15:22] < wyleu> Hi lemon, how spin's your world?
[15:23] < vmlemon_> So-so
[15:24] < wyleu> so so serious?
[15:24] < vmlemon_> Not bad, but not great
[15:25] < wyleu> I wish you the outcome that comforts most.
[15:25] < vmlemon_> (I feel tired, and have horrible toothache, and can't get out to see the dentist) :|
[15:26] < wyleu> very insistent those K/Na nerve's ain't they?
[15:26] < wyleu> Are you confined at Her Magestie's Pleasure then...?
[15:27] < vmlemon_> o.O
[15:27] < wyleu> Auntie Beeb :D
[15:27] < vmlemon_> Hah
[15:27] < wyleu> 246284K :D
[15:28] < vmlemon_> I don't know if being in a channel related to a BBC project counts ;)
[15:28] < vmlemon_> (Probably not, though)
[15:28] < wyleu> well however we end up here it's all generally beneficial... subject to license
[15:29] *** vmlemon_ is still trying to receive Channels 4 and 5, and ITV1, but seemingly can't receive them/actually get them into the channel list here with the aerial I have
[15:30] < wyleu> It's only a matter of time and careful programme labelling.
[15:30] < wyleu> ...and the ability to read the label, and then play the stuff.
[15:31] < wyleu> Radio 3 is making a very fine noise as we type.
[15:31] < vmlemon_> I can get the multiplexes with them on (and even get the data from them, somehow), although I can never seem to be able to tune Xine or Kaffeine into them...
[15:32] *** vmlemon_ contemplates bruteforcing the PID, or spending time recording the channel tables...
[15:32] < vmlemon_> Still, I can get the crappy shopping channel
[15:32] < vmlemon_> and some music video and radio channels
[15:32] < wyleu> That will be a source of great releif to their advertisers :D
[15:32] < vmlemon_> Hah
[15:33] < vmlemon_> Meh, no "local" radio on DVB or DAB...
[15:33] < vmlemon_> Crapola
[15:33] < wyleu> Yes, it's all a bit of a mess.
[15:34] < vmlemon_> Still, I've got an FM tuner on my phone, if I was desperate...
[15:35] < vmlemon_> Nice to see that World Service is on DVB though, so I don't have to wait until the early hours of the morning for Radio 4 to simulcast it, if I want to listen to it
[15:35] < vmlemon_> (which isn't often)
[15:35] < wyleu> I have an inherent distress about DAB REPLACING am/fm, A format should completely encompose the one it replaces. DAB can't even get a timecheck to sync, so how will we fight off the Independance day creatures at the very least.
[15:36] < vmlemon_> I'd imagine a load of chaos ensuing, if FM ever went away...
[15:36] < wyleu> It's good to modulate.
[15:36] < vmlemon_> Especially since a lot of devices and vehicles have FM/*-Wave radio tuners that can't be replaced easily
[15:37] < wyleu> Aaaah but that's what makes them buy the new model...
[15:38] < vmlemon_> I remember seeing something about DAB vs FM latency-wise, with the conclusion that DAB lagged behind the FM broadcast a great deal
[15:38] < vmlemon_> Although I can't find it now, or remember where the comparison was shown
[15:38] < wyleu> 3 minutes something is the best I've seen but I haven't looked in a fair while.
[15:39] < vmlemon_> Not to mention the nonsense with Multiplexes/Ensembles not having certain stations, and being restricted by area, unless you have a very good aerial
[15:39] < wyleu> Pragmatic solutions of their time, we know better now...
[15:40] < vmlemon_> That said, I haven't actually seen a DAB radio "in the wild", nor do I have one
[15:40] < wyleu> Environmentally the pocket trannie beats it hands down.
[15:41] < wyleu> help, I'm in real trouble if the whitehousebot seas that one .. . .
[15:41] < vmlemon_> MonkeyBot? ;)
[15:41] < wyleu> Whatever....
[15:41] < vmlemon_> 1-Seg and DVB-H look interesting, although I can see them being a big gimmick and painful to use whilst in motion
[15:42] < vmlemon_> Not to mention that they haven't seen much deployment outside of Japan, and maybe Korea
[15:42] < vmlemon_> (at least not on a full-time, non trial basis)
[15:42] < wyleu> Hankers back to days of 1inch/umats . . .
[15:43] < wyleu> come an olympics, come a new standard.
[15:44] < vmlemon_> Hell, they're already talking about phasing DAB out with a new, incompatible version
[15:44] < vmlemon_> and they've only just rolled it out, not so long ago...
[15:45] < vmlemon_> So much for all those folks who've bought DAB radios, assuming that the new spec makes it onto the national networks, here
[15:46] < vmlemon_> ("DAB+")
[15:46] < vmlemon_> Or DAB-, if you're feeling that way out ;)
[15:48] < wyleu> It's a mighty point to reach when everyone realises we're really in the poo, cos then anything organised we do is better :D
[15:48] < vmlemon_> Looks like it'll bring new audio codecs, and one or more new modulation techniques into the mix
[15:49] < wyleu> I've just printed out the community guide, so Debian talks to CUPS talks to Printer...Bloody pain these software patch bays.
[15:50] < vmlemon_> The joys of CUPS...
[15:51] < vmlemon_> A few days ago, I tried printing something, and ended up adding the document to the print queue about 3 times, only to find that it wouldn't attempt to print it until I rebooted
[15:51] < vmlemon_> Yay...
[15:51] < vmlemon_> (It started sending data to the printer, about 2 minutes into running the shutdown scripts)
[15:54] *** vmlemon_ hates printers and the associated faffing they end up causing
[15:55] < vmlemon_> kamlogbot: dance
[15:55] Reply: does the macarena
[15:57] *** vmlemon_ has joined #kamaelia
[16:00] *** vmlemon_ has joined #kamaelia
[16:02] < vmlemon_> kamlogbot: time
[16:02] Reply: 16:02:29
[16:03] < vmlemon_> Argh, stupid connection keeps gathering horrific amounts of latency, and then cutting out :(
[16:26] *** vmlemon_ has joined #kamaelia
[16:31] *** j_baker has joined #kamaelia
[16:38] < vmlemon_> Wow, http://apple.slashdot.org/article.pl?sid=08/07/27/0029229
[16:38] < vmlemon_> Here we go again
[16:43] < Lawouach> that crashed firefox.
[16:45] < orphans> hey Lawouach
[16:45] < Lawouach> hi mate
[16:46] < orphans> how's it going?
[16:46] < Lawouach> good just bloody hot down here
[16:46] < Lawouach> though it's started raining
[16:47] *** vmlemon_ wants rain
[16:47] < orphans> pretty warm here too - I'm at the top of my house and have a window about the size of a piece of A4 paper. Is boiling
[16:47] < Lawouach> well we'll go fast then :)
[16:47] < orphans> heh
[16:47] < Lawouach> I'll let you drive.
[16:48] < orphans> ok, so this week I've been trying to sort out low-latency audio
[16:48] < orphans> and it's killing me a little bit :)
[16:48] < vmlemon_> Anyone want to trade some rain clouds for too much heat? ;)
[16:48] < Lawouach> orphans: luckily programming is sometimes hard
[16:49] < orphans> yup, I do get a great feeling of acheivement every time I fix something else :)
[16:49] < orphans> at the moment I can't get it to call functions, which is annoying 'cause when I can do that then I'm properly moving with it
[16:49] < Lawouach> what's blocking?
[16:50] < orphans> it kinda does nothing when I try to call the function - it's a bit strange
[16:51] < orphans> (calling a python function from the C++ this is)
[16:51] < Lawouach> nothing?
[16:51] < Lawouach> could you be more precise? :)
[16:52] < j_baker> vmlemon_: were you offering the rain clouds or the heat?
[16:52] < vmlemon_> I was offering the heat ;)
[16:52] < orphans> well, it doesn't error out, and skips on to the next statement, but if you try and get a return value it just gives zero, and it doesn't actually call anything in the python function
[16:53] < Lawouach> let's step back a minute
[16:53] < Lawouach> what is the C++ library you are trying to make a binding for?
[16:53] < orphans> RtAudio
[16:54] < Lawouach> is it pure C or C/C++?
[16:54] < orphans> c++
[16:55] < Lawouach> okay
[16:55] < Lawouach> so SIP does make sense
[16:55] < orphans> mhm, it's not too bad to work with too when you get into it
[16:55] < j_baker> vmlemon_: Sorry, have too much heat as it is. :)
[16:56] < Lawouach> orphans: it'd be nice if there was a simple test.py in the RtAudioBinding directory
[16:56] < Lawouach> I could build the binding but how to test it simply?
[16:56] *** vmlemon_ waits for them to start making FairTrade weather products (made from only the finest clouds, of course) ;)
[16:56] < Lawouach> ha ha
[16:57] < orphans> Lawouach, I've got a bit more (and more sensible code in now) - I'll do a quick ci
[16:57] < Lawouach> ta
[16:57] *** bcarlyon|laptop has joined #kamaelia
[16:57] < orphans> although the testing code is a bit more than it needs to be - I'm just using one of the components which was working with a different output
[17:01] < orphans> Lawouach, ok, I think that should be it
[17:01] < Lawouach> k
[17:01] < orphans> to build you need a copy of RtAudio, and to set the path to it in the config.linux.py file
[17:01] < Lawouach> didn't you forget a file?
[17:01] < orphans> __init__ probably :)
[17:02] < Lawouach> ah no
[17:02] < Lawouach> gcc: /home/joe/sources/rtaudio-4.0.4/RtAudio.cpp
[17:02] < Lawouach> you've used an absolute path
[17:02] < orphans> Lawouach, that's why you need to set the path in the config file
[17:04] < orphans> oops, forgot to add the Component
[17:06] < orphans> added now - if you setup.py install the binding and the Jam libraries, then run Jam/library/trunk/Kamaelia/Apps/Jam/Audio/ it should run, but badly :)
[17:07] < orphans> argh, that path with SineSynth.py on the end
[17:10] < Lawouach> right
[17:10] < Lawouach> while I'm compiling and all
[17:10] < Lawouach> could you extend on the rest of what you've been doing? :D
[17:11] < orphans> :) pretty much that - if I'm going to get the simpler audio stuff in I need it done. When it's done it'll just be a matter of dropping in components and the audio will be sorted
[17:12] < Lawouach> yeah thought as much
[17:12] < Lawouach> That's alright, this is a tough task but a good one IMO.
[17:12] < orphans> yeah. I'll be glad when it's working
[17:13] < Lawouach> I think SoC is two weeks away right?
[17:13] < Lawouach> With next week being a put your pen down
[17:13] < orphans> eesh yeah.
[17:13] < orphans> it's come around really fast
[17:13] *** BCarlyon|ubuntu has joined #kamaelia
[17:13] < Lawouach> :)
[17:14] < Lawouach> How do you plan those two weeks? Realistically
[17:14] < vmlemon_> Code! Code like you've never coded before! ;)
[17:14] < orphans> all depends on how much longer this takes me really. After that it's a matter of tying up loose ends and cleaning stuff up
[17:16] < orphans> I'd be pretty hard pushed to work out how long the rest of the binding will take, just because it's the first time I've done something like it
[17:16] < Lawouach> Right. I believe it would be wrong to stop you in your dynamic with the binding so I'll let you drive it this week
[17:16] < Lawouach> However I really wish you'll deliver something well packaged by the term of SoC.
[17:16] < orphans> yeah, absolutely
[17:17] < Lawouach> I think your code is rather solid, so it's more about documentation and testing. Testing will be probably harder so don't scratch too hard on that part. Testing is important but I understand testing an audio application is harder. Probably testing Osc messages correct flow would be good to have.
[17:17] < orphans> I think if the binding takes too much longer then I'll sort out getting a nice package together, and delay the audio stuff until it's ready
[17:17] < Lawouach> fine
[17:18] < orphans> yeah, testing the message stuff flows right will be my first priority
[17:20] < Lawouach> cool
[17:20] < Lawouach> I won't ask you more than that because testing the GUI and the audio would be too hard in the time frame
[17:20] < Lawouach> But the Osc messages is doable.
[17:20] < orphans> yeah
[17:21] < orphans> actually, quick aside on testing - you know that intro video you showed us used a couple of extra tools on top of unittest
[17:22] < orphans> are we good to use them, or is it better to stick to using unittest for Kamaelia stuff?
[17:22] < Lawouach> Personally I would encourage you to try them
[17:22] < Lawouach> You'd write your tests with unitests anyway
[17:23] < Lawouach> nose is mainly used for tests discovery and simplifying the process of running them
[17:23] < Lawouach> so please go ahead, it's part of the process
[17:23] < orphans> ok, cool :)
[17:24] < Lawouach> :)
[17:24] < orphans> you managed to get the bindings to build?>
[17:25] < Lawouach> at this stage it's both about packaging up, meaning using tools that others use too
[17:25] < Lawouach> yes
[17:25] < Lawouach> I don't hear any sound though
[17:25] < Lawouach> python Jam/library/trunk/Kamaelia/Apps/Jam/Audio/SineSynth.py
[17:25] < orphans> Lawouach, nor do I :) - that's the bit which doesn't work
[17:26] < Lawouach> ah :)
[17:26] < Lawouach> well it doesn't fail at least :)
[17:26] < vmlemon_> Hmm, has anyone apart from orphans got Jam producing sound?
[17:26] < orphans> if you have a look in Jam/library/trunk/Kamaelia/Apps/Jam/Audio/RTOutput.py you see the print statement?
[17:26] < orphans> vmlemon_, Davbo did :)
[17:26] < vmlemon_> Aah, cool
[17:26] < orphans> Lawouach, that should get called, and resolutely doesnt
[17:27] < Lawouach> I have plenty of "Frames: 1024 Time: 8.939683"
[17:27] < Lawouach> in stdout
[17:27] < orphans> ahh yeah, that was some debugging from the bindings - that bit works :)
[17:27] < Lawouach> :)
[17:28] < orphans> the frames is the size of the buffer, and the time is the stream time
[17:28] < Lawouach> regarding the binding, it'd be great to have a example.py or some related test in the RtAudioBinding directory
[17:28] < Lawouach> that'd make it easier to work on the binding without the KamJam overhead
[17:28] < orphans> yeah, I'll port one of the RtAudio tests
[17:28] < Lawouach> thanks
[17:28] < Lawouach> something simple
[17:29] < orphans> I've been working from one as I've been going along - should be pretty much line for line
[17:29] < Lawouach> cool
[17:30] < orphans> I'll probably ping you tomorrow with that sorted complaining of some difficulty or other :)
[17:30] < orphans> should be a bit more obvious what's going on then
[17:31] < Lawouach> yeah sure
[17:31] < Lawouach> sounds good to me
[17:31] < Lawouach> I'll let you be then
[17:31] *** bcarlyon|laptop is now known as BarryCarlyon
[17:32] < orphans> k, cheers for all the help :)
[17:32] < Lawouach> np
[17:34] *** wyleu has joined #kamaelia
[17:54] *** Lawouach has started watching X-Files episodes again
[17:54] < Lawouach> S4E2 is just creepy :)
[17:54] < Lawouach> love it
[17:58] < j_baker> I love the X-Files. I want to see the new movie, but no one will see it with me. :(
[17:58] < Lawouach> I'll go alone. I don't mind going to the cinema on my own
[18:09] < j_baker> Hey Lawouach: I have a dumb question. :) If I have two instances of headstock.api.jid.JID, what is the best way to check them for equality? Would it just be unicode(JID1) == unicode(JID2). I get the feeling that doing things that way may cause problems if there's a resource ID.
[18:09] < Lawouach> it depends if you consider the resource to be part of the test
[18:09] < Lawouach> if not then go for
[18:10] < Lawouach> jid1.nodeid() == jid2.nodeid()
[18:10] < Lawouach> I think that'll give: username@domain only
[18:10] < j_baker> Ok, that's what I was looking for.
[18:19] *** BCarlyon|ubuntu has joined #kamaelia
[18:28] *** bcarlyon|laptop has joined #kamaelia
[18:29] *** bcarlyon|laptop has joined #kamaelia
[18:33] *** Chong- has joined #kamaelia
[18:35] *** bcarlyon|laptop has joined #kamaelia
[19:22] *** bcarlyon|laptop has joined #kamaelia
[19:55] *** bcarlyon|laptop has joined #kamaelia
[20:02] *** bcarlyon|laptop has joined #kamaelia
[20:05] *** vmlemon_ has joined #kamaelia
[21:09] < vmlemon_> kamlogbot: dance
[21:09] Reply: does the macarena