[00:04] *** j_baker goes to store to get stuff to make dinner
[00:04] *** j_baker is now known as j_baker-away
[07:21] *** Lawouach_ has joined #kamaelia
[07:21] < Lawouach_> morning all
[07:56] < Lawouach_> ms-: you there?
[07:57] *** mhrd-afk has joined #kamaelia
[07:58] < ms-> Lawouach: For a very brief time (I should be in transit really)
[07:58] < ms-> what's up?
[07:59] *** mhrd-afk is now known as mhrd
[08:02] < Lawouach_> ah ok
[08:02] < Lawouach_> well we'll see that later
[08:02] < Lawouach_> nothing urgent
[08:02] < ms-> ah, OK - cheers
[08:03] < Lawouach_> I just started working on ssl support in the TCPClient
[08:03] < Lawouach_> we'll discuss about it :)
[08:03] < ms-> Cool.
[08:03] < Lawouach_> Much much easier than I thought :)
[08:03] < ms-> excellent :)
[08:03] < Lawouach_> I mean the integration not ssl :D
[08:03] < ms-> :)
[08:03] < Lawouach_> ssl is a bitch to debug
[08:03] < Lawouach_> anyway
[08:03] < ms-> Indeed
[08:04] < Lawouach_> will you be there this evening?
[08:04] < ms-> Yep. And today.
[08:05] < Lawouach_> ok
[08:05] < Lawouach_> just ping me back then
[08:06] < ms-> k
[08:14] *** ms- notes that j_baker's indentation was broken
[08:14] < ms-> and that time.* should not be inside that component...
[08:24] *** mhrd notes ms-'s BBC Internet blog post
[08:33] < Lawouach_> mhrd: a link?
[08:34] < mhrd> http://www.bbc.co.uk/blogs/bbcinternet/2008/05/google_summer_of_code.html
[08:35] < Lawouach_> ta
[08:40] < mhrd> Lawouach_ : google calendar - ta :)
[08:41] < Lawouach_> np :)
[09:12] *** bcarlyon|laptop has joined #kamaelia
[09:35] < vmlemon> Hi
[09:43] *** orphans has joined #kamaelia
[10:04] *** MS- has joined #kamaelia
[10:08] < orphans> hey MS-
[10:08] < MS-> hi
[10:09] < orphans> hows it going?
[10:10] < MS-> spam spam spam spam
[10:10] < orphans> a regular MS- morning then :)
[10:11] < MS-> sadly
[10:16] *** bcarlyon|laptop has joined #kamaelia
[10:17] *** Uraeus has joined #kamaelia
[10:23] < orphans> MS-, if you have a minute after digging through an onslaught of canned meat products would you mind sticking up the comments about the cpu usage in the code I showed Lawouach yesterday?
[10:24] < MS-> Well, I've got ~1900 to go, so very briefly:
[10:25] < MS-> a) Look at the Magnadoodle component - it will make you like easier...
[10:25] < MS-> Since its a nice self contained example that's v similar to what you're doing
[10:25] *** orphans likes an easy life
[10:25] < MS-> b)
[10:25] < MS-> while not self.anyReady():
[10:25] < MS-> self.pause()
[10:25] < MS-> yield 1
[10:26] < MS-> (the magnadoodle component should also make that check, but I note it doesn't)
[10:26] < orphans> k, cool
[10:26] < MS-> You'll note "listen events"
[10:27] < MS-> You can tell the scheduler "I'm waiting for an event on a (in/out)-box"
[10:27] < MS-> which is what self.pause() does
[10:27] < MS-> and you are awakened when something happens to those
[10:27] < MS-> ie mouse events
[10:27] < orphans> yeah - I thought I was probably doing that bit badly
[10:27] < MS-> The pygame display itself has an event handler which sits in a thread in a blocking fashion, and so doesn't use CPU
[10:28] < MS-> and the same can go for the scheduler itself
[10:28] < MS-> meaning a pygame app can utilise 0% cpu (or as close as you can get
[10:28] < MS-> )
[10:28] < MS-> makes a difference :)
[10:28] < MS-> but that's the really short version
[10:28] < mhrd> http://kamaelia.sourceforge.net/Docs/Axon/Axon.Component.html#15
[10:28] *** MS- goes back to despamming
[10:29] < bcarlyon|laptop> yay despamming :-)
[10:29] < orphans> yeah, that's great, cheers MS- and mhrd
[10:32] < mhrd> orphans: not badly - getting it working first is most important. Getting your component to relinquish cpu usage when idle is an optimisation imo. In some cases it can make the internal design more complex, so it can be better to leave it until later
[10:32] *** mhrd -> mtg
[10:34] *** Lawouach has joined #kamaelia
[11:00] *** Chong- has joined #kamaelia
[11:00] < Chong-> Morning, all.
[11:18] *** mhrd < - mtg
[11:44] < vmlemon> Hi Chong-
[11:44] < vmlemon> Hi
[11:45] < Lawouach_> back
[11:51] < Chong-> Hi vmlemon
[11:51] < Chong-> hi Lawouach_
[11:54] < Lawouach_> hi Chong-
[12:05] *** bcarlyon|laptop has joined #kamaelia
[12:22] *** Davbo has joined #kamaelia
[12:25] < Davbo> who would have thought it, my group has come out of the woodwork :P
[12:25] < Davbo> When there are 2.5hours to the deadline suddenly people are interested!
[12:38] < orphans> Davbo, *sigh*
[12:39] < Davbo> The lab is booked out too orphans, so there are no free computers. Meaning 2 members who have done nothing are just stood around not doing much lol :)
[12:40] < orphans> heh, brilliant
[12:47] < orphans> MS-, Lawouach - http://orphans.pastebin.com/d1cb0bd8 - should use less cpu
[12:53] < bcarlyon|laptop> Olinda pictures -> http://www.bbc.co.uk/blogs/radiolabs/2008/05/olinda_a_new_radio.shtml
[12:53] < mhrd> I keep being wary about using WaitComplete - because at one time there was a bug meaning it didn't work properly - but iirc it was fixed a while ago
[12:55] < orphans> mhrd, MS- said it was recommended using it, and it's used in Kamaelia Grey fwiw
[12:55] < mhrd> cool
[12:56] < mhrd> your code looks like it'll relinquish CPU safely - only way to be sure is to test it though
[12:56] < mhrd> :)
[12:57] < orphans> it's definitely down from what it was (according to slightly rickety top values) :)
[12:58] < orphans> bcarlyon|laptop, http://www.pixelsumo.com/post/olinda
[13:00] < bcarlyon|laptop> nice
[13:04] < mhrd> orphans: you might find this useful: http://kamaelia.svn.sourceforge.net/viewvc/kamaelia/trunk/Sketches/MH/Introspection/Profiling.py
[13:04] < mhrd> (see the __main__ section at the end for example usage)
[13:06] < vmlemon> The BBCIB post on GSoC and Dirac/Kamaelia made for interesting reading
[13:07] *** bcarlyon|laptop has joined #kamaelia
[13:07] < MS-> mhrd: I think I must've dealt with the issues that were in WaitComplete
[13:07] < MS-> Since kamaelia grey uses it extensively and it works fine
[13:07] < mhrd> MS-: agreed. I think any concerns were my memory being faulty :)
[13:07] < MS-> Though to be honest I really can't remember what the concerns were :-)
[13:08] < mhrd> I'm trying to remember too - might be something to do with which microprocess receives wake-up's on inbox/outbox activity
[13:08] < mhrd> but if its working, then there's no problem :)
[13:09] < MS-> orphans: Code looks reasonable
[13:09] < MS-> mhrd: Quite possibly
[13:16] *** MS- still despamming
[14:33] *** Lawouach_ has joined #kamaelia
[14:33] < Lawouach_> back
[14:34] < vmlemon> Hmm, interesting, http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/ls/ls.c
[14:36] < Lawouach_> ugly :)
[14:36] < Lawouach_> I'm intrigued, in what way is this interesting to you?
[14:36] < vmlemon> The Microsoft copyright note
[14:37] < vmlemon> of all things...
[14:38] < Lawouach_> Indeed
[14:39] < Lawouach_> That makes you wonder, how do we then map the copyright to the code it protects? Or is the copyright bound to the file in its entirety? In such case what happens with multiple copyrights?
[14:40] < vmlemon> Isn't it 50-70 years for a copyright, in most countries?
[14:40] < vmlemon> Or at least that was the impression that I got from an MCPS document that I came across
[14:41] < Lawouach_> Not sure
[14:42] < vmlemon> Hmm, who then owns the copyright for something written by a person or organization that no longer exists?
[14:42] < vmlemon> Does it get put into the public domain automatically? Go into limbo of some kind?
[14:43] < Lawouach_> I don't know.
[14:43] < vmlemon> It would probably depend on the country that the copyright is held in
[14:43] < MS-> vmlemon: 95 in some
[14:44] < vmlemon> Aah
[14:44] < vmlemon> Ouch
[14:44] < vmlemon> Got to go
[14:44] < vmlemon> See you...
[14:44] < MS-> np
[14:44] < MS-> cya
[14:44] < Lawouach_> MS-: I've responded to the list regarding the organisation of K.
[14:45] < Lawouach_> It doesn't seem to be online yet
[14:45] < MS-> Lawouach_: People claim copyright over the bits they've written. In the case of a file, the problem is the lack of svn blame
[14:45] < MS-> Cool
[14:46] < MS-> Will read it when I see it :-)
[14:47] < MS-> The copyright thing with things like that ls.c file is a pain.
[14:47] < Lawouach_> MS-: indeed. That's the problem in those old files I guess. I guess even RCS wasn't existing yet back in 1987
[14:47] < MS-> no idea :)
[14:47] < Lawouach_> eh eh
[14:47] < MS-> The license applies to the whole file though
[14:48] < MS-> The CDDL is also a file based license, so it will only apply to the files that header is on
[14:48] < Lawouach_> right.
[14:48] < MS-> haven't seen your mail yet
[14:49] < MS-> I don't suppose you mailed it from an address not subscribed to that group?
[14:49] < MS-> I do that all the time with the GSOC lists
[14:50] < Lawouach_> I do that often too
[14:50] < Lawouach_> But there I used my defuze address which should be subscribed to that list
[14:50] < Lawouach_> I have both my defuze and gmail addresses registered
[14:59] < Lawouach_> MS-: nice article BTW :)
[15:03] < Lawouach_> ah it's there :)
[15:03] *** sadru1 is now known as sadrul
[15:22] < MS-> Lawouach_: ta :)
[15:23] *** j_baker has joined #kamaelia
[15:24] *** MS- sees mail
[15:24] < MS-> There's more than I can digest this instant (need to get train)
[15:24] < MS-> but will read in detail
[15:24] < MS-> Looks useful stuff :-)
[15:24] < j_baker> MS- I found the indentation error. I got thrown for a loop because the debug loop ended up just being a really long loop, not an infinite one.
[15:25] < MS-> j_baker: cool
[15:25] < MS-> Lawouach_: Maybe I should find a way of moving the docs etc back such that they end up in SVN as they used to before we moved to online editting.
[15:25] < MS-> :)
[15:25] < MS-> OK, back in a while.
[15:25] < MS-> cya
[15:25] < MS-> (bout 2 hours I guess)
[15:25] < Lawouach_> see you
[15:26] < Lawouach_> okay
[15:26] < mhrd> cya
[16:16] < Lawouach> back
[16:31] *** Davbo has joined #kamaelia
[16:31] < Davbo> my EEE is back :D
[16:45] < j_baker> About to go take my last final in a little while.
[16:45] < j_baker> And it's in discrete math. :(
[16:45] *** j_baker hates discrete math.
[16:46] < Davbo> good luck j_baker :)
[16:46] < Davbo> i quite like discrete maths :P
[16:47] < j_baker> It may just be my professor, but it's turning out to be one of those "When am I ever going to use this?" subjects.
[16:47] < j_baker> (I know of course I'll use more of it in algorithm design though)
[16:51] < Davbo> yeah
[16:52] < Lawouach> good luck j_baker
[16:53] < j_baker> ty
[17:06] *** j_baker is now known as j_baker-away
[17:32] *** Davbo has joined #kamaelia
[17:34] < Davbo> ooo Google app engine
[17:34] < Davbo> just got my invite
[18:44] *** bcarlyon|laptop has joined #kamaelia
[20:36] < j_baker-away> Davbo, I just got mine too...
[20:37] *** j_baker-away is now known as j_baker
[20:37] < j_baker> (google app engine invite)
[20:41] *** bcarlyon|laptop has joined #kamaelia
[20:42] *** bcarlyon|laptop has joined #kamaelia
[22:35] *** bcarlyon|laptop has joined #kamaelia
[22:37] *** bcarlyon|ubuntu_ has joined #kamaelia
[22:51] < Davbo> Quiet in here tonight, MS- is clearly the life of the party ;)
[22:52] < j_baker> Yeah. I think he's going to end up breaking stuff or something.
[22:53] < Davbo> How did your exam go j_baker?
[22:56] < j_baker> Not too bad. :)
[22:56] < j_baker> I'm now done for the semester.
[22:57] < Chong-> j_baker: time for celebration:-)
[22:57] < Chong-> I got the google app invitation too
[22:57] < j_baker> If only I had the money for a celebration. :(
[22:58] < Chong-> hehe
[22:59] < Chong-> Gotta sleep. Have a nice night.
[23:00] < Davbo> Goodnight Chong-.
[23:00] < j_baker> night
[23:00] < Davbo> Nice work j_baker
[23:00] < Chong-> j_baker: Do enjoy the time without examination and study pressure.
[23:00] < j_baker> :)
[23:00] < Chong-> night
[23:00] *** Chong- has parted #kamaelia
[23:01] *** Davbo has a ton of MATLAB work to do
[23:01] < j_baker> Never used MATLAB before.
[23:02] < Davbo> believe me, you aint missing out on much.
[23:03] < j_baker> I didn't think so. :P
[23:04] < j_baker> Is it just me or are the letter templates that are included in OpenOffice hideous?
[23:06] < Davbo> Yeah i find that with many of the templates in open office
[23:06] < Davbo> in the presentation thing too
[23:08] < j_baker> Well, that's one thing that I'm not going to be able to replace my laptop for.
[23:08] < j_baker> Pages > OO Writer
[23:09] < j_baker> The only thing that sucks in iWork is Numbers.
[23:12] < j_baker> Sadly, I think Excel is the best spreadsheet IMO.
[23:13] < Davbo> lol
[23:13] < Davbo> I quite like the latest MS Office
[23:14] < Davbo> I don't like the price tag but it has got a lot better.
[23:14] < j_baker> Fortunately, I don't have to pay the price for it.
[23:14] < j_baker> Microsoft practically gives the software away to us.
[23:15] < Davbo> Yeah same here
[23:15] < Davbo> If v is a 2xn matrix whose columns correspond to the vertices of an n-sided polygon, then the
[23:15] < Davbo> polygon may be plotted by:
[23:15] < Davbo> plot([v(1,:) v(1,1)], [v(2,:) v(2,1)])
[23:15] < Davbo> oops!
[23:16] < Davbo> Sorry about that lol
[23:16] < j_baker> np :)
[23:16] < Davbo> Was pasting it to the guys in #matlab asking if they understood what it meant
[23:17] < Davbo> unfortunately that channel is really inactive
[23:17] < j_baker> Heh... is this the same professor who likes to make typos?
[23:17] < Davbo> Nah hehe
[23:18] < Davbo> We have a maths lecturer teaching us MATLAB who doesn't like computers
[23:18] < j_baker> What class is this for?
[23:19] < Davbo> it's 10% of our Discrete Math module
[23:20] < j_baker> Sounds like classes work differently there...
[23:20] < Davbo> hmm?
[23:21] < j_baker> Well say, I took discrete math this semester.
[23:21] < j_baker> and just took the final for it.
[23:22] < Davbo> final being 100% of your marks for that class?
[23:22] < j_baker> I don't remember how much of the grade it was, but there were two midterms as well
[23:23] < Davbo> Ah
[23:23] < Davbo> Ours are all over the place
[23:24] < Davbo> You need to do 120 credits in a year, I did 70 first semester and doing 50 this semester. Some more intensive classes are 20credits but all of mine are 10 each.
[23:25] < Davbo> it's a bit weird.
[23:26] < j_baker> Well, we take classes in hours. To be full time, you have to have 12 hours a semester.
[23:26] < j_baker> So I suppose classes aren't too different.
[23:26] < Davbo> I see
[23:26] < j_baker> Most classes are 3 hours, but ones with labs are 4 hours.
[23:30] < j_baker> Be back later. Gotta pay rent.
[23:31] *** j_baker is now known as j_baker-away
[23:47] *** bcarlyon|ubuntu_ is now known as bcarlyon|ubuntu