--- Log opened Sat Dec 01 00:00:49 2007 00:03 < impl> __toString() reduction seems legitimate to me 00:03 < impl> but I'm also nuts 00:03 < MikeSeth> impl: what if I pass an ORM object? why should I commit the __toString() method to url reduction when I could use it fomr something else? 00:04 < impl> well I figure if you pass an ORM object you'd just call the method to get what you want at the time of gen() 00:05 < MikeSeth> impl: in the template? 00:05 < impl> er, sure? 00:05 < MikeSeth> Imagine I pass a page object which is reflected by different URLs depending on a locale 00:06 < MikeSeth> so, I would need an indirection. I can use $tm, but the relationship between URLs, locales and object identity are fixed, and I'd like to abstract them away 00:06 < MikeSeth> if that relationship changes, I will have to fix all the templates 00:06 < MikeSeth> s/are/is/ 00:06 < MikeSeth> s/them/it/ 00:07 < impl> hmm 00:07 < impl> I see. 00:32 < MikeSeth> Wombert: http://trac.agavi.org/attachment/ticket/630/Allow%20passing%20of%20objects%20to%20callbacks%20through%20gen%28%29%20parameters.2.patch 00:33 < MikeSeth> this doesn't break arrays 00:35 < Wombert> still the objects problem 00:35 < Wombert> why do you not just filter by is_scalar 00:35 < Wombert> I need to think about this when I have time, MikeSeth 00:35 < Wombert> right now, I don't 00:35 < Wombert> sorry 00:35 < Wombert> :) 00:35 < MikeSeth> well, explain it to me and I'll do the thinking. What objects problem? 00:36 < MikeSeth> the objects are eliminated from processing entirely. they are only passed down to gen() but they are not allowed to be evaluated any further, so there is never a coercion through toString 00:37 < MikeSeth> previously, they would be coerced by rawurlencode. now, they are completely invisible unless callbacks convert them to a parameter 00:40 < MikeSeth> oh 00:40 < MikeSeth> my code is obscure 00:40 < MikeSeth> 291 $objects = array_filter($params, 'is_object'); 00:40 < MikeSeth> 292 $params = array_diff_key($params, $objects); 00:40 < MikeSeth> the objects are filtered out of $params *and* removed from $params 00:40 < MikeSeth> so no problem ;) 00:41 < Wombert> if they are not passed on, then they are not visible to callbacks 00:42 < MikeSeth> they *are* passed. 00:42 < MikeSeth> oh. there might be something in underlying AgaviRouting that'd coerce them 00:43 * MikeSeth checks 00:49 < splatch`> hmm 00:49 < splatch`> Wombert: are you there? :) 00:49 < Wombert> I really have no time right now guys 00:49 < splatch`> diagram with model for Agavi IDE? 00:49 < MikeSeth> Wombert: then plz kill the patch for now. I dont have privs. 00:50 < impl> MikeSeth: It's not gonna hurt to leave it for now 00:50 < impl> I like your thinking (I think) :P 00:50 < MikeSeth> impl: it can expose problems that previously didn't exist 00:50 < impl> Yeah, but the concept is there. 00:51 < splatch`> guys, please take a look - my diagram http://img405.imageshack.us/my.php?image=modelnv4.png - it should be representation of relationships in Agavi 00:51 < splatch`> currently i don't have idea how to create model so diagram is not best 00:54 < MikeSeth> i presume youre trying to make a skeleton for eclipse? 00:54 < splatch`> yes 00:54 < MikeSeth> a model is just an empty class. it doesn't really have any menaingful relationships, as its top level in the hierarchy 00:54 < MikeSeth> you should threat it as a vanilla class I suppose 00:55 < splatch`> MikeSeth: i don't use "model" because it's autonomic 00:55 < MikeSeth> treat* 00:55 < Wombert> mmmh vanilla 00:55 * Wombert goes to the fridge 00:55 < Wombert> wish me luck 00:56 < impl> lawl 00:56 < splatch`> ok, i must go 00:56 < splatch`> bye! 00:57 < Wombert> bai 00:57 * Wombert has returned 00:57 < impl> Did you get vanilla? 00:57 < Wombert> I was pretty sure there was a vanilla pudding last I checked 00:57 < Wombert> however, I got something equally woot 00:57 < Wombert> caramel cream pudding 00:57 < Wombert> :> 00:57 < impl> mmm 01:00 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 01:00 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has quit [Read error: 104 (Connection reset by peer)] 01:05 * Wombert nudges MikeSeth 01:16 < Whisller> hmm 01:16 < MikeSeth> omnomnom 01:18 < Wombert> I really think it is universal 01:18 < Wombert> NOM NOM NOM 01:18 < Wombert> fits any language 01:18 < impl> like bork bork bork 01:18 < Wombert> what's that :p 01:19 -!- ceej [n=ceej@cpe-76-171-184-72.socal.res.rr.com] has joined #agavi 01:20 < Wombert> MikeSeth: prospects! 01:20 < impl> bork bork bork 01:20 < impl> ? 01:20 < impl> Swedish chef! 01:21 < impl> http://en.wikipedia.org/wiki/Swedish_Chef 01:21 < Wombert> lolz 01:21 < Wombert> never seen that 01:22 < Wombert> I mean, I have seen muppets occasionally 01:22 < MikeSeth> ah oh 01:22 < MikeSeth> mmp 01:22 < MikeSeth> ceej: hallo 01:22 < ceej> hey :) 01:22 < Wombert> welcome to agavi, ceej :) 01:22 < Wombert> looking for a framework? 01:23 < MikeSeth> hey sailor... 01:23 * MikeSeth hides 01:23 < ceej> thanks, ye just checking it out :) 01:23 < Wombert> I am busy right now, but MikeSeth is here to show you the light 01:23 < MikeSeth> and pitchforks 01:23 < MikeSeth> but more light than pitchforks 01:24 < MikeSeth> ceej: I suppose you've figured out by now that Agavi is unlike everything else on the market? 01:25 < ceej> just this second taking a look :) 01:26 < MikeSeth> oh well. if you expect anything like cake/trax/ci/symfony etc you'll be confused 01:26 < MikeSeth> so when you are confused, let me know 01:26 < MikeSeth> i have all the propaganda you need 01:27 < MikeSeth> Wombert: I've just realized that in e.g. a wiki project, one can use decorator record objects and defer actual retrieval until after rendering ;D 01:28 < Wombert> not sure what that means, but it sounds bad 01:28 < Wombert> :) 01:28 < MikeSeth> so instead of 5 different queries to 5 different orm instances in 5 different templates, stubs are yielded and then the post-execution [global] filter collects the stubs, fetches them in one query and replaces the content 01:28 < Wombert> I see 01:28 < Wombert> but that is fugly 01:28 < Wombert> don't 01:29 < Wombert> :) 01:29 < MikeSeth> Wombert: it's fugly *unless* your orm is self-aware and has associated way to be rendered. Well, immutably anyway. 01:30 < MikeSeth> then again only presentation problems can be solved in this fashion 01:30 < MikeSeth> i'll go dive back into routing. there's something interesting with how callback-returned parameters are handled; apparently a bug 01:32 < Wombert> ? 01:33 < MikeSeth> Wombert: apparently, that are generated by callbacks are overridden by default values or something like that. 01:35 < MikeSeth> e.g. when I do gen('page.edit', array('page' => $obj)) in action /foo/edit and $obj is *not* the foo page itself, the callback generated value for the passed object is overridden by a default 01:35 < MikeSeth> resulting in /foo/edit as the request url 01:36 < MikeSeth> or rather, callback-generated parameters are treated as secondary to default ones. Lemme look in teh code. 01:37 < Wombert> reproduce case plz 01:37 < Wombert> we had such a thing before 01:37 < MikeSeth> uhh, this is with my patch and a custom callback 01:37 < MikeSeth> lemme look into it 01:38 < MikeSeth> besides, the part of routing that's responsible for this is complete voodoo 01:38 < impl> s/the part of routing that's responsible for this/routing/ 01:38 < Wombert> MikeSeth: bug in your code 01:39 < Wombert> array_filter($params, 'is_null') 01:39 < Wombert> you give null 01:39 < Wombert> explicitly 01:39 < Wombert> then it uses default 01:39 < Wombert> or such 01:39 < MikeSeth> // we need to store the original params since we will be trying to fill the 01:39 < MikeSeth> // parameters up to the first user supplied parameter 01:39 < MikeSeth> $originalParams = $params; 01:39 < MikeSeth> this? 01:39 < Wombert> but maybe a bug too 01:39 < Wombert> no 01:39 < Wombert> look at your patch 01:39 < Wombert> or maybe try w/o your patch pleaase 01:40 < MikeSeth> uhhh.. i really need to set up a separate branch for Agavi hacks 01:41 * MikeSeth kicks xampp 01:41 < MikeSeth> want linux box 01:41 < Wombert> svn revert :p 01:41 < Wombert> you can apply your patch again 01:41 < MikeSeth> yes, but I've also applied some debug stuff 01:48 -!- shoan [n=shoan@59.92.142.52] has joined #agavi 02:01 -!- Wombert_ [n=Wombert@dslb-084-056-037-071.pools.arcor-ip.net] has joined #agavi 02:02 -!- Wombert [n=Wombert@dslb-084-056-022-196.pools.arcor-ip.net] has quit [Nick collision from services.] 02:02 -!- Wombert_ is now known as Wombert 03:20 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit ["Leaving"] 03:43 -!- CelticSon [i=Celtic@port-212-202-36-244.dynamic.qsc.de] has quit [Read error: 113 (No route to host)] 03:47 -!- epaulin [n=epaulin@61.144.108.113] has joined #agavi 05:20 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 05:32 -!- epaulin [n=epaulin@61.144.108.113] has quit ["Ex-Chat"] 06:01 -!- Wombert [n=Wombert@dslb-084-056-037-071.pools.arcor-ip.net] has quit [] 06:47 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 09:02 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 09:27 -!- ceej [n=ceej@cpe-76-171-184-72.socal.res.rr.com] has quit [] 09:29 -!- ceej [n=ceej@cpe-76-171-184-72.socal.res.rr.com] has joined #agavi 09:45 -!- ceej [n=ceej@cpe-76-171-184-72.socal.res.rr.com] has quit [Read error: 110 (Connection timed out)] 09:54 -!- rhalff [n=rhalff@c62248.upc-c.chello.nl] has quit [Connection timed out] 10:21 -!- CelticSon [i=Celtic@port-212-202-210-248.dynamic.qsc.de] has joined #agavi 10:55 -!- E_mE [n=E_mE@88-107-255-140.dynamic.dsl.as9105.com] has joined #agavi 10:55 < splatch`> oi! 10:59 < E_mE> huomenta! 11:12 -!- kaos|work [n=dominik@dslb-084-063-103-070.pools.arcor-ip.net] has joined #agavi 11:16 -!- shoan [n=shoan@59.92.142.52] has quit [] 11:17 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"] 11:18 -!- E_mA [n=E_mE@88-107-255-140.dynamic.dsl.as9105.com] has joined #agavi 11:31 -!- E_mE [n=E_mE@88-107-255-140.dynamic.dsl.as9105.com] has quit [Read error: 110 (Connection timed out)] 11:46 -!- Yossi [n=nospam@89.0.27.45.dynamic.barak-online.net] has joined #agavi 11:46 < Yossi> Hello 11:49 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 11:49 < malax> HUOMENTA! \o/ 11:55 < Yossi> I've installed agavi via pear to my local machine - it created an agavi folder in my pear folder... but I don't have the sample application there and 'agavi' isn't installed as an executalbe so I can't run agavi project... 11:57 < Yossi> oh I found the executable in the php library 12:04 < E_mA> im currently writting a sessions manager for when users add ingredients and other products with a wizard, my query is on regards to whether when the user read/writes the sessions whether i should lock access to it so only once processed/request allows to access it at anyone time to prevent corruption.. or is it little bit of an over kill? 12:05 < E_mA> im protecting it from the same user, so if the user tries to submit both ingredients/products at the same time that one of them has full writes for the period of the execution 12:46 < splatch`> hello 12:46 < splatch`> http://img159.imageshack.us/my.php?image=defaultif0.png - new agavi ide model draft 13:13 < MikeSeth> Yossi: pear only oinstalls src/ into your include path. everything else is installed elswehere 13:40 -!- Wombert [n=Wombert@dslb-084-056-037-071.pools.arcor-ip.net] has joined #agavi 13:44 < MikeSeth> where are the unit tests for routing? in ross' branch? 13:44 < kaos|work> tests2/routing 13:44 < MikeSeth> oh hey kaos 13:44 < MikeSeth> all of routing is your code, right? 13:44 < kaos|work> hi, i read your discussion from tonight 13:45 < kaos|work> most of it, yes 13:45 < MikeSeth> well, I am now going to try and reduce my problem to a test case 13:46 < MikeSeth> it appears that any parameters that are created by a callback's onGenerate are not interpolated to the named parameters in a route 13:46 < MikeSeth> instead, default values are used. I'm figuring out what AgaviRouting does atm 13:46 < kaos|work> hm, could be, the code is rather complex 13:47 < kaos|work> especially in in regards to what parameter to use when, etc 13:47 < MikeSeth> yeah. 13:57 < Wombert> do you hvae a reproduce case, please, MikeSeth 13:57 < Wombert> just use the sample app, modify it, and post the patch 13:58 -!- epaulin [n=epaulin@61.144.108.113] has joined #agavi 14:01 < MikeSeth> Wombert: shortly 14:02 < MikeSeth> AgaviWebRouting::gen() passess an array to the first parameter of parent::gen() which the docblock says shoulod be a string. Hmpf. 14:07 < MikeSeth> Wombert: would you be willing to accept a general cleanup patch for AgaviRouting? 14:15 -!- E_mA is now known as E_mE 14:57 < MikeSeth> uhhhhh 14:57 < MikeSeth> wtf is this 15:02 -!- shoan [n=shoan@59.92.142.52] has joined #agavi 15:02 * MikeSeth pokes kaos|work 15:03 -!- shoan [n=shoan@59.92.142.52] has quit [Client Quit] 15:03 < MikeSeth> is onGenerate supposed to be called every time that gen() is called, for all callbacks? 15:04 -!- shoan [n=shoan@59.92.142.52] has joined #agavi 15:07 < Wombert> first things first 15:08 < Wombert> can you please create a reproduce case for the issue you described 15:13 -!- shoan [n=shoan@59.92.142.52] has quit [] 15:14 < kaos|work> MikeSeth: hu ? 15:15 < MikeSeth> Wombert: working on it 15:16 < MikeSeth> sample app isn't really a good foundation for this especially when you work on windows 15:17 < kaos|work> MikeSeth: well, yes when you define a callback it will always be called (i don't see what's wrong with that behaviour) 15:17 -!- shoan [n=shoan@59.92.142.52] has joined #agavi 15:17 < Wombert> only for that route, of course 15:21 < MikeSeth> kaos|work: nothing, wasn't aware of that, doesn't matter. 15:22 < kaos|work> hmm, as far as i can see the code initializes the callback class before every onGenerate call 15:22 < kaos|work> i would regard that as a bug 15:22 < kaos|work> changing that would be a breaking change tho 15:23 < kaos|work> but that's not how it's supposed to work 15:23 < kaos|work> Wombert ? 15:24 < Wombert> yes, bug 15:24 < Wombert> I think 15:24 < Wombert> hm 15:24 < kaos|work> kk, i will test if it's really the case and create a ticket + fix 15:25 < kaos|work> well, it worked that way until somwhere between rev 640 and 700 15:26 < Wombert> need to think about it 15:27 < kaos|work> well, it can easy be emulated in userland 15:27 < kaos|work> by calling initialize() in onGenerate manually 15:28 < kaos|work> i definitly think it's a bug 15:30 < MikeSeth> this isnt the problem im struggling with though 15:30 -!- heltem [n=Heltem@home.o2php.com] has joined #agavi 15:31 < MikeSeth> alright 15:31 < MikeSeth> do you want the test case as a patch to the sample app? 15:38 < MikeSeth> http://pastebin.com/m5f5ed8e4 <- this is a patch to the sample app 15:38 < MikeSeth> you also need to apply the corrected patch from #630 15:38 < MikeSeth> then go to /foo 15:40 < MikeSeth> you will see that the generated url is foo/edit instead of ValueToBeConverted/edit 16:02 -!- Yossi [n=nospam@89.0.27.45.dynamic.barak-online.net] has left #agavi [] 16:41 < Wombert> no 16:41 < Wombert> does the problem exist without your patch, MikeSeth 17:59 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 17:59 < Whisller> Good afternoon :) 18:01 < MikeSeth> Wombert: my patch only allows the objects through. I can reduce it to a generic case. 18:08 < Wombert> a simplified one please 18:08 < Wombert> on a vanilla sample app 18:15 -!- heltem [n=Heltem@home.o2php.com] has left #agavi [] 18:18 < MikeSeth> aight 18:19 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection] 18:32 -!- ceej [n=ceej@cpe-76-171-184-72.socal.res.rr.com] has joined #agavi 18:42 -!- LBO [i=LBO@dlk122.neoplus.adsl.tpnet.pl] has joined #agavi 18:43 < LBO> Hello all :] 18:44 < LBO> I've got a question and heard it is good place to find an answer...? 18:45 < MikeSeth> haha 18:45 < MikeSeth> lemme guess who told you 18:45 * MikeSeth pokes splatch` 18:45 < MikeSeth> all new folks, line up 18:45 < LBO> yep, it was splatch 18:45 < MikeSeth> ceej: sup? 18:45 < MikeSeth> LBO: ask away 18:46 < LBO> weel, i am trying to understand how agavi work.. reading incomplete docs, or source 18:46 < LBO> last time i tried agavi sample application and in rbac_definition red something like 18:47 < LBO> photos.edit-own 18:47 < LBO> it indicates that user can edit only his photos... but 18:47 < LBO> what is the best practise to implement that? 18:48 < MikeSeth> I dont know about rbac :< 18:48 < MikeSeth> I have only used it once and it was a long time ago. 18:48 < LBO> shit :/ 18:48 < MikeSeth> in most cases, rbac isnt needed 18:48 < MikeSeth> you can implement most of things with the default security mechanism 18:48 * MikeSeth pokes Wombert 18:48 < LBO> what do you mean by that? 18:51 < MikeSeth> LBO: the default security mechanism is sufficient for what you're trying to do 18:51 < MikeSeth> rbac should be used where every user has complex individual permissions 18:51 < MikeSeth> e.g. in cases where user A is allowed to edit user B's files, but user B isn't allowed to edit the files of user A 18:52 < LBO> uhum, do not use AgaviRbacSecurityUser... AgaviSecurityUser will be fine. 18:53 < LBO> I think I understand. 18:53 < LBO> Well, thank anyway. 18:54 < MikeSeth> welcome 18:54 < MikeSeth> Wombert: http://pastebin.com/m44bc7c63 18:54 < LBO> Recently I did not see any progress on agavi (SVN) Do you know anythink about that? 18:55 < MikeSeth> LBO: you're looking in the wrong place. Look in the 0.11 branch and not the trunk :) 18:55 < MikeSeth> Wombert: this is the reduced test case which works without #630 18:55 < MikeSeth> LBO: http://trac.agavi.org/timeline 18:56 < LBO> thanks again :) 18:56 < LBO> C U Mike 18:57 < MikeSeth> see ya 18:58 -!- shoan_ [n=shoan@59.92.141.209] has joined #agavi 19:07 -!- shoan [n=shoan@59.92.142.52] has quit [Read error: 110 (Connection timed out)] 19:29 < splatch`> yes MikeSeth ? 19:30 < splatch`> hello LBO :) 19:38 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has joined #agavi 19:39 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit [Read error: 104 (Connection reset by peer)] 19:45 < v-dogg> LBO: http://www.agavi.org/docs/latest/manuals/manual/ch03s10.html#id931440 19:50 -!- kaos|work [n=dominik@dslb-084-063-103-070.pools.arcor-ip.net] has quit [] 19:56 < E_mE> is this the best way to create a empty namespace in the AgaviUser's attributes? $this->user->setAttribute(null, null, self::SESSIONS_NAMESPACE); 20:29 < LBO> hi splatch & v-dogg 20:29 < LBO> v-dogg, but there is no answer for my previous Q 20:30 < LBO> how to give permission to action per user-specified-resource (e.g. message on the blog posted by that user) 20:31 < LBO> how to implement that.. where to start...? 20:32 < LBO> i read chapter you linked, but maybe i do not get it. I do not see an elastic way to do that thing. 20:38 < E_mE> if ive autoloaded qcSessionManager in core.model_dir.. then create qcBlahSessionManager in app/modules/blah/models .. .do i need to autoload the qcBlahSessionManager? 20:38 * E_mE feels little stupid asking that question 20:41 < LBO> as I know every class has to be loaded via autoload.xml othervise agavi will not find it 20:42 < LBO> of course only if qcBlahSessionManager is not in the same file with qcSessionManager 20:43 < E_mE> ah found the problem :D 20:43 < E_mE> i needs to contain the word model 20:43 < E_mE> you need to autoload the root parent 20:44 < E_mE> so qcBlahSessionManagerModel.class.php needs to the convention 20:46 < LBO> heeh, yes, model, actions and some configs has conventions of loading and they do not need any autoload entry. But you didntwrite that model is what youre asking about :) 20:47 < LBO> models* 20:50 -!- epaulin_ [n=epaulin@61.144.108.148] has joined #agavi 20:50 -!- ceej [n=ceej@cpe-76-171-184-72.socal.res.rr.com] has quit [] 21:02 < splatch`> LBO: are you going to made app with Agavi? 21:03 < LBO> yes... why are you asking? :> 21:03 < marklar> hi2u 21:04 < LBO> splatch: dean's office system. 21:06 < LBO> Ive been yusing other frameworks before, but they were.. weel not the thing that FW should be 21:07 < LBO> agavi offers everything i've been looking for. ivent incolete documentation wont stop me :) 21:07 < LBO> incomplete* 21:08 -!- epaulin [n=epaulin@61.144.108.113] has quit [Read error: 110 (Connection timed out)] 21:08 < E_mE> LBO: i never used any frameworks before agavi, but its been a big learning curb, but i'm getting there and it truely is a peice of technical art :) 21:09 < LBO> but I did :/ And I can bet that I can see that clearer than U :D 21:10 < LBO> Most disapointing was Zend Framework... fucking marketing :P 21:10 < splatch`> LBO: because i can help you sometimes :) 21:11 < E_mE> LBO: you got anti-fog glasses? 21:11 < LBO> At some point I wanted to be ZF contributor... but when 21:11 < LBO> I wanted to build real app.. weel ZF sucks 21:11 < splatch`> LBO: hmm.. Agavi don't sucks, but documentation isn't the best.. 21:12 < LBO> splatch: I know that.. everything I know icome from plain source :d 21:13 < LBO> and splatch... pomoc zawsze mile widziana :] 21:13 < LBO> How your IDE is going? 21:16 < splatch`> LBO: today i creating model for IDE 21:16 < splatch`> http://img159.imageshack.us/my.php?image=defaultif0.png 21:16 < splatch`> there is draft 21:17 < marklar> hm 21:17 < marklar> could anyone possibly explain the slots mechanism to me in a couple of sentences? 21:17 < splatch`> marklar: slots are something like smarty includes 21:18 < E_mE> they are also executionContainers inside each other 21:18 < E_mE> so a container can hold a number of other containers which it executes and returns to the host container and presents it in the slot in the template 21:19 < marklar> alright, so far, so good 21:19 < marklar> how would I ago about actually using/defining slots? 21:19 < marklar> I went through the sample app, but I guess I'm too tired 21:19 < splatch`> marklar: in output types i gess 21:20 < splatch`> oops guess ;) 21:20 < marklar> hmm 21:21 < LBO> ive got a guestion about slots,is there a way to pass some parameters? for example last10blogpost uses blog_posts.index action 21:21 < Whisller_> yawn 21:21 < LBO> and i want to pass postsperpage config value 21:22 < Whisller_> take over! 21:22 < Whisller_> :D 21:22 < Whisller_> Hah COD4 is really nice 21:22 < Whisller_> CoH too 21:22 < LBO> default config value is e.g. 20 but as name indicates there should be only 10 post should be show 21:22 < E_mE> marklar: ill show you a definition of my slots output_types 21:23 < marklar> E_mE: much appreciated 21:23 < marklar> now, inside a template -- is $slots defined automagically? 21:23 < marklar> or am I not looking hard enough 21:23 < LBO> heh, does anybody here play WarsoW? 21:23 < Whisller_> no 21:23 < impl> LBO: You can pass parameters to the execution container 21:24 < Whisller_> Today I'm playing Company Of Heroes 21:24 < Whisller_> And witcher 21:25 < LBO> Wither :) do you know it is based on plish novel? :D (im polish) 21:25 < E_mE> http://p.caboo.se/124156 21:25 < splatch`> LBO: warsow? 21:25 < splatch`> what is that? 21:26 < Whisller_> LBO I know because I'm from CD PROJECT ;p 21:26 < LBO> it is open source multiplayer game :) 21:26 < LBO> http://www.warsow.net/ 21:26 < E_mE> marklar: then inside my template i have $slot['header']; which inhand calls the Header action in the Default module 21:26 < marklar> excellent 21:26 < Whisller_> LBO you are from POland...? 21:27 < LBO> yep, i am 21:27 < marklar> the template being QuickChefSkeleton.php in templates/? 21:27 < E_mE> yes 21:27 < Whisller_> Just like me 21:27 < marklar> wicked. 21:27 < E_mE> ive also got $inner which is the main content in ym QuickchefSkeleton too 21:27 < splatch`> LBO: so you can see Whisller_ and mine english in action ;) 21:27 < Whisller_> hehe 21:27 < Whisller_> brb Company Of Heroes LAN :) 21:27 < E_mE> but the $inner is where my knowledge is little flaky 21:28 < marklar> hm 21:28 < LBO> heeh, I do not like written english. I work with english in day job 21:28 < LBO> lots of conversation 21:28 < LBO> when im writing i think to much 21:29 < LBO> and that TYPOS, grrr :/ 21:29 < marklar> blah 21:30 < marklar> murphy's red = !good 21:30 < LBO> hey, im uisng mirc is here an option of coloring entries of different users? 21:31 < marklar> yeah 21:32 < LBO> yeah what? :> 21:34 < marklar> http://www.mirc.net/projects.php?go=1060892132&get_review=1 21:34 < splatch`> LBO: be pro, use irssi and write own stuff for client in perl! 21:35 < impl> Perl makes me stabby 21:38 < marklar> hm, can I force filters to only be invoked on POST? 21:38 < LBO> heeh, im windowns worshiper and i dont need perl :P 21:38 < splatch`> LBO: where you from? 21:38 < splatch`> or where are you live :) 21:38 < LBO> warsaw 21:39 < impl> marklar: sure, take a look at the FPF example 21:39 < splatch`> LBO: hm.. i work in this ugly town ;) 21:39 < impl> write 21:40 < LBO> I do to. But not as a programmer - not officially 21:41 < LBO> I was programmer year ago, but I didnt earn as much as I want and take job not in IT 21:41 < LBO> took a job* 21:43 < splatch`> LBO: hm.. programmers in warsaw earn much more than programmers from other cites 21:47 < marklar> hrm 21:47 < splatch`> when i moved from Bydgoszcz to Warsaw my salary step up almost 50% 21:47 < splatch`> sorry 100% :) 21:58 -!- bogdan [n=bogdan@unassigned-reverse-89-34-59-10.netquest.ro] has joined #agavi 22:09 < marklar> strange, it seems that the FPF executes on a read request 22:10 < LBO> Can anybody explain me what layers are and what they do? 22:10 < LBO> in few sentences.. 22:10 < splatch`> LBO: przykro mi, ale nigdy tego nie uzywalem 22:12 < LBO> splatch: mnie ciekawi kiedy wyjdzie dokumentacja - wyobraŸ sobie ile nowych rzeczy i mozliwoœci siê dowiesz 22:13 < splatch`> ano 22:14 < LBO> splatch: bo z niewiedzy wychodz¹ zawsze protezy :) 22:40 -!- rhalff [n=rhalff@c62248.upc-c.chello.nl] has joined #agavi 22:51 < splatch`> *&#*(!@$^%! 22:56 -!- LBO [i=LBO@dlk122.neoplus.adsl.tpnet.pl] has quit [] 23:01 < Whisller_> hmm 23:22 < Wombert> -> 23:24 < splatch`> <- 23:33 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has quit ["Leaving"] 23:46 < E_mE> can i import a external template into another template with agavi? 23:46 < impl> How do you mean? 23:47 < E_mE> should i just use ? 23:47 < E_mE> i dont want to perform any container executions 23:47 < E_mE> just want pure template import 23:47 < impl> You could do that fine, or use layers or so to embed them 23:48 < E_mE> layers uses containers/action dont they? 23:48 < impl> They don't have to 23:48 < impl> You can use them to decorate 23:49 < impl> http://trac.agavi.org/browser/branches/0.11/samples/app/config/output_types.xml 23:49 < E_mE> so loadLayer() in the view? 23:49 < E_mE> will it evaluate like include() 23:49 < impl> append/prependLayer 23:50 < impl> Yeah 23:50 < impl> and createLayer 23:50 < E_mE> cool :) 23:50 < impl> http://trac.agavi.org/browser/branches/0.11/src/view/AgaviView.class.php#L171 23:51 < E_mE> thanx :) 23:58 < splatch`> http://blog.dywicki.pl/wp-content/uploads/2007/12/manager.PNG 23:58 < splatch`> informations about agavi project stored in db4o 23:58 < splatch`> \o/ 23:58 < splatch`> yeag, i after this i can go eat 23:58 < impl> cool! 23:59 < splatch`> impl: do you saw my model draft? 23:59 < impl> I don't think so, maybe 23:59 < impl> Link? 23:59 < splatch`> http://blog.dywicki.pl/wp-content/uploads/2007/12/default.png --- Day changed Sun Dec 02 2007 00:00 < splatch`> i don't know how to put into model handle*Error methods 00:00 < impl> I'm going to go eat, but I'll take a look at that in ~10 minutes 00:01 < splatch`> now i've AgaviMethod with type (read, write, writeError) 00:04 < E_mE> can you define layer outside of a layout and call it from a view with appendLayer? 00:05 < E_mE> or am i somewhat off the tangen? 01:10 -!- jake [n=jake@cpe-66-61-166-240.indy.res.rr.com] has joined #agavi 01:13 < jake> qq. I have an xml validator. In my error view, I'm trying to fetch $this->getContainer()->getValidationManager()->getErrors() to create a string of error messages. However, getErrors has no value set for any messages 01:14 < jake> I'm thinking I've done something wrong in my xml validator. I'm using the string validator and am trying to use two error messages. Is Too shortToo long valid? 01:23 < E_mE> maybe you need to use etc... just a guess 01:23 < E_mE> i've not used for="blah" before in validator xml though. 01:23 < jake> I looked at the xsd and name isn't a supported attribute 01:24 < E_mE> :) ... i forgot about the xsd :) 01:24 < jake> heh 01:25 < E_mE> do you know if its executing the validate.xml file? 01:26 < jake> as in Action.xml, underneath my validate directory? 01:26 < E_mE> yes 01:27 < E_mE> mm perhapse you need to $this->setAttribute() in the handle*Error 01:28 < E_mE> like this: 01:28 < E_mE> $vd = $this->getContainer()->getValidationManager(); 01:28 < E_mE> $this->setAttribute('inputErrors', $vd->getErrors()); 01:29 < jake> that would be crappy. Checking. 01:30 < jake> no, doesn't look like it. Dumping $vm->getErrors() in handleError() returns the same stuff as in my view 01:30 < jake> e.g. the message is empty 01:30 < E_mE> mmm 01:33 < E_mE> can you pastebin the xml file? 01:34 < jake> sure 01:35 < jake> http://pastebin.com/d541d7170 01:38 < E_mE> is it not working on any of the fields? 01:39 < jake> Well, validation fails, but no error messages are available 01:39 < jake> validation fails when it should fail, that is 01:42 < jake> ahh, I think I see what's going on 01:42 < jake> it is working as I have specified, but I wasn't specifying a generic message, for when the item wasn't specified 01:43 < jake> and apparently, when empty, some items were being dropped 01:45 < E_mE> so its a configuration problem with the XML file? 01:46 < jake> Well, more with the xsd 01:47 < jake> if a parameter is required, and no generic exists, an error should be issued, IMHO 02:02 -!- Wombert_ [n=Wombert@dslb-084-056-026-140.pools.arcor-ip.net] has joined #agavi 02:14 < E_mE> nite 02:14 < splatch`> night 02:16 < jake> thanks for the help E_mE 02:18 -!- Wombert [n=Wombert@dslb-084-056-037-071.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 02:38 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 02:51 -!- malax [n=malax@unaffiliated/malax] has quit ["Leaving"] 02:53 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 02:53 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection] 02:56 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 02:57 -!- malax [n=malax@unaffiliated/malax] has quit [Client Quit] 03:01 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 03:07 -!- malax [n=malax@unaffiliated/malax] has quit ["Leaving"] 03:13 -!- rhalff [n=rhalff@c62248.upc-c.chello.nl] has quit ["Leaving"] 03:32 < marklar> hm 03:32 < marklar> anyone alive? 03:47 -!- v-dogg_ [i=vmakinen@kapsi.fi] has joined #agavi 03:49 -!- v-dogg [i=vmakinen@kapsi.fi] has quit [Read error: 104 (Connection reset by peer)] 03:56 -!- epaulin_ [n=epaulin@61.144.108.148] has quit ["Ex-Chat"] 04:10 -!- Wombert_ is now known as Wombert 04:12 < Wombert> woot 04:12 < marklar> hai 04:14 -!- marklar is now known as marklar|home 04:14 < Wombert> hey jake 04:14 < Wombert> not so easy to do 04:14 < Wombert> as the xsd cannot know if that validator requires an 04:14 < Wombert> usually, you can use and w/ a string validator 04:14 < Wombert> and just omit for="min" 04:21 -!- CelticSon [i=Celtic@port-212-202-210-248.dynamic.qsc.de] has quit [Read error: 110 (Connection timed out)] 05:02 -!- epaulin [n=epaulin@61.144.108.148] has joined #agavi 05:52 -!- marklar|home [i=marklar@unaffiliated/marklar] has quit [Read error: 110 (Connection timed out)] 06:55 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi 07:00 < nagaozen> Hello? 07:30 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit ["Leaving"] 08:09 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 08:24 * MikeSeth pets marklar 08:24 < MikeSeth> om nom nom 08:28 -!- marklar [n=mark@unaffiliated/marklar] has joined #agavi 08:28 -!- Arme[N] is now known as Arme[0] 08:45 < marklar> hai2u 08:57 -!- LBO [i=LBO@dkz20.neoplus.adsl.tpnet.pl] has joined #agavi 09:02 -!- almighty [i=LBO@dla126.neoplus.adsl.tpnet.pl] has joined #agavi 09:09 -!- almighty [i=LBO@dla126.neoplus.adsl.tpnet.pl] has quit [] 09:19 -!- LBO [i=LBO@dkz20.neoplus.adsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)] 09:31 -!- shoan_ [n=shoan@59.92.141.209] has quit [] 10:22 < v-dogg_> huomenta 10:27 -!- v-dogg_ is now known as v-dogg 10:28 < MikeSeth> oh hi 10:45 < E_mE> huomenta! 10:51 < marklar> oh hi 11:00 -!- E_mE [n=E_mE@88-107-255-140.dynamic.dsl.as9105.com] has left #agavi ["Konversation terminated!"] 11:00 -!- E_mE [n=E_mE@88-107-255-140.dynamic.dsl.as9105.com] has joined #agavi 11:01 < E_mE> Wombert: how is it best for me to include a external template into my current template? 11:01 < E_mE> i've got a widget for selecting allergies, but use it both in modify and insert allergy and want to use the same interface 11:01 < E_mE> i pretty much want to emulate the include('template.php'); but in the agavi way 11:12 < MikeSeth> http://pastebin.ca/803584 <- OPINIONS PLZ 11:12 * Wombert yawns 11:12 < Wombert> morning 11:13 < MikeSeth> huomenta 11:13 < MikeSeth> Wombert: http://pastebin.ca/803584 11:20 < E_mE> morning Wombert, ive been experiementing with the idea of trying to get the template to display in my root template 11:21 < v-dogg> E_mE: include 11:21 < Wombert> so you just want to reuse certain template snippets? 11:22 < Wombert> include :) 11:22 < Wombert> yup 11:22 < E_mE> ah okay... 11:22 < E_mE> my orginal idea was the answer hehe.. :) thanx 11:25 < E_mE> which function allows me to translate %core.template_dir%? 11:25 < E_mE> im assuming it lives in the AgaviToolkit 11:25 < v-dogg> you don't need to translate it, use AgaviConfig::get('core.template_dir'); 11:26 < E_mE> ah cool :) 11:28 < MikeSeth> v-dogg: http://pastebin.ca/803584 11:28 < MikeSeth> comments plz! 11:32 < v-dogg> looks very cool 11:32 < MikeSeth> should I swith to glob patterns? 11:33 < v-dogg> handlers could of course be classes / class methods, right? 11:33 < MikeSeth> v-dogg: callbacks, so it doesn't matter. 11:33 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 11:34 < v-dogg> hmm.. glob patters vs. regexp 11:35 < v-dogg> I'd think glob patterns would be easier and suitable 11:39 * MikeSeth pokes Wombert 11:40 < MikeSeth> $0.02 PLZ! 11:41 < trophaeum_> glob is slower than regex unfortunately though 11:42 < MikeSeth> trophaeum_: I woudln't be *literally* using glob() 11:43 < MikeSeth> rather, pattern foo.bar.* would be converted to regex #foo\.\.bar\.+# 11:43 < MikeSeth> uhh dunno why I put double \. there 12:01 < E_mE> chow for now! 12:01 -!- E_mE [n=E_mE@88-107-255-140.dynamic.dsl.as9105.com] has quit [Remote closed the connection] 12:10 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection] 12:22 < Wombert> oh 12:23 < Wombert> a new face 12:23 < Wombert> servus bogdan 12:28 * MikeSeth looks at Wombert 12:28 -!- Arme[0] is now known as Arme[N] 12:30 < jake> Wombert, whether xsd can do that or not, it's still sort of a bug. It should at least be mentioned in the documentation somewhere. 12:30 < jake> bbiab 12:40 * MikeSeth pokes Wombert 12:41 < MikeSeth> mmm 12:41 * MikeSeth pokes Wombert 12:47 -!- rhalff [n=rhalff@c62248.upc-c.chello.nl] has joined #agavi 12:47 < Wombert> y0 MikeSeth 12:49 < MikeSeth> Wombert: http://pastebin.ca/803584 12:50 < Wombert> what is that 12:51 < Wombert> I mean 12:51 < Wombert> I see what it is 12:51 < Wombert> but what is the point of it 12:54 < MikeSeth> umm 12:54 < Wombert> I mean 12:54 < Wombert> is that for an app you write 12:54 < MikeSeth> 12:54 < MikeSeth> 12:54 < MikeSeth> 12:54 < MikeSeth> 12:54 < MikeSeth> 12:54 < Wombert> or is that an idea for 2.0 12:54 < MikeSeth> 12:54 < MikeSeth> 12:54 < Wombert> well 12:54 < MikeSeth> 12:54 < MikeSeth> 12:54 < Wombert> okay 12:54 < Wombert> just my 2c: an event based system does not at all fit into mvc, or agavi 12:54 < Wombert> query, will send you sth 12:55 < MikeSeth> Wombert: it does, if the event handling is unidirectional, e.g. the handlers have no effect on anything other tha internal application states. 12:59 < Wombert> mh not so sure 13:03 < Wombert> also remember the theoretical possibility of having concurrent contexts 13:03 < Wombert> so making it static is maybe not the best of ideas 13:03 < Wombert> MyEventManager extends AgaviModel implements AgaviISingletonModel 13:03 < Wombert> prolly easier 13:03 < MikeSeth> Wombert: it's not static, really. denotes the type of handler 13:04 < MikeSeth> you could have e.g. or etc 13:05 < MikeSeth> also the reason I called the methods bind and signal and not addListener and sendEvent is to remind people that this is designed for manipulating internal application states, not signalling things to Agavi parts 13:06 < marklar> mrhfk 13:07 < Wombert> no 13:07 < Wombert> AgaviEvent::create() 13:07 < Wombert> I mean 13:07 < MikeSeth> oh, I actually consider giving up on AgaviEvent 13:08 < MikeSeth> an event can be a simple tuple, type and contents 13:09 < marklar> we could also go buy furniture today 13:09 < marklar> =| 13:09 < Wombert> wait 13:09 < Wombert> so you guys sharing an apartment now 13:09 < marklar> *nod* 13:09 < Wombert> and you're chatting on a public irc channel 13:10 * Wombert shakes head 13:10 < marklar> um 13:10 < marklar> we have jobs 13:10 < Wombert> HEY DUDE WE RAN OUT OF SODA 13:10 < Wombert> oh? 13:10 < marklar> mine's an hour away 13:10 < Wombert> oO 13:10 < Wombert> oh 13:10 < Wombert> sunday 13:10 < Wombert> jewland 13:10 < Wombert> work day 13:10 < Wombert> I forgot 13:10 < Wombert> :) 13:10 < marklar> yeah 13:10 < marklar> except not really 13:10 < marklar> since we're, like, a financial outfit 13:10 < marklar> so we're just comitting stuff to cvs and breaking everything 13:10 < marklar> :\ 13:10 < marklar> committing, even. 13:12 < MikeSeth> marklar: tell him about the awesome job I hooked you up with :> 13:12 < marklar> hehe 13:12 < marklar> yeah 13:12 < marklar> mad job 13:12 < marklar> :D 13:12 < marklar> I'm like busy or something 13:12 < marklar> miek 13:12 < marklar> we should go and buy stuff 13:13 < MikeSeth> marklar: when plz 13:13 < MikeSeth> i also have to go to raanana to pay the power bill 13:14 < MikeSeth> marklar: obtw you coming home tonight? 13:14 < marklar> yes 13:14 < marklar> can't you pay it online 13:15 < Wombert> oO go to a town to pay a bill? 13:15 * Wombert blinks 13:15 < Wombert> you living in... kfar saba, right? 13:16 < marklar> yea 13:18 < marklar> mike, why raanana? 13:20 < MikeSeth> Wombert: yeah. 13:20 < MikeSeth> Wombert: no, we're 3 months overdue and the charge doesnt fit on my credit card 13:20 < Wombert> no online banking? oO 13:21 < MikeSeth> Wombert: I forgot the password, and my branch is on the other side of the country :< 13:23 < marklar> meh :( 13:25 < Wombert> call them and request a new PIN? :p 13:25 -!- CelticSon [i=Celtic@port-212-202-0-178.dynamic.qsc.de] has joined #agavi 13:26 < MikeSeth> Wombert: I'll have to go to my branch to pick it up 14:01 < MikeSeth> btw Wombert 14:01 < MikeSeth> http://pastebin.com/m44bc7c63 <- have you seen this? 14:01 < MikeSeth> reduced test case that shows the problem in routing. 14:01 < Wombert> could you, mh, really reduce it? :p 14:02 < Wombert> and I don't see a default value there 14:02 < MikeSeth> Wombert: open /foo 14:02 < MikeSeth> you will see that the generated route looks like /foo/edit?page=XXX and not /XXX/edit 14:03 < MikeSeth> apparently any parameters created by a callback in onGenerate are not interpolated into the named parameters in the pattern 14:11 < marklar> blooop 14:12 * marklar wants a bed. 14:48 < MikeSeth> zomg 14:48 < MikeSeth> http://www.haikupoetshut.com/image003.jpg 14:49 < MikeSeth> "I CAN HAS LETHL INJEKSHN?" 14:56 < marklar> kek 14:57 < Wombert> MikeSeth: please 14:57 < Wombert> with a cherry on top 14:57 < Wombert> give a _reduced_ test case 14:57 < Wombert> w/o ten new modules, base actions, views, configs, callbacks, templates 14:57 < Wombert> Configuration file "/Users/dzuelke/Code/oss/agavi/branches/0.11/samples/app/modules/Test/config/module.xml" could not be parsed due to the following errors: 14:57 < Wombert> :/ 14:58 < Wombert> make a vanilla checkout of 0.11, modify the locale route and the locale callback to show the issue, for instance 14:59 < MikeSeth> Wombert: uhhh 14:59 < MikeSeth> im pretty sure I did 14:59 < MikeSeth> ok, I'll do it again 15:00 < Wombert> it has a thousand files or so 15:00 < Wombert> really, just modify routing.xml, the callback and one gen() call in MenuSuccess.php 15:00 < Wombert> or so 15:00 < Wombert> that way, it's easy to isolate the issue 15:00 < Wombert> thanks 15:02 < MikeSeth> Wombert: np. 15:02 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 15:02 < Whisller> Hi :) 15:03 < Wombert> http://trac.agavi.org/ticket/629 this is really fucked btw 15:09 < MikeSeth> wow 15:09 < MikeSeth> bork 15:14 < Wombert> yes 15:14 < Wombert> very 15:14 < Wombert> this is really, really, really difficult 15:14 < Wombert> the only way I can see is just... not... allowing that :p 15:14 < Wombert> an alternative I'm looking into is if a container runs another (as "next") 15:14 < Wombert> and that container, post run, has a different output type 15:15 < Wombert> then instead of returning the response 15:15 < Wombert> we throw an exception with the response and the output type 15:15 < Wombert> that exception is then caught in the controller, which can handle the case 15:15 < Wombert> this would not cause BC breaks because the feature doesn't work anyway 15:15 < Wombert> :) 15:16 < MikeSeth> hmpf 15:16 < Wombert> but I'm really surprised nobody caught this 15:16 < Wombert> e.g. image action, on 404 agavi still sends the png headers 15:18 < MikeSeth> couldn't the forwarded container completely overwrite the global response object? 15:45 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 15:45 < Wombert> ah? 15:45 < Wombert> no 15:46 < Wombert> y0 malax 15:46 < malax> hi Wombert 15:46 < Wombert> still struggling with the bug report 15:46 < Wombert> I'll see if I can solve it by throwing an exception 15:46 < malax> any progress on... can you read my mind? 15:47 < Wombert> if that doesn't work (should, but not sure yet), the solution will likely be... not allowing that altogether 15:47 < Wombert> I'm really surprised nobody noticed that before 15:47 < malax> *sigh* I really need that feature :( 15:47 < Wombert> e.g. ImageAction 15:47 < Wombert> and a 404 html page 15:48 < Wombert> would have the image content type sent 15:48 < Wombert> weird 15:50 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 15:54 * Wombert shakes head 15:54 < Wombert> this is not gonna work 15:55 < malax> gna... this is a monster drawback for agavi. :( 16:01 < Wombert> don't worry, malax 16:01 < Wombert> I'll figure something out 16:01 < Wombert> just needs some time 16:02 * malax needs cookie. :( 16:11 -!- LBO [i=LBO@dmb159.neoplus.adsl.tpnet.pl] has joined #agavi 16:12 -!- E_mE [n=E_mE@88-107-255-140.dynamic.dsl.as9105.com] has joined #agavi 16:13 < E_mE> huomenta 16:13 < LBO> hi guys 16:15 < E_mE> nice little puzzle game: http://www.gamedesign.jp/flash/chatnoir/chatnoir.html have to stop the cat escaping :D 16:24 < LBO> nice game, but sometimes it is imposible to win 16:24 < LBO> it depends of first moves of the cat :/ 16:24 -!- almighty [i=LBO@dmg148.neoplus.adsl.tpnet.pl] has joined #agavi 16:26 < E_mE> yeah 16:26 < E_mE> ive only won once 16:27 < almighty> for this 10 min 3 times - there is a way :D 16:27 < almighty> 4th :P 16:36 -!- rhalff [n=rhalff@c62248.upc-c.chello.nl] has quit ["Leaving"] 16:37 -!- almighty [i=LBO@dmg148.neoplus.adsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)] 16:40 -!- E_mE [n=E_mE@88-107-255-140.dynamic.dsl.as9105.com] has quit [Remote closed the connection] 16:44 -!- LBO [i=LBO@dmb159.neoplus.adsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)] 17:04 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection] 17:48 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit ["Leaving"] 18:38 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 19:00 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 19:00 < Whisller> Hi 19:40 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 20:50 -!- epaulin_ [n=epaulin@218.19.216.17] has joined #agavi 20:54 -!- LBO [i=LBO@djz254.neoplus.adsl.tpnet.pl] has joined #agavi 21:00 -!- LBO [i=LBO@djz254.neoplus.adsl.tpnet.pl] has quit [] 21:09 -!- epaulin [n=epaulin@61.144.108.148] has quit [Read error: 110 (Connection timed out)] 21:41 < Wombert> gawd 21:41 < Wombert> #629 is SUCH a bitch 21:42 < Wombert> and now I need to understand why I removed the response creation in http://trac.agavi.org/changeset/1635#file15 21:43 < Wombert> and test a million circumstances w/ caching 21:43 < Wombert> zomfg 22:22 -!- rhalff [n=rhalff@c62248.upc-c.chello.nl] has joined #agavi 22:35 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit ["Leaving"] --- Day changed Mon Dec 03 2007 00:54 -!- bogdan [n=bogdan@unassigned-reverse-89-34-59-10.netquest.ro] has quit [Remote closed the connection] 01:39 -!- rhalff [n=rhalff@c62248.upc-c.chello.nl] has quit ["Leaving"] 02:01 -!- Wombert_ [n=Wombert@dslb-084-056-037-078.pools.arcor-ip.net] has joined #agavi 02:19 -!- Wombert [n=Wombert@dslb-084-056-026-140.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 02:59 -!- CelticSon [i=Celtic@port-212-202-0-178.dynamic.qsc.de] has quit [Read error: 113 (No route to host)] 05:22 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 05:53 -!- Arme[N] is now known as raidman 05:54 -!- raidman is now known as Arme[N] 06:14 -!- Arme[N] is now known as Arme[0] 06:23 -!- shoan [n=shoan@219.64.79.86] has joined #agavi 06:43 < shoan> huomenta 07:21 < Wombert_> huomenta 07:21 -!- Wombert_ is now known as Wombert 07:44 < v-dogg> huomenta 07:51 < Arme[0]> huomenta 07:53 -!- epaulin_ is now known as epaulin 08:37 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 08:38 < RossC0> Huomenta! 08:43 < MikeSeth> I AM TEARING MY HAIR 08:44 < RossC0> why? 08:44 < v-dogg> you'll end up bold like me and RossC0 :) 08:44 < RossC0> yup 08:44 < MikeSeth> v-dogg: bold > bald :D 08:44 < RossC0> and that costs money 08:44 < Wombert> lolz 08:44 < v-dogg> ups, bald :) 08:44 < MikeSeth> Wombert: this whole response creating thing wouldn't have anything to do with the barf lock now would it? 08:44 < Wombert> RossC0 is wearing a toupet now! 08:44 < RossC0> the soap no longer lasts as long as my face gets bigger 08:44 < Wombert> loooolz 08:45 < v-dogg> haha 08:46 < RossC0> Wombert: #629 08:46 < Wombert> http://blog.bitxtender.com/post/20716715 08:46 < Wombert> :> 08:46 < RossC0> would my patch work? 08:46 < RossC0> ah no 08:47 < RossC0> pants that for caching 08:47 < Wombert> what patch 08:47 < RossC0> Wombert: :> 08:47 < Wombert> it's just a matter of thinking this through 08:47 < Wombert> I'll have it fixed by tomorrow 08:47 < v-dogg> and my typo made that post imperfect :( 08:48 < Wombert> really surprised that nobody hit that yet 08:48 < Wombert> [22:42] Wombert: and now I need to understand why I removed the response creation in http://trac.agavi.org/changeset/1635#file15 08:48 < v-dogg> propel can't do multiple inserts in one go, can it? 08:49 < RossC0> Ah its not related to #588 - nm 08:49 < RossC0> that still needs a solution mind or some configuration for 1.0 me thinks 08:53 < v-dogg> when is logging shut down? 08:53 < v-dogg> is database still available in logappender::shutdown? 08:54 < RossC0> v-dogg: yeap 08:55 < v-dogg> splendid 08:55 < RossC0> I insert on shutdown 08:55 < v-dogg> yeah, that's what I'm just doing 08:56 < v-dogg> until now I've inserted in write but I have too many inserts happening now 08:57 < Wombert> appender write? 08:57 < v-dogg> yeah 08:58 < Wombert> whoa 08:58 < Wombert> why aren't our appenders doing that 08:58 < Wombert> I thought they were 08:58 < Wombert> doesn't that mean that the log file is locked for the entire request? 08:59 < v-dogg> hmm... seems that way 09:00 < v-dogg> fclose($this->handle); is called in shutdown 09:00 < Wombert> ya 09:03 < v-dogg> RossC0: how do you do your insert? separate inserts or some mass insert thingy? 09:04 < Wombert> mass insert ftw 09:04 < Wombert> :) 09:04 < RossC0> yup 09:04 < Wombert> btw 09:04 < Wombert> w/ a content length 09:04 < Wombert> (which agavi sends for you) 09:04 < Wombert> the browser closes the connection before the shutdown func is run 09:04 < Wombert> which means 09:04 < Wombert> your users do not need to wait for the logging to finish 09:05 < Wombert> :) 09:05 < RossC0> hehehe: Google for "French Military Victories" and press the "I'm Feeling Lucky" button... 09:05 < Wombert> "did you mean: 'stupid surrender monkeys'?" 09:05 < Wombert> or what? :p 09:05 < Wombert> oooh RossC0 did you see Top Gear 09:05 < RossC0> yeah 09:05 < RossC0> lol 09:05 -!- E_mE [n=E_mE@89.104.225.116] has joined #agavi 09:06 < Wombert> I like hamilton a little better now 09:06 < RossC0> man the Formula cars were good and look very very hard 09:06 < E_mE> Huomenta! 09:06 < RossC0> what the Ice man? 09:06 < RossC0> yeah he was funny 09:06 < RossC0> (for a robot) 09:06 < Wombert> well that's raikkönen :p 09:06 -!- marklar [n=mark@unaffiliated/marklar] has quit [Remote closed the connection] 09:06 < Wombert> heh 09:06 < Wombert> yes 09:07 < E_mE> ah you refering to Top gear last night? 09:07 < Wombert> how he asked clarkson "you wanna have a go?" when asked if he'd like a useless team mate 09:07 < Wombert> ace 09:07 < RossC0> yup 09:07 < Wombert> cracked me up 09:07 < E_mE> that was pretty impressive when he drove the F1 car 09:08 < E_mE> but i was also pretty impressed with that car that could drive it self round the track with no control from the driver... pretty amazing 09:09 < RossC0> yeah would be wierd 09:09 < RossC0> zomg: http://www.symfony-framework.com/2007/11/02/symfony-icons-from-wwwfamfamfamcom/#comments 09:10 < RossC0> thats very parasitical 09:10 < Wombert> zomg fuckers 09:10 < RossC0> It was on Dzone - and it read like the fam fam fam icons were made just for symf 09:10 < Wombert> did it really take them three years to find those 09:11 < v-dogg> can PDO do $db->prepare('insert into foo values (:bar, ?, ?), (:bar, ?, ?), (:bar, ?, ?);') ? 09:16 < RossC0> hmm 09:17 < RossC0> man the docs suck sometimes for PHP 09:17 < RossC0> that work v-dogg? 09:17 < v-dogg> "sometimes"?! 09:18 < v-dogg> didn't try yet 09:27 < RossC0> any svn gurus? 09:27 < RossC0> we have a repo - that has no trunk, branches, tags structure - the root is effectively trunk 09:28 < RossC0> how easy / complex would it be to move the current root into a trunk dir and add branches and tags 09:28 < RossC0> brb 09:28 < v-dogg> "SQLSTATE[HY093]: Invalid parameter number: mixed named and positional parameters" 09:28 -!- shoan [n=shoan@219.64.79.86] has quit [Read error: 104 (Connection reset by peer)] 09:29 < v-dogg> RossC0: afaik, easy 09:30 < v-dogg> checkout, mkdir trunk, mkdir tags, svn move * -> trunk, commit 09:30 < v-dogg> or am I missing something?-) 09:30 < RossC0> sounds too easy! 09:31 < v-dogg> oh, svn add trunk + tags + braches before moving :) 09:31 < Wombert> yes 09:31 < Wombert> was bout to say 09:32 < Wombert> you can move in the repos tho too 09:32 < Wombert> I think 09:32 < Wombert> svn move http://url/repos http://url/repos/trunk -m "lolz" 09:32 < RossC0> ah cool 09:33 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 09:34 < malax> HUOMENTA! 09:38 < RossC0> Cannot move URL 'svn://localhost/blah' into itself 09:38 < RossC0> boo 09:39 < RossC0> manually moving each dir 09:41 < E_mE> how is it best to redirect users if they are in an expired session and then perform a ajax request? 09:41 < RossC0> but will that bork it for people who aren't in and haven't committed yet? 09:41 < RossC0> E_mE: Add an executeAjax for Secure View 09:42 < RossC0> and in there have passes something to your Ajax lib saying to redirect 09:43 < RossC0> http://agavi.pastebin.com/d8f9dc53 09:43 < E_mE> can you make view secure? 09:43 < RossC0> thats my secure success view 09:43 < E_mE> thanx mr :) 09:44 < RossC0> i.e. they timed out and tried to do a secure action 09:44 < RossC0> v-dogg / Wombert : will moving all the dirs bork it for people who aren't in and haven't committed yet? 09:44 < RossC0> or will they be able to svn switch and be away? 09:48 < Wombert> expired means they're asked to log in again, mind you 09:49 < v-dogg> RossC0: hmm... no idea but I would put my money on massive fail :p 09:49 < Wombert> they're gonna get an out of date message, need to svn up, and then mh 09:49 < Wombert> I _think_ unmodified files are moved 09:49 < Wombert> and modified ones stay behind in the original location 09:50 < Wombert> [10:33] greenman77: hi.. am wondering is there anyway for symfony to read pdf files? 09:50 < Wombert> [10:33] greenman77: using helpers..? 09:50 < Wombert> [10:36] samriley: well symfony is just php so yes... php has pdf functions 09:50 < Wombert> [10:37] greenman77: hi samriley.. well, i know i can create pdf files.. no problems.. 09:50 < Wombert> [10:37] greenman77: but how do i convert a pdf to string? 09:50 < Wombert> ... 09:50 < Wombert> I'm so glad we don't have asshat users like that 09:50 * Wombert hugs everyone 09:51 < malax> lol 09:52 < Wombert> stormy 09:52 * Wombert doesn't want to go out in this weather 09:53 < RossC0> hmm I'm thinking a new repo! 09:57 < Wombert> then you lose your history 09:57 < Wombert> not good 09:59 < v-dogg> sfPdfToStringHelper 09:59 < RossC0> yaeh 10:00 < RossC0> and amounts to the same thing 10:00 < RossC0> people will still have to migrate un committed shite 10:00 < Wombert> then tell them to commit 10:00 < Wombert> for i in *; do svn mv $i trunk; done 10:00 < Wombert> :) 10:01 < RossC0> Wombert: they're not in 10:01 < v-dogg> they are not in and they have uncommited code! wooot? :p 10:01 < MikeSeth> Wombert: I was just drinking tea and reading what you pasted when you said 'asshat' 10:02 < RossC0> yeap 10:02 < MikeSeth> thank you for giving me the visual of that person 10:02 < Wombert> sorry MikeSeth 10:02 < Wombert> :) 10:02 < MikeSeth> :D 10:02 < MikeSeth> guise let's rewrite agavi in erlang!!!1! 10:02 < RossC0> brb =? meeting 10:03 < v-dogg> RossC0: new office policy: (1) never leave the office if you have uncommited code. (2) never commit code that breaks the repo. 10:03 < Wombert> yah 10:03 < MikeSeth> sounds to me like the old "you don't go home until you fix it" policy ;) 10:04 < Wombert> so annoying if people leave on friday evenings and forget to commit 10:04 < v-dogg> MikeSeth: yup :) 10:05 < MikeSeth> ZOMG 10:05 < MikeSeth> OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO 10:05 < MikeSeth> I'm gonna make monies 10:05 < v-dogg> but where are my log lines in dblogappender::shutdown ?! 10:05 < MikeSeth> I've just figured out what's wrong with reddit, digg and slashdot 10:08 < Wombert> v-dogg: you store them in write() 10:13 < MikeSeth> :< ##php 10:13 < MikeSeth> 101235 in soviet russia, regular expressions don't understand you 10:27 -!- shoan [n=shoan@219.64.150.161] has joined #agavi 10:36 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)] 10:39 -!- Wombert [n=Wombert@dslb-084-056-037-078.pools.arcor-ip.net] has quit [] 10:48 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 11:01 < v-dogg> I do store them in write(). into a class variable 11:01 < v-dogg> and in shutdown() I want to flush them into the db 11:06 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 11:07 -!- shoan [n=shoan@219.64.150.161] has quit [Read error: 110 (Connection timed out)] 11:12 -!- kaos|work [n=dominik@dslb-084-063-111-223.pools.arcor-ip.net] has joined #agavi 11:27 < RossC0> v-dogg: RossC0: hmm... no idea but I would put my money on massive fail :p 11:27 < RossC0> surprisingly its gone well 11:27 < RossC0> just svn mv'd and then got people to svn switch to trunk and vola! No problems! 11:28 < v-dogg> cool 11:29 * v-dogg puts away his pessimist hat 11:33 < v-dogg> ... and goes to make himself a latté 12:03 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)] 12:12 -!- MikeSeth [n=ohnoes@unaffiliated/mikeseth] has quit [Nick collision from services.] 12:12 -!- MikeSeth [n=MikeSeth@unaffiliated/mikeseth] has joined #agavi 12:12 < MikeSeth> vega.mikeseth.com is dead. If anyone had an account there, you don't, now 12:20 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 12:21 -!- _cheerios [n=jackbo@muxlim3.enterprises.evtek.fi] has joined #agavi 12:21 < _cheerios> huomenta-ish 12:21 < MikeSeth> like not really? 12:24 < _cheerios> kinda. its like late. i have no internet at home. enjoying the flow of every bit now at ze old office. 12:25 < MikeSeth> heh 12:27 < _cheerios> MikeSeth, how do you log Doctrine exceptions, or get more details? Is there a setting? I'd need the query that failed. 12:27 < MikeSeth> _cheerios: you use the listener mechanism to capture queries. I think it's chapter 18 of Doctrine manual. 12:28 < _cheerios> do you come up with those chapter numbers out of your ass? doesnt sound normal to remember such :) 12:28 < MikeSeth> im wrong about the number 12:29 < MikeSeth> its chapter 15 :D 12:29 -!- RossC0 [n=RossC0@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)] 12:29 < MikeSeth> also chapter 17, plugins 12:29 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 12:32 < _cheerios> k, im getting some doctrine exceptions atm, but without the query its impossible to tell what is failing 12:33 < MikeSeth> i usually have mysql query logging enabled on the dev box 12:33 < _cheerios> i dont want to listen to all queries, but just get the one that fails when it fails 12:46 -!- Yossi [n=nospam@62.90.159.110] has joined #agavi 12:46 < Yossi> Hello 12:46 < MikeSeth> _cheerios: I really dont know then, you should ask in Doctrine 12:51 -!- shoan [n=shoan@219.64.140.58] has joined #agavi 12:52 < Yossi> Does anyone know how to get my current domain path? is there any refrence to all the environmental variables bootstraped by agavi? 12:53 < MikeSeth> sample app! 12:53 < Yossi> :/ 12:55 < MikeSeth> http://trac.agavi.org/browser/branches/0.11/samples/app/config/routing.xml 12:59 -!- EoN` [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has quit [Connection timed out] 13:00 < Yossi> It doesn't have it there... 13:01 < RossC0> Yossi: explain what you mean by current domain path 13:02 < RossC0> /var/www/myapp or http://www.myapp.com ? 13:02 < v-dogg> $ro->getBaseHref() is probably what you want 13:03 < RossC0> yeah I'm thinking 13:03 < RossC0> but not sure 13:03 < RossC0> what the question means !? 13:03 < v-dogg> or AgaviConfig::get('core.app_dir'); 13:03 < v-dogg> :) 13:04 < MikeSeth> no, he wants it in routing 13:04 < Yossi> I'll try that. http://www.mydomain.com/ 13:05 < MikeSeth> Yossi: take $_SERVER['HTTP_HOST'] 13:05 < Yossi> Yeah I gigured I can do that... but I thought it might not be the 'agavi' way of doing things 13:06 < MikeSeth> in routing, it is. 13:07 < RossC0> i.e. source="_SERVER[HTTP_HOST]" 13:36 -!- RossC0 [n=RossC0@80.4.120.163] has quit ["Leaving."] 13:36 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 13:39 < Xylakant> hi all 13:39 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 13:48 -!- Wombert [n=Wombert@dialbs-213-023-052-058.static.arcor-ip.net] has joined #agavi 13:51 < MikeSeth> ommm nomm nommm 13:51 * MikeSeth is full of meat ;> 13:54 < E_mE> man meat =P 13:54 < MikeSeth> stop thinking about the cock! 13:55 < RossC0> zomg 13:55 < RossC0> FAIL 13:55 < v-dogg> haha 14:02 -!- Wombert_ [n=Wombert@85.183.90.3] has joined #agavi 14:11 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has joined #agavi 14:11 < Xylakant> hey, is there a way to suppress the session_start in the agavi user in a certain output type? 14:12 < Xylakant> use case: we have to send images using agavi, but as only one process can access the session at a single time, this locks out multiple processes 14:14 < Xylakant> it's simple using a second env, but that means a second dispatcher file etc 14:16 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"] 14:19 -!- Wombert [n=Wombert@dialbs-213-023-052-058.static.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 14:20 -!- Wombert_ is now known as Wombert 14:21 < MikeSeth> Xylakant: not really. SetEnv AGAVI_XXX_YYY ZZZ :D 14:22 < Wombert> ß 14:26 < MikeSeth> Wombert: ß? 14:26 < Wombert> dancing on the keyboard 14:26 < MikeSeth> o/~ Dancing on the keyboard, dancing for the night 14:26 < MikeSeth> On a scale of 1 to 10 14:26 < MikeSeth> How old do you think Michael Jackson's boyfriend is? 14:26 < MikeSeth> :D 14:26 < v-dogg> haha 14:26 < Wombert> what? 14:27 < Wombert> boyfriend? 14:27 < Wombert> oO 14:27 < Wombert> waht did I miss 14:27 < v-dogg> a joke 14:28 -!- Arme[N] is now known as raidman 14:29 < v-dogg> hmm.. controlling envs via .htaccess... 14:29 -!- raidman is now known as Arme[N] 14:30 < v-dogg> or context, actually 14:30 < MikeSeth> Wombert: we should really modify default index.php to grab an "official" environment name from Apache environment, if available 14:30 < MikeSeth> that's way better than editing the file manually 14:38 < trophaeum_> make sure whatever you pick is easy for nginx/lighttpd with fastcgi php's to handle :P 14:38 < Xylakant> trophaeum_: it's pretty simple to set env variables in lighttpd 14:39 < trophaeum_> that was more a MAKE SURE ITS DOCUMENTED (oh man what a joke with agavi haha) comment really 14:45 -!- Chonsu [n=Chons@dslb-084-063-111-223.pools.arcor-ip.net] has joined #agavi 14:46 -!- Chonsu [n=Chons@dslb-084-063-111-223.pools.arcor-ip.net] has quit [Remote closed the connection] 14:46 < v-dogg> a new channel policy: everyone bitching about the docs is required to contribute at least one chapter 14:46 < v-dogg> or else... 14:46 -!- Arme[N] is now known as Arme[K] 14:46 < v-dogg> look at those dots ^ and think about it 14:47 < Wombert> yes 14:47 < Wombert> :) 14:47 < Wombert> good idea 14:47 < Wombert> can you document that rule? ;) 14:47 < v-dogg> :P 14:49 -!- Chonsu [n=Chons@dslb-084-063-111-223.pools.arcor-ip.net] has joined #agavi 14:52 < _cheerios> to go thru the steps in order to contribute in the first place would be punishment enough 14:52 < Wombert> really 14:53 < Wombert> sounds like you have tried 14:53 < v-dogg> if you can use notepad and email you are good to contribute 14:54 < v-dogg> of course you can also contribute docbook xml directly :) 14:54 < _cheerios> that sums up the problem in two lines :] 14:54 < MikeSeth> v-dogg: I already have. So I can get away with bitching :D 14:55 < v-dogg> I fail to see the problem :) 14:55 < Wombert> so you'd rather complain that there is no docs and that contributing is stupid, I guess 14:55 < Wombert> yeah, me too 14:55 < MikeSeth> also, let's rewrite agavi in F# 14:55 < Wombert> no way 14:55 < MikeSeth> srsly? 14:55 < kaos|work> MikeSeth: not erlang ? ;) 14:55 < Wombert> yes, seriously 14:56 < MikeSeth> i thought it was python last time? 14:56 < Wombert> I'd much rather blow my nipples off with a torch than write ocaml 14:56 < MikeSeth> ... 14:56 < MikeSeth> okay :D 14:56 < Wombert> thanks for saving my nipples 14:56 < v-dogg> you love blowing your nipples off with a torch, don't you? 14:56 < E_mE> is PDF's http header text/pdf or application/pdf? 14:56 * Wombert calls them Stanley and Kubrick 14:57 < v-dogg> E_mE: app 14:57 < E_mE> thanx 14:57 < v-dogg> ubuntu 7.10 iso downloaded 14:57 < v-dogg> let the burning begin 14:57 * RossC0 blinks 14:58 < RossC0> thanks for shaving my nipples? 14:58 < RossC0> wha? 14:58 < E_mE> v-dogg: i use kubuntu 7.10 14:58 < RossC0> I use xubuntu 7.10 14:58 < E_mE> :) 14:58 < RossC0> and I have kde as well 14:58 < v-dogg> k for kde, x for ? 14:58 < E_mE> works nicely on my dell latitude d610 14:58 < RossC0> xcfe 14:58 < RossC0> xfce 14:58 < RossC0> even 14:59 < v-dogg> xcuse me what? 14:59 < RossC0> kde was too slow 14:59 < E_mE> xubuntu is for lower spec machines 14:59 < RossC0> http://www.xfce.org/about/ 14:59 < RossC0> and it looks nicer than kde 14:59 < E_mE> i quite like kde my self 14:59 < RossC0> http://www.xubuntu.org/tour 14:59 < RossC0> well looks like gnome 14:59 < RossC0> gnome-esq 15:00 < RossC0> and I even have kde4 but that aint working to good yet 15:00 < RossC0> and is even slower - but E_mE you should add it 15:00 < RossC0> http://kubuntu.org/announcements/kde4-rc1.php 15:01 < E_mE> i saw today that its got to rc1 15:01 < RossC0> easy to add and switch to 15:01 < E_mE> didn't want to mess with beta 3 15:01 < E_mE> but my ATI card and KDM are buggered 15:01 < E_mE> gets into KDM but refuses to go into KDE 15:01 < E_mE> so need to fall into console and then login, and then startx into kde .. 15:01 < E_mE> haven't found a resoultion to it yet :/ 15:02 < RossC0> eek 15:02 < trophaeum_> Wombert, hard to write docs when i still dont know how to use it :P 15:02 < E_mE> been like it for months... need to reinstall from afresh at somepoint 15:03 < E_mE> but i loose all my PHP settings etc 15:03 < E_mE> how much memory does your xfce use? 15:04 < RossC0> and the best way to find that out is? 15:05 < v-dogg> what do I need to use windows machines (RDP) from linux? 15:05 < trophaeum_> v-dogg, kde has rdesktop from memory 15:05 < malax> v-dogg: redesktop is nice 15:05 < malax> s/redesktop/rdesktop 15:05 < E_mE> krdc 15:06 < E_mE> ;) 15:06 < trophaeum_> hmmmm, k, that means i dropped krdc in favor of rdesktop :) 15:06 < RossC0> E_mE: according to the system monitor xfce stuff is using less than 25megs 15:07 < v-dogg> and the NTFS support is stable nowadays, right? 15:07 < malax> v-dogg: read only jep. 15:07 < RossC0> v-dogg: seems fine to me 15:07 < trophaeum_> v-dogg, there is some fuse ntfs module that works really well 15:08 < E_mE> i might have to install xubuntu in sometime.. 15:08 < E_mE> actually i do have xubuntu on the PC at home 15:08 < E_mE> ;) 15:08 < RossC0> v-dogg: its inbuilt with 7.10 I read and write to windows mounts 15:08 < RossC0> no bother 15:08 < _cheerios> v-dogg, email to contribute? hello 90s. edit xml docs directly? somewhat painful. over svn? quite a hassle to just quickly edit something. im mostly awaiting till theres better ways to contribute in a social manner, like with a wiki. 15:09 < RossC0> I think we should fine _cheerios two chapters for that outburst! 15:09 < v-dogg> :) 15:10 < MikeSeth> _cheerios: you can use one of the ninja xslt-enabled editors to edit docs wisywig 15:10 < RossC0> _cheerios: I'm sure if you put it in some format or even on the trac wiki someone would happily convert it for you ;) 15:10 < RossC0> so don't delay write docs today! 15:10 < v-dogg> exactly 15:11 < _cheerios> yes, the invisible secretary, making it all inefficient. thanks for pointing out what a mess contribution is, and keeping a straight face while saying it. 15:11 < kaos|work> _cheerios: have you ever tried to contribute docs for php ? 15:11 < kaos|work> guess what you have to do there ... 15:11 < kaos|work> write docbook 15:11 < kaos|work> and even use cvs 15:12 < kaos|work> which is by far MUCH worse then svn 15:13 < _cheerios> wont see me contributing for such a setup, either :) 15:15 < RossC0> _cheerios == fail 15:15 < v-dogg> _cheerios: we don't really need quick edits or typo fixes, we need whole chapters and you really can use email, pastebin or the trac wiki for them 15:15 < RossC0> _cheerios != fail ? 15:16 < _cheerios> yes, there's no need for quick anything, as there's nobody/few contributing in the first place.. due.. hmm, do i need to repeat myself? 15:17 < Wombert> so you're saying that because you can't be arsed, and because nobody else is doing it, you don't have to either 15:17 < Wombert> that is fine with me, but then stop complaining for fuck's sake 15:17 < Wombert> thank you 15:18 -!- shoan [n=shoan@219.64.140.58] has quit [Read error: 104 (Connection reset by peer)] 15:18 < _cheerios> heh, no. but i doubt you really believe what you just typed. 15:19 < E_mE> whats the class that allows you to extract settings from settings.xml? 15:19 < E_mE> agaviTools? 15:19 < v-dogg> settings.xml is already processed by Agavi 15:20 < v-dogg> just use AgaviConfig::get() 15:20 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 15:20 < E_mE> ah thats it :) 15:20 < E_mE> tanx 15:29 < _cheerios> Wombert, hows your couchdb experiment going? 15:35 < E_mE> if i use agaivConfig::get() and have my /mnt/faxes in the settings section that should work? 15:35 -!- _cheerios [n=jackbo@muxlim3.enterprises.evtek.fi] has quit ["people fear change too much"] 15:36 < v-dogg> get('faxes_Dir') doesn't work? 15:36 < E_mE> nope 15:36 < E_mE> even deleted cache as well 15:37 < v-dogg> use and AgaviConfig::get('myapp.foo') 15:37 < v-dogg> but before that, try 'core.faxes_Dir' 15:38 < v-dogg> I just want to know if core. prefix is used by default 15:38 < E_mE> ah ok 15:39 < E_mE> yes its core.faxes_dir 15:39 < v-dogg> ok 15:39 < v-dogg> but that's for core stuff. use your own prefix 15:40 < E_mE> already done ;) 15:41 < E_mE> im starting to learn the whole agavi world more quickly now.. starting to fit me like a secure effient water jacket ;) 15:41 < Wombert> fax 15:41 < Wombert> oO 15:41 * Wombert is fighting with his fax 15:41 < v-dogg> L0wtech lolz :) 15:42 < Wombert> dell says YES SIR DIS BRINTER IS COMPATIBL WID MAKKINTOOSH 15:42 < Wombert> which is a lie 15:42 < Wombert> :< 15:42 < Wombert> I can only print :< 15:42 < Wombert> and scan with a perl script :p 15:42 < Wombert> but no fax0r 15:42 < Wombert> :< 15:43 < Wombert> which stinks because faxing from the computer = ace quality 15:43 < E_mE> we've got fax/copier/scanner/photocoper all in one big bitch 15:43 < Wombert> ye 15:43 < Wombert> s 15:43 < Wombert> same here 15:43 < Wombert> it's not a big bitch, but still 15:43 < Wombert> well actually faxing didn't work since it aborts after the second page 15:43 < Wombert> and wants to redial 15:43 < Wombert> fucker 15:43 < Wombert> and I can't flash the firmware because that is windows only 15:43 < Wombert> :) 15:44 < E_mE> the copier can write to Samba shares :D 15:44 < E_mE> if you redial you will be there for hours =P 15:44 < E_mE> and they will prob make you put the diagonostics disk in again hehe 15:44 < Wombert> ours can write to usb sticks or send by mail or send over network 15:44 < Wombert> omg! 15:45 < Wombert> BUT THE CD DRIVE IS BROKEN 15:45 < E_mE> just send faxes by email then 15:45 < Wombert> YES SIR I UNDERSTAND CAN YOU PLEASE INSERT THE DIAGNOSTICS CD 15:45 < E_mE> haha 15:45 < E_mE> that sounds about right 15:46 < Wombert> well here in germany you get support and sales from slovenia 15:47 < Wombert> no wait, that can't be true 15:47 < Wombert> slovakia 15:47 < Wombert> slovenia would be too expensive 15:47 < E_mE> in the UK we get support from india 15:48 < E_mE> an old member of staff was once asked to spell out flat 1 15:49 < E_mE> why did you buy a dell printeR? 15:49 < Wombert> printer, scanner, copier, fax... laser... with ethernet... 337 bucks (+VAT) 15:49 < Wombert> any questions? :p 15:50 < Wombert> and it's brilliant. cheap per page price, and excellent quality 15:50 < E_mE> laser :) 15:50 < Wombert> yes 15:50 < E_mE> colour laser? 15:50 < Wombert> I can remove it and attach it to the head of a friggin shark 15:50 < Wombert> :) 15:50 < Wombert> no 15:51 < Wombert> not for 300 euros man :p 15:51 < E_mE> haha :) 15:51 < v-dogg> lol @ sharks & laser beams 15:51 < E_mE> well, you could host your own fax software which prints to the copier ;) 15:53 < E_mE> but from my experience that sucks bad 15:53 < E_mE> whats the printer model? 15:54 < Wombert> AND WHY CAN'T I DO DUPLEX PRINTING 15:54 < MikeSeth> shit 15:54 < MikeSeth> Tool song stuck in head 15:55 < MikeSeth> OMG 15:55 < MikeSeth> 15:49 * MikeSeth smacks SaMBuCa_ 15:55 < MikeSeth> 15:50 < MikeSeth> why are your variable names non-English? 15:56 < MikeSeth> 15:50 < SaMBuCa_> MikeSeth: because i'm an incompetent :) 15:57 < malax> ooookaaaay... 16:00 < Wombert> can someone on windows extract ftp://ftp.us.dell.com/printer/Dell1815dn_V1.03.03.08-AutoUpgrade.exe for me plz 16:00 < Wombert> and send me the firmware binary 16:00 < MikeSeth> sec 16:03 < Wombert> oh wait 16:03 < Wombert> don't bother MikeSeth 16:03 < Wombert> it has a newer firmware than the latest on the dell site 16:03 < Wombert> ... 16:03 < MikeSeth> damn I never owned a Dell and I hate it already 16:03 < Wombert> at least I think so 16:03 < Wombert> don't run the exe MikeSeth :) 16:03 < MikeSeth> i havent 16:04 < Wombert> use rar or so to extract the exe stuff 16:04 < Wombert> okay 16:04 < Wombert> is there a firmware bin? 16:04 < MikeSeth> I dont know, you didnt give me a newer URL :) 16:14 < Wombert> thanks mate :) 16:14 < Wombert> it doesn't need a new firmware it seems 16:14 < Wombert> well actually it does, given how it will not fax more than three pages 16:14 < MikeSeth> ... 16:14 < MikeSeth> what happens if you try? 16:15 < Wombert> well I fed it five pages 16:15 < Wombert> it faxed two, the bottom of the third, then aborted and said "waiting for redial" 16:15 < Wombert> whatever that means 16:15 < Wombert> you find out after a minute when it DOES redial 16:15 < Wombert> and again only sends... two pages 16:15 < Wombert> :) 16:15 < Wombert> and then it goes back to waiting for redial 16:16 < Wombert> like the line was busy 16:16 < Wombert> but it's not, it started faxing after all 16:16 < Wombert> not sure what's wrong 16:16 < MikeSeth> that's.. interesting to say the least. 16:19 -!- epaulin [n=epaulin@218.19.216.17] has quit ["Ex-Chat"] 16:25 < Wombert> DELL ARE YOU KIDDING ME 16:25 < MikeSeth> what now? ;> 16:25 -!- Yossi [n=nospam@62.90.159.110] has left #agavi [] 16:26 -!- eremit [n=eremit@p5B234138.dip.t-dialin.net] has joined #agavi 16:27 < Wombert> teh eremit lives! 16:27 < eremit> teh eremit is heavily overloaded with diploma work :P 16:27 < eremit> heyja all 16:28 < MikeSeth> eremit: whatcha studying? 16:28 < Wombert> well MikeSeth 16:28 < Wombert> http://blog.bitxtender.com/post/20741833 16:28 < eremit> Computer Science and Media Technologies 16:29 < MikeSeth> Wombert: GAH 16:29 < Wombert> I'll try this now 16:29 -!- Wombert [n=Wombert@85.183.90.3] has quit ["bai"] 16:30 < MikeSeth> eremit: is it fun? 16:30 < eremit> it was fun till the diploma thesis started ... hrhr 16:32 -!- Wombert [n=Wombert@85.183.90.3] has joined #agavi 16:33 -!- Wombert [n=Wombert@85.183.90.3] has quit [Remote closed the connection] 16:33 -!- Wombert [n=Wombert@85.183.90.3] has joined #agavi 16:33 < Wombert> guess what 16:33 < Wombert> ... 16:33 < Wombert> omg 16:35 < MikeSeth> what? your printer burns paper? 16:37 -!- MrJeep [n=Jean-Phi@24-122-39-195.ab.cgocable.ca] has joined #agavi 16:37 < Wombert> no 16:37 < Wombert> it seriously killed all open apps 16:37 < Wombert> now 16:38 < Wombert> I connected the printer via ethernet, not via usb 16:38 < Wombert> guess if I can scan using the thing I just installed 16:39 -!- Chonsu [n=Chons@dslb-084-063-111-223.pools.arcor-ip.net] has quit ["Leaving."] 16:41 < MikeSeth> dell should go back to fc 16:44 < MrJeep> fc ? 16:44 < MikeSeth> failchan 16:44 -!- Wombert [n=Wombert@85.183.90.3] has quit ["bai"] 16:44 < MrJeep> ok, what exacly were you talking about ? 16:46 -!- Wombert [n=Wombert@85.183.90.3] has joined #agavi 16:47 < Wombert> woot 16:47 < Wombert> totally forgot to open my advent calendar doors! 16:47 < Wombert> :) 16:47 < Wombert> three to open 16:47 < Wombert> :> 16:47 < Wombert> in fact, six 16:47 < Wombert> I bought kaos|work one, too 16:47 < Wombert> he just doesn't know that 16:47 < Wombert> and since he is not here 16:47 < Wombert> I am entitled to open his 16:47 < Wombert> :> 16:47 < kaos|work> hehehe 16:47 < kaos|work> cool :) 16:48 < MikeSeth> MrJeep: failchan is a mythical place of the internet in which all fail originates 16:50 < E_mE> if i want to use method in routing.xml .. does it require constraints? 16:51 < MikeSeth> no, it's just a safety precaution 16:51 < MikeSeth> or rather, used for fine control 16:53 < E_mE> can you see whats might be wrong with this route then? 16:54 < E_mE> 16:54 < Wombert> it's empty! 16:54 < Wombert> oh 16:54 < Wombert> too late 16:54 < Wombert> :> 16:54 < E_mE> hehe 16:54 < Wombert> errrr 16:54 < Wombert> why a method pdf 16:54 < Wombert> wrongwrong 16:54 * MikeSeth huggles Wombert 16:54 < E_mE> because ive got executePdf() in my IndexAction 16:54 < MikeSeth> eremit: but you shouldn't. 16:54 < MikeSeth> err 16:54 < MikeSeth> E_mE 16:55 < MikeSeth> E_mE: the code in the action should stay the same regardless of the output type 16:55 < MikeSeth> E_mE: actions are intended for performing checks and changes. Views are intended for returning output. 16:55 < E_mE> so do a new action 16:55 < MikeSeth> Wombert: http://damienkatz.net/2005/01/formula-engine-rewrite.html 16:56 < MikeSeth> E_mE: no. If your action can return PDF, HTML and CSV, the procedure to process the data is the same. The procedure to format is different. 16:57 < E_mE> well, the IndexAction at first just displays a list of PDF faxes 16:57 < E_mE> and then when you click it asks to download 16:58 < MikeSeth> E_mE: duh, "list files" is not the same action as "get one file" 16:58 < E_mE> else in the executeRead() i will have to write conditions 17:15 -!- JanK_ [n=JanK_@muedsl-82-207-192-163.citykom.de] has joined #agavi 17:17 -!- Arme[K] is now known as Arme[N] 17:22 < E_mE> bye bye 17:22 -!- E_mE [n=E_mE@89.104.225.116] has quit [Remote closed the connection] 17:30 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 17:30 < Whisller> hi 17:32 -!- Arme[N] [n=Arme[N]@91.184.76.142] has quit [Read error: 104 (Connection reset by peer)] 17:32 -!- MrJeep [n=Jean-Phi@24-122-39-195.ab.cgocable.ca] has quit ["Leaving"] 17:38 < RossC0> Laters all! 17:38 -!- RossC0 [n=RossC0@80.4.120.163] has left #agavi [] 17:38 < Wombert> oh noes E_mE what are you doing 17:38 < Wombert> :< 17:46 < Wombert> thanks for the story, MikeSeth 17:46 < Wombert> nice 17:48 < JanK_> i've set up a routing callback class which sets up the current category as an object as a request attribute. Problem is, that the route isnt called for the "/" route, so the section isnt set up. Can i call the routing callback with some attributes from within a route? 17:49 < Wombert> couldn't you just give the same callback to the / route? 17:49 < Wombert> also, I'm not 100% sure, but do you really think a route is the proper thing for that? 17:49 < Wombert> I'd use a global filter that does this 17:50 < Wombert> check the contents of $rq->getAttribute('matched_routes', 'org.agavi.routing'); 17:50 < Wombert> :) 17:51 < JanK_> could you explain filters? 17:51 < JanK_> i just know the validation filter, i think 17:51 < Wombert> you set them up in global_filters.xml 17:51 < Wombert> or action_filters.xml 17:51 < Wombert> the latter run for each container 17:51 < Wombert> filters run in the order they are configured 17:51 < Wombert> and each filter calls the next 17:51 < Wombert> that means they run nested 17:52 < Wombert> the last filter is the execution filter, which runs the action 17:52 < Wombert> then control goes back and back and back through the chain 17:52 < Wombert> that means you can run code before the action runs (more like "before everything else happens") 17:52 < Wombert> and after that 17:52 < Wombert> check out src/filter 17:52 < Wombert> ExecutionTImeFIlter, for instance 17:53 < JanK_> so i basically could send a redirect and dont further execute inner filters 17:53 < Wombert> if you like that, you could do that, yes 17:53 < Wombert> that is exactly what the security filter does 17:53 < Wombert> check it out! 17:53 < Wombert> FormPopulationFilter for instance just runs the chain... that means... everything else runs... nothing done before that... and after that, it takes the complete response, and modifies it 17:53 < JanK_> thats my scenario: i've got Sections, Subsection and Pages from a database including their url-name 17:54 < Wombert> in your case, the filter only does stuff before continuing in the chain, namely looking at the matched routes and setting the category object accordingly 17:54 < Wombert> why don't you make a SectionAction and a PageAction 17:54 < Wombert> that are generic? 17:55 < JanK_> true 18:39 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection] 19:36 < CIA-31> david * r2204 /trunk/ (6 files in 6 dirs): merging in changes from branches/0.11, [2197:2203] 20:08 -!- kaos|work [n=dominik@dslb-084-063-111-223.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 20:19 < Wombert> home time 20:19 < JanK_> if i want to set template values in an action, is this the best way: "$this->context->getRequest()->setAttribute('section', $section);"? 20:19 < Wombert> nononono 20:19 < JanK_> i guessed that.. 20:20 < Wombert> $this->setAttribute('foo'); 20:20 < Wombert> in the view, you can do $this->getAttribute('foo'); then 20:20 < JanK_> and set it again in the view? 20:20 < Wombert> no 20:20 < Wombert> it's gonna be in the template 20:20 < JanK_> no, not working 20:21 < Wombert> it is, definitely 20:21 < Wombert> $template['foo'] 20:21 < Wombert> or $t['foo'] or something else 20:21 < Wombert> depending on what your template var name is 20:21 < Wombert> (you can configure that) 20:23 < JanK_> in my action`s executeRead this definitly work "$this->context->getRequest()->setAttribute('section', $section);" and "$this->setAttribute('section', $section);" does not 20:24 < v-dogg> and what do you do in your view and/or template? 20:25 < JanK_> oh, i think i've got the problem, i didnt read the property in the actions view, but in a slot 20:25 < v-dogg> yep, that would explain it 20:27 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit ["Leaving"] 20:28 < Wombert> and in the slot, you're doing $request->getAttribute 20:29 < Wombert> but that is something else 20:29 < Wombert> and the global request is not isolated 20:29 < Wombert> do not use it to pass info from action to view or template 20:29 < JanK_> Wombert: no, $t['foo'] is set 20:30 < Wombert> with $rq->setAttribute? no way 20:30 < Wombert> v-dogg: important qry 20:33 < JanK_> Wombert: oh, sorry, i set it in the view`s initialize 20:34 < Wombert> nnnnever do that either 20:34 < Wombert> :) 20:34 < Wombert> execute, not initialize 20:34 < Wombert> unless you have a good reason 20:40 < Wombert> home -> 20:40 -!- Wombert [n=Wombert@85.183.90.3] has quit [] 20:41 -!- kaos|work [n=dominik@xdsl-87-79-51-72.netcologne.de] has joined #agavi 20:41 -!- kaos|work [n=dominik@xdsl-87-79-51-72.netcologne.de] has quit [Read error: 104 (Connection reset by peer)] 20:49 < JanK_> can i set the action of a slot inside my 'main action'? 21:22 -!- JanK_ [n=JanK_@muedsl-82-207-192-163.citykom.de] has quit [] 21:37 -!- Wombert [n=Wombert@dslb-084-056-037-078.pools.arcor-ip.net] has joined #agavi 21:54 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has quit [] 21:56 < splatch`> elo 22:31 -!- kaos|work [n=dominik@xdsl-87-79-137-100.netcologne.de] has joined #agavi 22:39 -!- kaos|work [n=dominik@xdsl-87-79-137-100.netcologne.de] has quit [Read error: 104 (Connection reset by peer)] 22:54 -!- kaos|work [n=dominik@xdsl-87-79-138-37.netcologne.de] has joined #agavi 22:57 -!- kaos|work_ [n=dominik@xdsl-87-79-138-37.netcologne.de] has joined #agavi 22:57 -!- kaos|work [n=dominik@xdsl-87-79-138-37.netcologne.de] has quit [Read error: 104 (Connection reset by peer)] 22:57 < kaos|work_> yay 22:57 < kaos|work_> finally online 23:33 < jake> any pointers on handling file uploads? Not finding anything with google 23:47 < jake> Looks like if someone posts say to $_FILES['File'] I can do $rd->getFile('File') and access it as an AgaviUploadedFile object? --- Day changed Tue Dec 04 2007 00:16 < impl> Yeah, I think that's how it works 00:18 -!- shoan [n=shoan@59.96.61.86] has joined #agavi 00:40 -!- shoan [n=shoan@59.96.61.86] has quit [] 01:03 < Wombert> yup jake 01:03 < Wombert> and move() 01:03 < Wombert> etc 01:03 < Wombert> it fixes arrays for you 01:04 < Wombert> so name="foo[bar]" is gonna be getFile('foo[bar']) 01:04 < Wombert> or getFile('foo') (array) and then index 'bar' 01:04 < Wombert> it's an object 01:05 < Wombert> you can subclass and implement your own stuff if you like, just tell WebRequest to use it 01:07 < Wombert> lawl 01:08 < Wombert> I was just about to file an exact copy of http://trac.agavi.org/ticket/607 01:08 * Wombert hugs form autocompletion 01:45 -!- Wombert [n=Wombert@dslb-084-056-037-078.pools.arcor-ip.net] has quit [] 01:52 -!- kaos|work_ [n=dominik@xdsl-87-79-138-37.netcologne.de] has quit [] 02:05 -!- epaulin [n=epaulin@218.19.71.230] has joined #agavi 02:21 -!- eremit [n=eremit@p5B234138.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 02:45 -!- eremit [n=eremit@p5B234546.dip.t-dialin.net] has joined #agavi 05:25 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 05:33 -!- CIA-31 [n=CIA@208.69.182.149] has quit [Read error: 145 (Connection timed out)] 05:52 -!- CIA-31 [n=CIA@208.69.182.149] has joined #agavi 06:31 -!- shoan [n=shoan@59.96.61.86] has joined #agavi 07:18 < v-dogg> huomenta 07:31 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 07:52 -!- shoan [n=shoan@59.96.61.86] has quit [] 08:11 < codecop> why in eclipse $this->getContext()->(i cant get more functions because of: unknown type, and this is so in others: ..context->, ..getContainer()->) 08:12 < codecop> i have to hold all functions in my head 08:12 < codecop> :) or what i must todo and force eclipse to think about that 08:12 < codecop> :) 08:14 < v-dogg> your eclipse is using files from your app/cache 08:14 < v-dogg> and those files have phpdoc comments stripped out 08:15 < codecop> i have to remove app/cache from eclipse project? 08:16 < codecop> how todo it? 08:17 < v-dogg> don't know, if you find out how to exclude files from source parsing let me know 08:18 < codecop> gotit 08:18 < v-dogg> just for that reason I don't use app/cache but a directory outside the project 08:19 < codecop> look in PHP explorer windown, mark cache, 2nd button click, Properties, remove "v" from executable, and ALL WORKS NOW 08:19 < codecop> thanx for tip 08:20 < codecop> i was working so for some time it gives some headache 08:21 < codecop> now cool 08:22 < v-dogg> I don't have "Executable" in the properties dialog 08:23 < codecop> dont have? Properties -> Resource Tab 08:23 < codecop> then nothing todo i use 3.2.10 eclipse 08:28 < v-dogg> http://veikko.fi/temp/eclipse-properties.png 08:34 < MikeSeth> om nom nom 08:35 < v-dogg> huomenta MikeSeth 08:42 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 08:42 < codecop> v-dogg, http://www.patirtis.lt/Screenshot-16.png 08:43 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit [Client Quit] 08:43 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 08:43 < RossC0> Huomenta! 08:43 < v-dogg> huomenta RossC0 08:44 < codecop> Huomenta 08:44 < RossC0> How we all today? 08:44 < v-dogg> oh fecking inkscape crashed 08:45 < v-dogg> and did I have all my drawings saved? no... 08:46 < MikeSeth> huomenta 08:55 * MikeSeth joins #cake for the lulz 08:56 < v-dogg> you are mean :) 08:56 < v-dogg> but don't forget to paste all the goodies :) 08:58 < codecop> B) 08:59 -!- RossC0_ [n=RossC0@teamjr.plus.com] has joined #agavi 09:00 < MikeSeth> 08:54 i took that $model->save from the soft_delete behavior from the bakery.. 09:00 < MikeSeth> 08:54 $model>save or $model->save? 09:00 < MikeSeth> I wonder if #cakephp secretly distributes crack behind the tables 09:00 < v-dogg> haha 09:07 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit [Read error: 110 (Connection timed out)] 09:12 -!- marklar [n=mark@unaffiliated/marklar] has joined #agavi 09:14 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 09:15 < MikeSeth> do you think it's moral to steal a cake user? 09:15 < MikeSeth> 09:09 amir-ha: I now put the business logic in the Model, where it belongs. 09:16 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 09:17 < marklar> hi2u 09:19 < RossC0> hi marklar 09:21 < marklar> if I were to extend AgaviRbacSecurityUser, where would I put the file? 09:21 < marklar> lib? 09:22 < v-dogg> app/lib/user 09:23 < v-dogg> at least that's where I keep my (project specific) Agavi descendants 09:24 < marklar> alright 09:31 -!- RossC0_ [n=RossC0@teamjr.plus.com] has quit [Read error: 110 (Connection timed out)] 09:47 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 09:47 < malax> HUOMENTA! :)# 09:49 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"] 09:54 < MikeSeth> PHP is pissing me off 09:57 < v-dogg> that hardly ever happens 09:59 < malax> two to three times a day. ;-) 10:01 < v-dogg> on a good day 10:08 -!- E_mE [n=E_mE@89.104.225.116] has joined #agavi 10:09 -!- kaos|work [n=dominik@dslb-088-076-053-133.pools.arcor-ip.net] has joined #agavi 10:09 < E_mE> huomenta! 10:10 < MikeSeth> 09:56 is there a way to include javascript that is in webroot/js 10:10 < MikeSeth> 09:56 link('myfile');?> 10:10 < MikeSeth> fail. 10:10 < MikeSeth> huomenta! 10:10 < v-dogg> hihi 10:11 < v-dogg> javascript helper? 10:12 < v-dogg> so instead of writing you'd use link('myfile');?> ? 10:12 < v-dogg> pretty cool, eh?-) 10:15 < v-dogg> how do you guys do this btw? 10:16 < marklar> are there any docs on agavi database usage? 10:17 < v-dogg> $db = $this->context->getDatabaseConnection(); 10:17 < v-dogg> there is now :) 10:17 < v-dogg> what do you want to know? 10:19 < marklar> the usual -- how to send queries, retrieve resultsets, etc 10:19 < marklar> I'm reading the api docs now, though 10:23 < marklar> all it does is basically abstract the resource handle to the server? 10:24 < MikeSeth> marklar: there's no built in database *library*, only a connection manager mechanism and a bunch of adapters to libraries 10:24 < MikeSeth> marklar: in simplest case, you can use PDO, you don't need anything to get it working 10:24 < marklar> yeah 10:24 < MikeSeth> marklar: personally I use Doctrine 10:24 < marklar> kk 10:24 < marklar> we need tables 10:24 < marklar> :D 10:25 < MikeSeth> marklar: don't forget to turn on the database in settings.xml 10:25 < marklar> I did 10:25 < MikeSeth> also be wary of lazy connection initialization 10:25 < MikeSeth> it's really lazy :D 10:28 < v-dogg> woot? it's not too lazy 10:28 < v-dogg> if that's what you are saying 10:30 < v-dogg> doctrinedatabase I once tried had issues with lazy loading but that was because of doctrine, not agavi 10:30 < v-dogg> brb -> 10:37 < marklar> blah pdo 10:37 < MikeSeth> woot 10:37 < MikeSeth> I rewrote a screenscraping library and I realized that architecturally it came out as upside-down MVC 10:38 < marklar> hehe 10:39 < marklar> I got mark.org.il today 10:39 < marklar> two years cost me 160nis 10:40 < MikeSeth> yeah trolls told me in the morning 10:40 < MikeSeth> plz desired master email, uname & pass for dh => me@mikeseth.com kthx 10:41 < MikeSeth> 10:26 hey - Is it OK to use setcookie() at the very top of a controller action? or is that already too later? 10:41 < MikeSeth> god bless their wicked souls 10:42 < marklar> heh 10:46 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)] 10:51 < E_mE> fucking boss making me to tell the other office bad news 10:51 * E_mE Shits in her eye sockets 11:07 < E_mE> can \S+? accept spaces? 11:19 -!- RossC0 [n=RossC0@80.4.120.163] has left #agavi [] 11:20 -!- RossC0_ [n=RossC0@teamjr.plus.com] has joined #agavi 11:21 -!- RossC0_ [n=RossC0@teamjr.plus.com] has quit [Client Quit] 11:28 -!- eremit [n=eremit@p5B234546.dip.t-dialin.net] has quit [] 12:00 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 12:16 -!- _cheerios [n=jackbo@muxlim3.enterprises.evtek.fi] has joined #agavi 12:16 < _cheerios> huomenta-ish 12:26 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 12:48 < E_mE> ah well... write a nice fax management system and the boss says its a stupid idea!!! /var/www/fax > /dev/null!!!! 12:49 < _cheerios> v-dogg, were you in Tampere? http://www.mikontalolights.fi/ 12:50 < v-dogg> Turku 12:51 < _cheerios> ace video of playing tetris there :p 12:58 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"] 12:59 < _cheerios> v-dogg, i have a JS "helper". it's missing one crucial feature still, but it's cool. should go live later this week so you get a glance :) 13:18 < _cheerios> woot. got adsl up SMS from provider. 13:26 -!- _cheerios [n=jackbo@muxlim3.enterprises.evtek.fi] has quit ["home sweet home now with internets"] 13:46 -!- Wombert [n=Wombert@dslb-084-056-048-121.pools.arcor-ip.net] has joined #agavi 13:47 < Wombert> woot 13:47 < Wombert> totally forgot to start irc 13:47 < Wombert> :> 13:47 < Wombert> but now I missed you guys 13:47 < Wombert> :) 13:48 < MikeSeth> <3 13:49 < Wombert> ah 13:49 < Wombert> teh mike 13:49 < Wombert> qrty 13:49 < Wombert> zomg 13:49 < Wombert> where is ross 13:49 < MikeSeth> dunno havent seen him around today 13:49 < E_mE> he breifly possed in and out 13:49 < E_mE> popped 13:53 -!- epaulin [n=epaulin@218.19.71.230] has quit ["Ex-Chat"] 13:53 * Wombert nudges jake 14:00 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 14:00 < Wombert> RossC0! 14:00 < Wombert> woot 14:00 < Wombert> query 14:00 < RossC0> ola 14:01 -!- eremit [n=eremit@p5B234546.dip.t-dialin.net] has joined #agavi 14:16 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 14:16 < MrJeep> gooood morning 14:16 < MrJeep> / afternoon 14:16 < malax> Things you mustn't say in ##java: How do I use javascript to launch an applet compiled with gcj? 14:17 < malax> *lol* 14:28 < MikeSeth> haahahah 14:28 < MikeSeth> here's one from caek 14:28 < MikeSeth> 14:21 any idea why i'd get this error "Fatal error: Class 'Configure' not found in" if my allowoverride is set to all 14:28 < MrJeep> allowoverride is an apache directive right ? 14:30 < Wombert> lawl 14:30 < MrJeep> I guess it just doesnt make any sense :S 14:30 < marklar> hi2u 14:31 < marklar> brb 14:31 -!- marklar [n=mark@unaffiliated/marklar] has left #agavi [] 14:50 -!- Chonsu [n=Chons@dslb-088-076-053-133.pools.arcor-ip.net] has joined #agavi 15:13 -!- epaulin [n=epaulin@219.136.126.136] has joined #agavi 15:20 < MrJeep> brb 15:21 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has quit ["ByeBye"] 15:24 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 15:24 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 15:24 < _cheerios> yes, internet! 15:49 -!- eremit [n=eremit@p5B234546.dip.t-dialin.net] has quit [] 15:53 -!- RossC0 [n=RossC0@80.4.120.163] has quit [] 16:01 -!- shoan [n=shoan@122.166.1.168] has quit [] 16:14 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 16:14 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has quit ["ByeBye"] 16:14 -!- RossC0 [n=RossC0@teamjr.plus.com] has left #agavi [] 16:32 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 16:33 -!- MrJeep [n=Jean-Phi@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 16:37 -!- JanK_ [n=JanK_@muedsl-82-207-199-042.citykom.de] has joined #agavi 16:38 < MikeSeth> 16:33 hey, is there a way to get the resulting incremented id from a save? 16:39 < MikeSeth> caek fail :< 16:43 -!- epaulin [n=epaulin@219.136.126.136] has quit ["Ex-Chat"] 16:44 < _cheerios> wireless on linux seems to require a bit of effort to get right 16:54 -!- frenadoll [n=luismeri@173.Red-80-25-102.staticIP.rima-tde.net] has joined #agavi 16:54 -!- E_mE [n=E_mE@89.104.225.116] has quit [Remote closed the connection] 17:06 -!- shoan [n=shoan@219.64.151.125] has joined #agavi 17:15 < Wombert> _cheerios: hahaha 17:16 < MrJeep> yeah, mine didnt work out of the box 17:16 < MrJeep> I had to use ndiswrapper 17:17 < Wombert> *couch* getamac *couch* 17:17 < MrJeep> I'm almost half-way to get my mac :) 17:17 < Wombert> good 17:17 < Wombert> agavi 2.0 is gonna be mac only 17:17 < Wombert> :> 17:18 < MrJeep> with a nice screen it's 4700 and I have 3k on my "special mac" account 17:18 < MrJeep> lol 17:18 < MrJeep> seriously ? 17:18 < Wombert> no 17:18 < Wombert> :p 17:18 < Wombert> dude, really, a mac pro is such overkill 17:18 < MrJeep> I'm buying a Macbook pro 17:18 < MrJeep> with a good screen 17:18 < Wombert> mkay 17:19 < MrJeep> a good screen where the colors are good 17:19 < MrJeep> not a TN panel 17:19 < MrJeep> TFT is the name ? 17:22 < Wombert> eh? 17:23 < Wombert> a TN is a type of TFT 17:23 < MrJeep> oh, well, what type are the apple screens ? 17:23 < Wombert> you prolly want IPS, S-IPS or such 17:23 < Wombert> depends 17:23 < MrJeep> 23" 17:23 < Wombert> apple cinema display are all IPS I think 17:23 < Wombert> the 24 imac is SIPS 17:23 < Wombert> the 20 is TN (used to be IPS... booh) 17:24 < MrJeep> :S 17:24 < Wombert> the macbooks and macbook pros are, like all laptops in the world, tn 17:24 < MrJeep> well, I'll go on a 23 17:24 < MrJeep> I'm so tired of innacurate colors :S 17:26 < Wombert> http://prad.de/en/index.html 17:31 < _cheerios> seems i shouldve really looked for a usb dongle that works with linux 17:32 < _cheerios> will stick to ethernet for now. weekend project to get wlan up. o_O 17:33 < MrJeep> what's your wireless card ? 17:33 < _cheerios> i dont have one. i bought a dlink dwl-g122 usb wlan stick for my desktop. 17:34 < _cheerios> i found a few tutorials that, after painstaking effort, can get a connection up that works most of the time, if you're lucky 17:34 < _cheerios> the laptop had it better, has drivers from intel no need for ndiswrapper. still, not quite plug n play. 17:35 -!- Chonsu [n=Chons@dslb-088-076-053-133.pools.arcor-ip.net] has quit [Remote closed the connection] 17:38 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 17:42 -!- MrJeep [n=Jean-Phi@modemcable188.10-70-69.static.videotron.ca] has quit ["Leaving"] 17:59 -!- kaos|work [n=dominik@dslb-088-076-053-133.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 18:01 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)] 18:02 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 18:02 -!- Wombert [n=Wombert@dslb-084-056-048-121.pools.arcor-ip.net] has quit ["bai"] 18:03 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection] 18:13 -!- kaos|work [n=dominik@xdsl-87-79-52-12.netcologne.de] has joined #agavi 18:14 -!- shoan [n=shoan@219.64.151.125] has quit [Read error: 110 (Connection timed out)] 18:14 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit [Remote closed the connection] 18:14 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 18:15 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit [Remote closed the connection] 18:16 -!- Wombert [n=Wombert@dslb-084-056-048-121.pools.arcor-ip.net] has joined #agavi 18:18 -!- frenadoll [n=luismeri@173.Red-80-25-102.staticIP.rima-tde.net] has quit [] 18:21 < JanK_> how would i pass values to a slot? (for example the menu items to a menu slot? 18:23 < JanK_> 2. question: is it possible to change a Action of a slot? 18:23 * _cheerios /offtopic when you are ready to pass, the slot will come to you (im not sure how well these zendisms translate) 18:38 < Wombert> you mean a slot defined in a layout? 18:48 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 18:50 < _cheerios> http://i106.photobucket.com/albums/m277/tranquilizer79/pedo-beer.jpg *chuckles* 18:50 < _cheerios> (only v-dogg can understant that one :)) 18:53 < _cheerios> my 2001 bought seagate hd is making some not so normal sounds lately. i hope it's just resonating. loudly. 18:55 < JanK_> Wombert: the master template should load a menu slot, but for one action i need a special menu, so it would be perfect if the action could set an action for the menu slot 19:14 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Remote closed the connection] 19:23 < Wombert> of course, JanK_ 19:23 < Wombert> in the view 19:23 < Wombert> after the layout is loaded 19:23 < Wombert> $this->getLayer('decorator')->getSlot('menu')->setActionName('Zomg'); 19:23 < Wombert> etc 19:25 < Wombert> if it changes often, you can also simply register the slot in the view instead of modifying one defined in a layout 19:25 < JanK_> thanks, man 19:26 < JanK_> example for the second way? 19:27 < Wombert> $this->getLayer('decorator')->setSlot('menu', $this->createSlotContainer('Module', 'Action', $args)); 19:27 < JanK_> thanks 19:27 < Wombert> $args can be an array (will be parameters) or an AgaviRequestDataHolder, AgaviWebRequestDataHolder (so you can pass cookies, headers, files too) 19:28 < Wombert> or you grab the args from the slot and add params, or you setArguments() with a new one 19:49 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 19:50 < MrJeep> I'm thinking... 19:51 < MrJeep> let's say you have a secure payment page 19:51 < MrJeep> the routing options allow a "scheme" parameter 19:51 < MrJeep> IIRC 19:52 < MrJeep> however, as soon as the scheme is setted to https, it stays on https 19:52 < MrJeep> I'm wondering what's the correct procedure to return to the correct scheme 19:52 < MrJeep> using a redirection to a page when the payment is completed ? 19:52 < MrJeep> or is it possible to change the sheme on the success view 20:00 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection] 20:10 < _cheerios> Wombert, is the container in a callback crippled in some way? its getrequestdata behaviour seems different? 20:12 < Wombert> no 20:12 < Wombert> why 20:12 < Wombert> ah 20:12 < Wombert> no it does not have request data yet 20:13 < Wombert> MrJeep: yeah redirect 20:13 < _cheerios> then where do the parameters that get passed along with it come from? 20:13 < _cheerios> just wondering why the separation at callback stage 20:13 < Wombert> how do you mean 20:14 < _cheerios> well,ill tell you what im doing to be zippy with this. ive done getcredentials checks before, but that requires issecure. now, i needed to do a simple check for public pages, that was done in the User class, that was using the containers requestdata. works when filled from a filter, but not when theres callbacks involved, as filters run after callbacks and callbacks dont have requestdata. 20:15 < MrJeep> unless it's possible to specify this in routing rules directoy 20:15 < MrJeep> *directoy 20:15 < MrJeep> directly* 20:15 < MrJeep> sorry I'm so tired I misspell everything :S 20:18 < Wombert> nope 20:18 < Wombert> you could do it in a callback 20:18 < Wombert> but probably too much effort 20:22 < _cheerios> i'll see if i can get it done with a filter that matches against the requested parent route bucket. i'd like to use the same checks ($us->getCredentials()). 20:33 < _cheerios> works as expected. goodie. can move onto watching BSG next season teaser. 20:36 < Wombert> you can also use a routing source to check against authentication or credentials in a route 20:48 -!- JanK_ [n=JanK_@muedsl-82-207-199-042.citykom.de] has quit [] 21:06 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 21:06 < Whisller> hi 21:29 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["bbl"] 22:00 < jake> anyone here using YUI? 22:00 < jake> For some reason, when I use the util.Connect (connection manager) to upload a file, if the response type is application/json it barfs. That's fine for just regular AJAX stuff, but not for file uploads 22:19 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has quit ["ByeBye"] 22:47 -!- kaos|work [n=dominik@xdsl-87-79-52-12.netcologne.de] has quit [] 23:01 -!- Wombert [n=Wombert@dslb-084-056-048-121.pools.arcor-ip.net] has quit [] 23:07 -!- Wombert [n=Wombert@dslb-084-056-048-121.pools.arcor-ip.net] has joined #agavi 23:09 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has joined #agavi 23:10 -!- Whisller___ [n=Whisller@chello089077162027.chello.pl] has joined #agavi 23:14 -!- Whisller___ [n=Whisller@chello089077162027.chello.pl] has quit [Client Quit] 23:26 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit [Read error: 110 (Connection timed out)] 23:28 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has quit [Read error: 110 (Connection timed out)] --- Day changed Wed Dec 05 2007 01:16 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi 01:21 -!- shoan [n=shoan@59.161.151.102] has joined #agavi 02:02 -!- Wombert_ [n=Wombert@dslb-084-056-041-145.pools.arcor-ip.net] has joined #agavi 02:09 -!- epaulin [n=epaulin@219.137.35.158] has joined #agavi 02:18 -!- Wombert [n=Wombert@dslb-084-056-048-121.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 02:23 -!- nf [n=impl@pilot.trilug.org] has quit [Remote closed the connection] 02:23 -!- nf [n=impl@pilot.trilug.org] has joined #agavi 02:23 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has joined #agavi 03:04 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit ["Leaving"] 03:17 -!- shoan [n=shoan@59.161.151.102] has quit [Read error: 104 (Connection reset by peer)] 03:17 -!- shoan_ [n=shoan@219.64.150.34] has joined #agavi 03:38 -!- epaulin [n=epaulin@219.137.35.158] has quit ["Ex-Chat"] 03:42 -!- shoan_ [n=shoan@219.64.150.34] has quit [Read error: 110 (Connection timed out)] 05:07 -!- epaulin [n=epaulin@219.137.35.158] has joined #agavi 05:42 -!- epaulin [n=epaulin@219.137.35.158] has quit ["Ex-Chat"] 05:49 -!- epaulin [n=epaulin@219.137.35.158] has joined #agavi 06:50 -!- epaulin [n=epaulin@219.137.35.158] has quit ["Ex-Chat"] 06:54 < v-dogg> huomenta 06:54 -!- epaulin [n=epaulin@219.137.35.158] has joined #agavi 07:38 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 08:15 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 08:15 < RossC0> Huomenta! 08:36 < v-dogg> hey RossC0 08:36 < v-dogg> what's happening in your united kingdom 08:37 < v-dogg> united king kong 08:38 < RossC0> well its raining this morning 08:38 < RossC0> other than that I'm reading my rss feeds 08:39 < RossC0> seeing whats happening out there on teh internets 08:42 < RossC0> html5 will be here in 5 - 10 years time 08:43 < RossC0> http://blog.bitxtender.com/post/20793602 08:43 < v-dogg> we should start coding html5 helper A.S.A.P! 08:51 < v-dogg> "current estimates have work finishing in around ten to fifteen years" 08:51 < v-dogg> so we can still wait a few years 08:52 -!- Yossi [n=nospam@62.90.159.110] has joined #agavi 08:52 < Yossi> Hello 08:52 < v-dogg> huomenta 08:54 < RossC0> huomenta 08:54 < Yossi> Foes the FormPopulationFilter fill in posted values - even if the input type is diffrent then the posted form (I want it to populated posted data into hidden inputs)? 08:54 < Yossi> *Does 08:58 < RossC0> Yossi: if turned on it will automatically populate on form error 08:58 < RossC0> i.e. validation failed on a post 08:58 < RossC0> otherwise you can pass data to FPF in your view so it populates the form 08:59 -!- Whisller [n=danielan@80.72.37.90] has joined #agavi 08:59 < Whisller> Good morning 09:01 < RossC0> Yossi: that make sense? 09:04 -!- E_mE [n=E_mE@89.104.225.116] has joined #agavi 09:05 < E_mE> huomenta! 09:12 < Yossi> what is FPF? 09:13 < v-dogg> FormPopulationFilter 09:13 < Yossi> I don't want it to populate on error (not just on error anyway) - I have a preview screen after the form submit - and the data shoud be kept in hidden filleds... 09:14 < v-dogg> Yossi: it doesn't actually populate on error (i.e. "error" is not what triggers it) 09:14 < v-dogg> let's go thru this 09:14 < Yossi> If I have to acess the data by rd->getParameter of each filled inorder to move it on to FPF? it baerly saves me anything... 09:14 < v-dogg> the preview, is it the same action as the one that submits the data? 09:15 < Yossi> yeah 09:15 < v-dogg> so the method is POST (Agavi method Write)? 09:16 < v-dogg> is the action of the form (
yeah... it just change views (preview, sucess) by checking a hidden filed, and if it's on read mode it runs the Fill form view 09:18 < v-dogg> so, if I understand everything correctly, all you need to do is enable FPF in global_filters.xml and make sure your hidden fields have the same name as your original fields (that were used to input data) 09:19 < v-dogg> wheter using hidden fields is your best option or not can be questioned, though :) 09:19 < Yossi> It has the same names and Id's for the inputs and the form itself... it doesn't seem to work... 09:20 < v-dogg> and you use name="" as well as id="", right? 09:21 < Yossi> yeah 09:21 < v-dogg> ah, are hidden fields populated by default? there's an option for it 09:21 < v-dogg> anyone? 09:22 < v-dogg> do I need to go source reading?-) 09:23 < v-dogg> 'include_hidden_inputs' => true, 09:23 < v-dogg> so unless you have altered your configs that's not the problem here 09:24 < Yossi> there is that config? 09:24 < Yossi> *where 09:24 < v-dogg> global_filter.xml 09:24 < v-dogg> global_filters.xml 09:25 < Yossi> I have nothing like that there so I guess it default 09:26 < v-dogg> yup 09:26 < Yossi> so your saying I don't need anything to imply FPF in view? 09:27 < v-dogg> by default it is configured to run on write/post 09:27 < v-dogg> and you have enabled it in global_filters.xml, right? 09:28 < Yossi> 09:28 < Yossi> maybe I should do it w/o the value filled at all? 09:28 < v-dogg> no, it doesn't matter 09:29 < Yossi> hmmm... maybe when mike gets here will debug it, maybe its in the prasing 09:30 < v-dogg> can you paste your action, template and the view? 09:30 < Yossi> it will be a mess 09:30 < Yossi> sec 09:32 < Yossi> class Default_XmascardAction extends ProjectBaseAction 09:32 < Yossi> { 09:32 < Yossi> public function executeRead(AgaviRequestDataHolder $rd) 09:32 < Yossi> { 09:32 < Yossi> return 'Fill'; 09:32 < Yossi> } 09:32 < Yossi> public function executeWrite(AgaviRequestDataHolder $rd) 09:32 < Yossi> { 09:32 < Yossi> if ($rd->getParameter('operation') == "preview") 09:32 < Yossi> return 'Preview'; 09:32 < Yossi> else if ($rd->getParameter('operation') == "send") 09:32 < Yossi> return 'Success'; 09:32 < Yossi> } 09:32 < Yossi> public function getDefaultViewName() 09:32 < Yossi> { 09:32 < Yossi> return 'Error'; 09:32 < Yossi> } 09:32 < Yossi> } 09:32 < Yossi> ?> 09:33 < Yossi> that's the action 09:33 < E_mE> woahaaaa! 09:33 < v-dogg> pastebin!! 09:34 < Yossi> ? 09:34 < v-dogg> pastebin.ca (or some other pastebin), no multiline pastes to the channel 09:35 < E_mE> well, i tihnk its fine for 4-5 lines.. but that large paste will get you kicked in many channels Yossi 09:36 < Yossi> pastebin is new to me... nice idea 09:37 < E_mE> yeah, i only gained knowledge of it like 10 months ago or so 09:41 < Yossi> hmmm I rather not paste the templates, partly because it's a mess of spageti code (the original code is not mine), and partly because of connfidentualty. but thanks anyways, when mike arrives at the office we'll take a stab at it. 09:42 < v-dogg> ok 09:47 -!- _cheerios [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 09:47 < _cheerios> huomenta 09:53 < Yossi> v-dogg - just to clarify, the hidden input filleds in the preview, are not hidden inputs (mostly text) when you fill the form. the hidden filleds should still be populated? 10:17 -!- eremit [n=eremit@p5B2376D5.dip.t-dialin.net] has joined #agavi 10:30 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has quit [Remote closed the connection] 10:31 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi 10:38 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 10:44 < Wombert_> Yossi: ... the information what type a field is is not submitted by the browser 10:44 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has quit [Remote closed the connection] 10:44 < Wombert_> you guys seen http://blog.bitxtender.com/post/20850609 ? 10:45 -!- Wombert_ is now known as Wombert 10:46 * _cheerios is anxious 10:47 < _cheerios> i was just browsing that thread, actually. 10:47 < Wombert> well the implementation sucks so much, it's not really namespcaes at all 10:48 < Wombert> so it's not much of a problem that it's dropped from a feature point of view 10:48 < Wombert> but maaan 10:48 < _cheerios> however, on a positive side the gc patch finally saw the light with a ~ thumbs-up from Andy 10:48 < Wombert> can't these fools discuss stuff through BEFORE 10:51 < _cheerios> http://www.pilotpig.net/pdfs/GC_email.pdf 10:53 < _cheerios> 1-2% slower, 0-3% more memory used. 11:03 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi 11:03 < v-dogg> uhmm... "However introducing the new class DateTimeSpan might break people's code that do things like: 11:03 < v-dogg> use myNamespace::DateTimeZone as DateTimeZone; 11:03 < v-dogg> " 11:04 < v-dogg> and currently it wouldn't break people's code? 11:06 < v-dogg> why can't these morons ditch the "global ns for php" rule, use PHP:: namespace for core stuff and let people not worry about future core classes 11:08 < v-dogg> wooot! "What is wrong with simple prefixes in the first place?" ... "We could optionally create a registry on php.net for this to avoid conflicts. 11:08 < v-dogg> " 11:09 < v-dogg> registry of class name prefixes on php.net?! OH COME ON FOR FUCK'S SAKE 11:10 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has quit [Read error: 101 (Network is unreachable)] 11:11 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi 11:15 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has quit [Read error: 104 (Connection reset by peer)] 11:24 < Wombert> well v-dogg 11:24 < Wombert> you cannot do import Agavi::* as * 11:24 < Wombert> etc 11:24 < Wombert> it's kind of half arsed 11:24 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 11:24 -!- kaos|work [n=dominik@dslb-084-063-126-184.pools.arcor-ip.net] has joined #agavi 11:24 < malax> FIRST! 11:24 < v-dogg> FIST! 11:25 < kaos|work> SECOND!!!1111 11:32 < kaos|work> Wombert: i don't see a problem with not being able to import the full ns 11:32 < kaos|work> that way you can easily see which foreign classes u use at the top of the file 11:34 < Wombert> I think they should do a compromise 11:34 < Wombert> like... just one NS per file 11:34 < Wombert> and a package lookup system... where you have to register parts, or __init__.py like python 11:34 < Wombert> then it could be done at compile time 11:34 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi 11:36 < Wombert> I think impl's internets are sick 11:41 -!- shoan [n=shoan@122.166.1.168] has quit [Read error: 104 (Connection reset by peer)] 11:41 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has quit [Read error: 104 (Connection reset by peer)] 11:41 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 11:48 < E_mE> great little fishing game: http://www.seafishingsupplies.co.uk/desktop-fishing.php :) 11:48 -!- splatch` [n=splatch@s3.przytulski.net] has quit [Remote closed the connection] 11:56 < _cheerios> how do i get the default extension used for templates? 11:59 < RossC0> http://www.readwriteweb.com/archives/10_most_marketable_web_development_skills.php 11:59 < RossC0> what a pants article 12:00 < RossC0> _cheerios: getDefaultExtension 12:02 < _cheerios> wth. learn everything to be marketable? :) 12:03 < _cheerios> "I love these lists, because it causes a flood of interest into these skills. This causes an over abundance of "experienced" people, thus reducing costs of hiring someone :)" :p 12:06 -!- splatch` [n=splatch@s3.przytulski.net] has joined #agavi 12:06 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi 12:08 < _cheerios> readwriteweb, like many of the most read "2.0" blogs are mostly light news, "reviews" and opinion pieces with little substance written by non-technical people. when they do get technical, run. 12:11 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has quit [Read error: 104 (Connection reset by peer)] 12:12 < E_mE> like this "although support for this is spotty outside of Internet Explorer." ... little more then spotty me thinks 12:12 < E_mE> thats refereing to VBScript 12:13 < Wombert> anyone here uses Ext before? 12:13 < Wombert> *used 12:13 < _cheerios> SOMEONE JUST READ AJAXIAN?!?! :D 12:13 < kaos|work> Wombert: sven does :P 12:14 < Wombert> Ext or YUI, kaos|work 12:14 < kaos|work> ext 12:14 < Wombert> no, I read that the other day, _cheerios 12:14 < Wombert> I just played with the demos a bit 12:14 < _cheerios> ext does come with a lot of pretty UI things 12:14 < jake> for a production system, it has to be YUI 12:15 < jake> now that I've stoked the fire, I'm out! 12:16 < MikeSeth> YUI is winner 12:16 < MikeSeth> but, it's heavy 12:16 < MikeSeth> best suited for super large, UI rich community sites or intranet applications 12:16 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 12:17 < _cheerios> eg, boring business stuff 12:18 < _cheerios> does ext play nice with moo? 12:19 < v-dogg> "Of all the dynamic scripting languages out there, ColdFusion is easily in the top three where as Java, Ruby, Python and Perl are much less commonplace particularly outside of the enterprise environment" 12:19 < MikeSeth> v-dogg: ... 12:19 < v-dogg> ^this guy seriuos or mentally ill? 12:19 < MikeSeth> duh 12:19 < _cheerios> haha 12:19 < MikeSeth> the only large site I've ever seen written in coldfusion was eventually rewritten in asp.net (with no less disastrous outcome) 12:20 < _cheerios> the only guy whom i know wrote coldfusion is unemployed 12:22 < jake> MySpace is written in CF 12:22 < jake> but MySpace sucks, so, bad example 12:23 < _cheerios> didnt they rewrite it into .NET some years back? 12:25 < jake> I doubt it, but that doesn't mean anything :) 12:25 < RossC0> yeah they rewrote it 12:25 < RossC0> and I know CF 12:26 < v-dogg> but you know better not to use it? 12:26 < RossC0> I learnt teh world wide nets first with CF 12:26 < jake> They rewrote it meaning what? The underlying implementation is in .NET or the language now resembles .NET? 12:26 < RossC0> v-dogg: its ok expensive and now its all java based can be extended quite easily 12:27 < jake> well, when I say '.NET' I really mean C#, not the runtime stuff 12:27 < RossC0> jake: the rewrote it because they bought m$ help in 12:27 < RossC0> so CF was ditched and .net instead 12:28 < _cheerios> C#, ASP.NET 2.0, afaik 12:30 < jake> I can say proudly that one of the few languages I have never used is CF 12:47 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi 12:54 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has quit [Read error: 104 (Connection reset by peer)] 13:00 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi 13:36 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 13:40 -!- eremit [n=eremit@p5B2376D5.dip.t-dialin.net] has quit [] 13:58 < E_mE> how do i reference files in my actions again? $rd->??? 13:59 < E_mE> found it! 14:11 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 14:20 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)] 14:20 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 14:22 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 14:22 < MrJeep> good morning ! 14:23 < MikeSeth> hardly 14:23 < MikeSeth> huomenta! 14:25 < Whisller> what a day :/ 14:26 < Whisller> Just only 1.5h and home 14:29 < MikeSeth> i am home :D 14:29 < Whisller> :P 14:30 < Whisller> Lucy :P 14:30 < Whisller> This is one of this days when I can say "This work sucks" 14:31 < MrJeep> I'm at work :( 14:31 < MrJeep> but it don't suck 14:32 < Whisller> ;p 14:32 < Whisller> Heh, 14:34 < Whisller> I have idea "Do it, no matter how ( your code can looks like a shit ), just do it :/ 14:36 < Whisller> Idiots ehh idiots 14:37 < E_mE> if anyone pisses you off, say.. they suffered an ID 10 T error ;) 14:37 < Whisller> heh 14:42 < Whisller> They don't understand that things like One class for one object, not class which do everything and nothing :/ Classes here do everything, they don't understand many languages in fields of classes is bad, and so on.... 14:44 < E_mE> make then think of a car and how that is not a all in one object 14:45 < E_mE> its broken down into parts 14:45 < E_mE> see if that makes them think 14:50 < RossC0> hmm 14:50 < RossC0> Lost connection to MySQL server at 'reading initial communication packet' 14:50 < RossC0> for my AgaviPdoSessionStorage - any ideas? 14:50 < Whisller> I try everything, emails, debates with examples, debates and debates ;) But nothing don't to hit (hmm god word in this context? :>) to them. Now I should take big stick and crush them to them empty heads. 14:53 < _cheerios> RossC0, just some blip, or continously getting that? 14:53 < RossC0> continously 14:53 < MikeSeth> RossC0: libraries out of sync 14:54 < RossC0> eh? 14:55 < RossC0> ah 14:55 < RossC0> hmm 14:55 < RossC0> erm 14:55 < RossC0> fixed 14:55 * RossC0 hides 14:55 < MikeSeth> what was it? 14:55 < RossC0> typo in the dsn 14:55 < RossC0> so was pointing to wrong ip 14:55 < RossC0> erm 14:55 * RossC0 =< FAIL 14:56 < RossC0> :D 14:57 -!- _cheerios is now known as cherHappyHappy 15:01 < Wombert> http://www.break.com/index/jewish-girl-prank-calls-her-parents.html 15:01 < Wombert> lolz 15:01 * cherHappyHappy hugs RossC0 Wombert Chuckwalla kaos|work MikeSeth MrJeep v-dogg trophaeum_ jake impl E_mE 15:02 < Wombert> hm? 15:02 < trophaeum_> say wha? 15:02 < trophaeum_> thats 1 way to bring a channel back to life 15:03 < MrJeep> cherHappyHappy is very very happy :D 15:03 < trophaeum_> he's very happy and i'm very drunk! w00t! 15:05 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has quit ["ByeBye"] 15:07 -!- MrJeep [n=Jean-Phi@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 15:07 * RossC0 hugs cherHappyHappy 15:10 < cherHappyHappy> Wombert, i wonder how authentic that thing is, but heh :) 15:11 < Wombert> why are you so happy, cherHappyHappy 15:12 < cherHappyHappy> i can professionally be around you guys for another few years! (that's a GOOD thing. right? :D) 15:13 < Wombert> uh 15:13 < Wombert> oO 15:13 < Wombert> yes :) 15:13 * Wombert hugs cherHappyHappy 15:13 < Wombert> but 15:13 < Wombert> why 15:13 < Wombert> what 15:13 < Wombert> how 15:13 < Wombert> where? 15:13 < trophaeum_> u missed when 15:13 < Wombert> right 15:14 < cherHappyHappy> the company i work for got funded $$$ 15:14 < Wombert> nice 15:14 < cherHappyHappy> and this is about as far from silicon valley you can get ;) 15:14 < jake> Same, my old company was in Indiana and we got $20 mil 15:19 < cherHappyHappy> no wonder you have such expensive taste, jake :) 15:24 < jake> hah. I didn't got much of that 15:33 < RossC0> Need some help 15:33 < RossC0> how'd I get stuff from the session in the Agavi way? 15:33 < RossC0> I need to be able to interact with a legacy app, until it all gets rewritten 15:35 < MrJeep> who's cherHappyHappy anyway ? 15:35 * MrJeep hugs cherHappyHappy 15:36 < RossC0> ah nm storage->read($key) 15:37 -!- epaulin [n=epaulin@219.137.35.158] has quit ["Ex-Chat"] 16:00 * E_mE feels loved! hugs everyone back :) 16:04 -!- shoan [n=shoan@122.166.1.168] has quit [] 16:05 -!- cherHappyHappy [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["bbl"] 16:06 < MikeSeth> 15:57 mguezuraga:for code completion, I must use some tricks 16:06 < MikeSeth> 15:57 mguezuraga: like this 16:06 < MikeSeth> 15:57 mguezuraga: if (1==0) $this->Item = new Item() 16:06 < MikeSeth> caek is fail 16:07 < E_mE> what is the point of that line :/ 16:08 < MikeSeth> E_mE: to teach whatever noob editor they use to complete Item 16:08 -!- Whisller [n=danielan@80.72.37.90] has quit ["Home brb :)"] 16:11 < v-dogg> haha 16:11 < v-dogg> not really cake's fault though 16:11 < MikeSeth> cake's fault they allow idiots like this to use their name 16:12 < v-dogg> but definitely strengthens my cake user stereotype :) 16:39 -!- RossC0 [n=RossC0@80.4.120.163] has left #agavi [] 16:40 < Wombert> whoa 16:40 < Wombert> I smell bugs 16:47 < v-dogg> ups, sorry, that was me 16:47 < Wombert> http://trac.agavi.org/ticket/633 16:47 < Wombert> this 629 issue is really causing me headaches 16:47 < Wombert> so many things to consider 17:01 < Wombert> OH FUCK THIS 17:01 * Wombert smacks malax 17:01 < Wombert> why did you need to discover that 17:04 < Wombert> NOOOOHOHOHOHOHOHOOOOOHOOOO 17:04 * Wombert cries 17:07 -!- JanK_ [n=JanK_@muedsl-82-207-251-249.citykom.de] has joined #agavi 17:08 < E_mE> here here Wombert... let it all out.. you will feel better afterwards :) 17:19 -!- E_mE [n=E_mE@89.104.225.116] has quit [Remote closed the connection] 17:25 -!- Yossi [n=nospam@62.90.159.110] has quit [] 17:34 < kaos|work> http://people.iola.dk/olau/flot/examples/ 17:34 < kaos|work> nice thing .) 17:41 -!- shoan [n=shoan@219.64.149.120] has joined #agavi 17:51 < malax> Wombert: i did it on purpose... 17:51 < malax> Wombert: because i hate you. 17:51 < malax> Wombert: *mauahaha* 17:52 < Wombert> $container->setResponse($container->execute()); 17:52 < Wombert> grrrrrr 17:54 * malax hugs Wombert 17:54 < Wombert> this is really, really bad 17:57 * Wombert cries 17:57 < Wombert> chicken and egg situation 17:57 < Wombert> zomfg zomfg zomfg 17:58 < Wombert> oh god 17:59 < jake> what are you looking at that's depressing you? 18:01 -!- Wombert_ [n=Wombert@dslb-088-064-075-250.pools.arcor-ip.net] has joined #agavi 18:02 < Wombert_> jake: ticket 629 18:02 < Wombert_> [19:00] Wombert: I think I have a fix now 18:02 < Wombert_> [19:00] Wombert: but 18:02 < Wombert_> [19:00] Wombert: let's say you run output type "pdf" 18:02 < Wombert_> [19:00] Wombert: and that pdf cannot... be found 18:02 < Wombert_> [19:00] Wombert: so you go to your 404 page, and force "html" 18:02 < Wombert_> then the output type on the original container in it's filters, and in the global filter, will still be "pdf" 18:02 < Wombert_> the response also has an output type, "html" 18:02 < Wombert_> this is no BC break or whatever, but everyone should change their code to read the ot from the response, not the container, as that is more reliable 18:03 < Wombert_> and I hate this change 18:03 < Wombert_> it's such a hack 18:04 < jake> wait, don't do that 18:05 < Wombert_> what 18:05 < jake> you should be locked into a content type once you executeFormat. If you want to go to an HTML 404 page, use an HTTP redirect 18:05 * Wombert_ looks at malax 18:06 < Wombert_> fight! 18:06 < jake> hah. That's weird that you would try and do some auto-switch of formats. I have a method called errorHandler() in my base project view that handles this logic 18:06 < jake> it's clean and not wrapped into the framework, it's implementation specific 18:07 < malax> Wombert: err... 18:07 < Wombert_> malax says he needs such a thing 18:07 < jake> built into the framework? what the hell for? 18:08 < malax> Wombert: and you did agree ;-) 18:08 < Wombert_> well... pdf not found => 404 html document 18:08 < Wombert_> or so 18:08 < jake> I understand the point of it 18:08 < jake> But that seems like application logic 18:09 < malax> jake: createForwardContainer accepts an "output_type" parameter to switch the output type for the forwarding. 18:09 < jake> I don't think the framework should do that. In fact, I tend to want to have a different 404 page for SOAP/XMLRPC/RSS/etc 18:09 < malax> jake: and this thingy was/is broken. 18:09 < jake> oh, well, if it's broken, burn the witch! 18:09 < jake> Wombert is the witch, btw 18:10 < jake> watching tin man, sorry :) 18:12 < Wombert_> yes yes, jake, sure 18:12 < Wombert_> the thing is 18:12 < Wombert_> if you create a forward container 18:12 < Wombert_> and assign that a different output type 18:12 < Wombert_> it is run with that output type 18:12 < Wombert_> but when sending the response 18:12 < Wombert_> it passes the original ot of the container that did the forward 18:13 < Wombert_> so the headers defined in that output type are sent, and not those for the actual content 18:13 < jake> sure, understood. It just seems weird to switch content types 18:14 < Wombert_> yeah prolly 18:14 < Wombert_> dinner -> 18:15 -!- shoan [n=shoan@219.64.149.120] has quit [Read error: 110 (Connection timed out)] 18:15 -!- Wombert [n=Wombert@dslb-084-056-041-145.pools.arcor-ip.net] has quit [Connection timed out] 18:16 < JanK_> $this->getLayer('decorator') does not work inside an action… how to get it? 18:16 < jake> you shouldn't 18:18 -!- Wombert [n=Wombert@dslb-088-064-071-108.pools.arcor-ip.net] has joined #agavi 18:20 < JanK_> oh, it has to be in a view for sure… 18:30 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 18:30 < Whisller> hi 18:30 < jake> why would you need to do it in an action? 18:31 < JanK_> jake: that was my mistake, i didnt need to ;) 18:32 -!- shoan [n=shoan@59.161.148.135] has joined #agavi 18:34 -!- Wombert_ [n=Wombert@dslb-088-064-075-250.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 18:39 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection] 18:45 < jake> ok, heh 18:59 -!- Wombert_ [n=Wombert@dslb-088-064-085-153.pools.arcor-ip.net] has joined #agavi 19:03 < jake> Wombert, we all agreed you didn't need to fix anything 19:03 < jake> oh wait, you didn't leave the channel, so that blatent lie probably didn't come across as convincing 19:05 -!- MrJeep [n=Jean-Phi@modemcable188.10-70-69.static.videotron.ca] has quit ["Leaving"] 19:11 < Wombert_> heh jake 19:14 -!- Wombert [n=Wombert@dslb-088-064-071-108.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 19:23 -!- kaos|work_ [n=dominik@dslb-084-063-126-184.pools.arcor-ip.net] has joined #agavi 19:23 -!- kaos|work [n=dominik@dslb-084-063-126-184.pools.arcor-ip.net] has quit [Read error: 104 (Connection reset by peer)] 19:29 < Whisller> Something for smokers http://www.smog.pl/wideo/14562/nie_radzisz_sobie_z_rzucaniem_palenia/ 19:32 -!- trophaeum_ [n=trophaeu@ppp121-45-214-64.lns2.bne1.internode.on.net] has quit [Remote closed the connection] 19:36 -!- trophaeum [n=trophaeu@ppp121-45-214-64.lns2.bne1.internode.on.net] has joined #agavi 19:36 -!- trophaeum [n=trophaeu@ppp121-45-214-64.lns2.bne1.internode.on.net] has quit [Read error: 104 (Connection reset by peer)] 20:55 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Remote closed the connection] 20:56 -!- marklar` [n=mark@unaffiliated/marklar] has joined #agavi 21:03 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 21:13 -!- JanK_ [n=JanK_@muedsl-82-207-251-249.citykom.de] has quit [] 21:39 -!- shoan [n=shoan@59.161.148.135] has quit [Read error: 110 (Connection timed out)] 22:14 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has quit ["ByeBye"] 22:16 < splatch`> oi! :) 22:24 < Whisller> Good night 22:24 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit ["Leaving"] 22:58 -!- kaos|work_ [n=dominik@dslb-084-063-126-184.pools.arcor-ip.net] has quit [Read error: 104 (Connection reset by peer)] 23:02 -!- kaos|work [n=dominik@dslb-084-063-117-238.pools.arcor-ip.net] has joined #agavi 23:58 -!- kaos|work [n=dominik@dslb-084-063-117-238.pools.arcor-ip.net] has quit [] --- Day changed Thu Dec 06 2007 01:09 -!- shoan [n=shoan@59.161.157.82] has joined #agavi 01:27 -!- Wombert_ [n=Wombert@dslb-088-064-085-153.pools.arcor-ip.net] has quit [] 01:29 -!- shoan [n=shoan@59.161.157.82] has quit [Read error: 104 (Connection reset by peer)] 01:42 -!- Wombert [n=Wombert@dslb-088-064-085-153.pools.arcor-ip.net] has joined #agavi 01:43 < Wombert> mhm 02:09 -!- epaulin [n=epaulin@219.136.126.168] has joined #agavi 02:20 < Wombert> mmh 02:20 < Wombert> http://bugs.php.net/bug.php?id=43510 02:30 -!- shoan [n=shoan@59.96.38.143] has joined #agavi 02:47 < CIA-31> david * r2205 /branches/0.11/src/ (7 files in 3 dirs): 02:47 < CIA-31> Fixed an issue where output types of forwards were not honored completely. 02:47 < CIA-31> Closes #629. Also redone the global request data locking during template 02:47 < CIA-31> rendering and fixed global request data serialization in execution containers. 02:47 < CIA-31> Closes #628 and #633. 02:47 < CIA-31> This change adds an output type member to response. Use that to check for the actual response content type, not the one in the execution container - it's more reliable. See changes done to FPF and ETF in this commit. 02:47 < Wombert> test that, guys 02:49 < Wombert> hey shoan why did you stop tumbling 02:49 < shoan> i have been so busy lately... crazy deadlines 02:49 < shoan> i didn't realize anybody would notice ;) 02:49 < Wombert> ;) 03:08 < impl> Wombert: Your bug report... wtf 03:08 < Wombert> yah odd ain't it 03:08 < impl> Yeah but you use your resource as an array 03:08 < Wombert> noticed that while trying to see if php would return more data on an fopen 03:09 < Wombert> eh 03:09 < Wombert> fuck 03:09 < Wombert> :> 03:15 < Wombert> this bug tracker 03:15 < Wombert> is so bad 03:16 < Wombert> add comment 03:16 < Wombert> new comment 03:16 < Wombert> hmm 03:16 < Wombert> difference? 03:16 < Wombert> you'd think; after all, there's a "new email" in the "edit bug" tab, too 03:16 < Wombert> ZOMFG php 03:16 < Wombert> gaaawd 03:16 < Wombert> impl: did you see the "dropping namespaces" discussion? 03:23 < impl> No 03:23 < impl> .. 03:26 < impl> ugh this is idiotic 03:26 < impl> I'm going to stab Derick 03:28 -!- shoan [n=shoan@59.96.38.143] has quit [] 03:28 < impl> I'm <-> close to abandoning PHP forever 06:03 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 06:56 < MikeSeth> Wombert: ahhhhhh 07:17 < v-dogg> huomenta 07:20 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 07:30 < Arme[N]> huomenta 07:51 -!- Arme[N] is now known as raidman 07:52 -!- raidman is now known as Arme[N] 07:53 < MikeSeth> huomenta 08:00 -!- danielancuta [n=danielan@80.72.37.90] has joined #agavi 08:01 < danielancuta> hi 08:01 -!- danielancuta is now known as Whisller 08:22 -!- Yossi [n=nospam@62.90.159.110] has joined #agavi 08:45 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 08:45 < RossC0> Huomenta! 08:56 < Whisller> hi RossC0 08:57 < v-dogg> huomenta #2 08:59 < RossC0> whats the news? 09:00 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 09:00 -!- kaos|work [n=dominik@dslb-084-063-117-238.pools.arcor-ip.net] has joined #agavi 09:00 < v-dogg> Finland's independence day = public holiday 09:00 < malax> HUOMENTA! 09:01 < RossC0> woot 09:01 < RossC0> Finland Rocks 09:02 < v-dogg> it sure does RossC0, it sure does :) 09:02 < v-dogg> you should visit finland some day 09:02 < RossC0> I will 09:07 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 09:07 < _cheerios> huomenta 09:13 < MikeSeth> om nom nom 09:13 < MikeSeth> 08:57 I'm confused... In CakePHP 1.1, pagination was not present in the core. With 1.2, pagination is right at home 09:13 < MikeSeth> apparently, in caek pagination is a "core feature" 09:16 < v-dogg> hehe, seems we are missing a crucial core feature of an application framework :D 09:21 < v-dogg> to be honest I can see why these features are always added to frameworks and why people don't get that they shouldn't be a part of a general core 09:22 < v-dogg> but I'm so glad this bunch of people know better :) 09:24 -!- E_mE [n=E_mE@89.104.225.116] has joined #agavi 09:24 < v-dogg> unfortunately php is a newbie language 09:24 < v-dogg> newbies catering for newbies 09:25 < E_mE> huomenta! 09:25 < v-dogg> only a few exceptions and even those usually stop fighting and give up 09:25 < E_mE> what what! We won't have php slander in here!!! Yes Yes!! 09:27 < v-dogg> and to keep the situation as bad as it is even serious players like IBM feed the newbies with utter crap like this: http://www.ibm.com/developerworks/library/x-ajaxxml8/?ca=dgr-lnxw06-AjaxChat 09:27 < v-dogg> (please look at the date when that article was published) 09:29 < MikeSeth> if ( array_key_exists( 'username', $_POST ) ) { $_SESSION['user'] = $_POST['username']; 09:29 < MikeSeth> } 09:29 < MikeSeth> $user = $_SESSION['user']; 09:29 < MikeSeth> :( 09:29 < MikeSeth> $res = $db->query('SELECT * FROM messages' ); 09:29 < MikeSeth> :(( 09:29 < MikeSeth> ok, this guy is a retard 09:29 < MikeSeth> senior software engineer my ass 09:29 < v-dogg> hear hear 09:30 < MikeSeth> http://www.leveragesoftware.com/ 09:30 < MikeSeth> these retards 09:30 * _cheerios slaps MikeSeth paste 1337 stuff on the channel instead 09:33 < E_mE> did everyone wake up on the wrong side of the bed today?? 09:34 < MikeSeth> its thursday 09:34 < E_mE> and what does that mean? only 1 1/2 days till weekend :D 09:34 < E_mE> well 1/2 day for you 09:35 < MikeSeth> more like 7 hours 09:38 < E_mE> someone has lent me a sea fishing rod, so looking forward to the weekend to try and catch something :D 09:41 < _cheerios> FISH KILLER 09:42 < E_mE> yum yum! 09:42 < E_mE> _cheerios: i bet you've done ice fishing before... 09:42 < E_mE> with a bottle of vodka =P 09:46 -!- eremit [n=eremit@p5B236169.dip.t-dialin.net] has joined #agavi 09:46 < _cheerios> ice fishing yes. with a bottle of vodka no. 09:49 < E_mE> id love to go ice fishing :D 09:49 < E_mE> must be so fun 09:53 < MikeSeth> you finns miss the point of russian national leisure 09:53 < MikeSeth> fishing is about vodka, not fishing 09:57 < Arme[N]> hehe 09:58 < E_mE> apprently my blood line orginates from russia ;) so im always up for vodka and fish 10:01 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 10:13 < Whisller> vodka huh isn't for me ;) I'm always sick after party with it ;) 10:17 < MikeSeth> drugs > alcohol 10:18 < kaos|work> drugs + alcohol > drugs 10:18 < kaos|work> :p 10:20 < E_mE> alcohol isn't a drug! ITS A DRINK!!! 10:20 < Yossi> lol 10:21 < RossC0> alcohol isn't a drink - its a hobby 10:21 < MikeSeth> it isn't a hobby, it's a terrible choice 10:22 < E_mE> alcohol makes the word go round ;) without it no one would work ;) 10:22 < Whisller> MikeSeth: only when you drink to much :) 10:22 < E_mE> well least in the UK thats the fact im sure 10:23 < RossC0> actually I dont even drink that much, having a hangover and a toddler to look after aint fun 10:24 < E_mE> i could imagine... screaming children with a headache would get to me.. so i best drink as much as i can while i still can hehe 10:33 < _cheerios> who has time to be drunk? 10:35 < E_mE> well i work for a wine firm, so we always have time ;) last friday I had a glass of wine for the last hour of the day ;) 10:36 < Whisller> :D 11:10 < MikeSeth> typical cake code: http://bin.cakephp.org/view/1177079067 11:11 < MikeSeth> apparently there's nothing wrong with calling $this->__construct whenever you please 11:15 < E_mE> why do you even need to call __construct() after the event :/ 11:15 < MikeSeth> E_mE: because retards think its a good idea to use __construct() as a convenience method to reset local attributes 11:18 < E_mE> :/ 12:20 < Wombert> laaaawl 12:20 < Wombert> that code is fail man haha 12:27 < Wombert> http://haml.hamptoncatlin.com/ 12:27 < Wombert> another big ass fail 12:32 < MikeSeth> Wombert: wow. That's uber retarded plus plus. 12:32 < MikeSeth> good luck doing any real layouts with dat shit 12:35 < MikeSeth> 12:23 too bad I didn't know about Agavi earlier, I would have used it for 9.yahoo.com 12:35 < MikeSeth> :< 12:37 < Yossi> ok FPF is fail 12:38 < Yossi> it doesn't populate my form... altough I have made sure the page is 100% xhtml valid 12:38 < MikeSeth> Yossi: show codez 12:39 < E_mE> haml from a quick overlook only processe div hehe 12:40 < E_mE> beautiful my arse: %small{:class => "code", :id => "message"} Hello, World! ... its almost no different to the xhtml... just a different strcuture :/ 12:41 < MikeSeth> some rubyisms are lose 12:41 < MikeSeth> overkill ftl. 12:43 < Yossi> http://pastebin.com/d3e4d4353 12:44 < MikeSeth> OOPS 12:44 < MikeSeth> CAEK HAS A LITTLE PROBLEM 12:44 < MikeSeth> 12:36 when 404 found then session is cleared cause application shutdown any resolution ? 12:45 < MikeSeth> hitting a missing page equals logging out 12:45 < MikeSeth> lal 12:46 < kaos|work> Yossi: the fpf will only populate the form when the action="xxx" matches the called url 12:46 < MikeSeth> I already told him that 12:46 < kaos|work> unless you do $this->context->getRequest()->setAttribute('populate', true, 'org.agavi.filter.FormPopulationFilter'); 12:47 < Yossi> it does match 12:47 < MikeSeth> you should check 12:49 < Yossi> action="/yossi-ab-real/en/xmascard/" 12:49 < Yossi> action="/yossi-ab-real/en/xmascard/" 12:49 < MikeSeth> and the URL of the form? 12:49 < MikeSeth> (and base href?) 12:49 < Yossi> http://logs/yossi-ab-real/en/xmascard/ 12:49 < Wombert> ... 12:49 < Wombert> omg 12:50 < Wombert> YOU ARE USING TABLES AND CENTER TAGS???? 12:50 * Wombert checks the calendar 12:50 < Wombert> dec 2007.... hmm 12:50 < Yossi> it's not my code origanly 12:50 < MikeSeth> and $rd 12:51 < MikeSeth> :D 12:51 < Yossi> I DIDN't WRITE THAT HTML.... 12:51 < Wombert> ... 12:51 < Wombert> ."To: " . $rd->getParameter('rname') . "
" 12:51 < Wombert> did you validate that? 12:51 < Yossi> not yet... but its in development 12:51 < Wombert> and don't you want to use htmlspecialchars() ? 12:54 < Wombert> and FPF is enabled? 12:54 < Yossi> yes 12:55 < Yossi> this is not an app I wrote originally, I am just moving it to agavi with a few changes. it didn't have any PHP validation before. 12:59 < Yossi> it will have once im done 13:04 < MikeSeth> Wombert: I'll fix it, routing returns wrong base url 13:04 < MikeSeth> apache config problem 13:06 < RossC0> Wombert Haml rocks 13:06 < RossC0> very fast for writing valid xhtml 13:11 * MikeSeth smacks RossC0 13:11 < MikeSeth> withdraw thy heresy at once! 13:11 < RossC0> haha you obviously aint used it 13:12 < MikeSeth> I'm not supposed to 13:12 < RossC0> very simple idea - write less 13:12 < RossC0> I know it goes against dogma but thats a good thing 13:12 < Wombert> base href shouldn'tmatter there 13:16 < MikeSeth> I'll have to go dig in his copy to see wtf is up 13:18 < MikeSeth> OMG 13:18 * MikeSeth kicks Yossi 13:18 < MikeSeth> Yossi: troll, have you tried putting VALUES in the form fields? 13:19 < Yossi> yeah 13:19 < MikeSeth> WTF 13:19 < MikeSeth> put something in the name field and submit 13:20 < Yossi> I just did - its not filling 13:20 < MikeSeth> it does, for me. 13:20 < Yossi> CACHE!!!!! 13:20 < Yossi> ? 13:21 < MikeSeth> dunno. I also have js disabled in the browser. 13:23 < Yossi> well guys - it doesn't work yet... michael looked at the wrong thing 13:24 < E_mE> is there a array function that will allow you to remove all items that are in array 1 from array 2? 13:25 < Wombert> array_diff 13:25 < E_mE> thanx :) 13:26 < Wombert> http://docs.php.net/manual/en/book.intl.php 13:26 < Wombert> ! 13:32 < MikeSeth> Wombert: ignore us, FPF wasn't enabled globally ;> 13:32 < Wombert> *cough* 13:32 < Wombert> [13:54] Wombert: and FPF is enabled? 13:33 < Wombert> :p 13:33 < _cheerios> see, alcohol/drugs and programming does not mix! 13:33 < Wombert> 13:33 < MikeSeth> Wombert: it was enabled, it just didn't have any methods ;> 13:34 < MikeSeth> Yossi: btw, you can remap the method in routing and enable the filter for it in configuration, if you want to 13:34 < MikeSeth> , then in action: function executeRewrite(...) { ... } 13:34 < MikeSeth> not that it's a good idea or anything. 13:35 < Yossi> but I can just put in the action regardless - no? 13:35 < MikeSeth> dont understand the question soz 13:36 < Yossi> nm 13:37 < Yossi> praser thows this exception - any idea? 13:37 < Yossi> Line 19: Entity 'nbsp' not defined 13:42 < Whisller> Yossi: Replace all   to   and then check it :> 13:43 < Whisller> From your template 13:48 < Yossi> the thing is I thought i didn't have nbsp's at all... but there was one. now it's working 13:48 < Yossi> shouldn't it be fixed anyway? i mean nbsp is o.k. to have... 13:49 < Wombert> no 13:49 < Wombert> ... 13:49 < Wombert> cannot be fixed 13:49 < Wombert> it's xml 13:49 < Wombert> go ask the libxml guys 13:50 < Wombert> if you like, you can of course have your document validated against the DTD, and resolve entities 13:50 * Wombert sighs 13:50 * Wombert hugs Yossi 13:51 < Wombert> bad mood today, sorry 13:53 < Wombert> WHAT 13:53 < Wombert> ARE YOU KIDDING ME 13:53 < Wombert> http://bugs.php.net/bug.php?id=43510 13:53 < Wombert> ZOMFG 13:55 < E_mE> haha thats certainly a lazy reply 13:56 < Wombert> You can not comment bogus reports or change their status. 13:56 < Wombert> WHAT 13:56 < Wombert> WHAT 13:56 < Wombert> WHAT 13:56 < Wombert> ASDJOPASDJILASDJKLASJDKLASJDKASJKDJASDJ 13:56 < Wombert> FUCK THIS 13:56 -!- Wombert [n=Wombert@dslb-088-064-085-153.pools.arcor-ip.net] has quit ["bai"] 14:01 < MikeSeth> man 14:01 < MikeSeth> this time, they REALLY pissed him off 14:04 < _cheerios> did you read the bugreport comment? :D 14:05 < E_mE> yeah... there reply was somewhat crap 14:05 < E_mE> _cheerios: where is the the comment? 14:06 < _cheerios> huh? 14:07 < E_mE> im thinking there is a comment applied to it.. or are you refering to PHPs reply to his bug? 14:07 < MikeSeth> exactly 14:07 < MikeSeth> helly did something really dumb closing it 14:12 -!- trophaeum [n=trophaeu@ppp121-45-214-64.lns2.bne1.internode.on.net] has joined #agavi 14:13 * RossC0 hugs Wombert 14:14 < RossC0> hehehe: Why should the exact mode matter? 14:15 < RossC0> why should doing something right matter? 14:15 < v-dogg> what a bunch of morons... 14:16 * MikeSeth hugs Wombert 14:16 < MikeSeth> let's rape their children! 14:16 < v-dogg> you are just waiting for an excuse to do that, aren't you? 14:17 < MikeSeth> ever heard of civic duty? 14:18 < E_mE> http://pastebin.com/d4cbcfe03 <--- ive got a $ro->gen('foodherbs.new.ingredient.create'); that function is not working? Can you see why from my routing xml? 14:19 < Whisller> ehh kurwa away 14:20 < v-dogg> 14:20 < RossC0> Wombert you opened a new ticket? 14:20 < v-dogg> do you give nodeuid? 14:21 < MikeSeth> yeah it wouldn't match because of + 14:21 < MikeSeth> (if nodeuid is empty) 14:21 < E_mE> yes i do ... i just deleted it, but infact i do need it :) 14:21 < RossC0> ah he left 14:22 < Yossi> msn messenger is down all day for u 2? 14:22 < trophaeum> $num_rows = mysql_num_rows(mysql_query("select * from video")); IM GOING TO KILL THIS CODE! 14:22 < trophaeum> *cries* 14:22 < v-dogg> muahahahaa 14:22 < trophaeum> and that variable is never again referenced! 14:22 < trophaeum> @#$%@#$ 14:23 * E_mE needs to go on a firey debug of this routing 14:24 < MikeSeth> Yossi: it goes up and down 14:24 < trophaeum> ok, i probably just halved the server load now *sigh* 14:24 < MikeSeth> trophaeum: who wrote that 14:24 < trophaeum> clipshare 14:24 < MikeSeth> i want to ra^H^Hcivic duty 14:25 < trophaeum> prebuilt youtube clone thingie 14:25 < MikeSeth> oh. retards. 14:25 < trophaeum> understatement of the week 14:25 < trophaeum> i find things like that everywhere 14:26 < trophaeum> myisam table on the video table which gets an update called for every view 14:26 < trophaeum> same for user tables 14:26 < trophaeum> they screwed the date format in 1 table and it just grows exponentially (600k records in 6months), myisam, no indexes at all, table scan every time its hit 14:26 < trophaeum> these guys deserve to burn in hell for this code 14:27 < MikeSeth> charge triple 14:27 < RossC0> please vote for: http://bugs.php.net/bug.php?id=43519 14:27 < Whisller> trophaeum: you should see code which I must work, you will come back to your code with cry ;) 14:27 < MikeSeth> do I need an account? 14:28 < trophaeum> well, i reenabled 1 feature that broke (who knows why), all of a sudden the server load triples -_- 14:28 < RossC0> As you cant reply to the original - I refiled for Wombert :D 14:28 < trophaeum> RossC0, nice 1, voted 14:29 < trophaeum> Whisller, how about the fact that on any random page it can have upto 10 mysql_connect's called 14:29 < trophaeum> and on the odd occasion its in a loop 14:29 < MikeSeth> Thanks for voting! Your vote should be reflected in the statistics below. 14:29 < MikeSeth> isn't it nice to be David, he has his own voting squad 14:30 < trophaeum> i still find the pdo isintransaction bug amusing, there is no voting so it got spammed to hell with +1 14:32 < trophaeum> if(count($ch)>1)for($i=1;$i DIE 14:33 < trophaeum> unquoted array keys... oh man, shoot me, please 14:35 < trophaeum> ok, thats it, out comes xdebug, im profiling every freaking page -_- 14:36 < Whisller> trophaeum: I say you that: How about the fact when you extends base class ( you must do it ;p) in your class it open new connection :P 14:36 < Whisller> always ;) 14:37 < trophaeum> Whisller, iv got 1 person who does a mysql_connect at the top of her script, runs a query to fetch the ids she needs, then does $blah = new blah($id); and blah creates a new connection and performs a single query for every row... not uncommon for 100 rows on a page... she wondered why it was overloading her server... there are so many n00bs out there 14:37 < trophaeum> oh wow, so many sql injection points 14:38 < trophaeum> found 2 more references to the count all of the videos table by using mysql_num_rows, including the rss builder -_- 14:39 < Whisller> trophaeum: you won :D 14:39 < Whisller> But 14:39 < Whisller> I have one candy :P 14:39 < Whisller> globals :D 14:39 < Whisller> The winner is ;) 14:40 < trophaeum> found 5 references to the mysql_num_rows, mysql just went from 48% cpu to 20%... i hate this 14:41 < trophaeum> load average was over 1, now its hitting .4 14:42 < trophaeum> btw, its not good to win with code like this, there is no winner with this crap, only servers that get unfairly beat up :( hehe 14:43 < Whisller> trophaeum: Yes, I'm just kidding :P 14:44 < Whisller> What else we can do in this situation :P 14:44 < Whisller> I can only laught or cry so I choose laught. 14:45 < Whisller> Because my cry doesn't acting to them 14:45 < trophaeum> well, the evil mysql_connect on object initialization has been replaced with a single subselect query that is cached by xcache now at least 14:46 < trophaeum> load time went from 1.6secs to 0.014... 14:47 < Whisller> :) 14:49 -!- jake [n=jake@cpe-66-61-166-240.indy.res.rr.com] has quit [Read error: 110 (Connection timed out)] 14:56 -!- jake [n=jake@cpe-66-61-162-140.indy.res.rr.com] has joined #agavi 14:57 < jake> stupid new router 15:00 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 15:00 < MrJeep> hi 15:00 < MrJeep> where should I go to buy music albums on the net ? 15:00 < MrJeep> buy (and download) 15:02 < jake> I use emusic, because it's really cheap 15:02 < jake> or recently I bought some stuff from cdbaby 15:04 < E_mE> MrJeep: look up soulseek on google... there you can get good quailty and free ;) 15:05 < jake> I like to buy music too MrJeep 15:08 < E_mE> i liek to buy CD and LPs but mp3... 15:09 < MikeSeth> MrJeep: bittorrent 15:11 < E_mE> soulseeks good because you can get fairly rare types of music 15:11 < E_mE> even stuff you can't buy on MP3.. 15:12 -!- epaulin [n=epaulin@219.136.126.168] has quit ["Ex-Chat"] 15:15 < kaos|work> beatport.com ... all you will ever need (if you listen to the same strange music listen to, everything elecronic xD) 15:21 < _cheerios> that was odd for a sec, with kde taskbar disappearing. 15:24 < MrJeep> well Soulseek seems to be working with wine 15:24 < Yossi> I think ms should compensate me for lost msn messenger time 15:27 -!- Wombert [n=Wombert@dslb-088-064-085-153.pools.arcor-ip.net] has joined #agavi 15:28 < MikeSeth> I want The KHZ albums 15:28 < MikeSeth> but they are nowhere to be found :< 15:30 < MrJeep> is the server down ? 15:38 < jake> yeah I dig beatport too 15:44 < MrJeep> E_mE: do you know if the soulseek server is down ? (or is the fact that I run it on wine) 15:51 < trophaeum> MrJeep, there is a python soulseek based client 15:51 < trophaeum> that said, i havnt used it in centuries 15:59 < MrJeep> I'm trying to install it right now 15:59 < MrJeep> let's hope it works 16:01 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 16:02 < E_mE> MrJeep: if your on unix based system, install Nicotine which is soulseek for *nix systems 16:03 < E_mE> but i dont believe the server is down, you do need to setup username + password 16:05 < MrJeep> if I don't have an account I just enter my "new" username / password I guess ? 16:06 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)] 16:07 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 16:09 < MikeSeth> MrJeep: yeah 16:09 < MikeSeth> try fapfapfap:fapfapfap 16:09 < MikeSeth> heh 16:16 -!- Yossi [n=nospam@62.90.159.110] has quit [] 16:21 < jake> ew 16:27 -!- JanK_ [n=JanK_@muedsl-82-207-192-072.citykom.de] has joined #agavi 16:31 -!- Whisller [n=danielan@80.72.37.90] has quit [] 17:04 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection] 17:04 -!- kaos|work [n=dominik@dslb-084-063-117-238.pools.arcor-ip.net] has quit [] 17:05 -!- kaos|work [n=dominik@dslb-084-063-117-238.pools.arcor-ip.net] has joined #agavi 17:05 -!- kaos|work [n=dominik@dslb-084-063-117-238.pools.arcor-ip.net] has quit [Client Quit] 17:14 -!- shoan [n=shoan@122.166.1.168] has quit [] 17:21 -!- E_mE [n=E_mE@89.104.225.116] has quit [Remote closed the connection] 17:40 < Wombert> win 17:40 < Wombert> http://bugs.php.net/?id=43510 open again 17:40 < Wombert> vote! 17:40 < Wombert> :) 17:40 < RossC0> VOTE!! 17:53 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Remote closed the connection] 17:55 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 17:58 < RossC0> HOME! 18:06 -!- RossC0 [n=RossC0@80.4.120.163] has left #agavi [] 18:09 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has quit [Read error: 113 (No route to host)] 18:15 -!- shoan [n=shoan@59.161.158.101] has joined #agavi 18:17 < _cheerios> MikeSeth, what ver of Doctrine are you running? There seems to be some connection handling bug in beta1 (or some version around there :)) that I'm using. 18:31 -!- eremit [n=eremit@p5B236169.dip.t-dialin.net] has left #agavi [] 18:36 < _cheerios> yep, openConnection() doesnt seem to bind itself as the current connection if one has been set previously (default is to use it, and i even flagged it!). doing openConnection, then setCurrentConnection works. :) 18:51 -!- CIA-31 [n=CIA@208.69.182.149] has quit [] 18:58 -!- shoan [n=shoan@59.161.158.101] has quit [Read error: 110 (Connection timed out)] 18:59 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 18:59 < Whisller> hi 19:08 -!- Wombert_ [n=Wombert@dslb-088-064-079-063.pools.arcor-ip.net] has joined #agavi 19:09 < MikeSeth> _cheerios: latest trunk :D 19:09 -!- CIA-10 [n=CIA@208.69.182.149] has joined #agavi 19:09 < _cheerios> nuts! i peeked into the roadmap again and it doesnt seem like they'll hit 1.0 before summer 2008 19:15 < MikeSeth> they have a roadmap? 19:16 -!- Wombert [n=Wombert@dslb-088-064-085-153.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 19:42 -!- Wombert_ is now known as Wombert 19:55 < _cheerios> *blinks* 10hrs nonstop nerding 19:59 < impl> mmm 20:05 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 20:59 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"] 21:08 < _cheerios> *blinks* 21:15 < MrJeep> why is the minimum php version for agavi is 5.1.3 instead of 5.1.2 21:15 < MrJeep> this is quite a problem here :S 21:16 < MrJeep> because ubuntu 6.someting LTS (5 years support) have 5.1.2 21:17 < Wombert> office -> 21:17 -!- Wombert [n=Wombert@dslb-088-064-079-063.pools.arcor-ip.net] has quit [] 21:17 < _cheerios> agavi is for bleeding edge :) 21:32 < MrJeep> lol 21:32 < MrJeep> I just manually change the minimum version 21:32 < MrJeep> and hope nothings gets broken 21:36 < _cheerios> you should be on 5.2.5+ anyhow :smoke 21:37 -!- JanK_ [n=JanK_@muedsl-82-207-192-072.citykom.de] has quit [] 21:54 < splatch`> hello 22:01 < Whisller> splatch`, I wrote message to you, on jabber :P 22:09 < splatch`> Whisller: i haven't got any message 22:12 < Whisller> Maybe on gg 22:19 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has quit ["ByeBye"] 22:28 * Whisller is listening Pidzama Porno - Grudniowy Blues O Bukareszcie 22:33 < _cheerios> how were validation.xml's translated again 22:41 < _cheerios> and with this setting false 22:45 -!- Wombert [n=Wombert@85.183.90.3] has joined #agavi 22:46 < Wombert> re 22:46 < Wombert> :> 22:47 < splatch`> er! 22:51 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi 22:52 < _cheerios> Wombert, basic steps to write a custom translation manager in order to translate validation xmls? 22:53 < Wombert> uhm 22:53 < Wombert> manager? 22:53 < Wombert> you know that all validators support translation, right? 22:53 < _cheerios> my validator-foo is weak 22:53 < Wombert> 22:53 < Wombert> done 22:53 < Wombert> :) 22:54 < nagaozen> PHP5 is compatible with PHP 4.3 ? 22:54 < splatch`> ;> 22:54 < Whisller> Like bmv with fiat 126p :D 22:55 < nagaozen> 8( 22:55 < splatch`> Whisller: he don't know what is a fiat 126p :) 22:55 < _cheerios> ok, and then, uh, what else, just need to extend translationManagers _() ? 22:55 < Wombert> polski fiat? 22:55 < Wombert> _cheerios: nooo 22:55 < Whisller> hehe Fiat 126p is a great polish car :) 22:55 < Wombert> why? 22:55 < Whisller> Wombert, exacly 22:55 < nagaozen> no way to make an app write in 4.3 to work in a 5.0 environment? 22:55 < Wombert> I wouldn't go as far as calling it great 22:55 < _cheerios> i have false 22:55 < Wombert> but it's definitely polish 22:55 < Wombert> :) 22:55 < splatch`> nagaozen: it's not possible 22:55 < Wombert> _cheerios: then switch it on 22:56 < _cheerios> no 22:56 < splatch`> http://pl.wikipedia.org/wiki/Maluch 22:56 < Wombert> _cheerios: look at the sample app for a demo of how translation works 22:56 < Wombert> _cheerios: eh? 22:56 < Whisller> Wombert, Yes. Ahh it was good time when on polish highways war riding only "maluchy" :D 22:56 < Whisller> splatch`, what are you doing? 22:57 < splatch`> Whisller: now i am writing something in c++ 22:57 < Whisller> Maybe you want help me and Michal to drink some beers ? :] 22:58 < _cheerios> Wombert, im using pure gettext. 22:58 < _cheerios> (=nothing fancy= 23:00 < splatch`> Whisller: no thanks 23:00 < Whisller> :P 23:08 < _cheerios> Wombert, http://trac.agavi.org/browser/branches/0.11/src/validator/AgaviValidationManager.class.php#L515 looks like a typo on line 517 23:12 < _cheerios> hmm, basically I only need 1 line change in AgaviValidator/throwError to use gettext... but how? :) 23:13 < Wombert> yes 23:13 < Wombert> but I don't understand why you're not using translation right away 23:13 < _cheerios> i think it was due me being the speedfreak of 2006 i noticed a 50% penalty and went the dummy route 23:15 < _cheerios> i want to go live with my agavi app tomorrow nite, but this! and i thought i had everything translated. :) 23:19 < Wombert> :p 23:21 -!- Wombert [n=Wombert@85.183.90.3] has quit [] 23:54 < _cheerios> well, replaced the AgaviValidator with a one line change. quite the waste, but works. 23:56 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["dead"] 23:57 -!- Wombert [n=Wombert@dslb-088-064-079-063.pools.arcor-ip.net] has joined #agavi 23:59 < Wombert> re --- Day changed Fri Dec 07 2007 00:13 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit ["Good night"] 00:34 < Wombert> http://tonic.sourceforge.net/ 00:47 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit ["Leaving"] 01:03 -!- shoan [n=shoan@59.161.157.11] has joined #agavi 01:55 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has quit [] 02:20 -!- jake [n=jake@cpe-66-61-162-140.indy.res.rr.com] has quit [Read error: 110 (Connection timed out)] 02:20 -!- jake [n=jake@cpe-66-61-162-140.indy.res.rr.com] has joined #agavi 02:52 -!- Wombert [n=Wombert@dslb-088-064-079-063.pools.arcor-ip.net] has quit [] 03:10 -!- epaulin [n=epaulin@61.144.109.121] has joined #agavi 03:12 -!- shoan [n=shoan@59.161.157.11] has quit [Read error: 104 (Connection reset by peer)] 03:24 -!- shoan [n=shoan@59.161.147.41] has joined #agavi 03:34 -!- Netsplit heinlein.freenode.net <-> irc.freenode.net quits: shoan, splatch`, um 03:45 -!- Netsplit over, joins: shoan, splatch`, um 04:00 -!- shoan_ [n=shoan@219.64.67.92] has joined #agavi 04:16 -!- shoan [n=shoan@59.161.147.41] has quit [Connection timed out] 04:27 -!- Netsplit heinlein.freenode.net <-> irc.freenode.net quits: shoan_, splatch`, um 04:34 -!- Netsplit over, joins: splatch`, shoan_, um 04:53 -!- Netsplit heinlein.freenode.net <-> irc.freenode.net quits: shoan_, splatch`, um 05:03 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has quit [Remote closed the connection] 05:05 -!- Netsplit over, joins: splatch`, um 05:11 -!- Netsplit heinlein.freenode.net <-> irc.freenode.net quits: splatch`, um 05:24 -!- shoan [n=shoan@59.92.129.174] has joined #agavi 05:26 -!- Netsplit over, joins: splatch`, um 05:26 -!- um [n=um@noc.cavokintl.com] has quit [Read error: 110 (Connection timed out)] 05:27 -!- splatch` [n=splatch@s3.przytulski.net] has quit [Read error: 110 (Connection timed out)] 06:37 -!- MikeSeth [n=MikeSeth@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 07:41 < v-dogg> huomenta 07:56 -!- Whisller [n=danielan@80.72.37.90] has joined #agavi 07:56 < Whisller> Hi 08:11 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 08:12 < RossC0> Huomenta 08:33 < Whisller> This day just began but I'm already tired. 08:41 < v-dogg> any idea where I can find the specs for excel xml? 08:42 < v-dogg> not the new xlsx but the format used here: http://www-128.ibm.com/developerworks/opensource/library/os-phpexcel/#N101DA 08:45 -!- _cheerios [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 08:45 < _cheerios> huomenta 08:47 < _cheerios> re: tonic, that's the direction I plan to make pretty much everything 08:54 -!- eremit [n=eremit@p5B237ED4.dip.t-dialin.net] has joined #agavi 09:09 < _cheerios> on the restful topic there seems to be http://konstrukt.dk/ for php5 (tonic seemed outdated + php4) 09:12 -!- E_mE [n=E_mE@89.104.225.116] has joined #agavi 09:12 < E_mE> huomenta! 09:12 < E_mE> :o £12.87 for a 4GB USB Memory stick! :o 09:13 < _cheerios> i was suprised how cheap these sticks are. bought a 1G stick last week for 7.90e 09:15 < E_mE> i saw a 16GB for about £80 .. 09:16 < _cheerios> next year seems to be the one for SSD's too, could get an affordable 16-32GB one to give desktop apps a nice speedboost 09:34 < E_mE> there starting to make laptops with 20GB flash hard drives as well 09:34 < E_mE> ultra fast :D 09:48 < _cheerios> ugh. looking at these other frameworks code after working on agavi for a long time. my eyes, my eyes. 09:51 < E_mE> i think it would be interesting for me to look at another framework after having my first experience with agavi... see how things differ 10:29 -!- Wombert [n=Wombert@dslb-088-064-079-063.pools.arcor-ip.net] has joined #agavi 10:30 < E_mE> Wombert: you feeling bit more chilled today :) 10:31 < Wombert> slightly 10:39 < E_mE> well, this might cheer you up :D you can by 4GB USB2.0 Memory stick for £12.87 ;) 10:41 < v-dogg> what would that be in real money? 10:42 < E_mE> monopoly money + 2 of the stations ;) 10:45 < Wombert> v-dogg: http://www.google.com/search?hl=en&q=12.87+pounds+sterling+in+euro&btnG=Search 10:45 < Wombert> :) 10:45 < v-dogg> Kingston DataTraveler - 4 Gt - Hi-Speed USB: 18.80 e (inc. VAT 22%) 10:45 < v-dogg> your dealer sucks :) 10:45 < E_mE> thats only 0,50c cheaper 10:46 < E_mE> =P 10:46 < E_mE> now have to look at delivery costs.. hoho 10:47 < E_mE> though that is fairly high VAT 10:47 < Wombert> yeah delivery costs a lot in finland 10:48 < E_mE> \o/ We have slighter better quailty coffee again :D not homebrand stuff... Nescafe Gold blend :D 10:48 < Wombert> santa claus has to get his sledge, which need spike tires this time of year, then collect his reindeer, and then go to the middle of nowhere, to some place covered completely in snow, dig the house free of the snow, and throw the delivery through the chimney 10:49 < Wombert> ewww instant coffee 10:49 < E_mE> hhehehehehe 10:49 < Wombert> smacks E_mE with a Senseo machine 10:49 < E_mE> Wombert: my company refuses to invest in a coffee machine 10:49 < Wombert> lolz 10:49 < Wombert> they suck man 10:49 < Wombert> :/ 10:49 < v-dogg> no no no, they don't have to suck 10:49 < E_mE> aye... maybe ill bring a caffetier in the new year ;) 10:50 < E_mE> but i do have a trick to make instant taste better ;) 10:50 < E_mE> put the granuals in and put cold water on them... stur it abit so it goes liquid... then put hot water on afterwards.... prevents it getting burn't ;) 10:50 < v-dogg> they suck if they use freeze-dried coffee 10:52 < v-dogg> but cool ones grind the coffee from beans or use real coffee packaged in vacuum 10:53 < E_mE> dry freezed :'( 11:02 < Wombert> for instant coffee?hmm 11:03 < Wombert> haha RossC0 11:03 < Wombert> you suck! 11:03 < Wombert> :) 11:05 < Wombert> (your python -> ruby comic fake :p) 11:07 < _cheerios> v-dogg: good old "from childrens mouth" (finnish) http://www.voimahali.fi/vh/showthread.php?t=79598 11:11 < RossC0> ? 11:12 < RossC0> http://xkcd.com/353/ 11:12 < RossC0> haha I know 11:12 < RossC0> Wombert sucks 11:12 < RossC0> :p 11:12 * RossC0 hugs Wombert 11:30 < shoan> Wombert: is agavi using trac 0.10.4? 11:49 -!- epaulin_ [n=epaulin@61.144.109.121] has joined #agavi 12:03 < RossC0> shoan: Powered by Trac 0.10.3 12:03 < shoan> i am trying to get the post-commit hook to work and it just isn't 12:07 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 12:07 -!- epaulin [n=epaulin@61.144.109.121] has quit [Read error: 110 (Connection timed out)] 12:07 < malax> Ha Wombert! 12:08 < malax> I think ive found another bug, but im not sure... http://trac.agavi.org/browser/trunk/src/storage/AgaviPdoSessionStorage.class.php#L175 $time isn't used and the query does very strange things to our database... 12:11 < malax> err... 12:11 < malax> forget the last lines. 12:11 < E_mE> Wombert: have apple ironed out the inital bugs in OSX 10.5 now? 12:12 -!- epaulin_ is now known as epaulin 12:27 -!- kaos|work [n=dominik@dslb-084-063-123-004.pools.arcor-ip.net] has joined #agavi 12:32 -!- Whisller [n=danielan@80.72.37.90] has quit [] 12:35 -!- splatch` [n=splatch@s3.przytulski.net] has joined #agavi 12:38 -!- um [n=um@noc.cavokintl.com] has joined #agavi 12:48 < v-dogg> how do I add namespace definitions to a root element using DOM? 12:49 < Wombert> guys 12:49 < Wombert> especially v-dogg 12:49 < Wombert> session handlers are not supposed to create the session on read() are they 12:50 < v-dogg> create as in.. ? 12:50 < Wombert> well 12:50 < Wombert> sessionRead() 12:50 < Wombert> if no record is in the db 12:50 < Wombert> it creates it 12:50 < Wombert> instead of returning false 12:51 < Wombert> our handlers do that 12:51 < v-dogg> hmm... 12:51 < v-dogg> they do indeed 12:51 < Wombert> php then regenerates the session automatically I assume 12:52 < Wombert> http://de2.php.net/manual/en/function.session-set-save-handler.php#34394 just that does the same 12:53 < v-dogg> probably just to make writing easier 12:53 < v-dogg> i.e. you can always UPDATE 12:54 < Wombert> can you 12:54 < Wombert> I think session_regenerate_id() triggers a write right away 12:55 < Wombert> Read function must return string value always to make save handler work as expected. Return empty string if there is no data to read. Return values from other handlers are converted to boolean expression. TRUE for success, FALSE for failure. 12:55 < v-dogg> so with our db storage's that wouldn't work? 12:55 < Wombert> probably 12:55 < v-dogg> -' 12:57 < v-dogg> so instead of creating it in read() we should do it in write() if updated rows == 0 12:58 < v-dogg> man... it's not even 3pm and it's already dark outside :( 12:58 < v-dogg> winter without snow is so depressing 12:58 * E_mE is all excited! just booked flights to portugal for next years holiday! ;) 12:58 < E_mE> no snow v-dogg 12:58 < v-dogg> no, +5C 12:58 < E_mE> global warming.. im telling ya! =P 12:59 < E_mE> think how we in england must feel... i never snows 12:59 < E_mE> well not where i live 12:59 < E_mE> and if it does, it lasts for 24 hrs and melts again 13:00 < v-dogg> Sunrise 9:22. Sunset 15:23. Length of day 6 h 1 min. 13:00 < E_mE> thats pretty insane 13:01 < E_mE> whats the lowest it gets to? 13:01 < v-dogg> not much shorter than that. shortest day of the year is couple weeks away 13:02 < E_mE> 21st 13:02 < v-dogg> yup 13:03 < E_mE> when we all go pray to the sun ;) 13:03 < v-dogg> remind me to check again then 13:03 < E_mE> ill try :) 13:03 < Wombert> 7:49/16:20 13:03 < Wombert> germany >> finland 13:03 < Wombert> :> 13:04 * v-dogg sobs 13:05 < v-dogg> hey, make me feel better and tell how to produce this with DOM: 13:05 -!- danielancuta [n=danielan@80.72.37.90] has joined #agavi 13:05 < E_mE> i can't find Cornwall's sunrise/set times 13:06 < v-dogg> use php :p 13:06 < E_mE> hehe... i need a starting point though ;) 13:06 < v-dogg> www.php.net/date_sunrise 13:06 < E_mE> oh 13:07 < E_mE> infact im going to put it on the intranet... hoho 13:15 < E_mE> 08:06 --> 16:18 here 13:16 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection] 13:19 < Wombert> createAttributeNS(), v-dogg 13:32 < v-dogg> hmm.. 13:34 < v-dogg> can't figure out how to use it 13:34 < v-dogg> how do I add multiple ns defitions to the root element? 13:35 < Wombert> you don't 13:35 < Wombert> ;) 13:35 < v-dogg> I wanna! :( 13:35 < Wombert> no need 13:35 < Wombert> it does that for you 13:45 -!- Netsplit heinlein.freenode.net <-> irc.freenode.net quits: Spica_, nf 13:45 -!- Netsplit over, joins: nf, Spica_ 13:46 < v-dogg> I'm just getting Namespace Errors here :) 13:46 < v-dogg> I fucking hate php.net and it's shitty API docs 13:46 -!- E_mE [n=E_mE@89.104.225.116] has quit [Remote closed the connection] 13:46 -!- E_mE [n=E_mE@89.104.225.116] has joined #agavi 13:47 < v-dogg> http://fi2.php.net/manual/en/function.dom-domdocument-construct.php <-- this is such a mess that it makes me want to kill someone 13:48 < v-dogg> where are DOM's (DOMDocument's) properties documented? like formatOutput 13:56 < v-dogg> Wombert: do I have to use the ns everytime I use it? I can't define them somewhere and then just use foo:Bar and so on? 13:56 < Wombert> nope 13:56 < v-dogg> $font->setAttributeNS('urn:schemas-microsoft-com:office:spreadsheet', 'ss:Bold', '1'); 13:56 < v-dogg> $font->setAttributeNS('urn:schemas-microsoft-com:office:excel', 'x:Family', 'Swiss'); 13:57 < Wombert> yep, all the time 13:57 < Wombert> :) 13:57 < v-dogg> sux 13:57 < Wombert> yep 14:00 < RossC0> is SimpleXML any easier for that then? 14:07 < _cheerios> if its not komplikated enough to waste your time for days on end with little progress its not worth using 14:20 -!- Wombert_ [n=Wombert@dslb-084-056-035-027.pools.arcor-ip.net] has joined #agavi 14:21 < danielancuta> http://youtube.com/watch?v=uLDOcaIuK24 14:21 -!- danielancuta is now known as Whisller 14:24 -!- _cheerios [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["bbl"] 14:28 < E_mE> Whisller: i saw that on saturday live the other night 14:28 < E_mE> its pretty amazing 14:29 < Whisller> :) 14:29 < Whisller> Yes, it is 14:33 -!- Wombert__ [n=Wombert@dslb-084-056-051-054.pools.arcor-ip.net] has joined #agavi 14:35 -!- Wombert [n=Wombert@dslb-088-064-079-063.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 14:35 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 14:36 < MrJeep> hi 14:38 -!- Wombert [n=Wombert@dslb-084-056-035-046.pools.arcor-ip.net] has joined #agavi 14:42 -!- Wombert_ [n=Wombert@dslb-084-056-035-027.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 14:42 -!- Wombert_ [n=Wombert@dslb-088-064-093-026.pools.arcor-ip.net] has joined #agavi 14:44 -!- shoan [n=shoan@59.92.129.174] has quit [] 14:53 -!- Wombert___ [n=Wombert@dslb-084-056-013-178.pools.arcor-ip.net] has joined #agavi 14:55 -!- Wombert__ [n=Wombert@dslb-084-056-051-054.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 14:56 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 14:57 -!- Wombert [n=Wombert@dslb-084-056-035-046.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 15:00 -!- Wombert_ [n=Wombert@dslb-088-064-093-026.pools.arcor-ip.net] has quit [Connection timed out] 15:09 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 15:11 < Wombert___> am I back? 15:11 < Wombert___> :p 15:11 -!- Wombert___ is now known as Wombert 15:11 < Wombert> guys, what do you think about deprecated stuff 15:11 < Wombert> there's some deprecated stuff in 0.11 15:11 < Wombert> three methods I think 15:12 < Wombert> should we get rid of those in 1.0, or 1.1? 15:13 < Wombert> and 15:13 < Wombert> I'd like to deprecate mysql and postgresql session storage 15:13 < Wombert> those are just too big a pita 15:14 < v-dogg> mmm... pizza 15:14 < v-dogg> sorry, got distracted :) 15:14 < v-dogg> PdoSessionStorage would replace them? 15:16 < v-dogg> I'm fine with ditching deprecated methods and redundant storages in 1.0 15:19 < kaos|work> wombert: imho we should keep them 15:19 < kaos|work> since mysqlnd will only implement the mysqli methods from the start iirc 15:23 < kaos|work> hmmm according to http://blog.ulf-wendel.de/?p=131 it will be in pdo too from the start 15:23 < kaos|work> so i'm fine with it 15:23 < kaos|work> if ppl use them they can just the old ones 15:32 -!- splatch` [n=splatch@s3.przytulski.net] has quit [Read error: 104 (Connection reset by peer)] 15:32 -!- splatch` [n=splatch@s3.przytulski.net] has joined #agavi 15:41 -!- shoan [n=shoan@59.92.129.174] has joined #agavi 16:00 < MrJeep> arg. no native support for yaml in php ? 16:00 < MrJeep> I mean no parsing support 16:01 < v-dogg> no 16:02 < v-dogg> and now you have to tell us why on earth would you need that?-) 16:07 -!- Whisller [n=danielan@80.72.37.90] has quit ["Cya :)"] 16:09 < MrJeep> I need that because I love yaml and yaml is better than xml and yaml is even better that my old crappy car! 16:09 < MrJeep> no seriously 16:09 < MrJeep> I've been given a small project which needs to parse yaml files generated by virtual servers 16:15 < MrJeep> this yaml and xml thing looks like the HD-DVD and Blueray war 16:15 < kaos|work> well. 16:15 < kaos|work> no 16:15 < v-dogg> yes, no. 16:15 < kaos|work> it's more like tape against cd xD 16:15 < kaos|work> or rather against dvd 16:15 < kaos|work> ;) 16:15 < MrJeep> hehe on the surface :P 16:15 < v-dogg> paper and pen against DVD 16:15 < MrJeep> but still, it's both a "standardized" way to exchange data 16:16 < MrJeep> except the syntax is different 16:16 < MrJeep> I would guess this started because someone somewhere didn't like the look of xml 16:23 -!- epaulin [n=epaulin@61.144.109.121] has quit ["Ex-Chat"] 16:35 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 16:35 < _cheerios> moo 16:59 -!- JamieWolf [n=Chatter@dslb-088-068-223-060.pools.arcor-ip.net] has joined #agavi 17:23 -!- E_mE [n=E_mE@89.104.225.116] has quit [Remote closed the connection] 17:24 < RossC0> MrJeep use json 17:24 < RossC0> or http://whytheluckystiff.net/syck/ 17:26 < RossC0> http://devzone.zend.com/article/2585-Using-YAML-With-PHP-and-PECL 17:33 < eremit> heyja all 17:34 < Wombert> hi eremit, how's it going 17:35 * Wombert is wading through the database session storage mess 17:35 < eremit> bad ... i never thought i would say ... the gecko engine is totally fucked up and drives me insane 17:35 < Wombert> yeah 17:35 < Wombert> use webkit 17:35 < Wombert> :> 17:36 < eremit> yeah webkit works even ie works ... 17:36 < eremit> but it has to work on firefox also ... :/ 17:37 < RossC0> Anyway to extend the context? 17:37 < Wombert> no, RossC0 17:38 < RossC0> I want a getOutputHelper method that handles output helpers 17:38 < RossC0> boo 17:38 < Wombert> waht 17:38 * Wombert blinks 17:38 < Wombert> did he just say what I read he said 17:38 < RossC0> yeah well 17:38 < RossC0> people want helpers 17:38 < RossC0> *apparently* 17:38 < Wombert> in templates? 17:38 < RossC0> like date time formatters etc 17:38 < RossC0> well not necessarily 17:39 < RossC0> for transforming data used in the system consistently 17:39 < RossC0> I could just have it as a model 17:39 < _cheerios> if doing validationManager->getErrors() in validateWrite(), and there have been errors in validate.xml, would those be listed? I noticed I needed to bail out immediately in validateWrite if errors in some cases. 17:39 < RossC0> Wombert: thats why I didnt use the name HtmlHelpers 17:40 * RossC0 cries as the kitten gets wounded 17:40 < Wombert> RossC0: besides the intentional "final" restriction, several __wakeup() methods etc use AgaviContext::getInstance() 17:40 < Wombert> so... no dice 17:40 < RossC0> yeap 17:40 < RossC0> got that 17:40 < Wombert> it's half-static, so no chance of subclassing properly 17:41 < _cheerios> use the fork, luke 17:41 < Wombert> I noticed that most db session handlers out there delete and insert on write() 17:41 < Wombert> wonder if we should do the same 17:42 < RossC0> hmm ok will use agavi models instead 17:42 < RossC0> Wombert: why? 17:42 < Wombert> well right now we create a record in read() if its not there 17:42 < RossC0> you feeling sheepish? 17:42 < RossC0> ah ok 17:42 < Wombert> which might ruin session_regenerate_id() 17:42 < Wombert> and also is not what read() is supposed to do 17:42 < RossC0> yeap 17:42 < Wombert> not taking any chances here so I wanna change it so it goes by the book 17:43 < RossC0> well thats a good reason why 17:43 < RossC0> ok have a good weekend all 17:43 -!- RossC0 [n=RossC0@80.4.120.163] has left #agavi [] 17:44 < _cheerios> "why does it matter if it's not exact" 18:09 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 18:11 < _cheerios> 18:46:03 up 707 days // time to maintenance once in a while 18:28 < _cheerios> Wombert, on validation translation strings I'd like to convey min/max information with the error, like "Please supply a password [min=5]" -- but not have that metadata there -- as numbers can change, and having them in the translation string makes no sense. How would I inject this min/max info easiest into the error msg, while having clean error messages for translation? 18:51 < _cheerios> is there a way to use LC_TIME without apache logs turning into the same language? 19:09 -!- CelticSon [i=Celtic@port-212-202-0-131.dynamic.qsc.de] has joined #agavi 19:38 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection] 20:03 -!- impl [n=impl@compass.rdu-0.ip6.cynigram.com] has joined #agavi 20:05 -!- kaos|work [n=dominik@dslb-084-063-123-004.pools.arcor-ip.net] has quit [] 20:11 < CIA-10> david * r2206 /branches/0.11/src/storage/ (5 files): 20:11 < CIA-10> Cleaned up database session storages; fixed read/write behavior for all 20:11 < CIA-10> storages; improved escaping for mysql and postgresql; added customized date 20:11 < CIA-10> formats to creole storage; fixed incorrect garbage collection enforcing of 20:11 < CIA-10> creole and PDO; fixed non-integer date() results for all storages. Closes #635, 20:11 < CIA-10> #636, #637, #638 and #639 20:14 -!- Wombert_ [n=Wombert@dslb-084-056-043-134.pools.arcor-ip.net] has joined #agavi 20:16 < _cheerios> argh. the cursed problem of plurals in translations. 20:17 < _cheerios> did you do tests, any noticeable difference with the storage behaviour? 20:22 -!- Wombert [n=Wombert@dslb-084-056-013-178.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 20:23 < CIA-10> david * r2207 /branches/0.11/CHANGELOG: changelog 20:31 < Wombert_> _cheerios: that's the question ;) 20:31 < Wombert_> /nick Wombert 20:31 < Wombert_> gah 20:31 -!- Wombert_ is now known as Wombert 20:31 < Wombert> right 20:31 < Wombert> everyone will really need to test rc1 properly so we can be sure there's nothing wrong now 20:32 < Wombert> it should not behave different 20:32 < Wombert> which implementation are you using 20:32 < v-dogg> rc1? 20:32 < Wombert> well 20:32 < Wombert> once it's out 20:32 < Wombert> ;) 20:32 < Wombert> 0.11.1 20:32 < v-dogg> :) 20:32 < v-dogg> I use pdo 20:32 < Wombert> I'll send a msg to the lists and specifically ask for it 20:32 < Wombert> and shoot everyone who's too lazy to upgrade and try 20:32 < Wombert> :> 20:33 < v-dogg> upgrading is a matter off updating the svn:external, I think I'll manage :) 20:33 < Wombert> should we deprecate mysql and postgresql storages? 20:33 < v-dogg> *of 20:33 < Wombert> I think we should 20:33 < Wombert> and 20:34 < Wombert> we have a couple of deprecated methods already 20:34 < Wombert> in 0.11.0 20:34 < v-dogg> we should deprecate mysql 20:34 < v-dogg> everyone should 20:34 < Wombert> should we remove those in 1.0 or 1.1? 20:34 < Wombert> that's a general question really, remove deprecated stuff? I say yes. when? next release, release after next? 20:34 < v-dogg> 1.0 20:35 < Wombert> so we'd deprecate mysql and postgresql storages for 1.0 and remove them in 1.1, right 20:35 < v-dogg> no, deprecate for 0.11.1 and good riddance when releasing 1.0 20:35 < Wombert> nah 20:35 < Wombert> not possible 20:36 < Wombert> that would break BC with 0.11.0 20:36 < v-dogg> sure it is, I'll show you 20:36 < Wombert> :) 20:36 < Wombert> haha 20:36 < Wombert> :> 20:36 < v-dogg> just rm AgaviPostgresqlStorage.class.php 20:36 < Wombert> no really, no deprecating in minor releases 20:36 < impl> break it 20:36 < impl> BREAK IT 20:36 < Wombert> that's for cake and symfony and those other folks 20:36 < Wombert> oh wait 20:36 < Wombert> DOCTRINE! 20:36 < Wombert> :) 20:36 < impl> :( 20:36 < Wombert> for them that is 20:36 < v-dogg> that's the spririt impl 20:36 < Wombert> :> 20:41 < CIA-10> david * r2208 /branches/0.11/src/validator/AgaviValidationManager.class.php: Fixed undefined variable notice in AgaviValidationManager::hasIncidents(), closes #640 20:42 < v-dogg> I don't consider deprecating something breaking the BC but that's just me 20:42 < CIA-10> david * r2209 /branches/0.11/CHANGELOG: another changelog update 20:42 < v-dogg> (a Finnish weirdo) 20:42 < impl> let's start 0.12 20:42 * impl waits for ultra slap 20:43 < v-dogg> ok. 20:43 < v-dogg> 0.12 should have html5 helper 20:43 < CIA-10> david * r2210 /branches/0.11/RELEASE_NOTES: first shot at 0.11.1 release notes 20:44 < impl> hell yes! and we should only support templating with smarty 20:44 < v-dogg> umm... and AjaxActions 20:44 < Wombert> the simple reason is that if you have 0.11.0, your app is not going to work with 1.0 20:44 < Wombert> but we promised that ;) 20:44 < impl> and we'll need to migrate our config to yaml 20:44 < v-dogg> oh, you fool 20:44 < v-dogg> why did you promise that! 20:44 < Wombert> yes 20:44 < Wombert> it might _seriously_ be a painful decision 20:45 < Wombert> because I think 20:45 < Wombert> but that is just a guess 20:45 < v-dogg> dat mean we cant break anything? :( 20:45 < jake> don't break anything 20:45 < Wombert> that we need a lot more interfaces for testing 20:45 < impl> Yeah pretty muc 20:45 < impl> h 20:45 < Wombert> we won't break anything, that's right 20:45 < Wombert> 2.0 will break stuff again 20:45 < v-dogg> yay! 20:45 < jake> fine, fine. Just don't break my production system :) 20:45 < impl> I think the last thing we broke was whatever we had to change for PHP6 20:45 * v-dogg prepares the axe 20:45 < Wombert> ofc, we'll phase out deprecated things with ample notice in advance 20:45 < impl> And that was really really minimal 20:45 < Wombert> yeah 20:48 -!- kaos|work [n=dominik@xdsl-87-79-55-164.netcologne.de] has joined #agavi --- Log closed Fri Dec 07 21:30:28 2007 --- Log opened Fri Dec 07 21:30:32 2007 21:30 -!- Chuckwalla [n=chuckwal@static.88-198-118-14.clients.your-server.de] has joined #agavi 21:30 -!- Irssi: #agavi: Total of 18 nicks [1 ops, 0 halfops, 0 voices, 17 normal] 21:30 -!- Irssi: Join to #agavi was synced in 3 secs 21:37 -!- eremit [n=eremit@p5B237ED4.dip.t-dialin.net] has joined #agavi 21:43 -!- jake [n=jake@cpe-66-61-162-140.indy.res.rr.com] has joined #agavi 22:04 < splatch`> oi! 22:14 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has quit ["ByeBye"] 23:13 -!- Wombert [n=Wombert@dslb-084-056-043-134.pools.arcor-ip.net] has quit [] 23:38 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi --- Day changed Sat Dec 08 2007 00:12 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["dead"] 00:30 -!- Wombert [n=Wombert@dslb-084-056-043-134.pools.arcor-ip.net] has joined #agavi 00:34 -!- JamieWolf [n=Chatter@dslb-088-068-223-060.pools.arcor-ip.net] has quit ["Time goes by so slowly"] 00:41 -!- Wombert [n=Wombert@dslb-084-056-043-134.pools.arcor-ip.net] has quit [] 01:01 -!- implement [n=impl@mizuho.rdu-0.ip6.cynigram.com] has joined #agavi 02:06 -!- kaos|work_ [n=dominik@xdsl-87-79-138-115.netcologne.de] has joined #agavi 02:12 -!- implement [n=impl@mizuho.rdu-0.ip6.cynigram.com] has quit [Read error: 104 (Connection reset by peer)] 02:18 -!- implement [n=impl@mizuho.rdu-0.ip6.cynigram.com] has joined #agavi 02:23 -!- implement [n=impl@mizuho.rdu-0.ip6.cynigram.com] has quit [Remote closed the connection] 02:23 -!- kaos|work [n=dominik@xdsl-87-79-55-164.netcologne.de] has quit [Read error: 110 (Connection timed out)] 02:31 -!- implement [n=impl@mizuho.rdu-0.ip6.cynigram.com] has joined #agavi 02:55 -!- eremit_ [n=eremit@p5B2367FD.dip.t-dialin.net] has joined #agavi 03:05 -!- eremit [n=eremit@p5B237ED4.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 03:06 < shoan> huomenta 05:21 -!- CelticSon [i=Celtic@port-212-202-0-131.dynamic.qsc.de] has quit [Read error: 104 (Connection reset by peer)] 05:21 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 05:36 -!- shoan_ [n=shoan@59.96.211.104] has joined #agavi 05:43 -!- shoan [n=shoan@59.92.129.174] has quit [Read error: 110 (Connection timed out)] 06:01 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit ["Leaving"] 06:01 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has joined #agavi 06:44 -!- kaos|work_ [n=dominik@xdsl-87-79-138-115.netcologne.de] has quit [] 06:46 -!- epaulin [n=epaulin@219.137.35.164] has joined #agavi 07:01 -!- shoan_ [n=shoan@59.96.211.104] has quit [] 08:09 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 08:10 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 08:24 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 09:01 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 09:01 < _cheerios> huomenta 09:09 < Arme[N]> huomenta 11:39 < shoan> anybody heard of dbdeploy? 11:47 -!- Wombert [n=Wombert@dslb-088-064-065-056.pools.arcor-ip.net] has joined #agavi 11:57 -!- Wombert_ [n=Wombert@dslb-084-056-040-187.pools.arcor-ip.net] has joined #agavi 12:04 -!- Wombert_ [n=Wombert@dslb-084-056-040-187.pools.arcor-ip.net] has quit [Read error: 104 (Connection reset by peer)] 12:12 -!- Wombert_ [n=Wombert@dslb-088-064-064-228.pools.arcor-ip.net] has joined #agavi 12:12 -!- Wombert [n=Wombert@dslb-088-064-065-056.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 12:28 -!- Wombert [n=Wombert@dslb-088-064-081-073.pools.arcor-ip.net] has joined #agavi 12:29 -!- Wombert_ [n=Wombert@dslb-088-064-064-228.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 12:41 -!- Wombert_ [n=Wombert@dslb-084-056-041-211.pools.arcor-ip.net] has joined #agavi 12:47 -!- shoan [n=shoan@122.166.1.168] has quit [] 12:48 -!- eremit_ is now known as eremit 12:48 < Wombert_> eremit! 12:48 < eremit> Wombert_! 12:48 -!- Wombert [n=Wombert@dslb-088-064-081-073.pools.arcor-ip.net] has quit [Nick collision from services.] 12:48 < eremit> heyja all 12:49 -!- Wombert_ is now known as Wombert 13:33 < Wombert> please remind me to punch jacob santos in the face, hard, should I ever meet him 13:33 < Wombert> http://www.santosj.name/php/if-i-was-on-php-internals-this-past-month/ 13:36 -!- eremit [n=eremit@p5B2367FD.dip.t-dialin.net] has quit [] 14:02 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 14:21 -!- trophaeum [n=trophaeu@ppp121-45-214-64.lns2.bne1.internode.on.net] has quit ["Leaving"] 14:25 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 15:04 -!- eremit [n=eremit@p5B2367FD.dip.t-dialin.net] has joined #agavi 15:30 -!- shoan [n=shoan@59.96.211.104] has joined #agavi 15:33 -!- kaos|work [n=dominik@xdsl-87-79-139-177.netcologne.de] has joined #agavi 16:08 < implement> Wombert: doesn't even know what subjunctives are, the fool! 16:24 < v-dogg> anyone tried Selenium IDE (FF add-on)? 16:25 < v-dogg> after a few minute test drive it seems very cool 16:25 < v-dogg> extremely easy to set up and write functional tests 16:36 < jake> I've used Selenium pretty extensively 16:37 < v-dogg> I just started and the IDE is definitely the way to get going fast :) 16:44 < jake> at some point you'll have to write some custom code but even that is pretty easy. XPather is an essential tool. 16:44 < v-dogg> is there a way to assertCookie using a regexp? 16:44 < v-dogg> e.g "MySessionId=\S+;AnotherCookie=value" 16:55 < splatch`> hello 17:14 -!- epaulin [n=epaulin@219.137.35.164] has quit ["Ex-Chat"] 17:43 < _cheerios> can exceptions be logged? 17:56 < shoan> _cheerios: do that in the exception template 17:56 < shoan> thats the advice I got when I asked the same question :) 18:01 < _cheerios> i have the normal agavi logging setup, but ive gotten exceptions at times, but no logs o_O 18:24 < _cheerios> a PDOException gave error, no logs. switched to text output to see what it was about. 18:32 < _cheerios> is there a way to define an array with the xml configs? 18:36 < _cheerios> added config-*.php for now 19:12 < v-dogg> there used to be ConfigToArrayConfigHandler (or something like that). check if it 19:12 < v-dogg> 's 19:12 < v-dogg> still there 19:13 < v-dogg> ( ' and enter are too close to one another) 19:14 < shoan> v-dogg: new keyboard? 19:16 < v-dogg> no :) 19:40 < _cheerios> my keyboard is so small, especially the ' is hard to type in.. 21:09 < Wombert> array? 21:17 < _cheerios> well, i used settings.xml for different environments. it works fine for simple (string) setting, but what's one to do when the configuration is an array? 21:27 < splatch`> wow, new agavi site rox! 21:28 < implement> link? 22:17 < v-dogg> who broke the internets 22:18 < v-dogg> phpunit.de or openqa.org working for anyone? 22:20 < implement> openqa.org loads for me 22:22 < v-dogg> ok. something wrong here then 22:22 < v-dogg> everything else loads but those two 22:23 < implement> :s 22:27 -!- shoan [n=shoan@59.96.211.104] has quit [] 22:28 -!- MikeSeth [n=omnomnom@unaffiliated/mikeseth] has joined #agavi 22:29 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit [Read error: 110 (Connection timed out)] 22:30 -!- jussiava [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 22:35 -!- kaos|work [n=dominik@xdsl-87-79-139-177.netcologne.de] has quit [] 23:30 < jussiava> gah 23:32 < CIA-10> david * r2211 /branches/0.11/ (CHANGELOG RELEASE_NOTES): Totally minor stuff 23:35 < jussiava> 5 years ago i had this same providers inet and they had dhcp problems, still do 23:35 -!- jussiava is now known as _cheerios 23:41 < _cheerios> any public nameservers to use? 23:42 < Wombert> maybe they have leaky tubes 23:42 < Wombert> opendns.org 23:42 < Wombert> but that doesn't help you if their dhcp is broken 23:43 < Wombert> (unless you have a static ip) 23:54 < splatch`> *(me).yawn 23:54 < splatch`> ;] 23:54 < splatch`> hello Wombert --- Day changed Sun Dec 09 2007 00:14 -!- splatch` is now known as zzz` 00:20 < Wombert> why is the world so full of retards 00:20 < Wombert> check this crap out 00:20 < Wombert> http://ajaxian.com/archives/making-sure-you-get-new-instances-in-javascript 00:20 < Wombert> I mean, what the fuck 00:22 < zzz`> Wombert: i don't got idea og usage *new* with JS functions 00:45 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["sleep"] 00:48 -!- Wombert [n=Wombert@dslb-084-056-041-211.pools.arcor-ip.net] has quit [] 01:48 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi 01:48 < nagaozen> XD 01:48 < nagaozen> finally ! 01:49 < nagaozen> my first agavi project XD 01:49 < nagaozen> ke ke ke 02:00 -!- epaulin_ [n=epaulin@219.137.169.206] has joined #agavi 02:08 < nagaozen> Hello? 02:08 < nagaozen> nodoby? 02:08 < nagaozen> what's the best way to remove an agavi project? remove the folder? 02:24 -!- epaulin_ is now known as epaulin 02:27 -!- shoan [n=shoan@59.96.211.104] has joined #agavi 02:44 < implement> nagaozen: Yeah 02:45 < implement> It's not bound to anything in any other way 02:55 -!- eremit_ [n=eremit@p5B236BB5.dip.t-dialin.net] has joined #agavi 02:57 -!- CelticSon [i=Celtic@port-212-202-201-189.dynamic.qsc.de] has joined #agavi 02:59 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit [Read error: 110 (Connection timed out)] 03:04 -!- eremit [n=eremit@p5B2367FD.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 03:20 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi 03:34 -!- CelticSon [i=Celtic@port-212-202-201-189.dynamic.qsc.de] has quit [" HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!"] 03:45 < nagaozen> Hello? 03:45 < implement> hullo 03:46 < nagaozen> Huomenta ?! 03:46 < nagaozen> XD 03:46 < nagaozen> do you know if there's a pdf manual? 03:46 < nagaozen> i would like to print it 03:46 < implement> mm... not generated to my knowledge, but the source is docbook. if there's a docbook -> pdf renderer you could do it easily 03:47 < implement> also the manual really isn't very, you know, complete ;x 03:47 < nagaozen> ;D 03:47 < nagaozen> i'm finally starting with agavi today 03:48 < nagaozen> i used pear way to install it 03:48 < nagaozen> made a project 03:48 < implement> Cool 03:48 < nagaozen> erased the png's, php, etc etc etc XD 03:48 < implement> :P 03:49 < nagaozen> i need to emphazis those warnings 03:49 < nagaozen> like: Agavi sets the permissions on yourproject/app/cache to "a+rwx", better known as "0777", which means the cache directory and all files in there will be read- and writeable by everyone. 03:49 < nagaozen> but i need a printable version 04:17 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit ["Leaving"] 04:19 -!- shoan [n=shoan@59.96.211.104] has quit [] 05:15 -!- MikeSeth [n=omnomnom@unaffiliated/mikeseth] has quit [Remote closed the connection] 05:34 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 07:00 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 07:12 -!- epaulin [n=epaulin@219.137.169.206] has quit ["Ex-Chat"] 07:13 -!- shoan_ [n=shoan@59.92.204.3] has joined #agavi 07:13 -!- epaulin [n=epaulin@219.137.169.206] has joined #agavi 08:29 -!- Wombert [n=Wombert@dslb-084-056-041-211.pools.arcor-ip.net] has joined #agavi 08:39 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 08:46 -!- MikeSeth [n=MikeSeth@62.90.159.110] has joined #agavi 08:49 < MikeSeth> sickening 08:50 < MikeSeth> i mean.. Huomenta 09:00 < Wombert> huomenta 09:01 < Wombert> what's sickening MikeSeth 09:09 < MikeSeth> Wombert: ISP problemos 09:30 -!- shoan_ [n=shoan@59.92.204.3] has quit [] 09:31 < Wombert> http://devzone.zend.com/article/2682-Using-a-Plugin-to-Integrate-Propel-with-Zend laaaaaawl 09:31 < Wombert> The event I'm looking for is the routeShutdown event. It means that the router has done parsing the request URL and has populated the Request object with the controller name and action name. At this point I can use this code $controllerName = $this->getRequest()->getControllerName(); to get the controller name. 09:31 < Wombert> so fail 09:32 < Wombert> but that's what you get when using a fucking bunch of loose parts :) hook into a routing event to integrate your orm 09:32 < Wombert> way to go zend "framework" 09:32 < MikeSeth> bhahahahaha 09:32 < MikeSeth> Wombert: I implore you to start a public blog 09:32 < Wombert> no 09:32 < Wombert> I must leave that to you guys 09:32 < Wombert> I'm obviously biased 09:32 < MikeSeth> but but but 09:32 < Wombert> also, I need to be friends with all those people 09:32 < MikeSeth> that's the whole point 09:32 < Wombert> :) 09:32 < MikeSeth> oh 09:33 < MikeSeth> so you want to throw us to the dogs eh? well, these are the kind of dogs I like to be thrown at 09:33 < Wombert> I don't think it would be good to bash other frameworks as a framework dev lead 09:33 < Wombert> nobody's gonna blame you 09:33 < MikeSeth> though in this case 09:33 < MikeSeth> it's more like dogs being thrown at me 09:33 < Wombert> whereas I would be bashed for this and 09:33 < Wombert> they'd be right to insist I am lame 09:33 < Wombert> :) 09:33 < Wombert> shower -> 09:33 < MikeSeth> shower++ 10:09 < MikeSeth> 10:03 Is validation in Cake1.2 even useable? Have I just wasted several hours porting to 1.2? 10:10 < MikeSeth> aidan has fallen to the evil side 10:10 < MikeSeth> and is paying for it right now 10:34 -!- shoan [n=shoan@59.92.204.3] has joined #agavi 10:50 -!- zzz` is now known as splatch` 10:53 -!- eremit_ is now known as eremit 11:01 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 11:03 -!- raidman [n=Arme[N]@91.184.77.38] has joined #agavi 12:09 -!- JanK_ [n=JanK_@muedsl-82-207-221-091.citykom.de] has joined #agavi 12:10 < Wombert> office -> 12:10 -!- Wombert [n=Wombert@dslb-084-056-041-211.pools.arcor-ip.net] has quit [] 12:32 -!- shoan [n=shoan@59.92.204.3] has quit [] 12:36 -!- Netsplit anthony.freenode.net <-> irc.freenode.net quits: Spica_, jake, JanK_, eremit, implement, marklar`, splatch`, @ChanServ, CIA-10, stachu, (+6 more, use /NETSPLIT to show all of them) 12:38 -!- Netsplit over, joins: @ChanServ, v-dogg, CIA-10, impl, implement, stachu, eremit, splatch`, JanK_, MikeSeth (+6 more) 12:39 -!- JanK_ [n=JanK_@muedsl-82-207-221-091.citykom.de] has quit [] 12:57 -!- shoan [n=shoan@59.92.204.3] has joined #agavi 13:00 -!- Wombert [n=Wombert@85.183.90.3] has joined #agavi 13:01 < Wombert> unf unf unf 13:02 < MikeSeth> fapfapfap 13:15 < splatch`> oi! :) 13:22 -!- Netsplit anthony.freenode.net <-> irc.freenode.net quits: Spica_, jake, implement, eremit, shoan, marklar`, CIA-10, splatch`, @ChanServ, stachu, (+7 more, use /NETSPLIT to show all of them) 13:24 -!- Netsplit over, joins: @ChanServ, Wombert, shoan, v-dogg, CIA-10, impl, implement, stachu, eremit, splatch` (+7 more) 13:54 -!- raidman [n=Arme[N]@91.184.77.38] has quit ["leaving"] 14:10 -!- implement [n=impl@mizuho.rdu-0.ip6.cynigram.com] has quit [Read error: 110 (Connection timed out)] 14:13 < Wombert> ohloh is so fucking annoying 14:31 -!- Wombert [n=Wombert@85.183.90.3] has quit ["bai"] 14:36 -!- juro [n=none@wbs-41-208-235-41.wbs.co.za] has joined #agavi 14:36 < juro> hi, I am new to agavi (coming from Symfony) and would like to know what orm tool agavi suggests? 14:45 < MikeSeth> hello and welcome 14:45 < MikeSeth> Agavi does not recommend any orm tool 14:45 < MikeSeth> People write applications with MDB2, Doctrine, Propel, PDO + stored PostgreSQL procedures, etc. 14:46 < MikeSeth> it depends on what library suits your application best 14:46 -!- shoan [n=shoan@59.92.204.3] has quit [] 14:46 < MikeSeth> Agavi doesn't have its own library like cake/symfony/trax/rails do 14:48 < juro> hmm, thanx MikeSeth (didn't help though, as I don't want to go orm hunting ....) 14:48 < MikeSeth> well, Agavi does things the right way, not the easy way 14:49 < MikeSeth> besides, not all kinds of tasks even require orm 14:50 < MikeSeth> juro: that being said, Agavi comes with a database connection manager and a bunch of adapters for various libraries 14:50 -!- Wombert [n=Wombert@85.183.90.3] has joined #agavi 14:51 < MikeSeth> you don't need to write code to integrate libraries 14:51 < Wombert> re 14:51 * MikeSeth pets Wombert 14:51 < Wombert> hai 14:51 < Wombert> on my way home 14:52 < Wombert> sunday + office = uncool 14:52 < Wombert> juro: we have adapters for propel and doctrine 14:52 < MikeSeth> and mdb2 and pdo and a bunch of other crap 14:52 < Wombert> dont use propel 1.2, it's outdated and much slower than 1.3 14:52 < MikeSeth> Wombert: stop whining, in the jewland it's a god damn work day 14:52 < Wombert> 1.3 is relatively stable but we're still changing some stuff 14:52 < Wombert> the same is however true for doctrine 14:53 < MikeSeth> well, doctrine doesn't really have versions 14:53 < Wombert> IMO (but I'm biased given that I am a propel dev lead) doctrine has a very bad release policy 14:53 < MikeSeth> s/a very bad/none whatsoever/ 14:53 < Wombert> they keep and keep and keep changing stuff randomly 14:53 < Wombert> which makes it hard to rely on it 14:53 < Wombert> may I ask, juro, why did you choose to move from symfony to agavi? 14:54 < Wombert> oh and welcome :) 14:54 < MikeSeth> juro: be assured, there is damn good reason we do it this way 14:55 < Wombert> I'm driving home now, but lets hear your story, juro, I'll read it later :) 14:55 < Wombert> bai -> 14:55 < MikeSeth> {{{ Wombert }}} 14:55 -!- Wombert [n=Wombert@85.183.90.3] has quit [Client Quit] 14:57 -!- shoan [n=shoan@59.92.204.3] has joined #agavi 15:07 -!- JanK_ [n=JanK_@muedsl-82-207-221-091.citykom.de] has joined #agavi 15:11 -!- epaulin [n=epaulin@219.137.169.206] has quit ["Ex-Chat"] 15:18 < MikeSeth> gah mysql is such a fail 15:18 * MikeSeth kills mysql in the face 15:31 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 15:31 < Xylakant> hi all 15:32 < Xylakant> can anyone answer a short question regarding the 'AgaviOroperatorValidator'? 15:32 < MikeSeth> mmm? 15:33 < Xylakant> well, it's more about the fpf 15:33 < Xylakant> if any of the fields you register with an orvalidator fails 15:33 < Xylakant> it gets marked as 'error' even if the whole operator succeeded 15:33 < Xylakant> which is sort of annyoing 15:34 -!- Wombert [n=Wombert@dslb-088-064-095-021.pools.arcor-ip.net] has joined #agavi 15:34 < Xylakant> hi 15:34 < MikeSeth> Xylakant: oh. I donno. I think that's the intended behaviour. 15:34 < Wombert> hai 15:35 < Xylakant> well, interesing enough, the failure gets listet in the 'incidents' but not in the errors 15:36 < Wombert> I think that's the way it's supposed to be 15:36 < Wombert> but then it shows up in the FPF errors right? 15:36 < Wombert> hmm 15:36 < Xylakant> that's whats my problem 15:36 < Wombert> okay, will look into that Xylakant 15:37 < Xylakant> thanks :) 15:37 < Xylakant> shall i create a ticket? 15:37 < Wombert> nah, let me have a look first 15:37 < Wombert> or, rather, discuss with dominik 15:37 < Xylakant> kk 15:38 < MikeSeth> o/~ I'll teach you all this in 8 easy steps 15:58 * MikeSeth pokes juro 15:58 < MikeSeth> sup 16:05 < Xylakant> right, cu all 16:05 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 16:37 -!- shoan [n=shoan@59.92.204.3] has quit [] 17:17 -!- JanK__ [n=JanK_@muedsl-82-207-222-102.citykom.de] has joined #agavi 17:26 -!- JanK_ [n=JanK_@muedsl-82-207-221-091.citykom.de] has quit [Read error: 110 (Connection timed out)] 18:00 < juro> Wombert/Mike, I haven't moved as such - only looking into Agavi. 18:01 < juro> I tend to develop my databases jit using a graphical interface, then synchronising the database and then let the orm recreate the models. 18:02 < juro> So I am looking for a similar work flow using Agavi. 18:05 < v-dogg> so you are using an orm tool of some sort already? 18:06 < juro> well, when I use Symfony, I use propel - but I don't really like that. 18:06 < v-dogg> propel, symfony or propel with symfony? 18:10 < Wombert> juro: you could have a look at doctrine 18:10 < juro> the question being? 18:11 < juro> Wombert, yes, it does agree far more with me than propel does, but the plugin for Symfony is scetchy at most (especially for my workflow) 18:12 < Wombert> well, in case of doctrine, you usually don't have the models built 18:12 < Wombert> you write them yourself 18:12 < Wombert> in the typical active record fashion 18:12 < juro> active record fashion? 18:12 < Wombert> uh 18:12 < Wombert> google active record ;) 18:12 < Wombert> or wikipedia 18:12 < Wombert> in agavi, you set up a doctrine connection in databases.xml, then just use that as normal 18:12 < Wombert> easy 18:13 < juro> a, ok. I didn;t know the technical term for it .... 18:14 < juro> hmm, but do I really want to write all accessors for every model? 18:16 < juro> Wombert, so you write all your model classes by hand? 18:16 < v-dogg> (are we talking about Model classes or ActiveRecord/DbAccess classes?) 18:17 < v-dogg> MikeSeth: I think we are going to need to reference your blog soon :) 18:18 < v-dogg> pizza! here now! 18:18 < v-dogg> off -> 18:19 < juro> active record is when a table is wrapped into a class (where a row of that table is an instance of the class), so that is the model class you use, right? 18:21 < Wombert> I use propel 18:21 < Wombert> I think doctrine now also has a way of generating classes from a database or something 18:21 < juro> and you don't have any reservations against it (like not being actively developed) 18:22 < Wombert> it's obviously easier in case of propel since the schema is described in this xml format 18:22 < Wombert> which, propel or doctrine? 18:22 < juro> propel 18:22 < Wombert> both have their strengths and weaknesses 18:23 < Wombert> propel is much more stable and has a much clearer timeline, development agenda etc 18:23 < Wombert> it's also more consistent 18:23 < Wombert> doctrine surely is more powerful and often more convenient, but they change internals, apis, behavior every other day 18:23 < v-dogg> juro: I don't mean to be a smart-ass here but activerecords aren't really "models" as in _M_VC (http://blog.mikeseth.com/index.php?/archives/4-ActiveRecord-sucks,-but-Kore-Nordmann-is-wrong.html) 18:24 < juro> v-dogg, I didn't know what, but I knew it was coming ;) 18:24 < Wombert> yes 18:24 < juro> Wombert, so propel is being actively developed? 18:24 < Wombert> yes 18:24 < Wombert> why would you think it isn't :) 18:25 < v-dogg> (many others do, too) 18:25 < Wombert> http://propel.phpdb.org/trac/timeline 18:25 < Wombert> v-dogg: there's a point in that. my anal pedantic self believes that a model should wrap orm calls 18:25 < Wombert> in reality tho, I'm too lazy ;) 18:26 < v-dogg> hehe 18:27 < juro> Wombert, there was a comparission between doctrine and propel on the symfony website stating that 18:27 < v-dogg> "you can have your business objects and your model intact, as long as you perceive the model for what it is, and not for what Rails told you" :D 18:29 < v-dogg> juro: stating that propel isn't actively developed? where? 18:29 < juro> ****searching**** 18:30 < v-dogg> it should probably say " the hacked version of propel 1.2 we (symfony) still make our users use isn't actively developed" 18:31 < juro> no, sorry, my mistake 18:31 < juro> "The version shipped with symfony is based on Creole (which isn't actively developed)" 18:31 < Wombert> creole is not actively developed 18:31 < Wombert> which is actually not true since someone took over 18:32 < Wombert> it just became relatively obsolete with the appearance of PDO 18:32 < Wombert> propel 1.2 uses creole 18:32 < Wombert> symfony use propel, without properly presenting the fact that it is a third-party project, I have to add 18:32 < Wombert> and they have not been able to move to propel 1.3 18:32 < Wombert> partly due to their tight integration and reliance upon it 18:32 < Wombert> (also see MikeSeth's blog post ;)) 18:33 < juro> reading that at the moment 18:33 < Wombert> it's a very valid point 18:34 < juro> true, that makes sense. 18:34 < Wombert> IMO, all the frameworks that ship with tight integration for any ORM or even build their own (like the appalling Akelos nonsense, or CakePHP, or whatever) get it completely wrong 18:34 < Wombert> it just creates dependencies 18:34 < Wombert> and it forces users to do things a certain way when it comes to the implementational details 18:34 < Wombert> users should have choice 18:35 < Wombert> sure, with agavi, you always have to put certain things here and other things here, and it has a certain application flow and behaviors etc you need to understand and use, but when it comes down to the actual code you write... it doesn't tell you what to do 18:35 < Wombert> other frameworks ship with cool emailer "plugins"... you either use those, or pretty much get told to go fuck yourself if you don't like them 18:36 < Wombert> a framework should only solve the annoying, repeated problems 18:36 < Wombert> the parts of an application you'd otherwise need to reinvent every time you create a new one 18:36 < Wombert> otherwise, it's just bloat 18:38 < juro> yes, I had that feeling often when using Symfony. Not a lot of plugins worked 100% for me, adapting was a nightmare and I never understood the hype about the admin-generator 18:38 < Wombert> this really sounds like you'll feel right at home here ;) 18:38 < juro> hehe. 18:38 < Wombert> no, seriously 18:38 < Wombert> that's exactly the things we don't do :) 18:38 < Wombert> for the same reasons 18:39 < impl> lawl, admin generators 18:39 < Wombert> I like them actually 18:39 < Wombert> I just don't think a framework should ship them 18:39 < juro> You can't sell an admin generator, that doesn't do Ajax at all .... 18:41 < impl> Wombert: what should? the ORM? 18:41 < impl> I mean, they're tied to the framework's logic and the ORM's models 18:43 < juro> Wombert, so it is advisable to use propel (with pdo) when using Agavi or is there a document, that could make my decision easier? 18:44 < Wombert> well I believe there are other options, too 18:44 < impl> Propel is nice if you've got a lot of models to manage and you're doing a lot of non-mathematical things (like storing user data, etc) 18:44 < impl> but you can always use straight PDO 18:44 < Wombert> agavi doesn't really restrict you in that way 18:44 < impl> there's also Doctrine, which I've never used but it's supposedly decent 18:45 < Wombert> writing your own database adapter for a product is a matter of five minutes work, 10 to 20 lines of code, and not even that is really needed (although recommended) 18:45 < juro> Wombert, I know - unfortunately the website (??) doesn't point you in a direction to ease the decision process. 18:45 < Wombert> of course, you could also ask one of us to do it, or for help, and contribute it back if you like 18:45 < Wombert> you mean the agavi site? 18:45 < juro> yes 18:45 < Wombert> hehe :) 18:45 < impl> 'what site?' 18:45 * impl runs 18:46 < Wombert> don't be scared by that, juro 18:46 < juro> is anyone in charge of that? I mean the design side of the site? 18:46 < Wombert> it's on the agenda 18:46 < impl> juro: it's a long story :P 18:46 < Wombert> yeah, we're taking care of it, there's gonna be a site soon 18:46 < Wombert> development and customer work just has eaten a lot of our time recently 18:46 < Wombert> I don't think we would ever recommend either, anyway 18:47 < juro> oh, not scared at all - just fed up with having to go through a long decision process with everything: JavaScript framework, PHP framework, Java framework, orm, ide ..... 18:47 < Wombert> we'll be very happy to help with the framework thing ;) 18:47 < Wombert> if you don't mind, I'll have dinner real quick, I'm starving 18:47 < Wombert> I'll be back in ten, don't run, we'll sort your orm question 18:47 < juro> well .... ok 18:48 < impl> So what's the nature of your project? 18:48 < juro> it is a quoting system for freelance photographers, who are based in South Africa 18:49 < impl> So your clients are the photographers themselves? 18:49 < juro> oh, sorry. quoting/invoicing system 18:49 < juro> not clients, my girlfriend is and she needs it. ( www.mb-photography.com btw) 18:50 < impl> ah 18:51 < impl> So you're definitely looking at an ORM or would something simpler suffice? 18:52 < juro> well, I am just trying out Agavi to see whether I'll use it for future projects, therefore I want the combination to recreate my workflow as close as possible 18:53 < impl> hmm, the problem is that the workflow can change quite easily depending on the nature of the project :P 18:53 < impl> For something moderately simple like this, you might be fine using PDO with its prepared statements 18:54 < juro> normally my workflow doesn't change. I like the concept of extreme programming, so I create my database structure just in time. 18:54 < impl> Are you familiar with how Propel works? 18:54 < juro> yes, I have used it extensively in a Symfony project. 18:55 * impl looks through scrollback 18:55 < impl> ah, okay. So does that method appeal to you? 18:55 < impl> I mean, a lot of it is a matter of choice 18:55 < juro> well, I didn't really enjoy it and found doctrine to be far more sql-like 18:56 < impl> I think Agavi's has a Doctrine adapter built-in now, so you could certainly use that 18:56 < impl> s/'s// 18:57 < impl> Yup, sure does 18:59 < impl> I'm not sure what Wombert's opinion on the matter is, but personally I'd say just give whatever you like a try 18:59 < impl> Writing an adapter for Agavi if one doesn't exist is a piece of cake 19:06 < Wombert> re 19:07 < Wombert> yeah I really think you should just have a look at doctrine and then decide for yourself 19:07 < Wombert> it's often a matter of taste 19:07 < Wombert> also, it's likely gonna make you much happier of you make that decision on your own ;) 19:07 < Wombert> if you have questions regarding either, feel free to ask 19:11 < juro> ok, thanx 19:13 < juro> Wombert, impl was stating that there is a doctrine adapter for Agavi. Is this true? 19:14 < Wombert> yes, sure 19:14 < Wombert> all the adapters really do in agavi is set up the connection for you and allow the typical configuration stuff for each implementation 19:15 < impl> http://trac.agavi.org/browser/branches/0.11/src/database/AgaviDoctrineDatabase.class.php 19:15 < impl> ;p 19:16 < juro> I think I am going to ue pdo for the first version 19:18 < juro> the nice thing about Symfony is that there is a really neat how-to for that Askeet web-app. It helps to really get to know the framework - definitely missing here. 19:18 < impl> Yeah, we know :P http://trac.agavi.org/ticket/30 19:19 < impl> it's high on our agenda, but again... we've all been really busy with stuff 19:19 < impl> We do however have a complete sample application you can look at 19:20 < juro> :) 19:20 < juro> and where? 19:20 < impl> You can grab it from svn, and look at it online at http://trac.agavi.org/browser/branches/0.11/samples 19:20 < Wombert> it's also bundled with a pear install 19:21 < impl> ah okay, I wasn't sure about that 19:21 < Wombert> or the zip releases of 0.11.0 19:21 < Wombert> so no need to use svn, unless you want to 19:21 < juro> so how do I access it when using the pear install (Ubuntu server) 19:22 < Wombert> sudo pear install ... blah 19:22 < Wombert> done that yet? 19:22 < Wombert> the agavi sample app is installed into the docs dir or the data dir of your pear install 19:22 < Wombert> not sure which 19:22 < Wombert> data I think 19:22 < juro> yup, done that and created my first app as well .... 19:22 < Wombert> typicalls sth like /usr/local/php/pear/data or such 19:23 < juro> what ide do you use? 19:23 < Wombert> alternatively, you could check it out from svn or grab it from the zip/tgz release, if you can't be bothered to find it in your file system 19:23 < Wombert> www.macromates.com 19:23 * impl eats Wombert's Mac 19:23 < Wombert> actually, the sample app in svn has a small change that shows how to efficiently display form error messages 19:23 < Wombert> you'll like that 19:23 < Wombert> :) 19:24 < Wombert> svn export http://svn.agavi.org/branches/0.11/samples agavi-sample 19:24 < Wombert> all you need 19:24 < Wombert> makes a folder "agavi-sample" with the app 19:24 < impl> omg they released a new timezone database again? 19:24 < Wombert> impl: haha yes 19:24 < Wombert> didn't you hear 19:24 < Wombert> hugo chavez 19:24 < Wombert> the lunatic fool of a president of venzuela 19:25 < Wombert> moved his country to a new timezone 19:25 < impl> rofl 19:25 < impl> What a nut 19:25 < Wombert> because he did not want it to share a time zone with the united states 19:25 < Wombert> :>>> 19:25 < Wombert> they're not 4:30 behind UTC 19:25 < Wombert> *now 19:25 < v-dogg> and before? 19:25 < Wombert> 5 19:25 < v-dogg> haha 19:25 < impl> now they have to share it with Nova Scotia 19:25 < Wombert> LOLZ 19:25 < Wombert> :> 19:26 < Wombert> really, are they half an hour behind? 19:26 < Wombert> those are the weirdest time zones 19:26 < Wombert> shoan lives in such a one too 19:26 < impl> I'm pretty sure 19:26 < Wombert> and some of the weird aussies 19:26 < impl> oh no, they're just UTC-4 19:26 < Wombert> nah they're 19:26 < Wombert> yes 19:26 * Wombert was too slow 19:27 < Wombert> I just know of one or two australian timezones and india 19:27 < impl> it was Newfoundland I was thinking of, which is UTC-3.5 19:27 < Wombert> newfoundland 19:27 < Wombert> right 19:28 < impl> I'm surprised people even live there :x 19:31 < Wombert> iran, afghanistan, india 19:33 < Wombert> haha @ the aussies 19:33 < Wombert> http://en.wikipedia.org/wiki/UTC%2B8:45 19:34 < Wombert> juro: did you have a look at the docs a bit 19:34 < impl> haha 19:34 < Wombert> to learn about environments and contexts, for instance 19:34 < juro> at the Agavi docs? 19:34 < Wombert> and the philosophy behind it 19:34 < juro> yes 19:34 < Wombert> yah 19:34 < impl> lol@Liberia being UTC-0:43:08 19:34 < Wombert> for instance, the sample app has a web interface, and one action (the others don't make sense there) is also exposed via xmlrpc and soap web services 19:35 < Wombert> impl: heh ;) it was 19:35 < Wombert> juro: check out the sample app 19:35 < Wombert> try to login 19:35 < Wombert> enter stuff, check the checkbox 19:35 < Wombert> note how it fills in the values for you 19:35 < Wombert> how the fields are highlighted 19:35 < Wombert> and how the error messages are inserted 19:35 < impl> We established Libera, so we were probably intentionally doing it to confuse them 19:35 < impl> Liberia* 19:36 < Wombert> then look at app/modules/Default/templates/LoginInput.php :) 19:37 < juro> not so fast, there is something wrong with my dev server ;) 19:37 < Wombert> really? 19:37 < Wombert> what's the issue 19:38 < juro> Apache2 isn't running ;) 19:40 < juro> ah, problem with pdo .... undefined symbol or something 19:40 < impl> :s sounds like you have a version mismatch 19:40 < juro> yup. probably 19:53 < jake> wombert you around? 19:54 < Wombert> hi jake 19:54 < Wombert> query :> 20:02 < jake> my pvt messages weren't going through, stupid non-registered nick 20:07 < juro> hmm, something isn't working with the agavi-sample 20:07 < Wombert> juro: what 20:07 < Wombert> :) 20:07 < juro> I should browse to the pub folder, right? 20:07 < Wombert> and call index.php, yup 20:08 < Wombert> what is the problem? 20:08 < juro> Warning: require(../../src/agavi.php) [function.require]: failed to open stream: No such file or directory in /var/www/agavi-sample/pub/index.php on line 8 20:08 < Wombert> oh 20:08 < Wombert> sorry 20:08 < Wombert> of course, the sample app assumes that it runs in the agavi folder structure 20:08 < Wombert> adjust the require statement 20:08 < Wombert> as you installed via pear... pear is on your include path 20:09 < Wombert> so agavi/agavi.php should work 20:09 < Wombert> or the full path to your agavi.php, if you prefer (or if your pear folder is not on your include path, but it should be) 20:10 < juro> This is an internal Agavi exception. Please consult the documentation for assistance with solving this issue. 20:10 < juro> ah, yes - should be writeable .... 20:15 < Wombert> works now? :) 20:15 < juro> yes. ah, I see. the agavi basics are short and sweet :D 20:15 < Wombert> "agavi project" chmods that dir for you, that's why you didn't see the error before 20:15 < Wombert> try the login stuff 20:15 < Wombert> did you grab the sample app from svn? 20:16 < juro> yes, from svn 20:16 < Wombert> great, because I adjusted that to have error messages inserted automatically (in the 0.11.0 release, that is still done "by hand" above the form, forgot to change it) 20:18 < juro> ok, so now I have created a little project. where do I go from here? 20:25 < Wombert> do some basic setup 20:25 < Wombert> rename ProjectBaseAction and -View 20:25 < Wombert> in app/lib 20:25 < Wombert> check out sample app's layouts (output_types.xml) and routing.xml 20:25 < juro> y do I have to rename those? 20:25 < Wombert> disregard the "xhtml" one, that's just for demo purposes 20:26 < Wombert> well you don't have to :) 20:26 < Wombert> MyproductBaseAction, dunno 20:26 < Wombert> I also have separate base actions and views per module 20:26 < Wombert> in modules/.../lib/action or /view respectively 20:26 < Wombert> those are usually not necessary, but you never know 20:29 < juro> can I create a new model that is not assigned to a module specifically? 20:30 < Wombert> yep 20:30 < Wombert> but not with the command line tool, unfortunately 20:30 < Wombert> (I think we really need to fix that ;)) 20:30 < juro> ah, ok 20:30 < Wombert> put it in app/models 20:31 < Wombert> call it... ProductsModel.class.php 20:31 < Wombert> ProductsModel extends AgaviModel 20:31 < Wombert> for instance 20:31 < Wombert> then 20:31 < Wombert> $context->getModel('Products'); 20:31 < Wombert> if you are interested 20:32 < Wombert> I'll add support for doctrine records acting as models soon 20:32 < juro> no need at the moment, as you see, I am only starting out .... 20:32 < Wombert> :) 20:48 -!- jordansjones [n=jordansj@13.241.sfcn.org] has joined #agavi 20:53 -!- jordansjones [n=jordansj@13.241.sfcn.org] has quit [Client Quit] 21:23 -!- LBO [i=LBO@dkv128.neoplus.adsl.tpnet.pl] has joined #agavi 21:24 -!- almighty [i=LBO@dkg32.neoplus.adsl.tpnet.pl] has joined #agavi 21:29 < JanK__> i've got a XML Schema validation in the config file "agavi/config/defaults/config_handlers.xml" but only on the shared online server 21:29 < JanK__> page with the error: agavi/config/defaults/config_handlers.xml 21:29 < JanK__> oops, thats tha page http://kino.inmysuitcase.com/ 21:30 < JanK__> and heres a phpinfo(); http://kino.inmysuitcase.com/info.php 21:32 < impl> hmmh? can you pastebin your config_handlers.xml? 21:34 < JanK__> it refers to agavi`s config_handlers.xml, http://pastie.textmate.org/private/ktbzadt6imnpfreh6sig 21:34 < impl> oh, odd 21:36 < impl> Is that the latest SVN? 21:37 < JanK__> impl: it is the one from http://svn.agavi.org/branches/0.11/ 21:38 * impl svn up's 21:42 < Wombert> JanK__: that's a problem with the server 21:42 < Wombert> the libxml version is too old 21:42 < Wombert> it produces that error 21:42 < Wombert> the best workaround is to add a line to index.php 21:42 < Wombert> because you have to change that for each server anyway 21:42 -!- LBO [i=LBO@dkv128.neoplus.adsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)] 21:43 < Wombert> (you do that, right? index.php-dist, copy, and boostrap "production" there?) 21:43 < impl> Wombert: I thought that was only a problem in PHP <= 5.1.6 21:43 < Wombert> AgaviConfig::set('core.skip_config_validation', true); after the config.php load 21:43 < Wombert> no impl, it's libxml specific 21:43 * impl will remember that from now on 21:45 < JanK__> Wombert: the libxml version is the same in the phpinfo(), only "libxslt compiled against libxml Version" is different 21:45 < Wombert> 2.6.16 has that problem 21:45 < JanK__> (newer on local machine) 21:45 < Wombert> is that a php package from entropy.ch? 21:45 < JanK__> Wombert: yeah 21:45 < Wombert> that has a newer libxml version, but wrong version info (from os x's own header file) 21:46 < Wombert> so, just change index.php and add that line and you're good to go :) 21:46 < JanK__> ok, thanks 21:46 < Wombert> let me know if you still have trouble after that 21:47 < Wombert> impl: I thought it was version specific 21:48 < Wombert> but it really is libxml specific 21:48 < Wombert> the reason I thought that was that the issue disappeared when I upgraded PHP 21:48 < Wombert> and my phpinfo() reported the same libxml version 21:49 < JanK__> Wombert: that fixed the problem, seems to work in my changed folder structure now, (getting an sql error, since the database is not configured) 21:49 < Wombert> it still was odd, because other people with same php and libxml versions did have the problem, but I just filed that under "odd stuff" and ignored it ;) 21:49 < Wombert> cool JanK__ 21:49 < impl> ah 21:50 < Wombert> turned out however that my php package just had the wrong libxml version info (as noted above, it erroneously used os x's headers for version info during compilation) 22:01 -!- JanK__ is now known as JanK_ 22:07 -!- almighty [i=LBO@dkg32.neoplus.adsl.tpnet.pl] has quit [] 22:10 -!- MikeSeth_ [n=omnomnom@line21-134.adsl.actcom.net.il] has joined #agavi 22:10 < MikeSeth_> om nom nom 22:10 < MikeSeth_> Wombert: email plz 22:10 < Wombert> the one I used to write you 22:10 < Wombert> :) 22:11 < MikeSeth_> zomg you wrote me a mail? 22:11 < MikeSeth_> gah i dont have my non-work accounts at work 22:11 < MikeSeth_> nvm 22:13 < MikeSeth_> mmp 22:13 < MikeSeth_> now I have to think 22:14 < Wombert> I forwarded you ross' mail 22:25 < MikeSeth_> yes 22:25 < MikeSeth_> sent you my notes 22:26 < MikeSeth_> now this fucking day is finally over and i can go to bed and enjoy teh dreamz 22:26 < MikeSeth_> <3 22:28 < Wombert> cool 22:28 < Wombert> thanks 22:28 < Wombert> :) 22:34 -!- JanK_ [n=JanK_@muedsl-82-207-222-102.citykom.de] has quit [] 22:55 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 22:55 < Whisller> hi :) --- Day changed Mon Dec 10 2007 00:36 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has joined #agavi 00:54 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit [Read error: 110 (Connection timed out)] 01:41 -!- epaulin [n=epaulin@219.137.169.206] has joined #agavi 01:47 -!- shoan [n=shoan@59.92.204.3] has joined #agavi 01:56 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has quit ["Good night"] 01:59 -!- epaulin_ [n=epaulin@219.137.221.33] has joined #agavi 01:59 -!- epaulin [n=epaulin@219.137.169.206] has quit [Read error: 104 (Connection reset by peer)] 02:14 -!- Wombert [n=Wombert@dslb-088-064-095-021.pools.arcor-ip.net] has quit ["bai"] 02:28 -!- epaulin_ is now known as epaulin 02:56 -!- eremit_ [n=eremit@p5B236D2A.dip.t-dialin.net] has joined #agavi 03:04 -!- eremit [n=eremit@p5B236BB5.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 03:28 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi 03:29 < nagaozen> Hello ! 03:29 < nagaozen> HUOMENTA 03:47 < nagaozen> why agavi site is off? 03:59 < shoan> nagaozen: works fine for me 04:00 < nagaozen> hm 04:00 < impl> Hmm... it does appear to be down for me 04:00 < impl> wonder what's up 04:00 < nagaozen> i was wondering, why Agavi isn't BSD or MIT 04:00 < nagaozen> ? 04:00 < impl> nagaozen: It's inherited the LGPL from Mojavi's code 04:01 < nagaozen> how could Symphony be BSD? 04:01 < impl> hmmh? 04:01 < impl> Oh 04:01 < nagaozen> it uses Mojavi's ideas too doesn't? 04:01 < shoan> do a traceroute 04:01 < impl> The probably got permission from feti (the guy who wrote Mojavi) to change the license 04:01 < impl> We don't have that 04:02 < impl> They* 04:05 < nagaozen> hm 04:05 < nagaozen> no way to Agavi get it? 04:05 < nagaozen> shoan: http://pastie.caboo.se/126394 04:05 < impl> We may ask in the future 04:05 < nagaozen> the tracert 04:05 < impl> o_OO 04:05 < impl> that's pretty broken 04:06 < nagaozen> man, i really need agavi to be MIT or BSD 04:06 < nagaozen> no way to be enterprise ready with LGPL 8( 04:06 < impl> I can talk to Wombert and feti tomorrow and see what I can do 04:06 < nagaozen> nice, it would be nice to work with Agavi XD 04:07 < impl> My traceroute is dying at the same tiscali router too 04:07 < nagaozen> how can i get involved with agavi? 04:07 < impl> er, a parallel one rather 04:07 < nagaozen> i can do translations, code somethings 04:07 < impl> nagaozen: ping Wombert when he's around, and he'll hook you up 04:11 < nagaozen> agavi >> zend ? 04:11 < nagaozen> right? 04:11 < impl> They're a lot different 04:11 < nagaozen> how? 04:12 < impl> Zend is more like a class library that you can use as a framework (my understanding anyway) 04:12 < nagaozen> hum... that's why ppl used to say that its a lot flexible? 04:12 < impl> Probably 04:16 < nagaozen> dammit, yesterday i started a project with agavi but it cannot be GPL oO 04:16 < impl> LGPL does not mean the resulting project has to be open-source 04:17 < impl> nor GPL 04:17 < nagaozen> no? 04:17 < nagaozen> ru sure? 04:17 < impl> pretty sure, yeah, considering where Agavi is deployed ;) 04:23 < nagaozen> well, GPL cannot be used in a proprietary software... 04:23 < impl> This is LGPL though, they differ 04:24 < nagaozen> you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. 04:24 < nagaozen> yes 04:24 < nagaozen> LGPL is more permissive 05:08 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit ["Leaving"] 05:10 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi 05:49 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit ["Leaving"] 06:07 -!- shoan [n=shoan@59.92.204.3] has quit [] 07:04 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 07:06 -!- shoan [n=shoan@122.166.1.168] has quit [Read error: 104 (Connection reset by peer)] 07:06 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 07:08 < v-dogg> agavi.org down? 07:09 < v-dogg> 06:06 < nagaozen> no way to be enterprise ready with LGPL 8( 07:09 < v-dogg> woot? oh come on! 07:10 < v-dogg> LGPL != GPL --- Log closed Mon Dec 10 07:20:26 2007 --- Log opened Mon Dec 10 07:20:38 2007 07:20 -!- Chuckwalla [n=chuckwal@88.198.118.14] has joined #agavi 07:20 -!- Irssi: #agavi: Total of 19 nicks [1 ops, 0 halfops, 0 voices, 18 normal] 07:20 -!- Irssi: Join to #agavi was synced in 3 secs 07:26 -!- MikeSeth_ [n=omnomnom@line21-134.adsl.actcom.net.il] has quit ["leaving"] 07:47 -!- raidman [n=Arme[N]@91.184.77.38] has joined #agavi 07:48 -!- danielancuta [n=danielan@80.72.37.90] has joined #agavi 07:49 < danielancuta> czesc 07:49 -!- danielancuta is now known as Whisller 07:49 < Whisller> hi :) 08:06 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has quit [No route to host] 08:08 -!- raidman [n=Arme[N]@91.184.77.38] has quit ["leaving"] 08:08 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 08:14 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has joined #agavi 08:17 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 08:19 < RossC0> Huomenta 08:19 < v-dogg> huomenta RossC0 08:27 < shoan> Huomenta 08:36 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 08:46 < MikeSeth> huomenta! 08:47 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi 08:53 < RossC0> MikeSeth: liking the imap quote 08:54 < MikeSeth> :D 09:16 -!- E_mE [n=E_mE@89.104.225.116] has joined #agavi 09:17 < E_mE> huomenta! 09:17 < MikeSeth> huomenta 09:18 < E_mE> you want to see some REALLY big waves from the storms over the weekend MikeSeth? 09:19 < E_mE> some pure cornish weather ;) 09:19 < MikeSeth> you had storms? 09:19 < MikeSeth> we had jack shit :< 09:19 < E_mE> yeah.. 09:19 < MikeSeth> E_mE: you should get a tumblr and post pics :D 09:19 < E_mE> well, they where only 50-60MPH winds 09:19 < E_mE> but big sea swell 09:22 < MikeSeth> I had a storm in the town I was born once. It tore out the piers in the port and threw them at the houses along the shoreline 09:22 -!- _cheerios [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 09:22 < _cheerios> huomenta 09:23 < E_mE> and your parents said "Neptune was born" =P 09:23 < E_mE> hi hi _cheerios 09:24 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit [Remote closed the connection] 09:25 < MikeSeth> dunno, it was freaky 09:25 < MikeSeth> I woke up and there's no power, no gas and no water 09:25 < MikeSeth> and not a single person anywhere - not in the house, not outside, not on the streets 09:25 < MikeSeth> and there was also the quiet 09:26 < MikeSeth> I thought the world ended or somesuch 09:31 < E_mE> yeah i could imagine that 09:33 < E_mE> we once had a storm in the UK where the weather forecaster said "we've had a call from a women this evening say a storm is on the way... Well there is no storm this evening so you don't need to worry".. 09:33 < E_mE> then over night a huricane hit the UK 09:33 < E_mE> very famous quote hheh 09:34 < E_mE> here is two of the most impressive pictures from yesterday in a sea side town called Porthleven http://eme.tumblr.com/ 09:35 * MikeSeth smacks E_mE 09:35 < MikeSeth> wtf "Untitled" 09:35 < MikeSeth> go set it up that it's not ugly :D 09:35 < E_mE> hoho... first time ive used mofo 09:36 < MikeSeth> wow, those must be some cold storms 09:37 < E_mE> its the biggest waves ive seen in porthleven before 09:37 < MikeSeth> btw http://facepalm.tumblr.com/post/21210533 09:37 < MikeSeth> :D 09:38 < E_mE> :D 09:40 < E_mE> im just addin more pictures now 09:41 < RossC0> E_mE: nice 09:41 < RossC0> you went fishing in that?! 09:42 < E_mE> nah, i decided it to be abit to winder for it ;D 09:42 < E_mE> windy* 09:42 < E_mE> but hopfully weekend coming 09:46 < E_mE> more pictures still coming :) 09:51 < MikeSeth> Man 09:51 < MikeSeth> Alanis Morisette - 8 Easy Steps 09:51 < MikeSeth> <3 song 09:51 < _cheerios> anyone done C lately? what do I need setup to debug a c proggie in linux? 09:52 < MikeSeth> not me, but I imagine gdb + frontend, and debug binaries + symbol tables 09:53 < E_mE> how do i setup the title for my dashboard on timblr? 09:54 < E_mE> tumblr* 09:54 < _cheerios> lighttpd fails when it gets a Expect: header :/ i wanted to see if i can patch around it 09:54 < _cheerios> need to route flash uploads to apache:81 for now 10:03 < MikeSeth> E_mE: in the themes 10:03 < MikeSeth> _cheerios: huh? fails? why? strange 10:04 < _cheerios> sometimes Expect: 100-continue headers are sent, and lighttpd returns 417 when it gets one, which is not good 10:06 < E_mE> thanx MikeSeth 10:07 < _cheerios> ive moved pretty much everything i have to ligttpd now. alls good, except this file upload quirk and the inability to run subversion 10:08 < MikeSeth> lighty is awesome 10:13 < _cheerios> i don't like it. cpu loads went down, so it seems like im not running anything on the servers. 10:23 < MikeSeth> haha 10:23 < MikeSeth> run some 'perpetual' load tests 10:24 < MikeSeth> 10:15 wondering how you guys would approach this problem: i have model user wich can add friends 10:24 < MikeSeth> 10:15 basically user and friend is the same table, as a friend is a user 10:24 < MikeSeth> 10:15 so i was thinking about a self joining table 10:24 < MikeSeth> 10:15 -!- Gnuget [n=gnuget@unaffiliated/gnuget] has quit ["Saliendo"] 10:24 < MikeSeth> 10:15 but it should be a hasansbelongstomany 10:24 < MikeSeth> 10:16 one user can have many friends and a friend can belong to many users 10:24 < MikeSeth> 10:16 how would you do this in cake? 10:24 < MikeSeth> caek fails again 10:34 < E_mE> heheeh.. he needs a lookup table 10:34 < E_mE> and tahts a SQL question 10:49 -!- eremit_ is now known as eremit 10:54 < MikeSeth> 10:44 in my classifieds table I have one field named contacts_id ... where the value should be something like 34,675,224,8722 10:54 < MikeSeth> caek.. it never ceases to amuse 10:59 < shoan> MikeSeth: you should probably do some agavi evangelizing in those channels :) 11:01 < MikeSeth> shoan: I don't believe the human materials that float there deserve the light ;> 11:01 < shoan> lol 11:05 < _cheerios> dude, don't bring people from #php here, ty 11:05 -!- Wombert [n=Wombert@dslb-088-064-095-021.pools.arcor-ip.net] has joined #agavi 11:06 < MikeSeth> _cheerios: I don't, normally, until there are clear signs of intelligent life 11:06 < MikeSeth> hay Wombert 11:06 < MikeSeth> my notes any help? 11:06 < E_mE> _cheerios: is scared of the cross bloods =P 11:09 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 11:09 -!- juro [n=none@wbs-41-208-235-41.wbs.co.za] has quit [] 11:10 < MikeSeth> um 11:10 < MikeSeth> juro is a symfony escapee.. wonder if I offended him :| 11:16 < Wombert> haha that is awesome 11:16 < Wombert> (the imap stuff) 11:16 < Wombert> nagaozen: what's the problem with LGPL? 11:17 < nagaozen> hi Wombert 11:17 < nagaozen> may i use Agavi in a commercial, non-open-source project using LGPL? 11:18 < Wombert> yes 11:18 < Wombert> of course 11:18 < Wombert> that's the whole point of the LGPL 11:18 < Wombert> just if you modify the agavi source code, you MUST share these modifications 11:19 < nagaozen> i know its feasible with MIT and BSD but i was reading LGPL and it look like my software needs to be GPL 11:19 < Wombert> no 11:19 < nagaozen> Wombert, how to get involved with Agavi? 11:19 < Wombert> agavi, in a php application, is a "dynamically linked" library in terms of the LGPL 11:20 < nagaozen> i'm starting yet and i can make documentations 11:20 < Wombert> in reality, you never need to change the agavi sourcecode itself, because you can simply extend something or replace it with your own class or whatever, without having to touch agavi code 11:20 < nagaozen> i'm using lighttpd 11:20 < Wombert> documentation would be nice. we'll start with that around christmas 11:20 < Wombert> it would be very much appreciated 11:21 < nagaozen> translations 11:21 < nagaozen> this kind of things 11:21 < Wombert> oh heh :) well then don't start yet 11:21 < Wombert> I mean, you could also contribute something now, but I'd really like to sit down together with you folks and figure out a nice structure etc 11:23 < nagaozen> nice 11:23 < nagaozen> i'm always around... 11:24 < Wombert> check http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License#Programming_languages_specificity nagaozen 11:25 < Wombert> "A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License." 11:25 < nagaozen> nice 11:26 < nagaozen> thats exactly what i need ;D 11:28 < nagaozen> i was in doubt about if i could use or not agavi XD 11:29 < nagaozen> holy shit, i spent all my night trying to make ZF to work with Lighttpd oO;; 11:31 < Wombert> updated http://trac.agavi.org/wiki/FAQ 11:33 < nagaozen> what's the best way to drop an agavi project ? 11:33 < nagaozen> remove its folder? 11:34 < Wombert> drop meaning delete? 11:34 < Wombert> yeah delete the folder (obviously :D) 11:38 < nagaozen> XD 11:38 < nagaozen> i get it running again 11:38 -!- jussiava_ [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 11:39 -!- _cheerios [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit [Read error: 110 (Connection timed out)] 11:39 -!- jussiava_ is now known as _cheerios 11:40 < _cheerios> network newb Q: i have dyndns setup, but since i switched from cable->dsl i now endup on the adsl/router (192.168.1.1) whenever traffic comes to port 80. I went to routers nat settings, and setup port 80 forwarding to 192.168.1.34 which is my internal IP, but still all goes to the router. help? :) 11:44 -!- kaos|work [n=dominik@dslb-088-076-034-178.pools.arcor-ip.net] has joined #agavi 11:47 < MikeSeth> _cheerios: dmz disabled? nat enabled? 11:52 < Wombert> _cheerios: disable remote management 11:52 < Wombert> or change the remote management port 12:01 < nagaozen> Agavi sets the permissions on yourproject/app/cache to "a+rwx" 12:01 < nagaozen> what's the best chmod for app/cache? 12:12 -!- _cheerios [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit [Nick collision from services.] 12:13 -!- _cheerios [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 12:14 < _cheerios> MikeSeth, in NAT Setup theres a checkmark for "Active Network Address Translation(NAT)" with "SUA only" (other option being Full Feature) 12:16 < _cheerios> Wombert, i changed remote management to :81, tho :80 is now unreachable. 12:18 < codecop> where to read info about setting up agavi mysql session storage? 12:19 < codecop> i got MySQLSessionStorage cannot create new record for id"49980c1f87ba719744f7403ab1a7750b" 12:20 < _cheerios> rememberr to setup the db table too 12:25 < codecop> this is my changes in configs to make mysqlstorage work: 12:25 < codecop> http://cut.and.paste.org/index.php?id=1705 12:26 < v-dogg> and you have the table set up in your database? 12:26 < MikeSeth> _cheerios: another thing may be that the router's own webserver is listening on the outer interface before the nat 12:26 < codecop> yes 12:26 < MikeSeth> oh 12:26 < MikeSeth> you figured that out :D 12:26 < CIA-10> dominik * r2212 /branches/0.11/src/storage/AgaviPdoSessionStorage.class.php: 12:26 < CIA-10> moved return statement to the correct place 12:26 < CIA-10> closes #643 12:27 < MikeSeth> I love you people 12:27 < MikeSeth> you relieve my pain 12:28 < codecop> i updated info http://cut.and.paste.org/index.php?id=1706 12:28 < codecop> mm thats make sence if i use propel, but table is created by hand? 12:29 < codecop> for sessions 12:30 < Wombert> codecop: is that new? 12:30 < Wombert> I mean, did it work before? 12:30 < Wombert> and now all of a sudden it breaks? 12:30 < Wombert> after an agavi update? 12:30 < codecop> no itis new 12:30 < Wombert> or did you just start using mysql storage? 12:30 < codecop> i want to start use mysql storage 12:31 < codecop> i am working for a while on project but now want to have mysqlstorage 12:31 < Wombert> you really should use the pdo storage 12:32 < Wombert> but maybe it's a mysql storage problem, I changed a lot there recently 12:32 < codecop> pdo is working! 12:32 < Wombert> okay then hmmh 12:32 < Wombert> maybe a mysql storage bug 12:33 < Wombert> could you do me a favor codecop and help hunt down the problem 12:33 < Wombert> you're using agavi from svn right? 12:33 < codecop> yes 12:33 < codecop> svn 12:36 < Wombert> heh 12:36 < Wombert> can you tell me your database field names? 12:36 < Wombert> is one of them "time" ? 12:36 < Wombert> or "date" ? 12:36 < codecop> `sess_id`,`sess_data`,`sess_time` 12:36 < Wombert> hm 12:38 < codecop> with mysql storage: 12:38 < codecop> Stack Trace 12:38 < codecop> =============== 12:38 < codecop> 0: Unknown file(Unknown line) 12:38 < codecop> 1: /var/www/www.astavo.lt_/libs/agavi/storage/AgaviSessionStorage.class.php (line: 102) 12:38 < kaos|work> ( ! ) Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'mysql_connect' was given in /Users/dominik/Sites/agavi/src/database/AgaviMysqlDatabase.class.php on line 111 12:38 < kaos|work> wtf 12:38 < kaos|work> ah nm 12:40 < _cheerios> MikeSeth, got it working, found a forum note with "telnet to ze router and type in under menu 24 8, ip nat loopback on". all good now. 12:40 < _cheerios> that simple 12:48 < codecop> is the last agavi svn version working? just updated and i got: Fatal error: Call to undefined method AgaviWebResponse::getOutputType() in /var/www/www.site.lt_/libs/agavi/filter/AgaviFormPopulationFilter.class.php on line 80 12:48 < codecop> :/ 12:49 < kaos|work> heh 12:49 < kaos|work> clear your cache 12:49 < codecop> :) mdeeee 12:49 < codecop> ok 12:50 -!- Wombert_ [n=Wombert@dslb-088-064-092-111.pools.arcor-ip.net] has joined #agavi 12:53 < nagaozen> Wombert 12:53 < nagaozen> does exist a pdf version of the manual? 12:55 < v-dogg> not officially 12:57 < nagaozen> un-officially? 12:59 -!- Wombert [n=Wombert@dslb-088-064-095-021.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 13:08 < nagaozen> no unofficial documentation ?! 13:08 < nagaozen> XD 13:09 < nagaozen> the Controller in Agavi is the Model? 13:09 < nagaozen> oO;; 13:10 < nagaozen> no... the Actions! 13:10 < nagaozen> ? 13:10 < nagaozen> ah, its Action :) 13:12 < v-dogg> action is part of the controller (MVC) 13:13 < v-dogg> do you want me to make a pdf manual for you? 13:15 -!- Wombert_ [n=Wombert@dslb-088-064-092-111.pools.arcor-ip.net] has quit ["bai"] 13:15 < nagaozen> please 13:17 < v-dogg> woops. promised too much too soon 13:18 < v-dogg> the version of XMLMind I have doesn't convert to pdf 13:18 < v-dogg> older versions did 13:19 < v-dogg> and I don't have time to set up XSL-FO processor 13:19 < v-dogg> sorry 13:21 < nagaozen> np, thanks for trying 13:21 < nagaozen> XD 13:33 < nagaozen> so many folders ... 13:34 < nagaozen> i would like to know why is this all about... /lib/action, /lib/model/, /lib/view/, /modules/default/everything here again XD 13:34 < MikeSeth> v-dogg: does the standard configuration allow PDF rendering? I have the processor set up 13:38 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 14:05 < nagaozen> XD 14:05 < nagaozen> i finished the manual 14:05 < nagaozen> :) 14:18 < _cheerios> Kovalainen got axed. 14:19 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"] 14:21 * MikeSeth ponders to use ragel to compile a proprietary multiline log format into lisp 14:21 < _cheerios> chuckle @ older norwegian dieing in thailand due misuse of Viagra 14:21 < _cheerios> at a pace of one per week 14:30 < nagaozen> http://blog.mikeseth.com/ 14:30 < nagaozen> XD 14:31 < MikeSeth> ?? 14:32 < _cheerios> sounds like something from the 90s 14:32 < nagaozen> i'm looking for more Agavi tutorials 14:32 < MikeSeth> nagaozen: oh. More is coming. 14:32 < nagaozen> Mike, do you know any short project like "starting with agavi" ? 14:33 < MikeSeth> nagaozen: there's a startup tutorial in the trac, and the sample app in the source tree 14:33 < MikeSeth> I always wanted to write one because I really cant wrap my head around the manual 14:33 < MikeSeth> basically because the manual is reference and teaching by it is inefficient 14:34 < nagaozen> yes, i've read the manual already 14:34 < nagaozen> but can't do too many things 8( 14:34 < _cheerios> "number portability has come into force. Since I understand that most countries in the world don't have this luxury yet" << i guess. this was done in swe/nor/fin like 4-7 years ago 14:35 < MikeSeth> _cheerios: O RLY? 14:35 < MikeSeth> I read too much american press :< 14:35 < _cheerios> only backwards countries are catching up this year 14:35 < MikeSeth> shit i forgot where i put my vmware listbox 14:35 * MikeSeth smacks _cheerios 14:36 < MikeSeth> we invented the cellphone and the 386 processor :D 14:36 < _cheerios> Israel is on par with Sri Lanka and Malaysia in this topic :p 14:36 < _cheerios> http://en.wikipedia.org/wiki/Local_number_portability 14:41 < v-dogg> hehee, selenium is a nice and hardworking little helper :) 14:45 < _cheerios> got how-to instructions on how to use it in 5mins for your agavi project? :) 14:46 < v-dogg> yup, install the firefox add-on (Selenium IDE http://openqa.org/selenium-ide/) and start recording tests :) 14:50 < nagaozen> where's the start up tutorial? 14:51 < v-dogg> for selenium ide? 15:03 < RossC0> selenium + PHPUnit ftw! 15:04 < v-dogg> so I've noticed 15:05 < v-dogg> even found some bugs while trying it out :) 15:06 < nagaozen> could someone please send me some agavi based projects? 15:06 < nagaozen> i'm new to this mvc thing, i can't walk forward just with the manual oO;; 15:07 < MikeSeth> nagaozen: all my Agavi code is proprietary :< 15:07 < nagaozen> 8( 15:07 < _cheerios> veikkos cms to rescue :) 15:07 < nagaozen> just a little one 15:07 -!- _cheerios [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["bbl"] 15:07 < nagaozen> not little like hello world ;) 15:07 < nagaozen> i did it already 15:08 < nagaozen> someone using @ least one model 15:08 < v-dogg> nagaozen: http://groups.google.com/group/agavi-users/msg/ccea4e9c3d4b74e7 15:08 < nagaozen> oh! thank you 8D 15:09 < v-dogg> not perhaps the ideal sample for clean MVC design and so on but probably helps you get started 15:13 < nagaozen> thank you 15:32 < MikeSeth> OH MY GOD 15:32 * MikeSeth is struck by onset of sudden lisp enlightenment 15:33 < MikeSeth> seriously lisp ftw!!! 15:33 < MikeSeth> try describing a lalr(1) grammar in PHP 15:33 < MikeSeth> heh 15:34 < kaos|work> mik 15:34 < kaos|work> e 15:34 < kaos|work> i am doing this thing atm 15:34 < kaos|work> and it does work ... somehow :P 15:34 < MikeSeth> kaos|work: I'm doing recursive log parsing 15:35 < MikeSeth> it's a primitive task, but man this looks ugly in PHP 15:35 * kaos|work wrote an lalr(1) parser generator 15:35 < kaos|work> which didn't work 15:35 < kaos|work> so i moved to glr 15:35 < MikeSeth> kaos|work: use ragel :D 15:35 < kaos|work> which seems to work 15:35 < kaos|work> MikeSeth: it's c++ xD 15:35 < MikeSeth> tho I'd write one in Common Lisp 15:35 < kaos|work> and it doesn't generate code 15:35 < MikeSeth> kaos|work: Ragel can generate C 15:35 < kaos|work> but only the table 15:35 < MikeSeth> (and C++) 15:35 < kaos|work> and the executor is self written 15:36 < kaos|work> MikeSeth: but i need it to generate tables not code ;) 15:36 < MikeSeth> kaos|work: that's not a parser's job tho 15:36 < kaos|work> well, it generates the parsing tables anyways 15:36 < kaos|work> i would just want to use that completely dynamic 15:36 < kaos|work> which i can do with my own parser :) 15:37 < MikeSeth> if you need that kind of control, why not implement a full parser chain? lexer => parser => generator => translator? 15:37 < kaos|work> i do have 15:37 < MikeSeth> not in PHP I hope 15:37 < kaos|work> such a thnig 15:37 < MikeSeth> the pain is unbearable 15:37 < MikeSeth> !+enter 15:37 < MikeSeth> OMG 15:37 < MikeSeth> OMG hahahaha ##php habit kicked in 15:37 < MikeSeth> AHAHAHAHAHAHAH 15:38 < kaos|work> well, the lexer was written in php first 15:38 < kaos|work> but that was just educational stuff for fun 15:38 < kaos|work> and i later ported the lexer to c++ and made it emit parsing tables only 15:39 < MikeSeth> this all should be done in lisp 15:39 < MikeSeth> lisp is supreme haven for this kind of thing 15:39 * MikeSeth halts his virtual lisp box 15:39 < kaos|work> and just one month ago i finished my parser (which even uses the completely same algorithms to generate the parser tables as the lexer ... generate an nfa, convert nfa to dfa, map dfa to parsing table 15:39 < kaos|work> MikeSeth: i know 15:39 < kaos|work> but i neither know lisp 15:39 < kaos|work> nor do i know how to integrate that with c++ :P 15:40 < MikeSeth> well 15:40 < MikeSeth> donno about C++ but I swear to you, lisp is enlightenment 15:40 < kaos|work> i just can't get used to that strange (((( ))))) ()()())() ()())) thing 15:40 < kaos|work> xD 15:41 < MikeSeth> you get used and stop caring about it 15:41 < MikeSeth> bb 15:41 < kaos|work> hehe 15:45 -!- epaulin [n=epaulin@219.137.221.33] has quit ["Ex-Chat"] 16:22 -!- MrJeep [n=Jean-Phi@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 16:36 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit [Read error: 110 (Connection timed out)] 16:37 < RossC0> zomg 16:38 < RossC0> kaos|work: you there? 16:39 < kaos|work> yeah 16:39 < kaos|work> arghs 16:39 < kaos|work> wtf 16:39 < kaos|work> i answered you ... didn't notice that nickserv decided that i ain't registered anymore 16:40 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 16:43 -!- MikeSeth [n=MikeSeth@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 16:55 < E_mE> chow for now 16:55 -!- E_mE [n=E_mE@89.104.225.116] has quit [Remote closed the connection] 16:59 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 17:12 -!- Whisller [n=danielan@80.72.37.90] has quit [Read error: 110 (Connection timed out)] 17:27 -!- Wombert [n=Wombert@dslb-088-064-090-129.pools.arcor-ip.net] has joined #agavi 17:44 < RossC0> laters 17:44 < RossC0> all 17:45 < RossC0> exit 17:45 -!- RossC0 [n=RossC0@80.4.120.163] has left #agavi [] 17:55 -!- MikeSeth [n=omnomnom@unaffiliated/mikeseth] has joined #agavi 17:57 < CIA-10> david * r2213 /branches/0.11/src/storage/ (2 files): make mysql and postgres session storages print error messages in exceptions, refs #645 17:58 < MikeSeth> <333333 #645 !!! 18:04 < Wombert> hm? 18:04 < Wombert> still gotta fix pdo, which is way more of a hassle 18:05 < Wombert> I soooo want finally {} in php 18:05 < Wombert> :< 18:08 < MikeSeth> you can have them with pihipi :D 18:11 < CIA-10> david * r2214 /branches/0.11/src/storage/AgaviPdoSessionStorage.class.php: fixed prepared statement creation order, refs #638 18:24 < shoan> i can just delete olson/ if I don't use the tm, right? 18:36 < MrJeep> what do you think about this site : http://www.ubishops.ca/ 18:37 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 18:37 < Whisller> hi 18:39 < MikeSeth> ...I just had an "why am I not in emacs?!" moment 18:46 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has joined #agavi 18:51 -!- shoan [n=shoan@122.166.1.168] has quit [] 18:53 < Wombert> pdo is so great... 18:53 < Wombert> http://bugs.php.net/bug.php?id=37285 18:53 < Wombert> zomg 18:53 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 18:55 -!- MikeSeth [n=omnomnom@unaffiliated/mikeseth] has quit [Read error: 104 (Connection reset by peer)] 18:57 -!- MikeSeth [n=omnomnom@line21-134.adsl.actcom.net.il] has joined #agavi 19:01 < Wombert> y0 RossC0 19:01 < Wombert> thanks for the patch 19:01 < Wombert> fixed already 19:01 < RossC0> no worries 19:01 < RossC0> sorry for the cryptic message! 19:01 < RossC0> I had to run for ze train! 19:01 < Wombert> heh yeah I totally didn't get what was going on ;) 19:01 < RossC0> lol 19:01 < Wombert> I was like "uh what patch" 19:01 < RossC0> btw throwing errors in sessions seems odd 19:02 < Wombert> well 19:02 < Wombert> only if there really is an error 19:02 < RossC0> as it causes a unknown stack trace 19:02 < Wombert> like database down or such 19:02 < Wombert> oh 19:02 < Wombert> yeah hm well 19:02 < RossC0> <3 php 19:02 < Wombert> trying to fix pdo's error reporting a little further 19:02 < Wombert> http://bugs.php.net/bug.php?id=37285 19:02 < Wombert> nice, eh? 19:03 < Wombert> why are you surfing the tubes from home anyway 19:03 < RossC0> checking my jobs feed 19:05 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit [Read error: 110 (Connection timed out)] 19:08 < v-dogg> when was ability to "return 'the actual content from a view::executeHtml()';" introduced ? 19:09 < RossC0> dunno been using it for a while! 19:10 < v-dogg> I'm using r1865 (exported 25th May 2007) and it doesn't seem to work 19:13 < RossC0> hmm Wombert'll know 19:13 < RossC0> right I got to eat! ciao bella! 19:13 -!- RossC0 [n=RossC0@teamjr.plus.com] has left #agavi [] 19:23 < Wombert> v-dogg: it does not if you load a layout 19:23 < Wombert> right now, it is discarded 19:23 < Wombert> if you have a layout loaded 19:23 < Wombert> what you return from the view goes into the response 19:23 < v-dogg> I don't load a layout 19:24 < v-dogg> but doesn't matter. it was just debug stuff 19:26 < v-dogg> I need to figure out how to move nodes in my nestedsets tree without breaking it 19:29 < v-dogg> this is so annoying... 19:39 -!- JanK_ [n=JanK_@muedsl-82-207-232-097.citykom.de] has joined #agavi 19:57 -!- MrJeep [n=Jean-Phi@modemcable188.10-70-69.static.videotron.ca] has quit ["Leaving"] 19:58 -!- kaos|work [n=dominik@dslb-088-076-034-178.pools.arcor-ip.net] has quit [] 20:05 < JanK_> was the feature added to execute queries when a DB connection has been established? 20:05 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 20:07 < v-dogg> JanK_: not sure what you mean. agavi has no such a feature but you can get the database handle (pdo, mysql, postgresql or what ever you use) via $this->context->getDatabaseConnection(); 20:07 < v-dogg> and then use it to execute sql 20:08 < v-dogg> $db->exec('insert into ...') for example (PDO) 20:08 < JanK_> v-dogg: i need to execute "SET CHARACTER SET utf8" to get the correct data 20:08 < v-dogg> ah, sorry. 20:08 < v-dogg> don't think agavi has that either but propel does 20:09 < JanK_> Wombert said, he thinks that would be a good feature for the database drivers 20:09 < v-dogg> I would agree 20:09 < v-dogg> and pretty simple to implement, too 20:10 < v-dogg> you can do it by extending the db class you use now 20:10 < JanK_> i guess you're reading the svn changelog, so nothing like this was added in the last weeks? 20:10 < v-dogg> just look at the source and you'll figure out what to override 20:10 < v-dogg> I don't remember seeing it 20:10 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has quit ["ByeBye"] 20:10 < v-dogg> but I've been quite busy and might have easily missed it :) 20:11 < Wombert> it was not added yet, JanK_ 20:12 -!- MikeSeth [n=omnomnom@line21-134.adsl.actcom.net.il] has quit [Read error: 110 (Connection timed out)] 20:13 < Wombert> http://trac.agavi.org/ticket/646 20:14 -!- kaos|work [n=dominik@xdsl-87-79-52-50.netcologne.de] has joined #agavi 20:16 < v-dogg> I can't reproduce the corruption of my tree :/ 20:16 < v-dogg> no matter waht I do 20:18 < v-dogg> so I'm begining to wonder if it's possible that this is a concurrence problem. I don't explicitly start a transaction before I move nodes 20:18 < v-dogg> Wombert: what say you? possible? 20:19 < Wombert> any of the queries failing? 20:19 < Wombert> or getting errors? 20:19 < Wombert> yeah wrap it in a transaction at least 20:19 < Wombert> but if there are no errors then a transaction won't help 20:19 < Wombert> but maybe there was an error you didn't see!? 20:23 < v-dogg> exceptions are logged and I can't find any errors during that time 20:24 < Wombert> maybe a bug 20:24 < Wombert> propel 1.3 nested sets? 20:24 < Wombert> gaaaawd 20:24 * Wombert kicks pdo 20:24 < v-dogg> yeah, 1.3 r840 20:25 < v-dogg> what is it this time? 20:26 -!- MikeSeth [n=omnomnom@line21-134.adsl.actcom.net.il] has joined #agavi 20:27 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 20:29 < Wombert> ah well 20:29 < Wombert> I need to test all that stuff 20:29 < Wombert> and 20:29 < Wombert> like 20:29 < Wombert> http://bugs.php.net/bug.php?id=37285 20:29 < Wombert> annoying 20:29 < Wombert> ... 20:29 < Wombert> and now I need to add test stuff like DROP TABLE after read :p 20:30 < Wombert> so I can check the error handling on write 20:30 < Wombert> etc etc 20:30 < v-dogg> Integrity error: value count: 124, high value: 126 20:30 < v-dogg> !!! 20:31 < v-dogg> I broke it by adding a new page!?! 20:32 < v-dogg> oh for fuck's sake... 20:37 < v-dogg> every left and right value of a tree should be in a continuous sequence from 1 to N (where N is the number of nodes*2), right? 20:40 < Wombert> yes 20:40 < Wombert> gaps = disaster 20:42 * v-dogg fires the red flares 20:42 < v-dogg> feck feck feck 20:44 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has quit [Read error: 110 (Connection timed out)] 20:53 < v-dogg> did it again 20:54 < Wombert> ... 20:54 < Wombert> php 20:54 < Wombert> I return false from session handlers open() method 20:54 < Wombert> does it care? no 20:54 < Wombert> still tries to read(), write() etc 20:54 < Wombert> gawd 20:57 < splatch`> oi! :) 21:31 -!- JanK_ [n=JanK_@muedsl-82-207-232-097.citykom.de] has quit [] 21:36 -!- ttj [n=tjorri@kosh.hut.fi] has joined #agavi 21:38 < Whisller> hmm 21:38 < Whisller> 22:38 ehh 21:38 < ttj> Hmm? 21:39 < v-dogg> 23:39 ehh 21:39 < splatch`> time to sleep 21:39 < Whisller> hmm 21:39 < ttj> Pfft. 21:39 < Whisller> I have still work today :/ 21:39 < ttj> Sleep, she is for teh weak! 21:40 < Whisller> You will sleep after death...or something like that. I don't know is it something similar in english 21:40 < ttj> Plenty of time to sleep when you're dead. 21:41 < Whisller> o :) 21:42 < Whisller> splatch`, I have a question. What news from eclipse ide for agavi? 21:42 < splatch`> Whisller: currently i haven't free time to do school home work 21:42 < Whisller> I understand 21:43 < splatch`> so ide must wait but since 2008 i would like to give you some version 21:43 < Whisller> Great. 21:43 < splatch`> set up trac, svn, docs etc for users :) 21:44 < Whisller> Hmm btw only 2 weeks and looong weekend :D 21:45 < splatch`> 2 weeks and christmas, and after christmas work ;P 21:45 < Whisller> no after it I have looong weekend :D 21:45 < Whisller> hmm where is my calendar 21:46 < Whisller> 20 party at work, 21 I'm going to home and come back...hmmm maybe I think 2 2008 21:47 < Whisller> And then I can sit down and start writing my application. 21:48 < splatch`> bye bye 21:55 -!- kaos|work_ [n=dominik@xdsl-87-79-142-106.netcologne.de] has joined #agavi 22:12 -!- kaos|work [n=dominik@xdsl-87-79-52-50.netcologne.de] has quit [Read error: 110 (Connection timed out)] 22:45 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi 23:35 -!- MikeSeth [n=omnomnom@unaffiliated/mikeseth] has quit [Read error: 110 (Connection timed out)] 23:36 -!- MikeSeth [n=omnomnom@line21-134.adsl.actcom.net.il] has joined #agavi 23:43 -!- Wombert [n=Wombert@dslb-088-064-090-129.pools.arcor-ip.net] has quit [] 23:53 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has joined #agavi --- Day changed Tue Dec 11 2007 00:11 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit [Read error: 110 (Connection timed out)] 01:06 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has quit ["Leaving"] 01:58 -!- epaulin [n=epaulin@219.137.221.33] has joined #agavi 01:59 -!- epaulin_ [n=epaulin@219.137.220.209] has joined #agavi 02:00 -!- kaos|work_ [n=dominik@xdsl-87-79-142-106.netcologne.de] has quit [] 02:18 -!- epaulin [n=epaulin@219.137.221.33] has quit [Read error: 110 (Connection timed out)] 02:23 -!- epaulin_ is now known as epaulin 02:56 -!- eremit_ [n=eremit@p5B235ECE.dip.t-dialin.net] has joined #agavi 03:05 -!- eremit [n=eremit@p5B236D2A.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 04:19 -!- shoan [n=shoan@59.92.203.65] has joined #agavi 05:15 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 07:08 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit ["Leaving"] 07:17 -!- shoan_ [n=shoan@59.92.131.19] has joined #agavi 07:24 -!- shoan [n=shoan@59.92.203.65] has quit [Read error: 110 (Connection timed out)] 07:42 -!- MikeSeth [n=omnomnom@line21-134.adsl.actcom.net.il] has quit [Read error: 110 (Connection timed out)] 07:45 -!- danielancuta [n=danielan@80.72.37.90] has joined #agavi 07:45 < danielancuta> hi 07:45 -!- danielancuta is now known as Whisller 08:09 -!- shoan_ [n=shoan@59.92.131.19] has quit [] 08:15 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 08:15 < RossC0> huomenta 08:21 -!- Wombert [n=Wombert@dslb-088-064-090-129.pools.arcor-ip.net] has joined #agavi 08:27 < RossC0> \o/ Wombert 08:31 < Wombert> hai RossC0 08:35 < RossC0> Wombert: linked stuff for you in del.icio.us 08:35 < Wombert> <3 08:36 < RossC0> the optflag one could give ideas about passing in vars when running from cli 08:47 < Wombert> I think that's what xylakant provided as a patch already 08:47 < Wombert> imo, app -param value -param2 value2 --flag 08:48 < Wombert> that's something we could ship as a default implementation 08:48 < Wombert> maybe w/ optional = for params 08:48 < Wombert> and support for "" and '' wrapped values 09:00 -!- eremit_ is now known as eremit 09:01 < RossC0> cool sounds good 09:01 < Wombert> gawd 09:01 < Wombert> they're ruining namespaces again 09:01 < Wombert> zomg 09:02 < RossC0> url? 09:02 < Wombert> http://www.php.net/manual/en/language.namespaces.rules.php 09:02 < Wombert> check out the fifth bullet 09:03 < Wombert> http://news.php.net/php.internals/33919 09:03 < Wombert> second paragraph, mostly 09:06 < RossC0> lol 09:06 < RossC0> ::C 09:06 < RossC0> nice 09:06 < RossC0> you got a reply? 09:07 < Wombert> not yet 09:07 < Wombert> hey did you see the sickening image on my blog 09:07 < Wombert> :> 09:07 < RossC0> it worried 09:07 < RossC0> me 09:08 < RossC0> btw I reblogged all your posts 09:08 < RossC0> :D 09:08 < Wombert> lawl 09:08 < Wombert> :> 09:09 < Wombert> zomg 09:09 < Wombert> I need a full hd tv now 09:09 < Wombert> and a ps3 09:09 < Wombert> quick 09:09 < Wombert> omg! 09:10 < RossC0> why? 09:10 < RossC0> I have a ps3 09:10 < RossC0> :D 09:12 -!- Wombert_ [n=Wombert@dslb-088-064-064-150.pools.arcor-ip.net] has joined #agavi 09:13 < RossC0> ok Wombert_ explain growl and how to use it? 09:13 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 09:14 < Wombert_> you have a ps3? 09:14 < Wombert_> woot 09:14 < Wombert_> http://blog.bitxtender.com/post/21294792 09:14 -!- Wombert [n=Wombert@dslb-088-064-090-129.pools.arcor-ip.net] has quit [Nick collision from services.] 09:14 -!- MikeSeth [n=omnomnom@unaffiliated/mikeseth] has joined #agavi 09:15 < MikeSeth> om nom nom! 09:15 < RossC0> wow 09:15 < RossC0> rubbish graphics ;p 09:16 -!- Wombert [n=Wombert@dslb-088-064-065-053.pools.arcor-ip.net] has joined #agavi 09:17 < Wombert> uh 09:17 < Wombert> ... 09:17 < RossC0> is that the full version thou? 09:17 < RossC0> or is it a cut down GT? 09:18 < RossC0> mind you looks bloody good 09:19 < RossC0> GT5 Prologue, which consists of 50 cars and five tracks 09:19 -!- Wombert__ [n=Wombert@dslb-084-056-055-073.pools.arcor-ip.net] has joined #agavi 09:20 < RossC0> having fun Wombert, Wombert_, Wombert__ ? 09:23 -!- E_mE [n=E_mE@89.104.225.116] has joined #agavi 09:28 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)] 09:30 -!- Wombert___ [n=Wombert@dslb-084-056-059-202.pools.arcor-ip.net] has joined #agavi 09:31 < Wombert___> four womberts 09:31 < Wombert___> good german dsl quality 09:32 -!- Wombert [n=Wombert@dslb-088-064-065-053.pools.arcor-ip.net] has quit [Nick collision from services.] 09:32 -!- Wombert_ [n=Wombert@dslb-088-064-064-150.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 09:32 -!- Wombert___ is now known as Wombert 09:32 < Wombert> RossC0: prologue is released before the full game 09:33 < Wombert> used to cost 10 bucks or so but this one is gonna be free 09:33 < Wombert> :) 09:33 < Wombert> <3 GT 09:33 < Wombert> growl... 09:33 < Wombert> do you use Colloquy, RossC0 09:33 < Wombert> those boxes that show up in the upper right corner with information 09:33 < Wombert> those are growl boxes 09:33 < Wombert> I always wanted to write a growl logger appender for agavi :) 09:34 < RossC0> ah cool 09:34 < RossC0> I was wondering how I could use it 09:34 < RossC0> growl logger appender 09:36 < RossC0> hmm 09:37 < RossC0> could use: $query 09:37 < RossC0> http://the.taoofmac.com/space/Projects/netgrowl.php 09:37 < RossC0> even 09:37 < RossC0> stupid linux clipboards 09:37 -!- Wombert__ [n=Wombert@dslb-084-056-055-073.pools.arcor-ip.net] has quit [Connection timed out] 09:39 < Wombert> there is a pear package, too 09:40 < Wombert> in case of growl, it should write to growl immediately 09:40 < RossC0> pear? 09:40 < Wombert> yeah 09:40 < RossC0> not a zend framework one? 09:41 < Wombert> I don't think they have one 09:41 < RossC0> ha well I dont have growl but would be cool 09:41 < Wombert> the pear one is much more convenient than the one you posted, really 09:41 < RossC0> ah ok 09:42 * RossC0 wanders if it would hook into gnotify 09:42 < E_mE> huomenta! 09:43 < RossC0> ha well one for another day! 09:43 < Wombert> $growl =& Net_Growl::singleton('Net_Growl', array('Messages')); 09:43 < Wombert> $growl->notify('Messages', 'Hello', 'How are you ?'); 09:43 < Wombert> :> 09:43 < RossC0> kewl - I just need a windows and linux way of displaying them and then I can get them in here! 09:44 < RossC0> snarl and mumbles seem to be the google winners 09:47 < Wombert> http://trac.agavi.org/ticket/647 09:47 < Wombert> does it use the growl protocol? 09:48 < RossC0> think so 09:49 < RossC0> yeah 09:49 < Wombert> really? 09:49 < Wombert> mumbles does 09:50 < Wombert> snarl not apparently (it uses an api) 09:50 < Wombert> cool 09:50 < Wombert> :) 09:50 < Wombert> so you can use it too! 09:50 < Wombert> I wanted to implement a couple of minor 1.0 features tomorrow (or maybe even today) to get started :) 09:50 < Wombert> this will be one of em 09:53 < Wombert> oh and 09:53 < Wombert> I think the FPF error stuff should have another feature 09:53 < Wombert> where you can have a message inserted at the top of the form or so if there were any errors 09:55 < Wombert> you know, like, "your request could not be completed because some data was invalid or incomplete" in a red box above it 09:55 < E_mE> growl is MAc OS X only 09:59 < E_mE> if ive got method="stepName" in my routing, can i use validateStepName(); to validate the step? 10:00 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 10:00 -!- MikeSeth [n=omnomnom@unaffiliated/mikeseth] has quit [Remote closed the connection] 10:01 < Wombert> of course, E_mE 10:01 < Wombert> but why not use proper validation.xml files 10:01 -!- shoan [n=shoan@122.166.1.168] has quit [Read error: 104 (Connection reset by peer)] 10:02 -!- SunboX [n=Miranda@80.243.35.154] has joined #agavi 10:02 < SunboX> hi, what does this error message mean? http://www.redaktoer.info/ 10:03 < SunboX> btw how can i fix this 10:03 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 10:04 < SunboX> local all works fine :( 10:06 < E_mE> Wombert: because i got to check dates to a certain rule... i need to display the easliest arrival date of an order and need to calculate weekends etc.. 10:08 < RossC0> SunboX: you got different versions of libxml? 10:08 < SunboX> i don't know. It's a virtual server 10:09 < RossC0> try updating 10:09 < SunboX> maybe 10:09 < SunboX> i can't update the server 10:09 < SunboX> any other way to work around? 10:10 < SunboX> can i disable schema validation? 10:11 < SunboX> i have to get it work without updatimng the server 10:11 < RossC0> Wombert ? Any ideas? 10:13 < Wombert> SunboX: http://trac.agavi.org/wiki/WTF 10:13 < Wombert> E_mE: ah okay 10:14 < Wombert> you could write a validator for that, though, if you use it in more than one place :) 10:14 < SunboX> thx! :D 10:14 < SunboX> i will try this 10:14 < E_mE> Wombert: i accept your challenge ;) 10:14 < E_mE> would be a useful addition ;) 10:15 < Wombert> oh and SunboX 10:15 < Wombert> you might wanna have a "zomg sorry something went wrong" exception template for production env ;) 10:16 < SunboX> *gg 10:16 < SunboX> jep 10:16 < SunboX> need more time ;o) 10:29 < RossC0> hmm how'd I set the date.timezone for an agavi app 10:29 < RossC0> the default timezone even or is that php.ini thing? 10:30 < Wombert> yeah php.ini 10:30 < Wombert> or in your config.php 10:30 < Wombert> does agavi use that? 10:30 < Wombert> or do you mean the time zone agavi uses in i18n? 10:31 < RossC0> no its cause I havent set it up and put strict all errors in index.php 10:33 < RossC0> cool all sorted 10:33 < SunboX> i think you can set it like this: 10:33 < SunboX> date_default_timezone_set('Europe/Berlin'); 10:34 < RossC0> yeap added that to my config.php 10:38 < Wombert> you set it to berlin? :p 10:38 < Wombert> where is the error thrown anyway 10:44 < v-dogg> huomenta 10:44 < Wombert> I thought we removed all dependencies on date() with timezones 10:44 < Wombert> hai v-dogg 10:46 < v-dogg> what's up 10:46 < Wombert> v-dogg: dominik says propel has a bug in nested sets 10:46 < Wombert> and move operations ruin the tree 10:46 < v-dogg> ORLY! 10:46 < v-dogg> :p 10:47 < v-dogg> I can live without move for now but creating a new node fucks up the tree! 10:47 < v-dogg> makes me mad 10:49 < v-dogg> sad thing is it's a hobby project and I don't have enough time to work on it 10:49 < Wombert> yeah that moves nodes, too 10:50 < v-dogg> yup 10:51 < Wombert> he really is annoying 10:52 < v-dogg> I can now systematically reproduce it. I'll try to wrap up a simple proof of concept kinda thingy tonight 10:52 < Wombert> I am totally sick of him changing things all the time, not sticking to coding standards, not discussing changes before he does them etc 10:52 < Wombert> and ruining propel in general 10:52 < v-dogg> now I need my morning coffee 10:53 < v-dogg> and afternoon coffee 10:53 < v-dogg> times ten 10:53 < Wombert> did you just wake up? :p 10:53 < E_mE> diet coke + coffee works well ;) 10:53 < Wombert> eww 10:53 < Wombert> diet coke 10:54 < SunboX> Warning: Invalid argument supplied for foreach() in /srv/www/redaktoer.info/redaktoer/lib/agavi/logging/AgaviRotatingFileLoggerAppender.class.php on line 83 10:54 < SunboX> should i open a ticket? 10:54 < E_mE> normal coke has to much sugar for me.. i just want th caffine 10:54 < v-dogg> nah, but I just got the office. had to pay my respect at a funeral this morning 10:54 < Wombert> besides the fact that any diet coke is lame, you could at least drink coke zero 10:54 < SunboX> the logger fails if no log-file exists 10:54 < E_mE> coke zero and diet coke is the same :/ 10:54 < Wombert> v-dogg: oh. not family, I hope? :( 10:54 < E_mE> i cant see the difference between them 10:55 < Wombert> E_mE: coke zero is the one for men. 10:55 < Wombert> :) 10:55 < v-dogg> Wombert: not close family but a relative still 10:55 < v-dogg> SunboX: woot? that can't be 10:55 < E_mE> Wombert: bet its cost more too to match the male slight higer wage over women too =P 10:56 < Wombert> E_mE: http://www.youtube.com/watch?v=SeCoIWvaon8 10:56 < Wombert> v-dogg: :( 10:57 < Wombert> Xylakant pointed that out the other day I think 10:57 < Wombert> they silently changed the glob behavior 10:57 < Wombert> it may return false now 10:58 < E_mE> sex doesn't sell! :) 10:59 < v-dogg> Wombert: when did it change? 11:00 < Wombert> 5.2.5 I think 11:00 < Wombert> Fixed regression in glob() when enforcing safe_mode/open_basedir checks on paths containing '*'. (Ilia) 11:00 < Wombert> maybe 11:00 < RossC0> (10:38:39) Wombert: where is the error thrown anyway 11:00 < Wombert> do you have open_basedir or safe_mode there, SunboX ? 11:00 < RossC0> in pdoSessionStorage 11:01 < SunboX> don't know 11:01 < SunboX> but i have a workaround 11:01 < Wombert> RossC0: aah 11:01 < SunboX> i will post a ticket 11:01 < Wombert> RossC0: heh that's why I wanted to add a gmdate() option 11:01 < Wombert> maybe that should be default anyway 11:01 * Wombert ponders 11:01 < Wombert> I mean, who needs local timestamps in sessions 11:01 -!- _cheerios [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 11:02 < _cheerios> huomenta 11:02 * v-dogg hates timezones 11:02 < Wombert> but it really indicaes some kind of error, SunboX 11:02 < Wombert> I have to check 11:03 < Wombert> GLOB_ERR - Stop on read errors (like unreadable directories), by default errors are ignored. 11:03 < Wombert> I think that's broken in 5.2.4/5 11:03 < Wombert> Returns an array containing the matched files/directories, an empty array if no file matched or FALSE on error. 11:03 < Wombert> http://de3.php.net/manual/en/function.glob.php#79610 11:03 < Wombert> bahahah 11:04 < Wombert> FUCKERS 11:06 < Wombert> http://bugs.php.net/bug.php?id=43461 11:06 < Wombert> http://bugs.php.net/bug.php?id=43407 11:06 < Wombert> http://bugs.php.net/bug.php?id=43530 11:06 < Wombert> No it should not because that allows glob() open_basedir/safe_mode 11:06 < Wombert> bypass by allowing the user to determine that the directory/file exist. 11:06 < Wombert> We specifically return FALSE so you cannot tell if the data exists on 11:06 < Wombert> disk or not. 11:06 < Wombert> nice 11:06 < Wombert> so I now need to add open_basedir and safe_mode checks to agavi 11:06 < Wombert> COOL! 11:07 < v-dogg> "Unable to connect to SQL server." 11:07 < v-dogg> says bugs.php.net 11:07 < v-dogg> I bet they use mysql :p 11:08 < _cheerios> dont succumb to hate! hate leads nowhere! 11:09 * Wombert sighs 11:09 < v-dogg> but it sure does feel good 11:09 < Wombert> you obviously never saw star wars, _cheerios 11:09 < Wombert> hate leads to suffering 11:09 < Wombert> ... 11:09 < v-dogg> haha 11:09 < _cheerios> was i not sheepish enough for you? 11:09 < v-dogg> David "Yoda" Zülke 11:10 < Wombert> luminous beings we are 11:10 < Wombert> not this crude matter 11:12 * Wombert goes find The Force Theme in his iTunes lib 11:12 < v-dogg> somebody please restart mysql on bugs.php.net :p 11:13 -!- eremit [n=eremit@p5B235ECE.dip.t-dialin.net] has quit [] 11:17 < Wombert> you've got to be kidding me 11:18 < Wombert> medvedev proposed that putin be prime minister 11:18 < Wombert> zomg russia... 11:20 < _cheerios> i saw a pic of the next russian presidante. he looked like doesnt get much sleep. :) 11:23 < _cheerios> btw. im checking if a login cookie exists in User::startup 11:23 < _cheerios> how can i throw any errors to the user, if the cookie is no good 11:29 < Wombert> you could set a request attribute flag and output a message in the master template if it's there or so 11:29 < Wombert> but why bother 11:29 < Wombert> just discard the cookie and done 11:30 < _cheerios> is it possible to set a forward container in the User 11:30 < _cheerios> the cookie is from the top domain, i'll see if the subdomain can write to it 11:30 < Wombert> no 11:30 < Wombert> of course not 11:31 < Wombert> it's just a cookie man, it's not supposed to fuck things up big time :p 11:31 < Wombert> remove it using the global response and move on 11:31 < Wombert> the user won't be logged in, so he tries to, and then he sees the error just fine 11:31 < Wombert> waste of time to handle that case IMO :p 11:34 -!- JanK_ [n=JanK_@muedsl-82-207-232-097.citykom.de] has joined #agavi 11:35 < _cheerios> but i dont have access to the Response object in the User, do I? 11:37 < Wombert> oh of course 11:37 < Wombert> from the controller 11:37 < _cheerios> nm, global response 11:38 < _cheerios> i was up till 4am last night, asking kaos over messenger why he is still up 11:48 -!- kaos|work [n=dominik@dslb-084-063-124-072.pools.arcor-ip.net] has joined #agavi 12:03 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 12:17 < RossC0> right any db gurus about? 12:18 < RossC0> does having a large IN statement significantly effect performance? 12:18 < RossC0> in id IN (1,2,3,4...1500) 12:19 < RossC0> *ie id IN (1,2,3,4..1500) 12:19 < RossC0> because something tells me an IN statement with 1500 params cant be fast 12:19 * RossC0 nudges _cheerios v-dogg 12:20 < _cheerios> 1500?? :D well, it should be fine. as long as your table is in memory. 12:22 < RossC0> I'll benchmark against creating a heap table and using that in a join 12:28 < Wombert> sounds like a flawed database design :) 12:30 < Wombert> I feel weird 12:30 < Wombert> dizzy 12:30 < Wombert> vertigo sorts of 12:31 < _cheerios> are you getting high on Bono? 12:34 < Wombert> :p 12:34 < Wombert> vertigo is if you feel... dizzy... and... 12:34 < Wombert> uhm 12:34 < Wombert> http://en.wikipedia.org/wiki/Vertigo_%28medical%29 12:34 < Wombert> :p 12:38 < Wombert> maybe lunch will fix it 12:38 < Wombert> -> 12:43 -!- JanK_ [n=JanK_@muedsl-82-207-232-097.citykom.de] has quit [] 12:46 -!- E_mA [n=E_mE@89.104.225.116] has joined #agavi 12:47 -!- E_mE [n=E_mE@89.104.225.116] has quit [Read error: 104 (Connection reset by peer)] 12:59 < _cheerios> ... doctrine wtf :( 13:02 < _cheerios> open connection 1, open connection 2, Doctrine_Query($conn2) and it ends up using $conn1 13:12 -!- Arme[N-1] is now known as Arme[N] 13:16 -!- eremit [n=eremit@p5B235ECE.dip.t-dialin.net] has joined #agavi 13:29 < E_mA> can you use xdebug + Eclipse with Agavi? 13:41 < v-dogg> yes 13:41 < v-dogg> why wouldn't you? 13:42 < v-dogg> Agavi is just a your normal php script 13:45 < E_mA> i was thinking maybe because of the URIs 13:45 < E_mA> but its my first time trying to using xdebug 13:46 < E_mA> causing me few problems :S 13:48 < E_mA> keeps telling me bind: couldn't bind AF_INET socket? 14:05 -!- epaulin [n=epaulin@219.137.220.209] has quit ["Ex-Chat"] 14:11 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 14:14 < _cheerios> ticket awaayy 14:16 -!- MikeSeth [n=omnomnom@62.90.159.110] has joined #agavi 14:17 < MikeSeth> om nom nom :> 14:18 < Wombert> yup _cheerios 14:18 < Wombert> I noticed that while looking at the code 14:18 < Wombert> forgot to fix it tho 14:18 < _cheerios> retards made me fix their bugs 14:18 < Wombert> it doesn't pass that along infetch() or so right? 14:18 < _cheerios> if (isset($this->_connections[$name])) { 14:18 < _cheerios> return $this->_connections[$name]; 14:18 < _cheerios> } 14:18 < _cheerios> if ($setCurrent) { 14:18 < _cheerios> $this->_currIndex = $name; 14:18 < _cheerios> } 14:19 < _cheerios> spot the problem 14:20 < _cheerios> that's for public function openConnection($adapter, $name = null, $setCurrent = true) 14:20 -!- E_mA is now known as E_mE 14:32 < _cheerios> it's the strange thing with Doctrine. you have connections, but just using them is not enough, you actually have to tell Doctrine that YES I WANT TO USE this connection, when your $conn object already holds it. I don't get it :) 14:34 < Wombert> that is not the bug, _cheerios 14:34 < _cheerios> im not suprised there are more 14:34 < Wombert> the bug is that $conn2 which you pass explicitly 14:34 < Wombert> gets lost internally 14:34 < _cheerios> that too 14:34 < Wombert> because some method (can't remember which) does not pass it on 14:34 < Wombert> hence, it falls back to the default 14:35 < _cheerios> great! 14:35 < _cheerios> that's probably what happens in Doctrine_Query then 14:35 < _cheerios> it doesn't use the connection i give at all 14:40 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Remote closed the connection] 14:42 < _cheerios> this all crashed replication for me last night veery nicely, cost me a few hours :( 14:42 < E_mE> can you do step-in with xdebug? 14:42 < E_mE> ive got it to break 14:42 < E_mE> but i can step throw it 14:52 < _cheerios> i wonder what made doctrine guys name Hydrate HYDRATOR!!! 14:54 < Wombert> yeah why not hydrant 14:54 < Wombert> :> 14:56 < v-dogg> they renamed it? 14:57 < Wombert> found my doctrine svn password, _cheerios 14:57 < Wombert> I can fix that stuff later or tomorrow if you like 14:58 < _cheerios> heh @ "later or tomorrow" 14:58 < _cheerios> do you have notes on where to look? 14:59 < Wombert> no but it was easy to find 14:59 < Wombert> actually I never used it, I just looked through the code to follow a certain function call to... I dunno 14:59 < Wombert> I wanted to check how a specific thing is done 14:59 < _cheerios> at quick glance all looks ok. $conn is passed to Doctrine_Query, it saves it, but it never calls the correct connection. 14:59 < Wombert> and then I saw that they don't pass it on in at least one spot 14:59 < Wombert> it was fetch() or somesuch 15:01 -!- Yossi [n=nospam@62.90.159.110] has joined #agavi 15:01 < Yossi> Hello 15:01 < Wombert> y0 15:07 < _cheerios> $this->dbh = new PDO($this->options['dsn'], $this->options['username'], 15:07 < _cheerios> $this->options['password'], $this->options['other']); 15:07 < _cheerios> could be this. it uses the settings from the latest opened connection, rather than the connection that calls 15:07 < Wombert> nono 15:22 -!- marklar [n=marklar@unaffiliated/marklar] has joined #agavi 15:22 < marklar> MikeSeth: here? 15:22 < MikeSeth> yeah 15:22 < marklar> didja setup my dh login? 15:23 < MikeSeth> didja send me details as I asked? 15:23 < marklar> yes 15:23 < MikeSeth> om nom nom checking 15:23 < MikeSeth> (head hurts, been writing lisp filters) 15:23 < marklar> resent 15:23 < marklar> you at the office? 15:29 < MikeSeth> marklar: yeah 15:29 < marklar> mkay 15:29 < MikeSeth> marklar: plz check your gmail and let me know if I need to setup more stuff cuz im not sure htf this shit works 15:31 < MikeSeth> marklar: also, your username is markftw not marklar 15:31 < MikeSeth> markftw@selma.dreamhost.com 15:31 < MikeSeth> https://panel.dreamhost.com 15:31 < MikeSeth> kthx. 15:32 < marklar> okthx 15:33 < MikeSeth> marklar: you log into the panel with yer email (it should let you set up a password), and with your username into the box 15:33 < MikeSeth> marklar: tell me if it doesnt allow you to create domains/forward mail/etc 15:33 -!- Yossi [n=nospam@62.90.159.110] has quit [] 15:33 < marklar> yea 15:33 < marklar> it doesn't :( 15:34 < marklar> it wants a hosting plan 15:35 < MikeSeth> oh 15:35 < MikeSeth> fucking nigeria 15:35 < MikeSeth> hold 15:36 < marklar> key 15:36 < marklar> er, kay. 15:36 < MikeSeth> try now plox 15:37 < marklar> lolomg 15:41 < marklar> I need more music to take to work 15:43 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 15:46 < MikeSeth> marklar: look at dh's winner "files forever" win 15:50 < marklar> wow, nice 15:53 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"] 16:07 -!- jpdery [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has joined #agavi 16:09 -!- Whisller [n=danielan@80.72.37.90] has quit ["home ->"] 16:10 -!- jpdery is now known as MrJeep 16:20 < E_mE> this is a good speech on the future of the web my Douglas crockford: http://developer.yahoo.net/blogs/theater/archives/2007/10/the_state_of_ajax_douglas_crockford.html 16:20 < E_mE> by* 16:27 < MikeSeth> man 16:27 < MikeSeth> (defun log-line->event (log-line) 16:27 < MikeSeth> "Convert a log line struct to an event struct" 16:27 < MikeSeth> (cl-ppcre:register-groups-bind (type params) ("^\\[(.)\\]: (.+)$" (log-line-entry log-line)) 16:27 < MikeSeth> (make-event :ts (log-line-relative-timestamp log-line) 16:27 < MikeSeth> :log-line log-line 16:28 < MikeSeth> :type type 16:28 < MikeSeth> :params params))) 16:28 < MikeSeth> LISP totally ftw!!! 16:36 -!- shoan [n=shoan@122.166.1.168] has quit [] 16:37 -!- RossC0 [n=RossC0@80.4.120.163] has left #agavi [] 16:43 * E_mE watches video of proud cats because his sessioning is making him feel like god :D 17:09 < MikeSeth> zomg 17:09 * MikeSeth groks defmacro 17:09 * MikeSeth is a winner 17:19 -!- MikeSeth [n=omnomnom@62.90.159.110] has quit ["fap."] 17:22 -!- E_mE [n=E_mE@89.104.225.116] has quit [Read error: 104 (Connection reset by peer)] 17:37 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 17:37 < Whisller> hi 17:51 -!- marklar [n=marklar@unaffiliated/marklar] has quit [No route to host] 17:54 -!- SunboX [n=Miranda@80.243.35.154] has quit [Read error: 104 (Connection reset by peer)] 18:05 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has joined #agavi 18:09 -!- shoan [n=shoan@59.92.131.19] has joined #agavi 18:19 < _cheerios> oh, both tickets marked as "fixed" in doctrine. 18:23 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit [Read error: 110 (Connection timed out)] 18:26 -!- kaos|work [n=dominik@dslb-084-063-124-072.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 18:29 -!- _cheerios [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["Leaving"] 18:44 -!- kaos|work [n=dominik@xdsl-87-79-52-73.netcologne.de] has joined #agavi 18:47 < Whisller_> ehh 18:47 < Whisller_> I replace routing.xml on the server and now routing doesn't work. Link looks like a shit 18:47 < Whisller_> That can be something with .htaccess? 18:48 < Whisller_> index.php?allparameters 18:48 < shoan> yep 18:48 < shoan> looks like a .htacess 18:48 < Whisller_> hmm works...fucking server 18:54 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 19:46 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has joined #agavi 20:04 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has quit [Read error: 110 (Connection timed out)] 20:39 < Wombert> http://news.php.net/php.internals/33929 20:39 < Wombert> way to be a dick if you ask me 20:39 < Wombert> zend guys are such fuckers 20:39 < Wombert> they don't even bother to read what you're saying 20:39 < Wombert> gnnnnnh 20:48 < _cheerios> is Stan uncool? should I hate him? 21:07 < Wombert> yes, and yes 21:13 < Whisller> why :> 21:27 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has joined #agavi 21:32 -!- Whisller_ [n=Whisller@chello089077162027.chello.pl] has quit [Client Quit] 21:46 -!- Whisller [n=Whisller@chello089077162027.chello.pl] has quit [Read error: 110 (Connection timed out)] 22:07 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has quit [Connection timed out] 22:08 < splatch`> hello 22:12 < _cheerios> ahh, no db troubles tonight. bliss. 22:14 -!- MrJeep [n=jpdery@modemcable188.10-70-69.static.videotron.ca] has quit ["Konversation terminated!"] 22:35 < Wombert> _cheerios: sounds like a mac would be just the right thing for you 22:35 < Wombert> "it just works" etc 22:35 < Wombert> :) 22:35 < _cheerios> i have linux for that :) 22:36 < Wombert> yeah sure 22:36 < Wombert> "uuuh my usb wifi thing won't work, uuuh" 22:36 < Wombert> "no love email to linux torvalds tonight" 22:36 < Wombert> "but tomorrow!" 22:36 < Wombert> "(if it works by then)" 22:37 * impl slaps Wombert 22:37 < Wombert> waht 22:37 < Wombert> you know I am right 22:37 < Wombert> :) 22:37 < Wombert> oh stanislav replied 22:37 * Wombert reads 22:38 < impl> psh if I thought you were right I would have tried harder to installed the cracked version of OS X on my box 22:38 < impl> :D 22:46 -!- kaos|work_ [n=dominik@xdsl-87-79-137-113.netcologne.de] has joined #agavi 22:53 < _cheerios> Wombert, was agavi logging broke in php 5.2.5? 22:53 < Wombert> if you have open_basedir or safe_mode, yes 22:53 < Wombert> they ruined glob() 22:53 < Wombert> there is a ticket 22:54 < _cheerios> i probably dont have those 22:56 < _cheerios> nope, checked. 22:57 < Wombert> what is the problem? 22:58 < _cheerios> im wondering if logging is working :) 23:00 < _cheerios> i'll add a hidden broken testpage to test, atleast i'll know im getting all the errors + emails, for sure! 23:02 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)] 23:03 < Wombert> well if you're not getting "invalid argument for foreach()" warns from the rotating logger appender, all is fine 23:03 -!- kaos|work [n=dominik@xdsl-87-79-52-73.netcologne.de] has quit [Read error: 110 (Connection timed out)] 23:04 < impl> stupid fucking PHP developers 23:04 < Wombert> you readn that namespace discussion? :p 23:05 < impl> Yes, and reading the above about glob() 23:05 -!- EoN [n=EoN@c211-30-133-191.carlnfd4.nsw.optusnet.com.au] has joined #agavi 23:06 < impl> god, stas is an asshole 23:07 < Wombert> "yes, I might know what you're gonna say, but hey, you wrote 'use', that's a, wait, let me switch to pedantic dick mode, NO-OP UUUUH" 23:09 < impl> PHP just needs to be scrapped 23:09 < impl> The problems they're running into are so pathetic and should be so trivial 23:10 < splatch`> go to right side of the power, use *java*! 23:10 < Wombert> unlearn you must everything you learned 23:10 < Wombert> :>>> 23:10 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 23:10 * Wombert hugs yoda 23:10 < Wombert> oh wait 23:10 < Wombert> impl: you're not into films much but 23:10 < Wombert> please 23:10 < Wombert> you have seen star wars, aye? 23:10 < impl> Hmm, probably 23:11 < Wombert> no way 23:11 < Wombert> you haven't 23:11 < Wombert> :<<<< 23:11 < impl> That's the one with the girl with the curly hair right? 23:11 < Wombert> AND YOU DON'T CARE ABOUT IT EITHER 23:11 < Wombert> loooool 23:11 < Wombert> :> 23:11 < Wombert> man 23:11 < Wombert> that fairy tale 23:11 < Wombert> set a long time ago 23:11 < Wombert> with space ships 23:11 < Wombert> and lasers 23:11 < splatch`> i have been on ITIl foundation training 23:11 < impl> Yeah, I've seen it :D 23:11 < Wombert> and evil emperors 23:11 < Wombert> and heroes 23:11 < Wombert> and pricesses 23:11 < Wombert> and lightsabers 23:11 < Wombert> zomg 23:11 < Wombert> :< 23:11 < Wombert> have you seen all? 23:12 < impl> I think so, but I don't remember them 23:12 < impl> We can, but we should not. Internal classes are internal for a reason - 23:12 < impl> people use them a lot. Making it hard to access frequently used classes 23:12 < impl> to enable rarely used functionality is not the right way to go. 23:12 < impl> EVERY OTHER LANGUAGE DOES IT 23:12 < Wombert> please tell me you ran to your room after the film finished and built an x-wing in lego 23:12 < Wombert> :< 23:12 < Wombert> please tell me you played with lego 23:12 < Wombert> :< 23:12 < impl> Of course! 23:12 * Wombert phew 23:12 < impl> I have like 20000 LEGO pieces 23:13 < Wombert> good 23:13 < Wombert> lots of lego technic, too? 23:14 < impl> Mostly 23:14 < impl> LEGO recently sucks though 23:14 < impl> I don't think you can buy those big buckets of just pieces anymore 23:14 < impl> kids aren't creative to know what to do with them :( 23:15 < impl> Everything is like stupid men that can throw discs and dinosaurs 23:15 < impl> no classics like race cars 23:17 < Wombert> yes 23:17 < Wombert> agreed 23:17 < Wombert> :< 23:17 < Wombert> I had that big car 23:17 < Wombert> with four gears 23:17 < Wombert> and independent suspension 23:17 < Wombert> and all wheel drive 23:17 < Wombert> the blackone 23:17 < Wombert> *black one 23:17 < Wombert> man that was ace 23:18 < Wombert> you know, with the white sport seats, where the trunk and hood lids opened 23:18 < Wombert> mmmmmh 23:22 < _cheerios> what email package do you guys use? 23:27 < impl> Wombert: haha 23:27 < Wombert> know which I mean 23:28 < impl> I think I do 23:28 < impl> looked sort of like a BMW maybe 23:28 < impl> _cheerios: client or server? 23:28 < _cheerios> server 23:29 < impl> the last time I set up a mailserver I used courier + exim, but I didn't really like exim at all 23:30 < Wombert> hooking it up to a motor was impossible tho :/ 23:30 < Wombert> these motors had suuuch low torque 23:30 < Wombert> I also had the cable remote controlled car 23:30 < Wombert> mmmh that was good :) 23:30 < Wombert> not the computer controlled seven parts stuff of today 23:30 < impl> I think I have an original Mindstorms controller somewhere 23:31 < Wombert> but you have to say, http://technic.lego.com/en-us/Products/New/8275.aspx is fucking ace 23:31 < impl> snap 23:33 < impl> hmm, I guess some of this stuff looks decent 23:35 < impl> http://news.php.net/php.internals/33942 23:35 < impl> wtf?? 23:36 < impl> I can't take this inconsistency and idiocy 23:36 < impl> I'm done with PHP, done with it. 23:37 < Wombert> http://www.brickset.com/detail.aspx?Set=8880-1 23:37 < Wombert> this 23:37 < impl> ahh 23:38 < impl> I think that's what I was thinking of, or at least one like it 23:38 < impl> It doesn't look as much like a BMW as I thought :P 23:38 < Wombert> oooh man and this was so ace too http://www.brickset.com/detail.aspx?Set=8856-1 23:39 < Wombert> see the winch wheel? 23:39 < Wombert> the handle piece? 23:39 < Wombert> that was one of the first times where they had that piece 23:39 < Wombert> with one short end, that was able to rotate inside the hole 23:39 < Wombert> oooh man 23:40 < impl> =D 23:40 < Wombert> with the big wheel, you could make the rotor rotate 23:40 < Wombert> and now the fucking best thing 23:40 < Wombert> there was a joystick in the cockpit 23:40 < Wombert> which moved the rotor head in all four directions 23:40 < Wombert> oooooooooh 23:41 < Wombert> that 23:41 < Wombert> s it 23:41 < Wombert> my decision has been made 23:41 < Wombert> I hereby announce 23:41 < Wombert> I will _only_, _ever_ have children 23:41 < Wombert> if lego still makes awesome stuff by then 23:42 < impl> I had this one: http://www.brickset.com/detail.aspx?Set=8448-1 23:42 < Wombert> and yes, the rear rotor moved, too. with a different ratio. see the shaft? 23:42 < Wombert> oh god 23:42 < Wombert> I sooo want to be 10 again 23:42 < Wombert> :< 23:42 < impl> it had the moving pistons too 23:42 < Wombert> mh wait 10 is aaaalmost too old :p 23:42 < Wombert> the pneumatic stuff? 23:42 < Wombert> aaah 23:42 < Wombert> "it" 23:42 < Wombert> sorry 23:42 < impl> :< 23:43 < Wombert> http://www.brickset.com/detail.aspx?Set=8034-1 this I had 23:44 < Wombert> this too had a rotating rear rotor w/ shaft 23:44 < Wombert> 1989 23:44 < Wombert> daaamn 23:44 < Wombert> and http://www.brickset.com/detail.aspx?Set=8032-1 23:44 < Wombert> http://www.brickset.com/detail.aspx?Set=8044-1 first pneumatic! 23:44 < Wombert> OOOH DUUUDE 23:44 < Wombert> http://www.brickset.com/detail.aspx?Set=8064-1 23:44 < Wombert> :>>>>>>>>> 23:45 < Wombert> first motor set I had 23:45 < Wombert> woot 23:45 < Wombert> http://www.brickset.com/detail.aspx?Set=8082-1 the remote control one 23:45 < Wombert> two motors, one engine, one for steering 23:46 < Wombert> you controlled them using the two levers on the remote control you build using lego 23:47 < Wombert> nowadays they're all called "speeeeed slammers" and "spyder slayer" :< 23:48 < Wombert> http://www.brickset.com/detail.aspx?Set=8425-1 so good 23:49 < Wombert> check this out impl: http://www.brickset.com/detail.aspx?Set=8838-1 23:49 < Wombert> with moving pistons! 23:49 < Wombert> a v2 motorbike engine woot 23:50 < Wombert> do you see the radiator? made from two oldschool grille parts, not readymade parts like today 23:50 < Wombert> :< 23:50 < Wombert> oooh old wheels :> http://www.brickset.com/detail.aspx?Set=8810-1 23:50 < impl> haha, I have a ton of those grille parts 23:50 < Wombert> go kart with the old steering part :>>>> http://www.brickset.com/detail.aspx?Set=8815-1 23:50 < Wombert> (and a moving piston) 23:51 < Wombert> http://www.brickset.com/detail.aspx?Set=8836-1 ace 23:51 < Wombert> aaah the olden times 23:51 < impl> other awesome way to make grilles like on trucks was with a flat six-bumper then two flat one-bumpers on the outside, repeat but then move the one-bumpers in one, then out one, then in one, then out one 23:51 < impl> I doubt that made sense :> 23:52 < Wombert> ------ 23:52 < Wombert> - - - 23:52 < Wombert> - - 23:52 < Wombert> ------ 23:52 < Wombert> like that? 23:52 < Wombert> - - - for third row 23:52 < Wombert> so it looks like a mesh? 23:52 < impl> hmm, that wasn't exactly what I was thinking 23:53 < impl> but I bet that would look cool 23:53 < Wombert> well I don't know what a "bumper" is really ;) 23:53 < impl> that's how I call pieces 23:53 < impl> I guess I must have invented it when I was little 23:53 < Wombert> http://news.php.net/php.internals/33943 23:53 < impl> six bumper = six bumps in a row :P 23:53 < Wombert> WHAT IS WRONG WITH THIS GUY 23:53 < Wombert> HAS HE PROBLEMS UNDERSTANDING BASIC ENGLISH 23:53 < Wombert> IS IT MY FAULT 23:53 < Wombert> IS EITHER OF US A BIG ASS RETARD 23:53 < Wombert> OR WHAT THE HELL 23:53 < Wombert> ZOMG 23:54 < Wombert> waaaaaah 23:54 < Wombert> :< 23:54 < impl> so he thinks that include() inside autoload is slower than include() inside __main__ or what? 23:55 < Wombert> no 23:55 < Wombert> no no 23:55 < Wombert> too complicated 23:55 < Wombert> as my example did not have code that require()s or so 23:55 < impl> haha 23:55 < Wombert> he says "uuh this example is stupid" 23:55 < Wombert> "does your autoloader never load anything?" 23:55 < Wombert> gaaawd 23:56 < impl> "what do you think is implied by // the real deal? OH MAYBE IT'S A NO-OP" 23:56 < Wombert> and 23:56 < Wombert> http://news.php.net/php.internals/33944 23:56 < Wombert> wtf? 23:57 < jake> I agree 23:57 < jake> well, sort of, that's complicated :) 23:57 < jake> I don't think that should be allowed really 23:57 < Wombert> wtf? 23:58 < Wombert> yes but WHY THE HELL WILL HE NOT UNDERSTAND IT 23:58 < Wombert> am I expressing myself that badly? 23:58 < Wombert> *bad 23:58 < Wombert> *badly 23:58 < Wombert> *bad 23:58 < Wombert> whatever 23:58 < Wombert> :p 23:58 < jake> I can't find the thread 23:58 < impl> tbh I don't really understand what you're doing with the DateTime stuff 23:59 < impl> it looks like what you want PHP to do is wrong and what he wants PHP to do is also wrong 23:59 < impl> jake: http://news.php.net/php.internals/33939 23:59 < Wombert> impl: nono I don't _want_ that 23:59 < jake> Well, it really comes down to conflict resolution. In java, if you have two classes with the same name, and import both namespaces, you can't instantiate the class without specifying the namespace 23:59 < Wombert> it would just be this way with the current implementation 23:59 < jake> that seems reasonable 23:59 < jake> otherwise the prescedence rules get wonky 23:59 < Wombert> yes, jake, but that doesn't work given that PHP's own stuff can't be in a namespace --- Day changed Wed Dec 12 2007 00:00 < jake> true 00:00 < jake> I just don't like precendence rules 00:00 < impl> I don't either 00:00 < impl> namespaces are going to fuck up PHP 00:01 < impl> they're going to do it absolutely wrong 00:01 < jake> I think namespaces are important 00:01 < jake> I just hope that it's done right :) 00:01 < impl> jake: Did you see that other patch ? the multiple-namespaces-per-file one? 00:01 < impl> and the import from the global namespace one? 00:01 < jake> no, I don't follow internal 00:01 < Wombert> lolz :> 00:01 < impl> http://news.php.net/php.internals/33942 00:01 < Wombert> namespace zomg; { 00:01 < Wombert> / code here 00:01 < impl> It looks so fucking stupid 00:01 < Wombert> THERE ARE YOUR CURLY BRACES FOLKS WOOT! 00:02 < Wombert> (they are serious) 00:02 < Wombert> I mean, come on... 00:02 < Wombert> namespace foo; 00:02 < Wombert> class Zomg {} 00:02 < Wombert> namespace bar; 00:02 < Wombert> class Lolz{} 00:02 < Wombert> that seemswrong 00:02 < jake> hmm. Their namespace implementation is like C++ 00:02 < Wombert> braces for everything, if any 00:02 < impl> jake: No, even C++ has got it better 00:02 < impl> namespace blah { ... } 00:02 < jake> yeah, true 00:02 < jake> that implementation is shit 00:02 < jake> that's not getting rolled into PHP is it? 00:02 < Wombert> http://news.php.net/php.internals/33948 and http://news.php.net/php.internals/33949 my replies 00:03 < impl> In about 24 hours, yes 00:03 < Wombert> it is in already, jake 00:03 < jake> oh god 00:03 < impl> I'M TELLING YOU GUYS NOW ABANDON SHIP 00:03 < jake> is Ramsus not weighing in on this at all? 00:03 < Wombert> nope 00:03 < Wombert> it's the clueless zend folks again 00:03 < jake> argh 00:03 < impl> come with me to python, the dark side is better 00:03 < Wombert> shut up impl or I'm gonna do it :p 00:04 < jake> heh. I use the right tool for the job. Our backend stuff ends up being Java, RoR or Python. I like PHP for the web framework 00:04 -!- jake [n=jake@cpe-66-61-162-140.indy.res.rr.com] has left #agavi ["Leaving"] 00:04 -!- jake [n=jake@cpe-66-61-162-140.indy.res.rr.com] has joined #agavi 00:04 < jake> I'm having a hard time switching between Linux and OS X these days :) 00:04 < Wombert> they haven't even decided whether to use "import" or "use" yet 00:05 < Wombert> they started with "import" 00:05 < Wombert> even though "use" is a reserved word already 00:05 < Wombert> ... 00:05 < Wombert> and didn't give a fuck about "import" being used all over the place in function names 00:05 < Wombert> (which shouldn't matter, but this is PHP...) 00:05 < Wombert> until they realized that zend framwork uses import() in some places 00:05 < Wombert> ... 00:05 < Wombert> GRRRRRRRRRRR 00:06 < jake> hah 00:06 < impl> wait 00:06 < impl> so they went back to use ?? 00:06 -!- CelticSon [i=Celtic@port-212-202-201-234.dynamic.qsc.de] has joined #agavi 00:06 < _cheerios> at some point, yes 00:06 < impl> SO NOW THE HOURS WE SPENT TRYING TO FIGURE OUT NEW NAMES FOR IMPORT AND EXPORT IN AGAVICONFIG ARE WASTED?! 00:07 < Wombert> http://news.php.net/php.internals/33950 00:07 < Wombert> HOW STUPID IS HE 00:07 < Wombert> impl: no, not yet I think 00:07 < Wombert> hence his stupid comment about "use" being a no-op 00:07 < impl> omgs 00:08 < impl> hahaha 00:08 < impl> Their new system 00:08 < impl> http://pear.php.net/~greg/namespace/PHP_6_0/multi.patch.txt 00:08 < impl> +if (!CG(current_namespace) && num > 0) { 00:08 < impl> SO 00:09 < impl> If you're not using namespaces, you can't switch to one later. But if you do use a namespace you can switch whenever you want later in the code. 00:10 < impl> ah that's excellent. 00:14 < Wombert> aaaah 00:14 < Wombert> use Name::Space 00:14 < Wombert> I then have to do new Space::DateTime() now 00:14 < Wombert> because use Name::Space = use Name::Space as Space 00:14 < Wombert> when did they change that 00:15 < impl> ?? 00:15 < Wombert> but the problem still exists inside namespace Name::Space 00:15 < impl> what the fuck. 00:16 < impl> what happens if you have Name::Space and Empty::Space? 00:16 < Wombert> import Empty::Space as ESpace; 00:16 < Wombert> or use 00:16 < Wombert> :p 00:16 < impl> so you can't have both at once?! 00:17 * Wombert hugs jake 00:17 < Wombert> thanks 00:18 < Wombert> you can, but you need to alias one 00:18 < Wombert> else name conflict 00:18 < Wombert> apparently 00:18 < Wombert> even if they don't have identical class names 00:18 < impl> That is incredibly stupid. 00:18 < Wombert> well you need to avoid collisions one way or another 00:18 < impl> use Name::Space; should be Name::Space::DateTime() 00:19 < impl> use Empty::Space; should be Empty::Space::DateTime() 00:20 < Wombert> for a new DateTime() ? 00:20 < jake> Wombert if you have any questions let me know, sorry it's so brief :) 00:20 < impl> Yes ... of course 00:20 < Wombert> you must do new Space::DateTime() 00:20 < Wombert> use Name::Space as NSpace; 00:20 < Wombert> use Empty::Space as ESpace; 00:20 < Wombert> new NSpace::DateTime(); 00:20 < Wombert> new ESpace::DateTime() 00:21 < impl> python: import os.path; if os.path.exists(...): 00:21 < Wombert> I believe the reason is that this way, they can detect collisions at compile time 00:21 < impl> That's how it should look 00:21 < Wombert> they can look at the file and tell collisions from the use statements 00:21 -!- kaos|work_ [n=dominik@xdsl-87-79-137-113.netcologne.de] has quit [] 00:21 < Wombert> whereas with a java-style approach, they'd have to do it at runtime 00:22 < Wombert> java can do that since everything is compiled 00:22 < impl> but if they just imported the whole thing they wouldn't have to check for collisions at all! 00:22 < Wombert> but what does "import" mean 00:22 < impl> er, I mean 00:22 < Wombert> they cannot know what classes are in Space 00:22 < Wombert> due to autoloading 00:22 < impl> oh god 00:22 < impl> Now I see why this is such a weird problem 00:22 < Wombert> I understand their motivations, but this stuff is just not helpful 00:23 < Wombert> hence my suggestion to scrap it altogether 00:23 < impl> This is awful 00:23 < Wombert> ideally, we need some way of registering a namespace 00:23 < Wombert> not sure how 00:23 < Wombert> python style __init__.py files or whatever :p 00:24 < Wombert> you know, just like you register an autoloader 00:24 < Wombert> mh 00:24 < Wombert> thought about that couple of times, never had a good idea 00:24 < Wombert> but 00:24 < Wombert> need to settle down now and go to bed :) 00:24 * impl kicks PHP and goes to calculus and python 00:26 < Wombert> bai 00:26 < impl> bai2u 00:26 < Wombert> thanks again jake 00:26 -!- Wombert [n=Wombert@dslb-084-056-059-202.pools.arcor-ip.net] has quit [] 00:30 -!- _cheerios [n=jacklo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has quit ["nn"] 01:09 -!- v-dogg [i=vmakinen@kapsi.fi] has quit [Read error: 101 (Network is unreachable)] 01:11 -!- v-dogg [i=vmakinen@kapsi.fi] has joined #agavi 01:13 -!- epaulin [n=epaulin@219.137.220.209] has joined #agavi 01:13 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi 01:59 -!- epaulin_ [n=epaulin@218.19.216.56] has joined #agavi 01:59 -!- epaulin [n=epaulin@219.137.220.209] has quit [Read error: 104 (Connection reset by peer)] 02:15 -!- CelticSon [i=Celtic@port-212-202-201-234.dynamic.qsc.de] has quit [" HydraIRC -> http://www.hydrairc.com <- Nine out of ten l33t h4x0rz prefer it"] 02:50 -!- epaulin_ is now known as epaulin 02:57 -!- eremit_ [n=eremit@p5B23632A.dip.t-dialin.net] has joined #agavi 03:05 -!- eremit [n=eremit@p5B235ECE.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 03:41 -!- nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit ["Leaving"] 05:02 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 05:04 < v-dogg> huomenta 05:08 < shoan> huomenta 05:08 < v-dogg> hey shoan, what's up 05:09 < shoan> a lot of work 05:09 < shoan> :) 05:09 < v-dogg> there too! :) 05:10 < shoan> yeah.. its a global phenomenon just before the holiday season 05:11 -!- Arme[N] is now known as Arme[0] 05:11 < Arme[0]> huomenta 07:15 -!- eremit_ is now known as eremit 07:17 -!- shoan_ [n=shoan@59.96.45.168] has joined #agavi 07:24 -!- shoan [n=shoan@59.92.131.19] has quit [Read error: 110 (Connection timed out)] 07:37 -!- marklar [n=marklar@bzq-80-88-209.dsl.bezeqint.net] has joined #agavi 08:14 -!- danielancuta [n=danielan@80.72.37.90] has joined #agavi 08:14 -!- danielancuta is now known as Whisller 08:14 < Whisller> Hi all :) 08:15 < shoan_> i think the agavi build script is broken for the help task 08:15 -!- shoan_ is now known as shoan 08:18 < v-dogg> shoan: no! can't be! I made it 08:18 < v-dogg> works here 08:18 < v-dogg> what seems to be the problem? 08:19 < shoan> v-dogg: http://pastebin.com/d7283c419 08:20 < v-dogg> and if you just run "agavi"? 08:21 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 08:21 < shoan> v-dogg: that works. the project task works too 08:22 < RossC0> huomenta!# 08:23 < shoan> -> office 08:24 -!- shoan [n=shoan@59.96.45.168] has quit [] 08:35 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 08:41 -!- SunboX [n=Miranda@83.221.254.56] has joined #agavi 08:43 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)] 08:44 < SunboX> hi. Is it possible to use the MojaviLogAdapter with Agavi wich is packed with Propel? 08:44 -!- codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi 08:46 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 08:46 < malax> HUOMENTA everyone! 08:49 < v-dogg> SunboX: probably not directly, interfaces have changed a bit 08:49 < v-dogg> but not a lot. you can most likely start using with only small modifications 08:53 -!- Wombert [n=Wombert@dslb-084-056-059-202.pools.arcor-ip.net] has joined #agavi 08:55 < SunboX> yes, i see 08:55 < SunboX> just have to setLogLeve and call log 08:55 < SunboX> this will be easy :D 08:58 < Wombert> huomenta 09:01 < v-dogg> womb womb womb 09:05 < RossC0> HUOMENTA! 09:05 * RossC0 hugs the Agavists 09:09 < v-dogg> the elite group 09:09 < v-dogg> THE elite group 09:10 < RossC0> woot ELITE 09:11 < Wombert> :>>> 09:15 < RossC0> I just got given an Agave plant :D 09:15 < RossC0> secret santa 09:17 < Wombert> :>>>>>> 09:18 < Wombert> ace 09:18 < Wombert> in the office? 09:18 < Wombert> coool 09:18 < Wombert> is it nice? 09:18 < Wombert> it blossoms after ten years or so 09:18 < Wombert> and then it grows veeeery tall 09:18 < Wombert> I think 09:25 < Wombert> make a photo and blog it :) 09:25 -!- E_mE [n=E_mE@89.104.225.116] has joined #agavi 09:26 < E_mE> huomenta 09:29 -!- Wombert_ [n=Wombert@dslb-084-056-016-198.pools.arcor-ip.net] has joined #agavi 09:31 -!- _cheerios [n=jackbo@hkibrasgw1-feaedd00-249.dhcp.inet.fi] has joined #agavi 09:31 < _cheerios> huomenta 09:38 < SunboX> AgaviLoggerAdapter for Propel. Untested, but should work -> http://p.caboo.se/127397 09:41 < v-dogg> could you do some __call magic and remove alert(), crit(), err() and so on? 09:44 -!- Wombert [n=Wombert@dslb-084-056-059-202.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 09:45 < SunboX> godd idea 09:45 -!- Yossi [n=nospam@62.90.159.110] has joined #agavi 09:45 < Yossi> Hello 09:45 < SunboX> mean 'good' not 'godd' *g 09:45 < Wombert_> five bucks BasicLogger mandates these methods :p 09:46 < Wombert_> and make the context name configurable 09:47 -!- Wombert_ is now known as Wombert 09:49 -!- SunboX [n=Miranda@83.221.254.56] has quit [Read error: 104 (Connection reset by peer)] 09:51 < v-dogg> oh. yes. of course. 09:51 < v-dogg> BasicLogger has those methods :) 09:51 < v-dogg> "* The API for this interface is based on the PEAR::Log interface. " 09:52 < v-dogg> figures :) 09:53 < Yossi> I just read the validation part of the manual, I didn't get where I should run the input through anti-xss functions like htmlentities()... 09:55 < v-dogg> write a validator that does that 09:56 < Yossi> ok 09:57 < Wombert> uhm 09:57 < Wombert> no 09:57 < Wombert> nono 09:57 < Wombert> don't store htmlentitites() stuff in the database 09:57 < v-dogg> (I was waiting for Wombert to wake up :) 09:57 < Wombert> and 09:57 < v-dogg> I knew I could count on you mate :) 09:57 < Wombert> htmlentities() are for people who haven't read http://www.joelonsoftware.com/articles/Unicode.html 09:58 < Wombert> btw, v-dogg, did we talk about the "how I explained REST to my wife" article? 09:58 < Wombert> or have you read that 09:58 < v-dogg> no, I haven't 09:58 < Wombert> http://tomayko.com/articles/2004/12/12/rest-to-my-wife 09:59 < Wombert> here. very nice. check comment #6 when you're done, too ;) 10:05 -!- SunboX [n=Miranda@80.243.35.154] has joined #agavi 10:06 < v-dogg> hehe 10:07 -!- MikeSethOnEmacs [n=omnomnom@62.90.159.110] has joined #agavi 10:14 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)] 10:16 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 10:23 -!- shoan [n=shoan@122.166.1.168] has joined #agavi 10:23 < shoan> v-dogg: was that a bug in the build script? 10:25 < v-dogg> shoan: can you replace the two includes in AgaviInfoTask.php with requires_once 10:25 < v-dogg> because this is obviously failing 10:25 < v-dogg> why, I have no idea 10:25 < shoan> i will check 10:27 -!- digitarald [n=Miranda@146.Red-83-55-56.dynamicIP.rima-tde.net] has joined #agavi 10:27 < digitarald> Huomenta! 10:35 < Wombert> hai 10:37 < E_mE> digitarald: how do i store attributes on mootool elements again? i think it as something like my_el.$attribute['blah'] = foo; 10:39 < MikeSethOnEmacs> huomenta 10:39 < digitarald> E_mE: 1.1 or 1.2b? 10:40 < digitarald> my_el.$attributes.blah = x; for 1.11 10:40 < E_mE> for 1.2? 10:40 < E_mE> thanx :D 10:40 < digitarald> 1.2b has a new storage engine and does not save data to the element, but to a global object using a unique element id 10:41 < Wombert> there's a #mootools btw :p 10:41 < MikeSethOnEmacs> >< 10:44 -!- malax [n=malax@unaffiliated/malax] has quit [Read error: 110 (Connection timed out)] 10:45 -!- malax [n=malax@unaffiliated/malax] has joined #agavi 10:45 < Yossi> I have read the article on unicode. I guess I should use htmlspecialchars() and pass it the encoding I want. Thanks 10:45 < Wombert> no, Yossi 10:46 < Yossi> sec htmlentities() takes incoding as an argument... 10:46 < Wombert> htmlspecialchars encodes only the necessary xml entities 10:46 < Wombert> you do not need to encode the rest if you use utf8, which I hope you do 10:46 < Wombert> and you should not encode the data you put into the database 10:47 < Wombert> escape it during output 10:47 < Wombert> sure, you can clean it of xss attempts or such, but do not encode it 10:47 < Yossi> Im not putting anything into a db... im just outputting it 10:48 < Wombert> that makes no difference still 10:49 < Wombert> escaping stuff in a validator is just wrong 10:49 < Wombert> hope that is obvious :) 10:51 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 10:54 < Xylakant> hi all 10:55 < digitarald> Huomenta ;) 10:55 < Xylakant> one of my devs here just reported that the fpf breaks javascript 10:55 < Xylakant> it seems the fpf tries to escape the script, so that it's xhtml compliant 10:56 < Xylakant> which disables the whole script if the script is place all on one line with the script tags 10:56 < Xylakant> such as 10:56 < Xylakant> is such a behaviour known? 10:57 < Xylakant> otherwise, i'll get a reproduction recipe and file a bug :) 10:57 < digitarald> i always use cdata in script tags 10:59 < Wombert> and with a newline, it works? 10:59 < Xylakant> yes, it does 10:59 < Wombert> that would be a libxml problem then 10:59 < Xylakant> no it's more that the escaping code disables the js code by adding a comment at the beginning of that line 11:00 < Xylakant> i can get a reproduction recipe 11:00 < Wombert> yes 11:00 < Wombert> a