*** mralex has quit IRC | 00:10 | |
*** sudiptamondal has joined #cc | 02:00 | |
*** sudiptamondal has quit IRC | 02:13 | |
*** sudiptamondal has joined #cc | 02:14 | |
*** sudiptamondal1 has joined #cc | 02:35 | |
*** sudiptamondal has quit IRC | 02:36 | |
*** tantek has quit IRC | 03:05 | |
*** TDJACR has quit IRC | 03:47 | |
*** TDJACR has joined #cc | 03:48 | |
*** TDJACR has quit IRC | 03:53 | |
*** TDJACR has joined #cc | 03:53 | |
*** sudiptamondal1 has quit IRC | 04:01 | |
*** nkinkade has quit IRC | 04:14 | |
*** DNS777 has quit IRC | 04:20 | |
*** DNS777 has joined #cc | 04:21 | |
*** DNS777 is now known as Guest53716 | 04:22 | |
*** Guest53716 is now known as DNS777 | 05:20 | |
*** DNS777 is now known as Guest899 | 05:21 | |
*** tantek has joined #cc | 05:59 | |
*** Guest899 is now known as DNS777 | 06:21 | |
*** DNS777 is now known as Guest74197 | 06:21 | |
*** wormsxulla has quit IRC | 06:25 | |
*** wormsxulla has joined #cc | 06:43 | |
*** Guest74197 is now known as DNS777 | 07:21 | |
*** DNS777 is now known as Guest74568 | 07:22 | |
*** Guest74568 is now known as DNS777 | 08:22 | |
*** DNS777 is now known as Guest97703 | 08:23 | |
*** CIA-65 has quit IRC | 09:12 | |
*** Guest97703 is now known as DNS777 | 09:23 | |
*** DNS777 is now known as Guest55744 | 09:23 | |
*** bassel has joined #cc | 09:44 | |
*** CIA-64 has joined #cc | 09:50 | |
*** Guest55744 is now known as DNS777 | 10:23 | |
*** DNS777 is now known as Guest70983 | 10:24 | |
*** Guest70983 is now known as [777] | 11:12 | |
*** erlehmann has joined #cc | 11:30 | |
*** lotia has quit IRC | 11:46 | |
*** lotia has joined #cc | 11:47 | |
*** [777] is now known as DNS777 | 12:11 | |
*** DNS777 has joined #cc | 12:11 | |
*** JoiIto has joined #cc | 12:16 | |
erlehmann | nkin | 12:46 |
---|---|---|
erlehmann | oh, tab completion gone wrong. | 12:46 |
*** JoiIto has quit IRC | 12:52 | |
paroneayea | erlehmann: :) | 12:59 |
*** W-Man has joined #cc | 13:15 | |
*** W-Man has left #cc | 13:15 | |
*** JoiIto has joined #cc | 14:03 | |
*** JoiIto has quit IRC | 14:06 | |
*** sudiptamondal has joined #cc | 14:27 | |
*** sudiptamondal1 has joined #cc | 14:37 | |
*** sudiptamondal has quit IRC | 14:39 | |
*** nkinkade has joined #cc | 14:41 | |
*** akila87 has joined #cc | 14:51 | |
*** rjcp has joined #cc | 15:12 | |
*** luisv has joined #cc | 15:27 | |
*** nkinkade has joined #cc | 15:27 | |
*** mako has joined #cc | 15:28 | |
*** rjcp has quit IRC | 15:31 | |
*** tantek has quit IRC | 15:49 | |
*** michi_ has joined #cc | 15:50 | |
*** Oxygeek has joined #cc | 16:03 | |
*** wormsxulla has quit IRC | 16:27 | |
*** tvol has joined #cc | 16:40 | |
*** wormsxulla has joined #cc | 16:44 | |
*** michi_ has quit IRC | 16:45 | |
*** sudiptamondal1 has quit IRC | 16:46 | |
*** JED3 has joined #cc | 16:50 | |
*** mralex has joined #cc | 16:51 | |
*** luisv has quit IRC | 17:00 | |
*** luisv has joined #cc | 17:02 | |
*** tantek has joined #cc | 17:04 | |
*** luisv has quit IRC | 17:16 | |
*** oshani has joined #cc | 17:17 | |
*** luisv has joined #cc | 17:37 | |
*** oshani has quit IRC | 18:07 | |
*** michi_ has joined #cc | 18:11 | |
*** michi_ has quit IRC | 18:14 | |
* paroneayea drops a penny just to hear the noise | 18:41 | |
paroneayea | hello #cc | 18:41 |
mralex | MY EARS | 18:54 |
*** akila87 has left #cc | 18:57 | |
*** oshani has joined #cc | 19:18 | |
*** luisv has quit IRC | 19:55 | |
*** akozak has joined #cc | 19:56 | |
mralex | nkinkade: the demos on labs don't appear to be in version control, or am i missing it? | 20:07 |
*** tantek has quit IRC | 20:08 | |
nkinkade | mralex: They may not be. | 20:10 |
nkinkade | I can't remember ... but if they don't appear to be they probably aren't. | 20:10 |
*** luisv has joined #cc | 20:13 | |
*** luisv_ has joined #cc | 20:14 | |
*** luisv has quit IRC | 20:17 | |
*** luisv_ is now known as luisv | 20:17 | |
*** erlehmann has quit IRC | 20:25 | |
*** oshani has quit IRC | 20:25 | |
*** bassel has quit IRC | 20:26 | |
*** oshani has joined #cc | 20:35 | |
*** erlehmann has joined #cc | 20:49 | |
*** tvol has quit IRC | 20:54 | |
JED3 | paroneayea: ping | 21:55 |
paroneayea | JED3: pong | 21:56 |
JED3 | have any interest in http://djangodash.com/ ? | 21:56 |
paroneayea | JED3: not this year unfortunately, forbidding myself to participate in such sprints till my wrists are fully healed | 21:57 |
paroneayea | which they are close to that but I don't want to dash all my efforts to get them back to where they were | 21:57 |
paroneayea | looks fun though | 21:57 |
JED3 | paroneayea: understandable, are they feeling better? | 21:57 |
paroneayea | they are much improved... I am able to cook & do other things outside of work again and do hacking on the weekends. Am even able to work w/o an anti-inflammatory on most days now | 21:58 |
paroneayea | still wearing the braces for now | 21:58 |
paroneayea | but that's leaps and bounds aboce where I was 2 months ago | 21:59 |
paroneayea | er, above | 21:59 |
JED3 | paroneayea: have you changed your typing habits? | 21:59 |
JED3 | still thumb smacking the spacebar? | 21:59 |
JED3 | :) | 21:59 |
paroneayea | I have. I swiched keyboards | 22:00 |
JED3 | to an ergo? | 22:00 |
paroneayea | my thumb smacking is still pretty noisy | 22:00 |
akozak | whaaat? "You may use any third party sources (Python modules/Django apps/etc) you wish. But be warned that the less code you write, the worse your judging score will be. The point is that you should build an app/site, not just tie a couple things together." | 22:00 |
akozak | less code should be better! | 22:00 |
akozak | maybe the less code proportionally? | 22:00 |
paroneayea | akozak: perl wins! | 22:00 |
paroneayea | I was in one of these contests a couple of years ago | 22:00 |
paroneayea | and that was the point, that you should make good readable code | 22:01 |
paroneayea | but | 22:01 |
paroneayea | in the case of the competition I was in (framework rumble) it was determined that the number of lines didn't make a difference in the outcome | 22:01 |
paroneayea | but encouraging less lines encourages perl style nastiness | 22:02 |
paroneayea | http://www.perlmonks.org/index.pl?node_id=45213 | 22:02 |
akozak | heh | 22:02 |
paroneayea | http://www.webreference.com/perl/tutorial/16/2.html <- rsa in 3 lines of unreadable perl | 22:03 |
akozak | paulproteus is a believer in less code, which I guess isn't necessarily the same thing as less lines = better | 22:03 |
paroneayea | less code when it's readable is good | 22:03 |
paulproteus | Yes, when readable. | 22:03 |
paroneayea | it's just hard to make that "worth more points" in a contest I thihnk | 22:03 |
paroneayea | still yeah they seem to be encouraging the opposite in their rules | 22:04 |
paroneayea | "If you pay by the line you just bought an expensive bag of bloat" | 22:04 |
paroneayea | is a phrase I just made up that I'm pretending to quote | 22:04 |
JED3 | akozak: i think they should have something along the lines of "the less code ownership you have, the less your score" | 22:05 |
mralex | JED3: that's pretty much waht it says | 22:06 |
JED3 | mralex: yeah, i think "lines of code" is a bit explicit though | 22:06 |
JED3 | nvm | 22:07 |
JED3 | they didn't say l.o.c. | 22:07 |
akozak | cc should organize a remix contest | 22:08 |
akozak | that'd be neat | 22:08 |
akozak | ccmixter did it i think | 22:09 |
mralex | that was the rationale for ccmixter in the first place, iirc | 22:09 |
akozak | oh heh | 22:09 |
mralex | to host the wired remix contest, i believe | 22:09 |
paroneayea | .---. | 22:10 |
paroneayea | |o_o| | 22:10 |
paroneayea | :---+-c | 22:10 |
paroneayea | ||=|| | 22:10 |
paroneayea | (lll) | 22:10 |
akozak | paroneayea, paulproteus introduced me to cowsay | 22:11 |
paroneayea | oh neat, is that where the apt-get moo thing comes from? | 22:12 |
mralex | cowsay is awesome | 22:12 |
paroneayea | also nice, cowsay rms edition: | 22:12 |
paroneayea | http://crunchbang.org/archives/2007/10/05/a-virtual-richard-stallman-for-cowsay-hack/ | 22:12 |
akozak | hahahaha | 22:13 |
paroneayea | ____________________________________ | 22:15 |
paroneayea | / The GNU GPL was not designed to be \ | 22:15 |
paroneayea | \ "open source". / | 22:15 |
paroneayea | ------------------------------------ | 22:15 |
paroneayea | \ @@@@@@ @ | 22:15 |
paroneayea | \ @@@@ @@ | 22:15 |
paroneayea | \ @@@@ = = @@ | 22:15 |
paroneayea | \ @@@ @ _ _ @@ | 22:15 |
paroneayea | @@@ @(0)|(0) @@ | 22:15 |
paroneayea | @@@@ ~ | ~ @@ | 22:15 |
paroneayea | @@@ @ (o1o) @@ | 22:15 |
paroneayea | @@@ ####### @ | 22:15 |
paroneayea | @@@ ##{+++}## @@ | 22:15 |
paroneayea | @@@@@ ## ##### ## @@@@ | 22:15 |
paroneayea | @@@@@#############@@@@ | 22:15 |
paroneayea | @@@@@@@###########@@@@@@ | 22:15 |
paroneayea | @@@@@@@#############@@@@@ | 22:15 |
paroneayea | @@@@@@@### ## ### ###@@@@ | 22:15 |
paroneayea | @ @ @ @ @ | 22:15 |
paroneayea | @ @ | 22:15 |
paroneayea | I <3 it | 22:15 |
akozak | paroneayea, i loled and then had to explain ascii art to allison :P | 22:16 |
akozak | probably the geekiest moment of my life | 22:17 |
*** oshani has quit IRC | 22:17 | |
mralex | hilarity ensued | 22:17 |
akozak | definitely didn't come across as hilarious as i found it | 22:18 |
nkinkade | $ sudo apt-get install sl | 22:21 |
paroneayea | now if you *really* want to get blown away | 22:23 |
paroneayea | sudo apt-get install bb | 22:23 |
paroneayea | ascii art demoscene style | 22:23 |
paroneayea | notes: sound must be on and pumped up to the max (or headphones) | 22:25 |
nkinkade | paroneayea: You must have played around with aalib a lot. | 22:27 |
paroneayea | not really | 22:28 |
nkinkade | I remember watching part of some movie with John Travolta that was being rendered on the screen with aalib instead of the normal graphic libraries. | 22:28 |
nkinkade | It really blew me away. | 22:28 |
mralex | i remember there being a Quake port to aalib | 22:28 |
nkinkade | Well, you should install it an play with it. | 22:28 |
mralex | that was impressive | 22:28 |
paroneayea | I didn't get into ascii art until a couple of years ago, past when it was cool | 22:28 |
paroneayea | oh yeah ascii quake fuck yeah | 22:28 |
nkinkade | aalib is impressive, even if you don't care of ascii art. | 22:28 |
paroneayea | also mpeg's aalib output | 22:28 |
paroneayea | I used to watch videos over ssh. | 22:28 |
nkinkade | haha | 22:29 |
paroneayea | I've been meaning to make an aalib texture node / compositor node for blender | 22:29 |
akozak | nkinkade, responded re: caching. I'm somewhat shocked it's disabled on the cc wiki. | 22:38 |
akozak | You'd think the performance hit wouldve been more obvious. | 22:38 |
nkinkade | akozak: Were you proposing we re-enable it, or were you saying that you can't think of any good reason to? | 22:47 |
akozak | nkinkade, can't think of any reason to | 22:48 |
akozak | sorry if that wasn't clear | 22:48 |
nkinkade | Why would it hit Acawiki so hard? | 22:48 |
akozak | nkinkade, where is it hosted? | 22:49 |
nkinkade | a8 | 22:49 |
akozak | nkinkade, maybe no one goes to any pages on the cc wiki with parsers :P | 22:49 |
akozak | or maybe acawiki uses parsers a lot more frequently (maybe in a sidebar?) | 22:50 |
akozak | hm, no not in the sidebar | 22:50 |
akozak | It's a MediaWiki Mystery! | 22:51 |
nkinkade | mralex: JED3: Would either of you happen to know, by some odd chance, whether variables (objects) in a method of a class are destroyed when the function returns, or might they linger for some reason? | 22:52 |
mralex | nkinkade: in php? | 22:52 |
nkinkade | I'm seeing an odd case where it *appears* that some data is hanging around in an object created in a class method. | 22:53 |
nkinkade | mralex: Yeah, in PHP. | 22:53 |
nkinkade | ... I hope I'm making sense. | 22:53 |
*** TDJACR has quit IRC | 22:53 | |
JED3 | nkinkade: it depends | 22:53 |
nkinkade | Normally I would expect the variable scope to end when the function returns. | 22:53 |
*** NotADJ has joined #cc | 22:53 | |
JED3 | nkinkade: it will if you are passing by value | 22:53 |
nkinkade | But maybe there is something odd about the fact that it's a class member method and the variable itself is an object. | 22:53 |
*** NotADJ is now known as TDJACR | 22:53 | |
nkinkade | JED3: Let me check ... | 22:53 |
JED3 | nkinkade: and if you are passing an object, you are most likely just passing a reference | 22:54 |
nkinkade | JED3: Do you have a sec to take a look at this code? | 22:54 |
JED3 | nkinkade: sure | 22:55 |
nkinkade | The variable I'm referring to isn't being passed, but is instantiated inside the method, which itself gets called many times from a loop. | 22:55 |
nkinkade | JED3: On a9:/var/www/support.creativecommons.org/www/sites/default/modules/civicrm/bin/ContributionProcessor.php:379 | 22:56 |
nkinkade | On that line (379) it calls a method here: | 22:56 |
*** JoiIto has joined #cc | 22:57 | |
nkinkade | a9:/var/www/support.creativecommons.org/www/sites/default/modules/civicrm/CRM/Contribute/BAO/Contribution/Utils.php:574 | 22:58 |
akozak | nkinkade, sorry | 22:58 |
akozak | i was confused too | 22:58 |
akozak | I don't see any downside to enabling the cache | 22:58 |
akozak | which is the default IIRC | 22:58 |
nkinkade | Yeah, it's the default and we only disabled it for the <ask> queries. | 22:58 |
akozak | right | 22:59 |
JED3 | nkinkade: okay, i'm looking at the code now | 22:59 |
JED3 | nkinkade: which variable are you curious about? | 23:01 |
*** MarkDude has quit IRC | 23:02 | |
*** MarkDude has joined #cc | 23:02 | |
nkinkade | JED3: I'm not 100% sure. It would almost seem like if $params['trxn_type'] == 'subscrpayment' is sticking when it shouldn't. | 23:02 |
nkinkade | I know, this is all pretty vague. | 23:03 |
nkinkade | The main evidence I have that something is awry is that when I run ContributionProcessor.php for PayPal ... in a few case, not all!, the contribution that was processed immediately after a recurring contribution was processed was giving a contribution_recur_id, when it clearly shouldn't have been, and sure enough it's the same ID from the recurring contribution that from the previously processed contribution. | 23:04 |
nkinkade | JED3: ^^ | 23:04 |
nkinkade | This leads me to believe that some variable or element of some variable isn't getting properly reset with each iteration of the loop. | 23:05 |
nkinkade | ... but I haven't yet been able to find the cause. This started me wondering how variables are scoped and destroyed when called from one class method that calls a method from another class .. or something ridiculous like that. | 23:07 |
*** oshani has joined #cc | 23:07 | |
nkinkade | My intuition and experience thus far with PHP would tell me that nothing should remain, but I can't see how what occurred could occur if some data wasn't hanging around. | 23:08 |
JED3 | nkinkade: would paypal send parms with a recurring parameter included? | 23:09 |
nkinkade | JED3: If they did it would be a terrible bug. | 23:09 |
JED3 | nkinkade: paypal doesn't send any notification that a payment is a scheduled one? | 23:10 |
nkinkade | JED3: In this case we are manually pulling history from PayPal via their API, and they do include data about whether a certain contribution is a subscription or not. | 23:10 |
*** akozak has quit IRC | 23:11 | |
JED3 | nkinkade: okay, you may want to look in Util.php's formatAPIParams function | 23:11 |
nkinkade | JED3: Did you see something? That function should get called with each iteration of the loop, so there should be no persistent data, as far as I understand variable scope. | 23:12 |
nkinkade | And $params and $trxnDetails get reassigned with each iteration of the loop, so no data should persist in them either. | 23:16 |
JED3 | nkinkade: yeah, i'm not sure where this could be happening | 23:18 |
JED3 | you said it only happens sometimes? | 23:18 |
nkinkade | JED3: I'm not 100% sure yet ... as soon as I saw that it did it a few times I killed the script so that I could analyze. | 23:19 |
nkinkade | Clearly there is something amiss in there, but what it is I don't know yet. | 23:19 |
nkinkade | Thanks for taking a look in there, though, because there could have been something obvious I missed. | 23:19 |
JED3 | nkinkade: no prob, I didn't see anything obvious | 23:20 |
*** MarkDude has quit IRC | 23:21 | |
luisv | so is mlinksva too good for IRC these days? :) | 23:26 |
*** rjcp has joined #cc | 23:29 | |
*** rjcp has joined #cc | 23:29 | |
*** nyergler has joined #cc | 23:41 | |
*** nkinkade has quit IRC | 23:44 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!