--- Log opened Thu May 01 00:00:20 2008 00:00 -!- MrJeep [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has quit ["I Quit!"] 00:02 < erisco> Wombert, that is the initial line I was looking at 00:02 < erisco> Wombert, in the export method, yup 00:02 < erisco> Wombert, I forgot to mention that that was probably the line that wasn't working how intended... or another statement or two was needed 00:25 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: marklar|omni, Rick, eremit, Hamerr, nf, MikeSeth 00:26 -!- Rick [i=rick@pool-71-189-11-16.lsanca.dsl-w.verizon.net] has joined #agavi 00:26 -!- Netsplit over, joins: nf 00:31 -!- eremit [n=Miranda@p5B236755.dip.t-dialin.net] has joined #agavi 00:31 -!- marklar|omni [n=mark@teh.marklar.biz] has joined #agavi 00:31 -!- MikeSeth [n=youdie@unaffiliated/mikeseth] has joined #agavi 00:31 -!- Hamerr [n=stock@87.246.12.46] has joined #agavi 00:37 -!- IcyT is now known as icyt 00:41 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: marklar|omni, Hamerr, eremit, MikeSeth 00:41 -!- MikeSeth [n=youdie@62.90.159.110] has joined #agavi 00:41 -!- Netsplit over, joins: Hamerr 00:45 -!- marklar|omni [n=mark@teh.marklar.biz] has joined #agavi 00:53 -!- Rendez_ [n=Rendez@89.104.219.87.dynamic.jazztel.es] has quit [Read error: 110 (Connection timed out)] 01:11 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: marklar|omni, mp_, erisco, Hamerr, splatch_, trophaeum, CIA-5, vlt, stachu, v-dogg, (+4 more, use /NETSPLIT to show all of them) 01:12 -!- Netsplit over, joins: nf, Wombert, trophaeum, stachu, impl, mp_, splatch_, CIA-5, v-dogg, vlt 01:12 -!- Netsplit over, joins: marklar|omni, Hamerr 01:13 -!- Netsplit over, joins: erisco, ttj_ 01:23 -!- erisco [n=erisco@brisco.kent.net] has quit [Remote closed the connection] 02:18 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has quit [] 02:34 -!- shoan [n=shoan@59.96.35.99] has joined #agavi 03:11 -!- dsad [n=dsad@201-89-167-12.smace701.dsl.brasiltelecom.net.br] has joined #agavi 03:11 -!- dsad is now known as brasileiro_ 03:32 -!- shoan [n=shoan@59.96.35.99] has quit [] 03:35 -!- j0ec4i [n=joe@218.104.71.166] has joined #agavi 03:42 -!- shoan [n=shoan@59.96.35.99] has joined #agavi 03:55 -!- Arme[0] is now known as Arme[N] 04:00 -!- j0ec4i [n=joe@218.104.71.166] has quit ["Leaving"] 04:02 -!- shoan [n=shoan@59.96.35.99] has quit [] 04:19 -!- brasileiro_ [n=dsad@201-89-167-12.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)] 04:34 -!- shoan [n=shoan@59.96.35.99] has joined #agavi 04:47 -!- Wombert [n=Wombert@dslb-088-064-059-116.pools.arcor-ip.net] has quit [] 05:03 -!- sikkle [n=sikk@bas4-montreal02-1096720986.dsl.bell.ca] has quit [] 05:04 -!- sikkle [i=sikkle@modemcable089.215-81-70.mc.videotron.ca] has joined #agavi 05:24 < v-dogg> huomenta 05:52 < E_mE[Stilgar]> huomenta 06:11 -!- Wombert [n=Wombert@dslb-088-064-059-116.pools.arcor-ip.net] has joined #agavi 06:27 -!- Wombert [n=Wombert@dslb-088-064-059-116.pools.arcor-ip.net] has quit [] 06:33 -!- eremit [n=Miranda@p5B235351.dip.t-dialin.net] has joined #agavi 07:25 -!- shoan [n=shoan@59.96.35.99] has quit [] 07:58 -!- Macen [n=leopard@host86-154-107-27.range86-154.btcentralplus.com] has joined #agavi 08:04 -!- Rendez [n=Rendez@104.104.219.87.dynamic.jazztel.es] has joined #agavi 08:05 -!- icyt is now known as IcyT 08:26 < MikeSeth> huo..menta? 08:52 -!- Rendez_ [n=Rendez@201.105.219.87.dynamic.jazztel.es] has joined #agavi 08:59 -!- Rendez [n=Rendez@104.104.219.87.dynamic.jazztel.es] has quit [Read error: 110 (Connection timed out)] 09:00 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has joined #agavi 09:25 < E_mE> can anyone recommend a good PHP Caching module? 09:35 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has quit [Remote closed the connection] 09:46 < trophaeum> E_mE, zend framework's cache isnt bad, its not as fast as id like for a caching layer but *shrug* or do you mean opcode cache? 09:47 < MikeSeth> I think it's often easier to write a module that fits you perfectly 09:47 < E_mE> yes opcode cache trophaeum :) 09:47 < MikeSeth> ahhh 09:47 < MikeSeth> opcode cache 09:47 < MikeSeth> there's a buttload of them 09:47 < E_mE> ive got my own caching of XML files already :) 09:47 < E_mE> and we have smarty which does some caching too 09:48 < E_mE> im just reading APC atm 09:48 < MikeSeth> im telling you E_mE 09:49 < MikeSeth> you will end up with a custom Agavi implementation ;> 09:49 < E_mE> tell me about it :/ 09:49 < E_mE> its the documentation thats causing problems... 09:52 -!- IcyT is now known as icyt 09:58 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 09:58 < _cheerios> huomenta 10:06 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 10:25 -!- impl [n=impl@atheme/member/impl] has quit [Read error: 101 (Network is unreachable)] 10:27 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has joined #agavi 10:28 -!- impl [n=impl@atheme/member/impl] has joined #agavi 10:29 -!- Wombert [n=Wombert@dslb-088-064-054-052.pools.arcor-ip.net] has joined #agavi 10:35 < Wombert> hugs v-dogg and _cheerios 10:35 < Wombert> happy vappu! 10:37 * _cheerios shares a bottle of champagne with Wombert, cheers for maniacally hard workers! \o/ 10:38 < Wombert> aren't you supposed to drink this stuff with raisins inside 10:40 < _cheerios> the drink called sima? yes. 10:43 < _cheerios> if they're stuck at the bottom of the bottle, might not get any. plus the stuff at stores might not have any. 11:03 < Wombert> tippaleipä looks tasty 11:23 -!- sikkle [i=sikkle@modemcable089.215-81-70.mc.videotron.ca] has quit [] 11:30 < _cheerios> i have no sima (loved it yesterday) or tippaleipä. only peppersteaks w/potatoes and either vodka/red wine/beer. 11:33 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has quit [] 12:13 -!- Rendez [n=Rendez@60.104.219.87.dynamic.jazztel.es] has joined #agavi 12:16 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has joined #agavi 12:22 -!- Rendez_ [n=Rendez@201.105.219.87.dynamic.jazztel.es] has quit [Read error: 110 (Connection timed out)] 12:41 -!- shoan_ [n=shoan@122.166.1.168] has joined #agavi 12:51 -!- shoan [n=shoan@122.166.1.168] has quit [Read error: 110 (Connection timed out)] 12:52 -!- sikkle [n=sikk@bas4-montreal02-1096720986.dsl.bell.ca] has joined #agavi 13:10 -!- E_mE[Stilgar] [n=jeramy@bb-194-6-114-120.ukonline.co.uk] has quit [Remote closed the connection] 13:11 -!- E_mE[Stilgar] [n=jeramy@bb-194-6-114-120.ukonline.co.uk] has joined #agavi 13:24 < E_mE> has anyone here use eAccelerator before? 13:24 < E_mE> used* 13:31 -!- shoan_ [n=shoan@122.166.1.168] has quit [] 13:43 < trophaeum> E_mE, yea, i used to use it centuries ago, i get better results with xcache these days 13:53 -!- MrJeep [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has joined #agavi 13:54 < MrJeep> good morning 13:54 < MrJeep> oh, my navigation filter works :D 14:01 -!- MikeSeth_ [n=youdie@62.90.159.110] has joined #agavi 14:08 < marklar|omni> hai 14:10 -!- Arme[N] is now known as Arme[0] 14:14 -!- MikeSeth [n=youdie@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 14:41 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has joined #agavi 14:58 < E_mE> trophaeum: you there? 14:58 < trophaeum> E_mE, yo sup dude 15:03 < E_mE> my eAccelerator has not incrased my execution time what so ever 15:03 < E_mE> might there be a reason for this? 15:04 < marklar|omni> got my blackberry 15:04 < marklar|omni> ;d 15:07 < E_mE> nice... you working from it? 15:09 < marklar|omni> not atm 15:10 < marklar|omni> its charging and syncing or whatever 15:11 -!- Fou4th [n=nomad@host-85-118-226-108.academ.org] has joined #agavi 15:11 < trophaeum> E_mE, sorry, distracted, not increased? you mean not decreased? 15:12 < E_mE> yes sorry 15:12 < E_mE> im thinkign on increasing performance heh 15:12 < trophaeum> if you want to increase performance, mod_deflate in apache2 and xcache are the best 2 options 15:13 < E_mE> mod_deflate.. not heard of that one 15:13 < Fou4th> is there exists any good and complex example of using agavi? May be some OSS project or anything else. 15:13 < E_mE> ill test out xcache and mod_Deflat, see how i go.. cheers 15:13 < trophaeum> E_mE, mod_deflate is apache2 only and it comes with it 15:13 < trophaeum> if u want a good config for it just let me know and ill pastebin it 15:14 < E_mE> ah please :) 16:33 -!- Rendez [n=Rendez@60.104.219.87.dynamic.jazztel.es] has quit [":: www.scopealley.com ::"] 17:00 -!- MrJeep [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has quit ["I Quit!"] 17:01 < E_mE> bai 17:03 -!- Rendez [n=Rendez@60.104.219.87.dynamic.jazztel.es] has joined #agavi 17:03 < Rendez> huomenta 17:03 < Rendez> I just installed agavi through PEAR, I use MAMP but can't find those files 17:03 < Rendez> I'm a little newbie, please help the newbie 17:10 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has quit [Remote closed the connection] 17:36 < impl> mm 17:36 < impl> what do you mean "can't find"? 17:39 < sikkle> impl; he prolly talk about where pear put his own files 17:40 < sikkle> : /mamp/php/pear/long/directoryfile/framwork/no-sense/agavi. 17:42 < _cheerios> pear config-show 17:42 < Macen> MiiiiiiikkkkkkkeeeeeeeeeeeeeeeeeeeeSeeetthhhhhhhhhhhhhhhhhhh 17:48 < sikkle> we feel the love here 17:53 < Macen> that's not love you're feeling 17:53 < Macen> but that's for another time 17:53 < Macen> baiii all 17:53 -!- Macen [n=leopard@host86-154-107-27.range86-154.btcentralplus.com] has quit [] 18:00 -!- Arme[0] is now known as Arme[N] 18:10 < Rendez> Nop 18:10 < Rendez> The log shows some errors 18:10 < Rendez> But in the console all was right 18:15 < Rendez> [09-Apr-2008 18:43:01] PHP Fatal error: require() [function.require]: Failed opening required '../agavi/libs/agavi/agavi.php' (include_path='.:/Applications/MAMP/bin/php5/lib/php') in /Applications/MAMP/htdocs/kultkino.dev/dev/index.php on line 6 18:15 < Rendez> [01-May-2008 18:58:30] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2113 bytes) in /Applications/MAMP/bin/php5/lib/php/PEAR/XMLParser.php on line 258 18:15 < Rendez> Ahh, none of this 18:25 -!- Rendez_ [n=Rendez@63.105.219.87.dynamic.jazztel.es] has joined #agavi 18:27 -!- Wombert [n=Wombert@dslb-088-064-054-052.pools.arcor-ip.net] has quit ["bai"] 18:27 -!- Wombert [n=Wombert@dslb-088-064-054-052.pools.arcor-ip.net] has joined #agavi 18:35 -!- Rendez [n=Rendez@60.104.219.87.dynamic.jazztel.es] has quit [Read error: 110 (Connection timed out)] 19:42 < Rendez_> Guys, I got the agavi installation correct with sudo even but agavi isn't anywhere 19:42 < Rendez_> Any idea? 19:46 -!- icyt is now known as IcyT 19:53 < _cheerios> grep -r agavi / 20:09 < Rendez_> nothing but aliases 20:11 < trophaeum> ne1 got suggestions for hosting for gige uplink with minimum 100mbit sustained throughput? 20:12 < _cheerios> if pear is too hard, just grab the svn and setup a vhost to point to it. 20:13 < Rendez_> Ok 20:13 < Rendez_> And then how I start that project? 20:16 < _cheerios> same as with pear, using the agavi cmd, that you setup to point to your agavi installation 20:17 < _cheerios> http://www.agavi.org/docs/latest/manuals/manual/ch02s02.html#c1-installation-by_hand 20:19 < Rendez_> hmm, still need phing and pear sucks 20:19 < Rendez_> (for me) 20:25 -!- Arme[N] is now known as Arme[0] 20:40 -!- MrJeep [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has joined #agavi 21:32 -!- erisco [n=erisco@brisco.kent.net] has joined #agavi 21:46 -!- Fou4th [n=nomad@host-85-118-226-108.academ.org] has quit [Read error: 104 (Connection reset by peer)] 21:55 -!- Wombert [n=Wombert@dslb-088-064-054-052.pools.arcor-ip.net] has quit [] 22:22 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["s"] 22:34 < marklar|omni> hai 22:49 < impl> hai 23:01 < erisco> aw, we placed 10th 23:01 < erisco> would have placed 8th but we missed one stupid detail 23:01 < impl> in what? 23:01 < erisco> and thus moved on 23:01 < erisco> the competition today 23:01 < impl> ah 23:01 < erisco> its all ridiculous mathematical stuff, and that's just not my expertise 23:02 < erisco> I feel of less worth now :( 23:04 < erisco> 'twas all good fun 23:04 < erisco> want to look at some of the earlier year problems impl? 23:05 < impl> okay 23:06 < erisco> http://www.ecoo.org/index.php?option=com_content&task=view&id=31&Itemid=61 23:07 < erisco> we were competing at regionals 23:09 < impl> looks interesting, but yeah, theoretical (if not a bit over-the-top so) 23:11 < erisco> its fun, but you end up with a simple 50 line script 23:11 < erisco> all the work is in trying to understand the problem 23:11 < erisco> and we were caught for an absolutely stupid little problem in that we missed the part where the screen had to be cleared between each output 23:11 < erisco> which was the equivalent of print "\n" * 1000 23:12 < erisco> and we lost 8th because of it 23:13 < erisco> we'll try again next year 23:14 < erisco> practise bizarre problems like that over the summer 23:14 < erisco> it was just me as the programmer.. I had two teammates that were able to break down one of the four problems for me 23:14 < erisco> while I worked on another 23:14 < erisco> so we submitted 2/4 23:14 < erisco> and still got 10th out of 27 teams :o 23:16 < impl> lol 23:16 < erisco> impl, I don't know if it makes me a bad programmer that I cannot solve them very well 23:16 < erisco> to me there seems to be many different areas of programming... and that particular one is very abstract and mathematical 23:16 < erisco> and you just don't seem to get that in most things... at least for web development 23:18 < erisco> then again I have had no teaching whatsoever... and its hard to self-teach complex problem solving such as that 23:18 < erisco> maybe when I learn C over the summer I'll be able to think a bit differently 23:18 < impl> No 23:18 < impl> I don't care for solving that either 23:18 < impl> I prefer to expend my brain-power on, you know, useful things 23:19 < erisco> ;) 23:21 < erisco> talk about expenditure... my mind is numb right now from three hours of continuous crunching 23:22 < erisco> next year we will have a better suited team, hopefully. I was using Python... while I know the syntax, I don't have all the libraries and modules memorized, and probably wasn't using the best tools 23:23 < erisco> we are going to take aboard the best math student we can find 23:34 < erisco> man... 23:34 < erisco> I may want to go back to using an ORM 23:35 < erisco> even though it is a bit more relaxing having full control over simple models 23:35 < impl> ORMs can be terribly convenient 23:35 < erisco> even a simple many-to-many relationship gets obnoxious to program 23:35 < erisco> which ORM do you recommend? 23:35 < erisco> I have tried both propel and doctrine 23:35 < impl> I use Propel 23:36 < erisco> faster? smarter? 23:36 < erisco> what? 23:36 < impl> Haven't had a good chance to try Doctrine yet, actually 23:36 < impl> been meaning to though. DQL is cool (though I'm not sure how feature-complete it is compared to say HQL) 23:37 < erisco> I like just editing a YAML schema and hitting "generate" 23:37 < erisco> quite a satisfying thing 23:37 < impl> hehe :D 23:38 < erisco> which one is documented to integrate with agavi? 23:39 < erisco> I would use Doctrine, because I am slightly more familiar, but if Propel has already been used with agavi many times and is well integrated 23:39 < erisco> I had may as well use it 23:39 < erisco> although to get Doctrine running I just have to write a bootstrap file for it, which isn't terrible --- Day changed Fri May 02 2008 00:04 < erisco> impl, actually, is there any way you could help me in getting Doctrine working with agavi? 00:04 < erisco> I know you haven't used Doctrine 00:04 < erisco> but I believe the same applies for propel... how do you integrate agavi's database connection handling with propels? 00:09 < erisco> wait, agavi comes with propel anyways doesn't it? 00:14 < erisco> okay, so "bookstore-conf.php is the name of the runtime configuration file Propel generated for you." 00:15 < erisco> how do I get propel to generate this? where do I specify my connection data? 00:15 < erisco> yikes. 00:16 -!- IcyT is now known as icyt 00:21 < erisco> anyone? :( 00:30 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has quit [] 01:08 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has joined #agavi 01:12 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has quit [Client Quit] 01:27 -!- Rendez_ [n=Rendez@63.105.219.87.dynamic.jazztel.es] has quit [Read error: 110 (Connection timed out)] 01:39 -!- impl [n=impl@atheme/member/impl] has quit [Remote closed the connection] 01:40 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi 02:12 -!- shoan [n=shoan@59.96.45.216] has joined #agavi 02:50 -!- shoan [n=shoan@59.96.45.216] has quit [] 03:00 -!- sikkle [n=sikk@bas4-montreal02-1096720986.dsl.bell.ca] has quit [] 03:03 -!- sikkle [i=sikkle@modemcable089.215-81-70.mc.videotron.ca] has joined #agavi 03:06 -!- shoan [n=shoan@59.96.45.216] has joined #agavi 03:29 -!- MrJeep [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has quit ["I Quit!"] 03:29 -!- erisco [n=erisco@brisco.kent.net] has quit [Read error: 104 (Connection reset by peer)] 03:34 -!- shoan [n=shoan@59.96.45.216] has quit [] 04:26 -!- shoan [n=shoan@59.96.45.216] has joined #agavi 04:33 < v-dogg> huomenta 04:34 -!- eremit2145 [n=Miranda@p5B237211.dip.t-dialin.net] has joined #agavi 04:35 -!- eremit [n=Miranda@p5B235351.dip.t-dialin.net] has quit [Nick collision from services.] 04:35 -!- eremit2145 is now known as eremit 04:58 < marklar|omni> sup 04:59 < marklar|omni> gmail on crackberry 05:00 < marklar|omni> woot 05:45 -!- eremit [n=Miranda@p5B237211.dip.t-dialin.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 06:28 -!- MugeSo [n=chatzill@220x218x27x242.ap220.ftth.ucom.ne.jp] has joined #agavi 06:39 -!- shoan [n=shoan@59.96.45.216] has quit [] 06:39 -!- Arme[0] is now known as Arme[N] 06:45 -!- _cheerios [i=jussiava@ip-87-108-51-176.customer.academica.fi] has joined #agavi 06:45 < _cheerios> huomenta 07:06 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: marklar|omni, Hamerr, MikeSeth_ 07:09 < E_mE> huomenta 07:18 -!- Netsplit over, joins: MikeSeth_, marklar|omni, Hamerr 07:24 -!- impl [n=impl@atheme/member/impl] has quit [Read error: 113 (No route to host)] 07:52 < MugeSo> huomenta 07:56 < E_mE> hi 08:07 -!- Macen [n=leopard@host86-154-107-27.range86-154.btcentralplus.com] has joined #agavi 08:28 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 09:21 -!- Wombert [n=Wombert@munich.bitxtender.net] has joined #agavi 09:25 < CIA-5> david * r2448 /branches/david-stampede_protection/: branching off 0.11 for work on stampede protection 09:35 < CIA-5> david * r2449 /branches/0.11/src/filter/AgaviExecutionFilter.class.php: revert [2420:2421] - we'll get back to this for milestone:0.11.2 - refs #744 09:35 < CIA-5> david * r2450 /branches/david-stampede_protection/src/filter/AgaviExecutionFilter.class.php: more work on stampede protection, refs #744 09:36 -!- MugeSo [n=chatzill@220x218x27x242.ap220.ftth.ucom.ne.jp] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.14/2008040413]"] 09:37 < CIA-5> david * r2451 /trunk/src/filter/AgaviExecutionFilter.class.php: merge [2449] 10:05 < Macen> what is stampede protection? 10:08 < CIA-5> david * r2452 /branches/0.11/tests2/routing/ (WebRoutingTest.php cases/Apache22ModuleSubdir.case.php): routing test cases can now have an 'exportFailure' array with a list of tests that are expected to fail; as a result, the test case for #502 does not appear as failed anymore 10:09 < CIA-5> david * r2453 /trunk/tests2/routing/ (WebRoutingTest.php cases/Apache22ModuleSubdir.case.php): merge [2452] 10:15 < shoan> yeah... what is stampede protection! 10:18 < Wombert> I'm not gonna explain things that are documented in the ticket I referenced in the commit 10:18 < Wombert> that's why I do these things 10:18 < Wombert> so you can look them up easily 10:19 < shoan> looking... 10:26 < Macen> touchy !!! 10:26 < Macen> \i asked because Google returned nothing 10:26 < Wombert> really 10:26 < Macen> really 10:26 < Macen> http://www.google.co.uk/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=5BD&q=stampede+protection+php&btnG=Search&meta= 10:26 < Wombert> or maybe it is because i have work to do 10:27 < Macen> http://www.google.co.uk/search?q=stampede+protection&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a 10:27 < Macen> soz 10:27 < Macen> just curious 10:27 * Macen fluffles Wombert 10:27 < Wombert> ehm Macen 10:27 < Wombert> the FIRST result 10:27 < Wombert> has the explanation 10:27 < Wombert> ... 10:28 < Wombert> http://wiki.horde.org/diff.php?page=BCBreakingHordeIssues&v1=%3F&v2=2.56 10:28 < Wombert> even highlighted in green, just for you 10:28 < Macen> you mean 10:28 < Macen> (have the first process that hits an expired entry touch() it before regenerating it, so that other processes don't *also* try and regenerate it - thus the stampede effect) 10:28 < Macen> i know 10:28 < Macen> i wanted you to explain it 10:29 < Macen> didn't feel like i had an actual answer 10:29 < Macen> too generic a phrase for such a specific answer 10:29 < Macen> anyway, enough analysis, next time just say plstathxbai 10:29 < Wombert> ... 10:29 * Macen fluffles Wombert 10:29 < Macen> you love me really 10:29 < Wombert> if you had bothered to click the ticket 10:30 < Wombert> you'd see some links to django snippets 10:30 < Macen> i *did* click the tick 10:30 < Wombert> one of which perfectly explains 10:30 < Wombert> The purpose of this caching scheme is to avoid the dog-pile effect. Dog-piling is what normally happens when your data for the cache takes more time to generate than your server is answering requests per second. In other words if your data takes 5 seconds to generate and you are serving 10 requests per second, then when the data expires the normal cache schemes will spawn 50 attempts a regenerating the data before the first request completes. The in 10:30 < Wombert> the problem 10:30 < Macen> ahem 10:30 < Macen> can i just say...not that it matters... 10:30 < Macen> when you know what your looking for...it's quite easy to read up on something 10:30 < Macen> i'm one of those people that tries to learn a little about a lot 10:30 < Macen> i was genuinely interested 10:31 < Macen> i didn't have nearly enough to go on 10:31 < Macen> so.. 10:31 < Macen> srsly 10:31 < Macen> was just asking 10:31 < Wombert> that's why I put those two links in there. so people interested in what's it all about can click them and read and learn about the problem 10:31 < Macen> ok 10:31 < Macen> ty 10:31 * Macen coffee 10:32 < Macen> (ps nb. that wiki is useful huh :p ) 10:37 < CIA-5> david * r2454 /branches/david-stampede_protection/src/filter/AgaviExecutionFilter.class.php: added stub abortedCacheCreationCallback and adjusted callback signatures, refs #744 10:39 < CIA-5> david * r2455 /branches/david-stampede_protection/tests2/routing/ (WebRoutingTest.php cases/Apache22ModuleSubdir.case.php): merge [2452] 10:42 < CIA-5> david * r2456 /branches/impl-build_system/ (4 files in 4 dirs): merge [2447:2453/trunk] 10:52 -!- kaos|work_ [n=dominik@munich.bitxtender.net] has joined #agavi 11:12 -!- sikkle [i=sikkle@modemcable089.215-81-70.mc.videotron.ca] has quit [] 11:30 -!- Rendez [n=Rendez@26.105.219.87.dynamic.jazztel.es] has joined #agavi 11:39 -!- JanK [n=JanK_@P3106.pallas.wh.tu-darmstadt.de] has joined #agavi 11:39 < Rendez> huomenta! 11:39 < Rendez> I have the next errors when executing agavi project 11:39 < Rendez> exception 'BuildException' with message 'Buildfile: @PEAR-DIR@/agavi/build.xml does not exist!' in /Applications/MAMP/bin/php5/lib/php/phing/Phing.php:385 11:40 < shoan> Rendez: open agavi file and read the comments 11:40 < shoan> the path to your agavi installation needs to be updated in the script 11:41 < Wombert> ... 11:41 < Wombert> http://www.agavi.org/docs/latest/manuals/manual/ch02s02.html#c1-installation-by_hand 11:41 < Rendez> ok 11:41 < E_mE> hi Wombert... whens the docci marathon going to happen? 11:41 < E_mE> any ideas yet? 11:42 < Wombert> no 11:42 < Wombert> not decided yet 11:43 < Rendez> The problem is that there's no agavi folder anywhere, even when I've tried to install it 11:45 < CIA-5> david * r2457 /branches/david-xml_only_config_system/: branching off trunk for work on making the configuration subsystem XML-only, refs #519 11:48 < Rendez> I think I will desist on MAMP 11:56 -!- eremit [n=Miranda@p5B237211.dip.t-dialin.net] has joined #agavi 11:56 < _cheerios> anyone booted linux in rescue mode lately? with debian it was using bterm in console, and via dells drac only vi(m) would load, and with all text bunched together (tabs werent displayed, but were in effect). editing text was impossible as it was not WYSIWYG. anyone know to fix these situations? i now edited the files elsewhere. 12:01 -!- Kodeart [i=kodeart@89.185.194.43] has joined #agavi 12:02 < Kodeart> well...huomenta! :) 12:03 < Kodeart> is somewhere a detailed examples how to use Agavi? 12:04 < Kodeart> say, about "user" thing, how to create them, modify roles, etc 12:13 < MikeSeth_> hi Kodeart 12:14 < MikeSeth_> our documentation isnt in the best state 12:14 < Kodeart> MikeSeth_: hi 12:14 < MikeSeth_> specifically rbac is described in the manual though 12:14 < Kodeart> it's not bad really, but it lacks examples imo 12:14 < MikeSeth_> Kodeart: being worked on :) 12:15 < Kodeart> good good :) 12:19 < MikeSeth_> Kodeart: with any luck i will release a demo blog app in a couple of days 12:19 < MikeSeth_> other than this, you have documentation, the sample app in the main tree, and us to answer questions 12:21 -!- MikeSeth_ is now known as MikeSeth 12:21 < E_mE> mike you get that link i sent ya? 12:21 < Kodeart> that's nice, but wasn't expecting a fully copy-paste app 12:22 < Kodeart> just usefull examples ;) 12:22 < MikeSeth> E_mE: dude, I got that link the moment it appeared on the interwebs ;> 12:22 < E_mE> ;) 12:22 < Kodeart> makes your brain cells busy 12:22 < MikeSeth> E_mE: Anonymous scores the internet, if anyone so much as farts anywhere about scientology they know about it 12:24 < MikeSeth> E_mE: it's so efficient people get to post comments under known scientologist trolls' names before the trolls themselves ;> 12:25 < E_mE> :) keep it up :) 12:45 < Macen> guys 12:45 < Macen> question 12:45 < E_mE> ? 12:46 < Macen> got a call saying 'i want ftp information my accountant told me i should secure all assets and would like ftp info etc ftp info FTP INFO PLSTANOWBYE' too which i said 'no' 12:46 < Macen> they said 'we own it blah blah i want ftp info ftp info etc' 12:46 < Macen> so we settled on them getting a copy of what they own 12:46 < Macen> like, wtf.. ? 12:47 < Macen> where do i stand on this? 12:47 < Macen> must be a common query 12:47 -!- sikkle [n=sikk@bas4-montreal02-1096720986.dsl.bell.ca] has joined #agavi 12:48 < E_mE> do you own the FTP server? 12:48 < Macen> i don't use ftp 12:48 < Macen> i use rsync 12:48 < Macen> the server itself is leased through fasthosts only i have access 12:48 < E_mE> but there site is it stored on your servers? 12:48 < Macen> yes 12:49 < E_mE> how does rsync upload to the server? 12:49 < E_mE> is it some software on the server which accepts connections from rsync client 12:50 < Macen> just standard rsync 12:50 < Macen> rsync on both sides of the transfer 12:51 < CIA-5> dominik * r2458 /branches/0.11/src/util/AgaviArrayPathDefinition.class.php: 12:51 < CIA-5> don't fail on arrays with 0 or '' as key in getFlatKeyNames 12:51 < CIA-5> closes #757 12:51 < E_mE> Macen: say you dont use FTP 12:51 < E_mE> and see what they say 12:51 * Wombert shakes head 12:51 < Wombert> who owns the server their site is hosted on 12:52 < E_mE> macen rents the server which the site is on.. 12:53 < Macen> they pay for ecommerce hosting: http://www.youds.com/web/index.php?target=hosting 12:53 < Wombert> aha 12:53 < Macen> http://www.userdefined.co.uk/web/index.php?target=terms_of_hosting 12:53 < Wombert> so you build a website for them? 12:53 < Wombert> *built 12:53 < Macen> yea 12:54 < Macen> above is out of date big time but it was available at the time of publishing 12:54 < Wombert> what does that have to do with it 12:55 < Macen> it's the only contractual agreement they could possibly quote 12:55 < Wombert> ahahah 12:55 < Wombert> :>>>>> 12:55 < Wombert> look 12:55 < Wombert> maybe you should ask a lawyer to make some contract templates for you 12:55 < Wombert> and if you're running... a... business... 12:55 < CIA-5> dominik * r2459 /branches/0.11/src/validator/AgaviValidator.class.php: 12:55 < CIA-5> don't remove by validators exported arrays from the request data 12:55 < CIA-5> closes #756 12:55 < Wombert> get familiar with the legal stuff surrounding ownership of works you create for clients, etc 12:55 < Wombert> but that's just my 2c 12:57 < Macen> when i finish ashworth burke (who also raised questions about contractual agreements) i am going to hire one to write the terms up with all the 'variables' surrounding these issues written in 12:57 < Macen> i feel ok now don't know if i should though 12:58 < Macen> trophaeum: you there? :> 12:58 < Macen> maybe you will have 2c ^^^^ 12:59 < Wombert> he's an aussie 12:59 < Wombert> and 12:59 < Wombert> could you stop asking for legal advice in this channel 12:59 < Wombert> nobody is allowed to help you anyway 12:59 < Wombert> thanks 12:59 < Macen> i was more hoping for licensing advice 12:59 < Macen> like gnu, etc 13:00 < Wombert> just some hints: your clients may or may not have ownership, usage, copyright and modification rights for the stuff you create 13:01 < Macen> hmk thx 13:06 -!- JanK [n=JanK_@P3106.pallas.wh.tu-darmstadt.de] has left #agavi [] 13:06 < CIA-5> david * r2460 /branches/0.11/CHANGELOG: changelog for [2458:2459] 13:09 < CIA-5> david * r2461 /branches/0.11/ (CHANGELOG etc/phing/AgaviPackageTask.php src/version.php): 0.11.1 RC3 version info 13:22 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has joined #agavi 13:29 < CIA-5> david * r2462 /tags/0.11.1RC3/: tagging 0.11.1 RC3 for release 13:30 -!- Zeelot [i=WinNT@raokdell.fiu.edu] has quit ["-=SysReset 2.55=-"] 13:31 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: stable: 0.11.0 :: latest: 0.11.1 RC3 :: http://agavi.org :: http://trac.agavi.org/milestone/0.11.1 :: http://svn.agavi.org/branches/0.11/ :: 1.0 development ramping up :: http://ohloh.net/projects/5907 :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: we're looking for documentation contributors :: logs at http://agavi.org/irclogs/ :: HUOMENTA is the official Agavi greeting! 13:33 -!- Zeelot3k [i=WinNT@zeelot.fiu.edu] has joined #agavi 13:36 -!- MrJeep [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has joined #agavi 13:36 -!- Zeelot3k is now known as asdasd 13:36 -!- asdasd is now known as Zeelot3k 13:47 -!- chammiya [n=chamms@ip-208-109-254-83.ip.secureserver.net] has joined #agavi 13:47 -!- chammiya [n=chamms@ip-208-109-254-83.ip.secureserver.net] has left #agavi [] 14:09 -!- shoan [n=shoan@122.166.1.168] has quit [] 14:10 -!- MikeSeth [n=youdie@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 14:11 -!- MikeSeth [n=youdie@62.90.159.110] has joined #agavi 14:13 < Wombert> someone tell erisco that his validation export() bug is fixed in RC3 plz 14:13 < Wombert> kthx 14:15 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has quit [] 14:40 -!- MikeSeth_ [n=youdie@62.90.159.110] has joined #agavi 14:41 -!- MikeSeth [n=youdie@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 14:43 -!- icyt is now known as IcyT 14:44 < CIA-5> david * r2463 /trunk/ (3 files in 3 dirs): merge [2458:2461/branches/0.11] 14:46 < CIA-5> david * r2464 /branches/david-stampede_protection/ (5 files in 5 dirs): merge [2458:2461/branches/0.11] 14:48 < CIA-5> david * r2465 /branches/david-xml_only_config_system/ (3 files in 3 dirs): merge [2463] 15:01 -!- MugeSo [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has joined #agavi 15:02 < MugeSo> huomenta 15:04 < MugeSo> Wombert: congratulations on 0.11.1RC3! 15:05 < Wombert> <: 15:05 < Wombert> just a small release, really 15:05 < Wombert> isn't it in the middle of the night or something in japan 15:05 < Wombert> no wait 15:05 < Wombert> early saturday? 15:06 < Wombert> oh 15:06 < Wombert> noon! 15:06 < Wombert> heh 15:06 < Wombert> :> 15:06 < Wombert> no 15:06 < Wombert> midnight 15:06 < Wombert> eheheh 15:06 < _cheerios> o_O 15:06 < Wombert> I'm confused 15:06 < MugeSo> I've translated release announcement just now. 15:06 < Wombert> (because everyone keeps mentioning the war) 15:06 < Wombert> thanks man MugeSo 15:06 < Wombert> it's much appreciated 15:06 < MugeSo> It's 0:00 AM. :) 15:06 < Wombert> you are, basically, the connecting point between two cultures! :) 15:06 < Macen> 120:05am in Tokyo 15:06 < Macen> oh hihi 15:07 < Macen> MugeSo: Wikipedia says the Japanese don't like being called part of Asia 15:07 < Macen> is this true? 15:08 < MugeSo> maybe.. not. 15:08 < Macen> hmk 15:09 < Macen> i will believe wikipedia :) 15:10 < Macen> i hate how brits are not culturally aware 15:10 < E_mE> 120am :/ 15:10 < E_mE> wow! 15:10 < E_mE> japanese are damn far out 15:11 < E_mE> hehe 15:11 < MugeSo> lol 15:11 < Macen> oh how we jest 15:12 < Macen> aren't you all such lovely people 15:12 < Macen> <3<3 15:13 -!- MugeSo_ [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has joined #agavi 15:14 < E_mE> MugeSo where in japan are you? 15:14 < MugeSo_> in Yokohama 15:14 < MugeSo_> do you know? 15:14 * Macen < heard of it 15:15 < E_mE> me going to look now 15:15 < E_mE> ah its pretty much tokyo :) 15:15 < E_mE> cool 15:15 < Macen> why have you been 15:15 < E_mE> i want to visit japan one day 15:16 < Macen> me too actually 15:16 < E_mE> seems so much like another world compare to here 15:16 < Macen> exactly 15:16 < Macen> or china 15:17 < Macen> it would be like being asian in the 60's i imagine 15:17 < MugeSo_> 60's? 15:18 < Macen> when new cultures began to come over to the UK 15:18 < MugeSo_> I see. :) 15:19 < Macen> :) would just be ace i think 15:19 < E_mE> Macen: one big difference, the chinses have a population going on 1.5Billion, sure they don't need us to go over there hehe 15:20 < Wombert> isn't... yokohama right next to tokyo? 15:20 * Wombert goes check in wikipedia 15:20 < E_mE> pretty much Wombert 15:21 < MugeSo_> yeah, just south of tokyo. 15:21 < MugeSo_> from 15:22 < MugeSo_> and, my office is in tokyo. 15:22 -!- _cheerios [i=jussiava@ip-87-108-51-176.customer.academica.fi] has quit ["Leaving"] 15:23 < MugeSo_> it takes about 40 min from my home to my office. 15:23 < MugeSo_> by train. 15:24 < E_mE> MugeSo_: bullet train?? 15:26 < E_mE> MugeSo_: tokyo and surrounding areas looks like a MASSIVELY built up area 15:26 < MugeSo_> no! local train :p 15:27 < MugeSo_> yeah, 15:29 < MugeSo_> I've heard that tokyo area is the biggest Megalopolis in the world. 15:30 -!- MugeSo [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has quit [Read error: 110 (Connection timed out)] 15:34 < Macen> MugeSo_: that's one word for it :p 15:36 < MugeSo_> :$ 15:37 < Macen> i don't think i could live in london, not without some form of sat nav that can guide me around big buildings and through the one way systems 15:37 -!- impl [n=impl@atheme/member/impl] has joined #agavi 15:39 < Macen> brb system update 15:39 -!- Macen [n=leopard@host86-154-107-27.range86-154.btcentralplus.com] has quit [" E_mE: logarithms aren't hard, they're just inverse exponents"] 15:41 < MugeSo_> Wombert: about what i told you, "PHP framework fight!" in japan, 15:41 < Wombert> yea, I remember 15:43 < MugeSo_> a company will provides repository for the challenge. 15:43 -!- MrJeep [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has quit [Remote closed the connection] 15:44 -!- MrJeep [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has joined #agavi 15:45 < MugeSo_> and, only one developer can be comitter for each framework. 15:46 < Wombert> ah 15:46 < Wombert> but we can send you patches or such, right? :> 15:46 < MugeSo_> yeah, 15:47 < MugeSo_> and you can checkout from the repository. 15:48 < Wombert> cool 15:48 < Wombert> so we can all take a look at see if everything is optimal etc 15:48 < Wombert> great 15:48 < Wombert> :> 15:48 < Wombert> when is the challenge starting? 15:51 < MugeSo_> not determined yet. :( 15:51 -!- Macen [n=leopard@host86-154-107-27.range86-154.btcentralplus.com] has joined #agavi 15:55 < MugeSo_> organizer said that it start as soon as they decide the spec of app. 15:55 < E_mE> you all have to check this out:http://www.sionmc.com/storace/stealing.htm its AMAZING 15:57 < MugeSo_> but, brief spec have been released :) 15:57 < Wombert> yea? 15:57 < Wombert> so what do you have to build 15:58 < MugeSo_> app will be twitter-like one. 16:00 < MugeSo_> registreation using email, login, post message, listing posted messages. 16:00 -!- Rendez [n=Rendez@26.105.219.87.dynamic.jazztel.es] has quit [] 16:01 < Wombert> ah 16:01 < Wombert> that's good. you can at least add RSS 16:01 < Wombert> with one action and two output types 16:01 < Wombert> :) 16:01 < Wombert> how much time will you have? 16:01 < MugeSo_> yeah :) 16:02 -!- Rendez [n=Rendez@26.105.219.87.dynamic.jazztel.es] has joined #agavi 16:02 < Wombert> 24 hours? a week? a month? 16:02 * Wombert pokes impl 16:02 < Wombert> help 16:03 < MugeSo_> the deadline will be mid-june 16:03 < Macen> E_mE: rofl @ that article 16:03 < Macen> what are the chances 16:04 < Wombert> MugeSo_: excellent 16:04 < Wombert> should we start planning? 16:04 < Wombert> do you want any help with this anyway? 16:04 < Wombert> or would you rather like to try yourself 16:05 < Wombert> and just ask for help/advice when needed 16:05 < MugeSo_> I'd like to try myself :) 16:05 < Wombert> <: 16:05 < MugeSo_> at first 16:08 < MugeSo_> Of course, I'm depending on you :) 16:11 < MugeSo_> oh, it's 1:11. 16:12 < MugeSo_> I'm going to bed. good night. 16:12 -!- MugeSo_ [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has left #agavi [] 16:21 < Macen> E_mE: how long did it take you to get through http://www.amazon.co.uk/PHP-5-Objects-Patterns-Practice/dp/1590593804/ref=pd_bxgy_b_text_b ?? 16:21 < E_mE> 1-2 days 16:22 < Macen> so it'll take me 30mins 16:22 < Macen> excellent 16:22 < Macen> ;D 16:22 < Wombert> before you give up, yeah 16:22 < Macen> OH YOU'RE SO FUNNY!!! 16:26 < Macen> can't wait to read it 16:26 < Macen> and http://www.amazon.co.uk/PHP-MySQL-Dynamic-Web-Sites/dp/032152599X/ref=pd_sim_b_img_49/026-8442256-3682800 16:41 -!- saracen [n=saracen@91.84.44.214] has joined #agavi 16:48 < E_mE> have good weekend 16:48 < E_mE> baye 16:49 -!- Rendez_ [n=Rendez@251.105.219.87.dynamic.jazztel.es] has joined #agavi 16:54 < Wombert> lawl 16:54 < Wombert> Grammatista segfaults if xdebug is off(!) 16:57 -!- Rendez [n=Rendez@26.105.219.87.dynamic.jazztel.es] has quit [Read error: 110 (Connection timed out)] 17:06 < saracen> Store IRC logs in a database, line by line. Wise? 17:06 < saracen> Storing* 17:06 < Wombert> I think so, saracen 17:06 < Wombert> I've been wondering if there was a better way, but couldn't come up with any 17:06 < Wombert> especially since you can do nice computations on the data 17:06 < Wombert> what are you building there? <: 17:07 < saracen> I just saw the low priority ticket for agavi logs :P 17:08 < saracen> Was wondering the best way to restore, which would allow for text indexing. Database is probably best suited. Then I thought there should be a way to easily make sniippets, and tag them with key words. So, the idea of a checkbox per line, so you could select, and "tag" the snippet might be handy 17:10 < saracen> So. When somebody searches for the keyword "routing". Rather than bring up lines, which didnt solve problems/help in anyway/were about networking, you could just discard them, and look at the highlighted snippet areas. 17:11 < saracen> I've no idea if something like this already exists. 17:14 -!- eremit [n=Miranda@p5B237211.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 17:20 < MrJeep> if it don't it's a nice idea 17:21 < MrJeep> there is so much help in the irc log 17:22 < saracen> But then you have to decide, is this faster than searching through the text, and pasting in some other document? 17:22 < MrJeep> but it takes so much time to look / search trhough each one 17:23 < saracen> hmm, guess it might make it a little more managable. I'll look in to it 17:27 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has joined #agavi 17:35 < Wombert> owww tasty 17:35 < Wombert> php(63200) malloc: *** error for object 0x29: Non-aligned pointer being freed 17:35 < Wombert> *** set a breakpoint in malloc_error_break to debug 17:46 < trophaeum> Wombert, well done, been a while since iv seen an malloc error in php :) 17:47 < Wombert> well 17:47 < Wombert> if I var_dump() sth before that 17:47 < Wombert> I get random garbage as output 17:47 < Wombert> <: 17:47 < Wombert> gdb to ze rescue nao 17:48 < nfq> hey Wombert 17:49 < Wombert> hi there 18:00 < Wombert> owww man 18:00 < Wombert> there's something really wonky deep inside the belly of the ZE beast 18:05 < trophaeum> ooooo, php 5.2.6 released 18:06 < trophaeum> # Over 120 bug fixes. <-- lol 18:06 < trophaeum> gives you so much faith in php when you read that every release 18:07 -!- MrJeep_ [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has joined #agavi 18:08 < Wombert> well 18:08 < Wombert> check out this "fix" 18:08 < Wombert> http://bugs.php.net/bug.php?id=43507 18:08 < Wombert> ... 18:13 < trophaeum> do i want to know? LOL 18:13 < trophaeum> ur kidding right? 18:13 < trophaeum> wtf! 18:13 < Wombert> I mean 18:14 < Wombert> that guy 18:14 < Wombert> asks twice 18:14 < Wombert> if we can please have a forward-compatible, userland solution to the issue 18:14 < Wombert> but no 18:14 < Wombert> ... 18:22 -!- MrJeep [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 18:25 < saracen> channel_id, nickname, msg_type, message. (Where message is nickname change, topic change, ordinary text, action text. bascially all other fields) 18:26 < v-dogg> wtf is that dmitry guy thinking?! 18:26 < saracen> Hows that for a irc log schema? Shame message becomes the everything field =( 18:26 < v-dogg> HTTP status code changes based on User-Agent header!? WTF 18:27 * v-dogg slaps php devs 18:28 < v-dogg> this bunch of retards developing php.... sigh... 18:29 < Wombert> owwwww 18:29 < Wombert> variables of unknown type popping up 18:29 * Wombert hugs php 18:36 < Wombert> hoem tiem 18:36 -!- Wombert [n=Wombert@munich.bitxtender.net] has quit ["bai"] 18:39 -!- saracen [n=saracen@91.84.44.214] has left #agavi ["Leaving"] 18:39 -!- saracen [n=saracen@91.84.44.214] has joined #agavi 18:43 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 18:43 < _cheerios> jee 18:47 < marklar|omni> hai 18:50 < _cheerios> anyone here worked with drupal? 18:51 -!- brasileiro___ [n=fdfdf@201-34-67-245.smace701.dsl.brasiltelecom.net.br] has joined #agavi 18:57 < saracen> http://91.84.44.214/parser.php | http://91.84.44.214/agavi-200805.log 18:57 < saracen> Think thats about everything. It doesnt do modes though. 18:57 < saracen> opps, http://91.84.44.214/parser.txt 19:00 -!- sikkle [n=sikk@bas4-montreal02-1096720986.dsl.bell.ca] has quit [] 19:12 < _cheerios> wth. one of our domains dropped off the face of the internet. 19:17 -!- kaos|work_ [n=dominik@munich.bitxtender.net] has quit [Read error: 113 (No route to host)] 19:18 -!- brasileiro_ [n=fdfdf@201-34-67-245.smace701.dsl.brasiltelecom.net.br] has joined #agavi 19:19 -!- Wombert [n=Wombert@dslb-088-064-217-090.pools.arcor-ip.net] has joined #agavi 19:19 < _cheerios> how do you troubleshoot shit like this o_O 19:19 -!- brasileiro___ [n=fdfdf@201-34-67-245.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)] 19:19 < _cheerios> friday evening too :shakes head: 19:25 < trophaeum> _cheerios, off the face of mr googlebot or off the face of all hosting? 19:25 < _cheerios> when i dig it, ";; connection timed out; no servers could be reached" 19:26 < trophaeum> well done 19:26 < trophaeum> turn on debug and d2 in nslookup and see what u get 19:26 < _cheerios> and when it does give something, it points to 192.168.1.1 19:29 < _cheerios> "SERVFAIL", and no infoes. 19:33 < Macen> hmm 19:34 < Macen> i think i just about covered everything for t&c's 19:36 < Macen> all web sites authored for use on suppliers hosting services with a 60% fee to make web site portable unless hosting service increases in cost, becomes inefficient or experiences sporadic periods of downtime 19:36 < _cheerios> fixed. the shitty config pane mustve fubared the config. i deleted half, then saved the thing again, and back on the internets. 19:37 < Macen> where inefficient means significantly slower than other web sites in a similar industry and of similar size. (where size refers to the amount of bandwidth required to download the entire web page’s HTML content and significantly slower refers to the time taken to download the content being 3 times slower, at a minimum of 2.5 seconds, for extended periods of the day) http://www.selfseo.com/website_speed_test.php 19:37 < Macen> then pritty standard downtime clause 19:37 < Macen> now just needs writing up 19:37 < Macen> by mr expensive as fuk lawyer 19:41 < Wombert> again 19:41 < Wombert> you're worrying about "downtime" (it's called "service level agreement, just for the record) 19:42 < Macen> sla 19:42 < Wombert> when you don't even have a clue what rights your clients have, according to uk law, regarding the work you do for them 19:42 -!- erisco [n=erisco@brisco.kent.net] has joined #agavi 19:42 < Macen> hence mr expensive lawyer 19:42 < erisco> yay, I see the array issue was fixed in RC3 19:43 < erisco> how do you tell pear to upgrade beta packages? 19:43 -!- Macen [n=leopard@host86-154-107-27.range86-154.btcentralplus.com] has quit [] 19:44 < erisco> I guess I will just uninstall and reinstall 19:50 < Wombert> lol 19:50 < Wombert> ... 19:51 < Wombert> a lawyer? 19:51 < Wombert> man 19:51 * Wombert shakes head 19:52 < erisco> hey Wombert. sorry to be such a pain all the time. I am trying to get propel working but the doc seems to be a little incomplete 19:52 < erisco> I am not sure how to get propel to generate the config file... and I presume that config file is where I will put my database connection information 19:56 -!- Rendez_ is now known as Rendez 19:59 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: MrJeep_, ttj_ 19:59 -!- Netsplit over, joins: MrJeep_, ttj_ 20:02 -!- Arme[N] is now known as Arme[0] 20:02 -!- erisco [n=erisco@brisco.kent.net] has quit ["Leaving"] 20:20 < Wombert> wasn't he a doctrine guy anyway 20:28 < Wombert> MikeSeth_: poek 20:50 -!- brasileiro_ [n=fdfdf@201-34-67-245.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)] 21:16 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["sleep"] 21:32 -!- erisco [n=erisco@brisco.kent.net] has joined #agavi 21:47 -!- MrJeep [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has joined #agavi 21:49 -!- MrJeep_ [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 22:02 < erisco> how can I get the configurations read by agavi? for example I want to get the database information read from databases.xml 22:03 < erisco> that way I can still have my database configuration with agavi 22:05 -!- erisco [n=erisco@brisco.kent.net] has quit ["Leaving"] 22:06 < Wombert> why does he always leave right away 22:40 < trophaeum> its open source, support should be as good as premium paid contracts! 22:40 < trophaeum> didnt you know that? 22:49 < Wombert> well 22:49 < Wombert> he's friendly and all 22:49 < Wombert> but why doesn't he wait for a reply :p 23:10 -!- saracen_ [n=saracen@91.84.44.214] has joined #agavi 23:12 < nfq> yo Wombert 23:29 -!- saracen [n=saracen@91.84.44.214] has quit [Read error: 110 (Connection timed out)] --- Day changed Sat May 03 2008 00:57 -!- IcyT is now known as icyt 01:18 < impl> Wombert: oh hai? 01:18 < Wombert> impl: 01:18 < Wombert> wanna help me hunt down a segfault 01:18 < Wombert> it's an awesome one 01:18 < impl> sure 01:19 < Wombert> remember grammatista crashing? 01:19 < Wombert> turns out that happens unless you have xdebug installed 01:19 < Wombert> lets talk in teh chan 01:35 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has quit [] 02:02 -!- sikkle [i=sikkle@modemcable089.215-81-70.mc.videotron.ca] has joined #agavi 02:57 -!- shoan [n=shoan@59.96.63.77] has joined #agavi 03:44 -!- Wombert [n=Wombert@dslb-088-064-217-090.pools.arcor-ip.net] has quit [] 04:04 -!- MugeSo [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has joined #agavi 04:08 < MugeSo> huomenta 04:10 < MugeSo> are most Euro sleeping? 04:12 < MugeSo> I've check the 0.11.1RC3 out and tried to run sample app. 04:12 -!- Arme[0] is now known as Arme[N] 04:14 < MugeSo> but, an exception was thrown. saying Line 4: Element 'handlers', [lax WC]: The namespace of the element is not allowed. 04:14 < MugeSo> :( 04:20 < MugeSo> oh! forget me 04:20 < MugeSo> I've checkout trunk :$ 04:24 < MugeSo> wait, 04:24 < MugeSo> RC3's sample don't work too. 04:30 -!- Kodeart [i=kodeart@89.185.194.43] has quit [Read error: 110 (Connection timed out)] 04:45 < v-dogg> huomenta 04:46 < v-dogg> MugeSo: http://trac.agavi.org/wiki/WTF 04:46 < MugeSo> thanks! 04:48 < MugeSo> it works! 05:20 -!- eremit [n=Miranda@p5B23485D.dip.t-dialin.net] has joined #agavi 06:58 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 06:58 < _cheerios> huomenta 06:59 < _cheerios> http://en.wikipedia.org/w/index.php?title=Comparison_of_file_systems&oldid=209063556#Features 07:20 -!- MugeSo [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.14/2008040413]"] 07:45 -!- icyt is now known as IcyT 07:54 < _cheerios> is the sample app broken? 07:58 < marklar|omni> sup 08:08 < _cheerios> seemed to be a broken cache. 08:08 < _cheerios> trying out that view refactor i talked about a month or so back 08:30 -!- shoan [n=shoan@59.96.63.77] has quit [] 09:20 -!- MrJeep_ [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has joined #agavi 09:20 -!- MrJeep [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)] 09:25 < _cheerios> not much changes. seems to work \o/ 09:49 < _cheerios> hmm, almost. why is AgaviPhpRenderer rebelling :| 10:05 -!- Wombert [n=Wombert@dslb-088-064-223-151.pools.arcor-ip.net] has joined #agavi 10:20 < _cheerios> ah, yes, AgaviView's 'template' => $this->container->getViewName() 10:29 < E_mE[Stilgar]> huomenta 10:29 < E_mE[Stilgar]> pah! had fecking seagull neting in my garden :/ 10:29 < _cheerios> Wombert, would an additional setter/getter for TemplateName have a place in the container? Default module's PhpRenderer+AgaviView combo with a view name "Index_Error404View" and template Error404Success doesn't work out due ^^. 10:29 * E_mE[Stilgar] wishes he had an airgun 10:30 < Wombert> wh what 10:30 < Wombert> *eh 10:30 < Wombert> the template must be called Index/Error404Success ... 10:31 < _cheerios> im working on the single action, single view, multiple templates approach I talked about some weeks back 10:32 < _cheerios> http://p.caboo.se/190956 10:33 < _cheerios> works OK, as long as the ProjectBaseView extends createLayer to setup the template as 'template' => $this->container->getActionName().$this->container->getAttribute('action_eturn_code') 10:34 < Wombert> yeah, I guess that is what you have to do in such a case 10:40 < _cheerios> leads to modifying the Default template to use the same ProjectBaseView, un-finalizing execute(). i suppose no biggy, just harder to push the change for anyone to use. 10:40 < _cheerios> *Default module 10:55 -!- nf_ [n=impl@pilot.trilug.org] has joined #agavi 10:55 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: mp_, splatch_, vlt, impl, nf 10:57 -!- Netsplit over, joins: splatch_, impl, vlt 10:57 -!- vlt_ [n=dm@suez.activ-job.com] has joined #agavi 10:57 -!- vlt [n=dm@suez.activ-job.com] has quit [Remote closed the connection] 10:58 -!- Netsplit over, joins: mp_ 11:06 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has joined #agavi 11:09 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has joined #agavi 11:30 < CIA-5> david * r2466 /branches/0.11/ (CHANGELOG src/exception/templates/shiny.php): Fix #758: UTF-8 special characters in exception messages get garbled in exception output 11:31 < _cheerios> Wombert, i changed the approach -- that action return(module,view) syntax had undesired sideffects. works fine now. i'll throw the diff around so you can scrutinize ;) 11:31 < Wombert> ok 11:32 < Wombert> I have to say I still can't quite follow you 11:34 < CIA-5> david * r2467 /branches/0.11/ (RELEASE_NOTES etc/phing/AgaviPackageTask.php src/version.php): adjust version info 11:48 < _cheerios> Wombert, http://dpaste.com/48091/ 11:51 < _cheerios> it makes views behave like this: http://p.caboo.se/190972 11:51 < _cheerios> actions and templates remain the same 11:53 < _cheerios> Default_IndexAction (return Success/Error) -> Default_IndexView (successHtml()/errorHtml()) -> (templates) IndexSuccess / IndexError 12:05 < Wombert> k will have a look when back 12:05 < Wombert> bbl 12:05 < Wombert> -> 12:32 < _cheerios> anyone used a custom build.xml in their project path? agavi says its using it while building actions, but doesn't. Something needed for build.properties? 12:34 -!- fill87 [n=Felix_We@ip-88-207-230-67.dyn.luxdsl.pt.lu] has joined #agavi 12:34 < fill87> HUOMENTA 12:34 < fill87> wtf is going on with the agavi.org dns? 12:45 < _cheerios> ? 12:49 < fill87> OSX105 12:49 < fill87> http://pastebin.org/d76ea2d50 12:50 < fill87> http://pastebin.com/d76ea2d50 12:51 < fill87> getting a parked domain by godaddy 12:57 < MikeSeth_> I would suggest you folks ditch godaddy 12:57 < MikeSeth_> it sucks 12:59 < fill87> other possi to reach svn/trac? 13:00 < Wombert> gah 13:00 < Wombert> not again 13:02 < _cheerios> Wombert, quickest way to have custom tasks for agavi -- replacing eg. buildview? 13:06 < fill87> server ip? 13:12 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: stable: 0.11.0 :: latest: 0.11.1 RC3 :: agavi.org has a hiccup :: http://agavi.bitxtender.net/ :: http://trac.agavi.bitxtender.net/milestone/0.11.1 :: http://svn.agavi.bitxtender.net/branches/0.11/ :: http://ohloh.net/projects/5907 :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: logs at http://agavi.org/irclogs/ :: HUOMENTA is the official Agavi greeting! 13:34 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: stable: 0.11.0 :: latest: 0.11.1 RC3 :: agavi.org is having a hiccup :: http://agaviproject.org/ :: http://trac.agaviproject.org/milestone/0.11.1 :: http://svn.agaviproject.org/branches/0.11/ :: http://ohloh.net/projects/5907 :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: logs at http://agavi.org/irclogs/ :: HUOMENTA is the official Agavi greeting! 13:34 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: stable: 0.11.0 :: latest: 0.11.1 RC3 :: agavi.org is having a hiccup :: http://agaviproject.org/ :: http://trac.agaviproject.org/milestone/0.11.1 :: http://svn.agaviproject.org/branches/0.11/ :: http://ohloh.net/projects/5907 :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: logs at http://agaviproject.org/irclogs/ :: HUOMENTA is the official Agavi greeting! 13:41 < _cheerios> Wombert, got it. Fixed the agavi to check for a custom build.xml http://p.caboo.se/190995 13:45 < _cheerios> almost works, need lowercasing of %%VIEW%% 13:48 < Wombert> why 13:48 < Wombert> for the method call? 13:48 < Wombert> methods are case insensitive 13:50 < _cheerios> yer, for SuccessHtml() to be successHtml() 13:51 < Wombert> no need for that, really 13:51 < Wombert> works either way 13:51 < Wombert> cosmetic ^^ 13:57 < _cheerios> you're lax today! 14:00 -!- MugeSo [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has joined #agavi 14:05 < _cheerios> here's some more executionFilter modding, to keep views "clean" http://p.caboo.se/190999 14:06 < Wombert> hai MugeSo 14:06 < MugeSo> hi 14:07 < Wombert> committed your exception template fix 14:07 -!- shoan [n=shoan@59.92.162.41] has joined #agavi 14:07 < Wombert> http://trac.agaviproject.org/ticket/752#comment:3 14:09 -!- erisco [n=erisco@brisco.kent.net] has joined #agavi 14:09 < MugeSo> i'm glad. 14:09 < MugeSo> i see #752 14:10 < erisco> to integrate Doctrine models into my app should I just use Doctrine::getTable('tableName') ? 14:10 < Wombert> there you are erisco 14:10 < Wombert> you really gotta wait a moment or two after asking a question ;) 14:10 < MugeSo> you are right 14:10 < Wombert> if you leave right away, I have no chance to answer ^^ 14:11 < Wombert> some people here have used doctrine with agavi 14:11 < erisco> Wombert, yeah, I am sorry 14:11 < Wombert> the idea is 14:11 < Wombert> that you set up the connections you want to use 14:11 < Wombert> then you grab them in agavi and operate on those 14:12 < erisco> how are the connections setup? 14:12 < erisco> I just did it in a separate file called database.php 14:12 < Wombert> databases.xyml 14:12 < Wombert> *xml 14:12 < erisco> okay, I guess that is my main question then. How do I operate on that config file myself 14:12 < Wombert> 14:12 < Wombert> ... 14:12 < Wombert> 14:13 < Wombert> then you do $context->getDatabase('mytestdb')->getConnection() 14:13 < Wombert> or shorter 14:13 < Wombert> $context->getDatabaseConnection('mytestdb') 14:13 < Wombert> getDatabase() returns the Agavi...Database adapter 14:13 < Wombert> getConnection() gives you the doctrine_connection instance 14:13 < erisco> ah, so there is already a doctrine adapter? 14:13 < Wombert> or whatever it is exactly 14:13 < Wombert> yea sure 14:13 < Wombert> mind you that you can set a defailt database 14:14 < Wombert> 14:14 < Wombert> then getDatabaseConnection() will just grab that 14:14 < erisco> brilliant 14:14 < Wombert> the adapter uses the doctrine connection manager 14:14 < Wombert> it also connects JIT 14:15 < Wombert> getResource() on the adapter returns the pdo connection or whatever doctrine uses 14:15 < Wombert> maybe check out the AgaviDoctrineDatabase code 14:16 < Wombert> http://trac.agaviproject.org/browser/tags/0.11.1RC3/src/database/AgaviDoctrineDatabase.class.php 14:17 -!- fill87 [n=Felix_We@ip-88-207-230-67.dyn.luxdsl.pt.lu] has left #agavi [] 14:17 < erisco> yes 14:17 < MugeSo> Wombert: talking of doctrine, why not call Doctrine::loadModels in AgaviDoctrineDatabase ? 14:17 < Wombert> oh 14:17 < Wombert> what is that? 14:17 < Wombert> never heard of it 14:17 < Wombert> not a big doctrine user myself 14:17 < erisco> well, so should I include Doctrine through the config.php or what? 14:17 < Wombert> yes erisco 14:17 < Wombert> usually, you set up 3rd party libraries there 14:18 < Wombert> doesn't have to be config.php obviously 14:18 < Wombert> that one's just included from index.php 14:18 < Wombert> MugeSo: what is loadModels() ? 14:18 < MugeSo> the method load doctrine models, 14:19 < erisco> I think it registers them with the autoloader 14:19 < MugeSo> yeah, it is, erisco 14:20 < Wombert> you guys are the doctrine experts, right? 14:20 < MugeSo> load models with directory path 14:20 < Wombert> are there new features in 0.11 we need to support 14:20 < Wombert> or 0.10 features still missing, like loadModels() 14:20 < MugeSo> I'm learning doctrine just now :) 14:21 < erisco> Wombert, $this->context->getDatabaseConnection() ... how does this help me get a table? 14:21 < nfq> Hey Wombert busy>? 14:23 < Wombert> erisco: ->getTable() 14:23 < Wombert> no? 14:23 < Wombert> on the connection? 14:24 < erisco> oh, yes, correct 14:25 < Wombert> <: 14:25 < Wombert> nfq: hey nfq 14:25 < nfq> hey Wombert long time.. all good? 14:25 < Wombert> yea 14:25 < Wombert> just some intermittent busyness today 14:25 < Wombert> bbiab 14:32 -!- erisco_ [n=erisco@brisco.kent.net] has joined #agavi 14:32 -!- erisco [n=erisco@brisco.kent.net] has quit [Nick collision from services.] 14:32 -!- erisco_ is now known as erisco 14:33 < erisco> now my application starts grinding to a halt. was at 0.01 seconds, now its 0.2 seconds 14:33 < erisco> ah well 14:33 < erisco> that's what you get for an ORM 14:34 -!- MugeSo_ [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has joined #agavi 14:34 < erisco> you know of what I was thinking? 14:34 < erisco> some script that would "solidify" php code 14:35 < erisco> but I bet the op caches do essentially what I am thinking of 14:36 < saracen_> What are you thinking of? 14:36 -!- saracen_ is now known as saracen 14:38 < erisco> something that would not only compile all of the includes into a single source file, but strip the comments, remove unnecessary whitespace 14:38 < erisco> but then even experiment with strange things like replacing "lookups" with their value 14:39 < saracen> =/ 14:40 < saracen> It's an opcode cache, why do you think comments are opcodes =) 14:40 < erisco> so if your application had getters/setters, it'd be replaced in your source with the actual attribute 14:40 < erisco> things to reduce function calls 14:41 < erisco> I don't think replacing constants all over with their actual value would be any speed improvement, who knows 14:41 < saracen> I'm not sure what other means they do to make it efficient, but, they dont store comments/unneeded whitespace, as they're not operational codes. 14:42 < erisco> yes, I was sure they didn't 14:42 -!- j0ec4i [n=joe@61.190.86.154] has joined #agavi 14:42 < erisco> what I am essentially saying is that there are conveniences or good practises in scripts that are useful for development, but when it comes to running them it is just a slowdown 14:44 < erisco> aside from unnecessary comments and whitespace, there is unnecessary code when it comes to execution 14:44 < erisco> not that this kind of detection would easily be made automatic, but suppose you wrote a build file or whatever 14:45 < erisco> I think one of the coolest things would be the potential to replace the big database/sql abstraction layers with their vanilla equivalents 14:46 < MikeSeth_> oh hai 14:46 < erisco> so if in your Doctrine app you are using DQL in something like $SomeTable->findByDql('foo = true'); 14:46 < erisco> it would rewrite that line with, say, mysql_query('SELECT * FROM some_table WHERE foo = true'); 14:47 < erisco> its beyond just caching the query, its rebuilding the source code for maximum execution efficiency 14:47 * erisco shrugs 14:48 < erisco> whether any of it is practical or not, I am not sure. It was just an idea I was turning over in my mind 14:48 < saracen> That's essentially what it does anyway, but just calling objects/functions inbetween =). The PHP compiler apparently sped up object execution time, I wonder if opcaches have the same drastic improvement. 14:48 < saracen> The roadsend php compiler, that is. 14:49 < erisco> saracen, yes that is essentially it, but if it can be done without those extra objects and function calls then we achieve a lesser execution time 14:49 < saracen> oo, which now supports PHP5, cool. 14:50 -!- MugeSo [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has quit [Read error: 110 (Connection timed out)] 14:51 < erisco> saracen, but what I am suggesting wouldn't really have/want to use Doctrine or an ORM 14:51 < erisco> it'd be nicer just to have some special comment that was replaced with a database-specific query 14:51 < erisco> that's all I am going at, really then, I guess. More code generation over rediscovery 14:54 < erisco> as stateless applications benefit from that the most 14:57 -!- MugeSo_ is now known as MugeSo 14:58 < _cheerios> hell has arrived. > +20C in finland :pant: 14:58 < erisco> that's what I am going to do anyways. some pseudo-language for database abstraction 14:58 < erisco> I can see the benefit in it 15:00 -!- shoan [n=shoan@59.92.162.41] has quit [] 15:00 < _cheerios> i have a 2-3x faster orm that doctrine done (bar some features i dont need so far), but aiming for speed in php means your code looks odd when you turn the lights on ;) 15:02 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has quit ["Leaving"] 15:04 < MugeSo> i think if you fixate on speed, you should use C :p 15:04 -!- sikkle [i=sikkle@modemcable089.215-81-70.mc.videotron.ca] has quit [] 15:06 < _cheerios> MugeSo, you want to rearchitect my orm? :) 15:07 < MugeSo> no thanks, 15:07 < MugeSo> it's joke. 15:08 -!- sikkle [i=sikkle@modemcable089.215-81-70.mc.videotron.ca] has joined #agavi 15:14 -!- Arme[N] is now known as Arme[0] 15:16 -!- shrink0r [i=shrink_s@i577B6E85.versanet.de] has joined #agavi 15:19 < _cheerios> anyone have comments on improving the custom ExecutionFilter I pasted some lines ago... before I modify my project to use it 15:27 < erisco> once again my project is put to an utter halt due to some stupid library 15:27 < erisco> I cannot get Doctrine's fixtures to work 15:29 < MikeSeth_> erisco: work nicely for me 15:29 < MikeSeth_> are you using the cli? 15:29 < erisco> yes 15:30 < erisco> I created a fixtures directory and put a fixture file in it 15:30 < erisco> then I got rid of the directory and called the fixtures file 'fixtures' 15:30 < erisco> still nothing 15:30 < erisco> says it is successful, yet nothing is loaded 15:30 < MikeSeth_> did you assign data_fixtures_path? 15:30 < erisco> yes 15:30 < MikeSeth_> $ctx->getDatabaseManager()->getDatabase()->getConnection()->connect(); 15:30 < erisco> schema can be full of junk and no error happens 15:30 < MikeSeth_> $config = array( 'models_path' => AgaviConfig::get('core.orm_path'), 'data_fixtures_path' => AgaviConfig::get('core.app_dir') . DIRECTORY_SEPARATOR . 'db' . DIRECTORY_SEPARATOR . 'fixtures' ); 15:30 < MikeSeth_> works for me 15:31 < erisco> fails for me 15:31 < MikeSeth_> are you on latest doctrine 0.10? 15:32 < erisco> yes 15:32 < MikeSeth_> strange 15:32 < MikeSeth_> can you get it to create the schema in an emoty db? 15:32 < MikeSeth_> empty* 15:33 < MikeSeth_> e.g. build-all-reload 15:34 < erisco> database was already empty, and no, build-all-reload did not load the fxitures 15:35 < erisco> this is why I *hate* orms 15:35 < erisco> nothing works 15:36 < erisco> and okay, from a developer standpoint, what do I do know that the fixtures will not work 15:37 < saracen> I'd start with being frustrated =) 15:37 < erisco> yup, got that 15:37 < erisco> now what 15:41 < MikeSeth_> uhhh 15:41 < MikeSeth_> i spent some time getting it to work 15:42 < MikeSeth_> but it wasnt really complicated or anything 15:42 < erisco> I don't understand what I could possibly be doing wrong 15:43 < erisco> 'data_fixtures_path' => dirname(__FILE__) . '/Doctrine/fixtures' 15:43 < erisco> which is the correct path to the fixtures directory 15:43 < MikeSeth_> just in case pastebin your whole cli wrapper 15:43 < erisco> and in that fixtures directory is a valid fixtures yaml file called data 15:44 < erisco> zomg 15:44 < MikeSeth_> oh 15:44 < erisco> had to give it a .yml extension 15:44 < erisco> makes sense... it supports many formats 15:44 < MikeSeth_> my fixtures are generated by doctrine, I didnt write them by hand 15:47 < E_mE[Stilgar]> pokes MikeSeth_ 15:48 < MikeSeth_> oshi 15:48 < MikeSeth_> im not id'd 15:48 < MikeSeth_> i said 15:48 < MikeSeth_> pastebin it 15:48 -!- MikeSeth_ is now known as MikeSeth 15:49 < E_mE[Stilgar]> click link 15:50 < erisco> finally back on track 15:55 -!- shoan [n=shoan@59.92.162.41] has joined #agavi 15:56 -!- MugeSo__ [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has joined #agavi 15:59 -!- Macen [n=leopard@host86-154-107-27.range86-154.btcentralplus.com] has joined #agavi 16:00 -!- MugeSo [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has quit [Read error: 110 (Connection timed out)] 16:00 -!- MugeSo [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has joined #agavi 16:00 < E_mE[Stilgar]> macen if your using BT as an isp, you may be getting phorm reading your dataz! 16:01 < E_mE[Stilgar]> naughty naughty 16:01 < Macen> say what ? 16:01 < E_mE[Stilgar]> you not heard about Phorm and BT's naughty behaviour last year? 16:03 < Macen> not heard anything about that no 16:03 < MugeSo> _cheerios: it's cool that your Veiw execution architecture! 16:04 < Macen> i generally don't like bt because they block 3rd party mail servers unless you use their business service, but i'm getting this for free (and it's business) 16:05 -!- Fou4th [n=nomad@host-85-118-226-108.academ.org] has joined #agavi 16:05 < E_mE[Stilgar]> Macen: have fun: http://www.theregister.co.uk/2008/02/29/phorm_roundup/ 16:06 < Macen> unsettling 16:06 < Macen> i might go to carphone warehouse because when the question about banning fileshare users was broached in the media they were the first to say no way would we do that 16:07 < Macen> do unlikely they'd be selling data to some company 16:07 < Macen> s/do/so 16:07 < Macen> hmmmmmm 16:07 < E_mE[Stilgar]> the scary part is that the UK government are refusing to hold anyone to account 16:07 < E_mE[Stilgar]> there just brushing it off 16:10 < Macen> labour are leading us down the road of being a nanny-state 16:10 < Macen> our lives are watched on cctv and trends sold to marketing companies with their concent 16:10 < Macen> dunno who else i'd vote for though 16:11 < _cheerios> MugeSo, ty 16:11 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: stable: 0.11.0 :: latest: 0.11.1 RC3 :: http://agavi.org/ :: http://trac.agavi.org/milestone/0.11.1 :: http://svn.agavi.org/branches/0.11/ :: http://ohloh.net/projects/5907 :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: logs at http://agavi.org/irclogs/ :: HUOMENTA is the official Agavi greeting! 16:17 -!- impl [n=impl@atheme/member/impl] has quit [Read error: 104 (Connection reset by peer)] 16:17 -!- impl [n=impl@atheme/member/impl] has joined #agavi 16:17 -!- MugeSo__ [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has quit [Read error: 110 (Connection timed out)] 16:28 < MugeSo> Wombert: http://trac.agavi.org/ticket/752#comment:4 16:31 < MugeSo> it's 1:30am, good night. 16:31 -!- MugeSo [n=MugeSo@FLH9Aab091.kng.mesh.ad.jp] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.14/2008040413]"] 16:31 < Fou4th> I have this template (for example): . Is it possible to set it's value somewhere in action/view? 16:32 < Wombert> absolutely, Fou4th 16:32 < Wombert> I assume you want to initially populate the form? 16:32 < Wombert> like a product edit form? 16:32 < Fou4th> yep 16:32 < Wombert> okay 16:32 < Wombert> are you familiar with FPF yet? 16:32 < Wombert> do you use it to re-fill forms on error and such? 16:32 < Fou4th> yep 16:32 < Wombert> (form population filter) 16:32 < Wombert> okay coolo 16:32 < Wombert> *cool 16:32 < Wombert> in your view 16:32 < Wombert> like... ProductEditInputView 16:32 < Wombert> do this: 16:33 < Wombert> $this->getContext()->getRequest()->setAttribute('populate', new AgaviParameterHolder(array('abc' => 'def')), 'org.agavi.filter.FormPopulationFilter'); 16:33 -!- impl [n=impl@atheme/member/impl] has quit [Read error: 113 (No route to host)] 16:36 -!- MrJeep_ [n=MrJeep@modemcable136.46-200-24.mc.videotron.ca] has quit [] 16:37 < Wombert> that's why it's important to always have an InputView and an ErrorView 16:37 < Wombert> and reuse the Input template in the ErrorView 16:37 -!- Rendez [n=Rendez@251.105.219.87.dynamic.jazztel.es] has quit [":: www.scopealley.com ::"] 16:38 < Wombert> because otherwise you need to add conditionals for this population setting etc, and your code becomes ugly 16:39 < Fou4th> thanks, I'll try later 16:40 < Fou4th> currently it doesn't work, I think because of some other errors 16:40 < Fou4th> mine errors 16:40 < Wombert> the example I gave 16:41 < Wombert> only works if the form in question has the same url as the current request 16:41 < Wombert> you can also populate one (or more) form(s) by ID 16:41 < Wombert> $this->getContext()->getRequest()->setAttribute('populate', array('form_id' => new AgaviParameterHolder(array('abc' => 'def'))), 'org.agavi.filter.FormPopulationFilter'); 16:42 < Fou4th> yep, understood, now I have point of view how to do that kind of things 16:42 < Wombert> you might want to consider fiddling with your base view 16:42 < Wombert> and extend initialize() 16:42 < Wombert> and assign some of the internal objects to members 16:42 < Wombert> so you have $this->rq 16:42 < Wombert> $this->ro 16:42 < Wombert> $this->tm 16:42 < Wombert> etc 16:42 < Wombert> saves lots of typing 16:43 < Wombert> and it's faster, of course - every method call costs time 16:43 < Fou4th> thanks, I'll try this too 16:44 -!- shoan [n=shoan@59.92.162.41] has quit [] 16:51 < erisco> so when you are writing a template, how do you generate a url to another page? 16:51 < erisco> I am guessing it uses the router API... but I am a tad unsure 16:53 < erisco> okay, I think I got it, AgaviWebRouting::gen() 16:53 < saracen> Yeah, which can usually be accessed via $ro->gen(); 16:54 < saracen> In templates 16:57 < erisco> okay one problem and one question 16:57 < erisco> problem: the generated url does not include index.php, but my environment is using index.php 16:57 < erisco> question: to provide the routing parameters you would just do, say, $ro->gen('dog/' . $dog['id']); 16:58 < erisco> no special arguments? 16:59 < erisco> oh, and another thing, the gen sticks a question mark on the end of the url 16:59 < erisco> not that it is a disaster, but it is unsightly 17:01 < erisco> any ideas saracen? 17:02 < saracen> It's putting a question mark there because that route doesnt actually exist =) 17:02 < saracen> Check out routing.xml 17:03 < erisco> how does it distinguish the "route name" 17:03 < saracen> One sec, i'll pastebin you some stuff 17:03 -!- j0ec4i [n=joe@61.190.86.154] has quit ["bye"] 17:04 < erisco> thanks 17:04 < saracen> oh, wait, can just link you to something hopefully 17:11 < saracen> http://pastebin.com/m2edc0102 17:12 < saracen> Something like tha 17:12 < saracen> t 17:12 < saracen> So, ->gen() takes your routes name. 17:26 < Wombert> [18:57] erisco: problem: the generated url does not include index.php, but my environment is using index.php 17:26 < Wombert> which web server is that 17:26 < erisco> apache 17:27 < erisco> and thank-you saracen 17:27 < Wombert> you generate urls based onnames 17:28 < erisco> Wombert, so if my route takes an id parameter, how do I generate that? 17:29 < erisco> the params array seems to create a query string 17:30 < erisco> hold up, nevermind 17:30 < erisco> spelt the parameter wrong 17:30 < Wombert> $ro->gen('routename', $params); 17:31 < Wombert> example 17:32 < Wombert> 17:32 < Wombert> 17:32 < Wombert> 17:32 < Wombert> 17:32 < Wombert> 17:32 < Wombert> etc etc 17:32 < _cheerios> one project converted. my views feel so light now \o/ 17:32 < Wombert> you can nest them as deep as you want 17:32 < Wombert> leading dots are used to concatenate with parent name 17:32 < saracen> I might take my irclog snippet idea a little futher. Support more channels 17:32 < Wombert> you can do the same with actions to organize your project 17:32 < Wombert> e.g. Dogs.Dog.View 17:33 < Wombert> always remember to achor your patterns properly or I can buold funny urls that work 17:34 < Wombert> as you can see, module, action and other attributes are inherited from parent routes 17:37 < Macen> saracen: see http://stats.netgamers.org/ 17:37 < erisco> Wombert, thanks :) 17:38 < Wombert> see saracens example 17:38 < Wombert> line 17 17:38 < Wombert> I'd remove the trailing $ there 17:39 < Wombert> just gotta be careful that routes with no trailing $ do not resolve to an action 17:39 < Wombert> e.g. 17:39 < Wombert> then /product/17...lulzyousuck 17:39 < Wombert> would match, too 17:39 < Wombert> since the regex is not anchored at the end 17:40 < Wombert> make your urls logical 17:40 < Wombert> .../products 17:40 < Wombert> .../products/152 17:40 < Wombert> .../products/152/gallery 17:40 < Wombert> .../products/152/reviews/add 17:40 < Wombert> etc 17:40 < erisco> when I do the admin I will want to organize views 17:40 < Wombert> like? 17:40 < erisco> well, actions views and templates really 17:41 < erisco> well I will have CRUD for every database table 17:41 < erisco> that's four per table 17:41 < erisco> be nice to have em organized 17:41 < erisco> so I just stick them in directories and in the routing I use "." as the /? 17:42 < Wombert> actions and such? 17:42 < Wombert> yes 17:42 < Wombert> but remember to use the "agavi" script 17:42 < saracen> Argh, I wish things would just program themselves 17:42 < Wombert> modules/Admin/actions/Dogs/Dog/EditAction.class.php 17:42 < Wombert> etc 17:42 < Wombert> is what I'd recommend 17:43 < _cheerios> there is of course the crud-helper routing thingy, http://p.caboo.se/191041 17:43 < _cheerios> unfinished work, but if you'll have lots of those... 17:43 < Wombert> ah yes 17:44 < erisco> _cheerios, that isn't CRUD, that's MADE 17:44 < Wombert> you can use xincludes etc in configs 17:44 < Wombert> not sure if I mentioned that <: 17:44 < _cheerios> erisco, you can name then however you please :) 17:49 < erisco> _cheerios, that design should work really well 17:49 < erisco> _cheerios, quite impressive... not even any of the "admin generators" are able to produce something that nice 17:50 < erisco> one action suits all 18:05 < nfq> Wombert: re 18:11 -!- Arme[0] is now known as Arme[N] 18:18 -!- impl [n=impl@atheme/member/impl] has joined #agavi 18:28 < _cheerios> starting to use my own orm in a project. this might be a bumpy road. x_X 18:28 < erisco> why your own? 18:28 < erisco> just curious 18:29 < erisco> _cheerios, does it take a unique twist? 18:29 < _cheerios> too much idle time, i suppose 18:33 < _cheerios> erisco, slight twist. looks like this http://p.caboo.se/191064 18:34 < erisco> _cheerios, neat 18:35 < erisco> _cheerios, I am having a big problem with data fixtures in doctrine right now :( 18:35 < _cheerios> bummer *g* 18:36 < _cheerios> doctrine is improving lately. i started using it like half a year+ ago. man o man, full of bugs. 18:36 < erisco> yeah... the way fixture yaml files are written I cannot do the inserts in an order that the relationship constraints will allow 18:36 < erisco> so I am fucked 18:36 < _cheerios> don't use yaml? 18:38 < erisco> I don't know any other config format for doctrine 18:38 < erisco> nor do I know if I can fix it in another format 18:39 < _cheerios> everything should be doable in pure php 18:39 < erisco> if only I could just tell doctrine not to put the constraints in the database 18:40 < erisco> I am utterly halted again until this is fixed 18:41 < erisco> which is obnoxious 18:47 < _cheerios> #doctrine? 18:47 < erisco> I'm trying... no one is answering 18:48 < erisco> without test data I cannot do anything 18:49 < Macen> doctrine looks quite good 18:49 < erisco> it is alright 18:49 < _cheerios> i have to say having a big Absolut Vodka bottle in ones fridge does keep the spirits up. 18:49 < Macen> lol _cheerios 18:49 < Macen> my best mate atm is fosters, beer is good 18:49 -!- saracen [n=saracen@91.84.44.214] has quit [Read error: 104 (Connection reset by peer)] 18:50 -!- saracen [n=saracen@91.84.44.214] has joined #agavi 18:50 < Macen> erisco: why not edit the table manually? 18:50 < Macen> erisco: or does doctrine stop you doing that? 18:53 < erisco> there is no point editing it manually, because the next time I have to rebuild my database its all undone 18:56 < Macen> ah 18:56 < Macen> surely you can add some custom sql someplace 18:56 < Macen> if not that sucks :x 18:57 < erisco> you can generate an sql file... but I would have to manually edit it every tiem 18:57 < erisco> time* 19:24 < erisco> okay, I am having a strange problem... my route is acting up 19:24 < erisco> for some reason it is not finding "TestimonialList" action 19:24 < erisco> and returning 404 19:24 < erisco> but there is a TestimonialList action 19:29 < _cheerios> that would imply the regex in routing.xml doesnt match anything 19:30 < saracen> Does agavi haver permission to it? Just a shot in the dark, but because I use samba to my server, if I ever make a new file here, rather than on the server itself, i have to chmod the directory again =) 19:30 < erisco> _cheerios, if you redirect to an action or module that does not exist it 404'S as well 19:30 < erisco> _cheerios, and the regexp matches fine 19:31 < _cheerios> and you made this action with the agavi cmd, right? 19:32 < Macen> saracen: did you take a look at that netgamers stats robot? 19:33 < saracen> Yeah, seen things like it before. But, not really what I'm aiming for =) 19:33 < Macen> saracen: ah ok :) just the source code is available (the guy really won't mind) so if you wanted to see how things were done in that then well, it's all at the bottom of that page 19:34 < Macen> saracen: he's available on irc.netgamers.org, speak to Kloopy 19:34 < Macen> saracen: just a thought 19:34 < saracen> Yeah, guess I could take a look at the source, to see how he's storing things. Might do that =) 19:40 < erisco> _cheerios, I didn't 19:40 < erisco> _cheerios, why do I need to? 19:40 < _cheerios> it makes sure the files go in the correct places with the correct names 19:41 < erisco> so I messed something up bad then 19:41 < erisco> because I have generated quite a few actions that I deleted manually 19:41 < _cheerios> plus its quicker :) 19:41 < _cheerios> it doesnt handle deletion, just addition. 19:41 < erisco> then I must have remains of old actions somewhere 19:42 < erisco> and in any case I do not want to rewrite this action 19:42 < erisco> so how do I register it, or whatever 19:44 < _cheerios> it doesnt rewrite either, if the file exists. brand new stuff only 19:45 < erisco> what do you mean? 19:46 < erisco> I had an action called "Testimonials". I realized I also needed an action to add testimonials, so I renamed it to "TestimonialList" 19:46 < erisco> I renamed the action, the view, and the templates correctly 19:46 < erisco> but I get 404's when trying to get to them through routing 19:48 -!- Arme[N] is now known as Arme[0] 19:49 < _cheerios> paste your routing.xml to some bin plus the action 19:50 < erisco> http://pastey.net/87135 19:50 < erisco> maybe the pattern doesn't like matching nothing? 19:51 < erisco> nah, that isn't it 19:51 < erisco> http://pastey.net/87136\ 19:51 < erisco> http://pastey.net/87136 19:52 < Wombert> did you rename the class files 19:52 < Wombert> and why not Testimonials/List 19:52 < Wombert> etc 19:52 < erisco> class files are renamed 19:52 < erisco> I did not do Testimonials/List because I do not know how :) 19:53 < erisco> if I am going to organize the actions it only makes sense to organize the views and templates as well 19:53 < erisco> and I don't know how to 19:54 < Wombert> yes but the class names? 19:55 < Wombert> well an action 19:55 < Wombert> Testimonials.List 19:55 < nfq> Wombert: back? 19:56 < erisco> for the routing action? okay... 19:56 < Wombert> is looked up in actions/Testimonials/ListAction.class.php 19:56 < erisco> but that just organizes the actions 19:56 < Wombert> the views and templates follow the same schema 19:56 < erisco> plus that doesn't solve my original problem 19:56 < Wombert> if your action name is Testimonials.List 19:56 < Wombert> and you return a view name "Success" 19:56 < erisco> my action is clearly "TestimonialList", and the file clearly exists 19:56 < Wombert> then it looks for Testimonials/ListSuccessView.class.php 19:57 < erisco> Wombert, ah, I see 19:57 < erisco> well I will reorganize that, then, and see where I am 19:57 < Wombert> I bet its just a typo 19:57 < erisco> what is the class name then? 19:57 < erisco> Public_TestimonialsListAction ? 19:58 < Wombert> no 19:58 < Wombert> Module_Sub_MarineAction 19:58 < Wombert> is the classname 19:58 < Wombert> for modules/Module/Sub/MarineAction.class.php 19:58 < erisco> okay 20:00 < marklar|omni> hai 20:01 < erisco> Wombert, okay, but it is still 404'ing :( 20:01 < erisco> I will check for typos... 20:01 < erisco> one typo, but still 404'ing... checking for more 20:03 < erisco> I don't know :( 20:03 < erisco> the typo was introduced in the reorganization, and was not part of the original issue 20:04 * erisco shrugs 20:05 < Wombert> does it work now? 20:06 < erisco> nope 20:06 < erisco> definitely not any apparent typos 20:06 < erisco> is there a way to debug what agavi is looking for in the route? 20:07 < Wombert> in the error404 action 20:07 < Wombert> you could dump $rq->getAttribute('matched_routes', 'org.agavi.routing'); 20:10 < erisco> sorry, but how is a error404 action created? 20:10 < erisco> I think I remember it in the docs but I cannot see it 20:10 -!- digitarald [n=Miranda@62.43.163.35.dyn.user.ono.com] has joined #agavi 20:10 < digitarald> Huomenta 20:11 < nfq> wotcha digitarald 20:11 < Wombert> should be in the default module 20:11 < nfq> ok, I should use the Agavi greeting 20:14 < erisco> Wombert, Fatal error: Call to a member function getAttribute() on a non-object in /var/www/tck/app/modules/Default/templates/Error404Success.php on line 9 20:14 < erisco> Wombert, although in output_types.yml the request is indeed exported as $rq 20:15 < Wombert> ah 20:15 < Wombert> erisco: heh well 20:15 < Wombert> those default actions do not use layouts 20:15 < Wombert> they build layers and their renderers by hand 20:15 < Wombert> the reason is 20:15 < Wombert> that people tend to switch to smarty or so 20:15 < Wombert> and do not rename the default stuff 20:15 < Wombert> which then stops working 20:16 < Wombert> it's just those couple ones... secure, unavialable, moduledisabled, error404 20:16 < erisco> so how do I debug it 20:17 < Wombert> in the view 20:17 < Wombert> throw out the stuff and just do $this->setupHtml() 20:17 < Wombert> that should work then 20:18 < Wombert> can you show me your routing.xml 20:18 < Wombert> man I feel like crap. I gotta hit the sack soon 20:18 < erisco> Array ( [0] => testimonials ) 20:19 * _cheerios high fives digitarald 20:19 < erisco> sorry, Array ( [0] => testimonial [1] => testimonial.list ) 20:19 < Wombert> that means that route matched 20:19 < erisco> which must be the problem 20:19 < Wombert> ok 20:19 < Wombert> can you show your routing.xml 20:19 < Wombert> nah don't think so 20:20 < erisco> oh, its showing the names, not the action 20:20 < erisco> okay then... 20:20 < erisco> http://pastey.net/87140 20:21 < Wombert> so do you have a modules/Public/actions/Testimonials/ListAction.class.php ? 20:21 < erisco> yes 20:21 < Wombert> and the name of the class in there? 20:21 < erisco> oh, wait 20:22 < erisco> its just List.class.php, not ListAction.class.php ;) 20:22 < Wombert> :>> 20:22 * erisco sighs 20:22 < _cheerios> this is why you use the agavi cmd ;) 20:22 < Wombert> yup 20:22 < erisco> the agavi command does not organize into sub directories does it? 20:22 < Wombert> you really should ^^ 20:22 < Wombert> of coruseit does! 20:22 < erisco> well I already had a working action 20:22 < erisco> I wasn't going to rewrite it 20:22 < Wombert> btw 20:22 < erisco> it needed renaming 20:23 < Wombert> 20:23 < Wombert> 20:23 < Wombert> 20:23 < Wombert> works, too 20:23 < erisco> ah, cool 20:23 < erisco> thanks 20:23 < Wombert> for action and name attributes 20:23 < Wombert> you _can_ specify action="..." on the unanchored pattern here 20:24 < Wombert> because it's just a folder, not a real action 20:29 < erisco> thanks Wombert 20:35 < erisco> alright, so just to get this straight, when taking input from a form it is done from the input view? 20:38 < erisco> I mean, you show them the Input template? 20:38 < erisco> with the form on it? 20:38 < erisco> gah, I know I had this discussion before 20:38 < erisco> I should have saved it 20:48 -!- digitarald [n=Miranda@62.43.163.35.dyn.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 20:54 < Wombert> yeah 20:56 < erisco> okay. and when the validation is sour, I just direct back to the Input (not the error) and FPF will repopulate 20:57 < Wombert> no 20:57 < Wombert> well FPF will repopulate on a post request, by default 20:57 < Wombert> if validation fails 20:57 < Wombert> agavi calls your action#s handleError() method 20:57 < Wombert> or handleWriteError() on a post request, if such a method exists 20:58 < Wombert> that by default just returns "Error" 20:58 < Wombert> so it goes to the error view 20:58 < Wombert> which is okay 20:58 < erisco> but I want them to try again, so I tell it Input? 20:58 < Wombert> in the error view, you should then grab the content layer after loading the layout, and tell it to use the input template 20:58 < erisco> yikes, how do I grab a layer? 20:58 < Wombert> nah, I recommend you use Input and Error views 20:59 < Wombert> after $this->setupHtml() (if you have that) 20:59 < Wombert> the layers defined in the default layout are loaded 20:59 < Wombert> note how setupHtml() is not an agavi method, but defined in userspace 20:59 < Wombert> in your BaseView 20:59 < Wombert> it simply does loadLayout() 20:59 < Wombert> so after that 21:00 < Wombert> you do $this->getLayer('content')->setTemplate('Testimonials/ListInput'); 21:00 < Wombert> for instance 21:00 < erisco> ah 21:02 < erisco> now just to add validators and should be good 21:23 < erisco> how is the validation file supposed to be named? 21:23 < erisco> for Testimonials/AddAction? 21:25 < _cheerios> keep sample app in mind while devvin 21:26 < erisco> I cannot see any example of that in the test app 21:28 < erisco> _cheerios, I have a ListAction "organized" in a Testimonials directory 21:28 < erisco> so what do I call the validation file? 21:28 < erisco> I tried calling it Testimonials_Add.xml 21:28 < erisco> ((Sorry, I mean it is AddAction)) 21:28 < erisco> and I tried Testimonials/Add.xml 21:29 < erisco> neither are read 21:33 < erisco> I'll have to use the php then 21:33 < erisco> although I prefer not to 21:34 < _cheerios> samples app has validate and cache examples, they work all the same 21:34 < erisco> the sample app does not have subdirectories for its actions 21:34 < erisco> that is what I am asking about 21:34 < erisco> I do not know how to name the validation file 21:34 < _cheerios> its all the same, a subdir has its own cache/validate folder 21:35 < erisco> it does? 21:35 < erisco> what kind of messed up organization is that??\ 21:36 < erisco> that doesn't make sense... it is using two different structures 21:37 < erisco> I mean look at this... if you have an action called "Foo" you can find the associated files as such: 21:37 < erisco> module/actions/FooAction.class.php, module/views/FooSuccessView.class.php, module/templates/FooSuccess.php 21:37 < erisco> and if Foo is in a subdirectory "Bar" you can still find everything at the expected location 21:38 < erisco> module/actions/Bar/FooAction.class.php, module/views/Bar/FooSuccessView.class.php, etc 21:38 < erisco> so why the hell is it all of a sudden for cache and validation 21:38 < erisco> module/actions/Bar/cache/ 21:38 < erisco> and not 21:38 < erisco> module/cache/Bar/ ?? 21:39 < _cheerios> yup, and module/cache/Bar/Foo.xml and module/validate/bar/Foo.xml 21:39 < erisco> unless I am totally not getting you 21:39 < erisco> but that is what I have 21:39 < erisco> I tried module/cache/Testimonials/Add.xml 21:40 < _cheerios> and why do you believe its not working 21:40 < erisco> because I can throw garbage into the validation file and it doesn't crash 21:41 < erisco> oh damn, wait, THAT dumb thing again 21:41 < erisco> you MUST have an execute method... 21:43 < erisco> okay, now I just have something else going wrong 21:45 < erisco> everything seems okay except that the validators don't bring me to the error view 21:45 < erisco> so they must have never failed 21:45 < erisco> but the input IS in valid 21:56 < erisco> not sure what I missed in the sample app, but FPF is not filling in my form after submission 21:57 < erisco> the handleError() method is called 21:58 < erisco> the error view grabs the content layer and says to populate it with the input form 21:58 < erisco> just like Wombert said and the sample app does 21:58 < erisco> but no repopulation is done of my form :( 21:58 < erisco> is it not compatible or something? 22:00 < Wombert> your global_filters.xml 22:00 < Wombert> does it have the FPF 22:00 < Wombert> is it enabled? 22:00 < erisco> ah! one thing the docs say is that the action must be equal to the current page' 22:00 < erisco> s url 22:01 < erisco> perfect :) 22:01 < Wombert> if it is not 22:01 < erisco> the action was unintentionally blank, I forgot to echo the generated url 22:01 < Wombert> you could still instruct the FPF to work on a specific form 22:02 < erisco> I'm listening 22:02 < Wombert> mind you that you can also pre-populate a form 22:02 < Wombert> first, extend your base view 22:02 < Wombert> in initialize 22:02 < Wombert> assign the request and other stuff as members 22:02 < Wombert> $this->rq 22:02 < Wombert> $this->ro (routing) 22:02 < Wombert> etc 22:02 < Wombert> makes things more convenient in the views 22:02 < Wombert> ideally, you generate all urls in the view, not in the template, but that's up to you 22:03 < Wombert> $this->rq->setAttribute('populate', false, 'org.agavi.filter.FormPopulationFilter'); 22:03 < Wombert> name, value, namespace 22:03 < Wombert> the FPF reads that info later when it runs 22:03 < Wombert> this one above prevents it from running at all 22:03 < Wombert> $this->rq->setAttribute('populate', true, 'org.agavi.filter.FormPopulationFilter'); 22:03 < Wombert> enforces running 22:04 < Wombert> with the defaults, i.e. it looks for a form where the action is identical to the current URL 22:04 < Wombert> could be done, for instance, on a "read" (GET) request, if FPF if configured to only automatically run on write (POST) 22:04 < Wombert> (which is a good default you should keep) 22:05 < Wombert> $this->rq->setAttribute('populate', new AgaviRequestDataHolder(array('foo' => 'bar')), 'org.agavi.filter.FormPopulationFilter'); 22:05 < Wombert> in an input view 22:05 < Wombert> populates the current url's form 22:05 < Wombert> field foo, value bar 22:06 < Wombert> $this->rq->setAttribute('populate', array('formid' => new AgaviRequestDataHolder(array('foo' => 'bar'))), 'org.agavi.filter.FormPopulationFilter'); 22:06 < Wombert> populates the form by ID 22:06 < Wombert> so in your example, if the form had the "wrong" action, but an id, you could do 22:06 < Wombert> $this->rq->setAttribute('populate', array('formid' => true), 'org.agavi.filter.FormPopulationFilter'); 22:06 < Wombert> to tell FPF to run with the current request data (= true) on form with id "formid" 22:08 < erisco> now one other thing that I would like to ask, how do you get the errors messages populated as well? 22:08 < Wombert> it can re-populate arbitrary fields... checkboxes... select boxes... it understands arrays etc 22:08 < Wombert> okay 22:08 < Wombert> that is a tad more complicated 22:09 < Wombert> http://trac.agavi.org/browser/tags/0.11.1RC3/samples/app/config/global_filters.xml 22:11 < Wombert> the general idea is 22:11 < Wombert> you define xpath rules 22:11 < Wombert> that are applied to the erroneous fields 22:11 < Wombert> you use them to find a location in the document... for example. the parent element of the field 22:13 < Wombert> and then the markup you define is inserted at a certain location (before, after or as a child of the node that was found by the xpath expression) 22:14 < erisco> Wombert, not much more complicated 22:14 < erisco> Wombert, although what if you have certain needs per form basis 22:14 < Wombert> you can 22:15 < Wombert> a) define special rules using the xpaths... e.g. one just for a checkbox field "foo" in a form with id "lulz" 22:15 < Wombert> b) define rules at runtime 22:16 < _cheerios> claaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaire 22:16 < erisco> Wombert, is xpath the "name" attribute? 22:19 < erisco> Wombert, I just don't quite follow where the special xpath rules go 22:20 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["sleep"] 22:20 < Wombert> you mean at runtime? 22:21 < erisco> nah 22:21 < erisco> in the global_filters.xml 22:21 < erisco> for example my forms right now are built as tables 22:21 < erisco> but perhaps a certain form needs to be made with divs 22:21 < Wombert> ok 22:21 < Wombert> well you could have two sets of rules then 22:22 < Wombert> e.g. 22:22 < Wombert> input[ancestor::form[@class='tableform']]... 22:22 < Wombert> etc 22:22 < Wombert> so you use xpath to check which form it is 22:22 < Wombert> and have two sets of rules 22:22 < Wombert> or 22:23 < Wombert> you add a rule at runtime, in your error view (another example why you should have error and input views) 22:23 < erisco> ohh 22:23 < erisco> 22:23 < erisco> that is xpath? I see 22:23 < Wombert> yes 22:23 < erisco> just haven't seen parent:: in xpath before 22:23 < Wombert> ${htmlnsPrefix} is explained in the comment above 22:23 < erisco> I know some xpath, not all apparently :P 22:24 < Wombert> if its an xhtml document with 22:24 < Wombert> then all the nodes are in an xml namespace 22:24 < Wombert> and parent::td would not work 22:24 < Wombert> that's why it registers the namespace in xpath 22:24 < erisco> ah 22:24 < Wombert> and ${htmlnsPrefix} is "html:" 22:24 < Wombert> including the colon 22:24 < erisco> well I never use xhtml, so I'll have to worry less about that 22:24 < Wombert> you could also write parent::html:td 22:25 < Wombert> mind you that libxml is a _bit_ buggy at times when parsing html 22:25 < Wombert> it should be somewhat valid 22:25 < erisco> you mean well-formed? 22:26 < Wombert> and well formed, yea 22:41 < erisco> Wombert, if you want to validate that many fields are not empty, you create an isnotempty validator for each one? 22:44 < Wombert> you can also add many s to a validator 22:44 < Wombert> or use an array 22:44 < Wombert> others might be able to help you with this; I really gotta hit the sack now 22:45 < erisco> alrighty 23:12 -!- Zeelot3k [i=WinNT@zeelot.fiu.edu] has quit [Read error: 110 (Connection timed out)] 23:12 -!- Zeelot3k [i=WinNT@zeelot.fiu.edu] has joined #agavi 23:29 < erisco> http://pastey.net/87157 23:29 < erisco> I get really weird results with FPF 23:29 < erisco> it runs both the isnotempty validator and the string validator (for name and message) and both return false 23:30 < erisco> the isnotempty message is outputted fine, but the string validator's message is not! 23:30 < erisco> instead it just shows up at
  • and breaks the source :( 23:31 -!- shrink0r [i=shrink_s@i577B6E85.versanet.de] has quit [] 23:31 < erisco> and the isnotempty validator has nothing to do with it, I can take it out and it still happens 23:31 < erisco> when the input is empty the string validator, or something, causes just an
  • tag to be spit out 23:32 < erisco> I'm ready to file a bug, but anyone have feedback? 23:36 < erisco> especially on how to fix it... 23:37 < erisco> // we don't need to do any checking here because validate will only be 23:37 < erisco> // called when all values it needs were non empty. 23:38 < erisco> that is in the isnotempty validator 23:38 < erisco> so what I am gathering is that the validator is not even called if the argument is blank. well, okay 23:38 < erisco> so the bug must be in FPF or something else 23:54 -!- saracen_ [n=saracen@91.84.44.214] has joined #agavi 23:54 -!- MikeSeth_ [n=youdie@62.90.159.110] has joined #agavi 23:54 -!- saracen [n=saracen@91.84.44.214] has quit [Read error: 110 (Connection timed out)] 23:55 < erisco> MikeSeth, MikeSeth_, you there? --- Day changed Sun May 04 2008 00:06 -!- MikeSeth [n=youdie@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 00:07 < Macen> baiii 00:08 -!- Macen [n=leopard@host86-154-107-27.range86-154.btcentralplus.com] has quit [] 00:11 < erisco> man, is anyone here? 00:11 < erisco> I am having a lot of problems with the FPF and validations 00:11 < erisco> heck, when am I not having problems :P 00:30 < Wombert> erisco: heh 00:30 < Wombert> well 00:30 < Wombert> you have two errors there 00:30 < Wombert> for min and max 00:30 < Wombert> but no generic if the argument was not given 00:30 < Wombert> change to and it'll be fine 00:31 < Wombert> and don't forget the xml namespace in 00:33 < erisco> Wombert, the xml namespace in ? I don't understand 00:35 < erisco> Wombert, well... what if I don't want to run the second validator if the first one fails? 00:35 < erisco> wait, I can use the oroperator thingie with the break parameter... 00:36 < erisco> or not? :S 00:36 < erisco> ah, wait, or is the wrong logic 00:36 < Wombert> you can have dependencies 00:37 < erisco> needs to be And :) 00:37 < Wombert> 00:37 < erisco> Wombert, dependencies? hmm... 00:37 < Wombert> 00:37 < Wombert> you can provide and depend many args 00:37 < erisco> well using the And operator did work, but 00:37 < Wombert> space separated list 00:37 < erisco> where is foo_was_good set? 00:38 < Wombert> in "provides" 00:38 < erisco> oh, okay 00:38 < Wombert> it's just a random string 00:38 < Wombert> 00:39 < Wombert> it still works without a namespace, but won't anymore in 1.0 00:39 -!- IcyT is now known as icyt 00:40 < erisco> ah okay 00:40 < erisco> and this should be in all xml files I presume? 00:40 < erisco> that uses ? 00:41 < erisco> Wombert, now if I wanted to escape all html characters in my inputs, would I write something like HtmlescapeValidator and pass it all of my input arguments? 00:41 < erisco> the docs said validators could be used for normalization 00:45 < Wombert> yeah, for instance 00:46 < Wombert> simpyl export() the value again 00:46 < Wombert> *simply 00:46 < Wombert> this whole validation system can be pretty frustrating 00:46 < Wombert> granted, other frameworks can't even validate arrays or have dependencies or whatever, but still 00:47 < Wombert> obscure at times 00:47 < Wombert> I really gotta hit the sack now erisco 00:47 < Wombert> and try and get some sleep 00:47 < erisco> :P 00:47 < Wombert> any quick questions? 00:47 < erisco> please do 00:47 < erisco> yeah 00:47 < Wombert> shoot 00:47 < erisco> how to unify validations among the application? 00:47 < Wombert> reuse, you mean? 00:47 < erisco> yes 00:47 < Wombert> you can use xincludes 00:48 < Wombert> or the "parent" feature 00:48 < erisco> where do the validation files reside then? 00:48 < Wombert> 00:48 < Wombert> whereever you like 00:48 < erisco> are xincludes something I can look up? 00:48 < Wombert> the one above simply merges two files 00:48 < Wombert> xincludes are more granular and allow for more control 00:48 < erisco> I need more control, because things are varying 00:49 < Wombert> the sample app has an example of an xinclude, but only in a local file 00:49 < Wombert> i.e. the href="..." is missing 00:49 < erisco> a login form only has a username and password 00:49 < erisco> but a form to edit a user has everything 00:49 < Wombert> you can use %core.blah% in xinclude hrefs, too, agavi will expand them before resolving the xincludes 00:49 < erisco> so what will the tag look like in example? 00:49 < Wombert> xincludes also allow you to only include parts of the document with xpointers 00:50 < erisco> xpointers.. yay :P 00:50 < erisco> so I could have validation file describing ALL of the "user" table fields 00:50 < Wombert> 00:50 < erisco> and then only pick out certain ones? 00:50 < Wombert> not sure if the namespace is correct 00:50 < Wombert> could, yeah 00:50 < Wombert> note that agavi also supports a element 00:50 < erisco> okay, but this is w3c stuff then, xinclude and xpointer 00:50 < Wombert> inside 00:51 < Wombert> yup 00:51 < erisco> I can look it up then I am sure 00:51 < erisco> thanks for your help Wombert 00:51 < Wombert> you can use that to store arbitrary xml and include it in the same file with xincludes 00:51 < Wombert> if you need to reuse inside one file 00:51 < erisco> as a template or something? 00:51 < Wombert> the sample app does that with the stupid html/xhtml output type example (which is utter bs and must be eliminated) 00:51 < Wombert> yes, pretty much 00:51 < erisco> I saw that in the CRUD example posted earlier 00:51 < Wombert> exactly 00:52 < Wombert> are you using windows? 00:52 < erisco> no 00:52 < Wombert> ko 00:52 < Wombert> ok 00:52 < Wombert> ( http://trac.agavi.org/wiki/WTF#ExceptionConfigurationfileC:UsersJoeCoolworkspaceagavi0.11.0RC5srcroutingsoapwsdl.xmlcouldnotbeparsedduetothefollowingerrorthatoccuredwhileresolvingXIncludedirectives:Line3:failedbuildURLorotherconfigurationfilepathsespeciallyoutput_types.xml ) 00:52 < erisco> quite a url there 00:53 < Wombert> so 00:53 < erisco> well, good thing I am not using window 00:53 < erisco> not that I put spaces in path names 00:53 < Wombert> any major gripes yet with agavi 00:53 < erisco> none 00:53 < Wombert> stuff you hate, stuff you love? 00:53 < erisco> except docs ;) 00:53 < Wombert> heh 00:53 < erisco> but you guys let me bug you, so, its all good 00:53 < erisco> and I'm greatly appreciative 00:54 < erisco> I hit walls, but its because I simply do not know how to do something with agavi 00:54 < erisco> not that agavi cannot do it 00:54 < erisco> I love the way things are structured... and I love the options 00:54 < erisco> you can seemingly do nearly anything from any file... such little constraint, its nice 00:54 < saracen_> I'm actually prefering the lack of documentation now. The main reason I never decided to use a framework before, was because I wanted to know exactly what was going on behind the scenes. Because I have to check the agavi code to figure a lot of the stuff out, I kind of get that =) 00:55 < erisco> Wombert, the only thing I dislike is the action file structure 00:56 < erisco> instead of module/actions/FooAction.class.php and module/views/FooSuccessView.class.php and such 00:56 < Wombert> you're not alone 00:56 < Wombert> it should be 00:56 < Wombert> modules/Yellow/Sub/Marine/Action.class.php 00:56 < Wombert> modules/Yellow/Sub/Marine/SuccessView.class.php 00:56 < Wombert> etc 00:56 < erisco> yes 00:56 < Wombert> sth like that 00:56 < Wombert> that's actually mojavi legacy the way it is 00:56 < erisco> so you would have module/Foo/actions/WhateverAction.class.php and module/Foo/views/WhateverSuccessView.class.php 00:56 < Wombert> http://trac.agavi.org/ticket/668 00:57 < saracen_> I don't like that I have to add: set_include_path(get_include_path() . PATH_SEPARATOR . AgaviConfig::get('core.app_dir'). '/lib/propel'); to my config.php to get propel working :P 00:57 < erisco> I use Doctrine :) 00:57 < Wombert> not much I can do about that frankly, saracen_ ;) 00:57 < erisco> takes even more setup than that though... not much 00:57 < Wombert> gotta set up your include paths _somewhere_! 00:57 < erisco> Doctrine has actually been a lot easier with agavi, for whatever reason 00:57 < erisco> seems less clunky 00:58 < saracen_> Wombert: I would prefer if you could set the include paths in a configuration file. 00:58 < Wombert> saracen_: what if you want stuff from the include path before a config file is read 00:58 < Wombert> or you need it to compile a config file 00:58 < Wombert> or or or or 00:58 < Wombert> :/ 00:58 < saracen_> bleh :P 00:58 < Wombert> <: 00:58 < erisco> Wombert, that is what I enjoy the most... agavi solves many of those "ors" 00:58 < erisco> the config files are so flexible :) 00:58 < Wombert> well 00:59 < Wombert> or we say "we don't solve it" :p 00:59 < Wombert> because there are too many options 00:59 < Wombert> but yeah. in general, we've tried to not lock people in, and to think ahead a bit 00:59 < Wombert> this environments/contexts thing has been the biggest home run in framework history, I'm telling you 00:59 < erisco> another thing I dislike is that you cannot add autoload directories (or at least I do not know how) 00:59 < Wombert> that idea was inspired by a long time user, jake 01:00 < erisco> like instead of typing out every single validator class to autoload it'd be nice just to specify the validator directory 01:00 < saracen_> Could "integrate" it a little more, AgaviConfig::set('propel.models'', AgaviConfig::get('core.lib_dir') . '/propel'); 01:00 < Wombert> saracen_: aaaaaaaaaah nooooooo 01:00 < Wombert> why does the _registry_ need to know an entry about _propel_ 01:00 < Wombert> nono 01:01 < Wombert> erisco: the usual recommendation would be to write your own autoloader and registering it 01:01 < Wombert> should take you ~5 lines of code, and then it suits your needs 01:01 < Wombert> we've thought about this quite often but in the end, there's a million possibilities 01:01 < Wombert> you want underscores in your class names, and each underscore is a new directory 01:01 < Wombert> I want camelcase 01:01 < saracen_> Bah, it just looks untidy. Would just be nice if when I told my application i'm using propel, it could do this for me =( 01:01 < erisco> ah, I see 01:02 < Wombert> saracen_ wants camelcase, but not the first segment, which is a prefix 01:02 < Wombert> and my little brother wants camelcase, but in reverse order in the filesystem 01:02 < Wombert> and then it just gets out of hand too quickly 01:02 < Wombert> not worth the issue given how a custom autoloader is super easy to write 01:02 < saracen_> Actually, I don't like camelcase =( 01:03 < erisco> CamelSpaceSavesBandwidth 01:03 < erisco> Case*:( 01:03 < saracen_> Why are all IRC loggers so useless. They concentrate on statistics, rather than an easier way of finding things 01:04 < Wombert> alright then folks 01:04 < Wombert> see you tomorrow 01:04 < saracen_> night 01:04 -!- Wombert [n=Wombert@dslb-088-064-223-151.pools.arcor-ip.net] has quit [] 01:12 -!- erisco [n=erisco@brisco.kent.net] has quit ["Leaving"] 01:30 < Hamerr> good night to all 02:04 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has quit [] 02:49 -!- shoan [n=shoan@59.92.162.41] has joined #agavi 03:35 -!- shoan [n=shoan@59.92.162.41] has quit [] 04:06 -!- Arme[0] is now known as Arme[N] 04:52 -!- eremit [n=Miranda@p5B23485D.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 05:50 -!- eremit [n=Miranda@p5B234541.dip.t-dialin.net] has joined #agavi 07:06 -!- shoan [n=shoan@59.92.162.41] has joined #agavi 07:09 -!- shoan_ [n=shoan@59.92.153.228] has joined #agavi 07:26 -!- shoan [n=shoan@59.92.162.41] has quit [Read error: 110 (Connection timed out)] 07:55 -!- Kodeart- [i=Kafematn@89.185.194.43] has joined #agavi 08:01 -!- shoan_ [n=shoan@59.92.153.228] has quit [] 08:07 < marklar|omni> hai 08:11 < marklar|omni> got ssh working on crackberry 08:12 -!- splatch_ [n=splatch@code-house.org] has quit [Read error: 110 (Connection timed out)] 08:14 -!- mp_ [n=mp@code-house.org] has quit [Read error: 110 (Connection timed out)] 08:18 -!- icyt is now known as IcyT 08:35 -!- mp_ [n=mp@code-house.org] has joined #agavi 08:35 -!- splatch_ [n=splatch@code-house.org] has joined #agavi 08:36 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 08:36 < _cheerios> huomenta 09:04 < MikeSeth_> god dammit 09:13 < marklar|omni> sup 09:28 -!- MikeSeth_ [n=youdie@62.90.159.110] has quit [Remote closed the connection] 09:28 -!- MikeSeth [n=youdie@62.90.159.110] has joined #agavi 09:43 -!- MikeSeth [n=youdie@unaffiliated/mikeseth] has quit [Remote closed the connection] 09:43 -!- MikeSeth [n=youdie@62.90.159.110] has joined #agavi 09:52 < Hamerr> huomenta 09:54 < _cheerios> is ironman watchable? imdb + rotten tomatoes ratings are sky high. 10:29 -!- Kodeart- is now known as kodeart 10:56 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has joined #agavi 11:21 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has quit [Remote closed the connection] 11:23 < marklar|omni> meh 11:37 -!- selloso [n=selloso@p54B23D4F.dip.t-dialin.net] has joined #agavi 11:38 -!- Wombert [n=Wombert@dslb-088-064-217-053.pools.arcor-ip.net] has joined #agavi 11:40 < selloso> Hi together, I'd like to use trac for my software project because of its features to connect the tickets with the revisions of svn. So I'm lookin for a german web hoster which provides a package including subversion and python support. Can anybody give me a hint? 11:45 < selloso> of course, I already asked a search engine but the Agavi Project Team also uses trac. So there's a chance anybody has experiences whit this kind of situation 11:51 < _cheerios> find a cheap vps/dedicated and setup all you need 12:01 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has joined #agavi 12:03 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has joined #agavi 12:05 < selloso> yeah, okay 12:06 < selloso> found some :) 12:06 < selloso> til next time 12:06 < selloso> bye 12:06 -!- selloso [n=selloso@p54B23D4F.dip.t-dialin.net] has quit [] 12:16 < nfq> yo Wombert , how are #agavi irc logs generated? 12:17 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has quit [Remote closed the connection] 12:19 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has joined #agavi 12:19 -!- codecop_ [n=codecop@78-61-197-230.static.zebra.lt] has joined #agavi 12:21 -!- codecop_ [n=codecop@78-61-197-230.static.zebra.lt] has quit [Client Quit] 12:25 < MikeSeth> nfq: one of the bots writes them, ask ttj_ I think 12:25 < Wombert> Chuckwalla 12:25 < Wombert> an irssi session that writes the logs 12:25 < Wombert> nfq: you might wanna check out www.campfirenow.com 12:26 < Wombert> in other news 12:26 < Wombert> I'm pondering using S3 for backups... 12:30 < nfq> Wombert: thanks! 12:30 < nfq> what's S3? 12:30 < nfq> ah, for IRC? 12:30 < nfq> Time Machine for local stuff right? 12:30 < Wombert> amazon.com/s3 12:30 < nfq> ah 12:30 < Wombert> nah 12:30 < Wombert> for... well... backups :) 12:31 < Wombert> time machine backup won't help me if there is a fire 12:31 < Wombert> or burglary 12:31 < Wombert> or whatever 12:32 < ttj_> nfq, MikeSeth: I no longer have anything to do with the logs. :-) 12:32 < nfq> ttj_: thanks! 12:33 < nfq> Wombert: I see, somewhere on the ether .. makes sense 12:34 < nfq> Wombert: how does Chuckwalla work? 12:35 < Wombert> it's just an irssi client 12:35 < Wombert> that logs 12:36 < ttj_> Open an irssi instance and say something like /log open -targets #agavi ~/public_html/logs/agavi-%Y%m.log 12:38 < Wombert> there you go. I don't have a clue how it's done, tbh 12:38 < Wombert> ttj_ to the rescue 12:38 -!- shoan [n=shoan@59.92.153.228] has joined #agavi 12:38 < ttj_> Well, /help log will also get you fairly well on the way and tell you plenty about everything. :-) 12:39 < nfq> ttj_: thanks!! 12:39 < ttj_> No problemo. 13:24 -!- erisco [n=erisco@brisco.kent.net] has joined #agavi 13:25 < erisco> well, everything was going well... the include worked, but all my xpointers fail and I do not understand why 13:26 < erisco> let me pastebin my xml files 13:27 < erisco> http://pastey.net/87193 13:27 < erisco> there is the file I am including 13:27 < MikeSeth> ttj_: noted 13:28 < erisco> http://pastey.net/87194 13:28 < erisco> and there is the file that includes 13:28 < erisco> all the xpointers fail 13:28 < erisco> oh, and if anyone knows the variable for just the project root that'd be great... I am doing %core.lib_dir%/../ :P 13:29 < erisco> oh, and in the other xincludes, you will see I don't have the "testimonial" element in them 13:29 < erisco> ignore that 13:30 < erisco> when I look at the CRUD example here: http://p.caboo.se/191041 13:30 < erisco> I presume the xpointers work fine. I just don't know where mine went wrong! 13:32 < erisco> I'll go ask in #web too 13:40 -!- eremit [n=Miranda@p5B234541.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 13:43 -!- shoan [n=shoan@59.92.153.228] has quit [] 13:44 < erisco> man, I cannot get ANY xpointer to work 13:44 < erisco> even something extremely basic 13:44 < erisco> wtf am I doing wrong :s 13:45 < MikeSeth> hmmm 13:45 < MikeSeth> you should really ask Wombert 13:46 < erisco> I'll wait till Wombert gets on 13:46 < erisco> what I'm trying to do is keep my database model validations in a single spot for all modules, MikeSeth 13:53 < MikeSeth> I have these inside the ORM classes themselves 13:54 < erisco> really? how do you make that work with the validators then? 13:55 < erisco> man... even the example CRUD routing.. the xpointers fail :s 13:56 < MikeSeth> I have normally two layers 13:56 < MikeSeth> one is db layer validation 13:56 < MikeSeth> which is just for safety and triggers exception 13:57 < MikeSeth> and action level validation 13:57 < MikeSeth> which is in line with the normal application flow 13:58 < Wombert> what/how/where 13:58 < Wombert> erisco: the xpointer includes a "configuration" element 13:59 < Wombert> but what you need to include is "{http://agavi.org/agavi/1.0/config}configurations}" 13:59 < Wombert> i.e. the namespace is missing 13:59 < erisco> *whoosh* 13:59 < erisco> where do I stick that 13:59 < Wombert> http://trac.agavi.org/browser/tags/0.11.1RC3/samples/app/config/output_types.xml#L52 14:00 < erisco> oh, I see 14:00 < erisco> let me try that :) 14:02 < erisco> awesome, thanks Wombert 14:02 < erisco> XML can be rather puzzling at times... 14:04 < Wombert> dell = epic fail: http://www.flickr.com/photos/jacobgordon/2455618195/in/photostream/ 14:04 -!- shoan [n=shoan@59.92.153.228] has joined #agavi 14:06 < erisco> Wombert, wow, lmao 14:07 < ttj_> Haha. :P 14:10 < erisco> Wombert, will it work to include an xml file and then make pointers as if it was part of the current file? 14:10 < erisco> or will I continually need to href it? 14:11 < Wombert> no, the xpointers in xinclude work on the structure of the included file itself 14:12 < Wombert> you could include the file at the top and then have more xinclude elements where you need them, referencing that included portion ( or whatever) 14:12 < Wombert> also note the possiblity to use a "parent" file exists, too, and might be more convenient in this situation 14:13 < erisco> http://pastey.net/87195 14:13 < erisco> the rest of the xpointers fail 14:13 < erisco> but the include does work to get Testimonial.xml in there 14:16 -!- E_mE [n=jeramy@mail.spiritusgroup.com] has quit [Read error: 113 (No route to host)] 14:18 < erisco> Wombert, not when I have multiple models to validate 14:18 < erisco> which WILL happen 14:20 < erisco> if I put the href in each one it works 14:20 < Wombert> %core.lib_dir%/../validate/Testimonial.xml 14:20 < Wombert> not sure if that is a good dir structure :> 14:20 < Wombert> I'd only put classes inside lib/ 14:20 < erisco> it isn't in lib 14:21 < erisco> I don't know the variable for the project directory, so I used the lib directory and moved up one 14:21 < Wombert> ewwww 14:21 < Wombert> don't do that :/ 14:21 < Wombert> it should be somewhere in app/ 14:21 < Wombert> app/config/validate/* is what I'd use 14:21 < erisco> I am using app/validate 14:22 < Wombert> ah 14:22 < Wombert> %core.app_dir% 14:22 < Wombert> http://trac.agavi.org/wiki/ConfigurationDirectives 14:23 < erisco> thanks 14:24 < erisco> I hope it caches Testimonial.xml or something 14:24 < erisco> some of these validators will need to include a dozen or so fields 14:24 < Wombert> of course. it resolves xincludes, the compiles the config (as it does with all configs) 14:24 < erisco> well yes, when debug is off 14:24 < Wombert> just mind you that if you modify Testimonial.xml, agavi won't be able to recognize that (obviously) 14:24 < Wombert> so you need debug off 14:25 < Wombert> err debug on 14:25 < Wombert> because it can only check for modifications to the validation file itself, not those that are included there 14:26 < erisco> yes 14:27 < erisco> but I mean when the parser is doing the actual includes 14:27 < erisco> I apparently cannot include Testimonial.xml once and then reference it with xpointers 14:27 < erisco> I have to continually include it and pick out parts of it 14:38 < Wombert> ah 14:38 -!- E_mE[Stilgar] [n=jeramy@bb-194-6-114-120.ukonline.co.uk] has quit [Read error: 104 (Connection reset by peer)] 14:38 < Wombert> hm but weird 14:38 < Wombert> isn't _cheerios doing exactly that in his example 14:44 < erisco> doing exactly what? 14:44 < erisco> in the CRUD example? no, he never includes an external xml file 14:46 < Wombert> hm works for me 14:46 < Wombert> Line 35: Element '{http://agavi.org/agavi/1.0/config}sandbox': This element is not expected. 14:46 < Wombert> just tried it 14:47 < Wombert> what libxml version do you have? 14:47 < erisco> ... how does that "work"? 14:47 < Wombert> might be a libxml bug 14:47 < Wombert> 14:47 < Wombert> 14:47 < Wombert> 14:47 < Wombert> 14:47 < Wombert> further downthen 14:47 < Wombert> works 14:47 < Wombert> gives me the validation warning above, which means it included it :) 14:50 < erisco> http://pastey.net/87200 14:50 -!- liutis [n=codecop@78-61-197-230.static.zebra.lt] has quit ["Leaving"] 14:50 < erisco> that is the file I am including... how would you include it? I've tried :s 14:50 < Wombert> are you getting any error message or something? 14:51 < erisco> yes, all the xpointers fail 14:51 < Wombert> ah 14:51 < Wombert> look 14:51 < Wombert> you're including the element 14:51 < Wombert> which then sits inside the 14:52 < Wombert> add /* 14:52 < Wombert> to the first one 14:53 < erisco> "xmlns(a=http://agavi.org/agavi/1.0/config) 14:53 < erisco> xpointer(/a:configurations/a:sandbox/*)" 14:53 < erisco> /> 14:53 < erisco> all the rest of the xpointers still fail 14:53 < erisco> like this one... 14:53 < erisco> "xmlns(a=http://agavi.org/agavi/1.0/config) 14:53 < erisco> xpointer(/a:configurations/a:sandbox/a:testimonial/a:name/a:validator)" 14:53 < erisco> /> 14:54 < Wombert> or remove the 14:54 < MikeSeth> woot, you can resolve runtime config values in xpointer instructions?! 14:54 * MikeSeth hugs Agavi 14:54 < erisco> same thing 14:55 < Wombert> MikeSeth: only in the top level one 14:55 < Wombert> xincludes automatically process recursively 14:55 < Wombert> we have no control over that 14:55 < Wombert> so if an xinclude includes another... no dice 14:55 < Wombert> erisco: show your configs again 14:55 < erisco> libxml Version 2.6.30 14:55 < Wombert> and can you pleaaaaase post the error message you're getting 14:56 < erisco> damn... tired of pasting them... have to keep typing in the domain names backwards and count them :s 14:56 -!- shoan [n=shoan@59.92.153.228] has quit [] 14:56 < _cheerios> hmm, just tried it. yeah, full of errors. but it works after tweaking a bit :) 14:57 < _cheerios> sample routing.xml http://p.caboo.se/191356 14:57 < erisco> http://pastebin.ca/1007003 14:58 -!- shoan [n=shoan@59.92.153.228] has joined #agavi 15:00 < Wombert> remove the there 15:00 < Wombert> and include it straight from the other file 15:00 < Wombert> does that work? 15:00 < Wombert> maybe your libxml has a problem with /* 15:00 < erisco> no xpointer you mean? 15:00 < Wombert> what's the error you're getting? 15:00 < Wombert> no 15:01 < Wombert> put the right into the element 15:01 < Wombert> not inside a 15:01 < Wombert> and then include the element from the other file 15:01 < erisco> yes, of course, but take out the xpointer? 15:01 < erisco> oh, alright 15:01 < erisco> not the first time though 15:01 < erisco> still errors... I don't think they are different. I will pastebin 15:02 < erisco> http://pastebin.ca/1007008 15:03 < erisco> on a side note... I need to start doing CRUD work. To define the basic functionality should I create a set of classes to extend from like ProjectBaseCrudAction, etc? 15:04 < Wombert> _what_ errors please 15:04 < Wombert> ah there they are 15:05 < erisco> I've been telling you the errors in both http://pastebin.ca/1007003 and http://pastebin.ca/1007008 15:05 < Wombert> yeah sorry 15:05 < erisco> no problem 15:06 < Wombert> funny 15:06 < Wombert> Line 18: could not load /var/www/tck/app/modules/Public/validate/Testimonials/Add.xml, and no fallback was found 15:06 < Wombert> that would be a bug 15:06 < Wombert> could you try adding 15:06 < Wombert> href="#" 15:07 < Wombert> to those? 15:07 < erisco> Line 18: could not load /var/www/tck/app/modules/Public/validate/Testimonials/Add.xml#, and no fallback was found 15:09 < Wombert> XInclude fragment of own document (Chris Ryan) 15:09 < Wombert> is a bugfix in libxml 2.6.32 15:09 < Wombert> hmm 15:09 < erisco> mine is .30 15:10 < erisco> can I be bothered to try and upgrade it is the question 15:10 < erisco> I've always just waited for the ubuntu repo to catch up 15:12 < erisco> *shrug* I'll just wait 15:13 < erisco> until then I'll include the document over and over :P 15:15 < erisco> one thing I do not understand in the example: # 1. find out Model we are dealing with, eg. Products/Promotions, in BaseAction 15:15 < erisco> $model = new $this->modelName; 15:15 < erisco> how is this obtained? the model name? 15:19 < _cheerios> depends, eg. $mr = $rq->getAttribute('matched_routes', 'org.agavi.routing'); echo $mr[0]; would return products when you browse to /products/add 15:19 < erisco> I see 15:20 < erisco> I want to aim for a more robust system... one that will allow me to extend it if necessary 15:20 < erisco> so I think I should definitely define base classes for the crud actions and views 15:21 < erisco> although the templates will be bizarre 15:23 < erisco> meh, its a mess anyways 15:23 < erisco> perhaps I should just forget about abstracted logic and just write them 15:24 < erisco> I'll end up overriding most of everything anyhow 15:24 < erisco> its not consistent 15:25 < erisco> or maybe it is, and I am not thinking of it correctly... but for example the "litter" CRUD is entirely unique because you need an interface to add dogs 15:26 < erisco> which, okay, somehow slot the dog edit action... but where is that specified? well you've gotta override the action, the view, and the template 15:26 < erisco> how do the rest of you guys do CRUD? 15:27 < erisco> I guess I'm just trying to seek a comfortable level of automation 15:28 < erisco> ultimately what'd be awesome is just being able to edit my database schema and having everything from validations to forms to scaffolding automatically change 15:28 < erisco> because it'd be possible... 15:30 -!- nfq [n=nfq@84-72-196-227.dclient.hispeed.ch] has quit [] 15:31 < erisco> I mean, really, all the form fields can be automatically discovered 15:32 < erisco> the rudimentary validations can be added... min and max lengths, obvious database type format validations (like datetime) 15:33 < erisco> now we are getting into the idea of "helpers" for the html forms but it isn't that "boxed in" 15:34 < v-dogg> huomenta 15:34 < erisco> essentially: From the Doctrine models I should be able to add all required validations, and I must have the ability to extend upon those for ones that cannot be detected 15:35 < erisco> essentially: From the field definitions I should be able to detect what input type I need 15:36 < erisco> and then from that building some abstracted crud logic should make more sense 15:36 < erisco> will keeping things extensible when required... just like the rest of Agavi 15:37 < erisco> so imma gunna work on that and in the end, after bugging you guys for hours on end with my problems, will have an awesome robust system 15:38 < erisco> and I'll share :) we'll complete _cheerios's sample 15:47 < erisco> heh 15:47 < erisco> 11.3.2.1. Sample registerReadValidators() (does the same as the XML above) 15:47 < erisco> public function registerWriteValidators() 15:48 < erisco> 11.3.3. validate(), validateRead(), validateWrite() 15:48 < erisco> okay, that means I can incorporate the ORM's validators, nice 15:48 < erisco> but one huuuuge issue remains 15:48 < erisco> how do you specify the error messages? Doctrine's validation has no concept of error messages... and using registerValidators() doesn't allow any sort of configuration of error messages 15:49 -!- Rendez [n=Rendez@29.104.219.87.dynamic.jazztel.es] has joined #agavi 15:49 < erisco> I mean I see this: $errors = array('' => 'The username you supplied is less than 4 characters.'); 15:49 < erisco> but that is just a hard-coded string 15:50 < erisco> and if this is to be extensible then that is not acceptable... 15:52 < erisco> perhaps I should just write a validator that bridges over to Doctrine 15:55 < erisco> but even in doing so where the error messages are defined isn't solved 15:55 < erisco> Wombert, do you have any suggestions? 15:56 < erisco> I guess it