Tuesday, 2007-12-18

*** gavinbaker has joined #cc00:01
*** isforinsects_ has joined #cc00:41
*** isforinsects has quit IRC00:59
*** yaourt has quit IRC01:02
*** notagerbil has joined #cc01:14
*** gavinbaker has quit IRC01:24
*** isforinsects_ is now known as isforinsects01:32
*** nkinkade has left #cc01:46
*** bov has quit IRC01:48
*** tvol has joined #CC03:15
*** Yaco2 has quit IRC04:20
*** qubodup has joined #cc04:35
*** kristallpirat has quit IRC04:40
*** tvol has quit IRC04:44
*** pmiller has joined #cc07:10
*** rrrojer has joined #cc07:41
*** rrrojer has quit IRC07:49
*** rejon has joined #cc08:45
*** Paul_Miller has joined #cc09:06
*** rejon has quit IRC09:28
*** rrrojer has joined #cc09:52
*** yaourt has joined #cc10:07
*** Danny_B has quit IRC10:39
*** aphid has quit IRC10:39
*** geeksteph has quit IRC10:39
*** themayor has quit IRC10:39
*** Gareth has quit IRC10:39
*** CIA-2 has quit IRC10:39
*** Danny_B has joined #cc10:40
*** aphid has joined #cc10:40
*** Gareth has joined #cc10:40
*** themayor has joined #cc10:40
*** geeksteph has joined #cc10:40
*** CIA-2 has joined #cc10:40
*** ya` has joined #cc11:25
*** rrrojer has quit IRC11:30
*** yaourt has quit IRC11:33
*** pmiller has left #cc12:45
*** rrrojer has joined #cc13:27
*** rrrojer has quit IRC13:45
*** geeksteph has quit IRC14:02
*** tvol has joined #CC14:02
*** tvol has quit IRC14:16
*** Yaco2 has joined #cc15:17
*** Yaco2 has quit IRC15:37
*** Paul_Miller_ has joined #cc16:23
*** Paul_Miller_ has quit IRC16:24
*** Paul_Miller has quit IRC16:40
*** rejon has joined #cc16:49
*** nkinkade has joined #cc17:00
*** logomaxos has joined #cc17:00
*** logomaxos1 has joined #cc17:01
*** logomaxos1 has left #cc17:01
logomaxoshello!!!!17:02
logomaxosi don`t know good english17:03
logomaxosi came from greece17:04
nkinkadelogomaxos: hi17:04
logomaxosare you came from greece17:05
nkinkadelogomaxos: no i'm from the USA.17:06
nkinkadelogomaxos: i'm not sure if there are any other people in this channel that speak greek.17:06
logomaxoswill you to write a greek17:07
logomaxoshave you email (hotmail)17:08
logomaxos?17:09
nkinkadelogomaxos: i don't know Greek at all.  maybe not even one word, unfortuantely.17:09
nkinkadelogomaxos: if you know Spanish, then we can write with that.17:09
logomaxosok17:09
logomaxosno17:10
nkinkadelogomaxos: then we have run out of possible languages, because i only know 2. :)17:10
logomaxosmine stab32@hotmail.com17:10
logomaxoshave you been a email?17:12
logomaxosif you have17:12
logomaxosgive me17:12
nkinkadelogomaxos: have you been here: http://creativecommons.gr/17:14
*** CIA-2 has quit IRC17:15
logomaxosthanks a lot                                                                                   thanks17:15
*** CIA-2 has joined #cc17:17
*** logomaxos has left #cc17:20
*** bov has joined #cc17:21
*** rejon has quit IRC17:31
*** rejon has joined #cc17:48
*** Yaco2 has joined #cc17:52
paulproteusnkinkade, (-:18:06
nkinkadeyes, sir.18:08
paulproteusJust grinning at the exchange above involving languages.18:09
bovhow's Oh-Ell-Pee-Cee going?18:09
paulproteusAll the bugs that anyone told me about are fixed, I think.18:10
nkinkadepaulproteus: oh.  i would like to be able to speak greek.18:10
paulproteusI have to put in the new text for the disclaimer, and that's it for this iteration.18:10
paulproteusI guess I can do that from here in bed right now.18:11
paulproteusI guess it's waiting for Virginia's ACK.18:11
bovyou got the box border padding all fixed up?18:11
paulproteusYup, it's padded + the padding color is normal.18:12
paulproteusOh, the one thing I didn't do is make the front main menu's buttons change color on hover.18:12
paulproteusI wonder why they don't.18:12
paulproteusBut it's an easy fix now that I understand more GTK stuff.18:12
bovrejon, ping18:16
*** Yaco2 has quit IRC18:23
rejonbov: pong18:30
bovrejon, at the time i was wondering if we hsould add the comics to the projects page..18:30
bovgotta add Zero and Plus.18:30
rejonsure, maybe just add link to the comics page: http://creativecommons.org/projects/comics18:31
rejonalready on about...cool18:31
rejonyah, good press in valleywag18:31
rejon!18:31
bov"It's reassuring that it appears that the IP is mostly owned by little white children. "18:32
rejonwiki redirection bitches18:33
bovdoesn't exactly look like glowing good press18:33
rejonno, i meant the othe rvalleywagger18:33
rejonanyway, that is just ragazine18:33
*** tvol has joined #CC18:42
paulproteusnkinkade, I'm migrating off apps now, tell you when I'm done.19:07
*** pktck has quit IRC19:08
*** pktck has joined #cc19:12
nkinkadepaulproteus: no need to tell me, just best for you to have the stuff off before nathany pulls the plug. :)19:15
paulproteus(-:19:15
paulproteusIndeed.19:15
nkinkadepaulproteus: but maybe you shouldn't relocate that stuff to a5 or a6.  whatever you had running there was a beast.  i would hate to see it pull down a5 or a6. :)19:16
paulproteusnkinkade, Yes, some stuff I'll move, and the other stuff I'll fix. (-:19:16
paulproteusHey, I think the CPU in a5 supports the virtualization extensions.19:17
nkinkadepaulproteus: which virtualization extentsion?  the ones you use for vserver and what not?19:19
paulproteusNo, there's a million different approaches.19:19
paulproteusHardware support for kvm.19:19
*** isforinsects_ has joined #cc19:19
paulproteusLet me find a link.19:19
paulproteusnkinkade, The AMD answer to "Intel VT", anyway.19:20
paulproteusDrat, it requires a kernel upgrad.e19:21
nkinkadepaulproteus: i don't even know what Intel VT is, but I suppose it would be easy enough to look it up.19:21
paulproteusIt's hardware acceleration for x86 virtualization.19:21
paulproteusLike what VMWare and qemu and VirtualBox and Xen do.19:21
bovvmware makes use of Intel VT.19:21
bovas does Xen.19:22
paulproteusAnd qemu can, too, if you use the kvm extension to qemu.19:22
paulproteus(That's separate from kqemu.)19:22
nkinkadepaulproteus: by the way, I think the Planet Venus plugin is pretty much ready.  Do you have an interest in trying it out at the freeculture.org planet?19:28
paulproteusYes, but is later today okay?19:28
nkinkadepaulproteus: however, mike has recommended a small change that doesn't affect the net result of the plugin, but just how it goes about getting the license name.19:28
paulproteusHow's that?19:29
nkinkadepaulproteus:  at the moment it's using api.CC.org to fetch the license name.  Mike, would rather it fetch the license URI itself and parse the RDF to get the license name.19:29
*** isforinsects has quit IRC19:29
paulproteusAh, yes, RDFa on the license URI.19:29
paulproteusThat's way better (and it's new that we can even do that).19:30
nkinkadeI can understand that.  It's a little more standard is some ways.19:30
nkinkadeNo, it won't be picking up the RDFa, as far I as I know, rather the embedded RDF at the license's URI19:30
paulproteusOh, really?19:30
paulproteusAw, well.19:31
nkinkadepaulproteus: or specifically http://<license_uri>/rdf19:31
paulproteusVia     <link rel="alternate" type="application/rdf+xml" href="rdf" />  ?19:31
paulproteusRight.19:31
paulproteusThat's sad, I think the RDF way would be slicker.19:32
paulproteusRDFa rather19:32
nkinkadepaulproteus: so, i'll implement that change and then i'll let you know and you can see how it goes on the fc.org site.19:32
paulproteusBut either way's fine with me, and whichever way you go, it's now possible for non-CC license publishers to make it work with your thing.19:32
paulproteusHooray for loose coupling!19:32
*** isforinsects_ is now known as isforinsects19:32
nkinkadeIt'll pick out non-CC licenses, but will just give them the bland name of "License".19:36
nkinkadeThat is easily changed in one line of tmpl.py, though, in the Planet code.19:36
paulproteusBut if their URIs support a  <link rel="alternate" type="application/rdf+xml" href="rdf" /> , then you should let them put in their license name.19:36
nkinkadethat's true, but even our links, like those from the techblog, for example, don't have that info.19:37
paulproteusNo, I mean like:19:37
paulproteushttp://creativecommons.org/licenses/by-nc-nd/3.0/ contains  <link rel="alternate" type="application/rdf+xml" href="rdf" />19:38
paulproteusSo that's how you know to get  http://creativecommons.org/licenses/by-nc-nd/3.0/rdf19:38
nkinkadeIt only looks liek this for example: creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>19:38
paulproteusIf tomorrow http://www.gnu.org/copyleft/gpl.html contains  <link rel="alternate" type="application/rdf+xml" href="rdf" />, then IMHO you should pick up on it and parse the RDF it offers you.19:39
nkinkadeThen feedparse/Venus makes that available to me as a simple link with a rel="license"19:39
paulproteusRight....19:39
nkinkadeBut it has nothing about RDF or type="application/rdf+xml"19:39
nkinkadeBut I suppose there is no reason I couldn't code for it, just in case.19:40
paulproteusHere's my understanding of the current logic:19:40
nkinkadeBut that would be dependent on the interaction of feedparser and Venus, I think, as to whether that data ever showed up to me in that way.19:40
paulproteus>>> license_extracted_from_rel_license = 'http://creativecommons.org/whatever'19:40
paulproteus>>> if 'creativecommons.org' in license_extracted_from_rel_license:19:41
paulproteus    pull_more_data_out_of_rdf_file_at_license_slash_rdf()19:41
paulproteusAm I making sense?19:41
nkinkadethat is correct.19:41
paulproteusSo instead, I suggest:19:41
paulproteus>>> license_extracted_from_rel_license = 'http://creativecommons.org/whatever'19:41
paulproteus>>> license_soup = BeautifulSoup.BeautifulSoup(urllib2.urlopen(license_extracted_from_rel_license))19:42
paulproteus>>> if license_soup('link', {'rel: 'alternate', 'type': 'application/rdf+xml'}):19:42
paulproteus    pull_more_data_out_of_rdf_file_whose_name_must_be_found_using_the_soup_above()19:42
paulproteusDoes that make sense as an alternative?19:43
*** rejon has quit IRC19:44
nkinkadepaulproteus: yes, that makes sense.19:44
nkinkadepaulproteus: thanks for explaining that a little better.19:45
paulproteusSure thing. (-:19:45
paulproteusBTW, some French guy fixed suspend-resume on my big newer (the one with a keyboard) HTC phone.19:46
paulproteusI don't think the software stack is ready to actually pick up when the phone wakes up from sleep due to an incoming call, but the phone actually wakes up, *plus* the phone doesn't drain the battery in five hours when asleep.19:47
*** rrrojer has joined #cc19:50
*** aphid_ has joined #cc19:55
*** aphid has quit IRC20:11
*** qubodu1 has joined #cc20:13
*** rrrojer has quit IRC20:17
*** qubodup has quit IRC20:31
*** rrrojer has joined #cc21:03
*** rrrojer has quit IRC21:05
*** rrrojer has joined #cc21:13
*** aphid_ has quit IRC21:25
*** aphid has joined #cc21:27
*** aphid has quit IRC21:32
*** aphid has joined #cc21:32
bovhmm, my linux font viewer app still works.21:33
*** Yaco2 has joined #cc21:36
nkinkadepaulproteus: is urllib2 substantially better than urllib?22:04
paulproteusnkinkade, Yes, why?22:04
nkinkadeor are they for diff. purposes.22:04
paulproteusThey're for diff purposes mostly.22:04
paulproteusThey have some overlap, but mostly you should forget about urllib.22:04
nkinkadeno particular reason.  i had been using urllib, but you mentioned urllib2.22:04
nkinkadei have already forgot about it.22:05
paulproteusurllib supports urllib.urlopen ?22:05
paulproteusNever mind. (-:22:05
nkinkadedata = urllib.urlopen(cc_api + href)22:05
nkinkadeyes, it supports it.22:05
paulproteusHey, use urlparse.urljoin() instead of +22:06
paulproteus(Read the urlparse module docs on python.org for why it's nice.)22:06
nkinkadepaulproteus: that seems like an unnecessary complication.22:07
paulproteusNo...22:08
paulproteus<link href="http://some_other_site.com/these/people/host/my.rdf" ... >22:08
nkinkadethe way it is, it is simply joining: 'http://api.creativecommons.org/rest/dev/details?license-uri=' with the license URL22:08
paulproteusWhat's the importance of the way you did it before, if you're doing it a different way now?22:09
paulproteusOh, never mind!22:09
paulproteuscc_api22:09
nkinkadepaulproteus: there is no importance to the old way.22:09
paulproteusI thought you were doing:22:09
paulproteusdata = urllib.urlopen(base_url + relative_path_to_rdf_for_this_url)22:09
paulproteusWhat you're doing is right, pardon me; I forgot to read what you typed.22:09
nkinkadepaulproteus: yeah, it was just a simple string concatenation.  i didn't need it to do anything fancy.22:09
nkinkadepaulproteus: no, cc_api was just a varible that contained the api URL.22:10
* paulproteus nods, carry on22:10
nkinkadepaulproteus: but it's moot now, as it will shortly be gone forever, except in the annals of Subversion.22:10
*** Paul_Miller has joined #cc22:22
*** Paul_Miller has quit IRC22:29
*** notagerbil has left #cc22:47
nkinkadepaulproteus: in a license document should there be one and only one <link rel="alternate" type="application/rdf+xml" href=""/>??23:01
paulproteusIn the ones we produce, yes.23:02
paulproteusIn others', "who knows?".23:02
nkinkadepaulproteus: then how would one know which once applied to the license?23:02
paulproteusThey all would, I suppose.23:02
nkinkadepaulproteus: i'm just wondering if I need to be looking for multiple links, or if I should just parse the first one I find.23:03
*** Danny_B has quit IRC23:04
nkinkademaybe i should parse the first, if i find a name, then stop, if not, then parse the rest until i find a name.23:04
*** oe has joined #cc23:04
isforinsectsPaulproteus: what do you know about photo exif data?23:04
*** Danny_B has joined #cc23:04
paulproteusI know it's delicious and best served with malt vinegar.23:04
paulproteusnkinkade, I like your second approach.23:04
paulproteusisforinsects, Whaddya wanna know?23:05
paulproteusI'm not an expert, but I know some things.23:05
isforinsectsWell Record doesn't save any with it's images.23:06
paulproteusIt'd be nice if it saved at least the time it shot it.23:06
paulproteusWikipedia's probably got a list of the fields EXIF supports.23:06
isforinsectsAnd since you had recently been playing around with meta and the XO filesystem I thought you might have some suggestions.23:06
* paulproteus nods23:07
paulproteusThe best thing to do is to look through the list of fields and file bugs in the Trac for Record to get it to save metdata as appropriate.23:07
paulproteusIt'd be *awesome* if you could get it to save aperture and other camera details, but that's not as important as things like date.23:07
paulproteusRight now, there's no flexible metadata search on the XO as far as I know, but hopefully that will change one day.23:07
isforinsectsaperture would be a constant, but I get your drift.23:08
paulproteusAnd metadata storage is cheap, so they might as well start saving files properly sooner rather than later.23:08
paulproteusrrrojer, Hey, reply to my email.23:15
rrrojerpaulproteus: which email?23:16
paulproteusI sent one to your personal address.23:16
paulproteusUnless I'm not very good at sending mail, which I suppose is possible.23:16
rrrojeri replied23:16
*** yaourt has joined #cc23:17
paulproteusOh, well then I'm just not very good at *receiving* it I suppose.23:17
rrrojerat least i thought i did23:17
rrrojeri can resend23:17
paulproteusDon't yet.23:17
rrrojerok23:17
*** ya` has quit IRC23:22
paulproteusThe "good news" is that it's sitting in a queue waiting for your ISP to resend it.23:22
*** oe has quit IRC23:29
nkinkadepaulproteus: what are you guys using to parse RDF in python?23:30
paulproteusI used python-librdf (the Debian package), but I fear it might be overkill.23:30
paulproteusReally, the rdfadict module is perfect for you.23:30
paulproteusIt's a shame you're not doing rdfa. (-;23:31
nkinkadepaulproteus: so then the best module to parse RDF is python-librdf?23:31
nkinkadei mean, in the world of python.23:32
paulproteusI really don't know.23:32
paulproteusDon't tell anyone, but I did my first RDF programming that I remember this past weekend.23:32
paulproteushttp://pypi.python.org/pypi/rdfadict has a really nice interface; I wonder if you can get it to work for non-rdfa.23:33
nkinkadepaulproteus: more than anything i'd like to use whatever tool nathany may have been using.23:33
nkinkadejust for the sake of consistency, but then again, it's going to add yet another dependency to anyone who wants to implement this planet plugin.23:33
nkinkadeseems like RDFa and RDF differ enough in syntax that I'd be really surprised to find that the RDFa parse works for RDF.23:35
paulproteusRDFa is a way of embedding RDF in HTML.23:35
paulproteusYou'd hope that rdfadict would be generic enough to be able to expose regular RDF from a different encoding, like RDF/XML (the normal one).23:36
* paulproteus goes and reads the source23:39
nkinkadei would expect it to be able to generate RDF from the RDFa23:39
nkinkadebut not necessarily the other way around ... but then again, i say that with total ignorance.23:39
nkinkadewhich doesn't do either of us any good.  i'll look at the docs too.23:40
paulproteusrrrojer, Sure, resend it if you please.23:44
paulproteusnkinkade, It looks like one could get this rdfadict thing going with RDF/XML, like what you have, but it'd be not quite trivial.23:48
paulproteusAs a result, you should tell Mike you're going to use the RDFa on the license deeds, so there.23:48
paulproteus(I'm serious about the above; he'll probably say "sure whatever" and then life will be easy.)23:51
nkinkadepaulproteus: I'd love to use RDFa on the deeds and skip having to fetch an external document, parse it, and then go searching around for things.23:53
nkinkadepaulproteus: and one thing I don't like about the RDF that is returned is that it gives the license data in every language it knows about.  this is fine, but seems unnecessary to me.  it'd be good if it returned just the relevant language.23:54
paulproteusI agree with the RDF having every language, even if it's boring.23:55
nkinkadeFor me, it's not about being boring, but perhaps not being relevant.  But I guess what I'm ignoring is that someone might want to read about the GR license, but in French.23:56
paulproteusOr, more likely, the CH license in French and German.23:56
nkinkadeso are you suggesting that every bit of data in the RDF document be encoded in the deed using RDFa?23:57
paulproteusI don't know.23:58
paulproteusI'll go back to fixing my buildbot.23:58

Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!