*** nathany has quit IRC | 00:00 | |
*** everton137 has joined #cc | 00:05 | |
*** akozak has quit IRC | 00:40 | |
*** NahuelM has joined #cc | 00:43 | |
*** nathany has joined #cc | 00:56 | |
*** NahuelM has quit IRC | 01:03 | |
*** stevel has quit IRC | 01:06 | |
*** everton137 has quit IRC | 01:17 | |
*** k9d-win has quit IRC | 01:35 | |
*** mralex has quit IRC | 01:37 | |
*** everton137 has joined #cc | 01:38 | |
*** everton137 has quit IRC | 01:50 | |
*** everton137 has joined #cc | 01:52 | |
*** pyrak has joined #cc | 02:10 | |
*** JED3 has quit IRC | 02:15 | |
*** nathany has quit IRC | 02:53 | |
*** k9d-win has joined #cc | 03:12 | |
*** pyrak has quit IRC | 03:40 | |
*** pyrak has joined #cc | 03:45 | |
*** CIA-57 has quit IRC | 03:54 | |
*** CIA-42 has joined #cc | 03:59 | |
*** everton137 has quit IRC | 04:23 | |
*** pyrak has quit IRC | 04:36 | |
*** chill|out has joined #cc | 05:04 | |
*** chill|out has left #cc | 05:05 | |
*** pyrak has joined #cc | 06:15 | |
*** sama has joined #cc | 06:16 | |
*** jgay has quit IRC | 06:16 | |
*** JED3 has joined #cc | 06:43 | |
*** JED3 has quit IRC | 07:10 | |
*** NahuelM has joined #cc | 07:17 | |
*** sama has quit IRC | 07:24 | |
*** chill|out has joined #cc | 07:52 | |
*** chill|out has left #cc | 07:54 | |
*** Sparrow5 has joined #cc | 07:54 | |
Sparrow5 | Heyz every one | 07:54 |
---|---|---|
*** paroneay` has joined #cc | 07:54 | |
Sparrow5 | can some one help with my prob? | 07:55 |
*** wormsxulla_ has quit IRC | 07:55 | |
*** RainRat has quit IRC | 07:55 | |
*** paroneayea has quit IRC | 07:55 | |
*** lotia has quit IRC | 07:55 | |
*** wormsxulla has joined #cc | 08:04 | |
*** lotia has joined #cc | 08:05 | |
*** pyrak has quit IRC | 08:06 | |
*** NahuelM has quit IRC | 08:16 | |
*** sama has joined #cc | 08:33 | |
*** johndbritton has quit IRC | 10:02 | |
*** Sparrow5 has quit IRC | 10:06 | |
*** soma has quit IRC | 10:12 | |
*** Kaetemi has quit IRC | 10:43 | |
*** wormsxulla_ has joined #cc | 11:56 | |
*** k9d-w9n has joined #cc | 12:00 | |
*** k9d-win has quit IRC | 12:00 | |
*** wormsxulla has quit IRC | 12:14 | |
*** Danny_B has quit IRC | 12:25 | |
*** nkinkade has joined #cc | 13:35 | |
*** JoiIto has joined #cc | 14:26 | |
*** tvol has joined #cc | 14:28 | |
*** nathany has joined #cc | 14:55 | |
*** johndbritton has joined #cc | 14:56 | |
*** JoiIto has quit IRC | 14:57 | |
*** johndbritton has quit IRC | 14:58 | |
*** JoiIto has joined #cc | 15:25 | |
*** Kaetemi has joined #cc | 15:27 | |
*** JoiIto has quit IRC | 15:28 | |
*** JoiIto has joined #cc | 15:32 | |
*** JoiIto has quit IRC | 15:33 | |
*** paroneay` has quit IRC | 15:54 | |
*** paroneayea has joined #cc | 15:55 | |
*** JoiIto has joined #cc | 15:57 | |
*** JED3 has joined #cc | 15:59 | |
*** k9d-925 has quit IRC | 16:12 | |
*** JoiIto has quit IRC | 16:19 | |
*** JoiIto has joined #cc | 16:19 | |
*** stevel has joined #cc | 16:34 | |
*** brion has joined #cc | 16:39 | |
*** JED3 has quit IRC | 16:43 | |
brion | Any of y'all in here on the ccteam.status.net beta site? I want to see if we can track down the problem with Adium that mlinksva reported... | 16:57 |
mecredis | I am | 17:05 |
mecredis | what should I do? | 17:05 |
mecredis | a while ago I got a "Unable to update timeline: The server is overloaded with requests." | 17:05 |
mecredis | about 24hr | 17:05 |
mecredis | but its back now | 17:06 |
brion | aho | 17:07 |
brion | well that's good news i guess :D | 17:07 |
brion | had any other problems with it or just that? | 17:07 |
mecredis | some times its a bit laggy when updating | 17:07 |
mecredis | but not sure who's fault that is | 17:07 |
mecredis | heh | 17:07 |
brion | within adium or in general? | 17:07 |
mecredis | oh, just adium | 17:08 |
mecredis | haven't tried updating via web in a while | 17:08 |
brion | adium polls for updates, unfortunately so you're gonna have some delay on getting things back :( | 17:08 |
brion | they should go out pretty fast though | 17:08 |
mecredis | oh, I meant ponging | 17:08 |
mecredis | err, posting | 17:09 |
mecredis | but I see what you mean | 17:09 |
mecredis | in that I could post, and then I have to wait for Adium to pull, etc. | 17:09 |
brion | right | 17:11 |
mecredis | sometimes Twitter fakes it | 17:11 |
mecredis | despite it not going live | 17:12 |
mecredis | it'll update the local HTML | 17:12 |
brion | heh | 17:13 |
brion | yeah i see what you mean; it looks like it's echoing your update back immediately within the adium window | 17:14 |
brion | hmmm there's a checkbox in the account settings to update "after sending tweet"; confirm that's checked? | 17:16 |
mecredis | oh let me check | 17:19 |
mecredis | neat. there it is | 17:19 |
mecredis | I guess its a style preference | 17:20 |
brion | yay :D | 17:20 |
brion | do feel free to poke us if anything else comes up! | 17:20 |
mecredis | indeed | 17:20 |
mecredis | thanks for the high-touch support | 17:21 |
mecredis | :) | 17:21 |
brion | :D | 17:21 |
*** tvol has quit IRC | 17:29 | |
*** mralex has joined #cc | 17:35 | |
*** Saqib has joined #cc | 17:40 | |
*** Saqib has left #cc | 17:40 | |
*** JED3 has joined #cc | 17:40 | |
*** akozak has joined #cc | 17:42 | |
*** tvol has joined #cc | 17:47 | |
paroneayea | nathany: so I'm starting to work on the chooser stuff | 17:50 |
nathany | paroneayea, cool | 17:50 |
paroneayea | """Index views: standard chooser and partner interface. | 17:50 |
paroneayea | 17:50 | |
paroneayea | This view provides support methods and dispatches the appropriate page | 17:50 |
paroneayea | template based on the presence of the partner query string parameter.""" | 17:50 |
paroneayea | if u'partner' in self.request.form: | 17:50 |
paroneayea | 17:50 | |
paroneayea | what's "partner" about here? | 17:50 |
nathany | paroneayea, http://wiki.creativecommons.org/Partner Interface | 17:50 |
nathany | Partner_Interface, that is | 17:50 |
paroneayea | aha! :) | 17:51 |
paroneayea | ok great, thanks | 17:51 |
nathany | sure | 17:51 |
nathany | FWIW that's probably the biggest wrinkle to watch out for | 17:51 |
nathany | also note that we have a redirector in place for /license/ in the old code | 17:52 |
paroneayea | :o | 17:52 |
nathany | some people were POSTing to the partner interface, and we redirect them with a GET to /choose/ | 17:52 |
paroneayea | ah okay | 17:52 |
paroneayea | redirects are also fairly easy to add :) | 17:53 |
nathany | :) | 17:53 |
nathany | well that one requires a little bit of massaging, but yes, should be straight forward | 17:53 |
paroneayea | okay, well, noted | 17:58 |
*** akozak has quit IRC | 18:48 | |
*** sama has quit IRC | 18:53 | |
JED3 | <div xmlns:cc="http://creativecommons.org/ns#" about="http://www.flickr.com/photos/doigoid/3897264246/"><a rel="cc:attributionURL" property="cc:attributionName" href="http://www.flickr.com/photos/doigoid/">doigoid</a> / <a rel="license" href="http://creativecommons.org/licenses/by/2.0/deed.en">CC BY</a></div> | 19:12 |
JED3 | generated via http://staging.creativecommons.net/c/RObIX/ | 19:13 |
nathany | JED3, awesome | 19:13 |
JED3 | does that look correct? | 19:13 |
nathany | JED3, yes; are you currently looking for cc:attributionName? | 19:14 |
nathany | We should also take into account the to-be-implemented support for foaf:name (http://code.creativecommons.org/issues/issue404) | 19:15 |
JED3 | done :) | 19:15 |
nathany | cool | 19:15 |
JED3 | http://dpaste.com/122062/ | 19:16 |
nathany | looks good to me | 19:17 |
nkinkade | nathany: I'm having a bit of an issue with the l10n stuff on ccSearch. Do you have moment to take a look at it with me? | 19:20 |
nathany | sure, why the hell not | 19:21 |
nathany | ;) | 19:21 |
nkinkade | http://search.creativecommons.org/npk.php?locale=en_US&msgid=lang.en_US&domain=cc_org | 19:22 |
nkinkade | nathany: This one works ^^ | 19:22 |
nathany | ok | 19:22 |
nkinkade | This one doesn't: http://search.creativecommons.org/npk.php?locale=en_US&msgid=lang.en_US&domain=cc_sch | 19:22 |
nkinkade | The only difference is that the 2nd one is associated with a different textdomain. | 19:22 |
nathany | right... where do the PO files for that domain live? | 19:23 |
nkinkade | ./locale/default/$lang/LC_MESSAGES/ccsearch.po | 19:23 |
nathany | oh, right, looking @ the source now | 19:23 |
nkinkade | It's just a tiny script I made up to help me understand why it wasn't working the way I was expecting in the main ccSearch code. | 19:24 |
nathany | nkinkade, did you add the lang.en_US string to the cc_sch po file? | 19:27 |
nathany | (and recompiled it to the .mo afterward) | 19:27 |
nkinkade | nathany: I think so. I added the string to the PO file, then did: | 19:28 |
nkinkade | $ msgfmt -o ccsearch.mo ccsearch.po | 19:29 |
nathany | right | 19:29 |
nkinkade | But I'm a newbie at l10n and i18n | 19:29 |
nathany | yeah | 19:29 |
nathany | i think that should do it | 19:30 |
nkinkade | So I'm somewhat confused why the cc_sch domain isn't working. | 19:30 |
nathany | i wonder if PHP maintains any sort of cache? i've done very little with PHP i18n | 19:30 |
nathany | nkinkade, one other idea might be to blow away (or move) all the other languages, and remove all the other strings from the PO file | 19:30 |
nathany | so you really isolate that string | 19:30 |
nathany | make sure there are no formatting issues causing it to abort binding | 19:31 |
nkinkade | nathany: I wouldn't expect it to be a formatting issue because that same PO file is actively being used on the ccSearch. | 19:31 |
nathany | oh good point | 19:31 |
nkinkade | However, a better test would be with another language, since the default will be English anyway. | 19:32 |
nkinkade | :-) | 19:32 |
nkinkade | I guess I can try that now. | 19:32 |
*** jonsson has joined #cc | 19:32 | |
nathany | so wait, a) how do we know it's actively being used | 19:32 |
nathany | right | 19:32 |
nathany | b) is it jsut when tried to add this other string that you ran into problem? | 19:32 |
nathany | problems? | 19:32 |
nkinkade | It's not causing systemic problems, just that I can't seem to be able to pull those strings I'm adding. | 19:33 |
nathany | Right... so it'd be worth testing with another language so we can figure out if it's actually working at all or just falling back | 19:33 |
nkinkade | For example, if you go to ccSearch and select lang.lt from the lang dropdown ... it all works and the strings are coming the LT MO file. | 19:33 |
nkinkade | I'll try it with LT now. | 19:33 |
nathany | ok | 19:34 |
nkinkade | http://search.creativecommons.org/npk.php?locale=lt&msgid=lang.lt&domain=cc_sch | 19:34 |
nkinkade | nathany: ^^ ... nothing | 19:34 |
nathany | nkinkade, are you restarting things on a8? | 19:37 |
nkinkade | nathany: No. Does that stuff get cached? | 19:37 |
nathany | no idea, i was just getting a guru meditation error | 19:37 |
nkinkade | No, I wasn't doing anything, but after your message I restarted Apache just to be sure. | 19:38 |
nkinkade | nathany: That brings up another point. I was thinking the other day that we might be able to configure Varnish to spit out a custom error page instead of that confusing and ugly one. | 19:38 |
nkinkade | If we are going to fail, we might as well do it elegantly. :-) | 19:39 |
nathany | :) | 19:39 |
nathany | sure | 19:39 |
nathany | nkinkade, i'm not sure what's going on | 19:40 |
nathany | it seems weird that all the strings *except* lang.lt work | 19:40 |
nkinkade | nathany: I'm not sure either, but it's impeding my ability to have the code fall back on the ccsearch.mo for the lang dropdown. | 19:41 |
nathany | right | 19:41 |
nkinkade | nathany: Actually it's not working for any string in my example script. | 19:41 |
nathany | how does your example differ from the production code? | 19:42 |
nkinkade | The cc_org domain works fine, but the cc_sch domain doesn't work at all. | 19:42 |
nkinkade | It's almost exactly the same. I just copied the relevant bits. | 19:42 |
nathany | nkinkade, no offense, but there's got to be something | 19:42 |
nkinkade | nathany: I'm sure there is. :-) | 19:43 |
nkinkade | It's just unclear to me why the cc_org domain works, which would indicate to me that the code/script is okay. | 19:43 |
nkinkade | It would indicate to me that there is something different about the cc_sch domain. | 19:43 |
nkinkade | nathany: I'll keep looking. | 19:43 |
nkinkade | Thanks. | 19:43 |
nathany | nkinkade, what domain name do we use in the existing code? | 19:44 |
nathany | i think you're exactly right that it's something about the domain | 19:44 |
nkinkade | nathany: I need to check that. | 19:44 |
nkinkade | I only copied the code that generates the dropdown. | 19:45 |
nkinkade | So the setup for translating other parts may have some key difference that I didn't see. | 19:45 |
nathany | hrmn | 19:45 |
nkinkade | nathany: Who wrote all the l10n code for ccSearch? | 19:53 |
nathany | jon phillips :) | 19:53 |
nkinkade | ugh | 19:53 |
nathany | paulproteus has also poked at it in the past, but jon originated it | 19:54 |
*** pyrak has joined #cc | 19:59 | |
* jonsson is looking at the Swedish translations in pootle | 20:11 | |
jonsson | how about an option for "english string does not make sense" ;-) | 20:11 |
nkinkade | jonsson: Which string? | 20:12 |
jonsson | Just realised it might be part of a sentence | 20:13 |
jonsson | currently deed.fair_use | 20:13 |
jonsson | but also the last one.... | 20:13 |
nkinkade | nathany: So I got some code in there that seems to work. What's the best way for me to get those new strings in the PO files? And it's using a msgid like lang.$lang | 20:16 |
nathany | nkinkade, this is for the search domain, right? | 20:20 |
nathany | jonsson, deed.fair_use is seen in the bottom third of deeds (ie, http://creativecommons.org/licenses/by/3.0/) | 20:21 |
paroneayea | nathany: are we doing a devcall today? If so, would you mind hanging out a bit after the devcall and overviewing some of the chooser stuff?? | 20:23 |
paroneayea | oops, -1 ? | 20:23 |
nathany | paroneayea, yes, we're doing a call | 20:40 |
nathany | yes, talking after sounds fine | 20:40 |
paroneayea | cool | 20:41 |
*** pyrak has quit IRC | 21:04 | |
paroneayea | nathany, nkinkade, JED3: conference time! | 21:30 |
nkinkade | Sure. | 21:30 |
paroneayea | are we gonna call free conference call number or the asterisk one | 21:30 |
JED3 | free conf | 21:30 |
paroneayea | okie dokie | 21:30 |
nkinkade | We could do a purely VoIP one with our own server. | 21:30 |
nkinkade | How about it? | 21:30 |
nkinkade | We could *try*, that is. | 21:31 |
paroneayea | Heh, I am down. Up to whoever would be configuring it ;) | 21:31 |
paroneayea | the call this morning sounded great I thought | 21:31 |
nkinkade | It's already configured for VoIP. | 21:31 |
paroneayea | oh wait | 21:31 |
nkinkade | I've tested it. | 21:31 |
paroneayea | voip! | 21:31 |
paroneayea | that would mean using my computer | 21:31 |
paroneayea | nope | 21:31 |
nathany | nkinkade, freeconfcall.com, please... | 21:31 |
paroneayea | my soundcard is fucked up for audio-in | 21:31 |
nathany | lol | 21:32 |
paroneayea | it's fine if you like the nice gentle din of a robot invasion | 21:32 |
paroneayea | not very productive for conferences | 21:32 |
JED3 | is that a prelude to one of your ASCII robot attacks? | 21:33 |
*** k9d-925 has joined #cc | 21:33 | |
paroneayea | o | 21:33 |
paroneayea | | | 21:33 |
paroneayea | (o o) | 21:33 |
paroneayea | H | 21:33 |
paroneayea | H | 21:33 |
paroneayea | H | 21:33 |
paroneayea | )===/---\===( | 21:33 |
paroneayea | ||X|| | 21:33 |
paroneayea | ||X|| | 21:34 |
paroneayea | ||X|| | 21:34 |
nathany | paroneayea, hate to disrupt the robot | 21:34 |
nathany | :) | 21:34 |
paroneayea | /-----\ | 21:34 |
paroneayea | ||---|| | 21:34 |
nathany | joining us? | 21:34 |
paroneayea | 21:34 | |
paroneayea | GIVE ROBOT LOVE | 21:34 |
paroneayea | 21:34 | |
paroneayea | LOVE ROBOT LOVE | 21:34 |
paroneayea | the robots only want love friends | 21:34 |
paroneayea | they do not want war | 21:34 |
paroneayea | o | 21:34 |
paroneayea | |__ | 21:34 |
paroneayea | \ o) | 21:34 |
paroneayea | ||--C >>>> >>>> | 21:34 |
paroneayea | / \ | 21:34 |
paroneayea | _L___L_ | 21:34 |
paroneayea | (O_O_O_O) | 21:34 |
paroneayea | well this one wants war | 21:34 |
paroneayea | but most do not | 21:34 |
paroneayea | sorry, got carried away by robots | 21:35 |
paroneayea | 1sec | 21:35 |
JED3 | paroneayea: did you know do anything to uri2dict to support cc0, i think its in helper.py? | 21:39 |
JED3 | did you do* | 21:39 |
paroneayea | yes I did | 21:39 |
paroneayea | did I break things? | 21:39 |
paroneayea | the unit tests passed, so I thought I was okay | 21:40 |
paroneayea | chatting on here while on the conference call is confusing | 21:40 |
JED3 | http://staging.creativecommons.net/c/ | 21:40 |
JED3 | example/example | 21:40 |
*** NahuelM has joined #cc | 21:40 | |
*** NahuelM has left #cc | 21:42 | |
*** tvol has quit IRC | 21:56 | |
nkinkade | nathany: Regarding the msgid for the language strings, what do you suggest? I had been thinking lang.$lang, but that won't make sense for people. | 21:57 |
nkinkade | Somehow it should be tied to the lang code, otherwise we'd have to do some acrobatics to from something like lt to Lithuanian to the translated string. | 21:58 |
nathany | nkinkade, it may not make sense, but i think it's a sane choice (since it's the same as the identifier used in cc_org) | 21:58 |
nathany | or the same scheme | 21:58 |
nkinkade | But the translators never see lang.$lang. | 21:59 |
nathany | oh, right | 21:59 |
nathany | nkinkade, it seems like any approach is going to be sort of hackish | 21:59 |
nathany | any non-acrobatic approach, that is | 22:00 |
nkinkade | nathany: Totally. I guess I'd rather just do lang.$lang and explain later, if needed. | 22:00 |
nathany | you can imagine either doing lang.lt, or "THIS LANGUAGE" | 22:00 |
nathany | (the latter being an opaque identifier for whatever language they're translating into) | 22:00 |
nkinkade | haha | 22:00 |
nathany | :) | 22:00 |
nathany | nkinkade, let's just do lang.xx and get it up | 22:00 |
nathany | if people have better ideas they can submit a patch | 22:00 |
nkinkade | That could work: msgid "THE LANGUAGE YOUR ARE NOW TRANSLATING FOR, LITERALLY" | 22:01 |
nathany | lol | 22:02 |
*** mralex has quit IRC | 22:02 | |
*** mralex has joined #cc | 22:03 | |
nkinkade | nathany: I just realized that editing ccsearch.pot won't work either, because we can't know beforehand what the msgid will be. | 22:20 |
nathany | nkinkade, if this were python i'd just use the localization library that contains the language names along with the identifiers | 22:21 |
nathany | i suppose PHP doesn't have an equivalent? | 22:21 |
nkinkade | I'm actually not sure about that. | 22:22 |
nkinkade | But now that I think about it, I guess you intention was that, for example, lang.lt would go in every PO file. | 22:22 |
*** pyrak has joined #cc | 22:23 | |
*** tvol has joined #cc | 22:23 | |
nathany | nkinkade, yeah, i guess | 22:28 |
nathany | it's not really needed for this approach | 22:28 |
nathany | part of me just wants to rewrite this using Python and be done with it :) | 22:28 |
nkinkade | :-) | 22:28 |
nkinkade | In the meantime, should we just handle this on a case by case basis? | 22:28 |
nkinkade | I mean, to add lang.lt manually to the lt PO file, for example. | 22:29 |
nkinkade | nathany: ^^ | 22:29 |
nathany | sure | 22:29 |
nkinkade | That's the path of least resistance. | 22:30 |
JED3 | nathany: http://code.creativecommons.org/~john/ccnet_coverage/ | 22:41 |
nathany | JED3, cool; can you make the report exclude things like django and south? | 22:42 |
nathany | :) | 22:42 |
JED3 | yeah, I think so, let me check | 22:43 |
nathany | but that's actually not bad | 22:43 |
JED3 | yeah I was a bit surprised, the coverage is negatively affected by south too | 22:43 |
JED3 | ... when tested on SQLite3 at least | 22:44 |
nathany | yeah, their sqlite3 support is a little shakey, isn't it? | 22:44 |
JED3 | well yes and no, sqlite3 doesn't support a few operations that the big-boys do, and the south test don't consider that to be an exception to not run the case if db == sqlite | 22:45 |
JED3 | south is adding more SQlite support with the next release | 22:46 |
JED3 | ALTER COLUMN will at least be supported, which will help out a tremendous amount when applying a few of our migrations that require an alter | 22:46 |
nathany | oh cool | 22:51 |
*** nkinkade has quit IRC | 22:59 | |
*** nkinkade has joined #cc | 23:00 | |
*** ChiLL0uT has joined #cc | 23:02 | |
JED3 | nathany: without south and django http://code.creativecommons.org/~john/ccnet_coverage/ | 23:08 |
nathany | cool | 23:09 |
*** ChiLL0uT is now known as chill|out | 23:10 | |
*** nkinkade has quit IRC | 23:24 | |
*** [mharrison] has quit IRC | 23:35 | |
*** nathany has quit IRC | 23:35 | |
*** ChiLL0uT has joined #cc | 23:59 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!