akozak | that is awesome! | 00:00 |
---|---|---|
akozak | gridworks was fun to work with | 00:00 |
akozak | i was hoping that theyd use their freebase acquisition well | 00:01 |
akozak | JED3, http://code.google.com/p/google-refine/wiki/RecipeApacheLogs | 00:02 |
JED3 | akozak: trying this recipe out now | 00:03 |
akozak | wowww this looks cool http://code.google.com/p/google-refine/wiki/FetchingURLsFromWebServices | 00:04 |
akozak | i mean, nothing you couldnt do in a few lines of python | 00:04 |
akozak | but still cool | 00:04 |
*** kreynen has joined #cc | 00:05 | |
*** akozak has quit IRC | 00:37 | |
*** kreynen has quit IRC | 00:37 | |
*** bassel has joined #cc | 00:37 | |
*** kreynen has joined #cc | 00:42 | |
*** JoiIto has quit IRC | 00:44 | |
*** JoiIto has joined #cc | 00:44 | |
*** wormsxulla has quit IRC | 01:18 | |
*** oshani has joined #cc | 01:25 | |
*** wormsxulla has joined #cc | 01:32 | |
*** kreynen has quit IRC | 01:38 | |
*** CC_Hudson has quit IRC | 01:38 | |
*** CC_Hudson has joined #cc | 01:43 | |
*** CC_Hudson has quit IRC | 01:46 | |
*** CC_Hudson has joined #cc | 01:57 | |
*** JED3 has quit IRC | 01:58 | |
*** paulproteus has quit IRC | 02:07 | |
*** pyrak_ has quit IRC | 02:08 | |
*** pyrak has joined #cc | 02:08 | |
*** paulproteus has joined #cc | 02:08 | |
*** mralex has quit IRC | 02:10 | |
*** mralex has joined #cc | 02:11 | |
*** oshani has quit IRC | 02:25 | |
*** nkinkade has quit IRC | 03:01 | |
*** erlehmann has quit IRC | 03:51 | |
*** erlehmann has joined #cc | 03:52 | |
*** erlehmann has quit IRC | 04:09 | |
*** kreynen has joined #cc | 04:13 | |
*** DNS777 has quit IRC | 04:14 | |
*** DNS777 has joined #cc | 04:14 | |
*** kreynen has quit IRC | 04:32 | |
*** TDJACR has quit IRC | 07:20 | |
*** TDJACR has joined #cc | 07:26 | |
*** thisisparker has joined #cc | 08:30 | |
*** DNS777 has quit IRC | 09:00 | |
*** DNS777 has joined #cc | 09:15 | |
*** DNS777 has quit IRC | 09:15 | |
*** DNS777 has joined #cc | 09:15 | |
*** xelo has joined #cc | 10:55 | |
*** xelo has left #cc | 10:55 | |
*** pmiller has joined #cc | 12:31 | |
*** pmiller has left #cc | 12:31 | |
*** tvol has joined #cc | 13:12 | |
*** kreynen has joined #cc | 13:23 | |
*** tvol has quit IRC | 13:37 | |
*** wormsxulla has quit IRC | 14:13 | |
*** ghelleks has joined #cc | 14:19 | |
*** DNS777 has quit IRC | 14:20 | |
*** DNS777 has joined #cc | 14:21 | |
*** papy|afk has quit IRC | 14:47 | |
*** nkinkade has joined #cc | 15:02 | |
*** erlehmann has joined #cc | 15:38 | |
*** jgay has joined #cc | 15:42 | |
*** wormsxulla has joined #cc | 15:56 | |
*** oshani has joined #cc | 16:24 | |
*** isforinsects has quit IRC | 16:25 | |
*** isforinsects has joined #cc | 16:25 | |
paroneayea | building out cc.engine on live | 16:28 |
paroneayea | in case you notice a momentary downtime. | 16:28 |
*** akozak has joined #cc | 16:46 | |
nyergler | paroneayea: just saw the ticket comment re: wsgi_cache | 17:01 |
nyergler | are we leaving the cron job in place for a while to make sure no more zero size files are written? | 17:01 |
paroneayea | yes | 17:02 |
paroneayea | we'll determine our success based on whether or not that thing complains | 17:03 |
paroneayea | nyergler: ^ | 17:03 |
nyergler | thanks | 17:03 |
paroneayea | yurp | 17:03 |
*** thisisparker has quit IRC | 17:05 | |
*** kreynen has quit IRC | 17:07 | |
*** ghelleks has quit IRC | 17:18 | |
nyergler | :) | 17:19 |
paroneayea | :O | 17:19 |
paroneayea | ughhhhhh | 17:21 |
paroneayea | looks like it didn't fix it | 17:21 |
paroneayea | . | 17:21 |
paroneayea | :( | 17:21 |
nkinkade | paroneayea: Did you have a chance to look at that PO I sent you? | 17:24 |
nkinkade | In terms of using it with sync. | 17:24 |
*** ghelleks has joined #cc | 17:24 | |
paroneayea | I looked at it but didn't try using it with sync :) | 17:26 |
paroneayea | I'll try now | 17:26 |
*** kreynen has joined #cc | 17:39 | |
*** akozak has quit IRC | 17:39 | |
*** akozak_ has joined #cc | 17:39 | |
*** akozak_ is now known as akozak | 17:39 | |
*** JED3 has joined #cc | 17:42 | |
*** thisisparker has joined #cc | 17:45 | |
*** mralex has joined #cc | 17:50 | |
CC_Hudson | Project cc.api build (18): UNSTABLE in 16 min: http://code.creativecommons.org/hudson/job/cc.api/18/ | 17:52 |
CC_Hudson | * JED3: Added docstrings to the support functions | 17:52 |
CC_Hudson | * JED3: Moving PDM support into the API | 17:52 |
CC_Hudson | Yippie, build fixed! | 18:07 |
CC_Hudson | Project cc.api build (19): FIXED in 15 min: http://code.creativecommons.org/hudson/job/cc.api/19/ | 18:07 |
CC_Hudson | * JED3: Fix POST details call param passing | 18:07 |
CC_Hudson | * JED3: Include deprecation information in license results | 18:07 |
CC_Hudson | * JED3: Update docs to include deprecation responses | 18:07 |
CC_Hudson | * JED3: Added docstrings to the support functions | 18:07 |
CC_Hudson | * JED3: Moving PDM support into the API | 18:07 |
JED3 | mralex: ping | 18:15 |
mralex | JED3: 'ola | 18:15 |
JED3 | mralex: how difficult would it be to wire GA to record when users select the copy-and-paste attribution text on the deeds? | 18:16 |
mralex | JED3: if we can capture the keypress, then not hard at all | 18:17 |
JED3 | mralex: would that capture right-click menu "Copy" actions? | 18:17 |
mralex | JED3: i'm not sure if there's a javascript event for that | 18:18 |
JED3 | i think capturing that.click would be enough | 18:18 |
mralex | we can definitely capture the textarea onclick | 18:18 |
mralex | and/or onfocus | 18:18 |
JED3 | and its fairly simple to do? | 18:18 |
mralex | yeah | 18:18 |
mralex | i have a similar thing set up already to capture clicks to search, support, and wiki that are otherwise crossdomain | 18:19 |
JED3 | okay, i guess we could add it to the deedscraper's deed.js file | 18:20 |
akozak | you might be able to approximate copies by measuring select click events and then whether they exited the page or then deselected the text | 18:20 |
akozak | like if they selected and left vs. selected and then deselected | 18:21 |
akozak | or something | 18:21 |
akozak | i don't know | 18:21 |
mralex | we can easily handle onfocus and onblur | 18:21 |
*** DNS777 has quit IRC | 18:31 | |
*** DNS777 has joined #cc | 18:31 | |
mralex | JED3: FWIW, webkit has some support for copy and paste JS events http://developer.apple.com/library/safari/#documentation/AppleApplications/Conceptual/SafariJSProgTopics/Tasks/CopyAndPaste.html | 18:45 |
JED3 | mralex: o neat, i think i'm just going to listen for onclick though :/ | 18:53 |
JED3 | mralex: do you think its fair to assume that those click, are probably copy-and-pasting its contents? | 18:53 |
JED3 | maybe onselect is better | 18:53 |
JED3 | onclick="this.select()" onselect="log dis event" ? | 18:54 |
akozak | JED3, why not log it all? | 18:56 |
mralex | JED3: it's probably fair to assume a click event will result in a copy, so just handle everything in the onclick | 18:57 |
akozak | you could probably calculate the percentage of clicks are a copy event. since webkit supports copy events, just log all onclicks and see if you've also logged a copy | 18:58 |
akozak | you might find e.g. that 70% of clicks also occured with a copy | 18:58 |
akozak | and then you could apply that data to non-webkit | 18:59 |
akozak | because youd have a reasonable approximation of how many people are copying the text when they click | 18:59 |
JED3 | akozak: thats also much more coding and points of failure :P | 19:00 |
akozak | JED3, true | 19:00 |
akozak | but if you just log everything, the data would exist | 19:00 |
mralex | JED3: it's an extra line or two in deed.js, not really a failure point. wouldn't hurt to log it. | 19:03 |
JED3 | mralex: have a sec? | 19:20 |
JED3 | mralex: nm, found what i was looking for | 19:22 |
paroneayea | nkinkade: btw, you were right | 19:44 |
paroneayea | ./bin/sync doesn't fix the problem | 19:44 |
nkinkade | paroneayea: Did it seem to just overwrite the whole file to you? | 19:44 |
nkinkade | It did to me. | 19:44 |
paroneayea | yup | 19:44 |
nkinkade | What astounded me about that was: where in heck did it get the old file? | 19:44 |
nkinkade | Does sync, pull down the version controlled version or something? | 19:44 |
paroneayea | it doesn't! | 19:45 |
nkinkade | So if we overwrote the old PO file, then were did it get all the old translations from? | 19:45 |
paroneayea | I have no idea. | 19:45 |
nkinkade | haha | 19:45 |
nkinkade | Man, that's comforting! :-) | 19:45 |
nkinkade | paroneayea: So I think my route is going to be msgmerge, and then trying to just replace the existing file with the merged one, or something like that. | 19:46 |
paroneayea | ok sounds good | 19:46 |
paroneayea | I'm pretty astounded by this | 19:46 |
paroneayea | when you said it was doing that | 19:47 |
paroneayea | I thought it must have been a mangled version | 19:48 |
paroneayea | I have no idea how this could "end up" as the same file | 19:48 |
paroneayea | unless it's just dumping all their changes... | 19:48 |
*** jgay has quit IRC | 19:53 | |
paroneayea | oh hey, we're featured frontpage on http://www.transifex.net | 20:39 |
akozak | esperanto? ಠ_ಠ | 21:24 |
paroneayea | yup ;) | 21:48 |
nyergler | nkinkade: paroneayea: not sure it's relevant, but sync keeps a copy of the old master.po file around so it can match up strings where the english text changes | 21:48 |
nyergler | (since it converts from po to "cc" style) | 21:48 |
nyergler | nkinkade: can you reset my passwd on a6? i think this is left-over from the great-reset-of-2010, but i have no idea what it is right now | 21:49 |
nkinkade | nyergler: Done. | 21:50 |
nkinkade | nyergler: The odd thing about what sync seemed to do was that msgstrs that were no longer in the file were put back in there, as if it had a backup of the es/cc_org.po file somewhere. | 21:51 |
nyergler | nkinkade: well it has two different copies -- one with CC-style keys, one with "po-style" keys | 21:51 |
nyergler | so they may be coming from there | 21:51 |
nkinkade | Ah. That was it, then. | 21:51 |
*** oshani has quit IRC | 21:51 | |
nkinkade | So what I forgot is that sync works from cc-style -> english-key, not the other way around. | 21:52 |
nkinkade | We have an english-key PO file and want to merge it with the cc-style one. nyergler, paroneayea: is there any conceivable way to make that happen? | 21:53 |
nyergler | nkinkade: has the cc-style one been changed, too? | 21:53 |
nyergler | why not just do ./bin/cc2po (iirc) and then use msgmerge on the resulting english key files | 21:54 |
nyergler | then ./bin/po2cc | 21:54 |
*** ghelleks has quit IRC | 21:54 | |
paroneayea | we could try that though | 21:54 |
paroneayea | this looks like the right kind of file I think... | 21:55 |
nkinkade | paroneayea: Are you testing that? | 21:55 |
paroneayea | nkinkade: what were some of the strings that changed? | 21:55 |
nkinkade | paroneayea: If you find the string "Recono" anywhere in the resulting PO file then it's not right. | 21:56 |
paroneayea | I'll try it but | 21:57 |
paroneayea | msgctxt "util.copyright_date" | 21:57 |
paroneayea | msgid "copyright date" | 21:57 |
paroneayea | msgstr "fecha de los derechos de autor" | 21:57 |
paroneayea | eg, it's the same way for that as in the file we're trying to copy over | 21:57 |
paroneayea | as with the "new" file | 21:57 |
nkinkade | paroneayea: The big thing to look for is that the word Reconocimiento is replaced by Atribución in the license names and elsewhere. | 21:58 |
paroneayea | kk | 21:59 |
*** ghelleks has joined #cc | 22:01 | |
*** MarkDude has joined #cc | 22:08 | |
* paroneayea deflates | 22:12 | |
paroneayea | nyergler: nkinkade: not working... only about 5 messages were "converted"... as I thought, this was mostly already in the right format to begin with | 22:13 |
paroneayea | still not sure what was wrong | 22:13 |
paroneayea | I wonder if in hand-editing it they broke the file? | 22:13 |
nyergler | is this the combined spanish file that's been detached for weeks? | 22:14 |
nkinkade | Hmm. Let me poke around a bit. I don't want to have to ask the CC Chile people to retranslate everything again, if possible. | 22:14 |
paroneayea | nyergler: yes | 22:14 |
nkinkade | nyergler: Yeah, my guess is the PO file they have is from a couple months ago. | 22:14 |
nkinkade | (just a guess) | 22:14 |
nkinkade | Apparently they had some issue with Transifex, didn't mention it to me, and just downloaded the PO and did it offline, and are only now, quite some time later giving it back to me. | 22:15 |
nyergler | i see | 22:15 |
nyergler | so we're trying to make sure the new strings get added to it, and the appropriate things are marked as fuzzy? | 22:15 |
nyergler | (ie, what happened when you uploade to Tx?) | 22:16 |
nyergler | sorry, don't want to dig into this too deep, just noticing the IRC conversation goes back almost 3 hours | 22:16 |
paroneayea | nyergler: yes | 22:18 |
paroneayea | trying to merge their changes in | 22:18 |
nkinkade | nyergler: I'm going to try to upload it to Tx again. | 22:18 |
nkinkade | Before, I got an error about DOS-style newlines, so I just need to fix that and try again, which I'd hadn't got around to again since yesterday. | 22:18 |
*** erlehmann has quit IRC | 22:19 | |
nyergler | oh, so we don't actually know what Tx will do with it? | 22:19 |
paroneayea | norp | 22:21 |
nkinkade | Ugh: From transifex: "Commit to the repository failed. Details from the VCS backend: ''." | 22:22 |
nkinkade | paroneayea: ^^ | 22:22 |
paroneayea | .__. | 22:22 |
paroneayea | is that in relation to your uploading the file? | 22:22 |
nkinkade | paroneayea: Yeah. | 22:23 |
nkinkade | Presumably Tx merged it, then tried to push to git. | 22:23 |
paroneayea | well transifex has been committing all day... | 22:23 |
nkinkade | Can we make git be more chatty? | 22:23 |
paroneayea | not on our end | 22:23 |
paroneayea | afaik | 22:23 |
nkinkade | Apparently git said: '' | 22:23 |
nkinkade | Which isn't very useful. | 22:23 |
paroneayea | git says '… wtf is this' | 22:24 |
paroneayea | 'get out of my repository' | 22:24 |
nkinkade | paroneayea: http://code.creativecommons.org/viewgit/i18n.git/commit/?id=544ef6de5d4ad8b9889f7a41f694be8bbff2afaa | 22:29 |
paroneayea | nkinkade: success? ;o | 22:30 |
nkinkade | The git error I got before was because I was trying to upload the old PO file. | 22:30 |
paroneayea | oh, this is the msgmerged one? | 22:30 |
nkinkade | This time I uploaded the PO I created with msgmerge and it worked. | 22:30 |
paroneayea | horray! | 22:30 |
nkinkade | But only after I removed the DOS newlines from a few places in the file. | 22:30 |
*** figaroo has joined #cc | 22:31 | |
*** figaroo has left #cc | 22:31 | |
paroneayea | * | 22:35 |
paroneayea | /\ | 22:35 |
paroneayea | /o \ PARTY HATS | 22:35 |
paroneayea | /o o\ | 22:35 |
paroneayea | ========_ | 22:35 |
paroneayea | \____.--' | 22:35 |
paroneayea | I wonder what their problem with transifex was | 22:36 |
paroneayea | maybe shitty git merge issues! ;D | 22:36 |
paroneayea | It's goomba time | 22:38 |
nkinkade | nyergler: What was opened.CC.org about? Was opened the old discovered? | 22:40 |
nyergler | no, it was a wiki run under cclearn | 22:40 |
*** bassel has quit IRC | 22:41 | |
paroneayea | ___ ___ ___ | 22:41 |
paroneayea | _/ \_ _/ \_ _/ \_ ,/-\, | 22:41 |
paroneayea | /\___/\ /\___/\ /\___/\ / o_|| | 22:41 |
paroneayea | | | | | | | | | | | | | | ., '_.----, | 22:41 |
paroneayea | \ ^___^ / \ ^___^ / \ ^___^ / \// /// \,/ \\ | 22:41 |
paroneayea | ------__ ------__ ------__ \||/\,/ \.//. | 22:41 |
paroneayea | _(___(__) _(___(__) _(___(__) \\./_\_/_// | 22:41 |
paroneayea | (__) (__) (__) /_'-------L\ | 22:41 |
paroneayea | IT'S GOOMBA TIME | 22:42 |
paroneayea | nyergler: so I'm thinking for this; | 22:44 |
paroneayea | http://code.creativecommons.org/issues/issue667 | 22:45 |
nkinkade | nyergler: Do we care to keep redirecting it to wiki:/OER ... I imagine so, but just wondering where to drop the vhost for that redirect. | 22:45 |
paroneayea | I'll just have it generate a csv in cc/i18n/statistics.csv | 22:45 |
nkinkade | I can just pick something. It's not that important. | 22:45 |
paroneayea | and do that at tarball-time | 22:45 |
nyergler | nkinkade: yes, keep redirecting | 22:45 |
nyergler | no opinion re: location | 22:45 |
nkinkade | Yeah, I'll just pick something reasonable. | 22:46 |
nyergler | paroneayea: and then we'll expose those stats somehow? | 22:46 |
paroneayea | nyergler: and then cc.engine will use pkg_resources to grab the file | 22:46 |
paroneayea | and parse it | 22:46 |
paroneayea | to find out which ones are which percentag | 22:46 |
paroneayea | e | 22:46 |
nyergler | seems like the parsing/etc is more appropriately located in cc.i18n | 22:47 |
nyergler | or whatever its called | 22:47 |
nyergler | right? | 22:47 |
paroneayea | sure, I can make a cc/i18n/util:get_statistics() function | 22:48 |
paroneayea | which returns a dictionary | 22:48 |
nyergler | great | 22:48 |
*** bassel has joined #cc | 23:11 | |
mralex | akozak: does IE, any version of, support the OpenSearch? | 23:19 |
mralex | (i presume no) | 23:19 |
mralex | oh, google tells me it does | 23:21 |
akozak | mralex, yes | 23:24 |
akozak | 8+ IIRC | 23:24 |
mralex | akozak: 7+ :) updating my css/js madlibs to account for IE. | 23:24 |
mralex | http://labs.creativecommons.org/demos/search/search-i18n/index-i18n.php will say different things depending on what browser/version you have | 23:25 |
akozak | ah cool! | 23:25 |
akozak | btw the box shadow looks sort of bad in chrome | 23:26 |
akozak | the shadow doesn't have a radius | 23:26 |
mralex | they look fine in my version of chrome | 23:26 |
akozak | hmmm | 23:26 |
akozak | mralex, http://i.imgur.com/JGdOK.png | 23:27 |
akozak | 6.0.472.55 beta | 23:27 |
mralex | lol weird | 23:27 |
mralex | that's supposed to be rounded cornered | 23:27 |
akozak | the bottom is | 23:28 |
mralex | which is why the shadow is rounded | 23:28 |
akozak | button | 23:28 |
akozak | looks fine if i remove -webkit-box-shadow | 23:28 |
mralex | sure, but you seem to have a browser issue causing the corners of that box to not be rounded | 23:29 |
akozak | hm weird | 23:30 |
JED3 | nkinkade: the column `payment_instrument_id` in civicrm_contribution indicates which processor handled the contribution right? | 23:32 |
*** oshani has joined #cc | 23:33 | |
JED3 | does a NULL value for that column mean it was manually entered? | 23:33 |
*** oshani has quit IRC | 23:34 | |
*** akozak_ has joined #cc | 23:35 | |
nkinkade | JED3: I don't think so. | 23:38 |
nkinkade | I think payment instrument might be like "credit card", "check", "cash", etc. | 23:39 |
nkinkade | presumably there's a civicrm_payment_instrument table with the corresponding textual values. | 23:39 |
nkinkade | There is no certain way to know the whether it was PayPal or GC. | 23:39 |
nkinkade | There is an indirect way and that is be looking at the invoice_id in civicrm_contribution. | 23:40 |
nkinkade | The invoice_ids for PayPal will be longer and the ones for GC will be 15 chars, all caps. | 23:40 |
*** akozak has quit IRC | 23:41 | |
*** MarkDude has quit IRC | 23:44 | |
JED3 | nkinkade: thx! i'm able to filter out the google one's based on the length | 23:50 |
nkinkade | I used that method just this afternoon to filter out some Google payments while cleaning up some data from a recent bug. I think should be 100% reliable, though I don't like it in principle. | 23:57 |
nkinkade | Okay, I'm off to meet Jen for dinner. | 23:58 |
JED3 | nkinkade: have fun | 23:59 |
JED3 | nkinkade: thx | 23:59 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!