WebGUI irc logs from: 2008-05.log

--- Log opened Thu May 01 00:00:49 2008
-!- dionak [n=diona@97.66.185.250] has quit []00:31
+snapcountargh... why is mysql replication so freaking cumbersome00:39
@rizenremove mysql00:39
@rizenreplication is cumbersome00:39
+snapcountheh... I guess that is a better way to put it00:40
+snapcountI've never worked with repl on another rdbms before00:40
@rizeni meant remove it from the sentence00:40
+snapcountso it could be equally crappy on all platforms00:41
@rizennot your server00:41
+snapcountlol00:41
+snapcount"but you said to remove mysql"00:41
@rizeni've used it on oracle, mysql, and sybase00:41
@rizenmysql is the easiest to set up, but has the fewest options out of the ones i've used00:41
@rizenyou need a special degree in oracle in order to set up replication in oracle00:42
+perlDreamersnapcount, he means s/mysql //; #all replication is freaking cumbersome00:42
Samus_Arancan someone point me in the direction for updating the logout/login part.  I have a styled login form that I want to appear once the person logs out00:43
+snapcountperlDreamer: indeed =)00:46
Samus_Aranfigured it out. 00:46
+perlDreamerSamus_Aran: when a person logs out returns you to the page that you were looking at (if you have permission)00:48
+perlDreamerit doesn't show you a custom relogin form00:48
+perlDreamerso all you can do is style the generic login form00:48
Samus_AranI found on the Wikie: ^LoginToggle("Click here to log in.","Click here to log out.","/url/to/your/template");00:51
Samus_Aranwhich seems to be what I want00:51
Samus_Aranthat is, if /url/to/your/template contains HTML for the login form.  if not, I'm still lost00:52
+perlDreamerSamus_Aran: I'd suggest the L_loginBox macro instead00:54
+perlDreamerbut either may do the trick00:54
Samus_Aranwhich only appears when they are not logged in?00:54
Samus_Aranmaybe I will just keep the login form always visible, as I sometimes change users 00:55
+perlDreamerl_loginBox: If they are logged in, it shows them a link to their account.  If logged out, it shows them a login box for username/passwd00:55
+perlDreamerLoginToggle: show them text 1 with login if logged out, text 2 with logout if logged in00:55
+perlDreamerbut you can build more sophisticated stuff as well00:56
+snapcountrsync freaking rules00:59
CIA-5WebGUI: jt * r6283 /WebGUI/ (13 files in 8 dirs): added coupons01:06
+snapcountdoes anyone know what is being used to announce svn commits in IRC?01:09
+snapcountthat is really cool... is it a one off or out there on the interwebs?01:10
+snapcountpreaction: is this a custom perlbot you wrote?01:10
@preactionno, see http://cia.vc01:11
+snapcountsweet... thanks man01:11
Samus_Aransnapcount: rsync is great :)01:24
Samus_Aranalong with a small script to dump databases, it is very handy for offsite backups01:25
+snapcountit's good for repairing replication when it breaks so you don't have to copy entire snapshots of the dbs01:26
+snapcountesp when the db is like 20GB01:26
+snapcountmuch faster01:27
Samus_Aranwell, these are teeny databases, hehe.  just a few MB01:27
Samus_Aranhaven't had to deal with huge ones yet01:27
+snapcountI'm new to it as well01:27
+snapcountwe have one now that is appx 750 million rows01:27
Samus_Aranwhat is in it?01:27
+snapcountpeople data01:27
Samus_Aranuser accounts for a web site ?01:28
+snapcountcriminal records, phone book type stuff, real estate transactions, etc01:28
+snapcountprofessional records01:28
+snapcountjudgements, bankruptcies, lienss01:28
+snapcountall kinds of crap01:28
+snapcountnot users in a website01:29
+snapcountthis is more like all the people in the united states01:30
+snapcountand puerto rico I think01:30
+snapcountthankfully we don't replicate that data =)01:32
+snapcountthat would be interesting to say the least01:32
CIA-5WebGUI: jt * r6283 /WebGUI/ (13 files in 8 dirs): added coupons01:32
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:38
Samus_Aransnapcount: what type of hard drive do you have to drive it, and how much RAM ?01:39
Samus_Aranpresumably a fast RAID array01:40
Samus_Aranand too many GB of RAM01:40
+snapcountThat data is on a RAID 1, SAS 300GB 15K RPM01:41
+snapcount32GB of memory and dual quad core 2.0 GHz xeons01:41
Samus_Aranit is remarkable how cheap servers are now than a few years ago01:42
+snapcountfor sure01:42
Samus_Aranmillion dollar servers are now available for a few thousand01:42
Samus_Arankind of scary.01:42
+snapcountthat box I think cost me like 5 or 6K01:42
+snapcountbut we buy a lot of servers and get a fat discount01:42
Samus_Arandiscounts are always nice01:43
-!- rizen is now known as rizenisaway01:44
+snapcountI tell you what really impresses me is MySQL cluster01:45
+snapcountif they could make it work with complex selects it would solve world hunger =D01:45
@apeironheh, http://www.oreillynet.com/onlamp/blog/2008/04/the_mysql_appliance.html01:46
@apeiron^^ that's impressive01:46
+snapcountit is soooo fast and fault tolerant01:46
+snapcountwe have a four node setup that handles all of our AAA01:46
+snapcountapeiron: I saw that at the conference a few weeks ago01:47
+snapcountit is impressive but pricey01:47
+snapcountI think bottom floor is like 25K and tops out around $200K01:47
+snapcountbut the architecture of using an "SQL Chip" is pretty cool01:48
+snapcountThe guy told me they won't be available until late fall01:50
+snapcountbut it sucks that they won't sell you the chip only01:50
@apeironYeah, 10/14/2008 according to that site.01:50
@apeironindeed. I'd like to frob it with different DBs.01:50
+snapcountyou have to buy the appliance which is just a COTS server with a PCI-X card containing that chip01:50
+snapcountand a diff storage engine for mysql01:50
+snapcountwho knows... maybe that will come someday =)01:51
+snapcountfinally got replication back up on this box01:55
+snapcountwhat a PITA01:55
CIA-5WebGUI: jt * r6284 /WebGUI/lib/WebGUI/ (7 files in 4 dirs): added missing help files01:57
+perlDreamerrizenisaway: You big stud!01:59
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI02:02
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has quit ["Ex-Chat"]02:12
CIA-5WebGUI: colin * r6285 /WebGUI/lib/WebGUI/Help/Asset_Product.pm: point Product Asset help to Sku help instead of wobject02:20
CIA-5WebGUI: colin * r6286 /WebGUI/ (3 files in 3 dirs): more product variants work, i18n, forms and upgrade script02:20
Samus_Aranonce SSD are cheaper and faster, it will effortlessly beat out 15K drives02:25
Samus_Aranit has the potential to be many times faster than any current disks02:25
Samus_Aranand as a bonus is smaller and uses less electricity02:26
+perlDreamerthere was a slashdot article saying that now, performance wise, they're much slower than mechanical drives02:26
Samus_Arancurrently they just plug into SATA slots and are not economical or particularly efficient02:26
Samus_Aranbut it is still the first generation02:27
Samus_AranI don't think platter drives will be used within 4-5 years02:27
Samus_Aranthey will also be cheaper to produce once the manufacturing is behind it02:28
Samus_Aranoh, and great for databases, random access with the same seek time02:28
Samus_AranI'm about to build a 5.4 TiB array at home (9x SATA 750GB disks).  perhaps by the time that is bursting at the seams, SSD will be cheap =)02:29
Samus_AranI haven't heard anything about heat, but I imagine SSD are very cool compared to platter disks.  you can heat a house with regular hard drives02:31
+perlDreamertoo bad you can't cool them :)02:31
+snapcountmy macbook air has the SSD02:32
+snapcountit is a bit slower02:32
+snapcountbut the battery lasts for like 4.5 - 5 hrs02:33
+snapcountit's really good at random writes but the mech drives blow it away on sequential writes02:33
+snapcountwhich makes sense I think02:33
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:39
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]02:52
CIA-5WebGUI: colin * r6287 /WebGUI/ (2 files in 2 dirs): begin migrating Product data into variants02:52
Samus_Aranbattery efficiency, speed and storage capacity are going to skyrocket with SSD02:55
Samus_Arandoes anyone know how I can duplicate a template so that I can paste in my custom made code ?02:56
Samus_Aranif I go to assets and select a template and do duplicate, it doesn't duplicate the template02:56
Samus_Aranit just creates an empty folder02:56
Samus_Arannot sure how to copy as well the content in it02:56
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui02:57
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Client Quit]02:57
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui02:57
-!- mode/#webgui [+o apeiron] by ChanServ02:57
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:15
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:15
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @preaction03:25
-!- SquOnk [n=emhn@201.211.84.218] has quit ["Yippie kay-ai-yay fudder muckers!"]04:02
Samus_Aranduplicated the template manually, and now it won't let me apply anything to a whole branch... hum04:04
Samus_Aranone question: is there a way without Apache mod_rewrite to make the top of the web site not have a name ?04:05
Samus_Aranfor example "home" shows up as http://www.foo.com/home04:05
Samus_Aranbut it also shows up as http://www.foo.com/04:05
Samus_Aranwhich is bad for search engines and caching04:06
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: Samus_Aran, ckotil, perlbot, @rizenisaway, metanil, +snapcount, CIA-5, vayde, nuba, +Radix-wrk, (+6 more, use /NETSPLIT to show all of them)04:11
-!- Netsplit over, joins: @apeiron, perlbot, ckotil, GooeyOfSteel, metanil, +Radix_, +perlmonkey2, vayde, Samus_Aran, +snapcount (+4 more)04:13
-!- Netsplit over, joins: @rizenisaway, diakopter04:13
-!- mode/#webgui [-o rizenisaway] by ChanServ04:13
+Radix-wrksounds like spectre is the cause then04:15
+Radix-wrkspectre shouldn't be timing out04:15
+Radix-wrkcheck your spectre.conf file for typos, invalid domain names, etc04:15
-!- DX^ [n=dx@c-24-99-22-37.hsd1.ga.comcast.net] has joined #webgui04:16
DX^I want to start a circuit schematic archive, so I want the ability to categorize a bunch of content, but I also want it to have tags and comments, so users can add info and search, can I do this with WebGUI?04:16
+Radix-wrkthe wiki has tags, and you can add pages, search, etc04:17
+Radix-wrkit doesn't have the concept of comments though04:17
Samus_AranRadix-wrk: I restarted Apache earlier, then restarted spectre, I haven't changed anything since last time it was started a few weeks ago, hm04:17
@apeironNo comments in non-CS content, anyway.04:17
@apeironAnd I think the Gallery has comemnts.04:17
@apeironBut they're simple enough to add.04:18
+Radix-wrkgallery/cs might be your best bet04:18
+Radix-wrknew gallery in 7.5 has tags too doesn't it?04:18
@apeironhrmmm04:18
@apeironNot sure, haven't used it much.04:19
+Radix-wrkI'm pretty sure it does04:19
DX^What is CS?04:19
@apeironCollaboration System.04:19
DX^ah04:19
@apeironThe guy who wrote it isn't here at the moment.04:19
@apeiron(the gallery)04:19
DX^webgui has all this?04:19
+Radix-wrkDX^: Collaboration System - the Gallery is a rewrite of it essentially04:19
Samus_AranADMIN: Fetching site data for foo.com.conf04:20
+Radix-wrkthese are just a couple of the wobjects available04:20
Samus_AranADMIN: [Error] Couldn't connect to WebGUI site foo.com.conf at http://foo.com:80/?op=spectreGetSiteData.  Response: 500 read timeout04:20
Samus_Aranthat's all I get04:20
Samus_Aranthen it resumes what looks like normal working 04:20
Samus_Aranno more errors04:20
Samus_Aran(using --debug --run)04:20
Samus_Aranshould spectre be started before or after Apache ?04:21
Samus_AranI forget04:21
+Radix-wrkafter04:21
Samus_Aranthat's what I thought, and what I did.  I guess I'll go dig around in the log files to see if there's anything more helpful04:21
@apeironSamus_Aran, If you're using the WRE, try the 'all' target.04:22
@apeirone.g. /data/wre/sbin/wreservice.pl --restart all04:22
+Radix-wrkcheck the dns resolution for foo.com04:22
Samus_Aranapeiron: manual install via the guide, on an Ubuntu system04:22
+Radix-wrkAlso check that the foo.com.conf has specified the right ip block for the spectre04:23
Samus_AranRadix-wrk: I can get to the site and do all the admin stuff without any apparent issues, except a single lock on the home page item that I need to apply a theme to the whole site04:23
Samus_AranI can apply versions fine04:23
Samus_AranI mean commit04:23
+Radix-wrkhmm..04:23
+Radix-wrkso you can commit other things and they go through?04:24
+Radix-wrkmight just be a stuck workflow then04:24
Samus_AranI had issues with spectre before, but those were stopping everything04:24
+Radix-wrkgo to workflows and run it manually perhaps04:24
DX^Can someone show me a web site using the collaboration system04:25
Samus_AranI tried going to the URL the --debug gave me, and it eventually pops up a download window, but after a long time04:25
Samus_Aranperhaps the timeout is set too low04:25
Samus_Aranbut I don't know why it would take a long time, the server is pretty fast04:25
Samus_Aranit says file type is text/json04:25
+Radix-wrkDX^: the collaboration system is incredibly flexible.. you can template it to do anything really.  forums, photo galleries, flash video galleries, etc04:25
Samus_Aranpops up after about 60-90 seconds04:25
+Radix-wrkDX^: The collaboration system is probably the most flexible object in webgui imho - and any example we showed you would have the limitations imposed by the template used really.04:27
+Radix-wrkI have a flash video template I use for flash movies on our website - http://www.formsys.com/maxsurf/videos04:28
Samus_Aranclicking on "Show running workflows" is lagging as well, though it isn't appearing even after 2+ minutes04:28
DX^So I can let people add stuff to this?04:29
DX^this seems way too complicated04:29
DX^I don't want to roll my own, hah04:29
+Radix-wrkit's not particularly complicated if you use an existing template04:30
Samus_AranBEGIN failed--compilation aborted at /var/www/WebGUI/lib/WebGUI/Asset/Template/TemplateToolkit.pm line 19.04:30
Samus_Aranline 19 is "use Template;"04:31
@apeironSamus_Aran, There'll probably be something before that line which explains the error.04:31
@apeirone.g., "Can't find Template.pm in @INC [...]"04:31
Samus_AranError loading WebGUI::Asset::Template::TemplateToolkit! - Can't locate Template.pm in @INC04:32
@apeironuh huh.04:32
@apeironSamus_Aran, This site worked before?04:32
Samus_Aranyes, was working fine the past several weeks04:32
@apeironLooks like your environment isn't set up properly. Using the same perl and such?04:33
Samus_Aransame GNU Screen session with same environment variables04:33
Samus_AranApache was updated by Ubuntu somewhere along the line I think04:33
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Read error: 110 (Connection timed out)]04:33
@apeironhm. If Apache was updated, did it replace the config?04:34
@apeironWhat about modperl?04:34
Samus_Aran@INC conta04:34
Samus_Aranins: /var/www/WebGUI/lib04:34
Samus_AranI can't remember if mod_perl was updated.  I run an update every day or two on the server04:34
Samus_Aranthe directory contains only WebGUI.pm.  does the Perl @INC also read sub-directories ?04:35
@apeironIf the package name is appropriate.04:35
@apeirone.g. if you want WebGUI::Session it'll look in /var/www/WebGUI/lib/WebGUI for Session.pm04:36
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui04:36
Samus_Aranthere are five Template .pm files in the sub directories04:36
Samus_Aran/var/www/WebGUI/lib/WebGUI/Asset/Template/TemplateToolkit.pm04:37
@apeironYes, they're all below /var/www/WebGUI/lib yes?04:37
@apeironThat means that they're all WebGUI:: packages.04:37
Samus_Aranoh wait, that was the package that tried to load Template.pm04:37
@apeironYes.04:37
@apeironTemplate.pm is a separate, non-WebGUI module.04:37
Samus_AranOh, I see.  confused me with so many Template.pm files in the WebGUI dir.  I will confirm it is installed and up-to-date and all that04:38
@apeironIt has to be, if you've been running WebGUI before.04:38
@apeironThe fact that it's suddenly missing makes me think that either it was uninstalled by one of those updates of yours or some environment variable got broken somehow.04:39
Samus_AranI will search the hard drive for Template.pm to see where it is04:40
Samus_AranI ran the perl script to check the environment, and it only checks for HTML::Template:04:41
Samus_Aranis that the Template.pm ?04:41
Samus_Aranand it was installed according to the script04:41
@apeironThat's a different module.04:42
Samus_ArantestEnvironment.pl doesn't check for anything else with Template in it04:42
Samus_Araninstalling Template Toolkit Version 2.19 manually04:43
Samus_Arancpan install Template04:43
@apeironDon't do that, you'll pull in junoscript.04:43
@apeiron(bit of a bug in the cpan command utility)04:44
@apeironjust run: cpan Template04:44
@apeironBetter, why not use a vendor package?04:44
Samus_Aranyou mean apt-get install somethingorother ?04:45
@apeironYes.04:45
Samus_AranI followed the instructions originally from the site, perhaps Ubuntu updated the module and broke things04:46
Samus_Aranit's installing them now04:47
* Samus_Aran crosses fingers04:47
* Samus_Aran goes to microwave a burrito...04:47
Samus_Arandifferent error now: Can't locate Time/Format.pm in @INC04:56
Samus_Aranstrange that all the modules were fine before, now they're all bungled up04:57
@apeironCould be that one of your upgrades broke things.04:57
-!- snapcount [n=snapcoun@162.5.101.97.cfl.res.rr.com] has joined #webgui04:59
Samus_Aranno more errors in the Apache log, but Spectre still gets: Response: 500 read timeout05:02
Samus_Aranwill check webgui log05:02
Samus_Arannot completely sure what this means from the debug output of Spectre:05:03
Samus_AranWORKFLOW: Checking to see if we can run anymore instances right now.05:03
Samus_AranWORKFLOW: There are 0 running instances.05:03
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 113 (No route to host)]05:03
Samus_Arandoes that mean Spectre isn't running, or just that there are no workflows ?05:03
@apeironIf spectre's not running, there can't be any workflows queued.05:04
@apeironAre you sure spectre's running?05:05
Samus_AranI am watching it in debug mode, yes05:07
Samus_Aranokay, the webgui log explains the error as:05:07
Samus_AranRoot cause: Can't call method "get" on an undefined value at /var/www/WebGUI/lib/WebGUI/Operation/Spectre.pm line 72.05:08
Samus_Aranwhich is: next unless $instance->getWorkflow->get("enabled");05:08
@apeironSo $instance->getWorkflow is returning undef.05:09
Samus_Aranmaybe I should just update to .2505:09
Samus_Aran*3505:09
* Samus_Aran notices the topic says .3205:09
Samus_Aranthe testEnvironment told me .35 was available05:09
-!- apeiron changed the topic of #webgui to: [ WebGUI 7.4.35-stable / 7.5.10-beta | WRE 0.8.3 ] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com/ | Find JT and PB at YAPC::NA, buy tickets now! http://conferences.mongueurs.net/yn200805:09
@apeironno it doesn't05:09
@apeiron<.<05:10
Samus_Aranhehe05:10
Samus_Aranmy mistake05:10
@apeironNo worries, easy mistake to make.05:10
Samus_Aranoh great, now I'm 9 versions behind :p05:10
Samus_Aranwill try the update and hopefully this gremlin will take a hike05:11
@apeironHonestly, first thing I'd try is simply restarting the whole shebang. May not help but I dunno.05:11
Samus_Aranthe kernel has probably been updated along the line, though that doesn't usually affect things05:12
Samus_Aranexcept when the old kernel modules are removed05:12
Samus_Aranit has only been on for 14 days.. the Ubuntu is stupidly running in a VMware Player virtual machine on Windows 200305:13
Samus_Aranhad to do a Windows Update05:13
Samus_AranI've been given the go ahead to scrap Win2K3 and put Ubuntu straight on the server, but haven't had any time05:14
@apeironIf you're going that route, maybe you should try the WRE?05:14
Samus_Aranthere are lots of other web sites and databases running05:14
@apeironOn the Ubuntu VM?05:15
Samus_Aranplus I like security updates to be quick and easy05:15
Samus_Aranyes05:15
@apeironah.05:15
Samus_Aranit's quite silly, nothing on Win2K3 is even being used.  the previous tech just sort of patched anything together05:15
Samus_Aranthe network was a complete mess, too05:15
@apeironYou could set up Apache's mod_proxy to proxy to the other sites or host them outright, and set up the DB to be shared.05:15
Samus_Arannothing labelled05:16
Samus_Aranonce it isn't in the VM, it will help, as all the RAM will go to the VM.  right now it is limiting it to half05:16
Samus_Aranoh, I checked, only 1/405:16
Samus_Aran512MB instead of 2GB05:16
@apeironHello, swap city!05:16
Samus_Aranit's also a rack mount server.... sitting on a wooden shelf05:17
@apeironwood? heh05:17
Samus_Aranthey didn't even want to buy a locking metal cabinet with air vents05:17
Samus_Arananyway, thank you for your help05:18
Samus_AranI will get back to you after I've done the update if the gremlin lives on05:18
@apeironno worries, hope things go well for you.05:18
@apeironI might be in bed by that time, heh05:18
Samus_Aranit will be another day, my brain has melted and it's time for me to go home05:18
@apeironnight night, then.05:18
Samus_Arangoodnight.  *wanders off in the direction of home*05:18
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui05:20
-!- mode/#webgui [+v Radix-wrk] by ChanServ05:20
-!- rizenisaway [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []05:35
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]05:38
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]05:48
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui06:21
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]06:21
-!- mode/#webgui [+v snapcount] by ChanServ06:53
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out]06:53
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui07:21
-!- mode/#webgui [+o preaction] by ChanServ07:21
Samus_Aranbe back tomorrow =)07:29
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has left #WebGUI ["onwards I go ..."]07:29
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]07:43
-!- apeiron [n=apeiron@71.230.67.187] has joined #webgui07:44
-!- mode/#webgui [+o apeiron] by ChanServ07:44
-!- apeiron [n=apeiron@71.230.67.187] has quit [Client Quit]07:44
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui07:44
-!- mode/#webgui [+o apeiron] by ChanServ07:44
-!- snapcount [n=snapcoun@162.5.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)]07:46
patspamhi guys, just wondering what the status of Survey 2.0 is? couldn't see it in the 7.5.10 beta09:09
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]11:29
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui12:05
-!- mode/#webgui [+o Haarg] by ChanServ12:05
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]12:40
-!- BartJol [n=plainstu@51-167.surfsnel.dsl.internl.net] has joined #webgui13:57
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:22
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui15:54
-!- mode/#webgui [+o Haarg] by ChanServ15:54
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]16:02
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]16:16
ckotilIf i have a group that can read and edit an asset can i limit access to edit by leaving a user out of the turn admin on group?16:32
BartJolI don't think so...16:34
BartJolthe canEdit boolean will be true16:34
ckotilbc if a user cant utrn on admin mode, how will they ever edit an asset?16:34
BartJoltrying it16:36
ckotilcool, thanks.16:36
-!- dionak [n=diona@97.66.185.250] has joined #webgui16:36
BartJolah, indeed16:37
ckotilworks?16:37
ckotilnice. this will make my group structure much simpler and easier to manage16:37
BartJolthey can't directly16:37
BartJoltesting wehether they can do it by a fuvction in the url16:38
ckotilya i was thinking that.16:38
ckotil?func=edit16:38
BartJolah, they can edit, but don't see the edit button16:39
ckotilok16:39
ckotilthats very good to know. thank you BartJol 16:39
BartJolwell it's a free day16:41
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:41
-!- mode/#webgui [+v perlmonkey2] by ChanServ16:41
BartJoland it's good for me to know to16:41
BartJolckotil it's the <tmpl_if showAdmin> variable16:48
ckotilgotcha.16:48
BartJolfror pages16:48
BartJoland 16:49
BartJol<tmpl_if session.var.adminOn for other assets16:49
-!- SDuensin [n=Scott@103.sub-75-206-46.myvzw.com] has joined #WebGUI16:56
BartJolmorning16:56
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui16:58
SDuensinGreetings.17:02
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui17:03
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:05
-!- mode/#webgui [+o Haarg] by ChanServ17:05
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:16
-!- mode/#webgui [+o rizen] by ChanServ17:16
@rizenI'm thinking that we have to many people from Holland coming to the WUC.17:18
BartJolwhy?17:18
@rizenAnd maybe we, as Americans, should stage an uprising and not let them into our country.17:18
@rizenThey may invade and try to take us over.17:18
@rizen=)17:18
dionakand make us drink massive amounts of beer?17:19
BartJolso you finally discovered our plans17:19
dionaksounds scary17:19
@rizenexactly dionak17:19
@rizenWe still love you Bart17:20
@rizen=)17:20
BartJolwell than you just have to feed us beer, and pretend that you're drinking too17:20
dionaklol17:20
BartJolthanks17:20
BartJoltoday it's national hangover day here17:21
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui17:23
-!- tavisto [n=plainbla@pool-71-115-176-152.gdrpmi.dsl-w.verizon.net] has joined #WebGUI17:24
CIA-5WebGUI: jt * r6288 /WebGUI/ (3 files in 3 dirs): 17:29
CIA-5WebGUI: - rfe: subscribe entire user group to a collaboration message board17:29
CIA-5WebGUI: - Added show in forms and is editable properties to group manager.17:29
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has joined #webgui17:41
knowmadAnd all's quiet....17:50
tavistoyes it is. heh17:50
knowmadTime for a question!17:50
tavistoI have a question for whoever wants it.17:50
knowmadShoot17:50
BartJolonly thing that happened that JT was expression his fears for dutch people17:51
BartJolbut go ahead with the question17:51
-!- knowmad is now known as aknowmad17:51
tavistohah, okay.  Has anyone tried using the permissions tab on the settings screen? I created a new user group called "reports" and set the Transactions permissions to that group. However, I tried accessing transactions with a user in that group and it says I dont have the permissions17:52
tavistoI tried to do it directly through the ?op=listTransactions and it comes back with the permissions error17:53
BartJolso that's the commerce system?17:53
aknowmadi haven't tried it17:53
tavistoyeah that's the transactions in WebGUI's commerce system17:54
tavistobut from what I can tell those permissions aren't working17:54
aknowmad7.5 or 7.4?17:55
BartJolmaybe those people should also be in the turn admin on group17:55
tavistothis is latest beta17:55
tavistoyeah I'm just afraid they would mess stuff up :)17:55
@preactionthey should only have to be in the correct group17:56
@preactionshouldn't also have to be in Turn Admin On17:56
tavistoyeah, that's what I thought.. I thought you could basically setup ANY regular user group to be able to do those specific functions17:56
aknowmadI've got an SQL question -- what comes back from an unconditional_read request? api docs say it's a result set statement handle. how do I use that to get at the data returned from a SELECT query?17:57
BartJolso your statement is SELECT * from table;?17:58
BartJoloh sorry, misunderstood18:02
BartJolthat's a bit too deep for me18:08
@preactionaknowmad, see WebGUI::SQL::ResultSet. something as simple as while ( my $row = $sth->hash ) { ... }18:12
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui18:12
-!- mode/#webgui [+v snapcount] by ChanServ18:13
aknowmadare you referring to api docs or the code?18:13
aknowmadis it a true DBI sth? can I call methods like fetchall_hashref with it?18:14
@preactionnot that i know of18:15
@preactionbut check the API docs18:15
aknowmadok, i don't see that method in there so assume it's not availabe18:16
@preactioni don't think it's a subclass, but... if you wanted fetchall_arrayref why are you using $db->read instead of $db->buildArrayRefOfHashRefs18:16
aknowmadi guess it's not a DBI sth18:16
aknowmadahh, because i didn't know that method was available.... I'm still learning the ins and outs of wG's db workings18:17
aknowmadwhich brings up another question--when do you recommend using read vs. unconditional_red?18:17
aknowmads/red/read/18:17
aknowmadalso, are these methods essentially helpers that perform prepare and execute in one fell swoop?18:20
@preactionunconditional read is, if i'm not mistaken, "don't error if the statement fails"18:20
aknowmadyes, that's what the docs tell me18:21
aknowmadbut i'm wondering what the use case is for this method18:21
@preactionyes, they're essentially helpers that call prepare, execute, and fetch all at once18:21
@preactionwhen you don't want an error in the read to kill the rest of the process? i dunno, i've never used it18:21
aknowmadthat's what i was wondering18:21
aknowmadmy thinking is it's not something to use lightly18:22
aknowmadunconditional_read, that is18:22
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:23
-!- mode/#webgui [+v perlDreamer] by ChanServ18:23
aknowmadok, thanks for the insights preaction18:23
aknowmadmorning perlDreamer18:23
+perlDreamermorning aknowmad18:23
+perlDreamerare you _the_ knowmad, or just _a_knowmad?18:24
aknowmadi'm THE knowmad; had some problems with my client reserving just 'knowmad' nick18:24
aknowmadmight be b/c i'm laid up in bed sick :(18:24
+perlDreameroy18:24
+perlDreamernot a good day18:24
aknowmadbetter than yesterday when i had a 102F fever!18:24
+perlDreamerI recommend lots of hot drinks and SciFi reruns18:25
aknowmadyeah, i've done the teas; i've got a bit of code to write then will be cranking up some Battlestar Galactica reruns18:25
-!- vayde [n=vayde@32.145.186.128] has joined #webgui18:33
-!- vayde [n=vayde@32.145.186.128] has quit [Read error: 104 (Connection reset by peer)]18:35
CIA-5WebGUI: yung * r6289 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: Problem with delete Thing permissions18:36
@apeirongack, coding while sick is a Bad Idea.18:37
+perlDreameryeah, it's better to write tests18:37
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui18:42
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit []18:45
-!- BartJol [n=plainstu@51-167.surfsnel.dsl.internl.net] has left #webgui []18:52
-!- dionak [n=diona@97.66.185.250] has quit []20:22
-!- tavisto [n=plainbla@pool-71-115-176-152.gdrpmi.dsl-w.verizon.net] has quit []20:37
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit [Read error: 110 (Connection timed out)]20:44
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui20:58
-!- mode/#webgui [+v perlDreamer] by ChanServ20:58
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit ["Leaving"]21:01
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui21:19
-!- khenn [n=khenn@71-86-227-90.static.mdsn.wi.charter.com] has joined #WebGUI22:07
-!- mode/#webgui [+o khenn] by ChanServ22:07
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit []22:20
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui22:20
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit [Client Quit]22:24
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui22:26
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Remote closed the connection]22:36
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]22:50
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui22:52
-!- citronized [n=chatzill@AStrasbourg-157-1-38-38.w90-40.abo.wanadoo.fr] has joined #webgui23:32
citronizedhi :)23:33
+perlDreamerHi23:33
+perlDreamerdo you have some WebGUI questions, citronized?23:33
citronizedI'm wondering if I can install WebGUI and still use MAMP (Apache+MySQL) for other local sites ?23:35
+perlDreameryes23:36
citronizeddo I have to download the source or the WRE ?23:36
citronizedI don't want to mess my present configuration :-/23:37
+perlDreamerit is easiest to use the WRE, since it's all optimized to work well together23:37
+perlDreamerand there's nothing stopping you from running other sites on the WRE as static sites23:37
citronizedok, but I'll need to rename some conf files, is that right ?23:38
+perlDreamerperhaps, it depends on what you're trying to do23:38
citronizedjust trying to try WebGUI :D23:39
+perlDreamerhave you tried a demo site yet?23:39
citronizedyup23:39
citronizedseem to be weel feet to my project :)23:39
+perlDreamergood23:40
+perlDreamerWebGUI tries to meet all sorts of needs23:40
citronizedlooks like, yup23:40
citronizedbasically, I need a pool function (perhaps I need to custom it) and an access to a dedicated MySQL DB23:41
citronizedand a good user dashboard configuration :)23:42
citronizedmy project is a free library, so I need to be able to write records, etc.23:42
citronizedmange groups23:43
citronizedmanage23:43
citronizedI believe WebGUI is able to meet my needs, isn't it ?23:44
+perlDreamernot sure what a "pool function" is, but WebGUI has very fine grained group and user privileges and a dashboard.23:44
citronizedwell, I've seen in the demo that polls are limited to 20 answers (excuse my english for the pool :) ) and I might need more answers per question ;)23:47
+perlDreamerah, not a problem about the english.23:47
+perlDreamerThere is a new poll function coming out at the end of May23:47
+perlDreamerperlmonkey2: ping.  You awake/around?23:48
citronizedgood news :)23:48
+perlDreamerperlmonkey2 would know how the new poll works, since he wrote it :)23:48
citronizedgood23:48
citronizedI don't think my needs are that complex :)23:49
+perlDreamerhave you seen the i18n.webgui.org site, for translating WebGUI into other languages?23:49
citronizednope23:49
+perlDreamerYou can download and install a French language pack23:49
+perlDreamerit's about 38% translated23:49
+perlDreameror, if you wish, you can actually use that website to contribute back to the project by translating things that aren't done yet23:50
citronizedwow, cool way to share, i think :)23:51
+perlDreamerYeah.  Since I mainly speak english, I try to write tests and help people out in the forums and here on IRC.23:51
citronizedperhaps i can help them in spanish too :)23:51
+perlDreamerthat would be cool23:52
+perlDreamerthere's been a group from Colombia working on the Spanish translation for a while23:52
+perlDreamerthey've done a huge amount of work23:52
citronizedgreat23:52
citronizedI still haven't read anything about hosting, is there particular server settings needed ?23:53
+perlDreamerhttp://www.webgui.org/community-wiki/source-install23:54
+perlDreamerthat's how to do a source install23:54
citronizedcool :)23:55
+perlDreamerthe wiki has a ton of info on using and installing WebGUI23:56
-!- SDuensin [n=Scott@103.sub-75-206-46.myvzw.com] has quit ["Leaving"]23:56
citronizedmmmh... the source install seems a bit tricky for me :o23:57
+perlDreamerwell, you can use the WRE, but you'd need to move your other configs over to its apache23:58
+perlDreamerit might be better to use a different server than your main one for initial tinkering23:59
citronizedwell, my "server" is my iMac :)23:59
--- Day changed Fri May 02 2008
+perlDreamerthat's actually good, since the main WebGUI devs all use Macs00:00
+perlDreamerit will mean fewer hiccups00:00
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit []00:00
citronizedwhat are hiccups ?00:01
+perlDreamerwith respect to computers, problems or glitches00:01
citronizedok, aka bugs ? :)00:02
+perlDreamerwith respect to people, it's when the diaphragm muscle contracts quickly00:02
+perlDreameryeah00:02
citronizedright, i get it ;)00:02
-!- khenn [n=khenn@71-86-227-90.static.mdsn.wi.charter.com] has quit []00:03
citronizedto host webgui do I need more then apache, MySQL and PHP ?00:04
+perlDreamerno PHP, perl00:05
+perlDreamerperl and mod_perl00:05
+perlDreamerand yes, you do00:05
citronizedoh, ok00:05
+perlDreamerImageMagick00:05
citronizedok00:05
+perlDreamera ton of perl modules00:05
+perlDreamerit should all be there in the wiki page00:06
citronizedso an Unix server i guess ?00:06
+perlDreamerno, it will run on Windows, Macs and Linux/Unix00:06
citronizedok00:06
+perlDreamerwell, Macs nowadays are really BSD/Unix based00:06
citronizedi'm gonna look deeper in the wiki then ;)00:07
citronizedsure they are00:07
citronizedmy present personal website use Joomla, but it seems that webgui is even more intuitive :)00:08
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui00:09
citronizedI'm wondering about the client side code, are the webgui site W3C compliant ?00:11
@preactionyes. it uses XHTML 1.0 Strict with a text/html doctype00:11
citronizedthat's a really good news :)00:12
+perlDreamercitronized: you said this is for a library?00:13
citronizedkind of, yup00:13
citronizedabout mini cars :)00:13
citronizeddie-cast and stuff :)00:14
+perlDreamersounds fun00:14
citronizedI allready have some 16.000 refs for my DB00:14
citronizedbut i want it collaborative00:14
citronizedi want people to share, build a kind of qualitative library :)00:15
citronizedwith some control on what people post and share00:16
citronizeddunno if it's hard to make a form to write records in an separate DB ?00:17
+perlDreamerfor that, either use the SQL Form or the new Thingy that is coming out (end of May)00:21
+perlDreamerfor simple reporting, use the SQL Report00:21
citronizedok00:26
citronizedseems easy :)00:27
+perlDreamerfor the most part it is.00:28
citronizedi guess it can be more tricky to control the data00:28
citronizedor stuff like that :)00:29
-!- BartJol [n=plainstu@51-167.surfsnel.dsl.internl.net] has joined #webgui00:32
-!- BartJol [n=plainstu@51-167.surfsnel.dsl.internl.net] has left #webgui []00:43
citronizedare those perl module enough to install webgui ? (i may host my site there :) )00:49
citronizedhttp://start.ovh.net/infos/perl.cgi00:49
+perlDreamerwill this hoster give you command line access to your site?00:51
citronizeddunno :-/00:51
+perlDreameryou have to have command line access to install WebGUI on another hoster00:51
citronizedmmh00:51
citronizedok00:52
+perlDreamerin order to start up spectre and edit the config files00:52
citronizedright, i've seen that in the installation guide, but i haven't though that the hoster would need it :o00:53
citronizedmaybe I should start building a local server, but will I be able to migrate it to another host, later ?00:54
+perlDreameryes, as long as you have command line access00:55
+perlDreameror, you could use a WebGUI hoster, like Plain Black or Procolix00:55
+perlDreamerPlain Black does a lot of hosting here in the US, and Procolix is a Dutch company00:55
citronizedcan they host french sites ?00:57
citronizedi guess not00:57
+perlDreamersure, I don't see why not00:57
citronizeddunno, sometimes, internet isn't that virtual :)00:57
+perlDreamertrue00:57
citronizeddoes plain black allows upgrades ? I mean if my site become serious, will I be able to upgrade datastorage and stuff ?00:59
+perlDreameryes00:59
citronizedcool :)01:00
citronizedi should take a look to plain black offers, then :)01:00
+perlDreameryes01:01
citronizedwhat is the best beginners hosting ? :) 01:02
+perlDreamerunsupported, basic hosting is $20/month01:03
+perlDreamerhttps://www.plainblack.com/services/hosting/unsupported-site-hosting01:03
+perlDreamerhosting with support is $50/month01:04
+perlDreamerhttps://www.plainblack.com/services/hosting/supported-virtual-hosting01:04
@rizena lot of people start out with the $50/mo package and then downgrade to the $20 once they're comfortable01:04
+perlDreamernot speaking Dutch, I can't tell you how the comparable rates are for Procolix01:04
citronizednot speakin dutch either :)01:05
+perlDreamerrizen: will Thingy require an extra db like the SQL Form?01:05
@rizenno01:05
@rizenif you email koen@procolix.nl he will speak English with you01:06
citronizedok, ty rizen ;)01:06
+perlDreamerneed to reboot, be back in a bit01:09
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]01:09
-!- aknowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has quit [Read error: 110 (Connection timed out)]01:09
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui01:14
-!- mode/#webgui [+v perlDreamer] by ChanServ01:14
citronizedseems that plain black is slightly cheaper, and provide more :)01:17
citronizedok guys, thank for your help, it's a bit late here, I need some sleep :)01:19
+perlDreamergood night01:19
citronizedhope i'll see you around ;)01:19
citronizedbye01:20
-!- citronized [n=chatzill@AStrasbourg-157-1-38-38.w90-40.abo.wanadoo.fr] has left #webgui []01:20
+perlDreamerhopefully we helped another new WebGUI user today :)01:21
@rizenperlDreamer rulez01:30
@rizenif i had to do my PBWG interview over again, on the "What is WebGUI's killer feature?" question, I'd answer: perlDreamer01:31
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:36
+perlDreamerthanks, dude01:44
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI01:47
-!- mode/#webgui [+o khenn] by ChanServ01:47
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Client Quit]01:48
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]01:54
CIA-5WebGUI: colin * r6290 /WebGUI/ (2 files in 2 dirs): 02:06
CIA-5WebGUI: Handle null productNumbers in the Product variant translation.02:06
CIA-5WebGUI: Update the product loading script to add more products.02:06
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui03:02
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:29
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:29
snapcountyes it finally works!03:41
snapcountI wrote a POE daemon with IKC that wraps a POE IRC bot03:42
snapcountso I can send messages to chat channels from other perl scripts with like three lines of code03:42
snapcountI wanted to use the CIA thing but our repos is not public03:43
snapcountand installing it on your own server was... well a bit messy03:43
snapcountif anyone is interested I'll give you the code... it's very very simple03:44
snapcountbut works nicely03:44
snapcountanyways... gotta head home... bbl03:44
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Read error: 110 (Connection timed out)]04:06
patspamcan anyone give me a heads-up on the current state of play with Survey 2.0? I didn't see it in the 7.5.10 beta?05:22
-!- snapcount [n=snapcoun@225.5.101.97.cfl.res.rr.com] has joined #webgui05:34
-!- mode/#webgui [+v snapcount] by ChanServ05:35
@preactionpatspam, it will hopefully be in 7.5.11. the author says his deadline for his sponsors is this week05:51
@preactionpatspam, if you want to try it, there's a Survey 2.0 branch in https://svn.webgui.org/plainblack/branch05:51
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]06:02
patspamah fantastic, thanks preaction06:10
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui06:42
-!- mode/#webgui [+v perlDreamer] by ChanServ06:42
+perlDreamerrizen: art thou awake?06:54
+perlDreamerI need some help designing the variant table to work with collateral07:29
+perlDreamerIt's probably easier than I'm making it07:29
+perlDreamerbut I'll catch you tomorrow07:29
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."]07:29
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 113 (No route to host)]07:49
CIA-5WebGUI: colin * r6291 /WebGUI/docs/upgrades/upgrade_7.5.10-7.5.11.pl: new variant table schema08:02
-!- snapcount [n=snapcoun@225.5.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)]09:40
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui10:24
BartJolmorning10:31
BartJolawfully quiet here11:45
BartJolwell let me state a question then11:45
BartJolI try to turn on my awstats11:45
BartJol[Fri May 02 10:31:14 2008] [error] [client 127.0.0.1] Options ExecCGI is off in this directory: /data/wre/prereqs/wwwroot/awstats.pl11:46
BartJolthis error comes up11:46
BartJolI tried to add ExecCGI to alle the necessary options11:46
BartJolbut no result and my modproxy want restart because of it11:47
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]11:54
-!- MrHairgrease [n=martin@gw.oqapi.nl] has joined #webgui12:36
-!- mode/#webgui [+v MrHairgrease] by ChanServ12:36
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has joined #webgui14:57
BartJolhee knowmad, already figured out the unconditionalRead stuff?15:17
ckotilIs there a way to prevent a subset of assets from getting indexed by search?15:22
ckotilusers want a 'staging area' on the production sites. bleh15:23
+MrHairgreasewell, you could limit the scope of the search assets15:23
+MrHairgreaseyou can select the brach it searches trhough15:23
+MrHairgreaseor you could set the privs of the assets toi something visitors don't see15:24
ckotilyah, that could work. but i have a global search that searches from root on down. perhaps i can tweak that a little.15:24
+MrHairgreaseah15:24
ckotilyah, that could work. ill try it out. thanks MrHairgrease 15:24
+MrHairgreaseyou prolly don't want that anyway since that also include all the stuff in the import node15:24
knowmadhi BartJol; yes, i got the answer i was needing15:25
ckotilyour right :)15:25
+MrHairgreaseno problemo15:25
ckotilnoones complained about that tho. im waiting to hear somehting like 'what are all these templates doing in search?'15:25
BartJolgood to hear15:25
knowmadyeah, and the code I wrote appears to be working!15:25
BartJolcongrats15:26
knowmadyeah, we have a team of 20 working round the clock on a queue; had some record locking problems that was causing multiple users to get the same record from the queue which is bad in many ways15:26
BartJoldoesn't sound good, and 20 people?! whoah15:28
knowmadyeah, there's lots of potential for race conditions15:28
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:44
-!- mode/#webgui [+v perlmonkey2] by ChanServ15:44
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]15:46
-!- SDuensin [n=Scott@110.sub-75-205-84.myvzw.com] has joined #WebGUI15:54
SDuensinGreetings.15:58
+MrHairgreaseGreasings15:59
-!- dionak [n=diona@97.66.185.250] has joined #webgui16:02
CIA-5WebGUI: martin * r6292 /WebGUI/lib/WebGUI/Shop/Cart.pm: Fixed a bug that prevented updating the cart16:36
+MrHairgreaserizen, are you awake?16:36
@rizenyeah16:42
+MrHairgreaseok16:42
+MrHairgreaseI cannot set a shipping address16:42
+MrHairgreaseno errors16:42
+MrHairgreaseso i strated digging16:42
@rizenit's because i programmed that in there to prevent you from doing it16:42
+MrHairgreasein the end i added an eval in the address book content handler16:43
+MrHairgreaseand then it gave me a 'cannot call method session on an undefined value in line 433'16:43
+MrHairgreasethat is in Shop::AddressBook->www_view16:44
+MrHairgreaseoh crap16:44
+MrHairgreasefound it i think16:44
+MrHairgreaselet me try16:44
+MrHairgreaseyeah that seems to do it16:46
+MrHairgreasethe problem was this:16:46
+MrHairgreaseif (my $sub = $cart->can($method)) { $sub->() }16:46
+MrHairgreasei changed that to 16:47
+MrHairgreaseif (my $sub = $cart->can($method)) { $cart->$method() }16:47
+MrHairgreasewhy is that construction used anyway?16:48
@rizenoh16:50
@rizenthat was something i was trying out, and forgot to put back16:50
+MrHairgreaseok16:50
+MrHairgreaseI'll turn it into the working state then16:50
@rizengraham said it would work, but it didn't16:50
@rizensorry about that16:50
+MrHairgreasenm, chasing weird bugs keeps me off the streets16:51
+MrHairgreasequestion about the subscriptions16:51
+MrHairgreaseshould I implement the subscription code thing on a per supscription basis16:51
+MrHairgreasetaht is, put it in the subscription asset16:51
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui16:51
@rizenyes please16:52
+MrHairgreaseok16:52
@rizenand we'll remove the "redeem subscription" link from the profile links16:52
@rizenwhich nobody could ever find anyway16:52
+MrHairgreaseyeah, and move that into the asset of course16:52
@rizenexactly16:52
-!- mode/#webgui [+v snapcount] by ChanServ16:55
ckotilwow, im performing a ginourmous cut/paste. its taking a whle, i hope it doesnt time out.16:57
ckotilthankfully, on a test instance.16:57
ckotil:x thought it was , anyway.17:03
ckotilworked out.17:03
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:11
-!- mode/#webgui [+o Haarg] by ChanServ17:11
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui17:14
-!- chammiya [n=chamms@ip-208-109-254-83.ip.secureserver.net] has joined #webgui17:18
-!- chammiya [n=chamms@ip-208-109-254-83.ip.secureserver.net] has quit [Remote closed the connection]17:19
+MrHairgreaseyay, the basic subscription stuff works17:21
+MrHairgreaseproceeding with the codes17:21
BartJoloh rizen maybe this is a nice wuc theme "By God, I think the Devil shits Dutchmen!" (Samuel Pepys, English marine officer)17:23
+MrHairgreaseBart, I'm not sure whether that is a Good Thing...17:24
BartJoloh?17:25
+MrHairgreasebut it's true anyway =)17:25
BartJolwell, from JT's point of biew it is17:25
BartJoland it's historical reoccurring it seems17:25
BartJolthe feeling, that is17:25
+MrHairgreasehm, I have not a specific feeling about shitting devils17:26
+MrHairgreasebiertje?17:27
BartJolnou17:27
BartJollijkt me wel wat17:27
+MrHairgreaseals jij ze nou even pakt, dan krijg je em van oqapi17:27
CIA-5WebGUI: martin * r6293 /WebGUI/lib/WebGUI/Content/Shop.pm: Reverted a problem which caused the address book content handler to fail17:42
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]18:01
ckotilanyone have a file import script that also handles directories? turning them into folder assets? fileImport.pl doesnt seem to do that.18:02
+MrHairgreaseThat's been on my todo list for a long time18:02
+MrHairgreasebut I never have found the tim eto do it18:03
ckotilthis siteimport.pl might do it actually. but its a pain to use.18:03
+MrHairgreaseIt shouldn't be to difficult though18:03
ckotilheh, im not a very good programmer.18:03
dionaktopsub created a modified version of fileImport.pl to create folders recently.18:06
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []18:07
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Read error: 110 (Connection timed out)]18:08
dionakbasically, the method checked to see if the folder already existed. if not, addChild is called with the className WebGUI::Asset::Wobject::Folder to create it18:10
+MrHairgreaserizen: looking at the original code it seems that it was possible to tie multiple subscriptions to a subscription code18:13
+MrHairgreasehowever the form element seems to have allowed only one18:13
+MrHairgreaseis it okay to have a one-to-one subscription<->code relation?18:14
@rizenyup18:14
+MrHairgreaseok18:14
ckotildionak: is the modified script posted in contributions?18:16
dionakno, it's not. it's not generalized...18:17
dionakbut the basic idea is there18:17
ckotilok18:17
dionakhas anyone done subscriptions in 7.4.29? I've been asked to do this. I know you guys are working on it for 7.5.x18:18
+MrHairgreaseyeah they exist in 7.4 too18:18
+MrHairgreasethat is the old commerce system18:18
dionakok, let me dig around a bit...18:18
+MrHairgreasethere in the admin console18:19
+MrHairgreasegotta gop18:19
+MrHairgreaselater18:19
-!- MrHairgrease [n=martin@gw.oqapi.nl] has left #webgui []18:20
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:30
-!- mode/#webgui [+o preaction] by ChanServ18:30
dionaki just setup some subscriptions but when i try to subscribe, the site reports 'Shipping is not possible because no shipping plugins are enabled'. why would i need shipping for subscriptions? 18:47
dionakor is this what you guys are addressing?18:47
dionakbtw, i got the info from the administrator's guide. very helpful18:48
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:51
-!- mode/#webgui [+o preaction_] by ChanServ18:51
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 104 (Connection reset by peer)]18:51
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:57
-!- mode/#webgui [+v perlDreamer] by ChanServ18:57
@rizenshipping determines tax rate19:02
@rizenwhether you ship something or not19:02
dionakbut how does that tie to subscriptions? there's no option in relation to a subscription for shipping.19:11
dionaki see that for product19:11
dionakoh, wait..19:12
dionaki see. i just enabled shipping in the commerce admin console19:13
+perlDreamerrizen: do you have time to talk about the product variant table?19:19
@rizeni will in a few, i'll let you know19:20
@rizenyou can start typing your questions if you want19:20
+perlDreamerI'll start with the background19:21
+perlDreamertable definition at docs/upgrades/upgrade_7.5.10-7.5.11.pl, line 59519:21
+perlDreamerI was thinking that variants should be more Product collateral, so that their display order can be rearranged by the user19:22
+perlDreamerI wanted to use the variant sku as the primary key19:22
+perlDreamerhowever, the collateral code won't let me use arbitrary keys as collateral indexes19:22
+perlDreamerit really wants to use GUIDs19:23
+perlDreamersimilarly, it prefers to use assetId to identify parentage, but I was planning on using mastersku (sku of parent asset) 19:23
+perlDreamerthat's all to support inventory sync'ing19:24
+perlDreamerso then I built a table schema that has variant sku, mastersku, assetId and variantId19:24
+perlDreamerand it seems like wasted space19:24
+perlDreamerI'm worrying too much about something in there, but I can't figure out what19:24
+perlDreamerI'm curious how you'd do this, but more importantly, why you would make the decisions you'd make to arrive at a solution19:25
@rizenfirst, don't store mastersku with the variant19:25
@rizenmastersku is changable by the user19:25
@rizenso the relationship has to be maintained by assetId19:26
@rizenand also, sku is changable by user, therefore using a variantid guid is still a good idea, and therefore collateral still works19:26
@rizenyou should never use something changable by a user a as a primary key19:27
@rizenso how i would do it is to have a table that looks like:19:27
@rizencreate table Product_variant ( variantId varchar(22) binary not null primary key, assetId varchar(22) binary not null, sku varchar(35) binary not null, ........, sequenceNumber int not null default 1, index assetId_sequenceNumber (assetId, sequenceNumber))19:29
@rizenOR19:29
@rizeneven better would be to move all the collateral tables of product into json blob fields as mediumtext into the product, so that the product could be deployed as a package or a prototype19:30
+perlDreamerfrom what I've seen, packages can be deployed with collateral19:31
+perlDreamerand I've already gone down the path of JSON madness, and it was no fun19:31
@rizenpackages can be19:31
+perlDreamerbut not prototypes19:31
@rizenbut you still lose out on versioning and prototypes19:31
+perlDreamertrue19:32
@rizenthe json stuff isn't necessary if you don't want to do it...i just think it would be better19:32
+perlDreamerin either case, still need to work out the schema19:32
@rizenthe schema for what?19:33
+perlDreamerif you grab the 2008-04 log from mentalhouse and look at line 11509, you'll see that we decided that we needed master sku in the variant for inventory sync'ing19:33
@rizeni just gave you the schema for variant19:33
@rizenno we didn't19:33
@rizenwe need a master sku19:33
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui19:34
-!- mode/#webgui [+v perlmonkey2] by ChanServ19:34
@rizenwe DON'T need it in the variant19:34
+perlDreamerah19:34
@rizenwe have it in the product19:34
@rizenthe product inherits sku from WebGUI::Asset::Sku19:34
@rizenso we have our master sku right there19:34
+perlDreamerokay19:34
@rizenand varients have assetId19:34
@rizenso you have the relationship19:34
+perlDreamerokay, I'm straightened out19:36
@rizensweet19:36
+perlDreamerso my apprenticeship lessons are:19:37
+perlDreamer1) Don't get confused by CSV requirements and table schemas19:38
+perlDreamer2) Don't use anything the user can touch as a primary key19:38
@rizencorrect19:39
@rizenoh...and that JSON blobs, while tricky, aren't bad19:39
@rizenthey give users more features19:39
@rizenand per my black blog posting today, they may actually become a requirement for collateral storage19:39
* perlmonkey2 really needs to get his feedreader working with wG.19:40
+perlDreamerwell, I'll try to get my feet wet then19:40
@apeironhmm, has anyone thought about using http://developer.yahoo.com/yui/history/ for the various admin console / func=edit type features in wG? Basically it allows for word processor-like undo/redo and the like for Webapps.19:44
@rizeni've thought about firing you for making suggestions19:45
+perlmonkey2apeiron: wow19:45
+perlDreamerI thought you were trying to give him a complex19:45
@rizenbut then i realized that your a valuable employee19:45
@rizen=)19:45
@apeironYou know, psychologically abusing people like that can make them lash out.19:46
@rizeni'm just trying to get you pumped up for the annual Plain Black golden gloves tournament. You're in my weight class aren't you?19:48
@rizen=)19:48
dionaki need to get more input on subscriptions. we have a publication site that has several types of subscriptions. for instance, one group has access to 5 publications, another 6. so we made a group for each publication and then subscription groups, like 'Member' and 'Member Plus'. I created subscriptions and assigned them to each group ('Member', 'Member Plus'). 19:48
@rizenyou're right so far dionak19:49
dionakWhat I'd like to see happen is that when a subscription expires, the user is prompted to subscribe again. How can I set this up so a user is prompted to renew the type of subscription they had and test this?19:49
dionakbtw, i've been updating the wiki as I go along here19:50
+perlDreamerisn't there a group expire message field in the group?19:50
dionaklooking...19:50
CIA-5WebGUI: graham * r6294 /WebGUI/docs/ (changelog/7.x.x.txt upgrades/upgrade_7.5.10-7.5.11.pl): removed legacy wgFieldUserData table19:50
+perlDreamerexipreNotify, expireOffset, expireNotifyMessage19:51
+perlDreamernot sure if they're exposed through the group interface yet...19:51
+perlDreameryes it is19:52
dionakso when the subscription expires, the user is expired from the subscription group based on the subscription term or group expiration, or both?19:53
+perlDreamerI _think_ they're tied together, so both19:54
+perlDreamerthe group is created based on the subscription?19:54
dionakand the notify occurs via email....19:54
+perlDreameryes19:54
+perlDreameralso the WebGUI Inbox19:54
dionakwell, the group is associated with the subscription.19:54
+perlDreamerWorkflow/Activity/ExpireGroupings.pm19:54
dionakok19:54
dionakso i could use the GroupText macro to test if they are in the group and, if not, i would need to send them back through the commerce piece to choose a subscription.19:55
dionakno way to know what group they were in..19:55
@rizenhuh19:55
dionaki'm thinking of the web interface only here19:55
+perlDreamerDifferent macros for different groups19:55
+perlDreamerwell, same macro, different instances checking for different group membership19:56
-!- rizen is now known as rizenlikeslunch19:56
+perlDreamerThe user's group expire date is set by the subscription, see the apply method in WebGUI::Subscription19:56
+perlDreamerso it will work correctly19:56
dionakbut they would be expired from a group, correct?19:56
+perlDreameryes19:56
dionakso how would i know what their subscription was?19:57
dionakit's not critical but i'm curious19:57
dionaki guess i could look it up in one of the subscription tables?19:57
+perlDreameryou _could_ write a counterpart to the GroupText macro that only displayed text if the user was about to expire19:57
+perlDreamerit would check the Group's expire notify offset settings and display text appropriately19:58
+perlDreamermight be a good core addition too, to complement C219:59
dionakhm, i wouldn't mind doing that and it would be entertaining (and short) to write but i don't think it fits this situation. we altered search.pm to make a public search. if a user doesn't have permission, i want to prompt them to login or expire. i think i can do this via the login template20:01
+perlDreamerif you can, it should save you the time of writing and testing the macro, so it sounds like a good call20:07
CIA-5WebGUI: graham * r6295 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: Importing data can fail with some internal field Ids20:18
dionakthanks for the input. i'm going to try that route20:21
CIA-5WebGUI: yung * r6296 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: Problem with add_url tmpl_var permissions20:40
CIA-5WebGUI: yung * r6297 /WebGUI/lib/WebGUI/Asset/Wobject/Thingy.pm: fix: Thingy: edit thing doesn't show any saved properties20:40
-!- dionak [n=diona@97.66.185.250] has quit []20:47
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui21:30
ckotilany idea why a 78k pdf would appear to be 3MB in webgui? 21:32
+perlmonkey2Is there a trick to gettign modproxy to like new certs and keys?  I just copied over my existing ones from apache.21:33
-!- rizenlikeslunch is now known as rizen21:49
ckotiloh i see. the asset has a brazillion revisions.22:03
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui22:26
-!- snapcount [n=snapcoun@225.5.101.97.cfl.res.rr.com] has joined #webgui22:55
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: DX^, diakopter22:59
-!- Netsplit over, joins: DX^, diakopter22:59
CIA-5WebGUI: jt * r6298 /WebGUI/ (t/Cache lib/WebGUI/Cache/Database.pm t/Cache/Database.t): added some database cache tests while testing out a theory, the theory is busted, but at least we have some more tests23:28
+perlDreamerrizen, what was the theory?23:32
@rizenit was actually haarg's theory. the idea was that if we cached the prepared statement on database backed cache we'd get a significant performance boost since the query to retrieve cache might be used a hundred times per request23:33
@rizenhowever, if there was a performance gain, it was so small it couldn't be measured by Time::HiRes23:34
@rizenit was a great theory23:34
@rizenunfortunately it just didn't hold water, which is too bad23:34
+perlDreamerI've heard of other things like that at OSCON talks23:35
+perlDreamercached queries, memcached being a huge performance gain23:35
@rizenhow big of a gain could it be if it's so small that it can't be measured by Time::HiRes23:38
@rizen=)23:38
@rizenthe difference is statistically insignificant23:39
+perlDreamerI believe you23:39
@rizenThen again, we are talking about measuring things than are are less than 0.003 seconds23:39
-!- SDuensin [n=Scott@110.sub-75-205-84.myvzw.com] has quit [Read error: 104 (Connection reset by peer)]23:59
--- Day changed Sat May 03 2008
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []00:09
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit []00:10
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has left #webgui []00:14
-!- charleyhankins [i=c070183d@gateway/web/ajax/mibbit.com/x-c954b8cbfd58bab1] has joined #webgui00:20
charleyhankinsHi!  Anyone here really familiar with Thingy?00:21
+perlDreamernope00:21
+perlDreamerhave you checked the forums and the bug list?00:21
charleyhankinsyeah.  I've been working in the forums.00:21
+perlDreamerare you having problems, or asking for best practices, or something else?00:22
charleyhankinsI'm using it, but having a couple of issues.  wondering if anyone could help me out.00:22
+perlDreamerI'll give it a shot00:22
+perlDreamerwhat's up?00:22
charleyhankinsthanks.  basically i need my thingy search to operate like this: http://goeldorado.com/chamberSearch.aspx?section=work00:22
charleyhankinsbut having trouble with the category drop down.00:23
+perlDreamerwhat kind of trouble?00:23
charleyhankinsI'm here: http://web402.plainblack.net/home/great-place-to-live/chamber-of-commerce/membership00:23
charleyhankinsas you can see.  the drop down pulls directly from the dbase.  And when I search using it, it returns no results.00:24
charleyhankinsI also need it be be alphabetical.00:24
@rizeni don't have time to look at it, but if the search isn't working then it very well could be a bug00:25
@rizenas far as alphabetical, that would be an RFE00:25
+perlDreameryeah, I'd say you found a bug00:25
@rizenalthough i think that RFE has already been implemented in 7.5.1100:25
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui00:25
@rizenwhich won't be released until after May 31st00:25
+perlDreamercharleyharkins: you have a paid support contract from Plain Black?00:26
charleyhankinsproblem is, I need this fixed by monday.00:26
charleyhankinsyeah.00:26
charleyhankinsbut it's slow going. 00:26
@rizenthen post your questions there00:26
charleyhankinsi have.00:26
@rizenyou have only basic support, which guarantees a response within 48 hours...so yeah, it will be a bit slow going00:27
@rizenand since it's 4:27 on a friday00:27
@rizeni guarantee you that any problems you are having with thingy will not be resolved by monday00:27
charleyhankinsi've been working with this for weeks.00:27
charleyhankinsright.00:27
charleyhankinsanyway, thanks for your help.00:27
@rizenreport the bug00:28
@rizenbut regarding having problems...i'm sure that this was explained to you when you signed up for the beta server00:28
@rizenit is a beta after all.=)00:28
charleyhankinssure.  let me ask you this question then.  Is there another way to accomplish this within WebGUI? http://www.goeldorado.com/chamberSearch.aspx?section=work00:29
@rizeni have no idea what i'm looking at00:30
@rizenlooks like a page to me00:30
+perlDreamersearch function with text entry fields and some dropdowns00:30
charleyhankinsyes.00:30
@rizeni see a webgui site00:30
@rizenare you guys seeing something else?00:30
+perlDreameryeah00:31
@rizenhmmm...my dns must be screwed up00:31
+perlDreamerI see a search form with text fields and dropdowns for selecting categories00:31
charleyhankinsi have a db of businesses.  they need to be searchable by business name, last name, category.  The category needs to be drop down box.00:31
@rizenhave you chosen "Select Box" as your field type in Thingy?00:32
@rizenfor category00:32
charleyhankinsyes.  and it is when editing the field, but the search box is always a text box.00:32
@rizenif you have, then it will be a dropdown in the search00:32
@rizenoh00:32
charleyhankinsno, it's not.00:32
@rizenif it's not display a dropdown in search then that's a bug00:33
@rizenthe search should display the same field type as the edit form00:33
charleyhankinscan i create a seperate dropdown search for that particular field in the search template?00:33
@rizeni don't know i haven't looked into the templates that much00:33
charleyhankinshow would I code that in particular?00:33
@rizenone thing you could do is create another Thing in that Thingy called "Category"00:34
@rizenand populate it with your list of categories00:34
@rizenthen that would drop down a list in the search00:34
charleyhankinsthat's what I have.  and it populates with categories, but does not return results.00:34
@rizenthen that's a bug and you should report it00:34
@rizenand as far as fixing it by Monday you're screwed00:35
charleyhankinsha!  ok. thanks.00:35
@rizenthe only other advice i have would be to try to create a category using the Radio List field type00:35
@rizenmaybe that would display as a radio list in the search results00:35
@rizenwhich is ugly00:35
@rizenbut at least it would work00:35
charleyhankinssure.  but, hey... right00:35
charleyhankinsi'll give it a go.00:36
charleyhankinsthanks.00:36
+perlDreamerhow about not using the template field for that form, but building the select box with a SQL macro and HTML right in the template?00:36
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []00:39
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]00:48
@apeironMay it be known, across the lands, for all to hear, that apeiron hates JS.01:06
+perlDreamerindeed01:06
@apeironWell, HTML and CSS, too.01:06
@apeironAnd SQL.01:06
+perlDreamerbtw, you're not doing too bad.  The message got to Oregon :)01:06
+perlDreamerHow does SQL rank against JS?01:07
@apeironeh01:07
@apeironOther projects I can use DBIx::Class and such.01:07
@apeironJS... there's no escape.01:07
+perlDreamerI like SQL better than JS01:07
+perlDreamerbecause you can hide behind a lot of perl :)01:07
@apeironyeah.01:08
@apeironThat doesn't make me 'like' SQL any more.01:08
@apeironIf I wasn't a teetotaler, JS would drive me to drink.01:08
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has quit [Read error: 110 (Connection timed out)]01:10
+perlmonkey2apeiron: or is it just the YUI?01:17
@apeironperlmonkey2, YUI is nice, but JS is JS and there's a hundred different little inconsistencies between browsers that don't exist in perlland.01:18
@apeiron(and the inconsistencies that *do* exist in perlland are documented in perldelta)01:18
+perlDreamerwell, to be fair, not all of them are01:19
@apeironOh?01:19
+perlDreamerConsider working on Windows, Solaris, and Fedora01:19
@apeironah.01:19
+perlmonkey2YUI does insulate you against most of the browser problems.01:19
@apeironperldoc perlport. :)01:19
@apeironperlmonkey2, Yeah, when you're doing YUI things.01:19
+perlDreamerthat won't cover the fedora issues01:19
@apeironheh01:19
@apeironperldoc psychiatrist01:19
-!- mode/#webgui [+b *!*@189.4.48.48] by apeiron01:28
@apeiron(preventative measures; they were in #perl spewing CCs and SSNs)01:28
+perlDreamerhuh?01:28
+perlDreamerwhat is +b?01:28
@apeironban01:28
@apeironcannot enter channel and if in channel when ban is placed, cannot speak or reenter01:29
nubaawesome, lets quickly /j #perl01:29
nubanow seriously, that sucks01:29
* apeiron nods01:30
nubaprobably some disaffected college student01:30
+perlDreameryeah, you know those college students01:30
+perlDreameralways causing trouble01:31
* apeiron looks around shiftily01:31
@apeironI've, uh, I've no idea what you're talking about!01:31
* perlDreamer seems to remember that nuba is similarly attending a place of higher education01:32
nubaim a college student here, CS baccaulaureate, but i've left the disaffected part behind already01:32
nubaim just too busy to spend time with that01:32
nubabut you can sense it around, anyway01:33
nubayoung people looking for trouble01:33
nubathose punks! 01:33
nubalol01:33
-!- snapcount [n=snapcoun@225.5.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)]01:48
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]01:50
+perlDreamereasy there, nuba02:01
-!- Lisette [n=pymesnet@Wimax-Mdlln-190-70-92-170.orbitel.net.co] has joined #webgui02:03
Lisettehello perlDreamer02:04
+perlDreamercongratulations on your team winning the t-shirt contest, lisette02:04
Lisettethanks02:04
Lisettei have a question around apache02:04
+perlDreamerokay02:05
Lisettei can use the apace 1.3.x?02:05
Lisetteapache02:05
+perlDreamerI don't think so.  Apache 2.x02:05
+perlDreamermainly because of mod_perl 2.x02:05
+perlDreameryou could try it, but no promises on how it works02:05
Lisettethanks02:05
+perlDreamerPorque quiere usar un Apache tan viejo?02:12
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:28
-!- Lisette [n=pymesnet@Wimax-Mdlln-190-70-92-170.orbitel.net.co] has quit ["Leaving."]02:44
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:05
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has left #webgui []03:27
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []04:01
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI04:46
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui06:00
-!- mode/#webgui [+o rizen] by ChanServ06:00
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]06:17
CIA-5WebGUI: jt * r6299 /WebGUI/ (3 files in 3 dirs): started migrating ems data07:04
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]08:01
CIA-5WebGUI: jt * r6300 /WebGUI/ (15 files in 10 dirs): The concept of "realtime" workflow has been eliminated. Instead all workflows are now realtime (synchronous), and roll over to be asynchronous if they cannot complete succesfully and immediately.08:55
CIA-5WebGUI: colin * r6301 /WebGUI/ (3 files in 3 dirs): 08:55
CIA-5WebGUI: Product variant creation is held off until we can finalize08:55
CIA-5WebGUI: the variant code.08:55
CIA-5WebGUI: Began building JSON based variant code, and a test for08:55
CIA-5WebGUI: verifying how it works. set, get and delete collateral08:55
CIA-5WebGUI: are implemented. Still need to build moveUp and moveDown.08:55
CIA-5WebGUI: Lots of tests to be written.08:55
-!- charleyhankins [i=c070183d@gateway/web/ajax/mibbit.com/x-c954b8cbfd58bab1] has quit ["http://www.mibbit.com ajax IRC Client"]09:37
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui14:14
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]14:26
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui14:44
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui15:23
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui17:05
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [Client Quit]17:08
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui18:37
-!- mode/#webgui [+v perlDreamer] by ChanServ18:37
+perlDreamerrizen:  You late night hackin' monster!18:37
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui19:01
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [Client Quit]19:01
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit [Read error: 110 (Connection timed out)]20:41
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has left #webgui []21:11
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui22:07
-!- mode/#webgui [+v perlDreamer] by ChanServ22:07
+perlDreamerrizen: you were right (again).  Properly encapsulated, this JSON stuff isn't so bad.22:33
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui22:36
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []22:49
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit [Read error: 110 (Connection timed out)]23:22
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui23:51
-!- mode/#webgui [+o preaction_] by ChanServ23:51
CIA-5WebGUI: colin * r6302 /WebGUI/t/Asset/Sku/ProductCollateral.t: more product collateral tests23:55
CIA-5WebGUI: colin * r6303 /WebGUI/ (2 files in 2 dirs): deleteCollateral tests, and detab Sku/Product.pm23:55
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui23:57
--- Day changed Sun May 04 2008
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []00:05
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui00:24
-!- mode/#webgui [+v perlDreamer] by ChanServ00:24
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui00:26
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [Client Quit]00:28
+perlDreamerrizen: would it be bad to make moveUp and moveDown collateral to wrap around (in the new Product collateral)?00:33
-!- snapcount [n=snapcoun@32.10.101.97.cfl.res.rr.com] has joined #webgui00:59
-!- mode/#webgui [+v snapcount] by ChanServ00:59
+perlDreamerapeiron, preaction_: what's the SQL subquery for getting the latest revision of all assets in a table?01:21
+perlDreamerSELECT p.assetId,  p.revisionDate, a.title, s.sku     FROM Product   AS p     JOIN assetData AS a         on p.assetId=a.assetId and p.revisionDate=a.revisionDate     JOIN sku       AS s         on p.assetId=s.assetId and p.revisionDate=s.revisionDate;01:22
+perlDreamerthat's close, but not quote enough01:22
+perlDreamerthis is closer: SELECT p.assetId,  p.revisionDate, a.title, s.sku     FROM Product   AS p     JOIN assetData AS a         on p.assetId=a.assetId and p.revisionDate=a.revisionDate     JOIN sku       AS s         on p.assetId=s.assetId and p.revisionDate=s.revisionDate     WHERE p.revisionDate=(SELECT MAX(revisionDate) FROM Product);01:22
@apeironhm01:23
+perlDreamerI need a max revisionDate for each assetId01:24
+perlDreamerbecause that gives me the biggest in the whole table01:24
@apeironHow does the latter differ from that?01:24
+perlDreamerlet's say I have three assets, a1, a2, a301:24
+perlDreamereach was committed one minute apart01:25
+perlDreamermy last query will only give me 1 asset, from a301:25
+perlDreamerrather than the latest versions of a1 and a201:25
@apeironAh.01:25
+perlDreamerthe good news is that JSON based collateral is working01:27
+perlDreamerI just can't upgrade from Wobject based products to Sku based products because of the query01:27
+perlDreamerI'll grind on it while I'm taking the tiller to the shop.01:27
+perlDreamerthanks for listening, apeiron!01:28
@apeironI may have a solution, trying it out.01:28
@apeironHave you thought of putting a WHERE clause in the subquery?01:28
@apeiron(for the assetId)01:28
+perlDreamerhm02:33
+perlDreamerno, I hadn't02:34
+perlDreamerthe problem is that I don't know at that point which assetId I want, since the query returns them02:36
+perlDreamermaybe I need to dig into AssetLineage and see what's going on there02:37
+perlDreameror the Template form variable02:37
+perlDreamergot it02:42
+perlDreamerSELECT p.assetId,  p.revisionDate, a.title, s.sku     FROM Product   AS p     JOIN assetData AS a         on p.assetId=a.assetId and p.revisionDate=a.revisionDate     JOIN sku       AS s         on p.assetId=s.assetId and p.revisionDate=s.revisionDate     WHERE p.revisionDate=(SELECT MAX(Product.revisionDate) FROM Product where Product.assetId=a.assetId);02:42
+perlDreamerpreaction_ is going to get mad if I keep doing that02:43
+perlDreamerapeiron: you were exactly right02:45
+perlDreamerI'm just too SQL-newbified to understand02:45
+perlDreamerthanks for the tip, dude!02:45
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."]02:45
CIA-5WebGUI: colin * r6304 /WebGUI/ (2 files in 2 dirs): move* with tests03:22
-!- metanil [n=akhadka@137.48.138.72] has quit [Read error: 104 (Connection reset by peer)]03:36
-!- snapcount [n=snapcoun@32.10.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)]06:32
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]06:43
-!- wgGuest46 [n=wgGuest4@adsl-074-170-023-127.sip.clt.bellsouth.net] has joined #webgui06:44
-!- wgGuest46 [n=wgGuest4@adsl-074-170-023-127.sip.clt.bellsouth.net] has quit [Client Quit]06:44
CIA-5WebGUI: colin * r6305 /WebGUI/ (3 files in 3 dirs): conversion of Product from Wobjects to Skus with variants is done07:49
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui10:23
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui16:55
-!- snapcount [n=snapcoun@32.10.101.97.cfl.res.rr.com] has joined #webgui17:20
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]17:40
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]18:27
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui18:43
-!- mode/#webgui [+v perlDreamer] by ChanServ18:43
@apeironperlDreamer, About the SQL stuff yesterday, was really just a guess on my part. :)18:49
+perlDreamera good one :)18:51
+perlDreamerwith perl, instinct is a valuable commodity18:55
* apeiron nods, emphatically.18:57
+perlDreamerokay, this is embarrasing19:04
+perlDreamerI need some perl help19:04
+perlDreamerI have an array ref19:04
+perlDreamerI want to make a safe copy of it19:04
+perlDreamerso I start with $ref19:04
+perlDreamermy @copy = @{ $ref }19:04
+perlDreamerI modify @copy19:04
+perlDreamerand right now I'm seeing changes in $ref19:04
@apeironhrm19:05
@apeironI've seen a module to do this, I think.19:05
-!- snapcount [n=snapcoun@32.10.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)]19:06
@apeironperlDreamer, Storable has a dclone() that you can use.19:06
@rizenif that's showing changes in the ref then i think that webgui is broken all over the place19:06
+perlDreamerI'm going to boil it down and figure it out19:06
@rizencuz that's always how i make copies of array refs19:06
@apeironperlDreamer, Does your usage vary much from http://webgui.pastebin.com/d20f4191e ?19:08
@apeironThat DWYM.19:08
+perlDreamerhttp://webgui.pastebin.com/m34d0b74a19:09
+perlDreameroh crap19:10
+perlDreamernow I get it19:10
+perlDreamerI'm still dealing with references19:10
@rizenindeed19:11
+perlDreamerperldoc Storable19:11
-!- sanyock3 [i=_ejabber@server1.jabbernet.eu] has joined #webgui19:14
+perlDreamerthis works better19:16
+perlDreamerhttp://webgui.pastebin.com/m289c0ffb19:16
+perlDreamerI had to iterate over the array anyway19:16
sanyock3Hi All19:16
+perlDreamerHi, sanyock319:16
+perlDreamerDo you have some webgui questions?19:16
sanyock3Sure ;)19:17
+perlDreamerrizen: Have you looked at the new JSON collateral methods?  If I'm way off base, it would be good to know before I get too far along.19:20
@rizenno but i will19:20
CIA-5WebGUI: colin * r6306 /WebGUI/ (3 files in 3 dirs): 19:24
CIA-5WebGUI: Convert accessories over to the new Product collateral methods.19:24
CIA-5WebGUI: Add a method to get the JSON collateral indexed, for easy access to indeces.19:24
CIA-5WebGUI: Add tests for the new getIndexedCollateralData method.19:24
CIA-5WebGUI: In the upgrade script, put variants in all versions of the Product. Begin19:24
-!- newtont_ [n=newtont@dsl-146-54-186.telkomadsl.co.za] has joined #WebGui19:24
CIA-5WebGUI: work on converting the collateral tables over to JSON.19:24
@rizenlooks like you're on the right track19:25
+perlDreamer(phew) good.  Thanks for the review.19:25
@rizenthough when i genericize it for use in other assets there are a few things i'd change19:26
+perlDreamerokay, what does it need?19:26
@rizenfirst, while for your purposes of conversion the word "table" makes sense, but to people that never saw table based collateral, it makes no sense19:26
+perlDreamerwould $collateral be a better variable to use?  Or something else?19:27
@rizenand it adds to confusion because databases have tables, but json doesn19:27
@rizensecond, i wouldn't make it part of the asset, but rather a separate object that the asset can use similar to VersionTag or Keywords19:28
+perlDreamerI was thinking in the long term this would become a mixin19:28
@rizenso you'd do: my $collateral = WebGUI::JsonCollateral->new($self, $fieldName);19:29
@rizenmaybe it will, i'm still not convinced about mixins yet though19:29
+perlDreamerHey, if you want it top-level, top-level it is19:29
@rizeni'm still leaning toward separate objects19:29
@rizenfor the purposes of this though19:30
@rizendon't worry about those things19:30
@rizenjust get it done19:30
@rizengiven the time constraints you don't have time to make this perfect19:30
+perlDreamertrue19:30
@rizenbesides, i've changed the spec of products on you enough during this19:31
@rizen=)19:31
-!- newtont_ [n=newtont@dsl-146-54-186.telkomadsl.co.za] has quit ["Leaving"]19:31
+perlDreameronly once.  I just keep flip-flopping implementations19:31
@rizenonce is enough19:31
@rizen=)19:31
-!- itnomad [n=jack@pdpc/supporter/professional/itnomad] has joined #webgui20:04
itnomadI'm getting ready to install webgui on a CentOS server. I am confused by the instructions for DNS setup. Not much experience there. I am using one site on a computer that I access only by numbered address. Eventually I will get a domain name for this, but for now can I skip the DNS setup or do I have to make up a name for the WRE to use locally?20:08
itnomadWhere it says "add your first site"; sitename='can I use a numbered address here?'20:13
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []20:13
+perlDreameritnomad, I'm not a WRE user, but I don't see why not20:15
itnomadBy now my nubiness must be clear to all. I have an intranet with a couple computers and am using a router and port forwarding.20:16
itnomadI guess I just need to jump in and give it a shot.20:16
+perlDreameritnomad, we've all started there.  Don't feel bad because you're new.20:16
itnomadI should go ahead and learn about the /etc/hosts file anyway. It's just that there is so much to do and so little time. Thanks for the encouragement perlDreamer.20:17
+perlDreameritnomad, if you're truly in a time crunch to set this up, have you considered having someone setup and host your site for you?20:18
@rizenitnomad use the domain name that you think you'll be using when you luanch20:19
@rizenlaunch20:19
@rizenwww.itnomad.com20:19
@rizenfor example20:19
@apeironThen you can put that in /etc/hosts, right?20:19
@rizenyes, and then add an entry to /etc/hosts20:20
@rizenof:20:20
@rizen10.0.0.1  www.itnomad.com20:20
@rizenreplace 10.0.0.1 with your numbered ip20:20
@rizenthen you can still access the site using 10.0.0.1 (or whatever your ip is)20:21
@rizenbut the WRE is expecting a domain...not an ip address20:21
itnomadokay...got it. That helps a lot!20:21
itnomadThank you ... onward with the installation.20:22
+perlDreamerrizen: accessory collateral converted over to JSON collateral.  The upgrade process has been tested, but I still need to test the UI.20:28
CIA-5WebGUI: colin * r6307 /WebGUI/ (2 files in 2 dirs): 20:34
CIA-5WebGUI: Convert accessory collateral to JSON based accessory collateral.20:34
CIA-5WebGUI: Add a product with accessory collateral to loadProducts.pl to test the upgrade.20:34
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui20:40
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui21:12
-!- mode/#webgui [+v perlmonkey2] by ChanServ21:12
itnomadinstallation was painless once I got past that one hump. I went ahead and bought the domain I will be using and put in /etc/hosts with my local ip. Everything is working. Thanks again for the help.  Now for some exercise.22:27
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []22:38
-!- itnomad [n=jack@pdpc/supporter/professional/itnomad] has quit ["Leaving"]22:41
+perlmonkey2I would like to mark today as a day of celebration.  Microsoft has, at least for now, given up its bid to buy Yahoo.22:42
+perlDreamerMotion seconded22:49
+perlDreamerany comments from the floor?22:49
+perlDreamerbarring comments from floor, or an override from the commissioner, motion is passed.22:53
+perlmonkey2hah, perlDreamer++23:14
@rizeni object23:20
+perlDreamerthe committee recognizes the commissioner23:27
+perlDreamerWould you please detail the objection for the record?23:27
@rizeni would like to designate today as a day of sour grapes23:27
@rizeni mean, did you read that pity party of a letter that balmer released to the public23:28
@rizenhe's so pissed off that someone would thwart his advances, that he's attempting to devalue Yahoo!'s stock price by saying they don't know how to run their own business23:29
@rizenin addition, he talks as if he knows so much about the search business...but if he did, would his company really be a distant 3rd place contender...and note that he's talking to the 2nd place contender here23:30
@rizentherefore i designate today as a day of sour grapes23:31
+perlDreamerthe committee would like suggest that we combine the celebration and sour grapes to be a day of "Neener neener boo boo".23:31
@rizeni really want to post what i just said to the black blog, but me thinks that it probably wouldn't be appropriate23:32
+perlDreamerjust pull the concept out of it, and write about that23:33
+perlDreamerpoor sportsmanship, mud-slinging don't work well with open source23:33
@rizenwhat fun would that be23:34
@rizenoh, and steve balmer can't do math23:35
@rizenin his letter he claimed that they offered an additional $1 per share (raising it to $33 from $32 per share) which was also rejected23:36
@rizenand he said that extra $1/share was going to cost $5 billion23:36
@rizenlater in the letter he said that yahoo would not settle for anything less than $37 per share23:36
@rizenwhich would cost an additional $5 billion or more23:36
@rizenhow is it that $1/share and $4/share both equal $5 billion23:37
+perlDreamerunless the number of shares offered are different, they aren't23:37
@rizenexactly23:38
+perlmonkey2heh23:38
+perlmonkey2It is always fun to see a company, lacking in even the remotest spec of integrity, fall on its face.23:39
@rizenbut in far more important news:23:41
@rizenhttp://gizmodo.com/386877/holy-crap-macgyver-blockbuster-film-coming23:41
+perlDreameryeah!23:42
+perlDreameroy23:42
+perlDreamerI already miss the new commerce system23:42
@rizenyou already miss it?23:44
@rizenoh...you're working on the old one for that contract23:45
@rizen=)23:45
@rizenwhat's funny is that i'm writing the same thing you are23:45
@rizenonly for the new one23:45
@rizen$0 transactions23:45
@rizenright at this very moment23:45
+perlDreamerhave to take a small break23:45
+perlDreamerI have a very important snake tungue surgery to perform23:46
+perlDreamerYesterday, I was an electrician23:52
+perlDreamerThis morning, a programmer23:52
+perlDreamerthis afternoon, a veterinarian23:52
+perlDreamerwhat a day23:52
+perlDreamerplus, I caught a cold23:53
+perlmonkey2rizen: Should I address the cover letter to Frank?23:57
@rizenif you like23:57
@rizenhe is going to be the one who interviews you23:57
+perlmonkey2groovy23:57
--- Day changed Mon May 05 2008
CIA-5WebGUI: colin * r6308 /branch/WebGUI_7.4/lib/WebGUI/Operation/ProductManager.pm: price and weight checks were mangled in the ProductManager00:09
+perlDreamerare all WebGUI releases tagged in SVN?01:24
@rizenall releases in the past 6 months or so01:25
@rizenwe didn't do it before that01:25
@rizenmaybe not even that long ago...i don't remember exactly when we started it01:25
+perlDreamer7.4.16 is before the JSON fixes, so I'm guessing that it's too old01:25
+perlDreamerit's okay, I'll diff against an original source tree01:26
@rizenno i think 7.4.16 should be in the tags01:26
+perlDreamerI'll check01:26
@rizenhttps://svn.webgui.org/svnweb/plainblack/browse/releases/WebGUI_7.4.16-stable/01:26
@rizenlooks like we've been doing it since the 7.3 days01:27
+perlDreameryup01:27
@rizenok calling it quits for the day...ttyl01:40
-!- rizen is now known as rizenisaway01:40
* perlDreamer continues with his journey01:43
+perlDreamerleaping from module to module01:43
+perlDreamerwriting wrongs from the past01:43
+perlDreamerand hoping that each one will show him the way home01:45
+perlDreameror at least to a cushy well paying job with Perl02:16
CIA-5WebGUI: colin * r6309 /WebGUI/lib/WebGUI/Asset/Sku/FlatDiscount.pm: fix for POD whitespace02:22
CIA-5WebGUI: colin * r6310 /WebGUI/lib/WebGUI/Asset/Sku/Product.pm: final accessory changes. UI tests pass as well02:46
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:50
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:50
+perlDreamerthis new collateral system is so simple, I wonder if the whole thing could be automated, ala the definition sub.02:52
+perlDreamerso when it found a collateral property, it would autogenerate all the move, and delete subs02:53
-!- snapcount [n=snapcoun@32.10.101.97.cfl.res.rr.com] has joined #webgui03:15
-!- snapcount [n=snapcoun@32.10.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)]03:37
-!- sanyock3 [i=_ejabber@server1.jabbernet.eu] has left #webgui []04:13
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui04:39
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 113 (No route to host)]04:55
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]05:10
-!- enriquan [n=enriquan@c-76-19-80-198.hsd1.ma.comcast.net] has joined #webgui05:24
enriquanhi all :)05:24
enriquan...05:29
enriquannobody's here huh?05:29
enriquanI cant install webgui... cause my server's running apache05:30
enriquanand its my web host... so I dont think I can disable it05:30
-!- enriquan [n=enriquan@c-76-19-80-198.hsd1.ma.comcast.net] has quit []05:48
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui05:51
-!- mode/#webgui [+v Radix-wrk] by ChanServ05:51
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."]06:25
CIA-5WebGUI: colin * r6311 /WebGUI/ (3 files in 3 dirs): convert related over to JSON collateral07:01
-!- wgGuest17 [n=wgGuest1@AStrasbourg-157-1-38-38.w90-40.abo.wanadoo.fr] has joined #webgui09:26
-!- wgGuest17 [n=wgGuest1@AStrasbourg-157-1-38-38.w90-40.abo.wanadoo.fr] has quit [Client Quit]09:26
-!- citronized [n=chatzill@AStrasbourg-157-1-38-38.w90-40.abo.wanadoo.fr] has joined #webgui09:26
citronizedhello :)09:27
citronizedi'm trying to install Webgui on a mac... OS 10.509:28
citronizedi'm wondering if there's a special directory in a specific location to create for unpacking ?09:29
+Radix-wrkcitronized: I'm not familiar with installing it on a mac, but is there anything in the wiki about a mac install?09:30
+Radix-wrkI'm sure it'd be documented somewhere09:30
citronizedperhaps yup, i'm gonna have a look there :)09:31
+Radix-wrkmy guess though is that it's the same as for every other platform - you need a /data directory and everything goes under that - that's just a guess tho09:31
citronizedyes, but as I have several sessions, I dunno if I have to create the data dir at the root or in one admin session...09:31
@rizenisawaythe instructions are the same for *all* platforms, and the wre comes with them in docs/install.txt09:32
@rizenisawayjust follow it and you'll be fine09:32
citronizedok, I'll do that :) thank you two ;)09:33
+Radix-wrkyou're welcome09:33
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:41
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui09:57
-!- mode/#webgui [+o preaction] by ChanServ09:57
citronizedhello again, when i list the services, i have a warning displayed on page : Because you are not an administrator on this machine, you will not be able to start or stop services on ports 1-1024.10:19
citronizedso i cannot start Apache Modproxy services :(10:19
citronizedi've tried using  a "root" session, but i have the same warning displayed :-/10:20
+Radix-wrkyou will need to be root to start webgui, yes, or any apache service.10:21
citronizedisn't there a way to start the service in command line, using the root login ?10:22
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui10:22
citronizedok, found it10:33
citronizedthe command is : "data/wre/sbin/wreservice.pl --start all"10:34
citronizedwith "su" before :)10:34
BartJoldo you know whether su retains the environment settings?10:35
citronizednope, no idea10:36
BartJolquite important10:36
BartJolI think when I sudo'd it didn't go well10:36
BartJoland you need root rights for -all10:37
+Radix-wrkerr.. not su10:37
+Radix-wrksudo10:37
+Radix-wrkor use su to get into root first, then run it I guess10:37
BartJolwell that works for me...10:38
BartJoloff course10:38
+Radix-wrkeither should work really10:38
BartJolah10:38
+Radix-wrkbut you may have to configure sudo first to ensure you have privileges to do it10:38
BartJolwell I broke something so I can't test it right now10:38
BartJolah10:38
+Radix-wrksu is easier imho10:39
+Radix-wrkbut sudo is technically safer :)10:39
+Radix-wrkboth give you root privs tho :)10:39
BartJolok10:39
citronizedwell, i'm just trying to instal webgui to test it localy10:39
+Radix-wrkfair enough10:40
+Radix-wrkwebgui is great, but the installation is always the hardest part :)10:40
citronizedi can see that, yup !! :)10:40
BartJolwith the wre it's quite doable10:40
+Radix-wrkyou know about the demo.plainblack.com site right?10:40
citronizedyep, but it only last for 1 day, don't it ?10:41
BartJolit does10:41
BartJolor limited time anyway\10:41
+Radix-wrkwith the wre it should be doable in about half an hour.. but that assumes you have no mysql, no apache, perl, anything on that system already that might conflict or cause issues10:41
BartJolI had a clean server, that might make a difference10:42
+Radix-wrkyeah, I've found it makes the world of difference10:42
citronizedtook me less then one hour10:43
+Radix-wrkfor your first time that's excellent :)10:43
BartJolso before installing make sure it's clean with a sudo rm -rf / command10:43
BartJol:)10:43
+Radix-wrkhhaha10:43
BartJolsorry, to often made, this joke is10:43
citronized:p10:44
BartJolI'm just not that original :)10:44
+Radix-wrkSee your nerd education is still rather lacking that's why Bart.. you're getting there tho :)10:44
citronizedhow do i quit the "root" mode in terminal ?10:45
+Radix-wrkexit10:45
citronizedty10:45
BartJolctrl-D10:45
+Radix-wrkyou can use the 'id' command to see what privileges you're running as at any time too10:46
+Radix-wrkit should say something like 'uid=0(root) gid=0(root)' if you're running as root10:46
+Radix-wrkand something like 'uid=501(jesse) gid=503(formsys)' if you're as a normal user10:47
BartJolbut I'm not called jesse?10:47
citronized:)10:47
+Radix-wrkyes, be grateful for that one :)10:47
citronizedgives me that : uid=501(citronized) gid=501(citronized) groups=501(citronized),98(_lpadmin),80(admin)10:48
+Radix-wrkyup, so you're in a normal user session right now then10:48
citronized;)10:48
+Radix-wrkid is handy if you're like me and logged into half a dozen different machines at any one time and can never remember who you logged in as10:49
citronizedi guess :)10:50
BartJolah, I'm only logged in to maximun three machines simultaneously 10:50
BartJolbut, I'm not yet as nerdy...10:50
+Radix-wrkheh10:52
+Radix-wrkWell I'm off home - going to see Iron Man tonight and looking forward to it!10:53
BartJolah, have fun10:53
citronized:)10:53
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]10:53
citronizedis there a way to custom used fonts for all pages ?11:02
BartJol? probably there is, but I'm not sure what you mean?11:03
BartJolin the css you can do that11:04
BartJolbut you can have a css in the head of the template or a separate css file11:04
citronizedthe content part use a serif font, i'd like to use a sans-serif font, i don't know how to manage this :)11:04
citronizedok11:05
citronizedwhere is located this css ?11:05
BartJolso you just have to look at your template whether it has css directly in it or via a css file11:05
BartJolyou can see it in your template11:05
BartJolprobably somewhere in the import node or media folder11:05
citronizedright, in the import dir ;) ty11:07
BartJolif the template uses a css file, it should be defined in the head section of your template11:07
BartJolif you have bugzilla (if you use firefox) most of the time you also see what file is used11:08
BartJolthe name anyway11:08
citronizedi have the webdeveloper tools bar11:10
citronized;)11:10
BartJolok11:11
citronizedBartJol: do you know how can I add MySQL tables or DB ? Do I have to use the WRE console or there's a phpMyadmin like console ?11:22
BartJolah11:23
BartJolwell11:23
BartJolI would just go into the mysql db11:24
BartJolbut with an sql form, maybe you are able to do it too11:24
BartJolbut I didn't work with that yet11:24
citronizedoh, ok...11:25
BartJolbut not via the wreconsole and there isn't a separate console for it11:25
citronizedok, i have to figured out how to manage that11:26
BartJoldo you want users to be able to do that? or you just want to add a table?11:27
citronizedi just want to add a table in order to manage some records which will be displayed in the site 11:29
BartJolfor an extra db, you have to make one in mysql, then add a database link inyour webgui settings11:29
citronizedi've seen that i have to do this link, but i dunno if there's a "phpMyadmin like" interface11:31
BartJolyour mysql user and password are in your WebGUI conf file11:31
BartJolwell, thingy might be able to do that11:31
BartJolbut that's only in the beta version11:32
BartJoland these also are local assets, so not page iwde11:32
citronizedexpected for the end of May, i've heard 11:32
BartJolyeah, well...11:33
BartJol:)11:33
BartJoldeadlines are easily passed11:33
citronizedi know, i know :)11:33
BartJolbut it will be somewhere around there11:33
BartJolit will be before the wuc11:33
citronizedwhat is the wuc ?11:34
BartJolthe webgui user conference11:34
BartJol29th of august in madison, wisconsin11:34
BartJolI believe11:34
BartJolwww.webgui.org/wuc11:34
citronizedoh ok :)11:35
BartJolit's nice, and you can get to meet all the famous wbegui nerds11:35
citronizedi won't be there :)11:35
citronizedtoo far for me11:35
BartJoltoo bad, 11:35
BartJolwe are going with around 12 dutchmen11:35
BartJoland it's far for us too11:36
citronizedi guess11:36
citronizedmaybe if i'm rich and have some holidays :)11:36
BartJola, we all get our tickets because it's our work11:37
BartJoland all give presentations11:37
BartJolwhere are you from then?11:38
citronizedfrom france :)11:38
BartJolStraasbourg?\11:38
citronizedyup, Mr. Nerd :)11:39
citronizedbut it's Strasbourg ;)11:39
BartJolthnaks, I consider that a compliment11:39
citronizedu can :)11:39
BartJolI know, my typing has to warm up11:39
citronizednp11:39
BartJolwell, nice to have more persons in the some timezone here11:40
citronizedStraasbourg sounds too much german for me :)11:40
BartJolin dutch it's Straatsburg11:40
citronizedclose11:40
citronizedabout the tickets, it's not my job, even if i would like it :)11:41
BartJolmaybe a career change? :)11:42
citronizedi hope11:42
citronizedi'm bored with filemaker devs :)11:42
citronizedit's unusefull i think11:42
BartJolbut do you also work on the french translation? that would be a must for webgui in france11:43
BartJolalready 38 percent done11:43
citronizedI will11:44
BartJolnice11:44
citronizedi discuss of it here with another user, i can't remember his name :|11:45
citronizedperl-somethg11:45
citronizedsorry for him11:45
BartJolperlmonkey2?11:45
citronizedyup11:45
BartJolperlDreamer?11:45
citronized;)11:45
citronizedboth, as far as i can remember11:45
BartJolah, those are both sleeping11:46
citronizedi guess, last time i came, was the night here :)11:46
BartJolIs there something like a WebGUI community in France?11:46
citronizedi don't know :)11:46
citronizedi'm quite comfortable with english, so i didn't even look if one exists11:47
BartJolIn the Netherlands we have, if we have a bigger meeting would you like to come here?11:47
BartJolthat's not very far11:48
citronizedwhy not11:48
citronizedi was in Utrecht this w-e :)11:48
BartJolah11:48
BartJolnice city11:48
citronizedfor a car meeting :)11:48
citronizedwell, not really cars, but Citroën's :)11:49
BartJolmm, Utrecht just banned SUV's from the city centre11:49
BartJolwell, the old Citroens are really nice11:49
citronizedthey really are, i think :)11:49
citronizedi'm a citroën scale model collector :)11:50
BartJolwell that's not reaaly my type of hobby11:50
citronizedand that a part of the point of my website project : buil a scalemodelslibrary :)11:50
BartJolbut, if you collect model cars, they can better be nice11:51
BartJolah11:51
citronizedyeah, don't have enough $$ to buy real ones :)11:51
BartJol:)11:51
citronizedbut i have my grandfather '78 GS :)11:52
citronizedfor now, it's far enough for me ;)11:52
citronizedi have a xantia too, but that's for everyday11:54
citronizedwell, i'm gonna stop pissing u off with my cars stories :)11:54
BartJolah, well, I've gotta work too11:55
citronized;)11:55
citronizedmaybe i see u later around ;)11:55
BartJolprobably11:55
BartJol:)11:55
citronizedgood work then :)11:55
BartJolthanks, later11:55
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]11:56
-!- ryuu_ro [n=rory@gw.oqapi.nl] has joined #webgui12:09
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)]12:56
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui13:42
citronizedhi again :)13:49
citronizedis "Thingy" already available in beta ?13:50
BartJolyeah14:02
BartJolbut it not yet fully done14:02
BartJols/it/it is/14:03
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:07
-!- CIA-5 [n=CIA@208.69.182.149] has quit []14:48
-!- CIA-5 [n=CIA@208.69.182.149] has joined #WebGUI14:55
citronizedu mean some functions aren't available ?15:02
BartJolwell I thought that the feature set isn't completed yet, but those that are should work15:03
citronizedhow ca i get this beta ?15:04
BartJoldownload it! :)15:04
citronizedi haven't found any links, that's why i ask :)15:05
BartJolhttp://sourceforge.net/project/showfiles.php?group_id=51417&package_id=45293&release_id=59133015:05
BartJolthat is the location of the latest beta15:05
BartJol7.5.1015:05
BartJolbut read the gotcha file after unpacking15:06
citronizedoh, ok, it's included in the webgui package :)15:07
BartJolyeah, probably in /data/WebGUI/docs15:07
citronizedi though it was  a PI or something like that :)15:07
BartJolno the api can be found via the wiki15:08
BartJolalso very usefull15:08
BartJolif you start to write your own code15:08
BartJolbut the gotcha contains some info on important changes that are sometimes not completely compatible15:13
-!- CIA-5 [n=CIA@208.69.182.149] has quit [Remote closed the connection]15:16
citronizeddo you think it's possible to install this beta side to side with the stable version ?15:19
citronizedor do i have to trash my stable version ?15:20
BartJolI think it is possible, but....15:20
BartJolyou need to setup another directory tree15:20
BartJoland maybe there are some defaults15:21
BartJolthat think that the directory is /data/WebGUI15:21
BartJolso that might take some time to configure15:21
BartJoland it should have another ip address15:22
BartJolsuch stuff15:22
citronizederf..ok I see :)15:22
BartJolyou don't make live easier for yourself15:23
BartJol:)15:23
citronizedi'll wait for the stable version then :)15:23
BartJolbut for older versions without the wre we have that15:23
-!- CIA-6 [n=CIA@208.69.182.149] has joined #WebGUI15:24
BartJolprobably when 7.5 gets stable, there also will be an upgrade path from 7.415:24
citronizedwhich version is included in the WRE 0.8.3 package ?15:25
BartJolso then there shouldn't be to many problems15:26
BartJolnone15:26
BartJolbut when you install WebGUI, it will take the latest stable (in this case 7.4.35) version15:26
citronizedok, i've seen that it has dowloaded this stuff during install :)15:27
citronizedare upgrades easy once you've installed webgui ?15:27
BartJolnormally yes15:28
citronizedeasy as is the installation or as two clicks on buttons ? :D15:28
BartJolif you have many custom extra's (like in the code) that can cause trouble15:28
BartJoleeh15:29
BartJolwell you should run the /data/wre/sbin/webguiupdate.pl script15:29
citronizedseems fine to me :)15:30
BartJolbut there are also some upgrade instructions on the site15:30
BartJolI would advise to read those :)15:30
citronized;)15:30
BartJolI didn't do that very often with success15:31
BartJoland I broke my test installation15:31
BartJolso15:31
BartJolstill some stuff with the new JSON version15:32
citronizedi'm gonna try my SQL Form asset to work, this way, i won't bother u anymore with upgrades and stuff :)15:32
BartJolwell, glad to be some help15:33
citronizedty for ur help anyway15:33
citronizedit's always great to be more then one in front of an issue ;)15:34
BartJolhave fun15:34
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:38
-!- mode/#webgui [+v perlmonkey2] by ChanServ15:39
BartJolmorning15:41
citronizedmorning :)15:41
-!- MrHairgrease [n=martin@gw.oqapi.nl] has joined #webgui15:42
-!- mode/#webgui [+v MrHairgrease] by ChanServ15:42
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui15:53
-!- mode/#webgui [+o preaction_] by ChanServ15:53
-!- ryuu_ro_ [n=rory@gw.oqapi.nl] has joined #webgui15:58
-!- SDuensin [n=Scott@225.sub-75-207-187.myvzw.com] has joined #WebGUI16:08
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]16:08
-!- citronized [n=chatzill@AStrasbourg-157-1-38-38.w90-40.abo.wanadoo.fr] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.14/2008040413]"]16:14
-!- ryuu_ro [n=rory@gw.oqapi.nl] has quit [Read error: 110 (Connection timed out)]16:16
+perlmonkey2anyone seen the use.perl article on how fresh cpan is?  http://use.perl.org/~LaPerla/journal/3632016:18
+perlmonkey2that is pretty cool.16:18
-!- MrHairgrease [n=martin@gw.oqapi.nl] has quit [Read error: 110 (Connection timed out)]16:20
-!- MrHairgrease [n=martin@gw.oqapi.nl] has joined #webgui16:21
-!- mode/#webgui [+v MrHairgrease] by ChanServ16:21
SDuensinMorning.16:24
-!- dionak [n=diona@97.66.185.250] has joined #webgui16:46
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui16:47
-!- mode/#webgui [+v snapcount] by ChanServ16:47
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui16:58
-!- mode/#webgui [+o Haarg] by ChanServ16:59
-!- ryuu_ro_ [n=rory@gw.oqapi.nl] has left #webgui []16:59
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit [Client Quit]17:00
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui17:01
-!- mode/#webgui [+o Haarg] by ChanServ17:01
@rizenisawayMrHairgrease: in iTransact processing do you ever set a "total" amount?17:12
-!- rizenisaway is now known as rizen17:12
@rizeni'm trying to figure out where to place in-shop credit into this module. 17:13
+MrHairgreasehang on17:13
+MrHairgreaselet me check that17:13
@rizenfor example, let's say i have a transaction for $20 and i have a $10 credit in the shop. i should be able to make the credit card fee only $10 then instead of the full $2017:14
+MrHairgreaseI I recall correctly you pass the per item price/qty to itransact17:16
+MrHairgreaseI'll have to check it in their docs17:16
+MrHairgreasegimme a minute17:16
@rizenif that's true, how do you pass in things like tax, shipping, etc17:17
@rizendo you just add extra line items?17:17
+MrHairgreaseIf you want those seperate, they'll have to be passed as separate items17:22
+MrHairgreaseafaik, itransact does not have a seperate tax field17:23
@rizenso is the itransact module not accounting for shipping and tax costs right now?17:23
@rizenif not, i'll add it while i'm in here adding the other stuff17:23
+MrHairgreaselet me check17:23
@rizenit doesn't look like it to me17:23
@rizenthat's why i'm asking17:23
+MrHairgreasei know17:24
@rizenif you don't know, then it probably isn't17:24
+MrHairgreaseok 17:24
+MrHairgreaseIt doesn't as far as i can see17:24
+MrHairgreaseI thought the getPrice thing calculated the price including tax17:25
+MrHairgreasebut that isn't17:25
+MrHairgreasehnce the confusion17:25
@rizenok thanks17:26
+MrHairgreaseok, now i'm sure17:27
+MrHairgreaseit doesn't do it17:27
@rizenalright, i'll add those in too then17:27
+MrHairgreasei can add it too17:27
@rizeni'm working on it right now anyway17:28
@rizenfor that credit stuff17:28
+MrHairgreaseok, just add them as seperate items17:28
+MrHairgreasequestion about the subscriptions17:28
+MrHairgreaseit used to be possible to have one subscription code referring to two subscriptions17:29
+MrHairgreasebut we agreed that that will not be the case anymore in the new system17:29
+MrHairgreaseie. a one-to-one relationship between code<->susbscription17:29
+MrHairgreasewhat do you want to happen if there are codes that have multiple subscriptions attached?17:30
@rizenexisting codes?17:30
+MrHairgreaseyeah17:31
@rizenmy guess is that there aren't any because you said the user interface doesn't allow for it, only the api did17:31
+MrHairgreaseaparently I was wrong on that17:31
+MrHairgreaseb/c when i tried to make a batch of codes for testing the migration script17:31
+MrHairgreaseit was possible17:31
@rizenbut if you find any then display a warning in the upgrade output AND log, and then convert them to a new code17:31
-!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has joined #webgui17:32
@rizenso if there are two subscriptions in the code17:32
@rizenthen the first one can use the code17:32
@rizenand the second one gets  a new code17:32
-!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has left #webgui ["Open Source Symposium - http://www.texasoss.org/"]17:32
@rizenand you let people know that in both the upgrade output (print) and in the log17:32
+MrHairgreasehow I have done it so far is letting assign one of the subscriptions to the code, thus discarding the other subscriptions for that code17:36
+MrHairgreasecreating a new code has about the same effect, since you only really wanna retain codes if you've handed them out already17:36
+MrHairgreasebut in that case, the person that received it doesn't know anymore where to redeem it.17:37
+MrHairgreasesince the code redemption is moved into the sku17:38
+MrHairgreaseand removed from the displayAccount screen17:38
+MrHairgreaseso how does creating new codes help?17:38
+MrHairgreaseit only complicates matters17:38
@rizenno it helps17:39
@rizenit helps because the store owner doesn't have to manually create the codes 17:39
@rizenhe's going to have to send out the codes again sure17:40
@rizenbut he doesn't have to manually create it17:40
@rizenso give him the codes and the urls17:40
@rizenthen he can send out the emails17:40
@rizento distribute the new codes to people17:40
+MrHairgreaseok17:41
+MrHairgreaseanother funny thing i came across: now that subscriptions are assets people without admin privs can add them.17:42
+MrHairgreaseSo what happens if some evil content manager adds a subscriuption to the admin group and redeems a code for himself?17:42
@rizenset the canAdd value of it to '3'17:43
@rizenthat will stop that problem17:43
@rizenand if someone wants to override it, they can do so in their config17:43
+MrHairgreaseok17:44
@rizengood thinking though17:44
@rizeni didn't even consider that17:44
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]17:48
+MrHairgreaseok, one final question: subscription codes are in batches which belong to subscritions17:50
+MrHairgreaseso now each code has a batchId17:50
+MrHairgreaseand each batchId has a subscriptionId17:50
+MrHairgreasewould it be a bad thing to add a subscriptionId to each code too?17:51
-!- DX^ [n=dx@c-24-99-22-37.hsd1.ga.comcast.net] has quit [Read error: 110 (Connection timed out)]17:51
+MrHairgreaseit is a form of data duplication so I left it out17:51
@rizeni'll leave it to your judgement18:14
-!- adi112358 [i=adrian@79.112.45.75] has joined #webgui18:14
CIA-6WebGUI: colin * r6312 /WebGUI/lib/WebGUI/Asset/Sku/Product.pm: more collateral conversion. Collateral data does not need to be removed from extra tables in purge method18:21
CIA-6WebGUI: colin * r6313 /WebGUI/lib/WebGUI/Asset/Sku/Product.pm: collateral data does not need to be manually duplicated18:21
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui18:23
-!- mode/#webgui [+v perlDreamer] by ChanServ18:23
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []18:27
+perlDreamerjson collateral in the asset table has lots of advantages18:35
+perlDreamerno need for manual duplication or purging18:35
+perlDreamerversioning18:36
+perlDreamerprototyping18:36
@rizeni know18:37
@rizenhence my blog entry18:37
@rizen=)18:37
-!- MrHairgrease [n=martin@gw.oqapi.nl] has left #webgui []18:37
-!- webmaster [n=webmaste@fvec-nat.d214.org] has joined #webgui18:40
webmasterwhere does the Sybase.pm file need to be and installed18:40
+perlDreamerwebmaster, do you mean DBD::Sybase?18:40
webmasteryes18:41
+perlDreamerAre you using the WRE?18:41
webmasteryes18:41
+perlDreamerget a root session18:41
+perlDreamersource the setEnvironment script18:41
+perlDreamerperl -MCPAN -e 'install DBD::Sybase'18:41
+perlDreamerrestart apache18:41
+perlDreamerconfigure a database link to your sybase db18:42
+perlDreamerthen use it18:42
+perlDreamernote that you can't use it for the default webgui database18:42
+perlDreameronly for external db queries18:42
webmasteri did that and i even can run a perl script to spit out my server name which is a SQL server. I create a database link in WebGUI and this is what i get18:43
webmaster2008/05/02 03:06:25 - WARN - bellatrix.conf - Log::Log4perl::Logger::__ANON__[41] - Couldn't call method view on asset for url: tell_a_friend/di-teacher Root cause: install_driver(Sybase) failed: Can't locate DBD/Sybase.pm in @INC (@INC contains: /data/WebGUI/lib /data/wre/prereqs/lib/perl5/5.8.8/i686-linux /data/wre/prereqs/lib/perl5/5.8.8 /data/wre/prereqs/lib/perl5/site_perl/5.8.8/i686-linux /data/wre/prereqs/lib/perl5/site_perl/5.8.8 /data/wre/p18:43
webmasterPerhaps the DBD::Sybase perl module hasn't been fully installed,18:43
webmasteror perhaps the capitalisation of 'Sybase' isn't right.18:43
webmasterAvailable drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.18:43
webmasterso we moved the pm file so webgui could see it18:43
webmastergot this18:43
webmaster2008/05/02 10:35:07 - WARN - bellatrix.conf - main::[[undef]] - Couldn't call method view on asset for url: tell_a_friend/di-teacher Root cause: Undefined subroutine &DBD::Sybase::db::_login called at /data/wre/prereqs/lib/perl5/site_perl/5.8.8/i686-linux/DBD/Sybase.pm line 94.18:43
webmastergave it execute permissions and got his18:43
webmaster2008/05/02 10:38:05 - WARN - bellatrix.conf - main::[[undef]] - Couldn't call method view on asset for url: tell_a_friend/di-teacher Root cause: install_driver(Sybase) failed: Can't locate loadable object for module DBD::Sybase in @INC (@INC contains: /data/WebGUI/lib /data/wre/prereqs/lib/perl5/5.8.8/i686-linux /data/wre/prereqs/lib/perl5/5.8.8 /data/wre/prereqs/lib/perl5/site_perl/5.8.8/i686-linux /data/wre/prereqs/lib/perl5/site_perl/5.8.8 /data/18:44
webmasterCompilation failed in require at (eval 1695) line 3.18:44
webmasterPerhaps a module that DBD::Sybase requires hasn't been fully installed18:44
webmaster at /data/WebGUI/lib/WebGUI/SQL.pm line 32218:44
@rizenare you sure you installed it into the right perl18:44
@rizenmy guess is that you installed it into your local perl rather than the wre18:44
+perlDreameryeah18:44
+perlDreamertry a locate Sybase.pm18:45
webmasterlocate Sybase.pm18:45
webmasterlocate Sybase.pm18:46
webmaster"/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBD/Sybase.pm"18:47
webmaster"/data/WebGUI/lib/DBIx/DBDescribe/DBD/Sybase.pm18:47
webmaster"/data/wre/prereqs/lib/perl5/site_perl/5.8.8/i686-linux/Bundle/DBD/Sybase.pm"18:47
webmaster"/data/wre/prereqs/lib/perl5/site_perl/5.8.8/i686-linux/DBD/Sybase.pm"18:47
webmasterwe manually put it into the 2 wre folders18:48
+perlDreamerif you manually put it there, you probably didn't install everything that it needed18:48
+perlDreameruse CPAN to install the whole thing into the WRE's perl18:48
+perlDreamerjust like the instructions that I gave you earlier18:48
webmasteris there a certain folder i need to be in when i run the command 18:48
+perlDreamerno18:49
+perlDreamerjust be sure that you're using the WRE's perl18:49
+perlDreamerwhich perl18:49
webmasterthe "into the WRE's perl" is the part I am not clear on. 18:49
webmasterhow do i know i am using WRE perl18:49
+perlDreamertype perl18:49
+perlDreamer"type perl"18:49
+perlDreameror, "which perl"18:49
+perlDreamerif it doesn't say /data/WRE.....perl, you're not using the right one18:50
webmaster"/user/bin/perl" 18:50
webmasterso how do i stop it and use wre18:50
+perlDreamer". /data/WRE/sbin/setEnvironment"18:50
+perlDreamerthe setEnvironment script will alter your path environment variable so that WRE binaries are found first, rather than system binaries18:52
+perlDreamerwebmaster, is that working for you?18:55
webmasterRunning make test18:57
webmaster  Make had some problems, maybe interrupted? Won't test18:57
webmasterRunning make install18:57
webmaster  Make had some problems, maybe interrupted? Won't install18:57
-!- adi112358 [i=adrian@79.112.45.75] has left #webgui ["Leaving"]19:01
+perlDreamerrizen: I know you want this C2 stuff done, but sending a virus to keep me home from work was a little over the top.19:01
@rizendamn it, i told xander to just send over a mild bacterial infection19:03
@rizenxander being my evil bio-warfare henchman of course19:04
CIA-6WebGUI: colin * r6314 /WebGUI/lib/WebGUI/Asset/Sku/Product.pm: update the SQL query for related Products to consider revisionDate19:08
webmasterwhen i run the console and try to restart apache i get this Please contact me at:19:14
webmaster        http://bellatrix.d214.org:60834/19:14
webmasterCan't write to config file /data/wre/etc/wre.conf at /data/wre/lib/WRE/Modperl.pm line 14919:14
webmasterCan't write to config file /data/wre/etc/wre.conf at /data/wre/lib/WRE/Modperl.pm line 11219:14
webmaster(13)Permission denied: httpd: could not open error log file /data/wre/var/logs/modperl.error.log.19:14
+perlDreamerrizen: in the Product, for benefits, specifications and features, it gives you a combo box of items from other products.19:14
+perlDreamerthis was pretty easily done with SQL19:14
+perlDreamerbut with JSON, not so19:14
+perlDreamershould I grab the JSON with a SQL, and make the data, or instance the assets one by one to grab their JSON19:15
+perlDreamerthe second is better, but should be slower due to instancing the assets19:15
+perlDreamerand for large sites (100,000 products) it won't be fun at all19:15
+perlDreameractually, it might be bad for either method19:16
+perlDreamernow that we have prototypes, would it be okay to remove that feature from the product?19:16
+perlDreamer(drop down of data from other products)?19:16
@rizenwhat does json have to do with it19:17
@rizenwe're linking to other products19:17
@rizennot to variants19:17
@rizenoh nevermind19:17
@rizeni see what you're saying19:17
+perlDreamerI was converting _all_ the product collateral to JSON19:17
+perlDreameraccessories, related products, specifications, benefits and features19:17
@rizenjust go with a text box rather than a combo19:17
+perlDreamerokay19:17
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @preaction_, diakopter19:31
-!- Netsplit over, joins: @preaction_, diakopter19:32
+perlmonkey2perlDreamer: product collateral to JSON?  I got the smack downt he other day for thinking about doing that.19:32
@preaction_probably because i was doing the smacking19:33
+perlmonkey2I thought it was rizen who said not to do that?  Was it you preaction_?19:33
@preaction_it was most likely me, as i oppose it out of principle19:34
@rizenperlmonkey2: i may have, but it would depend upon what you were doing19:34
+perlmonkey2april 28th 11:30-ish.19:35
+perlmonkey2I was thinking about moving all the attributes of questions, sections, and answers into a single JSON blob.19:36
+perlDreamerperlmonkey2: this is also a result of rizen's WebGUI version 8 post19:36
+perlmonkey2rizen: you talked me out of it in case the fields needed to be queried on.19:36
@rizenno that's not what you were asking me at the time19:36
webmasterdoes it matter where my httpd.conf file is located19:36
@rizenyou wanted to create an asset blob to store all your asset properties in19:36
@rizenyou weren't talking about questions at that time, but rather switches for the asset itself19:37
@rizenor at least that's what i understood you to be asking about19:37
+perlmonkey2I can see where the confusion came from, but I meant options on questions and sections, not on the asset itself.19:38
+perlmonkey2but collaterial.19:38
+perlmonkey2collateral, even :P19:38
+perlDreamerperlmonkey2: I have some fairly robust code (and tested) if you end up going that way :)19:39
webmasteri get this message on the service tab of the console: WARNING: Because you are not an administrator on this machine, you will not be able to start or stop services on ports 1-1024.19:39
+perlDreamerwebmaster, are you logged in as root on that machine?19:40
+perlmonkey2perlDreamer: I've used TEXT to store JSON for a long time, but is some trick you've learned tha tmight be worth shraing?19:40
webmasterhe was when he did the install19:40
+perlmonkey2sharing even ?19:40
+perlDreamerit's just the collateral access methods19:41
+perlmonkey2oh19:41
+perlDreamerI encapsulated the JSON entirely19:41
+perlDreamerso that from the asset, all you deal with are perl data structures19:41
+perlmonkey2ahah, that sounds pretty handy.19:41
+perlDreamercheck out Asset/Sku/Product.pm in the 7.5 branch19:41
webmasterwhat permissions does webgui need19:42
webmasterthe services folder is owned by root19:42
webmasterwre-apache is owned by webgui19:42
webmasterso are the other files in the redhat folder19:42
+perlmonkey2perlDreamer: 7.5.10 doesn't have an Sku19:44
+perlDreamerin SVN it does :)19:44
+perlDreamerdoes that look better, perlmonkey2?20:06
+perlmonkey2I was looking at 7.5.10beta in svn and wasn't seen it.20:06
+perlDreamerhttps://svn.webgui.org/svnweb/plainblack/view/WebGUI/lib/WebGUI/Asset/Sku/Product.pm20:07
+perlDreamernot the release version, the main branch20:07
+perlmonkey2ah, I got confused about it being a specific 7.5, but duh, why wouldn' it be in the main branch.20:08
+perlDreamereh, I could have been more specific20:08
+perlDreamerthe collateral methods are getCollateral, setCollateral, deleteCollateral and moveCollateral{Up,Down}20:10
+perlDreameralso, getAllCollateral and getIndexedCollateralData20:10
+perlmonkey2oh man, that all needs to be moved into a higher order object so everyone can share in the fun.20:10
+perlmonkey2good stuff.20:10
+perlmonkey2moveCollateralDown?  What is that for?20:11
+perlmonkey2I mean I know what it does, but why would you need it.20:11
+perlDreamercollateral has a sequence20:12
+perlDreamerso you can reorder it20:12
+perlDreameri.e. first question, next question, and so on20:12
+perlDreamerso moveUp and moveDown lets you change the order20:12
+perlmonkey2so your entire collateral table is a single JSON column?20:12
+perlDreameryes20:12
+perlDreamerwell, each asset stores its own collateral data20:13
+perlDreamerin a column20:13
+perlDreamerit makes cross asset queries impossible20:13
@rizenit certainly has that one downside20:17
@rizenbut it also has the upside of better compatibility with duplicate, purge, versioning, prototypes, packages, and anything else we add in the future, like web services20:18
+perlDreamer(two more collateral methods to go, benefits and features)20:19
+perlDreamerafter that, I'll be ready to try and convert the Commerce products over to Sku products20:20
+perlDreamerrizen, I also think that the asset level collateral methods (moveMeUp, moveMeDown, deleteMe, etc.) could all be autogenerated.  I just haven't figured out how to do it yet.20:24
@rizeni'm certain that's true20:24
CIA-6WebGUI: colin * r6315 /WebGUI/ (3 files in 3 dirs): convert specification collateral to JSON20:24
+perlmonkey2perlDreamer: so each row of a json collateral object is actually N rows of that callateral object?20:35
+perlmonkey2ie, and array?20:36
+perlmonkey2an20:36
+perlDreamereach asset has an json property, that holds JSON which is an array of hashrefs20:36
+perlmonkey2no worries about scaling?  20:37
+perlmonkey2if the arrays get rather large?20:37
+perlDreamerhow big is a MySQL mediumtext?20:38
@preaction_250,000 chars i think20:38
+perlDreamerlet's say that any given JSON hashref is 500 chars20:38
+perlDreamerthat would let the array have about 500 entries20:39
@preaction_perlbot math 2 ** 2420:39
perlbot1677721620:39
+perlmonkey2That's not what I mean.  As a for instance, if I did this with the survey system, to grab a specific set of sections questions and answers, I would have to grab all of them for the survey, then search for just the ones I needed.20:39
+perlmonkey2every time a page was generated.20:39
+perlDreameryes, versus asking MySQL to do the same task for you20:39
+perlDreamerI guess it's a race for who is quicker20:39
+perlDreamerperl with data, or MySQL with rows and queries20:40
+perlmonkey2I can't make a perfectly indexed table respond faster than 20ms with MySQL.  I think that is the minimum overhead to a call on a fast instance.20:40
+perlmonkey2But I've worked with gigabyte hash's, referenced with URI's, and was not able to measure individual lookups as they all fell within the margin of error of 0.20:41
+perlDreamergigabyte hashes, in memory?20:41
+perlDreamerwow20:41
+perlmonkey2So what I'm saying, is I think your idea has much merit and scalability :)20:41
+perlDreamerHonestly, I just did what rizen said to do ;)20:41
+perlmonkey2Then replace "your idea" with "rizen's idea" :P20:42
+perlDreameroy, did I say it was my idea?20:42
+perlDreamerthat's bad.20:42
+perlDreamerSincere apologies, rizen.20:42
+perlmonkey2I just assumed that, I don't think you said it?20:42
+perlDreamerrizen: add easier search indexing to the list of benefits20:46
+perlmonkey2perlDreamer: What about when your asset row contains more data than your physical memory?20:49
+perlDreamerdo you mean ram and swap?20:49
+perlmonkey2on a 512MB machine, there is ually only 150MB or so free after a wG + OS.  20:49
+perlmonkey2yes20:49
+perlmonkey2(my example of the survey) could easily have 150MB rows.20:49
+perlDreamerhm20:50
+perlmonkey2I'm trying to think of a way to break rows into chunks, but nothing comes to mind that is better than just using the DB.20:50
+perlDreamerI think you'd hit the 250,000 character limit way before you hit 150 MB of memory20:53
+perlDreamerbut it's still a good question20:53
+perlDreamermaybe answers needs to remain a table20:54
+perlmonkey2250K char limit?20:54
+perlmonkey2is that a JSON limit?20:54
+perlDreamerthe size of the mediumtext field20:54
@preaction_no, it's not 250k, its 2^2420:54
@preaction_16 million20:55
+perlmonkey216million bits is how many variable length chars :P20:55
@preaction_16 million bytes, sure20:56
+perlmonkey2oh, not bit but bytes20:56
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui20:58
-!- PatMcGroin [n=irc@166.128.199.105] has joined #webgui21:07
PatMcGroinAnybody home?21:07
@preaction_in a manner of speaking21:08
PatMcGroinHeh- looking for help with an install problem...21:08
PatMcGroingetting an errmsg:21:09
PatMcGroin-su: ./wreconsole.pl: /data/wre/prereqs/bin/perl: bad interpreter: No such file or directory21:09
PatMcGroinYet:21:09
PatMcGroin-rwxr-xr-x 2 root root 1012132 Mar  3 15:55 /data/wre/prereqs/bin/perl21:09
PatMcGroinperl interpreter exists and seems properly permissioned....21:10
@preaction_i would ask your distro, since that's your shell complaining21:10
@preaction_alternatively, run the perl file using the perl interpreter directly21:10
PatMcGroinBrand new install of Deb/Apache, no alias or other bleh.21:11
PatMcGroinCan point it at the "real" perl, I guess...21:12
@preaction_that would be a bad idea21:12
@preaction_if your definition of "real" is "distro-supplied"21:12
PatMcGroinWell, apt-get (plus modules)21:13
+perlmonkey2PatMcGroin:  /data/wre/prereqs/bin/perl -v 21:16
PatMcGroinHmmmm,21:16
PatMcGroin-su: /data/wre/prereqs/bin/perl: No such file or directory21:16
+perlmonkey2therein lies a hint.21:17
PatMcGroinright, but:21:18
PatMcGroinls -al /data/wre/prereqs/bin/perl21:18
PatMcGroin-rwxr-xr-x 2 root root 1012132 Mar  3 15:55 /data/wre/prereqs/bin/perl21:18
@apeironCorrupt FS perhaps?21:18
CIA-6WebGUI: colin * r6316 /WebGUI/ (3 files in 3 dirs): convert feature collateral to JSON21:19
@apeironThat's the only thing I can think of.21:19
PatMcGroinVery strange...21:19
PatMcGroinBrand new install....21:19
@apeironI'd fsck it to be sure.21:19
PatMcGroinclean.21:19
+perlDreamerPatMcGroin: Can you cd to /data/wre/prereqs/bin ?21:20
PatMcGroinYep.21:21
+perlDreamer./perl -v21:21
PatMcGroinopteval:/data/wre/prereqs/bin# ./perl -v21:21
PatMcGroinbash: ./perl: No such file or directory21:22
PatMcGroinWeird.21:22
PatMcGroinBut ls -al shows all files....21:22
+perlDreamerhead -1 perl21:22
@apeironIt really seems like a filesystem issue to me.21:22
@apeironIf you can, remount the FS.21:22
+perlDreamerapeiron: I sincerely hope it's the FS, or the hardware or the kernel21:23
PatMcGroinhead reveals the standard source "space garbage"21:23
PatMcGroinFresh install (slicehost) of Debian/Etch.  All else seems OK, but I (personally) didn't install the image, so there's room for doubt.21:24
PatMcGroinGonna re-mount, BRB21:24
+perlmonkey2PatMcGroin: selinux?  permissions?21:27
PatMcGroinPerms are 755 in the whole tree21:29
PatMcGroinsetenvironmantal runs fine21:29
PatMcGroinecho $PATH:21:29
+perlDreamerit's not a path problem21:29
PatMcGroinAgree- path seems normal...21:30
+perlDreamerit's not a permission problem21:30
+perlDreameryou said earlier they were 75521:30
+perlDreamerif you can't ./perl -v, then something system level is bad21:30
PatMcGroinWas wondering about selinux, will try running it in a different locn.21:30
+perlmonkey2PatMcGroin: setenforce 0 21:33
PatMcGroinis there anything else I need to change (outside of setenvironmentals) to run from and alternate sub-directory?21:35
PatMcGroinNope.21:40
PatMcGroinGotta be something stupid and obvious that I'm just not seeing.  No alias= (hell, no .bash anything)21:41
@preaction_i thought debian used dash by default now21:41
@apeirondash?21:41
@apeironAh, derivative of ash.21:42
PatMcGroinStranger still, I can autocomplete the whole path...21:46
+perlDreamercheck the permissions for the whole path, starting with /data21:46
+perlDreamerand make sure it isn't mounted with any funny restrictions21:46
PatMcGroin755s all the way down21:48
PatMcGroinmount table looks ok too.21:48
PatMcGroinPossibly corrupt tarball?21:49
+perlmonkey2PatMcGroin: can you open the binary?21:51
+perlmonkey2to read?21:51
+perlmonkey2can you perform fs operations on it?21:52
+perlDreamerhe was able to head the file21:52
+perlmonkey2oh21:52
+perlmonkey2is it the correct binary for his OS?21:52
+perlDreamerdoes anyone have a debian/etch WRE that could be used to generate a cksum?21:52
+perlDreamerooh, good call perlmonkey221:52
PatMcGroinHmmmmm....21:55
-!- kristi [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui21:55
+perlDreamerwait a second, here21:55
+perlDreamerbopbop, kristi: which one of you is really Mrs. McCombs?21:55
kristibopbop is Mrs. McCombs21:56
+perlDreamerthen who are you?21:56
kristi?- well, I'm Mrs. McCombs too- got kicked out of chat room and signed back in as kristi21:56
PatMcGroinSo..... If I need webGUI for a 64-bit OS.....?21:57
+perlDreamermaybe we'd better just verify that...21:57
-!- kristi [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has left #webgui []21:57
+perlDreamerWhat movie did you kids watch at JT's house the day after the 2007 WUC?21:57
-!- kristi [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui21:57
+perlDreamerWhat movie did your kids watch at JT's house the day after the 2007 WUC?21:57
PatMcGroinx86_64 GNU/Linux21:57
kristime?21:57
+perlDreameryou, kristi21:57
+perlDreameralledgedly21:57
kristiI think it was Camelot21:57
+perlDreamerha!21:58
+perlDreamerIt was "Shek Too"21:58
kristioh yeah- Camelot was too scary21:58
kristiSHEK TOO!!!!21:59
dionakdoes anyone use Apache::Reload in WebGUI? 22:00
dionaksounds like it might make dev easier22:00
+perlDreamerdionak: I think that when the WRE is set up for devs that it is turned on for you.22:01
+perlDreamerokay, kristi, I'm convinced that it's you.22:01
kristiwhew22:01
+perlDreamerThere was some guy trying to impersonate rizen the other day22:01
dionakhow do i switch it to dev?22:01
+perlDreamerbut he gave himself away when he complained about his long curly hair.22:02
kristinice- that's like me complaining about being too tall22:02
+perlDreamerhttp://www.webgui.org/community-wiki/configure-the-wre-for-developers22:02
kristihead is constantly hitting the ceiling...22:03
+perlDreamerdionak: I don't know if you can switch an existing instance.22:03
PatMcGroinSo no 64-bit install for WebGUI?22:04
+perlDreamerkristi: and anyone with poor grammar and spelling would be a dead giveaway22:04
dionakok, thanks for the info. maybe i can just read up in the build.sh22:04
kristieye don no wutchu meen22:04
+perlDreamerPatMcGroin: If there's no existing 64bit WRE, you can compile one22:06
PatMcGroinRight, but the problem appears to be the 32-bit executable components in /prereq/22:07
PatMcGroinNot WRE per se.22:08
+perlDreamerthat _is_ the WRE22:08
@rizenkristi is funny22:09
kristilooking22:09
PatMcGroinDownloading source now.22:09
+perlDreamerthe WRE is the WebGUI perl modules and the binaries needed to run it, perl, apache, mysql and so on22:09
-!- mode/#webgui [+o kristi] by rizen22:09
@kristiwoohoo! I'm finally red :)22:09
* perlDreamer salutes22:10
+perlDreamerYes, ma'am!22:10
+perlDreamerWriting documentation right away22:10
dionakhm, i don't see Apache::Reload in the wrebuild22:11
+perlDreamerThe wiki says Apache2::Reload, but that may be a typo22:11
+perlDreameror the page could be out of date22:11
dionaki did a grep for reload and Reload22:11
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)]22:12
dionakoh wait. i see it in the modules...22:12
@rizendionak: apache2 reload was acciddentally removed from the wre somewhere along the way22:12
@rizeni have to remember to put it back in in 0.8.422:12
@rizeni mean, removed from the config file22:12
@rizennot the modules22:12
dionakok, that would explain seeing it in the modules but not the build22:13
+perlDreamerrizen: there are several (4) Product templates.  To export them all as 1 package, can I make a new folder and move the templates in there?22:26
@rizeni think that walmart is trying to kill me22:26
@rizensure pd22:26
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui22:28
-!- webmaster [n=webmaste@fvec-nat.d214.org] has quit []22:48
dionaki'm setting up a custom lib in /data/site/clientname/lib. I edited preload.custom with the path, double checked it but the macro isn't showing up. could it be permissions?22:55
dionakit's world readable22:56
dionakno errors in the logs22:56
dionakany ideas?22:56
dionaki got apache2:reload working btw...22:57
-!- PatMcGroin [n=irc@166.128.199.105] has quit [Read error: 104 (Connection reset by peer)]23:01
@rizendid you also add the macro to your config file23:07
dionakyes. 23:07
dionaki also double checked my paths23:08
+perlDreamerrizen: topsub reported a similar problem a couple of weeks ago23:08
dionakyea, i don't think it was resolved. same server23:08
dionaklet me test a working wg macro from this dir to see if it is indeed a path issue23:08
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []23:11
CIA-6WebGUI: jt * r6317 /WebGUI/ (12 files in 6 dirs): 23:17
CIA-6WebGUI: zero dollar transactions23:17
CIA-6WebGUI: in-shop credit applies to orders23:17
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has joined #webgui23:17
Sunmaster_14http://www.plainblack.com/bugs/tracker/http-proxy-urls-mess-up-checkboxes I posted this bug 5 days ago. Can someone take a look at it?23:19
BartJolsorry Sunmaster_14, i read it, but am afraid I can't help you in any constructive way23:21
Sunmaster_14BartJol, ok, thanks for looking :)23:21
+perlDreamerSunmaster_14: A lot of us are busy writing the new commerce system.23:22
Sunmaster_14perlDreamer, ok. I mean, I'm not trying to say "Hey everyone, drop what you're doing and look at this." Just wanted to know if anyone has had a chance to yet23:23
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui23:26
Sunmaster_14hola, cap10morgan 23:28
cap10morganhey23:28
+perlDreamerHey, did you guys know that you can create more than 1 alias to a macro?23:41
+perlDreamerLike, if you wanted to use the International macro, you could make entries for ^International and ^Intl23:41
--- Day changed Tue May 06 2008
-!- SDuensin [n=Scott@225.sub-75-207-187.myvzw.com] has quit ["Leaving"]00:01
-!- kristi [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit []00:01
+perlDreamerperlmonkey2: we need to remember to bring up the JSON collateral size limitation with rizen.00:03
+perlDreameror make a dev list posting00:03
+perlmonkey216MB ?00:04
+perlmonkey2A large blob is like 2GB00:04
+perlmonkey24GB00:05
+perlDreameryeah00:07
+perlDreamerbig00:07
+perlmonkey2is it *really* an issue?  instances that make it to 16GB will be rare.  So if you design with a mediumtext, then physical ram isn't an issue.00:25
+perlmonkey2perlDreamer: 00:25
+perlmonkey2but if you have to go with a largetext then it might *still* not be an issue as anything handling that much traffic, is probably on some serious hardware.00:25
+perlmonkey2although, having 4GB of physical ram available is still not very normal.00:25
+perlDreamerno, it's pretty rare00:33
+perlDreamerlook at PB's hosting options00:33
+perlDreamerof course, who is going to host a 160 MB survey/dataform on one of those?00:33
+perlmonkey2I'm just thinking about results.  plus *every* time someone submits and answer or makes a change to the survey, the entire thing is loaded from the DB.  If it is large, that just feels ugly.00:36
+perlDreamermaybe answers should continue to be kept separate00:38
-!- dionak [n=diona@97.66.185.250] has quit []00:39
+perlDreamerapeiron, preaction_: I need a bug consult, please 01:03
@preaction_which bug?01:03
+perlDreamerI just found it01:03
+perlDreamercheck out lib/WebGUI/Form/Hidden.pm01:03
+perlDreamertoHtmlAsHidden01:03
+perlDreamernow, suppose you want to set the value 0 as your hidden value01:03
+perlDreamerwhat is $value in that sub?01:03
@preaction_probably $self->get('value') without any quotes, special characters, or macros01:04
+perlDreamerit's '', empty string01:05
+perlDreamerdue to the || '' at the nd01:05
+perlDreamerso you can't set 0 as the hidden value01:05
@preaction_it my version it's only the "name" parameter that has that || ''01:06
+perlDreamerwhat rev are you at?01:06
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has quit [Read error: 104 (Connection reset by peer)]01:06
@preaction_dunno, working on a client project01:06
+perlDreamer7.4?01:06
@preaction_7501:07
@preaction_oh, i see, at the end of my $value01:07
@preaction_that should probably be changed to a defined check01:07
@preaction_or would that even be necessary?01:08
@apeiron|| is truth01:08
+perlDreamerit's necessary if you want to use 0 as a value :)01:08
* perlDreamer really wants 5.10 now01:08
@apeironperlDreamer, Yeah, likewise.01:08
@apeiron0 or the empty string for that matter.01:09
+perlDreamerfrom what I can ack in Form, Radio, Checkbox and Hidden are all affected01:09
+perlDreamerwell, empty string would give you the empty string, which is fine01:09
@preaction_no, i mean checking for defined. what does $string = undef . "something"; equal? 01:09
+perlDreamersomething01:09
@apeironperlDreamer, Empty string would still fail truth testing.01:09
@apeironperlbot, false01:09
perlbotundef, 0, "", "0"01:09
+perlDreameryes apeiron, but in that case $value = '' || ''; 01:10
@apeironah, right.01:10
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui01:10
-!- mode/#webgui [+o rizen] by ChanServ01:10
+perlDreamerhey, the man himself01:10
+perlDreamerrizen: I think I found a bug in the recent Form changes01:11
+perlDreamerif you have time, please check out Form/Hidden, ToHtmlAsHidden, and consider if I want to set the value 001:12
+perlDreamerI have a patch that adds checking for 0 to the tests for Hidden, Radio and Checkbox, and a patch that fixes it in Hidden and Checkbox (Radio was okay).01:20
+perlDreamerIf I commit that patch, will I break something else?01:25
+perlDreamerpreaction_: it's in 7.5.10, the last released beta01:26
+perlDreamerrizen: never mind.  It's much older than the recent form fixes.01:28
+perlDreamerit's from rev 415201:31
+perlDreamervery, very old01:31
+perlDreamerI'll commit the tests and patches01:31
+perlDreamerI spent an hour trying to figure out why I couldn't edit the first product variant, #001:33
CIA-6WebGUI: colin * r6318 /WebGUI/ (6 files in 3 dirs): 01:41
CIA-6WebGUI: Fix Hidden, Radio and Checkbox, which wouldn't allow01:41
CIA-6WebGUI: a value of zero to be set in them. It was translated to01:41
CIA-6WebGUI: the empty string.01:41
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Read error: 110 (Connection timed out)]01:48
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has quit ["Ex-Chat"]02:14
-!- snapcount [n=snapcoun@97.101.8.65] has joined #webgui02:17
-!- mode/#webgui [+v snapcount] by ChanServ02:18
+perlDreamerrizen: all the collateral work is done02:18
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)]02:28
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:49
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:49
-!- snapcount [n=snapcoun@97.101.8.65] has quit [Read error: 110 (Connection timed out)]02:53
CIA-6WebGUI: colin * r6319 /WebGUI/ (4 files in 4 dirs): 02:53
CIA-6WebGUI: Merging in functioning variants.02:53
CIA-6WebGUI: Fixed bugs in getIndexedCollateralData.02:53
CIA-6WebGUI: Added variants to the view template.02:53
CIA-6WebGUI: Updated all Product templates to display variants and controls.02:53
CIA-6WebGUI: colin * r6320 /WebGUI/lib/WebGUI/ (Help/Asset_Product.pm i18n/English/Asset_Product.pm): Help for the variant template variables in the Product template.02:53
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI03:16
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui03:25
CIA-6WebGUI: colin * r6321 /WebGUI/lib/WebGUI/Asset/Sku/Product.pm: customize some Sku methods for Product03:40
CIA-6WebGUI: colin * r6322 /WebGUI/docs/upgrades/upgrade_7.5.10-7.5.11.pl: It's okay to delete the Product Wobject now.03:40
+perlmonkey2perlDreamer: you keep saying that responses should be kept seperate.....I think you are on to something :P04:01
+perlDreamerno, it's just the virus talking04:01
+perlDreamermy short term memory is questionable04:01
+perlmonkey2perlDreamer: because do you know how attractive it is for to me to think of getting a request, grabbing the entire survey from a few JSON columns, and then not having to do anymore queries?  That is just too sexy.04:02
+perlmonkey2could even make everything JSON enabled classes.  04:03
-!- snapcount [n=snapcoun@65.8.101.97.cfl.res.rr.com] has joined #webgui04:13
* perlDreamer shudders at an all JSON asset04:13
+perlmonkey2perlDreamer: hah, I just mean the collateral would be objects that know how to turn themselves into/from JSON.04:14
+perlmonkey2but that paradigm kind of breaks the All-In-A-Single-Object that appears to be used currently.04:15
+perlmonkey2not that I'm saying that is wrong, as wG is obviously a nice piece of softwar.e04:15
+perlDreameroh, well in that case (and since I just wrote one that way), that's okay04:19
+perlDreamerhm, maybe I can get MrHairgrease to tutor in me in advanced WebGUI::Product usage tomorrow.04:21
+perlmonkey2hmm, I'm thinking it might be a good time to buy some Yahoo stock.04:22
+perlmonkey2They were devalued by a scary statemt.04:22
+perlmonkey2surely they weren't just that overvalued before the scary statement.04:22
+perlDreamerI think they were pumped up by the chance of being purchased.04:23
+perlDreamerand have probably returned to a normal level04:23
+perlmonkey2oh, yeah.  Looks like Feb 08 is when the offer first surface.d04:23
+perlmonkey2now they are back to slightly over what they were.04:23
+perlmonkey2What Balmer can giveth, Balmer can taketh away.04:23
@apeironI was reading about that on some business site or another and the finance folk are talking about it with complete disregard for anything but money