Thursday, 2010-04-01

*** wormsxulla has joined #cc00:00
*** jgay has quit IRC00:01
*** MarkDude has joined #cc00:04
*** d00b has joined #cc00:15
*** MarkDude has quit IRC00:30
*** d00b has quit IRC00:38
*** luisv has quit IRC00:39
*** mralex has quit IRC00:40
*** MarkDude has joined #cc00:49
*** MarkDude has quit IRC01:14
*** nkinkade has quit IRC01:18
*** tantek has joined #cc01:25
*** MarkDude has joined #cc01:29
*** jgay has joined #cc01:34
*** MarkDude has quit IRC01:36
*** papyromancer has joined #cc01:43
*** erlehmann has joined #cc01:47
*** oshani has quit IRC02:20
*** JoiIto has quit IRC02:52
*** JoiIto has joined #cc03:01
*** JoiIto has quit IRC03:15
*** JoiIto has joined #cc03:19
*** tantek has quit IRC04:28
*** jgay has quit IRC05:29
*** Kaetemi has quit IRC05:59
*** tantek has joined #cc06:19
*** MarkDude has joined #cc06:40
*** JoiIto1 has joined #cc06:44
*** JoiIto has quit IRC06:45
*** JoiIto1 has quit IRC07:02
*** JED3 has quit IRC07:12
*** tantek has quit IRC07:34
*** MarkDude has quit IRC07:56
*** MarkDude has joined #cc07:57
*** MarkDude has quit IRC07:59
*** MarkDude has joined #cc07:59
*** shellac has joined #cc08:16
*** shellac has quit IRC08:59
*** shellac has joined #cc09:01
*** shellac has quit IRC09:10
*** JoiIto has joined #cc09:21
*** erlehmann has quit IRC10:47
*** JoiIto has joined #cc10:59
*** wormsxulla has quit IRC12:35
*** wormsxulla has joined #cc12:53
*** nkinkade has joined #cc13:39
*** bassel has joined #cc13:50
*** ea4xgr has joined #cc13:51
*** oshani has joined #cc15:10
*** oshani has quit IRC15:11
*** oshani has joined #cc15:14
*** Kaetemi has joined #cc15:25
*** JED3 has joined #cc16:10
*** d00b has joined #cc16:10
*** michi_ has joined #cc16:27
*** nathany has joined #cc16:29
*** akozak has joined #cc16:32
*** JED3 has quit IRC16:43
*** oshani has quit IRC16:44
*** oshani has joined #cc16:52
*** robmyers has joined #cc16:56
*** tantek has joined #cc17:00
*** ea4xgr has quit IRC17:08
*** JED3 has joined #cc17:40
*** k9d-925 has quit IRC17:41
*** JED3 has left #cc17:47
*** JED3 has joined #cc17:47
*** stas has quit IRC17:54
*** ankitg is now known as ankitg|afk18:06
*** tantek has quit IRC18:20
*** michi_ has quit IRC18:47
JED3paroneayea: ping18:56
paroneayeaJED3: pong18:57
paroneayeaJED3: just got your email18:57
JED3cool, I have an unrelated question... http://dpaste.com/178578/18:59
JED3i'm trying to avoid trailing whitespaces and newlines, but for some reason there is still a newline after the div on line 319:00
JED3...this is jinja2 btw19:00
paroneayealooking19:03
*** tantek has joined #cc19:03
paroneayeaI haven't used the whitespace control stuff actually19:05
paroneayeabut maybe it's because19:05
paroneayea  {%- elif attributionName %}19:05
paroneayeais missing one dash?19:05
paroneayeanot sure19:05
JED3hah, no i need that missing dash, because i need a space between the link and the license information19:05
paroneayeaoh19:06
paroneayeaoh wait19:06
paroneayeaare you intending to compile this all as one line?19:06
JED3yes19:06
paroneayeaI have a utility for this! :D19:06
JED3oh sweet, do share19:06
paroneayeacc.license.util.strip_xml19:07
paroneayearequires you parse the rendered output into lxml first19:07
paroneayeabut then it'll format it human-like19:07
paroneayeasee the docstring19:07
paulproteusd00ds on Slashdot's front page, there's my Cosmetic Carbon Copy RFC!19:08
paroneayeapaulproteus: nice!19:08
*** helloworld has joined #cc19:09
paroneayeaJED3: that's what I use in the html formatters19:12
paroneayeaso I can let the whitespace be messy but translate it into a perfekt lookin string19:13
JED3wait so it just returns an xml string without any whitespace whatsoever?19:14
paroneayeanot without any whitespace19:14
paroneayeawith human-style whitespace19:14
paroneayeaoriginally I was just stripping out all whitespace but that doesn't look like how humans format it19:15
paroneayealook at the docstring, it has a good example:19:16
paroneayeahttp://dpaste.com/178583/19:16
*** shellac has joined #cc19:17
JED3ohh okay, this could be problematic for me, since most of my strings won't be valid xhtml19:24
paroneayeaJED3: probably not a problem actually19:25
paroneayealxml.html19:25
paroneayeahm, though not sure if lxml.html preserves metadata19:26
paroneayeathough actually19:28
paroneayeait doesn't need to be valid does it?19:28
paroneayeait just needs to be wrapped in an element for lxml.etree.parse to parse it19:28
paroneayeaand by default lxml.etree.parse won't really care what's in there if you don't give it a DTD19:28
paroneayeaiirc19:28
paroneayeaJED3: I have a problem for you also actually19:29
JED3paroneayea: xslt might be able to handle what you are doing here19:30
JED3paroneayea: using <xsl:strip-space elements="*"/>19:37
paroneayeaoh19:37
paroneayeawelllll19:37
JED3paroneayea: spoke too soon, doesn't really work based on your docstrings ha19:37
*** michi_ has joined #cc19:38
JED3paroneayea: whats the problem?19:38
paroneayeaso I added those strings to the master .po file19:38
paroneayeabut for some reason they are not being pushed to all the other .po files!19:38
paroneayeaI really don't know how I am supposed to do this19:38
* paroneayea n00b19:38
*** jgay has joined #cc19:39
*** shellac has quit IRC19:39
JED3paroneayea: brb19:42
*** nathany has quit IRC19:49
*** shellac has joined #cc20:15
nkinkadehttp://forums.serverbeach.com/showthread.php?t=800420:20
*** michi_ has quit IRC20:20
nkinkadeThat may explain a7.20:20
nkinkadeLooks like the fixed the problem, and now a7 is back up.20:23
*** helloworld has quit IRC20:25
*** nathany has joined #cc20:29
JED3paroneayea: figure out the po problem?20:31
paroneayeaJED3: nope20:32
JED3:/ so you have the msg in master po but it's not being added to the others?20:32
paroneayeaseems so20:34
*** tantek has quit IRC20:35
JED3you've ran po2cc afterwards?20:36
paroneayeaI thought I did20:36
paroneayeamaybe I didn't20:37
paroneayeait doesn't show up in my bash history20:37
paroneayeaI will try again20:37
*** tantek has joined #cc20:42
*** oshani has quit IRC20:59
*** oshani has joined #cc21:02
paroneayeankinkade: looks down again21:06
paroneayeaI can't connect21:06
nathanynkinkade, do we know what's up with a7?21:09
*** mlinksva has joined #cc21:09
nkinkadenathany: Look back in #cc21:09
mlinksvankinkade, wiki is down?21:09
nkinkadeIf it's down again, then it's likely the same problem in the data center.21:09
nkinkademlinksva: That doesn't surprise me.21:09
nathanynkinkade, sorry, i didn't have that in my history (and it doesn't seem to have hit the log yet)21:09
nkinkadenathany: Are we still logging? :-)21:10
nathanynkinkade, i didn't turn it off21:10
nkinkadehttp://forums.serverbeach.com/showthread.php?t=800421:10
nkinkadenathany: I never heard back from you on that thread.  I'll shut it down if you want.21:10
nathanynkinkade, i didn't hear any consensus, so i put it on the back burner21:11
akozakyea wiki has been finicky today21:11
nkinkadeHas the wiki been finicky or has a7 been finicky?21:11
akozaknkinkade, I don't know...21:12
nkinkadeIt's an important distinction.21:12
akozaknkinkade, my main interaction with a7 is through the wiki.21:12
mlinksvai've used it off and on all day and it hasn't been finicky21:12
mlinksvathat wiki that is21:12
nkinkadeHmm.21:12
akozakjane IMed me during lunch and said she couldn't get to the wiki, and I just now had issues21:13
nkinkadeI can try to reboot a7, but I suspect that it's still some fallout from the Virginia data center issues.21:13
nathanynkinkade, based on http://forums.serverbeach.com/showthread.php?t=8004 it sounds like we should open a ticket?21:13
nathanysince we're still experiencing issues?21:14
nkinkadeakozak:  If Jane can't access the wiki, then she needs to be contacting me, not IMing you. :-)21:14
nkinkadeSure.  I can open a ticket.21:14
nkinkadeBut I just tried a reboot, so let's give it a minute or two.  I can't get any more down that it already is.21:14
nathany:)21:14
nathanygot it21:14
nathanythanks21:14
akozaknkinkade, yea I think it was temporary? don't have many details.21:14
akozaknkinkade, ill let her know to IM you in the future.21:15
nkinkadeSeems to be back up <- nathany, mlinksva21:15
nkinkadeakozak: Basically if any web property we have is inaccessible then I should be notified as soon as possible.  I may already know from Nagios, but it's good to have feedback from others.21:16
akozaknkinkade, roger21:16
paroneayeaI can ssh in again21:17
akozakyea wiki appears fine now21:17
mlinksvathank you21:18
paroneayeamlinksva: welcome back to #cc! ;)21:18
*** mlinksva has quit IRC21:18
paroneayeaoh, and like that gone :)21:18
JED3haha21:19
paroneayea[Sat Jan 23 2010] <- mlinksva's last previous login to #cc21:19
akozakhahaha21:20
akozakthat was classic21:20
akozakesp given that he didn't even bother with a quit message :P21:21
*** jgay has quit IRC21:25
*** ankitg has joined #cc21:28
*** ankitg|afk has quit IRC21:31
*** johnsu01 has quit IRC21:34
paroneayeaokay, wow.  I figured out what I did wrong21:35
paroneayeait's actually kind of like21:35
paroneayeauber embarassing.21:35
paroneayea... I forgot to svn commit after running po2cc ._.21:35
*** bassel has quit IRC21:37
*** shellac has quit IRC21:38
*** johnsu01 has joined #cc21:48
*** Kaetemi has quit IRC21:50
*** jgay has joined #cc21:57
*** jgay has quit IRC22:00
paroneayeankinkade: so are the git repositories synced with git on a crontab or something?22:01
nkinkadeparoneayea: Which git repos?22:01
paroneayeastuff like i18n.git22:01
nkinkadeThe git repositories are git.22:01
nkinkadeI'm not sure I understand.22:01
nkinkadeThey all live on code.CC.org.22:01
paroneayeano I mean22:02
paroneayea the git repositories that are mirrors of svn repositories22:02
nkinkadeAh, yes, they are.22:02
nkinkadeThey are handled by the user sheeshcron on a7.22:03
paroneayeaah okay22:03
paroneayeacool22:03
paroneayeaheh22:03
*** shellac has joined #cc22:04
*** Kaetemi has joined #cc22:13
*** wormsxulla has quit IRC22:17
*** _l_ has joined #cc22:26
*** wormsxulla has joined #cc22:34
akozakhmm, wiki-saving problems again22:38
*** oshani has quit IRC22:38
akozaknkinkade, can you get to the CC wiki?22:38
paroneayealooks like someone restarted / shut down a722:38
akozakah22:39
paroneayeapresumably nkinkade22:39
paroneayeaoh hey22:39
paroneayeaBroadcast message from root@a7.creativecommons.org (Thu Apr  1 22:36:52 2010)Power button pressed22:39
paroneayeapower button pressed22:39
nkinkadeHuh?22:39
paroneayeawho pressed the power button22:39
paroneayeaI wonder22:39
akozakdamn kids22:39
paroneayeasomeone at the datacenter22:39
akozakwasn't there an instance of a large-ish datacenter being taken offline because someone tripped on a cable or something?22:40
paroneayeathere was an instance of a large-ish datacenter being taken down by being hit by a truck22:42
nkinkadeYeah, it shows an uptime of 3min22:42
nkinkadeI certainly didn't reboot the machine 3 or 4 minutes ago.22:42
paroneayeawell it said someone hit a power button22:42
paroneayeait's not unlikely that they sent a tech around to hit the reboot button on a bunch of machines22:42
nkinkadeThat sucks.22:43
paroneayeaoh22:43
paroneayeadid you guys file a ticket22:43
paroneayeabecause they might have taken the "press the reboot switch" solution route22:43
nkinkadeNo, I didn't file a ticket.22:45
nkinkadeBut I did request a reboot about an hour ago.22:45
paroneayeaah22:45
paroneayeathat would be it!22:45
*** shellac has quit IRC22:45
nkinkadeIt used to be that clicking the reboot button did something electronically.22:45
nkinkadeNo, I'm not sure that would be it.22:45
nkinkadeIf that were it, it would mean that the RapidReboot function now does nothing more than send an email to a tech to have them go by your machine and hit the reboot key.22:46
paroneayeaor, that that's what happens when RapidReboot fails.22:46
nkinkadeBesides, and hour is unacceptable turn-around time for a reboot request.22:46
paroneayeathat much is true22:46
nkinkadeI may send then a ticket on this anyway, just to inquire.22:46
nkinkadeThanks for the note on the power button thing, paroneayea22:47
paroneayealet me know when you find out22:47
paroneayeaI'm curious22:47
paroneayeanp22:47
paroneayeaI have the answer I think.22:49
paroneayeaThe datacenter is controlled by robots.22:50
nkinkadehaha22:50
paroneayeaAnd the robots were malfunctioning!22:50
nkinkadeSlow, inefficient ones.22:50
paroneayeaWhich is why all these problems are happening22:50
paroneayea.---.22:50
paroneayea|o_o|    REBOOT REBOOT22:50
paroneayea:---+-c  BEEP BEEP BEEP22:50
paroneayea||=||22:50
paroneayea(lll)22:50
paroneayea       T22:51
paroneayea     .-'-22:51
paroneayea    | O_O|   INCOMING TRANSMISSION22:51
paroneayea    '----'   ---------------------22:51
paroneayea   // ooo|\  REBOOTREBOOTREBOOTREB22:51
paroneayea  //| |XX|\\ OOTREBOOTREBOOTREBOOT22:51
paroneayea  C | ---| C REBOOTREBOOTREBOOTREB22:51
paroneayeaI bet it's some kind of robot uprising.22:51
paroneayeaI've been waiting for this day22:51
* paroneayea suits up22:51
akozakwould be cooler if that was the robot from the show reboot22:51
paroneayeaohhhh snap22:51
paroneayeayou mean Phong?22:51
paroneayeado you know why that robot was named phong22:52
paroneayeabecause it was a reflective, shiny robot, and it was using a phong specular rendering technique22:52
paroneayeaIf you open blender and go to the material settings, phong is one of the specular options22:52
akozakhaha22:53
akozakinteresting factoid22:53
*** shellac has joined #cc23:10
JED3paroneayea: nathany: i am about to commit some code and would like go ahead and include the URL of where the fixtures will live23:15
nathanyi was thinking that it'd be nice to put those under the existing http://code.creativecommons.org/doc/ but I'm not sure that actually save any time/effort/etc23:16
nathanySo code.cc/tests or code.cc/fixtures is fine with me23:17
JED3okay, thx23:17
*** tantek has quit IRC23:20
*** robmyers has quit IRC23:21
*** nathany has quit IRC23:23
*** akozak has quit IRC23:30
*** Kaetemi has quit IRC23:37
*** shellac has quit IRC23:38
*** tantek has joined #cc23:39
*** _l_ has quit IRC23:41
*** Kaetemi has joined #cc23:47
*** oshani has joined #cc23:49
*** Lalton has joined #cc23:59

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