Tuesday, 2010-03-09

*** nathany has quit IRC00:21
*** jgay has quit IRC00:21
*** everton137 has joined #cc00:26
*** akozak has quit IRC00:31
*** nkinkade has left #cc00:45
*** oshani has quit IRC01:47
*** oshani has joined #cc01:48
*** mralex has quit IRC01:54
*** luisv has quit IRC01:56
*** hw has joined #cc02:12
*** hw has left #cc02:12
*** JED3 has quit IRC02:14
*** luisv has joined #cc02:21
*** luisv has joined #cc02:26
*** luisv has quit IRC02:34
*** pyrak has quit IRC02:55
*** JoiIto has joined #cc02:59
*** oshani has quit IRC03:09
*** pyrak has joined #cc03:25
*** parker-fcnyu has joined #cc04:52
*** parker-fcnyu has quit IRC04:56
*** luisv has joined #cc05:01
*** luisv has quit IRC05:09
*** JoiIto has quit IRC05:34
*** codefest_10 has joined #cc05:57
codefest_10We invite you to be a  part of the Largest Online Coding festival in the Indian Subcontinent.[ http://itbhu.ac.in/codefest ]05:57
codefest_10Sit right in front of your systems and take part in challenging and mind boggling competitions on application development, algorithm design etc.05:57
codefest_10PS:Attractive Prizes.Adobe & BT certificates05:57
*** codefest_10 has left #cc05:58
*** ub3rst4r has joined #cc06:31
ub3rst4rdoes anyone know if your allowed to use the CC licenses with software?06:31
*** Kaetemi has quit IRC07:10
*** ub3rst4r has quit IRC07:24
*** pyrak has quit IRC07:54
*** bassel has joined #cc11:18
*** wormsxulla has quit IRC11:45
*** wormsxulla has joined #cc11:47
*** everton137 has quit IRC11:53
*** stevecam has joined #cc12:14
stevecamhello12:14
*** MikeChelen has joined #cc12:18
stevecamwhats the main difference between GPL and CC?12:27
*** qpdb has joined #cc13:11
qpdbhello13:12
qpdbi'm looking for the name of this song: http://qpdb.lowl.de/foobox/lied.mp3 .. i think its creative commons.. any ideas?13:12
MikeChelenstevecam: there are several different CC licenses, which vary from GPL in different ways13:16
MikeChelenqpdb: try some of these searches? http://search.creativecommons.org/13:18
qpdbtried every part of the lyric.. no results =/13:27
*** qpdb has left #cc13:35
*** BjornW has joined #cc13:38
*** JoiIto has joined #cc14:07
*** pyrak has joined #cc14:28
*** oshani has joined #cc14:47
*** luisv has joined #cc14:57
*** nkinkade has joined #cc15:12
*** luisv has quit IRC15:23
*** luisv has joined #cc15:38
*** luisv has quit IRC15:53
*** sama has joined #cc15:56
*** JoiIto has quit IRC16:11
*** nathany has joined #cc16:16
*** Kaetemi has joined #cc16:41
*** MikeChelen has quit IRC17:10
*** luisv has joined #cc17:25
*** BjornW has quit IRC17:26
*** Snadder has quit IRC17:27
*** tvol has joined #cc17:28
*** wormsxulla has quit IRC17:39
*** tvol has quit IRC17:39
*** tvol has joined #cc17:40
*** nathany_ has joined #cc17:45
*** mralex has joined #cc17:47
*** JED3 has joined #cc17:54
*** nathany_ has quit IRC18:08
*** wormsxulla has joined #cc18:11
JED3mralex: http://code.google.com/speed/page-speed/docs/rendering.html#UseEfficientCSSSelectors18:15
JED3i never knew the DOM tree was traversed up like that...18:15
mralexinteresting!18:15
mralexJED3: they say things "improve performance" but where are the numbers to back it up…18:18
paroneayeaJED3: very cool18:18
JED3mralex: http://www.stevesouders.com/blog/2009/03/10/performance-impact-of-css-selectors/18:19
JED3personally i think the performance increases would be negligible18:19
mralexindeed18:20
JED3but its certainly something to keep in mind in the future writing of selectors18:20
mralexthe rule of thumb is don't write shitty css :)18:22
JED3mralex: yeah i wonder how much the incompatible selectors came into play in IE8's awesome benchmarks http://www.quirksmode.org/css/contents.html there certainly are quite a few heh18:24
mralexi love that IE8 has a bunch of "almost"s18:26
JED3paroneayea: ping18:33
paroneayeaJED3: pong18:35
JED3hi, i had a question about cc.license.selectors.classes.LicenseSelector.by_answers()18:36
JED3currently there isn't a method for CC0, which would be trivial to add, but i wanted to see if you had any ideas about the answers' current implementation18:38
JED3there are some comments there that express some doubt over its design18:39
paroneayeaheh, I don't know much about its design :)18:41
paroneayeait seems you've worked with the new cc.license selectors' questions/answers stuff a lot more than I have at this point (that is to say, you have worked with it at all)18:42
paroneayeaso I am actually kind of curious as to what *your* impressions are18:42
JED3paroneayea: ehh, well there are a lot of edge cases in need of supporting here18:49
JED3my current attitude is to just add CC0 to the current approach and be done with it, but i was curious if you had any ideas18:50
paroneayea:)18:50
paroneayeasounds good to me18:51
*** jonsson has joined #cc19:10
JED3paroneayea: ping19:24
JED3does this look sane to you? http://dpaste.com/170085/19:24
JED3whoops ignore the bottom of the diff19:25
*** tvol has quit IRC19:26
paroneayea+        self._by_answers  = {19:27
paroneayea+            'standard' : self._by_answers_standard,19:27
paroneayea+            'recombo'  : self._by_answers_recombo,19:27
paroneayea+            }.get(self.id, lambda answers_dict: self.id)19:27
paroneayeathat's a bit confusing19:27
JED3paroneayea: ...19:31
JED3+19:31
JED3+        self._by_answers  = {19:31
JED3+            'standard' : self._by_answers_standard,19:31
JED3+            'recombo'  : self._by_answers_recombo,19:31
JED3+            }.get(self.id) or self._by_answers_generic(self.id)19:31
JED3+19:31
JED319:31
JED3+19:31
JED3+    def _by_answers_generic(self, license_code):19:31
JED3+        def returns_license_code(answers_dict):19:31
JED3+            return license_code19:31
JED3+        return returns_license_code19:32
JED3more straightforward?19:32
paroneayeayes that's a bit more straightforward19:33
paroneayealooks good19:33
*** Kaetemi has quit IRC19:47
*** Kaetemi has joined #cc19:49
paroneayeaJED3: #  Porting a pubsubhubbub sandbox project to CC.net as a prototype experiment (lowest priority)19:50
paroneayeathat's a pretty neat sounding update19:50
paroneayealowest priority I guess, but I am curious to know more19:50
JED3:) yeah well the idea was to allow people to register a feed of works on CC Network and we would run a service that polled that feed for updates. as new items are published to the feed they would be registered as a work on the CC Network19:51
JED3but obviously that doesn't really scale, and the feature as a whole was kind of put on hold19:52
paroneayeaah19:55
paroneayeacool19:55
JED3paroneayea: its nothing of serious consideration, just something i wanted to toy with19:57
paroneayeayeah, sounds cool19:57
paroneayeaI really want to play with pubsubhubbub sometime soon19:58
JED3paroneayea: just pushed the changes, let me know if you have any objections20:26
paroneayeacool20:33
*** ub3rst4r has joined #cc20:36
ub3rst4ranyone here?20:37
paroneayeanope20:37
paroneayeahello20:37
ub3rst4rdoes anyone know what license is like the cc sharealike license?20:37
paroneayeawell the sharealike license is like it20:38
paroneayeado you mean "compatible with"?20:38
ub3rst4rwell20:38
ub3rst4rim using the GPL for my program20:38
ub3rst4rbut i want a license that forbids people from selling the program20:38
ub3rst4ras far as i can see the cc sharealike is the only license that does this but its not for software20:39
paroneayeathe GPL doesn't forbid selling, though it does forbid proprietizing without giving back to the community20:40
paroneayeasharealike doesn't forbid selling either20:40
paroneayeanoncommercial does20:40
paroneayeabut it's not recommended for software20:40
paroneayea(and is not considered "free as in freedom" or "open source" anyway if that matters to you)20:40
ub3rst4rbut u see i had someone come and take my software and rename it and sell it. now they can make money from it and do whatever they want with it20:42
ub3rst4rand "they say" they would give the source code to someone that asks for it but they have a protection scheme so people need a product key to use it20:43
ub3rst4rim sort of stuck in the deep end cause i cant have my software set to properitary cause my code hoster doesnt allwo it20:45
ub3rst4rany ideas?20:45
paroneayeawell they can't add features and lock it down without breaking the GPL (they at least have to give those features back), and your free software / open source version still exists, yes?20:46
paroneayeayou could let the people they "sold" it to know that your GPL'ed copy exists20:47
paroneayeaand likely they would prefer that anyhow20:47
ub3rst4rya20:47
ub3rst4rwell i reported them to GNU but they wont do anything20:47
*** akozak has joined #cc20:47
paroneayeaif you're the copyright owner, the GNU project can't do GPL enforcement I'm afraid20:47
ub3rst4rwell i g2g20:48
*** sama has quit IRC21:23
*** k9d-925 has quit IRC21:25
*** michi_ has joined #cc21:26
*** michi_ has quit IRC21:36
*** jjmarin has joined #cc21:38
*** jjmarin has left #cc21:39
paroneayeaJED3: have you used gettext's gnutranslations class directly before?21:53
luisvub3rst4r: you might try softwarefreedom.org; they sometimes are able to help with GPL enforcement problems21:56
JED3paroneayea: yes i have, whats up?21:56
*** oshani has quit IRC21:57
*** oshani has joined #cc21:58
paroneayeaJED3: ah, well... I was struggling a bit to figure out how to "input" the locale into a gettext translations object when calling gettext or the like22:01
paroneayeabut apparently the answer is that you have a separate gnutranslations (or nulltranslations derivative) object for every locale?22:01
*** k9d-925 has joined #cc22:06
*** nkinkade has quit IRC22:07
*** xtknight has joined #cc22:08
*** xtknight has left #cc22:08
JED3paroneayea: are you able to pass a locale to GNUTransaltions?22:08
*** nkinkade has joined #cc22:08
paroneayeawell the way I'm getting the GNUTranslations object is via the gettext.translation method22:09
paroneayeawhich allows you to pass in a locale22:09
paroneayeaapparently22:09
paroneayeacurrently I'm just calling it like:22:09
paroneayeaCCORG_GETTEXT = gettext.translation(I18N_DOMAIN, MO_PATH)22:09
paroneayea22:09
paroneayea(so it is probably defaulting to 'en' or something(?))22:10
JED3i18n_domain in this case being 'cc_org' ?22:10
paroneayeayes22:10
JED3so yeah it would default to sys locale then i think22:10
paroneayeaMO_PATH = pkg_resources.resource_filename(22:10
paroneayea    'cc.i18npkg', 'mo')22:10
paroneayeaI18N_DOMAIN = 'cc_org'22:10
paroneayeaI have a feeling I am going to revise that :)22:10
JED3are you trying to only extract translated strings?22:11
paroneayeathis isn't for extraction22:11
paroneayeait's for translation22:11
paroneayeabasically I'm looking to call .gettext()22:12
JED3ahh sorry, thats what i meant22:12
JED3i always forget that extraction has its own meaning22:12
JED3but yeah, are you using Babel at all?22:13
paroneayeanot presently... though I can :)22:14
paroneayeawould using babel make this easier?22:14
JED3:) i find that Babel is easier to use for this sort of thing22:14
JED3catalog = babel.messages.mofile.read_mo('path/to/the/mo/file/with/locale/directory/appended.mo')22:15
JED3catalog['message_id'].string == 'Translated string'22:16
JED3in the past, i've just walked an mo directory and added each catalog so that they could be accessed via something like catalogs['es']['license.pretty_standard']22:17
paroneayeamo_translations_mo_problems22:18
JED3lol22:18
paroneayeaok, thx JED322:18
JED3paroneayea: as an example http://code.creativecommons.org/viewgit/commoner.git/tree/src/commoner/works/license.py?h=zzz/chained-license-selctor22:18
*** TDJACR has quit IRC22:23
*** TDJACR has joined #cc22:23
*** nathany has quit IRC22:27
*** jgay has joined #cc22:35
*** speedyyou has joined #cc22:40
*** oshani has quit IRC22:42
*** oshani_ has joined #cc22:42
*** oshani_ is now known as oshani22:42
*** jgay has quit IRC22:51
*** JoiIto has joined #cc22:58
*** luisv has quit IRC23:03
*** luisv has joined #cc23:04
*** JoiIto has quit IRC23:21
*** JoiIto has joined #cc23:22
*** bassel has quit IRC23:29
*** JED3 has quit IRC23:30
*** JoiIto has quit IRC23:33
*** JoiIto has joined #cc23:33
*** JoiIto has quit IRC23:35
*** JED3 has joined #cc23:57
*** JED3 has quit IRC23:59

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