Tuesday, 2010-06-29

*** Kaetemi has quit IRC00:00
*** Kaetemi has joined #cc00:06
*** luisv has quit IRC00:19
*** mralex has quit IRC00:19
*** luisv has joined #cc00:22
*** Kaetemi has quit IRC00:30
*** Kaetemi has joined #cc00:35
*** akila87 has joined #cc00:43
*** rjcp has quit IRC00:48
*** akila87 has left #cc00:49
*** asich has joined #cc01:03
*** asich has left #cc01:03
*** Bovinity has joined #cc01:16
*** MarkDude has quit IRC01:17
*** wormsxulla has quit IRC01:27
*** sudiptamondal has joined #cc01:32
*** Kaetemi has quit IRC01:43
*** wormsxulla has joined #cc01:44
*** sudiptamondal has quit IRC01:48
*** Kaetemi has joined #cc01:51
*** Kaetemi has joined #cc01:51
*** sudiptamondal has joined #cc02:01
*** luisv has quit IRC02:07
*** Kaetemi has quit IRC02:33
*** Kaetemi has joined #cc02:39
*** nkinkade has quit IRC03:09
*** Kaetemi has quit IRC03:17
*** Kaetemi has joined #cc03:22
*** Kaetemi has joined #cc03:22
*** akila87 has joined #cc03:29
*** akila87 has left #cc03:29
*** sudiptamondal has quit IRC03:51
*** Bovinity has quit IRC04:01
*** JED3 has quit IRC04:08
*** MarkDude has joined #cc05:07
*** akila87 has joined #cc05:09
*** JoiIto has joined #cc05:33
*** luisv has joined #cc05:42
*** Kaetemi has quit IRC05:44
*** akila87 has quit IRC05:45
*** Kaetemi has joined #cc05:49
*** sudiptamondal has joined #cc06:00
*** poseid has joined #cc06:10
*** JoiIto has quit IRC06:19
*** concerne1citizen is now known as concernedcitizen06:22
*** luisv has quit IRC06:24
*** JoiIto has joined #cc06:25
*** akila87 has joined #cc06:28
*** JoiIto1 has joined #cc06:39
*** JoiIto1 has left #cc06:39
*** JoiIto has quit IRC06:42
*** JoiIto has joined #cc06:44
*** akozak has quit IRC06:47
*** thisisparker has joined #cc06:49
*** thisisparker has quit IRC07:00
*** Kaetemi has quit IRC07:10
*** Kaetemi has joined #cc07:14
*** Kaetemi has joined #cc07:14
*** poseid has quit IRC07:27
*** bassel has joined #cc07:49
*** thisisparker has joined #cc07:59
*** thisisparker has quit IRC08:16
*** thisisparker has joined #cc08:21
*** Kaetemi has quit IRC08:31
*** Kaetemi has joined #cc08:36
*** Kaetemi has joined #cc08:36
*** poseid has joined #cc08:47
*** FHaag has joined #cc09:16
*** sudiptamondal has quit IRC09:38
*** akila87 has left #cc09:42
*** erlehmann has joined #cc09:47
*** poseid has quit IRC10:12
*** bassel has quit IRC10:17
*** poseid has joined #cc10:47
*** akila871 has joined #cc10:47
*** akila871 has left #cc10:51
*** poseid has quit IRC11:03
*** bassel has joined #cc11:06
*** _DNS777 has joined #cc11:17
*** DNS777 has quit IRC11:17
*** _DNS777 is now known as DNS77711:17
*** DNS777 is now known as Guest4809511:17
*** bassel has quit IRC11:24
*** thisisparker has quit IRC11:45
*** thisisparker has joined #cc11:45
*** Guest48095 is now known as DNS77712:12
*** DNS777 is now known as Guest3630312:12
*** poseid has joined #cc12:34
*** bassel has joined #cc12:52
*** akila87 has joined #cc12:59
*** akila87 has left #cc12:59
*** Guest36303 is now known as DNS77713:12
*** DNS777 is now known as Guest1514813:13
*** tvol has joined #cc13:18
*** luisv has joined #cc13:19
*** poseid has quit IRC13:25
*** rjcp has joined #cc14:09
*** rjcp has joined #cc14:09
*** Guest15148 is now known as DNS77714:13
*** DNS777 is now known as Guest5097214:14
*** MarkDude has quit IRC14:22
*** TDJACR has joined #cc14:27
*** wormsxulla has quit IRC14:29
*** akila87 has joined #cc14:29
*** luisv has quit IRC14:31
*** nkinkade has joined #cc14:37
*** wormsxulla has joined #cc14:46
*** FHaag has quit IRC14:51
*** akila87 has left #cc14:59
*** jgay has joined #cc15:02
*** Guest50972 is now known as DNS77715:14
*** DNS777 is now known as Guest4527615:14
*** akila87 has joined #cc15:20
*** akila871 has joined #cc15:29
*** akila871 has left #cc15:30
*** akila87 has quit IRC15:32
*** akila87 has joined #cc15:33
*** nyergler has joined #cc15:34
*** poseid has joined #cc15:53
*** poseid has quit IRC16:04
*** nyergler has quit IRC16:08
*** Guest45276 is now known as DNS77716:15
*** michi_ has joined #cc16:15
*** DNS777 is now known as Guest7585916:15
*** tvol has quit IRC16:18
*** Guest75859 is now known as [777]16:23
*** rjcp has quit IRC16:24
*** rjcp has joined #cc16:26
*** rjcp has joined #cc16:26
*** JED3 has joined #cc16:29
*** mralex has joined #cc16:36
*** thisisparker has quit IRC16:43
*** akozak has joined #cc16:44
JED3is anybosy working on a6?17:02
JED3anybody*17:02
paroneayeanot me17:02
*** akozak has quit IRC17:03
JED3nkinkade: are you working on pootle?17:05
nkinkadeJED3: No.17:05
*** akozak has joined #cc17:05
JED3nkinkade: nevermind, just realized i was using the wrong domain: pootle.cc.org17:06
JED3guess we have a dns entry for that domain17:07
*** akila87 has left #cc17:39
*** tvol has joined #cc17:44
tvoli get a bunch of errors trying to login to "staging" - anyone know more?17:46
JED3akozak: ping17:50
akozakJED3, pong17:57
akozaksorry17:57
*** tvol has quit IRC18:08
nkinkadeI've got debugging turned on on staging to help figure out why WP 3.0 isn't working with our plugins/themes.18:09
greg-gyuck18:11
*** nyergler has joined #cc18:27
*** rjcp has quit IRC18:32
nkinkademralex: So it appears that the jurisdiction pages are getting rendered with category.php, not single.php.18:48
nkinkadeBut it should be single.php, correct?18:48
mralexyeah18:51
nkinkademralex: So do you have any insight into why that might be?  I feel like you understand WP better than I do.19:00
mralexnkinkade: taking a look19:02
mralexnkinkade: i thnk it's related to the new custom post type feature19:06
*** bassel has quit IRC19:15
nkinkadeJED3: Are you in the office today?19:34
dithyramblemralex: We've written a small patch to the wiki.creativecommons.org css that makes the DiscoverEd documentation easier to read.19:50
dithyramblehttp://a6.creativecommons.org/~raffi/line-height.patch19:51
dithyramble(we = me and paulproteus)19:51
*** jgay has quit IRC20:08
mralexnkinkade: do we use the permalink mapper to get the /international/CODE urls to work?20:13
nkinkademralex: I'm not aware that we do, but I haven't looked at it recently.20:14
JED3nkinkade: yes20:14
nkinkadeJED3: Nevermind.  I got Ani to handle something small.20:14
JED3nkinkade: ah ok20:15
mralexnkinkade: is it a rewrite? i forget how they're done, since they arent standard WP urls20:15
nkinkademralex: Hmm.  Let me check the rewrite rules.20:15
nkinkademralex: It would appear that cc_permalink_mapper is involved in the /international URLs.20:17
nkinkadeMaybe the problem is that plugin.  Let me investigate a bit.20:17
nkinkademralex: On second look.   The permalink mapper doesn't actually get involved with those pages, nor does mod_rewrite, that I can tell.20:27
nkinkadeI think this is pure WP.20:28
mralexi can't see why it's using the generic category template instead of the single post template20:28
dithyramblemralex: googly calendar is reminding me to bug you about the patch20:30
mralexdithyramble: looking at it20:31
dithyramblethanks20:31
mralexdithyramble: fine. added.20:34
*** bassel has joined #cc20:42
*** bassel has quit IRC20:49
nkinkademralex: I found it: http://code.creativecommons.org/viewsvn/ccwordpress/trunk/www/wp-includes/template-loader.php?r1=10576&r2=1271320:51
nkinkadeI have no idea why, but those commits somehow got lost in the merge.20:51
mralexnkinkade: that's right, we touch the WP source. sigh.20:52
nkinkadeWhat I can't understand is why those changes got lost in the merge.20:52
nkinkadeBut, yeah, that setup seems less than ideal.20:53
nkinkadeI wonder if there is any other way to handle it.20:53
nkinkademralex: Since WP seems to want to use the category template, could we simply move the international code from single.php to category.php?20:53
nkinkadeThen the changes would stay in our theme templates, rather than having to touch core code???20:54
mralexnkinkade: i'm not sure if category.php is used elsewhere on the site20:54
mralexnkinkade: but i don't htink it does, there's a category template for weblog, and nothing else uses categories20:54
nkinkademralex: But even if other things do use the category template, it shouldn't matter, right?20:57
nkinkadeLots of other things use the single.php template, yet we stuck the international code in there with a bunch of if/thens .20:57
mralexnkinkade: sure, we can pump it full of conditionals :)20:57
nkinkade:-)20:57
nkinkadeJust like single.php20:57
mralexyeah20:57
mralexwhich would ease up the complexity of single.php20:57
nkinkademralex: How well do you know the single.php template?20:58
mralexnkinkade: it wouldn't take me long to rejigger the templates20:58
nkinkadeI ask to find out whether I should give this is a go, or if it's faster for you?  How's your other workload at the moment.  I'm not terribly loaded at the moment, so am happy to give this a shot.20:58
nkinkadeBut if you think you could bang it out in a very short time, then that's just as well, because I don't know those templates at all and I'd have to be much more cautious.20:59
nkinkadeJED3: Is this a proper URL: http://api.creativecommons.org/rest/1.5/details?license-uri=http://creativecommons.org/licenses/by-nc-nd/3.0/ec/21:04
nkinkadeOn staging I'm getting errors like these intermittently, presumably the live site may be similar:21:04
nkinkadeWarning:   file_get_contents(http://api.creativecommons.org/rest/1.5/details?license-uri=http://creativecommons.org/licenses/by-nc-nd/3.0/ec/)  [function.file-get-contents]:  failed to open stream: Connection timed out in /var/www/staging.creativecommons.org/www/wp-content/plugins/worldwide/worldwide.php  on line 16621:04
nkinkademralex: So you'll be moving the intl. code from single to category?21:07
mralexnkinkade: yeah21:07
dithyramblepaulproteus and dithyramble have just remembered that worse is better.21:08
paulproteusnyergler: Sorry that Debian treated you so poorly!21:11
nyerglerpaulproteus, thanks, i think ;)21:13
paulproteus(-:21:13
nkinkadeHow did Debian treat you badly?21:14
nyerglerpaulproteus, i want to use it for consistency, but this is not a helpful installer error21:14
paulproteusmralex: FWIW YUI's reset style seems to be overriding dithyramble's style changes. |:21:14
nyerglernkinkade, check your email21:14
paulproteusnyergler: So I suggest just installing squeeze.21:14
dithyramblemralex: Our patch sucks somehow. Could you add ! important to pre { line-height: 1.5em; }21:14
dithyramblein site.css?21:14
nyergleryou realize that if we're doing lenny for consistency with other boxes, that's a terrible solution, right?21:14
paulproteusHah.21:15
paulproteusBut at least it's more consistent than this insanity. I would imagine it's some old-kernel thing, and that it's not worth fighting it.21:15
mralexpaulproteus: can you send me a url example of the page not working?21:15
paulproteusIt's more consisten than using Ubuntu, because it creates only temporary instability.21:15
paulproteusSince eventually you'll upgrade to squeeze.21:15
nkinkadeThat is a paulproteus-ism if I've ever heard or seen one (and I have).21:16
* nyergler sighs21:17
paulproteushttp://www.debian.org/devel/debian-installer/ is what I'd suggest for that. I can read your email more carefully in a bit and try harder to figure out the problem, but first I want to try harder to fix a MySQL resource exhaustion problem we've made for ourselves in the DiscoverEd codebase.21:17
paulproteus(it's okay, the solution is less code)21:19
*** michi_ has quit IRC21:19
JED3nkinkade: yes, not sure what that error is coming from though21:22
mralexdithyramble: fixed with a better solution.21:27
mralexdithyramble: but let me know if you notice any further list glitches21:28
dithyramblethanks! will do21:28
*** pyrak_ is now known as pyrak21:35
nkinkademralex: I'm going to remove the code from wp-includes/template-loader.php on staging so that when everything is in category.php we'll know immediately whether it's working or not.21:36
mralexnkinkade: ok21:37
nyerglerpaulproteus, paroneayea: http://julien.danjou.info/blog/2010.html#M-x%20google-maps21:46
paroneayeanyergler: yeah I saw that :D21:47
JED3nyergler: can we postpone our meeting, to sometime later this week?21:59
JED3or rather, just incorporate it into tomorrow mtg re: cc.net21:59
mralexnkinkade: http://staging.creativecommons.org/international/co/22:00
nyerglerJED3, sure22:00
mralexnkinkade: i went even cleaner than littering more conditionals everywhere - moved all the international specific php junk into an international-page.php template; and told category.php to include that template if it happens to be loading a country page.22:01
mralexi just need to tidy up single.php22:01
nkinkademralex: Yeah, that'll be a big improvement, and won't require our hack to template-loader.php22:02
mralexnkinkade: committed changes to theme trunk; let me know if you see any problems with it — css seems to be a bit off, but otherwise it looks fine to me.22:07
paulproteusWhat the heck, nyergler. That's insane[ly awesome].22:08
*** [777] is now known as DNS77722:09
*** DNS777 has joined #cc22:09
nkinkademralex: I can't see any diff. at all between the live site and the implementation on staging with WP 3.0.22:09
mralexgreat :)22:09
mralexnkinkade: if only we'd done this the last time this issue came up22:10
nkinkademralex: I'll take it from here, as far as pushing your changes live along with 3.0.22:11
nkinkadeThanks!22:11
mralexthanks22:11
paroneayeawhew22:15
paroneayeajust dumped the last of the big-ol-post-sanity emails22:16
*** luisv_ has joined #cc22:16
*** rjcp has joined #cc22:18
*** rjcp has joined #cc22:18
*** JoiIto has joined #cc22:22
*** bassel has joined #cc22:27
nkinkademralex: I feel like the other day you mentioned something else that you noticed wrong with WP 3.0 on the live site.22:27
mralexnkinkade: i noted a related issue with the int'l pages showing author/date22:28
mralexi don't think there were any other problems22:28
nkinkademralex: I don't see that any more on staging.22:29
mralexnkinkade: yeah, i fixed it22:29
nkinkadeSo it was just related to the template.22:29
nkinkadeYeah, cool.22:29
*** bassel has quit IRC22:37
*** JoiIto has quit IRC22:45
*** JoiIto has joined #cc22:46
*** bassel has joined #cc23:02
*** MarkDude has joined #cc23:02
mralexnkinkade: is 3.0 live?23:24
mralexoh, i see it is, nm23:26
luisv_wp3 appears to have broken my caching setup, FWIW23:27
*** nyergler has quit IRC23:29
*** akozak has quit IRC23:30
*** mralex has quit IRC23:31
*** JED3 has quit IRC23:38
*** bassel has quit IRC23:48

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