WebGUI irc logs from: 2010-04.log

--- Log opened Thu Apr 01 00:00:55 2010
-!- kimd [~spunky@p549F3B73.dip.t-dialin.net] has joined #webgui00:07
kimdHey preaction, back at work? (Or still relaxing at home :)00:19
@preactionback at work, no rest for the weary around here00:20
kimdGood. Received my pull request?00:23
kimdGood. That's all I wanted to know. Back to work now! (Can you hear the whip?)00:28
-!- KlausH [~KlausH@p5B073147.dip0.t-ipconnect.de] has joined #webgui01:18
kimdServus KlausH, wie geht's wie steht's?01:33
-!- kimd [~spunky@p549F3B73.dip.t-dialin.net] has quit [Quit: Ex-Chat]01:41
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui01:53
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]02:52
@Haarghttp://www.anxietyapp.com/  finally found a todo tracker i like.  lightweight and uses ical on the back end.03:21
CIA-104webgui: Colin Kuskie master * r195218c / (docs/changelog/7.x.x.txt lib/WebGUI/AssetTrash.pm): when purging from system trash, return to system trash. Fixes bug #11509. - http://bit.ly/bMMspb03:24
@preactionoh, god, yes, thank you Haarg 03:24
CIA-104webgui: Colin Kuskie webgui-7.8 * r8669097 / (docs/changelog/7.x.x.txt lib/WebGUI/AssetTrash.pm): when purging from system trash, return to system trash. Fixes bug #11509. - http://bit.ly/d2Z2ro03:24
+perlDreamerscratch variables need to die03:36
@preactionwhy? i think they serve a useful purpose03:38
+perlDreamerthis is one example of their badness03:41
+perlDreamerjust one example, I should say03:41
+perlDreamerthey need to have expiration times on them03:41
+perlDreamerbecause now I get to write an upgrade sub which tries to fix the mess that has been created03:41
@Haargi think that's more an example of the cs sorting code being dumb03:41
@Haargthe fact that you have to give it a sql column name is rather horrible03:42
@Haargor a table.column name03:42
+perlDreamerI can fix that03:43
@Haargi tried to fix that at one point when i found the sql injection problem it used to have, but was overruled03:44
@preactionuh.. sql injection?03:45
@preactionright, that03:45
@Haargit used to just stick the form param into the order by clause03:45
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]04:25
@Haargpreaction, patspam, your thoughts on wgdev and webgui 8?  it's going to be hard to keep it entirely compatible.  so i can either fork it entirely, or try for having it compatible.04:31
@Haargmaking the commands themselves compatible would be possible in a lot of cases, so those could maybe list their compatible versions04:32
@Haargbut making the core work across versions is going to be annoying so i would possible need to add a command line option to note that you are using webgui 8, have a different executable, or try to do something else that i'm not sure about.04:33
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]04:37
-!- Haarg [~haarg@] has quit [Ping timeout: 258 seconds]04:53
-!- KlausH [~KlausH@p5B073147.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer]04:56
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui05:14
-!- mode/#webgui [+o Haarg] by ChanServ05:14
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]07:13
-!- DannyButterman [~olivier@relay.tuilerie.net] has joined #webgui10:35
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui10:53
-!- DannyButterman [~olivier@relay.tuilerie.net] has left #webgui ["Hi"]10:56
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]11:16
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Quit: Leaving.]13:53
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui14:02
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui14:07
-!- mode/#webgui [+v bartjol] by ChanServ14:07
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]14:12
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving]15:27
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:12
-!- mode/#webgui [+o bopbop] by ChanServ16:12
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui16:19
-!- mode/#webgui [+v patspam] by ChanServ16:19
-!- SDuensin [~Scott@mobile-166-137-136-081.mycingular.net] has joined #webgui16:23
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui16:46
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]17:10
-!- ckotil [~ckotil@129-79-255-62.dhcp-bl.indiana.edu] has quit [Ping timeout: 276 seconds]17:20
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has joined #webgui17:21
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: This computer has gone to sleep]17:27
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui17:35
-!- mode/#webgui [+o tavisto] by ChanServ17:35
-!- steveo_aa [~sno@adsl-76-232-154-192.dsl.sfldmi.sbcglobal.net] has quit [Ping timeout: 260 seconds]17:38
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has joined #webgui17:40
mech422morning all - quick question - on the user profile page, I want to add a field whose default value is based on the users email address - how do I fill in the default value box on the form to pass the email address to my code ?17:41
mech422(is it something like WebGui::foo::bar($email) )17:42
+bartjolin a form field, can't you set a default value, this should be the tmpl_var containg the users e-mail17:43
+bartjolor are you making new code17:44
+bartjolI was thinking html17:44
mech422I was trying to do it thru-the-web using's webgui's built in profile field editor ... I suppose I could hack up the profile page template if needed, but then I'd need to call my custom code from a template ?17:45
mech422I believe webgui does something similiar for translating the labels... I'd have to look again.  I just wasnt sure what the email field was called17:46
+bartjolwell, you can get far with a macro I suppose, which also can have it's own template17:46
mech422thats how labels get translated17:49
mech422I need WebGUI::foo::bar($user->email);  or some such17:49
+bartjol$user->get("email") I think17:52
-!- Haarg [~haarg@] has joined #webgui17:52
-!- mode/#webgui [+o Haarg] by ChanServ17:52
-!- MrHairgrease [~martin@] has joined #webgui17:53
-!- mode/#webgui [+v MrHairgrease] by ChanServ17:53
+MrHairgreasetavisto: you should really brush up your Dutch17:53
@tavistono way, my Google Dutch is great17:54
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui17:55
-!- mode/#webgui [+v perlDreamer] by ChanServ17:55
+MrHairgreasewell unless you think I'm beer, something is not working out exactly as planned I guess.17:55
+bartjolat the most, you are a beer container, but not beer17:56
@tavistoyeah I do think you are mostly beer17:56
+patspamdo we get to deprecate IE6 in wg8?17:57
@tavistoI thought the goal of every Dutchmen was to eventually become 100% beer.. Blood is for wimps17:57
+perlDreamerit is a well known fact that MrHairgrease is 70% water17:57
+bartjolpatspam: I hope so, but I don't believe it is the roadmap17:57
+MrHairgreasehmm, I dunno... some skin would be handy I guess17:57
+perlDreamerwith several trace elements, alcohol, hops, carbonation17:58
+MrHairgreasehehe 17:58
+perlDreamerpatspam: YES!17:58
+perlDreamerIE6 dies a horrible, bloody death in wG817:58
+perlDreameror so I've been told17:58
* MrHairgrease has deprecated ie6 long ago17:58
+patspamI was wondering because Doug just mentioned IE6 in an email to the template working group17:58
+bartjoltoo bad IE 5 will still be supported17:59
+perlDreamerthose templates are not for wg8, but for wg 7, so they must work in 1994 browsers17:59
+MrHairgreaseonly 1994?18:00
+MrHairgreasethere are millions of browsers out there18:00
+MrHairgreaseit might be a good idea to support a few more than 199418:00
mech422morning all - quick question - on the user profile page, I want to add a field whose default value is based on the users email address - how do I fill in the default value box on the form to pass the email address to my code ? labels get translated via WebGUI::International::get(314,"WebGUI");  can I do a WebGUI::foo::bar($user->email); or something ?18:00
+perlDreamermech422, we only allow a limited subset of things that get evaluated as perl code18:02
+perlDreamerit should have used macros instead, but there you go18:02
@Haargthe WebGUI::International::get(314,"WebGUI") form isn't actually even evaluated18:03
mech422perlDreamer: is that a "you can't get here from there" ?18:03
@Haargit is matched with a regex18:03
+perlDreamer'fraid so, dude18:03
mech422kk - thanks18:03
mech422I'll have to hack up the profile template then18:03
+MrHairgreasemech422, afaik you can use macros inlabels18:04
mech422or can I 'short circuit' it by creating a wrapper function that looks up the user's email and passes it to bar() ? WebGUI::foo::barWrapper() ?18:05
@tavistonoooooo! I still lovvvvvvvvvve IE6!18:05
@tavistodon't kill it!18:05
@Haargpatspam, perlDreamer, http://gist.github.com/35190318:05
+MrHairgreasemech422: why not use ^User(email)18:05
mech422MrHairgrease: I'm trying to use it in the default value box - basically trying to get the default value for one field to depend on another field18:05
+MrHairgreasemy mistake18:06
+MrHairgreasethat's not gonna work18:06
+patspamHaarg: I reckon fork it and make the wg7 branch maintenance only18:06
mech422thanks though - didn't know you could use macros in hte label :-)18:06
+perlDreamercan't use macros in profile fields18:06
+patspamI don't reckon it's worth the overhead of trying to keep it compatible18:07
* perlDreamer has to agree with patspam18:07
mech422perlDreamer: would barWrapper() method work, or is getting my code access to wg values more work then hacking the template ?18:08
@Haargthat's kind of how i was leaning as well.  i may try to keep the command api the same between the two so if the command is written correctly it could work with either.18:09
+perlDreamermech422, I don't understand the question, and it would be much more work than hacking the template18:09
+MrHairgreasemech422: your best bet might be adding some js to the template that sets the fields to whatever value18:09
+patspamyeah, obviously only change the command API if there's a compelling reason to do it18:09
mech422Hmm... ok - thanks guys - I'm gonna go percolate18:10
@Haargi have my WebGUI::Paths changes basically complete but they will break wgdev pretty badly, which is why i've held off merging them18:11
+perlDreamermaybe we could have wgd, and wg8d18:11
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]18:20
mech422if I have a custom WebGUI::foo module, is there something I can require to get access to the wg user info ?  require WebGUI::User or something ? 18:33
+bartjoluse WebGUI::User;18:33
+MrHairgreaseyou get the current user via $session->user18:33
+MrHairgreaseotherwise do $user = WebGU::User->new( $session, $userId );18:34
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]18:34
-!- mducharme-work [~nothing@4-121-188-206.rev.knet.ca] has quit [Read error: Connection reset by peer]18:34
-!- mducharme-work [~nothing@4-121-188-206.rev.knet.ca] has joined #webgui18:35
-!- carogray [~Caroline@] has joined #webgui18:35
-!- MrHairgrease [~martin@] has left #webgui []18:36
-!- steveo_aa [~sno@adsl-76-232-154-192.dsl.sfldmi.sbcglobal.net] has joined #webgui18:51
-!- mode/#webgui [+o steveo_aa] by ChanServ18:51
+patspampre tags are evil18:53
+patspameven with fluid layout they will look horrible if a single line is long enough18:54
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:55
-!- mode/#webgui [+o bopbop] by ChanServ18:55
@Haargoverflow helps but it's not always perfect19:04
+perlDreamerlooking at it with hindsight, the editing controls for the tickets should be on the left19:06
+perlDreamermaybe we could look at stripping out PRE tags, or limiting their width19:07
+perlDreamereh, maybe, maybe not19:07
+perlDreamerI think I'm just being old and grumpy again19:07
+perlDreamerI'll go to the gym, and have the grumpiness beaten out of me19:08
+perlDreamernothing like doing 150 pushups to change your attitude19:08
-!- SDuensin [~Scott@mobile-166-137-136-081.mycingular.net] has quit [Ping timeout: 258 seconds]19:16
-!- Haarg [~haarg@] has quit [Ping timeout: 258 seconds]19:18
-!- SDuensin [~Scott@mobile-166-137-138-041.mycingular.net] has joined #webgui19:23
-!- Haarg [~haarg@] has joined #webgui19:23
-!- mode/#webgui [+o Haarg] by ChanServ19:23
-!- preaction [~doug@] has joined #webgui19:27
-!- mode/#webgui [+o preaction] by ChanServ19:27
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]19:32
-!- fokat [~lem@] has joined #webgui19:33
-!- fokat [~lem@] has quit [Ping timeout: 265 seconds]19:44
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui19:56
-!- mode/#webgui [+o bopbop] by ChanServ19:56
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]20:03
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui20:03
-!- mode/#webgui [+v patspam] by ChanServ20:03
-!- carogray [~Caroline@] has quit [Read error: Connection timed out]20:20
+perlDreamerman, the OSCON schedule this year reads like an advertisement for Django20:45
@preactioneh, Django is the new baby20:45
@preactionlast year it was Drupal, no?20:45
@preactionand I do like a lot of Django's style, even though it's exactly like Catalyst: there's no real app to speak of, it's just a framework20:46
@tavistoHey all, just wanted to let you know that all WebGUI Guides are on sale today only! 10% off @ Lulu.com.   Details available @ http://www.plainblack.com/news/news/all-webgui-books-10-off---april-1st-only20:52
clifmoyay, hook me up tavisto21:11
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has joined #webgui21:11
@tavistoYeah, that's a pretty good deal Clifmo. I've never seen Lulu do discounts system-wide before.21:12
clifmoGood to know those resources exist, doubt I could get the purchase through today21:14
@tavistoThe Primer Guide is free so you'll definitely want to download that one. Just a basics guide to get people started with the software21:14
+perlDreameryes, FilePump should be used with the new styles22:20
+perlDreamerespecially after it's more tightly integrated with the template22:20
@preactionand attachments22:20
+perlDreamerDoesn't FilePump do everything that Attachments can do, and more?22:21
+perlDreamerFilePump is less granular22:21
@preactionfilepump bundles should show up as attachments to a template22:21
+perlDreamerit'd be nice if you could take an existing set of JS and CSS attachments to a template, and say, "Make this a bundle for me"22:22
+perlDreamerattachments are nice because you don't have to add the macro to you template22:23
+perlDreamerof course, if you knew it was a style template22:23
+perlDreamerand it had a FilePump bundle22:23
+perlDreameryou could automatically insert the CSS to the top, and the JS to the bottom22:23
+perlDreameryou wouldn't have as much control as with the macro for placement22:24
+perlDreamerhoy, patspam!22:24
+perlDreamerback log and bit and tell me if the idea for style templates handling attached FilePump bundles is any good or not22:25
@preactionperlDreamer: FilePump bundles should be able to be attached to the template like normal Attachments can22:26
@preactionany template at all22:26
+perlDreamersure, but for a style template, you might be able to avoid the (very small) hassle of sticking in the FilePump macro22:26
+perlDreamersince it's attached, you don't need to know the name for the macro22:26
+perlDreamerit's the style template, so you know where the head and body/bottom are22:27
@preactioni don't understand. if there was a FilePump area when you edit a template where you could check the box of any FilePump bundles, there's no need for the macro anymore at all, is this what we're both saying?22:28
+perlDreamerif you made a FilePump bundle for an Article template22:29
+perlDreameryou'd really like the CSS link to be up in the HEAD block22:29
+perlDreamerthat's one thing that FilePump wouldn't allow you to do as it stands now22:29
@preactionyes, which is where Templates being aware of FilePump comes in22:29
@preactionyou say "Hello Article template, Include this FilePump bundle!"22:29
@preaction"And this one too while you're at it!"22:30
@preaction"Oh, and also add this attachment why not"22:30
+perlDreamerand the Template is smart enough to put the CSS into the head_tags22:30
+perlDreamerand the JS into a body_tag, which is wisely put at the bottom of the style template22:30
-!- kayiwa [~kayiwa@kayiwa.lib.uic.edu] has joined #webgui22:31
+perlDreamernow I think we're saying the same thing22:31
@preactionwell, the JS would have to be set for "Top" or "Bottom"22:31
+perlDreamerFilePump is a "bottom JS" Nazi22:31
+perlDreamerwell, by intent, not required by design or implementation22:31
@preactionit'd have to be changed, it should be changed. not all JS works at the bottom.22:32
+perlDreamernon-bottom JS could just be an attachment22:33
@preactionbut why force them to forgoe the benefits of filepump just because someone else's JS sucks22:34
+perlDreamergood point22:34
+perlDreameris this a hypothetical question, or does WebGUI have that problem?22:35
@preactionJS that only works when placed before the content? it's everywhere. making JS work when deferred is not a common technique22:36
+perlDreamermost of the JS I've seen is all in yui-webgui, and it all works as deferred22:37
* perlDreamer should get out more :)22:37
@preactionrandom JS that doesn't use frameworks usually doesn't work like that, so newbie JS22:40
@Haargalso, doing deferred js is usually really annoying without a framework22:41
-!- kayiwa [~kayiwa@kayiwa.lib.uic.edu] has quit [Quit: kayiwa]22:52
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:55
-!- SDuensin [~Scott@mobile-166-137-138-041.mycingular.net] has quit [Quit: Leaving]23:03
+patspamback again23:10
+patspamyeah what preaction said, the list of available template attachements should include filepump bundles23:11
+patspamI wouldn't mind forcing people to put JS at the bottom23:11
+patspamnewbies probably wouldn't be using filepump anyway23:12
+patspambut I suppose a top/bottom checkbox is more friendly23:12
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: zzzzzzzzzz]23:23
--- Day changed Fri Apr 02 2010
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]00:10
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui00:15
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has quit [Remote host closed the connection]00:18
+patspamfilepump wiki page is rockin now00:23
+patspamonly about a year overdue00:24
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]00:48
CIA-104webgui: Doug Bell WebGUI8 * r8f4024a / (3 files in 2 dirs): initial commit: new admin console - http://bit.ly/aE1N9n00:58
+perlDreamerpreaction, what do you think about the Project Manager and Time Tracker being pulled out of the core and moved into their own repository?01:19
+perlDreamerI'm guessing that it's low usage.01:19
@preactionyes, but let's wait until i'm really pulling the strings around here01:22
-!- clifmo [~cm0@] has quit [Read error: Connection reset by peer]01:29
-!- preaction [~doug@] has quit [Quit: preaction]01:31
mech422hey pd - is there something 'funky' about how Account 'plugins' are handled ? I had to totally rename my module before modperl would detect it changed ? (then it went away, and renaming it back brough it back with the changes..)01:36
+perlDreamermech422, it's all driven by the config file, and requires an apache restart01:48
+perlDreamerto see new code01:48
mech422perlDreamer: ahh - not just a 'modperl' restart from the web panel ?01:50
mech422I was just restarting mod_perl and mod_proxy01:51
+perlDreameryou only need to restart mod_perl01:51
mech422yeah.. that didn't seem to do it..ah well - maybe it was something funky with my browser cache or whatnot01:51
mech422its seeing the new code now, so I'm happy01:52
mech422btw - I scrapped profile fields and just went with an Account plugin - seems like it'll be easier for what I need01:52
+perlDreamermech422, are you really, finally doing a WebGUI project?02:12
mech422LOL - yeah :-P02:12
mech422Hmm - I got the dropdown boxes to select a style and layout for my module - but no 'edit' or 'manage' buttons ?02:25
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]03:02
+perlDreamerfor edit and manage buttons, you have to specify a default03:11
mech422ahh - thanks - that was driving me a bit bonkers03:12
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui03:30
-!- mode/#webgui [+o Haarg] by ChanServ03:30
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui03:44
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]03:55
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui03:56
-!- fokat [~lem@] has joined #webgui03:57
mech422pd - thanks for all the help :-)  Time for meatloaf !! :-D04:19
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has quit [Remote host closed the connection]04:19
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui04:57
-!- mode/#webgui [+o preaction] by ChanServ04:57
+perlDreamerpreaction: http://blog.oregonlive.com/commuting/2010/03/aaa_ready_for_great_battery_ro.html05:47
+perlDreameryou gotta watch the video05:47
+perlDreamerwell, you don't have to watch the video at the end05:58
+perlDreamerunless you like watching batteries being chopped up by lightsabers05:58
+perlDreamerif that's not your thing, just ignore the video05:58
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]06:01
@preactionOMG an old school game boy!06:03
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]06:52
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui06:58
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: zzzzzzzzzz]09:13
-!- MrHairgrease [~martin@] has joined #webgui11:26
-!- mode/#webgui [+v MrHairgrease] by ChanServ11:26
CIA-104wgdev: Graham Knop master * r33315ad / lib/WGDev.pm : add option to set_environment to not save the env in case you want to localize it yourself - http://bit.ly/aOmQBG12:53
CIA-104wgdev: Graham Knop master * r75eba2a / lib/WGDev/X.pm : add inflate method to WGDev::X that will rethrow a passed in object, or create a new exception for a string - http://bit.ly/aqf77j12:53
CIA-104wgdev: Graham Knop master * r6979ba0 / lib/WGDev/Command/For/Each.pm : 12:53
CIA-104wgdev: add more options to for-each command and allow multiple subcommands to12:53
CIA-104wgdev: be used - http://bit.ly/cDtvbO12:53
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has joined #webgui14:20
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui15:20
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui15:20
-!- mode/#webgui [+o bopbop] by ChanServ15:20
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving]15:24
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]15:39
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui16:04
-!- SDuensin [~Scott@mobile-166-137-143-175.mycingular.net] has joined #webgui16:07
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui16:29
-!- mode/#webgui [+v patspam] by ChanServ16:29
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: This computer has gone to sleep]17:19
-!- MrHairgrease [~martin@] has left #webgui []17:41
-!- Haarg [~haarg@] has joined #webgui17:42
-!- mode/#webgui [+o Haarg] by ChanServ17:42
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]17:53
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]18:13
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui18:17
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Client Quit]18:19
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui18:19
-!- carogray [~Caroline@] has joined #webgui18:22
-!- carogray [~Caroline@] has quit [Client Quit]18:24
-!- carogray [~Caroline@c-75-68-40-26.hsd1.nh.comcast.net] has joined #webgui18:28
-!- clifmo [~cm0@] has joined #webgui18:31
-!- carogray [~Caroline@c-75-68-40-26.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]18:33
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]19:52
-!- kaare [~kaare@] has joined #webgui20:22
-!- kaare is now known as Guest5046420:23
-!- Guest50464 [~kaare@] has quit [Remote host closed the connection]20:30
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has joined #webgui21:23
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has joined #webgui21:39
-!- mode/#webgui [+o preaction] by ChanServ21:39
-!- preaction_ [~doug@c-67-184-116-128.hsd1.il.comcast.net] has joined #webgui21:48
-!- mode/#webgui [+o preaction_] by ChanServ21:48
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has quit [Ping timeout: 265 seconds]21:50
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has joined #webgui21:50
-!- mode/#webgui [+o preaction] by ChanServ21:50
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has quit [Read error: Connection reset by peer]21:51
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has joined #webgui21:52
-!- mode/#webgui [+o preaction] by ChanServ21:52
-!- preaction_ [~doug@c-67-184-116-128.hsd1.il.comcast.net] has quit [Ping timeout: 265 seconds]21:52
-!- kimd [~spunky@] has joined #webgui23:02
-!- SDuensin [~Scott@mobile-166-137-143-175.mycingular.net] has quit [Quit: Leaving]23:02
kimdpreaction, I am fixing the missing cancel button bug submitted by Kristi.23:02
kimdIs it ok to let JS do the job?23:02
kimdOr do we need a fallback in www_edit in case JS is disabled?23:03
@preactionyou probably need a fallback, since there has been bugs previously about the JS-only solution failing23:03
kimdI see. But then there is another problem already.23:04
kimdThe submit button seems to rely on JS for redirection to www_editSave.23:04
kimdOr do I miss something?23:04
@preactionif you do "history.go(-1)" twice, you will keep jumping between two pages, that's what i meant by failing23:06
kimdHm. I don't think that can happen here. But still, does that mean I should avoid JS and use regular form processing?23:07
@preactionif you don't think it can happen, the go ahead. the only time it really happens is when you click on an Edit button for a template when viewing the edit page of an asset23:09
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has quit [Quit: Leaving]23:15
kimdpreaction, something else: Do we prefer tabs or space for indentation?23:18
kimdI would like to correct indentation in Post.pm since it's very confusing.23:18
@preactionthere's a .perltidyrc file and there's a wiki entry (4 spaces)23:18
kimdParticularly the www_edit method.23:18
kimdCool. Thanks!23:19
@preactioni wouldn't, use perltidy to make it look how you need and then put it back (it will screw up merging attempts)23:19
kimdI see.23:19
kimdGood night everyone!23:40
-!- kimd [~spunky@] has quit [Quit: Ex-Chat]23:40
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has quit [Ping timeout: 265 seconds]23:46
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has quit [Remote host closed the connection]23:51
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has joined #webgui23:51
-!- mode/#webgui [+o preaction] by ChanServ23:52
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has quit [Remote host closed the connection]23:55
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has joined #webgui23:56
-!- mode/#webgui [+o preaction] by ChanServ23:56
--- Day changed Sat Apr 03 2010
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui00:05
@preactioni like that the Blank Style isn't really blank and that the Empty Style doesn't show head tags...01:18
* preaction didn't really want to get anything done the easy way, honest injun!01:18
SDuensinWhoa!  Life!01:26
* SDuensin is currently disgruntled with the WebGUI blog.01:30
@preactionwebgui has a blog?01:31
* SDuensin wants a nice tag-cloud of topics!01:32
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has joined #webgui02:14
mech422hi all - anyone know what table this should hit : $setting->set("dmnStyleTemplateId",  $form->process("dmnStyleTemplateId","template"));  ?02:15
mech422it appears not to be getting updated so I thought I'd just query the db manually ...02:15
@preactionthe settings table02:16
@preactionyou have to have a setting that already exists with that name, otherwise you have to use "add"02:16
mech422doh!  I should have guessed that table name :-P02:16
mech422oh?  So how do you get the 'first' record into the table then ?02:16
mech422(this is from the skeleton code btw...)02:17
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has joined #webgui02:18
mech422sorry - better question would be, is there a 'install' routine thats called so you can add that setting when you put in a new account object ?02:20
mech422err... new account 'module' ?? or whatever the plugin is called02:21
@preactionsee sbin/installClass.pl if you want, it is an installer for classes02:24
@Haargi hate how that works with settings02:26
@preactionyep. likewise02:26
mech422preaction: that fixed it - changed all the $setting->set() to $setting->add(), hit the settings form and saved stuff, then changed it back to $settings->set()02:26
mech422might be worth a comment in the skeleton code - it's sorta unintuiative02:27
@Haarg$t = $setting->get('key'); $t = $value if !defined $t; $setting->delete('key'); $setting->add('key', $t);02:27
mech422Haarg: Icck02:28
mech422any votes for $setting->updateOrAdd() ? :-P02:28
mech422or maybe addOrUpdate() ?02:29
@preactionno. update() should do "REPLACE INTO" and add() should call update02:29
@Haargthere's really no reason ->set shouldn't add the value if it doesn't exist02:30
mech422eh - either way - but the current skeleton code basically fails silently, which would be a bit disconcerting to new developers02:30
mech422I spent hours looking for an upstream proxy cache cuz the page wouldn't change from the default :-P02:31
@Haargpreaction, any reason for me not to change that right now?02:33
mech422Haarg: if you adding the comment to the skeleton - could you add one saying that you need a default value for the templates for the 'edit' and 'manage' buttons to appear, please.02:34
@preactionHaarg: none whatsoever02:35
CIA-104webgui: Graham Knop master * r9113760 / t/Asset/File/GalleryFile/Photo/navigation.t : quiet photo navigation test and add better cleanup - http://bit.ly/buwx6802:35
CIA-104webgui: Graham Knop master * r3b07f83 / t/_test.skeleton : remove END section from test skeleton - http://bit.ly/byk1mR02:35
@Haargand should add just be an alias for set then?02:36
@preactionyes, for backcompat for now02:36
CIA-104webgui: Graham Knop master * rd0bc628 / lib/WebGUI/Session/Setting.pm : make setting set/add update or replace existing settings - http://bit.ly/a097DB02:39
mech422oh cool - thanks :-)02:42
CIA-104webgui: Doug Bell WebGUI8 * r5e77a94 / (lib/WebGUI/Admin.pm lib/WebGUI/Content/Admin.pm): Bare minimum working - http://bit.ly/byF3sS02:45
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has quit [Remote host closed the connection]03:10
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]05:20
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]05:32
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has quit [Quit: preaction]05:37
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has joined #webgui05:52
-!- mode/#webgui [+o preaction] by ChanServ05:52
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui07:44
-!- mode/#webgui [+o Haarg] by ChanServ07:44
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has quit [Quit: preaction]08:15
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]11:24
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: zzzzzzzzzz]11:42
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has quit [Quit: Leaving]15:28
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui17:16
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui17:41
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has joined #webgui18:32
-!- mode/#webgui [+o preaction] by ChanServ18:32
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui20:09
-!- mode/#webgui [+v patspam] by ChanServ20:10
+patspamhello weekend warriors20:11
+patspamhas there been any talk of lightning talks for the WUC this year?20:11
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has quit [Remote host closed the connection]20:21
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has joined #webgui20:21
-!- mode/#webgui [+o preaction] by ChanServ20:21
-!- kimd [~spunky@] has joined #webgui20:22
+patspamHaarg, preaction: have you used local::lib to install wre modules?21:18
@preactionnot yet no21:18
@preactioni want it though, for future WebGUI such21:18
+patspamI'm just deciding where to place the containing folder21:19
+patspammaybe: /data/wre/prereqs/perl521:19
+patspamequiv to the default: ~/perl521:19
+patspamwhich will end up with bin/ lib/ and man/ inside it21:21
+patspamit will be nice to have user-installed cpan modules separated from bundled wre cpan modules21:22
+patspamespecially for dev - easy to see what you've installed extra to the wre21:22
+patspami really hate setenvironment.sh21:33
@preactionlikewise. i don't even use WRE anymore because of that.21:35
+patspamsince I started using wgd I mostly stopped having to use it21:35
kimdDidn't JT once write that not using the wre is a stupid decision ;-)21:36
+patspamsetenvironment should something that only other scripts need (like sbin/services/redhat/wre-apache)21:37
kimdHm. Not sure how you would achieve that.21:38
+patspamkimd: what do you find yourself using setenvironment for at the moment?21:40
kimdI need to call it before I run utility scripts.21:40
kimdAnd use perl apps like perldoc21:40
+patspamfor utility scripts I use: wgd util21:41
+patspamfor mysql client I use: wgd db21:41
kimdOk. But why is that better?21:41
+patspamdoesn't pollute your current environment21:41
kimdwgd util makes 8 letters+21:42
kimdI would prefer to have up-to-date debian packages and get rid of wre completely.21:42
kimdThat would keep your environment really clean.21:42
+patspamI wouldn't want that - I use my dev box for more than just webgui21:42
kimdDifferent people, different preferences.21:43
kimdYou could still virtualize it.21:43
kimdBut then again, you could use the image already provided.21:43
+patspamyeah. I want to keep everything webgui related separate from my system, and as close to my production environment as possible21:43
kimdMaybe that is the best solution.21:43
+patspamwhat image?21:44
kimdThere is virtual machine image based on ...21:44
kimdI do not remember. It was something redhat related.21:44
+patspameek no, I don't want to run webgui in a vm21:44
+patspamtoo slow and cumbersome21:45
kimdWhy not? It's a very clean way to do your development.21:45
kimdNot cumbersome at all.21:45
+patspamI did it for over a year when my OS was windows21:45
kimdHave to set it up only once.21:45
kimdInstead of installing the wre you download the image and install that.21:46
kimdThen you use ssh and sshfs for everything else.21:46
kimdNo problem at all. In particular not when working with gnome or kde.21:46
kimdPerformance should not be a problem.21:46
kimdOur productive site is running on a vm.21:47
+patspamand when you're editing webgui core files?21:48
+patspamor just your own code on the vm21:48
+patspamyou have to do it over ssh21:48
+patspamand you waste a whole lot of memory running the vm21:48
kimdgnome-vfs is your friend.21:48
kimdCome on, have you ever run short of memory on your development system?21:48
kimdNever happened to me. I have 2 GB installed and that has always been sufficient.21:49
kimdpatspam, are you installing the vm already after having heard my convincing arguments?21:59
+patspamha no, sorry21:59
kimdDoesn't matter. I am used to people not listening to me ;-)22:00
kimdMy daughter is worst.22:00
+patspamkimd: I'm listening but like I said I've been down the vm route and I didn't like it22:03
kimdThat's because the image supplied is terrible.22:04
kimdAnd configuration is a pain when you do it for the first time.22:04
kimdI am not using virtualization myself for development.22:04
kimdBut I really believe that this is going to be the future.22:05
kimdSpend not time on installing something, but rather start immediately.22:05
+patspamno that's not the reason, I used to create my own vm from scratch customised exactly how I like it22:05
+patspamthe problem was the vm22:05
+patspamI hated that barrier22:05
+patspamit's only a thin barrier but it was enough to annoy me on a daily basis22:06
kimdBut there are little barriers these days as network integration is getting better and better.22:06
kimdAdmittedly, on windows it is still a pain.22:07
+patspamtyping 'wgd' before certain commands is much less pain, especially since I do a lot of other things via wgd plugins22:07
kimdI very much love linux in this respect.22:07
kimdWhat I do is using separate tabs in my gnome shell.22:07
kimdIn one I run the setenvironment script.22:07
+patspamyeah I used to do that too, but every now and then I'd forget which shell I was in, and accidentally install a new cpan module into the wrong site_perl etc..22:09
kimdI see. So the problem is your memory, not the wre :-P22:10
+patspamso instead I have a 'wrecpan' alias for installing cpan modules into the wre, and for everything else stick to wgd (which runs in a different perl to the wre)22:10
+patspamha yeah, and that's something I can't hack a solution for ;)22:10
@Haargi used to never run setenvironment, but had a script 'wre' that would run setenvironment then whatever you gave it as parameters22:12
+patspamand now?22:13
@Haargnot using the wre at all22:13
+patspamha, I can see a pattern here..22:13
@Haargwe've still had problems compiling it on os x 10.6 iirc.22:14
kimdAre there a lot of mac users among devs?22:17
-!- carogray [~Caroline@67-61-217-159.cpe.cableone.net] has joined #webgui22:17
-!- carogray [~Caroline@67-61-217-159.cpe.cableone.net] has quit [Client Quit]22:18
@Haargeveryone at plain black is on mac22:18
@preactionyes, i can't compile the damned thing on 10.622:18
+patspameven now that koen has a mac?22:22
kimdWhy is that? Does it have any advantages or are you all trying to be slick?22:22
kimdOk. Enough for today. Happy hacking everyone! And enjoy your fancy macs ;-)22:27
-!- kimd [~spunky@] has quit [Quit: Ex-Chat]22:27
-!- MichaleR [~quassel@shed.jamhome.us] has joined #webgui23:09
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]23:09
-!- MichaleR_ [~quassel@shed.jamhome.us] has joined #webgui23:12
-!- MichaleR [~quassel@shed.jamhome.us] has quit [Remote host closed the connection]23:13
-!- MichaleR_ [~quassel@shed.jamhome.us] has quit [Remote host closed the connection]23:13
-!- michael____ [~chatzilla@shed.jamhome.us] has joined #webgui23:25
-!- michael____ [~chatzilla@shed.jamhome.us] has quit [Client Quit]23:25
-!- michaleR [~chatzilla@shed.jamhome.us] has joined #webgui23:26
michaleRon a fresh install - just finished doing the first config - I get "unable to instantiate your style template"  What's the usual cause for this?23:28
Gettyhere is action23:54
--- Day changed Sun Apr 04 2010
@preactionmichaleR: type ?func=edit at the end of the URL and then click "Save". it should never happen, ever.00:08
michaleRpreaction:  thank you, trying now, see I need to log in ... going to fail safe mode00:12
michaleRlogin and still get permission denied.00:12
michaleROK, I've got the Edit Template up...00:20
michaleRand the default template is blank...But I've saved it and now It's displaying ugly but functional.  Thank you,00:23
michaleRThis implies that the templates were null in the db.  Yes?00:29
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Ping timeout: 276 seconds]02:13
-!- preaction [~doug@c-67-184-116-128.hsd1.il.comcast.net] has quit [Quit: preaction]02:13
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui02:17
-!- mode/#webgui [+o Haarg] by ChanServ02:17
-!- michaleR [~chatzilla@shed.jamhome.us] has quit [Ping timeout: 260 seconds]03:13
-!- Getty [torsten@conflictindustries.org] has quit [Ping timeout: 258 seconds]04:23
-!- Getty [torsten@conflictindustries.org] has joined #webgui04:27
-!- michaleR [~chatzilla@shed.jamhome.us] has joined #webgui04:29
-!- Getty [torsten@conflictindustries.org] has quit [Ping timeout: 276 seconds]04:35
michaleRTurn Admin On - Logs the user out?  At least in Firefox and Chrome... ??04:36
-!- Getty [torsten@conflictindustries.org] has joined #webgui04:38
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: Leaving]04:38
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui04:39
-!- mode/#webgui [+o Haarg] by ChanServ04:39
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Remote host closed the connection]04:39
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui04:40
-!- mode/#webgui [+o Haarg] by ChanServ04:40
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Remote host closed the connection]04:42
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui04:42
-!- mode/#webgui [+o Haarg] by ChanServ04:42
-!- Getty [torsten@conflictindustries.org] has quit [Read error: Connection reset by peer]04:44
-!- Getty [torsten@conflictindustries.org] has joined #webgui04:45
-!- Getty [torsten@conflictindustries.org] has quit [Ping timeout: 276 seconds]04:51
-!- michaleR [~chatzilla@shed.jamhome.us] has left #webgui []05:18
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui05:20
-!- mode/#webgui [+o preaction] by ChanServ05:20
-!- preaction_ [~doug@static-72-1-4-143.ntd.net] has joined #webgui05:32
-!- mode/#webgui [+o preaction_] by ChanServ05:32
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Ping timeout: 258 seconds]05:32
-!- preaction_ is now known as preaction05:32
-!- Getty [torsten@conflictindustries.org] has joined #webgui06:32
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]09:30
-!- kimd [~spunky@] has joined #webgui10:29
kimdHaarg, is that 1 am at the place where you live?10:30
@Haargit's 2:35AM right now10:36
kimdOh. I hope you have a big pot of strong coffee.10:36
kimdImportant deadlines to meet?10:36
@Haargnot really10:43
@Haargnot doing much at all really.  my schedule is always messed up on the weekends though.10:43
kimd:-) 10:48
kimdI guess I can safely put into the category "night active human being".10:48
kimdput you...10:48
kimdBtw, do webgui devs work from home?10:53
@Haargi work from the office because i am terrible at working from home10:55
kimdI totally understand. It's nice to have some colleagues around.10:56
kimdHaarg, I wish you a good night. We are heading towards the family. Eastern is calling...11:33
-!- kimd [~spunky@] has quit [Quit: Ex-Chat]11:35
-!- kaare [~kaare@] has joined #webgui15:16
-!- kaare is now known as Guest614915:16
-!- Guest6149 [~kaare@] has quit [Remote host closed the connection]15:26
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: zzzzzzzzzz]19:51
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui20:24
-!- mode/#webgui [+o preaction] by ChanServ20:24
-!- fokat [~lem@] has quit [Ping timeout: 260 seconds]21:11
-!- hkothari [~hkothari@c-24-128-152-15.hsd1.ma.comcast.net] has joined #webgui23:55
--- Day changed Mon Apr 05 2010
-!- hkothari [~hkothari@c-24-128-152-15.hsd1.ma.comcast.net] has left #webgui []00:03
-!- SynQ2 [~SynQ@f70096.upc-f.chello.nl] has quit [Read error: Connection reset by peer]00:16
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui00:54
-!- mode/#webgui [+v patspam] by ChanServ00:54
-!- fokat [~lem@] has joined #webgui03:15
-!- nuba [~nuba@pauleira.com] has joined #webgui04:42
-!- nuba [~nuba@pauleira.com] has left #webgui []04:43
-!- stDavid [~stDavid@] has joined #webgui05:31
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving]06:08
-!- stDavid [~stDavid@] has quit [Quit: zzzzzzzzzz]07:49
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]07:50
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]10:10
-!- kaare [~kaare@] has joined #webgui13:45
-!- kaare is now known as Guest6042713:46
-!- Guest60427 [~kaare@] has quit [Remote host closed the connection]13:56
-!- fokat [~lem@] has quit [Ping timeout: 246 seconds]14:37
-!- fokat [~lem@] has joined #webgui16:18
-!- stDavid [~stDavid@] has joined #webgui16:45
-!- perlmonkey2 [~perlmonke@] has joined #webgui16:53
-!- mode/#webgui [+v perlmonkey2] by ChanServ16:53
-!- fokat [~lem@] has quit [Ping timeout: 258 seconds]17:01
-!- perlmonkey2 [~perlmonke@] has left #webgui []17:11
-!- fokat [~lem@] has joined #webgui17:24
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: This computer has gone to sleep]17:39
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui17:45
-!- mode/#webgui [+v patspam] by ChanServ17:45
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui17:57
-!- mode/#webgui [+v perlDreamer] by ChanServ17:57
-!- Haarg [~haarg@] has joined #webgui18:02
-!- mode/#webgui [+o Haarg] by ChanServ18:02
+perlDreamermorning, Haarg18:02
+perlDreamerHaarg: have you read the release notes for JSON 2.21?18:05
@Haargi haven't, no18:06
@Haargthe encoding thing?18:07
+perlDreamerI was more thinking about the "infinite loop" in relaxed mode18:07
@Haargi'm not sure how to read that exactly18:09
@Haargit was a fix in 2.1718:09
@Haargbut the note makes it sound like it was only a problem in 2.16+18:09
@Haargwhich would mean it was only a problem in 2.1618:10
-!- stDavid [~stDavid@] has quit [Quit: zzzzzzzzzz]18:11
+perlDreameryeah, I'm wondering if we need to bump our requirements for JSON, so users don't get bit by it18:12
+perlDreamerof course, our JSON is emitted by JSON.pm as well, so we're probably safe18:12
-!- clifmo [~cm0@] has quit [Quit: I don't like you. But Bersirc 2.2 does. Try it out now. [ http://www.bersirc.org/ - Open Source IRC ]]18:12
CIA-104WebGUI: jt * r12465 /translations/Spanish/Spanish/.pm: Removing strange i18n file.18:38
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui18:40
-!- mode/#webgui [+o preaction] by ChanServ18:40
CIA-104webgui: Colin Kuskie webgui-7.8 * r8327e35 / (2 files in 2 dirs): Remove i18n cruft in Dutch and Spanish. Fixes bug #11506 - http://bit.ly/cKIx6h18:41
CIA-104webgui: Colin Kuskie master * r2de75ea / (2 files in 2 dirs): Remove i18n cruft in Dutch and Spanish. Fixes bug #11506 - http://bit.ly/bUEkZe18:43
+perlDreamerHaarg, re our talk last week about CS and sort scratch variables: http://gist.github.com/35650018:53
@Haargit might be good to have it use 'revisionDate' instead of 'assetData.revisionDate' for the form param18:59
+perlDreamertrue.  there's no need to use assetData's over Thread's19:00
+perlDreamerdo you think I should add in any other fields?19:00
+perlDreamerprior to this fix, _any_ valid post field could be used19:01
@Haargwhich is intentional, but not particularly useful19:01
-!- fokat [~lem@] has quit [Quit: Ex-Chat]19:38
-!- fokat [~lem@] has joined #webgui19:39
-!- fokat [~lem@] has quit [Remote host closed the connection]19:52
-!- fokat [~lem@] has joined #webgui19:56
-!- kimd [~spunky@p549F7325.dip.t-dialin.net] has joined #webgui20:19
kimdHappy Easter!20:20
+perlDreamerHappy Easter, kimd20:20
kimdEveryone painted his or her eggs?20:21
kimdGood. That's more than I did.20:21
+perlDreameruh oh.  Is the young one upset?20:21
kimdNo. We have enough chocolate to compensate :-D20:22
kimdpreaction, have I mentioned that I start to like git?20:24
kimdgit question: Does git pull also pull changes from an upstream repository (if configured of course)?20:33
@preactionyes, provided you specify which remote and branch you want to pull from20:35
+perlDreameryou can set each local branch to track an upstream repo, so it's handled automatically when you do git pull20:35
kimdI followed instructions in the wiki and did20:37
kimdgit config remote.origin.url git@github.com:plainblack/webgui.git20:37
kimdDoes that cause pulls from the original webgui repo for all branches?20:37
kimdAh, no. My mistake.20:37
+perlDreamerpreaction, re CS sorting fields20:38
+perlDreamer$self is not a CS20:38
+perlDreamerand building a prototypical one via newByPropertyHashRef you have to list all the fields20:38
+perlDreamersince it doesn't provide defaults from the Definition20:38
+perlDreamerI could walk the definition and build a set of fields20:38
+perlDreamerbut an preferring to just whitelist the fields that we allow people to use as defaults from the definition20:39
@preactionokay, go with the whitelist20:39
+perlDreamerbtw, getThreadsPaginator.t is awesome20:39
@preactionthanks. it was step 1 in fixing the four different ways to get threads20:40
+perlDreamernewByPropertyHashRef WILL d.r.t in WebGUI 8 and not just have sparse properties20:46
+perlDreamerI can see the cognitive dissonance forming even now20:46
CIA-104webgui: Colin Kuskie master * r6990f52 / (2 files in 2 dirs): Fix bug #11510, allowing non-valid sort fields in the form params to CS. - http://bit.ly/aud7qA20:47
CIA-104webgui: Colin Kuskie webgui-7.8 * r776f0c4 / (2 files in 2 dirs): Fix bug #11510, allowing non-valid sort fields in the form params to CS. - http://bit.ly/bO5cS120:48
+perlDreamerkimd, from what I'm seeing in the revision log for RequestApprovalForVersionTag, it's always been plain text20:52
kimdHm. Maybe, it was my e-mail client then automatically recognizing the URL.20:53
+perlDreamerI would guess that is it20:53
kimdI am going to repost as RFE. Ok?20:53
+perlDreamerNo.  If you post that as an RFE, it will be approved and accepted20:53
+perlDreamerwe shall fix it as a UI improvement20:54
+perlDreamerA copy of that message goes into the Inbox20:54
+perlDreamerand it should be a real link anyway20:54
+perlDreamerbecause a browser won't autodetect it as a link20:54
kimdOk. You want to do it? Or should I do it?20:54
kimdI should have time by tomorrow evening.20:55
+perlDreamerI think I'll do it right now20:55
kimdThat's fine. I won't argue :-)20:55
kimdStill I have to bug you with git again.20:56
kimdI have the following lines in my config:20:56
kimdStill, git pull only seems to pull from my fork and not the upstream repository.20:56
+perlDreamerI believe that for all new branches that it will set the right things for you20:56
kimdFor instance, I cannot see your latest commit.20:57
kimdWhat about my master branch?20:57
+perlDreamerfor branches that already exist, you may have to set them to track automatically20:57
kimdWhere to look for instructions?20:57
+perlDreamerman git-branch20:57
kimdHm. I am stuck.21:02
kimdAccording to documentation, my fork is automatically set as upstream repository for my local master branch.21:02
kimdThat is why I get nothing when I do git pull.21:03
kimdI can do git pull upstream master.21:03
kimdBut that has caused divergence in the past.21:03
kimdThis is really confusing.21:03
kimdIs there anyone online working with a fork of the webgui repository?21:03
kimdHow did you handle this?21:03
+perlDreamerI think people usually pull from the original (forked from) repo by hand21:04
CIA-104webgui: Colin Kuskie webgui-7.8 * r3417650 / (2 files in 2 dirs): Fix #11511. URLs in version tag approval emails should be links. - http://bit.ly/cPtuBT21:05
CIA-104webgui: Colin Kuskie master * r1df580f / (2 files in 2 dirs): Fix #11511. URLs in version tag approval emails should be links. - http://bit.ly/apm0sz21:05
kimdYou mean "git pull upstream master" in combination with the upstream configuration I have posted before?21:06
+perlDreamerI don't think you need the additional configuration to do git pull otherRepo otherBranch21:08
@preactionprovided "otherRepo" is already set up as a remote, no, it should just work21:08
kimdpreaction, I believe I somehow screwed my master branch.21:20
kimdI am going to re-create it and see what happens.21:20
-!- elnino [~ninow@user-38q49cv.cable.mindspring.com] has joined #webgui21:53
* perlDreamer heads off for a run22:07
-!- fokat [~lem@] has quit [Quit: Ex-Chat]22:07
-!- clifmo [~cm0@] has joined #webgui22:10
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has joined #webgui22:28
@Haargkimd, your local master branch may not be configured as a tracking branch22:49
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui22:51
-!- mode/#webgui [+o tavisto] by ChanServ22:51
-!- elnino [~ninow@user-38q49cv.cable.mindspring.com] has quit [Quit: Leaving]22:51
+patspamperlDreamer: back from your run yet?23:24
+perlDreameryes sir!23:32
@tavistoI don't think jogging to your fridge to grab a beer counts as "a run"23:40
+perlDreamertavisto, technically that's wobbling to the fridge and back23:41
+perlDreamerthe extra motion burns more calories23:41
@tavistoI suppose the wobbling gets worse depending on how many trips you've made :)23:42
kimdperlDreamer, I went out for a run today, too!23:44
kimdIt felt good.23:44
+perlDreamerI like running23:44
kimdWas the first in two years.23:44
kimdI like it too. But I usually get bored after 40 minutes.23:45
@preactionfft, biking will always be better23:45
+perlDreamerfft ~~ meh23:45
kimdDon't confuse me.23:45
+perlDreamerwisconsin based sound used to denigrate other people's opinions23:45
+perlDreamereither that, or one of preaction's bike tires are leaking air23:46
kimdAh, it's not an abbreviation for anything.23:46
+perlDreameror, perhaps preaction himself is leaking air23:46
kimdWhere is it stored in his body?23:46
kimdBut I agree. Biking is also nice.23:47
+perlDreamerwell, primary storage is two pulmonary sacs in the chest cavity23:47
kimdDid I mention I am going to live near the black forest?23:47
kimdThat's good biking terrain.23:47
kimdSecondary storage?23:47
+perlDreamerthat's good terrain for everything23:47
kimdTher must be a backup.23:47
+perlDreamernasal cavities, and gastro-intestinal23:47
+perlDreamerhowever, gas exchange does not happen in those area23:48
+perlDreamerwhere near the black forest, kimd?23:48
kimdLörrach, actually, on the German side.23:48
kimdEver been there?23:48
+perlDreamermay have driver through it on the way to Hausach or Wolfach23:49
kimdDo you have friends there?23:49
kimdBtw, I solved my git problems.23:50
kimdI had to reset to the commit before the commit causing conflicts.23:51
kimdAfter that I mirrored to my remote repo and pulled in changes from the webgui repo.23:51
kimdNow it seems to be working.23:51
kimdStill, this is really complicated.23:51
+perlDreamerthis is embarrassing, I can't remember the name of the town23:53
+perlDreameralthough, to get there by train we had to go through Switzerland23:53
+patspamyay, just submitted my WUC talk proposal23:59
+perlDreamercool!  What's up patspam?23:59
--- Day changed Tue Apr 06 2010
+patspamah not much, I was going to ask you if you thought I was mad to try to pitch my talk as Intermediate, but I decided to go with Advanced in the end00:00
+perlDreameryeah, plack is definitely advanced00:01
+perlDreameror are we calling it wackgui now?00:01
kimdWhat's plack, btw?00:01
kimdI read that word before in the chat.00:01
kimdMaybe I should join the talk.00:02
+perlDreamerplack is a technology that lets you write web-apps without worrying about what's running underneath you00:02
+patspamthe implications are worth communicating to the non-Advanced crowd - e.g. business owners can start contemplating new types of innovative webgui-powered sites00:02
+perlDreamerso you can run on FCGI mode, or apache/mod-perl, or just about anything00:02
+patspambut I guess it's too early for that00:02
kimdWill that be the future?00:03
kimdIs it something an average user will have to worry about?00:03
@Haargit is also meant to make it easy to combine multiple plack apps and run them together00:03
+perlDreamerpatspam, I could use a TWG consult.00:03
@Haargplack itself is mainly concerned with IO stuff00:03
+perlDreamerI need to supply a default font color for all account plugins00:04
+perlDreamershould I stuff that into wg-base.css, or create an account.css?00:04
@Haargkimd: http://search.cpan.org/~miyagawa/PSGI-1.03/PSGI/FAQ.pod if you want to read about it00:04
+perlDreamerand, if only we'd used File Pump, I could put this into 1 place, instead of into each and every template...00:04
kimdThanks, Haarg!00:05
kimdI am going to have a look at it.00:05
+patspamI think you could go either way, since account plugins are core in a sense00:05
@Haargi've been using plack for a few personal projects and am loving it more and more.00:05
+patspamas long as it has some sort of account-specific selector on it this time around I'm sure the TWG will be happy00:05
@Haargi set up a plack server running inside x-chat the other day (something a friend wanted to do).  it feels wrong for it to be so easy.00:06
kimdI still have only a vague idea what it does.00:06
kimdAll this abstract technical stuff is causing me headaches.00:07
+patspamHaarg: yeah I've been using Tatsumaki a bit for random projects, I like the way it unifies blocking and non-blocking into one API00:07
+perlDreamerthat's exactly it, though, kimd00:08
+perlDreamerit's about abstraction00:08
@Haarghave you used anyevent much patspam?00:08
+perlDreamerno longer being tied to a particular implementation, like modperl00:08
kimdI figured that. It's all that layering stuff.00:08
kimdTo be honest, I don't even know what modperl does.00:09
+patspamHaarg: first exposure to it was Tatsumaki00:09
kimdI have never dealt with that part of WebGUI.00:09
+perlDreamerwe've done a pretty good job of encapsulating it00:09
kimdI assume it's the interface between the web server and WebGUI?00:09
+perlDreamerinside Session.pm and it's subclasses00:09
+patspamseems really nice though00:09
kimdI am glad I do not have to deal with it.00:09
kimdGood job indeed.00:10
kimdOk, guys. It's bed time for me. Have a productive time!00:10
kimdGood night.00:10
-!- kimd [~spunky@p549F7325.dip.t-dialin.net] has quit [Quit: Ex-Chat]00:10
@Haargi started working with poe recently, and have been trying to figure out anyevent now.  i keep trying to figure out how you would do something like poe's yield in anyevent.  i haven't really tried much though.00:11
+perlDreamerthere's an account.css... that helps a lot00:17
CIA-104webgui: Colin Kuskie master * r977036f / (2 files in 2 dirs): Fix #11513, account text follows site defaults. Set a default font color for Account content in root/import/account/account.css - http://bit.ly/b0vrVG00:19
CIA-104webgui: Colin Kuskie webgui-7.8 * r6e25265 / (2 files in 2 dirs): Fix #11513, account text follows site defaults. Set a default font color for Account content in root/import/account/account.css - http://bit.ly/99ebYP00:22
+perlDreamerwhat's that thing you're supposed to do after you run?00:25
+perlDreameroh yeah, eat00:25
* perlDreamer slumps in his chair00:25
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui00:56
mech422hey pd - in profile.pm, an edit form gets built dynamically and the template loops over profile_fields_loop - but I can't see profile_fields_loop getting built anywhere? is there some magic in the super class that builds it ?00:59
+perlDreamermech422: try looking in User.pm01:07
+perlDreamerno, it's all done in Account/Profile.pm01:09
+perlDreamerthe actual form building is done in www_edit01:09
+perlDreamerbut it's passed off to another subroutine, where it sets the template variables01:09
mech422I'm specifically trying to figure out how it 'knows' what XX_fields_loop to build? so I can do the same in my account module... looking at the www_edit method, I see it mucking with $var->{'profile_category_loop'} (but not appending any categories to it?) but nothing for the profile_fields_loop01:14
mech422so I was guessing a 'magic' var got build based on module name ? (MODULE_fields_loop ?)01:15
+perlDreamerkeep tracing the code, www_edit, appendCategoryVars and appendCommonVars01:16
+perlDreamerthat should be all you need01:16
CIA-104webgui: Colin Kuskie master * r9b36e44 / (5 files in 5 dirs): Added JS-type cancel button to edit view of WebGUI::Asset::Post (Bug #11514) - http://bit.ly/9jVL2i01:19
CIA-104webgui: Colin Kuskie master * r01f0250 / docs/changelog/7.x.x.txt : Proper bug attribution to Bernd. - http://bit.ly/9J39Kq01:19
CIA-104webgui: Colin Kuskie webgui-7.8 * r9b2fff7 / (5 files in 5 dirs): Added JS-type cancel button to edit view of WebGUI::Asset::Post (Bug #11514) - http://bit.ly/c2XFiL01:20
CIA-104webgui: Colin Kuskie webgui-7.8 * rd6f4073 / docs/changelog/7.x.x.txt : Proper bug attribution to Bernd. - http://bit.ly/diYQJp01:20
mech422oh crap, I'm an idgit...thanks pd01:21
+perlDreamerprobably smoked too much zope in your ill-spent youth01:21
mech422yeah - got tunnel vision looking at the www_edit, and settings routines01:22
mech422prolly should look at the other 90% of the file too :-P01:22
* perlDreamer heads off to pick up kiddos from school01:23
+perlDreamerback in 2001:24
-!- elnino [~ninow@user-38q49cv.cable.mindspring.com] has joined #webgui01:43
elninoanyone here from the template group?01:43
-!- fokat [~lem@] has joined #webgui01:47
-!- fokat [~lem@] has quit [Client Quit]01:49
-!- fokat [~lem@] has joined #webgui01:50
+perlDreamerelnino, any feedback on those gallery bugs?01:59
elninooh lordy. no.02:00
* perlDreamer prepares to quote Mr. Filch02:07
mech422whoops - wrong channel :-P02:07
+perlDreamerno nudie pictures mech422!02:07
mech422actually, its not :-P  I'm not that kind of Mech02:08
mech422its more a "wishing for nudie" picture02:08
mech422here ya go pd - you'll think this is cute : http://www.nakidness.com/images/funny/pets/dogs/crocodile_dog_suit/02:21
mech422kk - the dog in the croc suit made my afternoon :-)02:24
-!- fokat [~lem@] has quit [Quit: Ex-Chat]02:27
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]02:28
elninoanyone here familiar with temlates? I'm trying to do several layouts using the wg's sidebyside and rightcolumn. but i'm not getting any position blocks to show.02:47
elninowhat does * html do in css?02:52
elninoand how do you google "*"?02:53
@preactionelnino: "ghost root hack"02:55
@Haargit's a rule that only applies to IE02:56
elninoI have no idea what that means preaction02:56
@preactiongoogle that instead of "*"02:56
@Haargit's a css hack that depends on a peculiarity of ie's DOM02:57
elninohm.. ok.03:00
CIA-104webgui: Paul Driver master * rc356a7a / (8 files in 8 dirs): DateTime::Event::ICal in Calendar, workflow to extend recurrence - http://bit.ly/8Y9zEr03:12
+perlDreamerfrodwith, all new modules have to be documented in docs/gotchas.txt.  Could you do that, please?03:16
@frodwithdamnit preaction03:17
@frodwithperldreamer: yes, I noted it in the changelog03:17
@preactionwhat? you said you did that03:17
@frodwithperldreamer: putting it in gotchas now03:17
+perlDreamerthanks, sir!03:17
elninook. let me ask this.  anyone know what might cause two position blocks in a page layout to be black when hovering/moving an asset?03:17
+perlDreamernice tests, btw03:17
+perlDreamerelnino, black is supposed to be the highlight color03:18
+perlDreamermaybe you could paste the layout templates?03:18
+perlDreamerare they core ones, or custom?03:18
elninoyes, im trying to do nested layouts. like rightcolumn and one column does a twooverone type thing03:18
elninobut I'm not sure what the layout and wg-content-position class identifiers do.03:19
* perlDreamer heads back to the kitchen, bbiaw03:19
CIA-104webgui: Paul Driver master * r89b07a4 / (docs/changelog/7.x.x.txt docs/gotcha.txt): Noted new dependancy in the wrong place - http://bit.ly/cadmrz03:19
elninofor clrarity:  http://pastebin.com/Aips5HRT  - the actual template code is way too long.03:27
elninoIm pretty sure wg doesn; like e using the layout idenitfer more than once.03:28
mech422Is there an easy way to see/dump what vars are available at a given template scope ?03:57
mech422<tmpl_loop all> or something ?03:57
@Haargnot really mech422.04:00
@Haargyou could do it with Template::Toolkit04:00
mech422blah - I have no idea where my var is going... I didn't give it permission to wander off and leave the rest of the template!!04:01
mech422I have : http://pastebin.com/LwUe2P1504:03
mech422and template: http://pastebin.com/hszGxF8h04:04
mech422it appears  <tmpl_loop dmn_account_loop> is evaluating to an empty loop as the dmn_test message doesn't display04:04
+perlDreameryou commented out the code that does the magic, mech42204:08
+perlDreameryou let out the magic smoke04:08
mech422pd -what magic ? I basically inlined appendCategoryVars ?04:09
mech422I _thought_ any element of $var got exposed to template, but it appears more complicated then that ?04:10
+perlDreamerit's a loop of loops04:12
+perlDreamercan you remind me what the top level goal of this is?04:12
+perlDreamermaybe you can get what you want a simpler way04:12
mech422I don't really need the nested loops - I just need a fields for a single 'tab' 04:14
mech422so I thought I'd just do something like $var->fields (array)04:14
mech422but that didn't work to good04:15
+perlDreameryou can make a custom template that drops the tabbed interface04:15
+perlDreamerand set the profile fields to be invisible and uneditable04:15
mech422actually - I got the tabs across the top working...04:15
mech422its the template for 'my' module (1 radio box!!) thats the problem04:16
+perlDreamerelnino, that looks like rendered code04:16
+perlDreamermech422, go up another level04:16
+perlDreamerwhat are you trying to do?04:16
mech422should any keys/elements added to $var be available to the template ?04:16
+perlDreamermech422, if you're at the same level or lower, yes04:17
+perlDreamerif you just want to add a radio button, you can add more profile fields04:17
mech422I'm adding an 'account' module that will eventually function as a 'dashboard' for our site specific user stuff - subscription, newsletter subsciption, access to paid services, etc.  Right now, it just needs a single 'subscribe to newsletter' radio button 04:18
+perlDreamerthen you shouldn't build this like the profile module04:19
mech422tried adding it as a profile field - but can't set the profile field defaults using arbitrary perl code - I need to go out to our mass email provider, and query the subscription database to 'get' an accounts current status, and need to send updates back if the user changes the status04:19
+perlDreamerfor that, you make a custom Form plugin04:19
+perlDreamerand set it to be Profile Enabled04:19
+perlDreamerthen you can add it as a profile field04:19
+perlDreamersee, now we're getting somewhere04:20
mech422and I do that for every custom field initializer I want to add later ?04:20
mech422that sounds counter productive04:20
+perlDreamersometimes yes, sometimes no04:20
+perlDreamerbut basing that kind of code on the Profile module is not wise04:21
+perlDreamerit's designed to be automatically extensible and flexible04:21
+perlDreameryou don't need all that in this case04:21
mech422I actually went with the 'account plugin' because I'll have a bunch of external systems to talk to - and getting to build the form myself just seemed easier..04:21
+perlDreamerit would be much easier04:21
mech422I'm not really 'basiing' it on profile - I'm using profile to try and figure out how the form/template stuff works04:22
+perlDreamerit's two steps that are interrelated04:22
mech422I hand build the form field using Form:Radio04:22
+perlDreameryeah just get rid of all the loop stuff04:22
+perlDreamerpass the Template a hashref of variables04:22
mech422kk - trying that now04:23
elninoperlDreamer, yes, the template code is too long. I wanted people to see the div classes I've choosen to use. -  that is what Im trying to accomplish, but I dont think wg likes me using nested "layout" identifiers like that.  04:36
elninoI think Im just going to use tables.04:36
mech422pd - this look better ?  http://pastebin.com/s2prxeMW  (I have 2 test elements, and a loop element getting added for testing...)04:37
+perlDreamerWebGUI::Form::Radio is a class name04:40
+perlDreameryou need to call a method in it to do anything useful04:40
mech422poop - just guessed there...04:41
+perlDreamerI suggest WebGUI::Form::radio, which is a subroutine in the WebGUI::Form package04:41
mech422but dmn_test and dmn_test1 don't appear to be available... or is that cuz the form field is horked04:41
elninoby "not like", wg thinks the nested positions with in the oute position are all the same, and all turn black when I attempted to move an asset to posistion. 04:42
+perlDreamerI'd need to see the template code to tell one way or the other, elnino04:43
+perlDreamerbut you do have those nested div with the same class04:43
+perlDreamerthat could be very bad04:43
elninook ill post it just a sec04:43
+perlDreamermech422, the template itself looks okay.  drop the call to SUPER::appendCommonVars and see what it says04:45
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has left #webgui []04:47
mech422still nothing04:48
mech422let me remove the horked form field and just try it with the test keys04:49
+perlDreamermech422, have you checked the apache error log, and the webgui log?04:52
mech422let me check again...04:52
mech422modperl error log looks ok - webgui log looks ok04:53
mech422template: http://pastebin.com/30cdZcrx  I just expected to see 'DMN TEST' and 'DMN TEST1' in logs04:54
mech422err... in page04:55
+perlDreamerare you using the right template?04:55
elninoperlDreamer http://pastebin.com/ny4TCdMN - but don't worry abou tit much. I'm going with tables at this oint. I have a deadline.04:55
mech422if I change the string literal at the top of the page - it changes when I refresh04:56
mech422so it appears to be correct04:56
-!- stDavid [~stDavid@] has joined #webgui04:57
mech422http://pastebin.com/8mKdfYVb  <- cut it down to 9 lines, still nothing05:00
+perlDreamermech422, could you paste the whole account plugin, please?05:03
+perlDreamersomething doesn't seem right05:03
+perlDreamerlike, are you sure that you're calling the edit method?05:03
mech422I thought www_edit was hardcoded or something - do I configure the method name somewhere ?05:05
mech422http://pastebin.com/TnjBMcR3  <- full plugin05:06
+perlDreamermech422, www_view is hardcoded05:10
+perlDreamerwww_edit has to be called specifically05:10
+perlDreamernow we're getting down to it05:10
+perlDreamerto call www_edit, you need to have op=account;method=edit (I think)05:11
+perlDreamerput all that code into www_view instead05:11
mech422Woot! that did it !05:12
+perlDreamernow are you in business?05:13
+perlDreameralso, if you want a simple yes/no field, use WebGUI::Form::yesNo05:13
+perlDreamerit will do the right thing already, and is internationalized to boot05:13
mech422thanks pd !! :-)05:14
mech422yeah - I looked at WebGUI:Form and WebGUI::Form::Radio - but couldn't puzzle them out...05:15
+perlDreamerRadio is 1 radio button05:15
+perlDreamernot very useful05:15
+perlDreamerRadioList is several buttons for the same form variable name05:15
+perlDreamerYesNo is special Radio List with only two buttons, yes and no05:15
+perlDreamerForm is a dispatcher to any of the form fields, using AUTOLOAD05:16
mech422ahh - I thought there might be some perl voodoo in there05:16
mech422let me go look at YesNo...05:16
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]05:16
-!- stDavid [~stDavid@] has quit [Read error: No route to host]05:33
-!- stDavid [~stDavid@] has joined #webgui05:40
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]05:40
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has quit [Remote host closed the connection]05:56
-!- elnino [~ninow@user-38q49cv.cable.mindspring.com] has quit [Quit: Leaving]06:28
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui08:24
-!- mode/#webgui [+o Haarg] by ChanServ08:24
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:56
-!- kaare is now known as Guest3644308:56
-!- stDavid [~stDavid@] has quit [Quit: zzzzzzzzzz]10:38
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui10:54
-!- mode/#webgui [+v bartjol] by ChanServ10:54
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has joined #webgui14:13
-!- stDavid [~stDavid@] has joined #webgui14:42
-!- stDavid [~stDavid@] has quit [Ping timeout: 248 seconds]15:01
-!- mducharme1 [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui15:11
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Ping timeout: 265 seconds]15:14
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui15:26
-!- mode/#webgui [+o bopbop] by ChanServ15:26
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving]15:32
-!- fokat [~lem@] has joined #webgui15:55
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui16:14
-!- mode/#webgui [+v patspam] by ChanServ16:14
-!- SDuensin [~Scott@mobile-166-137-143-038.mycingular.net] has joined #webgui16:48
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]16:58
-!- Guest36443 [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]17:30
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui17:34
-!- mode/#webgui [+o tavisto] by ChanServ17:34
-!- stDavid [~stDavid@] has joined #webgui17:44
+bartjolmorning SDuensin17:51
SDuensinHey bartjol 17:51
-!- kaare [~kaare@] has joined #webgui18:12
-!- kaare is now known as Guest596418:12
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]18:17
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: This computer has gone to sleep]18:21
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]18:30
-!- kimd [~spunky@p549F46D6.dip.t-dialin.net] has joined #webgui18:42
-!- preaction [~doug@] has joined #webgui18:49
-!- mode/#webgui [+o preaction] by ChanServ18:49
-!- Guest5964 [~kaare@] has quit [Remote host closed the connection]18:50
-!- SDuensin [~Scott@mobile-166-137-143-038.mycingular.net] has quit [Ping timeout: 258 seconds]18:52
kimdNative speakers, would you prefer the label "rotate left" or "rotate counter clockwise"?18:56
-!- SDuensin [~Scott@mobile-166-137-143-133.mycingular.net] has joined #webgui18:58
-!- Haarg [~haarg@] has joined #webgui19:09
-!- mode/#webgui [+o Haarg] by ChanServ19:09
-!- SDuensin [~Scott@mobile-166-137-143-133.mycingular.net] has quit [Ping timeout: 258 seconds]19:22
-!- SDuensin [~Scott@mobile-166-137-143-116.mycingular.net] has joined #webgui19:29
-!- kaare_ [~kaare@] has joined #webgui19:37
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui19:38
-!- mode/#webgui [+o bopbop] by ChanServ19:38
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Client Quit]19:40
-!- SDuensin [~Scott@mobile-166-137-143-116.mycingular.net] has quit [Ping timeout: 258 seconds]19:44
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui19:50
-!- mode/#webgui [+v perlDreamer] by ChanServ19:50
+perlDreamermorning, folks19:50
-!- stDavid [~stDavid@] has quit [Quit: zzzzzzzzzz]19:51
-!- SDuensin [~Scott@mobile-166-137-141-125.mycingular.net] has joined #webgui19:51
@preactionif it is a good morning which i doubt19:54
+perlDreamerwhat kind of calamity do we need to cause this morning, preaction?19:58
@preactionwe could always blow up the urth19:58
+perlDreamerif we blow it up, we couldn't rule it, though19:59
@preactionwho would want to rule it? i have enough trouble just living on it19:59
-!- kaare_ [~kaare@] has quit [Remote host closed the connection]19:59
+perlDreamernice video, preaction20:07
-!- SDuensin [~Scott@mobile-166-137-141-125.mycingular.net] has quit [Ping timeout: 258 seconds]20:07
-!- SDuensin [~Scott@mobile-166-137-143-251.mycingular.net] has joined #webgui20:13
-!- SDuensin [~Scott@mobile-166-137-143-251.mycingular.net] has quit [Ping timeout: 258 seconds]20:30
-!- Haarg [~haarg@] has quit [Ping timeout: 265 seconds]20:39
-!- SDuensin [~scott@173-28-73-10.client.mchsi.com] has joined #webgui21:03
+perlDreamerpatspam, I fixed the Survey multi-slider!21:14
CIA-104webgui: Colin Kuskie master * r33c54b6 / (2 files in 2 dirs): Fix bug #11469, multi-allocation slider doesn't work. Make sure that allocMax is set in all cases. - http://bit.ly/aSnWgW21:15
CIA-104webgui: Colin Kuskie webgui-7.8 * r0bac357 / (2 files in 2 dirs): Fix bug #11469, multi-allocation slider doesn't work. Make sure that allocMax is set in all cases. - http://bit.ly/afeHUh21:15
+perlDreamernext week is a very big week21:17
+patspamwhy is that?21:17
+perlDreamerthat's the end of the 6 week beta testing period for the spectre bug fix21:18
-!- Haarg [~haarg@] has joined #webgui21:18
-!- mode/#webgui [+o Haarg] by ChanServ21:18
+perlDreamerso, if it works, no more spectre restarts21:18
kimdperlDreamer, are you familiar with thumbnail generation?21:28
kimdI have a strange phenomenon here.21:28
+perlDreamertoo familiar, kimd21:28
kimdThat's good.21:28
kimdI cannot get an updated thumbnail after rotating all pictures attached to a photo asset.21:29
kimdThe pictures (that is all resolutions) are rotated properly.21:29
+perlDreamerbut the thumbnail isn't updated21:29
+perlDreamerit stays in the original orientation?21:29
kimdThe thumbnail, however, remains unchanged after calling ->generateThumbnail.21:29
kimdYou are typing too fast :-)21:30
kimdYes, exactly.21:30
+perlDreamerDoes the same thing happen with an Image Asset?21:30
kimdI get no error messages.21:30
kimdNot sure. I am working with the gallery only at the moment.21:30
kimdIt's about RFE #620.21:31
kimdAny idea or hint?21:31
kimdI checked generateThumbnail already.21:31
kimdIt does a call to WebGUI::Storage::generateThumbnail.21:31
kimdI do not see why it should not work.21:32
+perlDreamerwhere does the call happen?21:32
kimdCould this be a browser caching issue?21:32
kimdWait, I am going to put the code into a pastebin.21:32
+perlDreamerit could be a browser caching issue21:33
kimdperlDreamer, check http://webgui.pastebin.com/tLd9kDiZ21:33
kimdOne moment, please. I need to bring my daughter to bed.21:34
+perlDreamerthe next thing I would check is the timestamp on the thumbnail file, and make sure it is being updated correctly without using a browser21:36
kimdperlDreamer, can that be true? It's magically working now.21:40
kimdYou must have some extraordinary powers.21:41
+perlDreamerextraordinary powers only available in the United States, and Germany.  All rights reserved.  For more information on extraordinary powers, please visit www.perldreamer.com21:41
+perlDreamerkimd, what can we do about the Shortcut metadata filter hoverhelp to make it clearer?21:42
kimdHm. Good question.21:49
kimdLet me have a look.21:49
kimdI will try to come up with something useful.21:49
kimdperlDreamer, I guess one thing that would help is graying out elements if the filter is not enabled. The current appearance suggests, that filters and additional meta data gui elements are not related.21:51
kimdIn addition I would add a line of help between the filter text box and meta data fields.21:51
kimdSomething like "Use meta data fields to construct filter rules."21:52
kimdDoes that make sense?21:52
+perlDreamerI don't know about adding the extra line of help21:52
+perlDreamerit does have hoverhelp21:52
kimdThat's true. But the hoverhelp does not cover meta data form elements.21:53
kimdMaybe you could extend hoverhelp with some instructions?21:53
+perlDreameralso, the meta field form elements should be disabled unless "Shortcut by alternate criteria" is selected.21:53
kimdAh. I was too fast. In fact there is already a sentence at the end.21:53
+perlDreamerthe text area grays out, but the builder still works21:54
kimdShould I add that to my bug report?21:54
+perlDreameryes, please21:54
+perlDreamerwe could expand the hoverhelp with better instructions, too21:54
+perlDreamerone sentence is a little terse for something that complex21:55
kimdYou are the native speaker and documentation expert. I leave that up to you ;-)21:57
-!- Getty is now known as _Getty21:57
-!- _Getty is now known as Getty21:58
+perlDreamerkimd, I'm surprised that you didn't notice the i18n bug in there22:00
+perlDreamerthe Add button in the Shortcut form, it says "Add", right?22:00
kimdWait. I just switched to English.22:01
kimdperlDreamer, you are right. Forms apparently are not internationalized.22:02
kimdI am going to add another bug report.22:02
+perlDreamerthey're supposed to be22:02
CIA-104webgui: Colin Kuskie webgui-7.8 * r08b662b / (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Shortcut.pm): Internationalize the Add button in the Criteria builder for the Shortcut. - http://bit.ly/8ZElxy22:02
kimdAh, damn! You are really fast!22:02
+perlDreamerI only did the Add button22:02
+perlDreamerdo AND and OR need it, too?22:03
kimdOne moment. My daughter is complaining.22:03
+perlDreamernope, AND and OR are i18n'ed22:04
kimdperlDreamer, that's correct. German translation is there already.22:08
kimdperlDreamer, thanks for applying the cancel button bug fix. And I am sorry for forgetting about all the other post forms. Were you able to pull my commit without problems?22:13
+perlDreameroh yeah, it worked great22:13
+perlDreamergit remote add spunky spunky_git_url22:14
+perlDreamergit cherry-pick commitspec22:14
+perlDreamerthat was all it took22:14
+perlDreamerthen, wgd edit 5 times22:14
+perlDreamerwgd package -u22:14
+perlDreamerand done!22:14
kimdwgd edit allows you to edit templates directly? Cool!22:15
kimdBtw, I accidently re-opened the bug report :-/22:15
+perlDreamerwgd edit lets you edit _any_ asset22:16
+perlDreamerbut it's very handy for templates22:16
+perlDreamerkimd, what do you think of this for hoverhelp: http://gist.github.com/35796622:17
kimdYeah, that's great. I would understand now :-)22:18
* perlDreamer takes a lunch break22:19
kimdpreaction, do you think drag'n'drop sorting for the gallery is going to make it into 7.9.2?22:51
@preactioni'm trying to get through my inbox today, so probably22:51
kimdCool. Let me know if I need to do more.22:54
kimdEnough for today. Good night everyone!22:54
-!- kimd [~spunky@p549F46D6.dip.t-dialin.net] has quit [Quit: Ex-Chat]22:54
+perlDreamerwhat's the DOM command for grabbing elements by class?23:08
@preactionthere is none.23:13
@preactionYUI has one. YUI.util.Dom.getElementsByClassName() i believe23:13
+perlDreameryup, that is i23:22
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has joined #webgui23:31
+perlDreameralmost got it23:46
+perlDreamerIt would be nice to know why element.concat(YUI.util.Dom.getElementsByClassName()) didn't do the right thing23:46
CIA-104webgui: Doug Bell WebGUI8 * r64f7bd9 / (1004 files in 4 dirs): more work on Admin. added FamFamFam icon set - http://bit.ly/a8kASw23:47
CIA-104webgui: Colin Kuskie webgui-7.8 * rf32f209 / (4 files in 4 dirs): Fix shortcut hoverhelp, javascript, and criteria builder usability. Fixes bug #11516 - http://bit.ly/c8eJd123:53
CIA-104webgui: Colin Kuskie master * r982e511 / (4 files in 4 dirs): Fix shortcut hoverhelp, javascript, and criteria builder usability. Fixes bug #11516 - http://bit.ly/b8SaPZ23:54
CIA-104webgui: Colin Kuskie master * rf06ce2e / (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Shortcut.pm): Internationalize the Add button in the Criteria builder for the Shortcut. - http://bit.ly/adjBzw23:54
--- Day changed Wed Apr 07 2010
+perlDreameri love it when I can write javascript00:00
* perlDreamer heads off to savor the glory, and to pick up the kids from school00:02
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has quit [Quit: Leaving]00:04
+patspamriddle me this00:06
+patspamwhy does modperl drop from 180 req/s to 65 req/s when I turn off Apache2::SizeLimit?00:06
@preactionthat's an excellent question00:07
@preactionimmediately? or after a while?00:07
+patspamsomething else is killing child processes?00:07
@preactionwell there's MaxRequestsPerChild00:07
+patspamit's bizarre, even with that commented out or set to 1000000:08
+patspamI still hit MaxClients00:08
+patspamI'm using ab to benchmark it00:09
+patspamwith: ab -t 3 -c 10 -k00:09
+patspamso, should be 10 concurrent clients00:09
+patspamand I have StartServers, MinSpareServers, MaxSpareServers all set to 1200:10
+patspamand MaxClients set to 1500:10
@preaction10 concurrent clients, but do they request the page collateral too?00:11
@preactionalso, i might try using siege instead00:11
+patspamab should just do a single GET request i think00:12
+patspamit's just bizarre00:14
+patspamI set -c set to something smaller like 5, so ab should do 5 concurrent requests, still get 65 req/s, but if I turn on Apache2::SizeLimit, immediately get 100 more reqs/sec00:15
@preactionperlDreamer: did you pull from kimd for the bugfix he did?00:19
+patspamit's specifically the $Apache2::SizeLimit::CHECK_EVERY_N_REQUESTS setting00:20
+patspamthe higher I set that, the better my reqs/s become00:20
+patspam5 => 160, 20 => 250, 1000 => 350...00:21
@preactionthat sounds like a good blog entry. perhaps you could do me a favor?00:24
@preactioncould you graph a number of points and find an optimal setting before the returns become too much?00:24
+patspamsure - except it's likely to be machine dependent right?00:24
+patspamI'm interested in modperl performance metrics so that i can do fair comparisons to PSGI00:26
@preactionperhaps we could make a script that grabs some data points and then graph them and see if we can find some correlations?00:28
@preactioni like performance enhancement almost as much as i like performance measuring00:28
+patspamyeah, it'd have to rewrite modperl.pl and restart modperl to get each data point00:29
@preactionjust a fun (well, interesting to me at least) exercise if you want to do it. some of the other devs might be interested in a quick way to improve performance on their sites too00:29
+perlDreamerpreaction: yes00:31
mech422patspam: according to this http://perl.apache.org/docs/2.0/api/Apache2/SizeLimit.html thats expected behavior (eg overhead in checkign process size ?)00:33
+perlDreamermech422, but (see head of thread) the funky behavior is with SizeLimit off00:33
+patspamhey mech422! yeah it makes sense with SizeLimit enabled.. the thing that confuses me is.. yeah what perlDreamer said!00:33
mech422apache has process size limiting 'built in' doesn't it ?00:34
-!- SDuensin [~scott@173-28-73-10.client.mchsi.com] has quit [Read error: Connection reset by peer]00:34
* perlDreamer doesn't think so00:34
mech422SizeLimit is just 'better' then the default ...00:34
+perlDreamerjust number of children00:34
+perlDreamernumber of requests for each child00:34
mech422could have sworn it had some max_memory type thing ?00:34
mech422ahh well00:34
mech422so if there's no max - your trashing?00:35
mech422err.. thrashing ?00:35
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui00:36
-!- preaction [~doug@] has quit [Quit: preaction]00:36
+patspamI think there's something else killing child processes.. maybe a built-in apache thing or a stray config option somewhere in the depths of the wre00:36
+perlDreameryou limit memory usage by limiting the number of children, and the number of requests each child should handle before being reaped00:36
+patspamnot thrashing, still plenty of memory free00:37
mech422so you have plenty of memory, and check_every_NN stops if from doing something that burns cpu cycles...00:38
+patspamyeah, that part makes sense00:38
mech422killing/respawning processes or what have you00:38
+patspambut when Apache2::SizeLimit is supposedly turned off00:38
+patspamI still hit MaxClients00:39
+patspamand performance drops by 100 req/s00:39
+patspamsounds like something less efficient that Apache2::SizeLimit is killing children00:39
mech422hmm - define 'turned off' ?  it needs to be removed from the perlCleanuphandler in httpd.conf right ?00:39
mech422or maybe your setting it to 0 and its busy looping ?00:40
+patspamah maybe that's it!00:40
+perlDreamermaybe it's still doing something, even though it's disabled00:40
+patspamI'm just commenting out modperl.pl00:40
mech422coolio - try that and see if it works ?00:41
+patspam400 req/s00:41
mech422acck - I've been replaced !!00:41
mech422Help help !! I'm too cute to increment !!00:41
+patspamheh you have to rename your alias to mech423 now00:42
+perlDreamerperlbot: karma mech42200:42
perlbotperlDreamer: mech422 has karma of 1  00:42
+perlDreameras long as we can access his counter, we can still use arithmetic to find mech42200:43
+perlDreamermech422, how's yer plugin comin'?00:43
mech422Hmm - does this make me stack based ?00:43
mech422pd - good thanks :-)  I'm working on the iContact connection now00:44
+perlDreamerpointer referencing00:44
+patspamawesome, I've got a real target to aim at now for the PSGI branch00:44
mech422pd - thanks for all the help yesterday :-)  I was really getting a bit confuzzled00:44
+perlDreameryou're welcome,  mech42200:44
+perlDreamerit would be worth doing some code review in Content/Account00:45
+perlDreamerto better understand how method calling works00:45
CIA-104webgui: Colin Kuskie master * re724275 / lib/WebGUI/Asset/Shortcut.pm : Fix merge problem - http://bit.ly/a8wEKS00:48
CIA-104webgui: Colin Kuskie master * r2ce0ab7 / t/Workflow/Activity/ExtendCalendarRecurrences.t : Case sensitive tables in the ExtendCalendarRecurrences test. - http://bit.ly/diih5b00:53
+patspamcurrent best benchmark I can get for WebGUI8 is 30 req/s01:13
+patspamwhereas master (7.9) is >400 req/s01:14
+perlDreameris this WebGUI8 with plack and Moose, or just WebGUI8 with moose, patspam?01:16
+patspamjust moose01:16
+perlDreamer13X slower01:16
+patspamthe WebGUI8 branch in git01:16
+patspamdo I need to do anything to configure memcached?01:16
+perlDreamerI always just run it from the command line01:16
+perlDreamermemcached -d01:16
+perlDreameras root01:16
+patspamit's running.. how do I tell if webgui is using it?01:17
+perlDreamerif it can't find a memcached instance, it will crash badly01:17
+perlDreamerso I'd say you're good01:17
+perlDreameralthough I have heard preaction say that the cache code is slower in wg801:18
+perlDreamerbut still, 13X slower is not good01:18
+perlDreamergiven that wg8 was supposed to be about performance01:18
+patspamtry running: ab -t 1 -c 10 -k http://dev.localhost.localdomain:8081/ | grep Req01:18
+patspamor equivalent01:18
+patspamwith StartServers, MinSpareServers, MaxSpareServers, MaxClients all set to 10 in modperl.conf01:19
+patspamassuming you're running preform MPM01:20
+perlDreamerin Master, I get ~75/sec01:23
+perlDreamerin WebGUI8, I get 0.33/sec01:23
+patspamdo you have $Apache2::SizeLimit::CHECK_EVERY_N_REQUESTS set to something big like 1000?01:24
+patspamI was getting 65/sec in Master before I increased it01:24
+perlDreamerthat's with a source install01:24
+perlDreamerand 1/2/5/150 for Start, MinSpare, MaxSpare and MaxClients01:24
+perlDreamerhang on01:27
+perlDreamerI had it stuck in as a clean-up handler01:27
+perlDreamerwith no additional configuration01:27
+perlDreamerlet me comment it out and try again01:27
+perlDreamerwith the Apache::SizeLimit commented out, I still get about ~75 on the top end01:30
+perlDreamerfor master01:30
+perlDreamerbut in WebGUI8 the data varies from 0.6 to 2.601:30
+perlDreamer(range wise)01:30
+perlDreamerthe average is probably 0.801:30
+patspamPSGI branch gets 20/sec using Starman as the server01:33
+patspamfor WebGUI801:33
+perlDreameryou win!01:33
+patspamheh no, I get 30/sec via modperl01:33
+patspambut it's catching up01:33
+patspamthat's with starman --workers 1001:33
+patspamso roughly equivalent to modperl with 10 child processes01:33
+patspamexcept that each starman prefork is only 30 Mb whereas the modperl ones are 70 Mb01:34
+patspamalthough shared memory blah blah01:34
* perlDreamer tries not to get laptop envy01:35
mech422Umm - if your gonna throw in hooks to purge memcached on updates - perhaps it could be generalized to use Varnish as a front-end cache ?01:38
mech422(you purge varnish objects by using http requests)01:39
mech422if you want mind blowing performance - varnish is where its at :-D01:39
mech422hmm - I wonder if there's a modperl thingy for nginx ?01:46
+perlDreamermech422, I think nginx will work in FCGI mode, with a persistent perl interpreter01:47
+perlDreamerwithout the full monte overhead of mod_perl01:47
* perlDreamer is still shocked at the overhead of Moose01:48
mech422yeah - ngnix does FCGI - but can modperl run in a 'normal' perl vm ?01:48
* mech422 has no clue what modperl 'rules' are or what it changes01:49
Gettymod_perl is an apache module.........................01:49
mech422err...I mean can modperl based code run in a 'normal' perl vm01:49
Gettyit depends on what features you use, probably01:49
Gettymod_perl can be used to just start it like a fastcgi and sets some var / vhosts01:50
Gettythat can be easily done different in other webservers01:50
Gettythats why god invented stuff like catalyst to abstract that problem01:50
mech422does modperl have issues with something like this:   bless($self, $class_name); $foo = $self->bar() ; blah blah ; return $self02:10
mech422(eg  can I use $self->method() inside the creator if $self is already blessed ? )02:11
+perlDreamerno, and yes02:11
mech422Hmm - it keeps looking for bar() in package main02:12
+perlDreamerare you inheriting from anything?02:12
mech422Umm - Account02:12
mech422wait, no02:13
mech422I'm use'ing my module from a module based on Account02:13
CIA-104webgui: Colin Kuskie WebGUI8 * rdee5bbe / (8 files in 3 dirs): Proper Moose setup for addRevision... - http://bit.ly/agWSrL02:13
mech422and I get: 02:14
mech422Unable to run www_view on dmnaccount: Can't locate object method "get" via package "main" at /data/DMN/lib/WebGUI/iContactV2.pm line 61.02:14
mech422 at /data/WebGUI/lib/WebGUI/Content/Account.pm line 17102:14
+perlDreamerdoes iContactV2 have a get method?02:15
mech422yes - and it worked as a standalone module02:15
* perlDreamer says "hm" and takes a small break02:16
* mech422 says blah and takes a double shot :-)02:16
-!- fokat [~lem@] has quit [Ping timeout: 258 seconds]02:28
* mech422 starts gutting code02:30
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]02:40
-!- preaction [~doug@66-168-66-52.dhcp.fdul.wi.charter.com] has joined #webgui03:08
-!- mode/#webgui [+o preaction] by ChanServ03:08
+patspamok this is promising03:08
+patspamif I short-circuit contentHandlers in both WebGUI8 and PSGI branches so that they return 200 without doing any work beyond the initial setup03:09
+patspammodperl achieves 800 requests/s03:09
+patspamPSGI (starman) achieves 1100/sec03:09
+patspamso PSGI is now beating modperl, in terms of the basic overhead03:10
-!- preaction_ [~doug@24-196-159-147.dhcp.fdul.wi.charter.com] has joined #webgui03:12
-!- mode/#webgui [+o preaction_] by ChanServ03:12
+patspamthat makes me happy :)03:12
-!- preaction [~doug@66-168-66-52.dhcp.fdul.wi.charter.com] has quit [Ping timeout: 268 seconds]03:12
-!- preaction_ is now known as preaction03:12
mech422patspam: I'm happy too - I beat my code bloody with a big stick, and it now talks XML to iContact from within a WG 'Account' module :-)03:27
+patspampreaction: you about?03:27
@preactionyeah, fixing a compy. sup03:27
+patspamdoes it really need to handle STDOUT and file handles?03:28
+patspamnot sure if it will be a problem or not, but trying to understand why we have it03:29
+patspamand if we will still need it afterwards03:30
+patspamthe only thing I can see that uses $session->output->setHandle is AssetExportHtml03:32
+patspamI don't think we'll need it once we go psgi03:33
@preactionwe have to have HTML export, absolutely must. doesn't matter how we do it, just that we can do it (and that it can be triggered from the UI)03:38
-!- fokat [~lem@] has joined #webgui03:40
* Getty underlines that03:41
-!- stDavid [~stDavid@] has joined #webgui03:46
mech422g'nite all03:53
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has quit [Remote host closed the connection]03:53
-!- perlDreamer [~colink@pool-71-182-84-164.ptldor.fios.verizon.net] has joined #webgui04:14
-!- mode/#webgui [+v perlDreamer] by ChanServ04:14
+perlDreamercurse you preaction, and your GalleryFile hacker!04:15
@preactionsorry, fixing compy for familia04:15
CIA-104webgui: Colin Kuskie WebGUI8 * r18466ca / lib/WebGUI/i18n/English/Asset_GalleryFile.pm : Stubbed out i18n file for Asset_GalleryFile - http://bit.ly/azOYjp04:25
+perlDreameroh, I see04:27
CIA-104webgui: Colin Kuskie WebGUI8 * re03fdef / lib/WebGUI/Asset/Sku/EMSRibbon.pm : i18n fix for EMSRibbon definition - http://bit.ly/c3LdEh04:27
+perlDreamerwhile I slave away over a hot text editor all day long, you're gallavanting along in the spring-time evenings04:27
+patspamwoot, just got streaming response body working04:28
-!- preaction [~doug@24-196-159-147.dhcp.fdul.wi.charter.com] has quit [Ping timeout: 252 seconds]04:29
-!- Haarg [~haarg@] has quit [Ping timeout: 264 seconds]04:36
-!- Haarg [~haarg@] has joined #webgui04:38
-!- mode/#webgui [+o Haarg] by ChanServ04:38
-!- fokat [~lem@] has quit [Remote host closed the connection]04:44
-!- fokat [~lem@] has joined #webgui04:47
CIA-104webgui: Colin Kuskie WebGUI8 * r54ea1f6 / lib/WebGUI/VersionTag.pm : Catch exceptions when making assets to commit. - http://bit.ly/dciNj004:49
+perlDreamercurse you again, preaction!04:54
+perlDreameryou and your defaultless templateId!04:55
+perlDreamermay you grow hair out of your nose and ears04:55
CIA-104webgui: Colin Kuskie WebGUI8 * r1860408 / lib/WebGUI/Role/Asset/Subscribable.pm : 04:59
CIA-104webgui: Set a default template for the Subscription role.04:59
CIA-104webgui: use WebGUI::Mail::Send, too. - http://bit.ly/cwiYVa04:59
CIA-104webgui: Colin Kuskie WebGUI8 * rc549803 / lib/WebGUI/Asset/Wobject/Article.pm : Reindent Article.pm - http://bit.ly/9FFb3605:05
CIA-104webgui: Colin Kuskie WebGUI8 * rce39ad6 / lib/WebGUI/Asset/Wobject/Article.pm : Must set cache after updating, since the attribute clears the cache if the ids are different. - http://bit.ly/aoE5QV05:11
+perlDreameryay!  All tests are passing.05:11
+perlDreamerall 2794 of them05:11
+perlDreamerfirst time ev_ar05:12
CIA-104webgui: Colin Kuskie WebGUI8 * r45b6f45 / (2 files in 2 dirs): Add tests for Article->getStorageLocation, call addToCleanup by classname. - http://bit.ly/da7B4Y05:28
CIA-104webgui: Colin Kuskie WebGUI8 * r794b26d / (2 files in 2 dirs): Moose override commit in Thread and CS. - http://bit.ly/cORcVb05:31
-!- perlDreamer [~colink@pool-71-182-84-164.ptldor.fios.verizon.net] has quit [Quit: Leaving.]05:32
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]05:43
-!- stDavid [~stDavid@] has quit [Read error: No route to host]05:49
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui06:22
-!- mode/#webgui [+v perlDreamer] by ChanServ06:22
+patspamperlDreamer++ congrats!06:25
+perlDreamerthanks :)06:34
+perlDreamerpatspam, you're a very lucky fellow.06:38
+perlDreamerKathy is showing me pictures06:38
+perlDreamerYou and Helen06:38
+patspamha ow man! facebook?06:38
+patspamha, I haven't seen them yet, helen just messaged me a few minutes ago saying that someone had tagged some with us in them06:39
+perlDreameryou've been outted06:41
+perlDreamerprogrammer, business owner, New York socialite06:41
+patspamdrunkard =p06:41
+perlDreamer"classy" drunkard06:49
+perlDreamernot everyone get drunk on fine Oregon wine and Scotch06:50
CIA-104webgui: Colin Kuskie master * rb8a0130 / lib/WebGUI/AssetAspect/Subscribable.pm : Provide a default templateId so the magic buttons work. - http://bit.ly/cioK0j06:51
CIA-104webgui: Colin Kuskie master * r3d593c6 / (61 files in 31 dirs): Preparing for 7.9.2 release - http://bit.ly/chnpuW06:55
CIA-104webgui: Colin Kuskie master * r2e7b230 / (80 files in 40 dirs): Add new uploads. - http://bit.ly/aYxwo206:57
-!- elnino [~ninow@user-38q49cv.cable.mindspring.com] has joined #webgui07:15
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]07:45
CIA-104webgui: Colin Kuskie master * r83ffaf9 / (4 files in 4 dirs): Ready for 7.9.3 development - http://bit.ly/a15Awz07:56
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]08:04
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]08:29
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:58
-!- kaare is now known as Guest4889708:58
-!- elnino [~ninow@user-38q49cv.cable.mindspring.com] has quit [Quit: Leaving]09:10
-!- Radix_ changed the topic of #webgui to: [7.8.15-stable | 7.9.2-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com09:12
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui09:41
-!- mode/#webgui [+o preaction] by ChanServ09:41
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui10:59
-!- mode/#webgui [+v bartjol] by ChanServ10:59
CIA-104WebGUI: translation * r12466 /translations/German/German/Activity_ExtendCalendarRecurrences.pm: Updating German on translation server11:29
CIA-104WebGUI: translation * r12467 /translations/German/German/Asset_Calendar.pm: Updating German on translation server11:29
CIA-104WebGUI: translation * r12468 /translations/German/German/ (4 files): Updating German on translation server11:29
CIA-104WebGUI: translation * r12469 /translations/Dutch/Dutch/ (5 files): Updating Dutch on translation server12:02
CIA-104WebGUI: translation * r12470 /translations/Dutch/Dutch/Asset_Photo.pm: Updating Dutch on translation server12:02
CIA-104WebGUI: translation * r12471 /translations/German/German/Asset_Photo.pm: Updating German on translation server12:02
-!- f00li5h [~f00li5h@unaffiliated/f00li5h] has quit [Ping timeout: 260 seconds]12:58
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has joined #webgui14:08
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has quit [Ping timeout: 258 seconds]14:14
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has joined #webgui14:15
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has quit [Ping timeout: 248 seconds]14:21
-!- fokat [~lem@] has quit [Quit: Ex-Chat]14:36
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving]15:33
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has quit [Read error: Connection reset by peer]15:42
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:04
-!- mode/#webgui [+o bopbop] by ChanServ16:04
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has joined #webgui16:08
-!- SDuensin [~scott@173-28-73-10.client.mchsi.com] has joined #webgui16:50
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]16:51
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui16:55
-!- mode/#webgui [+o preaction] by ChanServ16:55
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui16:56
-!- mode/#webgui [+v perlDreamer] by ChanServ16:56
+perlDreameryo, SDuensin16:56
ckotilanyone know if the bug has been fixed where search results paginate for results that are not viewable by the user?16:58
ckotilexample here: http://tinyurl.com/ygnlbwf16:58
+perlDreamerthere's a bug for that?17:00
+perlDreamerckotil, that page requires a login17:03
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui17:03
-!- mode/#webgui [+v patspam] by ChanServ17:03
@preactionon which page? the Shelf asset? that's not a bu17:04
ckotiloh, hangon.17:06
ckotilforgot i was still on https. 17:07
ckotilwe require login for any https connection17:07
ckotilthe SSO does anyway17:07
+patspamhas anyone tested on Perl 5.12.0 yet?17:18
+perlDreamernot I17:20
+perlDreamerperhaps patspam17:20
+patspamno way that guy never does anything productive17:21
+perlDreamerckotil, that is indeed odd17:21
+perlDreamerbut are you willing to trade large amounts of performance to fix that bug?17:21
+perlDreamerpreaction: indications are that we have indeed fixed the long-term spectre bug17:22
@preactionwhat did it end up being?17:22
+perlDreamerno return value checking on starting a cron job17:24
+perlDreamerif out tester continues to experience no problems, that patch will be included in 7.9.317:24
+perlDreamerand 7.8.1817:24
@preactionso then webgui would think it was started, when it never was, and it would never get started again because they're all singleton17:25
ckotilperlDreamer: nah, its not a real bad bug. just annoying. and noone has even mentioned it yet.17:25
+perlDreamerit's definitely ugly17:25
@preactionckotil: the problem is that the search asset only prefilters by group ID, where canView can do anything17:26
ckotilok. makes sense17:27
ckotilThis sort of thing will be resolved in the greate search rewrite that is webgui8?17:27
@preactionthere is no great search rewrite17:33
ckotiloh. i thought i read that on the todo list.17:33
+patspammaybe in wg9 the WRE should bundle kinosearch or something17:38
@preactionit was. it got bumped because we didn't have time17:38
@preactionhow the heck do i merge kimd's branch? i tried "git merge" but then when i go to rebase so i can push it goes all wonky and makes me manually add everything17:39
+patspamperlDreamer: just to make you jealous..17:41
+perlDreamerthe problem isn't the actual search, it's the display code17:41
+patspam..I'm running webgui and viewing debug/warnings through inside padre17:42
+patspamwith clickable line numbers for warns17:43
+perlDreameris that just a special tail -f, or is there additional padre magin involved?17:43
+patspamit's via the Plack plugin17:44
+patspamthe console lets me start/stop/configure the server, and does an equivalent to tail on the output17:44
+patspamand detects line number references to make them clickable17:44
+perlDreamerI'm not in love with the editor (because it isn't vim) but that's a very nice feature17:45
+perlDreamerback in 2017:45
-!- Guest48897 [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]17:53
-!- Haarg [~haarg@] has joined #webgui18:01
-!- mode/#webgui [+o Haarg] by ChanServ18:01
+bartjolmmm, anyone seen an sqlreport complain about empty queries?18:03
+perlDreameronly in debug mode, bartjol18:04
+bartjolquery1 is doing it's job, only query2 (which indeed is empty) fills up the error log18:05
@Haargi believe it's due to the code editor18:05
@preactionbartjol: upgrade. that was a problem with the code editor adding "\n" to empty items and sqlreport18:05
+bartjolaah, upgrading18:06
+bartjolok, well, not a job for this moment18:06
+perlDreamerpatspam, are you running the latest kernel on ubuntu?18:06
+patspamyeah I think so18:06
+perlDreamerhaving any CDROM problems?18:07
+bartjolI had mine crash once I believe18:07
+bartjolnot sure whether that was the cause18:07
+patspamI haven't used my cdrom in months!18:08
CIA-104webgui: Graham Knop master * r9d760ee / lib/WebGUI/Asset/Wobject/SQLReport.pm : don't warn about white space only in SQLReport queries - http://bit.ly/93kdbx18:08
+bartjolso, I'm the best you've got perlDreamer18:08
+bartjolIt was a DVD, not a cdrom btw18:09
+perlDreameryeah, my bad on that.  It's a combo drive18:10
+perlDreamerit worked fine until this latest kernel upgrade18:10
+perlDreamernow I got no tunes :(18:10
+bartjoloh, well, my sound worked fine18:11
+bartjolwith vlc18:11
@Haargit's been years since i listened to music directly from a cd18:11
+perlDreamerHaarg, the library would think badly of me if I started ripping their media :/18:13
@preactionthey don't gots to knows about it18:15
* perlDreamer is mercilessly honest18:15
+perlDreamerbesides, I can't read from it, so I couldn't rip it anyway18:15
@preactionwell there is that18:15
+bartjoloh, preaction you know what version that bug was resolved (+/- 2), don't go searching for it, I can do that too18:19
@preactionit was in the 7.7 series, near the end i think18:19
+bartjolok, thanks18:19
-!- stDavid [~stDavid@] has joined #webgui18:34
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]18:49
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:53
-!- mode/#webgui [+o bopbop] by ChanServ18:53
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]18:53
-!- stDavid [~stDavid@] has quit [Quit: zzzzzzzzzz]19:02
CIA-104webgui: Doug Bell master * reee547b / (6 files in 4 dirs): Add drag'n'drop sorting to the Gallery Album Edit View (RFE 11007). - http://bit.ly/bAfv2f19:54
CIA-104webgui: Doug Bell master * r2023e9c / (3 files in 3 dirs): fixed JS comment in head tags. added credits - http://bit.ly/aQpdnw19:54
@preactionyay! finally!19:54
@preactionstupid rebase causing problems...19:54
+perlDreamernice work, dude19:56
CIA-104webgui: Graham Knop webgui-7.8 * r528c0e8 / lib/WebGUI/Asset/Wobject/SQLReport.pm : don't warn about white space only in SQLReport queries - http://bit.ly/dCZcVW19:58
-!- kimd [~spunky@p549F37FD.dip.t-dialin.net] has joined #webgui20:02
@preactionkimd: your change didn't get into 7.9.2 because git decided to yank me around (and minor family emergency). but it's merged now20:03
kimdpreaction, no problem.20:04
kimdI actually came to the chat to ask whether I can make changes you requested before merging the patch.20:04
kimdDid you modify the code according to your suggestions?20:05
kimdActually, it's only about the ( something ) && do part.20:06
@preactionno, i didn't change it, but go ahead and i can pull that commit too20:06
@preactioni fixed the JS comment problem though20:06
kimdI think I will do next time I add an action to the www_ajax method.20:13
@preactionanyone see this 2 in 3 YUI thing? http://www.yuiblog.com/blog/2010/03/31/announcing-yui-3-1-0/ <- lets you load YUI2 components and use them inside of YUI3 code20:15
@preactionI.E. we could "transition" to YUI3 and keep all our existing code20:15
kimdWhat's new in YUI3?20:15
@preactionit's a ground-up rewrite. a better question is "what isn't new?"20:16
kimdI mean like "killer features" in you opinion.20:16
kimdWell, I certainly cannot judge this. But I like YUI. If there is a better YUI, why not use it?20:17
@preactionit's less annoying to code with. the Gallery/Loader20:17
@preactionthe Gallery is the real killer app. anyone can put a component into the Gallery and then load it from any site using YUI.use('some-component-name');20:17
kimdI will check that. Sounds interesting.20:20
kimdpreaction, thanks for processing my RFEs. I am quite happy with your answers :-)20:25
+perlDreamerHaarg: it turns out there is a very good reason not to use override/super20:26
+perlDreamerif you have an Asset that uses it20:26
@preactionkimd: np, i figured i better so you don't end up slacking off and finding another project ;)20:26
+perlDreameryou cannot use _that_ module in another module that also super's the same method20:26
+perlDreamerso, for example, I just setup indexContent in all modules with override/super20:26
+perlDreamerand now, almost no module will compile, throwing this error: Couldn't load class (WebGUI::Definition::Role::Asset) because: Couldn't load class (WebGUI::Definition::Role::Object) because: You cannot override 'indexContent' because it has no super method at /usr/local/lib/perl/5.10.0/Moose/Meta/Class.pm line 31520:27
+perlDreamerthe bummer is that using override/super saves you some boilerplate code compared to around/orig/self20:28
@Haargcan you paste the changes you made that led to that error?20:29
+perlDreamersure, although I did them en masse20:29
+perlDreamerand it's mixed in with some spelling typo changes20:30
@Haargweee more code editor bugs21:02
+perlDreamerhaven't seen any reproducible ones in a while21:04
@preactionthe "huge file" one21:10
+perlDreamerif that's the one in the helpdesk, I couldn't duplicate it21:14
+perlDreamernot only that, but the anonymous registration template is not 400 lines long, it's only 35 or so21:14
+perlDreamerso I think somebody hit the wrong button in the wrong place21:14
@preactionor perhaps its an old version where there were problems? are they on 7.7?21:15
+perlDreamer.32, and .3321:15
+perlDreamerpreaction: if an asset behaves differently based on Asset focus, is that a bug?21:21
@Haargi can't say for certain the thing i'm dealing with is due to the code editor21:23
@preactionperlDreamer: Snippet does so explicitly. what's the problem?21:26
+perlDreamerTake a Thingy, give it a default thing and set the default view  to search21:27
+perlDreamerlook at the Thingy on a page, and you get a blank search form21:27
+perlDreamerlook at the Thingy directly, and you get a blank search form, and the results of a search for '*'21:27
@preactionthat's probably a bug21:29
-!- fokat [~lem@] has joined #webgui21:35
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]21:40
+perlDreamerIn 7.9, it always displays the search results, regardless of the mode21:40
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui21:43
-!- mode/#webgui [+o bopbop] by ChanServ21:43
* perlDreamer goes for a run21:52
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:04
-!- kimd [~spunky@p549F37FD.dip.t-dialin.net] has quit [Quit: Ex-Chat]22:17
@Haargpatspam, thank you for filter on wgd ls.  had to do a mass edit of templates and that made it much easier.22:27
+patspamnow I only owe you 499 beers instead of 50022:28
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui22:43
-!- mducharme1 [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Ping timeout: 248 seconds]22:45
CIA-104wgdev: Graham Knop master * r8559d7b / Build.PL : move test modules to build_requires - http://bit.ly/9CxgYj23:04
CIA-104wgdev: Graham Knop master * rd30e92d / (3 files in 3 dirs): attempt to load help pod from *DATA to allow for fatpacked style script - http://bit.ly/9aFn9o23:04
CIA-104wgdev: Graham Knop master * r5157294 / (43 files in 12 dirs): use __DATA__ instead of __END__ to allow easier pod access - http://bit.ly/dbC5Ka23:04
CIA-104wgdev: Graham Knop master * r4cd332f / inc/WGDev/Builder.pm : use fatpack to generate single file dist - http://bit.ly/bEwX3923:04
CIA-104wgdev: Graham Knop master * r97421e0 / lib/WGDev/Command/Ls.pm : fix typo in ls command - http://bit.ly/9TxegH23:04
@Haargat one point i wrote up a change to version tag naming to work better with autocommit.  another one of those things i probably should have finished.23:09
@preactioni'd like to remove the autocommit setting entirely. let the content manager choose if they'd like to save a draft or publish immediately23:17
* perlDreamer loves autocommit23:18
+perlDreameryou can't get rid of it!23:18
@preactioninstead of clicking Save you'd click Publish, that would autocommit. but you'd have the option to click Save and create a version tag23:19
@preactionright now its either On or Off, you don't have a choice23:19
@Haargunless you enable the save and commit button23:20
@preactionright, but even then if you enable autocommit in the settings, you've basically overridden the conf (save just autocommits, save and commit does too, wait what?)23:21
+patspamis the WUC website supposed to send email confirmation that your proposal was received?23:43
@preactioni don't know, but that'd be a good RFE (it's a new feature in the EMS)23:43
@preactionit probably will if it gets accepted or rejected (it uses the same content approval system as everyting else i think)23:44
+patspamperlDreamer and I were discussing the other day that it'd be awesome if there were lightning talk sessions23:44
+patspamwe just need to source a gong23:44
-!- Haarg [~haarg@] has quit [Quit: Leaving]23:50
-!- Haarg [~haarg@] has joined #webgui23:50
-!- mode/#webgui [+o Haarg] by ChanServ23:50
+patspamI've submitted Lightning Talks as a WUC presentation proposal so that it's in the mix when the powers that be are deciding on the schedule23:53
+perlDreamera gong is good, because if the talk is bad, we can ring it again23:59
--- Day changed Thu Apr 08 2010
+perlDreamerand  make the talker fall down into a secret trapdoor00:00
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Remote host closed the connection]00:28
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui00:28
-!- mode/#webgui [+v perlDreamer] by ChanServ00:28
+perlDreamerHaarg, any feedback on the override/super indexContent patch?00:35
@Haargseems rather weird that it would break like that00:36
+perlDreamerit does00:39
+perlDreamerand it's one that we have to fix00:42
+perlDreamersince around has the same problem00:42
@Haargok, that's very odd00:44
+perlDreamerthe stack trace from Article is a little cleaner00:47
+perlDreamerit reminds me of that run-around issue that I had with running perl -wc Asset.pm00:47
+perlDreamerinstead of using -mModule -wce100:47
CIA-104webgui: Colin Kuskie master * ra0253fa / lib/WebGUI/Asset.pm : Remove really old code from the old Rss From Parent asset. - http://bit.ly/9kHV7m00:51
CIA-104webgui: Colin Kuskie webgui-7.8 * r22f1a07 / lib/WebGUI/Asset.pm : Remove really old code from the old Rss From Parent asset. - http://bit.ly/d84L0h00:51
CIA-104webgui: Colin Kuskie WebGUI8 * rf01abc4 / lib/WebGUI/Asset.pm : Remove really old code from the old Rss From Parent asset. - http://bit.ly/9lwHKK00:51
@HaargperlDreamer, how are you testing the brokenness, just trying to load the Article class?00:53
+perlDreamerperl -mWebGUI::Asset::Wobject::Article -wce1 -I/data/WebGUI/lib00:54
+perlDreamerbut the Test::Class tests fail, too00:55
+perlDreamerhere's a patch for around, instead of override: http://gist.github.com/35951700:56
@Haargcircular dependancies00:56
@HaargWebGUI::Asset use's other stuff00:56
@Haargwhich use's WebGUI::Asset::Template00:56
@Haargwhich tries to do around etc00:57
@Haargbut Asset hasn't finished loading yet00:57
+perlDreamerdo we break the circularness by doing require before the other stuff is used?00:57
@Haargprobably by changing use to require for a bunch of stuff in asset00:58
+perlDreamerand by asset, you lib/WebGUI/Asset*.pm00:59
@Haargi mean either WebGUI::Asset needs to require instead of use WebGUI::Session01:00
@Haargor WebGUI::Session::Style needs to require instead of use WebGUI::Asset::Template01:00
@Haargand doing the same for any other circular dependancies01:01
+perlDreamerthis works pretty well for Article: http://gist.github.com/35952001:01
+perlDreamerand the CS01:02
CIA-104webgui: Colin Kuskie WebGUI8 * r953df9d / (3 files): Remove a bunch of circular dependencies, based on using WebGUI::Asset::Template - http://bit.ly/cum3sy01:04
CIA-104webgui: Colin Kuskie WebGUI8 * rc786395 / (13 files in 3 dirs): Moose overriding for indexContent. - http://bit.ly/bR2hoM01:07
CIA-104webgui: Colin Kuskie WebGUI8 * ree725b0 / lib/WebGUI/Asset/Post.pm : Moose override for cut (Post only) - http://bit.ly/bF2Jqs01:24
CIA-104webgui: Colin Kuskie WebGUI8 * r7ba8924 / lib/WebGUI/Asset/Post.pm : Moose override for paste (Post only) - http://bit.ly/bMbsAJ01:25
-!- elnino [~ninow@user-38q49cv.cable.mindspring.com] has joined #webgui01:32
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]01:46
-!- SDuensin [~scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving.]01:49
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui01:50
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui02:02
-!- mode/#webgui [+o Haarg] by ChanServ02:02
+perlDreamerhowdy, elnino!02:02
elninoany body have any recommendations for home insurance?02:04
+perlDreamerwe use State Farm02:08
* perlDreamer is starting to think that purge should just call purgeRevision, one revision at a time02:34
+perlDreamerinstead of duplicating the revision cleanup code in both places02:35
-!- f00li5h [~f00li5h@c220-239-173-27.thorn2.nsw.optusnet.com.au] has joined #webgui02:38
-!- fokat [~lem@] has quit [Quit: Ex-Chat]02:40
-!- f00li5h [~f00li5h@c220-239-173-27.thorn2.nsw.optusnet.com.au] has quit [Read error: Operation timed out]02:42
+perlDreamerelnino, not to hound you, but do you have any comment on my feedback about last two gallery bugs?02:44
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has joined #webgui02:44
-!- f00li5h [~f00li5h@c211-30-214-77.thorn2.nsw.optusnet.com.au] has joined #webgui02:44
-!- f00li5h [~f00li5h@c211-30-214-77.thorn2.nsw.optusnet.com.au] has quit [Ping timeout: 252 seconds]02:49
-!- f00li5h [~f00li5h@c211-30-214-77.thorn2.nsw.optusnet.com.au] has joined #webgui02:50
-!- f00li5h [~f00li5h@c211-30-214-77.thorn2.nsw.optusnet.com.au] has quit [Ping timeout: 240 seconds]03:03
CIA-104webgui: Colin Kuskie WebGUI8 * r616d5cc / (36 files in 6 dirs): Moose overrides for purge, purgeRevision, and purgeCache. - http://bit.ly/9tStAJ04:31
CIA-104webgui: Colin Kuskie WebGUI8 * rd69ed84 / lib/WebGUI/Asset/Post.pm : Fix the POST purge override call to super. - http://bit.ly/cedR8l04:31
elninoperlDreamer, I just commented on one, but I don't know of another gallery rfe?04:51
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has quit [Read error: Connection reset by peer]04:53
elninofound the other.04:55
-!- elnino_ [~ninow@user-38q49cv.cable.mindspring.com] has joined #webgui05:41
-!- elnino [~ninow@user-38q49cv.cable.mindspring.com] has quit [Read error: Connection reset by peer]05:41
+perlDreamerthanks, elnino_05:44
elnino_sorry it took me so long. I'm sure there are many others i haven't responded.05:45
+perlDreamerno, just the one labeled album title05:45
elnino_ok. i'll look.05:47
-!- fokat [~lem@] has joined #webgui05:53
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]06:35
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]07:49
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui09:06
-!- kaare is now known as Guest6832009:06
-!- fokat [~lem@] has quit [Quit: Ex-Chat]09:11
-!- elnino_ [~ninow@user-38q49cv.cable.mindspring.com] has quit [Quit: Leaving]09:21
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui11:29
-!- mode/#webgui [+v bartjol] by ChanServ11:29
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]12:11
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui12:27
-!- mode/#webgui [+o preaction] by ChanServ12:27
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]14:21
-!- MrHairgrease [~martin@] has joined #webgui14:34
-!- mode/#webgui [+v MrHairgrease] by ChanServ14:34
-!- f00li5h [~f00li5h@c211-30-214-77.thorn2.nsw.optusnet.com.au] has joined #webgui15:02
-!- f00li5h [~f00li5h@c211-30-214-77.thorn2.nsw.optusnet.com.au] has quit [Ping timeout: 245 seconds]15:06
CIA-104WebGUI: translation * r12472 /translations/RedNeck/RedNeck/ (5 files): Updating RedNeck on translation server15:12
-!- fokat [~lem@] has joined #webgui15:47
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has joined #webgui15:51
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui15:54
-!- mode/#webgui [+o bopbop] by ChanServ15:54
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has quit [Ping timeout: 264 seconds]16:06
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has joined #webgui16:20
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has quit [Ping timeout: 246 seconds]16:25
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has joined #webgui16:30
-!- MOAR-f001i5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has joined #webgui16:39
-!- MOAR-f001i5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has quit [Ping timeout: 240 seconds]16:45
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has quit [Ping timeout: 276 seconds]16:47
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: This computer has gone to sleep]16:48
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has joined #webgui16:50
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has quit [Changing host]16:51
-!- f00li5h [~f00li5h@unaffiliated/f00li5h] has joined #webgui16:51
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has quit [Remote host closed the connection]16:52
+bartjolmmm, the upgrade to 7.7.33 didn't do much for empty sql query fields in the sqlreport16:56
+bartjolI suppose the upgrade story continues, right after the backup16:56
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has joined #webgui16:56
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui16:58
-!- mode/#webgui [+v patspam] by ChanServ16:58
+patspamall of a sudden the weather is hot here in ny17:03
+bartjolwe have nice weather too17:04
+MrHairgreaseyay for nice weather!17:05
+bartjolboo for long backups17:07
-!- Haarg [~haarg@] has joined #webgui17:14
-!- mode/#webgui [+o Haarg] by ChanServ17:14
-!- Guest68320 [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]17:15
-!- stDavid [~stDavid@72-255-39-197.client.stsn.net] has joined #webgui17:17
+bartjolwhoohoo, it is compressing17:37
-!- elnino_ [~ninow@user-38q49cv.cable.mindspring.com] has joined #webgui17:39
elnino_good morning!17:39
elnino_when I deploy a package, then make changes to the original (add files/delete files/etc) and repackage it and redloy it, 17:39
elnino_it's supposed to update right?17:39
-!- stDavid [~stDavid@72-255-39-197.client.stsn.net] has quit [Quit: zzzzzzzzzz]17:41
+bartjolelnino_: I'm not completely sure about that, it might also be that the url's are "protected" and the next deployment is put next to the old one17:55
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui18:04
-!- mode/#webgui [+v perlDreamer] by ChanServ18:04
+perlDreameris it safe to run myisamchk on a live database?18:07
+patspamperlDreamer: ask Socrates- or SynQ18:10
+bartjolboth not really present I think18:11
+perlDreamerthe manpage says "take a backup first", so I'm guessing that it is sort of okay18:11
+patspamgiven that it's mysql.. I'd be cautious18:11
+bartjola foresighted man counts as two18:13
* patspam is excited about the Paris-Roubaix this sunday18:14
+perlDreamerbartjol, what is the threshold for including a language with the core?18:14
+perlDreamerisn't it 95%?18:14
+bartjoloh, well, we talked about that18:15
+bartjoland there isn't a definite answer I believe18:15
+bartjolthe 3 complete language have been put in18:16
+bartjolis redneck also complete? I saw a commit18:16
+perlDreamerno, just 1 commit18:19
+perlDreamerI hope the fellow from Sweden takes on the grueling task of translating WebGUi18:19
+MrHairgreasetaking it on is the easy part18:20
+MrHairgreasesurving it with you mind still intact not so much18:21
+perlDreamerI think this wiki page needs some updating: http://www.webgui.org/community-wiki/translating-webgui18:21
+perlDreamerhopefully bartjol, KlausH and SquOnk have rounded off enough corners that newcomers can come out only partially damaged18:25
+bartjolMrHairgrease: do you have any comments about the intactness of my mind?18:25
+MrHairgreasenone that you can understand18:26
-!- MrHairgrease [~martin@] has left #webgui []18:32
elnino_bartjol, oh that would be bad.18:34
+perlDreamerbartjol, are you going to let him talk to you that way?18:34
+perlDreamerif I were you, I'd go over to his house, drink his beer and start remodeling his house18:35
elnino_about the packaging... that is, I have no idea what you guys are talking about.18:36
+bartjolwell, I never tried it, neither read the code18:36
+bartjolso don't put too much value in that statement, I can only see that that would be another option18:36
+bartjoleeeh, remodelling martin's house... but marijn will be mad18:40
+perlDreamereh, drink her beer, too.18:40
+perlDreamerif she can't keep him under control, she'll have to deal with the consequences18:40
+bartjolbut colin, I just opened the door, so he could kick it in18:42
* perlDreamer goes to the gym and ponders additional ways of affecting WebGUI's performance18:44
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]19:25
-!- stDavid [~stDavid@72-255-25-0.client.stsn.net] has joined #webgui19:52
-!- f00li5h [~f00li5h@unaffiliated/f00li5h] has quit [Ping timeout: 252 seconds]20:04
ckotilwebgui uses MyISAM as the default mysql engine, correct?20:21
+perlDreameryes, ckotil20:22
ckotilk. im gonna once and for all get all these InnoDB tables out of here. bc it causes me soo many headaches during upgrades.20:22
ckotili must have had the default engine in my.cnf set to innodb when i was running from source before going to the wre20:23
+perlDreamerHaarg, I didn't realize how fragile the loading process was.20:28
+perlDreamerUsing Moose has made this a big problem20:28
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui20:28
-!- mode/#webgui [+o preaction] by ChanServ20:28
@Haargyeah, the way we've been handling it can be very problematic20:29
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Client Quit]20:29
+perlDreamerI've spent the last 2 hours debugging stuff just related to Asset.pm20:30
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui20:34
-!- mode/#webgui [+o preaction] by ChanServ20:34
-!- stDavid [~stDavid@72-255-25-0.client.stsn.net] has quit [Read error: Connection reset by peer]20:49
-!- stDavid_ [~stDavid@72-255-25-0.client.stsn.net] has joined #webgui20:49
+patspamso how are you supposed to enable a language after installing it? just change a user's language preference?20:53
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]20:54
+patspamnever mind21:04
-!- stDavid_ [~stDavid@72-255-25-0.client.stsn.net] has quit [Quit: zzzzzzzzzz]21:05
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui21:11
-!- mode/#webgui [+o bopbop] by ChanServ21:11
-!- JDanPl [~jdanpl@xdsl-461.lubin.dialog.net.pl] has joined #webgui21:47
+patspamcan I send someone a tgz of a new webgui language?21:48
+patspamwebgui.svn.org doesn't like me21:48
+patspamsvn.webgui.org neither21:48
+patspami18n.webgui.org doesn't have an "import .tgz" button21:51
-!- stDavid [~stDavid@72-255-25-0.client.stsn.net] has joined #webgui21:52
+perlDreamersure,  patspam21:53
+perlDreamerI can set that up for you21:53
+patspamta :)21:53
+patspamemail on the way21:55
* patspam wanders off to get lunch21:57
+perlDreamergood idea21:58
-!- JDanPl [~jdanpl@xdsl-461.lubin.dialog.net.pl] has quit [Quit: Leaving]22:35
CIA-104webgui: Doug Bell master * rfe2b817 / (docs/changelog/7.x.x.txt lib/WebGUI/Search/Index.pm): add 11477: Don't fill in a default synopsis - http://bit.ly/bqcx7422:42
+perlDreamerpreaction, do we need an upgrade sub to clear out existing default synopses, or a note that people should reindex their site in the gotchas, or anything like that?22:54
@preactiongood question22:56
@preactioni'll write an upgrade sub to reindex the site22:58
ckotilim working through the 7.7.18-7.7.19 upgrade, and in the removeOrphanedVersionTags it fails, but doesnt tell you the bad version tags. I think i have a query that would help with that.22:58
+perlDreamerwe aren't releasing any new 7.7's22:59
+perlDreamerbut we could always do a community release22:59
ckotili searched the forums for anyone else seeing this problem. but coudlnt find any posts22:59
+perlDreamerckotil: I guess you're just lucky? :/23:04
ckotiland the upgrade proceeds. :)23:10
CIA-104webgui: Doug Bell master * r8a9fc6c / docs/upgrades/upgrade_7.9.2-7.9.3.pl : reindex the site to clear default synopsis - http://bit.ly/9mqbdh23:10
CIA-104WebGUI: translation * r12473 /translations/ (200 files in 3 dirs): Updating Australian on translation server23:11
ckotilhttp://www.pastebin.org/141866 if your interested in the query23:15
-!- stDavid [~stDavid@72-255-25-0.client.stsn.net] has quit [Quit: zzzzzzzzzz]23:17
+perlDreamerHaarg: by what process are old translation files removed from the translation server?23:17
@Haargno idea23:18
-!- stDavid [~stDavid@72-255-25-0.client.stsn.net] has joined #webgui23:18
-!- stDavid [~stDavid@72-255-25-0.client.stsn.net] has quit [Client Quit]23:18
+perlDreamerI guess that would mean "manually" :)23:19
--- Log opened Fri Apr 09 12:06:43 2010
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui12:06
-!- mode/#webgui [+v bartjol] by ChanServ12:06
--- Log opened Fri Apr 09 17:43:29 2010
-!- noroute [~noroute@z2f73.pia.fu-berlin.de] has quit [Quit: noroute]17:43
-!- cap10morgan [~cap10morg@205.sub-75-196-100.myvzw.com] has joined #webgui17:52
-!- mode/#webgui [+v cap10morgan] by ChanServ17:52
+patspambartjol: it's not my fault australian is similar to american =p17:53
-!- cap10morgan [~cap10morg@205.sub-75-196-100.myvzw.com] has left #webgui []17:53
+bartjolbut there are definitely missing australian words17:54
+patspamheh yeah I like the s/friends/mates/17:54
-!- MrHairgrease [~martin@] has joined #webgui17:54
-!- mode/#webgui [+v MrHairgrease] by ChanServ17:54
+patspamI'll work that in17:54
+bartjolYou just want to join the l33t group of trnsaltors17:56
-!- Haarg [~haarg@] has joined #webgui17:56
-!- mode/#webgui [+o Haarg] by ChanServ17:56
-!- cap10morgan_ [~cap10morg@] has joined #webgui18:01
-!- mode/#webgui [+v cap10morgan_] by ChanServ18:01
-!- cap10morgan_ is now known as cap10morgan18:03
-!- cap10morgan [~cap10morg@] has left #webgui []18:04
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]18:50
-!- kaare_ [~kaare@] has joined #webgui18:55
-!- MrHairgrease [~martin@] has quit [Ping timeout: 276 seconds]18:57
CIA-104webgui: Doug Bell WebGUI8 * r4519f55 / docs/gotcha.txt : fixed gotchas to remove memcached - http://bit.ly/aQP1mQ18:58
CIA-104webgui: Doug Bell WebGUI8 * rb6b5e6c / lib/WebGUI/Asset/Wobject/Layout.pm : fix deep recursion on getContentLastModified - http://bit.ly/ciujBq19:13
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui19:23
-!- mode/#webgui [+v perlDreamer] by ChanServ19:23
@Haargmorning perlDreamer19:23
+perlDreamermorning, Haarg19:23
+perlDreamerpatspam, I need a resend of your email of this morning, please19:24
+perlDreamerit was nested in between a bunch of spam, and it was accidently deleted19:26
+patspamheh your spam filter detects australian content as spam?19:27
+perlDreamerno, it was collateral spammage19:28
-!- kaare_ [~kaare@] has quit [Ping timeout: 258 seconds]19:31
+perlDreamerperhaps later today I'll whip up a Test::Deep script that tells me just how Australian your translation really is19:31
+patspamthe output will be: crikey!19:33
-!- kaare_ [~kaare@] has joined #webgui19:37
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has quit [Remote host closed the connection]19:43
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has joined #webgui19:46
+perlDreamerto be precise, "Crikey!  This translation is chock-a-block full of little beauties!"19:49
+patspamI was disappointed at the limited scope for dropping in slang, we need more colourful i18n source messages19:53
+patspamthings like: "your submission has been accepted, isn't that fantastic?"19:54
+patspamso that we can translate: "yep, got it, bloody ripper!"19:54
+perlDreamerpatspam: MySQL to MongoDB migration notes: http://broadcast.oreilly.com/2010/04/mongodb-experts-model-the-move.html19:55
+perlDreameryou can always build a custom translation full of slang19:55
+perlDreamerlike RedNeck19:56
+patspamyeah Andy Oram was at the NoSQL Live conference in boston a few weeks back19:56
+perlDreamerpatspam, updated translation installed20:10
+perlDreamerit could use an SVN commit through the interface to update it20:10
+patspamwould it be easy for me to get svn access to I don't have to keep bothering you20:12
+perlDreamer1) it's no bother20:14
+perlDreamer2) you'd have to ask those in charge20:14
* perlDreamer only pawn... in game of life20:15
CIA-104webgui: Colin Kuskie WebGUI8 * r0c00308 / (3 files): Moose overrides in Event, File, Post - http://bit.ly/9zp3yt20:17
CIA-104webgui: Colin Kuskie WebGUI8 * rc35f3b9 / (6 files): Moose subclassing for Asset/*.pm. - http://bit.ly/b04Ccq20:31
+patspamin that case..20:34
CIA-104webgui: Colin Kuskie WebGUI8 * rd3a3c4d / (4 files in 2 dirs): Moose subclassing for Asset/File/* - http://bit.ly/bf9lYt20:36
+perlDreamerHaarg, preaction, with that last commit, the phrase SUPER has been eliminated from all Assets with the following exceptions:20:37
+perlDreamer1) the email y'all haven't responded to yet20:37
+perlDreamer2) odd cases when you're calling SUPER::someMethod from someOtherMethod20:37
+perlDreamerI'll wait 'til Monday on (1) then I'm going to implement it20:38
+perlDreameron (2), I think I can convert some existing tests to verify how it will work20:38
@Haargpatspam, the only issue with giving svn access to translations is i don't remember how the translation server deals with that20:38
@Haargmore specifically, i don't think it does, and that can be problematic.20:39
-!- kaare_ [~kaare@] has quit [Remote host closed the connection]20:39
+perlDreamerHaarg, translationServer.cgi, line 43120:40
@Haargwell, that's something i guess20:41
+perlDreamerI don't know how it handles conflict resolution, but I remember thinking we made the translation server the canonical reference, so that conflicts were dropped in its favor20:42
@Haargstill less than ideal because it doesn't see the changes until someone tries to change something20:43
+perlDreamerthe other thing I remember is that we'd decided to freeze the CGI until two things happened20:44
+perlDreamer- we could move it to git20:44
+perlDreamer- it was integrated as an Asset to give people karma for translating20:44
@Haargmoving it to git will most likely be much easier in webgui 820:46
@Haargwell, moving it to git will be much easier if i can use moose20:46
CIA-104webgui: Colin Kuskie WebGUI8 * r943ae9f / lib/WebGUI/Role/Asset/Subscribable.pm : Only delete a group if it exists. - http://bit.ly/d8hF6i21:19
CIA-104webgui: Colin Kuskie WebGUI8 * r4210d06 / lib/WebGUI/Role/Asset/Subscribable.pm : Removed unneeded use module line. - http://bit.ly/aWsRke21:24
CIA-104webgui: Colin Kuskie WebGUI8 * r5399eb2 / lib/WebGUI/Asset/Wobject/DataTable.pm : Use the right i18n namespace for DataTable's assetName - http://bit.ly/b6XFKb21:46
CIA-104webgui: Colin Kuskie WebGUI8 * rf36a30f / t/tests/Test/WebGUI/Asset.pm : Refactor out code to build an asset with a real parent. Add purge tests. - http://bit.ly/9ScPkO21:47
* perlDreamer goes running22:03
+patspamfrogwith: ping22:44
+patspamfordwith: ping22:44
+patspamcan't type22:44
@frodwithpastapm: wut22:44
+patspamyou've been playing with plack?22:46
+patspamhave you looked at the psgi branch recently?22:46
+patspamI've been hacking on it quite a lot this week22:46
@frodwithnot this week, I haven't22:47
@frodwithwhat've you been up to in there?22:47
+patspamthe foundation is mostly in place now22:47
+patspamyesterday I put in some middleware that opens/closes the session22:48
+patspamso that all wG middleware and the wG app itself can just use it throughout the request cycle22:48
@frodwithhave you looked at this at all?22:48
@frodwiththere's some session mddielware in there22:48
@frodwith*middleware, too.22:49
@frodwithin that dist, anywho22:49
+patspamyeah, I saw WebGUI::PSGI::Middleware::Session22:49
+patspamI've gotten the basic architecture roughly how I like it (http://github.com/plainblack/webgui/blob/psgi/README)22:50
+patspamthe next phase is working through the cascading effect on the rest of wG22:51
+patspamTODO is at: 22:51
@frodwiththis is a wg8 branch?22:52
+patspambenchmarks are good too22:52
+patspamcompared to WebGUI8 anyway ;)22:52
+patspamgetting close to parity22:52
+patspamWebGUI8 is 30 req/s whereas the psgi branch is 23 req/s22:53
@frodwithhave you profiled at all?22:53
+patspamreally easy to NYTProf it now that there's no more modperl22:53
@frodwith*curses at modperl*22:54
+patspamthe promising thing is that if you insert a static contentHandler so that only the scaffolding is doing any work, it's actually about 20% faster than WebGUI822:54
+patspamanyway, I could really do with other people hacking on it and adding new ideas22:55
@frodwithif you what now?22:55
@frodwiththis is the part where you convince preaction that I should be paid to hack on this :-p22:56
* patspam does a jedi wave in front of preaction's face22:56
@frodwithrunning things under a plack server pays dividends in terms of development time alone22:58
@frodwitheasier to profile, non-buggy changes without restarting the server, other things I'm sure22:58
+patspamyeah, perlDreamer is going to have a field day with Plack::Test22:58
+patspamI'm most excited about the new deployment options22:59
@frodwithhave you been following miyagawa's cloud thing?  sunaba, is it?22:59
+patspamyeah, insane23:00
+patspamI guess the biggest props go to dankogai for implementing the sandbox23:00
@frodwithah.  I just got a general idea from miyagawa's tweets, haven't look at the implementation or anything23:01
@frodwithbut running psgi apps in the cloud = awesome.23:02
+patspamyeah, I have extreme heroku envy so it's a welcome development23:03
@Haargpreaction, do you have any problem with me making WebGUI::SQL a DBI subclass?23:12
clifmoshould i have apache & mysql installed before installing with wre?23:25
--- Day changed Sat Apr 10 2010
-!- nuba [~nuba@pauleira.com] has joined #webgui00:11
-!- nuba [~nuba@pauleira.com] has left #webgui []00:19
+perlDreamerclifmo, the WRE will provide apache and mysql for you00:24
+perlDreameryou do not need to have it installed00:24
+perlDreamerin fact, if mysql is already installed, it can interfere with the WRE00:24
+perlDreamerbut there are instructions in the wiki on how to handle that00:24
+perlDreamerpatspam: you're installed again00:26
+patspamwooh, back to 100%00:28
+perlDreamerwhat's Plack::Test?00:28
+perlDreamersounds like we could drop WebGUI::PseudoRequest00:32
+patspamoff a cliff00:34
+perlDreamerare you hating on my faux test module?00:34
+patspamhehe no00:35
+perlDreamerWebGUI8's new assets aren't looking that bad so far00:56
+perlDreamerthere is some hangup with purging Wiki related assets00:56
+perlDreamer...and then I ran the paste test01:01
CIA-104webgui: Colin Kuskie WebGUI8 * r69904f6 / t/tests/Test/WebGUI/Asset.pm : Tests for cut. Total of 3081 tests so far. - http://bit.ly/axgGaL01:05
CIA-104webgui: Colin Kuskie WebGUI8 * r4895b14 / lib/WebGUI/Asset.pm : hm, actually need that WebGUI::Asset::Shortcut thing - http://bit.ly/daYyM201:05
CIA-104webgui: Colin Kuskie WebGUI8 * racded27 / lib/WebGUI/AssetClipboard.pm : Pass myself along as the asset to check for valid parentage. - http://bit.ly/bCrYqW01:05
CIA-104webgui: Colin Kuskie WebGUI8 * r8e946aa / lib/WebGUI/Asset/File/GalleryFile.pm : Fix a typo in getCurrentRevisionDate. - http://bit.ly/dnI1FX01:13
CIA-104webgui: Colin Kuskie WebGUI8 * ra598c13 / lib/WebGUI/AssetClipboard.pm : Do not pass myself off as a parent. - http://bit.ly/de1nug01:22
CIA-104webgui: Colin Kuskie WebGUI8 * ra79f813 / t/tests/Test/WebGUI/Asset.pm : Add tests for paste. Be sure to setup session->asset for canPaste tests. - http://bit.ly/9ZwOrO01:22
+perlDreamerhave a good weekend everyone!01:23
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]01:23
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]01:44
CIA-104webgui: Patrick Donelan psgi * rf22020c / (7 files in 5 dirs): 01:44
CIA-104webgui: Turned on Debug middleware01:44
CIA-104webgui: Removed unnecessary $session->close() now that we have WebGUI::Middleware::Session01:44
CIA-104webgui: Fixed Content-Type bug - http://bit.ly/ccUkvt01:44
CIA-104webgui: Patrick Donelan psgi * r2bac95f / (TODO app.psgi lib/WebGUI/Session/ErrorHandler.pm): Mostly decoupled WebGUI from Log4perl - http://bit.ly/d12RlM01:44
-!- Mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has joined #webgui02:04
Mech422Mech's stupid question of the day - anyone know why this renders with 'no' checked ?  :02:04
Mech422   my $fieldForm = WebGUI::Form::YesNo($session, { 02:05
Mech422                                             name  => "dmn_subscribed",02:05
Mech422                                             value => 1, #$var->{'subscribe'},02:05
Mech422                                             label => 'subscribed',02:05
Mech422                                             });02:05
@preactionMech422: don't do that. use a pastebin.02:05
Mech422I've also tried it with defaultValue=>102:05
Mech422preaction: sorry - figured 5 lines was small enough... mea culpa02:05
Mech422btw - Image.pm uses -name and -value ?  02:07
@preactioni don't know what's wrong with the yesno, and i don't know what the question is about Image.pm?02:08
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]02:08
Mech422preaction: I guess the question is - Is Image.pm using the 'wrong' parm names, or are there 2 sets of parms ? ('name', '-name') ? or is one deprecated ?02:10
@preactionname and -name are the same, -name is deprecated02:11
Mech422ahh cool02:11
Mech422on the bright side, the xml comms with iContact work pretty well :-)  I thought modperl might get upset about me doing http calls and stuff - but it seems pretty happy02:14
Mech422have I just been lucky or is modperl generally considered 'mashup' friendly ?02:15
CIA-104webgui: Doug Bell WebGUI8 * ra759848 / (3 files in 2 dirs): initial locationbar commit - http://bit.ly/bpX51h02:15
-!- elnino_ [~ninow@user-38q49cv.cable.mindspring.com] has quit [Quit: Leaving]03:54
-!- fokat [~lem@] has quit [Remote host closed the connection]04:26
-!- fokat [~lem@] has joined #webgui04:30
-!- fokat [~lem@] has quit [Remote host closed the connection]04:30
-!- fokat [~lem@] has joined #webgui04:33
-!- fokat [~lem@] has quit [Remote host closed the connection]04:33
-!- fokat [~lem@] has joined #webgui04:42
-!- Mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has quit [Remote host closed the connection]04:57
-!- fokat [~lem@] has quit [Quit: Ex-Chat]05:16
-!- _lsr [~danger@ppp118-209-235-177.lns20.mel6.internode.on.net] has joined #webgui05:25
-!- _lsr [~danger@ppp118-209-235-177.lns20.mel6.internode.on.net] has quit [Quit: Leaving.]05:44
-!- fokat [~lem@] has joined #webgui06:01
-!- kaare [~kaare@] has joined #webgui08:09
-!- kaare is now known as Guest92408:10
-!- Guest924 [~kaare@] has quit [Remote host closed the connection]08:14
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui10:38
-!- mode/#webgui [+o Haarg] by ChanServ10:38
-!- ottoshmidt_ [~ottoshmid@] has joined #webgui16:08
-!- ottoshmidt_ is now known as ottoshmidt16:22
-!- fokat [~lem@] has quit [Quit: Ex-Chat]16:26
ottoshmidtI am an absolute noob to webgui, installed from debian package manager and now I don't know how to run it16:28
ottoshmidtcan anyone help?16:28
ottoshmidtRadix_, are you here?16:30
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has quit [Quit: Leaving]16:33
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]17:14
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Ping timeout: 260 seconds]17:48
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui17:53
-!- mode/#webgui [+v patspam] by ChanServ17:54
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui17:59
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui18:27
-!- mode/#webgui [+o preaction] by ChanServ18:27
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Read error: Connection reset by peer]18:38
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui18:38
-!- mode/#webgui [+o preaction] by ChanServ18:38
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]18:48
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui19:35
-!- mode/#webgui [+o preaction] by ChanServ19:35
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Client Quit]19:38
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui19:42
-!- mode/#webgui [+o preaction] by ChanServ19:42
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Client Quit]19:42
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui19:47
-!- mode/#webgui [+o preaction] by ChanServ19:47
-!- ottoshmidt [~ottoshmid@] has quit [Quit: Ex-Chat]20:33
--- Day changed Sun Apr 11 2010
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]00:57
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui02:47
-!- mode/#webgui [+o preaction] by ChanServ02:47
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]07:09
-!- ottoshmidt [~ottoshmid@] has joined #webgui10:08
-!- ottoshmidt [~ottoshmid@] has left #webgui ["Ex-Chat"]10:58
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui16:41
-!- mode/#webgui [+v patspam] by ChanServ16:41
-!- fokat [~lem@] has joined #webgui20:28
Gettycan someone here probably help me?22:01
Gettyaehm with a catalyst i18n problem...22:02
Gettyi totally dont get it...22:03
--- Day changed Mon Apr 12 2010
CIA-104webgui: Patrick Donelan psgi * r716bdae / (7 files in 5 dirs): 00:28
CIA-104webgui: Added exception handling00:28
CIA-104webgui: Added error doc mapping00:28
CIA-104webgui: Moved more logic into Session middleware00:28
CIA-104webgui: Added Credit example to app.psgi00:28
CIA-104webgui: Made StackTrace and Debug panel automatically turn on when debug mode enabled00:28
CIA-104webgui: Fixed errorHandler - http://bit.ly/c80Whv00:28
CIA-104webgui: Patrick Donelan psgi * r42c1a8e / (6 files in 4 dirs): Made $session->log->fatal() message pass through - http://bit.ly/9fwfmt00:29
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui05:43
-!- mode/#webgui [+v perlDreamer] by ChanServ05:43
+perlDreamerpreaction: do you want me pester you now or later about Location Bar i18n?05:58
CIA-104webgui: Colin Kuskie WebGUI8 * r873c07a / lib/WebGUI/Role/Asset/Subscribable.pm : Must return the state of the call to super() in Subscribable's purge. - http://bit.ly/9Ypclk05:58
CIA-104webgui: Colin Kuskie WebGUI8 * r2d4d95a / t/tests/Test/WebGUI/Asset.pm : Add 1 basic test for canPaste. - http://bit.ly/8Zivih06:24
CIA-104webgui: Colin Kuskie WebGUI8 * re8d196c / t/tests/Test/WebGUI/Asset.pm : Produced assets should be refreshed from the db. - http://bit.ly/auFqtm06:35
@preactionperlDreamer: later will be fine, since everyone else is already pestering me about something06:38
+perlDreamerokay, preaction, when is a good time for you?06:41
+perlDreamerLate next week?06:41
@preactiontry early next year how about?06:42
@preactionor the day after i'm fired for whatever it is i do wrong these days06:42
+perlDreamerit's gotta be fixed before wg8 release, otherwise my boss will be very upset06:42
@preactionyes, yes he will06:42
@preactionbut i thought we were revisiting i18n entirely06:42
+perlDreameronly from an API standpoint06:42
+perlDreamernot from the need to make sure that all labels aren i18n'ed06:43
@preactionright, but if the API changes, the way i'd get my i18n values would change06:43
+perlDreamerno, you'll still make a call through the JS API06:43
@preactionit will be i18n, once i convince TMRFE that i'm actually accomplishing something06:43
+perlDreamerI thought you were TMRFE06:45
@preactionso did i06:45
@preaction*spooky noise*06:45
+perlDreamerwell, if you're still employed later, I'll pester you about it06:49
+perlDreamerunless I'm not employed either06:49
* perlDreamer gulps and sweats06:49
@preactionthat is true, then nobody needs to care about anything! yay!06:49
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]07:10
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:08
-!- kaare is now known as Guest6132208:09
+perlDreamerGuest61322, you can ask WebGUI questions in this channel, whatever your nick is08:11
CIA-104webgui: Colin Kuskie master * r1593996 / (7 files in 2 dirs): Add better comment rating icons. They still have smiley faces, but they're cleaned and trimmed up. - http://bit.ly/d9M1Il08:20
-!- Guest61322 is now known as kaare_08:21
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]08:49
-!- Getty [torsten@conflictindustries.org] has quit [Ping timeout: 276 seconds]09:31
-!- fokat [~lem@] has quit [Quit: Ex-Chat]09:39
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: Leaving]10:07
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui10:31
-!- mode/#webgui [+o Haarg] by ChanServ10:31
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui10:40
-!- mode/#webgui [+v bartjol] by ChanServ10:40
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Ping timeout: 276 seconds]14:08
-!- Getty [torsten@conflictindustries.org] has joined #webgui14:39
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui14:40
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Client Quit]14:41
-!- Getty [torsten@conflictindustries.org] has quit [Ping timeout: 276 seconds]14:46
-!- Getty [torsten@conflictindustries.org] has joined #webgui15:22
-!- Getty [torsten@conflictindustries.org] has quit [Ping timeout: 276 seconds]15:28
-!- Getty [torsten@conflictindustries.org] has joined #webgui15:56
-!- Getty [torsten@conflictindustries.org] has quit [Ping timeout: 276 seconds]16:03
-!- steveo_aa [~sno@] has joined #webgui16:04
-!- mode/#webgui [+o steveo_aa] by ChanServ16:04
-!- fokat [~lem@] has joined #webgui16:05
-!- fokat [~lem@] has quit [Client Quit]16:07
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui16:49
-!- mode/#webgui [+v patspam] by ChanServ16:49
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]16:50
-!- SDuensin [~Scott@mobile-166-137-140-152.mycingular.net] has joined #webgui16:52
SDuensinGreetings and stuff.16:53
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui16:53
-!- mode/#webgui [+v perlDreamer] by ChanServ16:53
+bartjolcool stuff?16:54
SDuensinYea, actually.  :-)16:57
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: This computer has gone to sleep]17:15
+bartjolvery good17:16
SDuensinJust need to get enough coffee in me to deal with SQL today.17:18
+bartjolah, and that is a measure in gallons?17:21
SDuensinIt may be before this is over.  Dredging up old knowledge and trying to make it work again.17:22
SDuensinI'm building an app that runs on the web, but I want to have everything needed to test it live in my IDE.  So no external web server, no SQL server, etc.17:25
-!- mducharme1 [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui17:31
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Ping timeout: 246 seconds]17:33
-!- Haarg [~haarg@] has joined #webgui17:42
-!- mode/#webgui [+o Haarg] by ChanServ17:43
+perlDreamerSDuensin, check out Plack, and Padre17:59
SDuensinI don't think they'll do Jack for Java.  :-D17:59
+perlDreamerdude, if you write it in Java, it's your own fault18:00
SDuensinFor being productive, it's still my favorite.  And with GWT, I use the same language for the entire project - UI and all.18:00
@preactionit sounds good on paper, but how does it perform in the Real World?18:02
SDuensinExtremely well.  18:02
SDuensinThe new JVMs are FAST.18:02
-!- Getty [torsten@conflictindustries.org] has joined #webgui18:03
-!- Getty [torsten@conflictindustries.org] has quit [Ping timeout: 276 seconds]18:10
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]18:31
-!- Haarg [~haarg@] has quit [Ping timeout: 240 seconds]18:44
-!- Haarg [~haarg@] has joined #webgui18:45
-!- mode/#webgui [+o Haarg] by ChanServ18:45
-!- f00li5h [~f00li5h@unaffiliated/f00li5h] has quit [Ping timeout: 246 seconds]19:17
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has joined #webgui19:17
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui20:11
-!- mode/#webgui [+o bopbop] by ChanServ20:11
-!- kimd [~spunky@p549F7621.dip.t-dialin.net] has joined #webgui20:32
kimdHi folks! I would like to get some opinions on RFE #620 (http://www.webgui.org/rfe/request-for-enhancement/gallery-rotate-photos).20:40
kimdShould I add buttons for flipping photos?20:40
kimdDoes that make sense?20:41
kimdOr is 90° clockwise and counterclockwise sufficient?20:41
@preactionkimd: however you want. the RFE only specifies the CW and CCW, but if you want flip go for it20:43
kimdThat is I would be allowed to do that?20:43
kimdOk. I will think about it.20:44
kimdpreaction, perlDreamer, I have another (testing-related) question.20:45
+perlDreamerbring it on!20:45
kimdI am using the rotate method provided by WebGUI::Storage20:45
kimdThere is no testing code yet.20:45
kimdI would like to add some.20:46
kimdDo I have to test in WebGUI::Storage and WebGUI::File::GalleryFile::Photo?20:46
@preactionjust in the Storage one20:46
kimdActually, testing in  WebGUI::File::GalleryFile::Photo would catch any error in WebGUI::Storage as well.20:47
kimdThe coverage would be better. However, testing would be more indirect.20:47
+perlDreamerit should be tested at the source20:47
+perlDreamerthen you can trust that it works there, and everywhere else20:47
kimdOk. I will do it there then.20:47
@preactionand it would only test for Photo, not for Image, or any other random class that uses the rotate() method20:47
@preactionthat's why you should only test the code in the method, not any related methods (it doesn't matter HOW the job gets done, just that it gets done)20:48
@preactionthis is so later we can completely refactor that method, not use Storage->rotate(), and the tests will still pass (and Storage->rotate() will still be tested, even though we don't use it in Photo anymore)20:48
+perlDreamerwas that just an example, or would we really support multiple rotate methods?20:50
kimdNo. The difference is that in the photo asset rotate will rotate all files in storage and re-create the thumbnail.20:50
@preactionthat's just an example20:50
kimdBut it uses the rotate method of the storage for individual files.20:50
kimdHow would I test the rotate method of the photo asset then?20:51
kimdI would have to look at pixels of files as well.20:51
kimdOr am I missing something?20:51
+perlDreamerno, you're right20:51
+perlDreamerbecause you have to check that it was rotated20:51
+perlDreamerthat every file in the storage location was rotated20:52
+perlDreamerso you check to make sure that Storage->rotate does the right thing20:52
+perlDreamerand that Photo->www_rotate also does the right thing20:52
kimdAlright. I think I know what to do.20:52
+perlDreamerI would upload a rectangular image, and then check the aspect ratio before and after rotating20:53
kimdHey, pearlDreamer! You are genious!20:54
kimdThat is much easier.20:54
kimdHowever, that doesn't catch the difference between rotating clockwise and counter-clockwise.20:54
kimdBut both is probably good: checking the aspect ratio and individual pixels.20:55
+perlDreamerfor that, I would upload a rectangular image that contains a small square in 1 corner20:57
+perlDreamerby checking the area around the corner of a rotated image, you can see whether or not it rotated the correct way20:57
+perlDreamerI'm not the only genius here, kimd :)20:59
+perlDreamerYou are really dedicated to working on the Gallery20:59
kimdWell, it's my favorite asset (or soon to be).20:59
kimdFor a community site it is probably one of the most important functions.20:59
kimdI want to get people contribute images. 21:00
kimdAt the moment activity is close to zero.21:00
@preactionyes, we have had a problem with "bare minimum" lately. 21:01
@preactioni mean, why use WebGUI's gallery when there's Flickr or Photobucket?21:01
kimdThat's true.21:02
kimdpreaction, ever thought about using Flickr or related services as a backend?21:02
+perlDreamerpreaction, I think that's one of the really big WebGUI problems21:02
+perlDreamerWhy use WebGUI's gallery when there's Flickr, etc.21:03
@preactionwe've thought about making import/export from Flickr / Photobucket, but nobody's funded it21:03
kimdUsers are totally spoiled.21:03
+perlDreamerWhy use WebGUI's wiki, when there's mediawiki and others21:03
kimdThat would be also very nice to have.21:03
+perlDreamerWhy use WebGUI's forums, when there's phpBB, et. al.21:03
+perlDreamerWebGUI addresses a small niche market where people want an integrated solution21:03
kimdIdeally, there would be a lot more community members implementing RFEs.21:03
@preactioni think the bigger problem is that it's not Easy to develop for WebGUI. 21:03
@preactionthat niche market is shrinking, with these hosted sites providing APIs21:04
kimdIn fact, I would say it is.21:04
kimdThe initial learning curve is shallow, though.21:04
kimdThat may in part be because of missing free documentation.21:04
@preactionif it were EASY to develop for WebGUI, there could be more time being spent on Application Features instead of bugfixing21:04
kimdGood point.21:05
kimdStill I think it is not that complicated.21:05
kimdI mean, I managed to contribute some code.21:05
kimdAnd I am only a spare time programmer.21:05
+perlDreamerI think it's more our programming style21:05
+perlDreamerit's often fast, furious, sloppy and not well tested or documented21:05
kimdHm. Maybe, that as well.21:06
kimdStill, I would think it is a lack of documentation.21:06
+perlDreamer_I_ wrote most of the POD in WebGUI21:06
kimdNot talking about POD, perlDreamer.21:06
kimdThe POD is very good. You have done a great job.21:07
+perlDreamerIt takes a lot of time to write books, kimd21:07
kimdI know.21:07
@preactionthat's why i want a larger seperation between the Base APIs (Model, Template, Request, User, Group) and the Core Apps / APIs (Shop, Asset, Workflow, LDAP, Auth)21:07
@preactionthe Base APIs should be under 100% lockdown, tight control, fully tested and documented21:07
kimdWhat we would need is a tutorial on programming.21:08
@preactionthen the Core apps can be more lenient, using the Base APIs to achieve their goals21:08
kimdEssentials on the API including good examples.21:08
kimdSomething that lowers the initial hurdles for getting started.21:08
@preactioni'd like to know Why to use a method, not What the method does21:08
@preactionWhy is not always apparent, esp. when you're starting out21:08
kimdBut that's done best by giving examples.21:09
kimdDon't you think so, preaction?21:09
@preactioneh, i've been reading AS3 examples, and they just do nothing for me. they assume I know other things about the code that I do not know21:09
kimdWell, you need to start somewhere.21:10
+perlDreamerbut different people learn different ways21:10
+perlDreamersome people just want an API reference21:10
kimdI don't think it will be possible to get people started in a day or two.21:10
+perlDreamersome want examples21:10
kimdBut do we agree that it's mostly about documentation?21:10
kimdOk. Features?21:11
@preactionthe API is all convoluted and messy21:11
@preactionversion tags are made always, you have to explicitly tell WebGUI to not make one21:11
kimdHm. But are there any better solutions?21:11
@preactionyes, ground-up rewrite using Perl Best Practices and Task::Kenshi21:11
kimdIsn't the API rather a strength of webgui?21:11
kimdI mean existing solutions.21:11
@preactioner.. Task::Kensho21:12
@preactionI think Django has the start of a right idea API-wise, but they don't have a core set of useful apps. Same with Catalyst21:12
kimdWill there a be a ground-up rewrite in WebGUI 8?21:12
@preactionCatalyst i think offers too many options to ever coalesce into a core set of useful apps21:13
kimdAre Django and Catalyst written in perl?21:13
@preaction8 has a set of tasks and features that I was engaged to produce21:13
@preactionCatalyst is a Perl Web Framework. Django is a Python Web Framework21:13
kimdpreaction, is it possible that you are too much of a purist (no offense!).21:14
kimdOr are my standards just low.21:14
kimdI mean, WebGUI 7 is definitely not perfect.21:14
kimdBut I always had the impression the API is fairly clean.21:14
@preactionno, i want the Perl community to join us. They refuse, because we are not in line with the current set of Perl Best Practices21:14
kimdI see.21:14
kimdMore purists ;-)21:15
+perlDreamerkimd, in a way, yes21:15
+perlDreamerbut standards are good21:15
@preactionto be fair, you haven't had to rip the API apart to get what you want done. addArchive() in GalleryAlbum is just one exercise in how the API gets in your way21:15
kimdTrue. I have done only minor changes.21:15
@preactionyou have to set aside a current tag, if any. prevent the new tag from being committed until you're done adding photos, and finally commit your new tag and replace the old tag21:15
kimdI imagine it can become very difficult.21:15
@preactionand that's just "add multiple child assets to an existing asset". sounds simple, no?21:16
kimdWell, let us hope for a much better WebGUI 8.21:16
@preactionthere are no fewer than 5 major pitfalls the Random Joe Coder will fall into the first time they try it21:16
kimdVery simple.21:16
@preactionversion tags being only part. parent asset's object cache is another fun one21:17
kimdBut now you have solved it others can do cut & paste programming.21:17
kimdThat is how I usually solve problems :-D21:17
@preactionrequiring cut & paste programming is why RoR is derided as a horrible framework (and it is)21:17
kimdOk. I will no longer argue with you.21:18
kimdWhat is RoR?21:18
@preactionRuby on Rails21:18
kimdTry to find the balance between rewriting the API and adding new features.21:18
kimdOtherwise, no one will enjoy your rewrite afterwards.21:19
@preactionwell, the way i have it, the rewritten API and the existing API will exist side-by-side to allow for gradual migration of custom code21:19
kimdSounds good.21:20
kimdI am looking forward to it.21:20
@preactionso am i. i haven't had the chance to work on it for months: http://github.com/preaction/modern-webgui21:21
kimdInsert less bugs ;-)21:21
@preactionthat's the plan: everything's tested to start with21:21
+perlDreamerto be specific, modern-webgui is not WebGUI 821:21
@preactionyes, modern-webgui is my fancy-pants attempt at rewriting webgui21:21
@preactionpersonal, fancy-pants attempt21:22
+perlDreamerit's an attempt to rewrite WebGUI 7 using Moose, DBIx-Class, and other top-class modules21:22
@preactionnot a PB-sponsored project (and probably never will be)21:22
+perlDreamerexcept for Catalyst21:22
kimdBut, do you think there will be a community for modern-webgui?21:22
@preactionwell, we reimplement cat21:22
@preactionno, it doesn't exist yet. it's only half-done21:23
+perlDreamerI think eventually that modern-webgui will converge with WebGUI 921:23
kimdGood luck with your project anyway.21:23
@preactionif i have my way, yes, 9 will converge with this project21:23
@preactionwith more than a couple fundamental changes (since 8 introduces a lot of stuff I want but don't have in WebGUIx)21:23
kimdEnough dreaming. I will focus on RFE #620 again. That's all I can do at the moment.21:24
kimdI hope you will migrate to modern-webgui as well ;-)21:25
kimdAh. Preaction, one more thing:21:27
kimdDo you know what Helmut Schmidt said about people having visions?21:27
kimd(Helmut Schmidt = well-known and admired former Chancellor of Germany)21:28
@frodwithPeople who have a vision should go see a doctor.21:28
@bopbopfrodwith: you beat me to it!21:29
@preactioni'm working on it. gotta move to Madison first. better doctors there21:29
kimdHey, who said that in the States?21:29
kimdI wasn't aware Helmut stole it from someone else.21:30
+perlDreamerMathematicians who have visions should go to see doctors21:31
+perlDreamerPeople who have visions should learn how to make them come true21:31
kimdSomething else: What does this mean "If configured for CDN, add deletion of this storage location to CDN queue."?21:34
@preactionContent Delivery Network (google can tell you more)21:35
kimdHm. I will ignore it for the moment.21:37
kimdTime for a glass of red wine. Anyone going to join?21:37
@preactionsorry, it's 2:00pm :(21:38
kimdpreaction, it's never too late :-D21:39
@preactiontoo early you mean?21:40
kimdNo, that was on purpose. But you totally missed my joke :-(21:41
@preactionsorry, been a long day already21:42
+perlDreamerand it's not going to get any easier...21:43
+perlDreamerwe have server moves to do tonight21:44
@preactionno, next week21:44
kimdGood luck!21:44
@preactioni gave two weeks' notice, not just one21:45
+perlDreamerI hate doing server moves with an upset stomach21:46
kimdI believe I encountered an error in the testing template.21:47
+perlDreamerWhat is it?21:47
kimdIt contains a line 'use lib "$FindBin::Bin/lib";' which should actually be 'use lib "$FindBin::Bin/../lib";'21:48
kimdCan you confirm?21:48
+perlDreameryes, and no :)21:48
@preactionit has to be adjusted for every script21:48
kimdOk. My fault then.21:48
kimdAdd that to your changes in perfect-webgui.21:48
@preactionperhaps a note should go there at least?21:48
kimdVery good suggestion indeed.21:48
+perlDreamerI think Haarg is working on a way to make it happen21:48
@preactionwell, the Perfect WebGUI would not require to be placed in /data/WebGUI21:49
@preactionand yes, i think that's in haarg's head right now21:49
@Haargkind of21:49
@Haargtest scripts will always need to have something like that21:49
@HaargFindBin is a shitty way to do it, but the alternative won't be any shorter21:49
+perlDreamermaybe we need something like blib21:49
+perlDreameronly called tlib21:49
@preactioni thought prove automatically added lib, blib, and t/lib?21:51
* perlDreamer inserts standard disclaimer about running tests without prove21:51
+perlDreamerand in various places in the test hierarchy21:52
@preactionwell, i use wgd test, which uses App::Prove21:55
-!- SDuensin [~Scott@mobile-166-137-140-152.mycingular.net] has quit [Ping timeout: 258 seconds]21:59
@Haargprove doesn't add anything automatically22:16
@Haargit does have options for adding lib and or blib though22:17
-!- SDuensin [~Scott@mobile-166-137-142-200.mycingular.net] has joined #webgui22:19
@Haarga better version of that FindBin construct would probably be http://gist.github.com/36390522:24
@Haargbut it's even longer and uglier22:25
@preactioneh, it means not having to edit it at all, so maybe...22:26
@Haargwell, it still has the same issue we have to deal with now.  it's just more 'proper' and doesn't use the shitty FindBin module.22:31
@Haargmaking something actually search up the directory tree is possible too.  i could certainly stick something like that in if you though it was a good idea.22:32
@preactionsomething to make that error go away and never come back: it's not something that someone should have to deal with if they use the skeleton22:37
@preactioni mean, kimd is one of our main targets when it comes to community members. if he has a problem, many times it's something we should correct22:37
@preactionanyone else want a WebGUIx::Runnable like MooseX::Runnable?22:52
@preactionwhere is the setting to make TinyMCE use FileUrl macro instead of Image URLs?22:53
@preactionahh. richEditorsUseAssetUrls22:53
@preactionwhy is that set to 1 by default? wtf22:53
@Haargwhy not?22:57
@Haargset to 0 by default means people's sites randomly break somewhere down the line for no apparent reason22:57
@preactionah. fun.22:58
@preactionwhy don't we do something smart like use the FileURL macro instead?22:58
@Haargbecause that would have to be filtered out on save, or the rich editor wouldn't be able to display the images inline22:59
@preactionjust. yay.22:59
@preactionif we were using a different rich editor, we might be able to post-filter macros and have WebGUI execute them and give us the content23:00
-!- SDuensin [~Scott@mobile-166-137-142-200.mycingular.net] has quit [Quit: Leaving]23:03
kimdSorry for interrupting. Anyone ever tried to access pixels directly with PerlMagick?23:03
@preactionno interruption: just ask / say whatever you need whenever you need23:04
kimdI tried "$image->GetAuthenticPixels( {x=>0, y=>0} )"23:04
@preactionthere's usually three or four threads of conversation at any given time23:04
@preactionbut no, i've never tried to get the color value of a certain pixel23:04
kimdBut that results in Can't locate auto/Image/Magick/GetVirtualP.al in @INC (@INC contains: /data/WebGUI_kimd/t/Storage/../lib /data/WebGUI/lib /data/wre/prereqs/lib/perl5/5.10.0/i686-linux /data/wre/prereqs/lib/perl5/5.10.0 /data/wre/prereqs/lib/perl5/site_perl/5.10.0/i686-linux /data/wre/prereqs/lib/perl5/site_perl/5.10.0 . /data/WebGUI_kimd/lib) at Rotate.pm line 5523:04
kimdAccording to documentation the method name should be correct (check http://www.imagemagick.org/script/perl-magick.php).23:05
kimdUnfortunately, there is no example code.23:05
@preactionkimd: how about trying the GetPixel method instead?23:07
@preactionit's part of the top bit, different from the bottom bit. it looks like the bottom bit might not work on your system (or maybe anybody's system)23:08
kimdAt least it doesn't produce an error upon compile time.23:09
kimdLet's see how far I can get with getPixel. Thanks for the hint.23:09
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]23:14
+perlDreamerkimd, I think I do some work like that in the making a thumbnail checking code23:37
kimdI will check. Thanks.23:38
+perlDreamerI used ->GetPixels23:38
kimdNow that mention it I got it to work.23:38
kimdAgain you inspire me :-)23:38
kimdthat you mention23:38
+perlDreamerHaarg, preaction, http://gist.github.com/363924  <== that's the tlib thing I was talking about23:39
kimdperlDreamer, you have that aura around you.23:39
+perlDreamerunfortunately, now you have to find tlib23:39
kimdCool. Test test for WebGUI::Storage::rotate seems to work.23:44
+perlDreamerkimd, I hope that aura isn't the fact that I went running, and need a shower :/23:44
kimdThe test..23:44
kimdOdor function is turned off on my computer at the moment.23:45
kimdI will enable an override that changes it to the smell of roses.23:45
kimdGood night everyone!23:47
kimdperlDreamer, enjoy your shower.23:48
+perlDreamerthanks, man :)23:48
kimdAnd thanks to everyone for helping me.23:48
-!- kimd [~spunky@p549F7621.dip.t-dialin.net] has quit [Quit: Ex-Chat]23:48
--- Day changed Tue Apr 13 2010
@preactionWTF of the day: 2010/04/12 -- Reimplementing join() http://gist.github.com/36400000:11
@preactionand now for some happy reason modperl refuses to restart00:17
@preactionit has to be a happy reason, because i am not.00:18
@preactionfine. kill dash nine it is.00:21
@preactioni should make a hip-hop group called the kill dash nine.00:21
@preactionwtf. i kill -9 and the site is STILL UP?00:22
@preactionah, i didn't salt the earth afterward...00:27
@preactionah. i see. orbital ion cannon. can't merely salt the earth or nuke it from orbit. need to lay waste to the planet.00:30
@preactioni love having to reboot a system to load new WebGUI code.00:30
@Haarg'happy' indeed00:35
@preactionreboot didn't work: it's an old WRE, so if you kill -9 you have to remove the .pid lockfile or else apache will sit and spin until it's removed.00:35
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui00:37
@preactionwhich, imho, if the process identified by the pid (a) does not exist and (b) is not the same program, the pid should be considered wrong and deleted OR the logfile should be notified "httpd is already running or delete the httpd.pid file"00:38
@preactionanyone happen to know how i can adjust a recurring transaction to point to a different user?00:55
@preactionor do i have to edit the database?00:56
-!- SquOnk [~emhn@] has joined #webgui00:57
SquOnkI think I'm going to make it to the WUC00:58
SquOnkMy visa appointment is for aug 2nd (my b'day)00:58
SquOnkI wanted to submit a talk, but I rather wait until I'm sure :-)00:59
SquOnkI'm writing a Macro to "turn into e-book"00:59
SquOnkAs in MOBI file for Kindle and similar toys.00:59
SquOnkNon-DRM e-book :-)01:00
SquOnkpreaction: But my REAL mission is getting DBIx::Class and PostgreSQL support <g>01:00
@preactioni've got DBIx::Class started (7-style, but 8 isn't too much of a stretch)01:01
@preactionwell, i say started, but that part of it works just fine01:01
@preactionit's the UI stuff i worked on that doesn't01:01
+perlDreamerpreaction, you have to edit the db01:04
+perlDreamerno way to reassign anything in transactions01:04
@preactionyeah, i've been poking around to see how the whole thing's tied together01:04
+perlDreamerHaarg, any objection to me turning your gist snippet into the world's worst CPAN module?01:05
+perlDreamerI promise not to mention your name in it01:05
@Haargfine with me01:06
@preactionthere are worse ones :p01:06
@Haargalthough you'll want to use caller(1)[1] instead of __FILE__01:06
@preactionthough maybe ask #perl if they know of an existing implementation?01:06
@Haargand technically that snippet isn't specific to tests at all01:07
@Haargit might make sense for it to work like the blib module instead01:10
@Haargsearching upward for a 't' directory then adding t/lib01:10
@Haargi don't know01:10
+perlDreamerif I'm going to call it tlib, then definitely, Haarg01:34
CIA-104webgui: Graham Knop master * reb97a8d / (t/SQL.t t/lib/WebGUI/Test.pm): allow arbitrary subs to be added to test cleanup - http://bit.ly/94816s01:44
@HaargperlDreamer, would this be useful? http://gist.github.com/36409501:51
+perlDreamerdefinitely, Haarg01:54
+perlDreamerfor a second I thought you pulled out the sub stuff in favor of the SQL, but I see it's in addition to01:55
CIA-104webgui: Graham Knop master * r88e8fe7 / (t/SQL.t t/lib/WebGUI/Test.pm): allow SQL statements to be added to test cleanup - http://bit.ly/cYnHyP01:57
CIA-104webgui: Graham Knop webgui-7.8 * r0923789 / (t/SQL.t t/lib/WebGUI/Test.pm): allow arbitrary subs to be added to test cleanup - http://bit.ly/bIpiS101:58
CIA-104webgui: Graham Knop webgui-7.8 * r547f914 / (t/SQL.t t/lib/WebGUI/Test.pm): allow SQL statements to be added to test cleanup - http://bit.ly/9warNH01:58
+perlDreamerhow is the 7->8 merge coming?01:58
@Haarghaven't worked on it for a while01:58
@Haargbut i had up to 7.8.10 merged01:59
@Haargit's becoming more and more of a problem though so i really need to get it done01:59
@preactioneh, i'm not on the hook for 7->8 merge. i'm on the hook for releasable/testable 802:00
+perlDreamerwe either do it now, or later, dudely-sir-type-persion02:02
@preactioni'd prefer later. we've got everyone working on tasks that require everyone else's tasks to be done02:03
-!- SquOnk [~emhn@] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]02:54
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]04:09
-!- Haarg [~haarg@] has quit [Ping timeout: 246 seconds]04:26
-!- Haarg [~haarg@] has joined #webgui04:31
-!- mode/#webgui [+o Haarg] by ChanServ04:31
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Ping timeout: 260 seconds]04:55
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has quit [Changing host]05:07
-!- f00li5h [~f00li5h@unaffiliated/f00li5h] has joined #webgui05:07
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]06:05
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui06:14
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]07:52
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui08:17
-!- mode/#webgui [+o Haarg] by ChanServ08:17
-!- Netsplit *.net <-> *.split quits: mducharme-work, CIA-104, mducharme1, @steveo_aa, SDuensin, @frodwith, @preaction, +Radix_08:33
-!- Netsplit over, joins: SDuensin, mducharme1, @steveo_aa, @preaction, mducharme-work, +Radix_, @frodwith, CIA-10408:35
-!- Netsplit *.net <-> *.split quits: perlbot, SynQ, f00li5h08:36
-!- Netsplit over, joins: f00li5h, perlbot, SynQ08:37
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui10:19
-!- mode/#webgui [+v bartjol] by ChanServ10:19
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving]14:41
CIA-104webgui: Graham Knop webgui-8.0-merge * r531bf55 / (858 files in 244 dirs): Merge branch 'master' into WebGUI8 - http://bit.ly/cMupuR15:56
xdangerpreaction: Just read your blog post and was wondering that doesn't using /uploads urls directly (withour FileUrl macro) break the versioning of the File assets? Doesn't every revision get a new storageId and a new /uploads url?16:27
+bartjolxdanger: if you use the fileurl macro that shouldn't happen16:29
xdangerI know16:29
-!- SDuensin [~Scott@mobile-166-137-142-200.mycingular.net] has joined #webgui16:29
xdangerbut the richtexteditor doesn't use it16:29
+bartjolwait, I'll have a better look at doug's post16:29
+bartjolaah, well, we might consider that buggy16:30
SDuensinWelcome to Tuesday.16:31
+bartjolbuggy tuesday?16:31
SDuensinNot here!  (For once!)16:31
+bartjolwat isn't, can still come16:32
xdangercouldn't the tinyMCE be modfied to include the fileUrl macro if "richEditorsUseAssetUrls" : 1 if set16:33
xdangers/if set/is set/16:33
+bartjolI suppose so16:33
+bartjolnot sure how much trouble that is16:33
xdangerOr has this been done in newer versions, I'm runnign 7.6 still16:33
+bartjolI'm at 7.9.2, let me have a look16:34
xdangerthe link to asset tree adds ^/(url); 16:37
xdangerthat do breaks if someone changes the url16:37
xdangerit should be something like ^/(^Asset(url,assetId);); imho...16:38
+bartjoland the option which turns off asset url's does insert direct paths, so you are absolutely right16:40
xdangerbut if you use ^FileUrl in tinyMCE the picture doesn't show in the editor, because the macro isn't being executed16:44
+bartjolah, no, that won't happen, choices choices16:45
xdangerI was thinking that we should build a better frontside proxy for webgui, one that does internal redirects and caches them. Using something like varnish. That would be great16:45
xdangerOf cource inteligent frontside proxy breaks passive logging among other things16:46
xdangerbut could be made to work =)16:47
+bartjolmmm, that utility script might be one of the better solutions. On saving an asset, the script is executed in that workflow16:49
+bartjolbut maybe not16:50
+bartjolsecond time editing will get confusing16:50
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui16:58
-!- mode/#webgui [+v patspam] by ChanServ16:58
-!- SDuensin [~Scott@mobile-166-137-142-200.mycingular.net] has quit [Ping timeout: 240 seconds]16:59
-!- SDuensin [~Scott@mobile-166-137-143-224.mycingular.net] has joined #webgui17:06
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: This computer has gone to sleep]17:25
@preactionxdanger: as haarg pointed out to me, the FileUrl macro breaks the display in the TinyMCE. so we'd need a custom tinymce module17:26
@preactionthere are two things to do: make that module, make it so files only create new uploads locations when a new file is uploaded (and only delete when nobody's using it anymore)17:26
@steveo_aaI'd like to discuss WebGUI cache control, specificaly the document meta tag control.17:27
@steveo_aaIn core Cache-Control is set to content="no-cache" which only works part-time on browsers.17:28
@steveo_aaI'd suggest that content="no-store" for more widely recognized control.17:28
@steveo_aaOr some method for the style system to select which it desires.17:30
-!- Haarg [~haarg@] has joined #webgui17:49
-!- mode/#webgui [+o Haarg] by ChanServ17:49
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:02
-!- mode/#webgui [+o bopbop] by ChanServ18:02
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]18:13
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui18:46
-!- mode/#webgui [+v perlDreamer] by ChanServ18:46
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui18:47
-!- mode/#webgui [+o tavisto] by ChanServ18:47
* perlDreamer goes to the gym19:17
* perlDreamer wobbles back to the chair, and sinks into it gratefully20:41
CIA-104webgui: Colin Kuskie master * r7390497 / (2 files in 2 dirs): Change how the locked flag is displayed, so that it isn't inline with the content, but just above it. Fixes bug #11520 - http://bit.ly/d6PwDR20:56
CIA-104webgui: Colin Kuskie master * r55ceb57 / (3 files in 3 dirs): Add missing template help for the WikiPage view template. - http://bit.ly/avA9SG20:56
CIA-104webgui: Colin Kuskie webgui-7.8 * r640adde / (2 files in 2 dirs): Change how the locked flag is displayed, so that it isn't inline with the content, but just above it. Fixes bug #11520 - http://bit.ly/caIonA20:58
CIA-104webgui: Colin Kuskie webgui-7.8 * r42c6714 / (3 files in 3 dirs): Add missing template help for the WikiPage view template. - http://bit.ly/blb87d20:58
CIA-104webgui: Colin Kuskie master * r1395fcc / (5 files in 5 dirs): 21:07
CIA-104webgui: Add RFE #10944, keyword pages.21:07
CIA-104webgui: Keyword pages are any page where the title is exactly the same as any keyword21:07
CIA-104webgui: for any page in the wiki. Keyword pages work the same as any wiki page, but21:07
CIA-104webgui: also may display a list of pages that are tagged with the keyword. - http://bit.ly/cNul1p21:07
* patspam is watching the vienna perl qa workshop highlights package21:15
+patspamwe should totally do a multi-day hackathon like they did21:15
+patspamprogress stand-up videos are a great idea too21:18
+perlDreamernot a bad idea21:20
+perlDreamerany idea for flagship projects?21:20
+perlDreamer$patspam->enumerate_excitations; # Padre, Psgi, and other things with capital P21:27
CIA-104webgui: Colin Kuskie master * r7fe8116 / (3 files in 3 dirs): Bug fixes, changes to default wikipage template for keyword pages, and template var clarifications. - http://bit.ly/cdsQ0H21:29
+patspampreaction's plans for post-wg821:29
@Haargmy next webgui 8 project (for off hours) is WebGUI::Command21:31
+perlDreameris that like Missile Command?21:32
@Haargbasically, WGDev in core21:32
+perlDreamerI thought there were license incompatibilities?21:32
@Haargthere are21:32
@Haargbut i can get over those21:32
@Haargtaking the existing sbin script and some of the WGDev commands and making them as core modules21:33
@Haargprobably build it with App::Cmd instead of what WGDev does21:33
+patspamor MooseX::App::Cmd?21:34
@Haargsince a lot of extra work WGDev does i already have or will be sticking in core in some fashion21:34
@Haargpossibly.  i haven't looked extensively at the moose sugar for it.21:34
+perlDreamerpatspam, would it be easy to repeat your benchmark data for to only compare 1 fetch for each branch?21:34
+perlDreamerI think the huge difference is due to caching21:35
@Haargthen WGDev will instead be a set of plugins for WebGUI::Command targetted at developers21:35
@Haargsince parts of it won't make sense to include in core21:35
+perlDreamerlike wgd build, dist, release-utilities21:35
+perlDreamerbut wgd db should be standard everywhere21:36
+patspamyeah, I want all the wgdev wg-specific extra features available in core21:36
+perlDreamerand edit, package, ls21:36
+perlDreamermaybe at the hackathon I could try and hack the AssetManager to use a shared menu21:36
+patspamperlDreamer: what do you want to compare? master and WebGUI8?21:36
+perlDreamerlike I said, I'm hoping the 30X speed difference is due to master caching, and WebGUI8 not21:37
+perlDreamerif it's really 30X slower, we've missed a major point of WebGUI8, which is performance21:37
+patspamor my benchmarks are not only unscientific but also broken21:38
* perlDreamer thinks too highly of you for that21:38
@Haargthere are other things in webgui 8 that could be slowing it down that may be really easy to deal with21:38
+perlDreamermeta mutability?21:39
@Haargand we could easily do more internal caching of some of that stuff21:39
@Haargor things like ->get may be really slow but easy to fix by having it more lax21:39
@Haargwould have to profile it some21:40
+perlDreamerI purged most of the get methods out of WebGUI 821:40
+perlDreamerwhich likely contributed to a lot of your merge issues21:40
@Haargyes :)21:40
* perlDreamer adds a note to send Haarg something baked21:40
@Haargwhitespace cleanups were the most annoying bit21:40
@Haargbut stuff like %{ $self->get } for template variables is still used21:40
@Haargand that's on display, where we care more about perf21:41
@Haargcompared to ->update etc21:41
+perlDreamersure, but there's no easy way around that (yet)21:41
@Haargbut the built in meta-immutability would help21:41
+perlDreamermaybe preaction is close to the Cache::CHI integration21:42
@Haargand the list of things to include in ->get could be computed at immutable time as well21:42
+perlDreameror, TT style objects21:43
@Haargalthough that's a tricky one21:43
@Haargwe can't just stick the objects in there21:43
@Haargwe would still need to have a list of acceptable methods21:43
@Haargand a proxy object21:43
@Haargso there are plenty of places to look for perf once we have a handle on how slow it actually is21:44
@Haargand checking in a profiler will go a long way21:44
+perlDreamerpatspam that with Plack that using Devel::NYTProf is easy21:44
@Haargit's pretty easy with Apache as well21:44
+patspamperlDreamer: with caching turned off, master runs at about the same speed as WebGUI821:50
+patspambut I don't know how to turn off caching for WebGUI821:50
+patspamso that's comparing master-no-cache vs. WebGUI-with-cache21:50
+perlDreamerI believe that is handled for you, as it seems to be currently broken21:51
+patspamheh, it's a feature?21:51
+patspamha well that's interesting21:52
+patspamif I stop memcached on my server, WebGUI8's benchmarks don't change21:52
+perlDreamerthat is interesting, I couldn't get much in wg8 to work without memcached being started21:53
@Haargof all of the things i would like to change about webgui, i think not using inline pod is at the top of my list21:53
+perlDreamernot higher test coverage?21:54
+perlDreamernot different version control?21:54
+patspamHaarg: have you tried Dist::Zilla? I'm loving how much boilerplate I can just delete from distros, including POD boilerplate21:54
@Haargi messed with it a bit for wgdev but it annoyed me in a few ways and has just about no documentation21:55
+patspamrjbs has been doing a lot of work on it recently for his TPF grant21:55
@Haargyeah, i've been reading the blog posts21:55
+patspamdocumentation is still the last major remaining thing, definitely21:55
+patspambut I love deleting all the cruft21:56
@preactionHaarg, perlDreamer: I was talking with frodwith quite a bit about how to implement TT as easily as possible. one of the solutions thrown out was a ::Template internal package that could prevent access to any "bad" methods 21:56
@preactionwith the default ::Template package changing all mutators into simple accessors21:56
@preactionbut there are probably plenty of ways to do so21:57
+patspamoh boy!21:59
+patspam400 req/sec with WebGUI8!21:59
+patspamall I had to do was remove the socket option from cacheServers in the site conf22:00
@preactionusing Plack's dev server?22:00
+patspamno, using WebGUI8 branch22:00
+patspamhold your breath, I'll try plack22:00
@preactionso WebGUI8 branch and Apache?22:00
+patspame.g. same as master22:00
+patspamprior to that I was getting 30 req/sec22:01
@preactioni'd like to see how Plack's FastCGI and nginx frontend perform22:01
@preactioncacheServers? oh. right. memcached isn't out of there yet.22:01
+patspamI was playing with that the other day22:01
+patspamtook me about 15 minutes to deploy webgui under nginx22:01
+patspamand that was because I'd never used nginx before22:01
@preactioni'm doing an nginx install right now for a round-robin load balancer22:02
+perlDreamerpreaction: what's the status on CHI integration for wg8?22:06
@preactionnothing. i've got stuff doing, you've got stuff doing, and graham's got stuff doing22:06
@Haargwhat needs to be done for that?  it seems like it should be pretty simple, since the majority of the work has already been done.22:07
@preactionjust gotta take out WebGUI::Cache, add a cache : { ... } key to the config file, pass that directly to a new CHI object, created and returned by $session->cache22:07
+perlDreamerjust time and testing?22:08
@preactionunless someone can convince me otherwise, i don't want any wrappers around the CHI wrapper22:08
@Haargi don't see any good reason to add a wrapper.22:09
+perlDreamerCHI itself _is_ a wrapper around multiple interface, isn't it?22:09
@preactionCHI is like DBI for caching22:09
@Haargi'm very close to having WebGUI::SQL be a subclass of DBI too.22:10
@preactionwhich is step one in getting it the frack out22:10
* perlDreamer is going to step out for a bit, and think about how to avoid infinite loops in hierarchial wiki page keywords22:10
@Haargeverything is working except the logging22:10
@Haargwell, technically that is working too22:11
@Haargbut it's a bad solution22:11
@Haargrelies on the internals of DBD::mysql22:11
@preactioni don't mind bad solutions if they lead to good ones and are well-documented as "DIS BE BAD"22:12
@Haargwell, wrapping is probably a better solution22:12
@Haargor we could go with DBIx::Log4perl22:12
@Haargwhich does the same thing i'm doing but more extensive/configurable22:13
@preactionrats, but that keeps us tied to log4perl. which one of these days i'd like to benchmark22:13
@preactioneh, if it works it works22:19
+patspampsgi branch mostly decouples webgui from log4perl22:23
@preactionpatspam: how's that's going btw? any chance of merging in the next 6-8 weeks?22:30
+patspampreaction: it could be merged now really22:57
@preactionthen i guess i'll try it. does testEnvironment.pl have the new deps? does any config file need to be changed?22:58
+patspamthe main thing left to do is to go through WebGUI::Session::Http and mark everything as deprecated and find equivalent methods in Plack::Request/Response22:59
@preactionawesome. awesome to the max22:59
+patspami just started adding tests22:59
+patspamusing Plack::Test22:59
+patspamI should probably do one or two more commits before you merge22:59
+patspamthere are lots of little design decisions I've made along the way that could easily be changed if people have different ideas23:00
+patspamI'm looking forward to merging it in with Haarg's WebGUI::Paths thing too, that would be beneficial23:01
@preactionokay. i've got to merge the master->8 merged branch too, so no worries23:01
+patspamI've refactored it so that WebGUI::Config is per-app, not per-request23:02
+patspamit's really nice to be able to do that.. separate out the per-request and the app-static stuff23:03
+patspamLog4perl is just another middleware23:05
+patspamI've moved Session opening/closing into an outer layer middleware too, so that any wg middleware you insert between that outer layer and the wg app itself has the open session at its disposal23:06
+patspamand webgui doesn't need to worry about calling $session->close() anywhere23:06
+patspambecause it gets closed automatically on the way out through the middleware onion layers23:07
+patspamthere a lots of other little extras too23:08
+patspamexceptions get converted into http error codes23:08
@preactionyeah, that's how i want Content and URL handlers handled: as middleware, which will happen eventually23:08
@preactioni want to decimate the WG codebase23:08
+patspamhttp error codes can be mapped to custom error docs, etc..23:08
+patspamurl handlers have been decimated23:09
+patspamthey're really simple to convert to middleware23:10
+patspamI enabled Plack::Middleware::Debug a few days ago, that one is really nice23:11
@preactioni saw the screens, looks very nice23:11
+patspamshould be really simple to turn wG's debug output into a plugin for that23:11
+patspammuch more sexy that appending it to the end of the html doc23:11
@preactionindeed. and fewer problems23:11
+patspamthere will be lots of rough edges, but everything seems solvable at this point23:12
+patspammoving cookie handling to middleware looks interesting too, I haven't investigated that yet23:13
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]23:21
-!- SDuensin [~Scott@mobile-166-137-143-224.mycingular.net] has quit [Quit: Leaving]23:23
@Haargpatspam, how useful is the DBI trace panel in Plack::Middleware::Debug?23:26
+patspamto be honest I haven't played with it yet23:26
+patspamtoo many shiny toys, too little time23:26
@Haargi'm just wondering if there is even a reason to have WebGUI::SQL log anything23:27
+patspamyeah true!23:27
@Haargsql logging is certainly useful in the inline debug, but i've never wanted to actually log it23:27
+patspamI can't wait till we get the psgi branch rolled in and you guys start playing with it, so many low-hanging fruit23:28
@preactionright! but you just told me not to :(23:29
@Haargbased on what i've seen though, the output from DBI->trace is of questionable utility23:29
@Haargit has the needed information, but the formatting is not exactly friendly23:29
+patspamwe could fix that23:29
@Haargpreaction, thoughts on that?23:30
+patspamcurrently the plugin just dumps the output of DBI->trace23:30
@Haargdo we even want logging information from SQL queries ever or do we only care about it in the inline debug?23:30
@preactionlooking at it, it sounds like if we could take the Trace level 2 and reformat it into Plack::Middleware::Debug to make it nice23:30
@HaargDBD::mysql tracing is relatively easy to reformat to be friendly23:31
@Haargbuilt in DBI stuff less so23:31
@preactionsince we're working more closely with the major players in Perl, we're gonna have to start getting dirty with patches23:31
+patspamthe source for the plugin is here: http://cpansearch.perl.org/src/MIYAGAWA/Plack-Middleware-Debug-0.07/lib/Plack/Middleware/Debug/DBITrace.pm23:31
CIA-104webgui: Graham Knop dbi-subclass * r174d438 / lib/WebGUI/SQL/Trace.pm : skip more classes in DBI tracing - http://bit.ly/93JKnj23:32
@preactionlooks like we could make our own debug panel if it comes down to it23:33
@Haargand http://github.com/haarg/webgui/blob/dbi-subclass/lib/WebGUI/SQL.pm#L84323:33
@Haargthat only works for DBD::mysql though.  i haven't really gotten anywhere with just the output from DBI core.23:34
@Haargbut the filtering process is relatively straightforward at least23:35
@preactionit's just debug info. i mean, if we can squeak out more performance and cleaner code, it's worth it23:36
@preactionotherwise, that looks fine for now. we can always remove it in favor of a custom (or future) Plack::M::Debug23:36
+patspampreaction: is there a deliberate push to try to integrate more with the perl community?23:37
@preactionthat's my goal, yes23:38
+patspampreaction++ # love it23:38
@preactionit's a whole huge group of advocates that so far has remained untapped23:38
@preaction(or worse, actively against us)23:38
+perlDreamermore like passively against us23:38
+perlDreamerwon't even look at wG because you have to write SQL and accessors23:39
@Haargthey often don't get that far23:39
+patspamwhen I was at YAPC::EU 2008 most people hadn't even heard of webgui23:39
@preactionthe knowledge they use in their other, everyday perl does not apply to webgui (except for syntax)23:40
@Haargthey see things like WebGUI::SQL and think we've re-invented an ORM when in fact we don't have anything that nice23:40
+perlDreamerWebGUI::SQL would be a great name for an ORM23:40
@preactionnot imho. DBIx::Class is a better name for an ORM23:40
+perlDreamerisn't that already taken?23:43
@preactionhmm... it IS! why don't we just use that?23:44
+perlDreamerthe guy in charge of wg8 development won't let us use it yet23:44
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui23:44
-!- mode/#webgui [+o bopbop] by ChanServ23:44
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has joined #webgui23:44
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Client Quit]23:44
@preactionthat jerk. the guy in charge of him should let him adjust timelines and priorities to put it in23:44
* perlDreamer feels the need to iron his hands23:45
+patspamwell kudos to everyone behind the new direction, it's really awesome23:45
* mech422 wonders why one would iron their hands ? wrinkles ? too long in the pool ?23:46
@preactionwe're trying. more to come, provided i can stay in charge23:46
+perlDreamermech422, ask dobby23:47
mech422were you a naughty house gnome ?23:49
--- Day changed Wed Apr 14 2010
+perlDreamertime to go pick up the  kids, back in 3000:03
+patspampsgi branch is currently getting 370 req/sec00:05
+patspamc.f. 430/sec for WebGUI8 branch00:06
+patspamc.f. 430/sec for 7.9 master branch00:06
@preactionwell, it's good that 8 isn't slower than 700:08
+patspamfor the front page at least00:08
+perlDreamer-15% isn't too shabby at all00:33
@preactionwhat with the opening for more performance enhancement than ever before?01:00
@preactionplus, master has caching. 8 does not (at least, it doesn't work)01:00
+perlDreamernot sure, but I'm guessing that the 7.9 numbers are cacheless01:03
@preactionhmm... just saw the 5.12 deltas. should we try to target that instead?01:04
@Haargpatspam: http://gist.github.com/36517801:19
@Haargneeds more stuff but seems like a good replacement for the thing we do now01:20
+patspamsweet as!01:20
+patspamI'm tweaking the logging stuff right now, trying to get it right01:20
+patspamthat debug plugin will slot in perfectly01:21
+patspamI'm using the Log4perl middleware so that people can choose to use something else for logging if they like01:22
+patspambut have to still accommodate webgui being called outside a web context01:22
+patspamnot sure what would be the elegant way to handle that in WebGUI::Session::ErrorHandler.. right now I'm getting it to fall-back to Log4perl01:22
@preactionthat's fine for now01:28
@preactionbut in the future i don't know if we should put messages in the log when running a utility script or otherwise. it's just another place to have to look when something goes wrong01:28
+perlDreamerwhere else would they go?01:29
+patspamyeah, in general this will make use be more clear about the differences between web and non-web contexts01:29
@preactionperlDreamer: STDERR01:29
+patspamSTDERR might be more appr.. yeah01:29
+perlDreamerthat's not going to make testing more friendly, if there are 1e8 extra logging messages showing up01:29
+patspamtesting can install its own logger01:30
@preactionit would be configurable01:30
@preactionor that too01:30
-!- fokat [~lem@] has joined #webgui01:34
-!- elnino_laptop [~elnino@user-38q49cv.cable.mindspring.com] has joined #webgui01:41
elnino_laptophi al! 01:41
+perlDreamerhey, elnino_laptop01:56
+perlDreamershould we call you betty?01:56
elnino_laptopyou know here?02:01
elnino_laptopI think I"m missing the reference. 02:02
elnino_laptopI"m related to a betty.02:02
+perlDreamerWell, I figured if you called us Al, we should call you Betty.02:04
CIA-104webgui: Patrick Donelan psgi * r7ef963e / (5 files in 4 dirs): Logging fallback - http://bit.ly/cqwqHc02:33
CIA-104webgui: Patrick Donelan psgi * r82ce333 / (3 files in 3 dirs): Added tests for WebGUI PSGI app exceptions - http://bit.ly/cDHi6C02:33
CIA-104webgui: Patrick Donelan psgi * rb1ab828 / (3 files in 3 dirs): Added WebGUI::Middleware::WGAccess for .wgaccess-aware static serving on dev servers - http://bit.ly/cYKE1X02:33
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]02:35
-!- fokat [~lem@] has quit [Quit: Ex-Chat]02:54
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has quit [Remote host closed the connection]02:57
-!- elnino_laptop [~elnino@user-38q49cv.cable.mindspring.com] has quit [Ping timeout: 245 seconds]03:20
@preactionHaarg: can you think of any reason i shouldn't just delete the webgui-8.0-merge branch?03:23
@Haargas long as it looks fine to stick it in WebGUI8, i see no reason to keep it03:23
@preactionthe merge with 8 went fine. i didn't run any tests, but i'm not sure at all what works and what don't03:24
@Haargyeah, that's why i was deferring to perlDreamer.  i'm not certain what tests to expect failures on.03:24
@preactionwell, either way we don't need the branch itself anymore now that it's merged03:25
CIA-104webgui: Graham Knop WebGUI8 * r531bf55 / (858 files in 244 dirs): Merge branch 'master' into WebGUI8 - http://bit.ly/cMupuR03:25
@preactionpatspam: i noticed you did one or two more commits, any objections to me merging psgi into mainline 8?03:28
+patspamis it ok if it breaks stuff?03:29
-!- fokat [~lem@] has joined #webgui03:31
@preactionsure, provided other work can continue. you can view an asset i assume?03:32
@preactionwww_* methods work?03:32
@preactionotherwise we could merge 8 into psgi, see how things work, and if everything's good merge psgi back into 803:34
@preactionif that even works03:34
+patspamI haven't tested much beyond viewing the front page03:44
@preactionah. then we shall wait for now03:47
@preactionbut soon... very soon...03:47
* preaction wrings hands menacingly03:48
+patspamhaarg: http://www.flickr.com/photos/patspam/4519587704/sizes/l/03:58
@Haargi'm working on basically the same thing03:59
+patspamI stole your gist03:59
CIA-104webgui: Patrick Donelan psgi * r2d7c8e6 / (2 files in 2 dirs): Adds Plack::Middleware::Debug::WgLogger - http://bit.ly/997uYo04:00
CIA-104webgui: Graham Knop simple-logging * r6dde072 / (3 files in 3 dirs): remove webgui specific dbi tracing code, simplify errorhandler - http://bit.ly/bPxMpu04:03
@Haargpatspam, http://github.com/haarg/webgui/tree/simple-logging04:03
@Haargcombination of making WebGUI::SQL a DBI subclass, and adding a logging and MySQL trace middleware04:04
@Haargremoves sql from normal logging stuff04:05
@Haargi made the log messages show per severity like the current webgui debug stuff04:05
@Haargbut now that i think about it that probably isn't a great idea04:06
@Haargi also submitted a patch to Plack::Middleware::Log4perl to have it increment $caller_depth by one so we only have to care about out own stuff04:07
@Haargone thing i had to do to get the logging working correctly was change how ErrorHandler calculated its logger04:08
@Haargin a rather nasty way04:08
@Haargbut otherwise it doesn't pick up on the change to the psgix.logger properly04:08
@Haarggiven that this moves all the inline debug stuff out of errorhandler, it doesn't make much sense to have the ip/setting checks in there04:09
@Haargand if i move that i may be able to undo the change i made to the logger init04:10
CIA-104webgui: Patrick Donelan psgi * r9b4e67b / (lib/WebGUI.pm lib/WebGUI/Session/ErrorHandler.pm): Removed showDebug() in favour of new logger panel - http://bit.ly/9AAYK404:17
+patspamgreat, you would have seen that I left the $Log::Log4perl::caller_depth munging in ErrorHandler for now04:23
+patspambut I'd love to get rid of it so that we can decouple completely from Log4perl04:23
@Haargin that simple-logging branch i changed it to use gotos04:24
@Haargso that eliminates the wrapper level for any logger backend04:24
CIA-104webgui: Colin Kuskie webgui-7.8 * r998a3ce / t/Asset/Asset.t : Update tests to go with the code that I removed from Asset.pm - http://bit.ly/c8HeOj04:25
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui04:43
@Haargpatspam, ping04:46
@preactionwoohoo! navigation inside the ?op=admin iframe works04:46
CIA-104webgui: Graham Knop simple-logging * r092d9dc / (3 files in 3 dirs): clean up debug logger - http://bit.ly/bzu82r04:46
@Haargpreaction, this is what i have in simple-logging right now  http://haarg.org/sql-trace.png http://haarg.org/logger.png05:27
@preactionlooks great! much much much much better than what we used to has05:28
@Haargthe best part being that the code is much simpler05:29
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]05:35
-!- elnino_laptop [~elnino@user-38q49cv.cable.mindspring.com] has joined #webgui05:48
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui06:03
-!- mode/#webgui [+o Haarg] by ChanServ06:03
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui06:39
-!- mode/#webgui [+v perlDreamer] by ChanServ06:40
+perlDreamerladies and gentlemen, as we prepare for the release of WebGUI 7.8.17, please commit all pending code06:40
CIA-104webgui: Colin Kuskie webgui-7.8 * rf6ee94e / docs/create.sql : Preparing for 7.8.17 release - http://bit.ly/aLPirQ06:52
* preaction seat back and tray table are in their full up-right-and-locked position06:57
-!- fokat [~lem@] has quit [Quit: Ex-Chat]06:58
elnino_laptophave fun - bye.06:59
-!- elnino_laptop [~elnino@user-38q49cv.cable.mindspring.com] has quit [Quit: Leaving]06:59
+perlDreamerthis is just a little bit of turbulence folks07:04
+perlDreamerthe pilot will adjust the number of demosites and the upgrade will proceed apace07:05
+perlDreamerthank you all for flying perlDreamer Airlines, flight 815 from Madison to Portland07:27
CIA-104webgui: Colin Kuskie webgui-7.8 * r2190a77 / (4 files in 4 dirs): Ready for 7.8.18 development. - http://bit.ly/d6K0Gp07:28
+perlDreamerwe hope that you enjoyed your upgrade, and that you'll choose perlDreamer Airlines for your future WebGUI support and development07:28
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]07:29
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]07:37
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:56
-!- kaare is now known as Guest3649408:57
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui09:59
-!- mode/#webgui [+v bartjol] by ChanServ10:00
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]10:19
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui10:39
-!- mode/#webgui [+v bartjol] by ChanServ10:39
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]11:06
-!- mducharme1 [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]11:17
-!- lingon [~4d4862fb@gateway/web/freenode/x-ekqkctlzngzfbrrf] has joined #webgui14:08
lingonDoes anybody here know how to handle subdomains / prefix to domains with webgui?14:13
+bartjolyou want a subdomain with another root?14:35
+bartjolor is a redirect to /something ok?14:35
lingongood question as somewhat of a beginner I am not entirely sure of the difference14:37
lingonmy thought was to have something.com and then have multiple other anna.something.com / arne.something.com14:38
lingonIt would be best if it was not a redirect to something.com/anna14:39
+bartjolwell, that is a matter of setting apache14:40
+bartjolnot sure, because mostly in one site you have only one root14:40
+bartjolso multiple subdomains with references to another URI is not a problem14:41
+bartjolbut to let them finish at / is another problem14:41
+bartjolI have the apache rewrite rules for the first part14:42
lingondoes ending at / imply multiple roots?14:42
+bartjolI'm afraid so14:42
lingonIt sounds like there is a downside to multiple roots. Does it complicate everything a lot?14:44
+bartjolthe /root/anna can be changed to whatever you want14:44
+bartjolI never dived that far into it, but as far as I can see, it complicated matters quite a bit14:45
+bartjolmmm, maybe you can setup different multiple hosts in your apache conf14:47
+bartjoland with hosts I mean VirtualHost14:48
lingonyes, perhaps14:48
+bartjolbut I never tried something like it14:49
+bartjoldoubting whether that would work14:49
+bartjolbecause you can send it to othe locations, but you do need the same documenst14:50
+bartjoland it gets redirected to modperl anyway14:51
lingonwhat happens if I duplicate the root>home asset and rename it to root>anna? 14:51
+bartjolroot/home has thhe URI /home14:52
+bartjolso you would get /anna14:52
+bartjolmaybe it is possible to cover up the /anna bit, but you'll have to read some documentation for that14:53
lingonwell, reading some documentation has never hurt anyone14:54
lingondo you have something perticular in mind?14:57
+bartjolthis might be a start: http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html14:58
+bartjoloh, that is 1.2, you'll need 2.x14:58
+bartjolBut I do not assure garanty and you might not get it better than my pastbin post15:00
lingonhave I understood it corectly if I think that the pastebin post does this:15:02
lingona request for anna.domain.com is serverd by /anna15:03
+bartjolany URL that starts with anna.domain.com is redirected to /anna unless you are already at /anna15:04
lingonok, that was what I was trying to explain :)15:04
+bartjolin other words15:04
lingonit apparently did not go that well :)15:05
+bartjolso I thought you understood corretcly :)15:05
+bartjolbut wasn't sure by the word served15:05
+bartjolit rewrites the request15:05
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui15:06
lingonwhat will it say in the addressbar of the browser? Will it go to /anna15:06
+bartjolI think it will show: http://anna.domain.com/anna15:06
+bartjolyes, look at http://eelco.gizzing.nl15:07
+bartjolit are those rewrite rules15:07
+bartjolterrific Dunglish again15:08
lingonwell that is perhaps reasonable and acceptable if the root part is not included15:08
lingonand if the rewrite rules work as on the original site where for example root>home> site map is shown as /site_map15:10
+bartjolwell that is not a problem, but if you go to anna.domain.com/site_map you might be rewritten to anna.domain.com/anna/site_map15:11
+bartjolbut with or without www, you are fine15:12
lingonok, I see your point15:12
lingonto always have the /anna/ part is to complicate the address for the user a bit to much15:13
+bartjolwait, I can test that15:14
+bartjolnope, it does not do that15:15
+bartjolit depends on your rewite conditions, apparently, I got that right15:16
+bartjolbut it is a while ago that I wrote those15:16
+bartjolso I did not remember whether I took notice of that effect at the moment15:18
lingonno problem15:19
lingonbut just so that I have understood correctly. The rewrite conditions and rules should be placed in the domain.modproxy conf file15:20
lingondo I have to change anything in my /etc/hosts as well?15:21
+bartjolyes, you'll have to modify that conf file15:22
+bartjolmaybe explicitly mention the other hostnames15:22
lingonI had to change the last line in your example. RewriteRule   ^(.*)$  /root/anna$1  [R=301,L]  to RewriteRule   ^(.*)$  /anna$1  [R=301,L] so that it pointed corectly15:34
lingonthank you for your help15:35
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving]15:45
+bartjolah, ok15:52
+bartjolvery nice15:52
-!- MrHairgrease [~martin@] has joined #webgui15:55
-!- mode/#webgui [+v MrHairgrease] by ChanServ15:55
lingonIt is a nice and simple solution but .... the more I think about it in general and in terms of scalability and without really knowing the issues a multiple root solution seems better.16:00
-!- fokat [~lem@] has joined #webgui16:04
lingonit might be hard to convince people that http://anna.domain.com/anna is much better than http://www.domain.com/anna16:05
+bartjolwell, Idon't know thepeople you're working with :)16:06
lingonYou know, the usual lot. Those with a lot of opinions and no money.16:14
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui16:37
-!- mode/#webgui [+v patspam] by ChanServ16:37
+bartjollingon: aah, the "I want it yesterday, for free and more of it"-type16:39
lingonyes, something along those general lines16:40
+bartjolwe have a customer, SDH consulting, they are like that ;)16:41
+bartjolno, patspam is a nice customer16:42
* patspam ruffles bartjol's hair16:43
+MrHairgreasenow patspam has to wash his hands...16:43
+bartjolnope, just washed it today16:44
-!- SDuensin [~scott@173-28-73-10.client.mchsi.com] has joined #webgui16:48
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: This computer has gone to sleep]16:48
-!- Guest36494 [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]16:49
+patspamI'm surprised there isn't an RFE for Inbox attachments17:06
+MrHairgreasemaybe it wasnt attached17:07
* SDuensin rushes off to add one!17:07
+MrHairgreasehar har har17:07
+patspamMrHairgrease will be here all week17:13
+patspammake sure you buy a drink from the bar17:13
+MrHairgreasewher will I be?17:13
-!- Haarg [~haarg@] has joined #webgui17:13
-!- mode/#webgui [+o Haarg] by ChanServ17:13
+MrHairgreasepatspam: okay!17:13
@Haargpatspam: in my simple-logging branch, i have Plack::Middleware::Debug::(Logging|MySQLTrace).  they don't really depend on webgui at all so it would probably make sense to make them CPAN modules.  ::Logging is basically the same as your ::WgLogger, but removes the hack for the errorhandler.  i moved some of the code into Middleware::Session so it isn't needed.17:17
+patspamcpan it!17:17
@Haargalso, ::Debug plugins are really just middleware, so they could be named WebGUI:: etc17:18
@Haargthey just wouldn't be able to be loaded with the 'panels' param,17:18
+patspamI was planning on patching that so that it uses Plack::Util::load17:18
+patspamwhich allows for '+My::Namespace'17:18
@Haargand my log4perl change is in the latest Plack release17:19
+patspamwell, it actually *does* use that already, but it forcibly adds 'Debug::' at the front ;)17:19
+patspamthe caller depth thing?17:19
@Haargso now i just have to fix performance indicators and my simple-logging should be as ready for merge into psgi17:20
@Haargs/ as//17:20
+patspamcool, feel free to merge it whenever you're ready17:21
+patspamI'm keen to get psgi merged into WebGUI8 as soon as possible17:22
+patspamhow many people are hacking on WebGUI8 atm?17:22
+patspamwe'll need to give people a heads-up on how to run psgi apps via plackup17:22
@Haargpreaction, perlDreamer, you, me17:22
+patspamok, that's a non-issue then ;)17:23
@Haargi wonder if it might be good to rip out the current performance indicators and make them into a Debug panel instead17:25
+patspamseems reasonable17:25
@Haargit stuffs them inline in the page currently, which helps you see what asset they are related to17:25
+MrHairgreaseare the performance indicaters actually being used?17:26
+MrHairgreaseespecially now tht we have NYTProf17:26
@Haargit helps you debug on a different level17:26
+MrHairgreasebut iirc it is some sort of profiler right?17:26
@Haarglike to see about navigations that are problematic.  and you can turn them on and off without dealing with the server side.17:26
@Haargwe have two performance profiler things17:27
+MrHairgreaseyeah that's true17:27
@Haargone of them - the sub level one - is gone17:27
@Haargbut for content, the performance indicators are useful17:27
+MrHairgreaseoh, didn;t know that. I only knew the sub level thing17:28
+MrHairgreaseI guess I've been out of the loop for too long...17:28
@Haargi think it makes more sense as a debug panel though.  it could have links each asset and could even be made sortable or something eventually.17:29
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui17:44
-!- mode/#webgui [+v perlDreamer] by ChanServ17:44
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui18:06
-!- mode/#webgui [+o tavisto] by ChanServ18:06
-!- kaare [~kaare@] has joined #webgui18:08
-!- kaare is now known as Guest1213818:08
-!- Guest12138 [~kaare@] has quit [Remote host closed the connection]18:10
ckotil"Anticipating what could be a very long wait for Perl 6, the Perl 5 developers have overhauled the date functions in 5.12 so that it can handle dates that are further in the future than 2038."18:14
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]18:21
+perlDreamerPerl 6 is like popcorn popping18:26
+perlDreamerthe last kernel will never pop18:26
+perlDreamerbut you can still enjoy what's there18:26
-!- lingon [~4d4862fb@gateway/web/freenode/x-ekqkctlzngzfbrrf] has quit [Ping timeout: 248 seconds]18:29
-!- fokat [~lem@] has quit [Quit: Ex-Chat]18:37
+perlDreamerand, since they're backporting tons of it to Perl 5, you can enjoy it now18:38
+perlDreamerthe smart match operator, the native switch statement (given/when), regexp enhancements, MRO choice/plugins, the "say" statement18:38
+perlDreamerthose are all influenced by Perl 618:38
+perlDreamerso are things like Moose18:38
+patspamperlDreamer: I installed perl 5.12.0 via perlbrew last night to try it out with wg18:41
+perlDreamerhow did it go?18:41
+patspamfirst I made this cpan package to simplify installing all the dependencies18:42
+patspam(see: http://cpansearch.perl.org/src/PDONELAN/Task-WebGUI-1.101040/dist.ini)18:42
+patspamI'm just trying to track down what ubuntu dev packages I need to install to allow PerlMagick to build18:43
+perlDreameris this WebGUI8, or 7.9?18:44
+patspampsgi :)18:44
+perlDreamerokay, that's a modified, and much desired, WebGUI818:45
+patspamyeah - did you see the new debug panels haarg added last night?18:46
+patspamwe're writing plugins for Plack's 'Debug' middleware18:47
+MrHairgreasecpan question for you gurus18:47
+patspamsee also http://www.flickr.com/photos/patspam/4505694655/18:47
+perlDreamerI like it!18:47
+patspamyeah it's really nice18:47
+MrHairgreasehow do you determine what version of a dependency you need18:47
+patspamonly appears when debug mode is on18:47
+MrHairgreaseeg. in http://github.com/martink/moosex-slaveattribute/blob/master/dist.ini18:47
+perlDreamerI don't suppose there's good CLI access for that?18:47
+MrHairgreaseI now have Moose = 018:47
+patspamand very pluggable18:48
+MrHairgreasethe debug panel looks nice btw!18:48
+patspamMrHairgrease: you're using dzil? yay!18:48
+perlDreamerMrHairgrease, it's probably best to set that to the version of Moose that you used to develop it18:48
+MrHairgreasehmm, yeah well that's the most recent most of the time18:49
+MrHairgreaseI tend to update a lot18:49
@Haarghttp://haarg.org/logger.png http://haarg.org/sql-trace.png http://haarg.org/perf-log.png18:50
+MrHairgreasepatspam: yeah, I have two cpan things in the works, and I ended up using those to try out new perl stuff18:51
+MrHairgreasedzil is one of em18:51
+perlDreamerwhy haven't we done this earlier?  patspam, you need to be more outspoken!18:51
+perlDreamereither that, or we need to be less resistant to change18:51
@Haargwith that performance panel, it removes the need for the performance indicators setting.  it can just always be on.18:52
+perlDreamerHaarg, WebGUI8 merge has what looks like only a few boogers.  Probably won't take longer than a few hours to resolve them18:52
+perlDreamerthis is what I'm using to run base asset tests now: perl run_asset.t > ran 2>&118:53
+perlDreamerand !?run_ass to do it multiple times18:53
+perlDreamerit uses Test::Class to run ~3200 tests like ->new, cut, paste, purge, duplicate, addRev etc18:55
+perlDreameralso some parent checks and other things18:55
+MrHairgreaseok guys18:58
+MrHairgreaseI have to abide the bar/beer thing patspam told me to do18:58
-!- MrHairgrease [~martin@] has left #webgui []18:59
+perlDreamerI need to win the lottery and hire Paul Johnson fix Devel::Cover19:04
+patspamI think they were doing work on it at the vienna QA hackathon over the weekend?19:05
+perlDreamersome, but PCJ's video report on day #2 said that he was just starting to attack the RT queue19:07
+perlDreamerand the constant handling in various code statements definitely needs to be approved19:07
+perlDreamerTest::Builder 2.x uses Mouse!??!19:10
+perlDreamerat some point, they're going to put Mo[ou]se into the core of Perl 519:12
+perlDreameryou heard it here first, folks19:12
+perlDreamerpatspam, if we do one of these videos, we need to post process the video to add in subtitles with names of people and bullet point summaries of what the person says19:16
+patspamthat would be awesome.. but aren't we too lazy?19:17
+perlDreamermaybe a nice blog posting would do19:17
+patspamhow much effort do you reckon it'd take to add inbox attachments?19:18
+patspamI have a client who might be interested in funding it19:18
+perlDreamerat the API level, it should be quite simple19:20
+perlDreameryou're just adding a storage location to each inbox message19:20
+perlDreamerbut the UI may be a little involved19:20
+patspamyeah ok19:21
+perlDreamerI think I need to face the fact that I'm graphics impaired19:22
+perlDreamerAPI and CLI makes tons of sense to me19:23
+perlDreamerbut my UI leaves a lot to be desired19:23
+perlDreamerwhich seems odd for a web developer19:23
+patspamthat's why we have people like andyiomoon around19:24
+patspamwhere does the wre source repo live?19:25
+patspamah, github19:25
+perlDreamerit's on PB's github19:25
+patspamhmm, looks like Image::Magick is going to stop me from being able to test wg against perl 5.12.019:29
+perlDreamerit's really new, their team may not have done any testing against it yet19:31
+perlDreameryou can be the first to post the RT bug!19:31
+perlDreamerdoes this help: https://rt.cpan.org/Public/Bug/Display.html?id=56345 19:32
CIA-104webgui: Colin Kuskie master * r5282a12 / (docs/gotcha.txt sbin/testEnvironment.pl): Note Test::Deep is required due to usage in Survey::Test and Asset::Event. - http://bit.ly/d2Gcm519:35
+patspamah I think maybe it's because PerlMagick on CPAN is version 6.5919:35
+patspamwhereas ubuntu's ImageMagick is 6.5.119:35
+perlDreamerare the version numbers tied together?19:36
+patspamyeah, seems to be suggested at http://www.imagemagick.org/script/perl-magick.php19:36
+patspamwho else is going to YAPC::NA this year?19:51
+perlDreamersorry, my travel budget is pretty dominated by the WUC this year19:55
+perlDreamerI'm hoping to squeeze in an OSCON tutorial, but we shall see19:56
@Haargi'm planning to patspam20:09
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has joined #webgui21:08
+patspamHaarg: great21:26
+patspamI got perl 5.12.0 installed21:26
+patspamsite loaded but got: Unable to process macro 'AdminBar'21:26
+patspamwill investigate more some other time21:27
@preactionthe AdminBar is going away. but i don't know why it doesn't work right now unfortunately21:28
CIA-104webgui: Colin Kuskie master * r1cd7d8f / (t/Asset/Wobject/WikiMaster/featured.t t/Macro/PageUrl.t): Remove dead END blocks from some tests. - http://bit.ly/cMICBD21:41
+patspamI vote we migrate to 5.12 for the sake of the size of the webgui tarball21:42
+patspamthink how much space we can save by deleting all those 'use strict's!21:42
+perlDreamerpatspam is now President of the Society for the Conservation of Bits21:43
+perlDreameruh, has anyone looked at the "appendMostPopular" method in WikiMaster?21:47
+perlDreamerI'm not seeing any kind of popularity weighing in on which assets are selected, or their order21:47
* perlDreamer goes running, and ponders an implementation of breadth-first versus depth-first recursion, and its impact on hierarchial keyword displays22:03
-!- SDuensin [~scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving.]22:59
CIA-104webgui: Patrick Donelan psgi * r30a2c09 / (11 files in 4 dirs): URL handlers are now completely replaced by Middleware - http://bit.ly/bBsYXa23:25
CIA-104webgui: Doug Bell WebGUI8 * rb38847b / (4 files in 3 dirs): back button/menu working - http://bit.ly/czzmfj23:33
ckotilWhen did the YUI vertical menu get introduced? it seems to do somethign wierd to <h1> tags23:40
--- Day changed Thu Apr 15 2010
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui00:02
* patspam just added preloading to psgi branch00:37
+patspamWebGUI under Starman uses about 10Mb per child worker00:37
+patspamwith fixed additional overhead of about 100Mb00:38
+patspamso running 10 workers = ~200Mb00:38
+patspam20 works = 300M00:38
+patspamthere's still a lot of unnecessary cruft being preloaded (Apache2::Request etc..) so I'm sure we can trim it further00:41
+perlDreamerI though you had Unrequested the psgi branch?00:41
+perlDreamerremoved Apache2::Request00:45
+patspamyeah I have, but there's still a few mentions of it in random bits of code that need to be cleaned up00:45
+perlDreamerack to the rescue!01:05
+perlDreamerIt's probably Session, and maybe Session/Http01:05
+patspamplus some weird ones like UsersOnline and SendWebguiStats01:06
+perlDreamerI get WebGUI.pm, Storage01:06
+perlDreamerand PerformanceProfiler01:07
+perlDreamerbut that's in the master branch, not WebGUI801:07
+patspamalso HttpProxy 01:08
+perlDreamerI see, I should ack 'Apache2::'01:09
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has joined #webgui01:11
+patspamsweet, I've got it down to under 10Mb per child worker01:18
+patspamwith only one child your total cost is 98M01:18
+patspamwith 10x child workers your total cost is 163M01:18
+perlDreamerdude, that's still massively less than Apache/mod_perl01:19
+patspam20x --> 235M, 30x --> 265M01:19
+perlDreamerwe tell Apache to kill them at 150 Mb each01:19
+perlDreamerand they do get killed01:19
+perlDreamerhey, how does LeakTrace work with Plack/psgi?01:19
+patspamhave't tried it01:19
+patspamI started playing with Test::Memory::Cycle last night01:20
+perlDreamerAndy Lester is a genius01:21
+patspamwhat's the best LeakTrace module to use?01:21
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]01:22
+perlDreamerAndy Armstrong is also a genius01:23
+perlDreamerwhat is with people named Andy and geniusness?01:23
-!- fokat [~lem@] has joined #webgui01:25
+patspamhave you used any of the LeakTrace modules in the past?01:26
+perlDreamerpatspam, in your dream implementation of wiki categories, are sub-categories defined in the keyword pages?01:41
+patspamsorry, trying to remember01:46
+patspamhow do you create subcategories in wikipedia? by adding categories to a category page?01:46
+perlDreamerI did a little reading into that,and that sounds right.01:47
+perlDreamerit isn't very clearly laid out01:47
+patspamah, I see, other way around to what I was thinking01:48
+patspamyou tag the sub-category as being in the parent category01:48
+patspamso for us, on a keyword page you tag it with the parent keyword to establish the hierarchy01:48
+perlDreamerright, in the parent (wiki), we give it a list of keywords.  Those link, in turn, to pages where the title matches that keyword01:50
+perlDreamerbut from there down, it's up to us to determine how to find the next level01:50
+patspamsay I want to have: Administration > Performance > FilePump01:50
+patspamthat's: top-level cat, sub-cat, article01:51
+patspamwe like Administration in the wiki settings so that it knows it's a top-level cat01:51
+patspamthen as a user, I first add the FilePump article, and tag it as Performance01:51
+patspamthen I go to the Performance keyword page, and tag that as Administration01:51
@HaargperlDreamer, what problems did you see with the WebGUI8/master merge?02:08
+perlDreamerit was varied, about 32 failing tests out of 350002:09
+perlDreamercouldn't call cloneFromDb, unable to look up assetId, unable to find WEBGUI_FATAL02:09
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has quit [Remote host closed the connection]02:09
+perlDreamerback when we spoke earlier, I noted which test I ran, and what how I ran it for reference02:09
+perlDreamerbut I've been doing support and wiki hacking all day long, and haven't looked deeply at what's failing02:10
CIA-104webgui: Patrick Donelan psgi * r4d703ff / (7 files in 7 dirs): 02:37
CIA-104webgui: Added preloading02:37
CIA-104webgui: Removed evil overload02:37
CIA-104webgui: Removed references to Apache2:: from codebase02:37
CIA-104webgui: Attempted to remove circular references - http://bit.ly/abwdds02:37
xdangerI haven't been following the conversation or development os WebGUI8, but you talk a lot about Plack/psgi so is WG8 going to run on Plack?03:04
-!- vayde [~vayde@70-59-73-116.mpls.qwest.net] has quit [Remote host closed the connection]03:06
@preactionxdanger: yes03:18
xdangerI did some testing on plebgui when patspam first did the blog post03:19
@preactionafter 8, our next major step will be consolidating around Template Toolkit and DBIx::Class, probably accompanied with a huge reduction in the codebase and a not-minor restructuring03:19
xdangerIt was great for local dev03:19
xdangerYou should have some kind of status update every month or so03:20
@preactioni don't have time, else i would03:21
xdangerhas there been any other changes/additions to the original webgui8 plans?03:22
-!- f00li5h [~f00li5h@unaffiliated/f00li5h] has quit [Quit: milk and nip for @kitties;]03:23
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has joined #webgui03:24
@preactionmemcached is no longer required, we're going to use CHI instead (to allow memcached, but also fastmmap and other caches)03:25
@preactionand a bunch of stuff was deemed "too much work", since plainblack has had to cut back on staff due to the economy03:26
-!- fokat [~lem@] has quit [Quit: Ex-Chat]03:31
-!- f00li5h [~f00li5h@c211-30-215-136.thorn2.nsw.optusnet.com.au] has quit [Changing host]03:34
-!- f00li5h [~f00li5h@unaffiliated/f00li5h] has joined #webgui03:34
xdangerI just love perl and cpan =)03:34
xdanger"There's a Cpan package for that"03:35
CIA-104webgui: Doug Bell WebGUI8 * r203686f / www/extras/admin/admin.js : back/forward button/menu done - http://bit.ly/b1aJWH03:56
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]04:19
+patspamxdanger: http://www.flickr.com/photos/patspam/4505694655/in/photostream/04:35
+patspamthe plack branch has eye-candy now too04:35
@preactioni gotta try this, see if i can rip out the current "debug mode" 04:46
@preactionor did you already do that?04:46
@preactiondamn, colin's not here. i wanted to ask his approval to merge04:47
+patspamcall him on the batphone04:47
@preactionnono, way too late for that.04:47
@preactionbesides, he already works too much and claims too few hours04:48
+patspamyeah true04:48
@preactioncan Plack::Middleware::Debug be turned on/off while the server is running?04:50
@preactionperhaps even on a per-user basis?04:50
+patspamyeah, it uses canShowDebug04:50
@preactioni'd like to be able to debug a live site while the live site is still live04:50
@preactionah, sweet. so i could make that a session var instead of a setting (leaving the security IP subnets, or maybe putting them in config instead)04:51
+patspamit's middleware, so it's per-request04:51
@preactiongood. simplify simplify is the name of the 8 game04:51
+patspamI've got it enabling StackTrace when debug mode is on too04:52
+patspampreaction: http://www.flickr.com/photos/patspam/4522358884/04:59
@preactionand no "WEBGUI_FATAL"? no "Internal Server Bullcrap"?05:00
@preactionhmm... i would say if a session doesn't get created to just give a verbose error message: something is really wrong05:01
@preactionbut that might require changes to Session->open. damn do i wish for proper exceptions...05:02
@Haargpreaction, http://haarg.org/perf-log.png05:17
@preactionoh fucking nice05:17
@preactioneven if the performance itself isn't so great05:17
@Haargi figured that was a better way to go than the inline perf things05:18
@preactionindeed, much much better05:18
@Haargso they can just be tied to debug mode instead of being a separate setting05:18
@preactionthat's another huge block of spaghetti code that will Not Be Missed05:18
@Haargwith the combination of what patspam and i have done, Session::ErrorHandler does almost nothing now05:19
@preactionawesome. awesome to the max05:20
@preactionwhich reminds me. should we put "scratch" outside and make it $session->set(...) and $session->get(...)?05:20
@Haargthere's also session->var05:20
@preactionwhich are the read-only... wait... christ...05:21
@preactionone of those does not need to exist. and maybe both.05:21
@preactionVar could be properties of WebGUI::Session05:21
@preactionor whathaveyou05:21
@Haargmight make sense to have var be part of session and keep scratch as it is05:22
@Haarganother middleware to make i think. Plack::Middleware::ProxyHeaders05:25
@Haargto have it adjust the incoming data for stuff behind a forward proxy - X-Forwared-For and X-Forwarded-Proto05:26
+patspampreaction: I refactored it so that WebGUI can throw exceptions05:35
@preactionyes, but parts of the API rely on not throwing exceptions05:36
@preactionperhaps i should make that a decree: any place where we formerly returned undef to say "problem", we will eventually throw an exception05:37
+patspamyeah, exceptions are nice now that we have StackTrace05:37
+patspamand when you don't have debug mode on, the exception gets caught and mapped to a http error code05:37
+patspamand then http errors get mapped to your custom error docs :)05:37
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]06:01
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui06:09
-!- mode/#webgui [+v patspam] by ChanServ06:09
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]06:25
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui06:29
-!- mode/#webgui [+v patspam] by ChanServ06:29
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]06:51
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]07:20
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:43
-!- kaare is now known as Guest1626908:44
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui08:54
-!- mode/#webgui [+o Haarg] by ChanServ08:54
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui10:11
-!- mode/#webgui [+v bartjol] by ChanServ10:11
-!- MrHairgrease [~martin@] has joined #webgui10:31
-!- mode/#webgui [+v MrHairgrease] by ChanServ10:31
+MrHairgreaseGood morning everybody!10:31
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]11:17
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving]14:48
-!- Windows__Killer [~chatzilla@] has joined #webgui15:26
Windows__Killeranyone help me regarding installation of WebGUI15:29
Windows__Killeranyone there15:29
+MrHairgreasewhat is the problem?15:30
Windows__Killeri have just downloaded 15:40
Windows__Killerdo u have tutorial ?15:40
Windows__Killerplease send me15:41
-!- fokat [~lem@] has joined #webgui15:43
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:16
-!- mode/#webgui [+o bopbop] by ChanServ16:16
-!- SDuensin [~Scott@mobile-166-137-140-197.mycingular.net] has joined #webgui16:26
-!- SDuensin [~Scott@mobile-166-137-140-197.mycingular.net] has quit [Quit: Leaving]16:31
-!- SDuensin [~Scott@mobile-166-137-141-197.mycingular.net] has joined #webgui16:34
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui16:54
-!- mode/#webgui [+v patspam] by ChanServ16:54
-!- Windows__Killer [~chatzilla@] has quit [Remote host closed the connection]16:58
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui17:03
-!- mode/#webgui [+v perlDreamer] by ChanServ17:03
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui17:07
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: This computer has gone to sleep]17:09
-!- Guest16269 [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]17:17
-!- Haarg [~haarg@] has joined #webgui17:31
-!- mode/#webgui [+o Haarg] by ChanServ17:31
+bartjolagain a strange problem with lineage, assets are being added with an existing lineage17:33
+bartjoland now it acts normal again17:33
@Haargpatspam, something we should do in the psgi branch: make the top level app.psgi file automatically map all of the site configs by hostname17:35
+patspamah yeah, I hadn't really thought about multi-site17:39
+patspamfor some reason I was thinking along the lines of site1.psgi, site2.psgi, but that's not right17:40
@Haargwell, maybe17:40
@Haargone thought i had was to have a file var/app.psgi17:40
@Haargthat handles a single site17:40
+perlDreamerbartjol, lineage is set to be unique in the db17:40
+perlDreamerif that isn't working17:40
@Haargand the main level app.psgi then wraps that for each host name17:40
+perlDreamerthen we have a MySQL bug17:40
@Haargbut the site config could also contain an alternate psgi file to use17:41
@Haargand you would still be able to just make your own psgi that only referenced your own site if you wanted to go that route17:41
+bartjolperlDreamer: well, it only tries to do that, and then fails17:41
+perlDreamerwell, that's good then17:41
+bartjolso no mysql bug17:42
+perlDreamerit's only a WebGUI bug :P17:42
+perlDreameris this a site with heavy usage?17:42
+bartjolbut it only happens on one site and (afaik) 1 asset17:42
@Haargi may be trying to hard to make it more like our existing setup, but it seems like a reasonable approach anyway17:42
+bartjolno that much17:42
+perlDreamerwhich asset is it?17:43
+bartjola page layout17:44
+bartjolquiet common17:44
+perlDreamervanilla, core code?17:44
+perlDreamernote, have to take kids to school in T-1 minute17:44
+patspamhaarg: the current architecture needs some refactoring in that case17:44
@Haarghow so?17:45
+patspamwe need a config object per-site17:45
+patspamI guess we could create a WebGUI object per-site too17:45
+patspamI just baked preloading into the WebGUI object, which assumes it only gets run once per server17:46
@Haargwhat bit of code are you referencing?17:49
@Haargi wouldn't worry about that too much.  it could probably just be left out for now until we merge in WebGUI::Paths.17:55
+patspamyeah, I'm dying for that17:58
@Haargit's ready for merge, except it entirely breaks wgdev17:59
+patspamI really like the way psgi is forcing us to separate out per-server, per-site and per-request scopes17:59
-!- MrHairgrease [~martin@] has left #webgui []17:59
* perlDreamer is back18:00
CIA-104webgui: Patrick Donelan psgi * r7285454 / app.psgi : Multi-site support - http://bit.ly/bNuowk18:00
+patspamhaard: http://github.com/plainblack/webgui/blob/psgi/app.psgi18:00
+perlDreameryou realize it was shorter to just type haarg, patspam?18:01
@HaargperlDreamer, why did we end up using Net::CIDR::Lite instead of one of the alternatives?18:01
+perlDreamerI liked it better than the others18:02
+perlDreamerthey all had the same functionality18:02
+patspamperlDreamer: I probably should have used s/h(a+)rd/h$1rg/18:06
+patspamin case he sprouts another 'a'18:06
+perlDreamerhe does do that18:07
+perlDreamerright now I think he's grinding his teeth over my method for choosing modules18:07
+patspamdamn, psgi is evil18:07
@Haargno, i was just wondering18:07
+patspamI swore today I was going to do $work18:07
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]18:08
@Haargthe module i'm working on needs to match ips and right now i just have it doing string matching18:08
+patspamit sucks you in with its shiny goodness18:08
@Haargwas considering adding netmask/cidr18:08
* patspam goes back to reviewing client tickets18:08
+perlDreamerNet::CIDR::Lite will handle that18:11
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:24
-!- mode/#webgui [+o bopbop] by ChanServ18:24
-!- fokat [~lem@] has quit [Quit: Ex-Chat]19:09
* perlDreamer goes to the gym, and considers a divorce from Test::Deep19:16
@preactionA no-fault divorce? Be careful, it might take half your stuff19:29
CIA-104webgui: Graham Knop master * r8206aea / (5 files in 5 dirs): enhance format of .wgaccess files to provide security for Gallery files - http://bit.ly/ciOd2019:39
CIA-104webgui: Graham Knop webgui-7.8 * rb761a92 / (5 files in 5 dirs): enhance format of .wgaccess files to provide security for Gallery files - http://bit.ly/9L02M719:43
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]19:48
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has joined #webgui19:59
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui20:05
-!- mode/#webgui [+o tavisto] by ChanServ20:05
mech422 /crickets20:29
+perlDreamerhow's your Account plugin, mech422?20:30
mech422done - works a treat :-)20:41
mech422iContact is kinda borked though20:41
mech422if a user 'unsubscribes' from your mailing list, you can't resubscribe without going to their website... so to allow users to toggle 'receive email' back and forth you need to move them on/off a "don't bother me" list20:42
mech422very wierd20:42
mech422I'm now perusing the lovely import user script you included in the box :-)20:43
mech422(plone uses SSHA passwd hashes, but we decided to skip the auth plugin nad just have users reset their passwords)20:43
mech422got about 20k of users to import20:44
+perlDreamerthat'll take a while20:45
+perlDreamerbut the userImport script will let you set their username, password and all profile fields20:45
+perlDreameralso, initial group membership20:45
@Haargfinally made something posting as a cpan module, Plack::Middleware::ForwardedHeaders20:46
mech422yeah - its seems pretty slick :-)  Do you happen to know if it handles quoted strings ?  ( juser, "Joe User", somepassword )20:47
mech422( I guess I should write a test script and see how this works: @user{@field} = @row;  -that seems to be the key piece ? )20:49
@Haargit doesn't handle quoted strings, but it is a tab separated file so things with spaces should be fine unquoted20:51
mech422oh thanks20:51
@Haargit should probably be changed to use Text::CSV_XS20:53
mech422I was sorta surprised there wasn't some sort of perl CSV module being used20:53
mech422python has a fairly nice one for working with csv20:53
+perlDreamerHaarg, definitely20:54
+perlDreamermech422, if you want to submit a patch with that, we'd take it20:54
+perlDreamergive you kudos in the authors credits file20:54
+perlDreamershower you with karma on webgui.org20:54
mech422perlDreamer: LOL - probably not the one you want making changes like that... all your import users would prolly end up with a password fo 'foobar'20:54
+perlDreamermech422, don't sell youreself short :)20:55
+perlDreamerplus, we'd audit the patch and run some tests on it before committing20:55
+perlDreamerwell, Test::Differences has much better debug output, but Test::Deep allows you to do things that it can't21:00
+perlDreamerlike array checking, partial hash checking, etc21:00
-!- kimd [~spunky@p549F2FE4.dip.t-dialin.net] has joined #webgui21:01
+perlDreamerWhy in the world don't the List-type Form plugins take an array reference, instead of a hashref?21:14
+perlDreamerI find it hard to debate that login21:16
+perlDreamererr, logic21:16
kimdYou mean, because preaction is right?21:18
+perlDreamerin this case, yes21:19
mech422wait - wasn't that one of the rules ?21:20
mech422don't get him wet...21:21
@preactionperlbot tmrfe21:21
perlbotpreaction: The Man Responsible For Everything -- Sometimes you DO have someone to blame.  21:21
mech422don't feed him after midnight21:21
mech422don't tell him he's right ?21:21
@preactionyeah, he might get used to it21:21
+perlDreamerno, we'll shoot him down, question his credibility and assault his self-esteem tomorrow21:23
kimdShouldn't we assault his self-esteem before shooting him down? Otherwise it's no fun.21:24
@preactionawesome! i won't be here tomorrow!21:24
kimdLucky you!21:26
mech422Hmm - maybe in hte new version - setenvironment could set a WEBGUI_ROOT too ?21:40
mech422the trick used to find the root in the userImport script means it has to be run from a specific dir21:40
mech422stuffing it in hte env could give a nice consistent way to find it ?  or am I missing something ?21:41
@preactionthat sounds like a good idea21:42
@Haargit wouldn't be hard to just adjust all the scripts to just use a directory relative to themselves instead of the current directory.21:43
mech422Haarg: thats what userImport does - webguiRoot = '..'21:44
mech422but then you have to be in the 'right' dir when you run it21:44
@Haarginstead it should be relative to the script file itself21:44
mech422getting the 'real' path of a script cross platform is a bit of a PITA.. I had to do it in bash one time..21:45
mech422the 'easy way out' is just stuff it in a var somewhere 21:45
@Haargyou could also use wgdev21:45
@Haargugly, but would work better than what we have right now21:48
@Haargpreaction, do you see any reason not to just make that change?21:49
+perlDreamerit's just one of a whole bunch of changes that need to be done to that script21:49
@preactionno, sounds good21:49
+perlDreamerlike CSV_XS and everything else21:49
@Haargwell, that change is for all scripts21:50
@preactionsoon enough we'll have WebGUI in @INC and all this bullshit can go away21:50
+perlDreamerand all wi' be well, all manner of things wi' be well21:54
mech422heh - it ran, said 'starting ok' 'ending ok' but nothing imported :-P   I must have been a horrible person in a former life21:55
mech422so iffin I gotta tear this apart - CSV_XS is the module you want to use ?21:56
mech422thanks :-)21:58
+perlDreamermech422, it's like a format problem in your usersFile21:58
+perlDreamerwhich means converting it to Text::CSV_XS won't help21:58
mech422yeah - the file didn't open22:03
CIA-104webgui: Graham Knop master * raaa0924 / (18 files): allow running sbin scripts from any directory - http://bit.ly/clft4522:03
mech422needs an '|| die()' on  the open ?22:03
CIA-104webgui: Graham Knop master * r7c7136f / lib/WebGUI/URL/Uploads.pm : remove useless variable declaration - http://bit.ly/cjYYXY22:03
mech422Woot! I have users :-D22:05
+perlDreamerHaarg, do the recent changes to the .wgaccess file need an upgrade script to iterate and upgrade them, or will they work in both formats?22:06
kimdperlDreamer, how to use no plan in testing combined with testing_done?22:08
+perlDreamerkimd, for now, I don't recommend that you do that22:08
kimdWhy is that?22:08
+perlDreamerit won't work with older perl's, and their testing infrastructure22:09
kimdor was it 5.8?22:09
+perlDreamerin WebGUI 8, it won't be an issue any longer22:09
kimdHm. Back to counting tests...22:09
+perlDreamerwe mandate 5.10, and it has all the right versions of test modules to use no_plan, and testing_done22:09
+perlDreamerit's a big bummer, but the end is coming22:10
@preactionkimd: you could run the tests, it will tell you how many were run22:10
kimdI am just not sure whether it will always remain the same.22:10
kimdI am running a loop on a storage location.22:10
kimdAt the moment there should be two resolutions and a thumbnail.22:10
kimdBut what if the code changes and there are more in the future?22:11
kimd(Talking about the Photo asset)22:11
@preactionthen the test fails and someone has to update it22:11
@preactioni would rather have failing tests than questionable coverage22:11
@preactionwgd lets you do a coverage report automatically when testing though22:12
kimdAlright. Going to hardcode the number then.22:12
@preactionwait, why run a loop when you can use Test::Deep's bag or supersetof()?22:12
+perlDreamerkimd, that is a good 2nd option22:13
+perlDreamerTest::Deep will let you run "loop"-type tests on every member of data sent to it22:13
+perlDreamerand it only counts as 1 test22:14
kimdThe answer is simple: I have never done it and it will take me probably 20min+ to find out how to do it.22:14
+perlDreamerit's your call.  If you want help converting it to Test::Deep just show paste a snippet of the test22:16
kimdSounds fair.22:22
kimdSomething else first, though:22:22
kimdHow can I push an array to an array without adding the single elements?22:22
kimdI want an array of arrays.22:23
kimdOr is that not possible in perl? Do I need to use refs?22:24
+perlDreamerpush @array, \@array2;22:24
+perlDreamerso, yes to both questions :)22:25
kimdAargh! I should hate you all for making me write test functions...22:27
kimd(But I don't).22:27
+patspamso if I add inbox attachments..22:29
+patspamonly users who can read the message should be allowed to download the attachments22:30
@preactionpatspam: the new wgaccess file format should fix that for you22:32
+patspamnew wgaccess file format?22:32
@preactionjust merged today to fix a security problem in the gallery22:32
+patspamyeah because this site has a modified WebGUI that makes Inbox::can_read dynamic22:33
kimdIs it possible that cmp_deeply does not check for the correct order of elements?22:33
+patspammore dynamic than userId and groupId anyway22:33
@preactionWebGUI::Storage should be able to help explain things22:33
kimdI mean, (1024, 768) is identical to (768, 1024)?22:33
@preactionkimd: yes, that's what bag() is for22:33
+patspampreaction: in master?22:33
@preactionpatspam: and 7.8, yes22:33
+patspamperfect, multiple groups!22:35
kimdpreaction, I think it's the other way round. I meant cmp_bag.22:35
kimdWorking now. Thanks!22:35
@preactionyeah, cmp_bag = cmp_deeply( $something, bag( $expected ) )22:36
+patspamkimd: your PBWG photo would make your dentist proud22:36
kimdpatspam, they are a bit yellowish, in fact. But they did a good job at plainblack :-)22:37
kimdIs it ok for $storage->getFiles('showAll') to return the current directory pseudo file? ('.')22:41
+patspamthat smells bad to me22:43
+patspamalthough I've managed to mostly steer clear of WebGUI::Storage up until now, so I don't know if that would be useful or bugful22:44
+perlDreamerkimd, that's the way it's supposed to work22:46
kimdOk. That means I have to filter it out.22:46
* perlDreamer is out for lunch for a while22:47
@HaargperlDreamer, wgaccess changes are backwards compatible22:47
kimdOne more stupid question, is there a function to skip the current iteration of a for loop?22:49
@preactionkimd: perldoc -f next22:51
@preactionso "next if $file == ".";22:51
kimdCool! Thanks.22:51
kimdThat's almost like basic, isn't it?22:51
@preactioni don't know that basic has postfix notation22:51
kimdYou are right. I was just referring to the next directive.22:52
@preactionbut it's better than "continue" and "break", whatever those mean22:52
@preactionperl has "next" and "last" instead22:52
kimdYou know, I loved to type those little basic programs when I was a teenager...22:54
kimdEvery little game was hard work...22:55
kimdWhy does it take me about 10x more time for implementing testing functions than implementing the actual RFE?22:57
kimdIs that due to my limited programming skills?22:57
@preactionno, it's due to not being familiar with the testing functions, and that testing really does take more time than implementation22:57
kimdIt's very painful to be honest.22:58
kimdI read the idea about test-driven implementation.22:58
kimdI liked it in the beginning.22:58
@preactionbut it's much better for the stability of the platform as a whole22:58
kimdBut reality is really tough.22:58
kimdStill, I am making progress.22:58
@preactioni mean, here in WebGUI, some people get to write features and then foist the problems off on Colin or I22:59
kimdYeah, I can definitely see your point.22:59
@preactionwhich is why we need to maintain standards of code contributions: everyone has to deal with the consequences of bad code22:59
kimdThat is why I try to make better.22:59
@preactionright, and if i had a problem with the code it wouldn't have been merged at all23:00
@preactionit's just that before i would vet certain things, we let in a lot of problematic code we are still paying the maintenance costs on23:00
kimdOn the other, the burden for contributing to webgui has become extremely high.23:01
kimdYou almost need to be a WebGUI expert.23:01
kimdI assume that is the reason that so few people contribute code.23:01
@preactionno, people rarely contributed code before this23:01
@preactionthey did when we paid them contracting rates mostly23:01
-!- SDuensin [~Scott@mobile-166-137-141-197.mycingular.net] has quit [Quit: Leaving]23:02
kimdHm. Why do believe there is so little activity? I mean, there are quite a few companies using WebGUI.23:02
@preactionin 7.8, we didn't have any money to pay for contractors, which is why very few features went in23:02
kimdSad, isn't it?23:02
@preactioni don't know. i really don't. i've asked for help doing very little things, and they seem to agree, but nothing ever gets actually done23:02
@preaction(one was "hosting for a WRE build server")23:03
@preactionbut i mean that's the state of the world really23:03
kimdNo one's time for anything. But you know, time is a matter of priority.23:03
@preactionso what we'll do is heap as much reward and recognition as we can on those who do contribute23:03
kimdWell, do you really think that the people contributing are doing this for the reward and recognition?23:04
kimdI mean, I appreciate a nice word.23:04
kimdAnd quick response to my code.23:04
kimdBut in fact, I am being very much selfish.23:05
kimdI am using WebGUI.23:05
@preactionSquonk got us into Debian. Elnino has tested every feature of WebGUI personally. perlDreamer needs no introduction (we're just glad we can pay him for all the work he does at the moment)23:05
kimdContributing benefits me personally.23:05
@preactionpatspam is contributing a huge amount of WebGUI 8 and has contributed other huge features to WebGUI 723:05
kimdAnd what do you think is driving them?23:06
@preactionpersonal interest, same as what drives everyone to do anything23:06
@preactionits just their personal interest also benefits other people23:06
@preactionyou don't have to contribute changes back to webgui core, at all.23:07
kimdExactly. So why don't other people contribute that are making money with WebGUI?23:07
@preactionthe only benefit you get is that the community will help fix problems and add features23:07
@preactionthat, sir, is a question for the ages, and every F/OSS project would love an answer23:07
kimdFor me it is very simple:23:07
kimdAdding features to the core reduces my work upon upgrades.23:08
kimdDoes everyone else really prefer customized WebGUI installations?23:08
@preactionwell, and greater exposure means "all bugs are shallow"23:08
@preactionwell, some places have highly specialized apps (many of our clients)23:08
@preactionshallow, easy to unearth (find) / debug23:08
@preactionEric S Raymond explores this in "The Cathedral and the Bazaar"23:09
kimdI still don't get it.23:10
kimdIf I was earning money with WebGUI I would probably dedicate a day per week to general development.23:10
kimdOn average, of course.23:10
kimdWhat about the wre build server.23:11
kimdWhat is it that you need?23:11
@preactionnothing anymore. i can't build the WRE on OSX 10.6 because of 64-bit incompatibility problems23:11
kimdAnything else I might be able to do in order to help you?23:12
@preactionand i have to focus on WebGUI 8 development, can't waste time trying to figure out why the WRE won't build23:12
@Haargpreaction, which part was actually failing?23:12
@preactionafter i got every other little issue fixed, it was Class::MOP failing to build23:13
@preactioni think after i removed that, SSL just didn't work (even though it compiled just fine)23:13
@Haarg32-bit build?23:13
@preactioni had to reorg a whole bunch of Build.sh to make it accept the right CC, CCFLAGS, CPP, CPPFLAGS LDFLAGS, etc...23:14
@HaargperlDreamer, is there a reason we couldn't update the Test::More dependency for 7.9 to allow done_testing?23:15
kimdAlright, guys. It's 22:20 already. I think I need to go to bed.23:19
kimdEnjoy the rest of your day.23:20
-!- kimd [~spunky@p549F2FE4.dip.t-dialin.net] has quit [Quit: Ex-Chat]23:25
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]23:26
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui23:39
-!- mode/#webgui [+o bopbop] by ChanServ23:39
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]23:55
--- Day changed Fri Apr 16 2010
+perlDreamerHaarg, if it means revving the WRE, I'd rather not00:03
+perlDreamerit's pure convenience00:03
+perlDreamerand normally I'm a big fan of that00:03
+perlDreamerbut counting tests is too easy00:03
+perlDreamerplus, I'd really rather stick it to them, all at once, in WebGUI 800:03
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui00:20
mech422Hmm - 64 bit is still an issue ? it works pretty well here ... thought it was all resolved ?00:32
@Haargthere's a few different sides to the issue00:32
@Haargyou can run the 32bit version on a 64bit os without problems00:32
@Haargand we can compile a 64bit version on mac os x (where we do all our development)00:33
@Haargbit we haven't had any luck compiling a 32bit version on os x 10.600:33
mech422I have a pure 64bit build on Debian AMD6400:33
@Haargpatspam, ping00:34
+patspamhaarg: pong00:51
@Haargi made the module Plack::Middleware::ForwardedHeaders to deal with X-Forwarded-For and similar headers.  it adjusts REMORE_ADDR and psgi.url_scheme.  do you think it's worth saving the initial values in $env somewhere?00:52
+patspamwhat's it used for?00:54
@Haargwhat is which used for?00:54
+patspamX-Forwarded-For etc..00:55
@Haargif you have your server behind a reverse proxy, the remote ip address and protocol aren't really correct.  so Apache for example sends a X-Forwarded-For header specifying the original client ip that requested the page.00:55
+patspamah nice00:56
+patspambut if the proxy does it, why do you need to do it in the webapp?00:57
@Haargthe proxy just adds those headers00:57
+patspamoh I see00:57
@Haargthe web app needs to specifically use them00:57
@Haargso the middleware just adjusts the normal places that the information is stored based on those headers00:57
+patspamI don't see why you'd need to keep the original values if you're using that00:58
+patspamheh but easy to add later without breaking anything if people need it :)00:58
@Haargi actually already added it but i'm planning to rip it out because i don't like how it looks00:58
@Haargstoring in ORIGINAL_REMOTE_ADDR and original.psgi.url_scheme00:59
@preactionisn't there a PROXY_VIA or something?01:05
@Haargthere is also Via, but that's more for normal proxies01:05
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving]01:09
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui01:09
-!- mech422 [~steve@c-69-181-119-143.hsd1.ca.comcast.net] has quit [Remote host closed the connection]01:14
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]01:54
-!- fokat [~lem@] has joined #webgui02:23
CIA-104wgdev: Graham Knop master * r8b2b1bc / (lib/WGDev.pm lib/WGDev/Asset.pm lib/WGDev/Command/Reset.pm): add rudimentary support for WebGUI::Paths - http://bit.ly/aCHGKx02:34
CIA-104wgdev: Graham Knop master * r25499e9 / lib/WGDev/Command/Build.pm : enforce utf8 on tables in create.sql - http://bit.ly/bZ93ZT02:34
+patspamI think setenvironment.sh should completely stomp on $PERL5LIB02:54
+patspamif you already have something in there, say if you're using local::lib for other perl development, you don't want the wre's perl trying to use those libs02:55
+perlDreamerdoes sendmail log everything, or only problems?02:59
@Haargpreaction, perlDreamer, patspam i merged WebGUI::Paths in03:14
@Haargmade some small adjustments to wgdev enough so that reset works03:14
+patspamyou game to merge it into the psgi branch?03:19
@Haargnot at the moment03:20
@Haargtomorrow though sure03:20
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]04:04
-!- fokat [~lem@] has quit [Quit: Ex-Chat]04:14
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui04:20
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]05:03
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]06:11
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui06:26
-!- mode/#webgui [+o Haarg] by ChanServ06:26
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Ping timeout: 264 seconds]08:51
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui08:52
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:54
-!- kaare [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]08:54
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:57
-!- kaare is now known as Guest9554308:57
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]09:18
-!- preaction [~doug@static-72-1-4-143.ntd.net] has joined #webgui09:56
-!- mode/#webgui [+o preaction] by ChanServ09:56
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui10:20
-!- mode/#webgui [+v bartjol] by ChanServ10:20
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving]14:47
-!- fokat [~lem@] has joined #webgui15:43
-!- MrHairgrease [~martin@] has joined #webgui16:22
-!- mode/#webgui [+v MrHairgrease] by ChanServ16:22
-!- SDuensin [~Scott@mobile-166-137-140-159.mycingular.net] has joined #webgui16:28
+MrHairgreaseso they say16:35
SDuensinWhy yes they do.16:37
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: zzzzzzzzzz]16:44
+bartjolMrHairgrease: I? upgrading your site16:55
+bartjoland I will move it to the oqapi server16:56
-!- Guest95543 [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]17:03
CIA-104webgui: Graham Knop psgi * rf88d2b2 / (lib/WebGUI/Middleware/Session.pm var/site.psgi): move debug configuration into psgi - http://bit.ly/cqlmyY17:07
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui17:12
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui17:16
-!- mode/#webgui [+v patspam] by ChanServ17:16
@Haargpatspam, my psgi branch on github has WebGUI8(with WebGUI::Paths)+psgi merged, along with a multi-site .psgi file17:28
+patspampush it to pb?17:28
@Haargwell, there are a few things that still need to be fixed17:29
@Haargsession->env for one17:29
@Haargand it may not be serving error pages correctly17:29
+patspamyeah true17:30
+patspamI meant push it as the new psgi branch17:31
@Haargit's probably ok for that17:32
+patspamyeah, env is probably broken already17:32
@Haargit is17:32
@Haargwe may just want to get rid of it17:32
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui17:33
-!- mode/#webgui [+o tavisto] by ChanServ17:33
@Haargone thing i noticed was weakening config in a couple places17:34
@Haargis there any real reason to do that?17:34
@Haargconfig objects don't have references back to anything else so they should be garbage collected properly17:34
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: This computer has gone to sleep]17:37
-!- Haarg [~haarg@] has joined #webgui18:00
-!- mode/#webgui [+o Haarg] by ChanServ18:00
-!- preaction [~doug@static-72-1-4-143.ntd.net] has quit [Quit: preaction]18:06
@Haargpatspam, is debug mode the only reason WebGUI::Middleware::Session has special handling for Plack::Middleware::ErrorDocument?18:14
+patspamI baked in ErrorDocument as a general feature18:15
+patspamjust experimenting really18:15
@Haargah, ok18:15
@Haargi'd kind of like to take as much stuff as is reasonable and stick it in the .psgi file18:16
+patspamrather than having it in the Session middleware?18:16
+patspamyeah I agree18:16
+patspamstick to Plack's pluggableness18:16
@Haargand stuff like enable_if makes is really easy to do that18:17
+patspamI think the reason I put error_docs into Session was because of the debug mode18:18
@Haargok, cool18:18
@Haargreally easy to move it then :)18:18
+patspamwhen debug mode is on, you don't want exceptions to be caught18:18
+patspamso that StackTrace can catch em, rather than HTTPExceptions18:18
@HaargWebGUI::Middleware::Session now sets webgui.debug, so enable_if can switch out the different middlewares easily18:19
@Haargevery time i take a look at another part of this, i see how plack allows you to further simplify things18:20
+patspamthe weaken() stuff was from the other day when I was playing with Devel::Leak etc..18:20
+patspamagain just experimenting18:20
@Haargwe definitely need to stick some more weaken stuff into the session sub-objects18:21
+patspamyeah. I haven't found a cpan module I like for tracking down leaks yet18:22
-!- mducharme-work [~nothing@4-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds]18:38
-!- mducharme-work [~nothing@4-121-188-206.rev.knet.ca] has joined #webgui18:55
-!- fokat [~lem@] has quit [Quit: Ex-Chat]18:58
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]19:08
-!- MrHairgrease [~martin@] has left #webgui []19:08
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui19:42
-!- mode/#webgui [+v perlDreamer] by ChanServ19:42
ckotilfound some wierdness today when copy/pasting inside a version tag. i pasted an existing asset to a new location. it shows up even before the tag is committed. so the asset isnt accessible even through the asset manager, until you attach to the version tag19:48
@Haargi'm not sure i follow19:49
@Haargit was an asset that existed outside the version tag or not?19:49
+perlDreamerckotil, and by "showing up" do you mean that it appeared on the site via its URL (with no revision query frag), or that it showed up in a navigation, or something else?20:01
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: zzzzzzzzzz]20:07
-!- SDuensin [~Scott@mobile-166-137-140-159.mycingular.net] has quit [Ping timeout: 258 seconds]20:14
ckotilah yeah, that would help. it showed up in a nav asset20:19
+perlDreamerthis was a new asset, or an old one?20:19
-!- SDuensin [~Scott@mobile-166-137-142-086.mycingular.net] has joined #webgui20:19
ckotilthe asset existed before the version tag. i might have cut it before the new version tag was created. but definately pasted it while working in the new version tag20:19
+perlDreamercut/paste isn't a versioned operation20:20
+perlDreamerit's immediate20:20
ckotilok. as long as that is expected. i just wanted to make sure that wasnt a bug20:20
ckotilmy dead link checker found it ;)20:20
+perlDreamerafter that recent spate of bugs on the bug list, I'm not discounting anything for a while20:24
+perlDreamerbut I'm fairly sure that you're seeing expected behavior20:24
+perlDreamerckotil, do you know much about sendmail?20:24
ckotilnot too much.20:36
ckotili know its picky when it encounters a hostname mis match. had an email bomb not long ago while renaming some hosts20:36
+perlDreamerdoes it log all email transactions, or only those that have problems?20:37
ckotila ton of bounce messages stacked up, and then when sendmail was restart BOOM20:37
ckotileverythign should get logged to /var/log/maillog20:37
ckotilyoull see where the message originates from and where it goes. nothign more than that tho20:38
ckotilno subject or body. each message is assigned an ID20:38
-!- SDuensin [~Scott@mobile-166-137-142-086.mycingular.net] has quit [Ping timeout: 258 seconds]20:48
-!- Socrates- [socrates@ringbreak.dnd.utwente.nl] has quit [Read error: Operation timed out]20:53
-!- SynQ [koen@] has quit [Ping timeout: 260 seconds]20:54
-!- SDuensin [~Scott@mobile-166-137-143-119.mycingular.net] has joined #webgui20:54
-!- SDuensin [~Scott@mobile-166-137-143-119.mycingular.net] has quit [Ping timeout: 258 seconds]20:59
-!- SDuensin [~Scott@mobile-166-137-140-160.mycingular.net] has joined #webgui21:05
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]21:24
-!- mducharme-work [~nothing@4-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds]21:28
-!- SDuensin [~Scott@mobile-166-137-140-160.mycingular.net] has quit [Ping timeout: 258 seconds]21:29
-!- SDuensin [~Scott@mobile-166-137-142-139.mycingular.net] has joined #webgui21:34
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui21:35
-!- mode/#webgui [+o tavisto] by ChanServ21:35
+perlDreamerthanks, ckotil21:45
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui21:54
* perlDreamer goes running21:56
-!- SDuensin [~Scott@mobile-166-137-142-139.mycingular.net] has quit [Quit: Leaving]23:00
ckotilohh i like the rollback version tag status bar visual in 7.823:40
@frodwithcall for opinion: should calling setWorking() on a locked version tag die or just do nothing?23:57
@Haargfor 7 probably do nothing23:58
--- Day changed Sat Apr 17 2010
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has joined #webgui00:26
@frodwithSanity checks to make sure no one ever has a locked version tag as their working tag: look good?  http://pastie.org/92386600:39
@Haargseems reasonable to me00:49
+perlDreamerfrodwith, would it be easier to just push all the checks inside setWorking?01:04
+perlDreamerit's encapsulated in 1 place that way01:04
+perlDreamerand all custom code would be covered without needing to make any changes01:04
@frodwithperlDreamer: while technically yes, that should be sufficient, I'm sort of trying to bulletproof the thing -- I have a client site where it really shouldn't be possible to have a locked working tag, but it's happening to them.  If for instance you set stow or scratch variables properly, getWorking could return you a locked tag.01:07
+perlDreamerthat makes sense01:08
CIA-104webgui: Paul Driver master * r1a77fce / (lib/WebGUI/VersionTag.pm t/VersionTag.t): make it impossible to have a locked working tag - http://bit.ly/cXa4Ft01:25
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]01:49
-!- fokat [~lem@] has joined #webgui02:52
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]04:22
-!- fokat [~lem@] has quit [Quit: Ex-Chat]04:28
-!- fokat [~lem@] has joined #webgui04:50
-!- fhoahf55593 [~Gla@200-55-110-251.dsl.prima.net.ar] has joined #webgui05:03
-!- fhoahf55593 [~Gla@200-55-110-251.dsl.prima.net.ar] has left #webgui []05:03
-!- fokat [~lem@] has quit [Quit: Ex-Chat]06:23
CIA-104webgui: Colin Kuskie master * r55d2e51 / (8 files in 7 dirs): Add top-level keywords, which allows for hierarchial categorization of wiki pages. - http://bit.ly/bp5uJx06:47
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]07:39
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]07:41
-!- Haarg [~haarg@] has joined #webgui08:06
-!- mode/#webgui [+o Haarg] by ChanServ08:06
-!- Haarg [~haarg@] has quit [Quit: This computer has gone to sleep]09:22
-!- _lsr [~lsr@ppp118-209-32-88.lns20.mel4.internode.on.net] has joined #webgui09:42
-!- _lsr [~lsr@ppp118-209-32-88.lns20.mel4.internode.on.net] has left #webgui ["Leaving"]09:42
-!- kaare [~kaare@] has joined #webgui10:25
-!- kaare is now known as Guest3382810:25
-!- Guest33828 [~kaare@] has quit [Remote host closed the connection]10:27
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]14:17
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui14:18
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui16:59
-!- mode/#webgui [+v patspam] by ChanServ16:59
-!- kaare [~kaare@] has joined #webgui18:15
-!- kaare is now known as Guest8574418:16
-!- Guest85744 [~kaare@] has quit [Remote host closed the connection]18:20
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui20:00
-!- mode/#webgui [+o Haarg] by ChanServ20:00
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui20:06
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui []20:07
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Ping timeout: 260 seconds]20:07
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui20:12
-!- mode/#webgui [+o Haarg] by ChanServ20:12
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Ping timeout: 252 seconds]20:36
-!- fokat [~lem@] has joined #webgui20:42
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]21:17
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui21:21
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: zzzzzzzzzz]23:07
-!- preaction [~doug@71-90-29-59.dhcp.ftbg.wi.charter.com] has joined #webgui23:25
-!- mode/#webgui [+o preaction] by ChanServ23:25
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui23:47
-!- mode/#webgui [+v perlDreamer] by ChanServ23:47
+perlDreamerpatspam: ping23:47
--- Day changed Sun Apr 18 2010
+patspamperlDreamer: pong00:20
+patspamjust back from final house inspection00:20
+patspamwe're officially moving!00:20
+patspamdid you just move preaction?00:21
+patspam(twitter post)00:21
@preactionyep. all moved in madison00:21
@preactionwhere's you moving to?00:22
+patspamstill in Brooklyn, but a bit more buzzing than where we are currently00:23
@preactionhow is new york city?00:24
+patspamreally fun, still kinda finding my way around00:25
@preactionheh, i can imagine. 00:25
+patspamjust got access to a bike again, so starting to explore more00:25
+patspam(push bike)00:26
@preactiondefinitely the best way to explore the city00:26
+patspamjust a little scary when you're used to riding on the other side of the road00:26
@preactionheh. no respect for bike riders eh?00:27
@preactionoh, right, australia00:27
+patspamheh yeah, the no respect for cyclists thing is universal00:28
+perlDreamerpatspam, you're moving _again_?00:29
+patspamheh yeah00:30
+patspamwe're subletting at the moment00:30
+patspamand our area is a bit too far away from the action00:30
+perlDreamermy earlier ping was for some git help, but I think I have it worked out00:30
+patspamah ok00:30
+perlDreamerI keep forgetting to to a "rebase --continue" before doing commit00:30
+perlDreamerif you do the commit first, all the work is in vain00:31
+patspamhmm I've never tried that00:31
+perlDreamerI don't recommend it :/00:31
+patspamdo you have git status in your $PS1?00:31
+perlDreamernot any longer.  I aborted the rebase and did a fresh pull00:31
+patspamactually I don't think that would help in this case anyway00:32
+perlDreameruh, no, PS1 = ${debian_chroot:+($debian_chroot)}\u@\h:\w\$00:32
+patspambut it's nice to be constantly reminded what branch you're on at least00:32
+patspamhaarg has some crazy PS1 magic going on00:32
+patspamlittle icons for everything00:32
+perlDreamerthe words Haarg and crazy magic are not unexpected when used together00:32
+perlDreamerpreaction, you bought the condo next to JT, didn't ya?00:33
+patspamsufficiently advanced magic is indistinguishable from haarg00:33
+perlDreamerif I hadn't actually seen him eat and drink, I'd guess he's just a hologram00:34
+patspampreaction: you going to any perl conferences this summer?00:44
CIA-104webgui: Graham Knop WebGUI8 * r2bb4b0c / (7 files in 4 dirs): Merge branch 'master' into WebGUI8 - http://bit.ly/aCeAia00:53
+perlDreamerthe forced merge should be fine now00:54
* perlDreamer takes Timmo out for a Jamba break. BBL01:03
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui01:11
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: zzzzzzzzzz]01:45
CIA-104webgui: Patrick Donelan psgi * r8b05bc9 / var/site.psgi : Temporary preloading - http://bit.ly/alLOD102:50
CIA-104webgui: Patrick Donelan psgi * recc9967 / (lib/WebGUI.pm var/site.psgi): Think twice before "improving" anything Haarg has committed - http://bit.ly/chd1DS02:50
+patspammy lesson for the day ^^02:50
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui03:33
@preactionperlDreamer: no, i wish. those damned things are NIIIIICE. I got an apartment about 2 blocks away03:35
@preactionpatspam: we've all learned that lesson. now if only he would document why he's always right we could learn something ;)03:36
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui03:39
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui []03:39
-!- Haarg [~haarg@] has joined #webgui04:02
-!- mode/#webgui [+o Haarg] by ChanServ04:02
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]04:18
-!- Haarg [~haarg@] has quit [Quit: Leaving]04:24
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has quit [Quit: Leaving.]09:15
-!- fokat [~lem@] has quit [Quit: Ex-Chat]09:21
-!- preaction [~doug@71-90-29-59.dhcp.ftbg.wi.charter.com] has quit [Quit: preaction]12:00
-!- _lsr [~lsr@ppp118-209-32-88.lns20.mel4.internode.on.net] has joined #webgui12:09
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:42
-!- mode/#webgui [+o Haarg] by ChanServ16:42
-!- preaction [~doug@71-90-29-59.dhcp.ftbg.wi.charter.com] has joined #webgui18:20
-!- mode/#webgui [+o preaction] by ChanServ18:20
-!- fokat [~lem@] has joined #webgui18:28
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui18:33
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui []18:33
-!- fokat [~lem@] has quit [Ping timeout: 248 seconds]18:51
-!- fokat [~lem@] has joined #webgui18:51
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui19:13
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui []19:13
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui20:05
-!- mode/#webgui [+v patspam] by ChanServ20:05
+patspamHaarg: ping20:18
+patspamperformance is fine, that was just me being a knucklehead20:19
-!- fokat [~lem@] has quit [Quit: Ex-Chat]21:01
@Haargpatspam, cool21:26
@Haargactually performance isn't fine, at least not with debug mode on21:26
@Haargwhich is less important, but it's still a problem21:27
+patspamoh yeah, that's definitely true21:30
+patspamvery slow with debug on21:30
+patspambut I'm not really bothered by that (yet)21:30
+patspamdo we even need preload.custom?21:30
+patspamI'd rather put "use lib" into site-specific psgi files21:31
+patspamrather than a server-wide preload.custom, which I have to continually modify depending on which sites I'm running on my server21:31
@Haargtwo problems with that21:37
@Haargone is that the code would be loaded server wide and having it in separate psgi files could hide the impact they might have on other sites21:37
@Haargmore importantly though is that the custom libraries need to be loaded for utility scripts as well21:38
+patspamhmm true21:39
CIA-104webgui: Graham Knop psgi * r44da1e2 / (5 files in 2 dirs): fix things i broke - http://bit.ly/cj2Nfb21:42
+patspammight be easier if you push direct to plainblack/psgi?21:44
@Haargi suppose :)21:44
+patspamI fixed some of those things already21:45
CIA-104webgui: Graham Knop psgi * rd667f72 / (4 files in 2 dirs): fix things i broke - http://bit.ly/99xeq721:46
CIA-104wgdev: Graham Knop master * rbe7e4c3 / lib/WGDev.pm : make sure cleanup doesn't swallow errors - http://bit.ly/9yWfhC21:47
CIA-104webgui: Patrick Donelan psgi * rf99f672 / (TODO lib/WebGUI.pm): Minor refactoring - http://bit.ly/9p6FmV21:53
CIA-104webgui: Patrick Donelan psgi * r5c70ffb / (7 files in 5 dirs): 21:53
CIA-104webgui: Minor improvements21:53
CIA-104webgui: Updated TODO21:53
CIA-104webgui: Enabled preloading21:53
CIA-104webgui: Added defaultPSGI to WebGUI::Paths21:53
CIA-104webgui: Added example of testing site via Plack::Test - http://bit.ly/bk9Fht21:53
CIA-104webgui: Patrick Donelan psgi * r7510233 / (4 files in 2 dirs): 21:53
CIA-104webgui: Merge branch 'psgi' of github.com:plainblack/webgui into psgi21:53
CIA-104webgui: * 'psgi' of github.com:plainblack/webgui:21:53
CIA-104webgui:  fix things i broke21:53
CIA-104webgui: Conflicts:21:53
CIA-104webgui:  lib/WebGUI/Session/ErrorHandler.pm - http://bit.ly/a6kNE221:53
-!- fokat [~lem@] has joined #webgui22:12
--- Day changed Mon Apr 19 2010
-!- fokat [~lem@] has quit [Quit: Ex-Chat]00:00
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui00:49
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui []00:49
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]01:45
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui02:19
-!- mode/#webgui [+v patspam] by ChanServ02:19
@Haargpatspam, been working on a number of performance enhancements.  more Moose stuff than psgi stuff.02:23
+patspamawesome, any significant gains?02:24
@Haargbut i have database and templating back as the top things in nytprof's inclusive time list02:24
@Haargso that's reasonable02:24
@Haargalso, bash alias:02:27
@Haargalias nytplackup='PERL5OPT=-d:NYTProf NYTPROF=sigexit=1:start=no:$NTYPROF plackup -e "my \$app = Plack::Util::load_psgi(\$psgi || \"app.psgi\"); undef \$psgi; DB::enable_profile(); \$app"' 02:27
-!- mducharme-work [~nothing@4-121-188-206.rev.knet.ca] has joined #webgui04:25
-!- fokat [~lem@] has joined #webgui04:28
-!- dionak [~dionak@cpe-024-074-157-216.carolina.res.rr.com] has joined #webgui05:16
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has quit [Quit: Leaving.]07:14
-!- _lsr [~lsr@ppp118-209-32-88.lns20.mel4.internode.on.net] has quit [Quit: Leaving]08:24
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:38
-!- kaare is now known as Guest1594908:38
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: zzzzzzzzzz]09:44
-!- _lsr [~danger@ppp118-209-32-88.lns20.mel4.internode.on.net] has joined #webgui13:16
-!- _lsr [~danger@ppp118-209-32-88.lns20.mel4.internode.on.net] has left #webgui []13:17
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui13:42
-!- noroute [~noroute@z2f73.pia.fu-berlin.de] has joined #webgui13:52
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui14:12
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui []14:12
-!- SDuensin [~Scott@173-28-73-10.client.mchsi.com] has quit [Quit: Leaving]14:40
-!- Guest15949 [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]15:21
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui15:27
-!- mode/#webgui [+v bartjol] by ChanServ15:27
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui16:05
-!- kaare is now known as Guest3339316:05
-!- patspam [~patspam@ool-182e18a7.dyn.optonline.net] has joined #webgui16:18
-!- mode/#webgui [+v patspam] by ChanServ16:18
-!- mducharme-work [~nothing@4-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds]16:33
-!- preaction [~doug@71-90-29-59.dhcp.ftbg.wi.charter.com] has quit [Quit: preaction]16:36
-!- SDuensin [~scott@173-28-73-10.client.mchsi.com] has joined #webgui16:40
-!- dionak [~dionak@cpe-024-074-157-216.carolina.res.rr.com] has quit [Ping timeout: 245 seconds]16:40
-!- Haarg [~haarg@76-250-33-221.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: This computer has gone to sleep]16:42
-!- Guest33393 [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]16:43
-!- dionak [~dionak@cpe-024-074-157-216.carolina.res.rr.com] has joined #webgui16:54
-!- Haarg [~haarg@] has joined #webgui17:10
-!- mode/#webgui [+o Haarg] by ChanServ17:10
-!- preaction [~doug@] has joined #webgui17:12
-!- mode/#webgui [+o preaction] by ChanServ17:12
-!- mducharme-work [~nothing@4-121-188-206.rev.knet.ca] has joined #webgui17:24
-!- preaction [~doug@] has quit [Ping timeout: 258 seconds]17:43
-!- preaction [~doug@] has joined #webgui17:50
-!- mode/#webgui [+o preaction] by ChanServ17:50
-!- perlDreamer [~colink@pool-98-108-135-77.ptldor.fios.verizon.net] has joined #webgui17:55
-!- mode/#webgui [+v perlDreamer] by ChanServ17:55
@Haargmorning perlDreamer17:56
+perlDreamermorning, Haarg17:56
+perlDreamertoday is a momentous day17:56
+perlDreamertoday, we close the long standing -007 spectre bug17:56
@Haargoh nice17:57
@Haargquestion with WebGUI8 - is there a reason we aren't using ->meta->make_immutable yet?17:58
@preactionnot yet. we'll make a performance sweep near the end of the cycle (so Nov/Dec)17:59
@preactioni mean, go ahead, but we'll be poring over every inch of the code around that time17:59
@preactioni want all the features done before then, if possible18:00
+perlDreamerspeaking of that, who's in charge of the form reworking in WebGUI8?18:00
@preactionwell, we haven't gotten that far yet18:00
@preactioni will be working on the asset edit stuff in a couple weeks18:00
@preactionand when someone finishes their major task we'll assign the rest of it to them18:01
@Haarghttp://github.com/plainblack/webgui/commits/psgi/lib/WebGUI a bunch of the latest stuff here is general WebGUI8 perf stuff18:01
@Haargmore ->get() conversions, make_immutable, speeding up some properties stuff for immutable classes, a couple other things18:02
@Haargalso perlDreamer i'd like to change ->get to use ->can instead of ->meta->find_attribute_by_name.18:03
@Haargit's slightly less safe but a pretty large performance hit18:03
+perlDreamerhit = better performance for ->can vs ->find_attribute_by_name ?18:04
@Haargerr, yeah18:04
@Haargstated that a bit wrong :)18:04
+perlDreamerI'm not opposed to that change18:04
+bartjolanyone here with strange functionality of the admin bar lately?18:11
+bartjola client of rory was kicked out when adding an article and I had a problem, that the divisions didn't open on click18:12
+bartjolWe were wondering whether it might be a YUI 2.8 compatibility problem18:13
CIA-104webgui: Colin Kuskie master * rea5e82b / (docs/changelog/7.x.x.txt lib/WebGUI/Operation/Cron.pm): Make sure that we can start a workflow via a cron job. Fixes bugs #11444 and #10189 - http://bit.ly/d7tUXz18:15
+perlDreamerI haven't had any problems with the admin bar, unless the helpdesk is on the page that I'm working on18:15
CIA-104webgui: Colin Kuskie webgui-7.8 * r18b679d / (docs/changelog/7.x.x.txt lib/WebGUI/Operation/Cron.pm): Make sure that we can start a workflow via a cron job. Fixes bugs #11444 and #10189 - http://bit.ly/b9wXWi18:16
+bartjoltesting my problem18:18
+perlDreamerHaarg, would it cause problems if I started porting bug fixes by hand to WebGUI8 branch?18:19
+perlDreameror is it easier to merge them en masse?18:19
@Haargmerging i would say18:20
@preactioni'd say easier to merge en masse18:20
CIA-104webgui: Colin Kuskie webgui-7.8 * r6329abb / (docs/changelog/7.x.x.txt lib/WebGUI/AssetClipboard.pm): Check for lack of existence of an asset before logging an error. Fixes bug #11526 - http://bit.ly/diOUq618:22
CIA-104webgui: Colin Kuskie master * rc8414be / (docs/changelog/7.x.x.txt lib/WebGUI/AssetClipboard.pm): Check for lack of existence of an asset before logging an error. Fixes bug #11526 - http://bit.ly/aMUQ4h18:22
-!- noroute [~noroute@z2f73.pia.fu-berlin.de] has quit [Quit: noroute]18:24
+bartjolmmm, cant reproduce in 7.9.2 (orig 7.8.17)18:28
+perlDreamercan you reproduce it in 7.8.17?18:31
+bartjollemme have a look18:31
+bartjoladding site.....18:34
CIA-104webgui: Colin Kuskie master * r54583d2 / lib/WebGUI/Asset/Wobject/GalleryAlbum.pm : Fix a POD whitespace problem. - http://bit.ly/b5D5rx18:37
+bartjolnope, well it was friday when I saw it after a day of upgrading and migrating18:38
+perlDreamerand beer?18:38
+bartjolnope, the migration and upgrade from 7.7.21 to latest stable (migration was twice, one from the old server in production to the upgrade server and then a second migration to the new server)18:39
+bartjolthat makes bart a dull boi18:39
+bartjolperlDreamer: I've got a quicky for you18:41
+perlDreamerokay :)18:41
+bartjoltype a perl installClass18:41
+bartjolin WebGUI/sbin18:41
+bartjoland it shows a installAsset use command18:42
CIA-104webgui: Colin Kuskie master * rc0361fd / t/Asset/Asset.t : Remove test for old RSS method that no longer exists. - http://bit.ly/cfeTJH18:42
+bartjolin the POD18:42
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: zzzzzzzzzz]18:43
+perlDreamerbartjol: like this -> perl installClass.pl WebGUI::Asset::NothingMuch --configFile=mywebgui.conf18:43
+bartjolno like perl installClass.pl --help18:44
+bartjolor without the --help18:44
+perlDreameroh, okay18:44
+perlDreameris the usage statement wrong?18:45
+bartjolyes (installClass eq installAsset)18:46
+bartjolwhich gives 0 or no18:47
+perlDreameror undef or '' or () ;)18:47
CIA-104webgui: Colin Kuskie master * rd26a3dc / sbin/installClass.pl : Fix bad POD in the installClass utility script - http://bit.ly/aVELdz18:48
+bartjoloh and Rory and myself were wondering whether there is a specific reason why there isn't a --install option, mostlt for consistency18:49
+perlDreamerNo idea, bartjol18:50
+bartjolpeople will manage, but it could be clearer18:50
+perlDreameryou could ask the author on that one18:50
+bartjolaah, that would be preaction18:52
@preactionbecause the script itself is called "installClass". the default thing to do is install something. i do not want to type all that crap out18:53
+bartjolfair enough, but /me believes the POD could be clearer on not needing to specifying an argument18:54
+bartjolbut maybe /me is nagging18:54
+perlDreamerbartjol: patches welcome ? :)18:54
+perlDreamerjust give us a paste here, and I'll slap it right in18:55
+bartjolindeed, I am nagging, or indeed, the POD could be better? ;)18:55
+perlDreamerboth :D18:55
CIA-104webgui: Graham Knop WebGUI8 * r033b4d7 / lib/WebGUI/Paths.pm : fix WebGUI::Paths recursion - http://bit.ly/dcbfGd18:58
+bartjol=item class19:00
+bartjolThe class name of the class to install. Something like WebGUI::Asset::Yourasset19:00
+bartjolTo install a class, only the classname and configuration file are needed. For19:00
+bartjolother functionality, see the options.19:00
CIA-104webgui: Graham Knop WebGUI8 * r9c613ab / lib/WebGUI/Paths.pm : more WebGUI::Paths fixes - http://bit.ly/cTI3X519:02
@HaargperlDreamer, the merge that happened when you updated after the forced update i did on WebGUI8 was bad, so i removed it (another forced update)19:03
+bartjolor http://webgui.pastebin.com/RLK6pCqp for the complete script19:03
+perlDreamerHaarg, bad?  Why?19:04
+perlDreamerI thought I was fixing merge problem, not creating them...19:05
@Haargit merged in your changes, which was in effect reverting some things19:05
@Haargdo you have rebase turned on for pulls on WebGUI8?19:05
+perlDreamerhow would I check?19:06
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui19:06
@Haargin .git/config19:06
@Haargin the [branch "WebGUI8"] section19:06
@Haarggit config branch.WebGUI8.rebase19:06
+perlDreameryes,I do have that turned on19:07
@Haargi'm not sure then19:07
@Haargcan you try updating now?19:07
+perlDreamerI'm in the middle of a bunch of bug fixes that need to be backported to webgui-7.819:07
+perlDreamerbut soon :)19:07
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui19:07
-!- mode/#webgui [+o bopbop] by ChanServ19:07
CIA-104webgui: Colin Kuskie master * rb4f7bb4 / (6 files in 3 dirs): Do not prevent Assets from being added as children by subclassing addChild. It doesn't prevent paste from working. Fixes bug #11525. - http://bit.ly/buk7BM19:08
CIA-104webgui: Colin Kuskie webgui-7.8 * r5cc2156 / lib/WebGUI/Asset/Wobject/GalleryAlbum.pm : Fix a POD whitespace problem. - http://bit.ly/9hq02M19:09
CIA-104webgui: Colin Kuskie webgui-7.8 * r72a78e4 / sbin/installClass.pl : Fix bad POD in the installClass utility script - http://bit.ly/9dd45Y19:10
CIA-104webgui: Colin Kuskie webgui-7.8 * r3489f5c / (6 files in 3 dirs): Do not prevent Assets from being added as children by subclassing addChild. It doesn't prevent paste from working. Fixes bug #11525. - http://bit.ly/9G38cq19:10
+perlDreamerokay, updating19:11
+perlDreamerHaarg: http://gist.github.com/37122019:12
CIA-104webgui: Graham Knop WebGUI8 * r318b6e0 / (7 files in 4 dirs): Merge branch 'master' into WebGUI8 - http://bit.ly/bTwfWU19:12
@Haargthat's the bad commit i'm trying to get rid of19:13
@Haarggit pull19:15
@Haarggit reset --hard HEAD^19:15
+perlDreamerokey doke19:15
+perlDreamernow what?19:16
@Haarggit log --oneline19:16
@Haargwhat are the top few commits?19:16
@Haargshould be good to go now19:17
+perlDreamergit pull ?19:17
@Haargyou can.  it won't pull down anything new.19:17
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui19:22
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui []19:23
+perlDreamerHaarg, how does one handle WebGUI::Paths?19:35
@HaargWebGUI/lib needs to be in your @INC somehow.  the simplest way is to set PERL5LIB for command line stuff19:36
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]19:37
@preactionperlDreamer: i put this in my main httpd.conf (not part of any VirtualHost) PerlSwitches -I/data/WebGUI/lib¬19:38
@preactioner... without the ¬19:38
+perlDreamerI'd be happy if command line worked as a start19:39
+perlDreamerCouldn't load class (Config::JSON) because: Global symbol "%Config" requires explicit package name at /usr/share/perl/5.10/File/Copy.pm line 10019:39
@Haargwhat version of Config::JSON are you using?19:40
@preactionanyone got the env vars they use to set up App::Nopaste to use Gist? i can't find them19:40
+perlDreamerNOPASTE_SERVICES=Gist Pastebin19:40
@HaargWebGUI8 requires 1.519:41
+perlDreamerI got the error that I posted from trying to run testEnvironment.pl --simpleReport19:42
@HaargperlDreamer, have you updated Config::JSON yet?  if not, can you try something for me?19:44
+perlDreamerI have not updated it yet19:45
@Haarginstall Devel::SimpleTrace if you don't have it19:47
@Haargand run perl -MDevel::SimpleTrace testEnvironment.pl --simpleReport19:47
+perlDreamerthe problem was that I set PERL5LIB to /data/WebGUI/lib/WebGUI19:47
@Haargstill a strange error19:48
+perlDreameryou want me to do that anyway?19:49
@Haargyeah, would be good19:49
+perlDreamerno stack trace, just standard testEnvironment.pl output19:51
@Haargdid you fix PERL5LIB already?19:52
+perlDreamerI'll break it and try again19:52
+perlDreamerlooks like perl is loading WebGUI::Config in preference to Config19:53
+perlDreamerso %Config doesn't exist19:53
@Haargmakes more sense then19:54
+perlDreamerthere are only 14 failing tests in the Test::Class tests now19:55
+perlDreamerI want to find some kind of deliniation between Test::Class tests, and other tests19:56
+perlDreamerthere are some things that don't need to be tested in every class, like getDefault19:57
@preactionanyone got time to test out the new CHI stuff?20:00
CIA-104webgui: Doug Bell WebGUI8 * rd46f77b / (3 files in 2 dirs): more work on admin console - http://bit.ly/cfnUZb20:01
CIA-104webgui: Doug Bell WebGUI8 * r5cdde20 / lib/WebGUI/Session.pm : initial CHI implementation - http://bit.ly/9086qT20:01
CIA-104webgui: Doug Bell WebGUI8 * r30e2a85 / lib/WebGUI/Session.pm : finished adding CHI - http://bit.ly/cuaCD920:01
CIA-104webgui: Doug Bell WebGUI8 * r9015df5 / etc/WebGUI.conf.original : added new cache to original conf - http://bit.ly/b1TkOT20:01
CIA-104webgui: Doug Bell WebGUI8 * ref89051 / var/upgrades/upgrade_7.9.3-8.0.0.pl : added new cache to upgrade - http://bit.ly/aaRrxC20:01
+perlDreamerno tests?20:01
@preactionif you don't do a full wgd reset, you'll have to add the following stuff to your config file:20:01
@preactionnot yet, no20:01
@Haargoh, perlDreamer, if you haven't already you'll want to update to the latest wgdev from git20:01
+perlDreamerthanks, Haarg.  I'll do that20:02
+perlDreameralthough, wgd reset seems to be doing the right thing so far20:02
@preactionhttp://gist.github.com/371295 <- the new config to use20:03
+perlDreamer-8 tests20:22
+perlDreamerpreaction: what's the minimum recommended version of CHI?20:23
@preactionthe current version, 0.34 i think. i'm working on adding it to testEnvironment.pl right now20:24
+perlDreamerpreaction: POD for Session->cache needs to be updated20:29
@preactioni'm ripping out the other bits of cache from other parts of codebase (setbyhttp, and other helper methods)20:29
+perlDreamerI'll get the POD piece then20:31
CIA-104webgui: Colin Kuskie WebGUI8 * rcd0fbf8 / (2 files in 2 dirs): Remove subclassed methods validParent and addChild from GalleryFile and Gallery. - http://bit.ly/bm25rE20:32
CIA-104webgui: Colin Kuskie WebGUI8 * rff1cd9f / lib/WebGUI/Session.pm : Update Session POD for CHI. - http://bit.ly/cFvfcA20:32
+perlDreamerpreaction: according to t/run_assets.t, bad breakage20:35
@preactionyeah, there's some breaking, i'm fixing as much as i can find right now20:35
+perlDreamerHaarg, do you know why the skipNotification property was removed from Asset.pm?20:43
+perlDreamerI mean, was it part of the merge, or was it a fix for a problem, or something else?20:43
-!- kimd [~spunky@p549F51B2.dip.t-dialin.net] has joined #webgui20:43
@preactionit was removed because it's duplicated in the Subscribable role. it should only be part of assets that do Subscribable20:46
+perlDreamerbut there are assets that do their own notification20:46
@Haargit looks like the state of it in master is kind of messed up20:47
@Haargit doesn't exist in definition anywhere20:47
@preactionperlDreamer: how does t/run_asset.t work?20:47
+perlDreamerno, it's handled outside of definition20:47
@preactionit's not working for me, gives me "Can't stat tests: No such file or directory"20:47
+perlDreamerpreaction: it loads all of the tests in the tests directory, ala Test::Class20:48
@preactionright, but i don't have a tests directory for some reaosn20:48
+perlDreamerHaarg, do you have a tests directory?20:48
@Haargt/tests/ yes20:49
@preactiondoes run_asset.t expect me to be in the t/ directory?20:50
@preactionthat would explain it then20:50
+perlDreamerback to skipNotification.  It wasn't ever in the Definition20:50
+perlDreamerI had to add it to Asset.pm20:50
+perlDreamerthere are Assets that handle skipNotification without using the Subscribable aspect/role20:51
+perlDreamerthey should, but don't yet20:52
+perlDreamerso it needs to be there until that reworking is done20:52
+perlDreamerpulling it out breaks the Gallery and the CS20:52
@Haargwell, it got removed from Subscribable too20:53
+perlDreamerthat's because the way it was implemented in Subscribable duplicated the exact database column name and property in the assetData table/class20:54
+perlDreamerand didn't work right20:54
+perlDreamerwhen I fixed that bug, I pulled the code out of Subscribable, and made it use all the correct code from Asset20:54
+perlDreamerthe "right" way would be to now, pull the code out of Asset, put it over into Subscribable, move the database column as well, refactor all the Assets to use it.20:56
+perlDreamerbut until that's done, we need to put it back the same (odd) way that it was20:57
CIA-104webgui: Colin Kuskie WebGUI8 * r43413fe / (lib/WebGUI/Asset.pm lib/WebGUI/AssetVersioning.pm): Put back the skipNotification property into Asset. - http://bit.ly/aLa4b521:01
kimdHey guys, how do I find the right form when testing with Test::WWW::Mechanize if it does not have a name?21:05
kimdI want to test the GalleryAlbum edit screen. Unfortunately, there is a search form in the beginning. And then there is the edit form I want to test.21:05
kimdOf course, I could select the second form. But what if the template changes?21:05
+perlDreamerkimd, exactly21:06
kimdHardcode using the second form?21:06
+perlDreamerso, you could take each form one by one and check it for the right fields21:06
+perlDreameror, we update the template so that the forms are named21:06
kimdHm. That certainly requires some perl magic I am not capable of. But I will try...21:06
kimdThat would be even better!21:07
+perlDreameryes, so do I21:07
+perlDreamermake sure the names are very, very unique21:07
kimdIs it possible to assign names using the standard forms?21:07
kimdWhat about "GalleryAlbum-Search-Form" and "GalleryAlbum-Edit-Form"?21:08
kimdOr rather all in camelCase?21:08
+perlDreamerwe should follow the standards set by The Template Working Gropu21:09
kimdThat means "galleryAlbumSearchForm"?21:09
kimdCool. Thanks for helping out!21:10
+perlDreamerYou said the magic word...21:10
kimdHey guys?21:11
+perlDreamer... tests21:11
kimdTatatatah! My first live test using Test::WWW::Mechanize is complete and working as supposed to! 21:28
kimdBut it's damn slow.21:28
kimdI can click much faster than the testing functions.21:28
+perlDreameryes, but you won't have to do it every week before I release a new version of WebGUI21:29
kimdYou should hire a testing monkey in order to speed up everything.21:30
kimdMaybe I could train my daughter?21:30
+perlDreamershe'd probably get bored and hack WebGUI21:31
+perlDreamersafer to use actual monkeys21:31
kimdI believe we have some at Novartis. I will ask at the stable tomorrow.21:32
kimdBtw, how would you name the addArchive form?21:32
kimdAlso  "galleryAlbumEditForm"?21:32
+perlDreamerdifferent form, different name21:32
kimdAnd the edit form if it is in "add" mode?21:33
kimdI meant the regular edit view.21:35
-!- Haarg [~haarg@] has quit [Ping timeout: 276 seconds]21:35
kimdBut think I got it.21:35
-!- Haarg [~haarg@] has joined #webgui21:36
-!- mode/#webgui [+o Haarg] by ChanServ21:36
kimdBtw, wouldn't that be something for the best practices guide to require naming of forms in general?21:37
+perlDreamerYes, it probably should be.21:39
+perlDreamerIt would be best to make a posting on The Template Working Group forum21:39
kimdBut that is a code issue, isn't it? Naming of forms has to happen upon calling of Form::formHeader.21:40
kimdApart from that I am not allowed to post in that forum. At least I was not in the past...21:42
* kimd is getting a refill for his glass of wine.21:43
+perlDreamerkimd, you're right, over 90% of the forms are generated via perl code21:44
+perlDreamerI was thinking that since it's HTML, we should check with them on naming conventions and the like, and add it to the Template Best Practices guide.21:45
-!- preaction [~doug@] has quit [Ping timeout: 252 seconds]21:45
* perlDreamer goes for a run to clear his head21:54
-!- preaction [~doug@] has joined #webgui22:00
-!- mode/#webgui [+o preaction] by ChanServ22:01
-!- dionak [~dionak@cpe-024-074-157-216.carolina.res.rr.com] has quit [Ping timeout: 260 seconds]22:02
kimdpreaction, I am having a caching issue here. Rotating photos is working perfectly fine. However, the browser doesn't realize that the photo has changed. Is there a way to enforce a reload?22:23
@preactionyou should be making a new revision. that will create a new storage location. then you rotate the photo in the new storage location. that way the user can revert if something goes wrong (even though we don't support that yet)22:24
kimdHm. Creating a new storage location will change the URL and will cause the browser to reload. Correct?22:26
kimdSo, what I have to do is "my $versionTag = WebGUI::VersionTag->getWorking($session);"22:27
kimdClond the storage location and rotate the photos.22:27
kimdFinally, I commit by $verstionTag->commit; ?22:27
kimdClone, of course22:27
@preactionactually, requestCommit22:27
+patspamawesome: http://search.cpan.org/perldoc?Dist::Zilla::Plugin::MetaNoIndex22:27
kimdHey, WebGUI is so simple (and yet powerful).22:28
@preactionand mak... god fucking damnit22:28
+patspamJT is in on Dist::Zilla22:28
@preactionkimd: look at the code in GalleryAlbum->addArchive, that will show you how to do it properly (you have to set some variables in the version tag, the photo will have to be properly approved)22:28
kimdDon't curse! You are endangering your salvation.22:28
kimdI will. Thanks!22:29
@preactionoh, my salvation was a foregone conclusion a looooong time ago22:29
kimdPrefer to go to hell or heaven?22:29
@preactionperlDreamer: i'm not seeing where any of the run_asset.t tests are being caused by CHI. did you add the appropriate config stuff? (or reset -d)?22:30
@preactionkimd: doesn't matter which i prefer, i will be burning with the rest of them (or at least purgatory, being a virtuous non-believer)22:30
@preactionno, wait, not purgatory, limbo.22:30
kimdHey, you are my men. We will burn together.22:31
kimdBefore we burn - one more question :-)22:38
@preactionk, shoot22:38
kimdIs call to setStorageLocation without arguments sufficient?22:38
kimdOr should I rotate the photo and call setFile afterwards.22:39
@preactionno, addRevision should handle creating the new storage location for you automatically. see WebGUI::Asset::File->addRevision22:39
kimdFound it. So the order is: 1. Create version tag, 2. Adopt commital workflow of parent, 3. Add revision, 4. Rotate photo, 5. Request commit?22:41
@preactionsounds right to me22:41
kimdGood. I will try that. (Did I ever say WebGUI is easy?)22:41
@preactionyes, but i don't believe you22:42
kimdIt is always the same. You need an expert you can ask. How long do estimate would it have taken me to find out by myself.22:43
@preactionyou wouldn't have, until you committed your code and i reviewed it and explained it22:43
kimdThat is quite a pessimistic view, isn't it?22:44
@preactionor, before, if you were given a commit bit already (back when we were on SVN), you would have committed it and colin or I would have to clean it up 22:44
@preactionno, that's optimistic compared to what it used to be22:44
@preactionex: the Calendar does (or did) a lot of very bad constructs, because I saw them in old, bad parts of WebGUI and assumed they were correct22:44
kimdpreaction, pod for addRevision says that I should use update instead.22:47