Tuesday, 2010-02-02

*** Kaetemi__ has quit IRC00:16
mralexi seem to recall asking about localizing the changes that i made, and the general response was it's kludgy right now, make the changes, localize later00:19
*** augustinas has quit IRC00:58
*** akozak has quit IRC01:22
*** luisv has quit IRC01:26
*** JED3 has quit IRC01:26
*** mralex has quit IRC01:28
*** JED3 has joined #cc02:14
*** Bovinity has joined #cc02:45
*** JED3 has quit IRC03:05
*** Guest99131 has quit IRC03:34
*** Orango has joined #cc03:35
*** Orango is now known as Guest9039003:35
*** fieldse has joined #cc04:42
*** JED3 has joined #cc04:54
*** IchigoMorino has joined #cc05:01
*** JED3 has quit IRC05:03
*** IchigoMorino has quit IRC05:03
*** nkinkade has quit IRC05:33
*** wormsxulla has quit IRC05:46
*** luisv has joined #cc06:04
*** wormsxulla has joined #cc06:06
*** JoiIto has quit IRC06:26
*** fieldse has quit IRC06:28
*** JED3 has joined #cc06:51
*** luisv has quit IRC06:54
*** sama has joined #cc07:02
*** sama has quit IRC07:37
*** JED3 has quit IRC07:44
*** Bovinity has quit IRC08:28
*** sama has joined #cc09:45
*** MikeChelen has quit IRC10:30
*** Kaetemi has joined #cc10:34
*** Kaetemi__ has joined #cc10:35
*** Kaetemi__ has joined #cc10:35
*** Kaetemi has quit IRC10:38
*** Kaetemi__ is now known as Kaetemi10:39
*** oral has joined #cc11:17
oralHi! I have problem ;-) I wanna translate something which is BY-SA, but it's not only translation. I'll add other (my) information too. And want to use BY-ND. Is it possible? ShareAlike says I can do this "only under the same, similar or a compatible license." ?11:23
*** augustinas has joined #cc11:35
oralmmm anyone?11:44
*** caro19 has joined #cc12:19
caro19someone hav cc ?12:20
augustinasi think almost everyone on here12:22
caro19i want cc plz12:23
augustinascaro19 read topic :)12:23
*** caro19 has quit IRC12:49
*** oral has left #cc13:04
*** nkinkade has joined #cc14:16
*** tvol has joined #cc14:48
*** tvol has quit IRC15:01
*** luisv has joined #cc15:10
*** wormsxulla has left #cc15:28
*** luisv has quit IRC16:12
*** luisv has joined #cc16:20
*** JoiIto has joined #cc16:30
*** JoiIto has joined #cc16:30
*** luisv has quit IRC16:33
*** fieldse has joined #cc16:34
*** Bovinity has joined #cc16:40
*** Bovinity has quit IRC16:56
*** Kaetemi has quit IRC16:59
*** Kaetemi has joined #cc17:21
*** JoiIto1 has joined #cc17:33
*** JoiIto has quit IRC17:33
*** tvol has joined #cc17:42
*** nathany has joined #cc17:43
*** JoiIto1 has quit IRC17:44
*** nathany has quit IRC17:47
*** sama has quit IRC17:50
*** mralex has joined #cc17:56
*** JED3 has joined #cc18:01
*** luisv has joined #cc18:04
*** akozak has joined #cc18:12
nkinkadeCoding challenge: the shortest amount of shell code that will ensure that a script that is set to run once every week via a cron job will only actually execute every other week.18:32
nkinkadecron doesn't seem to be able to run things every other week.18:32
nkinkadeI've already implemented something, but curious to see if anyone else has any interesting ideas.18:33
JED3nkinkade: does your script run every week via cron, but conditionally execute based on which week of the year it is?18:36
nkinkadeJED3: It's actually the script for the staff updates.18:36
nkinkadeIt runs every week on Monday.18:36
*** michi_ has joined #cc18:36
nkinkadeI started to try to do something with the date command then I realized that the concept of "every other week" is vaguely abstract in terms of actual dates and numbers.18:37
JED3nkinkade: you could add this logic to pywikipedia18:40
nkinkadeJED3: I figured it was easier to add it to the bash script that actually calls the pywikipedia stuff, which is how Asheesh did it.18:41
JED3ahh okay18:41
nkinkadeAre you just thinking that it would be easier to write the code in Python?18:41
nkinkadeThe easy solution, which I found on some thread about running cron jobs every other week, was to simply write a file.  If the file exists the the script removes it and runs.  If it doesn't exist then it creates it and exits .. which is a simply for it to alternate weeks.18:43
*** michi_ has quit IRC18:51
JED3nkinkade: wouldn't this work?18:53
nkinkadeJED3: I do believe so, and it's much more elegant than writing a file.18:54
mralexwouldn't "* * */2 * *" in the cron line do it bi-monthly? i guess that could get off-kilter after a while...18:56
nkinkademralex: Yeah, that was the problem, that the weeks/days drift through each month.18:57
nkinkadeJED3: Here is the bash version: http://dpaste.com/153825/19:09
JED3even better :)19:09
mralexman, 80% of traffic to search.cc is via firefox search bar19:19
mralexnot when the top 200 queries are completely unrelated, "normal", search queries19:22
JED3greg-g: yes except for 98% of the queries look unintentional19:22
mralex"ebook" may be related19:22
mralexwe get that one quite a lot19:23
mralexi'll throw in "creative commons"19:23
mralexso, yeah, 98% unrelated19:24
greg-gJED3: ah19:25
greg-gwait, what is a "normal" search query that you know isn't related to CC? I mean, what about "mushrooms"?19:25
mralexi mean, "gmail", "facebook", "google", "bing", "sex", "xxx", "netflix"19:26
JED3greg-g: ha, its pretty easy to be deterministic with these queries19:26
greg-gmralex: ahhhh19:26
mralexaverage time spent on the site is 4 minutes.19:26
JED3i wrote a script that displayed the queries in real time yesterday and had it open all day just to get a feel for how its being used19:27
JED3for those interested, its in my home dir named queries.py on a8, run it as sudo19:28
*** jgay has joined #cc19:29
*** JED3 has quit IRC19:37
*** JED3 has joined #cc19:37
nkinkademralex: Those stats would explain why we get so many emails to info@ like: WHY DID YOU TAKE OVER MY BROWSER.  I DIDN'T WANT YOU.  YOU CAME.  GO AWAY.  I'M GOING TO GO BACK TO IE!!  YOU SUCK!19:52
mralexnkinkade: yup19:54
nkinkadeHonestly, I think the ccSearch search engine for Firefox creates more problems than it solves.  I'd like to see it go away forever.19:55
luisv(the whole search plugins thing is busted, IMHO)19:57
luisv(I'd be *shocked* if more than 1% of the browser-using population *ever* uses anything other than the default engine)19:57
*** michi_ has joined #cc20:11
*** luisv has quit IRC20:22
*** michi_ has quit IRC20:46
*** luisv has joined #cc20:52
*** shellac has joined #cc21:16
*** shellac has joined #cc21:17
*** shellac has joined #cc21:17
*** shellac has joined #cc21:17
*** shellac has joined #cc21:20
*** shellac has joined #cc21:20
*** shellac has joined #cc21:20
*** shellac has joined #cc21:21
*** shellac has joined #cc21:21
*** nkinkade has quit IRC21:31
*** nkinkade has joined #cc21:31
*** shellac has quit IRC21:33
*** tvol has quit IRC22:02
*** jgay has quit IRC22:09
nkinkademralex: Would you login to support to check something for me?22:26
nkinkadeA layout issue.22:26
mralexwhich page?22:29
nkinkademralex: Any contact page.22:30
nkinkadeThe layout is apparently broken for Mel and Allison, but not for me.22:30
mralexnkinkade: a civicrm view contact page?22:31
nkinkademralex: ^^22:31
mralexi see the general layout is nicer, upgraded vresion?22:31
nkinkademralex: I upgraded about an hour ago.  All the menus are at the top now ... nice.22:32
mralexnkinkade: nothing stands out as "broken" to me22:32
mralexmellisa's here, i'll see what she means22:32
nkinkademralex:  Thanks.22:32
*** shellac has joined #cc22:38
mralexnkinkade: the tabs are powered by jquery, maybe it's a JS problem22:41
nkinkademralex: With Firefox?22:41
nkinkadeI'm using my usual Firefox setup.22:42
nkinkadeLet me tell her to try it in Safari.22:42
mralexfirefox 3.6beta, probably a minor JS bug22:45
*** shellac has quit IRC22:47
*** JoiIto has joined #cc22:59
*** shellac has joined #cc23:10
paroneayea       T23:18
paroneayea     .-'-23:18
paroneayea    | O_O|   INCOMING TRANSMISSION23:18
paroneayea    '----'   ---------------------23:18
paroneayea   // ooo|\  ag3x081xag-w104.?013!23:18
paroneayea  //| |XX|\\ gz3148508asvxz-1234ho23:18
paroneayea  C | ---| C va1*4)#fgapoi~09PVZqo23:18
*** fieldse has quit IRC23:25
*** shellac has quit IRC23:29
*** Kaetemi has quit IRC23:37
*** shellac has joined #cc23:37
*** Kaetemi has joined #cc23:42

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