[00:45] *** MS- calls it a night
[00:45] *** MS- has parted #kamaelia
[06:35] *** Lawouach_ has joined #kamaelia
[06:35] < Lawouach_> morning
[07:24] *** vmlemon__ has joined #kamaelia
[07:24] *** vmlemon__ is now known as vmlemon_
[07:27] < vmlemon_> Hi
[08:28] *** mhrd has joined #kamaelia
[08:37] *** Chong- has joined #kamaelia
[08:52] *** bcarlyon|laptop has joined #kamaelia
[09:21] < Lawouach_> Photographs I took yesterday that I quite like:
[09:21] < Lawouach_> http://www.flickr.com/photos/lawouach/2621390411/
[09:21] < Lawouach_> http://www.flickr.com/photos/lawouach/2622214580/
[09:21] < Lawouach_> http://www.flickr.com/photos/lawouach/2621389403/
[09:21] < Lawouach_> http://www.flickr.com/photos/lawouach/2621393211/
[09:36] *** Uraeus has joined #kamaelia
[10:02] *** Davbo has joined #kamaelia
[10:10] < Chong-> Lawouach_: nice shots. I especially like the last one, a sapling under the sunrise
[10:11] < mhrd> I like the one of the red/yellow flower with the small depth of field
[10:15] < Chong-> mhrd: the flower is very beautiful
[10:35] < Lawouach> mhrd: me too actually :)
[10:35] < Lawouach> those flowers are all in my parent's garden. Life is sweet in Brittany :)
[10:36] < mhrd> they're nice pictures
[10:36] < mhrd> heh
[10:37] < mhrd> if anyone is interested: http://www.bbc.co.uk/blogs/bbcilabs/2008/06/mashed_digital_tv.html (the formatting issues ain't our fault :-) )
[11:27] *** bobo72 has joined #kamaelia
[11:29] *** Lawouach_ has joined #kamaelia
[11:43] *** sadrul has joined #kamaelia
[12:42] *** Chong- has joined #kamaelia
[12:48] < Chong-> mhrd: I have watched *click* reports about mashed_digital_tv competition, doing real-time TV subtitle translation. Is it the same event?
[13:01] *** bcarlyon|laptop has parted #kamaelia
[13:05] < mhrd> yes
[13:05] < mhrd> they were using subtitles and video from something different ("bbc redux") - which was much easier to access that trying to learn how to capture live broadcasts - however the data formats are all very similar/related
[13:13] < Chong-> mhrd: I see. It seems a very interesting event.
[13:14] < mhrd> http://mashed08.backnetwork.com/
[13:18] *** Chong- seeing the photos :-)
[13:19] < mhrd> I wasn't actually there :)
[13:19] < mhrd> various colleagues (including MS-) were there though
[13:20] < Chong-> mhrd: I see. trying to find MS- :-)
[13:20] < mhrd> the event was not specifically a digital-tv thing. It just so happened that we made available various digital tv related things for people to use. Most things didn't
[13:24] < Chong-> yes, I have seen NASA ANTS in the schedule
[13:25] < Chong-> and *How to get started hacking with Kamaelia* :-)
[13:25] *** mhrd watching that one now (re-ingesting it because we had a mishap that lost teh file :-( )
[13:26] < mhrd> I believe the talks will be going up on youtube eventually
[13:27] < Chong-> it would be nice if able to see it on youtube :-)
[13:33] *** MS- has joined #kamaelia
[13:33] < MS-> pants
[13:33] < MS-> forgot about meetings
[13:33] < MS-> sorry Davbo
[13:33] < MS-> :-(
[13:33] *** MS- apologises profusely
[13:34] *** MS- hopes he doesn't have to do any java as penance
[13:40] < Davbo> Hah!
[13:40] < Davbo> Grr! you just made me panic
[13:41] < Davbo> did an svn update then my stuff all changed surprise commit from MS-
[13:42] < MS-> I did mention it last week!
[13:42] < MS-> mhrd: Actually the northenders people were OCR'ing the subtitles themselves - they weren't taking them from redux
[13:42] < MS-> At least that's what they said in their presentation
[13:43] < MS-> with diagrams and boxes and everything
[13:43] < Davbo> Sorry missed it :)
[13:43] < MS-> np
[13:43] < Davbo> I couldn't figure out how to do that though
[13:43] < MS-> Does it help ?
[13:43] < Davbo> the window sizes that is
[13:43] *** MS- nods
[13:44] < Davbo> Yeah, just made me panic when it cut off my slider bar
[13:44] < MS-> mhrd: They're ingesting the video?
[13:44] < MS-> Could I get a copy of the raw video?
[13:44] < MS-> Davbo: ahh I see
[13:44] < MS-> sorry :)
[13:45] < MS-> mhrd: by raw I mean "whatever it gets encoded at, at a decent quality" :)
[13:45] < MS-> Not SDI style saw
[13:45] < MS-> s/saw/raw/
[13:45] < Davbo> Finding another problem straight away too unfortunately
[13:45] < Davbo> They aint talking while wrapped in an extra Pipeline
[13:46] < MS-> ?
[13:46] < MS-> What isn't?
[13:46] < Davbo> Selecting a colour is having no effect
[13:46] < MS-> odd
[13:46] < MS-> It was working for me when I checked in
[13:46] < Davbo> XYPad outbox != Pipeline outbox?
[13:46] < Davbo> humm
[13:46] < MS-> (checked that I wasn't changing behaviour...)
[13:47] < MS-> Well, you can always rip it out and curse on my grave of course
[13:47] < Davbo> :-)
[13:48] < MS-> It looks like you're making good progress though BTW
[13:48] < MS-> You may want to start thinking about icons for buttons and making your controls look prettier...
[13:48] < MS-> If only because the longer you leave it, the more there will be to do :)
[13:49] < Davbo> yeah
[13:49] < Davbo> Did you see my message yesterday?
[13:49] < MS-> About lines?
[13:49] < Davbo> I wanted to resolve that issue
[13:49] < Davbo> Yeah
[13:49] < MS-> I saw it but didn't get a chance to look
[13:49] < Davbo> the people in #pygame don't seem to think using pygame.draw.* is good for this kind of thing
[13:50] < Davbo> they suggest make pygame surfaces for each "brush" and then blit them
[13:50] < MS-> Try it and see what you think :-)
[13:50] < MS-> It's not the worlds best suggestion I know, but it's pragmatic
[13:51] < Davbo> Yeah
[13:52] < Davbo> as for UI elements, if anyone wants a pygame slider bar I have some horrible code that can make one :)
[13:53] < MS-> :)
[13:53] < Davbo> as soon as my code did something different i did svn blame which made me laugh
[13:53] < MS-> Have you considered looking at PGU by any chance?
[13:54] < Davbo> Yeah i've looked at it
[13:54] < Davbo> I was already familiar with XYPad so I just changed that
[13:54] < MS-> Just fiddled with pygame.draw. Tis a little odd
[13:55] < MS-> >>> import pygame
[13:55] < MS-> >>> pygame.init()
[13:55] < MS-> >>> X = pygame.display.set_mode((640,480))
[13:55] < MS-> >>> pygame.draw.line(X, (255,255,255), (100,100),( 200,200))
[13:55] < MS-> >>> pygame.display.flip()
[13:55] < Davbo> http://www.davbo.org/images/snapshot13.png
[13:56] < Davbo> hardly an ideal way for it to work
[13:56] < MS-> It's makes sense what it's doing, but it's naturally to assume a circular thing instead
[13:56] < MS-> You could also do this FWIW
[13:56] < Davbo> pygame.draw.circle instead of line is no better unfortunately
[13:56] < MS-> Draw a rectangle which is aligned with the direction you want
[13:57] < MS-> then put circles on the end
[13:57] < MS-> with the same radius
[13:57] < MS-> diameter rather
[13:57] < MS-> eg
[13:57] < MS-> if you have a line from
[13:57] < MS-> (100,100) to (200, 100)
[13:57] < MS-> width 10
[13:57] < MS-> draw a rect
[13:57] < Davbo> For a "line" tool that'd be fine but not as a brush
[13:58] < MS-> with corners (100, 90), (200,90), (200, 110), (100, 110),
[13:58] < MS-> Then circles centred on each radius 10
[13:58] < MS-> OK that's width 20, but you get what I mean
[13:59] < Davbo> yeah
[13:59] < MS-> Doing a brush for the line would mean implementing bresenham's algorithm BTW
[13:59] < MS-> with could be *slow* depending on how you do the brush blitting
[14:00] < Davbo> You think?
[14:00] < MS-> Yep
[14:00] < MS-> *could*
[14:01] < Davbo> I would take the args from the tool box ie. colour size etc then make a "brush" surface and just blit that while you hold down the mouse
[14:01] < MS-> That's a different matter
[14:01] < MS-> I thought you meant actually drawing a line with it
[14:01] < Davbo> Ah sorry, I wasn't following you
[14:02] < Davbo> Yeah with a line it would be different
[14:03] < Davbo> I'll play about with it and then come back to you MS-
[14:04] < Chong-> Davbo: so have you finished your meeting? :-)
[14:04] < MS-> cool
[14:04] < Davbo> meeting?
[14:04] < Chong-> meeting with MS-? :-)
[14:05] < Davbo> Ah if this is your mentor time I apologise :-)
[14:05] < Chong-> Davbo: np. I can wait. :-)
[14:05] < Davbo> nah it's okay, i'm done
[14:06] < Chong-> Just now, seeing you say "I'll play about with it and then come back to you MS-", I thought you have finished your meeting.
[14:06] *** MS- waits for the confusion to grow
[14:07] < Lawouach_> ahem
[14:07] < MS-> Chong - about the only thing I was going to suggest today was how to make your own branch for hacking about the OpenGL code for debugging purposes
[14:07] < MS-> Which is actually quite simple
[14:08] < MS-> I do all my checkouts in ~/kamaelia
[14:08] < MS-> so if I do this:
[14:08] < MS-> ~/kamaelia> ls
[14:08] < MS-> branches/ tags/ trunk/
[14:08] < MS-> That's what I get
[14:08] < MS-> OK
[14:08] < MS-> to make a branch
[14:08] < MS-> ~/kamaelia> cd branches/
[14:08] < MS-> you'd name it
[14:09] < MS-> private_CL_< anything you like>
[14:09] < MS-> you there?
[14:09] < Chong-> maybe private_CL_Topology3D
[14:09] < Chong-> yes.
[14:10] < MS-> yep
[14:10] *** Chong- listening :-)
[14:10] < MS-> So the way you create a branch in svn is actually through doing a subversion copy
[14:10] < MS-> the section of the code tree we usually branch is
[14:10] < MS-> /trunk/Code/Python
[14:11] < MS-> so to make a branch called private_CL_Topology3D
[14:11] < MS-> you'd do this:
[14:11] < MS-> ~/kamaelia/branches> svn cp ../trunk/Code/Python private_CL_Topology3D
[14:11] < MS-> That creates the branch locally
[14:11] < MS-> You then immediately check it into the repository:
[14:11] < MS-> ~/kamaelia/branches> svn ci private_CL_Topology3D
[14:12] < MS-> And describe why you've created it
[14:12] < MS-> If you mistype the name, _don't_ rename the branch since that'll cause problems later on
[14:12] < MS-> From then on inside that branch you can change and add and delete anything you like
[14:12] < Chong-> cool :-)
[14:12] < Davbo> http://groups.google.com/group/kamaelia/browse_thread/thread/119ef450e6a56b81
[14:12] < MS-> Much like private_MPS_Scratch is radically different
[14:12] < MS-> You can also have as many of them as you like
[14:13] < MS-> as long as you name them correctly
[14:13] < Davbo> (that post on the list is relevant)
[14:13] < Chong-> yes. Thanks for the link, Davbo.
[14:13] < MS-> Davbo: Thanks :)
[14:13] < mhrd> MS- : we've got the video as DV - on tape and as files (our playout system's ingester keeps the originals)
[14:13] < MS-> I see
[14:13] < MS-> Doesn't ffmpeg transide DV?
[14:13] < MS-> transcode
[14:13] < MS-> even
[14:13] < mhrd> I'm currently shoehorning them onto a 60GB 2.5" external HDD to pass them to Matt Cashmore tomorrow
[14:13] < MS-> heh
[14:13] < MS-> OK
[14:13] < MS-> cool
[14:13] < mhrd> MS- : yes it does :)
[14:14] < mhrd> we used ffmpeg to ingest incoming video and MPEG2 encode it
[14:14] < MS-> How big is the DV original of my session out of interest?
[14:14] < MS-> heheh
[14:14] < MS-> k
[14:14] < mhrd> umm, it'll be *big* ... checking ...
[14:14] < MS-> Oh it's MP2?
[14:14] < MS-> I can guess the rough size
[14:14] < MS-> mpeg 2 rather not mp2
[14:14] < mhrd> 5 or 10 gigs or so
[14:15] < MS-> About a couple of gig if that. If DV then I was about to guess that
[14:15] < mhrd> mpeg2 encoded for playout it'll be smaller
[14:15] *** MS- nods
[14:15] < MS-> up to a couple of gig I'd guess
[14:15] < MS-> Can't remember how long the session was
[14:15] < MS-> Less than an hour so should be less that a couple of gig
[14:16] < mhrd> I'm tearing my hair out trying to understand *what* kino is exporting ... the original I've just captured from tape, or with the trimming of the start and finish that I tried to get it to do
[14:16] < mhrd> :)
[14:16] < MS-> If it's small enough could you pop the data (whatever format) it onto a DVD in the internal post ? :)
[14:16] < mhrd> sure ... I'm guessing you'd rather have the mpeg 2?
[14:16] < MS-> yep :)
[14:17] < MS-> Anyway chong, if you do that and have your own branch to do that stuff with, you can fiddle to your hearts content with the existing open GL code to add/remove debug stuff
[14:17] < mhrd> hmm, mpeg2 file on a DVD (heh)
[14:17] < MS-> without affecting anyone else
[14:17] < MS-> heh
[14:18] < MS-> Who owns the recordings ? Was it made by only BBC staff or was there anyone involved who wasn't a full time person?
[14:18] < mhrd> made by bbc staff
[14:18] < MS-> (full time continuing contract person that is)
[14:18] < MS-> All on continuing contracts?
[14:18] < mhrd> think so - KWers
[14:18] < MS-> cool
[14:18] < MS-> That means we (bbc) own the rights outright and can what we like with it.
[14:19] < mhrd> yep
[14:19] < MS-> Chong-: You there?
[14:19] < MS-> You can chime in...
[14:19] < MS-> (multiple conversations at once is fairly normal... - you just ignore the stuff you're not listening to :) )
[14:20] < Chong-> yes
[14:20] < MS-> Chong-: BTW your checkin messaes have improved by several orders of magnitude in the past week - much appreciated :)
[14:20] < Davbo> Could someone suggest a set of icons that are under some kind of friendly license I could look through for things like paint brushes and stuff
[14:20] < Chong-> In fact, I'm interested in the topic too :-)
[14:20] < MS-> :)
[14:21] < MS-> Davbo: I tend to "borrow" from KDE or GNOME or similar
[14:21] < Chong-> Thanks :-)
[14:21] < MS-> Chong-: I would suggest making the messages slightly longer though
[14:21] < Davbo> duh! The Gimp :)
[14:21] < Davbo> I'll just use those ones
[14:21] < Chong-> MS-: got it. I will.
[14:22] < MS-> As I say, think of it as a mini-email
[14:22] < MS-> (since it *is* after all, just with some default recipients)
[14:22] < Chong-> yes. That's very similar in this sense.
[14:23] < Chong-> MS-: Do you have any comments on the code of Topology3D so far? And what functions do you suggest to add?
[14:23] < MS-> Ooh, sproingies in 3D
[14:23] < MS-> I note that cursor keys move your view
[14:24] < MS-> But aren't updating the thing that maps clicks to positions in space
[14:24] < MS-> meaning that things you grab goes a bit wierd if you change position
[14:24] < MS-> My suggestion would be to add in rotations around the 3 axes
[14:24] < MS-> (ie around x,y & z) for changing view
[14:25] < MS-> Also can you move in/out?
[14:25] < Chong-> yes.
[14:25] *** MS- looks at code to find where...
[14:25] < MS-> ahh
[14:25] < MS-> page up/down
[14:25] < Chong-> yes.
[14:26] < MS-> Dragging isn't quite 100% matched to mouse position is it?
[14:26] < MS-> Probably worth looking at the how THF implemented the matched interactor
[14:26] < MS-> This is quite fun :)
[14:27] < MS-> Zooming in/out and spinning round would be very cool
[14:27] < MS-> That would be my suggestion for now
[14:27] < MS-> focus on fleshing out features at this stage
[14:27] < MS-> specifically like that
[14:27] < Chong-> MS-: I have already referred to his matched interactor
[14:27] < MS-> Yep, I guessed that
[14:28] < Chong-> That's a good idea.
[14:28] < MS-> But it's when you move things (via arrow keys or page up/down)
[14:28] < MS-> it loses the "match"
[14:28] < MS-> And I know it doesn't have to (having seen some of the demos and Matt's page turning code)
[14:29] < Chong-> MS-: do you mean the link doesn't match?
[14:30] < Chong-> I have updated the link code, it should match if you update your work copy
[14:31] < MS-> ~/kamaelia/trunk/Sketches/CL/Topology3D/Utils> socksify svn update
[14:31] < MS-> At revision 4708.
[14:31] < MS-> No, things match *UNTIL*
[14:31] < MS-> I press cursor keys
[14:31] < MS-> then things jump around wrong
[14:31] < MS-> I'm guessing that what's happening is you're changing the view position
[14:31] < MS-> whereas the matched interacter code is expecting the object to move instead
[14:32] < MS-> or vice versa
[14:32] < MS-> and somethings out of sync
[14:32] < MS-> Example
[14:32] < MS-> Do this:
[14:32] < MS-> ~/kamaelia/trunk/Sketches/CL/Topology3D/Utils> ./TopologyViewer3D.py
[14:32] < MS-> Then
[14:32] < MS-> press page down
[14:32] < MS-> 6 times
[14:32] < MS-> then right arrow key
[14:33] < MS-> 6 times
[14:33] < MS-> Then grab a node without moving the mouse pointer
[14:33] < MS-> Then whilst still holding down, moving mouse pointer a couple of pixels left
[14:33] < MS-> you'll see what I mean
[14:33] < MS-> It bouncese away
[14:34] < MS-> If you then drag it around you'll find it doesn't match the mouse point
[14:34] < MS-> er
[14:34] *** Chong- trying it
[14:34] < MS-> Whereas if you simply restart, grab a node and drag, then it does match the mouse pointer
[14:35] < MS-> Should be fairly easily resolvable - but you'll need to do that before you spin the view on x,y,z axes
[14:35] < MS-> It probably needs to be changed in the matched interactor FWIW
[14:36] < MS-> since it's easiest to shift and rotate the view than it is the do the model as a whole really.
[14:36] < Davbo> ImportError: No module named THF.Kamaelia.UI.OpenGL.OpenGLComponent
[14:36] < Davbo> :-(
[14:36] < Chong-> MS- : I see what you mean. I think it should be due to the application of law (repulse)
[14:36] < MS-> Chong-: I don't think it has anything to do with the physics laws at all
[14:37] < MS-> nope, it doesn't
[14:37] < MS-> Changing your graphline to this:
[14:37] < MS-> Graphline(
[14:37] < MS-> CONSOLEREADER = ConsoleReader(">>> "),
[14:37] < MS-> DATASOURCE = DataSource(['ADD NODE 1Node 1Node randompos -']),
[14:38] < MS-> ie only having one thing results in the same behaviour
[14:38] < MS-> Looks like you also do this:
[14:38] < MS-> if event.key == pygame.K_PAGEUP:
[14:38] < MS-> self.display.viewerposition.z -= 0.5
[14:38] < MS-> elif event.key == pygame.K_PAGEDOWN:
[14:38] < MS-> self.display.viewerposition.z += 0.5
[14:38] < MS-> elif event.key == pygame.K_UP:
[14:38] < MS-> self.display.viewerposition.y += 0.5
[14:38] < MS-> elif event.key == pygame.K_DOWN:
[14:38] < MS-> self.display.viewerposition.y -= 0.5
[14:38] < MS-> elif event.key == pygame.K_LEFT:
[14:38] < MS-> self.display.viewerposition.x -= 0.5
[14:38] < MS-> elif event.key == pygame.K_RIGHT:
[14:38] < MS-> self.display.viewerposition.x += 0.5
[14:38] < Chong-> yes. you're right
[14:40] < MS-> Yes, it's definitely that
[14:40] < MS-> The *Interactor.py* file will need faffing about with
[14:41] < MS-> Though actually I can't see where that deals with intersection
[14:42] < MS-> Ahh - HERE: z = Intersect.ray_Plane(Vector(0,0,0), event.direction, [self.position, p1, p2])
[14:42] < Chong-> I'll check it.
[14:42] < MS-> def handleEvents(self):
[14:43] < MS-> while self.dataReady("events"):
[14:43] < MS-> event = self.recv("events")
[14:43] < MS-> ...
[14:43] < MS-> z = Intersect.ray_Plane(Vector(0,0,0), event.direction, [self.position, p1, p2])
[14:43] < MS-> If you add an inbox to
[14:43] < MS-> MatchedTranslationInteractor
[14:43] < MS-> To update the hardcoded values
[14:43] < MS-> and then that should help
[14:43] < MS-> I would guess
[14:44] < MS-> That's where I would start
[14:44] *** Davbo is in icon-heaven http://tango.freedesktop.org/ArtLibreSet
[14:44] < Chong-> I'll try it.
[14:44] < Davbo> Am I okay to use these MS-?
[14:44] < MS-> Once you've got that (it'll either be quick or a nightmare)
[14:44] < MS-> I'd suggest adding a teapot particle type
[14:45] < MS-> since that's an easy win with Open GL given it's a hardcoded object :)
[14:45] < Chong-> cool
[14:45] < Chong-> yes :-)
[14:45] < MS-> I think matching, spinning, zooming in/out and stuff will be a good start
[14:45] < MS-> Davbo: It's your project :)
[14:45] < MS-> What license is it?
[14:46] < Davbo> I meant license wise
[14:46] *** MS- looks
[14:46] < MS-> GPL
[14:46] < Davbo> GPL
[14:46] < MS-> It'll mean that your *application* will be GPL only.
[14:46] < MS-> I'd suggest in that case you also have a plan B if the images aren't there...
[14:47] < Davbo> right
[14:47] < MS-> I'd prefer cc-by license for the images myself
[14:47] < MS-> Or BSD/LGPL
[14:47] < MS-> simply because it makes things more easily reusable for more people
[14:47] < Davbo> I agree
[14:47] *** vmlemon__ has joined #kamaelia
[14:47] *** vmlemon__ is now known as vmlemon_
[14:47] < vmlemon_> Hi
[14:48] < MS-> actual license for the icons is http://creativecommons.org/licenses/by-sa/2.5/
[14:48] < MS-> So now I'm unclear whether it's GPL or by-sa
[14:48] < MS-> vmlemon_: hi
[14:48] < MS-> by-sa would be OK, since it would only refer to the images themselves
[14:48] < Davbo> Maybe the Tango chaps know
[14:49] < MS-> I don't like it when someone does that
[14:49] < MS-> It just makes things unclear :-(
[14:49] < Davbo> Where does it say it's by-sa MS-?
[14:49] < vmlemon_> Hmm, what's the current discussion about?
[14:49] < MS-> http://tango.freedesktop.org/Frequently_Asked_Questions
[14:49] < MS-> vmlemon_: licensing of icons
[14:50] < MS-> of a particular library
[14:50] < vmlemon_> Aah
[14:50] < MS-> and whether it's something that is reasonable or a PITA
[14:50] < MS-> http://tango.freedesktop.org/Frequently_Asked_Questions#Terms_of_Use.3F
[14:51] < j_baker_> The Tango base icon theme is licensed under the Creative Commons Attribution Share-Alike license. The palette is in public domain. Developers, feel free to ship it along with your application. The icon naming utilities are licensed under the GPL.
[14:51] < j_baker_> http://tango.freedesktop.org/Tango_Desktop_Project
[14:52] < MS-> Ahh fantastic - thanks j_baker_
[14:52] < MS-> Davbo: They're fine :)
[14:52] < MS-> The by-sa would hit you if you want to make your own derivatives of their icons, but that's fine IMO.
[14:53] < MS-> icons changing the license of source using it would just be a pain
[14:53] < Davbo> Hah: (15:53:49) monreal: those art icons are from gimp, they are gpl
[14:53] < MS-> heh
[14:53] < vmlemon_> Sounds fun
[14:53] < Davbo> I guess they're not in the "base" icon set
[14:55] *** Davbo thinks that's ridiculous 
[14:56] < vmlemon_> Yay for ToxIcons - Magically Relicensing Your Code! ;)
[14:56] < Davbo> Looks like I'll fire up gimp and draw my own icons, 'least I'll have the gimp icons there for reference while I'm doing it.
[14:56] < Davbo> ;-)
[14:57] < Lawouach_> I usually use the Tango icons too
[14:57] < Davbo> I don't really want my app to be GPL though Lawouach_ and those are from GIMP which is GPL and ... *headache*
[14:58] < MS-> It's entirely up to you what you do/don't do. I don't tend to want to foist any opinion on people except "think practicalities"
[14:58] < MS-> :)
[14:59] < MS-> If you do make your own ones, kolourpaint is quite nice
[14:59] < MS-> Not what I want from a general image app, but OK for iconeditting IIRC
[15:00] < Lawouach_> I don't understand the link between Gimp being GPL and the Tango icons.
[15:01] < MS-> Lawouach_: Up above, Davbo_ said:
[15:01] < MS-> (16:00:09) Davbo: Hah: (15:53:49) monreal: those art icons are from gimp, they are gpl
[15:01] < Lawouach_> Doesn't make much sense to me
[15:02] < vmlemon_> Why GPL an icon? It seems stupid/counterproductive...
[15:02] < Lawouach_> Just because the tool used to create them is GPL doesn't make the produced work GPL
[15:02] < Davbo> nah Lawouach_ they're *from* gimp
[15:02] < MS-> Lawouach_: Nod
[15:02] < Lawouach_> ah
[15:02] < MS-> I believe that that was the claim
[15:03] < vmlemon_> Would displaying them in a screenshot as a file icon GPL the screenshot?
[15:04] < MS-> vmlemon_: I have no idea
[15:04] < MS-> nor really care tbh
[15:04] < MS-> They're diddy pictures
[15:04] < MS-> Diddy pictures should not cause problems
[15:05] < MS-> they should sit there being diddy and pretty
[15:05] < Lawouach_> Davbo: keep in mind the Gimp team could perfectly license the program under GPL and the icons under a CC license
[15:05] < MS-> indeed
[15:07] < Lawouach_> Davbo: Beside I can't find any pointer regarding those icons coming FROM Gimp.
[15:07] < Lawouach_> So I'm dubious
[15:10] < MS-> I'm going to leave shortly - looks like trams are bust here
[15:10] < Davbo> You got Gimp installed Lawouach_?
[15:11] < Davbo> (16:11:27) dobey: Davbo: actually, ArtLibre is LGPL iirc... the icons in gimp are LGPL
[15:11] *** Davbo sighs
[15:12] < Davbo> (16:12:38) dobey: yes i believe so. because they are in libgimp iirc, which is i believe LGPL
[15:12] < Davbo> lol
[15:12] < Lawouach_> right
[15:12] < MS-> That's fine
[15:12] < Lawouach_> doesn't actually help you at all since you are considering using the Tango icons which are under CC
[15:13] < MS-> heh
[15:13] < Lawouach_> meh
[15:13] < Lawouach_> I hate license issue :)
[15:13] < Davbo> me too.
[15:13] < j_baker_> Yeah. Wasn't FOSS made to circumvent restrictive licensing?
[15:14] < vmlemon_> Good point
[15:14] < MS-> j_baker_: In the beginning was the BSD licence and friends and all was simple
[15:14] < Lawouach_> That's a bit bitter ;)
[15:15] < MS-> Then along came the GPL and fucked things about for everyone confusing the hell out of everyon
[15:15] < MS-> e
[15:15] < MS-> *ahem*
[15:15] < MS-> (BSD style licensing does predate the GPL though by a wide margin and was always simple)
[15:16] < j_baker_> Yeah. But FOSS is the superior way to develop software. Anyone who thinks differently is evil incarnate. < /Stallman>
[15:16] < Lawouach_> Actually the GPL does make sense in some contexts.
[15:16] < j_baker_> I can see that Lawouach_. I just think a good dose of cynicism is healthy. :P
[15:17] < Lawouach_> For instance, say I was a company producing closed source software and i want to get some of that OSS market everyone talks about. The GPL would protect me from my competitors while making me look good
[15:17] < Lawouach_> The GPL is the new patent ;)
[15:17] < Davbo> Hah Lawouach_
[15:17] < j_baker_> Especially if you're using it like google. Just put the software on a computer on a network and you don't have to release the source to anyone.
[15:18] < vmlemon_> "Freedom (R)" as RMS brands it? ;)
[15:18] < MS-> I don't have a problem with the GPL, just with the problems it causes with interoperability
[15:18] < MS-> That's why I prefer doing everything BSD /etc
[15:18] < Lawouach_> I agree.
[15:18] < MS-> since you can just give stuff out and not make anyone have to think "can I or can I not use it"
[15:19] < MS-> LGPL is the closest I could get for release of Kamaelia
[15:20] < Davbo> (16:18:44) dobey: oh, ok, so the icons in GIMP are GPLv2
[15:20] < Davbo> (16:19:12) dobey: they aren't part of libgimp
[15:20] < Davbo> (16:19:30) dobey: the gimp application is themable and the icons are part of the default theme for the app
[15:20] *** MS- leaves you to untangle the mess
[15:20] < MS-> I'm off home :)
[15:20] < MS-> back later
[15:20] < MS-> cya
[15:20] *** MS- has parted #kamaelia
[15:20] < Davbo> Hah
[15:21] < Davbo> I'm not using these icons now
[15:21] < Davbo> There are plenty of open source paint apps with nice icons i'm sure
[15:23] < vmlemon_> Bad icons! ;)
[15:25] < vmlemon_> What about the Paint.NET one?
[15:29] < Davbo> Ah that's MIT
[15:30] < Davbo> MIT is quite friendly afaik
[15:34] < Davbo> To be honest though, I can't be arsed with this now.
[15:34] < Davbo> The icons can wait
[15:35] < j_baker_> Just use stick figures.
[15:35] < j_baker_> I think that would be appropriate for a paint app. :P
[15:35] < Davbo> lol
[15:36] < j_baker_> Perhaps our apps should have some kind of common theme though. I think that would be cool.
[15:36] < j_baker_> (that is if I ever get around to designing a GUI for my app)
[15:36] < Davbo> is there a gui planned for yours j_baker_?
[15:37] < j_baker_> At some point. Either that or a webapp that will handle all the configuration.
[15:37] < j_baker_> It's just that there's so much to do with my app and so little time to do it in. :(
[15:38] < Davbo> i'm sure it will come together
[15:38] < j_baker_> I agree. It's just a matter of priorities.
[15:38] < Davbo> it's amazing how productive I can be in the last few weeks of a project :-)
[15:39] < Davbo> ;-)
[15:39] < Davbo> not that I encourage such an approach but it does happen
[15:39] < j_baker_> A GUI is a necessity for an app that was designed for computer-stupid people, but it's better to make sure the thing WORKS RIGHT before going too far into it.
[15:39] < vmlemon_> Hehe
[15:39] < j_baker_> Hey, I'm the same way. I complete a lot of projects in the last few days before they're due. :P
[15:40] < vmlemon_> Procrastination? ;)
[15:40] < j_baker_> There was one that I did almost entirely the day before it was due and didn't meet any of my professor's documentation guidelines. So I put a comment in the source file basically saying that the documentation wasn't where I wanted it to be.
[15:41] < j_baker_> The prof wrote a note on my paper saying "Thank you, honesty is a value" and gave me a B. :)
[15:41] < j_baker_> Which is cool considering that documentation was almost half the grade for my prof. :)
[15:43] < Davbo> Hah, I'm generally awful at documentation. Actually, that's a lie. I suck at over-documenting which is what we end up doing at university IMO.
[15:43] < j_baker_> Meh. I think it's better to over-document than to under-document. It's just a PITA. :)
[15:44] < Davbo> I like documenting code, I can't stand designing, analysis and rubbish like that.
[15:44] < j_baker_> I do have to say though, I've spent a lot of time going through open source python apps' source code in the last couple of weeks, and I do have to say that Kamaelia is the best documented I've come across.
[15:44] < vmlemon_> Meh, I'm almost at the end of college (only have a week or so left, if that), and I still have a load of stuff to hand in :(
[15:45] < Davbo> For the most part Kamaelia is great, it's a bit spotty here and there though :)
[15:45] < j_baker_> Indeed.
[15:45] < j_baker_> I suppose that's important considering Kamaelia's goals.
[15:46] < mhrd> anywhere in particular you found it to be spotty?
[15:47] < Davbo> In particular? My code :-P
[15:47] < mhrd> heh
[15:47] < Davbo> Would you like to write me some mhrd? ;-)
[15:47] *** mhrd politely declines
[15:48] < Davbo> Hehe
[15:48] < j_baker_> I've not found a module that was undocumented or underdocumented, but I've found a couple of "historical" notes that aren't true anymore in Ryan's code (I think most of it was in the Minimal handler which is its own set of issues anyway)
[15:49] < mhrd> j_baker_ : feel free to suggest corrections to those - run the gist of it past MS- when he's around and he'll probably be happy with you modifying /trunk/Code directly
[15:49] < Davbo> mhrd: since lots of what i'm working with is the very new stuff i expect it to be spotty
[15:49] < mhrd> indeed - nothing is ever perfect first time - including docs :)
[15:50] < mhrd> any documentation holes you spot in /trunk/code/Python - particularly for components that have been around a while - mention them and I might get round to doing something about it
[15:50] < j_baker_> Are there any guidelines for documentation?
[15:50] < Davbo> Yeah
[15:50] < j_baker_> Other than "do it." :P
[15:50] < Davbo> 1 second humm
[15:50] < mhrd> "do it" is the most important :)
[15:51] < mhrd> http://edit.kamaelia.org/DocumentationGuidelines
[15:51] < Davbo> Blah beat me too it
[15:51] < mhrd> they are just recommendations - its better you write something than nothing at all; and sometimes these guidelines won't be the best way
[15:51] < mhrd> :)
[15:51] *** Davbo was searching his del.iciou.us for that link
[15:53] *** mhrd guessed the url
[15:54] < Davbo> My way was far more web 2.0, and your way got it done faster. Go figure ;-)
[15:54] < mhrd> lol
[15:55] < j_baker_> That was such a hard to guess URI. :P
[15:55] < vmlemon_> "Remember The del.icio.us Milk" (Not sure what happens if you forget it) ;)
[15:57] < Davbo> :-)
[15:58] < vmlemon_> Or what happens if the milk happens to be dis.gust.in
[15:59] < vmlemon_> Fridge 2.0(TM)!
[16:04] *** Lawouach_ has joined #kamaelia
[16:16] *** Davbo has had enough for today
[16:16] < Davbo> Cya tomorrow chaps.
[16:17] < mhrd> cya
[16:19] < Lawouach> back
[16:19] *** mhrd is now known as mhrd-afk
[16:19] *** orphans has joined #kamaelia
[16:20] < orphans> Lawouach, Lawouach_, ping?
[16:20] < Lawouach> pong
[16:20] < Lawouach> how are you?
[16:20] < Lawouach> nice weekend?
[16:20] < orphans> eargh, horrible
[16:20] < orphans> I've had flu and had to move houses manually (carry stuff from one to the other)
[16:20] < Lawouach> oh?
[16:21] < Lawouach> oh :(
[16:21] < orphans> just wanted to apologise for not being round much :)
[16:21] < orphans> move now done, and flu is (hopefully) on the mend
[16:21] < Lawouach> dopn't worry I understand
[16:22] < Lawouach> that's okay
[16:22] < orphans> cheers
[16:22] < Lawouach> Actually I wanted to ask you whether or not we could move the meeting forward by one hour this evening? Or if you'd rather move it to tomorrow evening.
[16:22] < Lawouach> Either way
[16:22] < orphans> tomorrow evening is probably a bit better for me tbh - I'm a bit knackered
[16:24] < Lawouach> sure
[16:24] < Lawouach> I understand
[16:24] < Lawouach> it'd be better for me as well
[16:24] < Lawouach> so let's do that tomorrow at the usual time
[16:24] < Lawouach> go get some rest
[16:24] < orphans> ok, cool. thanks, I will
[16:36] < vmlemon_> kamaeliabot: dance
[16:36] Reply: does the macarena
[17:10] *** MS- has joined #kamaelia
[17:10] < MS-> hi
[17:14] *** Davbo has joined #kamaelia
[17:18] *** MS- reads back what he missed
[17:19] *** MS- agrees with "GUI is a necessity for an app that was designed for computer-stupid people, but it's better to make sure the thing WORKS RIGHT before going too far into it."
[17:19] *** bcarlyon|laptop has joined #kamaelia
[17:19] < MS-> But there is an anti-corollary - specifically gold, jewellery stores and shiny things in general
[17:19] < vmlemon_> Hah
[17:20] < MS-> Gold has driven economies the world over for hundreds of years, and is valuable, but only in the last hundred or so has a good *use* for gold really been found
[17:20] < MS-> (electronics etc)
[17:22] *** MS- notes he agrees with many of the docs comments
[17:26] *** bobo has joined #kamaelia
[18:34] < j_baker_> MS-: I have a doctor's appointment at 3. Is it alright if we have our meeting now?
[18:34] < MS-> sure
[18:35] < MS-> I think I'd find it useful to get a brief discussion of which code branches & code bases I should be looking at BTW
[18:37] < j_baker_> It's private_JMB_Wsgi. I should probably delete private_JMB_KamaeliaPublish.
[18:37] < MS-> Cool
[18:37] < j_baker_> That's really the only place I've been making changes.
[18:37] < MS-> Multiple branches can be useful, but make life harder to figure out where the starting point is
[18:37] < MS-> :)
[18:37] *** sadrul has joined #kamaelia
[18:38] < MS-> One thing I may look at is to see if I can get my current work stuff running on top of it
[18:38] < j_baker_> Yeah. At any rate, I did a little optimization over the weekend, and for the most part I'm satisfied speedwise and memory-wise. There are probably a few optimizations that could be made to both areas, but it runs pretty well for a low load server.
[18:38] < MS-> It'd make a nice test
[18:38] < MS-> That's good to hear
[18:38] < j_baker_> I'm actually working on an autoinstall system that should make it easier to install.
[18:39] < MS-> I saw that - what's your thinking behind the autoinstall?
[18:39] < j_baker_> But all you'd really need is the urls.ini file and .kp
[18:39] *** MS- nods
[18:40] < j_baker_> Well, I wanted to just make it so that I'd only have to distribute one executable file.
[18:40] < j_baker_> The autoinstaller determines if the appropriate files exist and asks to install them if necessary.
[18:42] < MS-> I see
[18:42] < MS-> It's a good idea
[18:43] < j_baker_> It's turning out to be a bit more of a PITA than I had imagined though. Primarily because it's kinda difficult to keep the directory structure intact since as far as I know zip files don't have a directory structure.
[18:43] < MS-> Really?
[18:43] < MS-> I know you can store multiple files/directories in a zip
[18:44] < MS-> but internally it's not modelled that way?
[18:44] < j_baker_> You kinda can.
[18:44] < j_baker_> Say I have a data directory and I store the file "foo" from it in a zip file.
[18:44] < j_baker_> It just stores the file as 'data/foo'
[18:44] *** MS- nods
[18:45] < j_baker_> (at least as far as the python zipfile module is concerned anyway)
[18:45] < MS-> I see
[18:45] < MS-> Well, there always was going to be limitations really
[18:45] < MS-> The zipfile stuff is good for imports I think, but doing it well beyond that being harder doesn't surprise me
[18:46] < MS-> (even if .odp, .odt, .ods etc files are zip files)
[18:46] < MS-> Actually that may be worth your while looking at if you've not done so
[18:46] < j_baker_> I'm guessing those are Open Office formats?
[18:46] < MS-> Yep
[18:47] < j_baker_> Interesting. I may have to look into that.
[18:47] < MS-> It's an interesting approach - inside them they files (eg images etc)
[18:47] < MS-> are stored seperately
[18:47] < MS-> and the body etc is just XML
[18:47] < MS-> but to bundle it all together they just zip it up
[18:48] < MS-> It sounds like you're converging on a similar idea
[18:48] < j_baker_> Well, it would be worth it if there are python libraries for them.
[18:49] < j_baker_> But once I'm done with that, I should be ready to move on to the next part of my project (migrating it to XMPP).
[18:49] < MS-> I was more thinking to have a rummage around inside to have a look at for ideas really
[18:49] < MS-> "unzip" gets inside the file fine :)
[18:50] < MS-> That plan sounds sensible FWIW
[18:50] < j_baker_> Interesting. I hadn't tested the file with unzip.
[18:51] < MS-> :)
[18:52] < MS-> Sometimes unzip will complain about the extension being wrong
[18:52] < MS-> depending on the version of unzip
[18:52] < j_baker_> The biggest challenge I see going ahead will be determining if there's a protocol for sending HTTP data over XMPP or if I'll have to write my own. I suppose I'll have to discuss that one with Lawouach.
[18:53] < MS-> Well, HTTP is technically transport agnostic
[18:53] < MS-> ie it can be sent of UDP for example - at least in theory
[18:53] < j_baker_> So is XMPP.
[18:53] < Lawouach> well
[18:53] < MS-> I've yet to see an implementation that did that thought
[18:53] < Lawouach> you'll have to explain what you want to do :)
[18:54] < j_baker_> Well, I'm using XMPP to serve webpages. The idea is to eventually make a gateway that would convert an HTTP request into XMPP.
[18:54] < MS-> j_baker_: cf:
[18:54] < MS-> http 80/tcp # World Wide Web HTTP
[18:54] < MS-> http 80/udp # World Wide Web HTTP
[18:54] < MS-> from /etc/services (assigned numbers)
[18:54] < j_baker_> (or I'm going to anyway)
[18:54] < Lawouach> hmm
[18:54] < j_baker_> I know there's a way to do it the other way around (serve XMPP over HTTP)
[18:54] < Lawouach> is there any existing client that'd be able to do anything about it?
[18:55] < Lawouach> I don't know any XMPP client that could cleanly display your web pages over XMPP
[18:55] < MS-> Lawouach - I'm not sure I see that as a problem :)
[18:55] < Lawouach> I don't know :)
[18:55] < MS-> me neither really :)
[18:55] < j_baker_> I suppose I could just put the body of the HTTP request into the XMPP message.
[18:55] < j_baker_> Or rather the whole HTTP request
[18:56] < MS-> If no-one's defined anything, that's what I would do. (the whole request)
[18:56] < MS-> (ignoring requests with a body for a moment)
[18:56] < Lawouach> http://www.xmpp.org/extensions/xep-0124.html < -- you have that but it's the other way around
[18:56] < Lawouach> serving XMPP over HTTP
[18:56] < Lawouach> and I haven't implemented it personally :)
[18:56] *** MS- wonders if j_baker_'s is reinventing BXXP/BEEP, but from the perspective of actually having a usecase
[18:57] < Lawouach> :)
[18:57] < j_baker_> BXXP/BEEP? Those sound vaguely familiar.
[18:57] < MS-> The BEEP book was very odd - it never appeared to actually have a usecase
[18:57] < MS-> Blocks Extensible < something> protocol
[18:58] < MS-> Intended to be the lego of protocols, and I've yet to see anything use it
[18:58] < MS-> Perhaps because it didn't ever seem to have a usecase (not even one a sensible one described in the O'Reilly book, oddly)
[18:59] < MS-> The odd thing is I can see a certain value of slinging HTTP requests around inside XMPP in a slightly twisted way
[18:59] < j_baker_> Well, I suppose the advantage there would be that XMPP already has an established framework.
[18:59] < MS-> Not quite sure what would come from it, but can definitely see something there
[18:59] *** MS- nods
[19:00] < MS-> I suppose it's a bit like email for HTTP ?
[19:00] < MS-> in it's own way
[19:00] < MS-> Yes, actually it is
[19:00] < j_baker_> Not unless I want to run BEEP over HTTP over XMPP (or some other combination of the three).
[19:00] < MS-> It's exactly what you want
[19:00] < MS-> BEEP is a white elephant
[19:00] < MS-> XMPP is probably precisely what you what.
[19:01] < MS-> It gives you routing of requests
[19:01] < MS-> Based on an id, rather than based on DNS
[19:01] < MS-> That's a very slightly wierd concept
[19:02] < MS-> I quite like those however
[19:02] < j_baker_> Sweet. That's what I'll focus on. It would be awesome to be able to just pull the HTTP request and use the existing HTTPServer that I already have.
[19:03] *** MS- finally sees how the parts of j_baker_'s ideas and project can fall inline together
[19:03] < j_baker_> And then once that's done, I could try to send the body through a file. That way I already have a premade wsgi.input.
[19:03] < MS-> Your intemediaries being XMPP things also make sense too
[19:03] < MS-> Perhaps the most wierd thing: The concept of "remote IP" totally disappears
[19:04] < MS-> I like this. It'd break people. BUT it deals with the issue of
[19:04] < j_baker_> For standard web pages, I don't forsee that as being too bad a concept. But some other types of content would require some hacking.
[19:04] < MS-> "how does someone access the server on my < random device that can speak HTTP but not IP>"
[19:05] < MS-> I can see it working for lots of things
[19:05] < MS-> Streaming flash would be an issue :)
[19:05] < MS-> This is a really wierd, but potentially very neat idea
[19:05] < j_baker_> Meh. The world's better off without it anyway. :) But that will be a problem for a lot of webpages.
[19:06] < MS-> Yeah, but not for a place that's never had it
[19:07] < j_baker_> I'll have to think of a succinct name for it because HTTP over XMPP is just too much of an alphabet soup mouthful.
[19:08] < MS-> We'll figure that out
[19:08] < MS-> :)
[19:09] < MS-> The interesting thing also is that it would deal with the issue of "how do I migrate from IPV4 to IPV6"
[19:10] < MS-> whilst also dealing with "I'm stuck behind a double nat on an ISP who hasn't got enough public IPs because we've round out of IPV4 addresses - which is happening soon"
[19:10] < MS-> I like this aspect for a number of reasons
[19:10] < MS-> It would be well worth searching to see if anyone has done this already though
[19:11] < MS-> If only to find out what they did wrong (if they did)
[19:11] < j_baker_> Plus it opens up a lot of other neat possibilities. Two servers could talk to each other, you could push RSS info out instead of requiring polling, etc.
[19:11] < j_baker_> (granted I suppose the server talking is already possible via XMLRPC)
[19:13] < j_baker_> Anyway, I've got to go get ready for my dr's appt, so I've got to take off. Talk to you guys later. :)
[19:13] < MS-> Cheers chat later :)
[19:27] *** bcarlyon|laptop has joined #kamaelia
[20:10] *** xmlhacker has joined #kamaelia
[20:18] *** xmlhacker has joined #kamaelia
[20:36] *** j_baker_ wonders if python's tarfile library works on windows.
[20:38] *** vmlemon_ has joined #kamaelia
[20:40] < vmlemon_> Hi
[21:13] *** vmlemon_ has joined #kamaelia
[21:16] *** vmlemon__ has joined #kamaelia
[21:18] *** vmlemon__ is now known as vmlemon_
[21:58] < Lawouach> yeah CherryPy 3.1 final is now out!
[21:58] < Lawouach> so sweet
[21:58] < MS-> Cool :)
[22:20] *** vmlemon_ has joined #kamaelia