and then setting float:left; on it and creating tabular data that way is the 3rd option (besides tables)
09:21 < Macen> but meh
09:21 < Rick> yeah, still does it with 0.11.1RC1
09:22 < RossC0> hmm trying to remember where we used it - I think it was on buttons
09:22 < RossC0> I'll have a look - very similar to what your doing anyway Macen
09:24 < RossC0> is there anyway to search code in svn back through time for a text string?
09:25 < Wombert> Rick: as I said, not RC1 :)
09:25 < Wombert> but
09:25 < Wombert> what are you doing?
09:25 < marklar|omni> haiz
09:26 < v-dogg> man I love this... I wonder how easy this would be with other MVC (pun intended) frameworks :)
09:26 < Rick> I'm trying to 'agavi project'
09:26 < Rick> as instructed in manual
09:26 < Wombert> Rick: okay, and what happens then
09:26 < Rick> [rick@electric ~/sites/pipboy.us/backend]$ agavi project
09:26 < Rick> Buildfile: /data/www/common/agavi/src/build.xml
09:26 < Rick> that is it
09:26 < v-dogg> I just added a REST(ish) interface to a web app
09:26 < v-dogg> it required about 3 minutes
09:26 < Wombert> heh v-dogg
09:27 < Wombert> Rick: weird. what phing version?
09:27 < v-dogg> our desktop app now talks with this web app
09:27 < Wombert> Rick: OS X 10.5?
09:27 < Rick> freebsd
09:28 < Rick> [root@electric /usr/ports/devel/php5-phing]# portversion -v | grep phing
09:28 < Rick> php5-phing-2.3.0 = up-to-date with port
09:29 < marklar|omni> man, live search is weird
09:31 < Wombert> hm hm hm
09:31 < Wombert> same version here
09:32 < Wombert> and just "agavi"?
09:32 < Rick> just 'agavi' does the same output
09:33 < Rick> phing -f /data/www/common/agavi/src/build.xml -Dagavi.dir=/data/www/common/agavi/src -Dproject.dir=/data/www/pipboy.us/backend -Dcwd_name=backend project
09:33 < Rick> is the command being generated
09:33 < Rick> if that means anything
09:33 < MikeSeth> Wombert: I ran into a DITA OT bug yesterday.. kinda leaves me scratching head
09:33 < MikeSeth> also I got banned from 4chan
09:33 < MikeSeth> lol
09:34 < MikeSeth> huomental all
09:34 < MikeSeth> Rick: hello!
09:36 < Rick> hello
09:36 < Wombert> MikeSeth: any idea?
09:37 < Wombert> "agavi project" does nothing
09:37 -!- _cheerios [n=jackbo@ip-87-108-0-169.customer.academica.fi] has quit [Read error: 110 (Connection timed out)]
09:37 < marklar|omni> is the xml readable && valid?
09:37 -!- _cheerios [n=jackbo@ip-87-108-0-169.customer.academica.fi] has joined #agavi
09:37 < MikeSeth> Wombert: hangs?
09:37 < MikeSeth> o
09:37 < MikeSeth> hmmm
09:37 < Rick> marklar|omni: yes
09:38 < MikeSeth> Rick: update pear?
09:38 < Rick> I'm not using pear
09:38 < MikeSeth> umm what dependencies does phing have?
09:39 < Rick> none other than php
09:39 < Rick> as far as I know
09:39 < MikeSeth> wow, bizzare
09:39 < Rick> http://phing.info/docs/guide/current/chapters/Setup.html#SystemRequirements
09:39 < RossC0> any php errors in the logs?
09:39 < Rick> no
09:40 < Wombert> error reporting?
09:41 < Rick> on
09:41 < Wombert> with E_ALL ?
09:41 < Rick> yes
09:41 < Wombert> phing should at least give _some_ error
09:41 < RossC0> couldn't be a libxml issue - doesn't phing use xml?
09:41 < Rick> I don't know; it just says the path to the XML file
09:41 < Rick> I checked the source - that message is shown when build starts
09:42 < MikeSeth> Rick: check the libxml version to be sure
09:42 < MikeSeth> it has a long history of broken-assedness and only the most recent versions are straightened out
09:42 < Rick> [root@electric /usr/local/etc]# portversion -v | grep libxml
09:42 < Rick> libxml2-2.6.31 = up-to-date with port
09:42 < MikeSeth> hm
09:43 < MikeSeth> >< I seriously don't know what to tell you
09:43 < Rick> does phing have a debug mode that I could enable?
09:43 < MikeSeth> there's -verbose
09:43 < marklar|omni> which fbsd version btw
09:43 < Rick> 6.2
09:44 < Rick> want to upgrade to 6.3, been too lazy :p
09:44 < marklar|omni> hmm
09:44 < marklar|omni> how'd you install agavi?
09:44 < marklar|omni> svn?
09:44 < Rick> yes
09:45 < Rick> 0.11.1RC1 and 0.11.0 both have this problem
09:45 < marklar|omni> trunk?
09:45 < marklar|omni> hmp
09:45 < marklar|omni> can't reproduce it here
09:45 < Rick> how do I supply verbose?
09:45 < marklar|omni> 6.2 as well
09:45 < Rick> it just throws a phing error for me
09:45 < marklar|omni> hm
09:46 < marklar|omni> -verbose
09:46 < Wombert> it's a find issue
09:46 < Wombert> om
09:46 < Wombert> omg
09:46 < Wombert> a phing issue
09:46 < Wombert> not agavi
09:46 < Rick> ok...
09:47 < RossC0> Rick: can you install phing via pear?
09:48 < Rick> I'd prefer not to use pear
09:48 < RossC0> or from SVN?
09:48 < RossC0> and see if a later version solves the problem
09:49 < Wombert> no error handler or so?
09:49 < Wombert> public static function printMessage(Exception $t) {
09:49 < Wombert> if (self::getMsgOutputLevel() <= Project::MSG_DEBUG) {
09:49 < Wombert> self::$err->write($t->__toString());
09:49 < Wombert> } else {
09:49 < Wombert> self::$err->write($t->getMessage());
09:49 < Wombert> }
09:49 < Wombert> is what phing does
09:50 < Rick> the problem is adding -verbose to the command line just makes it throw an error
09:51 < Wombert> can you cd to agav/src
09:51 < Wombert> and run "phing"
09:51 < Wombert> please
09:51 < Rick> ok
09:51 < Wombert> or just agavi/
09:52 < Wombert> doesn't matter
09:52 < Wombert> just to see if that does something
09:53 < Rick> same thing
09:55 < Rick> huh
09:55 < Rick> wtf
09:55 < Rick> ah
09:56 < Rick> dunno :\
09:56 < Rick> it throws weird errors
09:56 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has joined #agavi
09:58 < Rick> http://www.phing.info/trac/ticket/206
09:58 < Rick> that could be it
09:59 < Rick> or at least part of it
10:03 < Rick> aha
10:03 < Rick> that was it
10:03 < Rick> guess the freebsd ports install of it is slightly broken
10:03 < Rick> entire thing breaks because of a lack of VERSION.TXT, wonderful :-P
10:03 < MikeSeth> "I discovered that it was looking for VERSION.TXT in the etc directory. I moved the etc directory from the download into PHING_HOME and it started to work."
10:04 < MikeSeth> LOL WAT
10:04 < Rick> (phing is stupid?)
10:06 < Rick> yeah, everything works now
10:06 < Rick> though phing generates some php warnings
10:08 < Rick> oh well, it works now :)
10:09 < RossC0> weirdness
10:10 < Rick> yeah
10:10 < Rick> I'll report the problem to the port maintainer so he can fix it
10:10 < Rick> though it's stupid on phing's part to make it not output a good error
10:11 -!- Whisller [n=Miranda@aara251.neoplus.adsl.tpnet.pl] has joined #agavi
10:11 -!- E_mE [n=jeramy@mail.spiritusgroup.com] has joined #agavi
10:12 < E_mE> huomenta
10:12 < Whisller> morning
10:14 < Wombert> pretty lulz that bug ;)
10:15 < Rick> yes
10:15 < Rick> installing dependencies that agavi depends on, now :p
10:15 < Rick> there it goes :)
10:16 < Rick> just php5-ctype that wasn't installed
10:16 < Macen> mmh how to return $_SERVER["SCRIPT_NAME"
10:17 < Rick> might suggest making the index.php script doing a absolute path instead of ../app/config.php
10:17 < Wombert> why
10:17 < Wombert> ah if include path doesn't have "."? :)
10:18 < Rick> well, I never put any php code but bare bones into docroot
10:18 < Rick> so I have my /backend dir, and /pub gets put into the actual web dir
10:18 < Wombert> yeah
10:18 < Wombert> well most people just set the docroot to pub/
10:18 * Rick nod
10:18 < Wombert> you can of course move app/ anywhere you like
10:18 < Wombert> or pub/
10:18 < Rick> for me it's backend/project and project/
10:18 < Wombert> just have to change the path accordingly
10:18 < Rick> yeah
10:18 < Rick> just suggesting :)
10:20 < Rick> now to go learn what all those options during project meant
10:20 < Wombert> most of it was default stuff
10:20 < Wombert> just so it works out of the box
10:20 < Rick> yeah
10:20 < Macen> I use
for non-clickable links in js navigation but with set the # actually leads to a page
10:20 < Rick> but like, what does the 'Secure' option during it talking about?
10:20 < Rick> or Login
10:21 < Wombert> that generates an action
10:21 < Wombert> each
10:21 < Wombert> that agavi knows internally
10:21 < Rick> oh
10:21 < Wombert> and uses for special purposes
10:21 < Wombert> for instance, the security filter does an internal forward to the login action if something requires authentication and the user object is not authenticated
10:22 < Wombert> or secure, that's the typical "access denied" thing
10:22 < Wombert> it just generates those few because agavi uses them internally
10:22 < Wombert> they're mapped in settings.xml
10:22 < Wombert> app/config
10:25 < Rick> that's a lot of config files
10:27 < Wombert> they get compiled, no worries
10:28 -!- icyt is now known as IcyT
10:39 < _cheerios> cool, php 5.3 is getting spl defined data structures to improve performance over using arrays everywhere?
10:43 < Macen> "spl defined data structures"
10:43 < Macen> ?
10:43 < MikeSeth> _cheerios: DO WANT
10:45 < _cheerios> Various data structure classes: SplDoublyLinkedList, SplStack, SplQueue, SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue
10:47 < Wombert> nnnniiiiice
10:49 < v-dogg> those are in 5.3? for sure?
10:49 < v-dogg> \o/
10:49 < v-dogg> and there was much rejoicing
10:52 -!- MrJeep [n=jpdery@24-122-39-195.ab.cgocable.ca] has joined #agavi
10:53 < _cheerios> yer, was reading http://ilia.ws/files/phpquebec_php53.pdf
10:57 < v-dogg> looks nice
10:58 < v-dogg> but still one question remains - when
10:58 < Wombert> they've just swapped out the parser... :p
10:58 < Wombert> in a year maybe? :p
10:58 < _cheerios> yeah, they're putting in a lot of changes that still need work
10:59 < _cheerios> well, hopefully it's 30% faster like he said
11:00 < _cheerios> and maybe someday i'll understand what it affects too :)
11:02 < MikeSeth> what's up with the traits proposals?
11:02 < MikeSeth> want want want
11:03 < Macen> excuse my lack of correct terminology but how do i access $slots from inside a template page that is included through a decorator?
11:04 < Macen> var_dump($slots); => array (0) ???
11:04 < MikeSeth> slots are per layer
11:04 < MikeSeth> that is per template
11:05 < MikeSeth> so you cant access from one template slots of another
11:06 < MikeSeth> if you include() X from Y then $slots of Y should be available to X
11:06 < Macen> http://pastebin.ca/946014
11:08 < Macen> I want AlternateContent to be a slot for files included through the decorator
11:09 < Macen> The end result is the decorator template paramater is Master.php in /templates, and in there echo $inner; outputs the page passed through routing. It's in that page that AlternateContent should be available
11:10 < Wombert> no traits in 5.4
11:10 < Wombert> 5.3
11:10 < Wombert> no anonymous functions or closures either
11:10 < Macen> i understand everything you said but this - MikeSeth: if you include() X from Y then $slots of Y should be available to X
11:11 < Macen> i don't actually include() anything
11:11 < Macen> it's done through the $inner decorator template paramater ...
11:12 < Wombert> if you want AlternateContent in the content layer then you need to set it on the content layer
11:13 < Macen> oh
11:13 < Macen> that's what that is
11:21 < marklar|omni> hi
11:22 < marklar|omni> I want anon funcs :(
11:24 -!- JanK_ [n=JanK_@muedsl-82-207-247-221.citykom.de] has joined #agavi
11:30 -!- eremit [n=eremit@p5B235E53.dip.t-dialin.net] has joined #agavi
11:32 < Macen> how would make a variable created in one action available to all actions?
11:32 < Macen> i create 4 variables for the navigation system, then pass these to a model to create the user-navigation
11:33 < Macen> however, on certain pages, I want to use these variables to output useful links
11:33 < Macen> to do this i need to call a model to parse them
11:33 < Macen> but the model needs the variables in the first place
11:33 < Macen> in the menuAction class I do this:
11:33 < Macen> $oMenu = $this->context->getModel('Menu', $this->container->getModuleName());
11:33 < Macen> $this->setAttribute('navMenuString',$oMenu->outputNavigation($aMenu,$aMenuInner,$aMenuInnerThird,$aMenuInnerForth));
11:34 -!- JanK_ [n=JanK_@muedsl-82-207-247-221.citykom.de] has quit []
11:34 < Macen> but $aMenu,$aMenuInner,$aMenuInnerThird,$aMenuInnerForth are created in that action
11:34 < Macen> so there is no problem
11:34 < Macen> where do i store them, for future use?
11:40 -!- Whisller [n=Miranda@aara251.neoplus.adsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
11:46 < MikeSeth> in a private namespace of the global request, I think
11:46 < MikeSeth> $this->context->getRequest()->setParameter('foo.bar', 'value', 'com.macen.something')
11:46 < MikeSeth> (off the top of my head)
11:46 < Macen> how do i debug from inside a model? I want to var_dump a few var's
11:47 < MikeSeth> var_dump(), die()
11:47 < MikeSeth> or use Agavi logging
11:47 < Macen> Agavi logging?
11:47 < MikeSeth> see logging.xml
11:47 < Macen> k
12:02 < marklar|omni> http://thedailywtf.com/Comments/Boolean-Integers.aspx
12:02 < marklar|omni> zomg
12:05 -!- MrJeep [n=jpdery@24-122-39-195.ab.cgocable.ca] has quit []
12:07 < E_mE> yoyo im at my new job :)
12:08 < Wombert> hai E_mE
12:08 < Wombert> nononono MikeSeth
12:08 < Wombert> setAttribute
12:08 < E_mE> im allowed on irc which is great :D
12:09 < Wombert> nice E_mE <:
12:09 < E_mE> anyone know why i might be getting this error with Eclipse PDT: Could not initialize the application's security component.
12:09 < Macen> Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application
12:10 < E_mE> yes, macen thats the git!
12:10 < Macen> i don't know
12:10 < Macen> :)
12:10 < Macen> there seems to be a few results in Google
12:10 < E_mE> i got 2
12:11 < Macen> have you tried #eclipse?
12:12 < MikeSeth> Wombert: (off the top of my head)
12:12 < MikeSeth> :D
12:12 < Macen> you could backup /Macintosh HD/Library/Application Support/Eclipse and /Users/you/Library/Application Support/Eclipse then re-install eclipse and try recovering your settings by replacing those folders
12:13 < Macen> MikeSeth: what's the 3rd paramater?
12:14 < MikeSeth> Macen: namespace
12:14 -!- brasileiro__ [n=fdfdf@200-203-112-202.smace701.dsl.brasiltelecom.net.br] has joined #agavi
12:14 < Macen> hm i've never used namespaces
12:16 -!- jake [n=jake@adsl-68-253-48-93.dsl.ipltin.ameritech.net] has joined #agavi
12:18 < E_mE> Macen: its a new install of PDT
12:19 < Macen> hahah you suck
12:19 < Macen> dunno mate
12:19 < MikeSeth> i hate eclipse
12:21 -!- nfq [n=nfq@dsl-240-102-69.telkomadsl.co.za] has joined #agavi
12:21 < nfq> hey Wombert
12:21 < nfq> trophaeum: you there?
12:21 < trophaeum> yo, be bak in a minute, takin a break
12:22 < trophaeum> feel free to ask ur q or watevr and ill answer when im back
12:22 < nfq> Ok, cool, thanks
12:22 < marklar|omni> http://thedailywtf.com/Articles/Pretty-Simple.aspx
12:23 < E_mE> is v-dogg about?
12:24 < E_mE> ive been attempting to recommend agavi hehe
12:24 < Macen> Fatal error: Cannot access protected property AgaviWebRequest::$context
12:24 < Macen> !!!!!!!
12:24 < Macen> barsteward
12:24 < Macen> er MikeSeth how do i access the data once it's set
12:24 < Macen> i can see it but can't get to it
12:24 -!- MrJeep [n=jpdery@24-122-39-195.ab.cgocable.ca] has joined #agavi
12:26 < Wombert> mh
12:26 < Wombert> hi nfq
12:26 < Wombert> Macen: and what are you doing there?
12:26 < Macen> trial and error mostly
12:27 < Macen> $blah = $this->context->getRequest();
12:27 < Macen> var_dump($blah);
12:27 < Macen> how do i access ["headers:protected"]=>?
12:28 < Wombert> Fatal error: Cannot access protected property AgaviWebRequest::$context
12:28 < Wombert> that cannot come from the line above
12:28 < Macen> wha?
12:29 < Macen> i see that same data in various places
12:29 < Wombert> $blah = $this->context->getRequest();
12:29 < Wombert> cannot cause
12:30 < Wombert> Fatal error: Cannot access protected property AgaviWebRequest::$context
12:30 < Macen> i appended ->context
12:30 < Wombert> how smart
12:30 < Wombert> you know what public/protected/private is?
12:30 < Wombert> I don't even know what you're doing
12:30 < Macen> oop declarations introduced for php5
12:31 < Macen> $this->context->getRequest()->setParameter('foo.bar', 'value','org.agavi');
12:31 < Macen> i want to retrieve the data
12:31 < Wombert> [13:08] Wombert: nononono MikeSeth
12:31 < Wombert> [13:08] Wombert: setAttribute
12:31 < Wombert> and if you set a parameter on the request, Macen
12:31 < Wombert> using setParameter()
12:31 < Wombert> then how about getParameter()
12:32 < Wombert> both of which are wrong, since you should use attributes, as I said
12:32 < Macen> i see
12:32 < Macen> yes
12:32 < Macen> thanks
12:32 -!- MrJeep [n=jpdery@24-122-39-195.ab.cgocable.ca] has quit []
12:32 < Wombert> also, mind you that what you're doing there is setting attributes on the request, not on the request _data_
12:32 < Wombert> request data is what you get passed to action and view execute() methods
12:33 < Wombert> so it has nothing to do with these headers etc
12:33 < Macen> headers are a digression
12:33 < Wombert> regarding your other question, ->context does not work because it's a protected property, as the fatal error says
12:33 < Macen> how do i access them then?
12:33 < Macen> (headers)
12:34 < Wombert> as I said
12:34 < Wombert> [13:32] Wombert: request data is what you get passed to action and view execute() methods
12:34 < Macen> right
12:34 < Wombert> and you cannot access the headers in the request data holder that's set on the request object
12:34 < Macen> so request data == headers
12:34 -!- saracen [n=kenotic@cpc1-pete5-0-0-cust228.pete.cable.ntl.com] has joined #agavi
12:34 < Wombert> no
12:34 < Wombert> wrong
12:34 < Wombert> headers, cookies, uploaded files, parameters are in the request data
12:35 < Macen> yes
12:36 < Macen> so say you're not in a execute* method from a view or action, how do you access the request data? eg. for browser sniffing etc
12:36 < Macen> browser detection* perhaps
12:36 < Macen> or smthn..
12:36 < Wombert> then you use $request->getRequestData()
12:36 < Macen> excellent
12:37 < Macen> thanks
12:37 < Wombert> which again is a request data holder
12:37 < Wombert> but it has unfiltered and unvalidated data
12:38 < Macen> all data is unfiltered ?
12:39 < Wombert> ...
12:39 < Wombert> http://www.agavi.org/docs/latest/manuals/manual/ch03s06.html#id930329
12:53 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
12:59 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has joined #agavi
13:02 < Macen> Wombert: so how do i produce the currently viewed route?
13:03 < MikeSeth> you only can produce the one that was matched by the original request
13:03 < MikeSeth> or gen() one by name
13:04 < Macen> yes, the originally matched route
13:04 < Macen> ["rxp"]=> from $ro or smthn
13:05 < Macen> Warning: Missing argument 1 for AgaviWebRouting::gen(),
13:05 < Macen> it works but produces a warning?
13:05 < Macen> $ro->gen(routename[, array parameters[, array options]])
13:06 < Macen> @$blah = $ro->gen(); ?
13:07 < MikeSeth> you must call gen() with a name of the route
13:08 -!- nfq [n=nfq@dsl-240-102-69.telkomadsl.co.za] has quit [Read error: 104 (Connection reset by peer)]
13:09 -!- nfq [n=nfq@dsl-240-102-69.telkomadsl.co.za] has joined #agavi
13:12 < v-dogg> or null
13:12 < v-dogg> gen(null) gives you the current url
13:12 < v-dogg> (which might have matched several routes)
13:13 < v-dogg> (something that people seem to forget often :)
13:13 -!- nfq [n=nfq@dsl-240-102-69.telkomadsl.co.za] has quit [Read error: 104 (Connection reset by peer)]
13:14 -!- nfq [n=nfq@dsl-240-102-69.telkomadsl.co.za] has joined #agavi
13:15 < MikeSeth> + is magic :>
13:15 < nfq> trophaeum: you back?
13:15 -!- Arme[N] is now known as Arme[0]
13:16 -!- brasileiro__ [n=fdfdf@200-203-112-202.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)]
13:17 < trophaeum> nfq sorry, have been for a while, got distracted though
13:17 < trophaeum> sup
13:17 -!- TimothyA [n=gmtyjk65@190.88.5.114] has joined #agavi
13:17 < nfq> Not stress
13:23 < marklar|omni> huzzah
13:23 < E_mE> v-dogg: yo.. can i ask question about eclipse quickly?
13:24 < MikeSeth> marklar|omni:
13:24 < MikeSeth> Wombert:
13:24 < MikeSeth> http://img.4chan.org/b/src/1205755705999.jpg
13:25 -!- nfq [n=nfq@dsl-240-102-69.telkomadsl.co.za] has quit [Read error: 104 (Connection reset by peer)]
13:25 < marklar|omni> hahaha
13:25 < marklar|omni> "orudie42"
13:26 -!- nfq [n=nfq@dsl-240-102-69.telkomadsl.co.za] has joined #agavi
13:26 < Macen> hi
13:26 < Macen> $this->context->getRequest()->getAttribute('navigation'); < you can do that pretty much anywhere
13:29 < MikeSeth> that is whereever context object is available
13:29 -!- nfq [n=nfq@dsl-240-102-69.telkomadsl.co.za] has quit [Client Quit]
13:33 < saracen> Can I display a template from a different module?
13:34 < MikeSeth> sure, though that's bad practice IMO
13:34 < MikeSeth> if you need that kind of template, make it global
13:35 < saracen> Will it automatically do this? Or do I have to define a template as global somehow?
13:36 < MikeSeth> no you just put it into app/templates
13:36 < MikeSeth> then adjust layout/layer settings accordingly
13:36 < Macen> $navigation = $this->context->getRequest()->getAttribute('navigation');var_dump($navigation); //returns NULL from model and action but not template
13:36 < saracen> I see =). Also, can i choose what template to load from the view? I tried returning a template name and it didnt work
13:37 < MikeSeth> Macen: are you sure the values arent being set *after* you're trying to read them?
13:37 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
13:37 < MikeSeth> saracen: $layer = $this->getLayer(...); $layer->setTemplate(...)
13:37 < Macen> MikeSeth: no in fact i think that's the problem
13:37 < saracen> MikeSeth: Thank you for your help =)
13:38 < Macen> MikeSeth: but then how am i to avoid putting logic in templates
13:39 < MikeSeth> Macen: well seeing how navigation is a topic unto itself, maybe you should have an action that draws navigation
13:39 < Macen> MikeSeth: i suppose i could do it in the Menu action too
13:39 < Macen> ran into another little annoyance though, how to return the currently active module?
13:40 < Macen> $this->container->getModuleName() doesn't work in template
13:43 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
13:43 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has joined #agavi
13:44 < v-dogg> Macen: $container->getModuleName();
13:45 -!- saracen [n=kenotic@cpc1-pete5-0-0-cust228.pete.cable.ntl.com] has quit []
13:46 < Macen> oh
13:46 < Macen> i see
13:46 < Macen> i feel stupid ;>
13:51 < marklar|omni> maik
13:51 < marklar|omni> here?
13:58 < marklar|omni> kbye
13:59 < _cheerios> duplo generation :)
14:05 -!- E_mE [n=jeramy@mail.spiritusgroup.com] has quit [Remote closed the connection]
14:10 < Wombert> LOOL MikeSeth
14:11 < Wombert> a/s/f
14:11 < Wombert> err a/s/c
14:11 < Wombert> haha
14:11 < Wombert> :>
14:21 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has quit ["Leaving"]
14:24 -!- E_mE [n=jeramy@mail.spiritusgroup.com] has joined #agavi
14:34 -!- IcyT is now known as icyt
14:47 -!- Strzalek [n=Strzalek@dmj1.neoplus.adsl.tpnet.pl] has joined #agavi
14:49 < Strzalek> huomenta
14:51 -!- _cheerios [n=jackbo@ip-87-108-0-169.customer.academica.fi] has quit ["BNF"]
14:52 -!- nfq [n=nfq@dsl-145-212-252.telkomadsl.co.za] has joined #agavi
14:56 < MikeSeth> marklar|omni: wat
14:57 < Wombert> zomg
14:57 < Wombert> T minus 4 hours
14:57 < Wombert> :S
14:59 -!- Hamerr [n=stock@87.246.13.25] has joined #agavi
15:01 < MikeSeth> whats about to happen
15:02 < Wombert> zomg zomg zomg
15:08 < Wombert> zomg MikeSeth how can you not know
15:08 < Wombert> omg omg
15:08 < MikeSeth> i am drowning in debugging enemy APIs
15:09 < MikeSeth> i barely know what day it is..
15:09 < Wombert> enemy
15:09 < Wombert> haha
15:09 < Wombert> <:
15:10 < Macen> how to return the numerical equivalent of an associative key? eg, array('one'=>'value', 'two'=>'value', 'three'=>'value') where 'one' would be 0, 'two' would be 1, 'three' would be 2..
15:11 < Wombert> the worst thing would be if symfony or caek make it in and we don't
15:11 < Wombert> zomg
15:11 < Wombert> Macen: ?
15:11 < Wombert> you can't
15:12 < Macen> barsteward
15:13 < Macen> will have to do an array_keys work around
15:13 < MikeSeth> Wombert: wtf are you talking about, gsoc?
15:13 < Wombert> yes miek
15:15 < MikeSeth> ahh
15:15 < MikeSeth> well its not like google money can make caek better lol
15:16 < Wombert> but but but
15:16 < Wombert> can anyone hug me plz
15:16 < Wombert> :<
15:20 -!- TimothyA [n=gmtyjk65@190.88.5.114] has quit []
15:20 < E_mE> hug Wombert
15:21 < Wombert> thanks buddy
15:22 -!- jtraub [n=konstant@87.225.21.162] has joined #agavi
15:28 < jtraub> Hello
15:28 < jtraub> Can i discuss some of your GSoC ideas?
15:30 * MikeSeth hugs Wombert
15:30 < MikeSeth> jtraub: hi
15:30 < MikeSeth> sure
15:30 < MikeSeth> go ahead
15:30 < Wombert> woot
15:30 < Wombert> jtraub: be our guest ;)
15:30 < jtraub> I was thinking about bild system
15:31 -!- malax [n=malax@unaffiliated/malax] has joined #agavi
15:31 < jtraub> *build
15:31 < malax> HUOMENTA
15:31 < Wombert> cool jtraub
15:31 < Wombert> we're using phing right now
15:31 < MikeSeth> impl: poke, build system convo
15:31 < Wombert> ideally, I'd like to keep that
15:31 < jtraub> And whats wrong with Phing?
15:32 < Wombert> well it's buggy in parts
15:32 < MikeSeth> Wombert: I played with ant during my DITA forays... its nice
15:32 < Wombert> and pretty much everything is private
15:32 < Wombert> so difficult to extend BUT
15:32 < Wombert> it's no problem to get someone phing svn access to fix stuff right away
15:32 < Wombert> so no biggie
15:32 < Wombert> impl already started working on a new system here: http://trac.agavi.org/browser/branches/impl-build_system
15:33 -!- nfq [n=nfq@dsl-145-212-252.telkomadsl.co.za] has quit []
15:33 < Wombert> MikeSeth: yeah but ant is java, and srsly, just to get going with agavi, I don't want people to go through all that
15:33 < Wombert> so it's either phing or something home-grown
15:33 < Wombert> and since I can't be arsed to maintain a custom build system
15:33 < jtraub> Anyway waf now seems to be much better than autotools and Scons.
15:33 < Wombert> and since we have just the best connections to hans and the phing team and can, pretty much, change whatever we don't like, we should use phing
15:34 < Wombert> well but waf is python right, jtraub? :/
15:34 < jtraub> Yep
15:34 < jtraub> Scons is written in python too
15:34 < Wombert> I can imagine the whining noobs on windows asking how to install python ;)
15:35 < jtraub> Phing written in PHP and this is a big plus in that case
15:35 < Wombert> could waf be an inspiration?
15:35 < Wombert> port it to php! :)
15:35 < jtraub> Yep
15:35 < Wombert> as an agavi spinoff, heh
15:36 < Wombert> really the big plus about phing is not that it's php based
15:36 < Wombert> but that we have (and/or can have) access to it and fix bugs, change nonsense etc
15:36 < jtraub> and what?
15:36 < jtraub> :-D
15:36 < jtraub> Phing utilizes XML files
15:36 < jtraub> Is it correct?
15:37 < Wombert> so if you'd like to tackle this, and if we get accepted into gsoc (zomg!), then it's no problem to set you up with a phing dev account
15:37 < Wombert> yes, like ant
15:37 < Wombert> it's pretty much an ant port
15:37 < Wombert> anyways, where you from, jtraub :)
15:37 < jtraub> I hate writing of XML configs. I really hate :-(
15:38 < Strzalek> XML configs are cool
15:38 < Wombert> :S
15:38 < Strzalek> :>
15:38 < jtraub> Wombert, Khabarovsk, Far East
15:38 < jtraub> I've spend 1 hour trying to fix problems with xml schema in Propel
15:38 < Wombert> heh wow yeah that's _very_ far east ;)
15:38 < Strzalek> ;]
15:39 < jtraub> YAML is more suitable for editing by humans
15:39 < Strzalek> Huh. It's really hard to write "Agavi Introduction" article
15:39 < jtraub> I have nothing to say against XML as format for machine2machine interaction
15:39 < jtraub> :-)
15:40 < E_mE> Wombert: where is the autoload setup in agavi?? the spl_autoload... or so??
15:40 < Strzalek> I'm writting it for 2 weeks, and still can't finish it
15:40 < Wombert> agavi.php setup script E_mE
15:41 < jtraub> What common tasks are performed by Phing in your project?
15:42 < Wombert> we use it in two areas
15:43 < Wombert> first, for tasks that concern the framework itself
15:43 < Wombert> building release packages, docs, compiling timezone data etc
15:44 < E_mE> thanks
15:45 < jtraub> Wombert, thanks
15:46 -!- Whisller [n=Miranda@axh228.neoplus.adsl.tpnet.pl] has joined #agavi
15:49 -!- Prakhar_Geek [n=prakhar@122.163.71.73] has joined #agavi
15:51 < jtraub> Definitely, i would like to participate with bringing to php waf/scons inspired build system
15:53 -!- icyt is now known as IcyT
15:53 < jtraub> Another interesting and promising project is building scaffolding system
15:53 < jtraub> :-)
15:54 < Strzalek> Scaffold idea sounds great :>
15:55 < jtraub> I don't understood why the idea was marked as easy
15:58 < jtraub> Because i think that scaffolding module should be designed to accept not only Propel or Doctrine
15:59 < jtraub> It should have appropriate abstraction layer to work
15:59 < Macen> in a Menu Action i'm doing: $this->context->getRequest()->setAttribute('aCategoryLinks',$oMenu->innerPageLinks($aMenu,$aMenuInner,$aMenuInnerThird,$aMenuInnerForth,'org.agavi'));
16:00 < jtraub> with objects that imlement special interface
16:00 < Wombert> jtraub: true
16:00 < Macen> a setAttribute
16:00 < Wombert> jtraub: the idea is that it's an isolated module that you can simply drop into an application
16:00 < jtraub> Of course, agava should provide proxies for doctrine and Propel
16:00 < Macen> then in a template called by the decorator I'm doing $this->context->getRequest()->getAttribute('aCategoryLinks');
16:00 < Wombert> tell it which database connection to use
16:00 < Macen> but it's coming back null
16:00 < Wombert> and then it just works. not like in rails or django or symfony or cake where a phing/ant/rake/blah task generates code from templates
16:00 < Wombert> based on a schema
16:00 < Macen> the function is passed an array for sure
16:01 < Wombert> it should do runtime schema reflection and figure stuff out on the fly
16:01 < jtraub> Wombert, i understand difference betwen generating and scaffolding
16:01 < Wombert> wtf are you doing there Macen :(
16:01 < Macen> trying to pass an array from an action to a template called via a different action
16:02 < jtraub> CakePHP supports scaffolding
16:02 < jtraub> too
16:02 < jtraub> So i have quite understanding of it
16:02 < Wombert> <:
16:04 -!- Prakhar_Geek [n=prakhar@122.163.71.73] has left #agavi ["Leaving"]
16:04 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has joined #agavi
16:04 < jtraub> Wombert, what features should be supported by scaffolding module?
16:04 < jtraub> basic CRUD
16:05 < jtraub> adding new actions or overriding existing actions from CRUD
16:05 < jtraub> overriding templates
16:05 < jtraub> What else?
16:07 < Wombert> just basic crud
16:08 < Wombert> it shouldn't have generator abilities like the others do
16:08 < Wombert> it's this lie that the other frameworks spread... "build cool admin interfaces in two minutes", and then you need to change half of their system just to have a new button
16:08 < Wombert> it should mainly be a feature for RAD
16:09 < Macen> Wombert: if i do var_dump($this->context->getRequest()->getAttribute('foo')); (where foo is set in menu action) then i can return it from the menu template but not from any other action
16:09 < Macen> Wombert: what do i need?
16:10 < Wombert> what are you doing
16:10 < Wombert> describe the problem
16:10 < Wombert> but without assumptions!
16:12 < Macen> I have a Menu Action (which is a slot) which parses an array with methods/functions. the first creates a - list for js manipulation later on in the Menu template; which is fine - the other determines what other links are in the category, however, this information is to be used in the template called via the decorator from routing
16:12 < Wombert> okay
16:12 < Wombert> those other links
16:12 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
16:13 < Wombert> mmmmh
16:13 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has joined #agavi
16:13 < Wombert> can't you output them in the menu template, too?
16:13 < Macen> :)
16:13 < Macen> no
16:14 < Macen> it's going to be displayed beneath the main content
16:14 < Macen> and that slot is outputted in a position:absolute block level element which has a width of 200px
16:14 < Macen> so not suitable
16:17 < Wombert> ok
16:17 < jtraub> Wombert, i thought that overriding for actions and templates is good feature
16:17 < Wombert> jtraub: yeah true
16:18 < Wombert> not 100% sure right now how that would be done though, but hey, there's your challenge! :)
16:18 < Wombert> okay macen
16:18 < jtraub> I'll explore alternatives to find a most suitable way
16:19 < Wombert> the menu slot runs before the calling layer (and the others) are rendered
16:19 < Wombert> so setting an attribute into the request and pulling it again in the template should work
16:20 < Wombert> personally, I'd move that to another slot, though
16:20 < Macen> $this->context->getRequest()->setAttribute('foo','value'); //in Menu Action
16:20 < Wombert> yes, and then $rq->getAttribute('foo'); in the template
16:20 < Wombert> btw, that is presentational stuff, and you should do it in the view
16:20 < Macen> should allow $this->context->getRequest()->getAttribute('foo'); to be called from About Action in AboutSuccess template?
16:20 < Wombert> in the template of course
16:20 < Wombert> think about it
16:20 < Wombert> aboutaction runs
16:20 < Macen> Wombert: yes i was asking about this before
16:21 < Wombert> then aboutsuccessview loads the layout
16:21 < Wombert> which means the slot will be run
16:21 < Macen> Wombert: how do i pass data from Menu Action to About view then?
16:21 < Wombert> chicken and egg etc
16:21 < Wombert> you cannot
16:21 < Wombert> the aboutview declares the slot
16:21 < Wombert> it runs later
16:21 -!- JanK_ [n=JanK_@muedsl-82-207-247-221.citykom.de] has joined #agavi
16:23 < Macen> well the view that is called from through decorator parameter must be run before the Menu Action because i can't pass any data from menu to action
16:23 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
16:23 < Wombert> Macen:
16:24 < Wombert> your AboutAction is run, right?
16:24 < Macen> yea
16:24 < Wombert> you return "Success" from execute(), then it runs AboutActionSuccessView
16:24 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has joined #agavi
16:24 < Wombert> there in execute() you load a layout
16:24 < Wombert> this layout defines which layers should be rendered
16:24 < Wombert> and which slots should be run
16:24 < Wombert> and after that
16:24 * RossC0 hugs Wombert
16:24 < Wombert> the layers are rendered one after another after the slots are run
16:25 < Wombert> *slots have been run
16:25 < RossC0> whens gsoc announced?
16:25 < Macen> so then the template is run after all the slots have been run?
16:25 < Wombert> RossC0: 1900 UTC
16:25 < Macen> or are the templates called when the slot is called
16:25 < RossC0> cool
16:26 < Wombert> Macen: and in a template, you output the slots' outputs, so they have to run before that
16:26 < Wombert> wait
16:26 < Macen> be clear, all the slots or the slot for that action/view/template
16:26 < Wombert> do you want to pass data from a slot set on the decorator layer to the content layer template?
16:26 < Wombert> nah that doesn't work
16:27 < Wombert> it runs each layer
16:27 < Wombert> and for each layer, it executes the slot first
16:27 < Wombert> then finally renders the template
16:27 < Macen> in this case it's all going through the decorator
16:27 < Macen> i'm avoiding the content layer atm
16:27 < Wombert> so if you set a request attribute in the slot running on the decorator layer
16:27 < Wombert> you should be able to pull that info in the decorator template, aye
16:28 < Wombert> btw don't use namespace "org.agavi"
16:28 < Wombert> one day we'll store data of the same name there and then.. :S
16:28 < Wombert> $this->getContext()->getRequest()->setAttribute('foo', 'bar', 'com.panaz.navigation');
16:28 < Wombert> and in the tpl
16:29 < Wombert> $rq->getAttribute('foo', null, 'com.panaz.navigation');
16:29 < Wombert> nah wait
16:29 < Wombert> $rq->getAttribute('foo', 'com.panaz.navigation');
16:29 < Wombert> this way
16:30 < trophaeum> Wombert, http://thedailywtf.com/Articles/The-Alphabet-The-Hard-Way.aspx u might appreciate that :)
16:31 < Wombert> eheheh
16:34 < Macen> Wombert: http://pastebin.ca/946305
16:35 < Macen> $this->getContext()->getRequest()->setAttribute('fubar', 'bar', 'com.panaz.navigation'); // MenuAction.class.php
16:35 < Macen> var_dump($rq->getAttribute('fubar', 'com.panaz.navigation')); // AboutSuccess.php
16:35 < Wombert> can you please do that in the view, not in the action
16:36 < Macen> ok
16:37 < Macen> getContext()->getRequest()->setAttribute('fubar', 'bar', 'com.panaz.navigation') ?> // modules/Default/views/MenuSuccess.php
16:38 < Macen> getAttribute('fubar', 'com.panaz.navigation')); ?> // modules/Default/templates/services/WebDevelopmentSuccess.php
16:38 < Wombert> ...
16:38 < Wombert> waitwaitwait
16:39 < Wombert> that is your content template
16:39 < Wombert> not your decorator
16:40 < Macen> oh
16:40 < Macen> so i can only use it in Master.php ?
16:41 < Macen> i don't want to use it in Master.php :)
16:41 < Macen> bloody 'ell..
16:42 < Macen> so....
16:42 < jtraub> Ok. Thanks
16:43 < jtraub> I am going to sleep
16:43 < jtraub> I hope that Agavi will be selected for upcoming GSoC
16:43 < Macen> i need to somehow use the decorator?
16:43 < Macen> and modify output_types.xml
16:43 < Macen> so that a slot goes into the decorator?
16:43 < Wombert> jtraub: thanks for stopping by
16:43 < Wombert> talk to you soon
16:46 < Wombert> well you just need to output the stuff in the decorator
16:46 < Wombert> template
16:47 < Macen> right ok
16:48 < Macen> Or
16:48 < Macen> I s'pose
16:48 < Macen> i could create another slot?
16:48 < Macen> as that would use the decorator
16:49 < Wombert> a slot that runs on the decorator, yeah
16:51 < RossC0> wtf are you Macen?
16:51 < RossC0> *doing
16:51 < Macen> read up ^^
16:51 < RossC0> sounds horribly complex
16:51 < Macen> Macen: I have a Menu Action (which is a slot) which parses an array with methods/functions. the first creates a
- list for js manipulation later on in the Menu template; which is fine - the other determines what other links are in the category, however, this information is to be used in the template called via the decorator from routing
16:51 < RossC0> my answer - rescope the problem!
16:51 -!- shrink0r [i=shrink@i59F7E8AD.versanet.de] has joined #agavi
16:51 -!- IcyT is now known as icyt
16:51 < RossC0> its sounds very fragile
16:52 < Macen> RossC0: it's very rigid
16:52 < Macen> RossC0: because it uses the same data from one place
16:52 < RossC0> yeap and will shatter
16:52 < Macen> i can use a slot
16:52 < Macen> a slot is fine
16:52 < RossC0> cool - but try and remember to keep things simple!
16:53 < shrink0r> How would I make validators depend on antoher one? Like if $foo==2 then also run the other validators, when not then don't?
16:54 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
16:54 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has joined #agavi
16:54 * Macen nods
16:54 < Macen> i don't like putting everything in one file that's my problem
16:55 < Macen> it would be more rigid and portable if i didn't use a slot but meh
16:56 -!- Strzalek_ [n=Strzalek@dma173.neoplus.adsl.tpnet.pl] has joined #agavi
16:56 -!- Strzalek [n=Strzalek@dmj1.neoplus.adsl.tpnet.pl] has quit [Nick collision from services.]
16:57 -!- Strzalek_ is now known as Strzalek
17:08 < RossC0> laters all!
17:08 -!- RossC0 [n=RossC0@80.4.120.163] has left #agavi []
17:24 -!- jtraub [n=konstant@87.225.21.162] has quit ["Ухожу"]
17:25 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi
17:25 < _cheerios> moo
17:28 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
17:30 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has joined #agavi
17:31 -!- icyt is now known as IcyT
17:33 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has quit [Read error: 104 (Connection reset by peer)]
17:34 < Macen> what do you need to put in routing.xml (a ) in order to return the URL with $ro->gen ?
17:35 < Macen> name="" or smthn?
17:37 < Macen> Wombert: still there?
17:40 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi
17:41 -!- brasileiro__ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has joined #agavi
17:42 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
17:42 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has joined #agavi
17:43 < _cheerios> eh. yes, a name. did you get hit by a car, Macen? :)
17:44 < Macen> _cheerios: how did you know?!
17:44 < _cheerios> E_mE told me. he was driving.
17:44 < Macen> _cheerios: ah. yea we set up this scam
17:45 < Macen> _cheerios: he drives into me, i sue him, we split the money
17:45 < Macen> _cheerios: i plan on having nightmares for the next 6 months
17:47 < _cheerios> put two brains together and you get great plans! don't forget us when spending all the money.
17:47 -!- Whisller [n=Miranda@axh228.neoplus.adsl.tpnet.pl] has quit ["home..."]
17:58 < v-dogg> shrink0r: you can define dependencies like this: ah big thx
18:00 < shrink0r> v-dogg: provides="{$validator_name}" ?
18:00 -!- hank_ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has joined #agavi
18:00 < v-dogg> shrink0r: no, just provides="what_ever"
18:00 < Macen> right i'm off
18:00 < Macen> adios
18:00 -!- Macen [n=leopard@host86-138-73-224.range86-138.btcentralplus.com] has quit []
18:00 < v-dogg> and depends="what_ever" in the other validator
18:01 < shrink0r> ok
18:03 < Wombert> heh anyone on linux
18:03 < Wombert> compare performance of uniqid()
18:03 < Wombert> to uniqid('', true)
18:03 < Wombert> :)
18:03 < Wombert> but now
18:03 < Wombert> home tiem
18:07 < Wombert> gtg catch tube
18:08 -!- Wombert [n=Wombert@dialbs-213-023-052-058.static.arcor-ip.net] has quit []
18:10 -!- brasileiro__ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)]
18:17 -!- codecop [n=codecop@78-61-197-230.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
18:25 -!- hank_ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)]
18:28 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection]
18:29 -!- Strzalek [n=Strzalek@dma173.neoplus.adsl.tpnet.pl] has quit ["Leaving"]
18:48 -!- Wombert [n=Wombert@dslb-088-064-053-207.pools.arcor-ip.net] has joined #agavi
18:50 < Wombert> zomg
18:50 < Wombert> zomg
18:50 * Wombert pets impl
18:50 < Wombert> you there
18:50 < _cheerios> you got mail?
18:53 < Wombert> no
18:54 -!- Whisller [n=Miranda@chello089076213203.chello.pl] has joined #agavi
18:57 < Wombert> oh noes
18:57 < Wombert> announcement delayed
18:57 < Wombert> zomg
19:05 < Whisller> evening :)
19:09 -!- brasileiro__ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has joined #agavi
19:13 -!- eremit [n=eremit@p5B235E53.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- The alternative IRC client"]
19:33 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi
19:34 < Rick> how well does Propel work?
19:34 < Rick> I heard of it before but never looked at it
19:34 < Rick> it sounds nice
19:35 < a|K|a> I tried it this weekend
19:35 < a|K|a> I just wonder if it is worth the setup when I can just use straight msyql
19:35 < Rick> how did you like it?
19:35 < a|K|a> it was cool
19:35 < a|K|a> it worked well
19:36 < a|K|a> I am doing all my play testing on weekends so this next weekend I am really going to check it out
19:36 < a|K|a> make a blog or some shit
19:36 < Rick> ah
19:42 -!- brasileiro__ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)]
19:46 -!- brasileiro__ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has joined #agavi
19:52 < Wombert> never use straight mysql
19:52 < Wombert> at least PDO please
19:59 -!- kaos|work_ [n=dominik@xdsl-87-79-60-214.netcologne.de] has joined #agavi
20:00 -!- RossC0 [n=RossC0@teamjr.plus.com] has left #agavi []
20:01 -!- Whisller [n=Miranda@chello089076213203.chello.pl] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
20:03 < Rick> Wombert: yes I fell in love with PDO a long time ago :)
20:13 -!- brasileiro_ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has joined #agavi
20:17 < brasileiro_> it would be nice if in the new agavi site had a section with classes that could be useful to someone else... classes made by the community
20:18 -!- shrink0r [i=shrink@i59F7E8AD.versanet.de] has quit [Read error: 104 (Connection reset by peer)]
20:20 -!- brasileiro__ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)]
20:25 < Wombert> brasileiro_: coming
20:25 < Wombert> [21:20] lh: so i started working for chris and he told me i needed to do three things. 1) fix 2005 - 100+ people were still missing tax forms, t-shirts, etc., and it was 8 months after 2005 ended
20:25 -!- shrink0r [i=shrink@i59F7E8AD.versanet.de] has joined #agavi
20:25 < Wombert> [21:21] lh: 2) make 2006 happen. we had no resources committed from any other org and finance told us that doing the program again was a no go because of taxes. tey told us we just couldn't do the program anymore
20:26 < _cheerios> yer, this guy has really wanted gsoc to happen by google
20:26 < Wombert> [21:23] lh: so i worked with our finance team and suggested that if the problem was withholding taxes from people not on the official payroll then clearly the solution was to not have to withhold taxes. so we figured out how to pay you all as 1099 contractors.
20:26 < Wombert> [21:23] lh: technically, that gsoc stipend you get is to pay you to test our project hosting service and give us feedback when you upload your code
20:26 < Wombert> very lulz :)
20:28 < Wombert> she's a girl ;)
20:29 < a|K|a> hahaha
20:31 -!- JanK_ [n=JanK_@muedsl-82-207-247-221.citykom.de] has quit []
20:33 < impl> zomg Google!!
20:33 < impl> ZOMG!!
20:33 < a|K|a> 0_)
20:33 < a|K|a> o_O even :(
20:36 < Wombert> omgfinally impl youarehere
20:37 < impl> I just got home :<
20:37 < Wombert> announcement delayed impl
20:37 < Wombert> zomg zomg zomg
20:37 < impl> I knows
20:37 < impl> I checked today during school and it wasn't there!
20:37 < Wombert> I srsly can't remember the last time I was this anxious
20:38 < Wombert> luckily, RossC0 sent me a book present
20:38 < Wombert> and I can read that
20:38 < Wombert> <:
20:38 < impl> lawl
20:38 < a|K|a> you mind if I ask what you guys are waiting for?
20:38 < a|K|a> you mind, right?
20:38 < impl> a|K|a: whether we got into Google Summer of Code
20:38 < a|K|a> ohhh
20:38 < a|K|a> nice
20:39 < a|K|a> haha did you just make the jobs: Document our stuff
20:39 < impl> no you can't have documentation
20:39 < impl> unfortunately
20:39 < Wombert> that is, unfortunately, not something google sponsors
20:39 < impl> http://trac.agavi.org/wiki/GoogleSummerOfCode2008/Ideas
20:39 * a|K|a looks at yahoo
20:39 < impl> However we'll rope the kids in and make them document once GSoC is over
20:39 < impl> :D
20:40 < a|K|a> hahaha
20:41 < a|K|a> that is exciting though. hope agavi gets in
20:41 < Wombert> [21:40] lh: 173 out of 175 accepted.
20:41 < Wombert> omg
20:41 < Wombert> omg
20:41 < Wombert> omg
20:41 < Wombert> omg
20:42 < a|K|a> holy guacamolly
20:43 < Wombert> I got 100% cpu usage from some obscure background process
20:43 < Wombert> but I don't dare restart
20:43 < Wombert> ing
20:43 < _cheerios> that's good odds to get in
20:44 < a|K|a> 98857142857142857142857142857143% you are in
20:44 < impl> _cheerios: 175 accepted out of 505 applications
20:44 < a|K|a> err
20:44 < a|K|a> 98.857142857142857142857142857143% you are in
20:44 < a|K|a> ohh 505
20:44 < a|K|a> 34%
20:45 < impl> Yeah. 1/3 isn't bad, though.
20:46 < Wombert> I dunno
20:46 < Wombert> I realized two things just today
20:46 < Wombert> the first... I forgot
20:46 < shrink0r> ^^
20:46 < Wombert> the second was that our dev mailing list has _no_ activity whatsoever
20:46 < impl> Wombert: Yeah, but hopefully they see our IRC logs are huge
20:47 < impl> I'd be more concerned about not having a Website or a really recognizable user base
20:47 < Wombert> ah yes the website was the other thing ^^
20:47 < Wombert> or was it
20:47 < Wombert> dunno
20:47 < Wombert> know what's funny
20:47 -!- Strzalek [n=Strzalek@dma173.neoplus.adsl.tpnet.pl] has joined #agavi
20:47 < Wombert> this #gsoc channel has so much activity
20:47 < Wombert> that spotlight keeps starting to reindex the file
20:48 < impl> lol
20:48 < Wombert> which takes ages on my G4
20:48 < Wombert> omg
20:50 < _cheerios> must
20:50 < _cheerios> paste
20:50 < _cheerios> stuff
20:50 < _cheerios> for
20:50 < _cheerios> wombert
20:50 < Wombert> [21:50] lh: ok folks, sounds like we have another 30 minutes or so
20:50 < impl> let's just stream arbitrary SSL data into the channel
20:51 < impl> then we can see who can come up with the right private key first
20:52 < _cheerios> hmm, haven't been monitoring a channel in "anticipation" like this since playing Planetarion /me prods kaos|work_
20:55 -!- Wombert [n=Wombert@dslb-088-064-053-207.pools.arcor-ip.net] has quit ["bai"]
20:56 -!- Wombert [n=Wombert@dslb-088-064-053-207.pools.arcor-ip.net] has joined #agavi
20:56 < impl> Wombert's computer is committing suicide
20:56 < Wombert> maybe that helps
20:56 < Wombert> prolly a dogpile thing
20:57 -!- brasileiro_ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)]
21:06 < _cheerios> argh. all evening and no progress.
21:20 < impl> Wombert: has you an email?
21:21 < Wombert> impl: no
21:22 < _cheerios> :(
21:22 < impl> Accepted organizations are slowly getting emails, it seems
21:22 < impl> so watch for it :>
21:22 < Wombert> then let's hope they're sending by admin's last name
21:22 < Wombert> not by org name
21:22 < Wombert> :)
21:22 < impl> haha
21:23 < impl> actually, it sounds more like some organizations are getting emails and some just aren't
21:23 < impl> so I guess we'll just wait. :P
21:25 < Wombert> [22:24] lh: every organization that was accepted *should* have received an email by now, as far as we can tell
21:25 < Wombert> too bad
21:25 < Wombert> :(
21:25 < impl> Yeah :(
21:25 < v-dogg> no can has summer code?
21:26 * v-dogg replaces google with yahoo
21:29 < impl> Oh well, we tried
21:29 < impl> :>
21:30 < Wombert> uh huh
21:30 < Wombert> olympic spirit etc <:
21:32 < v-dogg> :)
21:33 < _cheerios> they probably concluded that agavi wasn't a force in itself to warrant gsoc money
21:34 -!- Strzalek [n=Strzalek@dma173.neoplus.adsl.tpnet.pl] has quit ["Leaving"]
21:34 < Wombert> why are for-profit companies on the list
21:35 < _cheerios> our ideas themselves werent any different for this kind of stuff
21:37 < _cheerios> i skimmed the list and a lot of the names there are somewhat familiar
21:37 < impl> Yeah, obviously the big names are what take the highest priority
21:38 < impl> and we're not a big name :)
21:44 < _cheerios> yeppers. small fries stay small unless they learn kung-foo and kick the shit out of the other fries :)
22:10 < _cheerios> woot. first time select+insert+update+delete all work. the patient is not dead anymore.
22:13 < _cheerios> http://p.caboo.se/166997 tremble, pookey! heh
22:14 < a|K|a> it works?
22:14 < a|K|a> nice
22:15 < MrJeep> wow, I think I'll have a job offer soon
22:15 < MrJeep> and the pay will be so great
22:15 < Wombert> glad to hear that MrJeep
22:15 < Wombert> yea?
22:15 < MrJeep> something aound 0$ an hour
22:15 < a|K|a> DMAN THATS BONKERS
22:16 -!- kaos|work_ [n=dominik@xdsl-87-79-60-214.netcologne.de] has quit []
22:17 < MrJeep> great conditions tho
22:17 < _cheerios> a|K|a, still some work to be usable in daily work, but gettin' there. just taking its time... x_X
22:22 -!- shrink0r [i=shrink@i59F7E8AD.versanet.de] has quit [Read error: 104 (Connection reset by peer)]
22:28 < _cheerios> http://www.nytimes.com/imagepages/2008/03/09/opinion/09opart2.ready.html heh @ top-left spots south-west path
22:29 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit []
22:35 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
22:37 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["so-tired-low-battery-warning-brain-shutdown"]
22:37 * Wombert pokes impl
22:37 < impl> hai Wombert
22:38 < Wombert> compare uniqid() performance against uniqid('', true);
22:38 < Wombert> :)
22:38 < Wombert> on linux
22:38 < Wombert> so lulz
22:38 < Wombert> and look at the results too
22:39 < impl> Wombert: wtf
22:40 < impl> why in the hell is that faster
22:41 < Wombert> note how it's just microtime in hex
22:52 -!- shrink0r [i=shrink@i59F7E8AD.versanet.de] has joined #agavi
22:53 -!- nfq [i=nfq@dsl-145-240-234.telkomadsl.co.za] has joined #agavi
22:59 -!- saracen [n=saracen@91.84.44.214] has joined #agavi
23:00 -!- jake [n=jake@adsl-68-253-48-93.dsl.ipltin.ameritech.net] has quit ["Leaving"]
23:00 < impl> Wombert: You might get a word in now in #gsoc to find out why we weren't accepted
23:01 < impl> or well, after the current one is explained
23:06 < impl> actually, I can just ask
23:06 < impl> make things nice and easy
23:09 -!- MrJeep_ [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
23:14 < Wombert> re
23:18 < impl> Wombert: do ours in public. any publicity is good publicity :~
23:18 < Wombert> absolutely
23:26 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
23:27 -!- nfq [i=nfq@dsl-145-240-234.telkomadsl.co.za] has quit []
23:51 < Wombert> nn guise
--- Day changed Tue Mar 18 2008
00:06 < shrink0r> v-dogg: u there?
00:08 -!- Wombert [n=Wombert@dslb-088-064-053-207.pools.arcor-ip.net] has quit []
01:11 -!- JamieWolf [n=JamieWol@e176244088.adsl.alicedsl.de] has joined #agavi
01:13 < Rick> are there any example applications that use agavi?
01:14 < impl> There's a CMS sample application that v-dogg wrote and also one in the Agavi source tree
01:14 < Rick> awesome, I'll look :)
01:15 < Rick> doh, I should have noticed the sample dir
01:15 -!- JamieWolf [n=JamieWol@e176244088.adsl.alicedsl.de] has left #agavi []
01:15 < impl> http://groups.google.com/group/agavi-users/browse_thread/thread/8262f274e4dda261/8cb8262dadabd396?lnk=st&q=agavi+sample+app
01:16 < Rick> thanks
01:17 < impl> sure :D
01:17 < impl> and of course, any questions, feel free to ask here or on the lists and someone will address them in due time
01:23 -!- JamieWolf [n=JamieWol@e176244088.adsl.alicedsl.de] has joined #agavi
01:23 -!- JamieWolf [n=JamieWol@e176244088.adsl.alicedsl.de] has left #agavi []
01:26 < shrink0r> impl: got a sek. ?
01:26 < impl> sure
01:28 < shrink0r> nice, lets see if my english suites a proper prob decscription ^^
01:29 < shrink0r> I have a parameter method_name that I would check against the values in an AgaviInArrayValidator
01:30 < shrink0r> then I would check if the method name equals for example getData and provide a dependency for following validators
01:31 < impl> So you want to load validators dynamically depending on the method_name?
01:31 < shrink0r> yeah
01:31 < shrink0r> so I would have an EqualsValidator for each method name
01:31 < shrink0r> but that isn't possible
01:31 < shrink0r> because if the first one fails
01:32 < shrink0r> validation throws an error
01:32 < shrink0r> at least the way I'm doing it
01:32 < shrink0r> I would do it by implementing a register*Validators method in the action
01:33 < shrink0r> but I'm generating the validation xml with a parser I wrote
01:33 < shrink0r> so I can't use the actions methods
01:33 < shrink0r> now I'm stuck in this dilema
01:33 < shrink0r> :<
01:33 < impl> Would it be feasible to rather write your own validator which then registers more validators?
01:34 < impl> or perhaps something more complex using AgaviOroperatorValidator
01:34 < shrink0r> yeah, that was my next thought. but I thought I'd rather ask here first since agavi often offers nice solutions which an new user won't see right away
01:35 < impl> I think you could probably do it using an (x)or validator
01:36 < shrink0r> is xor good for more than two compared values?
01:37 < impl> You'd have to do additional nesting, I think
01:39 < shrink0r> hmm, *brainfuck* gotta give it brief brainstorming ^^
01:42 < shrink0r> puh, I don't see how I'd do it with xor actually, probally OrValidation is the answer
01:42 < impl> okey.
01:42 < impl> I might not have understood your solution quite right
01:43 < shrink0r> well, if method_name == getData then these validators if method_name == getWhatEver the the other ones and so on...
01:44 < shrink0r> so I'm always checking the method_name against a certain value and then activate the corresponding validators via dependency
01:44 -!- IcyT is now known as icyt
01:51 < shrink0r> or maybe I'll just die
01:51 < shrink0r> god, it can't be that hard :<
01:54 -!- saracen [n=saracen@91.84.44.214] has quit [Read error: 104 (Connection reset by peer)]
01:55 -!- saracen [n=saracen@91.84.44.214] has joined #agavi
02:04 < shrink0r> *sigh* I give up, here comes the custom validator ...
02:21 < shrink0r> impl: one little question in between
02:22 < shrink0r> would it be xtremely ugly to just make the EqualsValidator shutup by setting it's severity to silent?
02:23 < impl> ehm
02:23 < impl> Maybe it's an appropriate sacrifice :>
02:24 < shrink0r> even so it always hurts a lil bit when you do such things
02:24 < shrink0r> ^^
02:24 < shrink0r> elegant is somewhat else
02:50 -!- jtraub [n=konstant@87.225.21.162] has joined #agavi
02:51 < jtraub> !logs
02:51 < jtraub> Oops
02:52 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
02:52 -!- MrJeep_ [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)]
02:52 < impl> jtraub: http://agavi.org/irclogs/
02:53 < jtraub> impl, thanks
02:53 < impl> Are you new 'round these parts?
02:53 < jtraub> Yep
02:53 < jtraub> I am totally new
02:53 < impl> Cool :D
02:53 < impl> Where'd you hear about us from?
02:54 < jtraub> at #gsoc channel yesterday
02:54 < impl> ah :)
02:54 < impl> We didn't make it in, unfortunately
02:54 < jtraub> impl, anyway i still want to port waf
02:54 < jtraub> :-)
02:54 < impl> waf?
02:54 < jtraub> impl, Symfony applied too
02:54 < impl> Yeah, I saw
02:54 < jtraub> I was talking there about build systems
02:55 < impl> ah :D
02:55 < jtraub> impl, and they didn't get into to
02:55 < impl> shame :(
02:56 < impl> I'm not really familiar with waf
02:56 * impl looks for an example buildfile
02:56 < jtraub> I am tired of tons of XML config used by Phing and Propel
02:57 < jtraub> and i really want to see waf-like building system
02:57 < jtraub> on php
02:58 < jtraub> code.google.com/p/waf/
02:59 < impl> http://git.xmms.se/?p=xmms2-stable.git;a=blob;h=a5d3210d823221eeced151cf1d9cebfaa6ad59cc;hb=d4c181cfd91ab3a1d6b19dadbfb614e7f4fc6ca6;f=wscript this is how WAF usually looks?
03:00 < impl> This looks pretty good
03:10 < jtraub> impl, sorry i was away
03:10 < jtraub> Yep
03:10 < jtraub> It is waf
03:16 < jtraub> I have to go
03:16 < jtraub> I'll be back in next 5 hours
03:16 -!- jtraub [n=konstant@87.225.21.162] has quit ["Ухожу"]
03:26 < shrink0r> n8 folks
03:26 -!- shrink0r [i=shrink@i59F7E8AD.versanet.de] has quit []
03:50 -!- jtraub [n=mikv@aqu.as.khb.ru] has joined #agavi
03:59 -!- Rick [i=rick@unaffiliated/rick] has quit [Read error: 104 (Connection reset by peer)]
04:17 < jtraub> I am back there
04:20 < impl> jtraub: cool. Have you got any ideas on how to implement something like waf in PHP?
04:22 < jtraub> :-D
04:22 < jtraub> I would like to talk with other developers before i'll start coding
04:24 < impl> Sure, I'm off to bed right now, but Wombert will be in within an hour or two probably
04:24 < jtraub> Thanks
04:24 < jtraub> good night
04:25 < impl> night. feel free to write up some documentation or so on how you'd like it to look, anything we can give feedback on or something (I'd love to comment on it when I get home tomorrow)
04:37 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit [Remote closed the connection]
04:38 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
04:56 -!- saracen_ [n=saracen@91.84.44.214] has joined #agavi
05:01 -!- saracen__ [n=saracen@91.84.44.214] has joined #agavi
05:14 -!- saracen [n=saracen@91.84.44.214] has quit [Read error: 110 (Connection timed out)]
05:18 -!- saracen_ [n=saracen@91.84.44.214] has quit [Read error: 110 (Connection timed out)]
05:25 -!- Rick [i=rick@unaffiliated/rick] has joined #agavi
05:25 -!- saracen__ [n=saracen@91.84.44.214] has quit [Read error: 113 (No route to host)]
06:00 -!- simoncpu [n=soulfury@58.71.34.138] has joined #agavi
06:00 < simoncpu> huomenta!
06:00 < simoncpu> do you guys know how to change the Content-Type header in agavi?
06:00 < simoncpu> setAttribte('_contentType', '...'); doesn't seem to work
07:26 < marklar|omni> hi
07:28 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection]
07:29 -!- _cheerios [n=jackbo@ip-87-108-0-169.customer.academica.fi] has joined #agavi
07:29 < _cheerios> huomenta
07:38 < marklar|omni> heh
07:38 < marklar|omni> someone should write a phpbb-compatible forum in agavi
07:38 < marklar|omni> and take over the world
07:40 < _cheerios> heh @ waf logo
07:47 -!- Wombert [n=Wombert@dslb-088-064-060-108.pools.arcor-ip.net] has joined #agavi
07:48 < Wombert> simoncpu: programatically?
07:58 < v-dogg> huomenta
07:59 < simoncpu> Wombert: yepp, programatically... i was able to change the output type by editing output_types.xml though =)
08:00 < v-dogg> $this->getResponse()->setHttpHeader() perhaps?
08:00 < v-dogg> (view::initialize)
08:00 < Wombert> execute()
08:00 < Wombert> you want to change the content type, right?
08:00 * Wombert smacks v-dogg
08:01 < v-dogg> oh, right, yes, execute :)
08:01 < Wombert> you can use setHttpHeader(), yeah
08:01 < Wombert> or modify the output type
08:01 < Wombert> just set the parameter on it
08:01 < Wombert> this _outputType thing has since been removed from the sample app
08:01 < Wombert> some old stuff
08:01 < Wombert> did that email help, simoncpu?
08:04 < simoncpu> i haven't tried it yet... i'm still working out issues with my front-end ui
08:05 < simoncpu> i just discovered earlier that XMLHttpRequest doesn't accept XML data if the content-type isn't application/xml
08:05 < simoncpu> that's why i was asking how to change the content-type in agavi... hehe
08:07 < Wombert> uhm but
08:07 < Wombert> do you have a separate output type for that?
08:08 < simoncpu> uhm... i just changed the default output
08:08 < simoncpu> i have this odd feeling that it's not the right way
08:08 < simoncpu> but it works for the mean time though
08:08 < Wombert> noooononono
08:09 < Wombert> create a new output type in output_types.xml
08:09 < Wombert> and then a route that selects this output type under the right circumstances
08:09 < simoncpu> , right?
08:09 < Wombert> yeah
08:09 < Wombert> in there, you can set an "http_headers" parameter with headers that the response will read and send
08:10 < Wombert>
08:10 < Wombert> most js libraries send this header
08:10 < Wombert> that way, the same url works for both output types html and xml
08:11 < simoncpu> oh cool
08:11 < simoncpu> it works
08:11 < simoncpu> :D
08:11 < Wombert> that's the main point about these agavi output types - you can reuse stuff
08:12 < simoncpu> i didn't it was that flexible
08:12 < simoncpu> i didn't know it was that flexible
08:12 < simoncpu> cool
08:21 -!- Whisller [n=Miranda@axh228.neoplus.adsl.tpnet.pl] has joined #agavi
08:21 < jtraub> Wombert, hello
08:22 < jtraub> Wombert, i am still willing to work on port of waf to php
08:24 < Whisller> morning
08:26 < Wombert> jtraub: hey
08:27 < Wombert> so, still interested even without summer of code?
08:27 < Wombert> nice, that's the spirit
08:27 < jtraub> yep
08:27 < Wombert> simoncpu: and then you have executeHtml(), executeXml() etc in the view
08:27 < jtraub> I tired of Ant-like build systems
08:27 < Wombert> or executeJson() and stuff
08:27 < E_mE> Huomenta!!
08:27 < Wombert> jtraub: well the advantage of that is that you can easily generate build files as xml
08:27 < Wombert> validate against schemas
08:28 < Wombert> use xincludes and stuff
08:28 < Wombert> but it's a bit cumbersome, yeah
08:29 < Wombert> otoh, I'm not sure if waf is the answer, since you're pretty much writing code, not simple instructions in a language agnostic format
08:29 < Wombert> anyways, I gotta run and catch the train zomg
08:29 < Wombert> bbiab
08:29 -!- Wombert [n=Wombert@dslb-088-064-060-108.pools.arcor-ip.net] has quit []
08:29 -!- jtraub [n=mikv@aqu.as.khb.ru] has quit ["Ухожу"]
08:39 -!- E_mE [n=jeramy@mail.spiritusgroup.com] has quit [Remote closed the connection]
08:42 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi
08:43 < RossC0> Huomenta!
08:47 < _cheerios> huomenta!!
08:53 -!- Strzalek [n=strzalek@bxz186.internetdsl.tpnet.pl] has joined #agavi
08:54 < Strzalek> huomenta
08:56 -!- E_mE [n=jeramy@mail.spiritusgroup.com] has joined #agavi
09:13 -!- Wombert [n=Wombert@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi
09:13 < marklar|omni> maik
09:13 < marklar|omni> here?
09:14 < Wombert> hia
09:14 < Wombert> hai
09:15 < marklar|omni> sup w
09:16 < marklar|omni> ant must die
09:17 < Wombert> :<
09:17 < marklar|omni> won't sign the jar for some reason
09:17 < marklar|omni> grr
09:17 * Wombert hugs RossC0
09:18 < Wombert> thanks for the gift!
09:18 < RossC0> no worries :D
09:18 < RossC0> read an article about the book on the train and it seemed good
09:18 < RossC0> gsoc?
09:18 < RossC0> any news?
09:19 < _cheerios> don't mention the ze gsoc! :D
09:22 < Strzalek> Hey guys.
09:22 < RossC0> Huomenta Strzalek
09:22 < Strzalek> Can you share with me with some advanced validate.xml ?
09:25 < MikeSeth> huomenta
09:25 < MikeSeth> Strzalek: define advanced
09:25 < MikeSeth> marklar|omni: sup
09:25 < Strzalek> MikeSeth, ok. Give some with a lot of data to validate ;D
09:25 < Strzalek> brb - 15 min
09:31 < E_mE> Wombert: how does your XML configuration files know where the xsd's are???
09:31 < Wombert> config_handlers.xml
09:32 < E_mE> i've noticed you don't hhave any schema locations in you XMLs
09:32 < Wombert> yeah but you could if you wanted
09:32 < Wombert> agavi can handle those, too
09:33 < E_mE> clever puppy Wombert, keeping all the validation files in one place :D
09:33 < Wombert> how can I run an rm for each file in svn status
09:34 -!- Whisller_ [n=Miranda@eqg51.neoplus.adsl.tpnet.pl] has joined #agavi
09:40 < _cheerios> svn status | awk '{print $2}' | xargs svn del
09:41 < _cheerios> (try at your own risk :))
09:43 -!- Whisller [n=Miranda@axh228.neoplus.adsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
09:43 -!- Whisller_ is now known as Whisller
09:44 < Whisller> shit
09:44 -!- Whisller [n=Miranda@eqg51.neoplus.adsl.tpnet.pl] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
09:44 -!- Whisller [n=Miranda@eqg51.neoplus.adsl.tpnet.pl] has joined #agavi
09:44 < RossC0> language!
09:45 < MikeSeth> cocks
09:46 < Strzalek> i'm back
09:46 < Strzalek> so MikeSeth can you show mi some big validate.xml with a number of declarations
09:46 < Strzalek> ?
09:47 < Wombert> woot
09:47 < Wombert> <:
09:47 < Wombert> svn status | awk '/^\?/ {print $2}' | xargs rm
09:47 < Wombert> <:
09:47 < Wombert> oh
09:47 < Wombert> _cheerios said so
09:47 < Wombert> <:
09:47 < Wombert> _cheerios: thanks
09:59 -!- Whisller [n=Miranda@eqg51.neoplus.adsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)]
09:59 -!- Whisller_ [n=Miranda@eqg51.neoplus.adsl.tpnet.pl] has joined #agavi
10:06 -!- icyt is now known as IcyT
10:09 < _cheerios> Wombert, np :)
10:09 < MikeSeth> Strzalek: umm lemme see
10:10 < Strzalek> I've got 15 min ;)
10:13 < _cheerios> RossC0, language indeed. Copies of python language reference manuals made it to ze office and I'm browsing one.
10:14 < _cheerios> so far ive learned what those u's and r's in front of strings mean
10:14 -!- Strzalek_ [n=strzalek@bxz186.internetdsl.tpnet.pl] has joined #agavi
10:17 < Wombert> doesn't sound like a good way to learn the language :p
10:18 < Wombert> learn what sequences are, what tuples are and dictionaries, and that strings are sequences etc
10:18 < Wombert> that's where the fun is
10:18 < Wombert> and look at map, reduce, find and list comprehensions
10:18 < _cheerios> well, i learnt a lot of that from blogs, skimming code, but they dont tell you about the boring stuff :)
10:18 < Wombert> and lambdas
10:18 < Wombert> it's not boring
10:18 < Wombert> it's ace
10:19 < Wombert> !
10:19 < _cheerios> reading comprehension++
10:19 < _cheerios> yeah, new stuff keeps me somewhat awake, might make it till 5pm without snoring too loud
10:21 -!- Whisller_ [n=Miranda@eqg51.neoplus.adsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
10:22 < Strzalek_> Ok, MikeSeth. I'll be back in 5-6 hours ;)
10:22 -!- Strzalek_ [n=strzalek@bxz186.internetdsl.tpnet.pl] has quit ["Leaving"]
10:22 < Wombert> _cheerios: srsly
10:22 < Wombert> set() rocks for instance
10:22 < Wombert> letters = set('zomglol');
10:22 < _cheerios> Wombert, you remember the rbac2 spec I made for agavi? Im rewiring it to work with an api-based approach, where the roles+permissions are handled entirely separately from the session
10:22 < Wombert> cool. show me when its done!
10:23 < Wombert> letters = ['z', 'o', 'm', 'g', 'l']
10:23 < Wombert> !
10:23 < Wombert> ace!
10:23 < _cheerios> "pydoc set" <-- helps
10:25 < MikeSeth> Strzalek: hm turns out i dont actually have any complicated validation cases
10:25 < Wombert> fridge = ['cheddar', 'camembert']
10:25 < Wombert> dowant = ['cheddar', 'mozzarella', 'feta']
10:25 < Wombert> mustbuy = dowant - fridge
10:25 < Wombert> wontbuy = dowant & fridge
10:25 < Wombert> afterwards = dowant | fridge
10:25 < Wombert> :>
10:25 < Wombert> if you like cheese
10:25 < Wombert> couldn't come up with sth else
10:26 < Wombert> oh man I so <3 python
10:26 < Wombert> :S
10:26 < MikeSeth> yeah
10:26 < MikeSeth> also Wombert
10:27 < MikeSeth> 1.0 is sched'd for september, right?
10:27 < Wombert> sez who ^^
10:27 < Wombert> shhht <:
10:27 < marklar|omni> haiz
10:28 < Wombert> how can I get conflicts in a merge if the files were never touched in the branch and the trunk and branch were in sync at the rev where I start merging
10:28 < Wombert> wtf wtf
10:28 < Wombert> marklar|omni: you wanted to tell bout fail at work
10:28 < marklar|omni> yeah
10:28 < marklar|omni> oracle keeps going down
10:29 < marklar|omni> and there is no dba
10:29 < marklar|omni> :(
10:29 < marklar|omni> it's full of deep-rooted fail
10:29 -!- Strzalek [n=strzalek@bxz186.internetdsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
10:33 < MikeSeth> oracle is aids
10:35 < marklar|omni> we've hired a dba tho
10:35 < marklar|omni> should be here next month hopefuilly
10:37 < MikeSeth> god help you
10:38 < marklar|omni> :(
10:43 < MikeSeth> thats especially scary coming out of an atheist, innit?
10:43 < MikeSeth> lol'd
10:46 < Wombert> dowant anon funcs
10:46 < Wombert> :S
10:46 < Wombert> $this->getParameter('name', AgaviToolkit::uniqid())
10:46 < Wombert> now needs hasParameter if()
10:46 < Wombert> why not
10:46 < Wombert> $this->getParameter('name', function() { return AgaviToolkit::uniqid()})
10:46 < Wombert> :S
10:46 < marklar|omni> :(
10:46 < marklar|omni> srsly
10:46 < Wombert> ya
10:46 < marklar|omni> anon funcs ftw
10:46 < Wombert> ohya
10:46 < marklar|omni> although they will be abused
10:47 < Wombert> do I care?
10:47 * marklar|omni foresees 50-100 line anon funcs in config files
10:47 < marklar|omni> heh
10:47 < marklar|omni> I'll just have to LART people
10:48 -!- prenk10 [n=prenk10@cpc2-stre3-0-0-cust310.bagu.cable.ntl.com] has joined #agavi
10:48 < prenk10> heyhey
10:49 < _cheerios> hello
10:50 < Wombert> hi Prenk10
10:51 < Wombert> hey
10:51 < Wombert> I just made Agavi::Validator::initialize() a thousand(!) times faster on linux
10:51 < Wombert> :>
10:51 < marklar|omni> lies
10:51 < marklar|omni> pics or it didnt happen
10:51 < Wombert> marklar|omni: you haz linux box?
10:51 < marklar|omni> mmm
10:52 < marklar|omni> yeah
10:52 < marklar|omni> this one, heh
10:52 < marklar|omni> just realized that
10:52 < marklar|omni> :D
10:52 < Wombert> php -r "\$x = microtime(true); for(\$i = 0; \$i < 100; \$i++) uniqid(); var_dump((microtime(true) - \$x));"
10:52 < Wombert> do that
10:52 < marklar|omni> sec
10:53 -!- nfq [i=nfq@dsl-145-212-18.telkomadsl.co.za] has joined #agavi
10:53 < marklar|omni> float(0.207113027573)
10:53 < Wombert> slow huh? 2ms for a call?
10:53 < Wombert> php -r "\$x = microtime(true); for(\$i = 0; \$i < 100; \$i++) uniqid('', true); var_dump((microtime(true) - \$x));"
10:53 < Wombert> now try that
10:53 < marklar|omni> float(0.00049090385437)
10:53 < marklar|omni> nice :D
10:54 < Wombert> and also
10:54 < Wombert> php -r "var_dump(uniqid(), uniqid(), uniqid('', true'), uniqid('', true'));"
10:54 < Wombert> uniqid() is just microtime() in hex ^^
10:54 < Wombert> ohwait
10:54 < Wombert> php -r "var_dump(uniqid(), uniqid(), uniqid('', true), uniqid('', true));"
10:54 < marklar|omni> yeah yea
10:54 < marklar|omni> string(13) "47dfbb11a9376"
10:54 < marklar|omni> string(13) "47dfbb11a9b7c"
10:54 < marklar|omni> string(23) "47dfbb11a9b816.44221507"
10:54 < marklar|omni> string(23) "47dfbb11a9be50.24981354"
10:54 < marklar|omni> heh
10:54 < prenk10> blasting us with php ahhh
10:55 < marklar|omni> outlook reminder to eat
10:55 < marklar|omni> bbiab
10:55 < marklar|omni> AHAHAHAAHA
10:55 < marklar|omni> just received mail
10:55 < marklar|omni> "Currently global monitoring system . Nagios is not working "
10:55 < marklar|omni> [...]
10:55 < marklar|omni> Please review the attached excel and give your feedbacks.
10:55 < marklar|omni> All time Nagios is down, monitoring will be done manually by me.
10:55 < marklar|omni> HAHAHA
10:55 < Wombert> wat
10:56 < _cheerios> Wombert, wow, quite the difference
11:02 < _cheerios> did you change uniqid() usage thruout agavi?
11:03 < MikeSeth> marklar|omni: "I C WHAT U PINGD THERE"
11:03 < MikeSeth> uniqid() is slow
11:05 -!- jtraub [n=konstant@87.225.21.162] has joined #agavi
11:05 < jtraub> Hello again
11:05 < jtraub> I am at home now
11:08 < jtraub> Wombert, can we talk now?
11:08 -!- Macen [n=leopard@host86-138-73-224.range86-138.btcentralplus.com] has joined #agavi
11:26 < E_mE> whats the URL to v-doggs CMS?
11:30 < Macen> the sample app?
11:30 < CIA-36> david * r2375 /branches/0.11/ (7 files in 6 dirs): Speed up unique ID generation, closes #731
11:31 < Macen> E_mE: it's on my old machine i can grab it if you want
11:31 -!- jtraub [n=konstant@87.225.21.162] has quit ["Ухожу"]
11:32 < CIA-36> david * r2376 /trunk/ (7 files in 6 dirs): merge [2375]
11:33 < E_mE> Macen: if you got the zip that would be great
11:34 < Macen> E_mE: not the sample app though the special one he did
11:34 < Macen> if you know what i mean
11:34 < Macen> it's a sample app
11:34 < Macen> but not the sample app
11:34 < E_mE> cms.zip
11:34 < Macen> i need to import it anyway
11:34 < Macen> sec
11:35 < Macen> have to boot up etc
11:35 < _cheerios> veikko.fi/cms.zip was the old url
11:36 < E_mE> didnt work :(
11:36 < _cheerios> wrong, http://veikko.fi/temp/cms.zip
11:36 < E_mE> thank you :)
11:37 < E_mE> poke pookey
11:37 < pookey> nope
11:37 < pookey> I'm not here
11:38 < _cheerios> MrJeep, to decorate your mbp http://www.flickr.com/photos/jundulate/1800568137/in/photostream/
11:38 -!- brasileiro_ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has joined #agavi
11:39 < MrJeep> omg
11:39 < Macen> oh you twat
11:39 < Macen> i just did it
11:40 -!- malax [n=malax@dialbs-088-079-085-107.static.arcor-ip.net] has joined #agavi
11:40 < Macen> ps "cms.zip agavi sample" it's #1 on Google
11:40 < E_mE> sorry, pookey i wanted to know where that real regex for email addresses was and was wondering if you knew :)
11:40 * pookey nodes
11:40 < pookey> it's incldued in sf actually.. one sec,
11:40 < E_mE> thanks
11:40 < malax> some huomenta-ish greetings.
11:41 < pookey> E_mE: http://trac.symfony-project.com/browser/branches/1.0/lib/validator/sfEmailValidator.class.php
11:42 < pookey> E_mE: oh, actually, that's not the same one, but... it's good enough ;)
11:42 < E_mE> thank you
11:42 < brasileiro_> $ro->gen(routename[, array parameters[, array options]]) <-- where do i see these "options"?
11:42 < pookey> E_mE: notice it can check DNS too, but it's not overly advisable
11:44 < v-dogg> brasileiro_: in the source :)
11:45 < v-dogg> personally I only need one - array('relative'=>false)
11:45 < v-dogg> you can probably figure out what it does
11:46 < v-dogg> E_mE: how 'bout using AgaviEmailValidator?-)
11:47 -!- IcyT is now known as icyt
11:49 -!- jtraub [n=konstant@87.225.21.162] has joined #agavi
11:50 < pookey> does a-z include things like ç ?
11:50 -!- simoncpu [n=soulfury@58.71.34.138] has quit ["weeee"]
11:52 < RossC0> _cheerios: python rocks - Wombert says so
11:53 < nfq> hey RossC0
11:53 < _cheerios> his example code didnt run, tho :)
11:53 < RossC0> hey nfq
11:53 < RossC0> concepts _cheerios
11:54 < nfq> RossC0 got a sec for a PM?
11:54 < RossC0> sure busy today though - last day! Woot!
11:54 < brasileiro_> v-dogg: i've already looked the source... i'm looking for a option to set the output type
11:54 < nfq> ah, cool!
11:54 < nfq> Congtrats!
11:59 < nfq> RossC0: can you join suitcase?
12:01 < E_mE> v-dogg: no agavi here atm :(
12:02 < E_mE> still his own system
12:07 < Macen> you started your new job E_mE ?
12:10 -!- nfq [i=nfq@dsl-145-212-18.telkomadsl.co.za] has quit []
12:20 -!- brasileiro_ [n=fdfdf@189-30-231-98.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)]
12:22 -!- brasileiro__ [n=fdfdf@201-11-236-159.smace701.dsl.brasiltelecom.net.br] has joined #agavi
12:25 * Macen pokes E_mE
12:25 < Macen> ..?
12:26 < Hamerr> good morning coders :)
12:26 < MikeSeth> E_mE: the regex is on regularexpressions.info
12:26 < MikeSeth> huomenta
12:27 < Hamerr> yeah
12:32 < v-dogg> brasileiro__: output type in $ro->gen()?
12:32 < v-dogg> do you mean gen('something+json') perhaps?
12:33 < a|K|a> good morning all
12:34 < brasileiro__> v-dogg: yeap
12:35 < Wombert> err
12:36 < MikeSeth> well the + syntax is for stacking routing rules for gen()
12:36 < Wombert> that only works if you have a callback or if the route that determines the output type is part of the standard input
12:36 < MikeSeth> it is not just for the output type
12:36 < Wombert> in case of json, I guess you use an accept header, not a different url (at least you should do that), so a) it doens't matter and b) cannot be done :p
12:37 < v-dogg> yup yup
12:37 < MikeSeth> Wombert: json is a nice transport format even if the other side isn't a browser ;>
12:37 < v-dogg> json was a bad example
12:37 < v-dogg> 'something+rss' :)
12:37 < Wombert> MikeSeth: yes, but still, doing it properly means you use Accept: headers to see what to serve
12:38 < MikeSeth> Wombert: you have too much faith in UA implementers, sir
12:38 < MikeSeth> i've got to see code like this
12:39 < MikeSeth> $http = $get ? 'GET' : 'POST' . " " . $url . " HTTP/1.1"
12:39 < brasileiro__> but extjs doesn't send the headers correctly... at least it doesn't contain "text/javascript" in the accept header
12:39 < Wombert> brasileiro__: but it sends HTTP-X-Requested-With: XMLHTTPRequest
12:39 < v-dogg> *cough* mootols...
12:39 < Wombert> so you can match that in a route
12:40 < Wombert> which I explained just this morning
12:40 < brasileiro__> v-dogg :P
12:40 < brasileiro__> Wombert: i've tried this one too... but it is not working... i dont' know why
12:40 < v-dogg> pastebin your routing.xml please
12:41 < brasileiro__> Wombert: how would be the line using X-Requested-With?
12:41 < brasileiro__> the route line
12:41 < Wombert> [13:39] Wombert: so you can match that in a route
12:41 < Wombert> [13:40] Wombert: which I explained just this morning
12:42 < Wombert> logs are your friend
12:42 < brasileiro__> :T ok
12:42 < MikeSeth> brasileiro__:
12:42 < jtraub> Wombert, can i rely on your help with advices and testing of my port?
12:42 < MikeSeth> yes, agavi can do that :D
12:43 < Wombert> I've just verified
12:43 < v-dogg> < theJackal> php + utf8 = hope you like security risks
12:43 < v-dogg> someone care to tell me what this guy is on about?
12:43 < Wombert> that ext sends this header
12:43 < Wombert> XMLHttpRequest is the value
12:43 < MikeSeth> v-dogg: speaking out of his ass after reading too much joel
12:44 < Wombert> jtraub: lets all discuss this here
12:44 < Wombert> throw in your ideas
12:44 < MikeSeth> jtraub: hey whatcha porting?
12:44 < jtraub> Now i am going to make an averview of existing build systems
12:44 < jtraub> MikeSeth, waf (http://code.google.com/p/waf/)
12:44 < jtraub> *overview
12:44 < MikeSeth> omg dzone.com
12:45 < MikeSeth> "Zend Framework vs. PEAR"
12:45 * MikeSeth facepalm
12:45 < Wombert> jtraub: good idea
12:45 < MikeSeth> you're porting that to PHP?
12:45 < v-dogg> hmm... I'm confused
12:45 < jtraub> MikeSeth, yep
12:45 < v-dogg> utf8 is a single-byte, right?
12:46 < MikeSeth> v-dogg: no
12:46 < MikeSeth> v-dogg: an utf8 literal can extend up to six octets
12:46 < MikeSeth> jtraub: nice
12:46 < Wombert> or you do
12:46 < Wombert> Ext.lib.Ajax.prototype.defaultHeaders = { ... }
12:47 < Wombert>
12:48 < MikeSeth> why cant i have emoticons in API names
12:48 < brasileiro__> Wombert: i don't know why it didn't work other day... but it works now
12:48 < Wombert> cool
12:48 < brasileiro__> Wombert: thanks again
12:48 < Wombert> my pleasure
12:49 < brasileiro__> you are helping me a lot :)
12:49 < MikeSeth> buy him beer ;D
12:50 < v-dogg> hey, another newbie question: is there any reason to use http auth digest (instead of basic) when talking with a desktop app over https?
12:50 < brasileiro__> i'll :)
12:50 < MikeSeth> v-dogg: its poorly implemented in webservers, and is still the same pass-through hack as plain
12:50 < MikeSeth> afaik that is
12:52 < v-dogg> so basic it is
12:52 < Wombert> the main point of digest auth is that it is secure even over HTTP
12:52 < Wombert> as basic sends clear text
12:52 < v-dogg> which is good because the desktop app's https component supports it
12:53 < Wombert> There is an important problem with implementing Digest access authentication. This is the requirement that either cleartext passwords or the HA1 hashes must be known in order to perform client response validation. If the authentication repository used to store passwords does not support looking up cleartext passwords or HA1 hashes, it is not possible to use HTTP Digest access authentication.
12:56 < Wombert> (sez wikipedia)
12:56 < marklar|omni> eh
12:56 < marklar|omni> wtf is the point then
12:56 < marklar|omni> brb meeting
12:59 -!- Whisller [n=Miranda@axm117.neoplus.adsl.tpnet.pl] has joined #agavi
13:00 < v-dogg> woot... propel bugs
13:00 < v-dogg> dammit
13:01 < MrJeep> I think the most beautiful sound in the universe is a god licking his own butt ...
13:01 < MrJeep> makes me feel sick
13:03 < _cheerios> MrJeep been looking for wisdom at the bottom of a bottle?
13:03 < MrJeep> ahaha no :P
13:04 < MrJeep> My dog is kindof... cleaing up right now and the sound is really disgusting
13:04 < MrJeep> cleaning*
13:05 < MrJeep> It sounds like she's drinking water.. .except you-know-where-the-tongue-is . .
13:05 < E_mE> Macen: yes i have
13:06 < Macen> E_mE: how is it?
13:06 < Macen> E_mE: what you expected?
13:10 < Wombert> a
13:10 < Wombert> -god
13:10 < Wombert> +dog
13:11 < v-dogg> Wombert: how do you know what kind of pets MrJeep has?
13:11 < Wombert> [14:01] MrJeep: I think the most beautiful sound in the universe is a god licking his own butt ...
13:11 < Wombert> [14:04] MrJeep: My dog is kindof... cleaing up right now and the sound is really disgusting
13:12 < v-dogg> oh :)
13:14 < MrJeep> :P
13:19 -!- malax [n=malax@unaffiliated/malax] has left #agavi ["Leaving"]
13:19 -!- malax [n=malax@unaffiliated/malax] has joined #agavi
13:23 -!- MrJeep_ [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
13:23 < E_mE> Macen: yes its great, just refactoring the whole site at the moment
13:23 < Macen> E_mE: busy busy eh
13:23 < E_mE> still have convinced him to use agavi, his worried about no documentation :S
13:23 < E_mE> jah
13:24 < Macen> he don't need it cause he has you :p
13:24 < Macen> poor me has nobody :(
13:24 < Macen> it's like trying to learn to drive blindfold
13:25 < Macen> a bad idea until you get used to it heh
13:38 < prenk10> meh you go away for an hour and come back to this ..... :P
13:40 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
13:50 -!- Macen [n=leopard@host86-138-73-224.range86-138.btcentralplus.com] has quit []
13:59 -!- Macen [n=leopard@host86-138-73-224.range86-138.btcentralplus.com] has joined #agavi
14:01 -!- eremit [n=eremit@p5B236837.dip.t-dialin.net] has joined #agavi
14:04 -!- eremit [n=eremit@p5B236837.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)]
14:04 -!- eremit [n=eremit@p5B236837.dip.t-dialin.net] has joined #agavi
14:15 < Macen> uh oh
14:15 < Macen> missed call from Panaz MD
14:15 * Macen eep
14:16 * Macen pets moneypenny.biz
14:22 < MikeSeth> ok whats the minimal php version for agavi
14:22 < MikeSeth> 5.2.2?
14:23 < Wombert> 5.1.3
14:24 < MikeSeth> <3
14:25 < E_mE> what the best method of caching article pages taht are in a database? So instead of requesting the article data from a database, it pulls it from a file in the filesystem. But if the database is updated, it needs to be able to change the cached article, whats the best method to take?
14:26 < Macen> mysql does that if you change the cache value in the mysql conf
14:26 < Macen> obviously php doesn't do anything different but it's very effective
14:27 < marklar|omni> memcached
14:27 < Macen> it's actually on by default, but the max cache size is set to zero
14:27 < Macen> so you aren't even loosing anything there
14:27 * Macen hides from the anti-mysql-crew
14:28 < MikeSeth> E_mE: invalidate caches explicitly upon update, and use the caching mechanism of the execution filter
14:28 < E_mE> MikeSeth: or delete cache so it needs to be generated again
14:30 < MikeSeth> well not the whole of it
14:51 < Wombert> E_mE: with agavi?
14:53 < trophaeum> Macen, thats very inefficient with high update tables and with large cache sizes
14:54 < trophaeum> E_mE, memcached ftw
14:54 * Macen is still hiding
14:54 < Macen> right
14:54 < Macen> i have the strangest problem ever..
14:54 < Macen>
14:54 < Macen> causes
14:54 < trophaeum> Macen, large cache sizes cause mysql to grunt and grind for ages when it flushes the cache
14:54 < Macen> function(fn, bind){ var results = []; for (var i = 0, l = this.length; i < l; i++) results[i] = fn.call(bind, this[i], i, this); return results; }
14:54 < Macen> to appear in IE
14:55 < trophaeum> Macen, plus theres the bonus of cluster scaling with the cache size easily with memcache :)
14:55 < Macen> trophaeum: works for me though
14:55 < Macen> trophaeum: i run several web sites with it
14:55 < trophaeum> Macen, not sayin it doesnt, just there is a different scale there :)
14:55 < Macen> trophaeum: i never experience any problems
14:55 < trophaeum> Macen, thats not to say i dont use it, just that i try to rely on other things though
14:55 < Macen> trophaeum: 20M is not big :)
14:56 < trophaeum> breaking 100m is
14:56 < Macen> plus, for those sorts of quiries
14:56 < Macen> queries* you should be excluding them from cache
14:56 < trophaeum> its not for big so much as millions of records in a single table that it caches
14:56 < Macen> anyway
14:58 < Macen> hm
14:58 < Macen> seems it was a rogue <
14:58 < Macen> but it validated on strict doctype :?
14:59 -!- saracen [n=saracen@91.84.44.214] has joined #agavi
15:01 -!- trophaeum [i=ofxzutur@ppp121-45-208-192.lns2.bne1.internode.on.net] has quit [Read error: 104 (Connection reset by peer)]
15:06 -!- MrJeep_ [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit []
15:09 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
15:14 -!- trophaeum [i=rlvalfv@ppp121-45-208-192.lns2.bne1.internode.on.net] has joined #agavi
15:16 < E_mE> Wombert: no agavi atm :( though alot of the features he wants to implement are very inspired by agavi i have to say
15:19 < marklar|omni> hi
15:19 < E_mE> hi
15:20 < marklar|omni> sup
15:20 -!- JamieWolf [n=benjamin@92.226.147.33] has joined #agavi
15:20 < JamieWolf> Huomenta!
15:21 < JamieWolf> I read on the agavi site, that you folks are planing to take part in the GSoC.
15:22 -!- digitarald [n=Miranda@168.Red-83-52-205.dynamicIP.rima-tde.net] has joined #agavi
15:22 < marklar|omni> too late, heh
15:22 < JamieWolf> What too late?
15:22 < marklar|omni> gsoc
15:22 < JamieWolf> Why this?
15:22 < digitarald> Huomenta!
15:23 < JamieWolf> Hey there
15:24 < E_mE> marklar|omni: designing category tree :D what you upto?
15:24 < Wombert> GSoC selection is over
15:24 < Wombert> we didn't make it in due to the lack of a proper website
15:24 < JamieWolf> Okay I see
15:24 < Wombert> which is a bummer, since our application was completely okay otherwise
15:24 < Wombert> (said google)
15:25 < JamieWolf> too bad, I was thinking about picking up on of the ideas
15:25 < digitarald> ah, websites are overrated
15:27 < marklar|omni> E_mE: writing jms stuff
15:27 -!- Macen [n=leopard@host86-138-73-224.range86-138.btcentralplus.com] has quit [Connection timed out]
15:28 < JamieWolf> Wombert might it still be possible to pick up one of the Ideas and work on them?
15:29 < MikeSeth> sure
15:29 < MikeSeth> in fact its greatly recommended
15:29 < JamieWolf> Because then yu can count me in.
15:31 < JamieWolf> I was thinking about writing the app for storing user-contributed code
15:32 < E_mE> marklar|omni: jms?
15:32 < MikeSeth> sounds like wet dream
15:32 < JamieWolf> *hmm tasty* :)
15:32 < marklar|omni> http://java.sun.com/products/jms/
15:32 -!- _cheerios [n=jackbo@ip-87-108-0-169.customer.academica.fi] has quit ["woot"]
15:36 < JamieWolf> I hope there will be still someone who might mentor me on the porject then
15:37 < MikeSeth> JamieWolf: we all will
15:37 < marklar|omni> even if you don't want to
15:37 < marklar|omni> s/to/us to/
15:39 < JamieWolf> hehe no, i will have a lot of questions, especially how to start of and where to start coding
15:39 < JamieWolf> see first question :D
15:39 < marklar|omni> 1. start up your computer
15:39 < marklar|omni> 2. start a text editor
15:39 < JamieWolf> done, done
15:39 < JamieWolf> get agavi, done
15:40 < marklar|omni> start coding
15:40 < marklar|omni> :D
15:41 * RossC0 likes ff3b makes my slow pc seem fast :D
15:41 < RossC0> (15:25:26) digitarald: ah, websites are overrated
15:41 < RossC0> they'll never catch on
15:42 -!- Strzalek [n=Strzalek@dma173.neoplus.adsl.tpnet.pl] has joined #agavi
15:42 < Wombert> guys
15:42 < RossC0> and girls
15:42 < Wombert> http://trac.agavi.org/ticket/732
15:43 < Wombert> I fixed this but
15:43 < MikeSeth> and traps
15:43 < Wombert> the result would be "foo bar ${foobar}"
15:43 < Wombert> i.e. the string is changed
15:43 < Wombert> I have a better approach that might also scale better, which extracts names from the string and looks those up in $arguments
15:43 < Wombert> it's 30% slower tho
15:44 < RossC0> Wombert: seems right to me
15:44 < marklar|omni> mmm
15:44 < Wombert> it would potentially scale better since more arguments don't slow it down as much
15:44 < marklar|omni> I'd actually expect the first result
15:44 < marklar|omni> tbh
15:44 < marklar|omni> :D
15:44 < Wombert> nah, not how php works
15:45 < Wombert> and I'd like similar behavior
15:45 < RossC0> hows it replacing?
15:45 < RossC0> a regex?
15:45 < Wombert> http://trac.agavi.org/changeset/2092
15:46 < Wombert> made it so much faster
15:46 < Wombert> a 30% slowdown won't matter ^^
15:46 < Strzalek> huomenta
15:46 < Strzalek> MikeSeth: I'm back ;)
15:46 < Wombert> it's not significant anyway. we're talking a millisecond maximum for the couple hundred calls agavi makes
15:48 < E_mE> whats the latest version of PHPUnit?
15:48 < E_mE> it appears it not been updated since 2002 :o
15:49 < Wombert> http://p.caboo.se/167333
15:49 < Wombert> http://phpunit.de/
15:51 < E_mE> danke
15:53 < Wombert> RossC0: ?
15:53 < MikeSeth> Wombert: http://img150.imageshack.us/my.php?image=roflbothdcltr0.jpg
15:54 < RossC0> Wombert: ok its slower but works correctly ? ;)
15:54 < Wombert> yes
15:55 < RossC0> and where / when is it used?
15:55 < Wombert> heh miek
15:55 < RossC0> mostly in compiling the xml?
15:55 < Wombert> no, solely at runtime
15:57 -!- nfq [n=nfq@dsl-145-221-125.telkomadsl.co.za] has joined #agavi
15:57 < RossC0> well its a fix and if needs to optimised in the future it can be.. 30% sounds big but in real terms if is 0.01 of a second then go with it
15:57 < MikeSeth> RossC0: last time I profiled, most of time was spent in function_exists() for whichever reason
15:58 < nfq> hey trophaeum
15:58 < RossC0> MikeSeth: yeap
15:58 < nfq> hey guys, how was the PHP conf in London?
15:58 < MikeSeth> nfq: lol you dont know? :>
15:58 < RossC0> other quicker better wins for speed
15:58 < RossC0> omg awesome!
15:58 < nfq> Nope!! heheh..
15:58 < nfq> Yeah?
15:58 < RossC0> MikeSeth: hit him with your press
15:58 < nfq> Cool to hear!
15:58 < MrJeep> im looking at zend framework screen cast
15:58 < MrJeep> and im not impressed
15:59 < MikeSeth> nfq: basically I caused shitstorm on the framework debate
16:00 < nfq> MikeSeth: shite, well in a good way I hope?
16:00 < nfq> you were evanglisiing agavi?
16:01 < MikeSeth> no
16:01 < MikeSeth> i didnt mention a word about it ;>
16:01 < nfq> hehe Sorry I missed it..
16:01 < nfq> what did you say? A summary?
16:03 < MikeSeth> that their frameworks are not mvc and their speeches amount to false advertising
16:03 < MikeSeth> pookey was one of the people who got caught in the crossfire :D
16:03 < nfq> ouch
16:03 * pookey cries
16:03 < Wombert> the difference gets smaller with more arguments passed to the function, RossC0
16:03 < nfq> cool, I love conflict debates
16:04 * Wombert hugs pookey
16:04 < Wombert> btw pookey you switching to agavi now or just hanging around stealing ideas for symfony? :)
16:04 < nfq> who's pookey?
16:04 * pookey is
16:04 < nfq> ah, a symphony dude?
16:04 < pookey> symfony, yes :)
16:04 < Wombert> well he gave a talk. are you on the dev team, pookey?
16:04 < nfq> wornd spelling, sorry!
16:04 < nfq> wrong!
16:04 < pookey> Wombert: I'm here to make sure MikeSeth doesn't say evil thigns! ;)
16:05 < Wombert> SO YOU ARE ON THE DEV TEAM?
16:05 < Wombert> ZOMG
16:05 < pookey> Wombert: kinda yeah, I just fix bugs that effect me, not develop as such...
16:05 < Wombert> dustin keeps telling me he wants to steal ideas!
16:05 < pookey> 50 or 6o commits maybe
16:05 < Wombert> zomg zomg we have a spy
16:05 < Wombert> spy spy spy
16:05 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit [Remote closed the connection]
16:06 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
16:06 -!- JamieWolf [n=benjamin@92.226.147.33] has quit ["Computer goes to sleep!"]
16:06 < Wombert> array_key_exists doesn't scale well
16:06 < Wombert> meh
16:06 < nfq> Wombert: you enjoyed the conf?
16:07 < Wombert> I did
16:07 < Wombert> and london
16:09 < nfq> London? Amazing or too many CCTv's?
16:09 < pookey> you can never have enough CCTV :D
16:09 < pookey> not when everyone is a terroist!
16:09 < nfq> pookey: you mean that?
16:10 < nfq> or you just teasing?
16:10 < pookey> partly ;)
16:10 < pookey> a bit of both
16:10 < pookey> CCTV on every street corner doens't bother me in the slighest
16:11 < nfq> well, it bother's me..
16:11 < nfq> but
16:11 < pookey> I don't think everyone is a terrorist though ;)
16:11 < nfq> even more, the attitude of there are too many terrorist bothers me..
16:11 < nfq> right
16:11 -!- Macen [n=leopard@host86-154-107-27.range86-154.btcentralplus.com] has joined #agavi
16:11 < Strzalek> pookey: did you used agavi?
16:12 < Macen> OMFG
16:12 < Macen> STUPID SHITTY IRC
16:12 < pookey> nah, not yet - I check it out from SVN, but then.. I think i did some gardening ;)
16:12 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi
16:12 < _cheerios> jee
16:12 < E_mE> thats why i live in cornwall, CCTV is quite minimal ;)
16:12 < RossC0> nfq one terrorist is too many
16:12 < Macen> OoOo the CCTV debate :D
16:12 < RossC0> anyway I oppose cctv's as I want royalties - they should pay me
16:12 < E_mE> terrorists are our good friends... HUG A TERRORIST DAY! :D
16:12 < nfq> RossC0: sure.. but CCTV doesn't help
16:12 < pookey> it's not like we dont have people preaching in our country to masses telling them to kill us all though
16:12 < nfq> E_mE: hehe
16:12 < Macen> of course CCTV helps
16:13 < RossC0> CCTV gives people jobs
16:13 < pookey> nfq: it helpedtrack down people involved wiht london bombings las ttime
16:13 < Macen> if you are doing nothing wrong what's your problem
16:13 < E_mE> the DNA database scares me more the CCTV to be honest, the police have a DB of 4 million records
16:13 < pookey> we probably c ouldn't have tracked it down without the masses of CCTV
16:13 < nfq> Well sure.. but the real guys, those are the problem
16:13 < nfq> and they are good
16:13 < E_mE> which are large quanity of those records are infact no criminals what so ever
16:13 < Macen> E_mE: imagine if the insurance companies got hold of it ....
16:13 < nfq> they get through anywhere
16:14 < E_mE> insurance = evil 99%
16:14 < nfq> Agavi always spurs these kinds of debates!
16:15 < pookey> I'd happily hand over some DNA for the police to store on their computers
16:15 < Macen> Agavi - The home of the troll™
16:15 < RossC0> yeah only the guilty have something to hide!
16:15 < nfq> pookey: you sound like an easy to please person
16:15 < RossC0> Agavi - The home of Crazy Guy™
16:15 < nfq> RossC0: man, sorry, but I disagree
16:16 < nfq> hehe
16:16 < RossC0> what you hiding nfq?
16:16 < nfq> we have a right to privacy
16:16 < nfq> hehe
16:16 < nfq> lots!
16:16 < RossC0> see!
16:16 < pookey> I don't see what I should fear from my DNA being on a computer somewhere
16:16 < pookey> or for my image to be stored on 100's of cameras for a day out in london
16:16 < nfq> well, in my opinion, it's not just about the DNA
16:16 < RossC0> me neither - but dna has convicted wrong people
16:16 < Macen> In America they are paranoid about "the state" taking over their lives but tbh I think our media is such a force they would never get away with anything that was disagreed with on the whole
16:16 < nfq> it's about the whole control
16:16 < pookey> RossC0: not DNA alone
16:17 < Macen> so let 'em do it
16:17 < RossC0> pookey: the belief that dna was incontrovertible has
16:17 < pookey> it's like.. my cell phone company can track me, I don't care
16:17 < pookey> I'm not going to stop using my cell :)
16:17 < Macen> DNA is too personal i think, it tells much more about us than even we ourselves know.. if something is going to be handed over to "the state" i'd at least like to know what it is
16:17 < RossC0> pookey: just have 6 cells
16:18 < pookey> RossC0: no, that offically makes you a suspect, seen the latest adferts in london?
16:18 < nfq> I love these debates
16:18 < RossC0> yeah makes me laugh
16:18 < nfq> which ones pookey ?
16:18 < pookey> RossC0: terrorists and drug dealers are the only people with more then 1 mobile, anyone seen with more then 1 should be reported
16:18 < pookey> nfq: ^
16:18 < pookey> nfq: it almost sounds like I'm joking - but... alas...
16:18 < nfq> pookey: that's fucked
16:18 < Macen> pookey: um..i have a business and personal mobile ;)
16:18 < pookey> meh, I have 2 mobiles, I'll give the police the numbers, the models, photos of them, I don't care :)
16:18 < Macen> pookey: lock me up and throw away the key!
16:19 < RossC0> its like the stazzi or something snitch on your neighbour
16:19 < nfq> I can't believe that the UK is becoming like a police state
16:19 < nfq> same in ,ch
16:19 < pookey> I tink we need MORE cameras
16:19 < Wombert> ah bollocks
16:19 < Wombert> this doesnt work
16:19 < Macen> tbh if the police went looking through my mobile phone records and i found out about it i'd get them fired for time wasting
16:19 < pookey> I'll have one in my street too, preferably coving my front door
16:19 < nfq> ah, Wombert is hear!
16:19 < nfq> pookey: ouch, I can't believe you are saying that!
16:19 < pookey> it's not 'active' monitoring, they don't sit there watching peopel 'for fun'
16:19 < nfq> you sound paranoid
16:20 < nfq> or you are just stirring!
16:20 < pookey> I *should* be paranoid
16:20 < nfq> why?
16:20 < nfq> What's ever happened to you?
16:20 < RossC0> I agree with pookey he should be paranoid
16:20 < pookey> nfq: I had a bike stolen from my back garden...
16:20 < Wombert> are you sure, pookey?
16:20 < RossC0> well his visits to Pakistan to see his uncles
16:20 < nfq> pookey: a bike?
16:20 < nfq> that's not bad!
16:20 < RossC0> *cough* terrorist training camps *cough*
16:20 < Wombert> there shall come the day where speed cameras scan your number plate and compare it to your cell phone usage data
16:20 < pookey> nfq: no, it's not the end of the world, but a camera coudl have lead to a conviction
16:21 < Wombert> and then you get fined for being on the phone while driving
16:21 < RossC0> Wombert: lol
16:21 < Wombert> or shops telling your health insurance how many packs of smokes you buy each day
16:21 < pookey> the kinda person that steals a bike, could go on and steal a car... If the police wnat to cover the outside of my house with cameras, bring it on
16:21 < RossC0> now thats paranoid
16:21 < Macen> How do i return $_SERVER['HTTP_USER_AGENT'] ... in agavi Wombert ?
16:21 < Wombert> return?
16:21 < nfq> pookey: crap. He could have been a kid
16:21 < Macen> Wombert: access
16:22 < pookey> nfq: exactly - catch them young, less likely to re-offend
16:22 < nfq> I did shit when I was in my youth days
16:22 < nfq> crap
16:22 < RossC0> lol pookey
16:22 < Wombert> it's an http header. hence unsafe. hence $rd->getHeader('User-Agent'); after validation
16:22 < pookey> kids who nick bikes should get a good beating from the cops, and just let loose again :)
16:22 < RossC0> nah they'll learn how to offend bigger crimes
16:22 < Wombert> not true
16:22 < Wombert> yea
16:22 < pookey> we need more ploice brutality!
16:22 < nfq> hehe
16:22 < pookey> any cocky 15 y/old who bad mouths a cop in the streets should just get a beating
16:22 < RossC0> yeah a good shoeing should come back in
16:22 < Wombert> [17:16] pookey: I don't see what I should fear from my DNA being on a computer somewhere
16:22 < RossC0> less paperwork
16:22 < Wombert> how bout you not getting a job due to increased risk for cancer or heart attacks
16:22 < pookey> RossC0: exactly!
16:23 < pookey> Wombert: my employer don't have access to the police database as far as I know
16:23 < RossC0> Wombert: we have more skilled jobs than people
16:23 < Wombert> pookey: and what if they do one day?
16:23 < Wombert> pookey: what if you spit a chewing gum into the bushes on the roadside
16:24 < Wombert> and there's a dead body
16:24 < Wombert> they have your dna, they have the chewing gum
16:24 < Wombert> there's the connection
16:24 < Wombert> that is not a problem per se
16:24 < Wombert> but with more and more and more surveillance and information about people
16:25 < Wombert> one day governments will have the idea that you could simply inverse the onus of proof
16:25 < Wombert> in certain cases
16:25 < Wombert> and then you're fucked
16:25 < Wombert> my favorite example
16:25 < RossC0> anyway whilst we're all on this: http://petitions.pm.gov.uk/ispphorm/
16:25 < Wombert> know why hitler was able to hunt down the jews so effectively?
16:25 < pookey> Wombert: break the law ,get punished, makes sense
16:25 < RossC0> SIGN!
16:25 < Wombert> pookey: what?
16:25 < Wombert> you didn't kill that person
16:25 < pookey> Wombert: I'd imagine police have somehting better to do then fine peopel for spitting chewing gum into pushes though
16:25 < Wombert> no
16:26 < Wombert> nono
16:26 < RossC0> Wombert: but there would be cameras to prove that
16:26 < Wombert> your dna is in the database
16:26 < nfq> pookey: some laws are ridiculous
16:26 < pookey> oh, sorry, I was AFK, I missed rather an important line ;)
16:26 < Wombert> your dna is on the body
16:26 < nfq> and breaking them is inevitable
16:26 < pookey> Wombert: yes, that's why we need more cameras ;)
16:26 < RossC0> also dna proof alone is not enough
16:26 < Wombert> anyways, back to hitler
16:26 < Wombert> he had a database from the weimar republic
16:26 < RossC0> Wombert: anyways, back to hitler
16:26 < RossC0> germans!
16:26 < Wombert> health insurance
16:26 < Macen> ["_SERVER"]=>
16:26 < Macen> object(AgaviRoutingArraySource)#200 (1) {
16:26 < RossC0> always the same
16:26 < pookey> Wombert: but, if the DNA proved I was there, in that area, at the time, sure.. the police SHOULd contact me, I might be able to provide useful evidence
16:26 < Macen> how do i access that?
16:26 < pookey> they wno't arrest me for being htere, and couldn't
16:26 < Wombert> it stored religious affiliation
16:27 < Wombert> pookey: but they might, one day
16:27 < Wombert> [17:25] Wombert: one day governments will have the idea that you could simply inverse the onus of proof
16:27 < Wombert> "it's cheaper"
16:27 < Wombert> "and we have nothing to hide"
16:27 < Macen> :(:(:(:(:(:(:(
16:27 < RossC0> pookey: Wombert is making a good point, its not about this govt or even the next its the one after - you cant predict the future
16:27 < Wombert> and about that ISP porn thing
16:27 < Wombert> did you hear about australia?
16:27 < Wombert> they want filters that are on by default
16:27 < Wombert> to filter CHILD PORN
16:27 < Wombert> like FILTERING it away was a solution
16:27 < RossC0> http://www.openrightsgroup.org/
16:27 < Wombert> and what if I opt out?
16:28 < pookey> RossC0: true, but... I'm still happy to live in a safer now, if we get a nazi-like leadership at any point, if they want DNA, they will take it
16:28 < Wombert> am I not suspicious?
16:28 < pookey> I think you should be suspicious automatically if you opt out ;)
16:28 < RossC0> right I have 5 mins of this job - bye all!
16:28 < Wombert> Macen: why don't you listen?
16:28 < Wombert> [17:22] Wombert: it's an http header. hence unsafe. hence $rd->getHeader('User-Agent'); after validation
16:28 < Wombert> RossC0: bai. you back next week?
16:28 < RossC0> yeap but as Rozza
16:28 * Wombert hugs RossC0 again for ze gift
16:29 < Wombert> okay enjoy the holidays
16:29 < RossC0> I have two identities - because I'm dodgy!
16:29 < Wombert> and have a good start ino the new job
16:29 < Wombert> hope they allow irc there
16:29 < RossC0> woot Python ftw!
16:29 < Wombert> pookey: and why?
16:29 -!- RossC0 [n=RossC0@80.4.120.163] has left #agavi []
16:29 < Wombert> who says some wacko in the government won't use the filter to censor stuff they don't like?
16:29 < Wombert> or just the ISP filtering forums with bad feedback?
16:30 < Wombert> your current gov't isn't evil?
16:30 < Wombert> neither is mine
16:30 < Wombert> can you be sure about the next one?
16:30 < Wombert> look at russia, venezuela, iran
16:30 < pookey> if the next one is, they will put up CCTV if they want it, or take DNA if they want it
16:31 < pookey> by allowing the current one to do it, I don't see how it's effecting the future - might make it slightly easier for Evil Leader to do evil stuff, but if he's evil, he'll do it anyway
16:32 < pookey> it's about where to draw the line, and everyones gonna want to draw it in a different place
16:32 < pookey> my line, is jhust slightly behond the 'give police my DNA and put cameras on my street' line ;)
16:32 < Wombert> why does the government have to know what phone calls I make?
16:33 < Wombert> why does police need your dna?
16:33 < pookey> and why shouldn't they know, and why shouldn't they have it? calls will be anazlied by software, not reviewed by humans unless it's flagged , DNA coudl be useful to help get witnesses....
16:34 < pookey> I've had this argument so many times, and no one every changes there mind, it's pretty pointless ;)
16:34 < nfq> Wombert: so far, I am with you.. I can't stand paranoid attitude!
16:36 < Wombert> well pookey's paranoid about getting his bike stolen, I'm paranoid about his data getting lost, like so often in the UK, and ending up in the hands of criminals
16:36 * pookey is a criminal :(
16:36 < Wombert> there has to be a proportion between the freedom you give up and the safety you gain from it
16:36 < Wombert> and that's just not there
16:36 < Wombert> you'll still get mugged, the camera doesn't help you
16:37 < Wombert> and the bike is long gone
16:37 < pookey> it coudl lead to the arresh of the guy.... and stop it happening to someone else though
16:37 -!- brasileiro__ [n=fdfdf@201-11-236-159.smace701.dsl.brasiltelecom.net.br] has quit [Success]
16:37 < pookey> who's going to steal a bike, if they know that they will be recorded with it right back to their own front door?
16:38 < Wombert> seamless CCTV?
16:38 < pookey> woudln't that be cool? ;)
16:38 < Wombert> scary. I want to move about freely. I have the right to. as long as I stay within the boundaries of the law, it's none of the govt's business
16:39 < Wombert> despite the fact that, again, criminals will get hold of it and blackmail you with the recording of where you cheat on your wife
16:39 < Wombert> or whatever it is
16:39 < trophaeum> 'wont somebody please think of the children' *disappears :)
16:40 < Wombert> and then some moron will push the line a bit further and make a law that allows facial recognition and submission of people who pretend to be sick but are on a shopping afternoon to their employers
16:40 < Wombert> because, ooh, it hurts the economy so much, and it's just a couple of lines of code
16:40 < pookey> it's paranoia eitehr way
16:41 < pookey> you're paranoid on one side, I'm paranoid on theother :)
16:42 < trophaeum> man, its been about 12hrs since i put in a reboot request... server still offline
16:44 < a|K|a> wtf
16:44 < a|K|a> that blows
16:44 < trophaeum> ipowerweb.com NEVER TOUCH THEM!
16:44 < trophaeum> biggest mistake ever
16:44 < MikeSeth> hahahahah
16:44 < MikeSeth> google before you buy
16:45 < pookey> you get what you pay for with hosting IMO
16:45 < pookey> generally anyway
16:45 < pookey> although.... ' IPOWERWEB is the Leader in Web Hosting'
16:45 < pookey> it says so on their site, it must be true
16:45 < trophaeum> MikeSeth, someone else got this cheap and i pretty much inherited it
16:46 < MikeSeth> pookey: the $10 rule of web design
16:46 < MikeSeth> If you order a "web page" for $10, you get a web page for $10
16:47 < trophaeum> they aparently host over 400k domains
16:47 < trophaeum> w00t
16:47 < trophaeum> wankers -_-
16:48 < a|K|a> hahah
16:50 -!- JanK_ [n=JanK_@muedsl-82-207-253-169.citykom.de] has joined #agavi
16:51 -!- shrink0r [i=shrink@i59F7C14D.versanet.de] has joined #agavi
16:51 -!- saracen [n=saracen@91.84.44.214] has quit [Read error: 113 (No route to host)]
16:51 < shrink0r> hi @ll
16:52 -!- JanK_ [n=JanK_@muedsl-82-207-253-169.citykom.de] has quit [Client Quit]
16:53 < a|K|a> sap
16:56 < Macen> Wombert: ah, thank you
16:56 < Macen> trophaeum: typical example of 'ignore the competition'
16:57 < Macen> trophaeum: i was taught from a young age to never take too much interest in what the 'other guy' is doing
16:57 < Macen> trophaeum: on reflection i think it's true..
16:57 -!- Strzalek_ [n=Strzalek@dkb165.neoplus.adsl.tpnet.pl] has joined #agavi
16:58 < _cheerios> http://devzone.zend.com/article/3030-Lifting-the-Skirt-on-Zend-Framework-1.5---Zend_Form // seems like it could be mighty useful, just missing a nice intro to put it in perspective
16:59 -!- Strzalek [n=Strzalek@dma173.neoplus.adsl.tpnet.pl] has quit [Nick collision from services.]
16:59 -!- Strzalek_ is now known as Strzalek
17:04 < trophaeum> i think i just made another agavi convert (from zend mvc)
17:05 < _cheerios> anyone used Builbot for CI?
17:05 < _cheerios> *buildbot
17:11 -!- digitarald [n=Miranda@168.Red-83-52-205.dynamicIP.rima-tde.net] has quit ["I'll come back ... digitarald.de"]
17:16 -!- MrJeep_ [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
17:17 < MrJeep_> trophaeum: From the screen cast of Zend, I'm not impressed
17:17 < E_mE> can PDO handle data sets?
17:17 < MrJeep_> trophaeum: seems like zend makes yet another spagetti-code application
17:17 < trophaeum> MrJeep, im with u, i liked it at 1 point but i hadnt seen alternatives back then, now i hate it after using it
17:18 < trophaeum> ahhhh, spagetti monster from south park *grin*
17:18 < MrJeep_> they seems to follow all the same pattern from what I've seen so far
17:18 < MrJeep_> which is
17:18 < MrJeep_> controler -> someActionMethod()
17:19 < MrJeep_> agavi handles so much stuff in actions
17:20 < MrJeep_> when agavi's doc will be completed, It will surely get to the top
17:20 < jtraub> BTW
17:20 < MrJeep_> however it will be (I think) named "an advanced framework"
17:20 < jtraub> Have you tried to use Xinc?
17:21 < jtraub> It uses Phing
17:21 < jtraub> as default builder
17:21 < MrJeep_> it's not as easy as other, but once you've learned it it can do so much more
17:25 -!- brasileiro__ [n=fdfdf@201-11-236-159.smace701.dsl.brasiltelecom.net.br] has joined #agavi
17:28 < _cheerios> btw. what could be wrong with my local setup when agavi execution filter says page loaded in 0.0xx, yet the page actually loads after a second. (no db setup/calls involved)
17:30 < _cheerios> ah, right, the development env cache buildtime isnt reflected.
17:32 -!- JamieWolf [n=benjamin@92.226.147.33] has joined #agavi
17:33 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
17:35 -!- JamieWolf [n=benjamin@92.226.147.33] has quit [Client Quit]
17:36 -!- icyt is now known as IcyT
17:40 -!- Whisller [n=Miranda@axm117.neoplus.adsl.tpnet.pl] has quit [Connection timed out]
17:41 < E_mE> byeee
17:44 < Wombert> jtraub: man sorry for being so busy today
17:44 -!- brasileiro [n=fdfdf@201-11-236-159.smace701.dsl.brasiltelecom.net.br] has joined #agavi
17:44 < Wombert> impl should be here very soon to talk to bout the build stuff
17:45 < Wombert> but you're GMT+10 or so rightß
17:45 < jtraub> Wombert, don't worry
17:45 < jtraub> we can talk tomorrow
17:46 < Wombert> what time zone are you jtraub
17:47 < jtraub> +10 UTC
17:47 < brasileiro> to save more information about the user do i need to override the initialize and shutdown function in the ProjectBaseUser class?
17:48 < Wombert> brasileiro: hmm
17:48 < Wombert> you should give a meaningful name btw, not "Project"
17:48 < Wombert> but what do you want to store?
17:48 < Wombert> also, please use startup()
17:48 < brasileiro> id and username
17:48 -!- brasileiro__ [n=fdfdf@201-11-236-159.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)]
17:49 < Wombert> did you look at the sample app user?
17:49 < brasileiro> yeap
17:52 < brasileiro> but it stores nothing more than AgaviSecurityUser
17:55 < CIA-36> david * r2377 /branches/0.11/ (CHANGELOG src/util/AgaviToolkit.class.php): Fixed #732: AgaviToolkit::expandVariables replacing is too greedy
17:55 < CIA-36> david * r2378 /trunk/ (CHANGELOG src/util/AgaviToolkit.class.php): merge [2377]
17:55 < shrink0r> if you only want to store id and username couldn't you just set them in the user attributes?
17:56 < v-dogg> yup
17:56 < Wombert> well in a login method
17:57 < v-dogg> and should you want to load e.g. a propel object based on that userid, do it in myuser::startup
17:57 < v-dogg> after calling parent::
17:58 < brasileiro> but it is being set... but in the next request there is nothing more in the user unless what is being saved by AgaviSecutiryUser class
17:58 < brasileiro> $this->authenticated and $this->credentials
17:58 -!- jtraub [n=konstant@87.225.21.162] has quit ["Ухожу"]
17:59 < v-dogg> brasileiro: and you use _Attributes_ not parameters?
17:59 < brasileiro> wait
18:00 < v-dogg> $this->context->getUser()->setAttribute('persistent_stuff', $value [,'name.space'])
18:01 < prenk10> meh dont you pass something to get user?
18:01 < v-dogg> ?
18:01 < prenk10> or is that the function of name.space?
18:01 < v-dogg> not sure what you mean
18:02 -!- shrink|da [i=shrink@i59F7C14D.versanet.de] has joined #agavi
18:02 < v-dogg> context::getUser() returns your user implementation, not an ORM object or anything
18:02 -!- shrink0r [i=shrink@i59F7C14D.versanet.de] has quit [Read error: 104 (Connection reset by peer)]
18:03 < prenk10> fair enough
18:03 < shrink|da> brasileiro: if you're using a propel model don't forget to reload refenreced object collections in the startup method, since they don't get serialized with your user object
18:03 -!- brasileiro_ [n=fdfdf@201-11-236-159.smace701.dsl.brasiltelecom.net.br] has joined #agavi
18:06 < brasileiro_> \o/ weee... now it has login \o/
18:08 < Wombert> user implementation means session interface
18:09 < brasileiro_> i knew that... i hadn't seen the $this->attributes... now i understood how it works
18:11 < shrink|da> brasileiro: I don't know if it helps but you can take a look at a user I wrote for an app I did shortly: http://nopaste.php-quake.net/19846
18:11 < brasileiro_> O.o
18:14 < brasileiro_> $storage->write(self::USER_NAMESPACE, $this->user); that is what i thought i must to do... but using $this->attributes worked as well...
18:17 < Wombert> nononono
18:17 < Wombert> don't do that
18:17 < Wombert> just se attributes on the user
18:17 < Wombert> and _always_ do it in namespaces
18:18 -!- brasileiro [n=fdfdf@201-11-236-159.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)]
18:19 < brasileiro_> is it too stupid ask why?
18:19 < shrink|da> i'm off for a date ^^ bbl
18:19 -!- shrink|da [i=shrink@i59F7C14D.versanet.de] has quit []
18:21 < Strzalek> Why namespaces are _so_ important?
18:22 -!- JanK_ [n=JanK_@muedsl-82-207-253-169.citykom.de] has joined #agavi
18:23 < Wombert> ...
18:23 < Wombert> because you set a var "foo" in the session
18:23 < Wombert> and then I come along, give you my nice WhateverFilter, and that too wants to store "foo"
18:24 -!- IcyT is now known as icyt
18:29 < brasileiro_> and what if i override the AgaviUser::$storageNamespace in MyProjectBaseUser class?
18:29 < CIA-36> david * r2379 /branches/0.11/ (CHANGELOG src/config/xsd/routing.xsd): Fixed #734: routing.xsd does not allow dynamic expressions in output_type attribute
18:30 < CIA-36> david * r2380 /trunk/ (CHANGELOG src/config/xsd/routing.xsd): merge [2379]
18:30 < prenk10> woop
18:32 < MrJeep_> would it be a good idea to convert automatically false value to (int) 0 in the form population filter ?
18:33 < MrJeep_> when I pre-populate a form it has problem if a given value is false
18:33 < CIA-36> david * r2381 /branches/0.11/ (CHANGELOG src/routing/AgaviRouting.class.php): got rid of parseDynamicSet() and resolveDynamicSet() in routing and replaced with AgaviToolkit::expandVariables - much simpler code now. also speeds things up and fixes #733 cause that code is gone. closes #708
18:33 < CIA-36> david * r2382 /trunk/ (CHANGELOG src/routing/AgaviRouting.class.php): merge [2381]
18:34 < Wombert> brasileiro_: that is something different. that is the namespace it uses in the _storage_
18:35 < Wombert> aight guys. what do we do about http://trac.agavi.org/ticket/707 now
18:35 < MikeSeth> MrJeep_: I dont think so. empty values are semantically different from 0's
18:35 < MrJeep_> even boolean false ?
18:35 < Wombert> for checkboxes or so?
18:35 < Wombert> or dropdowns?
18:35 < Wombert> we've had that before IIRC
18:36 < MrJeep_> yeah for checkboxes
18:36 < Wombert> there was some stuff I fixed and other stuff I couldn't fix as there were ambiguities IIRC
18:36 < Wombert> I believe it regards a boolean true as checked for checkboxes that do not have a value attribute
18:36 < Wombert> otherwise, it mandates the value
18:37 < MrJeep_> manually converting the value fixe the problem
18:37 < MrJeep_> but I htink there could be a more elegant solution to the problem
18:37 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection]
18:38 < MrJeep_> i changed some checkbox for yes-no radio
18:38 < MrJeep_> since it's hard to update a checked to unchecked checkbox with propel->fromArray()
18:38 < MrJeep_> :P
18:39 < MrJeep_> but hte same problem remain, true translates to 1 but false to (nothing)
18:42 -!- icyt is now known as IcyT
18:43 < _cheerios> yer, $xml->text(;b:0) becomes empty. was on this issue myself when playing with xml earlier today.
18:44 -!- JanK_ [n=JanK_@muedsl-82-207-253-169.citykom.de] has quit [Read error: 104 (Connection reset by peer)]
18:44 -!- JanK_ [n=JanK_@muedsl-82-207-253-169.citykom.de] has joined #agavi
18:45 -!- Macen [n=leopard@host86-154-107-27.range86-154.btcentralplus.com] has quit []
18:58 -!- JanK_ [n=JanK_@muedsl-82-207-253-169.citykom.de] has quit []
19:22 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:22 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
19:23 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:28 -!- nfq [n=nfq@dsl-145-221-125.telkomadsl.co.za] has quit []
19:35 < Strzalek> Is this the simplest way to set populate data?
19:35 < Strzalek> $this->getContext()->getRequest()->setAttribute('populate', array("product_form" => $rd), 'org.agavi.filter.FormPopulationFilter');
19:37 < MikeSeth> Strzalek: yeah, we usually make an alias in the base view though :)
19:38 < Wombert> _cheerios: what?
19:39 < _cheerios> Wombert, with xmlwriter that i was using earlier today. that was a serialized false :)
19:39 < Wombert> Strzalek: you might wanna do sth like $this->rq = ...; $this->ro = ...; in your ProjectBaseiew::initialize
19:39 < Wombert> _cheerios: ah :p
19:40 < Wombert> MrJeep_: make me a convincing reproduce case against the sample app and we can discuss it <:
19:49 < Strzalek> Wombert: yes I wolud like to do like that. It's nicer
19:49 < Strzalek> But
19:49 < Strzalek> $this->getContext()->getRequest()->setAttribute('populate', array("product_form" => $rd), 'org.agavi.filter.FormPopulationFilter');
19:49 < Strzalek> Sorry
19:49 < Strzalek> http://pastebin.ca/947881
19:49 < Strzalek> Don't work ;/
19:49 < impl> good afternoon
19:50 < Wombert> $rd -> setParameter("product", $product);
19:50 < Wombert> why do you do this?
19:50 < Wombert> aww
19:50 < Wombert> nono not like that
19:50 < Strzalek> Hmm. I thought that I have to put form to populate to request data
19:50 < Wombert> yes
19:50 < Wombert> but
19:51 < Wombert> to assign stuff to the templat
19:51 < Wombert> e
19:51 < Wombert> always use $this->setAttribute()
19:51 < Strzalek> Ahhhh
19:51 < Strzalek> :D
19:51 < Wombert> do you do that usually?
19:51 < Wombert> for data that belongs in the template? <:
19:51 < Strzalek> No, no
19:51 < Strzalek> never
19:51 < Strzalek> :D
19:51 < Wombert> $this->setAttribute('foo', 'bar');
19:51 < Strzalek> yes, yes I kno
19:51 < impl> Wombert: in Mojavi 2 $request->setAttribute('name', 'value') was the way to go
19:51 < Wombert> then in the template you have $template['foo']
19:51 < Wombert> okay
19:51 < Wombert> impl: yea
19:51 < Wombert> Strzalek: okay but back to your FPF question
19:52 < Wombert> this is EditInput
19:52 < Wombert> you want to show the stuff for the first time
19:52 < Wombert> in a GET/read request
19:52 < Wombert> so you need to pass the data to the FPF
19:52 < Wombert> you do that by giving it a parmeter holder
19:52 < Wombert> the request data holder happens to be a parameter holder, yea, but that's not good ;)
19:53 < Strzalek> now I'm refactoring my application becouse I have improve my "agavi skills" and thought that can make simpler this part with FPF
19:53 < Wombert> $this->rq->setAttribute('populate', array("product_form" => new AgaviParameterHolder($product)), 'org.agavi.filter.FormPopulationFilter');
19:53 < Wombert> that will work
19:53 < Wombert> $this->getContext()->getRequest()->setAttribute('populate', new AgaviParameterHolder($product), 'org.agavi.filter.FormPopulationFilter');
19:53 < Wombert> will work, too
19:54 < Wombert> if your form's URL is the same as the current URL
19:54 < Strzalek> Ok. So if i want or not I must put array("form_id" => [object of AgaviParameterHolder])
19:54 < Wombert> the first method above explicitly states the form ID (you can also populate more than one form using this method)
19:54 < Wombert> no
19:54 < Wombert> you need that only if the form's action="..." differs from the current URL
19:55 < Wombert> $this->rq->setAttribute('populate', true, 'org.agavi.filter.FormPopulationFilter');
19:55 < Strzalek> Hmm. When the same I cant setAttribute and the magic happens :) ?
19:55 < Strzalek> can*
19:56 < Wombert> that tells FPF to force repopulation even if it would normally not operate, usually because the request method is not in the whitelist of methods to automatically run on
19:56 < Wombert> similarly, false prevents the repopualtion even if it would
19:56 < Wombert> again, you can do array('form_id' => true) etc to force/prevent population granularly
19:56 < Wombert> in your case, both
19:56 < Wombert> $this->rq->setAttribute('populate', array("product_form" => new AgaviParameterHolder($product)), 'org.agavi.filter.FormPopulationFilter');
19:56 < Wombert> and
19:56 < Wombert> $this->rq->setAttribute('populate', new AgaviParameterHolder($product), 'org.agavi.filter.FormPopulationFilter');
19:57 < Wombert> should work
19:58 < Wombert> you could also make a convenience method in your base view
19:58 < Strzalek> Wombert: yes, yes it works. I've searched for solution to simply set true, and that's all. My mistake was setting parameter in $rd not simply attribute
19:58 < Strzalek> Wombert: what do you mean?
19:58 < Wombert> sth like $this->populate($product);
19:58 < Wombert> that's what base views are for! :)
19:58 < Strzalek> Yes, yes.
19:59 < Strzalek> Wombert: of course I use BaseViews
19:59 < Strzalek> :)
19:59 < trophaeum> oh this gets better and better
19:59 < Wombert> maybe show me the final view when it's done
19:59 < Wombert> trophaeum: what?
19:59 < trophaeum> its now close to 20hrs since the initial reboot request
19:59 < Wombert> heh
19:59 < trophaeum> and i get told it'll be done within 6hrs
19:59 < trophaeum> ROFLMFAO
19:59 < Strzalek> Generally I know Agavi very good
19:59 < impl> trophaeum: what's going on?
19:59 < Strzalek> But have some "holes" in knowlage ;)
19:59 < Strzalek> Huh, my english ;/
19:59 < Wombert> that's why we're happy to help <:
19:59 < trophaeum> impl, a server needed a reboot, dead, no response, simple right? 20min response max?
20:00 < impl> yeah
20:00 < trophaeum> no, 20hrs, about 6 of which screwing around with support to get told wtihin 6hrs it will be rebooted
20:00 < impl> sounds like epic fail
20:00 < trophaeum> man, no matter what it takes im gonna make the frontpage of digg tearing these guys to shreds
20:07 < Strzalek> Wombert: Love your comprehensive answers. You're great guy ;)
20:20 < Strzalek> What BaseView::populate method have to do besides telling the FPF to populate?
20:30 -!- prenk10 [n=prenk10@cpc2-stre3-0-0-cust310.bagu.cable.ntl.com] has quit [Read error: 104 (Connection reset by peer)]
20:31 -!- prenk10 [n=prenk10@cpc2-stre3-0-0-cust310.bagu.cable.ntl.com] has joined #agavi
20:32 < Wombert> whatever you like, Strzalek
20:32 < Wombert> you call it, after all :p
20:32 < Strzalek> Hahaha, right.
20:33 < Strzalek> Ok, but have now some problems with populating
20:33 < Strzalek> $this -> getContext() -> getRequest() -> setAttribute('populate', new AgaviParameterHolder($data), 'org.agavi.filter.FormPopulationFilter');
20:33 < Strzalek> Don't work
20:33 < Strzalek> Hmm
20:34 < Wombert> do you call that method?
20:35 < Wombert> it's not gonna work just sitting there
20:35 < Wombert> you have to do $this->populate($products); :p
20:35 < Strzalek> Heheh, Wombert of course :P
20:35 < Strzalek> Come on ;P
20:35 < Wombert> hehe
20:35 < Wombert> sorry :)
20:35 < Strzalek> ;))
20:36 < Strzalek> Hmm, and tried to do with setting attribute, and populate true
20:36 < Strzalek> also don't work
20:37 < Wombert> can't be :p
20:37 < Wombert> if the code works in execute(), it must work there
20:37 < Wombert> but
20:37 < Wombert> gotta run
20:38 < Wombert> still in the office
20:38 < Strzalek> Hmm. Maybe I do sth worng
20:38 < Wombert> meh
20:38 < Wombert> bai
20:38 < Strzalek> Hmm, old good array(form_id, object) always works :P
20:38 < Strzalek> Ok, let's check
20:38 < Strzalek> ;]
20:38 -!- Wombert [n=Wombert@dialbs-213-023-052-058.static.arcor-ip.net] has quit []
20:51 -!- brasileiro_ [n=fdfdf@201-11-236-159.smace701.dsl.brasiltelecom.net.br] has quit [Read error: 110 (Connection timed out)]
21:03 -!- malax [n=malax@unaffiliated/malax] has joined #agavi
21:05 -!- Arme[N] is now known as Arme[0]
21:16 -!- Wombert [n=Wombert@dslb-088-064-060-108.pools.arcor-ip.net] has joined #agavi
21:36 < MrJeep_> Wombert: you want me to take the sample app and show the problem I have ?
21:37 < Wombert> check out agavi, reproduce the poblem, svn diff > zomg.patch, and then I can take a look
21:38 < MrJeep_> oh but I didn't fix the FPF
21:38 < MrJeep_> but I can reproduce the problem
21:38 < Wombert> yes but reproduce the problem in the sample app login form
21:38 < MrJeep_> ok perfect
21:38 < MrJeep_> (woot me = help agavi)
21:45 -!- prenk10 [n=prenk10@cpc2-stre3-0-0-cust310.bagu.cable.ntl.com] has quit []
21:47 -!- Strzalek [n=Strzalek@dkb165.neoplus.adsl.tpnet.pl] has quit ["Leaving"]
21:54 < MrJeep_> Wombert: http://pastie.caboo.se/167527
21:56 < MrJeep_> change false to true and the 'yes' option is checked
21:56 < MrJeep_> same thing would happen with a checkbox
22:25 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection]
22:38 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["jee"]
23:06 -!- MrJeep_ [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit []
23:26 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
23:32 -!- shrink0r [i=shrink@i577B6283.versanet.de] has joined #agavi
23:33 < shrink0r> hi
23:39 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit []
23:49 < shrink0r> http://nopaste.us/65 is there a better way to do the validation for the dependencies?
23:51 < shrink0r> in line 20 and 54 I would check against the same request parameter and provide a dependency for the following validators. atm I've put the validation mode to notice to keep em silent
23:51 < shrink0r> I think this might not be pretty
--- Day changed Wed Mar 19 2008
00:08 < Wombert> provides="getdata_validation getuser_validation"
00:08 < Wombert> like that? :)
00:09 * Wombert pokes shrink0r
00:10 < shrink0r> *processing*
00:11 < shrink0r> uhm, yeah
00:11 < shrink0r> probally
00:11 < shrink0r> omg, things can be so easy
00:11 < shrink0r> ^^
00:11 < shrink0r> that was giving me a headache for the last 20 hours
00:12 < shrink0r> big up wombert
00:12 < shrink0r> thx
00:14 < shrink0r> well, actually... I would have to group them in an OrValidator right?
00:15 < shrink0r> or how would I point the differnce between getdata_validation and getuser_validation?
00:15 < shrink0r> *point out
00:28 < Wombert> eh?
00:28 < Wombert> what exactly do you want to do
00:29 < shrink0r> well, if the method_name equals == foo then only execute the validators depending on foo_validation
00:29 < shrink0r> if method_name == bar then only execute validators depending on bar_validation
00:29 < shrink0r> and so on
00:30 < shrink0r> so depending on the given method I would only validate the parameters that go along with it
00:30 < Wombert> ah
00:30 < Wombert> okay
00:31 < Wombert> first of all, you do not always have to use dependencies
00:31 < Wombert> the first validator for instance
00:31 < Wombert> you could use severity="fatal"
00:31 < Wombert> then validation aborts if the validator fails
00:31 < shrink0r> yeah, I thought that would also be the case when using critical
00:32 < Wombert> or critical
00:32 < Wombert> not sure which it is
00:32 < shrink0r> and second?
00:33 < Wombert> uh
00:33 < Wombert> ^^
00:33 < Wombert> what's the problem anyways ^^
00:33 < Wombert> those two seem to be different validators
00:33 < Wombert> aaaah
00:33 < Wombert> okay
00:33 < shrink0r> ^^
00:33 < Wombert> you don't
00:33 < Wombert> yeah
00:33 < Wombert> you don't want both to run
00:33 < shrink0r> yepp
00:33 < Wombert> classic problem
00:33 < Wombert> xor validator?
00:33 < shrink0r> but they have the same argument
00:33 < Wombert> should work
00:34 < shrink0r> in future it will be more than just two
00:34 < Wombert> ah there was a solution for this. mmmh. must remember
00:34 < shrink0r> this is just a test case
00:34 < Wombert> alternatively, write a validator that does this
00:34 < Wombert> (set the provides dynamically)
00:35 < shrink0r> hmm, sounds good
00:35 < shrink0r> gotta take a look at the agaviValidator to find out I'd do that
00:36 < impl> Wombert: Glad we're on the same page :>
00:36 < Wombert> impl: eh?
00:36 < impl> I recommended something similar last night
00:36 < shrink0r> I have to create a depenendcyManager for that right?
00:36 < shrink0r> hehe
00:36 < Wombert> to shrink0r?
00:36 < impl> I can't ever tell when Agavi makes great leaps toward doing something else
00:36 < shrink0r> yeah
00:36 < impl> yeah
00:36 < Wombert> I don't think you have to
00:36 < Wombert> you should be able to set the provides value inside the validator
00:38 < impl> Wombert: can't you just extend the validation chain?
00:38 < shrink0r> well, it's set once in the initialize, but would want to do it later on
00:38 < Wombert> try it :)
00:38 < shrink0r> k
00:38 < shrink0r> ^^
00:53 -!- IcyT is now known as icyt
01:06 -!- Wombert [n=Wombert@dslb-088-064-060-108.pools.arcor-ip.net] has quit []
01:07 < shrink0r> hurray
01:07 < shrink0r> it works
01:07 < shrink0r> thx guys
01:09 < impl> excellent :D
01:10 < shrink0r> it wasn't that tricky after all
01:10 < shrink0r> ^^
01:11 -!- jtraub [n=konstant@87.225.21.162] has joined #agavi
01:21 < shrink0r> oh man, great. I'll have to say it again big thx ;)
01:21 < shrink0r> just nice to see it finally working
01:32 -!- jtraub [n=konstant@87.225.21.162] has quit [Remote closed the connection]
02:33 < shrink0r> n8
02:34 -!- shrink0r [i=shrink@i577B6283.versanet.de] has quit []
02:59 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
03:01 < Hamerr> sweet dream to all
03:14 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit [Remote closed the connection]
03:14 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
03:28 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection]
04:16 -!- _eremit [n=eremit@p5B237C68.dip.t-dialin.net] has joined #agavi
04:35 -!- eremit [n=eremit@p5B236837.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
07:16 -!- _cheerios [n=jackbo@ip-87-108-0-169.customer.academica.fi] has joined #agavi
07:16 < _cheerios> huomenta
07:18 -!- icyt is now known as IcyT
07:25 < v-dogg> huomenta
07:38 < _cheerios> any word on how pluggable modules would work with agavi (eg. Login, Tags, Forum, Blog, Poll etc)? The steps to make reusable modules, and how to painlessly share them between projects
07:39 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit []
07:39 < v-dogg> any idea why my base href with HTTPS is "https://foo.tld:80/"?
07:39 < v-dogg> kinda breaks everything :)
07:49 -!- _eremit [n=eremit@p5B237C68.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)]
08:11 -!- jtraub [n=mikv@aqu.as.khb.ru] has joined #agavi
08:11 < jtraub> Hello
08:11 < jtraub> impl, are you there?
08:27 < E_mE> huomenta!
08:30 < jtraub> E_mE, HUOMENTA!
08:30 -!- IcyT is now known as icyt
08:30 < jtraub> Damn!! I've forgot about oficial greeting
08:34 < E_mE> jtraub: hi, are you new here?
08:34 < jtraub> E_mE, yep
08:35 < jtraub> I introduced with Agavi 2 days ago on #gsoc channel :-)
08:38 < E_mE> ah, welcome jtraub... I hope your liking agavi so far :)
08:38 < jtraub> E_mE, thanks
08:39 < v-dogg> hmmm... what have these retarted a-holes done now...
08:40 < v-dogg> SERVER_PORT says 80 even when using https
08:40 < v-dogg> messes up base href and redirects
08:45 < v-dogg> also, my "redirect http to https" rewrite rule (which is based on port not being 443) doesn't work
08:45 < v-dogg> sigh..
08:46 < _cheerios> all traffic routed via 80? :D
08:46 < v-dogg> no, it uses 443 but $_SERVER['SERVER_PORT'] still says 80
08:51 -!- jtraub [n=mikv@aqu.as.khb.ru] has quit ["Ухожу"]
09:02 -!- Macen [n=leopard@host86-154-107-27.range86-154.btcentralplus.com] has joined #agavi
09:12 < MikeSeth> huomenta
09:23 < Macen> my logo doesn't look quite right in the new layout :(:(:(:
09:27 < _cheerios> what would be the way to apply a getCredentials requirement at the top of nested route? Defined once, and all sub-routes (actions) inherit it.
09:29 < marklar|omni> hai
09:29 < MikeSeth> _cheerios: I don't understand why?
09:32 -!- Wombert [n=Wombert@dslb-088-064-054-193.pools.arcor-ip.net] has joined #agavi
09:34 < _cheerios> mm? to enforce a credentials thruout, not requiring to add the same within every action. a route-specific baseaction (extending the general baseaction) with this credential requirement might work (however, setting additional credentials within the actions would require retyping the overall credential we wanted? and might forget to do that too)
09:38 -!- malax [n=malax@unaffiliated/malax] has joined #agavi
09:38 < E_mE> is there a function PHP for capitilising the first letter?
09:38 < E_mE> of a word that s
09:38 < E_mE> is
09:39 < malax> E_mE, ucfirst()?
09:39 < E_mE> ah thank you :D i was looking for Camel hehe
09:40 < Wombert> but that only works with ascii
09:40 < Wombert> maybe iso
09:42 < malax> oh... btw: huomenta!
09:43 < E_mE> Wombert: i think that should be a problem, its just for loading dynamic classes :)
09:52 -!- Wombert [n=Wombert@dslb-088-064-054-193.pools.arcor-ip.net] has quit [Remote closed the connection]
09:55 < MikeSeth> http://developer.mozilla.org/en/docs/New_in_JavaScript_1.8
09:55 < MikeSeth> O_O
09:58 < Macen> my god
09:58 < Macen> what's packaged with ie7 do you know?
09:59 < Macen> i didn't think javascript was still under development ....
10:00 < Macen> i really cba creating x-browser javascript ... heh
10:03 < _cheerios> MikeSeth, for what it does, the syntax is becoming quite lean idd
10:04 -!- Wombert [n=Wombert@dslb-088-064-054-193.pools.arcor-ip.net] has joined #agavi
10:06 < MikeSeth> Macen: im not sure about ECMA compliance
10:06 < MikeSeth> so like
10:06 < MikeSeth> I wouldnt rely on 1.8 for production
10:06 < MikeSeth> Wombert: http://developer.mozilla.org/en/docs/New_in_JavaScript_1.8
10:07 < Macen> MikeSeth .. agreed !!!
10:07 < MikeSeth> made me go 'wat'
10:08 < Macen> how are we supposed to explain to customers that what they see on their screen may not be what joe bloggs see's on their screen
10:08 < Macen> AND instill confidence in their own web site
10:09 < Macen> ....
10:09 < Macen> lame :x
10:09 -!- Whisller [n=Miranda@aarg2.neoplus.adsl.tpnet.pl] has joined #agavi
10:10 < E_mE> wtf: function(x) x * x ?!?!?!?
10:19 -!- MikeSeth_ [n=youdie@62.90.159.110] has joined #agavi
10:22 < Wombert> lambda notation
10:22 < Wombert> v-dogg: reverse proxy?
10:22 < Wombert> (e.g. load balancer)
10:22 < Wombert> it should pass on the original port to the server in sth like HTTP_X_FORWARDED_PORT
10:22 < Wombert> or so
10:22 < Wombert> you can tell agavi to use that one
10:33 -!- MikeSeth [n=youdie@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)]
10:34 < Macen> is it possible to return the absolute file path to the base of the agavi project?
10:34 < Macen> for instance
10:34 < Macen> /Users/craigfairhurst/Sites/youdsagavi/
10:37 < _cheerios> mmm, core.app_dir/../ ?
10:37 -!- MikeSeth [n=youdie@62.90.159.110] has joined #agavi
10:38 < v-dogg> Wombert: HTTP_X_FORWARDED_PROTO=https
10:38 < v-dogg> nothing about port :(
10:40 -!- jtraub [n=konstant@87.225.21.162] has joined #agavi
10:40 < jtraub> Huomenta!
10:44 < _cheerios> did you guys check the latest walking robot (big dog) vid? http://www.youtube.com/watch?v=W1czBcnX1Ww impressive stuff
10:50 -!- MikeSeth1 [n=youdie@62.90.159.110] has joined #agavi
10:51 -!- MikeSeth_ [n=youdie@62.90.159.110] has quit [Read error: 110 (Connection timed out)]
10:51 < Wombert> v-dogg: then you need to enable that in the proxy :)
10:52 < Wombert> or maybe do some index.php hackery
10:52 < Wombert> that sets HTTPS correctly to "on"
10:52 < Wombert> and changes the port to 443
10:52 < Wombert> might be easier
10:55 < Wombert> huomenta jtraub
11:05 -!- MikeSeth [n=youdie@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)]
11:09 -!- Whisller [n=Miranda@aarg2.neoplus.adsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
11:18 < v-dogg> Wombert: yeah, I did that in index.php
11:19 < v-dogg> don't have time to explain the ISP what is wrong and why it should be fixed
11:47 -!- MikeSeth [n=youdie@62.90.159.110] has joined #agavi
12:02 -!- MikeSeth1 [n=youdie@62.90.159.110] has quit [Read error: 110 (Connection timed out)]
12:02 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
12:07 -!- Whisller [n=Miranda@aazs81.neoplus.adsl.tpnet.pl] has joined #agavi
12:10 < _cheerios> need mooore braaaaaaains
12:10 -!- Strzalek [n=Strzalek@dkb165.neoplus.adsl.tpnet.pl] has joined #agavi
12:11 < Strzalek> huomenta
12:15 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit []
12:27 -!- icyt is now known as IcyT
12:27 -!- MikeSeth_ [n=youdie@62.90.159.110] has joined #agavi
12:38 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
12:39 < Macen> http://prelaunch.youds.com/
12:39 < Macen> opinions welcomed
12:40 < Macen> Wombert: pm ?
12:40 < Macen> bbiab
12:41 < _cheerios> before looking i'll give it 2/5, lets see
12:42 -!- MikeSeth [n=youdie@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)]
12:44 < _cheerios> i get a big box of whitespace on the frontpage, with an odd brown-framed rectangle. odd effect to put on frontpage
12:48 < Wombert> ?
12:52 < v-dogg> Macen: doesn't scale too well
12:52 < v-dogg> set max-width or something
12:53 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit []
12:54 < _cheerios> v-dogg, ah, resizing on linux has the effect that the youds-media logo (flash) blocks his contact information on the far-right as flash is always on top :)
12:55 < trophaeum> after 28hrs to get a reboot on this server its now pretty apparent that the primary disk is dying and i cant run a complete backup without it rebooting on its own so i have to transfer 1 domain at a time to a new server btween the barrage of reboots LOL
12:56 < MikeSeth_> trophaeum: use rsync >:D
12:56 < trophaeum> MikeSeth_, the reading on the server thats broken causes too much disk activity and it barfs it
12:57 < trophaeum> i have to pluck each domain 1 at a time
12:57 < trophaeum> 70 domains
12:57 < trophaeum> plus the other box is directadmin not plesk... needless to say how much of a mess that makes things ontop of it all
12:57 < _cheerios> previous backups too old to get things running?
12:58 < trophaeum> previous backup is a week or 2 old, its a last resort (there are backups done regularly but not to offsite, they sit on the server, now the disk is dying fast)
12:58 < _cheerios> backups on the same disk ftw!
12:58 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
12:59 < trophaeum> thats about it
12:59 < MrJeep> Wombert: http://pastie.caboo.se/167527
13:00 < MikeSeth_> trophaeum: hdparm(1) to play with hdd options (typically noise level)
13:00 < trophaeum> MikeSeth_, hdd is too antique to support it
13:00 < trophaeum> MikeSeth_, see the fun im facing? hahaha
13:01 < Macen> _cheerios: booting ubuntu up now
13:01 < trophaeum> oh well, migrate em off 1 at a time, redelegate after moving, blahblah, see what happens
13:01 < Macen> _cheerios: i'm pleased you think my js is flash though :)
13:02 < _cheerios> Macen, eh?
13:02 < Macen> _cheerios: it's javascript, just with a really high z-index
13:03 < _cheerios> you don't understand how that thing works then
13:03 -!- MrJeep_ [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has joined #agavi
13:03 < Macen> let me boot ubuntu up..have to install the iso again for some reason
13:03 < _cheerios> but, it could be, that on windows it uses JS
13:03 < _cheerios> on linux i get flash
13:04 < _cheerios> i remember looking up sifr once, which you are using, and it was flash-based back then to make logos out of text
13:04 -!- Whisller [n=Miranda@aazs81.neoplus.adsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
13:04 < Macen> ah i know what you mean
13:04 < Wombert> thanks MrJeep
13:04 < trophaeum> careful with sifr, it has bugs galore, specifically its common enough that it doesnt get a transparent background
13:04 < _cheerios> because it's very hard to mistake a right-click which opens flash settings to JS :)
13:04 < Macen> on linux flash can't have wmode set to transparent
13:05 -!- Whisller [n=Miranda@aarb115.neoplus.adsl.tpnet.pl] has joined #agavi
13:05 < trophaeum> see, fun things like that :)
13:05 < MrJeep_> Wombert: np
13:05 < MikeSeth_> !!!!!
13:05 < MikeSeth_> http://bubbl.us/view.php?sid=7988&pw=ya71XC6HwyNHkMSRmVHlVLlVMcmR2TQ
13:05 < _cheerios> you can get around that, trophaeum, with some JS
13:05 < Macen> which is what lets things go above it
13:05 < trophaeum> _cheerios, charming, even more js haha
13:05 < _cheerios> trophaeum, yep. :) it's an ace hack, tho.
13:05 < trophaeum> ill stick to standard fonts me thinks
13:06 < trophaeum> iv had a few times where when the sifr swf is made that the font completely failed as well
13:06 < Macen> you didn't embed the fonts properly then
13:06 < Macen> you have to embed the font into the sifr.swf
13:07 < Macen> it's useful for 90% of people
13:07 < trophaeum> Macen, its happened only with a very small amount of fonts, there are specific fonts that just FUCK UP (wth, since when did flash break fonts? i dont get it!)
13:07 < _cheerios> MikeSeth_, ah, finally someone made a nice (seemingly?) viewer for this kind of stuff
13:07 < Macen> trophaeum: it fucks up some characters too if you don't embed the correct encoding
13:08 < Macen> dunno though .. you should be able to choose the font from inside flash so you don't have to change the standard web site font ..
13:08 < trophaeum> Macen, charming, it gets better by the instant haha
13:09 < _cheerios> Macen, yeah, check with linux, there's a palms worth of whitespace between the logo and "specification-...-..." -scetion
13:09 < Macen> trophaeum, sorry!!
13:09 < Macen> _cheerios: shall do
13:18 -!- MrJeep [n=jpdery@modemcable051.81-37-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
13:26 -!- Whisller_ [n=Miranda@aazs214.neoplus.adsl.tpnet.pl] has joined #agavi
13:37 -!- brasileiro__ [n=fdfdf@189.30.201.30] has joined #agavi
13:42 -!- Whisller [n=Miranda@aarb115.neoplus.adsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
13:59 -!- jake [n=jake@adsl-68-253-56-181.dsl.ipltin.ameritech.net] has joined #agavi
13:59 < Wombert> interesting MrJeep_
13:59 < Wombert> that is actually supposed to work :)
14:06 < Wombert> ah
14:06 < Wombert> guess it casts to string somewhere
14:06 < Wombert> lemme check
14:08 < Wombert> okay got it
14:08 < Wombert> just have to make sure that doesn't break sth
14:10 < Wombert> hmmmmm
14:14 < MrJeep_> breaking stuff ?
14:17 < Wombert> hmhm
14:17 < Wombert>
14:17 < Wombert> foo => false doesn't select it, foo => true doesn't
14:18 < Wombert> with the change I did now, true will not, but false will select it
14:18 < MrJeep_> of course, you must set 1 to the checkboc value
14:18 < Wombert> no
14:18 < Wombert> a checkbox is different
14:18 < MrJeep_> i know
14:19 < Wombert> unless you have more than one of the same name, I'd expect it to be checked no matter what the value is
14:19 < MrJeep_> but it does not make sense to set 0 to a checkbox value
14:19 < MrJeep_> unless you mean that a checked checkbox means false to something somewhere in the app
14:20 < Wombert> well then you'd use INTs
14:20 < Wombert> not bools
14:20 < MrJeep_> yeah but with orm (like propel) where there is boolean fields, I'm screwed
14:20 < MrJeep_> not _that_ screwed, i can cast it to an int
14:20 < Wombert> I'm just wondering if I should cast bools to int, or don't cast them at all
14:21 < MrJeep_> i think it should, since true is kind of casted to 1
14:21 < Wombert> with value="zomg" and bool true, it would be checked if I don't cast bools to strings
14:21 < Wombert> if I change it to cast properly (i.e. via an int, so false becomes 0 and not an empty string), it wouldn't
14:21 < Wombert> hmhmhm
14:21 < Wombert> hmhmhmhmhmhmhmhm
14:22 < MrJeep_> in the value=zomg case, then the box will be checked if a parameter foo=zomg is passed in the fpf
14:22 < MrJeep_> but for most case a checkbox is a yes-no question, thus true-false
14:23 < Wombert> yes but it would also be checked if foo = true
14:23 < Wombert> or not, depending on what I do
14:23 < MrJeep_> i think this is going to "high level" hehe
14:23 < MrJeep_> too*
14:23 < Wombert> right now, if a checkbox does not have a value attribute, then FPF uses the bool value
14:23 < Wombert> true means checked, false means not checked
14:24 < MrJeep_> ok
14:24 < Wombert> but the value in a checkbox is not really there for... well
14:24 < Wombert> if you set a value, you simply change what's submitted
14:24 < Wombert> default is the string "checked"
14:24 < Wombert> IIRC
14:25 < Wombert> ah well lemme read the html spec
14:26 < Wombert> HAH
14:26 < MrJeep_> If i understand correctly, right now (for a checkbox name="foo" value="bar"), the fpf look for a foo parameter and if it has the bar value, the checkbox is getting checked="checked"
14:26 < MrJeep_> right ?
14:26 < E_mE> does anyone have the link to that new PHP feature which allows you to insert commonly used functions into classes??
14:26 < E_mE> well the proposed new feature
14:26 < Wombert> value = cdata [CA]
14:26 < Wombert> This attribute specifies the initial value of the control. It is optional except when the type attribute has the value "radio" or "checkbox".
14:27 < Wombert> so checkboxes _must_ have a value
14:27 < MrJeep_> yep
14:27 < _cheerios> E_mE, huh?
14:27 < MrJeep_> and if the fpf finds the value for the checkbox, it checks it
14:27 < MrJeep_> as far as I know
14:28 < Wombert> If a control doesn't have a current value when the form is submitted, user agents are not required to treat it as a successful control.
14:28 < Wombert> interesting
14:28 < Wombert> that means should not be submitted
14:28 < Wombert> that means browsers violate the spec :p
14:29 < MrJeep_> they create a parameters with a empty / null value instead ?
14:29 < MrJeep_> but it makes a key in the post / get array ?
14:31 < Wombert> no, they submit some string
14:31 < Wombert> "checked" I think
14:31 < Wombert> or "on" or so
14:31 < Wombert> not sure if its the same in all browsers (doesn't matter anyway, you just need to check if it's there, the value won't matter)
14:33 < MrJeep_> anyway, I have to go (take care of horse, got sick this week end)
14:33 < MrJeep_> last weekend
14:33 < MrJeep_> be back later
14:36 < Wombert> kk
14:36 -!- brasileiro__ [n=fdfdf@189.30.201.30] has quit [Read error: 110 (Connection timed out)]
14:42 -!- jtraub [n=konstant@87.225.21.162] has quit ["Ухожу"]
14:42 -!- digitarald [n=Miranda@102.Red-83-35-142.dynamicIP.rima-tde.net] has joined #agavi
14:46 < Wombert> digitarald: I remember you having some sort of problem with booleans and checkboxes in FPF
14:46 < Wombert> right=
14:46 < digitarald> uh ... was some time ago
14:47 -!- brasileiro__ [n=fdfdf@189.30.201.30] has joined #agavi
14:47 < digitarald> i use this fix ... *pasting*
14:48 < digitarald> Wombert: http://p.caboo.se/private/y5y2ifxnk4ez1h1scyea
14:48 < brasileiro__> how to get in templates?
14:49 < digitarald> AgaviConfig::get('core.app_name')
14:49 < Wombert> which you shouldn't do in a template, obviously
14:50 < Wombert> digitarald: and what does a checkbox look like
14:50 < Wombert> does it have a value?
14:50 < digitarald> 1
14:51 < Wombert> hm but that works
14:51 < Wombert> with bools
14:51 < digitarald> have to check if it works with latest version
14:51 < Wombert> mrjeep has another problem
14:51 < Wombert> http://pastie.caboo.se/167527
14:51 < Wombert> true selects 1
14:51 < Wombert> but false doesn't select 0
14:51 < digitarald> I simply not removed that quick-fix some time
14:53 < digitarald> this fix works fine for false/true values on checkboxes with value 1
14:53 < digitarald> I'll remove it later and see how they work without it
14:53 < Wombert> we discussed this
14:53 < Wombert> and there were some cases I think where it was not easy to fix
14:53 < Wombert> but I don't remember
14:55 -!- IcyT is now known as icyt
14:55 < Wombert> so a false should select value="0" radios
14:55 < Wombert> but should null?
14:56 < digitarald> for me, usually null values are undefined
14:56 < digitarald> so, no
14:56 < digitarald> but in most apps, yes
14:57 < digitarald> I mean, database with a boolean field ... its 0 or 1, notnull
14:59 < Wombert> hmhm
14:59 < Wombert> I'll ignore nulls
15:00 < Wombert> [15:56] digitarald: for me, usually null values are undefined
15:00 < Wombert> achieving that if FPF defaults to treating nulls as "0" is difficult
15:00 < Wombert> [15:56] digitarald: but in most apps, yes
15:00 < Wombert> is easy to do for everyone
15:00 < Wombert> hence null values are treated as undefined and thus get ignored
15:01 < marklar|omni> heh
15:01 < marklar|omni> a mail I sent:
15:01 < marklar|omni> All,
15:01 < marklar|omni> Re: bugs,
15:01 < marklar|omni> #1 and #3 fixed,
15:01 < marklar|omni> #2 will take some time (Buki needs to assign some for me)
15:01 < marklar|omni> #4 is an architectural limitation and will take some time to resolve as well. An intermediate solution is to prevent database crashes.
15:02 < Wombert> hmhm but this changes other stuff
15:02 < Wombert> e.g. a text field will now have "0" instead of "" for a false
15:03 < digitarald> bad
15:03 < Wombert> yes? why
15:03 < Wombert> and what about dropdowns...
15:03 < digitarald> ok, not bad when u think about it
15:04 -!- Whisller_ [n=Miranda@aazs214.neoplus.adsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
15:14 -!- opengeek [n=OpenGeek@c75-111-151-25.sangcmtk01.tx.dh.suddenlink.net] has joined #agavi
15:48 -!- shrink0r [i=shrink@i577B46F4.versanet.de] has joined #agavi
15:49 < shrink0r> hi folks
15:50 < shrink0r> how do I find out whether I'm dealing with a write or read request?
15:50 < shrink0r> does the executionContainer or Filter provide a method to find that out?
15:51 < Wombert> the container will have this info in 1.0
15:51 < Wombert> and you can then have different methods per container
15:51 < Wombert> makes it easier with slots etc in post requests
15:51 < Wombert> until then, use $rq->getMethod()
15:51 < shrink0r> k, thx
15:56 < Wombert> digitarald: consider an idiot who stores "false" for no value and ints otherwise
15:56 < Wombert> and uses those in a