WebGUI irc logs from: 2007-02.log

--- Log opened Thu Feb 01 00:00:25 2007
+perlDreamerthe problem is the thread/post relationship00:06
+perlDreamerif you rate a post, then it needs to go recalculate the thread00:06
+perlDreamerbut since a Thread ISA Post, it ends up doing things twice00:06
+perlDreamerI just need to break all the parts out and call them separately instead of using inheritance00:07
+perlDreamerthreads should have their own rating counter00:07
+perlDreamerthen this would all go away00:07
+perlDreamerall the logic and code would reduce down to almost nothing00:07
+perlDreamerrizen: you awake?00:09
@rizenworking on support problems00:09
@rizenis it something quick?00:09
+perlDreamercan I add a new column to the thread table to hold the summed thread rating?00:09
@rizendoesn't it already have one for that?00:10
+perlDreamerit recycles the Post rating column00:10
@rizenoh right00:10
+perlDreamerI'll make sure that we can display the right thing in the Post view template.00:10
@rizenso you want to keep the thread post seperate from the thread overall00:11
+perlDreamerIf so, then I'll do it00:11
@rizengo for it00:11
-!- onioncoder [n=mike@s205-206-123-62.ab.hsia.telus.net] has joined #webgui00:12
onioncoderhas anyone seen Google Gadgets? Anyone thought of allowing any webgui asset to be a "gadget" that could be dropped into anyone else's non-webgui website via a snippet of code?00:14
@preactionan XMLRPC interface that returns JSON output? a javascript library that parses it and spits out HTML?00:17
@preactioni mean, some assets have RSS feeds00:17
@preactionwhat kind of code are you talking about writing to interface with whatever interface is built?00:17
onioncoder(looking for an example for you)]00:18
@preactionJavascript? Perl? <other>?00:18
+perlDreamerpreaction, maybe AJAX instead of XMLRPC?00:18
@preaction*twitch* PHP?00:18
@preactionajax is just a standard http call, so perhaps "?func=ajax;method=XXX"?00:19
onioncoderthe way google does it, I *think*, is a <script > javascript link00:19
onioncoderthat does ajax back to google for content00:19
onioncodersince webgui assets can be "ajaxified" already (most i think)00:19
* perlDreamer flushes preaction's keyboard buffer and remove all references to PHP00:20
onioncoderthe idea would be to allow a script tag on a remote site to fetch *just* that asset00:20
* perlDreamer hits the reset button00:20
+perlDreameris that better preaction?00:20
@preactionis what better?00:20
@preactionahh, mind-wipes00:20
@preactioni'm not worried, because i never knew i could be worried!00:20
+perlDreamerI thought you locked up there00:20
+perlDreamerafter the *twitch00:21
@preactionbut if i read that line again, i'll have whatever it was that made me twitch on my head again, and that would make me twitch again00:21
onioncoderanyone? anyone? ferris? 00:21
@preactionwell, currently we have the RSSCapable mixin00:21
onioncoderhere's an eg of a google map: <script src="http://gmodules.com/ig/ifr?url=http://ralph.feedback.googlepages.com/googlemap.xml&amp;up_locname=Google&amp;up_loc=1600%20Amphitheatre%20Parkway%2C%20Mountain%20View%2C%20CA&amp;up_zoom=Street&amp;up_view=Map&amp;synd=open&amp;w=320&amp;h=200&amp;title=Google+Map&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>00:22
@preactionperhaps a "GadgetCapable" or something that would provide a www_ajax method and an interface to override00:22
onioncoderdrop that code into any html and voila00:22
onioncoderright - exactly00:22
@preactionthis is more of a community building feature00:23
@preactionand the CS is turning into a monster 00:23
@preactionand XMLRPC sucks for the most part anyway, since AJAX uses JavaScript00:24
@preactioni say it's a good idea, but i also say it's a rather intensive idea that needs to be developed appropriately00:24
onioncoderright - i'm thinking of a fund a feature with pb00:25
@preaction(but along the lines of the RSSCapable asset mixin)00:25
@preactionrather, asset base00:25
@preactioncontact the appropriate people for a quote, though i'll warn you that it will probably be larger than you might expect00:25
@preactionis there a limit to your desire? just the CS wobject for example?00:26
onioncoderk - what are the pitfalls you are seeing?00:26
@preactionit CAN be done for all Assets, but that takes more time00:26
@preactionthe Calendar would be a good candidate for this00:26
@preactionbut there's already iCalendar feeds from that00:26
+perlDreamerI don't see the point.00:26
+perlDreamerbut I'm thick00:26
@preactionperlDreamer: basically thus: you get to access content from a wG site on your own personal site00:27
@preactionso let's say I want to put the plainblack support calendar on my own site, i'd add a <script src="SOME URL"></script> tag to my site, and voila!00:27
onioncoderand if it is fully ajaxified, can be interactive without requiring refresh on the remote site00:27
+perlDreameryou'd do it through iCal00:27
onioncoderok - now think of publishing interactive content00:28
@preactionwG can't do that now00:28
+perlDreamera lot of sites generate revenue from ads00:28
+perlDreamerthis would allow access to the content bypassing the ads00:28
onioncoderk- you guys are bogged down on why, not how00:28
@preactionwhy is the most important question?00:28
@preactionwhat's the end result that you can't get currently?00:29
@preactionfor the CS you can get RSS feeds and format them, RSS is XML so there are javascript parsers.00:29
onioncodera) I have internal APIs I can expose as SOAP, REST, etc etc00:29
@preactionfor the Calendar you can get iCalendar feeds, and i'm sure there must be a Javascript parser for vCal/iCal/vCard00:29
onioncoderb) most end users arent' sophisticated ehough to code for that00:30
onioncoderc) I can have webgui consume my APIs via WS Client or equivalent00:30
onioncoderd) an enduser can then just copy/paste a generated link for that interactive SOAP driven content00:30
onioncoderI could write my own gadget system00:31
onioncoderbut in some ways easier to let WebGUI be a gadget distribution system for me00:31
onioncoderthat is the why00:31
@preactionso this doesn't export JSON, it exports javascript source00:32
@preactionhence the <script src=""></script>00:32
@preactioncan we assume that people can import and/or use a Javascript library instead?00:33
onioncoderright - it is a javascript container, which then in turn can then do the ajax to get the content -- kind of a bootstrap i guess00:33
@preaction<script src="path/to/downloaded/javascript/library.js">goGetGadget("URL");</script>00:33
@preactionrofl, goGetGadget("COPTER")00:34
onioncoderso once you have done it once for one type of asset, it *should* work with any asset that has a www_ajax method (in a perfect world)00:34
@preactionlike the RSSCapable asset base class00:34
onioncoderdoes it still seem as bad?00:35
@preactionso currently we have two needs: One: Assets have an AJAX interface for some features. Two: Some way to make that AJAX interface easy for lusers00:35
+perlDreamerwe can't solve two because that's the user's site00:35
+perlDreamereach site would have to have their own click and drag interface for widgets00:35
+perlDreamerdrupal, livejournal, plone, etc.00:36
+perlDreamereven wG00:36
@preactionwell, i think that if we make it as easy as copy/paste the above source, the <script> thing, that's easy enough00:36
@preactionthen provide options to change (for example) formattings and the like00:37
onioncoderusage example: a charity has a website in wG, they have donors who want to promote the charity on their personal homepage, they could just have a link, yes.  but this could let them drop in a donation "gadget" on any html webpage 00:37
@preactionbut if we use semantic output and a way to specify the <div id="">, then they can use CSS and descendant selectors to change style00:37
@preactionthe "gadget" being, say, a DataForm? or a Product? or something?00:38
onioncoderWS Client or equivalent for example00:38
@preactioni personally find the WSClient evil sorcery00:39
* perlDreamer is afk00:39
-!- pjesi_ [n=pjesi@client-86-27-130-79.winn.adsl.virgin.net] has quit [Connection timed out]00:41
-!- snapcount [n=royjohns@] has quit [Read error: 110 (Connection timed out)]00:48
-!- castironhike19 [n=dstephan@] has joined #webgui00:50
@preactioncan I get some opinions: I think I can eliminate a lot of problems for the Calendar by forcing that an event's recurrence starts on the exact same day the event itself starts on00:50
@preactionsome problems are just the user did not update the Recurrence Range Start date00:50
@preactionto be honest, it doesn't do what I personally expect when I make an event the recurs, I expect it to start when the event itself starts, and have the end be specified by me00:51
-!- cap10morgan_ [n=cap10mor@] has joined #webgui00:52
-!- cap10morgan_ [n=cap10mor@] has left #webgui []00:52
-!- cap10morgan [n=wmorgan@] has joined #webgui00:53
-!- onioncoder [n=mike@s205-206-123-62.ab.hsia.telus.net] has left #webgui []00:53
+perlDreamerrizen: I've been through this from top to bottom.  The concept of adding a new column.01:02
+perlDreamerthe booger is user templates01:02
+perlDreamerthe changed system would allow the user to see both the rating of the thread post and the accumulated rating of the entire thread of posts.01:02
castironhike19i'm upgrading to 7.3.8 from 6.6.5 and i'm comparing our templates to an "out of the box" WG site, and i need help with adding the js tags to the templates01:03
+perlDreamerwe can change the default templates to cover this but users would have to update their own custom templates.01:03
@rizenpd this shouldn't affect templates unless people want it to01:04
@rizenhere's why01:04
castironhike19on the out of the box setup, i found 3 js tags, and i was hoping i could get some help with which should be included in all templates, and which is just enabling features for the default WG v7 page01:04
@rizenin the thread template, we want to display the rating for the thread post, not thread cumulative01:04
@rizenin the colloboration main template we want to display the thread cum, not the other one01:04
@rizenso the only thing that needs to change01:04
@rizenis in collaboration main view01:04
@rizenchange which variable is populating the template01:05
gooeybotrizen: that doesn't look right01:05
+perlDreameryou're a genius01:05
+perlDreamerI'm a'coding01:05
@rizenonly on alternate wednesdays01:05
@rizenmost of the time i'm a moron01:05
+perlDreamerIt's just the cold01:06
+perlDreamercastironhike19: which variables are you talking about?  The IRC group is small.  You may have more success posting this to the PB discussion boards.01:06
castironhike19i haven't been able to find too much on there so far, and the upgrade notes that have been helpful are few and far between01:07
castironhike19but i'll post the question there01:09
+perlDreamerwhich vars are you talking about?01:09
castironhike19mostly i'm trying to figure out how to get it to access the new js lib01:09
+perlDreamerI don't think you need to do anything to your templates to do that01:10
+perlDreamerit should be handled by the HTTP headers01:10
+perlDreamerand for the most part, they're set up automatically01:10
castironhike19so, on our old templates, there was a js lib tag at the top of all the templates, which was <script src="/js-lib/global.js" type="text/javascript" language="javascript"></script>01:10
castironhike19oh, ok01:10
+perlDreamerHere's how to get answers on the boards01:11
+perlDreamerbe very, very specific01:11
+perlDreamerprovide links for examples01:11
+perlDreamerwhich template, what problems you're seeing01:11
+perlDreamerand be patient01:11
castironhike19i've learned that much, for sure01:12
+perlDreamersome people follow-up their own posts a few days later bad mouthing the community because there's no answer01:12
castironhike19no no, none of that01:12
+perlDreamerif after a few days you don't get an answer, then try to find PedersenMJ on IRC.  He's our new resident style/template expert.01:12
+perlDreamercommunity wise01:12
castironhike19great. thanks for the tips!01:13
+perlDreamerand if you're still stuck or in a rush, contact Plain Black and ask for a support contract or documentation01:13
castironhike19right on01:13
+perlDreamerthis announcement brought to you by Plain Black, makers of WebGUI :)01:13
cap10morgani'm actually wondering the same thing. is there a standard js include like the old global.js in version 7.x.x? sorry, that wasn't clear to me in your conversation.01:14
+perlDreameryes, but I'm almost positive that it's added in the HTTP headers now01:15
cap10morganperlDreamer: ok, thanks.01:15
+perlDreamerso you only have to add site specific JS libs in the templates01:15
+perlDreamerrizen: as part of the upgrade should the upgrade script go through ALL threads and posts and fix them?01:17
@rizenit wouldn't be fixed if it didn't01:19
@preactionrofl, i didn't pass the assetId to the form when editing an event... how does it even work once?01:27
@rizenyou shouldn't need to01:28
@rizenyou're editing off the url01:28
@rizenso it knows what assetid is by that01:28
@preactionright, but when you submit that form you need an assetId01:28
-!- castironhike19 [n=dstephan@] has left #webgui []01:28
@rizeni'll take your word for it01:28
@preactionoh, i see01:29
@preactionyou're right01:29
@preactionthen... crap, more digging01:29
-!- Jamie [n=chatzill@207-118-206-236.dyn.centurytel.net] has quit [Read error: 145 (Connection timed out)]01:34
-!- MrAfkGrease is now known as MrHairgrease01:42
-!- Meatbop [n=chatzill@24-180-168-135.dhcp.fdul.wi.charter.com] has quit ["Chatzilla 0.9.72 [Firefox]"]01:43
+perlDreameranyone care to write me an getLineage command to fetch all threads?01:46
+perlDreamerand return objects?01:46
+MrHairgreasegimme a moment01:50
+MrHairgrease$cs->getLineage(['descendants'], {endingLineageLength => $cs->getLineageLength + 1, returnObjects => 1});01:54
+MrHairgreasesomething like that01:55
@preactionif $object->can("method"); and I try to run $object->method(), is there any special reasons why the method would not run?01:55
+perlDreamerand if I wanted _all_ threads I could change the $cs to $root01:55
+perlDreamerpreaction: args?01:55
@preactionperlDreamer: none01:55
@preactionperlDreamer: the first line of that method i changed to a warning, and that warning never gets printed01:55
+MrHairgreaseand ditch the endingLineageLength01:56
+perlDreamerpreaction: are you sure the invoker is also called?01:56
+MrHairgreaseand add 01:56
@preactionperlDreamer: i would find it better to do, for that, $root->getLineage(["descendants"],{ includeOnlyClasses => ["WebGUI::Asset::Post::Thread"] });01:56
+MrHairgreaseincludeOnlyClasses => ['WebGUI::Asset::Post::Thread']01:56
+perlDreamerMrHairGrease: many, many thanks01:57
@preactionperlDreamer: i've got a bunch of warnings around the call and they get called just fine01:57
+perlDreamerjust weird01:57
@preactionimma restart and see01:57
@preactionmod_perl can be a cruel mistress sometimes01:57
@preactionthis is keeping Events that have recurrence from updating the related Events01:58
@preactionthere are a slew of "Pending" version tags that requestAutoCommit is not getting called to commit01:59
@preactionokay, it is getting called it's just not DOING IT02:03
-!- wgGuest03 [n=wgGuest0@81-174-13-85.f5.ngi.it] has joined #webgui02:14
-!- wgGuest03 [n=wgGuest0@81-174-13-85.f5.ngi.it] has quit [Client Quit]02:16
@preactionha! it's because addRevision doesn't modify the current asset in-place, but returns the new asset02:21
@preactioni updated the docs accordingly02:22
@rizenperlDreamer, you still here?02:29
+perlDreamerI'm here02:29
+perlDreamerfor a bit more02:29
@rizeni'm working on a weird bug (no report for it just keep hearing about it) and need some input02:30
@rizenthe bug is that if there's a bunch of errors in spectre workflows02:30
@rizenthat no legit workflows run02:30
@rizenbecause spectre is so busy dealing with the borked ones02:30
@rizenuntil they time out02:30
+MrHairgreaseI've seen such a pileup once or twice02:31
@rizenso basically if you get something borked (let's say on a multisite server, someone creates some bad workflows)02:31
+MrHairgreasejust restarted spectre02:31
@rizenthen the whole show stops for a while 02:31
@rizenmy thought on how to clear this is to implement a new queuing scheme02:31
@rizenwe have priority 1, 2, and 302:32
@rizenbut let's assume we can have as many queues as we want02:32
@rizenso that 1 2 and 3 turn into 02:32
@rizen10 20 and 3002:32
@rizenthen every time a workflow is run02:33
@rizenit gets put down 1 level in the que02:33
@rizento 1102:33
@rizenand then to 1202:33
@rizenassuming it was priority 1 to begin with02:33
@rizenso if it runs 10 times, then it will be at 2002:33
@rizenwhich is where priority 2 stuff starts02:33
@rizenbasically, if something priority 1 runs long enough02:34
@rizenit will be at the bottom of the stack with all the crap02:34
@rizenbecause if it is running that long...it should be put dead last anyway02:34
@rizenwhat this solves is that everything then gets a turn to run02:34
@rizenwithout gumming up the system02:34
@rizenhow i do it now is02:34
@rizenif something errors02:34
@rizenit's taken out of the queue for 60 seconds02:34
@rizenand then returned back to whatever queue it was already in (1,2,302:35
@rizenso if you have a lot of those02:35
@rizenand they're all erroring out in queue 102:35
@rizenthen queues 2 and 3 will never have a chance to run02:35
@rizenbecause it may take longer than 60 seconds02:35
@rizento cycle through all the bad crap02:35
@preactiondoes it only get downgraded if it errors?02:35
+perlDreameryeah, can we make a distinction between requeue due to time out vs erroring out?02:36
@rizeni'm thinking it gets downgraded no matter what02:36
+perlDreamerif you error out, longer timeout before requeue02:36
@rizena 50 step workflow02:36
@rizenwould run 51 times02:36
@rizenso if it started at 1002:36
@rizenit would be at 61 when it completes02:36
@rizenassuming it completed on the first attempt02:36
@rizenfor each activity02:36
@rizenwe could do a longer timeout02:37
@rizenbut that still doesn't scale much better02:37
@rizenit might work for one environment02:37
@rizenbut not for all02:37
@rizenwe need to come up with a way to make sure that everything gets a chance02:37
@preactionperhaps high priority don't go down so fast? 1 level for HP, 2 for Medium, 3 for Low, so long, high-priority workflows still get preferred in the long run?02:37
@rizenyo tun02:37
@rizento run02:37
@rizenkeep in mind that high priority workflows will still have 10 high priority executions02:38
@rizenbefore they get mixed in with the cruft02:38
@rizenthat's way more than they should need to complete02:38
@rizenmost workflows complete within 3-5 executions02:39
@rizenin fact, commit without approval completes in 1 execution almost every time (unless there's an error)02:39
@rizenanyway..does anybody see any problems with doing this sort of a filter02:40
@rizenrather than the 3 queues method we do now02:40
+perlDreamercan we add some profiling to monitor queue health?02:40
@preactionthe only problem i see, you've brought up: a very very long workflow will be relegated (Eventually) to the bottom of the barrel02:41
@rizenyeah...and i'm not sure that's a problem02:42
@rizensince a very very long workflow needs to give up some of it's time so that other things can run02:42
@rizenthat's the whole idea of time sharing02:42
@preactionright, but it's giving up both time and priority, "I need time, but I'll wait, and I'll also pretend to need time less than I did last time"02:43
+perlDreamerso in profiling, we would keep track of how deep a workflow goes before it leaves the queue, either by completing or falling off the end02:43
+perlDreamerthis gives us a way of identifying queue depth and troublesome workflows02:43
+perlDreameri.e. if Workflow A NEVER executes, now we have something concrete to go look at02:44
@rizenpreaction: sorry, time = 1 execution, not regular time02:44
+perlDreamerinstead of saying: reset spectre and call me in the morning02:44
@preactionso not the 60 second limit thing?02:44
@rizenright, there will not be a timeout anymore02:44
@rizenpd: to you02:45
@rizenthere are a few things02:45
@preactionoh, then i don't have an issue02:45
@rizeni have planned02:45
@rizen1) you'll be able to run a command line 02:45
@rizenperl spectre.pl --status02:45
@rizenwhich will tell you how many workflows there are waiting and their priorities02:46
@rizen2) you'll also be able to do some ps  functions02:46
@rizenlike top02:46
@rizenthat sort of thing02:46
@rizen3) the status information will be available through the admin console (from web browser)02:46
@rizenthough the other things will not, for security reasons02:47
@rizen4) you can already see what workflows are running and their status, and what version tags are pending02:47
@rizen5) the workflow status screen will be updated to include more information02:47
@rizensorry, the "running workflows" screen02:47
@preactionperlDreamer: we're still on for the calendar docs tonight? i'm gonna grab some food so I'll bbl02:48
+perlDreamerpreaction: yes 7:30pm PST02:48
@rizeni plan on doing all these things as part of 7.3 bug fixing, because we're seeing a lot of spectre problems02:48
@rizenand we need better tools to troubleshoot with02:48
@rizenso, given that list02:48
@rizendoes that cover what you were looking for?02:48
+perlDreamerAlmost all of it, yes02:48
+perlDreamerI still think a history would be good02:49
+perlDreamer1-5 cover what's happening now02:49
+perlDreamerbut not what has happened02:49
@rizenspectre is doing all this stuff in memory02:49
@rizenand doesn't communicate with the db02:49
@rizenso therefore keeping history like that02:49
@rizenwould be a memory leak02:49
@rizeni suppose we could add a special debug runtime flag that would keep the history02:50
+perlDreamerit could go in the WebGUI logfile as well.02:51
@rizenthat way you could have it when you're troubleshooting02:51
+perlDreamerit would just need to be postprocessed02:51
@rizenand turn it off later02:51
+perlDreamerit's just a debug feature02:51
+perlDreamernot a runtime02:51
@rizeni'll see what i can do on that front02:51
@rizenback to my queuing problem02:51
@rizendo you see any problems with that?02:51
@rizenmy new solution?02:51
+perlDreamernot off the top of my head02:52
+perlDreamerso long as things fall off the end, it should never get stuck02:52
+perlDreameralthough bad workflows may interrupt lower priority workflows02:52
+perlDreamerif junk is at 15, and I insert at 20, it may not get run for a while until the 15 flows past me02:52
@rizenit never will get stuck, but going back to your historical thing02:52
@rizenit will be interesting if you run --status02:53
+perlDreamervia cron02:53
@rizenand see that there is a workflow that's been executing 100937 times02:53
+perlDreamerwait, I thought it would only execute 50 times?02:53
+perlDreameris 51 death? or bottom out?02:53
@rizenno, it will keep executing until it completes02:53
@rizenno bottom out02:53
+perlDreamerwell, in that case, there's our historical data right there02:54
+perlDreamereverything in 50 is problematic02:54
@rizenhistorical for anything that's still running02:54
@rizenit won't show any historical data for things that have completed02:54
+perlDreamerright, and that's fine02:54
@rizenwell in that case02:54
+perlDreamerwe can always identify big workflows by using our heads02:54
@rizenwe're good02:54
+perlDreameremail lists, post/thread archives02:55
+perlDreamerthese are potentially big workflows02:55
+perlDreamerwe can deal with them individually02:55
@rizencache deletes are the biggest02:55
@rizenbig caches can take a long time to run02:55
@rizenfor cleanup02:55
+perlDreamerwhat about cache populates for RSS and iCal?02:55
+perlDreamerthere is an RSS populate workflow02:56
+perlDreamerI figured there'd be one for iCal as well02:56
@rizenoh right02:56
@rizenthose aren't all that long02:56
@rizenunless there are connectivity problems02:56
@rizenthey usually complete in 1 execution02:56
@rizenok...must get dinner now02:57
+perlDreamerso the long part is identifying which cache entries have expired02:57
+perlDreamerokay.  see ya!02:57
-!- perlDreamer [n=ckuskie@nat048.mxim.com] has quit [""""]02:57
@rizenwhich won't be as big of a deal if i can complete my goal of getting rid of FS cache at some point02:57
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []02:57
-!- patspam [i=patspam@203-214-35-18.dyn.iinet.net.au] has joined #webgui03:12
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []03:25
-!- cap10morgan [n=wmorgan@] has left #webgui []03:39
-!- Radix-wrk [n=Jesse@] has joined #webgui03:57
-!- patspam [i=patspam@203-214-35-18.dyn.iinet.net.au] has quit []04:25
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui04:33
-!- mode/#webgui [+v crythias] by ChanServ04:34
@preactionwoohoo, first time i've had an alcoholic beverage in 8 months, and now i'm going bughunting!04:35
* preaction maintains professional composure in a public forum04:35
Radix-wrkWhat alcoholic beverage though?04:45
@preactionbrandy old-fashioned sour04:45
@preactionmy new favorite, followed closely by white russians and vodka martinis04:45
@preactioncrap, i just realized that our additions to the WebGUI::DateTime interface are somewhat ambiguous, because of WebGUI's ability to allow users to specify their own date/time formats...04:48
Radix-wrkI had fun with Webtender.com's "In My Bar" for New years myself.. got a nice collection of liquers and spirits for the occasion (all rather cheap thanks to a friend who works at a bottle shop), and we tried lots of concoctions that night :)04:49
+crythias"Thank you for the completely inadequate wedding gift."04:49
@preactionha ha, that's clever04:50
Radix-wrkSo how goes the bughunt?04:54
@preactionugly... deep-rooted calendar bugs04:55
-!- Radix__ [n=Radix@] has quit [Read error: 104 (Connection reset by peer)]05:00
-!- Radix__ [n=Radix@] has joined #webgui05:01
Radix-wrkHmm.. just had our website disappear in a bunch of workflow errors - now getting '502 Bad Gateway' messages..05:04
@preactionbad gateway means modperl is down05:05
Radix-wrkjust clearing the webguicache and when that's done will do a full restart05:05
@preactionsounds a goodly idea05:05
Radix-wrk2007/02/01 09:54:53 - ERROR - webgui.formsys.com.conf - main::[[undef]] - Caught05:06
Radix-wrk exception executing workflow activity pbwfactivity0000000006 for instance 2ZdKB05:06
Radix-wrk38_LmaEf0cGSRtLKA which reported Can't call method "get" on an undefined value a05:06
Radix-wrkt /data/WebGUI/lib/WebGUI/Asset/Post.pm line 276.05:06
@preactionJT was just discussing in here a way to (imho) fix specture entirely05:06
@preactionby changing the way it prioritizes and runs workflows05:06
@preactionwhich iirc he'll be adding to the 7.3.* bugfixes05:06
Radix-wrkYeah, the spectre stuff still doesn't seem 100% yet05:07
@preactionand if i make this verdamnt calendar USABLE we can get on to 7.4 soon05:07
@preactionbasically thus: workflows will lose priority as they keep running, so workflows that cause a lot of errors will eventually be delegated to the very bottom of the barrel, and thus not clog up the works05:08
Radix-wrkthe reason they're failing needs to be sorted out too though - not just dismiss them surely.05:13
@preactionof course, you'll be able to see what workflows have been running forever05:13
@preactionand then figure out why05:13
Radix-wrkthese failures are all due to code in formatContent that seems to do no error checking - it's doing a $self->getThread->getParent->get("filterCode"));05:14
@preactionyeah, it shouldn't do that, but also those should not be failing05:15
@preactionit means you have a corrupt Post05:15
@preactionor Thread05:15
@preactionwhat line is that?05:15
@preactioni can add some warnings that will help track those corruptions down05:15
Radix-wrkI'm using 7.0.8 still tho05:15
Radix-wrkso may have been fixed in more recent versions05:16
@preactioni don't htink we changed it in recent ones, but i'll check05:16
Radix-wrkI think there are some issues with collaboration systems having posts made before they're version tag is committed05:16
@preactionoh, right05:16
@preactionyes, now CS forces committing before any Posts can be added05:17
Radix-wrkdon't know why the whole site would've died because of that tho05:18
Radix-wrkclean of cache and restart fixed it05:18
Radix-wrkOh well.. I'll keep waiting for 7.4 :)05:19
@preactionit's 7.3.9 or 7.3.10 you should be waiting for05:22
@preactionthe last 7.3 release will have a clean bug list05:22
Radix-wrkYeah, but we can't do password recovery with this new method of using profile fields - got over 4500 users and none of them have any profile fields we could use for password recovery05:23
Radix-wrkso gotta wait til 7.4 before the old password recovery method is added back in05:23
@preactionnot even an e-mail address?05:23
Radix-wrksure, but then anyone could take anyone else's account over if he had their email address05:24
@preaction... it doesn't send the new password to the e-mail address in the profile?05:24
@preactioni'm not sure how the new one works05:24
Radix-wrkme neither really, but the way JT described it was that it was all web based.. no emails sent05:25
Radix-wrkyou say you forgot password, enter in one or more profile fields - if they match then you can enter in a new password05:25
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has joined #webgui05:25
Radix-wrkgreat if you have a new setup - you can add them to the signup info, but not if you have a lot of existing users with no such info05:26
-!- snapcount [n=royjohns@] has joined #webgui05:26
-!- mode/#webgui [+o snapcount] by ChanServ05:26
@preactionwell, pb.com doesn't use the new password recovery method that i know of either05:26
Radix-wrkHmm.. wonder how it's doing it then...05:26
@preactionat least, theres nothing on register that you enter for password recovery purposes05:27
Radix-wrkAhh.. forgot password is disabled for pb.com atm05:28
Radix-wrkthere's no link to it anymore on pb.com, and it doesn't even recognise the ?op=auth;method=recoverPassword stuff either05:30
Radix-wrkhope noone forgets their password! :)05:30
PedersenMJg'd evening.05:35
PedersenMJHow's it going?05:36
Radix-wrkwhat's it?05:36
PedersenMJlife, the universe, and everything.05:37
Radix-wrkit's still 4205:37
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has joined #webgui05:37
-!- mode/#webgui [+v perlDreamer] by ChanServ05:37
Radix-wrkthe bowl of petunias is okay tho05:37
PedersenMJReally? I heard that it was still in the whale when the whale tried to become friends with the ground, and didn't do so well when that happened.05:38
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui05:38
-!- mode/#webgui [+o rizen] by ChanServ05:39
@preactioni heard the bowl of petunias was somehow killed, since it was really Agrajag in one of his incarnations05:42
PedersenMJYeah, and he had a bitch of a time getting that onto the statue of Arthur killing him in 50 some odd ways.05:43
Radix-wrkI just want to know why it said "Oh no, not again"05:43
+perlDreamerwhat in the world are y'all talking about?05:43
@preactionif we knew that, we'd know a lot more about the universe than we currently do05:43
+perlDreamerroger that05:43
Radix-wrkhence why I want to know :)05:43
Radix-wrkperlDreamer, we're talking about 4205:43
PedersenMJWell, *I* heard that it said "oh no, not again" because it still hadn't mastered the art of throwing itself at the ground and missing.05:45
+perlDreamerpreaction: are you a documentron tonight?05:45
@preactionit can't very well throw itself anywhere, it's a plant!05:46
@preactionperlDreamer: yes'm05:46
+perlDreamergive me a holler when you're ready to start05:46
PedersenMJPrecisely why it was so upset at the current forced attempt!05:46
+perlDreamerin the meantime I'll be cursing myself as 12 kinds of idiot05:46
@preactionperlDreamer: any time, i suppose we start with "Where the hell do I look for to add this stuff?"05:46
@rizenpd: why?05:46
+perlDreamerI left the new prototype upgrade script at $dayJob05:47
+perlDreamerbut brought all the Asset changes home05:47
+perlDreamerwithout all the pieces, I can't finish the debug and test05:47
@rizenand you haven't made yourself a back door into your work network yet05:47
@rizenfor shame05:47
+perlDreamernot allowed to05:47
@rizenyou're never allowed to05:47
+perlDreamerno access to the firewall05:47
@rizendoesn't mean you don't05:47
Radix-wrkno vpn?  ssh?05:47
@rizenaccess to the firewall is for pussies05:47
@preactionRandall Schwartz is a felon because of making a backdoor like that :p05:48
Radix-wrkssh tunnels ftw05:48
+perlDreamerpreaction:  The docs are in two pieces: i18n is in i18n/English/Asset_*05:48
+perlDreamerHelp is in Help/Asset_*05:48
@rizenpreaction: shhhh. i want pd to go to jail so he can work on webgui full time05:48
@preactionHelp is where the template docs are too? i suppose i'll see when I open one up05:48
+perlDreamerhave a gander at the Article help for a good example of how to start05:48
+perlDreamertemplate docs have 4 pieces05:48
+perlDreamerall variables05:48
+perlDreamerand then ISA relationships to pull in other template vars from other entries05:49
+perlDreameroh, and have JT tell you where to find my documentation presentation from the 2005 WUC.05:49
@preactioni should put Event and Calendar help in different places? even thought the Calendar is where people will probably expect to find Event help?05:50
+perlDreamer1 file per Asset05:51
+perlDreamerboth i18n and Help05:51
@preactionjust like i18n, k05:51
+perlDreamerEven the Wiki is done that way05:51
+perlDreamerI'm going to try a VPN connection into work, I may drop out for a bit05:51
@preactionperlDreamer: this huge datastructure is kind of ugly, is there a specific reason it's all done as one big one and not broken up into multiple statements?05:56
PedersenMJHey, Radix, to return the favor for firebug last night, here's a mostly equivalent tool for IE: http://www.ieinspector.com/05:57
+perlDreamerI'm in!05:57
+perlDreamerwhich huge ugly datastructure are we talking about?05:57
@preactionthe Help one05:57
+perlDreamerHow would you break it up?05:57
@preaction$HELP->{"calendar add/edit"} = $calendarAddEditPage; $calendarAddEditPage->{fields} = []; ->{related} = []; etc...05:58
@preactionbasically build the hash for a page, and then add it to the main hash05:58
+perlDreamerIt's perl code.  You can do that.05:58
+perlDreamerHave a look inside the Macros.pm Help file05:58
+perlDreamernear "list of macros"05:59
@preactionwhere it's using subs instead of text?05:59
@preactionhooray anonymous subs ;)05:59
+perlDreameryeah, site specific listing of your macros06:02
+perlDreamerIt's just perl code06:02
+perlDreamerso long as it builds the final data structure and you indent exactly the way as all the other files, knock yourself out.06:02
@preactionwell, the indentation will change to adhere to PBP, because they aren't such horribly nested data structures some of the indentation won't be necessary06:03
@preactioni'll do it and see how pretty i can make it, and then if i fail, i'll just run Data::Dumper and take that output ;)06:03
+perlDreamerperltidy will cure all ills06:04
PedersenMJJT, quick question: I'm putting a link to WDR in the article I'm working on. Is this link (https://www.plainblack.com/services/wdr) likely to change in the near term future?06:05
PedersenMJSome of the discussions on the forums seemed to indicate it might.06:05
PedersenMJOkay. Just wanted to make sure. Thank you.06:05
@rizenat least not until april/may06:05
PedersenMJWell, that means this article should be visible without change for at least two months, so that's all I can ask for.06:08
@rizeni'm not saying it will change then, just that it's safe until then06:08
@rizenit will likely stay there for a year 06:09
PedersenMJWhich is even better. Heck, having a stable link for a week is sometimes a miracle on the web.06:10
@preactionok, so "fields" are URL parameters, and "variables" are template variables06:17
PedersenMJBTW, I'd like to thank whomever integrated the mce editor. It might seem silly to say this, but having it remember the size of the textbox from one edit to another is a very nice usability feature. I appreciate it.06:18
+perlDreamerfields are form parameters with hoverHelp06:19
+perlDreamerdoes anyone have a website that they'd like to sacrifice/donate for the testing of my new upgrade script?06:19
@preactionperlDreamer: so normal URL parameters are not documented? ones w/o hoverHelp? like as in a Search form?06:20
PedersenMJpd: How soon do you need it? I could make one tomorrow for it.06:21
+perlDreamerPedersenMJ: it needs to have an extensive collaboration system06:22
@preactionperlDreamer: is it committed? i can do it06:22
+perlDreamerIt's not committed yet.06:22
@preactioni can pull a dump of pb.com and we can test it on that06:22
+perlDreamerpreaction: hidden URL params would not be documented, only user interface level stuff06:22
+perlDreamerunless they were template variables required for a template Event form to work, for example06:23
@preactionso a search form, those would be06:23
@preactionand the hidden "recurId" field on the Event form would be06:23
+perlDreameronly because it would be a template variable required to build the form06:23
+perlDreamercheck out the Post Help.  The edit interface is documented as a template, not as a form.06:24
@preactionbut like when documenting the search page, would i not say "these fields are required and this is what they do to the search results returned?"06:24
@preactioni can't do both?06:24
+perlDreamerif your form is templated, do them all06:24
@preactionwell, admittedly, the form is built using template vars06:24
+perlDreamerthere you go06:25
+perlDreamerthis is a template06:25
@preactionshould i just make a remark about "passing in the 'start=' parameter on the first visit to this page will set the "startDate" field06:25
+perlDreamernot unless the user can do it via a UI element06:26
+perlDreamerthe 7.3.9 changlog entry is reminiscent of the 6.x series06:27
+perlDreamerit's huge!06:27
@preactionno, the user themselves can't, the idea is that template designers should06:27
+perlDreamerrizen: I'm committing the Post rating work06:28
@rizenpd: remember the form/profile stuff?06:28
* perlDreamer quavers06:29
+perlDreamerI wasn't going to mention that06:29
+perlDreamerhow many other volunteers have the distinction of completely messing up almost all aspects of WebGUI?06:30
@preactioni built an upgrade that trashed data?06:30
+perlDreamerwell, you're paid to do that06:30
+perlDreamerI did it pro bono06:30
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has quit [Remote closed the connection]06:31
@preactioni'm sorry06:32
@rizeni think you're the only one pd06:32
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has joined #webgui06:32
@rizenbut that's just one of the many reasons we love you06:32
+perlDreamerI break stuff06:32
+perlDreamerI test stuff06:32
+perlDreamerI document stuff06:32
+perlDreamernot necessarily in that order06:32
@preactioni won't mention that everyone who's had their hand in the Calendar has caused a bug ;)06:32
@preactiondamn roy and his needs06:33
* preaction resolves to write better code so it's not so easy to break stuff06:33
@preactionlemme pastebin my "cleaner" help code06:34
+perlDreamerwell, having done the rating stuff, I'll have a look at Susan's reply stuff next06:34
PedersenMJSorry for the idle. Wish I could have helped pd.06:35
+perlDreamerI always appreciate the offer to help06:35
@preactionhttp://rafb.net/p/LWzTeM69.html <- comments?06:36
@preactioni'm not liking the push statements so much anymore06:37
+perlDreamerhere's the defining test06:37
+perlDreamerwhat shell do you use, preaction?06:37
+perlDreamerdo you have a valid WebGUI.conf sitting around?06:37
+perlDreamerexport WEBGUI_CONFIG=/data/WebGUI/etc/myConf.conf06:37
+perlDreamercd /data/WebGUI/t06:38
+perlDreamerprove i18n/ Help/06:38
+perlDreamerif that passes, you're golden06:38
@preactionbut code format-wise, is it readable?06:38
+perlDreamerI'm so used to the big datastructure that the disambiguation is a little vague for me06:38
@preactioncould probably use more comments06:39
@preactiontests pass, should I set CODE_COP?06:41
+perlDreamerCODE_COP implements my code scanning tests for i18n and setHelp06:42
+perlDreamerit's a mini PPI06:42
+perlDreamervery slow06:42
+perlDreamerI should inline both scans in one and then write out data to be used for both tests06:42
@preactionat any rate, they passed06:43
+perlDreamerthen it's good Help06:43
+perlDreamerregardless of format06:43
-!- patspam [i=patspam@203-214-35-18.dyn.iinet.net.au] has joined #webgui06:44
+perlDreamerpreaction:  can you take a look at this for a sec?06:45
+perlDreameruh, no06:45
@preactioni remember that!06:45
+perlDreamer$self->get("dateSubmitted") eq $self->get("dateUpdated")06:45
@preactionlooks like clean code06:45
+perlDreamerthat one06:45
+perlDreamerI have tests that fail due to that all the time06:45
@preactionwhat Asset is that?06:45
+perlDreamerThink about it this way instead06:46
@preactionthey're epoch times no?06:46
+perlDreamer$self->get("dateSubmitted") - $self->get("dateUpdated")06:46
+perlDreamerepoch times06:46
+perlDreamerIf that difference > 0, that does it mean?06:47
@preactionwhat's the failure reasing?06:47
@preactionit means that it's been updated since it was submitted06:47
@preactionOR that the last time it was "updated" by something is after it was submitted06:47
+perlDreamernot always06:47
@preactionwhy not?06:48
+perlDreamerwhat if it was submitted at 0.99999999999999999999999 seconds but updated at 1.00000000000000000001 seconds06:48
+perlDreamerepoch times are integer seconds06:48
@preactionso they can be equal06:48
+perlDreamerbut they can also be non-equal, and valid06:48
@preactionas long as dateUpdated is greater than or equal to dateSubmitted, it should be valid06:49
+perlDreamerwhat about editing posts?06:49
@preactionthat should update the dateUpdated field, not the dateSubmitted field (imho)06:50
@preactionbut isn't that already in assetData as "lastUpdated"?06:50
@preactionsame with dateSubmitted, isn't that in asset as "creationDate"?06:50
@preactioni mean, if these fields do what they sound like they do06:51
+perlDreamerneed to ask TMRFE06:51
+perlDreamerrizen: Thy presence is humbly requested06:51
* perlDreamer mouths the arcane lingo06:52
@preactionshh. it's 11:00p06:52
@rizenyes sirs06:52
@rizenis the question what's the difference between dateSubmitted and dateUpdated?06:52
+perlDreamerIn a Post, how are dateUpdated and dateSubmitted different from creationDate and lastUpdated?06:52
@rizenlet's take dateUpdated and lastUpdated cuz it's eaiser06:53
@rizendateUpdated is the time when the poster last did something to the post06:53
@rizenwhere lastUpdated is the time the post was last modified06:54
@rizenwhich could be by the system06:54
@rizenvia workflows06:54
@rizenor any other asset access06:54
+perlDreamerthey're when user level actions took place06:54
+perlDreamerI see06:54
+perlDreamerI went looking for another bug to fix06:55
@rizendateSubmitted is the same for creation06:55
+perlDreamerand I found one where replies are not being counted06:55
@rizenhowever, currently in the system, there is no difference between the two06:55
@rizendateSubmitted and creationDate06:55
@rizeni mean06:55
+perlDreamerI think it's due to this: return $self->get("dateSubmitted") eq $self->get("dateUpdated");06:55
+perlDreamerit reminds me of the failing tests due to truncated integer epoch times06:56
@rizenoooh, you should never rely on that06:56
@rizenor whoever write it06:56
@rizenwrote it06:56
@rizenwhich is probably me06:56
+perlDreamerI'm thinking a better way may be to count revisions?06:56
+perlDreamerbut they may be system level changes06:57
@rizencounting revisions isn't good either06:57
@rizenbecause revisions can be deleted from the system06:57
@rizenduring slough06:57
@rizenwhat is this check used for?06:57
+perlDreamerincrementing replies06:57
@rizenwhy does that have anything to do with replies?06:58
+perlDreamersub commit in Post06:58
+perlDreamernotifies subscribers06:58
+perlDreamerand karma check and increment replies if new06:58
gooeybotcheck and increment replies if new has neutral karma06:58
@rizeni'm not seeing that in commit()06:59
@rizenare you sure it's not another method?06:59
+perlDreamerline 142 of Asset/Post.pm06:59
@rizeni know where the commit method is06:59
@rizeni'm saying i don't see that check06:59
@rizenthere's no comparison of dateSubmitted to dateUpdated in Post::commit()07:00
+perlDreamerif ($self->isNew) -> quantifies the karma and incrementReplies07:00
+perlDreamerisNew does that check07:00
@rizenoh, isNew...07:00
@rizenwhy didn't you tell me that07:00
+perlDreamerI'm old07:00
PedersenMJg'night all. it's early, but I've been needing more sleep lately. See y'all manana!07:00
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has left #webgui []07:01
+perlDreameractually, we can test this directly.07:01
+perlDreamercan you do a query on PB.com?07:01
+perlDreamerthis thread has 1 reply, but no counted replies07:02
@rizeni think a better check would be this07:02
+perlDreamerif the dateUpdated and dateSubmitted are different, then that's definitely the problem07:02
@rizen$self->get("status") ne "approved" && $self->getTagCount == 107:02
@rizenstrike that07:03
@rizenthis would be better07:03
@rizen$self->get("status") eq "pending" && $self->getTagCount == 107:03
+perlDreamerif we edit a post is the status set back to pending?07:04
@preactiona revision is added, so tagCount is greater than one07:04
@rizenmysql> select dateSubmitted,dateUpdated from Post where assetId='UIXGb0g5I7SEUcGESmaj6w';07:05
@preactionbut i don't think that will work, isNew is only ever called after $self->SUPER::commit, so wouldn't "status" be approved?07:05
@rizen| dateSubmitted | dateUpdated |07:05
@rizen|    1170202886 |  1170202887 | 07:05
@rizen1 row in set (0.00 sec)07:05
+perlDreamerokay, I'll make the change07:05
@rizenthat revision is pending07:05
+perlDreamerit is?07:05
@rizenyes the revision07:05
gooeybotthe revision is, like, added, so tagCount is greater than one07:05
@rizennot the old one07:05
@rizenthe new revision is pending07:06
+perlDreamerI'll add the new conditional.  Do you also want an upgrade script to fix the replies?07:06
@rizenok then don't check whether it's pending or not07:07
@rizenjust check tag count07:07
@preactionam i lagging?07:07
@rizeni'm lagging in my reading07:07
+perlDreamerthere was a system level lag, preaction07:07
@preactionoh, k07:07
@rizenso my responses are lagging07:07
@rizenhmmm. let's think this over07:07
@rizenbefore you make this change07:08
@rizenmaybe my new solution isn't so hot either07:08
+perlDreameryou always want to be reasonable and careful07:08
+perlDreameryou'll never break code doing that07:08
@rizenthe problem with my new solution is if the post gets sent back for edits before posting07:08
@rizeni don't know if that creates a new version tag or reuses the old one07:09
@rizenit should reuse the old one07:09
@rizenbut i don't know for sure07:09
+perlDreamerI'll make a post and ask for a preview07:09
@rizenpreview won't do anything07:09
@rizenit doesn't actually submit the data07:09
@rizenon your local copy set up the cs to require approval07:10
@rizenthen reject your post07:11
@rizenand edit it07:11
@rizenthen approve it07:11
@rizenand see how many tags you have07:11
+perlDreamerI can't send emails from my box07:15
@rizenyou don't need to07:15
@rizencheck your inbox07:15
+perlDreamerit's empty07:15
@rizenfrom the admin console07:15
@rizendo you have spectre running?07:15
+perlDreamerup and running07:16
@rizenand did you commit your cs before making a post to it so that it knew to run the commit with approval workflow07:16
@preactionhow did it allow you to make a post to it?07:16
@rizencuz it already existed07:16
patspamWebGUI::Form::IntSlider.pm, line 146, calls WebGUI::Form::integer (lowercase) instead of WebGUI::Form::Integer (uppercase)07:16
@rizenhe's just making an edit07:16
patspamgiving me errors in my wobject07:17
@rizenpatspam: doesn't matter07:17
patspamCouldn't call method doAdd on asset for url: home/portal/p2 Root cause: Can't locate object method "new" via package "WebGUI::Form::integer" (perhaps you forgot to load "WebGUI::Form::integer"?) at /data/WebGUI/lib/WebGUI/Form/IntSlider.pm line 146.07:17
@rizenoh, wait, it does matter in that case07:17
@rizenit only doesn't matter in WebGUI::Form07:17
@rizenor WebGUI::HTMLForm07:17
@rizenbut calling it directly it does07:17
@rizeni'll make the change in the core07:18
patspamCouldn't call method doAdd on asset for url: home/portal/p2 Root cause: Can't locate object method "new" via package "WebGUI::Form::integer" (perhaps you forgot to load "WebGUI::Form::integer"?) at /data/WebGUI/lib/WebGUI/Form/IntSlider.pm line 146.07:18
patspambtw I'm not calling WebGUI::Form::integer directly, I'm calling IntSlider07:18
@rizenyeah, but intslider is calling it directly07:19
@rizenrather than going through WebGUI::FOrm07:19
patspamyep :)07:19
@rizenfixed in core07:20
patspamawesome, ta07:23
@rizenwhat is ta?07:24
+perlDreamerta, like in ta-ta07:25
@preactionperlbot ta07:25
+perlDreamerhow do I check the number of tags?07:25
patspamha, no, it means thanks07:25
@preactionperlbot doesn't know07:25
@preactionor select count(*) from assetData where assetId=<your ID>;07:25
@rizenpreaction, second way won't work07:26
@rizenwithout distinct07:26
@preaction?func=manageRevisions, however many revisions you have?07:26
@rizenand you should always use api07:26
@preactionof course, i was just thinking he was just checking this raw to make sure that $self->getTagsCount will work07:26
@preactionthat's not the right answer :(07:27
+perlDreamerwell, we can either change isNew or fix why the dateSubmitted and dateUpdated are different.07:28
@preactionwhat if there's only one approved version in the database, would that be as good isNew?07:29
@preactionperlDreamer: so basically most times i add something to i18n for an asset, i should add something to Help?07:30
@rizenhmmm...what other ways can we determine if it isNew07:31
+perlDreamerthe funny thing is it should work right07:31
+perlDreamerboth dateUpdated and dateSubmitted are updated with the same timestamp07:32
+perlDreamer$newSelf->update({threadId=>$newSelf->getId, dateSubmitted=>$now});07:32
+perlDreamer    $newSelf->update({07:32
+perlDreamer        isHidden => 1,07:32
+perlDreamer        dateUpdated=>$now,07:32
+perlDreamer        });07:32
@rizenwell then maybe we shuld just fix it, like you said07:33
@rizenand leave isNew alone07:33
@rizendo you know at what point it's getting corrupted?07:34
+perlDreamerI can only see 1 thing that might happen07:34
+perlDreamerbut it's bad07:34
+perlDreamerif the compiler optimized away $now and replaced it with time(), then you could get different calls in both places.07:34
+perlDreamerthere's no way to fix that07:34
+perlDreamerneither dateUpdated nor dateSubmitted are changed anywhere else that I can find07:35
@rizenholy crap07:35
@rizenthat's very bad07:35
+perlDreamerit can't be it07:35
@rizenhow else is it off07:36
+perlDreamerwhat else touches the Post table after addRevision?07:36
patspamhmm setting minimum to anything other than 0 on IntSlider seems to break it, same for HexSlider07:37
@rizenpatspam, then report a bug07:38
patspamwill do07:38
@rizenpatspam, also, check out the use of the code in the image stuff07:38
@rizenthat's where they're used in webgui07:38
@rizenbut i think they start at 907:38
+perlDreamernope and nope07:39
@rizenperlDreamer: that is ignorant and racist07:40
+perlDreamerdateSubmitted and dateUpdated only appear to be written in addRevision07:40
+perlDreamer"nope" is racist?07:40
@rizenyou're clearly trying to keep my people down07:41
+perlDreamerback to the keyboard, codeSlave!07:41
@rizeni don't know man07:42
+perlDreamerLet me try something out.07:42
+perlDreamerI'll pastebin it07:42
patspamfixed it, the javascript fn $slider.setMinimum() at line 325 of Slider.pm doesn't like having its argument quoted07:46
patspamstrangely $slider.setMaximum() doesn't care07:46
+perlDreamerrizen: http://rafb.net/p/AmHuwp99.html07:50
@rizenisn't line 3 of modified broken07:52
+perlDreamerbetter hope not.  I didn't touch that part :)07:52
+perlDreamerIf dateUpdated and dateSubmitted are made on the same update, it should use the same time for both.07:53
@rizenit's different07:53
@rizenit's different between the two versions07:53
+perlDreamerlines 3 and 18 are the same07:54
@rizen            $newSelf->update({threadId=>$newSelf->getId, dateSubmitted=>$now}, dateUpdated=>$now);07:54
@rizen            $newSelf->update({threadId=>$newSelf->getId, dateSubmitted=>$now});07:54
@rizensee hhow they are different07:54
@rizeni have them flip flopped07:54
@rizenline 3 of modified07:54
@rizennot line 107:54
@rizenline 20 on pastebin07:54
@rizenvs line 507:55
@rizensorry, didn't even notice that pastebin had numbers07:55
+perlDreamerokay, I see it07:55
+perlDreamerthat can be fixed, but the concept should still be good07:55
@rizenrefine it even further07:55
@rizenget rid of all the updates07:55
@rizenjust create variables07:55
@rizenand do 1 update at the end07:56
@rizenor a hashref07:56
gooeybota hashref is, like, slick07:56
@rizenyour idea will work if the optimization theory is correct07:57
+perlDreamerif it's correct, I'll be scared07:57
@rizenthe shitty part is there's no real way to test that theory07:57
+perlDreamerit takes time.  If we don't have any more funky reply posts then it's fixed07:57
@rizeni hate those kinds of fixes07:58
+perlDreamerI'll work on this.  Let's sit on it overnight and think about it.07:58
+perlDreamerTomorrow morning we'll be frustrated with doing support and much more likely to understand what's going on07:59
@preactioni don't get your logic, but i like what what you said07:59
+perlDreamerrizen: http://rafb.net/p/hkvfYO28.html08:07
@rizen2 changes08:08
@rizendateSubmitted only gets set if you're in the first if08:08
@rizensame with threadId08:08
@rizenwant me to rewrite or do you get me?08:09
+perlDreamerI get you08:09
+perlDreamerdateSubmitted should be dateUpdated, to preserve the original08:09
@rizendon't think you get me08:09
+perlDreameryou better rewrite08:10
@rizenmethinks that's better08:13
@rizendo you see?08:14
+perlDreameryes, but I was trying to keep the reads of $now to be very close08:15
@rizenor did i screw up?08:15
@rizenwe're talking ms here, cuz the update is what takes a long time08:15
@rizeni suppose get parent could take a long time08:15
@rizenlet me reorder08:16
@rizencan't get much closer08:17
@rizenthe only other way to fix this08:18
@rizenis to set dateSubmitted08:18
@rizenthen read the dateSubmitted into dateUpdated08:18
@rizenand update again08:18
@rizenwhich is much slower08:18
+perlDreamerbut all of this depends on my crazy idea being right08:18
+perlDreamerand in that case slower doesn't matter08:18
+perlDreamerit used to call update 3 times08:18
+perlDreamerwe could subtract dateSubmitted from dateUpdated, take the abs and then make sure it's less than or equal to 108:21
+perlDreamerabs(dateSubmitted-dateUpdated) <= 108:21
@preactionwhat if 2 seconds pass? or for some reason 3?08:23
@preactionsystem lag perhaps?08:23
+perlDreameryou're right, that's just a bandaid08:23
+perlDreamerit should be the same time08:23
+perlDreamerthis whole solution is predicated on the compiler optimizing $now back into time()08:24
@preactioni don't see why it would08:24
+perlDreamerwell, we know that dateSubmitted != dateUpdated in the db08:24
@preactionbut then again, perl does strange things08:24
+perlDreamerit's just a question of how it got that way08:24
+perlDreamerAsset::Post::addRevision is the only place in the codebase where those variables are set08:25
+perlDreamerI grep'ed the whole thing to check08:25
+perlDreamerpreaction: I'm getting ready to crash.  Any last second doc questions?08:27
@preactioninstead of setting them both to $now, set one to $now and then the other to that one? durno08:27
@preactionum... not that i know of08:28
+perlDreamerokay, I'm outta here08:30
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has quit [""""]08:30
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []08:32
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)]08:55
-!- patspam [i=patspam@203-214-35-18.dyn.iinet.net.au] has quit []09:27
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui09:35
-!- mode/#webgui [+v crythias] by ChanServ09:35
-!- Radix-wrk [n=Jesse@] has quit ["Leaving"]09:53
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)]09:56
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui11:00
-!- mode/#webgui [+v MrHairgrease] by ChanServ11:00
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []11:00
--- Log closed Thu Feb 01 11:38:44 2007
--- Log opened Thu Feb 01 11:43:54 2007
-!- xdanger [i=xdanger@] has joined #webgui11:43
-!- Irssi: #webgui: Total of 11 nicks [3 ops, 0 halfops, 0 voices, 8 normal]11:43
-!- Irssi: Join to #webgui was synced in 3 secs11:43
-!- pjesi_ [n=pjesi@client-86-27-130-79.winn.adsl.virgin.net] has joined #webgui15:37
-!- bopbop [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has joined #webgui15:59
-!- Jamie [n=chatzill@207-118-213-46.dyn.centurytel.net] has joined #webgui16:03
-!- bopbop_ [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has joined #webgui16:17
-!- bopbop [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has quit [Read error: 145 (Connection timed out)]16:19
-!- Jamie [n=chatzill@207-118-213-46.dyn.centurytel.net] has quit ["Chatzilla 0.9.73 [Firefox]"]16:36
-!- Meatbop [n=chatzill@24-180-168-135.dhcp.fdul.wi.charter.com] has joined #webgui16:37
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui16:41
-!- mode/#webgui [+v MrHairgrease] by ChanServ16:41
@khennwow I didn't get dropped?16:52
@khennanyone around this morning?16:53
-!- khenn is now known as khenn_afk16:54
@preactionkhenn was just asking what's new17:11
xdangerpreaction: was it you who wrote the new calendar?17:12
@preactioni accept full responsibility and will commit seppuku immediately17:12
* preaction SEPPUKU!17:12
xdangerIs there a way to list events for more than a month?17:12
@preactionno, it was decided that the reason for that was poor navigation17:13
xdangersounds like something for anime...17:13
@preaction(ninja's ritual suicide when they fail)17:13
xdangerI have a client with a training schedule... they have like 1-3 a month.. so the old calendar was great...17:14
@preactionadd an RFE, the code for it shouldn't be exceedingly hard17:14
xdangerwe'll.. I was going to upgrade today...17:15
xdangerI'll have a look at the code, and if I have any idea of how to do it, I'll just make a patch and send that to you ;)17:15
@preactionhow good are you at SQLReports?17:15
@preactionxdanger: when you look at the code, get the latest SVN, i did a lot of code formatting updates to make it easier to read17:16
@khenn_afkyou can template 3 months at a time using HTML::Template::Expr now17:16
@preactionkhenn_afk: how?17:16
@khenn_afkI'm still afk17:16
@khenn_afkset a var17:16
@khenn_afkand do a % 3 on it17:17
@preaction3 months? the Calendar does not give three months, the EventsCalendar did, the new one does not17:17
@khenn_afkoh I see17:17
@khenn_afkyou only get 1 month at a time17:17
@khenn_afkback to afk status17:17
@preactionremember, future consideration?17:17
@preactionxdanger: the best way to do it is to start sending an explicit "endDate" parameter to viewMonth/viewWeek/viewDay, and those are called from the main "view" method17:19
@preactionxdanger: so the "view" method will have to get "endDate" from the url params, and/or from a configuration value17:19
@preactioni anticipate a good 3-4 hours of hacking to put that feature in17:20
@preactionbut i've got bugs to fix and a support bugfix to make on the Export HTML feature17:20
@preactioni'll be working until 8:00p CT, so if you have questions about the calendar just ask17:21
@preactionon a different topic, this website is absolutely beautiful17:21
Meatbopwhich site are you checking out ?17:22
ckotilheh. im working in a version tag that has ~ 5 pages of changes. i cant wait to commit it sometime today. one of our customers recently underwent a name change.17:23
pjesi_xdanger: how do you provide the different languages?17:24
pjesi_does each tree use different i18n?17:25
@snapcountDoug: I'm going to help you with Calendar stuff if you want as soon as I'm done with EMS17:26
@snapcountI think it's the biggest hurdle left on the bug list aside from EMS17:26
@snapcountpreaction: 17:27
xdangerpjesi_: no, there are just different branches for each language..17:27
@snapcountI want an empty list, it would be so freaking awesome to clear the bug list17:27
xdangermust go to late lunch now -->17:27
@snapcountthat too17:27
@snapcountlunch?  you live in Europe I guess?17:28
pjesi_xdanger: what about the template labels?17:28
-!- Jamie [n=chatzill@207-118-213-46.dyn.centurytel.net] has joined #webgui17:33
@preactionsnapcount: thanks for the offer, there are some large ones that will be problematic, the main ones being an i18n audit, and the Help files. I'm going to submit what I have now, and then update the status of the existing bugs17:35
@preactionI have an assignment from DoS to fix the Export HTML thingy, and then I'm back on Calendar bugs17:36
-!- mode/#webgui [+o Jamie] by snapcount17:36
-!- mode/#webgui [+o bopbop_] by snapcount17:36
@preactionso i'm here, but i'm away, busy, and will get to your requests for my presence later17:36
-!- mode/#webgui [+o Meatbop] by snapcount17:36
@preactionto anyone who wants to work on calendar bugs: i've wrote some pretty detailed descriptions on what exactly needs to be done to fix them17:48
@preactioni'm moving to the DoS assignment and i'll probably be back around 1p17:49
@Meatbopgod speed17:49
-!- khenn_afk is now known as khenn17:54
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:58
-!- mode/#webgui [+o rizen] by ChanServ17:58
@rizensorry guys, been on support calls all morning17:58
@rizenstill am17:59
@preactionwhen i'm exporting HTML for an asset, do I really need to open a new session for each asset I export? can't I just make one new session and point the output to the correct file each time?18:04
* preaction got stuck fixing Drake's code, but this is paid-for work18:05
@rizenyes you need a new one18:09
@rizenbecause otherwise certain flags get set18:10
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has joined #webgui18:17
-!- perlDreamer [n=ckuskie@nat048.mxim.com] has joined #webgui18:29
-!- mode/#webgui [+v perlDreamer] by ChanServ18:29
+perlDreamermorning guys18:36
+perlDreamerhow's the calendar hacking?18:37
@preactionstalled for a priority bugfix on the AssetExportHtml feature18:37
@preactionbut this time, i think i can make it work for 99.9% of cases18:37
+perlDreamerany bug that gets fixed18:37
+perlDreamerjust write a test for it so we'll know in advance in the future if it breaks18:38
@preactioni submitted my barely updated Calendar docs, and described in detail the things that need to be fixed on the Calendar in the appropriate bug threads18:38
+perlDreamerI was going to take a hack at the little Slider bug18:38
+perlDreamerand then hoping to do some more $now/Post reply stuff18:38
@preactioni'll try. i believe i have to fix the test roy wrote for it, since i changed what the sub does18:38
@preactionyou didn't get that last night? you were close, no?18:38
+perlDreamerclose, but it still feels wrong18:39
+perlDreamerPerl should not do that18:39
@preactioni don't understand it myself, do the #perl people have anything to say on the issue?18:39
+perlDreamerI haven't asked over there.18:39
@preactionthey know quite a bit, some internals hackers in there18:40
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []18:47
@snapcountperlDreamer: how does the linking between a template and the help icon work18:49
+perlDreamerThere's no direct linking18:50
@snapcountI want the help for the template they are viewing to pop up when they click the icon, not the generic help for all templates18:50
+perlDreamerI don't think there's anyway to do that18:50
+perlDreamerthat would be good though!18:50
+perlDreamerreal good18:50
@preactionperhaps something in the right-side list of stuff "Help for this template"18:50
+perlDreamerIn fact, help topic awareness is one of the requirements for the template variable editor18:50
@snapcountok... put it on wish list then... I thought I was doing something wrong18:50
+perlDreamerIt's RFE-able18:51
@snapcountI like that term18:51
@snapcountyou should trademark it18:51
@snapcountgooeybot: what is pDC?18:51
gooeyboti don't know, snapcount18:51
@snapcountdidn't you teach him that?18:51
@preactionsnapcount: quick, what do you expect to happen when you make a url "index.html/" when you export an asset with that url?18:51
@snapcountoh well18:51
+perlDreamersnapcount: that was perlbot18:52
@preactionperlbot pdc18:52
+perlDreamerperlbot: what is pDC?18:52
perlbotPerl Dreamer's Association of associated thoughts and references that are usually puzzling and always genius for the solving of complex problems in the language of thy camel our lord as spoken by WebGUI the savior of all things cool18:52
perlbotI already have an entry for what18:52
@snapcountcreate a file called index.html in the starting export directory18:52
@preactiongooeybot: pdc is Perl Dreamer's Association of associated thoughts and references that are usually puzzling and always genius for the solving of complex problems in the language of thy camel our lord as spoken by WebGUI the savior of all things cool18:52
gooeybotOK, preaction.18:52
gooeybotpdc is Perl Dreamer's Association of associated thoughts and references that are usually puzzling and always genius for the solving of complex problems in the language of thy camel our lord as spoken by WebGUI the savior of all things cool18:52
@preactionsnapcount: so trailing /'s should just be ignored18:53
+perlDreamergooeybot: RFE-able is That idea is worthy of an RFE.  The term is trademarked by perlDreamer Consulting.18:53
gooeybotOK, perlDreamer.18:53
@snapcountsure... I don't even think WebGUI will keep it anyways18:53
+perlDreameroy, I'm a sophist18:53
@preactionk, sounds good18:53
@snapcountif you set a url to home/18:53
@snapcountit will change it to home18:53
@snapcountpretty sure anyway18:53
@snapcountI was probably over zealous in my test cases =P18:54
@preactioni've narrowed your _translate sub to two cases: one with . and one without ., i'm updating the tests and once they pass i'll fix the ordering of the export18:54
@snapcountnice work man18:54
+perlDreamerum, AssetExportHtml is broken18:54
@snapcountI broke it18:54
@preactionit's been broken for a long-ass time18:54
@snapcountbut it was broke before I broke it too18:54
+perlDreamerFailed to require package 'WebGUI::Session'. Reason: 'Global symbol "$assetSession" requires explicit package name at /data/WebGUI/lib//WebGUI/AssetExportHtml.pm line 148.18:54
+perlDreamerGlobal symbol "$assetSession" requires explicit package name at /data/WebGUI/lib//WebGUI/AssetExportHtml.pm line 149.18:54
@snapcountI just broke it different18:54
+perlDreamernot that kind of broke :)18:54
@snapcountthat wasn't me18:55
+perlDreamerIf I patch that, (needing my) will I break anyone's commit?18:55
@snapcountsomeone else gets credit for that18:55
@snapcountpreaction is the one working on it18:55
@preactionthat was me, that's fixed18:56
@preactionlet me update SVN now18:56
+perlDreamerthanks, man18:56
@snapcountperlDreamer: the title of my new help page is not showing up in the help index... what makes that work?18:57
+perlDreamerthat's usually a broken i18n link18:57
+perlDreamercd /data/WebGUI/t; prove Help/ i18n/18:57
@snapcountI need the perlDreamer rosetta stone19:00
@snapcountlabel: Asset_EventManagementSystem->errorLoop inside Asset_EventManagementSystem->ems checkout template->variables'19:00
@snapcountwhat does that mean?19:00
+perlDreamerthat means that it wasn't able to do a lookup on the errorLoop variable inside the Asset_EMS ems checkout template19:00
+perlDreamerthat error message could definitely use some help19:02
@snapcounta lookup?19:02
@snapcounta lookup of what and where is it looking?19:02
@snapcounterrorLoop inside i18n?19:02
+perlDreamerit is trying to do this: $i18n->get('errorLoop', 'Asset_EMS');19:02
@snapcountso there has to be an i18n entry for every 'name' key inside the help file?19:05
@snapcountI thought that was simply the name of the template variable... so why would that be i18n?19:05
+perlDreamerIt's a shortcut19:05
@snapcountit's the same regardless of what language19:05
+perlDreamerThe long form is name => 'myName', description => 'description i18n entry'19:06
+perlDreamerif, however, the i18n key myName isn't already being used, then you can omit the description and the Help system will look up the "descriptive i18n entry" using myName as the key.19:07
@snapcountso the 'name' in the help file is the key to the description of that variable inside the i18n file19:08
+perlDreamerit can be19:08
+perlDreamerthat's the shortcut method19:08
@snapcountand if you specify a 'description' key in the help file, 'name' is ignored, and 'description' is used for the lookup?19:09
+perlDreamerthere is also 1 other key that you can set19:09
+perlDreamerrequired => 119:09
@snapcountso, if you specify 'description' name does absolutely nothing then19:09
+perlDreamerwell, it is used for the "name" of the template variable.  But that's all19:09
@snapcountmeaning the name thats displayed to the user19:10
@snapcountno translation19:10
@snapcountok... I think I got it then19:10
xdangerpjesi_: I use If macro heavyly on the multi-language sites...19:12
xdangeror create a different site if it gets to complicated... like this: http://en.luovapaja.fi/ vs. http://luovapaja.fi/19:14
@snapcountperlDreamer: the tests are passing but I see nothing in the index19:16
+perlDreamerInside the EMS topic or in the index?19:16
@snapcountthe index list of all help topics19:16
@snapcountdo I need to set the CODE_COP variable?19:17
+perlDreamerCODE_COP does code level i18n and setHelp scanning19:17
+perlDreamerlook at the HTML source for the page and look to see if there's an empty href where the entry should be19:17
+perlDreameror do a commit and I'll have a look at it19:17
+perlDreameror both19:17
@snapcountdoes there have to be an i18n key that matches with the main key to the entry in the help file?19:18
+perlDreamerlike a title and a body entry in the help file?  yes19:18
+perlDreamerotherwise there's nothing to link to19:18
@snapcountI have title and body19:18
@snapcountI was asking about the one above it19:18
@snapcountthat contains everything for the entry19:18
@snapcountok... I'll have another quick look and commit to see if you see my snafu19:19
@snapcountI have to help out with support in like 60 seconds =)19:19
@snapcountfound it... I had the tile set to Checkout Template19:20
@snapcountso it was there... just not where I thought it should be19:20
+perlDreamerHmmm... maybe i should add a duplicate check to the Help test19:20
@snapcountit's now EMS Checkout Template19:20
@snapcountuser error... my bad19:20
+perlDreamerIt would show up correctly in the chapter19:20
@snapcounteverything seems right but the formatting is screwy for the tmpl vars in the loop19:21
@snapcountI'll check it in can you take a look?19:22
@snapcountok it's checked in19:31
@snapcountthanks perlDreamer 19:31
+perlDreamernp, man.19:31
@preactionwhat are Whitespace.t tests and is failure okay?19:40
@preactioni decided to run the tests before i committed this change (like a good boy), and Whitespace.t failed19:41
-!- Hinrik [n=hinrik@dsl-228-236.hive.is] has quit [Read error: 110 (Connection timed out)]19:42
@preactionpinging perlDreamer 19:43
@preactionnevermind, figured it out19:48
ckotilIf i wanted to hack up the asset manager a little bit; by adding a new colum <meta data> . Where would i look to find the javascript code that creates the html for the asset manager?19:48
@preactionthe got: 'XX' is the line number of the error19:48
@preactionckotil: why?19:48
+perlDreamerckotil: Asset.pm19:48
@preactionthis doesn't sound like a good idea :(19:48
+perlDreamerpreaction, I already committed a fix for the whitespace19:48
@preactionoh, crap19:48
ckotilwell, im just tossing around a couple ideas in my head and that was one of them.19:48
@preactionwell, i'll merge then19:49
ckotilwe're going to attempt to  use webgui as a document mangager19:49
ckotilone of the views we've been thinking of is to use the asset manager. but want to be able to see meta data, or a description of the file.19:49
ckotilor i might create a new folder asset template19:50
@preactionckotil: how about instead of adding a different column for the data, add another row that can be expanded/collapsed with a javascript image button19:51
greghackeI would still like to be able to use the Metadata: Summary from assets as a tmpl_var19:51
ckotilanother row?19:51
+perlDreamerhow about we template that sucker?19:51
ckotileach asset gets has 1 row19:51
ckotiltemplate the asset manager!19:51
@preactionperlDreamer: might be a more permanent solution19:52
+perlDreamergreghacke: all the metadata is available in every asset template19:52
ckotilgreghacke: is metadata summary differnet from metadata?19:52
@preactionckotil: basically this: +  []  1  <name>   <whatever>    <more columns>19:52
ckotilyeah just tmpl_var <meta_data_name>19:52
+perlDreamer<tmpl_var meta_data_name>19:53
ckotilah, so hit the + and a new row pops up?19:53
@preactionckotil: clicking the + will show the row beneath is, which has a colspan over them all and has "description: <blah> metadata: <blah>"19:53
ckotilyeah i like that.19:53
greghackeso... <tmpl_var summary> for the summary section of the summary area of a page or article.  my intent is to actually query some of this data in an sql report19:54
+perlDreamersnapcount: the formatting looks okay to me.  What are you seeing?20:01
@snapcountlooking at it again I see what it is20:03
@snapcountisError is bolded20:03
@snapcountand wraps to the second line20:03
@snapcountso it kind of runs together with the loop variable20:03
+perlDreamerwhich browser are you using?20:05
ckotilpreaction: while it would be real nice to write some new javascript into asset.pm so that we can use the asset manager as the interface for our file repository/DMS , i think im gonna just create a new folder asset template.20:05
ckotilIm looking in Help: Folder Template, and im not seeing anything about metadata.20:06
ckotilanyone know if metadata is part of tmpl_var for folder asseet?20:06
+perlDreamermetadata is automatically added to all asset templates20:06
ckotilperfect. thanks20:06
+perlDreamerit's only recently been documented.20:06
@snapcountperlDreamer: FF20:08
@snapcountit's not a big deal, more of an aesthetic thing20:08
+perlDreamerit looks okay to me in Mozilla 1.4 (urk).  Maybe we could have Meatbop look at it?20:08
greghackewhat broswer you all need?20:09
+perlDreamerit's uncommitted docs20:09
greghackeah, understand.20:09
@Meatboptrying to catch up on what I'm being asked to look at...20:09
@Meatbopbeen on something else, can I get a sum-up?20:10
+perlDreamersnapcount's seeing weird things with the template variable displays in the Help20:10
+perlDreamerbut the code's not released yet, so we can't just point you at a page20:10
@Meatbopscreenshot would be enough for the time being20:11
+perlDreamerit uses <DL>'s20:11
+perlDreamerckotil: I lied20:25
+perlDreamerit isn't documented20:25
+perlDreamerI'll fix that right now20:25
ckotilbetween you and me, Its OK.20:26
@snapcountMeatbop: I sent you a screen shot20:28
@snapcountvia email20:28
@Meatbopso i take it that error is supposed to be at the same indent as errorLoop?20:30
+perlDreamerI don't think so20:30
+perlDreamererror is in the loop20:31
+perlDreamerso it should be indented20:31
+perlDreamerbut I haven't seen the snapshot20:33
@Meatbopbasically the indented portion could use a line break above it.20:34
@Meatbopit looks just a little fugly butting up against the line right above it20:34
+perlDreamerwhat's the best way to do unfuglify it?20:35
@Meatbopsnap, can you sent me the html so I can actually see what it's doing?20:35
@Meatbopi'll be better able to make a suggestion20:35
@Meatbopwell that was quick :)20:37
+perlDreamerit's my bad templating20:38
@snapcountthis proxy bug is ticking me off20:38
@snapcountI'm going to go eat something before I knaw the top of my monitor off20:39
@snapcounthalf eaten company owned mac book pro does not a happy rizen make20:39
+perlDreamerwell, it _is_ an Apple20:39
@rizenwho's eating your laptop?20:40
+perlDreamerproxy bugs20:40
+perlDreamerhave you had any epiphanies about the post reply dateUpdated/dateSubmitted bug?20:40
@rizensnapcount, start up spectre on your box20:42
@rizendo a ps20:42
+perlDreamerpreaction suggested that we hop over to #perl and ask about the compiler optimization20:42
@rizenoh crap20:42
@rizenyouc an't run spectre on your box can you?20:43
+perlDreamerrizen: snapcount is away20:43
@MeatbopI think just a small css tweak will make that look good perlDreamer. Going to send it back to you with the change.20:46
+perlDreamerI'll be AFK for a while, but I'll get the tweak committed today20:47
greghackewho is Meatbop?20:47
@preactionsteve swanson20:48
greghackeoh, hellow steve20:48
greghackedang, i cannot spell today.20:48
@Meatbops'all right20:48
@Meatbopi can't spell most days20:48
greghackedealing with data normalization.  sucks.  working a style sheet at the same time20:48
@Meatbopsent the html pd. going to be afk for a little bit20:52
@khennwho wrote the weather data asset?20:55
@khennanyone remember?20:55
@preactioni thought you said you did?20:55
@preactionthen i don't know20:55
@khennmust have been Matthew Wilson20:55
@preactionbut hum a few bars and i'll fake it20:55
@preactionbbl, eating21:02
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has quit [Nick collision from services.]21:06
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has joined #WebGUI21:07
-!- mode/#webgui [+o khenn] by ChanServ21:07
@snapcountI'm back21:14
@snapcountwhat did you need rizen 21:14
@rizenare you capable of running spectre directly on your mac?21:15
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has quit [Read error: 104 (Connection reset by peer)]21:17
@snapcountjust in a vm21:18
@rizensnap are you running spectre on your vm now?21:31
@snapcountrizen: do you need me to test something?21:45
@khennanyone know of a Perl module to convert HTML encodings like &nbsp; to ASCII encoding &#160; ?21:50
@preactionare you going to run it willy-nilly? in most cases the named version is easier to understand21:51
@khennit's for RSS21:51
@khennRSS 2.0 doesn't seem to always support &xxx;21:52
@khennbut it does always support the ASCII value21:52
@preactionbecause it's xml instead of html21:52
@khennso I want to convert them all21:52
@preactionkhenn: HTML::Entities, decode the vars, and then use encode_entities_numeric21:55
@khennI think that may work21:56
@khenngonna test it out21:56
@preactionthe thing is, it's using the hex, which is in HTML but is it in XML?21:56
@khennis it hex?21:57
@preactionthe docs say so21:57
@preactionit uses the &#x<hex number>21:57
@khennI see it now21:57
@khennI'm not sure if that will work or not21:57
-!- wgGuest12 [n=wgGuest1@] has joined #webgui22:00
@preactionthere are a couple instances of the hex entity being used in the XML recommendation22:00
@khennyeah I think it will work22:00
@khennI'm gonna test it22:00
-!- wgGuest12 [n=wgGuest1@] has quit [Client Quit]22:03
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has joined #webgui22:06
@khennthat didn't work =p22:08
ckotilAnyone know the tmpl_var to display the asset type?22:38
@preactiontmpl_var className might work22:39
+perlDreamerBut it will be like WebGUI::Asset:: ...22:39
+perlDreamerNot just Snippet, Folder, etc.22:39
* ckotil hrms22:39
+perlDreameruse javascript to split it and return the last value?22:40
ckotilyeah, gonna have to.22:40
+perlDreamerwrite a macro to trim it?22:40
ckotilill go the js route22:40
+perlDreamerthat's the cool thing about you ckotil.22:40
+perlDreameryou're like a bulldozer22:40
+perlDreameryou just get it done.22:40
ckotilheh. its my job22:41
ckotileither that or get fired22:41
ckotiltho im starting to get some pull around here22:41
@khenndoes anyone know if it's possible to call a function from within a regular expression?22:41
greghackemy job right now is to mornalize 120000 records of inventory.  wanna trade?22:41
ckotilgreghacke: can you write a script for it?22:42
greghackei wish.  each item was hand entered into a flat file.  about 60% are duplicats of already existing items but there was no normalization in the data entry so one product may be entered differently for each and every item in the inventory22:43
greghackei scripted the first 6 passes - now i'm going through by hand22:43
* ckotil shudders22:43
+perlDreamerthanks for the CSS Meatbop.  It looks better22:47
+perlDreamerI closed the IntSlider bug23:02
+perlDreameradded Meatbop's CSS23:02
@rizeni'm working on the spectre needs to be restarted all the time bug23:03
+perlDreamerthat's your queueing system changes?23:03
+perlDreamerI feel like we're keeping pace with bugs, but that's all23:03
@rizenhowever, most of the pb staff has been on support all day23:03
@rizenincluding me23:04
@rizeni've only had 30 minutes to work on bugs so far today23:04
+perlDreamerpreaction: any suggestions for etiquette over on #perl?23:04
+perlDreamerrizen: I'm going to hop over to #perl and ask about our optimization/compiler bug23:04
@rizenthis ought to be interesting23:04
@preactionjust ask, don't ask to ask, give as much info as possible, the best question i can think of to ask is this:23:04
@preactionsomething like: if I have '$now = time(); $a = $now;' and later '$b = $now', is there any reason why $a != $b?23:06
@preactionotherwise, as long as you avoid the big ones: asking to ask and xy problems, they're generally friendly23:07
@preactionperlbot xy problem23:07
perlbotThey ask how to do X, but that's because they really want to do Y but think X will get them there and most of the time they are WRONG23:07
+perlDreamerall right.  I'll give it a shot.23:07
+perlDreamerThat was well laid out, I'm just going to copy and paste you over there.23:08
@preactioni'm there too, so i can keep half-an-eye on the situation23:09
@preactionmerlyn's there, so i would expect brevity over politeness, but he is a Perl God23:09
@preaction(Randall Schwartz himself)23:09
+perlDreamerI know Randall23:10
@preactionthen i'll stfu23:10
@preactionanyway, test-case how?23:10
+perlDreamernot exactly going swimmingly23:14
@preactionautomated asset insertion using the API? force it into causing a problem?23:15
@preactionif you can't do it within, say, 5000 times, maybe it's not there?23:15
+perlDreamerit _is_ there.  We just don't understand how it got to be there.23:16
+perlDreamerJT did a query and found dateUpdated and dateSubmitted to be different23:18
+perlDreamerthat'd be in the IRC log from last night23:18
@preactioneh, eventually i usually ask "anyone else know how a variable can be two different values after being initialized with time()"23:18
@preactionotherwise, stress test, this is happening fairly often it should be easy to reproduce23:19
@preactionmaybe instead of using $now that second time, use $properties->{dateSubmitted} or something23:19
-!- perlDreamer [n=ckuskie@nat048.mxim.com] has quit [""""]23:21
-!- perlDreamer [n=ckuskie@nat048.mxim.com] has joined #webgui23:21
-!- mode/#webgui [+v perlDreamer] by ChanServ23:21
+perlDreamerI'll try the stress test route23:24
ckotildoh. i didnt realize className outputs the contaner asset23:26
+perlDreameryou want the class of something in the folder loop?23:27
+perlDreamerIs an icon okay?23:28
ckotili have the icon23:28
ckotiljust need the name now ;]23:28
+perlDreamerHave you tried 'type'?23:28
ckotili havent.23:29
ckotilthanks pd23:29
+perlDreamerbtw, that will be the short name, not the class name23:30
-!- Jamie [n=chatzill@207-118-213-46.dyn.centurytel.net] has quit ["Chatzilla 0.9.73 [Firefox]"]23:30
ckotilyah. that way i dont have to strip it23:30
ckotilthx for clarifying23:30
+perlDreamerI'll add that to the docs.23:31
+perlDreamerI seem to be saying that more and more as I hang out in here.23:31
@preactionthat's why we like you!23:32
@preaction<3 perlDreamer23:32
-!- Hinrik [n=hinrik@dsl-228-236.hive.is] has joined #webgui23:32
+perlDreamerwhat is "<3" ?23:32
ckotila heart23:32
@preactionperlbot <323:32
perlbotbullshit, I'm way more than 323:32
+perlDreamergooeybot < 223:33
gooeybotperlDreamer: what?23:33
+perlDreamercatch a clue, gb23:33
+perlDreamergooeybot <323:33
gooeybotperlDreamer: sorry...23:33
* preaction wacks gooeybot with a cluestick23:34
-!- bopbop_ [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has left #webgui []23:35
@khennwho "fixed" RSSFromParent?23:36
@khennanyone know?23:37
+perlDreamersvn blame?23:37
@khenngood idea23:37
@preactionkhenn: what did i break?23:37
@khennnot sure if you broke anything23:37
+perlDreamerhe hasn't said what's broken.23:38
@khennsomeone did this :23:38
@preactionthe "fixed" kinda tipped me off to something being wrong23:38
@khennif(UNIVERSAL::isa($item, 'WebGUI::Asset')) {23:38
+perlDreamerthat's original code23:38
@khenn} elsif(ref $item eq 'HASH') {23:38
@khennthen there's a comment :23:39
+perlDreamerhold on23:39
@khenn### This does not do any XML escaping. A way must be found to23:39
@khenn                # recursively escape the entire data structure.23:39
@preactionthe comment and that section is me23:39
@preactionwell, the comment i guess isn't23:39
+perlDreamerI thought we were escaping inside the template now23:39
@khennwell, what's happening is that collaboration systems RSS feeds aren't being XML encoded23:40
@khennsince they return hashes23:40
+perlDreamer<tmpl_var whatEver ESCAPE="HTML">23:40
@preactionperlDreamer: it's possible that isn't working, XML != HTML23:40
@khennit's likely23:40
@khennit's not working =)23:40
+perlDreamerbecause I remember that fix23:40
@preactionmeh, it's working better than it was :p23:40
+perlDreamerpreaction, me and rizen did it one night.  It used to error out23:41
@khennit's not working at all if you have any sort of HTML in there23:41
@khennthat breaks the feed23:41
@preactionfilter them out, they aren't needed, especially &nbsp;23:41
+perlDreamerDoes RSS allow HTML inside itself?23:41
@preactionnot that i'm aware of23:42
@khennI have a fix I think23:42
@preactionRSS isn't presentational, so non-breaking spaces are irrelvant23:42
@khennI just wanted to find out why you weren't calling the _escapeXML method23:42
@khennfor each item23:42
@preactionbecause of the comment23:42
@preaction_escapeXML doesn't recursively escape the data structure23:42
@khennwhy would it need to?23:43
@khennthe hash contains data23:43
@preactionbecause it's a data structure23:43
+perlDreamerI wonder if Sam Tregar would take another patch to H::T for escaping XML?23:43
@khennwhat would it need to be recursive?23:43
@preactionit's not just a hash?23:43
@preactionhash of arrayrefs of hashrefs perhaps?23:43
@preactiontemplate loops are array refs23:43
@preactionthat _escapeXML was doing horrible things to those array refs23:43
@khennI was just wondering23:44
@khennyeah the escapeXML was not though through very well23:44
+perlDreamerokay, I know now how to hack H::T to do the escaping23:51
+perlDreamerwhat are valid XML escapes?23:51
@preactionHTML::Entities can unescape the HTML, you will have to find something that will escape the result for XML23:52
+perlDreamerThis very thing was talked about on the H::T list 9 months ago.23:56
+perlDreamerIt just died in committee23:56
+perlDreamerbut if we fix it by extending H::T, what happens to the other Template plugins?23:56
@preactionwe'd have to give a patch to H::T and hope it gets committed, i think i went through this with JT about the deep-loop global_vars bug23:58
+perlDreamerwhat's with the code in /data/WebGUI/lib/XML/RSS/Creator.pm ?23:59
@preactioncouldn't tell you, i think i suggested distributing our own H::T, but i was shot down23:59
+perlDreamerI see23:59
--- Day changed Fri Feb 02 2007
+perlDreamerCreator is a parser.00:00
@snapcountperlDreamer: did you credit the guy who gave us that patch in the change log?00:01
+perlDreameryes.  Do you happen to know his last name?00:01
+perlDreamerall I found was "patrick" and "patspam"00:01
@snapcountno I don't...00:01
@snapcountthanks for committing that, and I'm sure you tested it first00:01
@snapcountI don't think we've ever got one from him before00:02
+perlDreamerI did.  Had to make my own Asset tweak in order to do it.00:02
@snapcountok cool00:02
+perlDreamerThe Slider slid.  It was good.00:02
@snapcountI'm a little paranoid with new people and their patches =)00:02
@snapcountcool cool00:02
* preaction worries more about the evils he knows00:03
@snapcountmaybe more people will submit patches with their bugs00:03
* snapcount dreams a little dream00:03
+perlDreamerdrop him 100 karma00:03
@snapcountthat's not a bad incentive00:03
+perlDreamerwe'd have to do it manually though00:03
greghackenext you'll tell me to submit bugs00:03
@snapcountthat's fine00:03
@snapcountand if it starts taking a bunch of time b/c it's manual00:04
@snapcountthat is a *good* thing00:04
+perlDreamergreghacke: Submit bugs00:04
@snapcountperlDreamer: shoot me an email with that suggestion so I don't forget about it00:04
@snapcountI need to mull it over... I don't know if 100 is too much or too little00:05
greghackeI could submit bugs on EMS but I think I'll hold on that until I crawl the code again.00:05
+perlDreamerYou get 5 for submitting, 5 for closing.00:05
greghacke5 per level - cosmetc: 5, minor: 10; critical: 15, fatal: 2000:06
@snapcounttrouble with that is that it's a subjective scale00:06
@snapcountcritical to you could easily be cosmetic to most00:06
@snapcountand vice versa00:06
greghackeabsolutely true.00:06
@snapcountI'd prefer one number00:06
@snapcounta bug is a bug00:07
greghackekarma itself is a subjective system though.00:07
gooeybotitself is a subjective system though. has neutral karma00:07
@snapcountand it keeps it fair00:07
greghackedon't believe much in 'fair'00:07
@snapcounttime for sk00L00:07
@snapcountttyl guys00:08
+perlDreamerhack on, duded00:08
-!- snapcount is now known as snap_learner00:08
@khenngot another regex question00:20
+perlDreamerbring it00:20
@khennI want to find everything in the string that looks like: &...;00:21
@khennbut my regexp is finding the first &00:21
@khennand the last ;00:21
@khennwhen I do: 00:21
+perlDreameruse \S+ instead of .00:21
+perlDreamer\s is whitespace00:21
+perlDreamer\S is non-whitespace00:21
+perlDreamerall characters00:21
+perlDreameruse \w instead of \S00:22
+perlDreamer\w is word characters00:22
+perlDreamerdo you need to find '#'?00:22
+perlDreamerthen use \w00:23
+perlDreamerif you need to find '#', use &([^;]+);00:23
+perlDreamerpreaction: this stress tester is stressful.  First you have to build a CS, then commit it, then add a thread, and _then_ you can starting shoving posts into it.00:24
@preactionthe bug is messed up :(00:25
greghackefunctional question: fastest way to port in 12000 entries into an SQLForm table.00:34
greghackeor should i hit the forums?00:34
+perlDreamerwhy SQLForm?00:35
greghackeagency hosting using extra database for SQLForm.  customer uses it for data tracking (or will when i finish normalizing it)00:36
greghacketwo tables, ~6000 records into the first and 12000 to the second.00:36
@preactiongreghacke: probably a direct DBI query script00:36
greghackethought so.00:36
+perlDreamernote that SQLForm data is versioned by default00:36
@khennanyone know anything about RSS 2.0?00:37
greghackeyeah, i'm referencing the default columns for the data (except for the __recordId)00:37
+perlDreamerkhenn: sorry00:37
@khennI guess I'll try it00:37
+perlDreamerthere's some info in /data/WebGUI/lib/XML/RSS/Creator.pm00:37
@khennand see what happens00:37
@khennI'm guessing that having HTML stripped out of your RSS is not the desired effect eh?00:53
+perlDreamerI bet iTunes will actually render the HTML, whereas a strict RSS reader wouldn't00:56
@preactionmight have to read the spec on that, i would think that RSS would not include HTML tags00:57
-!- Meatbop [n=chatzill@24-180-168-135.dhcp.fdul.wi.charter.com] has quit ["Chatzilla 0.9.72 [Firefox]"]01:02
@khennit doesn't01:02
@khennand there weren't any anyway01:02
@khennb/c my test was on a collab system which is returning synopsis as the description01:03
@khennbut my fix should handle just about everything in terms of RSS01:03
@khennI'm sure wierd Arabic, Japaneese, Chineese, etc characters are gonna mess things up01:04
@khennbut I'm guess thing will handle 99% of what it needs to01:04
@khenncan someone with a mac test something out for me in Safari and/or FF?01:04
@khennthe links don't work btw cause my config file is screwed up01:06
@preactionFF on Mac likes your page01:12
@preactiontrying Safari01:12
@preactionsafari likes it too01:13
@khennshe seems to be fixed01:18
@khennany of the dutch people around atm?01:18
@khennI think my fix to RSS shoudl support nearly everything01:20
@khennI'm slightly worried about HTML and funky characters in other languages01:20
@preactioneh, would it have worked before you fixed it?01:21
@khennnot sure01:22
@khennit probably will work01:22
@khennit does not, however recurse01:22
@preactionso people who use RSSFromParent for non-RSS exporting...?01:23
@preactionit needs to recurse?01:23
@preactionhttp://www.plainblack.com/bugs/tracker/repeatedly-e-mailes-after-edit-branch <- is this not expected behavior?01:27
+perlDreamerpreaction: re RSS, that's why I think it should be done in the template.01:28
+perlDreamertemplate level escaping allows you to reuse the RSS to do anything01:29
@preactionindeed... but it can't be at this moment01:29
+perlDreamerwhy not?01:29
@preactionbecause H::T doesn't?01:29
+perlDreamerfrom what I can tell, HTML escaping is a superset of XML escaping.01:29
@preactionthat's the problem, there are HTML escape entities that XML doesn't understand01:30
@preactionnbsp for example01:30
+perlDreamerit's a mess01:31
@preactionquick question though: if you do an edit branch on a cs, would you not expect to get a bunch of e-mails because you edited the posts in the edit branch?01:32
-!- perlDreamer [n=ckuskie@nat048.mxim.com] has quit [Read error: 104 (Connection reset by peer)]01:32
-!- perlDreamer [n=ckuskie@nat064.mxim.com] has joined #webgui01:33
-!- mode/#webgui [+v perlDreamer] by ChanServ01:33
+perlDreameram I really back?01:33
greghackepD is not here.  Please leave a message at the sound of the tone.01:36
+perlDreamer"Where is the any key?"01:36
@khennre: RSS the problem lies in RSS 2.001:37
+perlDreamerRSS 2.0 says that it can contain HTML?01:37
@khennno, it cannot contain HTML Entities01:37
@khennit requires ASCII or Hex values due to UTF-8 conversions or some crap like that01:37
@khennand because H::T does not have ESCAPE="ASCII"01:38
@khennit fails miserably01:38
+perlDreamerI see01:38
+perlDreamerwouldn't it be easier just to shoot the people who are manually entering HTML into the textField for Synopsis?01:38
+perlDreamerthat long delay says that you're either ignoring me, or seriously considering it01:39
@khennI was posting somewhere else01:40
@khennHTML should still work actually01:40
@khennI didn't test it, but I don't see why it wouldn't01:40
@khennI'm slightly concerned about it01:40
@khennI'm more concerned about characters that HTML::Entities isn't familiar with01:41
@khenn< and > are handled appropriately01:41
+perlDreamerhow about &, ' and "?01:42
@khennto whatever the hex value is for them01:42
@preactionkhenn: why would HTML::Entities be unfamiliar with any characters?01:46
@preactionperlDreamer: do you remember this? http://www.plainblack.com/bugs/tracker/dataform-grouptoviewentries-behavior01:47
@preactionis it a bug?01:47
+perlDreamerNot really.  It's more of an RFE.01:47
@preactionok, i'll just close it then01:47
@preactionalso, if you edit branch on a CS, would you not expect to be e-mailed the Posts that were edited?01:48
+perlDreamerMe, personally, I would not01:49
+perlDreamerTo me edit branch is like a db hack.  It shouldn't trigger any side effects.01:49
@preactioni suppose this means we drag out rizen01:49
+perlDreameryou need to double check that one with the rizenator01:49
@preactionrizen: is this a bug? http://www.plainblack.com/bugs/tracker/repeatedly-e-mailes-after-edit-branch01:50
@khennpreaction:  The docs say it handles unknown characters by simply returning the character01:50
@khennit doesn't document what it does and doesn't know01:51
@khenndid that make sense?01:51
+perlDreamerkhenn: what does the source say?01:51
@khennthe source?01:52
@preactionperlbot utsl01:52
@preactionuse the source, luke!01:52
@preactionperlbot rtfs01:52
@preactionor that...01:52
@preactionthat's telling him!01:53
+perlDreameryup, there are unfamiliar characters01:56
+perlDreamerthere's a manual table of entities01:56
@khennI figured as much01:56
+perlDreamerif it's not in the table, it's unknown01:56
@khennIf it was going somewhere on the internet to get the list it probably would require LWP =)01:56
+perlDreamertrue.  Although sometimes they do it indirectly with a 1-time fetch at install, so the LWP requirement is buried in the Make/Build script.01:57
@preactionthese entities are described in a standard, no reason to LWP for them01:58
@khennthey change every year01:59
@khennnot many changes01:59
@khennusually additions01:59
@preactionso you're saying HTML 4.01 standard changes every year?01:59
@khennno, I'm saying the UTF-8 standard does02:00
@preactionhow about the character sets? that I can agree with02:01
@khennLet's see how the new specter changes work02:02
@khennI have more memory free02:05
@khenn20megs more than usual02:05
@khennafter a restart02:05
@preactionthat's always good02:06
@khenn53 bug fixes documented so far02:07
@khennin 7.3.902:07
@preaction30-some left on the lists02:07
@khennI'm gonna be bugfixing tomorrow as well02:07
+perlDreamerhow do you add a Post to a Thread via the API?02:13
+perlDreamerhint, this isn't good enough: my $post = $thread->addChild({className=>'WebGUI::Asset::Post', 'title'=>'Post', 'threadId'=>$thread->getId});02:14
@preactionwhat's the error?02:14
gooeybotthe error is in the loop02:14
@preactionno, gooeybot, the error is <reply>02:14
gooeybotokay, preaction.02:14
@preactionwhat's the error?02:14
+perlDreamerworking on it.....02:14
@preaction(was just testing gooeybot)02:14
@preactionin other news: i learned how to stop gooeybot from replying to simple, stupid questions02:15
-!- Radix-wrk [n=Jesse@] has joined #webgui02:15
+perlDreamerpreaction: Can't call method "getParent" on an undefined value at /data/WebGUI/lib//WebGUI/Asset/Post.pm line 307.02:16
+perlDreamerI'll paste the Post stuffing script02:16
@preactionyou're going to have to skip the autocommit02:17
+perlDreamerand do a manual commit?02:17
@preactioni think that's the right option02:17
+perlDreamerfor the thread, too?02:18
@preactioni don't think threads autocommit02:18
@preactioni don't know02:19
+perlDreamerThey must02:19
@preactionyou're righ02:19
+perlDreamerThreads are really posts02:19
+perlDreamerpreaction: http://rafb.net/p/E4TYvQ38.html02:22
+perlDreamerit's ...Workflows02:23
+perlDreamerit's not fun doing dev on a 500 MHz P302:24
@preactionwill addRevision do it? dateSubmitted is the same as dateUpdated for the moment, right?02:24
@preactionaddRevision can so the skipAutoCommitWorkflows too, you might have to02:24
@khennI can send you some code for adding posts to Collab systems02:25
@khennI've been down this road already02:25
+perlDreamerkhenn: thanks02:25
+perlDreamerI think we need a repo for all these 1-off scripts02:26
+perlDreamerit would save time02:27
@khennit's a lot of code02:28
@khennbut it does a lot of stuff02:28
@khennif you can figure out why the hell the posts won't commit as admin I'd be much obliged (note that this only doens't work if you turn on approvals)02:29
@khennI sent you all the methods it calls so you won't be confused02:29
+perlDreamerI think I was committing Posts as Admin last night, when I was testing the fixed rating code.02:30
@khennwell that should be committing everything as admin02:30
@khennso there should be no reason it doesn't commit02:30
@khennbut it won't matter if you have approvals turned off02:31
@khennyou can just comment out the line that calls the special commit code02:31
@khennapparently the fix for that template bug was to edit the file and put some debug code in...02:33
+perlDreamertemplate bug?02:33
@khennI'm closing it now02:33
@khennyeah, trying to edit a template from the edit screen of an asset was throwing an error on plainblack.com02:33
+perlDreamerwas it a custom PB template?02:34
@khennit was a custom template02:34
@khennbut it happened for even non-custom templates02:34
+perlDreamerthat's not good02:34
@khennwell it's fixed now02:35
+perlDreamerat least its fixed02:35
@khenn36 bugs left02:36
@khennI think I'm done for tonight02:36
@khennlater everyone02:36
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has quit []02:36
+perlDreamerI think my script is done02:37
+perlDreamerhave to call addChild instead of addRevision, because if the threadId isn't null then it doesn't set the dateSubmitted02:37
+perlDreamernothing in 100 Posts yet02:40
@preactionJuice that baby all the way up, Cedric!02:40
+perlDreamerI made it sleep 1 second between add's02:40
+perlDreamerbut that may be skewing the data, too02:41
+perlDreamernothing in 20002:41
@preactionsince sleep always sleeps to the top of a second?02:42
@preactionmaybe Time::HiRes and sleep to a .9 of a second?02:42
@preactionperlbot -f sleep02:42
perlbotDocumentation for 'sleep' can be found here: http://xrl.us/ukzw02:42
greghackeGood night all.02:44
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has left #webgui []02:44
+perlDreamerI slept for 0.47 seconds b/w submits, nothin g in 127 Posts02:48
+perlDreamermaybe it depends on the version of perl02:48
+perlDreameror (more sanely) I'm completely wrong02:48
@preactionif the threadId is not null, then it sets the dateUpdated?02:49
@preactionand only the dateUpdated02:49
+perlDreamerit's all in the addRevision sub in Post.pm02:49
+perlDreamerif the threadId is empty, it calls it a new post02:49
+perlDreamerand it sets the dateSubmitted to $now02:50
+perlDreamerthen it does another update to set dateUpdated to $now02:50
+perlDreamerand then later, during commit, it checks for isNew.02:50
+perlDreamerif it isNew, then it adjusts Karma and increments the number of replies.02:50
+perlDreameryou'll remember our buddy isNew from last night dateSubmitted == dateUpdated02:51
@preactionwhat if, inside the Asset->update sub, we do some dumper output of the properties we're updating with?02:51
@preactionthen run your test02:51
+perlDreamernothing in 500 Posts02:51
@preactionso use Data::Dumper; warn Dumper $properties if $self->get("className") eq "WebGUI::Asset::Post";02:51
+perlDreamerI'm manually monitoring the db as I run the test.  So it should do the same thing02:52
+perlDreamerselect assetId,dateUpdated,dateSubmitted from Post where dateUpdated <> dateSubmitted;02:52
@preactionadd some debug code like that to pb.com and wait for it to happen again?02:53
+perlDreameryou could add that to the Post level addChild/addRevision subs, instead of at the Asset level02:53
+perlDreamercan we scan through the PB db in order to see if this was a freak 1 time thing?02:53
@preactioni'm worried that it's not the Post-level things that are doing it02:54
@preactioni'm fairly sure it's not, there are multiple threads on pb.com with bad reply information02:54
@preactionbut i'll check anyway02:54
+perlDreamerI'm heading home.  I'll be back on later tonight.02:54
+perlDreamernice working with you today, preaction02:55
-!- perlDreamer [n=ckuskie@nat064.mxim.com] has quit [""""]02:55
@preaction4341 rows in set... that's not so good02:56
@preaction1096 of them are off-by-one02:56
@preactionsome from as far back as 200402:57
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has joined #webgui05:23
PedersenMJgood evening05:23
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has joined #webgui05:37
-!- mode/#webgui [+v perlDreamer] by ChanServ05:37
+perlDreamerpreaction: hackest thou this fine evening?05:39
@rizenpd: check out the new --status option on spectre.pl and tell me what you think05:39
@rizenyou may want to queue up a few workflows first05:39
@rizeni wanted to know if it provides enough information to judge health05:40
@rizenas you said05:41
+perlDreamerwill do05:41
+perlDreamerHow do I manually queue up workflows?05:41
@rizenuse the "run" link in the scheduler05:41
@rizenclick a few times05:41
+perlDreamernot bad05:45
+perlDreamerwe can actually watch workflows flow through the queue05:45
+perlDreamerthat is very good05:45
+perlDreamerif we ever need to graph stuff, we can easily add it in05:45
@rizeni'm trying to figure out what else i could put in there that would be useful05:45
@rizenthere isn't much data that spectre knows about05:45
@rizenmost of it is in webgui05:46
+perlDreamerIt might be nice to know the original priority of a workflow, so you can see how many times its been queued05:46
@rizenso in the priority column, should i do something like current / original05:46
@rizen34 / 1005:46
+perlDreamerthen you look at it and say: you've been reinserted 24 times05:47
@rizeni'm also thinking about keepin gtrack of the status of the last execution05:47
+perlDreamerthat's good, too05:47
@rizenright now we don't keep track of it05:47
@rizenbut it might be worth the extra memory05:47
-!- mode/#webgui [-o snap_learner] by ChanServ05:48
+perlDreamerit's 1 perl string, shouldn't be too heavy05:48
+perlDreamerpreaction and I spent about 2 or 3 hours looking at Posts today05:48
@rizenyeah, i'm just thinking if you have 1000 things going on05:48
@rizenhow did you come out?05:48
+perlDreamerI inserted 500 posts with skipAutocommitWorkflows, and had no problems.05:49
+perlDreamerpreaction did some research on PB's site for Posts05:49
+perlDreamer<@preaction> 4341 rows in set... that's not so good 02:56 <@preaction> 1096 of them are off-by-one 02:57 <@preaction> some from as far back as 200405:49
+perlDreamerthat's 1 in 4, and I couldn't hit that with 500 Posts.05:50
+perlDreamerbut I also had to use the skipAutoCommitWorkflows flag05:50
+perlDreamerthat might make things very different05:50
+perlDreamerso the hiccup may be coming from the autocommit workflows05:50
@rizeni guess we'll see05:51
+perlDreamerwhat version of perl are y'all running on PB.com?05:51
@rizenor maybe 5.8.1005:51
@rizeni'd have to check05:51
+perlDreamerI was running 5.8.6 at work.05:52
+perlDreamerI have 5.8.8 here05:52
+perlDreamerI'll try to duplicate the experiment here05:52
@rizen i'm going to quickly work in those other two things into the status05:53
+perlDreamerit takes a long time to commit 500 assets05:57
PedersenMJHey, JT, quick question for you: If I were to talk my company into going to WebGUI for their public site, how long would it take pb.com to convert what we have into a WebGUI style? (more detail in just a sec)06:07
PedersenMJBasically, we have a .net site right now, which uses its own templating system/etc. If we were to provide access to the current site, and allow you guys to pull down data/pages/etc, how long would it take you (normally) to make a whole new e-commerce type site using said templates?06:08
PedersenMJI know you cannot provide an accurate number without seeing it, and I'm not asking for that. Just general past experience type numbers where a client has all their data and templates, and just needs to integrate it.06:09
PedersenMJBasically, I got wind today of a fairly significant problem. Supposedly, we're supposed to be in a testing phase starting on Monday, and there's some major issues that have just cropped up today. We shouldn't be seeing major issues, not at this point, and I'm looking to gather info to try and get the current site removed.06:10
@rizenstyle conversion is less than a week06:11
@rizencontent migration depends on number and complexity of pages06:11
@rizencommerce system can be set up in less than a day06:11
@rizenthen you have to import products06:11
@rizenwhich again is a content migration issue06:11
@rizenalmost certainly less than a month, but without seeing it06:12
@rizenthat's all i can tell you06:12
PedersenMJThat's more than fair.06:12
PedersenMJAs I said, this was entirely ballpark, off the cuff. I wouldn't hold you to that, I can promise.06:13
@rizenhonestly, the thing that holds us up more than anything else is a disorganized customer06:13
@rizenonce we have everything we need06:13
@rizenwe can rip out an entire site in under a week06:13
@rizencontent migration, commerce, design, the whole ball of wax06:14
+perlDreamernothing in 1500 Posts06:14
@rizenthat's great pd06:14
@rizenthis is with skip auto?06:14
+perlDreamerand same version of perl, but maybe different switches?06:14
@rizenwhat if you don't skip auto06:14
@rizenwhy are you skipping auto?06:15
@rizenjust cuz it's faster?06:15
+perlDreamerI was told that I had to.06:15
@rizenwho told you that?06:15
+perlDreamerI don't remember.06:15
@rizenno reason to do that06:15
@rizenthe skip auto feature is only there for the branch functions06:15
+perlDreamerwait a minute.  I know what it was06:16
+perlDreamerit was a workaround to a bug I was getting06:16
PedersenMJThanks. I'm going to be monitoring the situation at work as carefully as possible. And trying to introduce WebGUI for an intranet site next week sometime.06:16
@rizenhey PedersenMJ...how did i piss you off the other day?06:17
PedersenMJIf things fall through with the current company (and I suspect they might, the mistakes they are making are enormous), I'll be doing my best to get them to call you guys up.06:17
@rizeni thought i was being nice06:17
PedersenMJYou pissed me off?06:17
+perlDreamerPost->getAutoCommitWorkflowId was failing06:17
@rizeni said that i wanted to keep the channel all about bug fixing06:17
@rizenand you made some sort of sour grapes comment06:17
@rizenand left06:17
PedersenMJThat was you? Ah, it was the way it was said.06:17
@rizeni said please and everything06:18
@rizeneveryone on the channel was wondering why you were mad and left06:18
PedersenMJHere's what I saw as possible answers to the question: 1) Yes. 2) No. 3) Ignore me. 4) FOAD. I felt more like I got FOAD, when I would have much preferred 3.06:18
@rizenwe even discussed that it was someone other than you masquerading, because you never act like that06:18
PedersenMJThat, and it was said by someone I didn't know.06:19
PedersenMJFOAD = Acronym: Fuck off and die.06:19
@rizenheh...i didn't mean that certainly06:19
-!- rizen is now known as BugSlasherMcGirk06:19
PedersenMJI think the big thing is that I didn't know that BugSlasherMcGirk was you.06:19
-!- BugSlasherMcGirk is now known as rizen06:20
@rizenmy alter ego06:20
-!- rizen changed the topic of #webgui to: WebGUI 7.3.806:20
PedersenMJYou? I'd have understood it, and been okay with it. BSMG? Had never seen the name, thought it was someone trying to tell me to foad, basically, and that I was not welcome.06:20
PedersenMJNow I know, and will offer up an apology. That was more than slightly rude of me.06:21
+perlDreamerNormally we don't let people treat other people in the channel that way.  If it was some jerk, we'd have nailed him.06:21
PedersenMJAnd the embarassing part is that I almost went ahead and asked who the heck bsmg was. Wish I had.06:21
PedersenMJI am sorry. And will take this as a lesson to ask first, rather than shoot a mouth off.06:22
@rizenno biggie06:23
+perlDreamernothing in 500 Posts without autocommitworkflows06:23
+perlDreamertrying 75006:23
@rizeni just thought you were mad at me or something06:23
@rizenyou mean "with" right?06:23
@rizenor "without skip"06:23
+perlDreameryes, without skip06:23
+perlDreamernothing in 75006:23
@rizeni think you've got it licked man06:24
+perlDreamerI don't have a bug fix.  I'm trying to duplicate the bug.06:24
+perlDreamerI can't06:24
PedersenMJAnd will thank you for setting me straight, too. That sets my mind at ease, a lot. Man, I really need to have better integration between irc and jabber. Might have to take that side project on myself.06:25
+perlDreamernothing in 1500 Posts06:25
+perlDreamerrizen, I think we should try this on PB.com and see if we can dupe it there.06:25
+perlDreamerI'm getting 25 Post inserts per second06:26
@rizenno offense, but i don't want to throw a bunch of crap into plainblack.com db06:27
@rizenwe can do it on a demo site if you like06:27
@rizenbut not on plainblack06:27
@rizenplainblack's database is already fragmented, and has more than half a gig of data in it06:28
+perlDreamerthe script is completely self contained and self checking06:29
+perlDreamerin the end it tells you how many busted posts it made06:29
@rizenyou know, as buggy as webgui might be sometimes, that's one huge testament to how cool it is06:29
+perlDreameryes it is06:29
@rizenplainblack.com was created on WebGUI 0.8.006:29
@rizenand has survived every upgrade06:29
@rizento 7.3.806:29
@rizeni don't think that there are many cms providers out there that can claim any site has survived the hundreds of upgrades06:30
@rizenwe have06:30
@rizenupgrade and cms just don't go hand in hand in most cases06:31
+perlDreamersomeone in the channel said that Zope sites can't do major version number upgrades.  They have to port.06:31
@rizenthat was me06:32
@rizenbut it is true06:32
@rizenyou have to export/import your data with a migration tool06:32
@rizenand that only works for the main content06:32
@rizenit won't work for any plugin data06:32
+perlDreamerI emailed you the Post stuffer script06:33
@rizendo you want me to run it on a demo site?06:33
+perlDreameryes, please06:33
PedersenMJBRB, switching to real IRC client.06:35
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has left #webgui []06:35
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has joined #webgui06:35
@rizenis this thing supposed to be outputting as it goes?06:37
@rizenhow many will it create?06:38
+perlDreamerit's pretty fast06:38
+perlDreamer(on my unloaded machine)06:39
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has left #webgui []06:39
+perlDreamerat the end, it will tell you how many Posts it found with non-identical dateUpdated and dateSubmitted06:39
@rizenit's not committing any of the tags06:39
@rizenis it supposed to?06:40
@rizenthis is the output i got from it at the end06:40
@rizen$VAR1 = [];06:40
@rizenwe're running 7.3.8 out there though, so i don't know if that would have anything to do with it06:41
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has joined #webgui06:41
PedersenMJMuch better.06:41
PedersenMJUsing a real client is definitely better.06:42
+perlDreamerrizen: will committing the tags change dateUpdated or dateSubmitted?06:42
+perlDreamer$VAR1=[] means that there were no rows found where dateUpdated != dateSubmitted06:46
+perlDreamermaybe we need to add debug code to PB's WebGUI and see what's going on via logging.06:47
+perlDreamersince we can't dupe the bug on command.06:47
@rizenwhat will logging tell us06:51
@rizenit seems only when it happened, not why06:51
@rizenthe new status screen is available for your approval...added last state and original priority06:51
@rizenand also now keeps track of suspended workflows06:51
-!- PedersenMJ_ [n=Pedersen@mail.icelus.biz] has joined #webgui06:51
+perlDreamerit might tell us about where06:51
@rizenhow so?06:52
@rizenthis can only be happening in one spot, right?06:52
+perlDreamerI hope so.06:52
@rizenwell in order for it to tell us something else, we'd have to be logging in more than one spot06:52
@rizenbut we've only got one spot to log06:52
+perlDreamerI was thinking of adding code in Post, for addChild, addRevision and commit06:53
+perlDreamerit seems like we've only got two choice06:54
@rizengive me a patched version of the 7.3.8 Post.pm and i'll put it on there for you06:54
+perlDreamerI'll work on it06:54
+perlDreamerafter I check our your new spectre status06:54
@rizeni recommend not using the normal logging mechanism though06:54
@rizencuz we'll never find it06:54
@rizenthe webgui.log is too big06:54
@rizeninstead, just open a file to /tmp/post.log06:55
@rizenor something06:55
+perlDreamerthat's shared among all the threads?06:56
@rizenwhat's shared?06:56
+perlDreamerthere are multiple workers (apache children).  Wouldn't you have to lock the file so that they don't stomp on each other?06:57
@rizenopen my $file, ">>", "/tmp/post.log"; print {$file} $output; close $file;06:57
@rizenyou're appending06:57
@rizenso it works like magic06:57
+perlDreamerdo you think we'll find anything if we do this?06:58
@rizenhonestly...not really06:58
@rizenbut i don't have any other idea06:58
@rizenthe sherlock method says to exhaust all possibilities, until whatever is left must be your answer06:59
@rizenso we should do this06:59
+perlDreamerdo you think we should try banging heads with the other devs tomorrow?06:59
@rizenit's better than doing nothing06:59
+perlDreamerpow wow?06:59
@rizenwe've been doing that for 2 days06:59
@rizenand i'm on accounting duty tomorrow, so i won't be around most of the day07:00
@rizeni guess what i'm saying is...this log can't hurt07:00
@rizenmaybe it will give us a clue07:00
+perlDreamerthe worst it can do is slow your site down a little do to the I/O07:00
@rizenmy site is already slow07:01
@rizenwhich is something i've got to work on07:01
@rizenso it's not even going to be noticable07:01
+perlDreamerwhat's wrong with PB?  Why is it slow?07:01
@rizenno idea07:01
@rizenit really shouldn't be slow given the hardware it's on vs the traffic we get07:01
@rizenhonestly i'm starting to believe it's the caching system that's slowing us down07:02
+perlDreamerFile cache?07:02
@rizenwhen the fs cache grows big07:02
@rizenit really seems to chug07:02
@rizeni was hoping to have all these bugs fixed this week so i could spend next week doing some profiling07:06
@rizeni think that we're caching a lot of shit, that doesn't get us much or any gain07:06
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has quit [Read error: 110 (Connection timed out)]07:07
@rizenso, do you think the status screen will be a good diagnostic tool?07:07
@rizencan you think of any improvements?07:07
@rizengood, then it's good enough for the time being07:08
@rizenthat combined with the queue improvements, and the startup improvements07:08
@rizeni think that spectre should be in pretty fit shape07:08
+perlDreamerwe closed 50 bugs over the last 3 days07:08
@rizenis that all?07:09
@rizenit seemed like hundreds07:09
+perlDreamerthere are about 30 more07:09
+perlDreamerwe also found some non-reported bugs07:09
@rizenfrank, roy, and doug will all be working on bugs again tomorrow07:09
+perlDreamerI should be able to help some more07:10
+perlDreamerbut I'm way slower than they are07:10
@rizenyou seem to be closing as many or more bugs than they are from my vantage point07:10
+perlDreamerI had a head start :)07:10
@rizenwell i'm done for tonight07:15
+perlDreamergood night07:15
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []07:15
PedersenMJ_I'm headed for bed myself. Yawning more than reading or writing now.07:17
-!- PedersenMJ_ [n=Pedersen@mail.icelus.biz] has quit []07:18
+perlDreamernobody left but us perlDreamers07:59
* perlDreamer gollum07:59
* Radix-wrk yawns.08:01
Radix-wrkI've been having dramas with Webgui of a different nature - psu in the machine hosting webgui was 'spiking' randomly - causing it to spontaneously reboot and me to panic - had to do a run-around for a replacement psu, but seems to be working fine now I'm glad to say.08:06
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui08:06
-!- mode/#webgui [+v crythias] by ChanServ08:06
+perlDreameris the psu on a ups?08:14
Radix-wrkwas yup08:18
Radix-wrkI tried it without the ups thinking maybe the UPS was the problem somehow - as it was beeping when it restarted - but then it did it in front of me 2 minutes later after bypassing the UPS08:19
Radix-wrkIt's been up 1hr 20 mins so far, so all is good so far.. got my webdev machine with a clone of the whole site just in case this time - it's a friday afternoon and the last thing I want to do on my weekend is rush in to work - this way a few iptables rules will let me redirect to the webdev machine instead ;)08:22
+perlDreamergood backup08:25
+perlDreamerwell, I got another bug fixed08:42
+perlDreamertime to go to bed08:42
+perlDreamerthat will give you guys time to find more bugs08:42
xdangeris there a way to catch "Illegal division by zero at..." error on a whole script level? not just putting the part in eval {};08:43
+perlDreamerI don't think so.  You should only need to trap certain parts of it.08:43
xdangerI just don't want to put eval on every part of that script that dows divisions...08:44
+perlDreamerhow about checking the data before the divisions happen?08:44
+perlDreamerand error out appropriately?08:44
xdangertoooooo many variables...08:44
xdangerIt's a complex hash that is worked on..08:45
+perlDreameryou could assign the data to tied variables that overload division so that they never really divide by 0.08:45
xdangerno, it's 6 different complex hashes, that are worked on =D08:45
+perlDreamerin perl 6 this is easy.  perl 6 understands the concept of infinity08:46
+perlDreamerin perl 5 you're stuck08:46
+perlDreamersee if you can catch preaction tomorrow.  He's full of good and sneaky ideas for this kind of stuff08:47
xdangerI was thinking about adding something like $var = sprintf("%.2f", $x / ($y + 0.000000000001));08:47
Radix-wrkthere's no try/catch stuff in perl?08:47
+perlDreamerthere is, on a 1 by 1 basis08:47
xdangerthere is eval {}; and $@08:47
+perlDreamerbut no way to do it across an entire script, unless you wrap the whole script in the eval.08:49
xdangerand then again the whole eval just fails =P08:50
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has quit [""good night""]08:50
xdangerI was hoping for something like "use weird_devision_by_zero_fix;" kinda solution ;)08:51
-!- crythia1 [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui09:35
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)]09:53
-!- Radix-wrk [n=Jesse@] has quit ["Leaving"]10:00
-!- crythia1 [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)]10:35
-!- snapcount [n=royjohns@] has joined #webgui11:09
-!- mode/#webgui [+o snapcount] by ChanServ11:09
-!- pjesi_ [n=pjesi@client-86-27-130-79.winn.adsl.virgin.net] has quit ["Konversation terminated!"]11:13
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui11:15
-!- mode/#webgui [+v crythias] by ChanServ11:15
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit [Read error: 104 (Connection reset by peer)]11:15
-!- snap_learner [n=royjohns@] has quit [Read error: 110 (Connection timed out)]11:25
-!- MrHairgrease [n=martin@] has joined #webgui15:24
-!- mode/#webgui [+v MrHairgrease] by ChanServ15:24
-!- bopbop [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has joined #webgui16:02
-!- bopbop_ [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has joined #webgui16:15
-!- bopbop [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has quit [Read error: 104 (Connection reset by peer)]16:15
-!- bopbop_ [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has quit [Client Quit]16:16
-!- bopbop [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has joined #webgui16:19
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:55
-!- mode/#webgui [+o rizen] by ChanServ16:55
-!- mode/#webgui [+o bopbop] by preaction17:32
ckotilthats the word on the street17:37
@rizenThis is the new --status screen from the spectre command line: http://rafb.net/p/pi0btX35.html17:42
@rizenit allows you to see what's happening inside of spectre at any given time17:42
ckotilvery nice.17:43
@rizencan any of you think of any way to make the screen more useful for debugging purposes?17:43
ckotilthe activities contained in the workflows perhaps?17:44
@rizenunfortunately spectre doesn't know that17:44
@rizenspectre doesn't know much...for security's sake17:44
ckotilthat makes sense17:45
@preactionwould it know the last activity it tried to run?17:47
@preactionthat might be useful, for figuring out error and comm error statusi17:48
@rizenno it doesn't know any activities17:53
@rizenwhat it does is says, "Webgui, here's the instance that's ready to run....do it17:54
@rizenand then webgui looks up the next activity17:54
@rizenat least with this screen you have site name and instance id17:54
@rizenfrom there you can go look up the other stuff in the database17:54
@rizeni know it's not perfect...it's just what i can do with the data i have17:54
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has joined #WebGUI17:54
-!- mode/#webgui [+o khenn] by ChanServ17:55
@rizento take this to the next level i'd like to display a similar screen inside of webgui's UI17:55
@rizenbut it needs to filter out the data so that it only shows the stuff for that particular site17:55
@rizenonce we have that, then we can do a drill down17:55
@rizenand show activities, workflows, etc17:55
@rizencuz webgui does know all this stuff17:56
ckotilanyone know if there is an rfe for transferring assets/workflow/karm/etc.. between webgui sites?18:05
@rizennot that i'm aware of18:07
@rizenthere is one about users and single sign on18:08
@rizenwhich would do that for users18:08
@rizengenerally speaking, if you need somthing like that18:08
@rizeni'd suggest running a bunch of sites out of the same webgui instance18:08
ckotilthatd be an amazing feature. but i think first there would need to be a web services interface built in first. like soap18:08
ckotilthats what i do now.18:08
ckotilthey are each contained beneath there own page layout.18:09
ckotilthen i use mod_rewrite to rewrite the domain18:09
ckotilim happy with the way it worked out.18:09
@rizenit's easily the best way to do it when you need to share resources like that18:09
@rizenmany of our clients do the same thing18:09
-!- bopbop_ [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has joined #webgui18:11
-!- bopbop [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has quit [Read error: 104 (Connection reset by peer)]18:11
ckotilhrmm.. just got your response about approval messages not processing macros18:14
ckotili need to include the date to an approval messafe18:14
@rizenit's easy to add if you want to one off it18:15
@rizenlook at the NotifyAboutUser.pm activity, compared to the NotifyAboutVersionTag.pm activity18:15
@rizenthe first one does process macros18:15
* ckotil takes note18:16
--- Log closed Fri Feb 02 18:20:45 2007
--- Log opened Fri Feb 02 20:06:34 2007
-!- xdanger [i=xdanger@i.should.be.in.a.mentalhouse.net] has joined #webgui20:06
-!- ServerMode/#webgui [+ns] by leguin.freenode.net20:06
-!- Irssi: #webgui: Total of 1 nicks [0 ops, 0 halfops, 0 voices, 1 normal]20:06
-!- Irssi: Join to #webgui was synced in 3 secs20:06
!leguin.freenode.net *** Notice -- TS for #webgui changed from 1170439594 to 116452337520:06
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has joined #webgui20:06
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has joined #webgui20:06
-!- wgGuest12 [n=wgGuest1@cp43027-a.gelen1.lb.home.nl] has joined #webgui20:06
-!- perlDreamer [n=ckuskie@nat064.mxim.com] has joined #webgui20:06
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui20:06
-!- snapcount [n=royjohns@] has joined #webgui20:06
-!- ServerMode/#webgui [+ovoo khenn perlDreamer rizen snapcount] by irc.freenode.net20:06
-!- Hinrik [n=hinrik@dsl-228-236.hive.is] has joined #webgui20:06
-!- Radix__ [n=Radix@] has joined #webgui20:06
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui20:06
-!- TheSeparator [i=Seppie@cp43027-a.gelen1.lb.home.nl] has joined #webgui20:06
-!- perlbot [n=perlbot@lv.pm.org] has joined #webgui20:06
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has joined #webgui20:06
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui20:06
-!- pjesi [i=pjesi@klefi01.litlahraun.is] has joined #webgui20:06
-!- ServerMode/#webgui [+o preaction] by irc.freenode.net20:06
-!- irc.freenode.net changed the topic of #webgui to: WebGUI 7.3.820:06
greghacke*wonders at the sound of crickets*20:17
-!- wgGuest12 [n=wgGuest1@cp43027-a.gelen1.lb.home.nl] has quit []20:18
@preactionall the easy bugs are done, these are the hard ones, require concentration20:18
@preactioni'm trying to reproduce the IE problem when HTTPS sites proxy HTTPS sites and request a file from the proxied site20:19
greghackeSee, I figured everyone was napping.20:20
greghackewhat is the error?20:20
@preactionbasically: when pragma: no-cache is in effect, IE refuses to cache files downloaded via HTTPS (for security reasons)20:21
@preactionsince you can't save them, you can't view them20:21
-!- pjesi_ [n=pjesi@shepherd.comlab.ox.ac.uk] has joined #webgui20:22
pjesi_hi guys20:23
@preactionhihi! you come buying? you can sell too!20:23
pjesi_do you accept pounds?20:25
@preactioni no understand "pounds"20:26
@preactiongooeybot restart20:26
gooeybotpreaction: sorry...20:26
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has quit [Remote closed the connection]20:27
pjesi_I have plenty of ISK20:27
pjesi_but I guess you dont want them20:27
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has joined #webgui20:28
+perlDreamerdont' rubles have ridges so they can't fall down?20:29
+perlDreamerjust so we're not doubling up, is anyone looking at the SQLForm bugs?20:29
greghackeI was then i got sucked into data normalization20:30
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has quit [Remote closed the connection]20:34
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has joined #webgui20:34
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has quit [Remote closed the connection]20:37
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has joined #webgui20:37
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has quit [Client Quit]20:37
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has joined #webgui20:37
+perlDreamerthere are no default field types in the SQLForm?20:38
greghackecorrect, each must be paired20:38
+perlDreamerhow about the table, will it create it for me or do I need to initiall define it?20:39
greghackewhen you create sqlform, you name the table.  once you name it it creates ith with some default fields for instance, versioning, etc.20:39
greghackethen you create the field types and then make your fields20:40
@preactionuhm... correct me if i'm wrong, but if you use SQLForm and SQLReport in conjunction, couldn't you conceivably do ABSOLUTELY ANYTHING AT ALL?20:41
+perlDreameronly if the DatabaseLink allows it20:42
greghackeexcept touch the webgui database20:42
@preactioni mean like making completely custom functionality20:42
@preactionwhat limitations? besides limited to WebGUI::Form elements?20:43
@preactionwell, and time20:43
greghackeform limitiations, referential integrity, etc.20:44
greghackealso the image issue.  sqlform uploads image as a blob and displaying blobs is ... painful.  they should go up as an asset20:44
@preactiondoesn't SQLForm allow HTMLArea fields?20:45
@preactionthe rich editor can upload Image assets20:45
@preactionif you enable in config, iirc20:45
+perlDreamergreghacke: I'm guessing your bug is that 0 is a reserved value :)20:47
@preactioncan i bounce some  stuff off of you guys about this bug? http://www.plainblack.com/bugs/tracker/downloading-file-using-httpproxy-fails20:47
+perlDreamersure, but I'm pretty browser ignorant20:48
greghackepD: i believe you are correct.  i could find nothing for that.20:48
@preactionthis is more an HTTP issue i think20:48
greghackei'm not browser ignorant but there is a discussion on IE and SSL issues on the MS site somehwere20:48
@preactionbasically, the HTTPProxy doesn't send anything about the headers from the proxied site except the content-type20:48
@preactionso theoretically, this means that any IE downloading files over SSL with pragma: no-cache should fail, right?20:48
@preactionnot just HTTPProxy downloads20:49
@preactionnevermind, it sends back ->content, not ->body20:50
@preactionso it does send back the headers20:50
@preactionreading the bug reports around the internet tubes, changing pragma: no-cache; to must-revalidate; fixes it. should i just rewrite and tell him to try? or just tell him to try?20:51
@preactioni can't reproduce this, but that's because i have nothing with SSL I can try it on20:51
+perlDreameris the bug submitter a PB customer?  they might let you use their site for a debug20:52
@preactioneric svanberg is from Volvo, i have no idea about their contract with us20:52
+perlDreamergreghacke, might need to wait for MrHairGrease to show back up for this one.20:54
+perlDreamerthe code looks fine20:54
+perlDreamerat first glance20:54
* perlDreamer is out to lunch, (like physically)20:54
greghackeanyone know the fastest way to get 18000 records onto an SQLForm table? :-)20:57
@preactionmysql -u<user> -p<password>20:57
greghackewould LOVE to.  except it's a shared host20:57
greghackeor should i say agency hosting.20:58
@preactionplainblack agency hosting?21:00
greghackeor should I say, "Yes, sir!"21:01
@preactioni suppose i don't know how secure our boxen are to be making user accounts for agency hosters, but that'd be a nice feature21:03
@preactioni mean, i'm sure that /data/wre/sbin/rc.webgui is world-executable21:04
greghackeeh, i'll build a complete sql for the insert and then ask for the best solution, even if i have to pay to run 2 inserts.21:04
@preactiongreghacke: i was just about to suggest that21:04
greghackebetter that than hand-entering 18000 records21:05
@preactionbuild it on a temp site, make an sql dump, and have us apply the dump21:05
greghackethe site or just the sql form stuff?  the site is up and getting ready to go.  all i need is the secondary db pupulated21:05
@preactionwhatever you need inserted21:06
greghackealthough i have mysql on here, I guess i could populate that and then use it.  yeah21:06
@preactionmysqldump --tables <database> <table> [<table> ...] > dump.sql21:06
greghackedealio.  off to eat food.  if rizen passes through, i am waiting on response to his package now21:07
-!- greghacke is now known as greghacke_eats21:07
@preactiondoes WebGUI assume UTF-8 these days? or does it deal gracefully with UTF-8 content?21:21
@preactionhttp://www.plainblack.com/bugs/tracker/no-utf-8-in-proxied-sites <- I can fix this, but it's an RFE (since it requires HttpProxy to translate encodings)21:22
@preactionhowever, it's really easy to fix, should only be a two-line fix21:22
ckotilhttp://paste.biz/paste-437.html Im wondering if WebGUI::Macro::process will execute ok there.  ?21:34
@preactiongooeybot paste is also |http://paste.biz21:36
gooeybotOK, preaction.21:36
@preactionmore pastebins for our rotation ;)21:36
ckotilpastebin.com is slow as fuck21:37
ckotili usually turn to pastebin.cc when pastebin.com lets me down. but some how i got to paste.biz , i htink i had a typo somewhere21:37
@preactionckotil: no, WebGUI::Macro::process requires a session as the first argument IIRC21:37
@preactiongooeybot has like 5 of them now, and it gives you a random one21:37
gooeybotpreaction: sorry...21:37
@preactiongooeybot paste21:37
gooeybotpaste is http://paste.biz21:37
@preactiongooeybot paste21:37
gooeybotpaste is, like, http://paste.biz21:37
@preactionor not21:37
@preactiongooeybot pastebin21:37
gooeyboti guess pastebin is http://sial.org/pbot21:37
@preactiongooeybot pastebin21:38
gooeybotit has been said that pastebin is http://sial.org/pbot21:38
@preactionstupid pseudo-random crapola21:38
ckotilok thanks preaction.21:38
@preactionckotil: nevermind, i'm wrong again21:39
@preactioncd /data/WebGUI/lib; perldoc WebGUI::Macro; <- read the fine manual21:39
-!- greghacke_eats is now known as greghacke21:40
ckotili only want to process message.21:41
ckotilbut i dont know how i would pull message out of $properties. $properties[message] perhaps?21:41
@preactionyou only want to process one macro in the content? or you only want the output of a call to that macro?21:41
@preactionperlbot perlref21:42
perlbotPerl references and nested data structures - http://www.perldoc.com/perl5.8.0/pod/perlref.html21:42
@preactionperlbot perldsc21:42
perlbotPerl Data Structures Cookbook - http://perldoc.perl.org/perldsc.html21:42
ckotiloutput of a call to that macro21:42
@preactionso you can't use WebGUI::Macro::process, you have to use WebGUI::Macro::<yourmacro>::process21:42
ckotilshit, ok then thats not what i meant.21:42
ckotilim working in NotifyAboutVersionTag.pm21:42
ckotili should jsut run it and see if it breaks21:43
@preactionor write a test for it21:43
greghackewrte a test21:43
ckotilive never seen or writen a test21:43
ckotilthere any documentation on it?21:44
@preactionall a test is a perl script21:44
@preactionperlbot docs for Test::More21:45
perlbotDocumentation for 'Test::More' can be found here: http://xrl.us/umcs21:45
@preactionperlbot docs for Test::Harness21:45
perlbotDocumentation for 'Test::Harness' can be found here: http://xrl.us/umct21:45
ckotilrock. thanks21:45
@preactionyou'd also be good to view the already-created tests in /data/WebGUI/t21:45
ckotilah, so thats what the t is for....test21:45
@preactionmaybe look for ckuskie's presentation on Testing WebGUI21:45
@preactionperlDreamer: is your presentation on Testing WebGUI available for public consumption somewhere on the internet tubes?21:46
@preactionalso, why am i more productive hungover with 4 hours of sleep than I am with 6-7 hours of sleep and no hangover?21:46
ckotilits got to do with the alcohol21:47
@preactioni've got three old, old bugs ready to be closed with approval from the higher-ups21:47
@preaction(mainly because the resolution isn't quite ... resolute)21:47
@preactionand the fourth will be done soon21:47
-!- pjesi_ [n=pjesi@shepherd.comlab.ox.ac.uk] has quit [Read error: 60 (Operation timed out)]21:49
@preactionrizen: am i correct in remembering that when I ask for more information about a bug, i should close it until they respond? like http://www.plainblack.com/bugs/tracker/no-utf-8-in-proxied-sites and http://www.plainblack.com/bugs/tracker/downloading-file-using-httpproxy-fails and http://www.plainblack.com/bugs/tracker/strange-asset-manager-bug21:50
@preactionk, thanks21:53
ckotilhrm...notifyAboutUser.pm seems to fail when I call on it via createcronjob21:58
@rizenYou can't call it from that22:01
@rizenThe reason is that you need to set a user object22:01
@rizenand createCronJob doesn't allow you to define a user object22:01
ckotilk i thoguht that may be the case.22:01
ckotilso that brings me back to having to create a custom activity for WebGUI::VersionTag to be able to send an email to a specific email address.22:02
@preactionsounds like a good feature, you could specify a CS's e-mail address and make a CS with "This version tag needs approval" and have a thread about "Should we approve this content?"22:03
@preactionbut anyway22:03
ckotilthats basically what im using it for, just sending an email to a CS, rather, to an email list22:03
@rizenthe ability to send it to a specific address would be a good feature for the current notifyAbout VersionTag activity22:08
@rizenif you make it work you should submit it for inclusion into the core22:08
ckotilyes, its actually crucial for me22:08
ckotilok cool.22:08
@rizenit would be in there already except it hadn't ocurred to me that someone would want to hard code the email address like that22:09
@rizeni always thought it would be a more dynamic process22:09
@rizenhence the reason it works the way it does22:09
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []22:19
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui22:27
-!- mode/#webgui [+o rizen] by ChanServ22:27
@snapcountI think I finally have a way to fix this ems bug22:29
ckotilis there another step i need to follow when i ad a new workflow activity to the webgui.conf file? bc it showed up as a blank line in the Add new workflow activity screen.22:31
ckotili missed something. lemme recheck.22:31
ckotilah, its missing an il8n entry.22:33
@preactiongo snappy!22:34
greghackesnappy must be removing EMS22:35
@snapcountthe thought has crossed my mind22:38
@snapcountthis one was tricky22:38
@snapcountthe EMS uses two different shopping carts, sometimes both at the same time =/22:38
@snapcountthis could obviously be problematic22:39
greghackeouch.  double ouch.  literally22:39
@snapcountI'm ready to move onto new bugs so hopefully this will pan out22:39
+perlDreamerpreaction, ckotil: IIRC, my testing presentation is at http://www.sunsetpres.org/web/webgui22:45
ckotilwhere do I assign an activityID to my workflow activity?22:46
@preactiononly an instance of an activity has an id, so when you're creating the instance to put in the workflow22:47
+perlDreamergooeybot: testing is tutorial available at http://www.sunsetpres.org/web/webgui22:47
gooeybotOK, perlDreamer.22:47
+perlDreamergooeybot botsnack22:47
+perlDreamergood gooeybot22:47
@preactionif you look at the 7.2.3-7.3.0, somewhere in there I make a new activity to add to the hourly workflow scheduler22:48
@preaction(which was wrong and i should be smote for)22:48
+perlDreamerpreaction: re images in the RTE disappearing, there's a built-in function to be used instead of the one the image linker is currently using22:48
+perlDreamerall you need to do is trace the code for the regular linker instead of the Asset linker22:49
@preactionk, sounds good22:49
@preactionif i can just tear myself away from helping people in #css22:49
ckotilyou know what table i need to insert info into for my new activity?22:49
@preactionsometimes it's fun to deal with easy issues like CSS and HTML problems, instead of deep Perl bugs and JS crap22:50
@preactionckotil: insert? use the API22:50
greghackedidn't realize you were a css guru22:50
+perlDreamerckotil, you shouldn't need to do custom inserts22:50
* ckotil ducks22:50
@preactiongreghacke: certainly not guru level (though there are some regulars in that channel who are)22:51
+perlDreamerdude, you should get your boss to give you some WebGUI hacking time.  Two hours per week for bug fixing and RFE implementing will do wonders for your code-fu.22:51
ckotilim to the point where my activity gets listed out at the add new activity screen, but the line is blank.22:51
@preactioni'm more of a trial and error kind of person22:51
@preactionwhen it comes to CSS22:51
@preactionckotil: did you fill in the correct definition information?22:51
@preactionckotil: pastebin your activity perhaps?22:52
+perlDreamersub definition is your friend22:52
@preactionperlbot paste22:52
perlbotPaste your code to http://sial.org/pbot/perl or http://erxz.com/pb and #perl will be able to view it.22:52
@preactionthose are nice perl-specific pastebins22:52
@preactionbut avoid the "Notify #Perl" part22:52
+perlDreamerlook at /data/WebGUI/lib/WebGUI/Workflow/Activity/DecayKarma.pm for a nice workflow activity example22:53
ckotilseems im the only one using paste.biz today22:54
ckotili think i have it written properly22:55
ckotildoh. almost, i need use WebGUI::Mail::Send22:55
ckotil..and macro22:56
+perlDreamerman!  Everything is coming Portland22:58
+perlDreamerRailsConf, Ubuntu, OSCON22:58
ckotilk well i cheated and looked at the source, pasted it in my url bar, added the activity to the workflow. ran it...now awaiting an email. or ill check the log for errors22:59
@preactionyou might want to use proper code practices too, naming: "Workflow_Activity_SendEmailAboutVersionTag" should be the name of your i18n file22:59
@preactionof course, when you write the RFE to add your feature, it'll probably get cleaned up (or I can do it sometime next week)23:00
@preactionsince we cant' add it until 7.4 anyway23:00
@preactionif you have Perl Best Practices, most of the stuff in there is what WebGUI is going to try to do in the future23:00
ckotilalright. ill attach my .pm to the rfe23:00
ckotilya i heard that webgui is following 'WebGUI' Best Practices23:01
ckotilwe have that book23:01
@preactionwhich just means that JT took a marker to my book, scratched out "Perl" and wrote "WebGUI" in its place23:01
ckotilya, i read that. haha23:01
@snapcountwell crap23:01
@snapcountthis way won't fix this23:01
@snapcounttime for plan bravo niner23:02
@preactioni am the proud owner of the only copy of WebGUI Best Practices ;)23:02
@snapcounthe did the same thing to my book preaction 23:02
@preactionsnapcount: Roger, 55523:02
@snapcountso nanny nanny boo boo23:02
@snapcountstick your head in...23:02
@snapcountoh wait23:02
@preaction10 steps ahead of your!23:02
@preactionand your mother smells of elderberries!23:02
+perlDreamerand your father is a hedgehog23:03
+perlDreamercome now, resorting to Monty Python?23:03
@snapcountare you suggesting an african swallow...23:03
@preactionmaybe if they tied it to a string23:03
+perlDreamerespecially when everyone else in the channel is a Sam Kinnison fan....23:03
@preactionkinnison sucks23:03
@preactioni said it23:03
@snapcountok... I have to go figure out a different way to do this23:03
@snapcountthis way breaks way more than it fixes23:04
@snapcountwhich is contrary to our doctrine23:04
@snapcountall these damn helicopters and sirens don't make it any easier to think for sure23:04
@preactionso i should write a test BEFORE i start fixing a bug, right?23:04
@preactionnow i get it23:04
@preactionwhat if i require refactoring the code?23:05
+perlDreamerwrite two tests23:05
+perlDreamerstrike that23:05
+perlDreamermake sure that your tests give 100% code coverage for the current stuff23:05
+perlDreamerthen refactor23:05
@preactionor just use Test::MockObject?23:05
@preactionwell, i'm thinking if the bug is in a www_* method, then we've got issues unless it can be refactored out somehow23:06
+perlDreameryou can call www methods so long as you don't need to pass in a form param23:06
+perlDreamerand there are ways around that, too, if need be23:06
@snapcountok... I need other opinions23:07
+perlDreamerno, those pants don't make you look fat23:07
@snapcountthe problem I have is this23:07
+perlDreamerI definitely had too much sugar for lunch23:07
+perlDreamersorry, dude23:07
@snapcountif you login and decide to purchase a "badge" for $100.0023:08
@snapcountthen click "Add to cart"23:08
@snapcountthen like a dummy, you just logout23:08
@snapcount10 years later23:08
greghacke(which is VERY common)23:08
@snapcountyou log back in23:08
@snapcountwell, now the EMS has no idea that you have an old event chilling in the commerce cart23:09
@preactionit shouldn't BE chilling23:09
@snapcountthat's my opinion as well... it should die23:09
@snapcountbut how23:09
@snapcountit's in the commerce cart now23:09
@preactiondon't carts have a lastUpdated date?23:09
@preactionor users have a lastLoggedIn somekindofthing?23:10
@snapcountand... the commerce system was designed to persist carts across logins23:10
@preactionthere should be a timeout though, say a month? or a week?23:10
@snapcountwell, even if it's two seconds23:10
@preactionbut that would still not fix it, because what if they log back in between23:10
@snapcountit creates a problem23:10
@preactionEMS will have to look for carts from that user?23:10
@snapcountbecause the ems says, you've spent $023:10
@snapcountthen they buy the same damn thing or something completely different23:11
@snapcountand it says you've spent 100.0023:11
@snapcountthen they get to commerce checkout23:11
@snapcountand there is extra stuff there and a different total23:11
@snapcountof course they don't notice23:11
@snapcountpanic ensues23:11
@preactionso the EMS is using a separate "temporary cart" of some sort?23:11
@snapcountyes... it has to23:12
@snapcountbecause of the way pricing is manipulated23:12
@preactionoh god23:12
@snapcountthere are discounts, exceptions to this that and the other thing23:12
@preactiondiscounts should probably have been implemented as separate Products23:12
@snapcountif you bought 'a' while standing on your head you get 8.3% off of items 'c' and 'd' and 'f' is now free23:12
@snapcountbut 'b' costs an extra 1.0023:13
@preaction... wait. what?23:13
@snapcountit's insanely flexible23:13
@preactions/flexible// # fixed that for you23:13
@snapcountthe discounts are defined by the admin inside the EMS23:13
@snapcountso I can't make a new module for each one23:14
@snapcountwe pushed way past what commerce was designed to handle23:14
@preactioni see...23:14
@snapcountso now we have problems like this23:14
* perlDreamer coughs* rewrite23:14
greghackeall kinds of wackiness in EMS23:14
greghackecart needs to empty at logout.23:14
@snapcountwe need to rewrite commerce first23:14
@snapcountgreghacke: yes23:14
@preactiongreghacke: it can't and it shouldn't23:14
@snapcountbut how23:15
greghackeok, the EMS cart should.23:15
@snapcountwell it should for Event ITems in the cart23:15
@snapcountthe EMS cart does23:15
@snapcountlet me state what needs to happen and we can focus on a solution23:15
@snapcountthe why is confusing and irrelevant now23:15
@snapcountand I need a 'how' solution23:15
@snapcountif there are 'Event' item types in a users shopping cart when they logout, or login23:16
@snapcountthey need to go away23:16
@snapcountshopping cart being 'commerce cart'23:16
@snapcountother item types like subscriptions, etc should stay23:16
@preactionthere's a runOnLogout workflow no?23:16
@preactionor even runOnLogin?23:17
@snapcountb/c the EMS can't pi$$ across the fence so to speak23:17
@snapcountwell, that's crap23:17
@snapcountthis needs to be in the EMS23:17
@snapcountnot a system wide deal23:17
@snapcountbut I don't know it's possible23:17
@preactionthe EMS can't check the user's cart?23:18
@snapcountsure it can23:18
@snapcountbut it doesn't know when someone clicks logout23:18
@snapcountwe want to leave it in there until they logout23:18
greghackeagreed on logout vice login.23:18
@preactionso the problem is that there are Events in a user's cart, but the EMS doesn't... do what to them?23:18
@snapcountproblem is that the EMS builds a "badge"23:19
@snapcountapplies funky pricing and arrives at a total23:19
+perlDreamercan you add a trigger on op=logout to clean their cart?23:19
@snapcountsays "I'm done" here you go commerce23:19
@preactionperlDreamer: what if they logout somewhere else?23:19
@snapcounthere's the total and a description23:19
+perlDreamerlogout == logout23:19
@snapcountnow the person doesn't pay23:19
@preactionperlDreamer: he just shot down my workflow activity solution :(23:19
@snapcountthe only solution I see23:20
@snapcountis if there were a hook to the commerce system that was triggered on login or logout23:20
@snapcountand the hook could be trapped by an item plugin23:20
+perlDreamer(13:19:24) perlDreamer: can you add a trigger on op=logout to clean their cart?23:20
@preactionsnapcount: could the EMS store them until they visit, say, EMS->www_checkout, and THEN passes the stuff to commerce?23:20
@preactionno, that's what's happening and is the problem... crap23:21
@snapcountdon't worry23:21
@snapcountit confuses me too23:21
@snapcountperlDreamer: I didn't see that23:22
@snapcountI think that's the only way to fix this but that would mean un-fixable until 7.423:22
+perlDreamerand 7.4 is our Commerce rewrite anyway23:22
@snapcountand it's also likely a lot of work23:22
@snapcountit is?23:22
@snapcountI didn't know that23:22
+perlDreamerI could be wrong23:23
@snapcountI thought it was like 7.3023:23
+perlDreamerrizen->mode('accounting') today, maybe he's still listening?23:23
@snapcountdoubt it23:23
@snapcountthe change required is to great to justify the fix23:23
+perlDreamerthe bugger is that we're starting to need Auth Workflows, like for login and logout23:24
@snapcountit needs to go through a beta cycle b/c it could affect all of commerce23:24
@snapcountso I think the solution is that we can't fix the bug right now23:24
@snapcountwhich really sucks23:24
+perlDreamerwhat about a scheduler plugin that checks session status and cleans out the necessary data?23:24
@snapcountno good23:25
+perlDreamerhow come?23:25
@snapcountif you logout, log right back in23:25
+perlDreamerthat's called a grace period :)23:25
@snapcountcan't run it ever 0.1 seconds23:25
@snapcountyeah but it doesn't fix the problem23:25
@snapcountit's a field dressing that will work sometimes23:25
@khennwow that was a tricky bug23:26
+perlDreamerwell, that gives you three options: full fix, partial fix and postponed fix23:26
@snapcountI tried some hackery to kludge it and it broke a lot of things23:26
@snapcountwe need to fix it the right way in 7.423:26
@khennincidentally, there is now a skipNotifications flag for assets that you can check for subscriptions to ensure that notifications aren't sent out when they shouldn't be23:26
@preactionkhenn: the edit branch one? nice23:27
@khennthat was a bitch and a half23:27
@snapcountwtf... why do I keep getting dropped from AIM23:27
-!- Jamie [n=chatzill@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui23:27
@rizeni'm sort of here23:27
@rizenwhat's up?23:27
@snapcountthe EMS bug...23:28
-!- mode/#webgui [+o Jamie] by preaction23:28
@preactionjamie better be vrby23:28
@snapcountI can fix it but I need logout and login to trigger a method in item plugins for anything in the commerce cart23:28
@snapcountone or the other really23:28
@snapcountdoesn't matter which23:28
@snapcounta hook basically23:29
+perlDreamerpreaction: how do you hash slice a hash ref?23:29
@snapcountseems like a change that shouldn't go into a stable release b/c of the potential for impacting so many other things23:30
@khennbtw, bug list is below 30 now!23:30
@preactionperlDreamer: let me try some things, i think it's %{$hashref}{"element","key","keys"}23:30
@preactionerr.. @{$hashRef}23:31
+perlDreamergreghacke: i have your bug and am fixing it now23:31
+perlDreamerhere it is:23:32
+perlDreamer-               while (my $key = shift(@keys)) {23:32
+perlDreamer-                       $options->{$key} = shift(@values);23:32
+perlDreamer-               }23:32
@preactionperlDreamer: perl -e'$hashref={a=>1,b=>2,c=>3}; print @{$hashref}{"a","b"}'23:33
+perlDreamerthanks, dude!23:33
@snapcountso rizen: do you agree that we should hold off on that functionality23:33
+perlDreamerif $key is false, then the loop stops23:33
@preactionperlDreamer: that loop is wery bad23:34
+perlDreamerthis one is better23:34
+perlDreamer@{ $options }{@keys} = @values;23:34
+perlDreamerIt's even WGBP23:34
+perlDreamerwe need a gooeybot bug screen scraper23:34
+perlDreamergooeybot: bugCount23:34
gooeybotperlDreamer: what?23:34
+perlDreamerperlDreamer there are 30 bugs23:34
@preactionactually, i enabled RSS for gooeybot, let's see how it works23:34
@snapcountI guess for now I'll update the bug with all the info and move on for now23:35
+perlDreamer27 bugs23:35
+perlDreamer26.5, really.  The WSClient bug is waiting for the DonorWare team to get me a test SOAP server23:36
ckotilthx for the help guys. have a good superbowl weekend.23:36
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has quit ["Go Colts"]23:37
+perlDreamerthe other SQLForm bug is a dupe.23:38
-!- Jamie [n=chatzill@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Chatzilla 0.9.73 [Firefox]"]23:40
+perlDreamerwith regards to server names, what is Dusk?23:41
@preactionour gateway, and donated hosting iirc23:41
+perlDreamerKristi mentioned it for the other SQLForm bug23:42
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has quit [Remote closed the connection]23:45
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has joined #webgui23:45
@snapcountI just wrote a small novel23:46
+perlDreamercan we talk about a bug I'm having problems with?23:47
+perlDreamerhe just wants to save the name, not the actual attachment.23:48
@snapcountah that one23:48
+perlDreamerhow in the world would we do this?23:48
@snapcountI don't think you can set the value field for a file form field23:48
+perlDreamerI didn't think so.23:48
+perlDreamerSo this is an RFE?23:48
@snapcountI haven't looked it up, but if you can set value to prefill the field like we do with all the others23:49
@snapcountthat would work23:49
@snapcountbut I don't think you can do that23:49
@snapcountnot an RFE... no way to do it23:49
+perlDreamerI didn't think so, because the file upload is a JS form control.23:49
@snapcountunless you can use JS to make it happen23:49
+perlDreameryeah.  You'd have to create some JS thing which said:  "After you're built, insert these into yourself."23:50
@snapcountbut if that's the case, it would become an RFE because the upload form control does not have that functionality23:50
@snapcountif it does, and we're simply not using it23:50
@snapcountthat's a bug23:50
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has left #webgui []23:50
@snapcountmy $0.0223:51
+perlDreamerI always left shift your opinion value, snapcount23:51
@snapcountI wish I could left shift my paycheck value =P23:51
@snapcountevery week23:52
+perlDreamerthis is an RFE.  The form control will allow you do display information, but only via Storage elements.23:53
+perlDreamerno storage, no persistance, no values23:53
+perlDreamerwe're down to 6 WRE bugs, 3 PlainBlack.com bugs and 16 wG bugs23:56
+perlDreamerof the 16 bugs, 5 are out for user feedback or experimentation23:57
@snapcountthey should be closed then23:58
@snapcountcan you close bugs?23:58
+perlDreameryes, I am bug empowered23:58
@snapcountmake it so23:58
+perlDreamerIch herre and verstehen, mein Herr23:58
--- Day changed Sat Feb 03 2007
+perlDreamerwho has shell access to plainblack.com?00:01
+perlDreamercheck out /tmp and see if there'sa file in there called post.log for me, please?00:01
@preactionthat name-saving thing i want to take a look at later, so i'll bookmark it00:01
@preactionperlDreamer: kk00:01
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has joined #webgui00:03
@preactionperlDreamer: looks like about 13 pages of output, you want a copy sent to an e-mail address?00:04
+perlDreameryes, please00:04
+perlDreamerCan one of y'all take a crack at Kristi's SQLForm bug?  I can't duplicate it on my dev box.00:07
greghackeurl for bug?00:08
gooeyboti guess bug is that if there's a bunch of errors in spectre workflows00:08
+perlDreamerIt's needs to be a PB dev, internal site access and all that00:08
greghackestill... I'd like to peek at it...00:09
+perlDreamerIt's at the top of the list00:09
+perlDreamergreghacke, there's another thing you could help with.  Do you have a firewall with proxy running?00:09
+perlDreamerthis bug00:10
+perlDreamerneeds someone smarter than me to try and fix it00:10
+perlDreamerpreaction: thanks, but the log is clean.00:13
+perlDreamercan you rerun your query from yesterday about dateSubmitted/dateUpdated for me and check for any hiccups in the last 14 hours?00:13
@preactionkhenn, paging khenn, are you working on the CS replies bug as well?00:16
@preactionperlDreamer: looks like two of them, finding a pastebin00:16
@preactiondo you want epoch times or any other information?00:16
@preactionperhaps a dump of those rows?00:17
+perlDreamerassetIds, and dateSubmitted/dateUpdated data, please00:17
+perlDreamerbecause here's the thing00:17
+perlDreamerthe log file didn't catch those00:17
+perlDreamerwhich means we now know where the bug isn't00:17
+perlDreamerfixing this would be a great way to start the weekend00:18
@preactionyou just want where dateSubmitted not equals to dateUpdated correct?00:18
+perlDreamerespecially the off by one kind00:18
@preactionlooks like 1 and 2 seconds are both there00:19
+perlDreamerI hate to pester you, but could I have epoch times instead?  that matches my log data format00:21
@preactionrofl one just happened00:23
+perlDreamerthis is nuts00:23
+perlDreamerbut it isn't a perl problem00:23
@preactionreload the page00:23
+perlDreamerany reason you can think of why some Posts would have commit called on them, but not others?00:26
+perlDreamerI haven't checked them all, but the 2 "bad" Posts never had commit called on them.00:27
+perlDreamerand one good one did00:27
@preactionwhere are the posts from?00:27
+perlDreameryou mean, like which Forum?00:28
+perlDreamerI don't know00:29
@preactioni'll check, some may be "commit with approval", but i'm betting they're all in the support forums00:29
+perlDreamerdid you peek through the logfile?00:29
@preactionhang on, closing a bug00:29
xdangerpreaction: didn't have the time yesterday to look at the upgrade&calendar... But I have a question...00:38
xdangeris there a way to catch "Illegal division by zero at..." error on a whole script level? not just putting the part in eval {};00:38
@preactionxdanger: paste the part you'd put in eval{}, this might have to be refactored00:38
@preactionperhaps a subroutine call?00:39
@preactionsub safe_divide() { eval { $_[0] / $_[1] } }00:39
xdangerit's just: $var = sprintf("%.2f", $x / ($y + $z);00:40
xdangerhmm... mayby I should do that..00:40
@preactionso $var = sprintf("%.2f", _safe_divide("$x / ($y + $z))); sub _safe_divide { eval $_[0] }00:41
@preactionor something00:41
@preactionmake sure to document it, for maintainability's sake00:42
xdangerjust that I have a script and I have to change many lines... and if I just do $var = sprintf("%.2f", eval { $x / ($y + $z) }); I have less writing =)00:45
@preactionright, but never tell yourself "it'll only be used for one thing and then thrown away", some day you'll be like "HEY! didn't i write a script that does this almost?" and you'll want to be able to read it00:46
@preactionperlbot laziness00:46
perlbotThe quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don't have to answer so many questions about it. Hence, the first great virtue of a programmer.00:46
@preactioni think i'm talking at an oblique angle to what you're talking00:47
@preactionperlDreamer: i've got a new paste for you in a couple minutes. Posts with their URL and their parent's URL00:48
+perlDreamerthe good news is that it's happening frequently enough on PB.com that we should be able to find it and fix it00:48
+perlDreamerthe bad news is that I still have no idea where it is happening00:48
xdangerI was just wondering if there was some way to "catch" that on a whole script level.. like "use weird_devision_by_zero_fix;" kinda solution ;)00:49
@preactionhow do i get the maximum revision date in a join?00:49
@preactionxdanger: use fatals perhaps?00:49
@preactiondivide by zero is a runtime error00:49
@preactionso you just have to check for it00:50
@preactionyou should've been checking for it the entire time :p00:50
+perlDreamerassetData.revisionDate=(SELECT max(revisionDate) from assetData where assetData.assetId=asset.assetId and (assetData.status='approved' or assetData.tagId=".$session->db->quote($session->scratch->get("versionTag")).")00:50
+perlDreamerthat's close to the right answer00:50
+perlDreamergooeybot: maxRevisionDate is assetData.revisionDate=(SELECT max(revisionDate) from assetData where assetData.assetId=asset.assetId)00:51
gooeyboti haven't a clue, perldreamer00:51
+perlDreamergooeybot: maxRevisionDate is this or that00:51
gooeybotOK, perlDreamer.00:51
+perlDreamergooeybot: forget maxRevisionDate00:51
gooeybotperlDreamer: I forgot maxrevisiondate00:51
+perlDreamergooeybot: maxrevisiondate is assetData.revisionDate=(SELECT max(revisionDate) from assetData where assetData.assetId=asset.assetId)00:52
gooeybotno idea, perldreamer00:52
@preactionit's moronic...00:52
+perlDreamerit must be the embedded punctuation00:52
xdangerit doesn't like you...00:56
xdangerthat must be it =)00:57
@preactionhttp://paste.biz/paste-442.html <- of course it's near impossible to read...00:57
+perlDreamernot isolated to any CS.  That's good.00:58
+perlDreamersome Threads and some Posts.00:58
+perlDreamerthat means it's either in the Post or CS code00:59
+perlDreamerand the logs say that $now stayed constant in the addRevision sub.  That means no perl strangeness00:59
+perlDreamerI thought I was being over paranoid in my logging, now I wish there was more!01:00
@preactionthere's also no extra revisions of these assets, and you said the other night there's no call to update to update the appropriate columns, correct?01:01
@preactionrather, three of them have only one revision, 5 of them have multiple revisions01:01
+perlDreamerthere are no literal calls to dateUpdated or dateSubmitted in the codebase, they might be masked in hashes01:01
+perlDreamerwhere are you getting the revision data?01:02
@preactioni did another query01:02
@preactionwithout grouping by revisionDate01:02
+perlDreamerwell, that's actually good, too.01:02
@preactionall the revisions have the same dateSubmitted and dateUpdated01:02
@preactionit has to be something on the initial creation01:02
+perlDreamerdo you mean all subsequent revisions?01:03
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)]01:03
@preactioni'll paste it01:03
+perlDreamerlet's start appending this to the bug01:03
+perlDreamerfor permanent records01:04
@preactionall of these dumps?01:05
@preactionor just distill the information?01:05
+perlDreamerI'd say both01:05
+perlDreamerothers might see something that we're missing01:05
+perlDreamerpreaction: any ideas?01:33
@preactionnone whatsoever01:33
+perlDreamerI'll send JT a new Post.pm with additional debugging code tonight or tomorrow.01:34
greghackeJT still around?01:36
+perlDreamerhe's in channel, call him by nick01:36
greghackewill in a bit.  he's in accounting mode I believe I heard earlier01:36
+perlDreamerthat's the fastest way to kill a hacker01:41
+perlDreamermake him process numbers01:41
@preactionit's the fastest way to interest me, i'll be writing programs to do it for me :p01:42
@preactioni remember writing a spec for a system that would manage all my projects, including invoicing01:42
@preactionnever got around to tackling that mammoth01:43
+perlDreamercan you build it into the Project Manager?01:43
@preactionit is the project manager01:43
+perlDreamerdoes it invoice?01:43
@preactioni don't know if the PM does01:43
@preactioni specced this for my own cms, Comm_Ctrl01:43
@preactionwas going to plugin to the Cart, so that I could take credit cards for services01:44
+perlDreamerdo  you know what the default cache timeout is for WebGUI::Cache?01:51
+perlDreamernm, there aren't any01:53
+perlDreamerit's all size based01:53
+perlDreamerpreaction: can you please test the 7.3.8 to 7.3.9 upgrade script?  I'm getting an error.02:01
@preactionperlDreamer: damnit frank02:02
@preactiondamnit damnit damnit02:02
@preactioni'll fix it02:02
+perlDreamerwhat's wrong with it?  The syntax looks okay to me.02:03
@preactionhe added code to the core02:03
@preactionthat expects an additional field02:03
@preactionbut that field isn't made when it needs to be02:03
@preactionIT'S NOT EVEN ADDED AT ALL02:03
+perlDreamermissing sub call02:04
greghackewow, I can feel the heat from here...02:04
@preactioni've fixed it, testing02:04
@preactionrofl, it breaks the update templates02:05
@preactiongive me 5 minutes02:05
+perlDreameryeah, I've got a workaround by moving that updateTemplates just before closing the session02:05
@preactionthat was the plan02:05
+perlDreamerI'll commit this.02:06
@preactionor rather, i was going to call it before finish(), so it's obvious what's happening02:06
+perlDreamerwhich bug are you hacking on?02:06
+perlDreamerthe JS one?02:06
@preactioni'm done02:06
@preactioni'm getting ready for about 16 hours of sleep02:06
greghackeomg, i'd pay money for 2 hours of sleep.02:07
@preactionperlDreamer: verified, it works02:10
greghackerizen - i fired you out a file.02:10
+perlDreamerthank _you. It's nice to check that mysql 4 still works with wG02:10
+perlDreamerpreaction: now go sleep!02:11
@preactionmysql 4?02:11
@preactionyou? or me?02:11
+perlDreamermy dev box at $dayJob02:12
+perlDreamervery old, very slow FC4 box02:12
@preactionhow's its uptime/load avgs?02:12
+perlDreamerwe had a full site power outage 29 days ago02:12
@preactionnm, my p90 / 32meg RAM would not run WebGUI02:12
+perlDreamerit's very lightly loaded in any case02:13
+perlDreamerP3 500MHz02:13
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui02:50
-!- mode/#webgui [+v crythias] by ChanServ02:50
greghackeGood evening.02:50
greghackekinda quiet here tonight.  everyone must have lives or something02:51
Radix__mornin' - and no, why would you think that? :)02:52
greghackeit's been quiet for 40 minutes.  like silent.02:53
+perlDreamerpreaction is sleeping, and I'm working on the winning WCC entry.02:53
greghackeoh really?  gonna beat my EMS HowTo?02:53
+perlDreamerwhat EMS HowTo?02:53
greghackewriting an EMS how-to.02:54
+perlDreamerI mean, I haven't seen one on the Wiki yet.02:54
greghackeyeah :-(  it's more work than I initially thought...  every step is frought with "oh, crap - gotta cover that too)02:55
+perlDreamerit's a big, big system02:55
+perlDreamerokay, it's the weekend.02:55
+perlDreamerI'm outta here02:56
-!- perlDreamer [n=ckuskie@nat064.mxim.com] has quit [""""]02:56
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has quit ["Trillian (http://www.ceruleanstudios.com"]03:01
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit ["Leaving."]04:26
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui04:48
-!- mode/#webgui [+v crythias] by ChanServ04:48
-!- snapcount [n=royjohns@] has quit []05:41
-!- snapcount [n=royjohns@] has joined #webgui05:42
-!- mode/#webgui [+o snapcount] by ChanServ05:42
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has joined #webgui05:43
PedersenMJWell, I would say g'day, but Radix might beat me senseless for doing so.05:44
HinrikI'll say it for you: g'day.06:10
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has quit []07:12
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)]10:28
-!- Radix__ [n=Radix@] has quit [Read error: 110 (Connection timed out)]10:35
-!- Radix__ [n=Radix@] has joined #webgui10:35
-!- greghacke [n=greghack@c-24-23-70-232.hsd1.mi.comcast.net] has joined #webgui16:01
-!- greghacke [n=greghack@c-24-23-70-232.hsd1.mi.comcast.net] has quit [Read error: 110 (Connection timed out)]16:48
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has joined #webgui16:59
greghackegood morning, perlbot16:59
perlbotAny morning you wake up is a good one.16:59
greghackegood morning, gooeybot16:59
gooeybotgreghacke: i'm not following you...16:59
greghackeanyone else on today?17:06
greghacke<!-- <td height="23" align="left" valign="bottom"><div align="left"></div></td> -->17:18
greghacke(the end of 129 should be - - > without the spaces)17:18
greghackewow, I am unintelligent today.17:19
-!- Netsplit leguin.freenode.net <-> irc.freenode.net quits: Hinrik18:04
-!- Netsplit over, joins: Hinrik18:10
-!- wgGuest55 [n=wgGuest5@cp43027-a.gelen1.lb.home.nl] has joined #webgui18:11
greghackewhat is TANSTAAFL?18:42
greghackeDo we have and SQLForm gurus on this afternoon?19:02
-!- gooeybot [n=gooeybot@static-72-1-4-143.ntd.net] has quit [Read error: 104 (Connection reset by peer)]19:42
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]19:57
greghackeif anyone from PB pops through, the forums aren't posting - made a post about an hour ago and it hasn't appearsd.  Looks like s spectre issue.20:22
greghackerizen: spectre seems down on plainblack.com , no CS is processing.20:54
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has joined #webgui21:00
-!- mode/#webgui [+v perlDreamer] by ChanServ21:00
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has quit ["Trillian (http://www.ceruleanstudios.com"]21:05
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui21:12
-!- mode/#webgui [+o preaction] by ChanServ21:12
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mn.comcast.net] has joined #webgui21:19
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mn.comcast.net] has left #webgui []21:26
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit []22:07
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui22:51
-!- mode/#webgui [+v crythias] by ChanServ22:51
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit ["Leaving."]23:27
+perlDreamerboy it's quiet today23:32
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui23:37
-!- mode/#webgui [+v crythias] by ChanServ23:37
--- Day changed Sun Feb 04 2007
+perlDreamerdoes anyone know if we're going to switch to GPL v3 when it comes out?00:20
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has quit [""""]01:52
-!- wgGuest55 [n=wgGuest5@cp43027-a.gelen1.lb.home.nl] has quit []03:24
-!- TheSeparator [i=Seppie@cp43027-a.gelen1.lb.home.nl] has quit []03:24
-!- Hinrik_ [n=hinrik@dsl-228-236.hive.is] has joined #webgui03:25
-!- Hinrik [n=hinrik@dsl-228-236.hive.is] has quit [Read error: 110 (Connection timed out)]03:43
-!- Hinrik_ is now known as Hinrik04:10
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)]04:12
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui04:55
-!- mode/#webgui [+o preaction] by ChanServ04:55
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:01
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]05:16
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:18
-!- mode/#webgui [+o preaction] by ChanServ05:19
@preactionfinally colloquy won't die when someone sends malformed DCC requests...05:19
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui05:20
-!- mode/#webgui [+v crythias] by ChanServ05:20
@preactionof course, that doesn't mean my verdamnt internet connection is going to stay alive05:20
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]05:21
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:32
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has joined #webgui05:36
-!- mode/#webgui [+v perlDreamer] by ChanServ05:36
+perlDreamerokay you rowdies.  What are you up to?05:37
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 104 (Connection reset by peer)]05:42
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Success]05:45
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)]06:04
-!- perlDreame1 [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has joined #webgui06:36
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has quit [Read error: 110 (Connection timed out)]06:48
-!- perlDreame1 [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has quit ["Leaving."]07:09
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui07:31
-!- mode/#webgui [+o preaction] by ChanServ07:31
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Client Quit]07:35
-!- Radix__ [n=Radix@] has quit [Read error: 110 (Connection timed out)]07:36
-!- Radix__ [n=Radix@] has joined #webgui07:37
-!- Radix__ [n=Radix@] has quit [Read error: 104 (Connection reset by peer)]08:53
-!- Radix__ [n=Radix@] has joined #webgui08:54
-!- wgGuest23 [i=WebGUIUs@bb220-255-244-165.singnet.com.sg] has joined #webgui11:02
wgGuest23 i am new in WebGiu11:02
wgGuest23any one can help me in installation of WebGui11:02
wgGuest23thanks in advance11:02
wgGuest23how to find the user installation guide?11:04
-!- wgGuest23 [i=WebGUIUs@bb220-255-244-165.singnet.com.sg] has quit []11:08
-!- Radix__ [n=Radix@] has quit [Read error: 110 (Connection timed out)]14:26
-!- Radix__ [n=Radix@] has joined #webgui14:30
-!- pjesi [i=pjesi@klefi01.litlahraun.is] has quit ["leaving"]18:42
-!- perlDreamer [n=colink@] has joined #webgui19:08
-!- mode/#webgui [+v perlDreamer] by ChanServ19:08
* perlDreamer feeds snapcount's crickets19:51
+perlDreameryou guys must be hungry from all that chirping19:51
+perlDreamer#webgui is a M-F kind of channel19:51
-!- perlDreamer [n=colink@] has quit [""""]20:07
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui22:24
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui23:12
-!- mode/#webgui [+v MrHairgrease] by ChanServ23:13
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]23:19
--- Day changed Mon Feb 05 2007
-!- Hinrik [n=hinrik@dsl-228-236.hive.is] has quit [Remote closed the connection]00:14
-!- snapcount_ [n=royjohns@] has joined #webgui01:29
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui01:35
-!- snapcount [n=royjohns@] has quit [Read error: 110 (Connection timed out)]01:46
-!- snapcount [n=royjohns@] has joined #webgui01:53
-!- mode/#webgui [+o snapcount] by ChanServ01:53
-!- snapcount_ [n=royjohns@] has quit [Read error: 104 (Connection reset by peer)]01:53
-!- snapcount_ [n=royjohns@] has joined #webgui01:55
-!- snapcount [n=royjohns@] has quit [Read error: 104 (Connection reset by peer)]01:55
-!- Radix-wrk [n=Jesse@] has joined #webgui01:55
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]01:56
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui01:57
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui02:03
-!- mode/#webgui [+v crythias] by ChanServ02:03
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit ["Leaving."]02:10
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui02:11
-!- mode/#webgui [+v crythias] by ChanServ02:11
-!- snapcount_ [n=royjohns@] has quit []02:20
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []02:25
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has joined #webgui02:48
-!- mode/#webgui [+v perlDreamer] by ChanServ02:48
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]02:51
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui02:55
+perlDreamerrizen, are you around?03:02
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has quit ["Leaving."]03:08
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]03:17
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui04:37
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has joined #webgui04:42
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Connection reset by peer]04:46
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui04:58
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 145 (Connection timed out)]05:06
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has quit []05:18
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has joined #webgui05:25
-!- mode/#webgui [+v perlDreamer] by ChanServ05:25
-!- snapcount [n=royjohns@] has joined #webgui05:58
-!- mode/#webgui [+o snapcount] by ChanServ05:58
+perlDreamerhey, roy06:12
+perlDreamerer, snapcount06:12
+perlDreamerI've been feeding the crickets06:12
+perlDreamerNow that you're here, I'll let you watch them for a while.06:13
+perlDreamerChirpy is a little out of tune06:13
+perlDreamerHe may be sick06:13
-!- perlDreamer [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has quit [""""]06:14
-!- snapcount [n=royjohns@] has quit []06:15
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit ["Leaving."]06:38
-!- pjesi [n=pjesi@client-86-27-130-79.winn.adsl.virgin.net] has joined #webgui08:05
-!- Hinrik [n=hinrik@dsl-228-236.hive.is] has joined #webgui09:56
-!- Radix-wrk [n=Jesse@] has quit ["Leaving"]10:32
-!- pjesi [n=pjesi@client-86-27-130-79.winn.adsl.virgin.net] has quit [Read error: 110 (Connection timed out)]14:39
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui16:10
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has joined #webgui16:52
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui17:01
-!- mode/#webgui [+v MrHairgrease] by ChanServ17:01
greghackeGood morning.17:19
greghackeOr should I say good day, all.17:19
+MrHairgreasegood afternoon ould be more appropriate in my tz17:20
greghackeI could see that.  So, I'm becoming a SQLForm user.  Wow, it's powerful but someday i'll have to figure out how to bulk-upload data through it.17:22
+MrHairgreasebulk upload?17:23
+MrHairgreaseyou mean like the file pile?17:23
greghackewell, i created a table with sqlform.  now i want to move 18000 records to it :-)17:24
+MrHairgreasei see17:24
+MrHairgreaseare these records already in a database?17:24
greghackeyep.  MySQL5 even.17:25
+MrHairgreasethat's good17:25
+MrHairgreaseso why don't you just import that table?17:25
+MrHairgreaseand let the sqlform handle all the import stuff for you17:25
+MrHairgrease(to some extend)17:26
greghackeIt's on my local machine and I am on a shared (agency hosting)17:26
+MrHairgreasebut don't you have accces to your db?17:26
greghackeYou mean my secondary database?  yes, but only through wG.17:27
+MrHairgreasei see17:27
+MrHairgreasethe login is limited to the server on which yor wg site runs?17:27
greghackeCorrect.  (it's through pb on a agency hosting plan so the only access is through/via pb)17:28
+MrHairgreasewell in that case17:28
+MrHairgreaseyou should create a script that you run locally17:28
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []17:28
+MrHairgreasewhich fetches all the records from your db17:28
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:29
-!- mode/#webgui [+o rizen] by ChanServ17:29
+MrHairgreaseand then does from posts to the sqlfrom17:29
+MrHairgreaseor you could hire some monkeys 17:29
+MrHairgreaseto type it over manually =)17:29
+MrHairgreaseand hope for the best17:29
greghackeis what I thought.  probably going to a basic dedicated soon - once i get these records up I can finally go home.  at that point, i'll upgrade to a basic and have a bit more access.17:30
+MrHairgreasecreating the script would be real easy btw17:31
+MrHairgreasejust use lwp::simple or something like that17:31
+MrHairgreaseit can handle cookies17:31
+MrHairgreasewhich you need in order to let your script login17:32
greghackethanks though.  confirmed what I thought.  it should be easy but i'm not script friendly today - too many pain meds to focus enough.17:32
+MrHairgreasethere's some code in the itransact plugin that the exact same trhing17:32
+MrHairgreaseexcept that it does some form post17:32
+MrHairgreaseinvolving credit cards stuff17:33
+MrHairgreaserather that the sql form17:33
greghackefor response from itransact responses17:33
+MrHairgreasegood luck\]17:33
greghackethanks, MrH.17:33
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has left #webgui []18:30
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has joined #WebGUI18:49
-!- mode/#webgui [+o khenn] by ChanServ18:49
@khennhappy monday!18:49
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has joined #webgui18:53
@khennwow, quiet today20:01
@khennno perlDreamer20:01
-!- perlDreamer [n=ckuskie@nat064.mxim.com] has joined #webgui20:03
-!- mode/#webgui [+v perlDreamer] by ChanServ20:03
+perlDreamerhas anyone seen preaction this morning?20:21
greghackespeak of the devil...  I haven't seen preaction20:23
+perlDreamerhe was going to help me with a bug this morning20:23
+perlDreamerI helped somebody on boards today who was using wG 5.1.220:24
+perlDreamerI assumed, falsely, that people using open source software tended to stay near the front20:24
greghackei would have assumed something like that as well.20:26
greghackedefinately quiet...21:01
+perlDreameryeah, what's up?21:01
greghackejust odd.  used to seeing something come up and create conversation21:02
+perlDreamerare you still in data normalization nirvana?21:11
greghackeOh, no.  I finally finished all 12000 records.  Now to get them up into a data table on my secondary database and run some training so I can go home.21:12
greghackefinished I guess is polite.  there will be normalization for months as they trim dupicates but it's a start.21:12
+perlDreamerdo you have a wG install > v7.1 around?21:13
greghackei think so.  if not, i can install the wre.21:14
+perlDreamercan you check to see if you have a SQLReport/Download template installed?21:14
greghackeI do not.21:15
greghackedouble checking21:15
+perlDreamerthat's what I was afraid of21:15
greghackeI was correct.  I do not have SQLReport/Download template anywhere I can locate.21:16
+MrHairgreasecan i help out perhaps?21:19
+MrHairgreasei have a svn copy handy21:19
+perlDreamerof 7.1.0 specifically?21:19
+perlDreamerI think the 7.1.0 upgrade is broken21:19
+perlDreamerit was supposed to install two new SQLReport templates21:19
+perlDreamerand they don't exist on any of 3 different wG installs that I've seen21:20
+MrHairgreasebut it doesn't?21:20
+MrHairgreasei can check that on another site21:20
+MrHairgreasewent from 6.8.6 > 7.3.221:20
+perlDreamerwe're looking for a template with assetId SQLReportDownload000121:20
+perlDreamerI see the problem21:22
+perlDreamerthe template did not include the "create" flag, so the template uploaded21:22
+perlDreamertried to create a new revision of a non-existant template21:23
+perlDreamerthat failed21:23
+MrHairgreasecan't find it21:23
+perlDreamerI guess the question now is how to fix it.21:26
+MrHairgreasefix it in the 7.3.8->7.3.9 upgrade21:26
+MrHairgreasedon't think there's another way21:27
+perlDreameryeah, you're right21:27
+perlDreamerI'll add the template to the 7.3.9 upgrade area, write up a blurb for the gotcha, and then close the bug21:49
+perlDreamerthanks for your help, guys21:49
+perlDreamerMrHairGrease, did you get my feedback in time to be useful?21:50
+MrHairgreasedidn't you get the thank you email?21:51
+perlDreamerI haven't checked my gmail account yet today21:52
+MrHairgreaseoh ok21:52
+perlDreamerbut I will right after I come back from running21:52
+MrHairgreasethanks anyway!21:52
+perlDreameryou're welcome21:52
* perlDreamer is running21:52
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has quit [Nick collision from services.]21:58
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has joined #WebGUI21:58
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has left #WebGUI []21:59
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has joined #WebGUI21:59
khennnot getting ops for some reason21:59
khennColin, are you around on IM?22:00
greghackehe went running22:01
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has quit []22:13
-!- pjesi [n=pjesi@client-86-27-130-79.winn.adsl.virgin.net] has joined #webgui22:18
ckotilis there a reference for ErrorHandler::warn ?22:37
ckotili wanna know what warn[427] means22:37
+perlDreamerckotil: I think that's the line number that generated the warning22:56
+perlDreameryou can find the error log format in the /data/WebGUI/etc/log.conf file22:56
ckotilhrm. i cant make any sense of it.23:03
+perlDreamercan you paste the whole thing?23:03
ckotil2007/02/04 04:52:12 - WARN - globalnoc.webgui.conf - WebGUI::Session::ErrorHandler::warn[427] - The URL jumbomtu.html was requested, but does not exist in your asset tree.23:03
+perlDreamerthat was probably called in WebGUI.pm23:04
ckotilApache died for unapparent reason at 4:00 UTC that day, im trying to track down why. 23:04
ckotilim hoping webgui isnt to blame.23:04
+perlDreamerme, too :(23:04
+perlDreamerWe fixed over 50 bugs last week23:04
ckotilthats awsome.23:04
+perlDreameralthough, I guess learning about existant bugs sooner is better than later23:04
ckotilwe had just migrated a site over to our webserver. www.nlr.net and they had some weird shit in there conf. i think thats to blame.23:05
ckotilbut havent found anything conclusive yet23:05
+MrHairgreasethat error just means 23:09
+MrHairgreasesomebody went to yoursiet.com/jumbomtu.html23:09
+MrHairgreaseand that page aparently does not exist in your assettree23:09
ckotili see that error all the time23:09
ckotilits just that htis one time it had an error code with it23:10
ckotili thoguht it might be something else23:10
ckotilsomething more serious23:10
+MrHairgreasedon't think so23:10
ckotilweb crawlers are usually the culprits23:10
+MrHairgreasecould be23:10
+MrHairgreasebut it's not a bad error23:10
ckotilyah. its the equivalent of a 404 error23:11
ckotilUse of uninitialized value in concatenation (.) or string at /gnoc/globalnoc/htdocs/WebGUI/lib/WebGUI/Storage.pm line 564.23:20
ckotilthats an odd one.23:20
+perlDreamerthat's probably a file without an extension23:21
ckotilwierd thing was that i saw that error in apache's error_log , and not webgui.log23:23
+MrHairgreasethat's a perl warning23:24
+MrHairgreasenot a webgui warn23:24
+MrHairgreasethey do not cause problems in general23:24
+MrHairgreasei have $a and $b23:24
+MrHairgreaseand I do $a.$b23:25
+MrHairgreaseand either one of em is undef23:25
+MrHairgreaseperl will throw that warning23:25
ckotilya i did some concatination in the custom workflow activity i created. im gonna debug it.23:25
+MrHairgreaseit's not a bug23:25
+MrHairgreaseif you do my $a  ""23:25
+MrHairgreaseno more error23:25
ckotilok, that easy enough. thanks23:26
-!- pjesi [n=pjesi@client-86-27-130-79.winn.adsl.virgin.net] has quit [Remote closed the connection]23:57
--- Day changed Tue Feb 06 2007
-!- wgGuest13 [n=wgGuest1@] has joined #webgui00:03
-!- wgGuest13 [n=wgGuest1@] has quit [Client Quit]00:04
-!- Radix-wrk [n=Jesse@] has joined #webgui01:46
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has left #webgui []01:50
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:54
-!- greghacke [n=greghack@] has joined #webgui02:33
-!- greghacke [n=greghack@] has left #webgui []02:56
-!- preaction__ [n=doug@static-72-1-5-59.ntd.net] has joined #webgui02:58
-!- preaction__ is now known as preaction02:58
-!- mode/#webgui [+o preaction] by ChanServ02:58
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui03:01
-!- mode/#webgui [+v crythias] by ChanServ03:01
Radix-wrkAnyone around?03:57
Radix-wrkWhat is the hierarchy that WebGUI uses for CS's - posts and threads - which one is which?  One is the initial message, and another is the replies attached to that message isn't it?03:59
Radix-wrkThe word thread tends to imply it's what holds multiple posts together - does that mean each post calls a thread it's parent, and the cs object is made of multiple threads?04:02
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has joined #webgui04:09
PedersenMJgood evening04:10
-!- perlDreame1 [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has joined #webgui04:16
perlDreame1radix-wrk: did you get your question answered?04:17
Radix-wrkI think my understanding is right tho, but wanted to confirm.. just added a bit of detail to a RFE in the hope it'd be understood better.  http://www.plainblack.com/rfe/request-for-enhancement/search-asset-returns-urls04:33
perlDreame1CS's directly contain Threads.  Threads only contain Posts, Posts can contain Posts04:33
Radix-wrkokey.. so that should work then04:34
perlDreame1Yeah, The bummer is that you'd have to instantiate each Asset to find its parent04:35
perlDreame1$asset->getContainer, or different specific methods04:35
perlDreame1I almost implemented that RFE for fun last weekend04:35
perlDreame1the instantiation will make it slow04:35
Radix-wrkYeah, I could understand that04:36
Radix-wrkWould make search so much better though04:36
perlDreame1It would be a nice feature04:36
perlDreame1The nice thing about the way it works now is that you don't have to scan to find which asset contains your string04:37
perlDreame1but the Find key works in most browsers04:37
@preactionwould it be possible to share user information between two wG instances by creating MySQL views?05:18
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has quit [Read error: 104 (Connection reset by peer)]05:18
-!- PedersenMJ_ [n=Pedersen@mail.icelus.biz] has joined #webgui05:18
@preactionoh, and 75 minutes for three donorware site migrations has to be some sort of new record ;)05:18
@preactionof course, it'll take them another 75 to verify everything's working aok05:19
Radix-wrkwell done :)05:22
perlDreame1preaction: probably, but I didn't know you could build views across different databases.05:25
perlDreame1of course, I know almost nothing about views anyway05:25
@preactionme neither05:25
@preactionmaybe you can't05:25
@preactionor maybe you can only if the user can access both databases05:25
PedersenMJ_Unless mysql does some really weird things, you can't build views across databases.05:26
perlDreame1it would be cool to have a MySQL guru come and help tune some of the db05:26
perlDreame1I fixed another bug today, so we're holding the line05:27
perlDreame1but I tried to dupe some of the other bugs, and I couldn't05:27
PedersenMJ_Weird, wonder where the _ after my name came from.05:27
@preactionyou had a ghost05:28
PedersenMJ_Ah, okay. I see it now. Not gonna worry about it tonight.05:29
@preactionor just /nick PedersenMJ05:29
-!- PedersenMJ_ is now known as PedersenMJ05:30
PedersenMJMan, it is so frustrating to realize how much I've forgotten about IRC.05:31
perlDreame1what you've forgotten, I've yet to learn05:33
PedersenMJI used to be on it, a *long* time ago. Around 10 years now, I think.05:34
PedersenMJThis chan is the first one that's made me willing to come back since then.05:34
perlDreame1thanks, man05:34
PedersenMJWhy? What'd I do?05:35
perlDreame1You said that this channel made you willing to come back.  That's a compliment.05:36
perlDreame1So I said thanks05:36
PedersenMJAh, I suppose. Well, you're welcome. I actually enjoy coming here. I just wish I dared to open up the IRC ports at work.05:37
PedersenMJWow, this I might consider getting: http://www.newegg.com/Product/Product.asp?Item=N82E16820233042&name=Item-%23%3A-N82E1682023304205:39
PedersenMJI'm in the market for a decent flash drive. Anybody have any specific suggestion?05:40
Radix-wrkWhy not just get a dozen 2GB ones?  so much cheaper overall05:40
PedersenMJPlanning on using it as a home directory for a live cd of some sort, so, 1 big drive is better.05:42
perlDreame1what kind of yahoo doesn't install vim on a server?05:52
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit ["Leaving."]05:53
PedersenMJThere's only one time I didn't install vim on a server, myself, and that was on an old hp-ux server which ran the entire company, and could not, under any circumstances, be allowed to fail. I didn't want to have to pipe up and say "Yeah, I was tired of using vi, so installed vim, and it was during that install the server went down."05:57
PedersenMJThat would have been a *very* bad conversation, I think :)05:57
perlDreame1yes.  You must be a very careful admin.05:57
PedersenMJNah, I'm usually pretty careless. But even I know enough to say "Nope, not gonna do it. Can't make me" when it's important enough.05:58
perlDreame1preaction: I think we need a new rule06:04
perlDreame1anything called get better return a copy of everything if you don't request a property by name06:05
perlDreame1likewise, set will not die if you don't pass it a hashref06:05
perlDreame1whaddya think?06:05
@preactionget should always return a copy, no matter what06:05
@preactionat least, imho06:11
perlDreame1I agree06:11
perlDreame1It made testing the AdSpace module easier06:12
@preactionwhy wouldn't set die if you don't pass it a hashref?06:12
perlDreame1because it's easy enough to override in the set method06:12
@preactionbut it should die, shouldn't it? if you don't give it anything to set, that's bad06:12
perlDreame1If you don't give it anything to set, it shouldn't set anything.  Not die.06:13
@preaction60 minutes since i was done that DW still can't figure out what's wrong w/ their network06:13
@preactioncarp or cluck at least then?06:13
@preactiondie maybe not, but warn at least06:13
perlDreame1my $properties = shift || {};06:13
@preactionmy $properties = shift || return; # :p06:13
perlDreame1that works too06:14
perlDreame1are you going to be around tomorrow?06:14
@preactionyes, i'm on support tomorrow06:14
perlDreame1I'm having some test coverage issues that I can't figure out.06:14
@preactionroy left me a full plate though06:14
@preactionso i'll be able to dip in and out until 5:00p, where i'll be open06:14
perlDreame1hmmm... 5:00pm your time is 3:00pm my time.06:15
@preactioni'm hoping to implement test-driven development for the DoS Alumni Q+A Live Wobject06:15
@preactionif i can convince frank06:15
perlDreame1do you mean at the API level or all the way up and down the stack?06:16
@preactionjust for the Wobject itself06:16
perlDreame1right, API and/or User Interface?06:16
@preactionprobably mostly API06:24
@preactionsome scraping for the UI06:24
perlDreame1I'd like to play with Selenium one of these days06:24
@preactionthis looks interesting indeed06:26
perlDreame1yeah.  A scriptable browser would finally give us cross-browser regressable testing06:26
perlDreame1would it be pointless to sell an ad to a website with no URL associated with it?06:33
perlDreame1I'm heading offline.06:41
perlDreame1Goodnight, guys06:41
@preactionhave fun06:41
-!- perlDreame1 [n=colink@pool-71-117-209-62.ptldor.fios.verizon.net] has quit ["Leaving."]06:41
xdangerdamn, there ain't no wre 0.7.2 for debian... dang...06:43
PedersenMJI've heard that 0.8 will do Debian, though.06:45
xdanger0.7.2 will do too.. I think.. just that nobody has build a ready to use binary of it...06:46
xdangerI just didn't notice that before I started to upgrade my debian webgui server to newest of webgui =)06:47
PedersenMJAh, see, I still do it all from source. And found a bug in testEnvironment.pl because of it.06:48
xdangerjust have to wait and see the build..06:48
xdangeryay! build failed...06:48
xdangerluckyly now, not an hour from now..06:48
PedersenMJyeah, that's not something you normally see, is somebody happy that the build failed.06:49
xdangerdoes the build require some -dev packages on debian?06:53
xdangerI had the wre setenviroment in my bash... started a fresh session and it's working...06:55
xdangerwell past the previous point06:55
PedersenMJNever did the wre, so I honestly don't know.07:00
PedersenMJI always did my own install. Next time, it's likely I switch to wre, though.07:00
xdangerchecking for zlib location... not found07:05
xdangerchecking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures07:05
PedersenMJCould be lots worse, though.07:06
xdangerI'd like to do webgui .deb:s.. but I'm lazy...07:11
PedersenMJ\Pondered doing that myself, but the gain for it would be pretty minimal, to say the least.07:12
xdangerbut think how c00l it would be to apt-get install webgui ;)07:12
Radix-wrkI second that07:14
PedersenMJIt would be amazingly cool. But if wre 0.8 handles it, and that should be on the horizon in the near future (my opinion *only*), what is there to gain?07:15
PedersenMJYep, have ordered that 16G usb drive. Coupled with vmware and a knoppix dvd .iso, I can work on my own code on any laptop I choose. And honestly say afterwards that I never put my code on work computers.07:19
xdangerI have a mac, I just install wre ;)07:19
* PedersenMJ is using a mac, too. Problem is that 1G of ram just is not nearly enough with how much I do. Email, shell, im, browser, and vmware/parallels >1G.07:22
PedersenMJAnd that doesn't even cover the smaller apps I fire up during the day. *sigh* Must get more ram.07:22
xdangerI have only 1.25G07:23
xdangerbut an old 1Ghz ibook07:23
PedersenMJanyway... passing out now. time for bed. Hopefully, tomorrow night will return to normal bedtimes.07:25
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has quit []07:25
xdangerI'm starting to hate this building for an hour and then failing on some -dev library and have to start from the begining...07:57
-!- preaction [n=doug@static-72-1-5-59.ntd.net] has quit []08:26
-!- Radix-wrk [n=Jesse@] has quit ["Leaving"]10:09
-!- wgGuest88 [n=wgGuest8@85-18-14-23.fastres.net] has joined #webgui14:48
-!- wgGuest88 [n=wgGuest8@85-18-14-23.fastres.net] has quit [Client Quit]14:49
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has joined #webgui17:12
greghackeguten tag - dobre dyen17:15
-!- preaction__ [n=doug@static-72-1-5-59.ntd.net] has joined #webgui17:59
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui18:05
-!- mode/#webgui [+v MrHairgrease] by ChanServ18:05
-!- perlDreamer [n=ckuskie@nat064.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]18:27
-!- perlDreamer [n=ckuskie@nat064.mxim.com] has joined #webgui18:30
-!- mode/#webgui [+v perlDreamer] by ChanServ18:30
-!- bopbop [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has joined #webgui18:35
-!- preaction___ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:36
-!- preaction__ [n=doug@static-72-1-5-59.ntd.net] has quit [Connection timed out]18:55
-!- preaction__ [n=doug@static-72-1-5-59.ntd.net] has joined #webgui18:56
-!- preaction___ [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]18:58
-!- snapcount [n=royjohns@] has joined #webgui18:58
-!- mode/#webgui [+o snapcount] by ChanServ18:58
@snapcountperlDreamer: are you around?18:58
+perlDreamerYes, my master.18:58
greghackeAll hail snapcount18:58
@snapcountI need a professional opinion18:59
@snapcountsee, now this is the attitude I like to see on channel18:59
+perlDreamernever have less than 60 degress of phase margin18:59
greghackeAlways set border: 0; margin: 018:59
@snapcountnever exceed the wattage rating on carbon resistors to let "the magic out"19:00
+perlDreamerThe fifth of the chord should always be played slightly sharp19:00
@snapcountok, so I'm fixing this CS shortcut bug19:00
+perlDreamerspectre seems to be having problems on PB.com19:00
+perlDreamerokay, CS shortcut bug19:01
+perlDreamerI tried to dupe it and I couldn't19:01
@snapcountI know what's causing it19:01
+perlDreamerwhat is it?19:01
@snapcountbut I don't know the best way to fix it19:01
@snapcountthe cause is our old friend19:01
@snapcountsee, the original cs defaults to a cache timeout of 1 hour19:02
@snapcountso when you set the override to change threads displayed19:02
@snapcountit still hits cache19:02
@snapcountin the real cs, when you change this property, cache is purged19:02
@snapcountbut when you set a shortcut override, it is not19:02
@snapcountbut, I'm not sure how we can make a shortcut aware of other wobjects cache19:03
@snapcountprivate cache methods that is19:03
@snapcountif only it were as simple as calling assets purgeCache method19:04
+perlDreamerwhere does CS.pm interact with the Cache?19:05
@snapcountwell, those don't directly19:05
@snapcounthold on19:06
+perlDreamerthis is a pretty far reaching bug, then19:06
+perlDreamersince it's not only the CS that suffers from this19:06
@snapcountanything that caches a property that is not cleared by the assets purgeCache method19:06
@snapcountwhich is perhaps the solution19:06
+perlDreamercan we stow a flag that tells the bypasses the local Wobject's internal cache?19:06
@snapcounteverything should be cleared by purgeCache no?19:07
@snapcountotherwise it's wasting disk space19:07
+perlDreamersounds good to me, but since they don't it always makes me wonder if it's by design19:07
+perlDreameror accident19:07
@snapcountso if saveShortcutProperties or whatever called the assets purgeCache method19:07
@snapcountthen as long as each asset cleaned up all of its cache in purgeCache19:08
@snapcountit would be fixed for all19:08
+perlDreamerdoes that mean the cache could be cleared if there were alternating views to a Wobject19:08
+perlDreamerWobject, Shortcut (clear), Wobject, Shortcut (clear again)19:08
@snapcountI don't follow what you mean19:08
+perlDreamerwell, the cache is meant to store views by a user so they don't have to be regenerated again19:09
+perlDreamer(sorry, that was pedantic)19:09
+perlDreamerif the cache is cleared when the Wobject is viewed through a shortcut, it would affect the usefulness of the cache.19:09
@snapcountno no19:09
@snapcountdon't clear it everytime it's viewed19:09
@snapcountclear it everytime the shortcut overrides are saved19:10
@snapcountcuz that means a property has essentially changed19:10
@snapcountits only changed for that "view" of the asset19:10
@snapcountso everyone will suffer each time there is an edit19:10
@snapcountjust like they do if you edit the original19:10
@snapcountperhaps I'm clear as mud....19:11
+perlDreamerno, I think I'm getting it19:11
@snapcountwhich part is fuzzy?19:11
+perlDreamerand I'm still partially confused because I tried to dupe that bug and couldn't19:11
@snapcountoh I can tell you how to dup19:11
@snapcountcreate a cs, commit it19:11
@snapcountadd two posts19:11
@snapcountcreate a shortcut of the cs19:11
@snapcountoverrides tab, change maxthreads per page to 119:12
@snapcountthe shortcut still shows 2 per page if admin is off19:12
@snapcountclear cache or edit visitor cache timeout of cs to 1 second19:12
@snapcountit works19:12
+perlDreamerI must have skipped a step or something19:13
@snapcountthe cs handles this by clearing cache everytime editSave is called19:13
+perlDreamerso the Shortcut should reach down into it's Asset and flush his cache.19:13
@snapcounteverytime the overrides save method is called19:14
@snapcountbecause we have no way of knowing what properties are cached down below19:14
@snapcountif any19:14
preaction__morning gentlemen19:14
@snapcountbut the asset by the same token also has no knowledge19:14
preaction__double underscore?19:14
-!- preaction__ is now known as preaction19:14
-!- mode/#webgui [+o preaction] by ChanServ19:14
@snapcountso it will just keep using cache because it doesn't know it's being viewed by a shortcut19:15
@snapcountso find the flaws here19:15
+perlDreamer1) CS's purgeCache is broken19:15
@snapcountI'm talking myself into it too quickly19:15
+perlDreamerit sounds good19:15
+perlDreamerthis is the definition of OO here19:15
+perlDreamer"You go and clear yourself"19:15
+perlDreamerbut purgeCache clears the wrong stuff19:16
@snapcountyeah that's the idea19:16
@snapcountyou got it19:16
@snapcountwell, I'm not sure that overrideSave calls purgeCache on the shortcutted asset as well19:16
+perlDreameror rather, it doesn't clear enough19:16
@snapcountso that's #219:16
+perlDreamerwe can trace whether or not overrideSave calls purgeCache19:17
@snapcountok... I'll see how this works19:17
@rizenhow's it going everybody?19:18
+perlDreamerit's good19:18
+perlDreamerAre you out of accounting purgatory yet?19:18
@rizenyes, but a whole new kind of hell caught up with me on sunday19:18
+perlDreameryou need to get out W2's and 1099's sometime soon19:19
@rizenone of my closest friends died unexpectedly19:19
+perlDreameroh, no!19:19
+perlDreamerdude, I'm sorry19:19
+perlDreamerwhat happened?19:19
greghackeIf you need anything, I believe we are all here for you.19:19
@rizenshe went into the hospital for a routine thing, and died due to complications19:19
@rizenthe shittiest part is that she was only 3119:20
+perlDreamerthat's young19:20
@rizenand she has a 1 year old daughter19:21
greghackesometimes there is just nothing to say.  If you or they need anything, we are your community.19:22
@rizenyou are my community for something else, this is something i must face alone19:22
@rizenanyway...i just stopped by the irc channel to let you guys know i won't be here much this week, if at all19:23
+perlDreamereven without this community, you're not alone.  You have Sarah.19:23
+perlDreamerhang tough, dude, we'll be thinking of you19:23
@rizenthanks. have a good week. ttyl19:24
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []19:24
@snapcountwell it looks like this patch fixes the problem19:25
@snapcountonly two lines of code required19:25
+perlDreamersnapcount: cool!19:25
+perlDreamerwant to fix another quick one?19:25
@snapcountwere you able to duplicate it?19:25
@snapcountstill no?19:25
+perlDreamerbut this is on Mozilla 1.4 still19:25
+perlDreamerI don't trust it for caching stuff19:26
@snapcountwell this should all be server side cache19:26
@snapcountnow I'm skeptical of this19:26
+perlDreamerYeah, I followed bopbop's steps exactly and I had no problems with the override taking effect.  But this old browser is very suspect.19:26
+perlDreamersometimes it caches when it shouldn't19:27
@snapcountso everytime you change the override property for maxthreads, the shortcut immediately shows the correct number with admin off?19:27
+perlDreamerwith everytime being 1, yes19:27
@snapcountyou don't have cache disabled in the config file do you?19:28
+perlDreamerno, type = fileCache and disableCache=019:28
@snapcountwell foo19:29
@snapcountcan you try it on demo?19:29
+perlDreamerI only have 1 browser here at $dayJob19:29
@snapcountI want to make sure I'm not fixing something that isn't broken19:29
+perlDreamerI'll try to set it up on a demo site.19:29
@snapcountso to go a bit off topic19:30
@snapcountmy first clinical is in 10 days19:30
@snapcountto say I'm nervous would the understatement of all time19:31
+perlDreamerwhat is a clinical?19:31
@snapcountfirst time you get to practice on real humans19:31
greghackeit's fun!19:31
@snapcountto not sugar coat things19:32
@snapcountthat's essentially what it is19:32
+perlDreamerI thought you were studying business?19:32
@snapcountthat's this fall19:32
@snapcountI'm trying to get into a fancy pants private university19:33
@snapcountso I decided to do this to better man kind19:33
greghackemy orto teaches at OSU Medical.  He has me come in and work with students for clinicals - they run the gamut on me and tell me how bad off i am.  it's fun!19:33
@snapcountsave the world!!!!!19:33
greghackewhere you going?19:33
greghackeI did the save the world deal (no cheerleaders though)  it can be painful.19:33
@snapcountStetson University is where I'm trying to get in19:34
@snapcountI'll be in debt up to my (bleep)19:34
+perlDreamerbleep is deep19:34
@snapcountabout 30K / year19:34
greghackever' deep.19:34
@snapcountonly two years left though19:34
greghackelooks nice though.  i spent a lot on college too.19:35
+perlDreamerwe need a library of packages for easily debugging wG19:36
+perlDreamerI'm starting to get tired of making Yet Another Asset19:36
@preactionsnapcount: is there any debug code left on gama's server about their listserv bugs (the outlook sending replies as attachments thing?)19:36
@snapcountnot sure home skillet19:37
@preactioni'll insert my own then19:37
@snapcountrizen has been running that circus as of late19:37
greghackecicrcus.  heheh.19:37
@snapcountperlDreamer: when we move to exception handling it will be very easy19:37
+perlDreamerthat would have caught the template insertion bug I fixed yesterday19:38
@snapcountcause we can have different types of exception objects19:38
@snapcountso one for debug19:38
@snapcountso could you dup on demo? or still no dice19:39
+perlDreamerstill trying to set it up19:39
* snapcount learns some patience19:39
+perlDreamerit's an old browser running on a 300 MHz UltraSparc behind a 1MHz pipe19:39
+perlDreamerIt takes 45 seconds to add a Post.19:40
@snapcountI must admit that all of the grotesque human disfiguration has evolved from shear terror and nausea to fascination19:40
greghackepatience, grasshopper19:40
@snapcountbut it's all in the book so I'm sure the real deal will start the cycle all over again19:40
greghacke"the book"?19:40
@snapcountand my clinical dates are on days that the population of the city increases from 60,000 to about 500,00019:41
@snapcountso lots of trauma likely19:41
greghackespring break?19:41
* perlDreamer makes a shortcut19:41
@snapcountgreghacke: "Emergency: Care and Transportation of the Sick and Injured"19:41
@snapcountNational Law of the Land for EMTs19:42
@snapcountbike week19:42
@snapcountrace week19:42
@snapcountand spring break19:42
greghackeOh, I know it.  I played that for a bit but we got to throw out the manual (the army could care less about a number of items in the book)19:43
@snapcountour instructors keep telling us19:43
@snapcountthere's the way you'll be taught and the way you'll do it19:43
@snapcountbut every job is like that19:44
@snapcountthere's the book way and the way it's done in the real world19:44
@snapcountperlDreamer: sweet19:44
greghackeonly rule I hever found to stick through is "only point the weapon where you don't mind the bullets going"19:44
@snapcountthat sounds like a good one19:44
+perlDreamersnapcount: here's the site http://demo.plainblack.com/demo1170783047_18/home19:44
@snapcountwe don't get weapons19:44
* snapcount puts on a pouty face19:45
+perlDreamerstandard auth19:45
@snapcounthow many posts should I see on the home page?19:45
@snapcountI see four19:45
greghackeI see 4.19:45
@snapcountis that the shortcut or the real cs?19:46
greghackein FF
+perlDreamerthat's the real one19:47
+perlDreamershortcut is on the getting started page19:47
@snapcountnegative ghost rider, the pattern is full19:48
@snapcountdid you commit ze shortcut?19:48
@preaction... so Microsoft outlook is sending XML as HTML 4.0 Transitional...19:51
greghackewell...  that depends on which version of outlook you use.19:55
@preactionnevermind, it's using some of those wonderful conditional comments to block the xml from those mail agents that would not understand19:56
+perlDreamersnapcount: yes, it's committed19:57
+perlDreamerand I see what I may have missed19:58
+perlDreamerI turned off admin and saw that the shortcut still showed 419:59
+perlDreamerI didn't go back and check the original19:59
@snapcountso you duped it?19:59
@snapcounteven on dev?19:59
@snapcountor just demo19:59
+perlDreamerjust demo19:59
+perlDreamerIf you want me to dupe it on dev it will take a while20:00
@snapcountit's ok20:00
@snapcountI'm committing what I have20:00
@snapcountif you can test the fix just for good measure that would be awesome20:00
@snapcountbut it's not a big deal20:00
+perlDreamerI might deploy the asset from the demo and try it later today20:00
+perlDreameris there any chance I can get an updated post.log/colin.log from PB's /tmp directory?20:01
@snapcounthow are we sending it to you20:01
+perlDreamervia email to my gmail account20:02
@preactiongreghacke: i'm about to try again on the www_titangames_com extra databases20:13
greghackethanks.  i sent you a few copies.  not sure which is best.20:13
@preactionimma try the small one first20:13
greghackegood idea ;)20:13
greghackewent crawling through for data20:15
greghackeintegrity issues20:15
@preactionthe mysqldump headers are missing, but i wouldn't think that would cause a problem20:16
@preactionlet me givver a go first, then if it fails we can decide how to proceed20:16
greghackeexcellent.  thank you.20:17
@preactiongreghacke: yeah, i'm going to need the dumps with the full mysqldump headers20:21
@snapcountthe problem yesterday was that the file abrubtly ended20:21
@snapcountin the middle of an insert statement20:21
greghackeok.  passing them to doug@... now20:21
@preactionlet me try one more thing20:21
@preactiongot it20:23
@preactionit's all there20:23
greghackeI guess that does it.  now to bust through and get my code in place.  thank you muchly20:25
greghackenow to get SQLForm to run against it.20:31
greghackeif you get a chance, can you pop through and see if I am getting an error somewhere.  if I attempt to create an sqlform on the tgproducts table fails.20:34
-!- greghacke [n=greghack@c-24-23-66-147.hsd1.mi.comcast.net] has quit ["Trillian (http://www.ceruleanstudios.com"]20:36
+perlDreamerhas anyone tried out a redirect asset recently?20:36
@preactiondoesn't work like it used to, because how it used to work was apparently a bug20:37
+perlDreamerso how is it supposed to work now?20:37
@preactionif you go directly to that URL, it redirects you to another URL20:38
+perlDreamerif you view it on a page, it doesn't20:38
@preactionthat's not directly that URL20:38
@snapcountthat's retarded20:38
@preactioniirc, it was causing more problems the way it was20:38
+perlDreamerI gotta go with the Floridian on this one20:39
@preactionpeople would add multiple redirects to a single page, then what?20:39
+perlDreamerfirst one wins?20:39
+perlDreamerlast one wins?20:39
@snapcountjs message: "You're retarded"20:39
@preactiona redirect should have no physical presence, and should only affect the URLs it's configured to affect20:39
@snapcountactually a real solution would be to have it check for the existance of a redirect when it's added20:40
+perlDreamerif scalar $self->getParent->getChildren(["children"],{getOnlyRedirects}) > 1 then croak "Only 1 per page, please".20:40
+perlDreamernow that was scary20:40
@snapcountkind of like how sqlform does20:40
@snapcountthe real use to a redirect in wG was you could have /home, work on it as admin but redirect everyone else20:41
@preactionuh... so version tags don't fix that?20:42
+perlDreamerthey do now20:42
@snapcountyeah they do20:42
@snapcountI'll think of another reason hold on20:42
+perlDreamerEveryone was told that you couldn't have bare assets as pages anymore20:43
+perlDreamerLayouts are recommended everywhere20:43
+perlDreamerbut that breaks the redirect asset20:43
@snapcountyou could redirect based on a group20:43
+perlDreamermight as well remove it from the system.20:43
@snapcountif who can view is "farkers" then farkers goto /home/farkers instead of /home20:43
@snapcountbut everyone else sees home20:43
+perlDreamerthat sounds like the WebGUI chains thing20:44
@snapcountbut you could do that with a redirect before20:44
@snapcountnow you would get perms error20:44
@snapcountbut the #1 reason is b/c that's the way it used to work and change is bad and everything should always be the same always just because20:45
-!- wgGuest40 [n=wgGuest2@rozeboom.dedierenarts.com] has joined #webgui20:46
@preactionsnapcount: that webstats4.plainblack.net/?config=www.cascadesystems.net issue remains after rebuilding the stats... i don't have a damned clue20:46
@preactionthe only thing i can see is to generate the stats for this site as a cronjob20:46
-!- wgGuest40 [n=wgGuest2@rozeboom.dedierenarts.com] has quit [Client Quit]20:48
@snapcountahh grasshopper20:49
@snapcountstill fixing the symptom20:49
@snapcountit may be a good stop gap20:49
@snapcountbut we need to know why it's happening and hopefully someday a fix20:50
@preactioni still remain a "cure the symptom cure the disease" type of person20:50
@snapcountwhat if it suddenly happens to everyone?20:50
@preactionthen we're fucked20:50
@snapcountfind the root cause is my advice20:50
@preactionso we run the cronjob for everyone20:50
@snapcountdo with it as you will20:50
@snapcountyou're fun to work with20:51
@snapcountI worked with guys like you in engineering too20:51
@preactioni'm worried about where you're going with this :p20:51
@snapcountstuff would burn up and they would change to ceramic resistors20:51
@snapcountit was great fun20:51
@snapcount"oh... throw a 20W wire wound on there..."20:51
@preactioni'm very action-oriented, trial-and-error20:52
@snapcountgood times20:52
@preactionthis works? use it!20:52
+perlDreamersnapcount: never exceed the wattage rating on carbon resistors to let "the magic out"20:52
@preactiondoesn't work now? throw it out!20:52
@snapcountof course, the resistors stopped incenerating20:52
@snapcountand instead the traces seperated from the PWB20:52
+perlDreamernow that's funny20:52
@snapcountI thought so20:52
@preactionfor those who know what the hell you're talking about20:53
@snapcountIf only you could "let the smoke out" of software some how20:53
@preactiondude, do not open awstats.pl, trust me20:53
+perlDreamerhe's saying that masking symptoms only allows bad design to continue20:53
@preactionyou will need eye bleach20:53
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has quit ["leaving"]20:53
@snapcountyeah I looked20:53
@snapcountit's a rats nest20:53
+perlDreamerkind of like why we need to start using PBWG about 1.5 years ago20:53
@snapcountmore like 10 years ago20:54
@preactionwe can't fix the core of awstats :p20:54
@snapcountwhen it was but a twinkle in JTs eye20:54
@preactioncould try... i swear it'll vomit on it20:54
@snapcountvomit is cool20:54
+perlDreameractually, vomit is about 95 degrees F20:54
+perlDreamerthat's quite warm20:55
+perlDreamerback to EMS school, dude20:55
+perlDreamereither that, or hold a 1 year old for long enough20:55
@snapcountthe coolest part is learning to not be distracted20:56
@snapcountthey get all dressed up with makeup20:56
@snapcounthave an axe in the forehead20:56
+perlDreamerthat will make your mascara run20:57
@snapcountwe show up and do an assessment and we have to ignore the axe20:57
@snapcountthere are more things that are of higher importance20:57
@snapcountthat's hard to do20:57
+perlDreamerlike people who are still living?20:57
@snapcountor a compound femur fracture20:57
@snapcountyeah it's all makeup and silicon20:58
@snapcountor latex even20:58
@snapcountfake blood20:58
@snapcountand they moan and scream20:58
@snapcountpretty good at acting really20:58
@snapcountall you can think about is "Good God, his femur is poking out"20:59
@snapcountand then they fail you because the person is breathing 6 times a minute and going into shock20:59
@snapcountwhile you bust out the traction splint20:59
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui21:00
@snapcountnext bug for me21:00
+perlDreamertry to tackle the statistics/proxy one21:01
+perlDreamerit stumped me21:01
@snapcountdoes an icalendar feed generate an ics file?21:04
@snapcountok cool21:04
@snapcountfound one to test with me thinks21:04
ckotilmore to test if you want21:05
+perlDreamerckotil: know any good SOAP servers?21:05
ckotili do not. i can ask around my group tho.21:05
+perlDreameruh, I mean a public SOAP server that I could test the WSClient against21:07
ckotilyeah, we have one.21:09
ckotilim getting the url now.21:09
ckotilhttp://noc.net.internet2.edu/i2network/network-status/visible-network/visible-network-toolset.html is the data21:09
ckotillink http://vn.grnoc.iu.edu/Abilene/raw-data.html21:09
@preactionsnapcount: i'm getting somewhere on this verdamnt thing!21:12
+perlDreamerpreaction has grokked awstats.pl21:13
@preactionit works without the frameset, the main page21:14
@preactionhttp://webstats4.plainblack.net/?config=www.cascadesystems.net&framename=mainright <- works fine21:14
@snapcountI found the problem with calendar feeds21:15
@snapcountCouldn't execute operation : WebGUI::Operation::Workflow::www_runWorkflow. Root cause: Undefined subroutine &WebGUI::DateTime called at /data/WebGUI/lib/WebGUI/Workflow/Activity/CalendarUpdateFeeds.pm line 215.21:16
@snapcountthat's part of it anyway I'm guessing21:16
@snapcountoh yeah21:17
@snapcountthat would definitely cause a problem21:18
@preactioni must not've updated SVN, and I can't right now because i'm fixing another (unreported) part of the calendar21:18
* perlDreamer goes afk for a while21:20
@snapcountand yahtzee21:21
@snapcountI see we're doing some work tomorrow21:22
@snapcountthe 7th on the GIGAPOP21:22
@snapcountone problem with this though preaction 21:22
@snapcountif the calendar is uncommitted21:23
@snapcountthis will blow up21:23
@snapcountbecause the calendar object fails to instanciate21:23
@preactionthe workflow should check for that then21:23
@snapcountline 30421:23
@snapcountI'll add an error message21:24
@preaction... it works every time as long as i have apache use the DirectoryIndex instead of explicitly specifying "awstats.pl"21:27
* snapcount is in SQL hell again22:07
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has joined #WebGUI22:47
-!- mode/#webgui [+o khenn] by ChanServ22:47
@khennColin, can you pop into IM for a bit?22:47
@khenngrassy ass22:50
-!- bopbop [n=kristi@68-114-216-78.dhcp.mdsn.wi.charter.com] has left #webgui []23:21
+perlDreamersnapcount: you still in the netherworld of SQL?23:28
@snapcountno I fixed it23:30
+perlDreamerwe need exceptions23:30
@snapcountit was the matrix bug23:30
@snapcountwho is we and what do they need?23:31
+perlDreamerwe need to be able to throw and catch exceptions in wG.23:31
+perlDreamerI'm thinking of the SQL Form edit bug23:31
@snapcountoh yeah23:31
@snapcountI have a temporary solution if you want to put it in while I'm at class23:32
@snapcountso simple it's genius23:32
+perlDreamerwhat is it?23:32
@snapcountadd a param to DatabaseLink->getList23:32
@snapcountthat only returns valid connections23:32
+perlDreameris there a valid connection checker in there somewhere?23:32
@snapcountthen in that method, make the connection to each one and test for undef23:32
@snapcountjust do WebGUI::DatabaseLink->new($session, $id);23:33
@snapcountit will return undef if it's not23:33
@snapcountfollowing so far?23:33
+perlDreameryes and no23:33
+perlDreamergetList does not return objects23:33
@snapcountso if it's not defined23:34
@snapcountdelete $list->{$id};23:34
+MrHairgreasethat prolly won't work23:34
+MrHairgreaseb/c wg::bdl->new23:34
+MrHairgreasewill throw a fatal23:34
+MrHairgreaseif i'm correct23:34
@snapcountit throws a warn23:35
@snapcountand returns undef23:35
@snapcountat least in HEAD it does23:35
@snapcountperlDreamer: so, in SQLForm when he builds the list23:36
@snapcountpass the new param23:36
@snapcountand his error handling will work as it does now23:36
+MrHairgreasei thoiught i wdidn't work b/c WebGUI::SQL->connect($self->session,$dsn,$username,$identifier); throws fatal23:36
@snapcountso WebGUI::DatabaseLink->getList($session,{onlyValidConnections=>1});23:36
+perlDreamerMyHairGrease: DatabaseLink wraps that inside an eval to catch that very problem.23:37
@snapcountyeah but I don't think it works23:38
@snapcountand it's not DatabaseLink->new, it's WebGUI::SQL->connect we have to use to test the connection23:38
@snapcountfor now we need to fix the way I originally suggested23:38
@snapcountuntil we have exception handling23:39
@snapcountchange WebGUI::SQL->connect to not throw a fatal23:39
+MrHairgreasethe prblem is that the fatal gets thrown by connect23:39
@snapcountand change WebGUI::Session->db to throw a fatal if SQL->connect returns undef for connectionId 023:41
@snapcountthat way we can trap errors like we talked about23:41
@snapcountand we'll still have a fatal if the webgui database is borked23:42
@snapcountor the connection to it23:42
@snapcountclear as mud?23:42
@snapcountping pong23:43
* snapcount makes the funny noises a modem makes23:43
@snapcountyes is a question?23:43
+perlDreamerwasn't sure if you were talking to me or to MrHG23:44
@snapcountthis is for you23:44
+perlDreamerokay, I'll try to wrap up with Frank, then go back and read what you wrote.23:44
@snapcountI'll restate everything so it makes more sense23:44
@snapcountin order23:44
@snapcountchange WebGUI::Session->db to throw a fatal if WebGUI::SQL->connect returns undef23:45
@snapcountb/c that method gets the default db connection and should throw a fatal if it doesn't work23:46
@snapcountchange WebGUI::SQL->connect  to not throw a fatal like it does now... it should be a warning23:46
@snapcountnow, we can add the parameter to WebGUI::DatabaseLink to validate the connections 23:47
@snapcountand add the code to do so23:47
@snapcounti.e. delete $list->{$id} unless WebGUI::SQL->connect(...);23:48
+perlDreamerany side effects to the SQL change?23:48
@snapcountI don't see any23:48
@snapcountwe still get fatals for the webgui db23:48
@snapcountand we can trap errors if other db links are fooked23:48
+perlDreamerin order to test this, I need to create a DatabaseLink with bad DSN and make sure it dies well?23:49
@snapcountlastly, the sql form edit method calls DatabaseLink->getList so change it to pass in your new param23:49
@snapcountjust create one with some properties23:50
@snapcountand no db23:50
@snapcountor for an exisiting db with wrong credentials23:50
@snapcountthen you can fix it quick to test it when all is correct23:50
+perlDreamerso this fix will prevent the DatabaseLink from being listed in the drop down, but will not prevent someone from breaking a DatabaseLink that used to work fine.23:51
@snapcountbut it doesn't do that now either23:52
@snapcountunless you count the fatal thrown when something tries to use it as preventing it23:52
@snapcountwe could easily do an RFE for the DBList form control that shows a status after you add this little nugget as well23:52
@snapcountor the operation rather23:53
+perlDreameryeah, the operation would be better23:53
* perlDreamer hums the Salvation through exception song23:53
@snapcountto do that though would require to test the connections in the operation23:54
@snapcountwhich is code duplication23:54
@snapcountwell, you understand where I'm going with it all23:54
@snapcountperhaps you can implement it cleaner23:54
+perlDreamergetValidListOfObjects is our end goal, but we need to have a bugfix for now23:54
@snapcountI think we will see some exception handling soon... maybe even 7.423:55
@snapcountonce it's in place globally and we have the objects, etc23:55
@snapcountthis will all be redone anyway23:55
@snapcountthe other thing too23:56
@snapcountif the handle returned by SQL is undef when something is borked23:58
@snapcountsince the fatal is gone23:58
@snapcountyou can test for that in the place where the sql form tries to use the connection as well23:58
@snapcountwhich will handle the case of someone breaking the link after the fact23:59
@snapcountthought of a problem with this23:59
--- Day changed Wed Feb 07 2007
@snapcountall of the code that uses the connections expects that their is always a valid object00:00
@snapcountnone of them test it00:00
@snapcountI'm thinking maybe this is not a good idea00:01
@snapcountwe should just wait and fix this when we have exception handling00:02
-!- snapcount is now known as snap_away00:02
+perlDreameri agree00:15
+perlDreamerckotil: Is there a SOAP method call for that particular service?00:39
-!- Radix__ [n=Radix@] has quit ["Windows doesn't have users, it has hostages."]00:48
-!- Radix__ [n=Radix@] has joined #webgui00:55
+perlDreamerpreaction: I'd like to close your i18n bug01:39
+perlDreamerThe Calendar itself is pretty well i18n'ed01:39
@preactionabout the Calendar?01:39
@preactioni think he might've meant the Events01:39
+perlDreamerAnd rizen has said that template i18n will be held off for a separate project on 7.401:39
+perlDreamerif he meant Events, he can refile it01:40
@preactionthat and the stuff in Events that isn't i18n is in a template01:40
@preactionif he would have been specific....01:40
@preactionoh wait, maybe the Feeds stuff isn't i18n01:40
@preactionin fact, i'm pretty sure it's not01:40
@preactionall that raw javascript... *shudder*01:40
+perlDreamerthat needs to be a Snippet or call to extras01:41
@preactioni know01:41
@preactioni've been trying to make it more generic that the routines can be useful elsewhere01:41
+perlDreamerI only see 1 or 2 strings that could be i18n'ed01:42
+perlDreamerand by default, none of them are in the other templates01:42
+perlDreamerthat use javascript01:42
@preactionjust the admin console01:42
@preactioni guess i'm not understanding01:43
@preactionnone of them are) (in the other templates)?01:43
+perlDreamermost of the other parts of wG that use javascript do not have i18n labels in the javascript01:43
@preactionstupid prepositional phrases01:43
+perlDreamer$perlDreamer->eod && $tired01:44
@preactionif he were more specific, we could track down where there isn't i18n01:44
+perlDreamerit's pretty easy to find where there isn't i18n.01:45
@preactionand i think i'm doing locale wrong, i think the user profile or the language has a locale field, when it's in the i18n file01:45
@preactioni defer to your knowledge then01:45
@preactionsince i seriously don't know sometimes what should or shouldn't be i18n01:45
+perlDreamerideally, any user displayed string would be i18n'ed01:45
+perlDreameranything going to the logfile is always in english01:45
+perlDreamertwo weeks ago, I started i18n'ing the templates exhaustively.  JT asked me to stop and work on bugs01:46
+perlDreamerand because he has a new idea for i18n'ing templates in 7.401:46
+perlDreamerso if we can cover the code well, then the templates will be fixed in 7.4.001:46
@preactionsounds good01:47
+perlDreamerhis new solution for i18n labels is like 15% faster than what we're doing now01:47
+perlDreamerdid you ever arrive at a solution that you liked for Event/Calendar help?01:48
+perlDreamerbecause I'm stumped on bugs, I'm not supposed to i18n templates and I have no work for $dayJob01:48
@preactionsorta/kinda, it works but i don't know how to make it do what i want01:49
@preactionlike just make an article for "How to do feeds"01:49
@preactionlet me SVN what i have01:49
+perlDreamerto just make an article, just create an entry with body and title tags.01:53
+perlDreamerthen make i18n entries for each one01:54
+perlDreamerfor an example, look in Help/WebGUI.pm for the glossary or 'webgui tips' entries01:56
-!- Radix-wrk [n=Jesse@] has joined #webgui02:05
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []02:10
-!- perlDreamer [n=ckuskie@nat064.mxim.com] has quit [""""]02:46
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui03:54
-!- mode/#webgui [+v crythias] by ChanServ03:54
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has joined #webgui04:48
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has quit [Read error: 60 (Operation timed out)]04:48
PedersenMJgood evening.04:48
Radix-wrkonly just mind you.. 12.01pm ;)04:59
Radix-wrkHow goes the theme creation?04:59
-!- snap_away [n=royjohns@] has quit []05:32
PedersenMJSorry for idle, in other windows. Haven't done anything since Friday. Been working (before that) on my submission for the current contest, and will (possibly) get back to that tonight after I finish up some work on my Jabber server.05:53
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit ["Leaving."]07:04
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has quit []07:20
-!- Radix-work [n=Jesse@] has joined #webgui08:07
-!- Radix-wrk [n=Jesse@] has quit [Read error: 131 (Connection reset by peer)]08:07
-!- snapcount [n=royjohns@] has joined #webgui09:02
-!- mode/#webgui [+o snapcount] by ChanServ09:02
-!- snapcount [n=royjohns@] has quit []09:09
-!- Radix-work [n=Jesse@] has quit ["Leaving"]09:52
-!- Irssi: #webgui: Total of 6 nicks [1 ops, 0 halfops, 0 voices, 5 normal]11:10
xdangerpreaction: yo, is there a way to send email from dataform in plaintext still?11:11
xdangerI upgraded and clients aren't happu11:11
-!- nisha [n=chatzill@] has joined #webgui13:39
nishahi all13:39
nishaanybody home!13:39
nishawas wondering if nyone can share someinsight about google sitemaps13:39
-!- wgGuest29 [n=wgGuest2@85-18-14-23.fastres.net] has joined #webgui13:40
-!- wgGuest29 [n=wgGuest2@85-18-14-23.fastres.net] has quit [Client Quit]13:41
Radix__I might be able to help out with Google sitemaps.. I wrote the how to for it afterall:)14:19
Radix__Anyways.. ask your question, I'll reply when I get back.. off to watch some tv :)14:32
nishai wanted to know how google crawl data for site14:42
nishaand does he really crawl for deep web 14:42
nishai have a site where many of the links are not direct but they are through javascript function call14:43
nishadoes google will help me crawling data and can i use google for my site (for search purpose)14:44
Radix__that's what the sitemap is for - you tell google what pages you have, and when they were last updated14:45
nishai tried crawling my web site on google sitemap14:46
nishabut its not crawling the pages which are not directly links from any where but linked through javascript functions14:47
nishai mean i tried creating a sitemap.xml file14:48
Radix__are you using webgui?14:49
nishagoogle sitemap tool14:49
nishahttp://www.xml-sitemaps.com/ 14:49
nishathis is site from where i have created that xml14:49
Radix__You're not actually using webgui tho are you?14:50
nishaif u know from where i am suppose to create the xml or 14:50
nishacan u please help me out14:50
nisha i am new to this14:50
nisha please let me know what all i need to do 14:50
nishamay be u can guide for this, if u have time 14:51
Radix__I used webgui to build my sitemap file14:52
nishacan u tell me the site address for webui14:52
nishaand after creating sitemap (file), what i need to do ?14:52
Radix__you need to register it with google14:53
Radix__ie. signup to google sitemaps and register your site14:53
Radix__and www.webgui.org14:53
Radix__that's what I used to generate the final sitemap file, though I used webgui (and the information in my How To) to generate the initial sitemap.xml file14:54
Radix__I can only presume you googled google sitemap and got my howto on the wiki to get here :)14:55
nishathanks for the site names14:55
nishabut i have tried this14:56
nishasome how this is enable to crawl my site14:56
nishashowing me 404 error, while i can access it from my browser14:56
nishau there?15:02
-!- wgGuest10 [n=wgGuest1@85-18-14-23.fastres.net] has joined #webgui15:07
-!- wgGuest10 [n=wgGuest1@85-18-14-23.fastres.net] has quit [Client Quit]15:07
-!- Radix__ [n=Radix@] has quit [Read error: 131 (Connection reset by peer)]15:11
-!- Radix__ [n=Radix@] has joined #webgui15:11
-!- nisha [n=chatzill@] has quit [Read error: 131 (Connection reset by peer)]15:13
-!- nisha [n=chatzill@] has joined #webgui15:13
nishahey ny body there?15:14
-!- nishak [n=chatzill@] has joined #webgui15:19
-!- nisha [n=chatzill@] has quit [Read error: 131 (Connection reset by peer)]15:23
-!- snapcount [n=royjohns@] has joined #webgui15:29
-!- mode/#webgui [+o snapcount] by ChanServ15:29
-!- nishak [n=chatzill@] has quit [Read error: 145 (Connection timed out)]15:37
-!- nishak___ [n=chatzill@] has joined #webgui15:40
-!- nishak___ is now known as nishak15:40
-!- nishak___ [n=chatzill@] has joined #webgui15:43
-!- nishak____ [n=chatzill@] has joined #webgui15:45
-!- nishak___ [n=chatzill@] has quit [Read error: 131 (Connection reset by peer)]15:47
-!- nishak_____ [n=chatzill@] has joined #webgui15:50
-!- nishak [n=chatzill@] has quit [Read error: 145 (Connection timed out)]15:51
-!- nishak_____ is now known as nishak15:51
-!- nishak____ [n=chatzill@] has quit [Read error: 54 (Connection reset by peer)]15:52
-!- nishak_____ [n=chatzill@] has joined #webgui15:53
-!- nishak [n=chatzill@] has quit [Read error: 145 (Connection timed out)]16:00
-!- greghacke [n=greghack@cpe-71-72-101-120.columbus.res.rr.com] has joined #webgui16:46
greghackepreaction: tables appear to have posted but it appears that I cannot access the tgproducts through sqlform (sql reports work fine) the only difference between the two is the declaration of a key.  If you get a chance, can you remove the key from the column productId (it lists as MUL but there is only one)16:50
greghackeactually, when I tried to use SQLForm, it appears to have broken my tginventory table.16:52
-!- wgGuest32 [n=wgGuest3@85-18-14-23.fastres.net] has joined #webgui17:08
-!- wgGuest32 [n=wgGuest3@85-18-14-23.fastres.net] has quit []17:15
-!- nishak______ [n=chatzill@] has joined #webgui17:31
-!- nishak______ is now known as nishak17:31
-!- nishak_____ [n=chatzill@] has quit [Read error: 145 (Connection timed out)]17:40
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui17:46
-!- mode/#webgui [+v MrHairgrease] by ChanServ17:46
greghackesounds like a good day18:18
ckotilso far so good.18:19
ckotilwe got some snow yesterday and i was fortunate enough to find a huge parkinglot at a mega church to donuts and drift in my wrx.18:21
ckotilit was the most fun ive had in a while.18:21
greghackeI drove from southwest michigan to central ohio - a 4 hour drive - that took 12 hours.18:22
ckotilyeah, my mom said it took her 5 hours to get home from work. normally a 30 minute drive from cincinnati just into Indiana.18:22
greghackeyep.  is terrible out still.18:22
ckotili made it home in 10 minutes, normally takes 5 minutes. ;]  i took side roads home.18:23
ckotilall wheel drive is a godsend18:23
greghackei was fine on the drive until 2 miles out - then the slip had me all over the road.18:23
ckotilhow come all my version tags GROUP TO USE default to turn admin mode on ?18:46
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit ["Leaving."]19:00
-!- perlDreamer [n=ckuskie@nat064.mxim.com] has joined #webgui19:36
-!- mode/#webgui [+v perlDreamer] by ChanServ19:37
+perlDreamertalk to me, snapcount19:37
@snapcountall hail the mooninites!19:40
+perlDreamerhow did I break wG this week?19:40
@snapcountI'm not sure it's you now actually19:40
@snapcountright now this only happens when you upgrade plainblack.com19:40
+perlDreamerwhat are the symptoms?19:41
@snapcountI tried it on a copy of another thread heavy site and no problem19:41
@snapcountempty uncommitted version tags19:41
@snapcountand as an aside, it takes a really long time19:41
+perlDreamerit should19:41
@snapcountthat thread recalculation on pb.com took over an hour19:41
+perlDreamerit had to reindex every thread and every post19:41
+perlDreamerI asked rizen about it, and he said to go ahead and do it19:42
@snapcountin the future note stuff like that in gotchas19:42
@snapcountI already added it for this time19:42
@snapcountotherwise people will think the world is ending19:42
@snapcountso I've looked at your code19:43
@snapcountand it looks fine19:43
+perlDreamerdo you want another pair of eyes?19:43
@snapcountno diff in how you call those methods as compared to the CS19:43
+perlDreamerand it should be using update, so no calls to the auto commit workflows19:43
@snapcountonly thing I could think of is that maybe the archived posts are screwing it up b/c you can't rate those from the UI afaik19:44
@snapcountbut yeah19:44
@snapcountupdate is right19:44
@snapcountit's under a tag and committed19:44
@snapcountby the upgrade script19:44
@snapcountSo I don't know what the deal is19:44
+perlDreamerhow many tags are created?19:45
+perlDreamerempty, committed version tags?19:45
+perlDreamerwell..., let me ask you this19:46
@snapcountthe answer is badger19:46
+perlDreamerthe update script checks out a version tag19:46
+perlDreamerand then commits it at the end19:46
+perlDreamerwhat if no work is done and it tries to call commit?19:47
+perlDreamerthat definitely explains empty19:47
+perlDreamerbut not uncommitted19:47
+perlDreamerhow many tags are we talking about?19:47
@snapcountwell that would explain it if the upgrade were run 42 times19:47
@snapcountone tag and commit per upgrade19:47
+perlDreamer42 sites per install?19:48
-!- greghacke [n=greghack@cpe-71-72-101-120.columbus.res.rr.com] has left #webgui []19:48
-!- wgGuest42 [n=wgGuest4@85-18-14-23.fastres.net] has joined #webgui20:00
wgGuest42I just saw that wG 7.3.9 is there!20:01
wgGuest42you're taking online the release notes?20:01
+perlDreamerthey will be posted online for the final release20:02
+perlDreamerpeople are checking that the upgrade goes smoothly before the final release20:02
+perlDreamerbut the goal is to get it out today20:02
wgGuest42So next week for 7.4?20:02
+perlDreamerI'm not sure about that.20:02
+perlDreamer7.4 is supposed to be held off until the bug list is completely clear20:03
wgGuest42sounds good20:03
+perlDreamerare you anxious for the release?20:03
+perlDreamerthere are over 50 bugs fixed in this one20:03
wgGuest42yeah I noticed from the bugs list that's why I wanted to upgrade asap20:04
wgGuest42but maybe I'll wait to be sure the upgrade is safe20:04
+perlDreamerif you're really, really curious about the release notes, you can get them from SVN20:04
+perlDreamerhere: https://svn.webgui.org/svnweb/WebGUI%20SVN/view/WebGUI/docs/changelog/7.x.x.txt20:07
wgGuest42yep reading it20:07
wgGuest42there's a duplicate entry20:08
+perlDreamerit was fixed twice20:08
wgGuest42fix: Calendar feeds do not work20:08
+perlDreameryeah, that actually might have been fixed twice20:08
+perlDreamerjust kidding, preaction20:08
@preactionprobably three or four times20:11
@preactionand it wasn't my fault!20:11
+perlDreameryou can't channel Jake Blues unless you're in Chicago20:11
@snapcountthis vm with 512MB of ram is not taking kindly to the import of the plainblack database20:16
@snapcountactually it's funny you mention that dup20:16
@snapcountb/c it was fixed twice20:17
@snapcountit just didn't work the first time20:17
@snapcountI crack myself up.... sigh*20:17
-!- wgGuest42 [n=wgGuest4@85-18-14-23.fastres.net] has quit []20:23
@snapcountsheesh... it wasn't *that* un-funny20:24
+perlDreamerno, he got what he was looking for20:24
+perlDreamerrelease notes20:24
+perlDreamerand to find out if 7.4 will be released next week20:24
+perlDreamerwhich it won't20:24
@snapcountyeah... seeing as how we havent even begun development yet20:24
+perlDreamerand the buglist20:24
@snapcounttrue true20:25
@snapcountso I have to reboot the vm20:25
@snapcountit died20:25
+perlDreamerI'll kill my ssh session on this end20:25
@snapcountI'm going to give it more memory20:25
@snapcountand check diskspace20:25
@snapcountvm won't even boot20:29
@snapcountran out of diskspace20:29
+perlDreamerprobably filled up a logfile20:29
@snapcountgood thing parallels has a tool for resizing the partition20:29
+perlDreamerbig partitions20:29
@snapcountIt was only 8000 MB20:29
@snapcountso I bumped it to 20 GB20:30
+perlDreamerlots of memory, too20:30
* snapcount shakes his money maker20:30
+perlDreamerswap space20:30
+perlDreamerit probably filled up the swap, then the whole partition20:30
@snapcountI upped the memory to 1 GB too20:30
@snapcountman what happened to crythias20:31
@snapcounthe's rarely seen anymore20:31
@snapcountand when he is here very quiet20:31
+perlDreamerI don't know20:32
@snapcountnot as into it all as he used to be20:32
@snapcountseems anyway20:32
+perlDreamerpretty quiet on the boards, too20:32
@snapcountI hope he's not burnt out20:32
@snapcounthe's awesome for the community20:32
ckotilwhen i first started to use webgui, crythias was all over every question i had20:32
@snapcounthe ran his own FAQ too I think20:33
@snapcounthe did a lot20:33
+perlDreamerhe's on AOL20:33
@snapcounts/a lot/alot/g20:33
+perlDreamerAIM, I mean if you want to ask him20:33
@snapcountI don't want to put him on the spot20:34
+perlDreamerwith you asking, and asking nicely, it wouldn't be20:34
+perlDreamerjust say that you miss him20:34
+perlDreamerwhich is true20:34
@snapcountwhere the *hell* have you been mister!20:34
+perlDreamereither that, or see if he wants to go out to coffee.20:34
@snapcountsomething like that?20:34
+perlDreamerDon't both of you live in Florida?20:35
@snapcountI think he lives over in Tampa20:35
@snapcountnot very close to me20:35
@snapcountabout 3 hours drive20:35
@snapcountand I seem to recall him talking about moving20:35
@snapcountnot sure if he did though20:36
@snapcountI'd say we're about 40% through the resize20:39
@snapcountHDD is thrashing20:39
@snapcountpalms are getting sweaty b/c the mbp is heating up quite nicely20:39
+perlDreameryou see the Slashdot article on 17" dells having a 20-65V DC bias?20:41
@snapcount"Here hold this"20:43
+perlDreamer_my_ laptop has that problem20:43
+perlDreamerI was blowing it off20:43
@snapcountdon't use it in the garden barefoot after the sprinklers run20:43
@snapcountor at the beach with your feet in the water20:43
@snapcountget in on the class action suit while you can perlDreamer 20:44
+perlDreamerI've had severe physical and emotional trauma20:44
+perlDreamerI'm afraid to use it.20:44
@snapcountit makes you wonder how they made it pass UL20:44
+perlDreamerEven the keyboard tray is hot20:44
@snapcountits funny but honestly that could be fatal20:45
@snapcountthe voltages they describe20:45
@snapcountespecially from one are to the other20:45
@snapcount(across the heart)20:45
ckotili bought a dell 4 years ago. inspiron 5100. its lasted this long, but i will never buy a dell again20:45
+perlDreamerI've loved the last two Dells that I bought20:46
+perlDreamerckotil: what would you get instead?20:46
@snapcountokay the VM is back20:46
ckotilhp/ibm(lenova)/macbook pro20:46
@snapcountand it's quite zippy now20:46
+perlDreamerdo they run linux well?20:46
@snapcountrunning fsck though due to the hard power down20:47
ckotilnot sure. id expect them too20:47
ckotiland with a bit of tweaking im sure they would20:47
@snapcountbow wow wow whaa20:47
@snapcountpurple haze off in my brain......20:48
@snapcountso I hear the creators of Gutiar Hero are making a game that will actually teach you to play a real guitar20:49
ckotilthats awsome20:49
@snapcountyeah... if it's anything like GHII it will be awesome20:50
@snapcountah crap20:51
@snapcountthis magic utility didn't resize my linux partitions20:51
@snapcountcrappity poo poo20:51
@snapcountnow I've got to finagle it20:51
@snapcountlet me guess ckotil 20:52
@snapcountmilk man?20:52
ckotillooks like a double trailor semi20:52
@snapcountyeah one of those milk trucks20:53
@snapcountmaybe it's gas20:53
@snapcountbut definitely a liquid of some sort20:53
@snapcountin any case, that would definitely ruin your day20:54
@snapcountyou're in the shower and a friggin semi drives past you through your house20:54
ckotilid flip20:54
@snapcountI'd prolly do a couple other things first =P20:54
ckotillike shit.20:55
@snapcountthis one was awesome20:56
@snapcountprolly seen it though20:56
ckotilyah. white dood can dance20:59
@snapcountsome of it is hillarious21:00
@snapcounthis MC Hammer is pretty good21:00
@snapcountthen the old time favs... lawnmower, sprinkler, canopener, shopping cart21:01
@snapcountthe best has to be the cotton eye'd joe dance 21:01
@snapcountstupid vm hurry up go!!!!!!!21:03
* perlDreamer suggests that this might be justification for a better box21:08
@snapcountmy mbp can hold another GB of RAM apparently21:14
@snapcountone 2GB and one 1GB stick21:14
@snapcountright now I have 2 total21:14
+perlDreamerMars needs more women21:15
+perlDreamerSnapcount needs more RAM21:15
@snapcountyou can never have enough RAM21:15
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has joined #WebGUI21:17
-!- mode/#webgui [+o khenn] by ChanServ21:17
+perlDreamerkhenn, you going to be around later this afternoon?21:21
@khennI have to go pick up my boy from school @ 3pm CST21:23
@khennbut I'll be back around 3:30ish21:24
@preactionis there something in Perl that flattens undef elements out of a hash reference?22:50
@preactionwhenever i make a hash reference using a value from an object method that could return undef, if it returns undef it acts like the value isn't even there, and instead shows the next key name as the value22:51
@preactionso { a => $b->param("maybeUndef"), c => "d" }, shows "c" for the value of "a" if $b->param() returns undef22:52
@preactiononly fix i've found is to put $b->param("maybeUndef") || ""22:52
@snapcountwhat happens to "d"?23:06
@snapcountsurprising that it doesn't cause a runtime error23:09
@preactionsurprising indeed23:14
@preactionfigured it out23:16
@preactionthe $b->param isn't returning undef, it's returning an empty list23:16
@preactionso {a => (), c => "d"}, and that is expected behavior, since the list gets flattened23:16
@preactionso i have to force scalar context23:17
-!- snapcount_ [n=royjohns@] has joined #webgui23:26
-!- snapcount [n=royjohns@] has quit [Read error: 104 (Connection reset by peer)]23:26
-!- snapcount_ [n=royjohns@] has quit [Read error: 104 (Connection reset by peer)]23:35
-!- snapcount [n=royjohns@] has joined #webgui23:35
-!- mode/#webgui [+o snapcount] by ChanServ23:35
-!- snapcount_ [n=royjohns@] has joined #webgui23:37
-!- snapcount [n=royjohns@] has quit [Read error: 104 (Connection reset by peer)]23:37
+perlDreamersnapcount does jumping jacks23:39
-!- snapcount_ [n=royjohns@] has quit [Read error: 104 (Connection reset by peer)]23:39
-!- snapcount [n=royjohns@] has joined #webgui23:39
-!- mode/#webgui [+o snapcount] by ChanServ23:39
+perlDreamerhe's back!23:39
-!- snapcount_ [n=royjohns@] has joined #webgui23:43
-!- snapcount [n=royjohns@] has quit [Read error: 54 (Connection reset by peer)]23:43
-!- snapcount_ [n=royjohns@] has quit [Read error: 104 (Connection reset by peer)]23:43
-!- snapcount [n=royjohns@] has joined #webgui23:44
-!- mode/#webgui [+o snapcount] by ChanServ23:44
--- Day changed Thu Feb 08 2007
-!- Netsplit leguin.freenode.net <-> irc.freenode.net quits: +perlDreamer00:01
-!- Netsplit over, joins: +perlDreamer00:02
+perlDreamerwhat's up with IRC today?00:02
@khennI've been connected the whole day00:18
+perlDreamermaybe it's me.  Everyone seems to be bouncing in and out.00:18
-!- greghacke [n=greghack@cpe-24-210-44-41.columbus.res.rr.com] has joined #webgui01:53
-!- wgGuest48 [n=wgGuest4@213-140-19-118.fastres.net] has joined #webgui01:58
-!- wgGuest48 [n=wgGuest4@213-140-19-118.fastres.net] has quit [Client Quit]02:00
-!- Radix-wrk [n=Jesse@] has joined #webgui02:26
-!- perlDreamer [n=ckuskie@nat064.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:42
@preactionare you or are you not the black angel of death02:59
greghackei consider myself more darker shade of grey...03:09
Radix-wrkThe time of purification is at hand03:18
-!- khenn [n=fdillon@66-190-54-175.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)]03:35
-!- greghacke [n=greghack@cpe-24-210-44-41.columbus.res.rr.com] has quit ["Trillian (http://www.ceruleanstudios.com"]04:06
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui05:04
-!- mode/#webgui [+v crythias] by ChanServ05:04
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has joined #webgui05:20
PedersenMJg'd evening.05:20
Radix-wrkheh - http://gaming.monstersandcritics.com/news/article_1257066.php/Study_shows_a_link_between_improved_eyesight_and_action_games05:53
ckotilscren -r05:59
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit [Read error: 60 (Operation timed out)]06:07
nishakhey i have a query to ask, i even had a chat with Radix yesterday, but due to some problem could not continued06:50
nishakanyone there, to help me on search topic06:50
PedersenMJDunno if I can help, but will be happy to try.06:52
-!- nishak______ [n=chatzill@] has joined #webgui06:55
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has joined #webgui06:57
-!- mode/#webgui [+v crythias] by ChanServ06:57
-!- nishak_______ [n=chatzill@] has joined #webgui06:58
nishak_______But the problem is that i m using every where Ajax in my website06:59
nishak_______due to AJAX many search engine failed to index the pages which are not direclty linked from anywhere but getting called through javascript function07:00
nishak_______I want a search engine which will deep crawl my web site07:00
nishak_______was wondering if google will be helpful07:01
nishak_______if u have any idea about the same07:01
nishak_______ please help me out07:01
PedersenMJWell, you're already using Ajax and CSS, so why not abuse it a bit more? Add your links (non-javascript versions of them) at the bottom of your page, and set their CSS style to "display: none;"07:02
-!- nishak [n=chatzill@] has quit [Read error: 104 (Connection reset by peer)]07:08
nishak_______thats fine for a time being i m doing the same07:13
nishak_______looking for a better solution 07:13
nishak_______if a search engine can crawl deep web then it will be better because my web site contains more that 100 such links07:14
@preactionrealize that intelligent search engines know when something is invisible to users like that07:14
@preactionwhy are you using ajax so intensively anyway?07:15
-!- crythias [n=Gerald@c-68-51-234-189.hsd1.fl.comcast.net] has quit [Read error: 110 (Connection timed out)]07:17
-!- nishak______ [n=chatzill@] has quit [Read error: 110 (Connection timed out)]07:17
nishak_______well to optimize and speedup 07:22
@preactionprobably not a good idea, there are still browsers (and always will be browsers) that do not use javascript and/or ajax07:23
nishak_______but i have read that google does deep crawling' 07:23
@preactionhow will a screen reader view your site?07:23
@preactionhow will lynx view your site?07:23
nishak_______i have not teted it on linux07:27
nishak_______ but this is specific to browser07:28
@preactioni did not say "linux", i said "lynx" and "elinks"07:28
@preactionterminal browsers07:28
nishak_______javascript is support by almost all browsers its just that u can disable it07:28
-!- nishak_______ [n=chatzill@] has quit ["Chatzilla 0.9.77 [Firefox]"]07:28
@preactionalmost all is not all, and you've made your site completely depend...07:29
@preactionyou can lead a horse to water, but you cannot make him think...07:29
Radix-wrkas a side note - nishak doesn't seem to be using webgui07:46
Radix-wrkkinda why I lost interest in helping him using google sitemaps yesterday07:47
Radix-wrkhe seems to have made his way here after hitting my google sitemaps howto in the wiki07:49
Radix-wrkbut without the power of webgui behind him - he's going to find it much harder to do what he wants! :)07:50
-!- PedersenMJ [n=Pedersen@mail.icelus.biz] has quit []07:53
@preactionwas wondering how he got a fully ajax site with WebGUI08:18
-!- snapcount [n=royjohns@] has quit []09:18
-!- Radix-wrk [n=Jesse@] has quit ["Leaving"]10:07
-!- snapcount [n=royjohns@] has joined #webgui15:37
-!- mode/#webgui [+o snapcount] by ChanServ15:37
-!- snapcount [n=royjohns@] has quit [Remote closed the connection]16:01
-!- snapcount [n=royjohns@] has joined #webgui16:01
-!- mode/#webgui [+o snapcount] by ChanServ16:01
ckotilsweet. i just found out whats causing all the unf'd up characters to appear in webgui.log16:15
-!- snapcount [n=royjohns@] has quit [Read error: 110 (Connection timed out)]16:35
ckotilheh, my issue didnt get posted to the forums17:33
ckotilin PB Support17:33
ckotilis the PB SUpport forum broke?17:41
ckotilI posted again , and nothing showed17:41
ckotilforums look to be busted17:53
-!- greghacke [n=greghack@66-162-187-24.static.twtelecom.net] has joined #webgui18:17
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui18:22
-!- mode/#webgui [+v MrHairgrease] by ChanServ18:22
ckotilah, they got posted .18:26
-!- perlDreamer [n=ckuskie@nat064.mxim.com] has joined #webgui18:32
-!- mode/#webgui [+v perlDreamer] by ChanServ18:32
ckotilfiled a bug on those wierd errors im getting in my webgui.log18:47
+perlDreamerwith a patch? :)18:48
ckotilheh. no sadly18:48
ckotilJT said it looks to be an issue with error handling inside http proxy18:48
ckotiland the wierd characters come from an .rrd file18:48
+perlDreamerwhat is an rrd file?18:48
ckotilwhich is a round robin database, which we use to generate some graphs about the networks18:48
ckotilYeah http proxy was blowing up httpd, due to proxying huge 30MB syslog files. hundreds of them18:49
ckotilso i quit using http proxy, switched to iframe (which blows). then i figured out i didnt have http proxy setup properly. so i turned off proxying of other domains 18:50
+perlDreamerand then you get this funky error from an rrd file18:50
ckotilbut the bots still have the url to those http proxy assets.18:50
ckotiland im able to replicate it every time by going to the url the bot did18:50
+perlDreamerare you willing to work with me to fix the bug?18:51
+perlDreamersince the release has been delayed, there'sa chance we would get it into 7.3.918:51
ckotilya, i have time. until 4pm EST18:51
ckotilOne of my engineers looked at http proxy and suggested that it proxy content 'smarter' do a pre fetch to see how big the content is that its going to proxy.18:52
+perlDreamerthat would be a great RFE, and probably simple to implement18:53
ckotilYah. im not sure how to explain it completely. i dont know much about proxying18:53
ckotilsome goofyness on the boards today.19:03
+perlDreamerJT's right.  That file is lying.  It says that it's a plain text file, instead of a file with encodings for download.19:04
+perlDreamerThe boards seem a little slow.19:04
ckotilah. so is it not really a bug?19:04
+perlDreamermight be, might not be19:04
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []19:04