*** JED3 has quit IRC | 00:01 | |
*** JED3 has joined #cc | 00:07 | |
*** JoiIto has joined #cc | 00:10 | |
*** akozak has quit IRC | 00:37 | |
*** luisv has quit IRC | 01:13 | |
*** mralex has quit IRC | 01:52 | |
*** augustinas has quit IRC | 02:03 | |
*** jgay has quit IRC | 02:23 | |
*** luisv has joined #cc | 02:39 | |
*** luisv has joined #cc | 03:01 | |
*** Bovinity has joined #cc | 03:10 | |
*** JED3 has quit IRC | 05:13 | |
*** wormsxulla has quit IRC | 05:58 | |
*** sama has joined #cc | 06:13 | |
*** wormsxulla has joined #cc | 06:16 | |
*** JoiIto has quit IRC | 07:26 | |
*** sama has quit IRC | 07:29 | |
*** luisv has quit IRC | 07:34 | |
*** fieldse has quit IRC | 07:34 | |
*** luisv has joined #cc | 07:37 | |
*** luisv has quit IRC | 07:40 | |
*** Bovinity has quit IRC | 08:05 | |
*** sama has joined #cc | 08:25 | |
*** JoiIto has joined #cc | 09:17 | |
*** JoiIto has quit IRC | 09:46 | |
*** TDJACR has quit IRC | 12:50 | |
*** TDJACR has joined #cc | 12:52 | |
*** TDJACR has quit IRC | 12:54 | |
*** TDJACR has joined #cc | 12:55 | |
*** augustinas has joined #cc | 13:38 | |
augustinas | sup | 13:38 |
---|---|---|
*** tvol has joined #cc | 14:28 | |
paroneayea | morning | 15:29 |
*** fieldse has joined #cc | 15:40 | |
*** fieldse has quit IRC | 15:49 | |
*** fieldse has joined #cc | 15:49 | |
*** Kaetemi has quit IRC | 15:51 | |
*** johnsu01 has quit IRC | 16:03 | |
*** fieldse has quit IRC | 16:13 | |
*** fieldse has joined #cc | 16:14 | |
*** fieldse has quit IRC | 16:15 | |
*** fieldse has joined #cc | 16:16 | |
*** wormsxulla has quit IRC | 16:16 | |
*** luisv has joined #cc | 16:24 | |
*** johnsu01 has joined #cc | 16:30 | |
*** wormsxulla has joined #cc | 16:35 | |
*** luisv has quit IRC | 16:38 | |
*** jgay has joined #cc | 16:57 | |
*** Bovinity has joined #cc | 17:07 | |
*** Bovinity has quit IRC | 17:15 | |
*** nathany has joined #cc | 17:31 | |
*** wer-ist-roger has joined #cc | 17:42 | |
*** akozak has joined #cc | 17:49 | |
*** akozak has quit IRC | 17:50 | |
*** akozak has joined #cc | 17:51 | |
*** wer-ist-roger has quit IRC | 17:55 | |
*** JED3 has joined #cc | 17:56 | |
*** luisv has joined #cc | 18:03 | |
*** mralex has joined #cc | 18:11 | |
*** sama has quit IRC | 18:33 | |
mralex | nathany: http://www.coudal.com/shhh.php | 18:40 |
akozak | they need one of these for people on bart playing music out of their cell phone | 18:42 |
akozak | or people with their ipods turned up louder than a jet engine | 18:43 |
mralex | nathany: http://stevenf.com/pages/shutup/ | 18:43 |
nathany | amazing | 18:43 |
nathany | akozak, yeah, i'm going to get shivved on the T-third one of these days when I finally lose it | 18:43 |
akozak | haha | 18:43 |
akozak | youd be a martyr | 18:43 |
*** JoiIto has joined #cc | 18:44 | |
luisv | yeah, I don't have cell phone problems very much lately | 18:45 |
luisv | but if I can identify what music you're listening to on your ipod, you're waaaaay too loud | 18:45 |
*** johnsu01 has quit IRC | 18:45 | |
*** augustinas has quit IRC | 18:48 | |
*** JoiIto has quit IRC | 18:48 | |
*** tvol_ has joined #cc | 19:07 | |
*** tvol has quit IRC | 19:09 | |
*** tvol_ is now known as tvol | 19:09 | |
akozak | i bet i could survive for a week on command line only with this: http://cortex.glacicle.org/ | 19:13 |
akozak | ... maybe | 19:14 |
paroneayea | nathany: btw I mentioned on here yesterday, I was wrong about being on branch master on cc.license... I'm on branch template_revamp. Not sure if that's still relevant to you | 19:24 |
nathany | paroneayea, ok, thanks; i'm not sure either at the moment :) | 19:25 |
nathany | paroneayea, can you refactor cc.engine.util.get_selector_jurisdictions into cc.license? | 19:27 |
*** Kaetemi has joined #cc | 19:27 | |
*** Kaetemi has joined #cc | 19:27 | |
nathany | we're going to need that exact functionality in the API implementation | 19:27 |
nathany | ideally as a method on the selector, I think (does that seem sane to you?) | 19:28 |
paroneayea | looking, one second | 19:30 |
paroneayea | ah yeah, sure | 19:30 |
nathany | paroneayea, thanks | 19:46 |
nathany | paroneayea, just replied to your jinja question | 19:52 |
paroneayea | cool | 19:53 |
*** fieldse has quit IRC | 19:54 | |
*** johnsu01 has joined #cc | 19:54 | |
paroneayea | now that I am looking at this I am puzzling over why I was working on the template_revamp branch | 19:56 |
nathany | :) | 19:59 |
nathany | or maybe :/ ? ;) | 19:59 |
paroneayea | heh | 20:04 |
paroneayea | it's not a big deal, they merge back and forth just fine | 20:04 |
paroneayea | urk. Not sure if I should put this in cc/license/rdf_helper or cc/license/util | 20:06 |
paroneayea | er, cc/license/_lib/rdf_helper.py | 20:06 |
paroneayea | oh now I know why | 20:08 |
paroneayea | because I didn't want to make the unit tests fail | 20:08 |
paroneayea | I think is why anyway | 20:08 |
paroneayea | nathany: moved it into cc.license | 20:09 |
nathany | paroneayea, thanks | 20:10 |
paroneayea | np | 20:10 |
paroneayea | nathany: there's one thing in the old code that I think might be a bug but I'm not sure, so I want to know if I should "port" it over ;p | 20:40 |
paroneayea | look at the textboxes of these two urls: | 20:40 |
paroneayea | http://creativecommons.org/choose/zero/results?license-class=zero&name=&confirm=confirm&field1=continue&work_jurisdiction=BD&understand=confirm&actor_href=&work_title=&waiver-affirm=affirm | 20:40 |
paroneayea | http://creativecommons.org/choose/zero/results?license-class=zero&name=&confirm=confirm&field1=continue&work_jurisdiction=BD&understand=confirm&work_title=&waiver-affirm=affirm | 20:40 |
paroneayea | the difference between these two is whether or not we have actor_href= with nothing or just skip actor_href at all in the GET request | 20:41 |
paroneayea | the difference between these ends up doing: | 20:41 |
paroneayea | <span about="[_:publisher]" property="vcard:Country" datatype="dct:ISO3166" content="BD">Bangladesh</span>. | 20:41 |
paroneayea | vs | 20:41 |
paroneayea | <span about="" property="vcard:Country" datatype="dct:ISO3166" content="BD">Bangladesh</span>. | 20:42 |
paroneayea | oh, in reverse order I guess | 20:42 |
paroneayea | but anyway, I think in both cases it SHOULD have about="[_:publisher]" | 20:42 |
paroneayea | the reason it doesn't in the case where you have actor_href= is because of this line: | 20:43 |
paroneayea | publisher = work_dict.get('actor_href', DEFAULT_PUBLISHER) | 20:43 |
paroneayea | so, when it does the .get() it gets a blank string | 20:43 |
paroneayea | so that line should probably be work_dict.get('actor_href') or DEFAULT_PUBLISHER | 20:43 |
paroneayea | and in both cases, have the explicit bnode | 20:43 |
paroneayea | is that correct? | 20:43 |
paroneayea | okay, now that I've typed this out and not just puzzling over it in my head I am almost certain it is correct :P | 20:44 |
paroneayea | once I resolve this all unit tests will pass for the cc0 formatter | 20:45 |
nathany | paroneayea, i'm not sure i follow all of this, but yes, there needs to be an explicit about for the vcard:Country | 20:49 |
paroneayea | okay cool | 20:50 |
paroneayea | so doing TDD revealed that bug in the current implementation, and actually I had the same bug in my code too. Horray for tests! :) | 20:51 |
paroneayea | and also, horray for cc0 formatter all tests passing! merging it into master now | 20:51 |
*** IchigoMorino has joined #cc | 20:53 | |
*** IchigoMorino has quit IRC | 20:58 | |
*** michi__ has joined #cc | 21:00 | |
*** luisv-mobile has joined #cc | 21:01 | |
luisv-mobile | So have any free software licenses actively released with cc-syle human readable deeds? | 21:02 |
luisv-mobile | I know cc created one for gpl, but did fsf participate in that? | 21:02 |
akozak | this exists but i don't know if it's official or what its status is: http://creativecommons.org/licenses/GPL/2.0/ | 21:04 |
luisv-mobile | Huh, I had never actually read that | 21:06 |
luisv-mobile | It is... not as clarifying as I had expected | 21:06 |
* luisv-mobile was wondering about it in the mpl context | 21:07 | |
*** luisv-mobile has quit IRC | 21:20 | |
*** michi__ has quit IRC | 21:29 | |
*** Kaetemi has quit IRC | 21:36 | |
*** Kaetemi has joined #cc | 21:41 | |
*** Kaetemi has joined #cc | 21:41 | |
*** JED3 has quit IRC | 22:09 | |
*** JED3 has joined #cc | 22:09 | |
*** tvol has quit IRC | 22:38 | |
nathany | luisv, FSF did not participate in making that deed | 22:44 |
nathany | FSF is publishing metadata for their current license versions using our vocabulary | 22:45 |
nathany | is not doing deeds AFAIK | 22:45 |
nathany | paroneayea, quick cc.license question | 22:45 |
luisv | nathany: thanks for the details | 22:45 |
nathany | when getting a license selector, is cc.license.selector.choose(...) the canonical way to do that? | 22:45 |
paroneayea | hm, let me look at my notes | 22:45 |
nathany | paroneayea, i ask because i see no CC0 support in the license selector | 22:46 |
nathany | (or are you not in master on cc.license these days? maybe that's what you pinged me about previously) | 22:46 |
paroneayea | okay, yes | 22:47 |
paroneayea | selector.choose() | 22:47 |
paroneayea | although, I am not sure if I am correctly using selectors this entire time :\ | 22:47 |
paroneayea | well | 22:47 |
paroneayea | I did for the original chooser | 22:47 |
nathany | :) | 22:47 |
paroneayea | I think I just did not for the cc0 chooser | 22:47 |
paroneayea | just grabbed cc.license.by_code('CC0') | 22:48 |
nathany | paroneayea, ah, got it | 22:48 |
nathany | paroneayea, not the worst approach; there are no issue questions, i suppose, only "work info" | 22:49 |
paroneayea | yeah | 22:49 |
paroneayea | and that only affects the formatter from our use | 22:49 |
nathany | right | 22:50 |
paroneayea | btw, cc0 chooser works now. The other "special choosers" also work except they are hitting a unicode error with this dash character in the .po files | 22:51 |
paroneayea | actually, there's one more thing to do with the cc0 chooser with is the email thing, I am working on that right now | 22:52 |
paroneayea | I need to watch the pycon talk on unicode in python tonight or something, I got really exasperated trying to fix it without editing the .po file itself and changing the character manually or using my cheater util.unicode_cleaner utility | 22:54 |
paroneayea | which I am not sure is the right way to do things | 22:54 |
nathany | paroneayea, since you didn't do a selector, we don't have a "license class" id for CC0 yet, right? | 23:08 |
paroneayea | we do | 23:11 |
paroneayea | CC0 | 23:11 |
nathany | paroneayea, oh, the class name (ie, "standard", "recombo") is "CC0"? | 23:11 |
paroneayea | yeah | 23:11 |
paroneayea | I *think* that was your suggestion when I asked you :) | 23:11 |
paroneayea | I am not using a selector but you need one to be able to pull a license from cc.license.by_code | 23:12 |
nathany | lol | 23:12 |
nathany | paroneayea, | 23:12 |
nathany | oh | 23:12 |
nathany | right | 23:12 |
paroneayea | so yeah I added them | 23:12 |
nathany | that's the license code, not the license class (which in this case are different, but likely the same) | 23:12 |
paroneayea | oh. | 23:12 |
paroneayea | heh :) | 23:13 |
paroneayea | well if I do: | 23:14 |
nathany | paroneayea, is it difficult to reverse myself and want that to be "zero" instead? | 23:14 |
paroneayea | cc.license.by_code('CC0').license_class | 23:14 |
paroneayea | it returns CC0 | 23:14 |
nathany | interesting | 23:14 |
paroneayea | I can probably change it to zero, I need to remember how it works :) | 23:14 |
paroneayea | luckily I type about everything I think into one humongous orgmode file | 23:15 |
paroneayea | w/r/t cc anyway | 23:15 |
paroneayea | I can work on changing that if you prefer | 23:16 |
paroneayea | nathany: it looks like selector id *is* selector class: | 23:17 |
paroneayea | @property | 23:17 |
paroneayea | def license_class(self): | 23:17 |
paroneayea | if self._lclass is None: | 23:17 |
paroneayea | lclass_uri = rdf_helper.get_license_class(self._model, self.uri) | 23:17 |
paroneayea | # XXX this feels hackish | 23:17 |
paroneayea | for value in cc.license.selectors.SELECTORS.values(): | 23:17 |
paroneayea | if value.uri == lclass_uri: | 23:17 |
paroneayea | self._lclass = value.id | 23:17 |
paroneayea | return self._lclass | 23:17 |
paroneayea | I don't know how it *should* work, but that is how tobia wrote it | 23:19 |
paroneayea | but I do know how to change it to zero, so I will do that now | 23:19 |
nathany | thanks, paroneayea | 23:19 |
nathany | i'll think about whether it's write | 23:19 |
nathany | JED3, http://www.owlfish.com/software/simpleTAL/py2compatible/download.html | 23:19 |
paroneayea | nathany: is that a simple ZPT parser? | 23:20 |
nathany | paroneayea, yes | 23:20 |
paroneayea | cool | 23:20 |
akozak | nathany, quick question. I'm trying to setup nutch locally to get more familiar with it.. but when I try to do the first ant compile, it tells me that it can't find a javac compiler. it thinks that my JAVA_HOME is set to "/usr/lib/jvm/java-6-sun-1.6.0.16/jre" when *right before* i compile i set it to "/usr/lib/jvm/java-6-sun" | 23:23 |
akozak | do you have an idea why it might be getting changed? | 23:23 |
akozak | something in the build.xml? | 23:23 |
nathany | akozak, it's assuming JAVA_HOME points to a JDK | 23:24 |
nathany | and JDKs by definition have the JRE at /jre inside them | 23:24 |
nathany | (IIRC) | 23:24 |
akozak | ohh | 23:24 |
akozak | ok i need to do some more reading | 23:25 |
*** Kaetemi has quit IRC | 23:32 | |
paroneayea | 46224 lines... | 23:49 |
paroneayea | I always forget how big index.rdf is until I open it and try scrolling to the bottom | 23:49 |
paroneayea | end-of-buffer ............ wait .................. | 23:49 |
paroneayea | I have just been reminded of how horrible it is going to be to merge the packageify license.rdf branch with trunk after everything else is cleared :( | 23:52 |
paroneayea | damn unmergable rdf, not preserving ordering | 23:53 |
*** wormsxulla has quit IRC | 23:54 | |
*** luisv has quit IRC | 23:59 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!