*** jgay has joined #cc | 00:05 | |
*** ea4xgr has quit IRC | 00:32 | |
*** MarkDude has quit IRC | 00:48 | |
*** jgay has quit IRC | 01:51 | |
*** tim_hwang has joined #cc | 03:21 | |
*** parker-fcnyu has joined #cc | 03:29 | |
*** JED3 has joined #cc | 05:35 | |
*** JED3 has quit IRC | 05:41 | |
*** MarkDude has joined #cc | 06:17 | |
*** tim_hwang has quit IRC | 06:23 | |
*** wormsxulla has quit IRC | 06:32 | |
*** wormsxulla has joined #cc | 06:50 | |
*** ea4xgr has joined #cc | 07:54 | |
*** pyrak has quit IRC | 08:35 | |
*** pyrak has joined #cc | 08:35 | |
*** bassel has joined #cc | 09:27 | |
*** tvol has joined #cc | 13:18 | |
*** oshani has joined #cc | 13:58 | |
*** oshani has quit IRC | 14:08 | |
ea4xgr | any Python coder here willing to review some code? :) | 14:35 |
---|---|---|
*** nathany has joined #cc | 14:52 | |
*** akila87 has joined #cc | 14:55 | |
stas | ea4xgr: dunno if i'm that good, but I would love to see it :) | 14:59 |
*** bassel has quit IRC | 15:06 | |
*** parker-fcnyu has quit IRC | 15:12 | |
ea4xgr | stas: thanks | 15:24 |
ea4xgr | stas: it's basically an entry point for non-Web application - it should then transform to a CLI-based application or a GUI-based application (this code is left for separate files) | 15:25 |
ea4xgr | stas: http://git.robert.gust-bardon.org/index.cgi/extractor/plain/extractor.py | 15:25 |
* stas checking the link | 15:26 | |
ea4xgr | nathany: hi. do you know that it's impossible to register at issues (for a non-admin)? | 15:26 |
nathany | ea4xgr, no, i did not know that -- you mean you can't create an account on the issue tracker? | 15:27 |
nathany | :( | 15:27 |
ea4xgr | nathany: yes, I'm gonna show you a screenshot, hold on | 15:27 |
*** bassel has joined #cc | 15:28 | |
ea4xgr | I'm opening http://code.creativecommons.org/issues/user?@template=register | 15:28 |
ea4xgr | I put: "login name" - my full name; 2x password; and my e-mail at gmail | 15:29 |
ea4xgr | (= all mandatory fields) | 15:29 |
ea4xgr | nathany: result: http://img717.imageshack.us/img717/7828/listofissuescreativecom.png (notice the message on a red background at the top) | 15:31 |
ea4xgr | nathany: I do not know who "gameguy43" is; some validator issues have been assigned to him/her; do you know what the progress is? | 15:33 |
ea4xgr | nathany: could I get an account on issues? would it be possible to remove my old account there, too? | 15:33 |
stas | ea4xgr: looks ok for me :) | 15:34 |
ea4xgr | stas: thank you! | 15:34 |
ea4xgr | stas: I think the ordering of resources should be preserved, a list of tuples maybe | 15:35 |
ea4xgr | but that's a minor thing | 15:36 |
nathany | ea4xgr, he was an intern last summer, i don't think he made any progress on the issues | 15:36 |
ea4xgr | nathany: I see :( | 15:36 |
stas | ea4xgr: didn't check how optimised it is, just read the code/comments to see what's all about :) | 15:37 |
ea4xgr | stas: that's fine | 15:37 |
ea4xgr | nathany: when it comes to my account at issues, I think that changing the login and e-mail of the old account to the new data would do | 15:38 |
ea4xgr | is it legal to release the software (you hold all the copyright to) in one package, where one file is licensed under GNU LGPLv3+ (parser), another file under GNU GPLv3+ (CLI/GUI), and another file under GNU AGPLv3+ (Web interface)? | 15:41 |
ea4xgr | or you have to release a package under one license? | 15:41 |
*** wormsxulla has quit IRC | 15:41 | |
*** Danny_B has quit IRC | 15:41 | |
*** wormsxulla has joined #cc | 15:42 | |
*** Danny_B has joined #cc | 15:42 | |
*** bassel has quit IRC | 15:43 | |
* ea4xgr is aware that you are not lawyers and replies will not constitute a legal advice | 15:43 | |
*** parker-fcnyu has joined #cc | 15:49 | |
ea4xgr | parker-fcnyu: hi :) | 15:52 |
ea4xgr | parker-fcnyu: are you gameguy43? | 15:52 |
parker-fcnyu | no, different parker | 15:52 |
ea4xgr | parker-fcnyu: ok, sorry about that | 15:52 |
parker-fcnyu | no prob | 15:52 |
parker-fcnyu | he's pyrak | 15:52 |
ea4xgr | I see, thanks | 15:52 |
ea4xgr | :) | 15:52 |
*** bassel has joined #cc | 15:57 | |
nathany | paroneay`, morning | 16:03 |
paroneay` | morning | 16:04 |
nathany | paroneay`, can you look at http://code.creativecommons.org/issues/issue573 ? | 16:04 |
paroneay` | sure, looking | 16:04 |
nathany | i'm not sure what's going on | 16:04 |
nathany | i thought it was related to http://permalink.gmane.org/gmane.comp.bug-tracking.roundup.user/9720 but we're only on 1.4.9 | 16:05 |
nathany | paroneay`, (that gmane link is also related to http://issues.roundup-tracker.org/issue2550599) | 16:05 |
nathany | paroneay`, our installation/configuration lives at /var/www/code.creativecommons.org/issues on a7 | 16:07 |
paroneay` | ok, thx... investigating | 16:08 |
nathany | ea4xgr, i created an issue for user registration, paroneay` is looking into it | 16:08 |
ea4xgr | nathany: I've noticed, thank you | 16:10 |
*** akila87 has left #cc | 16:11 | |
*** jgay has joined #cc | 16:12 | |
*** nkinkade has joined #cc | 16:14 | |
*** paroneay` has quit IRC | 16:17 | |
*** paroneayea has joined #cc | 16:17 | |
ea4xgr | is there any cc project written in Python that handles IRIs? | 16:23 |
ea4xgr | I'm currently looking for a method to convert IRI to URI, found a few | 16:23 |
ea4xgr | e.g. http://blog.elsdoerfer.name/2008/12/12/opening-iris-in-python/ http://httplib2.googlecode.com/hg/python3/httplib2/iri2uri.py | 16:24 |
ea4xgr | http://docs.djangoproject.com/en/dev/ref/unicode/#uri-and-iri-handling | 16:24 |
*** jgay has quit IRC | 16:37 | |
*** Kaetemi has joined #cc | 16:39 | |
*** mralex has joined #cc | 16:46 | |
*** JED3 has joined #cc | 16:58 | |
ea4xgr | JED3: hi. I've notified nath\any about the issues registration. thanks for help though | 17:00 |
JED3 | ea4xgr: no prob | 17:00 |
JED3 | nkinkade: thanks for the lagunitas! | 17:00 |
nkinkade | JED3: :-) | 17:00 |
JED3 | nkinkade: you left SF right as it was getting nice (although you were headed to much nicer weather surely) | 17:01 |
nkinkade | The weather was pretty nice while I was there, at least during the days. | 17:02 |
JED3 | nkinkade: so i'm adding the recurring_id to the CC.net POST invite view, was there another piece of information that we said would be required? | 17:04 |
nkinkade | JED3: I think contribution_recur_id is all you'll need as a flag, and the amount*12 | 17:05 |
JED3 | ahh that's right, I need to actually check the amounts of the incoming contributions | 17:06 |
JED3 | the first iteration i built was thinking that that logic would be on civi's on, but it makes much more sense for it to be in CC.net | 17:07 |
*** ea4xgr has quit IRC | 17:20 | |
*** stas has quit IRC | 17:20 | |
*** stas has joined #cc | 17:22 | |
*** parker-fcnyu has quit IRC | 17:50 | |
*** parker-fcnyu has joined #cc | 17:51 | |
JED3 | nkinkade: just pushed a milestone to staging.cc.net, ready for testing whenever: http://staging.creativecommons.org/a/invite/ | 17:58 |
JED3 | replace as .net of course :P | 17:58 |
greg-g | man, this looks like a great resource, but the implementation hurts me so much. Links to an ".mp4" which is actually a realvideo server (oxymoron). And I have to watch it in this weird ajaxy in page popup? http://www.law.duke.edu/cspd/video/ | 18:11 |
mralex | greg-g: oh man. full HTML5 support can't come soon enough! :( | 18:12 |
greg-g | mralex: yeah :/ I so want to like that site so much, but I just can't. I almost want to help them fix it. | 18:14 |
*** ankitg is now known as ankitg|afk | 18:28 | |
*** oshani has joined #cc | 18:28 | |
mralex | JED3: turns out nexus one isn't going to verizon, since the Incredible is already on its way. | 18:28 |
mralex | android hardware development is… fast. | 18:29 |
JED3 | mralex: yeah i figured that much :/ oh well the Incredible appears to be just as swell for my purposes | 18:29 |
JED3 | lamer name however | 18:29 |
*** oshani has quit IRC | 18:31 | |
*** oshani has joined #cc | 18:32 | |
*** ea4xgr has joined #cc | 18:50 | |
*** parker-fcnyu has quit IRC | 18:53 | |
*** oshani has quit IRC | 18:53 | |
*** erlehmann has joined #cc | 18:58 | |
ea4xgr | congratulations to students accepted to GSoC 2010! | 19:03 |
ea4xgr | :) | 19:03 |
erlehmann | oh hello there | 19:04 |
*** oshani has joined #cc | 19:06 | |
erlehmann | how do i get my mentor ? | 19:13 |
*** bassel has quit IRC | 19:17 | |
*** oshani has quit IRC | 19:20 | |
ea4xgr | erlehmann: it's nkink\ade | 19:24 |
ea4xgr | http://socghop.appspot.com/gsoc/student_project/show/google/gsoc2010/creativecommons/t127230757957 | 19:24 |
erlehmann | nkinkade, hello | 19:25 |
erlehmann | thx | 19:26 |
nkinkade | erlehmann: Hi. | 19:28 |
erlehmann | nkinkade, quick question. i am enrolled right now, but want to suspend my studies this semester. does this compute with gsoc ? all i see there is that if one is enrolled as of today, it is okay. | 19:29 |
*** JoiIto has joined #cc | 19:30 | |
nkinkade | erlehmann: I'm not sure about that. Maybe you could ask Google. I'm not familiar with all of their rules and regulations. | 19:31 |
erlehmann | i'll get back to you when i have this question covered. | 19:32 |
erlehmann | hmm, shouting it into #gsoc doesn't help much. replying to an address that has „noreply“ in it also seems a bad idea. nkinkade, do you know where to ask ? | 19:34 |
nkinkade | erlehmann: Let me see ... | 19:35 |
*** oshani has joined #cc | 19:35 | |
nkinkade | erlehmann: Here?? http://groups.google.com/group/google-summer-of-code-students-list?pli=1 | 19:37 |
nkinkade | It's the student gsoc 2010 list. | 19:37 |
paroneayea | nathany: so if these schema changes are made in schema.py, when is schema.py evaluated? Every time roundup is run? Or is there some "schema upgrade" command | 19:38 |
erlehmann | thx | 19:39 |
*** parker-fcnyu has joined #cc | 19:39 | |
*** JoiIto has quit IRC | 19:40 | |
erlehmann | Membership is invite only. Seems a dead end there. | 19:40 |
erlehmann | i got help. fine :) | 19:44 |
*** parker-fcnyu has quit IRC | 19:46 | |
*** parker-fcnyu has joined #cc | 19:47 | |
*** ea4xgr has quit IRC | 19:49 | |
nkinkade | JED3: How will you be parsing the POSTed the data to /a/invite/? | 19:52 |
*** akozak has joined #cc | 19:52 | |
nkinkade | I'll need to send you the hash outside of the JSON data, and I guess I'll need to structure it all in some way that you can parse it. | 19:52 |
nkinkade | Something like: data=$json_data&hash=$hash | 19:53 |
akozak | greg-g, gmail has never gotten your email markup right | 19:53 |
nkinkade | ?? | 19:53 |
JED3 | nkinkade: yes exactly like that | 19:53 |
akozak | greg-g, what client do you use? | 19:53 |
nathany | paroneayea, i think it happens when you start roundup | 19:55 |
nathany | no idea why it's not making a pyc | 19:55 |
greg-g | akozak: mutt | 19:56 |
greg-g | and the <name="" subject="" date=""> is me | 19:56 |
akozak | greg-g, no it's the quoting | 19:56 |
greg-g | well, me telling mutt how to do the "On Whatever date, So and so said.." | 19:56 |
greg-g | oh | 19:56 |
greg-g | screenshot? | 19:56 |
greg-g | akozak: which mailing list? freeculture? | 19:58 |
akozak | greg-g, http://imgur.com/1RbcT | 19:59 |
akozak | actually maybe it's supposed to do that | 19:59 |
greg-g | akozak: yeah, that looks fine to me :) | 20:00 |
akozak | honestly I don't know why I thought to tell you about it | 20:00 |
greg-g | heh, because I'm holding on to some weird paradigm of email communication through verbosity? | 20:00 |
akozak | maybe it's because I admire a man who communicates within brackets | 20:03 |
greg-g | :) | 20:04 |
nkinkade | JED3: PHP's sha1() function doesn't accept a salt argument. Do you know how the one you'll be using utilizes the salt? By pre-pending or appending, for example? | 20:06 |
JED3 | nkinkade: sha1("secret" . "data json string"); will work | 20:06 |
JED3 | pre-pending | 20:06 |
nkinkade | JED3: Got it. Thanks. | 20:06 |
nkinkade | JED3: By the way, did we ever decide on the secret? I'm thinking to use Civi's site-key variable. | 20:07 |
JED3 | that's fine with me nkinkade | 20:07 |
nkinkade | It should probably be something from the Civi side since Civi may post to multiple unrelated URLs. | 20:07 |
JED3 | where's that key located, i'll update cc.net to use it | 20:07 |
JED3 | ok | 20:07 |
JED3 | sounds sane to me | 20:07 |
nkinkade | JED3: /var/www/zupport.creativecommons.org/www/sites/default/civicrm.settings.php | 20:09 |
nkinkade | It's the CIVICRM_SITE_KEY constant defined in that file. | 20:09 |
*** oshani has quit IRC | 20:10 | |
JED3 | done | 20:10 |
nkinkade | What sucks is that this way you'll have to open the file and scrape it basically. | 20:10 |
nkinkade | Or I guess you could just store it somewhere else. | 20:10 |
nkinkade | It's not likely to change. | 20:10 |
JED3 | nkinkade: yeah i mean thats okay, i'm just storing it for simplicity's sake | 20:10 |
nkinkade | That's best. | 20:11 |
JED3 | if it ever changes you all of sudden start getting "cannot verify authenticity of data" 500 responses on your end | 20:11 |
JED3 | nkinkade: are you using curl to send the post? | 20:23 |
nkinkade | JED3: Yes, I'll be using curl. | 20:23 |
JED3 | ok | 20:23 |
nkinkade | JED3: I'm going to configure it to send webmaster@ an email if your app returns anything but a 200 response code. | 20:23 |
JED3 | nkinkade: how in the hell do you get the response from a curl_exec? | 20:24 |
nkinkade | curl_info() | 20:24 |
*** JoiIto has joined #cc | 20:24 | |
nkinkade | $status_code = curl_info($ch, CURLINFO_HTTP_CODE); | 20:24 |
nkinkade | ... specifically. | 20:24 |
JED3 | yeah, but what about the repsonse's body/content? | 20:25 |
JED3 | oh duh | 20:27 |
JED3 | the output buffer | 20:27 |
nkinkade | JED3: You can get it via curl_setopt($ch, CURLOPT_RETURNTRANSFER, true) | 20:28 |
nkinkade | Otherwise you'll just get a boolean response from curl_exec(); | 20:28 |
JED3 | ahh thats what i was looking for | 20:28 |
JED3 | nkinkade: that option constant isn't in the documentation i was looking at | 20:29 |
JED3 | nkinkade: wait yeah it was, but that constant isn't used in getinfo() | 20:29 |
nkinkade | JED3: What were you trying to find? The HTTP return code? | 20:30 |
JED3 | no the response's content, i'm sending messages in the 500's | 20:30 |
*** akozak has quit IRC | 20:32 | |
*** parker-fcnyu has quit IRC | 20:36 | |
*** parker-fcnyu has joined #cc | 20:37 | |
*** wormsxulla has quit IRC | 20:39 | |
*** wormsxulla has joined #cc | 20:45 | |
*** michi_ has joined #cc | 20:48 | |
*** akila87 has joined #cc | 20:51 | |
akila87 | Hi nathany, | 20:51 |
nathany | hi akila87 | 20:53 |
akila87 | thanks for selecting me for gsoc | 20:54 |
nathany | you're welcome | 20:54 |
akila87 | i just saw that. | 20:55 |
akila87 | and I'm excited :) | 20:55 |
akila87 | thanks for the all the help you have given. | 20:56 |
akila87 | Thanks nkinkade, for all your help | 20:57 |
nkinkade | akila87: Of course. | 20:57 |
*** michi_ has quit IRC | 20:57 | |
erlehmann | nkinkade, if i use git, is that okay ? | 21:00 |
nkinkade | erlehmann: It's preferred. :-) | 21:00 |
nkinkade | Though the older code for wpLicense is in our subversion repository. | 21:00 |
nkinkade | Have you seen it? | 21:00 |
nkinkade | http://code.creativecommons.org/viewsvn/wpLicense/ | 21:00 |
nkinkade | You might want to use some of that to help build the new plugin. | 21:01 |
erlehmann | no. i assume i should. | 21:01 |
nkinkade | (not all of it, though) | 21:01 |
nkinkade | It could just be a good reference point. I think nathany wrote it, and a few others have touched it since. | 21:01 |
nathany | nkinkade, can you make me a cname discoverzed.creativecommons.org that points to a6? | 21:01 |
nkinkade | haha | 21:01 |
nathany | JED3 has poked at it as well | 21:02 |
nkinkade | nathany: How about dizcovered.CC.org? | 21:02 |
nkinkade | ;-) | 21:02 |
nkinkade | (seriously) | 21:02 |
nathany | nkinkade, i thought of that, but i like the way discoverzed rolls off the tongue | 21:03 |
nathany | (seriously) | 21:03 |
nathany | paulproteus is laughing, too (if you couldn't guess) | 21:03 |
nkinkade | It's more lolcat than dizcovered, that's for sure. | 21:03 |
nathany | :) | 21:03 |
JED3 | undiscovered.cc.org | 21:04 |
nkinkade | nkinkade@npk-cc:~/tmp$ host discoverzed.creativecommons.org | 21:04 |
nkinkade | discoverzed.creativecommons.org is an alias for a6.creativecommons.org. | 21:04 |
nkinkade | a6.creativecommons.org has address 66.135.32.165 | 21:04 |
nathany | nkinkade, thanks | 21:04 |
nkinkade | Ooops. | 21:04 |
nkinkade | Anyway, you get the idea, despite the horrific paste. | 21:05 |
mralex | discoverzed? cute | 21:11 |
*** erlehmann has quit IRC | 21:25 | |
*** akila87 has left #cc | 21:26 | |
*** erlehmann has joined #cc | 21:27 | |
*** JoiIto has quit IRC | 21:36 | |
*** akozak has joined #cc | 21:45 | |
JED3 | akozak: are you going to the speaking workshop? | 21:46 |
akozak | nkinkade, odd, the file mike is looking for is only in odt on learn | 21:46 |
akozak | JED3, yea still am | 21:47 |
JED3 | k, let me know i'll head out with you | 21:47 |
nkinkade | akozak: http://learn.creativecommons.org/wp-content/uploads/2009/07/cclearn-recommendations-increase-funding-impact-05-apr-09.pdf | 21:47 |
akozak | nkinkade, werid, why didn't grep return that file... | 21:48 |
nkinkade | I don't know, but find did for me. | 21:48 |
nkinkade | nkinkade@a6:~$ find /var/www/learn.creativecommons.org/www/wp-content/uploads/2009/ -name "*increase-funding*" | 21:48 |
*** Kaetemi has quit IRC | 21:48 | |
nkinkade | What syntax were you using with grep? | 21:49 |
nkinkade | Or more precisely, what input did you feed grep. | 21:49 |
akozak | grep -R funding ./ | 21:49 |
akozak | in wp-content/uploads | 21:49 |
akozak | returned the odt just not the pdf | 21:50 |
akozak | does grep not search filenames? | 21:50 |
nkinkade | akozak: grep doesn't search file names, unless you feed it a list of file names. | 21:51 |
akozak | doh | 21:51 |
nkinkade | A recursive grep works on a directory, and searches for a string within files. | 21:51 |
nkinkade | What you should have done was this: | 21:52 |
nkinkade | $ find . | grep <something> | 21:52 |
akozak | ahh | 21:52 |
nkinkade | Or just use find itself. | 21:52 |
nkinkade | No reason to use grep there. | 21:52 |
akozak | ok thanks nkinkade... another one of those details that I missed. | 21:52 |
nkinkade | No problem. | 21:53 |
*** Kaetemi has joined #cc | 21:53 | |
*** akozak has quit IRC | 21:55 | |
*** paulproteus has joined #cc | 21:59 | |
nkinkade | JED3: Just sent to test /a/invite/ and got: | 22:00 |
nkinkade | Invalid data: 'amount' | 22:00 |
nkinkade | You'll need to be searching for total_amount | 22:00 |
*** mralex has quit IRC | 22:02 | |
paulproteus | nkinkade: BTW | 22:02 |
nkinkade | JED3: The variable names you'll be looking for a "id", "total_amount", "email", "contribution_recur_id" | 22:03 |
nkinkade | paulproteus: ? | 22:03 |
nkinkade | And if you want "first_name" and "last_name", or also "full_name" | 22:03 |
paulproteus | nkinkade: I got an email | 22:03 |
paulproteus | IOError: [Errno 13] Permission denied: '/var/www/code.creativecommons.org/issues/roundup.log' | 22:03 |
*** nathany has quit IRC | 22:04 | |
*** JED3 has quit IRC | 22:04 | |
nkinkade | paulproteus: What address was the email sent to? A list of some sort? | 22:04 |
*** parker-fcnyu has quit IRC | 22:08 | |
paulproteus | nkinkade: Forwarding you a copy | 22:13 |
nkinkade | paulproteus: Thanks. I just changed MAILTO to my address for roundup. | 22:17 |
paulproteus | nkinkade: Aww, so be it. (-; | 22:17 |
*** MarkDude has quit IRC | 22:20 | |
*** ea4xgr has joined #cc | 22:21 | |
*** tvol has quit IRC | 22:26 | |
ea4xgr | nkinkade: hello | 22:27 |
nkinkade | ea4xgr: Hi. | 22:28 |
ea4xgr | nkinkade: would it be possible to have an old account on issues transformed into a new account? the registration is broken (ID 573) | 22:28 |
ea4xgr | :) | 22:28 |
ea4xgr | nkinkade: I have an old account there, registered on my previous name and a deleted e-mail address | 22:29 |
nkinkade | ea4xgr: What do you want your new username to be? | 22:30 |
*** MarkDude has joined #cc | 22:32 | |
* ea4xgr has received a helpful hand from nkinkade and has the account set up | 23:02 | |
*** tvol has joined #cc | 23:08 | |
*** tvol has left #cc | 23:31 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!