--- Log opened Thu Mar 01 00:00:58 2007 00:06 < Wombert> MrJeep: can you try the /u modifier 00:06 < Wombert> on that pattern 00:07 < MrJeep> btw this is not on my server 00:07 < MrJeep> but it happened twice on linux servers 00:11 < MrJeep> preg_match('/dsadsa/u'... ? 00:11 < Wombert> yes 00:11 < Wombert> but I guess we could replace that with [A-Z] 00:11 < Wombert> it's interesting though that these properties don't work but /u in FPF etc does 00:12 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 00:13 < Wombert> the problem with /u is that non-utf8 files would cause errors 00:13 < Wombert> can you replace \p{Lu} with [A-Z], that should work 00:14 < MrJeep> which file ? 01:53 < Wombert> the file and line in the error message, MrJeep 01:54 < impl> MrJeep: Of course the *real* solution is to recompile PHP with unicode support in PCRE 01:59 < Wombert> I just want to hear if that solves his issue 01:59 < Wombert> if yes, we'll change it 02:00 < Wombert> that only works in utf8 mode anyway but we don't use /u 02:00 < Wombert> probably an oversight 02:00 < Wombert> I used it because some smartass might use setÖsterreich or whatever 02:14 -!- Wombert [n=Wombert@dslb-084-056-018-202.pools.arcor-ip.net] has quit [] 02:56 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 03:42 -!- v-dogg_ [i=vmakinen@phantom.daug.net] has joined #agavi 03:46 -!- v-dogg [i=vmakinen@phantom.daug.net] has quit [Read error: 104 (Connection reset by peer)] 04:39 -!- benny`work [n=benny@p54AC340D.dip0.t-ipconnect.de] has quit [Read error: 60 (Operation timed out)] 05:02 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 05:02 < horros_> morning 06:02 < horros_> w00t 06:02 < horros_> me' agavi app is generating rss feeds \o/ 06:58 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 07:12 < MrJeep> nice 07:12 < MrJeep> url 07:12 < MrJeep> ? 07:38 < horros_> n/a 07:38 < horros_> :) 07:45 < horros_> *yawn* 07:53 * horros_ humms 08:11 < v-dogg_> huomenta 08:12 < horros_> huomenta 08:12 < v-dogg_> horros_: did you use some component to do that? 08:12 < horros_> v-dogg_, aye, "FeedCreator" 08:12 < horros_> php4, but seems to integrate pretty well 08:13 < horros_> should replace all var with public though 08:13 < horros_> plus I had to h4x the encoding and content type 08:13 -!- _stachu2 [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 08:13 < v-dogg_> ok 08:14 < horros_> I had to manually change the content type to application/rss+xml and set the encoding to utf-8, then it worked like a charm. firefox recognized it as an rss feed 08:15 < horros_> dunno why it wouldn't use the one I told it to use to begin with, but it might be a case of EVO 08:15 < horros_> which brings me to two things; 08:16 < horros_> a) can I somehow support HTTP authentication for the rss-module? 08:16 < horros_> and 08:16 < horros_> b) ...umm..err... I forgot :I 08:17 < horros_> oh yeah 08:17 < horros_> b) is there any quick/smart/fancy/womberty way to get the protocol + server stuffed to the routes $ro->gen() generates? 08:18 < horros_> or should I just use $_SERVER? 08:19 < horros_> aha 08:19 < horros_> hmm, there seems to be 08:19 < v-dogg_> gen(string name, array parameters, array options) 08:20 < v-dogg_> array('relative' => false) 08:20 < horros_> aha 08:20 < horros_> cool 08:20 < horros_> let me test that. 08:20 < v-dogg_> response's redirecting does it for you if you give it a relative url 08:22 < horros_> well, just setting the relative => false thing worked like a charm 08:22 < horros_> now I even get proper links in my rss feed :) 08:23 < horros_> I think I'ma take a little nap. been working since 5am :) 08:23 < v-dogg_> that's always nice 08:23 < horros_> back in an hour or so 08:36 -!- Wombert [n=Wombert@dslb-084-056-018-202.pools.arcor-ip.net] has joined #agavi 08:39 < Wombert> huomenta 08:43 < v-dogg_> hi there 08:43 < v-dogg_> what's up 08:45 < Wombert> not much 09:05 -!- v-dogg_ is now known as v-dogg 09:11 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 60 (Operation timed out)] 09:20 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:26 < _cheerios> huomenia 09:36 -!- [1]Whisller [n=Whisller@217.97.146.67] has joined #agavi 09:39 -!- [1]Whisller [n=Whisller@217.97.146.67] has quit [Client Quit] 09:39 -!- [1]Whisller [n=Whisller@217.97.146.67] has joined #agavi 09:47 < _cheerios> modern graffiti http://www.youtube.com/watch?v=EFWcAkxzkv4 09:52 < _cheerios> http://www.flickr.com/photos/urban_data/396087351/ awesome 10:02 -!- [1]Whisller [n=Whisller@217.97.146.67] has quit [Read error: 113 (No route to host)] 10:04 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 10:05 -!- Arme[N] is now known as Arme[0] 10:15 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:15 < RossC0> morning 10:16 < Wombert> y0 10:17 < RossC0> I *got* to do unit tests for my actions - any advice on how to setup 10:23 -!- digitarald [n=Miranda@62-43-162-113.user.ono.com] has joined #agavi 10:58 < Wombert> RossC0: not really 11:03 < Wombert> RossC0: configure an environment for unit testing 11:03 < Wombert> it can have different features 11:04 < Wombert> for instance, the response there might override send() so it writes the output to a string instead of stdout 11:05 < Wombert> or, better, just skip out of send() right away and test the response object for its contents 11:05 < Wombert> uh wait 11:05 < Wombert> $response = $container->getResponse(); 11:05 < Wombert> 191 $response->merge($this->response); 11:05 < Wombert> 192 $response->send($container->getOutputType()); 11:06 < Wombert> should dispatch() return that response? 11:06 < Wombert> or should that response be put into the controller (as $this->response) 11:06 < Wombert> otherwise, testing that is a bit difficult...hmm 11:07 < RossC0> yeah.. 11:08 < Wombert> testing actions _should_ be easy btw 11:08 < Wombert> create an execution container 11:08 < Wombert> execute() it 11:08 < Wombert> you get back the response 11:08 < RossC0> execution container ? 11:08 < Wombert> boostrap() a testing env 11:08 < Wombert> create a context instance 11:09 < RossC0> ah ok 11:09 < Wombert> $res = $ctx->getController()->createExecutionContainer('Module', 'Action', ..., ...)->execute(); 11:09 < RossC0> oww cool 11:09 < Wombert> agavi's own unit testing stuff will work somehow like that I guess 11:09 < Wombert> I can't promise that works though 11:09 < Wombert> and remember 11:10 < Wombert> no global filters run and stuff 11:11 < RossC0> that'll keep me going - I'll try and start that today 11:12 < RossC0> and then hound you with questions Wombert !! Muhahahahaha! 11:12 < RossC0> thanks for the pointers xD 11:12 < Wombert> please do 11:12 < Wombert> we have no clue yet how to do all the testing infrastructure for 1.0 11:12 < Wombert> and your experience will help 11:12 < Wombert> plus 11:12 < Wombert> your needs give the necessary ideas 11:12 < Wombert> so feel free to write down what you need 11:13 < Wombert> we had in mind... unit testing... does the action run, what attributes does it set, does the view work, does the model work 11:13 < Wombert> and functional testing 11:13 < Wombert> i.e. does route /foo/bar return
... 11:13 < Wombert> with cookie "lala" 11:13 < Wombert> and so on 11:14 < Wombert> symfony has some stuff on that which is pretty good because you can use... not sure... dom or so to test the output 11:14 < RossC0> sure - I'll get cracking and then see how it goes - functional testing will be fun! 11:14 < Wombert> we should use xpath for that 11:14 < Wombert> definitely 11:14 < RossC0> but the main thing is the unit tests at the moment 11:14 < Wombert> I expect that we will have to rework some of the internals so they provide the necessary hooks 11:14 < Wombert> well the exec filter should get you running 11:15 < Wombert> exec container 11:15 < Wombert> I mean 11:15 < Wombert> try that, I hope it works 11:15 < RossC0> well its the best way to get in shape for 1.0 11:15 * Wombert keeps fingers crossed 11:15 < Wombert> yes definitely 11:15 < RossC0> ok I got bug fixes this morning then tests this afternoon 11:16 < Wombert> inspiration: http://www.symfony-project.com/weblog/2006/09/19/new-testing-framework.html 11:16 < RossC0> btw fixed MooSelector IE bugs 11:16 < Wombert> lovely 11:16 < RossC0> I think the doctrine guys were looking at lime 11:17 < Wombert> we're not gonna use lime ofc 11:17 < Wombert> it sucks ass 11:17 < Wombert> http://www.symfony-project.com/book/trunk/15-Unit-and-Functional-Testing 11:17 < Wombert> here's more 11:17 < RossC0> never used it 11:18 < Wombert> we'll base our stuff on PHPUnit3, at least for the functional tests 11:18 < Wombert> errr 11:18 < Wombert> for the unit tests 11:18 < Wombert> my idea was to shoot sebastian a mail once we're ready to start working on it and ask him for advice, describing what we need 11:18 < Wombert> and offering to write down our experiences in return 11:18 < Wombert> I hope he'll help us ;) 11:18 < RossC0> cool makes sense :) 11:19 < Wombert> one thing we have to think about is getting away from phing 11:19 < Wombert> I don't like it, it seems like one giant hack, but maybe that's just because I don't have a clue about it 11:19 < RossC0> really? 11:19 < RossC0> ah ok 11:19 < Wombert> yes, it's awfully complicated somehow 11:19 < RossC0> I never used it apart from the agavi project 11:19 < Wombert> all the property overwriting and... just look at src/build.xml... 11:20 < RossC0> hmm not nice 11:21 < RossC0> ok bbl 11:22 < Wombert> yes I'll be away too 11:22 < Wombert> ttyl 11:42 -!- Arme[0] is now known as Arme[N] 11:43 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 12:01 < horros> now this is proper wake-up music 12:02 * horros cranks up Nargaroth - Black Metal ist Krieg 12:35 * horros fires up the beloved wonderful stupendously great Cisco VPN Client 12:35 < horros> bbl 12:38 < v-dogg> change it to some hardware vpn 12:57 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] 13:06 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 13:06 < horros> bleh 13:15 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 13:21 -!- shoan_ [n=shoan@59.92.155.252] has joined #agavi 13:24 < shoan_> i was troubleshooting database connectivity and did a var_dump($this->getContext()->getDatabaseManager(); in executeRead() and got no output. Is that normal? 13:25 -!- shoan_ is now known as shoan 13:31 < RossC0> shoan: sounds odd - var_dump($this->getContext()->getDatabaseManager(); the exact line? 13:31 < RossC0> its missing a ) 13:31 < RossC0> also was it a simple action? 13:35 < shoan> RossC0: I added it to the login action of the sample app 13:36 < shoan> the apache tread runs with 96+% cpu usage 13:36 < Wombert> shoan: use_database on? 13:36 < shoan> Wombert: hmm 13:36 -!- digitarald [n=Miranda@62-43-162-113.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 13:37 < shoan> Wombert: that could be it, let me check 13:37 < shoan> but shouldn't an exception be thrown instead? 13:42 < shoan> Wombert: I just use_database to true and cleared out cache/ 13:42 < shoan> still get no output 13:44 < v-dogg> shoan: add another echo and then exit; 13:44 < v-dogg> to see if it's actually executed 13:45 < v-dogg> do you get any output? exceptions? (they wipe out other output iirc) 13:46 < shoan> hang on ... 13:48 * v-dogg hangs 13:51 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["Leaving"] 13:53 < shoan> v-dogg: this is what I added to the stock login class in the sample app 13:54 < shoan> public function executeRead(AgaviRequestDataHolder $rd) { var_dump($this->getContext()->getDatabaseManager()); echo 'test';exit; 13:54 < shoan> } 13:54 < shoan> still get a blank screen 13:54 < shoan> I have a feeling that I'm doing something st00pid 13:55 -!- digitarald [n=Miranda@62-43-162-113.user.ono.com] has joined #agavi 13:58 < v-dogg> that method is not executed if you get nothing 13:59 < Wombert> did you up error_reporting 13:59 < Wombert> var_dump() would at least give NULL 14:00 < v-dogg> hey, what other execute methods you have there? 14:04 < v-dogg> ah, nevermind. execute$Method takes precedence 14:04 < Wombert> yep 14:23 < shoan> ok heres the thing 14:23 < Wombert> shoot 14:23 < shoan> the sample databases.xml 14:23 < shoan> has parameter name="user" instead of parameter="username" 14:24 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 14:24 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 131 (Connection reset by peer)] 14:25 < Wombert> okay butz 14:25 < Wombert> you still should be able to grab the database manager 14:25 < Wombert> oO 14:27 < CIA-11> david * r1808 /branches/0.11/ (3 files in 2 dirs): fixed typos ('user' should be 'username') 14:27 < shoan> Wombert: i didn't check 14:28 < shoan> thanks :) 14:28 < Wombert> btw, use "agavi project" to make a blank project 14:28 < Wombert> don't start from the sample app 14:33 < shoan> Wombert: yep. I know. I was just messing around ;) 14:38 < Whisller> Hi. 14:39 -!- Whisller [n=johndoe@user7.101.udn.pl] has quit ["brb"] 14:40 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 14:41 -!- [1]Whisller [n=Whisller@217.97.146.67] has joined #agavi 14:42 < [1]Whisller> hmm 14:42 < Wombert> it goes like this: 14:42 < Wombert> the fourth, the fifth 14:42 < Wombert> the minor fall 14:42 < Wombert> the major lift 14:42 * Wombert sings 14:42 -!- [1]Whisller [n=Whisller@217.97.146.67] has quit [Client Quit] 14:49 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 15:02 < horros_> hahah 15:02 < horros_> Q. I'm designing my first DTD. Should I use elements or 15:02 < horros_> attributes to store data? 15:02 < horros_> A. Of course. What else would you use? 15:02 < Wombert> ahahah 15:02 < Wombert> but the question is interesting 15:02 < ttj> :-) 15:02 < horros_> http://www.flightlab.com/~joe/sgml/faq-not.txt 15:02 < horros_> so funny 15:05 < _cheerios> http://www.jwz.org/gruntle/nscpdorm.html << mosaic dev's "diary", small company (startup) life 15:06 < horros_> lol 15:06 < horros_> Q. OK, so then what's the spirit of SGML? 15:06 < horros_> A. This is not formaly defined at present. A proposed amendment 15:06 < horros_> to ISO 8879 (below) seeks to correct this deficiency: 15:06 < horros_> [Text of proposed changes:] 15:06 < horros_> | 4.333 spirit of SGML: An alcoholic concoction produced by fermenting 15:06 < horros_> | a conforming SGML document. 15:06 -!- Whisller [n=Whisller@217.97.146.67] has quit [Read error: 110 (Connection timed out)] 15:06 < Wombert> haha the translation table 15:07 < horros_> yeah 15:07 < horros_> hahahaha 15:07 < Wombert> 15:07 < Wombert> I'll use that from now 15:13 < _cheerios> "I've just noticed that there's still purple ink on the inside of my right wrist spelling the word VOID: the hand-stamp from a concert that I went to last week. I left work, went to the show, and came back to work immediately afterwards. I've been here since." 15:42 < _cheerios> heh @ " And then Nat went back to whichever flyover state Novell is in, and a few days later he said to me, "wow, you really bummed me out, because the dozen other people I had talked to before you were all like, `a free groupware system, that's an awesome idea!' Then you depressed me, and I came back here and told the other guys what you had said, and they were all, `Oh, fuck. He's right.'"" 15:43 < _cheerios> (was there some wierd formatting in that?) 15:46 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 54 (Connection reset by peer)] 15:46 -!- Wombert [n=Wombert@dslb-084-056-018-202.pools.arcor-ip.net] has quit [Nick collision from services.] 15:47 -!- Wombert_ [n=Wombert@dslb-084-056-019-044.pools.arcor-ip.net] has joined #agavi 15:48 < _cheerios> IBM once did a research report that indicates that the average developer writes about 10 lines of functional tested code in a day. 15:48 < _cheerios> that in mind, one feels he's achieving goals everyday 15:51 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 15:51 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit] 15:53 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 15:55 < Xylakant> considering that i failed to write a single line of code today... 16:02 -!- Arme[N] is now known as Arme[0] 16:11 < digitarald> 10 lines, thats a lot 16:11 < Wombert_> 10 lines is a good value 16:11 < Wombert_> an average engineer produces 300 LOC per month 16:11 -!- Wombert_ is now known as Wombert 16:12 < v-dogg> but how want's to be average 16:13 < Wombert> your english sucks these days my friend 16:13 < Wombert> are you okay? 16:14 < Wombert> ;) 16:14 < v-dogg> haha 16:14 < v-dogg> just tired and an inch away from burning out :) 16:14 < Wombert> go on holidays 16:15 < v-dogg> my fingers always misspell how/who 16:15 < v-dogg> some weird packet loss thing between my brains and fingers 16:16 < v-dogg> same thing with 'from' and 'for' 16:16 < Wombert> bakery => 16:16 < Wombert> and butcher's => 16:31 -!- digitarald [n=Miranda@62-43-162-113.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 16:40 < Wombert> and kebap! 16:40 < Wombert> and best of all 16:41 < Wombert> I bought myself a slice of finnish nut cake 16:41 < horros_> a slice of whatnow? 16:41 < horros_> we make nut cake? 16:41 < horros_> o_O 16:41 < v-dogg> I didn't know that either 16:42 < Wombert> it clearly said "Finnischer Nusskuchen" 16:42 < Wombert> here's hoping the bastards didn't rip me off 16:42 < Wombert> I'll eat it later 16:42 < Wombert> if it tastes weird, it is finnish 16:43 < horros_> haha 16:43 < horros_> I thought pretty much the only thing we make here that's "finnish" per se is mustamakkara and kalakukko 16:43 < horros_> :) 16:44 < v-dogg> you think authentic finnish food tastes weirder than german food faked to be finnish and called "Finnischer Nusskuchen"? 16:46 < Wombert> look 16:46 < Wombert> I thought about that in detail 16:46 < Wombert> and here's what I've come up with 16:46 * horros_ perks up 16:46 < Wombert> it can't be a conspiracy aiming at making me think finland is weird 16:47 < Wombert> by faking it and making it taste weird so I think finland is weird 16:47 < Wombert> because I already know finland is weird 16:47 < Wombert> therefor such an undertaking would be useless 16:47 < Wombert> hence it must be authentic 16:47 < Wombert> NAILED YOU! 16:48 < v-dogg> oooh.. take your nusskuchen and shove it :D 16:48 < Wombert> what is the finnish translation? 16:48 < Wombert> I must know before I eat it 16:48 < Wombert> that way, the experience is a whole lot better 16:49 < horros_> saksalainen mukamas-suomalainen pähkinäkakku 16:49 < horros_> :) 16:49 < v-dogg> or kiveskakku 16:49 < horros_> yes 16:50 < Wombert> I bet that means "nut" as in testicles 16:50 < Wombert> xD 16:50 < Wombert> kakku = cake? 16:50 < v-dogg> you are very clever :) 16:50 < horros_> very clever indeed, I'll give you that. 16:50 < horros_> :) 16:51 < horros_> hmm 16:51 < horros_> all this talk about cake made me hungry 16:51 < horros_> but I have no monies and salary arrives tomorrow :( 16:51 < Xylakant> and i always thought that nut cake had it's name not because it was made from nuts, but because it was made for nuts. 16:52 < Wombert> what does horros' mean? 16:52 < Xylakant> i mean "dog cake" (or whatever the proper translation would be) is not made from dogs either? 16:52 < horros_> Wombert: "hibernation" :) 16:52 < Wombert> I mean your translation 16:52 < horros_> oh 16:53 < horros_> "german fake-finnish nut cake" 16:53 < Wombert> or was yours the one with the testicles 16:53 < Wombert> ah 16:53 < Wombert> cool 16:53 < Wombert> pähkinäkakku 16:53 < Wombert> coool 16:54 < horros_> => credit-card-buying food 16:54 < horros_> bbiab 16:54 < Xylakant> now learn to pronounce that properly and you won't starve once you're in finnland 16:55 < Wombert> I doubt that 16:55 < horros_> there is no nut cake 16:55 < v-dogg> Q: "How do you improve the productivity of software developers?" 16:55 < v-dogg> A: "give them a bigger screen" 16:55 < v-dogg> -- Martin Fowler 16:55 < Wombert> they'll say "kovalainen espoo horros häkkinen" which means sth like "I didn't know we made nut cake" 16:56 < Wombert> and then I'll starve 16:56 < Wombert> oh wait I know the word for nut cake now 16:56 < Wombert> in all honest 16:56 < Wombert> I think I would enjoy finland very much 16:57 < Wombert> I got a kick outta that helsinki complaints choir 16:57 < horros_> hmpf 16:57 < horros_> I didn't get to go to CeBIT this year :( 16:57 < Xylakant> v-dogg: i'll send that quote to my boss 16:57 < horros_> It was turning into a tradition. 16:58 < horros_> Four-five days of boozy haze and aching feet. 16:58 < horros_> mmmm 16:58 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 16:58 < Wombert> CeWhat? 16:58 < horros_> Ce*BIT* 16:58 < Wombert> yes but 16:58 < horros_> no but 16:58 < Wombert> that hasn't started yet or has it 16:59 < Wombert> or did I miss something 16:59 < horros_> no, but the people planning the trip from here has sold the tickets already 16:59 < Wombert> because you were speaking in past tense 16:59 < Wombert> ah 16:59 < Wombert> okies 16:59 < horros_> and about *NOW* you won't get a bloody hotel room in hannover anymore :) 16:59 < Wombert> I thought you were confused by your weird time zone 16:59 * Wombert hugs horros_ 17:00 < horros_> I quite like Hannover for some strange reason. Fun little city. 17:00 < v-dogg> Xylakant: take the whole story, it's actually not a joke: http://martinfowler.com/bliki/BigScreen.html 17:00 < Wombert> Xylakant: to cheer you up... 17:00 < Wombert> Vertan, sagte der Hahn, und stieg von der Ente 17:01 < Xylakant> v-dogg: i never thought it was. 17:01 < horros_> v-dogg, I have 2x17" TFT and one 15" CRT 17:02 < horros_> when boss gets back from the US of A, I'll yell at him enough so he buys me three new 20" TFTs 17:02 < Wombert> larger screens doesn't mean better ergonomy btw 17:02 < Wombert> for instance, 19" tfts are a huge waste of money 17:02 < Wombert> and from 24" upwards your eyes and head have to move too much 17:02 < Xylakant> well. i have 2 19'' and a 15'' widescreen laptop sitting here 17:03 < horros_> 20" is fine 17:03 < Wombert> 20" wide and 15" powerbook (also wide), works 17:03 < Wombert> I just with the 20" had the same PPI count as the laptop 17:03 < Xylakant> yep. 17:03 < Wombert> 1440x900 ftw :> 17:03 < horros_> my 12" laptop does 1280x800 or something similar 17:04 < horros_> \/\/hatever it was 17:04 < Wombert> I dig hi res screens 17:04 < Xylakant> wirting concept papers for pitches is really the worst job i can imagine. 17:04 < Wombert> don't understand the fools who buy 15" laptops with 1280x800 or whatever 17:04 < Wombert> Xylakant: yep 17:04 < horros_> me neither 17:04 < Wombert> and then 17:04 < Wombert> the screen is also glossy... 17:04 < Wombert> my god 17:04 < horros_> the contrast is better 17:05 < horros_> but the glare is annoying at times 17:05 < Wombert> at times? are you kidding 17:05 < Wombert> you can shave in it if the background is anything but white 17:05 < Xylakant> if you're doing lot of work with photos, glossy has the better look, but i can't stand the glare 17:05 < horros_> Wombert, nah 17:06 < horros_> I have a glossy screen 17:06 < horros_> only times it's been annoying was in the train when I had a light right on top of me 17:06 < horros_> I've been working on it the whole day today and it's not glared at all :) 17:06 < Wombert> http://www.php-security.org/ 17:10 < Xylakant> does agavi still normalize the magic_quotes_gpc setting like mojavi used to do? 17:10 < Wombert> I don't think mojavi did 17:10 < Wombert> at least not in v3 17:11 < Xylakant> mojavi did at least in version 2. 17:12 < Xylakant> so i take that as a "no" 17:12 < Wombert> yep 17:12 < v-dogg> yes 17:13 < Wombert> clean it up yourself in config.php 17:13 < v-dogg> and we shouldn't either 17:13 < v-dogg> imo 17:13 < Wombert> I refuse to 17:13 < Wombert> yes 17:13 < Xylakant> making applications less portable... 17:14 < v-dogg> it's not the frameworks responsibility 17:14 < v-dogg> if you want to make such a hack, you do it yourself 17:14 < v-dogg> agavi shouldn't do it "under the hood" 17:14 < Xylakant> well, agavi does all the input data handling, even to the validation 17:15 < Wombert> well then we have the requirement that magic_quotes_gpc be off :p 17:15 < Xylakant> and i think this could be done by the framework 17:15 -!- digitarald [n=Miranda@62-43-162-113.user.ono.com] has joined #agavi 17:15 < Xylakant> i'll go back to rails. *sigh* 17:15 < v-dogg> Xylakant: what if someone wants to use magic_quotes? 17:16 < Xylakant> v-dogg: in an agavi application? 17:16 < v-dogg> yes 17:16 < Xylakant> he must be right out of his mind 17:16 < v-dogg> sure, but let's forget that for a while :) 17:17 < Xylakant> if you want to cater for those out of their mind, make it config switch and name it "i_m_doomed" 17:17 < Xylakant> this was one of the things in mojavi that made life so much easier 17:18 < Xylakant> not having to care about the magic quotes setting 17:18 < Wombert> who in the name of god uses php >= 5.1 with magic quotes on 17:18 < v-dogg> Wombert: my isp 17:18 < v-dogg> yes, I'd like to shoot them for that 17:18 < Xylakant> there you go 17:19 < v-dogg> Xylakant: there I go fixing it in config.php 17:19 < v-dogg> I still think agavi shouldn't do it 17:20 < Xylakant> i think it should. with all that request data munging it already does, this is the natural place for me to make shure that data is normalize in that respect. strip those darned quotes 17:21 < Wombert> array_walk_recursive($_GET, create_function('&$value, $key', '$value = stripslashes($value');')); 17:21 < Wombert> piece of cake 17:21 * Wombert sighs 17:21 < Xylakant> exactly. but this has nothing to do in config.php 17:21 < Wombert> I can add it 17:21 < Wombert> I mean, you're not the first person to ask 17:22 < Wombert> and there are other people out there with idiot ISPs / sysadmins 17:22 < Wombert> it's just that... I dunno 17:22 < Xylakant> the invention of that php feature ranks pretty high in my "top ten worst ideas in IT i've seen so far" 17:22 < Xylakant> all fixes for that have a bad smell... 17:22 < Wombert> it's a matter of principle 17:23 < Wombert> with every step back we make to cater for idiots 17:23 < Wombert> we get ourselves into trouble 17:24 < Xylakant> thanks for the implication ;) 17:24 < Xylakant> i know what you mean though. 17:24 < v-dogg> idiot isps might change their configs if everyone sent them hate-mail instead of doing nasty fixes ;) 17:25 < Xylakant> i've seen idiot isp change that setting without notifying us 17:25 < Xylakant> and the customer then complains to *me* 17:25 < Wombert> oh 17:25 < Wombert> lol 17:25 < Wombert> sorry dude 17:25 < Wombert> I really didn't mean to call you an idiot 17:25 < Xylakant> and *i* need go fix that 17:25 < Wombert> I meant that any further situations would likely be brought up by idiots 17:25 < Wombert> "I don't have DOM on my server can you change everything so it works with pregs?" 17:26 < Xylakant> i know you didn't mean that 17:26 < Wombert> Xylakant: okay okay you got me 17:26 < Wombert> I'll do it 17:26 < Xylakant> it's a fine line that should not be crossed 17:26 < Xylakant> but it's so fine that it's hard to see where it is. 17:27 < Xylakant> thanks. this makes live easier. 17:28 < Xylakant> i hope they kill that beast in php6 17:28 < Xylakant> imo this should have been killed in php5 already 17:30 < Xylakant> ok, back to concept papers so that we win that pitch and agavi claims another application. 17:31 < horros_> weren't you just a few minutes ago going to rails?-) 17:31 < Xylakant> i got what i wanted, remember ;) 17:32 < RossC0> huzzah! 17:33 < horros_> lol @ fast show 17:34 < Wombert> RossC0: I think a config flag for the controller that tells whether to send() or return the response is best 17:34 < Wombert> whatcha think 17:34 < Wombert> "testing" env would have the flag set, et voila 17:36 < Wombert> preliminary tests show that the finnish nut cake tastes decent 17:36 < MrJeep> morning 17:38 < RossC0> Wombert: yeah sounds good 17:38 < RossC0> MrJeep: morning - fixed another mooselector bug 17:38 < MrJeep> wombert : i'm ready some tests 17:38 < MrJeep> nice :) 17:38 < MrJeep> (to do) 17:39 < MrJeep> jeez, I guess I'm not completly awake yet hehe 17:44 < MrJeep> Wombert : \u does not cause errors 17:45 < Wombert> okay but [A-Z] works right? 17:45 < MrJeep> 1 min 17:47 < MrJeep> yep 17:47 < MrJeep> it work 17:47 < MrJeep> preg_match_all('/dsadsa/u', 'bonjour', $res); 17:47 < MrJeep> preg_match_all('/[A-Z]/', 'another test', $res); 17:47 < MrJeep> var_dump($res); 17:47 -!- moni [n=moni___@85.206.205.158] has joined #agavi 17:47 < MrJeep> no error 17:48 < MrJeep> err 17:48 < MrJeep> I made a mistake in those regex 17:48 < MrJeep> \u does not work 17:48 < MrJeep> Compilation failed: PCRE does not support \L, \l, \N, \U, or \u 17:51 < MrJeep> is there alternatives for this ? 17:51 < Wombert> \u???? 17:51 < MrJeep> a lot of linux server seems to be missing this 17:51 < MrJeep> \u not work 17:51 * Wombert sighs 17:51 < Wombert> the problem is \P{Lu} 17:51 < Wombert> if you add u as a pattern modifier, it should work 17:52 < Wombert> or you replace \P{Lu} (which means "uppercase letters") with [A-Z] 17:52 < MrJeep> I'm just wondering if there is a way to fix this without recompiling php or pcre or whatever 17:52 < Wombert> as I said 17:52 < Wombert> can you please 17:52 < Wombert> with a sugar topping 17:53 < Wombert> replace \P{Lu} with [A-Z] 17:53 < MrJeep> yes 17:53 < MrJeep> (hard day wombert ?) 17:53 < Wombert> mot really 17:53 < Wombert> sorry 17:53 * Wombert hugs MrJeep 17:53 < Wombert> it's just that the finnish nut cake doesn't taste very good 17:53 < Wombert> SHAME ON YOU FINLAND 17:54 < MrJeep> :) 17:56 < MrJeep> both \p{Lu} and \P{Lu} ? 17:57 < MrJeep> ahh well, there is only one 17:57 < Wombert> yes 17:57 < Wombert> :> 17:57 < Wombert> http://trac.agavi.org/browser/branches/0.11/src/view/AgaviTemplateLayer.class.php#L78 here 17:58 < Wombert> now if that works, just curious, does \p{Lu} work if you have /u as a pattern modifier 17:58 < Wombert> the error might occur because it's not operating in utf8 mode 17:58 < Wombert> not that it matters anyway, I can't know the encoding of the calling file, just curious 17:59 < MrJeep> hum, sounds like it's working 17:59 < Wombert> http://trac.agavi.org/ticket/469 opinions? 17:59 < MrJeep> http://www.etrouve.com/ 18:00 < MrJeep> thnx 18:01 < MrJeep> i think this {lu pattern should be replace 18:01 < Wombert> yes 18:01 < Wombert> but 18:01 < Wombert> does \p{Lu} work with /u ? 18:02 < MrJeep> $parameter = strtolower(preg_replace('/((? to : /...../u ? 18:02 < Wombert> yes 18:02 < Wombert> but with \p{Lu} not with A-Z 18:02 < MrJeep> if didn't make any stupid mistakes trying to test it, it does work 18:03 < Wombert> hmm so which do we choose 18:03 < Wombert> I'll use /u 18:04 < MrJeep> just to make sure this is exacly what you wanted me to try : 18:04 < MrJeep> $parameter = strtolower(preg_replace('/((? in AgaciTemplateLayer 18:04 < MrJeep> __call method 18:05 < horros_> phew 18:05 < horros_> I have 12 tickets closed today 18:05 < horros_> I'm quite pleased. 18:05 < Wombert> eh no MrJeep 18:05 < CIA-11> david * r1809 /branches/0.11/src/view/AgaviTemplateLayer.class.php: use /u modifier to prevent complaints about unicode character property code 18:06 < Wombert> this: /((? \[A-Z] shouldn't work at all, I guess you have debug mode off 18:06 < MrJeep> i think the problem was the \p 18:06 < Wombert> yes 18:07 < Wombert> but with /u PCRE operates in utf8 mode 18:07 < Wombert> so it should work there 18:07 < Wombert> do svn up 18:07 < Wombert> clear cache 18:07 < Wombert> and let me know if it works 18:07 < MrJeep> ok i'll try 18:08 < MrJeep> nop 18:08 < MrJeep> as soon as \P or \p is used, it stops working 18:11 < MrJeep> for small code snippets
20:37 < horros_> what should I use instead?
20:37 < Wombert> and for stuff like "output_types.xml" etc
20:37 < Wombert> not sure if there's or or so too
20:37 < horros_> I thought I did use for filenames though
20:37 < horros_> Wombert: what should I use for, say, variables?
20:37 < Wombert> I think there is or so
20:38 < horros_> hmm, I shall check
20:38 < horros_> XMLMind is _teh_ sux
20:38 < Wombert> most important thing for the manual is examples
20:38 < Wombert> it's the best you can have
20:38 < Wombert> unfortunately :<
20:38 < horros_> yeah :(
20:40 < horros_> ahaa
20:40 < horros_> there's
20:40 < horros_> neat
20:41 < Wombert> http://www.docbook.org/tdg/en/html/docbook.html
20:41 -!- Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has joined #agavi
20:42 -!- v-dogg [i=vmakinen@phantom.daug.net] has quit [Remote closed the connection]
20:43 -!- v-dogg [i=vmakinen@phantom.daug.net] has joined #agavi
20:48 < horros_> Wombert: the regexp in routes is PCRE, right?
20:48 < Wombert> yes
20:49 < Wombert> you could also add an block that tells people that (name:pattern) is just a convenient form for named subpatterns which look about like (?Ppattern) or so
20:50 < kaos> just that you can't put (?Ppattern) into our routes ;D
20:50 < Wombert> that info would be for the nerds only anyway
20:50 < Wombert> not that it really matters
20:51 < Wombert> main reason is that you would have to use < because > in an attribute doesn't really work so...
20:51 < horros_> AIEEE!
20:51 < horros_> I got beer in me' eye!
20:51 < horros_> :(
20:51 < horros_> ow ffs
20:52 < horros_> brb
20:56 -!- fastly [n=fast@nsabfw1.nsab.se] has joined #agavi
20:57 < horros_> ah, bettter
21:00 < fastly> is there any documentation on storing data for the duration of a session in 0.11?
21:01 < horros_> fastly: nossir, I'm writing documentation as we speak though :(
21:01 < fastly> quickly, how would i save the contents of $foobar?
21:01 < fastly> please
21:02 < horros_> umm.. set it as a user attribute?
21:02 -!- Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has quit []
21:02 < horros_> that's pretty much the same as $_SESSION
21:02 < horros_> of course, I could be lying through my teeth.
21:02 < horros_> Wombert!
21:02 < horros_> :)
21:03 < fastly> $this->getContext->getUser()->setAttribute('foobar', $foobar)?
21:03 < horros_> fastly: correct.
21:03 < fastly> sweet
21:03 < fastly> thanks
21:04 < horros_> no problem.
21:04 < horros_> stupid XMLMind
21:04 < horros_> Wombert/kaos: how the smeg do I add a "subsection"?
21:05 < kaos> easiest way: manually ;p
21:05 -!- Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has joined #agavi
21:05 < kaos> other way would be uuuh
21:05 < kaos> select the first paragraph
21:05 < kaos> insert before
21:05 < kaos> COULD work
21:05 < Wombert> you must have the correct node selected and then select ... insert after
21:05 < Wombert> alt-uparrow should work
21:05 < Wombert> or control
21:05 < Wombert> no idea
21:06 -!- Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has quit [Remote closed the connection]
21:07 < horros_> there's no "section" if I select "insert after"
21:08 < horros_> this is getting annoying.
21:08 < horros_> in about two seconds I'm switching to vim
21:09 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out]
21:09 < Wombert> probably because you're on the wrong level
21:09 < Wombert> it is a bit confusing at times
21:09 < MrJeep> hey, what do you thik about this logo : http://mrjeep.dyndns.org:81/Temp/pokom-first-draft.gif
21:09 < MrJeep> it's my first draft by the way
21:10 < Wombert> if the editor doesn't allow you to insert a section, then you can't do so either in vim, because the DTD doesn't allow it
21:10 < horros_> Wombert: no matter what level I'm on I can't insert a section
21:10 < Wombert> horros_: ten seconds
21:10 < horros_> AHA!
21:11 < Wombert> MrJeep: I was about to say "the speech bubbles are too big" when I realized these are supposed to be poker cards
21:11 < MrJeep> heheh yhea
21:11 < Wombert> that should maybe be made more obvious
21:11 < horros_> Insert new section via the "section" icon, then select it, then select the docbook -menu and select "demote"
21:11 < MrJeep> I'm thinking about adding like K or A
21:11 < horros_> *sigh*
21:11 < Wombert> i.e. put a spades in the corner of one
21:11 < Wombert> or so
21:11 < Wombert> yeah
21:11 < MrJeep> yeah that should to too :)
21:12 < Wombert> other than that, cool
21:12 < MrJeep> thnx :)
21:12 < Wombert> didn't know you were a good designer ;)
21:12 < Wombert> did you design etrouve and the ohter sites too?
21:12 < MrJeep> yep
21:13 < MrJeep> well, etrouve and the svg map site
21:13 < Wombert> nice
21:13 < MrJeep> well, this is very appreciated. Thnx :)
21:13 < kaos> that should maybe be made more obvious <-- i directly realised that ;p
21:13 < kaos> maybe because i've been playing to much poker lately *g*
21:13 < Wombert> horros_: your problem might be that a section may ONLY contain sections OR anything else
21:13 < Wombert> i.e. you can't have paragraphs AND sections in a section
21:13 < Wombert> I think
21:15 < Wombert> for instance
21:15 < Wombert> in the manual
21:15 < Wombert> I cannot add a section after chapter one number two Prerequisites
21:15 < Wombert> but I can add one after 3 Installation
21:15 < Wombert> even
21:17 < horros_> right
21:17 < horros_> seems to be the case, yes.
21:17 < horros_> I got it sorted though
21:23 < fastly> i'm getting the following error after adding a new slot:@
21:23 < fastly> Too many execution runs have been detected for this Context.
21:23 < fastly> i added:
21:23 < fastly> to output_types.xml
21:24 < fastly> i have another slot which is working finwe
21:24 < horros_> that needs to go in an FAQ
21:24 < horros_> fastly: you need to define an "empty" layout and load that in the slot
21:24 < horros_> otherwise you load the main layout which loads the slot which loads the main layout which loads the slot and so on and so forth ad infinitum
21:26 < fastly> hmm.. my "menu" slot doesn't have a corresponding empty layout defined
21:26 < fastly> although within i have
21:27 < fastly>
21:27 < fastly>
21:27 < horros_> exactly. that's what I mean with "an empty layout"
21:28 < fastly> i tried:
21:28 < fastly>
21:28 < fastly>
21:28 < fastly> no joy
21:30 < fastly> http://pastebin.ca/378782
21:30 < fastly> this is my output_types.xml
21:30 < fastly> and i'm working with
21:34 < fastly> ahhh... got it
21:34 < fastly> parent::setupHtml($rd, 'slot');
21:34 < fastly> in the view
21:34 < fastly> sorted....
21:35 < fastly> thanks for the info
21:37 < fastly> does anyone here have an example of working filter chains in 0.11?
21:40 -!- benny`work [n=benny@p54AC335D.dip0.t-ipconnect.de] has joined #agavi
22:02 -!- fastly [n=fast@nsabfw1.nsab.se] has quit [Read error: 113 (No route to host)]
22:11 < horros_> ooh
22:11 * horros_ hits Ctrl-S
22:11 < horros_> probably a good idea to save once in a blue moon
22:11 < horros_> :)
22:11 < _cheerios> i love you...
22:11 < horros_> Why the sudden expression of feeling?
22:11 < _cheerios> prison break :D ppl keep offin'
22:12 < horros_> people keep whatnow?
22:12 < horros_> I'm not too hot on this internet lingo.
22:12 < horros_> Hell, I just learned to "lol" a while back.
22:12 -!- moni [n=moni___@85.206.205.158] has joined #agavi
22:13 -!- Whisller [n=Whisller@217.97.146.67] has quit [" dam dara dam ;p"]
22:15 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi
22:15 < _cheerios> all kinds of off's... beating,jacking,jerking,sucking,killing and then there's hoff
22:16 < horros_> mmm
22:16 < horros_> see, the hoff I know.
22:16 < horros_> pardon
22:16 < horros_> The Hoff.
22:16 < horros_> Capitalisation required.
22:18 < _cheerios> right. :D
22:18 < _cheerios> im out of stuff to watch :/
22:18 < horros_> _cheerios: you could write documentation
22:18 < horros_> *wink, wink* *nudge, nudge*
22:19 < _cheerios> i've only written docs to games before
22:19 < horros_> so?
22:19 < horros_> I've written fuck all before :)
22:19 < impl> Beware horros_. He knows prolog.
22:19 < _cheerios> http://www.clawofdarkness.com/pawiki/index.php/Special:Statistics
22:19 < horros_> that's why I keep saying wombert gets to rewrite all of it after I've written it :)
22:20 < horros_> impl([X|_])
22:20 < impl> I have no clue what that does.
22:20 < impl> Did you just define me? :\
22:21 < _cheerios> hmm, X always means death
22:21 < _cheerios> impl seems like impl
22:21 < _cheerios> hmm
22:22 < horros_> impl: http://dev.necora.fi/markus/monkey.pl.txt
22:22 < _cheerios> what does it mean?
22:22 < horros_> that's one of the last stuff I wrote in prolog :)
22:22 < _cheerios> i chuckled
22:24 < horros_> and this one I'm still actually rather proud of:
22:24 < horros_> http://www.cs.uta.fi/~ml75939/logo/C53.txt
22:24 < horros_> :)
22:26 < _cheerios> John Markus Lervik is probably someone different, he's the first google result
22:26 < horros_> yes, that's a relative of mine, living in norway.
22:26 < horros_> a professor or something, I believe.
22:29 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
22:30 -!- moni [n=moni___@85.206.205.158] has quit ["Have to go"]
22:30 < _cheerios> Pubococcygeus (PC) Muscle
22:34 < horros_> according to google I've had some funny email signatures :D
22:35 < horros_> "In God we trust - all others must submit an X.509 certificate -- Charles Forsythe"
22:35 * horros_ giggles
22:36 < _cheerios> i get a little concerned imagining horros, wielding an axe, giggling
22:37 < impl> IN DEI CREDIMUS
22:37 < _cheerios> im heading to the dark side... bbs
22:37 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["Leaving"]
22:38 -!- digitarald [n=Miranda@62-43-129-181.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
22:42 -!- _cheerios [i=cheerios@cs181234118.pp.htv.fi] has joined #agavi
22:43 < _cheerios> mmm, pretty XP theme and nice fonts.
22:46 < Wombert> re
22:46 < Wombert> how's that docs thing going, horros_?
22:46 < Wombert> thanks for the effort btw
22:46 < Wombert> I love the monkey, box, banana thing
22:48 < horros_> Wombert: it's going ok, I suppose. are you around in, say, 15-20 minutes?
22:48 < Wombert> definitely, my friend
22:48 < Wombert> ping me when you need me
22:48 < horros_> I'ma smoke a cig, write a bit more and send you a patch to look over.
22:48 < Wombert> fabulous
22:49 < horros_> plus, I don't know nearly enough about the routing options to really be able to write anything sensible about them :)
22:49 < Wombert> $ro->gen(null, array(), array('fragment' => 'fubar')) generates current url with #foobar at the end
22:50 < Wombert> $ro->gen('lala', array(), array('protocol' => 'https')) generates route "lala" as a full https:// link
22:51 < horros_> ahaa
22:51 < horros_> makes sense.
22:51 < Wombert> other options are "separator" for instnace
22:51 < Wombert> default
22:51 < Wombert> you can set it to & for your emails etc
22:51 < Wombert> BUT
22:51 < Wombert> that's cumbersome, so you can also define option presets
22:52 < Wombert> $ro->gen('viewmessage', array('id' => $msgid), 'email');
22:52 < horros_> :O
22:52 < Wombert> would generate the link to the viewmessage action with the "email" preset which has "separator" set to "&" and "relative" set to false (so it generates full http://lala/... urls)
22:53 < impl> horros_: "In XHTML, there is no such entity as  , it's   (I believe)."
22:53 < impl> ...
22:53 < Wombert> wrrrrong
22:54 < horros_> I'm babbling. I'm not a (X)HTML-type-of-bloke :)
22:54 < Wombert> there is in XHTML, but the FPF doesn't load the DTD, and hence only knows XML entities, and nbsp is not one of them
22:54 < horros_> right.
22:54 < impl> How do you make FPF work with DTDs then?
22:54 < horros_> I was sort of uncertain about that. hence the "I believe".
22:54 < Wombert> you can tell FPF to load (and also validate against) the DTD
22:55 < Wombert> problem is that that is slow unless you configure libxml to cache the DTDs
22:55 < Wombert> if not, it loads the DTD over the net each time
22:55 < horros_> I have been wondering why FPF is much more anal than the w3 validator that, after all, is made by the people writing up the standard :)
22:55 < Wombert> heh
22:56 < Wombert> impl: saw audoptic.com
22:56 < Wombert> cool
22:56 < Wombert> <:
22:57 < Wombert> even though I didn't have time to read what it's about yet
22:57 < impl> :)
22:57 < Wombert> is it cool?
22:57 < impl> Of course
22:57 < impl> :D
22:57 < Wombert> nice
22:58 < Wombert> is it just a meta site that connects to the others
22:58 < Wombert> or is it really a standalone thing to cater for all
22:58 < impl> We'll integrate with Flickr for scraps and photos for art, but it's mostly going to be standalone
22:58 < Wombert> _cheerios has existing technology
22:58 < Wombert> he built www.oioi.fi
22:59 < impl> Cool :O
22:59 < horros_> Wombert: humm
23:00 < horros_> if you're at, say, /blog/151/Agavi_rocks and want to tack on #smeg... how'd you do that?
23:00 < horros_> $ro->gen(null, array(what?), array('fragment' => 'smeg'))
23:00 < Wombert> impl: is there a beta yet?
23:00 < impl> Wombert: No, I've hardly started working on it really
23:00 < Wombert> horros_: second array empty
23:00 < impl> School and everything take up so much of my time
23:01 < horros_> Wombert: aha. cheers.
23:01 < Wombert> second array is for additional arguments
23:01 < impl> Wombert: How do you tell FPF to load the DTD?
23:01 < Wombert> err second parameter
23:01 < Wombert> impl: uuuhm lemme check
23:02 < Wombert> http://trac.agavi.org/browser/branches/0.11/src/filter/AgaviFormPopulationFilter.class.php#L527
23:02 < Wombert> dom_resolve_externals must be on
23:02 < Wombert> validate_on_parse would also validate against the DTD
23:02 < impl> ah
23:02 < Wombert> now here's the nice thing... you can have validate_on_parse on in development mode, but not in production
23:02 < Wombert> mmmmh <3 agavi
23:03 < impl> The phpdoc didn't have those options :P
23:03 < Wombert> oh damn there are docs for these
23:03 < Wombert> xD
23:05 < horros_> hrmpf
23:07 < _cheerios> who is Locke
23:07 < impl> A friend of mine
23:07 < impl> If we're talking about the same Locke, and not John Locke or some other Locke
23:07 < _cheerios> no numbers involved
23:09 < _cheerios> nice forms
23:10 < _cheerios> scripts/niceforms.js" *chuckles*
23:10 < impl> I don't do any design, so don't blame me :P
23:11 < _cheerios> badboy.ro, ive been there before. i think his site was plugged for ace design.
23:11 < Wombert> THE NUMBERS
23:14 < Wombert> mh the subtle theme looks nice
23:20 < horros_> Wombert: you ought to have a diff in your inbox
23:20 < horros_> diffed against the latest 0.11
23:21 < Wombert> errr
23:21 < Wombert> only the action stuff there
23:21 < Wombert> no routing
23:21 < horros_> on a side note: I'm starting to get drunk
23:21 < horros_> wtf
23:22 < horros_> stupid friggen #¤)%&()¤%&(
23:22 < Wombert> any chance you can fix the tags?
23:22 < horros_> I tried to fix most of them. did I miss some?
23:22 < Wombert> I think what you sent is the old version
23:23 < horros_> I think so too :)
23:23 < Wombert> <:
23:23 < horros_> ah, yes, yes indeed
23:23 < horros_> I got confused when using cygwin :D
23:23 < horros_> just a sec
23:24 < Wombert> svn commandline is also available natively, fyi
23:24 < MrJeep> Kaos : about OSX on pc, it works with AMD too as long as it is SS2 or SS3
23:24 < horros_> Wombert: sent
23:25 < horros_> Wombert: I know, I just feel more comfortable with bash :)
23:25 < Wombert> MrJeep: the thing about OS X on PCs...
23:25 < horros_> "I need a drink" -- J.R.
23:25 < Wombert> macs are mostly about the software, but the hardware is part of the experience
23:26 < Wombert> but it's good to get a first impression
23:26 < horros_> Wombert: did I manage to send you the correct diff this time?-)
23:26 < Wombert> much better!
23:26 < Wombert> now lets see if I can apply that or if ze mailing ruined the diff
23:27 < horros_> => cig
23:31 < Wombert> DAVID HILFEN SIE MICH BITTE, ICH BIN EIN DUMMKOPF!
23:31 < Wombert> WAHAHAH
23:31 < horros_> :D
23:32 < Wombert>
23:32 < Wombert> xmlns:ns="http://www.xmlmind.com/xmleditor/namespace/clipboard"
23:32 < Wombert> >This would match the request >http://host.com/products >, >http://host.com/products/buy-cheap-whatever-at-agavi-dot-org > and >http://host.com/products/buy-cheap-whatever-at-agavi-dot-org/591 >. The ><default> > indicates that if we do not supply the " >/buy-cheap-whatever-at-agavi-dot-org >", it will set it >
23:32 < Wombert> OMG
23:32 < horros_> :O
23:32 < Wombert> anyway, /products doesn't match since the id at the end is not optional!
23:32 < horros_> oh
23:32 < horros_> like I said, ich bin ein dummkopf.
23:32 < horros_> :)
23:33 < horros_> anyway: stupid xmlmind editor doohickey pasting crap
23:34 < Wombert> mind if I add some structure to that stuff and commit for you to continue?
23:34 < horros_> of course not
23:34 < horros_> I should contact XMLMind and let them know their editor is pretty nice but IT IS TEH SUX
23:35 < Wombert> hahah
23:35 < horros_> like I complained before: I hit alt-tab to look at, for instace, routing.xml... and the bloody thing eats the alt but bubbles it up anyway, so it ends up selecting the "File" menu but allowing the alt tab...
23:36 < horros_> meaning when I alt-tab back to XMLMind, it has the bloody "File" selected, but the cursor blinks in the document, I start typing and all kinds of funky shit happen
23:37 < Wombert> what is alt tab?
23:37 < Wombert> http://www.apple.com/macosx/features/expose/
23:37 < Wombert> :DDD
23:37 < horros_> Wombert: Apple-tab :P
23:37 < Wombert> ;>
23:38 < horros_> tiling windows is so... Windows 3.1
23:38 < horros_> :P
23:38 < Wombert> not quite btw, since OS X is app centric (thus also just one menu at the top)
23:38 < Wombert> apple-tab switches only between apps, not all windows
23:38 < horros_> \/\/hatever
23:39 < horros_> :)
23:39 < impl> beryl can do that expose thing too
23:39 < impl> and it's free
23:39 < _cheerios> beryl kicks osx in the sack
23:39 * impl has it bound to Super+F9
23:39 < horros_> let's not get into this discussion, kthx
23:39 < impl> :D
23:40 < horros_> impl: so what have you been up to lately? I've not been in efnet #php for quite a while so I haven't been annoyed by you.
23:40 < horros_> :)
23:41 < impl> horros_: Not much, really. Mostly school now.
23:41 < horros_> right
23:41 < impl> You know I'm an op now?
23:41 < horros_> I've been trying to avoid that the best I could.
23:41 < horros_> impl: why no, no I didn't. Whose idiotic idea was that? ;P
23:41 < horros_> impl: all jokes aside, congrats :)
23:42 < impl> Iunno, I couldn't find the poll in the staff forum :P
23:42 < impl> Thanks
23:42 < horros_> polls.. pffft.
23:42 < horros_> like anyone ever cared about them anyway.
23:42 < impl> haha
23:42 < horros_> impl: read the last of my rants in the forums and you'll pretty much see why I left
23:43 < _cheerios> you are #php regulars?
23:43 < horros_> _cheerios: I was an EFNet #php regular for 938459835 years
23:43 < impl> EFnet #php is the only good PHP channel
23:44 < impl> and by good I mean decent
23:45 < horros_> impl: http://php.secure.info/forums/viewtopic.php?tid=125
23:45 < _cheerios> im trying to put a positive spin to this topic, but i can't find a way
23:45 < impl> horros_: yeah, I'm reading it
23:46 < horros_> impl: note how the discussion about the actual topic derails in about two seconds
23:46 < horros_> :D
23:46 < impl> hehe
23:48 < impl> Top kickees (users):
23:48 < impl> nforbes has been kicked 1038 times
23:48 < horros_> haha
23:48 < horros_> you _were_ quite the kicktoy, weren't you?-)
23:48 < impl> I guess so
23:49 < impl> The next one is gazooo with 637
23:49 < impl> :\
23:49 -!- _cheerios [i=cheerios@cs181234118.pp.htv.fi] has quit ["nn"]
23:53 < horros_> hahaha
23:53 < horros_> I'm reading my old posts on the forum
23:53 < horros_> "I vote all of you shut the fuck up and stop acting like you're fucking four years old."
23:53 < horros_> hahaha
23:54 < impl> How many times did Macca post in /that/ thread?
23:54 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi
23:55 < impl> http://php.secure.info/forums/search.php?action=search&keywords=&author=Macca&forum=-1&search_in=all&sort_by=0&sort_dir=DESC&show_as=topics
23:55 < impl> I'm pretty sure he's never posted a single useful thing
23:59 < horros_> Well, I'm not sure I've heard him say a single useful thing. Ever.
--- Day changed Sat Mar 03 2007
00:00 < horros_> (Macca, if you read these logs, I'm sorry, but it's true :P)
00:00 < horros_> hmm
00:00 < horros_> I'm running out of beer and fast.
00:01 < impl> get some, er, what sort of hard liquor do you guys drink up there?
00:01 < horros_> I don't know wether to a) go to ze pub, b) have some booze or c) go to bed
00:01 < horros_> impl: koskenkorva?
00:01 < impl> Maybe...
00:02 < horros_> that stuff is horrible
00:02 < horros_> hell, it's even worse than Slivovice and Riga Balsam put together
00:03 < impl> ha, okay
00:03 < horros_> I do, however, have some excellent Moskovskaja vodka...
00:04 < horros_> and also a bottle of JW (red|black|gold|blue) label
00:04 < horros_> except red and black are horrible
00:04 < impl> Those sound good for getting drunk off of
00:04 < horros_> the gold label is excellent
00:05 < horros_> the blue label nobody touches before a) Me and missus get married b) Me and missus build a house c) Me and missus win > one million in the lottery or d) Me and missus have built a house
00:05 < horros_> :)
00:05 < impl> :O
00:06 < horros_> I should probably add an e) Me and missus break up too, just to covery my arse
00:06 < horros_> :)
00:06 < impl> hehe
00:06 < horros_> err
00:06 < horros_> change the d) to Me and missus have a child
00:06 < horros_> then we have it sorted
00:07 < impl> Oh, I was under the impression you were differentiating between perfect and present tenses :P
00:08 < horros_> in that case, add the kid as f)
00:08 < horros_> :D
00:09 < horros_> I suppose at the time I'm building a house I can "need a drink -- J.R."
00:09 < impl> I'd imagine so!
00:10 < Wombert> you have a blue label jackie bottle?
00:10 < Wombert> I thought you were broke 24/7 you fool
00:10 < Wombert> how can you afford that
00:10 * impl is under the impression he's had it for a long time
00:12 < horros_> Wombert: uhh? I'm not broke 24/7 :)
00:12 < horros_> I'm broke about 12/7
00:12 < horros_> mostly from buying expensinve booze :(
00:14 < horros_> ich möchte ein bischen xbox spielen
00:14 < horros_> or something
00:16 < Wombert> do that :)
00:16 < Wombert> I'm still working on your patch
00:16 < impl> The PHP developers are at it again...
00:17 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
00:17 < impl> 17:14:46 <@helly25> edin, $id = $_POST['id'] ?: $_GET['id'] ?: 0;
00:17 < impl> That means, "pick first of $_POST['id'], $_GET['id'], 0"
00:17 < impl> Goddamnit we don't need that operator
00:18 -!- Prometheus^ [n=Promethe@cs181171069.pp.htv.fi] has joined #agavi
00:21 < Wombert> god that is sooo much to document
00:26 < CIA-11> david * r1813 /branches/0.11/docs/docbook/manual.xml: some more docs, thanks Markus Lervik
00:26 < Wombert> I added a bit of structure
00:26 < Wombert> not nearly enough though
00:26 < Wombert> that's gonna be a beast man..
00:26 < Wombert> and the order is important, too
00:26 < Wombert> oh well
00:26 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 104 (Connection reset by peer)]
00:27 < horros> bloody xlink
01:02 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
01:14 -!- digitarald [n=Miranda@62-43-129-181.user.ono.com] has joined #agavi
01:18 -!- Wombert [n=Wombert@dslb-084-056-021-015.pools.arcor-ip.net] has quit []
01:24 -!- Wombert [n=Wombert@dslb-084-056-021-015.pools.arcor-ip.net] has joined #agavi
01:41 -!- EGreg_ [n=EGreg@66.147.216.134] has joined #agavi
01:41 < Wombert> cheers man
01:41 < Wombert> so what agavi can do...
01:41 < EGreg_> lol something's wrong with my irc client
01:41 < EGreg_> i don't see any names here
01:41 < EGreg_> and didn't join #prado
01:42 < EGreg_> hold on a sec
01:42 < EGreg_> i will reconnect
01:42 -!- EGreg_ [n=EGreg@66.147.216.134] has quit ["Trillian (http://www.ceruleanstudios.com"]
01:42 -!- EGreg [n=EGreg@66.147.216.134] has joined #agavi
01:42 < EGreg> AH BETTER
01:43 < EGreg> okay now you can explain
01:43 < EGreg> :)
01:43 < Wombert> k
01:43 < Wombert> I just don't feel comfortable talking about agavi on #symfony
01:43 < EGreg> makes ense
01:44 < Wombert> plus they stole code from us and violated licenses so..
01:44 < Wombert> anyway
01:44 < Wombert> here's guessing that agavi will not have enough high level features for you BUT
01:44 < Wombert> I will explain anyway
01:44 < Wombert> say you build a web shop
01:44 < Wombert> it's done
01:44 < Wombert> your boss walks up to you and says he wants a REST interface
01:44 < Wombert> you don't have to rewrite any single line of code
01:45 < Wombert> you just add the respective output stuff, and then you're done
01:45 < Wombert> that's what agavi can do
01:45 < Wombert> for instance, we built an IRC bot that runs on agavi
01:45 < Wombert> you say !seen EGreg on the channel
01:45 < Wombert> and the bot replies
01:45 < Wombert> the same code powers the respective web page where you enter the nickname and click a button
01:45 < Wombert> it's a bit more enterprise-ish
01:45 < EGreg> eh
01:45 < EGreg> this is cool
01:45 < Wombert> and we don't have a website yet
01:45 < Wombert> or any good documentation
01:46 < EGreg> but what is the style of writing a WEBSITE like facebook?
01:46 < Wombert> like symfony, agavi is based on mojavi3
01:46 < Wombert> unlike symfony, however, we threw out or reworked the parts that were not good enough
01:46 < Wombert> which were plenty, so it doesn't resemble mojavi as much as symfony, but you'd still find your way around
01:46 < Wombert> our routing clearly is better, I dare to say... hmm what else
01:46 < Wombert> rock solid i18n we have
01:47 < Wombert> we're stable now, no more breaking changes
01:47 < Wombert> super flexible layouting system
01:47 < Wombert> caching
01:47 < Wombert> automatic form population!
01:47 < Wombert> without stupid form helper tags
01:48 < Wombert> and it's re-populated on post (or whenever you want)
01:48 < Wombert> #1 agavi concept is not to lock you in
01:48 < Wombert> we don't force you to use a certain database layer or anything
01:48 < Wombert> symfony is nice and shiny and easy but only if you use it with propel
01:48 < Wombert> no propel, no candy
01:49 < Wombert> same for the templates, all the symfony helpers (including useless junk for setting the html page title) are only available in php templates, as far as I know
01:49 < Wombert> not in smarty ones or whatever you use
01:50 < Wombert> oh and we use xml for configuration
01:50 < Wombert> no yaml
01:51 < Whisller> this is why we love agavi :D
01:51 -!- EGreg [n=EGreg@66.147.216.134] has quit [Read error: 131 (Connection reset by peer)]
01:53 -!- EGreg [n=EGreg@66.147.216.134] has joined #agavi
01:53 < EGreg> oh yeah.
01:53 < EGreg> lol
01:53 < Wombert> what's the last you got, EGreg
01:53 < EGreg> i got two lines
01:53 < EGreg> from u
01:53 < EGreg> can u repeat them though
01:53 < Wombert> [00:46] Wombert: like symfony, agavi is based on mojavi3
01:53 < Wombert> [00:46] Wombert: unlike symfony, however, we threw out or reworked the parts that were not good enough
01:53 < Wombert> [00:46] Wombert: which were plenty, so it doesn't resemble mojavi as much as symfony, but you'd still find your way around
01:53 < Wombert> [00:46] Wombert: our routing clearly is better, I dare to say... hmm what else
01:53 < Wombert> [00:46] Wombert: rock solid i18n we have
01:53 < Wombert> [00:47] Wombert: we're stable now, no more breaking changes
01:53 < Wombert> [00:47] Wombert: super flexible layouting system
01:53 < Wombert> [00:47] Wombert: caching
01:53 < Wombert> [00:47] Wombert: automatic form population!
01:53 < Wombert> [00:47] Wombert: without stupid form helper tags
01:53 < Wombert> [00:48] Wombert: and it's re-populated on post (or whenever you want)
01:53 < Wombert> [00:48] Wombert: #1 agavi concept is not to lock you in
01:53 < Wombert> [00:48] Wombert: we don't force you to use a certain database layer or anything
01:53 < Wombert> [00:48] Wombert: symfony is nice and shiny and easy but only if you use it with propel
01:54 < Wombert> [00:48] Wombert: no propel, no candy
01:54 < Wombert> [00:49] Wombert: same for the templates, all the symfony helpers (including useless junk for setting the html page title) are only available in php templates, as far as I know
01:54 < Wombert> [00:49] Wombert: not in smarty ones or whatever you use
01:54 < Wombert> [00:50] Wombert: oh and we use xml for configuration
01:54 < Wombert> [00:50] Wombert: no yaml
01:54 < impl> and it's cached
01:54 < impl> :D
01:55 < Wombert> it's a matter of taste, really, although I have to tell you (no bullshit, honest opinion) that technically, agavi is at least a year ahead of symfony
01:55 < EGreg> ok let me read that
01:56 < EGreg> okay
01:56 < EGreg> not bad
01:56 < splatch> oi! :)
01:56 < EGreg> impl i remember you from EFnet i think
01:56 < EGreg> at least another impl
01:56 < Wombert> wait
01:56 < Wombert> did he kick you or something?
01:57 < Wombert> if yes, he's not the same guy xD
01:57 < EGreg> i don't believe so
01:57 < Wombert> cool
01:57 < EGreg> lol
01:57 < Wombert> then he is the same guy
01:57 < EGreg> i got scared for a second
01:57 < EGreg> :-P
01:57 < EGreg> because on efnet the ops kick in a lot of channels for minor things
01:57 < EGreg> like once, i asked a question in two channels the guy happened to be in
01:57 < EGreg> he was an op in one of the channels. He asked me a counter question. I had gone to the bathroom. So he banned me.
01:57 < EGreg> i come back i'm banned -- i ask why, he's like ... you didnt answer my question, it was rude
01:57 < EGreg> lol
01:57 < Wombert> lol wtf
01:58 < splatch> and bye! :]
01:58 < Wombert> cheers splatch
01:58 < EGreg> i finally got him to unmban me (wow, most irc ops would escalate that kind of behavior to perm banning)
01:58 < splatch> Wombert: cheers... hm
01:58 < splatch> i'll open next bear
01:58 < Wombert> yes
01:58 < Wombert> beer please
01:58 < Wombert> bears will eat you
01:58 < EGreg> but when i asked the question again, he would dominate the conversation (others couldnt help me) and kept telling me i dont need to do what i'm doing, and then when I explained why i need it, he banned me again, this time for good.
01:58 < EGreg> lol
01:58 < splatch> haineken?
01:58 < splatch> ;]
01:58 < EGreg> freenode = much more friendly :)
01:58 < EGreg> hehe
01:59 < splatch> Wombert: you must travell to Poland :)
02:00 < splatch> Wombert: we'll drink some beer and tok about life :)
02:00 < horros> boo, I want more beer too
02:00 < horros> but I'm too tired to go to the bar
02:00 < horros> :(
02:00 < Wombert> horros: is the missus not around or what
02:00 < splatch> horros: so.. drink at home :)
02:00 < horros> Wombert: nope :)
02:00 < Wombert> heh :D
02:00 < Wombert> horros: write docs!
02:00 < Wombert> :>
02:00 < horros> splatch: humm, I'm out of beer. like I stated
02:00 < horros> Wombert: then you'd have even more to edit when I'm done :)
02:01 < Wombert> and don't touch the blue label will you
02:01 < horros> I'm getting giddy :)
02:01 < Wombert> I have an idea
02:01 < Wombert> make a screencast
02:01 < Wombert> with a finnish voiceover
02:01 < Wombert> that would crack people up
02:01 < splatch> yes! :)
02:01 < horros> Wombert: of course not. drinking *GOOD* whiskey when you are already drunk is a waste of a) money and b) good whiskey
02:01 * Wombert pokes EGreg
02:01 < Wombert> did you timeout again?
02:01 < splatch> Wombert: i thought about that
02:02 < EGreg> yo
02:02 < splatch> horros: damm, you're right
02:02 < horros> splatch: regardin the beer or the whiskey?
02:02 < horros> :)
02:02 < EGreg> bottom line
02:02 -!- digitarald [n=Miranda@62-43-129-181.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
02:02 < EGreg> if you have a framework in php
02:02 < EGreg> like symfony
02:02 < EGreg> or agavi
02:03 < EGreg> and you USE IT and write a website with 10,000 page requests a SECOND
02:03 < splatch> horros: so i'm still drinkin' a bear to don't wase a) money b) wiskey :]
02:03 < EGreg> how many servers will you need? is it a sane thing to do?
02:03 < Wombert> EGreg: http://trac.agavi.org/wiki/ShowCase/MiDaSi
02:03 < Wombert> mind you, that is without caching
02:03 < Wombert> (agavi caching content)
02:03 < Wombert> they use APC or something though I guess
02:04 < horros> EGreg: That's where people usually calculate all wrong. The key when serving many thousand requests per second is *bandwidth*, not server power.
02:04 < horros> Fo' serious.
02:04 < Wombert> horros would know, they build a huge app using agavi
02:04 < Wombert> not with your request/sec figures though
02:04 < kaos> and you will probably have database performance problems before anyways
02:05 < horros> no, but think of it this way... say you have a page that is 20KB, images and all.
02:05 < splatch> database it's always problem
02:05 < horros> 10, 000 * 20KB = 200 000KB/s
02:05 < impl> EGreg: I'm on EFnet too, @#php
02:05 < splatch> php is always up, but database not
02:05 < impl> :)
02:05 < Wombert> EGreg: where agavi would help you for a social network is it's code resusability and cleanliness. you can drop a rest interface on easily. ajax and normal pages use the same code, just different output types. i18n. stuff like that
02:05 < impl> I recognized your nick from somewhere, and now I remember I was looking at your component framework
02:06 < Wombert> impl: carry on telling him how kick arse agavi is ;)
02:06 < Wombert> EGreg: where are you from anyway?
02:06 < horros> 200 000kb/s is 195mb/s if my calculations aren't completely wrong
02:06 < Wombert> flawless english, so I'm guessing the US of A maybe
02:06 < horros> which they may very well be, as I'm drunk as a goose
02:06 < splatch> Wombert: i'm going to lear my poor english ;)
02:07 < splatch> *learn
02:07 < horros> but if you have money to spend on 200 000 KB/s bandwidth, you sure as hell ought to have money to spend on a couple of servers ;D
02:07 < Wombert> don't learn poor english, learn good english! ;)
02:07 < Wombert> but yes, do it, english is very important!
02:07 < Wombert> and good luck with that
02:07 < EGreg> http://karlkatzke.com/cachingsux/#more-47
02:07 < EGreg> I'm from NYC
02:07 < Wombert> your english is getting better anyway
02:07 < Wombert> at least I think so
02:07 < splatch> Wombert: my english is very poor now and he going to be more poorest :]
02:08 < Wombert> it can only get better, no worries
02:08 < Wombert> Unfortunately, he forgot one important fact about caching: Caching doesn’t help much if your pages change for every user that logs in.
02:08 < Wombert> wrong
02:08 < Wombert> in agavi, you can cache per user
02:08 < Wombert> per user group
02:08 < Wombert> per credential
02:08 < EGreg> oh yeah impl
02:08 < EGreg> my component framework :)
02:08 < Wombert> per request argument
02:08 < Wombert> you can cache portions of the page
02:08 < EGreg> the other day i was showing my component framework which is VERY light weight
02:08 < Wombert> you can cache two inner layers and two components on the outermost one
02:09 < Wombert> etc etc etc
02:09 < EGreg> the point was to make the most lightweight framework possible while still allowing RAD. That's really all I want.
02:09 < EGreg> yeah, wombert, that sounds good
02:09 < EGreg> as long as you can cache a lot there isn't much overhead
02:10 < Wombert> for instance, the discount can be dynamic, the rest of the item info is cached
02:10 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Dobranoc"]
02:13 * horros humms
02:13 < EGreg> gtg
02:13 < Wombert> :)
02:14 < Wombert> it's been a pleasure, sir
02:14 < horros> Wombert: oh, was any of the routing docs useful?
02:14 < Wombert> over the next weeks, we'll launch a website and add proper manuals
02:14 < Wombert> horros: yeah I committed them already!?
02:14 < horros> oh..?
02:14 < impl> @Q@%!!!
02:14 * horros does ze update
02:15 * horros nukes local manual
02:17 < horros> Wombert: what are these @@ things?-)
02:17 < Wombert> link placeholders
02:17 < Wombert> ignore them for now
02:17 < Wombert> they're just reminders, not too important
02:17 < kaos> btw, the xml is invalid atm wom
02:17 < kaos> check the small red dot in the bottom left of XE
02:17 < Wombert> horros' fault :p
02:17 < Wombert> let me check
02:18 < horros> o/
02:18 < horros> I'll take the blame!
02:18 < horros> :)
02:18 < horros> small red dot in the bottom left...
02:18 < kaos> "the sequence of child elements is incorrect" \o/
02:19 < horros> sometime I wonder if I even use the same app :D
02:19 < Wombert> uhm
02:19 < kaos> in the status bar
02:19 < Wombert> I have a green okay symbol
02:19 < kaos> or is it just me ?
02:19 < Wombert> yes :p
02:19 < kaos> heh
02:19 < kaos> k
02:19 < Wombert> "/Users/dzuelke/Sites/_projects/agavi/branches/0.11/docs/docbook/manual.xml" is valid.
02:19 < kaos> then i take all the blame .)
02:19 < horros> kaos: rm manual.xml && svn update
02:19 < horros> :)
02:19 < kaos> well, no
02:20 < Wombert> horros: svn revert manual.xml :p
02:20 < horros> I have... well, nothing.
02:20 < kaos> i don't want to destroy my changes
02:20 < kaos> i don't really like doing the same stuff twice ;)
02:20 < horros> "C:\Projects\agavi_0.11\docs\docbook\manual.xml" is valid.
02:21 < horros> \o/
02:21 < horros> <- didn't fuck up
02:22 -!- EGreg [n=EGreg@66.147.216.134] has quit [Read error: 60 (Operation timed out)]
02:22 < impl> Anyone here edit docbook on *nix?
02:22 < splatch> if (feof($bear)) {exit;}
02:22 < splatch> bye!
02:22 < impl> bai2u.
02:24 < horros> impl: xmlmind is java, innit? hence would run on *nix too.
02:24 < impl> Oh, is it?
02:24 < horros> yes indeed
02:24 < horros> www.xmlmind.com
02:24 < impl> Grand :D
02:25 < horros> It's very good.
02:25 < horros> Except for a few glitches.
02:25 < horros> Number one being... it sucks.
02:25 < horros> :)
02:25 < impl> Do you know of something better? :P
02:25 -!- Prometheus^ [n=Promethe@cs181171069.pp.htv.fi] has quit []
02:25 < horros> unfortunately no.
02:26 < horros> nothing that is wysiwyg anyway.
02:26 < horros> I mean, docbook is nothing but XML in the end, so any decent xml-aware editor should do
02:26 < horros> but you won't see what you're doing :)
02:27 * impl nods.
02:28 < horros> anyway.
02:28 < horros> I better raus gehen mit dem Hund.
02:29 < horros> und then ich will schlafe!
02:29 < horros> hihi, my germlish is funn-ay.
02:29 < Wombert> in ordnung
02:30 < kaos> JAWOLL!
02:31 < Wombert> ah yes that's more german
02:32 < horros> Ich bin ein bischen betrunkt
02:32 < horros> or something
02:32 < Wombert> betrunken
02:32 < Wombert> good!
02:32 < horros> I always do have a problem with the damn tenses :)
02:32 < Wombert> wenn du zur cebit kommen würdest
02:32 < horros> ooh, ich habe cashew-nussen!
02:32 < Wombert> könntest du dein deutsch üben
02:33 < horros> Wombert: ja, aber nur wenn ich betrunkt bin
02:33 < Wombert> horros: kein Problem, wir haben gutes Bier
02:33 < Wombert> zumindest hier in Bayern
02:33 < Wombert> dort in Hannover... okay, nein
02:33 < horros> haha
02:33 < horros> bayern schmayern
02:33 < horros> :D
02:34 < Wombert> das ist mehr oder weniger gefärbtes Wasser
02:34 < Wombert> kein Bier
02:34 < horros> DU BIST WASSER!
02:34 < horros> :)
02:34 < Wombert> jedenfalls darf man als Bayer kein norddeutsches Bier mögen
02:34 < impl> Tantum Latinam dico. :(
02:34 < horros> Wombert: Ich finde Franziskaner Weissbier sehr gut.
02:34 < Wombert> horros: oh ja das stimmt, aber ich mag Weissbier nicht besonders
02:34 < impl> ...
02:34 < horros> Aber ich weiss nicht wo est is... ummm.. gemacht
02:35 < horros> oder etwas
02:35 < Wombert> wegen der Hefe
02:35 < impl> BLITZKRIEG!
02:35 < Wombert> es kommt hier aus München!
02:35 < horros> Wombert: woher kommt Kellermönch?
02:36 < Wombert> das weiss ich nicht
02:37 < horros> es ist sehr gut
02:37 < horros> weiss wein
02:37 < horros> halb-süss
02:37 < horros> <3
02:37 < Wombert> :>>>
02:40 < horros> sehst du, wann ich ein paar Bier gehat, ich ferstehe Deutch ganz gut.
02:40 < horros> aber meine Grammatik ist immer Kacke
02:40 < horros> :D
02:41 < horros> jedenfalls
02:41 < horros> => raus mit dem Hund
02:41 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Funny face"]
02:41 < Wombert> haha :) that was pretty good actually
02:42 < horros> lol
02:42 < Wombert> "aber meine Grammatik ist immer Kacke"
02:42 < Wombert> hilarious
02:42 * Wombert hugs horros
02:42 < kaos> Tantum Latinam dico. :( <-- omg, i don't understand a single word anymore
02:42 < kaos> and i had 5 friggin years of latin at school
02:42 < Wombert> tantum... means... many?
02:43 < impl> "only"
02:43 < Wombert> dico... dico?
02:43 < kaos> dicere
02:43 < Wombert> dire?
02:43 < Wombert> speak?
02:43 < Wombert> say?
02:43 < impl> Yeah, speak or say.
02:43 < kaos> speak iirc
02:43 < impl> though say is more like um
02:44 < impl> Intuit
02:44 < kaos> HABEMUS PAPAM!!!!!!!1111111111
02:44 < kaos> *g*
02:44 < impl> You have something.
02:44 < kaos> (which translates to, "we are pope" :P
02:44 < impl> er
02:44 < impl> We have something
02:44 < impl> I guess
02:44 < impl> Depends on who you're including in the we :P
02:44 < kaos> at least for some german boulevard newspaper ;P)
02:45 < impl> Weird that Pope is first declension
02:45 < Wombert> no that's a name
02:45 < Wombert> :p
02:45 < kaos> no
02:45 < kaos> its dativ
02:45 < impl> Dative of what declension?
02:45 < kaos> papa ?
02:45 < kaos> i don't know ^^
02:45 < impl> That'd be papae
02:46 < horros> gaudeamus igitur, juvenes dum sumur
02:46 < horros> iuvenes*
02:46 < kaos> quot licet jovi non licet bovi
02:46 < kaos> HA!
02:46 < Wombert> that was a short walk for ze dog
02:46 < kaos> well, dogs usually sleep at night ;)
02:46 < horros> Wombert: I haven't gone yet :)
02:47 < horros> hmm
02:47 < horros> "post iucundam iuventutem, post molestam senectutem"
02:47 < horros> "nos habebit humus"
02:47 < horros> or something
02:47 < impl> I don't know most of these words :\
02:48 * impl fails at vocabulary
02:48 * kaos too ... thats why i failed at school too *g*
02:48 < horros> ought to be something like...
02:48 < impl> My Latin teacher is like "all translations are open-book"
02:48 < impl> so I never bother memorizing any of it
02:49 < horros> "be happy for as long as you are young, after the sweet youth comes.. umm.. err, something. we will inherit the earth."
02:50 < kaos> "nos habebit humus" <-- i think literally translated this means "the earth will have us"
02:50 < horros> that's what we sing when we graduate from upper secondary
02:50 < horros> kaos: maybe :)
02:50 < horros> kaos: I've read fuck all latin. It might, as far as I know, mean "after our sweet youth we are doomed and the earth will swallow us"
02:50 < horros> :)
02:51 < horros> AAAANYWAY
02:51 < impl> horros: post molestam senectutem = after the wicked/troublesome old age
02:51 < horros> => over and out
02:51 < horros> adieu
02:51 < impl> I guess it should be "after the onset of ..."
02:51 < impl> to make sense
02:51 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit ["zZzZ"]
02:51 < impl> D:
02:56 < kaos> OMG LUNIX
02:56 < kaos> or rather OMG OPEN SOURCE
02:57 < kaos> impl: have you ever tried conglomerate ?
02:57 < impl> Nosir
02:57 < kaos> well, don't
02:57 < impl> What is it? :)
02:57 < kaos> an xml editor
02:57 < kaos> /docbook editor
02:57 < impl> Ah.
02:57 < kaos> at least its supposed to be such a thing
02:57 < kaos> it just has _slight_ problems loading the agavi manual *g*
02:58 < kaos> (as in: it freezes :D)
02:58 < kaos> hah
02:58 < kaos> a response
02:58 < Wombert> In particular, our primary goal is to create the ultimate editor for DocBook and similar formats.
02:58 < Wombert> from the home page :p
02:58 < kaos> only took 30 seconds to load the doc
02:58 < Wombert> and like all docbook software
02:58 < Wombert> Conglomerate is copyright © 1999-2005
02:58 < Wombert> ...
02:58 < kaos> outch
02:59 < kaos> another mistake
02:59 < kaos> i tried to resize the window
02:59 < impl> haha
02:59 < kaos> frozen again *g*
02:59 < impl> DO NOT TOUCH.
02:59 < kaos> i mean wtf
02:59 < kaos> this is not even close to 0.9
02:59 < kaos> more like 0.0.0.0.0.1 pre alpha
03:00 < Wombert> http://www.conglomerate.org/shots/edit_1.png pretty cool actually
03:01 < kaos> Package ooo2dbk# stable (text): converts OpenOffice.org SXW documents to DocBook XML <-- i don't even want to imagine how the resulting docbook will look like
03:02 < kaos> another mistake
03:02 < kaos> trying to collapse one of those items
03:02 < kaos> haha
03:02 < kaos> what a piece of shit
03:03 < impl> I'm going to try wysihtml-el
03:03 * impl hugs emacs
03:03 < kaos> I'm going to try wysihtml-el <-- heh, i just saw that too
03:04 < kaos> its using gecko it seems
03:04 < kaos> oi
03:04 < Wombert> does it rawk?
03:04 < kaos> typing locks up conglomerate too
03:05 < kaos> now you know why they stopped developing it *g*
03:05 < kaos> and lol
03:05 < kaos> the scrollbar ends before the document ends
03:06 < kaos> welcome to the beautiful world of open source
03:06 < kaos> Wombert: we should really think about selling agavi
03:07 < kaos> the open source world just doesn't deserve agavi *g*
03:09 < kaos> wtf ubuntu
03:09 < kaos> i removed conglomerate
03:09 < kaos> and the menu entry is still there
03:09 < kaos> LUNIX FTW !!!!!!!!!!!!!!!
03:11 < impl> is not an acceptable element?
03:11 < impl> nxml-mode underlined it
03:17 < impl> Ack, nxml-mode is using V4.2 and not V4.4!
03:24 < impl> and in fact the newest release is 4.5!
03:25 < Wombert> 5.0 is cooler tho
03:25 < Wombert> uses RelaxNG
03:25 < Wombert> and got some cleanups
03:25 < impl> Want to switch to it?
03:25 < Wombert> likely
03:25 < impl> (now? :P)
03:25 < Wombert> we need an editor with RelaxNG support tho
03:25 < Wombert> that is cross platform
03:25 < Wombert> and free
03:25 < impl> emacs!
03:25 < Wombert> and doesn't suck
03:25 < Wombert> no need for WYSIWYG
03:25 < impl> http://www.thaiopensource.com/nxml-mode/
03:26 < Wombert> but it must enforce the DTD or RelaxNG schema or whatever
03:26 < impl> It underlines errors, pretty highlighting
03:26 < impl> etc
03:26 < Wombert> hmm
03:26 < Wombert> does it have stuff like
03:26 < Wombert> if I press return in a
03:26 < Wombert> it makes a new
03:26 < Wombert> ?
03:26 < impl> Um
03:26 < impl> Let me try
03:26 < Wombert> and can it fold tags etc
03:27 < impl> I mean
03:27 < Wombert> it must be an XML editor, not a text editor with highlighting
03:27 < Wombert> i.e. I don't want to navigate inside tags and stuff
03:27 < Wombert> dude
03:27 < Wombert> that's from 2004
03:27 < Wombert> forget it
03:27 < Wombert> wtf is going on
03:28 < impl> hmmh
03:28 < impl> XMLMind doesn't support Relax NG then?
03:28 < Wombert> is it like that if you maintain a docbook editor, soon after, a black helicopter hovers above your house and the comemrcial xml industry ninjas jump down and shoot you
03:29 < impl> ...
03:29 < Wombert> all projects, even commercial ones, were abandoned sometime in 2005 or so
03:29 < impl> Interesting perspective
03:31 < impl> Wombert: Keep in mind that emacs has been around since like 1976, so something updated in 2004 is still pretty recent :P
03:34 < impl> Wombert: the module should validate against any RNG ... thing, schema?
03:34 < impl> or mode
03:34 < impl> rather
03:34 < Wombert> dtd or xml schema works, too
03:34 < Wombert> but docbook 5 is written in relaxng
03:34 < Wombert> so that would be best
03:34 < impl> What's the difference between docbook and docbookxi?
03:34 < Wombert> but you can generate xml schema and dtd from relaxng
03:35 < Wombert> docbookxi?
03:35 < impl> http://www.docbook.org/xml/5.0CR1/rng/
03:35 < Wombert> ah that's docbook with xinclude support I think
03:35 < impl> ah
03:36 < Wombert> Allow XInclude elements in info elements (in the docbookxi schemas).
03:36 < Wombert> hm
03:43 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: neotekk_, MrJeep, v-dogg, benny`work
03:44 -!- Netsplit over, joins: benny`work, v-dogg, MrJeep, neotekk_
03:46 -!- benny`work [n=benny@p54AC335D.dip0.t-ipconnect.de] has quit ["unset($this);"]
03:57 -!- tsb [n=tsb@c1A9101C3.dhcp.bluecom.no] has joined #agavi
03:57 -!- [freenode-info] please register your nickname...don't forget to auto-identify! http://freenode.net/faq.shtml#nicksetup
03:57 -!- tsb [n=tsb@c1A9101C3.dhcp.bluecom.no] has left #agavi ["Konversation terminated!"]
04:13 < Wombert> http://www.apple.com/trailers/independent/blacksheep/trailer/ aaaawesome
04:27 < impl> Wombert: I've got emacs set up to use any schema we want now for docbook :)
04:28 < impl> RNG schema, that is
04:31 < impl> nXML Valid :)
04:36 < impl> http://img145.imageshack.us/img145/9672/emacs200703020qo3.png
04:50 < kaos> http://www.bbspot.com/News/2007/03/boston-police-blow-up-suspicious-looking-man.html
04:50 < kaos> W T F
04:51 < kaos> "We cleared the area, snuck up behind him, attached the explosives and detonated him."
04:51 < kaos> WHO i gods name can justify such an action ?
04:51 < impl> rofl bbspot
04:52 < Wombert> it must be true if it's on the internet...
04:52 < impl> http://bbspot.com/News/2000/6/php_suspend.html
04:52 < kaos> yeah ;)
04:52 < kaos> i know ^^
04:52 < kaos> but its still funny ;)
04:53 < kaos> it must be true if it's on the internet... <-- more like "it must be true if its on digg"
04:53 < kaos> ;D
04:56 < kaos> nn
05:06 -!- Wombert [n=Wombert@dslb-084-056-021-015.pools.arcor-ip.net] has quit []
07:54 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi
07:56 < raidman> huomenta
08:18 -!- shoan_ [n=shoan@59.92.185.59] has joined #agavi
08:33 -!- shoan [n=shoan@59.92.184.78] has quit [Read error: 110 (Connection timed out)]
08:46 -!- EGreg [n=EGreg@cpe-66-65-118-24.nyc.res.rr.com] has joined #agavi
08:47 -!- EGreg [n=EGreg@cpe-66-65-118-24.nyc.res.rr.com] has quit [Client Quit]
08:52 -!- shoan_ [n=shoan@59.92.185.59] has quit [Read error: 60 (Operation timed out)]
08:54 -!- shoan [n=shoan@59.96.38.210] has joined #agavi
09:03 -!- shoan_ [n=shoan@59.92.137.4] has joined #agavi
09:03 -!- EGreg [n=EGreg@pool-162-83-254-119.ny5030.east.verizon.net] has joined #agavi
09:04 -!- EGreg [n=EGreg@pool-162-83-254-119.ny5030.east.verizon.net] has quit [Client Quit]
09:04 -!- EGreg [n=EGreg@pool-162-83-254-119.ny5030.east.verizon.net] has joined #agavi
09:04 -!- EGreg [n=EGreg@pool-162-83-254-119.ny5030.east.verizon.net] has quit [Client Quit]
09:04 -!- EGreg [n=EGreg@pool-162-83-254-119.ny5030.east.verizon.net] has joined #agavi
09:08 -!- shoan [n=shoan@59.96.38.210] has quit [Read error: 145 (Connection timed out)]
09:09 -!- shoan [n=shoan@59.96.40.214] has joined #agavi
09:22 -!- shoan_ [n=shoan@59.92.137.4] has quit [Read error: 110 (Connection timed out)]
09:26 -!- shoan_ [n=shoan@59.92.173.228] has joined #agavi
09:30 -!- shoan [n=shoan@59.96.40.214] has quit [Read error: 60 (Operation timed out)]
09:51 -!- EGreg [n=EGreg@pool-162-83-254-119.ny5030.east.verizon.net] has quit [Read error: 104 (Connection reset by peer)]
09:59 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
10:09 -!- shoan_ [n=shoan@59.92.173.228] has quit [Read error: 110 (Connection timed out)]
10:11 < v-dogg> huomenta
10:15 < v-dogg> 8 episodes of The Simpons on today \o/
10:32 -!- shoan [n=shoan@59.92.152.219] has joined #agavi
11:01 -!- shoan_ [n=shoan@59.92.223.196] has joined #agavi
11:06 -!- shoan [n=shoan@59.92.152.219] has quit [Read error: 145 (Connection timed out)]
11:24 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
11:24 < horros> mornink
11:24 < ttj> Yo.
11:24 < ttj> v-dogg: ?
11:25 < ttj> Oh shit, and I was supposed to get through the two course books for the exam on Monday...
11:25 -!- digitarald [n=Miranda@62-43-129-181.user.ono.com] has joined #agavi
11:26 < horros> omg six simpsons-episodes + madtv
11:26 < ttj> :-(
11:26 < ttj> You Only Move Twice. :-(
11:26 < ttj> That's one of the best episodes.
11:27 < horros> haha, yeah
11:27 < horros> ARGH!
11:27 < ttj> "Oh no, not the Denver Broncos..."
11:27 < horros> TELKKU.COM HAS YHDYS SANA VIRHEIT!
11:27 < ttj> OMGLOLWTFBBQ!
11:27 < horros> "Homerin nyrkkeily valmentaja"
11:28 * horros can't take it
11:28 * horros explodes
11:28 < ttj> I'm guessing tellku.com syndicates that stuff from somewhere else. :-)
11:28 < ttj> telkku.com.
11:28 < horros> well
11:28 < horros> someone deserves to be shot in the face. at close range. with a sawed-off shotgun.
11:29 < ttj> Well, Finnish as a language sucks, so I don't really give a damn.
11:29 < horros> I seriously can't understand how it can be that difficult to write properly.
11:30 < horros> I see that shit in bloody newspapers every day!
11:30 < horros> Didn't they have "idinkieli" in school?
11:30 < ttj> Dunno. But why the fuck do I have to write my BSc thesis in Finnish?
11:31 < ttj> I mean, how do you translate offshore, nearshore and onshore into Finnish? Or motivators and demotivators?
11:31 -!- Wombert [n=Wombert@dslb-084-056-021-015.pools.arcor-ip.net] has joined #agavi
11:31 < horros> And as for newspapers; what the bloody hell are their executive editor doing?!
11:31 < horros> editors*
11:31 < ttj> If I was the editor-in-chief of some newspaper, I'd just spin with my chair all day.
11:31 < horros> morning wombert
11:31 < horros> haha
11:31 < horros> I'd be more like the bloke in spiderman
11:31 < horros> smoking my cigar and yelling all the time
11:32 < horros> ...and end up with a bleeding ulcer.
11:32 < ttj> That reminds me. "Homer, your job is to motivate the guys." ... "Umm... So... Are you guys motivated?" "Yes, boss!" "Umm... Could you work any harder?" "Sure thing, boss!" :P
11:32 < horros> which isn't that difficult from what I do today, I suppose.
11:33 < horros> smoke cigarettes, yell alot and about to get an ulcer, I mean.
11:33 < ttj> But I'm guessing you don't smoke cigars at work.
11:33 < horros> no, I smoke cigarettes at work :)
11:33 < horros> anyway
11:33 < horros> enough ranting, got to feed ze dog
11:33 < horros> and myself
11:34 < ttj> Later.
11:34 < ttj> Still have to wait for the shirts to dry before I can feed myself. :-(
11:49 < Wombert> morning
11:50 < ttj> Yo.
12:00 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi
12:04 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi
12:06 < Whisller> Ahh what a beautiful wheater. But wind is still cold. Btw hello :)
12:11 < horros> Wombert: oh, btw, how was the "finnisher nusskuche"?
12:11 < Wombert> not good
12:11 < _cheerios> haha
12:12 < _cheerios> lies!
12:12 < horros> Wombert: so it had to really be finnish then!
12:22 -!- shoan [n=shoan@59.92.191.131] has joined #agavi
12:32 < _cheerios> Eclipse tonight, anyone going to -- gasp, leave their computer and -- watch? Begins 22:16, total eclipse ~ 00:44-01:58, over by 04:26. Times in GMT+2.
12:32 < ttj> Nah.
12:32 < ttj> Need to get through Cusumano's The Business of Software and Messerschmitt's Software Ecosystem by Monday.
12:33 < v-dogg> eclipse of the moon
12:34 < horros> I was thinking I'll go see if I see it
12:34 < horros> only I fear it'll be overcast
12:34 < v-dogg> zero chance of seeing it in turku
12:35 < horros> how so?
12:35 < v-dogg> too cloudy
12:35 < horros> yep, the weather forecast says cloudy during the night :((
12:36 < _cheerios> Hki covered by clouds atm. too
12:36 < v-dogg> would be nice to see it
12:36 < horros> _cheerios: www.s.fi
12:36 < v-dogg> maybe take a photo or two
12:36 < horros> :)
12:37 < _cheerios> snowflakes blockin' the view, eh
12:37 -!- shoan_ [n=shoan@59.92.223.196] has quit [Read error: 110 (Connection timed out)]
12:38 < horros> I like unicode domain names :)
12:38 < _cheerios> i didnt know of sää.fi, always gone straight to foreca
12:49 < horros> hmm
12:49 < horros> this fair trade -coffee isn't particularly good
12:49 < horros> :(
12:53 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 60 (Operation timed out)]
12:53 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi
12:57 < v-dogg> horros: that's because it doesn't have the bitter-sweet taste of slaves' sweat and tears of the child labour
12:57 < horros> that's true.
12:58 < horros> It has the rancid taste of happy people :(
12:58 < v-dogg> yeeww, disgusting
13:00 < v-dogg> how the hell do you tell this crappy tv-viewing app not to fucking hibernate after it has finished recording!
13:01 < v-dogg> I'm beginning to wonder if Zend and/or Pear people did this piece of fuckware
13:05 < _cheerios> http://plaza.fi/muropaketti/bbs/t431814,25 LOL (scroll to bottom, pic)
13:30 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
13:30 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 104 (Connection reset by peer)]
13:39 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 104 (Connection reset by peer)]
13:55 < _cheerios> http://www.blogsmithmedia.com/www.engadget.com/media/2007/03/3-1-07-mac_crash.jpg
13:55 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 145 (Connection timed out)]
14:05 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi
14:05 < v-dogg> now, what's the best way to handle a situation where an action doesn't support the requested output type?
14:09 < digitarald> in baseview:execute?
14:10 < v-dogg> sure, but what to do there
14:10 < v-dogg> by default an exception is thrown, but I'm not sure that's the best thing to do
14:30 -!- Whisller [n=Whisller@217.97.146.67] has quit [Read error: 110 (Connection timed out)]
14:39 < digitarald> return something for the output type ... a 404 for xhtml, false for json and so on
14:44 < v-dogg> or forward to 404 and implement output type specific stuff there
14:44 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi
14:57 < digitarald> or this
14:57 < digitarald> cleaner
15:09 -!- benny`work [n=benny@p54AC1FB0.dip0.t-ipconnect.de] has joined #agavi
15:27 -!- Whisller [n=Whisller@217.97.146.67] has quit [" polowanie na mochery"]
15:40 -!- shoan [n=shoan@59.92.191.131] has quit [Read error: 110 (Connection timed out)]
15:40 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)]
15:45 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
15:47 -!- Wombert [n=Wombert@dslb-084-056-021-015.pools.arcor-ip.net] has quit [Nick collision from services.]
15:47 -!- Wombert_ [n=Wombert@dslb-084-056-052-229.pools.arcor-ip.net] has joined #agavi
16:09 -!- codecop [n=moni___@85.206.205.158] has joined #agavi
16:33 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 104 (Connection reset by peer)]
16:50 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:12 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 60 (Operation timed out)]
17:22 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
17:25 < Wombert_> v-dogg: the exception is to remind you that you should implement that method properly
17:26 < Wombert_> the one generated by default is just a placeholder
17:26 -!- Wombert_ is now known as Wombert
17:27 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:33 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
17:40 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:40 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
17:41 -!- Arme[N-1] is now known as Arme[N]
17:46 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["Leaving"]
17:52 < v-dogg> Wombert: yes and I just noticed that it already tells you to forward to 404
18:02 < horros> how annoying
18:02 < Wombert> what
18:03 < horros> my task switching replacement thingie can't show small images for windows that are either java apps or drawn with gtk
18:03 < Wombert> you mean some buggy, slow, retarded exposé rip-off ? :p
18:03 < horros> no, I mean a quick, pretty and smart alt-tab replacement
18:04 < Wombert> I got five letters for ya
18:04 < Wombert> p
18:04 < Wombert> k
18:04 < Wombert> e
18:04 < Wombert> f
18:04 < Wombert> c
18:04 < horros> I'll pretend like I know what that means.
18:04 < v-dogg> you don't?!
18:04 < horros> No idea.
18:05 < v-dogg> try tinyurl.com/pkefc
18:05 < Wombert> http://www.tinyurl.com/pkefc
18:05 < horros> oh that crap
18:05 < v-dogg> where have you been on those about seven million times that has been used here :)
18:06 < horros> here, but I've disregarded it
18:06 < horros> I've learned a LONG time ago not to click links that get pasted on IRC
18:06 < v-dogg> (wombs should have answered "fixing his crappy windows :)
18:09 < Wombert> haha
18:12 < horros> hehe
18:12 < horros> my XP now looks like Vista :)
18:14 < v-dogg> hey, js gurus and lovers
18:14 * horros runs away
18:14 < v-dogg> does javascript have local and global vars?
18:15 < horros> I think so
18:15 < v-dogg> if my init method creates an periodical updater, where should I store it for later use?
18:16 < Wombert> http://www.digital-web.com/articles/scope_in_javascript/
18:16 < Wombert> v-dogg: mootools has timers and stuff I think
18:16 < v-dogg> yep, digitarald mentioned that
18:17 < v-dogg> but I'll stick to this for now
18:20 < v-dogg> hm.. this is getting ugly
18:21 < v-dogg> I have two textareas and two updaters. I want to start the corresponding updater when the textarea gets the focus
18:22 < v-dogg> do I need for methods (txt1Start, txt1Stop..) for this or can I group something
18:22 < v-dogg> `?
18:24 < horros> what the...
18:25 < horros> clicking a thumbnail/preview thing on deviantart kills firefox :O
18:25 < v-dogg> go ff! :D
18:25 < horros> let me try that again
18:26 < horros> hmm, nope
18:26 < horros> now it's working
18:26 < horros> It's done it twice this evening
18:30 < horros> \o/ 14 days, 10h 29 min 'till F1
18:30 < horros> :)
18:30 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
18:31 < Wombert> woot?
18:31 < Wombert> awesome!
18:31 < Wombert> I didn't realize that
18:31 < horros> yep
18:31 < horros> melbourne starts this year
18:31 < horros> s/year/season/
18:33 < Wombert> know what
18:33 < Wombert> williams will go broke this year
18:34 < Wombert> because they still don't have their new transmission up
18:34 < Wombert> and two 12 year olds as drivers
18:34 < Wombert> and I hope webber the fucking idiot gets his act together
18:34 < horros> hehe
18:35 < Wombert> but he likely won't
18:35 < Wombert> here's the thing
18:35 < Wombert> he could have driven for renault two years ago...
18:35 < Wombert> and now he's with red bull
18:35 < Wombert> and from what I hear. their car is absolute rubbish
18:35 < horros> hrpf
18:35 < horros> no WRC this weekend either :(
18:36 < horros> hehe
18:36 < horros> the current driver standings are pretty neat
18:36 < horros> four finns in the top ten :)
18:37 < Wombert> At Red Bull, David Coulthard was the quickest driver in eighth after an encouraging outing in the RB3, while team mate Mark Webber finished in 14th.
18:37 < Wombert> bahrain testing last week
18:37 < Wombert> my god...
18:37 < Wombert> I have no clue what Couldthard is doing with that jackass team either
18:38 < horros> wasn't he with toyota last season?
18:38 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 60 (Operation timed out)]
18:38 < Wombert> nah, red bull
18:38 < Wombert> they were... surprisingly good actually
18:39 < Wombert> but I think they had V10 engines
18:39 < horros> yes
18:39 < horros> well no
18:39 < horros> not red bull
18:39 < horros> but toro rosso
18:39 < Wombert> you sure?
18:40 < Wombert> what engines did red bull have
18:40 < horros> red bull bought minardi and started a second team
18:40 < Wombert> yes yes I know :p
18:40 < horros> I believe red bull had the same engines as the rest, v8
18:40 < Wombert> yes but who built them
18:40 < Wombert> I think they both had v10s
18:40 < horros> I'm pretty sure it was toro rosso who had the V10s
18:40 < Wombert> toro rosso has ferrari v8 this year and red bull uses renaults
18:42 < Wombert> ah they had cosworth v8s
18:42 < horros> "The team used Minardi's contracted supply of rev limited and air restricted Cosworth 3.0l V10 engines. "
18:42 < horros> (toro rosso)
18:43 < Wombert> ah no wait
18:43 < horros> "On 23 April 2005, the team announced a deal to use Ferrari engines in 2006. This coincided with a rule change mandating the use of V8 engines, making it likely that both Red Bull Racing and Ferrari would use the same specification engine."
18:43 < horros> (red bull)
18:43 < Wombert> red bull had cosworth engines in 2005 and ferrari in 2006
18:43 < Wombert> yeah
18:43 < horros> hmm
18:43 < horros> I think I shall wander off to the store
18:48 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
18:55 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi
19:06 < v-dogg> anyone could tell me what's wrong with this: Event.observe('body_txt', 'onfocus', bodyOnFocus, false);
19:06 < MrJeep> the on part i think
19:06 < MrJeep> 'focus'
19:06 < horros> yep
19:07 < horros> except it's onfocus for ie and focus for ff
19:07 < horros> I think
19:07 < Wombert> no
19:07 < horros> then again, I might again be babbling
19:07 < Wombert> and it's mootools anyway which handles these differences
19:07 < Wombert> but it's "focus", yes
19:10 < v-dogg> prototype, not mootools here
19:10 < MrJeep> still I think it's the same
19:10 < Wombert> okay
19:10 < Wombert> still "focus"
19:29 < _cheerios> KEY FEATURES IN VMWARE SERVER
19:29 < _cheerios>
19:29 < _cheerios> What's New in Version 1.0.2
19:29 < _cheerios> Version 1.0.2 also incorporates the following new feature:
19:29 < _cheerios> Blinking text is now supported in VGA mode
19:30 < v-dogg> finally \o/
19:41 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
19:43 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi
20:00 < _cheerios> hahaha, hyvä lyhennelmä kuvan tueksi http://plaza.fi/muropaketti/bbs/t480973
20:01 < ttj> Yeah. That went around work via email a while back.
20:03 < _cheerios> *reps*
20:05 < v-dogg> smells like a bogus story
20:10 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
20:28 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)]
20:48 < horros_> jesus fuck
20:49 < horros_> I'm watching JIM... there's funky jet-powered boats that go from 0 - 130km/h in about 2.5 seconds
20:49 < horros_> that'd be fun!
20:49 < horros_> :)
20:58 -!- digitarald [n=Miranda@62-43-129-181.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
21:01 -!- codecop [n=moni___@85.206.205.158] has quit ["Have to go"]
21:09 < v-dogg> #agavi-kanavalla on muuten minun lisksi 4 muuta suomalaista (yhteens vakioporukkaa on vajaa 20)
21:09 < v-dogg> jostain syyst suomalaiset ovat hyvin edustettuina
21:09 < v-dogg> hey! who changed the channel :D
21:09 < v-dogg> lol..
21:10 < v-dogg> I'm marketing agavi to a friend of mine :)
21:10 < v-dogg> and just told him that there are quite a few Finns in this channel
21:11 -!- Wombert [n=Wombert@dslb-084-056-052-229.pools.arcor-ip.net] has quit []
21:11 -!- Wombert [n=Wombert@dslb-084-056-052-229.pools.arcor-ip.net] has joined #agavi
21:11 < horros_> hehe
21:12 < horros_> hmpf
21:12 < horros_> I need more smokes, but JIM has a history document on :(
21:12 < horros_> granted, it's an american document and overly dramatised and filled with "ZOMG WHAT IF THIS HAD HAPPENED WE'D ALL BE *DOOOMED*!!!"
21:14 < horros_> ooh
21:14 < horros_> die alte!
21:14 < horros_> :)
21:15 < Whisller> .
21:17 < v-dogg> hehe, top secret project Paper Clip
21:17 < v-dogg> MS got it from the Nazis!
21:17 < horros_> hahaha
21:22 < v-dogg> yes, very american
21:22 < v-dogg> this document
21:23 < horros_> I doubt you could call it "objective" whatever you tried.
21:26 < horros_> hehe, pretty cool to see those shots from prague in -47 and recognise the places :)
21:26 < v-dogg> heh
21:39 -!- Whisller [n=Whisller@217.97.146.67] has quit [" HydraIRC -> http://www.hydrairc.com <-"]
21:40 -!- Gatoelho [n=chatzill@201.67.201.152] has joined #agavi
21:40 < Gatoelho> hello
21:40 < horros_> Hi
21:40 < Gatoelho> some guy from #propel introduced me to Agavi
21:40 < Gatoelho> actuallly, just told me that it exists
21:41 < Gatoelho> so, Im starting up with symfony, but he told me that agavi may be superior...
21:41 < horros_> In all honesty, he was correct
21:41 < Gatoelho> [joke] he isn't anymore?
21:41 < horros_> hehe
21:42 < Gatoelho> so
21:42 < Gatoelho> what's the deal about agavi (agavi vs symfony)?
21:42 < Wombert> same technical basis (mojavi 3, now abandoned)
21:43 < Wombert> except that we threw out the parts that sucked ;)
21:43 < Wombert> symfony is nice for RAD but it doesn't have technically advanced internals
21:43 < horros_> ah, there you are wombert :)
21:43 < horros_> I was just about to refer him to what you said yesterday to EGreg :)
21:43 < horros_> s/him/him\/her/g
21:43 < Wombert> ah right yeah
21:44 < Wombert> I hope the designer finishes the website soon so we can put a list of features etc up there
21:44 < Wombert> saves time in cases like this one
21:44 < Wombert> anyway
21:44 < Wombert> Gatoelho: it depends on what you're looking for
21:44 < Wombert> in agavi, you write your code once
21:44 < Gatoelho> just in case, Im a guy
21:45 < Wombert> then you can use it for "normal" output, rss, ajax, whatever you like
21:45 < Wombert> our sample app, for instance, has an xmlrpc interface
21:45 < Wombert> which uses identical code
21:45 < Wombert> unlike symfony, we truly have separation of logic and presentation
21:45 < Wombert> for instance, in agavi, you're told to redirect in views, not in actions
21:46 < Wombert> you might want to redirect to the newly added product for the normal html version, but for the REST interface or for ajax, you want a response back with the id of the new resource
21:46 < Gatoelho> views? You mean, in the templates?
21:46 < Wombert> no, a view is a class that contains some code to control presentation, and usually, there's also a template that renders the content
21:46 < Gatoelho> http://www.symfony-project.com/demo/cart.html how many time you need to do something like this?
21:47 < Gatoelho> I just didn't memorized the Symfony key names
21:47 < Wombert> one of the biggest mistakes symfony made was to throw out the view classes mojavi had
21:48 < Gatoelho> well, what I didn't liked in symfony is the way to config the database
21:49 < Wombert> here's the thing
21:50 < Wombert> a lot of the hype around symfony is due to the fact that you run one or two commands and then you have a crud interface for your database and all that stuff
21:50 < Wombert> you won't find that with agavi
21:50 < Wombert> we don't have a single html helper function
21:50 < Wombert> and we don't force you to use a certain database layer or template engine
21:50 < Wombert> all the features we have are universal
21:50 < Gatoelho> mmm
21:50 < Wombert> which, usually, is for the better
21:50 < Wombert> form handling, for instance
21:51 < Wombert> you just do and "it just works"
21:51 < Wombert> i.e. gets re-populated on POST and stuff like that
21:51 < Gatoelho> mmm
21:51 < Wombert> it all depends
21:51 < Wombert> the bigger your project is, the better you're off with agavi
21:51 < Wombert> it's more forward compatible
21:52 < Gatoelho> I don't see the advantage of needing to write all the html
21:52 < Wombert> if your boss walks in a week after the project is done and wants a SOAP interface, you can write it without touching existing code
21:52 < Wombert> Gatoelho: symfonys helpers only work with PHP
21:52 < Wombert> not with smarty
21:52 < Wombert> or PHPTAL
21:52 < Wombert> or XSL
21:52 < Wombert> or whatever template engine you use
21:53 < Gatoelho> Well, basically you can implement one with symphony easilly
21:53 < Wombert> ?
21:53 < Wombert>
21:53 < Wombert>
21:53 < Wombert> compare that
21:54 < Wombert> four chars more
21:54 < Wombert> not worth the effort
21:54 < Wombert> the other is a context change due to and a function call
21:54 < Wombert> much slower
21:55 < Wombert> fabien, the symfony guy, once told me he regretted that they added all the helpers because people stop thinking for themselves and only want more, more, more of them
21:55 < Gatoelho> the point is that it helps a lot to code it up. Maybe if agavi write up the raw html
21:55 < Wombert> Gatoelho: there is nothing stopping you from using existing helpers to print such tags
21:56 < Gatoelho> the helpers allow you to speed up and do more complex projects
21:56 < Wombert> no, that's not true
21:56 < Wombert> but if you think so, you might want to consider using symfony, not agavi
21:57 < Gatoelho> ok
21:57 < Gatoelho> thanks
21:57 < horros_> granted, agavi isn't really a kitchen-sink-one-solution-fits-all
21:57 < Wombert> it's for big projects, and companies, not for beginners
21:57 < Gatoelho> ...
21:57 < Wombert> (no offense)
21:57 < Gatoelho> too late
21:57 < Gatoelho> good luck
21:58 -!- Gatoelho [n=chatzill@201.67.201.152] has left #agavi []
21:58 < horros_> ...
21:58 < ttj> Wombert: You sure you're not a Finn? ;-)
21:58 < horros_> hahahaha
21:58 < Wombert> why? :D
21:58 < ttj> Because you sound like one. :-)
21:58 < Wombert> why's that
21:58 < ttj> Extreme technical competence but lacking the marketing motivation entirely. :P
21:58 < Wombert> hahaha
21:59 < horros_> being completely blunt springs to mind too :D
21:59 < ttj> That too. :P
21:59 < Wombert> yes, I wasn't in the mood to pull the usual PR stunts right now
21:59 < Wombert> you get sick of it over time
21:59 < horros_> "yeah, well, if you think that, then sod off."
21:59 < horros_> :D
21:59 < Wombert> yeah
21:59 < ttj> Yeah, and that's why we hang around here. This place is nice and comfortable. Little bullshit. :-)
21:59 < Wombert> it was just that I felt I couldn't convince him anyway
22:00 < Wombert> and why would I bother wastng his time and my time talking him into something neither of us wants
22:00 < Wombert> I want to fucking fools that get on our nerves
22:00 < horros_> then again, rather a smaller number of smart people than a truckload of idiots
22:00 < Wombert> he wants fancy helpers
22:00 < Wombert> yes
22:00 < Wombert> *I want no
22:00 -!- Prometheus^ [n=Promethe@cs181171069.pp.htv.fi] has joined #agavi
22:00 < Wombert> we can't keep up the we-are-elite attitude forever, but we better do before we have decent documentation and a website
22:01 < Wombert> -before +until
22:01 < horros_> Wombert: pffft, of course we can keep a we're-l33t-attitude
22:01 < ttj> Heh.
22:01 < horros_> the perl community has done it for ages.
22:01 < horros_> :D
22:02 < Wombert> I feel really sorry now for totally ruining v-dogg's effort to get us a new user
22:03 < Prometheus^> it's easy to keep up the "we-are-elite" attitude forever, just make sure the learning curve is too steep :)
22:03 < horros_> v-dogg has been trying to get us a new user?
22:04 < horros_> also
22:04 < _cheerios> so, i guess it's too late to mention that converting the symfony helpers to agavi takes a few minutes, if someone wants them.
22:04 < Wombert> well he said on #propel that agavi is better than symfony
22:04 < horros_> humm... I dunno why that bloke got offended, to be honest.
22:04 < ttj> I think I'll get one VP at work an Agavi mug as soon as one can order those. :-)
22:04 < horros_> then again, I'm a finn, and I wouldn't know of such things.
22:04 < _cheerios> many still come here expecting a CMS, not an application framework
22:04 < Wombert> ttj: is that VP a... vice president? :p
22:04 < ttj> Wombert: Yep.
22:05 < Wombert> of?
22:05 < Wombert> all the company?
22:05 < ttj> Well, we have something like 50+ VPs. :-)
22:05 < ttj> Maybe closer to 100.
22:05 * horros_ runs off to buy more smokes
22:05 < Wombert> xD
22:05 < Wombert> sounds like "flat structures" ;)
22:05 < ttj> It actually is. At least for us. Four jumps to the CEO from me. :D
22:05 < Prometheus^> o_O
22:05 < Wombert> you guys still using agavi, rightgt?
22:06 < Wombert> -gt
22:06 < Prometheus^> ttj: where do you work?
22:06 < ttj> Well, our team. :-)
22:06 < Wombert> yeah
22:06 < Wombert> cool
22:06 < ttj> Prometheus^: Finnish mobile phone manufacturer.
22:06 < Prometheus^> n to the okia?
22:06 < Prometheus^> :P
22:06 < ttj> Yeah. Thanks for obfuscating. :-)
22:06 < ttj> (These logs go online. :P)
22:06 < Wombert> no the other one from finland who sells even more phones than nokia
22:06 < Prometheus^> damn, you nokia people are all over the place
22:06 < Prometheus^> o_o
22:06 < Wombert> feel free to nuke it from ze logs :p
22:06 < ttj> :-)
22:06 < Prometheus^> ttj: you don't happen to know ferenc szekely by any chance?
22:06 < ttj> Benefon. <3
22:07 < Wombert> just hope that the designer gets off his arse so we can have your success story on ze website (provided that your bosses agree)
22:07 < Prometheus^> :o
22:07 < ttj> Prometheus^: Nope. Then again, I'm a lowly trainee.
22:07 < Prometheus^> ttj: alright :)
22:07 < Prometheus^> just making sure you are not one of the guys I've ran in to while working there
22:07 < ttj> Ah, he's apparently one of those Maemo-blokes.
22:07 < Prometheus^> aye
22:08 < ttj> maemo2midgard... :o
22:09 < Prometheus^> that would be us
22:09 < Prometheus^> or should I say, R&B
22:09 < ttj> Interesting.
22:09 < Prometheus^> I haven't really had my hand in that :)
22:09 < Prometheus^> just did some small stuff
22:09 < ttj> Didn't you guys also do some work with Luottokunta?
22:09 < Prometheus^> aye
22:09 < Prometheus^> we are running all of their public sites
22:09 < Prometheus^> along with their intranet
22:09 < ttj> Yeah, thought I recalled something like that.
22:09 < Prometheus^> well, not all, but quite a few :)
22:10 < Prometheus^> notably luottokunta.fi, eurocard.fi, lounasseteli.fi, visa.fi
22:10 < Prometheus^> and so on
22:10 < ttj> Yeah. Keep up the good work. :-)
22:10 < Prometheus^> we're doing what we can :)
22:10 < Prometheus^> I just wish I could share my excitement about our open source product with people
22:10 < Prometheus^> and the way it's going
22:10 < Prometheus^> but I'd come off as a right fanatic if I did that
22:11 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi
22:11 < Prometheus^> so I shall suppress my desires :P
22:11 < Wombert> use agavi, then give us case studies how it helped you
22:11 < Wombert> :p
22:11 < ttj> Anyway, I need to get back to the course books. T-128.4200 Management of a Software Company exam on Monday... :-/
22:11 < Prometheus^> Wombert: in my free time I will
22:11 < _cheerios> btw. The Devils Wears Prada, recommended :D
22:12 < Prometheus^> Wombert: unfortunately that's not an option in my day job ;)
22:12 < Prometheus^> as soon as I get the hang of agavi well enough, I'll start running my personal site on it
22:12 < Wombert> cool
22:12 < Prometheus^> well, on a homegrown cms
22:12 < Prometheus^> homegrown agavi cms, if you will
22:13 < ttj> _cheerios: Yeah, brilliant movie.
22:13 < _cheerios> how can you be the company doing luottokunta.fi, when that doesn't work, only www.luottokunta-fucking-sucks.fi works?
22:14 < Prometheus^> _cheerios: I have my issues with their systems, but I am just doing my job ;)
22:14 < horros_> phew
22:15 < Prometheus^> I'm really torn right now, though, time-wise.. I can't decide on what I should use the tiny amount of free time I have
22:16 < Prometheus^> I'd love to learn to use agavi well, and I'd like to learn to use mootools too
22:16 < Prometheus^> create some of my own little javascript thingymatchis
22:16 < Prometheus^> and then I'd like to learn to create dashboard widgets for OS X that I could hook up with our products..
22:18 < Prometheus^> ever get that kind of feeling?
22:18 < impl> All the time
22:18 * impl has so many damned personal projects
22:18 < Prometheus^> yeah
22:19 < Prometheus^> it's crazy :)
22:20 -!- benny`work [n=benny@p54AC1FB0.dip0.t-ipconnect.de] has quit ["unset($this);"]
22:54 < v-dogg> hahaha
22:54 < v-dogg> Wombert: nice job :D
22:54 < Wombert> sorry again mate
22:55 < v-dogg> no worries
23:00 < _cheerios> *sob* *sneeze* ace movie
23:02 < Wombert> devil wears prada?
23:02 < Wombert> very cool yes
23:03 < _cheerios> the very one
23:07 < _cheerios> havent enjoyed a movie with Meryl Streep in it since like, ehm, Deer Hunter
23:08 < Wombert> she's really good
23:08 < Wombert> "that's all..."
23:10 < horros_> hmpf
23:10 < horros_> I'm bored :(
23:13 < _cheerios> im out of lemonade
23:14 < _cheerios> haven't made a commit on my personal projects since tuesday :/
23:20 < horros_> bah
23:20 < horros_> completely overcast == no moon eclipse :(
23:22 < _cheerios> idd :/
23:24 < horros_> you don't... something...?
23:24 < horros_> disagree? didn't do it?
23:24 < _cheerios> idd=indeed
23:24 < horros_> oh
23:24 * horros_ shakes head
23:24 < horros_> I'm too old for this shit.
23:25 < horros_> :)
23:28 < horros_> hmm
23:28 < horros_> btw
23:28 < horros_> how would I go about if I wanted, say, one view in a module to be protected by HTTP authentication thingies?
23:34 < Wombert> view?
23:34 < Wombert> http
23:34 < Wombert> uuuhm
23:34 * Wombert runs
23:34 < _cheerios> you'll be like oh-fuck im using a fpc
23:35 < horros_> ...
23:35 < horros_> "fpc"?
23:35 < horros_> _cheerios: what is it with you and strange abbreviations I've never heard before?-)
23:36 < horros_> Wombert: real-life example: I want to be able to syndicate reports written about patients
23:36 < horros_> in rss
23:36 < horros_> or whatever the hell the proper buzzwords are
23:37 < horros_> Wombert: so what I want to do is, get reports about specific patients as RSS -feeds.
23:37 < horros_> which means I need them protected somehow. and apparently most of the RSS readers support HTTP authentication
23:37 < _cheerios> fpc, aka. Front Controller
23:37 < horros_> aha.
23:38 < horros_> _cheerios: sometime I think you just make these abbreviations up just to confuse me ;)
23:38 < _cheerios> most of the time i use them to hide my lack of deeper understanding while leaving the false impression of higher knowledge to naive readers
23:39 < horros_> haha
23:39 < Wombert> horros_: ah okay
23:39 < Wombert> we can sort that
23:39 < Wombert> gimme a bit
23:39 * horros_ hands Wombert a bit
23:41 -!- benny`work [n=benny@p54AC1FB0.dip0.t-ipconnect.de] has joined #agavi
23:44 < horros_> it'd be cool if trac had issue voting.
23:44 < horros_> I'd add it myself if I could be bothered and if it wasn't written in python :(
23:45 < Wombert> okayyyy so let's think about how to do what you need, horros_
23:45 < horros_> yes, let's :)
23:45 < Wombert> one way would be a new context
23:45 < Wombert> that has a different user implementation
23:45 < Wombert> which checks the http auth header doohickey
23:46 < horros_> haha, you've also started to use "doohickey" :D
23:46 < horros_> <3
23:46 < horros_> but yes, carry on.
23:46 * horros_ composes self
23:47 < Wombert> the other approach is to hack some logic into your user that allows authentication against HTTP headers under certain circumstances
23:47 < horros_> hmm
23:48 < Wombert> your best bet would probably be a global filter that checks if the current output type is rss (set by the routing) and the user not authed, and if yes, it sets the necessary http headers in the response and aborts further executing
23:48 < Wombert> and your user object would check the request for any auth headers and if they are there, it tries to use them to log the user in
23:48 < Wombert> that will always send a session cookie back though and all that stuff so...
23:49 < horros_> so I'd basically... check for HTTP_AUTH_USER in $_SERVER, and if it's not present send the WWW-Authenticate -header and the HTTP/1.0 401 -header..?
23:49 < Wombert> plus it would allow users, in theory, to use the site without logging in via the web form, but using http headers instead
23:50 < horros_> hmm, how would I do negative route matchings then?-)
23:50 < Wombert> but they would have to hack that using curl or so because the auth challenge is only sent for rss
23:51 < Wombert> horros_: I'd use a global filter that checks if the current output type is rss and if the user isn't authed
23:51 < kaos> OMG TEH MOON ... ITS GOING BLACK
23:51 < kaos> *ggg*
23:51 < Wombert> if that's the case, it sets the headers and doesn't $filterChain->execute()
23:51 < horros_> Wombert: hmm, sounds like a plan
23:51 < Wombert> and in your CustomUser implementation, in startup(), you check if any headers are there in case the user is not authed already
23:52 < Wombert> horros_: haha wait
23:52 < Wombert> or
23:52 < Wombert> ah no that should work
23:52 < Wombert> you get a container in the global filter, too
23:52 < Wombert> it has the output type the routing defined
23:52 < horros_> hmm
23:55 < _cheerios> kaos: the whole sky is black 'ere, only lights are advertisements on the skyline :/
23:55 < kaos> poor you guys :)
23:55 < Wombert> 24 hours till last top gear for this season
23:55 < Wombert> :(((
23:56 < horros_> :(
23:56 < Wombert> I was hoping I could watch it live when I'm in england :(
23:56 < Wombert> but nooooo
23:56 < Wombert> :(
23:56 < kaos> poor Wombert, too :)
23:56 < Wombert> :(
23:56 < _cheerios> Wombie with his Agavi t-shirt trying to get some free advertising
23:57 < _cheerios> too bad :/
--- Day changed Sun Mar 04 2007
00:00 < horros_> boohoo, why isn't again on here: http://en.wikipedia.org/wiki/Model-view-controller#Architectures_for_Web-based_Interfaces ?
00:01 < horros_> wtf
00:01 < horros_> s/again/agavi/
00:02 < Wombert> http://en.wikipedia.org/wiki/Symfony
00:02 * Wombert pukes
00:02 < kaos> well, there are several mvc related wiki things in wp where we should add agavi
00:02 < kaos> (once we have a site)
00:03 < horros_> lol
00:04 < horros_> "Mojavi is one of the greatest and most mature PHP frameworks and has represented the Model-View-Controller (MVC) design for 6 years"
00:04 < horros_> who wrote that, a 14-year-old rapper wannabe?-)
00:05 < kaos> y0 mum!
00:05 < kaos> xD
00:06 < ttj> Yay, finished Cusumano.
00:06 < ttj> Reading 300 page course books in a day is an interesting exercise. 400 pages of Messerschmitt tomorrow. :P
00:07 < horros_> Willy?
00:07 < horros_> :)
00:07 < ttj> Hmm?
00:09 < horros_> Willy Messerchmitt... The guy who designed the first fighter jets
00:10 < ttj> Heh. Nope. This one's David G. Messerschmitt.
00:10 < ttj> http://www.sbl.tkk.fi/messer/
00:10 < ttj> I'm thinking this is a devious plot from the staff of the Software Business Lab to get more of their books sold. :P
00:11 < horros_> most certainly
00:11 < horros_> :)
00:11 < ttj> "Yeah, we were able to recruit that guy from Berkeley to join us. Now, go buy his books! It's required course reading!"
00:12 < ttj> Luckily it looks like I can skip something like half of Messerschmitt's book as trivial. :-)
00:13 < Prometheus^> 300 pages
00:13 < Prometheus^> o_o
00:14 < Prometheus^> where are you studying?
00:14 < Prometheus^> or is it part of your job
00:15 < Prometheus^> there's CI on that wiki page but no Agavi :(
00:15 < Prometheus^> should add it there me thinks
00:15 < Wombert> that's the question
00:15 < Wombert> we'd like to stay below radar until we have a proper website and some documentation
00:16 < ttj> Prometheus^: TKK, majoring in software business, minoring in strategy and international business. :-)
00:21 -!- alican [n=alican@88.229.105.106] has joined #agavi
00:22 < alican> i
00:22 < alican> hi
00:22 < Wombert> hi there
00:22 < Prometheus^> ttj: nice
00:22 < alican> slm nbr?
00:22 < Prometheus^> Wombert: ah, that's a good way to go about it I suppose :)
00:22 < Wombert> excuse me?
00:24 < _cheerios> salaam :)
00:24 < Prometheus^> o_O
00:24 < Prometheus^> I think _cheerios perfectly understands
00:24 < Wombert> alican: may we help you?
00:25 -!- alican [n=alican@88.229.105.106] has left #agavi []
00:26 < ttj> Apparently no.
00:28 < kaos> well
00:28 < kaos> my first thought was something
00:28 < kaos> containting many
00:28 < impl> Stupid Spaniards
00:28 < kaos> (which can be confirmed by tracing that ip *g*)
00:28 < Prometheus^> über?
00:29 < kaos> noi
00:29 < kaos> more like
00:29 < kaos> skdlm nbr
00:29 < kaos> :D
00:29 < Prometheus^> o_O
00:29 < Prometheus^> do you come from middle earth?
00:29 < kaos> no ;)
00:29 < ttj> Oh what I'd give to be drunk right now...
00:29 < Prometheus^> :D
00:30 < Prometheus^> hmm
00:30 < Prometheus^> I've been meaning to try putting fisherman's friends in to koskenkorva for a while
00:30 < ttj> Last time I was drunk as January 25th.
00:30 < ttj> It's even in the calendar.
00:31 < Prometheus^> o
00:31 < Prometheus^> that's worrying
00:32 < Wombert> spaniard?
00:32 < Wombert> haha
00:32 < ttj> No wait, I wasn't even drunk then. But the 24th was Wednesday. Which was a Kallio round.
00:32 < Wombert> he was from turkey man :p
00:32 < ttj> Turkey... Spain... Same place.
00:36 < _cheerios> http://photos1.blogger.com/x/blogger/447/434/1600/817779/Big%20Mavs%20wipeout.jpg crazy surfers
00:37 < Prometheus^> "ouch"
00:37 < ttj> Death is just life's way of telling you that you suck.
00:49 < _cheerios> google is sitting on $11B in cash... that's quite a stash
00:49 < Prometheus^> only 11b?
00:49 < Prometheus^> I thought it was like 14b :o
00:52 < horros_> no, $14b was what they paid for youtube :)
00:52 < ttj> 1.4.
00:52 < _cheerios> i read on the gootube deal, that while they paid $1.65B for it, they valued the technology only at $24M ... rest was Goodwill :)
00:52 < ttj> USD 14 billion would be quite a bit. :-)
00:52 < horros_> quite "good" will there, I have to say.
00:53 < ttj> Well, brand, userbase, etc.
00:53 < horros_> and yes, ttj, I know it was 1.4 :)
00:53 < horros_> it's still 100 times too much :)
00:53 < ttj> Maybe.
00:53 < ttj> But some analysts suggested that YouTube was already in the middle of discussions with content owners.
00:53 < horros_> hmm
00:53 < ttj> And if Google could get even a 6-12 month head start over the competitors when the content owners go after the other guys, that's still something.
00:54 < horros_> suddenly I got a craving for Kartanon perunalastut :(
00:54 < Prometheus^> I ate a bunch of those on friday!
00:54 < horros_> they are lovely
00:54 < Prometheus^> left from the previous nights maemo hacking
00:54 < Prometheus^> delicious, I must admit
00:54 < ttj> But then again, haven't looked that closely at the YouTube thing, so don't know exactly what they're aiming for.
00:54 < Prometheus^> addicting, really :P
00:54 < horros_> quite
00:54 < horros_> more so than pringles :)
00:54 < Prometheus^> pringles are kind of meh :/
00:54 < Prometheus^> imo
00:55 < Prometheus^> they are too far processed
00:55 < horros_> yes
00:55 < Prometheus^> not my thing
00:55 < horros_> and so are pretty much all other crisps too
00:55 < horros_> except for kartanon perunalastut <3
00:57 < Prometheus^> aye, the skin hasn't been peeled on the potatoes, which adds nicely to them
00:57 < Prometheus^> if that makes any sense :)
00:57 < horros_> of course :)
00:58 < horros_> hahahaha
00:58 < horros_> I just decided
00:58 < horros_> because trac plugins are python "eggs"...
00:58 < horros_> which are basically zip -files with an .egg extension...
00:59 < horros_> my update packages for our app (which also are zip-files) shall from now on have an extension of ".smeg"
00:59 < horros_> maybe even with two Gs to add to the funnyness
00:59 < Wombert> xD
01:00 < Prometheus^> ah, I better head to bed, killing my sleep rhythm here :(
01:00 < Prometheus^> night folks, have a good one
01:00 -!- Prometheus^ [n=Promethe@cs181171069.pp.htv.fi] has quit []
01:01 < horros_> I should probably follow suit, but...
01:01 < horros_> meh
01:02 * horros_ gets more beer and sandwiches
01:03 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
01:07 < _cheerios> hehe ... http://www.redneck-trailer.com/
01:09 < horros_> bah
01:10 < _cheerios> the Net is full of so much interesting stuff to read, but it's 01++ already :/
01:10 < horros_> I'ma go out with the dog and then go to bed and read my book for a while
01:13 < _cheerios> smart ppl come in all shapes and all, even transgendered, wow-zer at what dedicated ppl achieve.
01:14 < _cheerios> http://en.wikipedia.org/wiki/Martine_Rothblatt
01:15 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has left #agavi ["Lhdss"]
01:15 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
01:15 < horros_> oops
01:15 < horros_> I was about to say "off to bed"
01:15 < horros_> :)
01:15 * horros_ &
01:20 < Wombert> me too
01:20 < Wombert> ->
01:29 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
01:31 < _cheerios> still a dozen or so sites to read...
01:31 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
01:31 < Wombert> I'm just catching up on zefrank episodes before I hit the sack
01:35 < Wombert> http://www.zefrank.com/theshow/archives/2007/02/022207.html loooool awesome!
01:35 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)]
01:36 < Wombert> john hodgman ftw
01:53 < _cheerios> finally done. --> offish
01:59 -!- _cheerios is now known as cher|zZz
02:13 -!- benny`work [n=benny@p54AC1FB0.dip0.t-ipconnect.de] has quit ["unset($this);"]
02:47 < splatch> aaa help me!
02:48 < splatch> i can't stop playing enemy territory!
02:48 < Wombert> I have a secret to share...
02:49 < Wombert> the enemies are all bots
02:49 < Wombert> the game is pretty much dead
02:49 < splatch> Wombert: they call me cheater!
02:49 < Wombert> I tried it again a couple of weeks ago and the servers were all empty, only stupid bot players
02:49 < Wombert> but!
02:49 < Wombert> I have to go to bed
02:49 < Wombert> damn 2am already
02:49 < Wombert> good night
02:49 < splatch> Wombert: i've good server! :)
02:49 < splatch> Wombert: night :)
02:50 < Arme[N]> night
02:50 -!- Wombert [n=Wombert@dslb-084-056-052-229.pools.arcor-ip.net] has quit []
02:50 < Arme[N]> yeah here is 4:30
02:51 < splatch> Arme[N]: where are you from?
02:51 < Arme[N]> iran ;)
02:52 < Arme[N]> I have to go to bed too, night splatch
02:52 < splatch> night Arme[N]
02:52 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["shab khosh , sobh bekheyr :)"]
07:43 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi
09:11 -!- Wombert [n=Wombert@dslb-084-056-052-229.pools.arcor-ip.net] has joined #agavi
09:12 < Wombert> huomenta
09:13 < impl> hai
09:13 < impl> I am up late again it seems
09:13 < impl> :P
09:22 < raidman> huomenta :)
10:05 < ttj> Yo.
10:44 < cher|zZz> mornning
10:44 -!- cher|zZz is now known as _cheerios
11:00 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
12:04 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi []
12:05 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
12:29 < v-dogg> huomenta
12:30 < ttj> Yo.
12:30 < v-dogg> what's happening
12:31 < ttj> Not much. Debating on whether or not I want lunch yet.
12:31 < ttj> And then whether or not I want to have lunch in Salo. :P
13:01 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
13:01 < horros> mornink
13:26 < _cheerios> damn, what a Bond. Now I understand the hype..
13:27 < ttj> You mean Casino Royale?
13:27 < _cheerios> yes!
13:27 < ttj> It was fairly decent.
13:27 < v-dogg> it was ok
13:27 < _cheerios> a mild understatement
13:27 < ttj> I'm still not fully comfortable with the new actor.
13:27 < v-dogg> me neither
13:28 < ttj> He's too... Well... Average looking.
13:29 < ttj> But I won't get into that since I already fought for over an hour about this with some random girl. And it just got into a stalemate. :P
13:29 < horros> I didn't particularly like Casino Royale.
13:29 < horros> Bond was... well, too... non-bondy.
13:30 < horros> plus
13:30 < horros> he drove a figgen Ford
13:30 < horros> :)
13:30 < v-dogg> hey!
13:30 < v-dogg> nuttin wrong with that!
13:30 < v-dogg> Wombert: back me up here, will ya
13:30 < horros> heh
13:30 < _cheerios> haha, yeah, i was like... European.. :D
13:31 < horros> Bond is *SUPPOSED* to drive like an Aston-Martin Vanquish or a DB9
13:31 < ttj> horros: Bah.
13:31 < horros> not a bloody Ford
13:31 < ttj> DBS. <3
13:31 < ttj> Vanquish is crap.
13:32 < horros> I woulnd't go around calling them "crap", but...
13:32 < horros> I'd rather have a Vanquish S than any Ford on the planet :)
13:32 < v-dogg> hehe
13:32 < horros> or a V8 Vantage
13:32 < ttj> DBS > DB9 > V8 Vantage > Vanquish.
13:33 < horros> * > Ford
13:33 < horros> :D
13:33 < ttj> True. :P
13:33 < ttj> Fix Or Repair Daily. :D
13:33 < v-dogg> haha
13:33 < horros> I want a new car
13:34 < ttj> I want a Morgan Roadster.
13:34 < horros> a fairly new. diesel. automatic.
13:34 < horros> a not-ford. and a non-french.
13:35 < ttj> Heh. If I were French, I would've been burning cars in France a while back also. :P
13:35 < horros> like they said on the plug for "Huuma" yesterday: the only technical device the french has come up with that actually works is the guilliotine.
13:35 < ttj> Come to think of it, I still would.
13:35 < ttj> It's not technical! It's just one moving part! :P
13:35 < ttj> That's like saying that a hammer is hitech.
13:36 < horros> ttj: I bet you there was at least 289368 french scientists putting their heads together to come up with it though.
13:36 < horros> or inventors rather
13:36 < ttj> And 289367 lost their heads?
13:36 < horros> hehe, friend of mine's peugeot 205 caught fire a while back :D
13:37 < horros> right back light a blaze :)
13:38 < horros> If someone gave me an Accord Tourer Type S, I'd be rather happy
13:39 < ttj> Morgan Roadster...
13:39 < ttj> And sunny and warm weather for the rest of my life.
13:39 < ttj> http://www.automobile-sportive.com/guide/morgan/roadsterv6/v63L-ouverture.jpg <3
13:39 < horros> haha
13:40 < ttj> What? :o
13:40 < _cheerios> fits right into Finland...
13:40 < ttj> _cheerios: If I were the sort of person who they target those to, I wouldn't be living in Finland. :P
13:41 < ttj> But alas, I am not and I am living in Finland and...
13:41 < _cheerios> can pack it with a sixer, turn into the local nakkikioski and head to a summer cottage that looks... quite unlike what is on the background of that pic :D
13:41 < horros> Now what I'd really want is... A Jaguar XKR
13:41 < ttj> XKR...
13:41 < ttj> Now there's a tough call. V8 Vantage or XKR.
13:41 < ttj> Still haven't figured out an answer.
13:42 < horros> I'd have the XKR, no question about it.
13:42 < ttj> Why?
13:42 < horros> well, for starters it's about 100 000e "less expensive"
13:42 < horros> you can't really say "cheaper" when a car costs > 150 000e :D
13:44 < ttj> Well...
13:44 < ttj> I mean, at that price range you won't give a shit.
13:44 < horros> I would :)
13:44 < horros> I can buy half a house with 100 000 :)
13:44 < ttj> No you couldn't. :P
13:45 < ttj> If you were buying cars like that, you're house wouldn't cost 200 000 euros. :P
13:45 < horros> actually... I'm not too sure about that.
13:45 < ttj> your, even.
13:45 < horros> what the smeg would I do with a house that's like 300+m^2?
13:45 < ttj> It's not the size, it's the location.
13:46 < ttj> Plus I don't think they'd let you build a small cabin in Westend. :P
13:46 < ttj> Or they might.
13:47 < horros> well, true... suvisaaristo... my brother found a "nice little" property there. about 700m^2. price: 750 000e
13:47 < horros> then you have to build a smegging house too. which is at least a million more there :)
13:48 < ttj> And then you'd have people scraping your XKR with keys.
13:49 < horros> nah
13:49 < horros> I'd have electrified fences around my house
13:49 < horros> ;)
13:49 < ttj> So... You'd never drive the car out from your yard? :P
13:49 < horros> sure
13:49 < ttj> Oh, but you'd never leave it parked anywhere.
13:49 < horros> nope
13:49 < horros> well, in fact...
13:50 < ttj> Haha. :P
13:50 < horros> if I had an XKR, I probably would never get out of the car in the first palce
13:50 < horros> place*
13:50 < ttj> I think what I'd do is buy an additional Cadillac Escalade. And then hire four black thugs weilding machine guns to look after my car.
13:51 < horros> I think what I'd do is buy an additional XKR, and every time the first one is keyed and in the repair shop, I could drive the other one :D
13:52 < horros> I've never quite understood that phenomenon, tbh. "YOU RICH FUCK DIVING WITH A DAMN COOL AND GOOD-LOOKING CAR! I WILL RUIN YOUR CAR!"
13:52 < horros> :/
13:52 < horros> *shrug* jealosy :I
13:53 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi
13:53 < ttj> horros: Neither have I.
13:53 < horros> speaking of ruining cars; I had some 14-15-yearolds jump up and down on my roof once
13:53 < ttj> What's more, I never understood the jerk who keyed our V70.
13:53 < ttj> It's like the most common car in Finland.
13:53 < horros> I saw them from the balcony, yelled at them to get the fuck off of my car and what do they yell back? "haista vittu!"
13:54 < horros> so I grabbed a "shlymaila" and went after them
13:54 < horros> unfortunately I couldn't find them anymore :(
13:54 < ttj> Where did you live again?
13:54 < horros> tampere
13:54 < horros> but that incident happened in vaasa
13:54 < ttj> Ah.
13:54 < ttj> I was in Turku. It's a nice town. Except it's a shitty town. But pretty decent.
13:54 < horros> they'd walked right over like five cars and jumped on the roof of them
13:55 < ttj> Nice.
13:55 < horros> I called the coppers, they came, some bloke had his brand-new V70 parked there (this was like six years ago or so)... nice scratches all over the bonnet
13:55 < horros> it was fun to listen to the conversation when the cops called the owner though
13:56 < ttj> Heh.
13:56 < horros> "good evening, this is officer so-and-so from the Vaasa police... Do you own a dark-blue Volvo V70, registerplate thisandthis that is parked on thisandthis street?"
13:56 < horros> "right. it seems like some youngsters have walked over your car."
13:56 < horros> "yessir, you heard me right. walked over your car"
13:56 < horros> :D
13:57 < ttj> :-)
13:57 < Whisller> Can someone explain me, for what is isSimple action? I read "Whether or not this action is "simple", i.e. doesn't use validation etc.", but we can use getDefaultViewName or I do not understand something O.o
13:57 < ttj> I usually like to consider myself a pacifist. But people who do something to other people's cars should be shot.
13:57 < ttj> Anyway, fooding time->
13:58 < horros> Whisller: if it's "simple" agavi doesn't run any validation, any credentials checking or anything. it simply passes over control to the view
13:58 < horros> Whisller: and yes, you can use getDefaultViewName
13:58 < horros> (I think)
13:59 < Whisller> ah now I see.
13:59 < Whisller> Btw hi :)
13:59 < horros> Whisller: should probably only be used for really "simple" tasks, like generating menus or stuff like that that doesn't require any credentials and will never handle any user input
13:59 < horros> hi :)
14:00 < Whisller> ok
14:04 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)]
14:04 < Whisller> yeasterday I wached a great movie in tv, green mile(I saw it earlier), but a book is a betters. Movie based on Stephen' King story.
14:06 < Whisller> That movies I can watch every day.
14:06 < Whisller> *watches
14:07 < Whisller> *watch ;)
14:08 -!- Whisller [n=Whisller@217.97.146.67] has quit [" going with dog to park"]
14:11 * horros humms and writes more routing documentation
14:15 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi
14:48 -!- codecop [n=moni___@85.206.205.158] has joined #agavi
14:52 < splatch> oi! :)
14:54 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"]
14:56 < horros> hi splatch
15:08 < Wombert> v-dogg: the mondeo was ace and very worthy of a bond
15:08 < Wombert> but he's still an idiot for crashing the aston just because he's a crappy driver... idiot
15:08 < v-dogg> haha
15:08 < Wombert> a true bond would have been able to stop the car without totalling it
15:08 < Wombert> plus
15:08 < Wombert> that daniel craig guy looks like a butcher, not like a special agent
15:09 < Wombert> and they had to swap the transmission in the car for an automatic
15:09 < Wombert> because he couldn't handle a manual for the one minute he's seen driving the car
15:09 < Wombert> what an idiot
15:09 < _cheerios> lol
15:10 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi
15:10 < Wombert> and I think I'd have the V8, not the XKR, ttj
15:10 < Wombert> because... I dunno
15:10 < Wombert> the interior seems a tad nicer
15:11 < Wombert> plus astons are more exclusive
15:11 < Wombert> plus it sounds nicer
15:11 < horros> I still don't think it's a 100 000e-tad-nicer :)
15:11 < Wombert> maybe, yeah
15:11 < Wombert> and I agree that the vanquish is rubbish these days
15:11 < Wombert> it's gotten too old
15:11 < Wombert> any ugly
15:12 < Wombert> the db9 is a lot nicer especially since it doesn't have a SFP gearbox
15:12 < Wombert> *and
15:12 < Wombert> booh
15:12 < horros> "Silly Flappy Paddle" gearbox?-)
15:12 < Wombert> I've caught this finnish disease
15:12 < Wombert> where you put five typos into each sentence
15:12 < Wombert> v-dogg has it too
15:13 < Wombert> and horros too a bit I think
15:13 < Wombert> yeha, stupid, but that's the same
15:13 < horros> A tad, yes. Although for some reason the disease only manifests itself after some lagers.
15:14 < horros> Wombert: and afaik the DB9 does have the flappy paddle gearbox, you just can get it as a normal manual too :)
15:15 < Wombert> yes but it's an automatic
15:15 < Wombert> which means it has a torque converter
15:15 < Wombert> and not a clutch that's automated
15:15 < Wombert> which means shifting is nice and tidy
15:16 < splatch> Wombert: do you have moment? :)
15:30 < Wombert> shoot
15:30 < splatch> do you thought about soap support in Agavi?
15:32 < Wombert> http://trac.agavi.org/ticket/301 :)
15:33 < splatch> Wombert: soap need wsdl, agavi will generate it?
15:34 < splatch> or agavi will get only request
15:34 < splatch> and send well-formated response?
15:39 < Wombert> we don't know yet
15:39 < Wombert> in the beginning, we won't have WSDL support
15:40 < Wombert> we could, for example. parse custom phpdoc tags in the action class declaration to generate a WSDL definition file
15:43 < kaos> but i think automatic wsdl generation (which doesn't use any of the existing available libraries) this is not anywhere near 1.0 timeframe
15:43 < Wombert> yeah, that would be a 1.1 thing
15:46 -!- Wombert [n=Wombert@dslb-084-056-052-229.pools.arcor-ip.net] has quit [Read error: 104 (Connection reset by peer)]
15:47 -!- Wombert [n=Wombert@dslb-084-056-019-037.pools.arcor-ip.net] has joined #agavi
15:50 < Wombert> right now, agavi can easily handle RPC style services
15:50 < Wombert> REST... not as good, but it works
15:50 < Wombert> the whole SOA thing is difficult to handle with the current structure
16:05 < splatch> wsdl generation = problems
16:05 < Wombert> yeah I guess that's what I wanted to say :p
16:05 < splatch> how to map some complex type, some restrictions etc
16:06 < kaos> i've been using pear::soap few years ago
16:06 < kaos> it actually worked quite nice
16:06 < kaos> (after i hacked to core to work with .net soap *g*)
16:06 < kaos> even with the wsdl generation, etc
16:06 < splatch> i using php5's soap server
16:07 < kaos> that was php4 \o/
16:07 < splatch> and write wsdl by hand
16:07 < splatch> wsdl isn't difficult :)
16:07 < splatch> xsd it's cool tool
16:07 < kaos> hehe
16:07 < splatch> you can describe any object
16:07 < kaos> well, it worked, so why should i do it manually :)
16:07 < splatch> client can use the same objects
16:08 < Wombert> problem with PHP' soap server is that you cannot manually control the execution flow
16:08 < splatch> Wombert: yes!
16:08 < splatch> we hack it
16:08 < Wombert> you can just give it a class or object and tell it "go", and it does the work without having the ability to intervene
16:08 < Wombert> for XMLRPC, we parse the request envelope using a method the library has
16:08 < splatch> Wombert: we have handler with __call
16:08 < Wombert> the SOAP extension doesn't have one
16:08 < Wombert> oh so that works?
16:08 < splatch> yes
16:08 < Wombert> I wanted to do it that way but I wasn't sure if it's possible
16:09 < Wombert> coooooool
16:09 < Wombert> that's nice
16:09 < Wombert> okay
16:09 < splatch> we use give data to execute action and return response
16:09 < Wombert> then I will add SOAP support next week
16:09 < splatch> we return arrays, server made xml
16:09 < v-dogg> haha, "milestone changed from 1.1 to 0.11"
16:09 < splatch> Wombert: turn off wsdl cache for server ;)
16:10 < Wombert> v-dogg: nah I'll do that in trunk I guess
16:10 < Wombert> but I wanted to give it a shot anyway and I figured that if it was possible to use __call, then it should be a matter of one or two hours
16:10 < splatch> how to use template layers? :)
16:10 < splatch> Wombert: but soap server have a big bug
16:10 < splatch> they map methods by arguments!
16:11 < splatch> so you can't have few methods with the same arguments (for example getById in many modules)
16:11 < splatch> they also don't use soap:action
16:11 < splatch> and operation names
16:11 < splatch> only argumnets
16:12 < splatch> Is that sick?
16:13 < horros> I've never written a SOAP server in PHP, I prefer to use JAX-WS for my soap-serving needs :)
16:14 < splatch> horros: we use Axis in rich client, but server side it's php
16:16 < splatch> but that's my last days with soap server and php :)
16:16 < splatch> from 12.03 i going to start new work
16:17 < Wombert> cool!
16:17 < Wombert> where?
16:17 < splatch> http://accenture.com
16:18 < v-dogg> (muahahaha)
16:18 < Wombert> wow
16:18 < ttj> *cough*
16:18 < Wombert> nice
16:18 < ttj> Accenture. :P
16:18 < horros> :D
16:18 < v-dogg> :)
16:18 < splatch> ? :>
16:18 < ttj> Haha, it is going to become a consultant. :P
16:18 < Wombert> well okay accenture might suck (at least you guys say so) but it's cool anyway
16:18 < horros> former Andersen Consulting :)
16:18 < Wombert> splatch: a full job or an internship or what?
16:18 < ttj> Nah, Accenture is cool. I know some people who work at the Helsinki office.
16:18 < splatch> Wombert: full time
16:19 < Wombert> woot
16:19 < Wombert> as what?
16:19 < ttj> Analyst?
16:19 < splatch> "senior developer"
16:19 < ttj> Aha.
16:19 < Wombert> but they don't use php? :(
16:19 < Wombert> they should use agavi!
16:19 < splatch> :)
16:19 < horros> hahah
16:19 < ttj> I though Accenture is pretty technology agnostic.
16:19 < v-dogg> heh
16:19 < Wombert> seriousl
16:19 < Wombert> y
16:19 < ttj> +t
16:19 < Wombert> ttj: yeah me too
16:19 < ttj> What was it...
16:19 < ttj> Avanade.
16:20 < ttj> .NET guys.
16:20 < um> ttj: (NET takes no arguments) -- Returns some interesting network-related statistics.
16:20 < Wombert> lol
16:20 * Wombert kicks um
16:20 < Wombert> shut up will you
16:20 < ttj> Ok...
16:20 < horros> uahaha
16:20 < v-dogg> whose bot is that?
16:20 < Wombert> mike
16:20 < Wombert> or bob
16:21 < v-dogg> why is it here?
16:21 < v-dogg> can we get rid of it?
16:21 < Wombert> it has always been here :p
16:21 < Wombert> I don't think so
16:21 < ttj> Aha!
16:21 < Wombert> it has grown into the channel
16:21 < ttj> I was sort of lost. :P
16:22 < splatch> anyone here work in accenture?
16:22 < Wombert> nope
16:22 < Wombert> but
16:22 < Wombert> you have to convince them to use agavi!
16:22 < Wombert> :)
16:23 < splatch> Wombert: i'll do this ;)
16:23 < Wombert> I can come to poland and do training for you :)
16:24 < Wombert> accenture has a lot of money ;)
16:24 < splatch> hm.. we'll see ;]
16:24 < ttj> Wombert: Do you know why some companies have lots of money? ;-)
16:24 < ttj> Because they don't use it.
16:24 < Wombert> because they rip off other companies? :p
16:24 < Wombert> hah
16:24 < splatch> no, they have stupid clients ;)
16:24 < ttj> That too.
16:25 < ttj> But the way to get rich is to make more than you spend. Sort of simple.
16:25 < splatch> client can pay xxxx $ for one hour
16:25 < splatch> where developer only click and change one switch-variable
16:25 < ttj> Ah, but you're still in the wrong ballpark.
16:26 < ttj> Management consulting...
16:26 < splatch> consulting = lot of money
16:26 < Wombert> oh management consulting is the easiest
16:26 < Wombert> you go to the client's company for two weeks
16:26 < Wombert> drink espresso all day
16:26 < splatch> ok friends, i have to write article about agavi :)
16:26 < Wombert> flirt with the girls
16:26 < ttj> And type up some Powerpoint slides.
16:26 < splatch> Wombert: are you on icq?
16:26 < Wombert> say "yes, yes, good idea" to what your contact bloke says
16:26 < ttj> "This business unit is not a strategic or financial fit for the company. Get rid of it."
16:27 < Wombert> and then after two weeks you tell them "fire 3000 people" or "get rid of that unit" and charge half a million
16:27 < Wombert> haha exactly
16:27 < ttj> "Trim some fat and sell the assholes."
16:27 < Wombert> splatch: yup
16:27 < Wombert> I'm online
16:28 < splatch> or..
16:29 < splatch> can anyone explain me how to use template layers in output types?
16:29 < Wombert> the sample app uses two layers
16:29 < Wombert> with a slot for the menu on the decorator layer
16:30 < Wombert> you can have any number of layers
16:30 < Wombert> they run in sequence
16:30 < Wombert> and the output of a layer is available in the next one
16:30 < Wombert> so you can nest them
16:30 < splatch> ok, reading sample app
16:36 < splatch> first example - form with input executeRead / executeWrite
16:39 < v-dogg> uh... some xmlmind help plz
16:42 < v-dogg> Wombert: I'll write about RBAC but...
16:43 < v-dogg> the basics should probably go to manual (10 Session Handling and Security) but other stuff to the cookbook
16:44 < v-dogg> I'll write it to the cookbook and we can re-structure it later
16:49 < Whisller> How I can get access to ->setRedirect from action? Hmm is it possible? I trying $this->container->getResponse()->setRedirect but it does not work.
16:50 < v-dogg> that's not possible and you shouldn't do it even if it was
16:50 < v-dogg> you can only redirect in the view
16:51 < Whisller> why I shouldn't do it?
16:52 < splatch> redirect it's available from view :)
16:52 < v-dogg> it's presentational and your action should not know about it
16:52 < splatch> help! help! help! :]
16:52 < splatch> how to run action without route definition?
16:53 < Whisller> I see.
16:53 < horros> splatch: /?module=Foo&action=Bar
16:53 < Wombert> or dispatch() with the respective info
16:53 < Wombert> splatch: but you should always have a route for your action
16:53 < Wombert> it might seem like a lot of work first
16:53 < Wombert> but it isn't at all
16:53 < splatch> Wombert: i know, but i'm writing article for beginers
16:54 < splatch> i can't write about all configuration files
16:54 < v-dogg> they should use routing too
16:54 < splatch> at the start
16:54 < v-dogg> especially then
16:54 < splatch> you know, fast start etc etc
16:54 < Whisller> splatch, you must write something about routing :> this is a candy in agavi =]
16:54 < v-dogg> but you don't want to teach them not to use routing
16:54 < kaos> splatch: what you show ppl first is what they will remember most
16:55 < kaos> so don't even try to teach them such stuff
16:55 < kaos> they WILL continue to use it
16:55 < kaos> no matter how often you tell that its utter nonsense
16:55 < Wombert> splatch: yep
16:55 < Wombert> also, your article will become toooo large if you explain everything
16:55 < splatch> kaos: my idea is - the simplest action without routing, validation, authorization, that's in next steeps
16:56 < splatch> so we'll add support steep by steep
16:56 < Wombert> yes but then set up a simple route for it and don't explain it first
16:56 < Wombert> or better
16:56 < Wombert> use the IndexAction craeted by "agavi project"
16:56 < Wombert> then in the next step add a new action
16:56 < splatch> i using console :)
16:56 < Wombert> and say "now it's time to create a route"
16:56 < Wombert> don't use console
16:56 < Wombert> use the web browser
16:56 < Wombert> tell people what they need to know to get started
16:56 < splatch> Wombert: console = agavi command
16:57 < Wombert> ah
16:57 < splatch> ok, action + view + route
16:57 < Wombert> I'd explain pear install (and onyl pear install, write "for information on how to install agavi by hand or from SVN, see the manual")
16:57 < Wombert> then "agavi project"
16:57 < Wombert> then show how to remove the route that leads to "Welcome to Agavi"
16:57 < Wombert> put some code into IndexAction, like Hello World or so
16:58 < Wombert> then create a new action and show how to setup a route for that
16:59 < splatch> btw http://localhost/test/pub/index.php?module=Welcome&action=Index
16:59 < splatch> doesn't work
17:01 < v-dogg> is there such a module and action?
17:01 < kaos> it only works with use_routing off
17:01 < v-dogg> oh
17:01 < splatch> true
17:03 < splatch> hm can I use index.php?MyRoute?
17:07 < kaos> no
17:07 < kaos> why would you want to that ?
17:07 < kaos> *do*
17:11 < splatch> kaos: users always have problems with mod_rewrite and/or accept path info :)
17:11 < splatch> http://www.goldenline.pl/user/pictures/52162.jpg < me :)
17:11 < v-dogg> splatch: routing works without mod_rewrite
17:12 < kaos> the rewrite is ONLY to remove the need to put index.php (or yourfile.php for that matter) in the url
17:12 < v-dogg> index.php?/route
17:12 < kaos> no
17:12 < kaos> without the ?
17:12 < v-dogg> ah, true
17:12 < kaos> so whats foo.tld/index.php/en/foo/bar
17:13 < kaos> will be foo.tld/en/foo/bar
17:13 < kaos> when you use the htaccess
17:21 < horros> you know
17:21 < horros> the Gilmore Girls just makes me want to violently vomit
17:23 < Wombert> splatch: pub/index.php/la/la/la
17:23 < Wombert> no need for index.php?blah
17:23 < Wombert> that's ugly
17:23 < Wombert> and will scare users away
17:23 < Wombert> show them the good stuff
17:24 < horros> splatch: have you had a look at the routing stuff I wrote and Wombert helped out with on friday?
17:25 < splatch> horros: i don't understand
17:25 < horros> splatch: I wrote a lot of stuff regading routing on friday. It's in the manual. :)
17:26 < Wombert> splatch: don't explain things without routing
17:26 < Wombert> they are an essential part of agavi
17:27 < horros> Wombert: I need to pick your brain some more regarding routing in an hour or so if that's ok
17:28 < Wombert> of course man
17:28 < horros> I need to make me some lunch and I also have to vacuum, I'm pretty much wading through dog hair here :D
17:40 < splatch> setImage(new Image("http://img.dywicki.pl/ja.jpg")) ;]
17:41 < splatch> ok, back to article
17:42 < horros> BOOHOO
17:42 < horros> last top gear episode today :(
17:46 < ttj> :o
17:46 < ttj> ?
17:46 < ttj> They're going on a break, again?
17:47 < horros> yes
17:47 < ttj> Damn.
18:03 < splatch> can I look top gear via an site?
18:07 < horros> splatch: yes, http://www.finalgear.com
18:12 < splatch> horros: thanks :]
18:35 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
18:36 < v-dogg> Wombert/anyone: http://veikko.fi/temp/rbac.txt
18:37 < splatch> http://www.apple.com/trailers/independent/blacksheep/trailer/
18:37 < splatch> hahaha :DDDD
18:37 < splatch> mega lol
18:37 < splatch> the black sheep
18:37 < splatch> bloody animal ;0
18:38 < Wombert> yep, very cool that movie
18:38 < Wombert> v-dogg: the getCredentials() are already explained, horros did that
18:38 < Wombert> we can link there then
18:39 < ttj> Haha. "But Richard can't be here... Instead we have James May, but that's actually a better thing cause he's more intelligent."
18:39 < Wombert> maybe a smaller example for the xml file
18:39 < ttj> Clarkson. <3
18:39 < Wombert> plus point out that the implementation we ship reads roles and credentials from the file, but it's simple to implement loading from a database or so (loadDefinitions)
18:40 < Wombert> ttj: aaah they test the GT500 tonight!
18:40 < Wombert> awesome
18:41 < v-dogg> Wombert: forgot to point that out, thanks
18:43 < ttj> Haha. "And Richard, if you're watching, we'd like to appologize for that on behalf of channel five." "I'm not appologizing."
18:43 < Wombert> wtf is that?
18:44 < ttj> http://www.youtube.com/watch?v=9VOYF4jVo-Q
18:47 < v-dogg> Wombert: I'd keep that getCredentials part there anyway. maybe shorten it a bit but still keep the example code to make that chapter independent
18:47 < Wombert> yep
18:47 < v-dogg> but is that manual or cookbook stuff?
18:48 < Wombert> rbac?
18:48 < Wombert> good question
18:49 < v-dogg> I'll write something about my trick to enable credentials for non-authenticated users and that's definitely cookbook stuff
18:49 < Wombert> yep
18:50 < Wombert> I think we should have a chapter "security" in the manual where we put the rbac stuff and detailed explanation of credentials and things
18:50 < Wombert> and then link to that
18:50 < Wombert> we will probably throw away the entire manual structure a thousand times while writing the docs
18:51 < v-dogg> the manual has chapter 10 Session Handling and Security
18:52 < v-dogg> I'll shove it in there for now
18:52 < v-dogg> ok?
18:55 < Wombert> yup
18:56 < v-dogg> now... let's see if I can still remember how to use XMLMind
18:58 < horros> phew
18:58 < horros> there we go
18:58 -!- digitarald [n=Miranda@62-43-129-181.user.ono.com] has joined #agavi
18:58 < horros> food eaten, all the dishes done, vacuumed and cleaned, showered and I have a fresh pot of coffee made
18:59 < Wombert> me too
18:59 < Wombert> except I didn't vacuum
18:59 < Wombert> and I drank the coffee before the shower
18:59 < horros> hehe
18:59 < horros> now what was it I was supposed to ask you about...
18:59 < digitarald> hey, first sunburn this year
19:00 < Wombert> something about routes, horros
19:00 < horros> yes, but...
19:00 < horros> hmm
19:00 < horros> oh yeah, what other sources can you match routes against?
19:00 < horros> all the superglobals, I'd think? (ie, $_ENV being the only sensible)
19:00 < Wombert> $_SERVER, $_ENV
19:01 < horros> right
19:01 < Wombert> plus some user stuff...
19:01 < horros> yeah
19:01 < horros> I was trying to decipher the userroutingthingie, but I failed :(
19:01 < horros> as far as I could understand you could run a route if a user is authenticated?
19:01 < horros> and match routes against credentials?
19:01 < Wombert> user[authenticated]
19:01 < Wombert> and
19:01 < Wombert> user[credentials][credname]
19:02 < horros> ok, and you'd use that because...?
19:02 < Wombert> no idea :p
19:02 < horros> :D
19:02 < Wombert> well
19:02 < Wombert> for instance
19:03 < Wombert> you could route to different actions for the same url
19:03 < Wombert> depending on whether or not the user is logged in
19:03 < horros> uhm
19:03 < horros> I'm trying desperately to figure out where that would be needed :)
19:03 < Wombert> I think digitarald needed that
19:04 < Wombert> or eremit
19:04 * horros nudges digitarald
19:04 < Wombert> I always confuse them because they're both silly germans :p
19:04 < Wombert> or
19:04 < Wombert> rather
19:04 < Wombert> I mistake them for... the other
19:05 < Wombert> you know what I mean
19:05 < Wombert> I can't remember who it was when I think about stuff they did or needed
19:05 < Wombert> that's it :p
19:06 < Wombert> but I do know that digitarald lives in spain and is a huge ass for teasing us with his sunburn blahblah while we're sitting in the cold
19:06 < horros> hehehe
19:08 -!- Arme[N] is now known as Arme[0]
19:11 < horros> Wombert: umm, so... ?
19:11 < horros> or how's that work?
19:11 < Wombert> but you shouldn't use that in the routing too much
19:12 < Wombert> it is really only for very rare edge cases
19:12 < Wombert> I'm beginning to think that we shouldn't cover it in the manual
19:12 < horros> ok, so should I nuke the "Sources to match against" -section?
19:13 < Wombert> well we could have a notice that that stuff is possible, and refer people to the cookbook to learn more about sources other than _SERVER, and how to create custom sources
19:13 < horros> is the user[] stuff covered in "There are @@other sources@@" or is that what you mean with @@provide your own@@ ?
19:13 < horros> or is "provide your own" something completely different? the routing callback doohickey?
19:14 < splatch> Wombert: http://phpfi.com/212235 < that's all pre-assigned available template variables?
19:14 < Wombert> horros: you can write your own sources
19:15 < horros> right, that's for the cookbook, I think?
19:15 < Wombert> yup
19:15 < Wombert> splatch: not quite
19:15 < Wombert> splatch: all factories the context has can be accesse
19:15 < Wombert> d
19:15 < Wombert> plus
19:16 < splatch> ...
19:16 < horros> so I'll just add a note -section saying "there are other sources to match against too,see der kochenbuch"?
19:16 < digitarald> :D
19:16 < Wombert> http://trac.agavi.org/browser/branches/0.11/src/filter/AgaviExecutionFilter.class.php#L424
19:16 -!- digitarald [n=Miranda@62-43-129-181.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
19:16 < splatch> moreAssigns :)
19:17 < Wombert> yes but these are always assigne
19:17 < Wombert> d
19:17 < Wombert> unlike the ones in the config file
19:17 < Wombert> those are only available if you list them there
19:17 < Wombert> you can also change the names of the moreAssigns
19:17 < Wombert> by simply using
19:17 < Wombert> rd
19:18 < splatch> btw i thought about form population filter
19:18 < v-dogg> Wombert: tabs or spaces in programlistings?
19:18 < Wombert> v-dogg: uuuuuuuh
19:18 < Wombert> tabs?
19:18 < Wombert> not sure if it even matters
19:18 < splatch> Wombert: FPF in my opinion need refactoring
19:18 < v-dogg> tabs don't show correctly in XMLMind but I guess that's ok
19:18 < splatch> there's one very big method
19:18 < kaos> spaces
19:18 < splatch> user can't change strategy of FPF
19:19 < splatch> he must check code steep by steep
19:19 < Wombert> splatch: yup I know, I'll refactor some code out of there for 1.0
19:19 < Wombert> same for execution filter
19:19 < splatch> to add some function
19:19 < kaos> v-dogg: i'd indent with 1 space
19:19 < horros> v-dogg: I've used spaces, I don't even know how io insert a tab in XMLMind :D
19:19 < kaos> easiest to read imho
19:19 < Wombert> two spaces
19:19 < splatch> Wombert: extrac method, fundamental refactoring method ;]
19:19 < v-dogg> horros: me neither, I copy pasted the code w/ tabs :)
19:19 < horros> two spaces is what I've used
19:19 < v-dogg> I'll go with that
19:20 < kaos> Wombert: why 2
19:20 < kaos> imho thats uneeded clutter
19:20 < kaos> especially in the xml stuff
19:20 < Wombert> two
19:20 < kaos> for code
19:20 < kaos> ok
19:20 < v-dogg> space polution
19:20 < kaos> but for the xml i don't see any need to use more then 1 space
19:20 < Wombert> one space isn't enough to distinguish the levels in larger snippets
19:21 < kaos> then you should get yourself some new glasses :P
19:22 < v-dogg> hehe, you can't paste xml with Wombert: users can't use DatabaseManager in templates, true?
19:26 < v-dogg> they can, but one could argue if it's wise
19:26 < v-dogg> $this->getContext() is available in templates
19:28 < Wombert> database in templates?
19:28 < Wombert> wooooooooot?
19:28 < splatch> ;]
19:28 < Wombert> my god please not
19:29 < splatch> Open Session in View anti-pattern ;]
19:29 < splatch> some known technic from Java ;D
19:30 < splatch> wheen you need to fetch data from database but hibernate closed the session
19:33 < v-dogg> where was that brilliant paper about templates and pulling data... hmm..
19:34 < v-dogg> I might have a printed copy at work
19:35 < splatch> v-dogg: send it me :]
19:37 < v-dogg> I'll see if I still have it
19:41 < horros> Wombert: routing callbacks will be covered in the cookbook, yes?
19:41 < Wombert> yeah but you should briefly explain what they can do
19:42 < Wombert> onMatched runs when the pattern matched, and can return true to confirm that it really matched, or false to indicate that the route shouldn't count as matched even though the pattern matched
19:42 < Wombert> onNotMatched is run in case the pattern didn't match (like a language pattern, and then the data is attempted to be read from a cookie)
19:43 < horros> right.
19:43 < horros> where should I explain the other attributes for routes?
19:43 < splatch> btw routing callback is good idea but
19:43 < horros> ie cut, stop, locale, imply etc
19:43 < splatch> can i use own class to generate url?
19:43 < splatch> you know - some logic etc
19:44 < splatch> normally i have to give conditions in view
19:44 < Wombert> and onGenerate is called when a route is generated, the callback can then modify the given parameters or options, and also indicate whether or not that fragment should even be in the url at all by returning true or false
19:44 < Wombert> splatch: we will refactor the routing gen() method for 1.0 and add some more stuff to the callbacks
19:45 < Wombert> I stumbled over something too the other day
19:45 < splatch> yeah! =)
19:46 < horros> Wombert: can you think of off the top of your head some good example for explaining the default-values?
19:46 < Wombert> a callback should have some prepareGen() method or so, for instance, you pass a product object to gen() and then the callback can pull the id from there and transform the product name to use only underscores or so for the search engine friendly url part
19:46 < Wombert> horros: explain these after the optional parts thing
19:46 < Wombert> default values are used if the respective optional parameter wasn't given in the url
19:47 < horros> yeah, but... hmm
19:47 < Wombert> and they are also used during url generation if the respective part isn't given
19:47 < horros> all I can think of is to say "The value in the default-section is used if a value for an optional parameter is not supplied" or something similar :)
19:47 < horros> that's pretty short for it's own section, innit?-)
19:50 < CIA-11> v-dogg * r1814 /branches/0.11/docs/docbook/manual.xml: A chapter about RBAC
19:50 < Wombert> yes and
19:50 < Wombert> when generating
19:50 < horros> yeah
19:50 < Wombert> the value there is used to put it in the resulting URL
19:50 < Wombert> which btw also happens if the respective parameter is NOT optional
19:50 < Wombert> horros: give small examples there!
19:50 < Wombert> makes it easier to read and easier to understand
19:50 < horros> I would if I could think of a good example to put there :)
19:51 < horros> I always try to put examples where ever I can
19:51 < horros> at least for me it's easier to understand what's going on
19:52 < horros> hmm, I wonder what happens if I do svn update on the manual now :)
19:52 < horros> I wonder how badly conflicting it is :)
19:53 < horros> oooh
19:53 < horros> no conflict!
19:53 < Whisller> Hmm what I do wrong :> In use a regex class in validator, pattern is /^\w+$/ in field when I use some chars from utf like ,,, it return false -> http://phpfi.com/212255 but this same pattern in example preg_match work fine O.o
19:53 < Wombert> you must use /u
19:53 < v-dogg> horros: commit commit commit! I want to see :)
19:53 < Wombert> for utf8
19:54 < horros> v-dogg: you have a typo :)
19:54 < Whisller> Wombert, with this flag this also doesnt work
19:54 < horros> "revoleRoles"
19:54 < horros> :)
19:54 < horros> v-dogg: and I'll commit in a while :)
19:55 < v-dogg> thanks
19:55 < Whisller> http://phpfi.com/212257
19:56 < Whisller> in last example i forgotten add delimeter.
19:56 < Wombert> Whisller: I see ???? there
19:56 < Wombert> are you sure it's utf8
19:58 < Whisller> hmm I'm near shure :> But why it work in example fine, but in validator does not.
19:58 < Whisller> *sure
20:00 < Wombert> the validator only runs preg_match with the pattern you gave, on the parameter you gave
20:01 < Wombert> the ???? all over the place indicate that it might not be utf8 what you're using there
20:01 < Whisller> but in my app page has got charset=utf-8 :>
20:02 < horros> that doesn't necessarily mean anything :)
20:02 < Whisller> yes...
20:02 < Whisller> heh
20:02 < horros> charsets are such a pain in the arse at times it's not even remotely funny
20:02 < Whisller> can I print a string what is put into validator?
20:03 < Whisller> *which
20:05 < Wombert> or maybe utf8 chars don't match \w
20:06 < Whisller> . /^(\w濟)+$/ it still return error
20:06 < Wombert> localhost:~/Desktop dzuelke$ php utf8.php
20:06 < Wombert> int(1)
20:06 < Wombert> int(1)
20:06 < Wombert> var_dump(preg_match('/\w+/u', 'fübar'));
20:06 < Wombert> var_dump(preg_match('/\w+/', 'fübar'));
20:07 < Wombert> that file is utf8 encoded
20:07 < Wombert> I'm guessing that something in your app is not utf8
20:07 < Wombert> maybe you don't send the correct charsets or so and then the browser submits as iso-lala
20:11 < Whisller> I don't know :/ I try maybe realy is something wrong with it.
20:13 < horros> Wombert: should I commit this routing stuff I wrote?
20:14 < Wombert> do you have svn access?
20:14 < horros> I believe so
20:14 < horros> at least I have trac access
20:15 < Wombert> yeah svn too
20:15 < Wombert> go ahead
20:15 < horros> right-o
20:15 < Wombert> dinner ->
20:16 < CIA-11> horros * r1815 /branches/0.11/docs/docbook/manual.xml: More routing documentation
20:16 < horros> zere we go
20:18 < splatch> does Controlle can be available from template?
20:20 < horros> I don't think you should muck about with the controller in the template
20:20 < Wombert> what do you need the controller for
20:21 < splatch> i don't know, therefore i'm doubting
20:23 < splatch> so i don't describe controller in pre-assigned variables
20:23 < splatch> routing, request, request_data, translation_manager, validation_manager
20:25 < _cheerios> BRITNEY Spears has flipped her lid in rehab, trying to hang herself with a bedsheet after screaming "I am the anti-christ" to frightened staff. << o_O
20:25 < Wombert> splatch: as you pointed out
20:26 < Wombert> in http://phpfi.com/212235
20:26 < Wombert> it is possible to have the controller
20:26 < Wombert> but
20:26 < Wombert> agavi project creates that file for you
20:26 < Wombert> why do you want to talk about it in your article
20:26 < Wombert> don#t do that
20:26 < Wombert> it is not important
20:26 < Wombert> focus on the real stuff
20:26 < horros> _cheerios: lol
20:29 < Whisller> heh maybe this is not a super good idea but /^(\w.)$/ and work fine ;) but will enough
20:29 < Whisller> *will be
20:30 < Wombert> what do you want to match?
20:30 < Wombert> \w. matches exactly two characters
20:31 < Whisller> tfu, pattern was /^(\w.)+$/ not /^(\w.)$/
20:31 < Whisller> eating time.
20:32 < Wombert> that doesn't work
20:32 < Wombert> if you have a special character as the first
20:32 < Wombert> ...
20:32 < Whisller> eee what special characters?
20:33 < Wombert> mg
20:33 < Wombert> omg
20:33 < Wombert> I really don't have the nerve to explain this now sorry
20:34 < Whisller> this must work only when characters are a-zA-Z0-9_ and special polish/german/... characters.
20:34 < Wombert> but be advised that your pattern is not correct and will not work
20:34 < Wombert> yes but your pattern doesn't do that
20:34 < Wombert> your pattern matches "a%" for example
20:41 * horros sniggers at ze dog lying under the table, waving his tail and eyeing me suspiciously while chewing on his pig ear
20:43 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi
20:48 < v-dogg> hehe
21:00 < v-dogg> horros: nice work with the routing chapter
21:02 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:03 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
21:03 -!- Arme[N-1] is now known as Arme[N]
21:03 * Arme[N] hugs horros and v-dogg
21:04 < Arme[N]> and
21:04 * Arme[N] hugs Wombert
21:04 < Arme[N]> :)
21:06 < horros> v-dogg: thanks, still needs some more work, but we're getting there. slowly but surely :)
21:06 < horros> agavi has gotten quite a bit of documentation this weekend, eh?-)
21:07 < v-dogg> yeah
21:07 < v-dogg> Wombert: when have you updated the docs at agavi.org?
21:09 < CIA-11> v-dogg * r1816 /branches/0.11/docs/docbook/manual.xml: Typo fixes
21:10 < horros> oh bugger
21:10 < horros> stupid xmlmind can't refresh the document when it's been changed outside
21:10 < horros> I did some more routing stuff and did svn update
21:10 < horros> :(
21:11 < horros> whithout saving the blasted document
21:11 < v-dogg> there's a backup file ~
21:12 < v-dogg> or what happened?
21:12 < horros> I wrote stuff, did svn update before saving the document
21:12 < horros> which means the document on the file system is different from the one in the editor
21:13 < v-dogg> can you save as?
21:13 < horros> which means I can't save, because then I'd overwrite your commit :)
21:13 < Wombert> revert, svn up again
21:13 < horros> meh, I'll just rewrite it
21:13 < Wombert> err
21:13 < Wombert> save
21:13 < Wombert> svn uo again
21:13 < Wombert> why
21:13 < Wombert> just save
21:13 < Wombert> and svn up
21:13 < horros> already nuked the changes and reloaded the file
21:13 < horros> I didn't have much done, just a few sentences
21:14 < horros> but there's yet another thing that annoys me with XMLMind :)
21:14 < Wombert> :p
21:21 < horros> hahahaha
21:21 < horros> watching a programme from the australian outback
21:21 < horros> some bloke jumped into the water and one guy asked him "so how do you know there aren't any crocs in there?"
21:22 < horros> "I don't, I suppose. but if something bites me, I'll poke 'em in the eye."
21:33 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:36 < horros> ahahaha
21:37 < horros> "some of the barmaids you see walking around dressed in little more than two band-aids and a cork."
21:49 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
21:56 < CIA-11> v-dogg * r1817 /branches/0.11/docs/docbook/cookbook.xml: Added a chapter "Role-Based Access Control and Rules for Unauthenticated Users" plus replaces some tabs with spaces
22:15 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has joined #agavi
22:15 < MrJeep_> lol, the show with ze frank is so funny
22:24 < Whisller> Wombert, yes you have a right. This pattern was not good.
22:31 < _cheerios> "One of the scenes has Bond sitting on the bow of the yacht typing on a laptop (to say what he was typing would give the game away..), suffice to say when he’s finished he throws the laptop into the water. The two rehearsals were done with a rubber fake laptop. The next five takes were done with brand new, top of the range, Sony laptops! About £1500 a pop! The reason, I was told, was that if the laptop spun in the air and the audience could see
22:31 < _cheerios> it was not showing what our Mr.Bond had typed, their belief would be gone."
22:32 < kaos> lol :D
22:33 < CIA-11> v-dogg * r1818 /branches/0.11/docs/docbook/cookbook.xml: Redirecting Back to the Originally Requested Page After Login
22:34 < MrJeep_> oh there is news in documentation ??
22:34 < MrJeep_> i mean
22:34 < MrJeep_> new documentation
22:35 < _cheerios> they couldnt get the DBS to roll even with a ramp, so... ; "We decided then on using a cannon. The special effects guys had put a cannon in which sits just behind the driver's seat. It has a cylinder that, as you press a button, releases a load of air which punches the cylinder into the road which then, in turn, turns the car over. And that's how we ended up doing it in the end."
22:43 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:51 -!- codecop [n=moni___@85.206.205.158] has quit [Remote closed the connection]
22:52 < Wombert> yup
22:52 < Wombert> The barrel roll stunt in the Aston Martin DBS broke the world record for the most barrel rolls assisted by a cannon. Originally, the racing specifications of the DBS meant that a standard ramp would not be sufficient to get the car to roll, so the special effects team were called in to install a air-powered cannon behind the drivers seat. This allowed the car to complete seven full rolls.
22:55 < ttj> Wait a minute...
22:55 < ttj> Didn't the Top Gear guys also attempt that record at some point?
22:56 < ttj> And get some sort of award for it.
22:57 < horros> yeah, I seem to recall something like that
22:59 < horros> the docs are really taking off, aren't they :)
23:07 < horros> c'mon, topgearepisode!
23:07 < horros> It's seven minutes already!
23:07 < horros> Where's the bloody torrent?!
23:08 < _cheerios> and i thought it was a CGI scene :D
23:14 < Wombert> the top gear one was without a cannon
23:14 < Wombert> they used the big hammer, a jet engine xD
23:14 < horros> nono, I distinctively remember them having an air pressured cannon under the car
23:17 < horros> http://www.yourdailymedia.com/media/1138632836
23:19 < Wombert> that's 06x09
23:21 < v-dogg> Wombert: how old are the manuals in agavi.org?
23:22 < Wombert> rc4
23:22 < v-dogg> ok
23:22 < Wombert> should I update them?
23:22 < v-dogg> we could add $Version to the manuals
23:22 < v-dogg> or whatever it's called
23:23 < v-dogg> it would be nice that have that routing stuff there
23:23 < v-dogg> so yes, update them please
23:24 -!- Prometheus^ [n=Promethe@cs181171069.pp.htv.fi] has joined #agavi
23:27 < v-dogg> off to bed, night
23:27 < Wombert> nn man
23:30 < horros> me too
23:30 < horros> o/
23:43 < _cheerios> good clip :)
23:50 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"]
23:52 < horros> where the smeg is the episode!?
23:53 < Wombert> patience
23:54 < Wombert> it's on the private sites already
23:54 < Wombert> just a matter of time
23:54 < horros> I have none :)
23:54 < horros> I want to set it on download and go to bed
23:56 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"]
--- Day changed Mon Mar 05 2007
00:12 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has quit [Read error: 113 (No route to host)]
00:15 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has joined #agavi
00:15 < Niacin> afternoon all
00:16 < Wombert> hi there
00:17 < Niacin> I'm familar with mojavi... agavi is similar yes?
00:17 < Wombert> based on mojavi, yes
00:18 < Wombert> we have changed quite some things, but only for the better, and you'll find your way around
00:18 < horros> hello, Niacin
00:18 < horros> you somehow sound familiar
00:19 < horros> did you use to hang out on #mojavi on efnet? or frequent the m3 forums?
00:19 < Niacin> horros, i did the msntv Linux port / Sidekick2 Linux port/ PSP 2.0 buffer overflow / bunch of misc buffer overflows
00:19 < Niacin> i own the toc2rta network
00:19 < Niacin> if you have a PSP then you likely know m
00:20 < horros> nossir, I don't have a PSP :)
00:20 < impl> Dude, I was seriously going to buy up msntv boxes to run a cluster :\
00:20 < horros> Niacin: xlink?
00:20 < impl> I think I still have the hacked firmware on my computer
00:20 < Niacin> hehe ;) that was me
00:21 < horros> and where the bloody smeg is the top gear episode!? it's been 1h 20min already!
00:21 < Niacin> my site is down right now as i'm trying to build something more customized then media wiki
00:21 < Niacin> but google cache still has the info
00:21 < impl> Looking into Agavi?
00:21 < Wombert> well worth it
00:21 < Niacin> Yep
00:21 < Niacin> i come from a *very* procedural background... (c/asm) mainly...
00:22 < Niacin> so mvc is some what new to me
00:22 < Niacin> impl: a german company tried to order 200 msntv's from me... i would of done it but they were only paying $60 per unit and it would cost me atleast 40 - 50 for each box
00:23 < impl> Wow o;
00:23 < Niacin> before i released that article... wow i could of got the whole 200 for < 2000 heh
00:24 < impl> haha, yeah. They really shot up on eBay after that
00:25 < Niacin> yeah o well :> i did to a tungstun W port (a simple palm with gsm)
00:25 < Niacin> but i haven't done a write up on it... been busy with work
00:25 < impl> Cool
00:26 < horros> yay
00:26 < horros> s09e06 is on mininova
00:26 < Wombert> watching already :>
00:26 < horros> streaming?
00:27 * horros puts e06 on download and heads to bed
00:27 < horros> night
00:27 < impl> Night horros
00:27 < Niacin> :( the pear version doesn't include sample ?
00:27 < horros> lol
00:28 < horros> 56 peers and 2700 seeds
00:28 < horros> :D
00:28 < Wombert> it does, it gets copied to the data dir, Niacin
00:28 < horros> err
00:28 < horros> the other way around
00:28 < horros> anyway
00:28 < horros> o/
00:34 < Niacin> sigh
00:34 < Niacin> PHP Fatal error: Configuration file "/usr/share/pear/data/agavi/samples/app/config/autoload.xml" does not have a registered handler in /usr/share/pear/agavi/core/Agavi.class.php on line 60
00:34 < Niacin> ideas?
00:34 < impl> o;
00:36 < Wombert> uh?
00:36 < Wombert> that shouldn't happen
00:36 < Wombert> can you create a new project using "agavi project" first?
00:37 < Wombert> create a new folder somewhere in the docroot, go there, type "agavi project" and hit return a million times
00:40 < Niacin> hmm strange now i'm getting a Phing error
00:40 < Niacin> include_path='.:/usr/share/pear'
00:40 < Niacin> require_once(phing/Project.php): failed to open stream: No such file or directory in /usr/share/pear/phing/Phing.php on line 22
00:40 < Niacin> the include path has phing in it... Project exists
00:40 < Wombert> you have to install using --alldeps or --onlyreqdeps
00:41 < Wombert> so phing gets installed
00:41 < Niacin> it is installed
00:41 < Wombert> maybe your version is outdated, too, agavi requires 2.2.0 or later
00:42 < Niacin> # file /usr/share/pear/phing/Project.php
00:42 < Niacin> /usr/share/pear/phing/Project.php: PHP script text
00:42 < splatch> rights?
00:42 < Niacin> yea no perm problems.. i think Wombert is right.. looks like 1.5
00:42 < Wombert> you're the first person to have all these issues ;) sorry for that
00:42 < Wombert> let's hunt it down
00:42 < Wombert> ah
00:43 < Niacin> strange pear would install an older version
00:43 < Wombert> I'm guessing you had it installed
00:49 < Niacin> ERROR: pear.php.net/phing: conflicting files found:
00:49 < Niacin> sigh
00:50 < Wombert> sudo pear uninstall pear/phing
00:50 < Wombert> sudo pear install channel://pear.phing.info/phing
00:51 < Niacin> strange same problem as before
00:51 < Niacin> version looks the same too
00:55 < Niacin> this box is current too
00:55 < Niacin> rhel4
00:55 < Niacin> gonna have problems if people can't ./install it ;\
00:55 < impl> Does phing 2.2 need beta package state?
00:55 < Wombert> 2.2?
00:55 < Wombert> 2.1?
00:55 < Wombert> dunno
00:55 < Wombert> the current stable one is needed
00:55 < impl> hmmh
00:55 < Wombert> I'm guessing the old version didn't uninstall cleanly
00:55 < impl> I blame this on Redhat!
00:56 < Wombert> if I remove everything and run pear install --alldeps then everything works fine for me...
00:56 < Niacin> PHP Warning: require_once(phing/Project.php): failed to open stream: No such file or directory in /usr/share/pear/phing/Phing.php on line 22
00:56 < Niacin> im getting this error on 2.2
00:57 < Niacin> its failing to include a file that DOES exist
00:57 < impl> Are you sure your include_path is right?
00:57 < Niacin> its gotta be a path issue
00:57 < Niacin> include_path='.:/usr/share/pear'
00:57 < Wombert> yeah path or permissions maybe?
00:57 < impl> If it was a permissions problem it would say "permission denied" or somesuch
00:58 < Niacin> PHP Fatal error: require_once(): Failed opening required 'phing/Project.php' (include_path=''.:/usr/share/pear'') in /usr/share/pear/phing/Phing.php on line 22
00:58 < impl> wtf
00:58 < Niacin> that makes no sense... it can include the Phing.php but can't find the Project.php in the same dir
00:59 < impl> Can you do php -r 'require_once("phing/Project.php");' ?
01:00 < Niacin> same error
01:01 < Niacin> anyone read chineese?
01:01 < Niacin> http://www.g-collab.com/xoops/modules/bwiki/index.php?agavi%2Finstall
01:01 * impl boggles
01:02 < impl> Niacin: It basically says to check your include_path in php.ini, I think
01:02 < Niacin> this really makes no sense
01:02 < Niacin> root@toc2rta:/usr/share/pear# php -i |grep php.ini
01:02 < Niacin> Configuration File (php.ini) Path => /etc/php.ini
01:03 < Niacin> then when i grep out include path
01:03 < Niacin> include_path = ".:/usr/share/pear"
01:03 < Niacin> # file /usr/share/pear/phing/Project.php
01:03 < Niacin> /usr/share/pear/phing/Project.php: PHP script text
01:04 < impl> We must be missing something obvious here :\
01:08 < Niacin> thats so f!@#! weird
01:08 < Niacin> it just started working
01:08 < Niacin> seriously... i didnt change anything
01:12 -!- Prometheus^ [n=Promethe@cs181171069.pp.htv.fi] has quit []
01:15 < Niacin> heh still getting this error tho
01:15 < Niacin> PHP Fatal error: Configuration file "/home/toc2rta/public_html/ag2/app/config/autoload.xml" does not have a registered handler in /usr/share/pear/agavi/core/Agavi.class.php on line 60
01:15 < Niacin> it created a project fine... with no errors
01:15 < impl> What PHP version are you using?
01:15 < Niacin> 5.1.6
01:15 < splatch> big problem i see :)
01:15 < kaos> hmm, can you check the access rights to app/cache ?
01:16 < impl> I've heard about weird things happening with 5.1.6
01:16 < Niacin> 777
01:16 < kaos> hmm
01:16 < kaos> welcome to PHP ;)
01:16 < kaos> this is really strange
01:17 < Niacin> so no ideas then?
01:20 < kaos> this error usually only happens when there is some old data in the cache dir after you updated agavi
01:20 < kaos> but with a newly created project that can't be the caser
01:20 < kaos> -r
01:21 < kaos> whats the contents of your app/cache/config ?
01:21 < Niacin> yeah nothing in there
01:21 < Niacin> nothing in cache/
01:21 < Niacin> you mean app/config ?
01:22 < kaos> no, i mean app/cache/config
01:22 < kaos> now that is strange
01:22 < Niacin> nothing in app/cache/*
01:22 < Niacin> nothing in /usr/share/pear/data/agavi/samples/app/cache/ either
01:24 < kaos> can edit agavi/core/Agavi.class.php in line 60 and dump $e->getStackTrace() pls ?
01:24 < kaos> (and put into some pastebin)
01:26 < Niacin> yep sec
01:26 < Wombert> wait it's a fatal error not an exception
01:26 < kaos> yes, its the trigger_error
01:27 < kaos> the only thing i could imagine that happen is access problems to the cache dir
01:27 < kaos> which can't be if its 777
01:27 < Niacin> PHP Fatal error: Call to undefined method AgaviConfigurationException::getStack
01:27 < Wombert> eeeehm
01:27 < kaos> how was the method called again ?
01:28 < Niacin> drwxrwxrwx 2 root apache 4096 Mar 4 15:26 cache
01:28 < kaos> god damn php documention
01:28 < Wombert> getStackTrace() right?
01:28 < kaos> ah
01:28 < kaos> getTrace
01:28 < kaos> sorry
01:29 < kaos> or getTraceAsString(), should be easier to read
01:30 < Niacin> http://www.pastebin.ca/381605
01:31 < kaos> hah
01:31 < kaos> you don't have the dom extension enabled it seems
01:31 < Wombert> yeah
01:31 < kaos> we should probably add checks for the extensions we require in bootstrap Wombert
01:31 < Wombert> yes we should
01:32 < impl> No
01:32 < impl> That's a waste of memory
01:32 < impl> They need to be specified as requirements
01:32 < Wombert> they are
01:32 < kaos> impl: that would be a simple class_exists check
01:32 < kaos> which we can only do when in debug mode
01:32 < kaos> or something like that
01:33 < impl> mhmm
01:33 < impl> If it's only in debug I guess it'd be okay
01:33 < impl> I just don't think checking requirements per-script run is necessary
01:33 < impl> it's something that happens once ever
01:33 < impl> (the installation that is)
01:33 < kaos> maybe in agavi project
01:33 < Wombert> we don't even know about debug on/off at that stage
01:33 < kaos> Wombert: i think you can specify extensions requirements in pear packages
01:33 < impl> True
01:33 < Wombert> the attempt to load DOMDocument ran Agavi__autoload
01:34 < kaos> the problem is that someone uploads it to a server and gets this strange exception
01:34 < kaos> whcih is really hard to trace as you see ;)
01:34 < impl> Maybe we should dump the stack by default?
01:35 < kaos> no
01:35 < impl> Yeah, you're right... that's not very useful
01:36 < Niacin> so missing the dom extention
01:36 < kaos> Niacin: did you manually compile your php ?
01:36 < Niacin> strange yum seems to think there is only a 4.x domxml extension
01:36 < Niacin> no
01:36 < impl> It's not domxml, just dom
01:36 < kaos> what distribution is that ?
01:36 < impl> I think he said RHEL
01:36 < kaos> because you need to disable that extension explicitly
01:37 < Niacin> actually its called php-xml
01:37 < impl> Odd name
01:37 < impl> Should be DOM
01:37 * impl shrugs
01:37 < Niacin> ;>
01:38 < Niacin> lets hope its easier to code then to setup ;>
01:38 < Wombert> hey that's not agavi's fault :S
01:38 < Wombert> http://www.agavi.org/docs/latest/manuals/manual/ch01s02.html :/
01:39 < impl> lol
01:39 < kaos> Wombert: you really can't expect package maintainers to disable default extensions and package them as extra packages
01:40 < kaos> "the good lunix" ;)
01:40 < Wombert> yes, these people should be shot in the face
01:40 < impl> rofl
01:40 < impl> That was rather blunt
01:40 < Wombert> I'm not joking
01:40 < Wombert> if I lived in america, I'd be buying a gun right now
01:41 < Wombert> hmm now that I think of it
01:41 < Wombert> I should move to america
01:41 < kaos> well, maybe they noticed that libxml + php 5.1.x is rather borked and just dropped it of the base package to make their customers life "easier"
01:41 < kaos> *g*
01:41 < splatch> Wombert: are you angry? ;]
01:41 < Niacin> Wombert, trust me stay away from America
01:41 < impl> Wombert: I'll trade with you
01:41 < Niacin> i'm Australian.... i got sucked into moving here
01:41 < Niacin> now i can't leave
01:41 < Niacin> :(
01:42 < Wombert> oooh australian
01:42 < Wombert> I am too, in a way
01:42 < Wombert> cheers mate
01:42 < Wombert> anyway, dom installed now?
01:42 < Niacin> yep works fine
01:42 < Wombert> cool
01:42 < Niacin> http://toc2rta.com/ag2/pub/
01:42 < Wombert> sorry for the inconvenience
01:43 < Niacin> :)
01:43 < Niacin> i wish i had a cool logo like yours :>
01:43 < Wombert> heh thanks
01:43 < Wombert> I hope the website will be up soon
01:44 < Wombert> waiting for the design to be finished
01:46 < Wombert> mmmh yay thanks to pear being, as usual, fucking retarded I gotta dive into the code to check the method signature
01:46 < Wombert> god damnit
01:46 < Wombert> they introduced package.xml v2 a decade ago and yet nobody could be bothered to document the shit
01:54 < kaos> LOL ez mail component
01:55 < kaos> this thing just managed to make exim include the bcc in the mail
02:05 < CIA-11> david * r1819 /branches/0.11/etc/phing/AgaviPackageTask.php: more pear package dependencies
02:32 < splatch> Wombert: FPF broke page encoding
02:32 < Wombert> splatch: then you hvae incorrect encoding in your document
02:32 < splatch> i don't declare encoding, i'm using UTF-8
02:33 < splatch> files = utf
02:33 < splatch> but in output i've some strange characters :)
02:33 < Wombert> yes, but your page encoding is not utf8
02:35 < splatch> hmm encoding in header its utf
02:36 < Wombert> do you output that in a meta header?
02:36 < splatch> "Content-Type">text/html; charset=UTF-8
02:42 < Wombert> if your output contains strange characters... then that's probably not FPF's fault
02:42 < Wombert> maybe database connection encoding or something
02:43 < splatch> with meta header works
02:43 < splatch> maybe browser problem
02:43 < Wombert> see
02:43 < Wombert> yes
02:44 < Wombert> FPF assumes utf8 if no header is set etc
02:44 < Wombert> but
02:44 < Wombert> the browser can only guess the encoding
02:50 < splatch> bye all
02:50 < splatch> time to sleep
02:55 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has joined #agavi
03:28 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: Niacin, liutis
03:29 -!- Netsplit over, joins: Niacin, liutis
03:54 < splatch> hmm
03:55 < splatch> that's really time to sleep
03:55 < splatch> i'm son hangry ;|
03:55 < splatch> bye!
03:58 < kaos> http://angel.hurtado.googlepages.com/tutorialgwt2 <-- ppl writing such stuff
03:58 < kaos> should be shot
03:58 < kaos> i mean W T F
03:58 < kaos> his code is hilarious
03:58 < kaos> sqlQuery = "SELECT * FROM directory WHERE name LIKE '". $_REQUEST['tosearch']. "%'";
03:58 < kaos> can you spot the injection ? ;)
03:59 < kaos> or
03:59 < kaos> $value{"item"}{$i}{"Employe Number"}= $row['enumber'];
03:59 < impl> lol
03:59 < kaos> eh
03:59 < impl> wtf
03:59 < kaos> uh
03:59 < kaos> ah
03:59 < impl> Does that even /work/
03:59 < kaos> yes
03:59 < kaos> it does
03:59 < kaos> since {} and [] are the same internally
03:59 < kaos> but still
03:59 < kaos> i mean
03:59 < impl> That's so wrong :\
03:59 < kaos> W T F
04:01 < kaos> he probably knew why not to put an comment function in that "tutorial"
04:01 < kaos> *g*
04:01 < impl> :P
04:01 < kaos> has anyone ever used gwt btw ?
04:06 < kaos> impl, i think you were the only java guy here ;P
04:06 < impl> I don't know much Java
04:06 < impl> I used it for like one project
04:07 < kaos> oh O_o
04:07 < kaos> hmm
04:08 < kaos> i used it once too ... for a cash dispenser simulation we were required to build at school *ggg*
04:08 < impl> My program organized subnets for a VPN
04:08 < impl> but it sucked because it didn't store what it allocated in a DB or anything
04:08 < impl> :P
04:09 < kaos> so who was the java guy then ?
04:09 < kaos> horros ? O_o
04:09 < impl> Maybe...
04:09 < kaos> i don't know :D
04:12 < kaos> after 5 hours doing only email test sending my brain feels so ... strange *g*
04:12 < kaos> but at least i know now that swiftmailer.org
04:13 < kaos> is TEH SUCK
04:14 < kaos> (it simply ignores the bcc when it shall use the php mail function)
04:14 < impl> O_o
04:15 < kaos> if you tell it to use sendmail it will not use bcc but instead send one mail to each user
04:15 < kaos> and if you tell it to use smtp
04:15 < kaos> it tries to send everything using one connection
04:16 < kaos> and doesn't even reconnect when the mailserver disconnects because it tried to send to many mails over one connection
04:16 < impl> lol
04:16 < kaos> oh
04:16 < kaos> and its DOG SLOW
04:17 < kaos> ez components was able to send to 10k users using phps mail function withhin 1 second
04:17 < kaos> that thing (where it didn't even send to 10k users ... since it ignored the bccs) it took 5 seconds
04:17 < kaos> -it
04:18 < kaos> so i definitly wouldn't rely on that thing sending my mails ;)
04:20 < kaos> "new updates available" "Windows Genuiine Advantage Notification"
04:20 < kaos> You will be notified by the Windows Genuine Advantage Notification-Tool, if your Windows version is not an original version
04:20 < kaos> no thanks
04:21 < kaos> i know that my windows is original
04:21 < kaos> and i don't know how that should change from one day to another
04:21 < kaos> *narv*
04:24 < CIA-11> david * r1820 /branches/0.11/src/validator/AgaviStringValidator.class.php: support for utf8 in StringValidator, default on, use parameter 'utf8' to control
04:24 < kaos> oh
04:24 < kaos> and ubuntu is teh suck too
04:25 < kaos> i think i need to make a photograph of how my terminal looks like
04:25 < kaos> its in some strange graphical mode
04:25 < kaos> where you can't even see your shell after logging in
04:25 < kaos> because its a completely wrong font/layout
04:26 < kaos> (i would probalby need a screen 8 times the size of my current to see it completely)
04:50 -!- Niacin_ [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has joined #agavi
04:50 < Niacin_> evening all
04:56 < Wombert> hi
04:56 < Wombert> I'll hit the sack
04:56 < Wombert> ttyl
05:45 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
05:50 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has quit [Read error: 54 (Connection reset by peer)]
06:33 -!- Niacin_ [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has quit [Read error: 110 (Connection timed out)]
06:45 -!- Wombert [n=Wombert@dslb-084-056-019-037.pools.arcor-ip.net] has quit []
07:22 < horros> huomenta
07:33 -!- shoan [n=shoan@59.92.128.102] has joined #agavi
07:35 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 60 (Operation timed out)]
07:58 < v-dogg> huomenta
08:50 -!- shoan_ [n=shoan@59.92.146.101] has joined #agavi
09:05 -!- shoan [n=shoan@59.92.128.102] has quit [Read error: 110 (Connection timed out)]
09:19 -!- shoan [n=shoan@59.92.129.205] has joined #agavi
09:28 -!- _horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit []
09:31 -!- shoan_ [n=shoan@59.92.146.101] has quit [Read error: 110 (Connection timed out)]
09:34 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:44 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi
09:54 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi
09:58 < MikeSeth> god damnit
09:58 * MikeSeth pets everyone
09:58 < horros> hmmh?
09:58 < MikeSeth> mixed anger
09:59 < horros> ah
10:03 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
10:17 -!- shoan_ [n=shoan@59.92.164.204] has joined #agavi
10:25 -!- shoan__ [n=shoan@59.92.181.45] has joined #agavi
10:27 -!- shoan [n=shoan@59.92.129.205] has quit [Read error: 110 (Connection timed out)]
10:33 -!- shoan [n=shoan@59.92.162.24] has joined #agavi
10:40 -!- shoan_ [n=shoan@59.92.164.204] has quit [Read error: 110 (Connection timed out)]
10:45 -!- shoan__ [n=shoan@59.92.181.45] has quit [Read error: 110 (Connection timed out)]
10:50 < horros> grumble grumble
11:21 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
11:25 -!- digitarald [n=Miranda@91.Red-83-52-195.dynamicIP.rima-tde.net] has joined #agavi
11:40 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
11:40 < RossC0> morning
11:43 < v-dogg> morning RossC0
11:45 < splatch> oi! :)
11:45 < splatch> i love spring!
11:45 < digitarald> hey fellows
11:47 < horros> nice
11:47 < horros> I got a "pikavoitto"
11:47 < horros> stupid automatic speed cameras :(
11:47 < v-dogg> how much?
11:48 < horros> dunno, I was driving 16km/h too fast
11:48 < v-dogg> rikesakko then
11:48 < horros> they sent me the papers today
11:48 < horros> yep
11:48 < horros> shouldn't be that bad considering I make fuckall money.
11:49 < horros> I remember the occasion too. some fucktard on the lane next to me was doing something funky and was about to turn into me, so I hit the pedal to the metal
11:53 < horros> gah
11:54 < horros> 115e apparently
11:57 < horros> oh for fuck's sake
11:58 < horros> in a max 60km/h area... 16km/h over the limit is when you start getting tickets...
11:58 < horros> d'oh
11:58 < digitarald> 115 bugs for speeding ... wow
12:00 < horros> if I had driven 1km/h less, I wouldn't have gotten the bloody ticket
12:21 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
12:24 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
12:32 -!- codecop [n=moni___@85.206.205.158] has joined #agavi
12:33 < horros> http://news.nationalgeographic.com/news/2007/02/070228-mars-warming.html
12:33 < horros> heh
12:33 < horros> I've been saying that for the past three years
12:34 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)]
12:52 < _cheerios> uh huh, that means Earth is fucked.
12:55 < _cheerios> i need a haircut... i look like an 80's rock band member soon
13:36 < Prometheus^> hrm
13:36 < Prometheus^> if I want to tell phing to use specific php
13:36 < Prometheus^> should I do that in the wrapper?
13:38 < Xylakant> you can set the path accordingly
13:38 < Xylakant> PATH="/path/to/where/php/lives/:$PATH" hping
13:39 < Xylakant> PATH="/path/to/where/php/lives/:$PATH" phing rest of commandline
13:39 < Xylakant> or export PATH=...
13:39 < Xylakant> the first one changes the setting only for one command, the export for the shell session
13:39 < Prometheus^> right :)
13:39 < Prometheus^> thanks
13:40 < horros> Prometheus^: you can also export PHP_COMMAND :)
13:40 < Prometheus^> so path is the php dir?
13:40 < Prometheus^> because if I wanted to use cli php5, which resides in /usr/bin/
13:40 < Prometheus^> and the php dir resides in /usr/share/php
13:41 < horros> for PHP_COMMAND, the complete path and including php itself.
13:42 < Prometheus^> right, so /usr/bin/php5 :)
13:42 < horros> yep
14:06 -!- codecop [n=moni___@85.206.205.158] has quit [Read error: 145 (Connection timed out)]
14:19 -!- moni [n=moni___@85.206.205.158] has joined #agavi
14:28 -!- moni [n=moni___@85.206.205.158] has quit [Read error: 145 (Connection timed out)]
14:39 -!- moni [n=moni___@85.206.205.158] has joined #agavi
14:56 < kaos> *yawn*
14:56 < kaos> getting woken up by the postman is not nice :<
14:56 < MikeSeth> kick 'em in teh face
14:57 < kaos> hehe
14:57 < kaos> i'll let the dog do the dirty work :D
15:09 < RossC0> http://tinyurl.com/32jw5b - brilliant if true!
15:09 < v-dogg> oh man, Vista is so fucked up
15:10 -!- moni [n=moni___@85.206.205.158] has quit [Read error: 145 (Connection timed out)]
15:10 < v-dogg> who ever was in charge of ui and usability design should get sacked
15:12 < v-dogg> or shot
15:13 < kaos> this can't be true
15:13 < kaos> O_o
15:13 < kaos> not even bill gates can be THAT stupid
15:13 < kaos> (ok, well, if its really true ... then its really WOW :D)
15:14 < horros> That simply cannot be true.
15:14 < horros> For serious.
15:15 < kaos> PS. This is the second post in my series of attempted humour about Microsoft.
15:15 < RossC0> "Abandon all sanity, ye who enter here: INTERCAL"
15:15 < kaos> so, its a joke ;)
15:16 < _cheerios> obvious joke
15:16 < RossC0> funny joke
15:23 -!- moni [n=moni___@85.206.205.158] has joined #agavi
15:24 -!- Wombert [n=Wombert@dslb-084-056-019-037.pools.arcor-ip.net] has joined #agavi
15:26 < horros> "morning" wombert
15:27 < RossC0> "evening" Wombert
15:27 < RossC0> :.
15:27 < RossC0> :p
15:27 -!- shoan [n=shoan@59.92.162.24] has quit [Read error: 110 (Connection timed out)]
15:28 < Wombert> horros: holy crap
15:28 < Wombert> 16 over and 115 bucks?
15:28 < horros> yep
15:28 < Wombert> jesus christ I might not move to finland after all
15:28 < Wombert> that would be 35 euros here and no points on the record
15:29 * Wombert yawns
15:29 < Wombert> but yes
15:29 < Wombert> morning guys
15:29 < horros> we don't really have "points on the record" here
15:29 < Wombert> I've been desperately trying to get into bed around midnight over the last days
15:29 < Wombert> turns out working till six in the morning isn't a very good idea
15:30 < horros> three *serious* traffic violations (like speeding > 25km/h in a 40km/h area) in one year (or a year and a half, can't remember) might mean you lose your license for a couple of months
15:33 < Wombert> you lose the license for 1 month when you're more than 30 over the limit (in town)
15:33 < Wombert> and more than 40 outside town
15:34 < Wombert> more than 20 gets you an entry on the record
15:34 < horros> here for the first offence you get n "day tickets" which are calculated based on your income
15:34 < horros> so going, say, 25 over the limit and making like 6000-7000e/mo will get QUITE expensive
15:34 < Wombert> but
15:35 < Wombert> you also lose the license if you're caught twice over 25 within 12 months
15:35 < Wombert> and now these bastards are thinking about a general speed limit on ze autobahn :<
15:36 < horros> hehe, making 4000e/mo (excl. tax) and driving over 25km/h over the limit where the limit is max. 60km/h...
15:36 < horros> 14 "day tickets" == 868e
15:37 < horros> 6000e => 1344e
15:37 < horros> jesus fuck
15:38 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi
15:38 < Whisller> good afternoon
15:38 < v-dogg> you get less for child molesting
15:38 < v-dogg> or drug dealing
15:38 < Prometheus^> pfft
15:39 < _cheerios> how would you know?
15:40 < _cheerios> and i have to say it's disgusting what top gear does to driving habits, driving in such reckless manner, endagering other human life by speeding!
15:40 < Prometheus^> in the US, if you are speeding under 25 miles/hour over the speed limit, you can take a "defensive driving" class, which costs like $50, to make it up
15:41 < Prometheus^> you can do that once a year
15:41 < horros> I wish they had that here too
15:41 < horros> :(
15:41 < Prometheus^> I did that once
15:41 < horros> I'd rather spend 40e than 115e
15:41 < horros> :(
15:41 < Prometheus^> and the other time I had to pay like $150 :/
15:42 < Prometheus^> oh and, if you take the class, it won't go on your record either
15:42 < Prometheus^> so your insurance won't go up or anything
15:42 < Prometheus^> well, I don't know if that rule applies to all states, but at least that's how it's in texas
15:42 < horros> like I said, I got the ticket for doing an evasive manuveur (flooring it) when some jerk was about to hit my side :(
15:43 < Prometheus^> sucks
15:43 < horros> I couldn't hit the breaks either, as I had a car right in my bloody tail gate
15:43 < Prometheus^> now, if you were in america... it would've been the "smart" thing to do to just hit the breaks and let someone else pay for it all ;)
15:44 < Prometheus^> a guy I went to school with got hit on the highway by some woman, he got $70,000 for pain and such
15:44 < Prometheus^> it only cost him $2,000 to go to the physiotherapist
15:44 < Prometheus^> or whatever it is..
15:45 < Prometheus^> so he spent the other $68,000 to fix the minor damage to the exterior of his corvette and got twin-turbo for it
15:45 -!- moni [n=moni___@85.206.205.158] has quit [Read error: 145 (Connection timed out)]
15:45 < horros> then again... we've not completely lost our grip on reality here.
15:45 < Prometheus^> true enough
15:45 < Prometheus^> but sometimes it wouldn't hurt to have a bit higher fines..
15:45 < horros> (read: suing coffee shops for not labeling their coffee mugs with "***WARNING! CONTENTS MAY BE HOT!****")
15:45 < Prometheus^> like that police dog that was set loose and attacked a student..
15:46 < Prometheus^> permanently damaging that persons leg
15:46 < horros> bah, bloody students. it was probably a hippie.
15:46 < Prometheus^> they ordered him 2000 euros compensation
15:46 < horros> ;)
15:46 < Prometheus^> I won't even begin to contemplate on how much it might've been in the states :P
15:47 < horros> friend of mine got 1200e for getting a fist in his face, doing a double flip over a fence and smacking face first into the tarmac two meters below
15:47 < horros> shattered his chin
15:47 < Prometheus^> ouch
15:48 < Prometheus^> that sucks :/
15:48 -!- Wombert [n=Wombert@dslb-084-056-019-037.pools.arcor-ip.net] has quit [Nick collision from services.]
15:48 -!- Wombert_ [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has joined #agavi
15:55 < horros> uhumm.. what would you call the name people use when they address you?
15:55 < horros> it's not necessarily your firstname
15:55 < horros> hrrm.
15:56 < RossC0> Sir ?
15:56 < horros> nono
15:56 < RossC0> or in my case Almighty Master
15:56 < horros> like.. umm.. sort of like a nick name but not really
15:56 < RossC0> Muhahahaha
15:56 < RossC0> handle ?
15:56 < Prometheus^> are you looking for the dictionary definition?
15:57 < horros> Prometheus^: no, I'm looking for the english equivalent of "puhuttelunimi" :)
15:57 < Prometheus^> ah
15:57 < Prometheus^> right :)
15:58 < Prometheus^> I can't think of what it might be
15:58 < Prometheus^> tbh
15:58 < horros> me neither
16:01 < Wombert_> puhuwhat?
16:01 < kaos> pumuckl
16:01 -!- Wombert_ is now known as Wombert
16:01 < kaos> or so ;D
16:02 < Prometheus^> I don't think they use that sort of thing in states anyway
16:02 < Prometheus^> usually you just write the puhuttelunimi first
16:02 < Wombert> what in the name of god are you talking about
16:03 < Prometheus^> basically he wants to know what's the word for the name that's used to address you
16:03 < Prometheus^> when you are spoken to
16:03 < Prometheus^> your preferred name to be addressed as, I know that doesn't make any sense the way I'm explaining it :)
16:04 < horros> ie. if your name is John Foobar Smith and you want to be addressed as Foobar and not John...
16:04 < Prometheus^> yeah
16:04 < horros> bah
16:04 < horros> addressed_as it shall be!
16:04 < Prometheus^> in states a lot of people just have 2 names I think
16:04 < Prometheus^> so they don't need such complications :P
16:04 < horros> umm
16:04 < horros> so do we
16:05 < Wombert> use "first name" and "last name" and let people enter what they prefer? :p
16:05 < Wombert> is that so common in finland or what?
16:05 < horros> but I know a lot of people who prefer to be called by their "second firstname"
16:05 < Prometheus^> well, like Wombert said, just give a field for first and last names :)
16:05 < horros> Wombert: no, but keep in mind what kind of app we're building... :)
16:05 < Prometheus^> name*
16:06 < horros> I can't just pick an arbitary firstname and have them be addressed by that.
16:06 < Wombert> yeah true
16:06 < horros> and no, I can't have them fill in whatever they want, this is a document that is defined by the social- and health ministry
16:06 < Wombert> so if my name is Kimi Mika Kovalainen and I prefer to be called Mika, not Kimi, right?
16:07 < horros> right.
16:07 < Prometheus^> oh right, well if it's that official
16:07 < Wombert> sorry, F1 drivers are the only finnish people I kno
16:07 < Wombert> w
16:07 < Wombert> except for you guys of course
16:07 < Wombert> you could
16:07 < Wombert> a) store it separately
16:08 < Wombert> b) *Kimi* and filter that :ugly:
16:08 < _cheerios> c) call everyone Johnny
16:08 < Prometheus^> ^
16:08 < Prometheus^> win
16:08 < horros> haha
16:08 < Prometheus^> d) profit
16:08 < Wombert> call sign would only work for... uhm... fighter pilots, I guess
16:08 < Wombert> but then, finland is weird enough in my eyes, I can well imagine that people have second names like "Maverick" or "Iceman"
16:08 < Wombert> xD
16:09 < Prometheus^> o_o
16:09 * Wombert hugs all the weirdos
16:09 < RossC0> use handle or nick / nickname
16:09 < Prometheus^> let's not get even started with germany! ;)
16:09 < RossC0> ah ze Germans!
16:09 < _cheerios> keineAhnungs!
16:10 < Wombert> handle! sounds good!
16:12 < RossC0> ah damit
16:13 < RossC0> unit tests found that: www.lh. net is a valid url :)
16:13 < RossC0> hmm any regex kings able to fix my regex ?
16:14 < RossC0> /^((http|https|ftp):\/\/)?(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?(\/)?/i
16:14 < RossC0> <3 unit tests :)
16:14 < Wombert> _- in the []
16:14 < Wombert> you need _\-
16:15 < RossC0> ah
16:15 < RossC0> added
16:15 < Wombert> works?
16:15 < Wombert> ah wait
16:15 < Wombert> hehe
16:15 < Wombert> that's not the issue
16:16 < Wombert> your pattern isn't anchored at the end
16:16 < Wombert> so www.lala.com(!&"§/%/!"%§/ would work too
16:16 < RossC0> heh I just googled - in fact I stole symfony's urlvalidator :)
16:19 < MrJeep> hum, suddenly I have an interrogation.. how does the https stuff works ?
16:19 < MrJeep> i mean, how can I make a secure page ?
16:19 < Wombert> https://lala/just/as/usual
16:19 < Wombert> you need apache with ssl of course and a certificate
16:20 < MrJeep> so i basically could : http://foo.com/bar/ or https://foo.. and the latter one will be secure ?
16:20 < MrJeep> it's that easy ?
16:20 < Wombert> yes
16:20 < MrJeep> lol great :D
16:20 < Wombert> well no, since you have to set up apache for that :p and get a certificate :p
16:21 < MrJeep> and those certificates are expensives ?
16:21 < Wombert> www.thawte.com
16:21 < Wombert> www.verisign.com
16:21 < Wombert> the major ones
16:21 < Wombert> there are also other CAs but not all of them are known by all browsers
16:21 < Wombert> there are also free ones but I think only firefox knows these and accepts them without warning
16:21 < Wombert> if it's just for an admin page or so, a warning doesn't hurt much I guess
16:22 < MrJeep> 2695$!
16:22 < MrJeep> ahh ok, it's for the browser warning
16:22 < _cheerios> rapidssl.com 69e, and get it in like 10mins
16:22 < Wombert> nah
16:22 < Wombert> http://www.thawte.com/ssl-digital-certificates/ssl/index.html
16:23 < Wombert> yes, _cheerios, but does IE accept it without showing a warning about an untrusted issuer?
16:23 < _cheerios> yep
16:24 < _cheerios> i noticed no problems atleast when i deployed it
16:24 < horros> ah
16:24 < horros> I love my trac post commit hooks
16:24 < Wombert> RapidSSL.com certificates are compatible with IE 5.01+, Netscape 4.7+, Mozilla 1+, AOL 5+, Firefox, Safari and many newer Windows and Mac based browsers and are single root install certificates (they do not use chaining technology), meaning that they are compatible with SSLv2 and SSLv3. Single root certificates are also more widely accepted by web servers with some web servers not accepting chained root technology.
16:24 < horros> <3
16:24 < Wombert> hm yeah that's good enough I guess
16:25 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:25 < _cheerios> verisign is for brand, when you play in the big league and can afford to show it :)
16:26 < RossC0> '/^((http|https|ftp):\/\/)?(([A-Z0-9][A-Z0-9_\-]*)(\.[A-Z0-9][A-Z0-9_\-]*)+)(:(\d+))?((\/[A-Z0-9][A-Z0-9_\-]*)+)?$/i'
16:26 < RossC0> that too greedy / loose?
16:26 < horros> home time
16:26 < horros> o/
16:27 < RossC0> \o/
16:27 < Wombert> that allows http://www.foo.com/fubar but not /fubar/lala
16:27 < RossC0> good :)
16:28 < RossC0> its for user inputting urls
16:28 < RossC0> to make sure they don't put in : bbc news website
16:28 < RossC0> ;)
16:31 < RossC0> hm localhost:800000000 is passing thou
16:34 < Wombert> {,3} instead of +
16:34 < Wombert> allows everything up to 999
16:34 < Wombert> but also 000
16:34 < Wombert> so...
16:35 < kaos> you need _\- <-- not true
16:35 < kaos> since the - is at the end of [] you don't need to escape it
16:41 < RossC0> ok well I think putting in a port is quite niche - is it even possible to check if a range is greater than zero?
16:44 < kaos> well, only by doing ([1-9]\d+)*
16:44 < kaos> and you'r missing the possibility to add an anchor at the end
16:45 < RossC0> hmm ok
16:45 < kaos> err
16:45 < kaos> that * is wrong
16:45 < kaos> ? ofc
16:46 < kaos> another thing i'm not 100% sure is if foo-.bar is a valid url
16:46 < RossC0> hmm its only the first port than can't be zero?
16:46 < RossC0> * is it?
16:46 < kaos> ([1-9]\d*)?
16:46 < kaos> or better
16:46 < kaos> ([1-9]\d{0,2})?
16:50 < RossC0> ok all done :-)
16:51 < RossC0> '/^((http|https|ftp):\/\/)?(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(([1-9]\d{1}\d{2,5})))?((\/[A-Z0-9][A-Z0-9_-]*)+)?$/i';
16:51 < RossC0> one nasty regex
16:51 < v-dogg> Wombert: iirc rapidssl root cert are not installed to most mobile phones
16:51 < Wombert> 2,5 is wrong
16:51 < kaos> (:(([1-9]\d{1}\d{2,5})))? <-- hu ?
16:51 < Wombert> that would make six digits
16:52 < kaos> actually it would allow 7 digits ;)
16:52 < kaos> and minimum 4 digits ^^
16:52 < RossC0> arghh
16:53 < RossC0> well my test cases are growing ;)
16:55 < RossC0> hmm whats the port range?
16:56 < RossC0> that I should test for? 1-9999 ?
16:57 < kaos> 1-65535 would be the absolutely correct check ^^
16:57 < kaos> which is not possible in rx
16:57 < Wombert> it is possible
16:57 < Wombert> you can use lookahead and lookbehind assertions
16:57 < Wombert> but then the expression becomes seven miles long or so
16:58 < kaos> yeah, lol, hf decrypting that rx tomorrow ;)
16:59 < RossC0> ok - up to 5 port digits
16:59 < RossC0> '/^((http|https|ftp):\/\/)?(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(([1-9]\d{0,4})))?((\/[A-Z0-9][A-Z0-9_-]*)+)?$/i';
16:59 < RossC0> next test!
17:00 < splatch> omf ;]
17:00 < splatch> omfg
17:00 < kaos> RossC0: you'r still missing the possibility to add an anchor
17:00 < kaos> and you'r not allowing escaped characters
17:01 < kaos> and your not allowing something liek foo.bar/_foo
17:01 < kaos> which is quite valid ;)
17:01 < RossC0> man
17:01 < RossC0> ok - add an anchor - explain please :)
17:01 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:01 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 113 (No route to host)]
17:02 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
17:04 < kaos> ((\/[A-Z0-9][A-Z0-9_-]*)+)?$/i'; would need to be (/[/%\w]*)?(#[^\s]*)?$/i
17:04 < kaos> anchor: foo.bar/baz#anchor
17:04 < RossC0> ah sorry
17:05 < kaos> (/[-_/%\w]*)?(#[^\s]*)
17:05 < kaos> that way, sorry
17:05 * RossC0 thought there was a regex anchor object / term
17:05 < kaos> hehe, np
17:05 < kaos> but i'm not 100% sure about the \w
17:06 < Wombert> fragment identifier is ze word
17:07 < kaos> http://cvs.php.net/viewvc.cgi/pear/Validate/Validate.php?content-type=text%2Fplain&view=co
17:07 < kaos> check the function uri($url, $options = null)
17:08 < kaos> we're missing the query string completely as well
17:08 < kaos> + user auth
17:08 < kaos> + everything else defined in the rfc *g*
17:10 < Wombert> RossC0: http://foad.org/~abigail/Perl/url.regexp
17:10 < Wombert> :p
17:10 < Wombert> http://foad.org/~abigail/Perl/url.html and http://foad.org/~abigail/Perl/url2.html
17:12 < RossC0> hmm - balls tp the first one!
17:12 < RossC0> * to
17:12 < kaos> this almost looks like the rx parser of smarty
17:12 < kaos> *g*
17:15 -!- moni [n=moni___@85.206.220.44] has joined #agavi
17:15 -!- moni [n=moni___@85.206.220.44] has quit [Client Quit]
17:16 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
17:16 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:29 < kaos> wow, i just had an marvelous idea
17:30 < kaos> building an ebnf -> regexp converter
17:31 < kaos> this would make these kind of things SO much easier
17:33 < RossC0> ebnf ?
17:33 < Wombert> http://en.wikipedia.org/wiki/Backus–Naur_form
17:33 < kaos> enhanced backus naur format+
17:33 < kaos> -at
17:34 < kaos> what's used in the links Wombert gave above
17:34 < kaos> the thing is, i already have a similar thing built
17:34 < kaos> with a more rx like syntax
17:35 < kaos> (basicly a clone of what the unix tool flex does)
17:35 < kaos> a lexer generator
17:35 < kaos> the cool thing is that you can convert what it generates back to rx
17:38 < kaos> and this would build one big rx out of many small
17:38 < kaos> now i just need a 48 hour day so i can find some time to do it ;)
17:40 < v-dogg> rx = reg exp?
17:40 < kaos> yes
17:40 < v-dogg> roger
17:41 < Niacin> morning all
17:41 < kaos> my thing basicly does what http://pear.php.net/package/PHP_LexerGenerator does
17:42 < kaos> just that i don't convert that stuff into something to be used by preg_match
17:42 < kaos> but instead into some deterministic automaton
17:42 < kaos> which gets executed by a "runtime"
17:42 < RossC0> sounds v cool
17:43 < kaos> well, its basicly an rx execution engine
17:43 < kaos> took my quite some time to build too ;)
17:43 < Niacin> morning all!@#!@#
17:43 < kaos> and thanks to php its DOG slow :D
17:43 < kaos> hello Niacin ;)
17:44 < Niacin> finally :)
17:44 < kaos> my thing works like these C tools work
17:44 < kaos> these all build an finite automaton
17:44 < Niacin> can some one point me to a good agavi tutorial? :)
17:44 < kaos> (thats what pcre internally does at well)
17:45 < kaos> you can read japanese ? :P
17:45 < Niacin> Konnichi wa
17:45 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
17:45 < Niacin> Ogenki desu ka
17:45 < Niacin> ;)
17:45 < kaos> (i don't, so i can't tell about the quality of all those .jp agavi stuff :D)
17:46 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:48 < v-dogg> Niacin: the manual and the cookbook (agavi.org) are also getting better by the day
17:49 < v-dogg> the best way to get started is to play around with the sample app, build a test project and play around with it
17:55 < v-dogg> and then ask for help here and/or via the mailing list
17:57 < Wombert> if you know mojavi, it shouldn't be too hard to get started
18:00 < v-dogg> Wombert: was there some plan to add some toArray method to propel objects?
18:01 < Wombert> they have that!
18:01 < v-dogg> hmm..
18:01 < Wombert> toArray() gives you UserId etc, in the form used in method names
18:01 < Wombert> so use toArray(basePeer::TYPE_FIELDNAME)
18:02 < Wombert> that gives table field names, good for forms
18:02 < v-dogg> hmm.. #2
18:02 < v-dogg> why can't I see it
18:03 < Wombert> it's in the objects, not peers
18:03 < v-dogg> it's invisible
18:03 < Wombert> and... hmm
18:03 < Wombert> maybe gotta build complex peers and objects
18:03 < v-dogg> and how is that done?
18:03 < Wombert> uhm
18:04 < v-dogg> btw, does it give joined fields too?
18:04 < Wombert> nope, just the ids
18:04 < Wombert> propel.addGenericAccessors = true
18:04 < Wombert> propel.addGenericMutators = true
18:04 < Wombert> that maybe
18:05 < v-dogg> just the ids?
18:05 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
18:05 < Wombert> user_id etc
18:06 < Wombert> and no need to filter all by hand, you can just do
18:06 < Wombert> $obj->fromArray($rd->getParameters(), BasePeer::TYPE_FIELDNAME)
18:06 < Wombert> if your data is validated
18:06 < v-dogg> ah, ids = the foreign keys
18:07 < v-dogg> those build directives did the trick
18:07 < Wombert> you bet
18:07 < Wombert> once you have mutators in the game, it's serious business
18:07 < Wombert> :>
18:08 < Wombert> mutants
18:08 < Wombert> teenage
18:08 < Wombert> turtles
18:08 < Wombert> whatever
18:08 < v-dogg> but I want the joined stuff too
18:09 < Wombert> DIY
18:09 < Wombert> <:
18:09 < v-dogg> if I was to go on and make such a method it would go into MyTable.php
18:09 < v-dogg> right?
18:09 < Xylakant> yes
18:09 < Wombert> yes
18:09 < Wombert> unless
18:09 < v-dogg> Base is updated in build?
18:09 < Xylakant> yes
18:09 < Wombert> yes
18:09 < Wombert> unless
18:09 < Wombert> you want that stuff for all tables
18:09 < Xylakant> alway overwriten
18:09 < Wombert> then you write your own builder
18:10 < v-dogg> sure
18:10 < Wombert> that generates a different toArray
18:10 < Wombert> or a different fromArras
18:10 < Wombert> or
18:10 < Wombert> if you're very brave
18:10 < Wombert> BOTH!
18:10 < v-dogg> it's just this one table that's basically a composite of several tables
18:11 < Wombert> compost table
18:11 * Wombert giggles
18:13 < Xylakant> what did you have for breakfast, wombert?
18:13 < Wombert> a croissant, at 4pm
18:13 * Wombert dances
18:14 < v-dogg> a pot croissant?
18:15 < Xylakant> maybe there was a little clown hidden inside the croissant.
18:15 < Wombert> LE CROISSANT DU BUFFON
18:15 * Wombert dances
18:15 < Wombert> wait
18:15 < Wombert> bouffon
18:15 < Wombert> oooh my french sucks
18:16 < v-dogg> little less coffee (or pot croissants) for you mate
18:16 < Wombert> I haven't had any coffee yet
18:16 < Wombert> maybe that's ze reason
18:16 < Wombert> or maybe
18:16 < Wombert> I really am insane
18:16 < v-dogg> you should move to finland then
18:17 < v-dogg> we welcome wackos like you with open arms
18:17 < kaos> you working in the same company as me Wombert
18:17 < kaos> you MUST be insane
18:17 -!- Wombert changed the topic of #agavi to: INSANE IN THE MEMBRANE :: INSANE IN THE BRAIN!
18:17 < kaos> ;)
18:17 < Wombert> wackos, that reminds me of wacky wheels
18:17 < kaos> OMG
18:17 < Wombert> that was a great game in the true spirit of mario kart
18:17 < v-dogg> home ->
18:17 < kaos> Wombert: you sucker
18:18 < Wombert> time to get normal again
18:18 < kaos> now i want to play wacky wheels
18:18 * Wombert settles down
18:18 < kaos> :<
18:18 -!- Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11.0RC4 :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 :: http://svn.agavi.org/branches/0.11/ if you want to use SVN :: Have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors and developers :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/
18:18 < kaos> and pwn your ass
18:18 < v-dogg> did you know that the word "home" is finnish for "mould"
18:18 < v-dogg> so, home ->
18:18 < v-dogg> :)
18:25 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi
18:42 -!- xalva [n=salva@87.216.189.5] has joined #agavi
18:44 < xalva> I can find /configurations/sandbox/
18:44 < xalva> > renderers
18:45 < xalva> i want to say i can not find it
18:46 < MrJeep> I've made another draft for my logo : http://mrjeep.dyndns.org:81/Temp/pokcom.gif
18:46 < MrJeep> any comments ?
18:47 < Niacin> pokcom ? not very orginal
18:47 < Niacin> logo is ok tho
18:48 < MrJeep> it's short. plus every domains with the word poker are allready used
18:48 < Niacin> well you don't need to have "poker" in the domain name ;)
18:48 < MrJeep> I'm open to suggestion if you have any
18:48 < Wombert> xalva: http://trac.agavi.org/browser/branches/0.11/samples/app/config/output_types.xml
18:49 < Wombert> lines 6 to 19 is -> ->
18:49 < MrJeep> anywya, pokcom is quite fine for the moment
18:49 < MrJeep> i like it too
18:50 * Wombert or, in XPath, /configurations/sandbox/renderers
18:50 < MrJeep> it's pretty simple
18:50 < Wombert> xalva: can you replace
18:50 < Wombert>
18:50 < Wombert> with
18:50 < Wombert>
18:50 < MrJeep> and descriptive
18:51 < Wombert> if that doesn't work, replace the directives with the element they reference
18:51 < Wombert> in this case, that would be the whole block from the sandbox
18:55 < xalva> Wombert xpointer(//conf does not works
18:55 < xalva> you can see at http://agavi.ecsw.es
18:57 < v-dogg> xalva: /configurations/sandbox/ is not a file or a directory path, it points to the _same_ file -> ->
18:57 < Wombert> xalva: as v-dogg said in the mail
18:58 < Wombert> replace the block with the respective part from the
19:01 < xalva> where is?
19:01 < Wombert> in the same file
19:02 < xalva> ahhhhh!
19:02 < xalva> ok ok I am going to change it thanks!
19:04 < v-dogg> but also update your php when you get the chance
19:05 < v-dogg> old libxml versions are going to keep bugging you
19:06 < xalva> now it is working! agavi.ecsw.es
19:06 < xalva> ok i will
19:06 < Wombert> cool!
19:06 < Wombert> :)
19:06 < Wombert> a new project created using "agavi project" will not have the same problem btw
19:06 < RossC0> yeeeehhaaaaa!
19:07 < xalva> what ever you need from spain I will be here thanks
19:08 < kaos> MrJeep: i wouldn't mirror the whole logo
19:08 < kaos> i would try to leave the create your poker community mirroring out
19:08 < kaos> only mirror the pokcom and the cards
19:09 < Wombert> I wouldn't mirror anything
19:09 < Wombert> it's getting old
19:09 < Wombert> but
19:10 < Wombert> the cards are perfect now
19:10 < MrJeep> kaos: it's only for "presentation"
19:10 < MrJeep> the logo will not be have mirror effect
19:10 -!- Wombert [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has left #agavi []
19:10 -!- Wombert [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has joined #agavi
19:10 -!- Wombert [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has left #agavi []
19:10 -!- Wombert [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has joined #agavi
19:11 < kaos> ah, ok
19:11 < kaos> its cool :)
19:11 < MrJeep> thnx :)
19:13 < Xylakant> cu guys, have a nice evening
19:13 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
19:17 -!- Wombert [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has quit []
19:17 -!- Wombert [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has joined #agavi
19:18 < Niacin> call it ipoker
19:18 < v-dogg> oh please don't :D
19:18 < Niacin> :P
19:18 < v-dogg> iPlease
19:18 < Niacin> a friend of mine owns unf.net
19:18 < Niacin> should use that :>
19:19 < Niacin> or even better buy u.nf
19:19 < Niacin> that would rock
19:19 < kaos> u.nf/unf
19:19 < kaos> yeah :D
19:19 < kaos> the place for your techno pleasures *g*
19:20 < Niacin> haha ya
19:20 < v-dogg> excuse my ignorance but "unf"?-)
19:21 < MrJeep> i don't really like the iWhatever domains
19:21 < v-dogg> good :)
19:24 < Niacin> v-dogg, unf = sound you make when doing the naughty :>
19:24 < Niacin> doing the naughty = the old padoink padoink
19:24 < v-dogg> found it form teh inter net :)
19:24 < Niacin> heh
19:24 < Niacin> i still have exploited.org
19:24 < Niacin> and raided.us
19:25 < Niacin> and putlinuxonit.om
19:25 < Niacin> :>
19:35 < _cheerios> cute dog unf on urbandictionary
19:36 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
19:36 < v-dogg> Wombert: ping
19:37 < v-dogg> I'm going to start writing chap. 6.1 Request in the manual
19:38 < Wombert> you rock
19:39 < v-dogg> I was thinking about breaking it into two parts - 6.1.1 User Input and 6.1.2 Passing Data Around Inside the App (or something)
19:39 < Wombert> I wouldn't do the latter there
19:40 < v-dogg> ok
19:40 < v-dogg> I need to take the dog out, will ya be here for some questions later?
19:41 < v-dogg> about 30 mins perhaps
19:42 -!- shoan [n=shoan@59.92.200.139] has joined #agavi
19:43 < Wombert> yes
19:46 -!- shoan [n=shoan@59.92.200.139] has quit [Read error: 131 (Connection reset by peer)]
19:50 < Niacin> i'm working on some sort of advanced linux control panel
19:50 < Niacin> was hoping to use agavi
19:53 -!- xalva [n=salva@87.216.189.5] has quit [Read error: 110 (Connection timed out)]
19:57 < Wombert> :>
19:57 < Wombert> cool
20:00 < Niacin> sucks there isn't many docs ;(
20:01 < MrJeep> omg I'm horrible at CS:S
20:05 -!- digitarald [n=Miranda@91.Red-83-52-195.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
20:10 -!- shoan [n=shoan@59.92.195.179] has joined #agavi
20:13 -!- benny`work [n=benny@sccc-66-78-236-255.smartcity.com] has joined #agavi
20:13 < benny`work> Wombert, ping
20:15 < Niacin> hm
20:15 < Niacin> i think this tutorial is out of date
20:15 < benny`work> Wombert, ping ping ping
20:15 < Niacin> http://trac.agavi.org/wiki/YourFirstModule
20:18 < Niacin> i took the routing line out but i still don't see my msg ;\
20:18 -!- benny`work [n=benny@sccc-66-78-236-255.smartcity.com] has quit ["Leaving"]
20:19 < Wombert> yeah that's pretty outdated
20:19 < Wombert> create a new project with "agavi project"
20:20 < Wombert> remove the routing line that shows the welcome page
20:20 < Wombert> then edit templates/IndexSuccess.php
20:20 < Wombert> in the default module
20:20 < Niacin> PHP Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \\L, \\l, \\N, \\P, \\p, \\U, \\u, or \\X at offset 9 in /usr/share/pear/agavi/view/AgaviTemplateLayer.class.php on line 78
20:20 < Niacin> i'm seeing that in the error logs
20:26 < kaos> this has been fixed in svn already
20:26 < kaos> its an issue with pcre not compiled with utf 8 support
20:27 < kaos> (another reason to shoot the redhat package maintainer ;)
20:27 < Wombert> omg not again
20:27 < Wombert> that's fixed in svn, Niacin
20:27 < Wombert> god I'm so sick of these retarded linux distros
20:30 < Niacin> so add pcre with utf 8 support? :)
20:30 < MrJeep> no, just update the agavi version
20:30 < MrJeep> this has been fixed allraedy
20:30 < Wombert> checkout agavi from svn and use it from index.php by including that one's agavi.php
20:31 < Wombert> no need for include path setting or anything
20:33 -!- Whisller [n=Whisller@217.97.146.67] has quit [" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC"]
20:33 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
20:44 -!- benny`work [n=benny@sccc-66-78-236-255.smartcity.com] has joined #agavi
20:45 < benny`work> Wombert, kaos ping
20:45 < kaos> pong
20:45 < Wombert> yes
20:45 < benny`work> kaos, yould you give me my uin if you have it? really need it and i'm not at home :/
20:46 < Wombert> 301061647
20:46 < benny`work> great thanks
20:55 < v-dogg> ok, dog got her evening promenade, all pieces of the vase missus dropped have been vacuumed, minnesota public classic radio is playing some nice piano piece and XMLmind is open and ready to go
20:55 < v-dogg> so...
20:55 < v-dogg> Wombert!!
20:55 < v-dogg> :)
20:56 < Wombert> <:
20:57 < v-dogg> so
20:57 < v-dogg> so so so
20:58 < v-dogg> so
20:59 < v-dogg> input is nowdays only available in AgaviRequestDataHolder, Request has nothing and $_GET/POST/COOKIE is cleaned?
20:59 < v-dogg> Request should be renamed :)
21:04 < Wombert> yes xD
21:05 < Wombert> lr
21:05 < Wombert> or
21:05 < Wombert> hm
21:05 < Wombert> you can mention req attribs and what they're used for, sure
21:05 < Wombert> I'm now thinking that we shoud later add a getting started chapter or manual which explains only the necessary stuff to get... started :p
21:06 < Wombert> ooooh all so difficult
21:06 < v-dogg> sure but we need to worry about that later :)
21:16 < Niacin> PHP Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \\L, \\l, \\N, \\P, \\p, \\U, \\u, or \\X at offset 9 in /home/toc2rta/public_html/ag2/src/view/AgaviTemplateLayer.class.php on line 78
21:16 < Niacin> still getting same error
21:16 < Niacin> i just checked new ver out of svn
21:17 < v-dogg> what linux distro do you use? (just out of curiosity)
21:17 < v-dogg> and how did you install php?
21:25 -!- benny`work [n=benny@sccc-66-78-236-255.smartcity.com] has quit ["Leaving"]
21:37 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)]
21:41 < Niacin> v-dogg, centos ; yum install php
21:41 < kaos> Niacin: did you checkout branches/0.11
21:41 < kaos> or trunk ?
21:41 < Niacin> trunk
21:41 < kaos> wrong one ;)
21:42 < kaos> you need to checkout branches/0.11
21:42 < Niacin> arr sorry my bad ;)
21:42 < kaos> you'r not the first one to hit that trap ;)
21:43 < v-dogg> who comes up with these php setups?
21:43 < kaos> idiot package maintainers
21:43 < kaos> who think they know better
21:43 < kaos> then the rest of the world
21:43 < kaos> ...
21:46 < Niacin> hmm ok so no errors now
21:46 < Niacin> but still no msg
21:46 < Niacin> hehe
21:49 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["..."]
21:49 < kaos> i remember back in time when i wanted to install a recent php rpm in suse
21:49 < kaos> downloaded the rpm
21:49 < kaos> told yast to install it
21:50 < kaos> asked me for the cd ! (that should have made me suspicious already)
21:50 < kaos> guess what got installed
21:50 < kaos> not the rpm i downloaded
21:50 < kaos> but instead the php rpm from the cd
21:50 < kaos> quite funny
21:52 < kaos> Niacin: really nothing or an 404 ?
21:52 < kaos> (did you put something into the IndexSuccess.php ?)
21:55 < Niacin> nothing
21:56 < Niacin> > echo $this->getContext()->getRequest()->getParameter('msg');
21:56 < Niacin> > return 'Success'
21:56 < Niacin> i put that in an execute
21:57 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi
21:57 < kaos> that probably won't work because we send a content-length
21:58 < kaos> so try putting some text into the templates/IndexSuccess.php
22:09 < v-dogg> offs... the new version of xmlmind won't let you convert docbook to html anymore
22:11 < kaos> wtf O_o
22:12 < CIA-11> v-dogg * r1821 /branches/0.11/docs/docbook/manual.xml: A few lines about request data. To be continued...
22:13 < Niacin> anyone know an open source app built in agavi?
22:13 < Niacin> something i could take a look at
22:17 < Wombert> Niacin: yup, echo doesn't work under normal circumstances because the response contains a content-length header
22:17 < Wombert> echo it in the template
22:17 < Wombert> or
22:18 < Niacin> im doing this in the view
22:18 < Niacin> $msg = $this->getContext()->getRequest()->getAttribute('message');
22:18 < Niacin> $this->setAttribute('message', $msg);
22:18 < Wombert> haha
22:18 < Wombert> no need to do that anymore ;)
22:18 < Niacin> sigh ;\
22:18 < Wombert> you do $this->setAttribute('name', 'value'); in the action
22:18 < Wombert> and then it's automatically available in the view
22:18 < Wombert> and in the template
22:19 < Wombert>
22:19 < Wombert>
22:19 < Wombert> i try and write to /tmp in php it works fine
23:22 < Niacin> but if i write to the nfs mount... my browser never gets a result.. just hangs
23:22 < Niacin> but the file appears on the nfs mount
23:22 < impl> nfs is always fun to debug
23:22 < Niacin> i straced apache and it shows apache sending back the results
23:22 < Niacin> (the script ran perfectly)
23:23 < pressureman> sounds like a stat cache issue
23:23 < Niacin> so any ideas?
23:23 < Niacin> stat cache?
23:23 < pressureman> php maintains a fstat cache
23:23 < pressureman> try flushing it before u try to read your file via nfs
23:24 < pressureman> just a wild stab in the dark
23:24 < Niacin> im no trying to read it
23:24 < Niacin> just write it
23:24 < Niacin> and like i said.. apache finishes and closes the thread
23:24 < Niacin> but i never receive the content from apache
23:24 < Niacin> its like the connection dies.... but apache thinks its still up
23:25 < pressureman> does apache write the request to logs? how many bytes does it say it's sent?
23:25 < Niacin> 191
23:28 < pressureman> does that sound about what you'd expect?
23:29 < pressureman> maybe it's time to sniff packets on the http conn
23:29 < Niacin> whats a good linux sniffer?
23:29 < pressureman> check the apache error log too - maybe the child process is segfaulting, instead of terminating normally
23:30 < pressureman> tcpdump for console, wireshark for gtk
23:30 < Niacin> its not segfaulting.. i straced it and it exited cleanly
23:31 < Niacin> the last thing it does before it exits is write the access log
23:31 -!- Prometheus^ [n=Promethe@cs181171069.pp.htv.fi] has joined #agavi
23:43 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection]
23:51 -!- pressureman [n=pressure@210.48.105.162] has left #agavi []
--- Day changed Tue Mar 06 2007
00:16 -!- Prometheus^ [n=Promethe@cs181171069.pp.htv.fi] has quit []
01:09 -!- Wombert [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has quit []
01:15 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
02:07 -!- JamieWolf [n=JamieWol@L22a5.l.pppool.de] has joined #agavi
02:09 -!- JamieWolf [n=JamieWol@L22a5.l.pppool.de] has quit [Client Quit]
02:27 -!- shoan [n=shoan@59.92.195.179] has quit [Read error: 110 (Connection timed out)]
02:54 -!- shoan [n=shoan@59.92.144.236] has joined #agavi
03:10 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi
03:11 * Whisller is listening to 80. Jimi Hendrix - American Woman
03:26 -!- Whisller [n=Whisller@217.97.146.67] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good"]
04:02 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi
04:29 < epaulin> hi, how do I autoload ezComponents in agavi 0.10?
04:30 < epaulin> Should I hack agavi.php to adopt spl_autoload_register? If so, is it safe?
04:31 < kaos> yes, that should work
04:32 < kaos> in 0.11 we're using that anyways
04:33 < epaulin> kaos: tnx, I'll try
04:33 < kaos> but iirc you need to rename the __autoload function for that
04:34 < epaulin> yeah, I'll back port core/Agavi to 0.10
04:35 < kaos> k, i'm off to sleep
04:35 < kaos> nn
04:36 < epaulin> nn.
05:45 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has joined #agavi
05:45 < Alystair> hello
05:45 < Alystair> Anyone remember me?
05:47 < impl> Yes
05:48 < Alystair> anyway, the coder that was supposed to work on our project was struck by the bus factor... or rather an actual bus
05:48 < impl> He was hit by a bus?
05:48 < Alystair> so it was outsourced to a crappy company that does stuff in ASP but gets stuff done in a hurry and will work for the company.
05:49 < Alystair> But I want to learn Agavi/php myself because I hate being able to write spec, with proper technological infrastructures but not being able to code.
05:49 < Alystair> yes.
05:49 < impl> err... that sucks...
05:50 < Alystair> meh
05:50 < impl> He wasn't on a bike, was he?
05:50 < Alystair> no clue, it's in the past.
05:50 < Alystair> sent flowers/etc.
05:50 < Alystair> Didn't know much about him... anyway.
05:50 < impl> oh well :|
05:51 < Alystair> I'm full of rage and I want to use it productively, someone tell me the best steps to go through to use Agavi in the best way possible, as well as learning PHP properly. I have a PHP in a Nutshell book here
05:51 < Alystair> and I can code Fizzbuzz without looking at anything.
05:52 < impl> What's Fizzbuzz?
05:52 < Alystair> I just need to get into the whole OO mindframe and start pumping random crap out
05:53 < Alystair> go from 1 to 100, if a number is divisable by 3 echo "Fizz", if divisible by 5 echo "Buzz", if divisible by both echo "FizzBuzz"... if not divisible by anything echo the current number.
05:53 < Alystair> with proper spacing, formatting etc. :P
05:54 < impl> lol
05:54 < Alystair> <-- not pro :D
05:54 < Alystair> so impl, show me the path to awesometacular coding
05:55 < impl> erm
05:55 < Alystair> I already have a localhost apache/mysql/php thing running
05:55 < impl> lol
05:55 < impl> I've got to get to bed
05:55 < impl> I apologize profusely
05:56 < impl> But when Wombert comes on tomorrow, ask him how to start a project
05:56 < Alystair> readme.txt it is, I guess
05:56 < impl> He'll walk you through it
05:56 < impl> Or if you show up sometime before my bedtime tomorrow I'll help you out too =)
05:56 < Alystair> I'm going to pass out now, woke up at 2am and it's now 11pm
05:56 < Alystair> almost but not quite 24h
05:56 < impl> yar
05:57 < impl> That's a long time
05:57 < Alystair> meh.
05:58 < impl> anyway, I'll catch you later
05:58 < impl> good luck getting Agavi up :D
05:59 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
06:28 < Alystair> hrm any video demos of agavi making something quickly?
06:34 < epaulin> hmmm, there is a one, but not updated to 0.11 yet.
06:35 < Alystair> does it share the main concept though
06:35 < epaulin> I think the better way is read the "The Definitive Guide to Agavi" and the sample code.
06:35 < epaulin> agavi 0.11 changes a lot, not sure.
06:40 < Alystair> ok
06:40 < Alystair> going to bed, night
06:40 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has quit []
08:01 -!- Wombert [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has joined #agavi
08:09 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi
08:34 < v-dogg> huomenta
08:35 < horros> hmnt
08:36 * horros humms and wanders off to make some coffee
08:47 -!- shoan [n=shoan@59.92.144.236] has quit [Read error: 110 (Connection timed out)]
08:47 < raidman> huomenta
09:12 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Connection timed out]
09:12 -!- shoan [n=shoan@59.92.147.237] has joined #agavi
09:16 < horros> right. rebooting ADSL modem again.
09:17 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi
09:19 -!- shoan_ [n=shoan@59.92.167.116] has joined #agavi
09:29 -!- eremit [n=eremit@p5490D9DE.dip.t-dialin.net] has joined #agavi
09:30 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:30 < _cheerios> yo
09:30 -!- shoan__ [n=shoan@59.92.173.89] has joined #agavi
09:32 < horros_> y0
09:34 -!- shoan [n=shoan@59.92.147.237] has quit [Read error: 110 (Connection timed out)]
09:34 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)]
09:45 -!- shoan_ [n=shoan@59.92.167.116] has quit [Read error: 110 (Connection timed out)]
09:52 < v-dogg> yoyo
09:52 -!- shoan__ [n=shoan@59.92.173.89] has quit [Read error: 110 (Connection timed out)]
10:01 < v-dogg> hey guys, I'd like to add $Revision$ and/or $Date$ to docbooks
10:01 < v-dogg> somewhere so that you could easily see how old revision you are reading
10:13 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:13 < Wombert> yeah
10:14 < RossC0> morning
10:14 < Wombert> morning
10:21 < v-dogg> Wombert: can't figure out a good place for $rev/$date
10:22 < v-dogg> at the end of the doc perhaps?
10:22 < v-dogg> "About"
10:22 < ttj> What about at the top of the document?
10:23 < ttj> At least while it's still drastically changing.
10:23 < v-dogg> in the Preface?
10:24 < ttj> I'm not so familiar with how docbooks precisely work, but I always find it logical to have versioning/revision information at the top of the document. Especially if I print out stuff.
10:25 < ttj> Can you automagically define something in the footer of the page?
10:25 < v-dogg> the problem is that you can render the book in many ways
10:26 < v-dogg> several pages + TOC: http://www.agavi.org/docs/latest/manuals/manual/
10:26 < v-dogg> one page with TOC: http://veikko.fi/temp/agavi/manual.html
10:27 < v-dogg> with some xslt hacking we probably could have it at the bottom of every page
10:28 < ttj> http://tldp.org/HOWTO/DocBook-OpenJade-SGML-XML-HOWTO/ <-- How do they do that?
10:30 < v-dogg> Wombert: btw, don't know if you noticed but XMLMind 3.5.2 Standard Edition doesn't allow converting to HTML anymore
10:32 < horros_> you know
10:33 < horros_> ezPDF is such an unbelievable heap of dung it's not even remotely funny
10:33 < v-dogg> oh but it is
10:33 < v-dogg> as long as I don't have to use it :p
10:33 < v-dogg> what's wrong with it?
10:33 < RossC0> horros_: that surprises you why?
10:34 < horros_> RossC0: It doesn't. I just get pissed off every time I have to use it.
10:35 < horros_> v-dogg: well.. the fact that it can't calculate the width of 8-bit chars springs to mind
10:35 < v-dogg> ah, that's true
10:35 < horros_> meaning the PDF breaks horribly every time there's a å, ä or ö in the text
10:35 < horros_> which there are plenty of in finnish
10:35 < Wombert> nice! a docbook v5 config for xmlmind, conforming to the relaxng schema
10:35 < Wombert> cooool
10:35 < Wombert> with xincludes
10:35 < Wombert> man that rocks
10:48 < CIA-11> david * r1823 /branches/0.11/docs/docbook/ (cookbook.xml introduction.xml manual.xml migration.xml): revision info
11:04 < RossC0> oww I get a real funky error with FPF
11:04 < Wombert> showshowshow
11:04 < RossC0> if I enter just the letter a in a input box I get a: Line 95: StartTag: invalid element name
11:05 < Wombert> uh, you sure your markup is correct, mate?
11:05 < RossC0> where as if I use letter b it doesnt error
11:05 < v-dogg> hehe
11:05 < Wombert> lol
11:05 < Wombert> that is funky, yes
11:05 < Wombert> invalid element name... mmh... sounds like you're validating against the DTD?
11:06 < Wombert> what about the output, is that garbled?
11:06 < Wombert> oh wait you can't see that
11:06 < Wombert> duh
11:06 < RossC0> :)
11:06 < RossC0> man its odd only the letter 'a' seems to fail
11:07 < Wombert> ah wait that is a firefox error?
11:07 < Wombert> or fpf?
11:07 < Wombert> because...
11:07 < Wombert> fpf opens the doc before it even thinks about populating fields
11:08 < Wombert> so the error wouldn't have anything to do with the data that gets filled in
11:08 < RossC0> nope fails in IE also
11:08 < RossC0> hmm could it be my inline errors ?
11:08 < Wombert> don't think so
11:09 < Wombert> unless DOM enforces the DTD while you modify the tree and not only on load
11:10 < Wombert> false
11:10 < Wombert> but yeah, could be your inline error thingies
11:10 < Wombert> try these two and let me know if that works
11:12 < RossC0> nope they didn't fix it :(
11:13 < RossC0> I'll revert to the default FPF
11:14 < Wombert> well yeah try if that one works
11:15 < RossC0> nope :(
11:15 * RossC0 beats libxml
11:15 < RossC0> with a salted herring
11:15 < Wombert> can you create a reproduce case?
11:16 < RossC0> sure
11:16 < RossC0> let me have a go
11:17 < Wombert> http://www.appleinsider.com/article.php?id=2546 wooooot
11:17 < Wombert> finally :>
11:17 < RossC0> in Munich as well!
11:18 < Wombert> well
11:18 < Wombert> that place
11:18 < Wombert> is HUGE
11:18 < Wombert> (Sport Schuster)
11:18 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
11:18 < Wombert> four levels and... mmmmh awesome
11:18 < Wombert> Xylakant: http://www.appleinsider.com/article.php?id=2546 woot :>
11:18 < horros_> SUCCESS!
11:18 < horros_> I beat ezpdf into submission!
11:18 < horros_> :)
11:21 < Xylakant> :)
11:21 < Wombert> but
11:21 < RossC0> Wombert: my page has some invalid elements - in the search results..
11:21 < Wombert> mhm
11:21 < RossC0> so its not that funky after all
11:21 < RossC0> :-)
11:21 < Wombert> ze sport schuster was completely renovated recently, why would they close it down
11:21 < Xylakant> but we just had a new gravis store opening in berlin :)
11:21 < Wombert> RossC0: glad to hear
11:21 < Wombert> Xylakant: gravis sucks ass
11:22 < Wombert> but they gave me a new "n" key for ze keyboard for free :p
11:22 < Xylakant> but the store and the opening offers were quite nice
11:22 < Xylakant> my mother picked up a new macbook pro with like 500 euros discount
11:23 < RossC0> hmm how'd I htmlencode the output so its xml valid ?
11:23 < horros_> Wombert: how very generous of them :D
11:23 < Xylakant> and the extended warranty they offer is cheap and covers theft and damage from dropping...
11:24 < RossC0> htmlentities is no good as get: Entity 'pound' not defined
11:25 < Xylakant> htmspecialchars
11:25 < horros_> RossC0: that's because FPF doesn't validate against an external DTD
11:25 < horros_> (or so I learnt a while back)
11:25 < Xylakant> it only replaces " & < > and leaves the rest, making it xml compliant
11:25 < RossC0> cool
11:26 < Wombert> nevar use htmlentities() with utf8
11:26 < horros_> lunch-a-doodle-doo!
11:26 < horros_> =>
11:26 < RossC0> champion thats that fixed :)
11:29 < Wombert> god finally a new renault twingo
11:29 < Wombert> I'm so sick of seeing the outgoing model
11:29 < Xylakant> you bought one?
11:29 < Wombert> especially when driven by men
11:29 < Wombert> no
11:30 < Wombert> why would I buy a french car
11:30 < Wombert> they're stupid surrender monkeys, too full of themselves, and their cars are rubbish
11:30 < Xylakant> i've been driving citroen ever since
11:30 < Wombert> oh
11:30 < Wombert> I feel sorry for you mate :p
11:30 < Xylakant> and they all carried me well
11:30 < Xylakant> why
11:30 < Wombert> I dunno
11:30 < Wombert> well okya
11:30 < Wombert> they're getting better
11:31 < Xylakant> they were good cars, all lasted far more than 250 000 kilometers
11:31 < Wombert> mmmhmmmmh
11:31 < Wombert> I hope agavi will, one day, make me rich... http://www.autoblog.com/2007/03/06/geneva-motor-show-jaguar-unveils-2008-xkr-portfolio/
11:31 < Xylakant> well, thats a different league
11:32 < Xylakant> i just traded the last one against a bahncard 100 for the long distance travels and a http://www.buell.com/de_de/bikes/lightning/xb12s/gallery.asp#
11:33 < Xylakant> for the fun :)
11:33 < Wombert> mmmh yes a nice bike
11:33 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi
11:35 -!- shoan [n=shoan@59.92.191.115] has joined #agavi
11:37 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has quit ["nebera."]
11:48 -!- Austhailia [n=zerro@dsl-203-33-165-249.NSW.netspace.net.au] has joined #agavi
11:48 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Funny face"]
11:49 < Austhailia> Hey all, I've written apps using 0.10, but after installing 0.11 get Unknown stream wrapper "file" and not sure where to start, any pointers?
11:49 < Wombert> uuuh
11:49 < Wombert> broken php version
11:50 < Wombert> php -r "var_dump(stream_get_wrappers());"
11:50 < Wombert> please
11:50 < Austhailia> ok, brb
11:51 < Wombert> nsw, eh?
11:51 < Wombert> g'day mate :)
11:51 < Austhailia> Yeah busted :(
11:51 < Austhailia> Yep, NSW
11:51 < Austhailia> I can see the last letter of many of the entris is missing.
11:51 < Austhailia> entries that is
11:52 < Wombert> what php version is that?
11:52 < Wombert> and OS
11:52 < Wombert> and so on
11:52 < Austhailia> Ubuntu 6.06
11:52 < Wombert> we had someone with the same problem the other day
11:52 < Wombert> I'm guessing that the package maintainer idiots messed it up again :p
11:52 < Austhailia> Looks like it. Bugger
11:52 < splatch> hello :)
11:52 < Wombert> yeah
11:53 < Austhailia> Would you know what module that is in?
11:53 < Wombert> since you're not the first to have that issue, I'll throw in a fix that skips checking against the registered wrappers if the wrapper is "file"
11:53 < Wombert> uhm... that would be php core I think
11:53 < Wombert> is that 5.2.0?
11:54 < Austhailia> It's 5.1.2, you think the 5.2.0 would fix it?
11:54 < Wombert> I think any newer version would fix it
11:54 < Wombert> :)
11:55 < Wombert> lemme check the version the other guy had
11:55 < Wombert> if it was 5.1.2, too, we'll just bump the minimum version to 5.1.3
11:55 < splatch> who use ubuntu?
11:55 < Austhailia> Hmm. In the meantime, could you direct me to the agavi file that does this check?
11:55 < Austhailia> Splatch, if I say it is me will you hurt me?
11:55 < Wombert> that would be view/AgaviTemplateLayer.class.php
11:55 < splatch> Austhailia: desktop/notebook?
11:56 < Wombert> oh wait
11:56 < Austhailia> Desktop
11:56 < Wombert> AgaviStreamTemplateLayer
11:57 < Wombert> yes that's a 5.1.2 problem
11:57 < splatch> Austhailia: i got ubuntu on my old notebook, and i had problems with network
11:57 < splatch> but that's past
11:57 < Wombert> Austhailia: 5.2 is definitely what you want, it also fixes many issues with DOM/libxml, which means fewer headaches for you when using auto form population
11:58 < Austhailia> Great, thanks for the help Wombert, much appreciated
11:58 < Wombert> what do you say, Austhailia, should I add a workaround, or should I change min PHP version to 5.1.3
11:58 * Wombert ponders
11:58 < Wombert> v-dogg?
11:58 < Wombert> and ze others?
11:58 < Wombert> mmmmmh
11:58 * Wombert pokes Xylakant
11:58 < Austhailia> Splatch. Never had networking problems with it. I'm also using ubuntu on an old imac I picked up for $100(AUS) for development :) hehe
11:58 < Wombert> why would you install linux on a mac
11:59 < Wombert> it comes with OS X
11:59 * Wombert shakes head
11:59 < Austhailia> I just added the skip, works nicely
11:59 < Austhailia> I recon change the min version but have a note somewhere to say how to get around it
12:00 < Wombert> agavi wouldn't start with an older version... hmmh
12:00 < Wombert> ah well maybe for 1.0
12:00 < Austhailia> Nah, it's an old imac with os9, second hand, no disks or anything
12:00 < Xylakant> Wombert: what's up? had to go for a quick meeting
12:01 < Austhailia> brb, son has hidden his homework ;) hehe
12:01 < CIA-11> david * r1824 /branches/0.11/src/view/AgaviStreamTemplateLayer.class.php: workaround for PHP 5.1.2's broken stream_get_wrappers(), kinda refs #456
12:01 < Wombert> Austhailia: there ya go
12:02 < splatch> Austhailia: i'm playing games from time to time, so i need windows
12:03 < Wombert> rrrreboot
12:03 < RossC0> Wombert: min PHP version to 5.1.3 - makes sense :)
12:03 -!- Wombert [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has quit []
12:04 < RossC0> http://www.e-texteditor.com/index.html
12:04 < RossC0> textmate 4 windows
12:04 < splatch> i've favour editor
12:05 < splatch> that's eclipse
12:06 < RossC0> <3 j-edit
12:07 -!- Wombert [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has joined #agavi
12:07 -!- Austhailia [n=zerro@dsl-203-33-165-249.NSW.netspace.net.au] has left #agavi []
12:07 < Xylakant> RossC0: interesting
12:07 < splatch> RossC0: are you sure? ;]
12:07 < Wombert> Xylakant: that's what I thought, too
12:07 < Wombert> now
12:08 < Wombert> that will have bonjour support for collab editing one das
12:08 < Wombert> day
12:08 < Wombert> and he's working with allan
12:08 < Wombert> so...
12:08 < Wombert> I'm guessing subetha compatible collab editing in textmate 2
12:08 < splatch> for web developing - (CSS, javascript) only Aptana!
12:09 < Xylakant> well, textmate is written in Objective C, all you need is some window lib on windows, compilers are available
12:09 < Xylakant> if that thing is written properly it should not be too much work keeping it up-to-date
12:09 < RossC0> e-texteditor - installs cygwin to add features
12:10 -!- digitarald [n=Miranda@91.Red-83-52-195.dynamicIP.rima-tde.net] has joined #agavi
12:11 < Wombert> Xylakant: don't think so...
12:12 < Wombert> textmate uses cocoa and I can't see allan switching to a crossplatform widget toolkit
12:12 < digitarald> Morning fellows
12:12 < Wombert> but sharing the bundles is a good start, I guess
12:14 < Xylakant> Wombert: what i meant is: you just need to write a new ui for the same core
12:15 < Xylakant> no crossplatform widget toolkit
12:16 < digitarald> textmate for my ugly windows, yes please ... or i switch to Ubuntu and code with vim ... there are really not many good text editors out there
12:16 < digitarald> ultra-edit to the resque
12:16 -!- Wombert [n=Wombert@dslb-084-056-022-119.pools.arcor-ip.net] has quit [Nick collision from services.]
12:16 -!- Wombert_ [n=Wombert@dslb-084-056-062-208.pools.arcor-ip.net] has joined #agavi
12:17 < Wombert_> Xylakant: ah okay
12:17 < Wombert_> but I'm not sure how much of a "core" there is...
12:17 -!- Wombert_ is now known as Wombert
12:17 < Xylakant> well, bundles, syntax highlighting
12:18 < Xylakant> i know that the editor component is not the standard platform component
12:19 -!- RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)]
12:19 -!- RossC1 [n=lawleyr@80.4.120.163] has joined #agavi
12:19 < Wombert> yeah the editor widget is custom so...
12:19 < Wombert> pretty much only the bundles and the entire system around it left
12:20 < Xylakant> i'll install the trial and see wether it works well
12:20 < Xylakant> project handling
12:20 < RossC1> theres no global find an replace in files :(
12:20 -!- RossC1 is now known as RossC0
12:20 < Wombert> Xylakant: mh but that's not a big thing really...
12:22 < Xylakant> no, each of the things is not a big thing, but the sum... anyways, this is all speculation as i have not seen the source :)
12:22 < splatch> hmm
12:23 < splatch> anyone want see unit testing in my current company?
12:23 < splatch> http://img.dywicki.pl/merge.jpg just see
12:23 < splatch> yes, yes, take a look and type some comment ;)
12:27 < Xylakant> splatch: at least you have unit testing
12:28 < Wombert> If accessing the filename image is impossible, or if it isn't a valid picture, getimagesize() will generate an error of level E_WARNING.
12:28 * Wombert shakes head
12:28 < Wombert> the PHP devs are such a huge bunch of insane jackasses...
12:28 < Wombert> given that
12:28 < Wombert> On failure, FALSE is returned.
12:29 < Xylakant> well, the warning tells you some more information
12:29 < Xylakant> still, it's stupid
12:29 < Wombert> well okay, maybe a warning if the file doesn't exist...
12:29 < Wombert> but not if it's just not an image
12:30 < Xylakant> maybe.
12:30 < CIA-11> david * r1825 /branches/0.11/src/validator/AgaviImageFileValidator.class.php: suppress warning in AgaviImageFileValidator, closes #471
12:30 < Xylakant> but that would be "inconsistent behaviour"...
12:30 < Xylakant> (pun intended)
12:31 < Wombert> omg who wrote that shit
12:31 < Wombert> foreach(explode(' ', $this->getParameter('format')) as $format) {
12:31 < Wombert> if($formats[strtolower($format)] == $imageType) {
12:31 < Wombert> return true;
12:31 < Wombert> }
12:31 < Wombert> }
12:31 < Wombert> * @author Dominik del Bondio
12:31 < Wombert> right
12:31 < Wombert> :p
12:31 < Wombert> I'll change that to an array, okay?
12:31 < Wombert> i.e.
12:31 < splatch> Xylakant: tests in this case are gives only problems
12:31 < splatch> nobody write tests
12:31 < Wombert>
12:31 < Wombert> jpeg
12:31 < Wombert> gif
12:32 < splatch> Xylakant: differend api + old tests + no full tests = crashes
12:32 < Xylakant> splatch: yes, but at least you have reached the step where it is agreed upon that unit testing in general is a good thing
12:32 < Xylakant> next step in the evolution is that you actually start writing tests
12:33 < splatch> Xylakant: yes, very good, but team must play in tests together
12:33 < RossC0> Wombert: Rasmus was asked about inconsistent behaviour and naming etc at the php conference
12:33 < Wombert> and "wontfix" was the answer
12:33 < Wombert> right?
12:33 < Wombert> :p
12:33 < RossC0> he said in an ideal world he would have set a naming convention at the start but he wasn't going to break php
12:33 < RossC0> so yeah
12:34 < RossC0> also he criticised using php to write javascript
12:34 < RossC0> :)
12:34 < RossC0> said he hated programming and said that he liked rails
12:34 < splatch> Xylakant: currently for developers = test -> problem -> distaste -> bad tests and we have vicious circle
12:34 < RossC0> and that he was glad someone found something to use Ruby for
12:35 < Wombert> yeah I like rails, too, simply because it's not PHP
12:35 < Wombert> the php fuckers really seem to make it an effort to ruin the language entirely and drive people away
12:35 < RossC0> * someone asked what he was going to do about making php popular like rails was
12:35 < splatch> i hate ruby, i hate rails ;)
12:35 < Wombert> hans lellelid filed a bug the other day...
12:36 < Wombert> it was marked bogus by our favorite idiot ilia three times until hans shot a mail to internals and then someone provided a patch and then... it was fixed
12:36 < Wombert> but no, let's mark it bogus first
12:36 < Wombert> god damnit
12:36 < RossC0> what was the bug?
12:36 < Wombert> http://bugs.php.net/bug.php?id=40691
12:37 < RossC0> lol
12:38 < Wombert> and stuff like that is simply so utterly exhausting
12:38 < RossC0> yeah - but theres few Ruby jobs and I can earn more doing php
12:38 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
12:38 < RossC0> go figure
12:39 < splatch> Xylakant: that's one from many cause of my frustration, i leaving that work
12:40 < RossC0> hmm in textmate (e-texteditor) is there away to close a tab in j-edit I + to unindent
12:42 < digitarald> RossC0, do u like e-texteditor?
12:43 < RossC0> dunno testing it out
12:43 < Wombert> RossC0: in textmate, it's alt-tab...
12:44 < RossC0> lol
12:44 < Wombert> RossC0: I'm implementing http://trac.agavi.org/ticket/463
12:44 < RossC0> excellent :)
12:44 < Wombert> but
12:45 < Wombert> I need param names for that :)
12:45 < Wombert> literalize_values
12:45 < Wombert> for true, false and so on
12:45 < Wombert> but for %core.lala%?
12:45 < Wombert> expand_directives?
12:46 < RossC0> is that used anywhere?
12:47 < RossC0> hmm what do you call %core.lalal%
12:47 < Wombert> configuration directive
12:47 < Wombert> expand_configuration_directives_in_keys?
12:47 < Wombert> :p
12:48 < RossC0> expand_directives
12:48 < Wombert> and for keys?
12:48 < Wombert> we could also use
12:48 < Wombert> literalize_values
12:49 < Wombert> replace_values
12:49 < Wombert> replace_keyw
12:49 < Wombert> keys
12:49 < RossC0> example of keys
12:49 < Wombert> but not the entire value gets replaced...
12:49 < RossC0> ?
12:49 < RossC0> not sure what you mean
12:49 < Wombert> lala
12:49 < RossC0> do we need two configs?
12:49 < Wombert> or should it always be done in both
12:50 < RossC0> I would guess you either use directives or not
12:50 < RossC0> and if you use them it would make sense to have one config to replace all directives
12:51 < Wombert> yeah
12:51 < Wombert> k
12:51 < RossC0> can't think of a need to be too granular
12:51 < CIA-11> david * r1826 /branches/0.11/src/validator/AgaviImageFileValidator.class.php: support for array as 'format' parameter in ImageFileValidator
12:55 < Wombert> okay and
12:55 < Wombert> if a tag has an attribute "name"
12:55 < Wombert> that gets used as the key in an assoc array
12:55 < Wombert> I want to make that attribute configurable
12:56 < Wombert> a good name for that option?
12:56 < RossC0> name_as_key ?
12:56 < Wombert> mmmh
12:56 < Wombert> I was thinking
12:56 < Wombert> id_attribte
12:56 < Wombert> or so?
12:56 < Wombert> +u
12:57 < RossC0> so id_attribute='name'; ?
12:57 < Wombert> id
12:57 < Wombert> to use "id" instead of "name"
12:57 < Wombert> you know, like with...
12:57 < RossC0> cool
13:02 < Wombert> but is id_attribute good?
13:02 < Wombert> hmmm
13:02 < Wombert> basically
13:02 < Wombert>
13:02 < Wombert> hello
13:02 < Wombert> there
13:02 < Wombert>
13:02 < Wombert> would be converted to
13:03 < Wombert> array('foos' => array('one' => 'hello', 'two' => 'there'));
13:03 < horros_> ye gpds ypi
13:03 < horros_> grr
13:03 < RossC0> key_attribute
13:03 < RossC0> ?
13:03 * horros_ moves right hand one notch to the left
13:03 < horros_> ye gods you've been babbling while I was gone :)
13:04 < Wombert> DID YOU JUST CALL US DOGS, SIR?
13:04 < Wombert> THAT IS UNACCEPTABLE
13:04 < RossC0> so key ... blah
13:04 < horros_> *BURP*
13:04 < horros_> missus' grandma is visiting us
13:04 < horros_> she makes the most excellent bean soup
13:04 < Wombert> yes but the param is given to the config handler
13:04 < horros_> <3
13:05 < horros_> and also
13:05 < horros_> oh my gods that 2008 jag portfolio <3
13:05 < horros_> KXR <3
13:05 < Wombert> yes
13:05 < Wombert> <3
13:06 < horros_> I actually like the looks of the new jags more than I like the looks of aston-martins
13:06 < RossC0> btw - what does that example above get converted to currently?
13:06 < horros_> they're a bit more.. held back, if you know what I mean.
13:07 < Wombert> RossC0: I think it becomes an array or something
13:07 < Wombert> horros_: I think astons are more understated, but that's a matter of taste I guess
13:07 < horros_> Wombert: are they going to upgrade that old V8 yet?-)
13:07 < Wombert> don't think so
13:07 < horros_> :(
13:07 < Wombert> I still don't get why ford is selling aston
13:08 < Wombert> they're about the only ones who make money
13:08 < horros_> because they're all fools?
13:08 < horros_> ford 3
13:08 < Wombert> except for ford europe xD
13:08 < Wombert> well it's pretty much ford america that sucks
13:08 < Wombert> and jaguar
13:08 < Wombert> the rest is fine afaik
13:09 < horros_> :(
13:09 < RossC0> yeah at the moment name is used as the key
13:09 < RossC0> any extra attributes get added to the array
13:09 < horros_> Jaguar XKR: Price without any extra equipment: 155 000e
13:11 < RossC0> hmm actually its a bit borked
13:11 < RossC0> two tics
13:11 < Wombert> yeah I think so, too, RossC0
13:11 < Wombert> IMO it should be an array if there are attributes, and a plain value otherwise
13:13 < RossC0> http://pastie.caboo.se/45008
13:14 < RossC0> which seems odd as name is relates to the parent node and the childnode is put into a single item :-/
13:14 < Wombert> I'll have a look
13:15 < RossC0> but I'm sure there will be knock on effects of changing it :-?
13:15 < digitarald> any xpath heroes here?
13:15 * RossC0 points to Wombert
13:16 < RossC0> digitarald: whats the problem?
13:17 < digitarald> xpath rules for css pseudoclasses in mootools
13:17 < digitarald> i'll go nuts, i'll try 30min more
13:31 < _cheerios> http://blog.emmettshear.com/post/2007/03/06/Oh-the-things-that-youll-see "heh" ... plus also a handy link to someone adding flash debugging to Firebug
13:43 < digitarald> i debug flash already with firebug ;)
13:51 < Wombert> RossC0: I'd like to fix the return array config handler a bit
13:52 < Wombert> so it's more consistent with the "normal" handlers
13:52 < Wombert> if you have
13:52 < Wombert>
13:52 < Wombert> lala
13:52 < Wombert> yay
13:52 < Wombert>
13:52 < Wombert> that should become
13:52 < Wombert> array('foo' => array('bar' => array('lala', 'yay'));
13:52 < Wombert> i.e. more than one element on the same level becomes an array of the children
13:52 < Wombert> sorry, 'bars' in this case (pluralized)
13:53 < Wombert> and the "name" attribute (or whatever is configured) should only work in that case, too
13:54 < Wombert> i.e.
13:54 < Wombert>
13:54 < Wombert> hello
13:54 < Wombert>
13:54 < Wombert> would become
13:54 < Wombert> array('foo' => array('bar' => array('type' => 'snap', 'value' => 'hello')))
13:54 < Wombert> whereas
13:54 < Wombert>
13:54 < Wombert>
13:54 < Wombert> hello
13:54 < Wombert>
13:55 < Wombert>
13:55 < Wombert> (or more than one )
13:55 < Wombert> array('foo' => array('bars' => array(0 => array('type' => 'snap', 'value' => 'hello'))))
13:55 < RossC0> so: id_attribute = 'snap' you'd get array('foo' => array('bar' => array('snap' => 'hello')))
13:55 < Wombert> and
13:55 < Wombert>
13:55 < Wombert>
13:55 < Wombert> hello
13:55 < Wombert>
13:55 < Wombert>
13:55 < Wombert> would become
13:56 < Wombert> array('foo' => array('bars' => array('snap' => 'value' => 'hello')))
13:56 < Wombert> errr
13:56 < Wombert> array('foo' => array('bars' => array('snap' => 'hello')))
13:56 < RossC0> ?
13:56 < RossC0> shouldn't that be the same as: array('foo' => array('bars' => array(0 => array('type' => 'snap', 'value' => 'hello'))))
13:57 < RossC0> sorry array('foo' => array('bars' => array(0 => array(snap => 'hello'))))
13:57 < Wombert> it hsa the "name" attribute, which becomes the key
13:57 < Wombert> no, is plural of
13:58 < RossC0> so what would :
13:58 < RossC0>
13:58 < RossC0>
13:58 < RossC0> hello
13:58 < RossC0> snizzle
13:58 < RossC0>
13:58 < RossC0>
13:58 < raidman> but there is no different between two latest xmls!!!
13:58 < RossC0> produce?
13:59 < Wombert> array('foo' => array('bars' => array('snap' => 'hello', 'wibble' => 'snizzle')))
13:59 < RossC0> array('foo' => array('bars' => array(0 => array(snap => 'hello'), 1 => array(wibble => snizzle))))
13:59 < Wombert> because the name attribute makes it an assoc item
13:59 < RossC0> ah ok
13:59 < RossC0> cool
13:59 < Wombert> I hope :
13:59 < Wombert> p
14:00 < RossC0> so how much will that break?
14:00 < Wombert> I'll create some XML and resultig array samples so you guys can have a look
14:00 < Wombert> not much I think because few people use complex structures (I hope)
14:00 < RossC0> :)
14:00 < RossC0> cool
14:00 < Wombert> most of the behavior remains the same
14:00 < Wombert> you only run into trouble if you have stuff like
14:01 < Wombert> you showed above
14:01 < Wombert> where it is, obviously, a bit "broken"
14:01 < Wombert> it's not really broken
14:01 < Wombert> it's pretty much expected behavior
14:01 < Wombert> but we can improve it I think
14:01 < Wombert> for instance
14:01 < Wombert>
14:01 < Wombert> yay
14:01 < Wombert>
14:01 < Wombert> should become
14:01 < Wombert> array('foo' => array('bars' => array('lala' => 'yay')))
14:01 < Wombert> that's more consistent
14:01 < Wombert> BUT
14:02 < Wombert>
14:02 < Wombert> yay
14:02 < Wombert>
14:02 < Wombert> becomes
14:02 < Wombert> array('foo' => array('bar' => array('woot' => 'lala', 'value' => 'yay')))
14:02 < Wombert> because it doesn't use "name"
14:03 < raidman> opps there is a different :P
14:24 < digitarald> Wombert, xpath master ... and elements as childs of ...
14:24 < digitarald> dt is first child
14:24 < digitarald> dt[not(preceding-sibling::*)] returns the first -
14:24 < digitarald> dd[not(preceding-sibling::*)] returns nothing
14:25 < digitarald> dd is first following slibing of dt
14:26 < Wombert> you mean dd must be preceded by a dt?
14:26 < Wombert> dl/dt | dl/dd
14:26 < digitarald>
14:27 < Wombert> selects all dt and dd elements as immediate children of the dl
14:27 < digitarald> i want the first-child
14:27 < Wombert> dl//dt | dl//dd grabs all dt and dl inside
14:27 < Wombert> you mean the first dt and dd group?
14:27 < digitarald> dt[not(preceding-sibling::*)] AND dd[not(preceding-sibling::*)] should return the same result
14:27 < Wombert> ...
14:27 < Wombert> what
14:27 < Wombert> do
14:27 < Wombert> you
14:27 < Wombert> want
14:27 < digitarald> dd:first-child ;)
14:28 < Wombert> don't throw selectors at me, tell me what you need
14:28 < Wombert> dd isn't :first-child
14:28 < RossC0> //dl/dd[0]
14:28 < Wombert> dl > dd:first-child will return no result in CSS
14:28 < Wombert> because it is preceded by a dt
14:28 < digitarald> but dd:first-child should return the first element from the slibing , which is dt
14:28 < Wombert> no
14:28 < Wombert> :first-child matches the node IF THAT NODE IS THE FIRST CHILD
14:28 < digitarald> ... //dl/dd[0] is :first-of-type
14:29 < Wombert> no no no no
14:29 < Wombert> you didn't understand :first-child
14:29 < Wombert> dl > dt:first-child
14:29 < Wombert> matches the first dt in the dl
14:29 < Wombert> but only if that dt is also the first chld in the dl
14:29 < digitarald> ever tried that with css?
14:30 < digitarald> dd:first-child matches the first dt, tried it with firefox
14:30 < Wombert> http://www.w3.org/TR/REC-CSS2/selector.html#first-child
14:30 < Wombert> no, it does, not, digitarald
14:30 < Wombert> then your css is wrong
14:30 < Wombert> read the link
14:30 < Wombert> especially the third snippet
14:31 < Wombert> The last P before the note.
14:31 < Wombert>
14:31 < Wombert> Note
14:31 < Wombert> The first P inside the note.
14:31 < Wombert>
14:31 < Wombert> not matched by div > p:first-child
14:31 < digitarald> ok, u won
14:31 < Wombert> first-child is a pseudoclass, not a selector
14:31 < Wombert> of course
14:31 < Wombert> I always win :p
14:32 < digitarald> i know ... because of that u are my idol ;)
14:32 < RossC0> no one likes a smartass
14:32 < RossC0> :p
14:32 < Wombert> I've been a smart ass for all my life
14:32 * RossC0 bows down to Wombert awesome knowledge of all things web
14:32 < RossC0> :-)
14:32 < Wombert> plus
14:32 < Wombert> I just saved digitarald from implementing it wrong ;)
14:33 < Wombert> so that was very justified
14:33 < Wombert> back to your problem, digitarald
14:33 < RossC0> too right
14:33 < Wombert> what do you need now
14:33 < Wombert> an xpath for :first-child ?
14:34 < digitarald> this one works fine (with the correct specs ;) ) ... not(preceding-sibling::*)]
14:34 < digitarald> tag[not(preceding-sibling::*)]
14:34 -!- eremit_ [n=eremit@p5490D4FA.dip.t-dialin.net] has joined #agavi
14:35 < digitarald> now i have to modify my js selector w/o xpath to match the specs
14:36 < Wombert> why don't you use cssQuery
14:36 < Wombert> it's not very heavy
14:36 < digitarald> too slow
14:36 < Wombert> http://dean.edwards.name/my/cssQuery/
14:37 < Wombert> RossC0: you should become a member of http://www.britpack.org/ btw
14:38 < digitarald> bloody brits ;)
14:38 < RossC0> lol - how'd I join!
14:38 < Wombert> no idea
14:39 < RossC0> dam them an their closed group
14:39 < digitarald> they are brits, they are supposed to be a closed group
14:39 < digitarald> ... like an island
14:40 < Wombert> http://stuffandnonsense.co.uk/general/destinations.html
14:40 < Wombert> mmh
14:41 < Wombert> closed group it seems
14:41 < Wombert> damn these posh brits
14:41 < Wombert> so full of themselves
14:41 < Wombert> :>>>
14:41 < Wombert> btw RossC0 did you hear about how william and harry changed the queen's answering machine text
14:41 < Wombert> so awesome
14:42 < RossC0> nope?
14:42 < Wombert> http://news.sky.com/skynews/article/0,,30100-1254229,00.html
14:43 -!- eremit [n=eremit@p5490D9DE.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
14:45 < RossC0> brilliant
14:45 < Wombert> yep
14:45 < Wombert> cracked me up
14:48 < v-dogg> haha
14:57 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"]
15:07 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has left #agavi []
15:14 < horros_> eh?
15:15 < horros_> how the smeg can a unix timestamp be an invalid timestamp syntax?
15:16 < Xylakant> negative?
15:17 < horros_> nope.
15:17 < horros_> I recon something funky has changed in Propel
15:17 < horros_>
15:17 < horros_> [wrapped: SQLSTATE[22007]: Invalid datetime format: 7 ERROR: invalid input syntax for type timestamp: "1173186961"]
15:19 < Wombert> mysql?
15:21 < horros_> MYSQL?!
15:21 < horros_> HOW DARE YOU INSULT ME LIKE THAT?!
15:21 < horros_> :)
15:21 < horros_> (I use a proper database -- PostgreSQL)
15:22 < _cheerios> how do you handle replication in postgres, horros?
15:23 < horros_> _cheerios: slony if needed.
15:23 < _cheerios> i've read about slony. how has it performed under real use?
15:27 < horros_> I've not set one up myself, clients haven't complained though.
15:27 < horros_> cow-worker configures servers
15:27 < horros_> got to jet, missus is here to pick me up. be back in 20-or-so
15:41 < RossC0> cow-worker - hehehe
15:41 < v-dogg> heh
15:42 < v-dogg> they are all just cattle to me
15:46 < RossC0> :)
15:46 < RossC0> hmm mint ripoff - http://www.getbasil.com/
15:47 < RossC0> doesnt even look as good !
15:47 < RossC0> and its made with cakephp - so its competiting in the same market
15:47 * RossC0 rolls his eyes
15:52 < digitarald> cake ... uh
15:52 < digitarald> RossC0, do u remember this speed test?
15:52 -!- _horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
15:53 < _horros> hi0r
15:54 < v-dogg> cowboy markus
15:54 < RossC0> digitarald: yeah - forgot the url
15:54 < RossC0> :-/
15:55 < digitarald> doesnt matter, i tuned it even more :)
15:56 < v-dogg> why does cake suck so badly?
15:56 < v-dogg> I think I tried it once, but not sure
15:56 < _horros> for the same reasons pear does?
15:56 < digitarald> they have helpers ... hundreds of them
15:56 < digitarald> generating helpers
15:57 < v-dogg> haha
15:57 < _horros> now why would you need helpers to generate title?
15:57 < v-dogg> serious?
15:59 < splatch> maybe there is an reason?
16:00 < digitarald> they have helpers to insert a css tag
16:01 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
16:01 < digitarald> css ($path, $rel= 'stylesheet', $htmlAttributes=null, $return=false)
16:01 < MrJeep> morning
16:02 < _horros> digitarald: hey, we have that too in our app :P
16:03 < digitarald> but u maybe add a timestamp or something helpful to the url
16:03 < _horros> well, we have that in our base view that we extend so it can inject module-specific css files into the main template :)
16:03 < splatch> cake = (Small) Symfony()
16:03 < digitarald> they only insert a tag with the file href
16:03 < digitarald> just found my favorite helper: nice
16:04 < digitarald> Returns a nicely formatted date string.
16:04 < _horros> ...
16:04 < digitarald> i want $tm->nice() in my agavi templates
16:07 < v-dogg> woot?
16:07 < v-dogg> nice does what?
16:09 < splatch> phpdoc for nice method: picks nice girl in calle place :)
16:25 < _horros> :O
16:25 < _horros> status quo is coming to Tampere
16:25 < _horros> :O * 2
16:25 < _horros> I thought they were dead and buried a long time ago
16:44 < RossC0> hmm phing kinda sucks - just added back in autocreation of unittests
16:44 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:45 < RossC0> anyone know how to run a shell command in phing?
16:47 < Wombert> http://phing.info/docs/guide/2.2.0/chapters/appendixes/AppendixB-CoreTasks.html#ExecTask
16:49 < RossC0> cool - may as well put back in the run the unit tests command :)
16:58 < _horros> humm
16:58 < v-dogg> anyone know a decent js calendar-select-popup-tool-gizmo?
16:59 < _horros> v-dogg: yep
17:00 < RossC0> dynarch
17:00 < RossC0> http://www.dynarch.com/projects/calendar/
17:01 < _horros> v-dogg: http://www.mattkruse.com/javascript/calendarpopup/
17:01 < _horros> that's what I use for small "select date" popup doohickeys
17:01 -!- Arme[N] is now known as Arme[0]
17:04 < v-dogg> both seem nice
17:07 < Xylakant> http://clientside.cnet.com/cnet.gf/docs/files3/common/js-widgets/date-picker-js.html
17:07 < RossC0> bring on the moo!
17:09 < Xylakant> the cnet libs look pretty nice in general
17:09 < Xylakant> and based on mootools
17:11 < Xylakant> does anyone know a decent mailer class? based on php5
17:12 < Niacin> morning all
17:12 < Niacin> Xylakant, isn't there one in pear?
17:12 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["beer"]
17:12 < Xylakant> pear is not php5
17:13 < Xylakant> and i'd rather prefer to keep my fingers away from legacy code
17:13 < Xylakant> and yes, it works pretty ok but it has massive gotchase
17:14 < Wombert> Xylakant: ez components
17:14 < Wombert> or swiftmailer, but we found ez to be better
17:14 < Wombert> swiftmailer is just out in a new, E_STRICT compatible version, and has quite some bugs
17:15 < Xylakant> ok, i'll check the those two
17:16 < Xylakant> thanks
17:17 < Wombert> ez is pretty cool, they're all hanging out in #ezcomponents, alexandru fixed a bug for me I reported yesterday this morning
17:26 < _horros> LOL
17:27 < _horros> "When using optional parts, you almost always need additional characters before and after the actual parameters, especially when using @@optional parts@@."
17:27 < _horros> maybe a bit repetitive there :D
17:27 < Wombert> a little bit
17:30 < Wombert> holy cow
17:30 < Wombert> 21 degrees
17:30 * Wombert heads to ze supermarket
17:35 -!- kaos [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has joined #agavi
17:35 < kaos> Xylakant: don't even bother with swift
17:36 < Arme[0]> v-dogg: please add a link tag to rss feed in of the blog ;)
17:36 < v-dogg> ah, sure
17:37 < v-dogg> and forgot (again) to add article excerpts to the feed
17:41 < Xylakant> kaos: from the technical viewpoint you're right
17:41 < kaos> not only from the technical one
17:41 < kaos> a mailer
17:41 < kaos> which silently IGNORES receipients
17:42 < Xylakant> otoh ez components is made by a competitor and so the boss may want to have a word in this
17:42 < MrJeep> is there any advantage to use smarty rather than the old php templates ?
17:42 < kaos> is out of the race
17:42 < Xylakant> in the worst case i need to write my own and i could at least base it on swift
17:42 < Xylakant> i know the reason is idiotic and braindead, but that's politics
17:43 < Xylakant> MrJeep: only if you want to give "untrusted" users access to the templates
17:44 < Xylakant> a template engine would allow you to deny php code execution to them
17:44 < MrJeep> ok, I think this could be my case
17:44 < digitarald> i use the ez mailer too
17:44 < MrJeep> what about speed ?
17:44 < Xylakant> native php will always be faster
17:44 < Xylakant> a layer less inbetween
17:44 < RossC0> MrJeep: there is a cost - but it should cache to php after first run
17:45 < RossC0> MrJeep: do you need a templating engine?
17:46 < MrJeep> I've been using php templates for a long time, I think smarty has been integrated with agavi so I guess I could use this one
17:46 < Prometheus^> imo smarty is pretty braindead
17:46 < Prometheus^> just my experience with it :)
17:46 < RossC0> MrJeep: If its just you - just use php
17:47 < MrJeep> RossC0 : I'm working on a project where I'm pretty sure I'll add the possibility for any user to edit their own template so :S
17:47 < digitarald> then make smarty templates optional
17:48 < digitarald> different output-type
17:49 < digitarald> oh i hate calendar pop ups
17:54 < CIA-11> horros * r1827 /branches/0.11/docs/docbook/manual.xml: Tidied up a bit in routing, fixed an incorrect example
17:54 < MrJeep> well, which template engine should I use then ?
17:57 -!- codecop [n=moni___@88.118.198.120] has joined #agavi
18:00 < kaos> the ezcomponents one seems to be rather nice (didn
18:00 < kaos> 't use it yet tho)
18:00 < v-dogg> mailer?
18:00 < Wombert> template engine
18:00 < Wombert> or just
18:01 < MrJeep> template engine
18:01 < Wombert>
18:01 < Wombert> alternative syntax is pretty good
18:01 < v-dogg> ok
18:01 < Wombert> PHPTAL is nice, too, but has a lot of limitations
18:01 < Wombert> or actually it doesn't, but you really have to know it well to be able to use it properly
18:01 < Wombert> and ffs why did I leave the heater on
18:01 < Wombert> it's darn hot in here
18:02 < MrJeep> Wombert: what do you think of smarty ?
18:02 < MrJeep> (i think it's integrated to agavi allready right) ?
18:02 < Wombert> don't like smarty
18:02 < Wombert> it's just a different syntax
18:02 < Wombert> I used to use smarty, but not anymore
18:02 < Wombert> php templates are just fine
18:02 < kaos> with lots of overhead ;)
18:03 < MrJeep> yeah but I'm pretty sure someday, on my poker project, users will be able to edit and make their own template
18:04 < Wombert> ah
18:04 < MrJeep> that's the reason I'm looking for a template engine
18:06 < Niacin> Wombert, why would AgaviSampleAppUser go in app/lib/user instead of app/modules/..../lib/ ?
18:07 < Wombert> MrJeep: http://ez.no/doc/components/view/latest/(file)/introduction_Template.html
18:07 < Wombert> Niacin: it's global to all modules
18:07 < Wombert> you only have one user implementation
18:07 < Wombert> user handles session data, and, if it's a SecurityUser, security/auth/credentials/blah
18:08 < Wombert> the sample app doesn't have global action and view base classes
18:08 < Wombert> might be a bit confusing
18:08 < Wombert> a fresh project done with "agavi project" will though
18:17 < Niacin> yeah but the fresh project don't have examples ;)
18:18 < _horros> Wombert: should attribute namespaces be explained in the manual or in the cookbook?
18:18 < Wombert> manual
18:18 < _horros> I don't think they're that particularly much used
18:18 < _horros> right.
18:18 < Wombert> but not in request imo
18:18 < Wombert> some section about intra-application communication
18:19 < _horros> aha, ok
18:19 < _horros> there's such a section in the request-section though.
18:19 < _horros> 6.1.2 Passing Data Inside the System
18:19 < v-dogg> I wanted to talk about that
18:19 < v-dogg> I added that last night
18:19 < Wombert> fine
18:20 < v-dogg> but it's not really about Request
18:20 < _horros> hmm, yeah, it's more about action if anything :)
18:20 < Wombert> nah
18:20 < v-dogg> no, not action
18:20 < Wombert> often used in a view
18:20 < v-dogg> yep
18:21 < Wombert> for instnace, appendAttribute('breadcrumb', 'Lala', 'com.myapp.navigation');
18:21 < Wombert> and then you output that in ze master template
18:21 < v-dogg> but AgaviRequest should be renamed now that it has nothing to do with the request
18:21 < Wombert> oh please not break something
18:22 < v-dogg> I realize that and I'm fine with leaving it
18:22 < v-dogg> but still, it should be renamed :)
18:22 < Wombert> in 2.0 we can get rid of it
18:23 < v-dogg> home ->
18:24 < _horros> v-dogg: are you still working on the request -section?
18:25 < _horros> hmh.
18:25 < v-dogg> yes
18:25 < v-dogg> I mean I'll continue tonight or later this week
18:26 < v-dogg> but I've commited everything I have now
18:26 < v-dogg> so feel free to work on it
18:26 < _horros> v-dogg: right, I'm writing up something on passing the data around from the action to the view/template, I can commit a bit later
18:26 < v-dogg> roger
18:26 < _horros> then you can proceed to say "what a load of crock" and throw everything away ;)
18:27 < v-dogg> probably won't do that :)
18:27 < v-dogg> but home ->
18:27 < v-dogg> relly
18:27 < v-dogg> really
18:27 < _horros> o/
18:28 < RossC0> \o
18:29 < Wombert> http://www.spiegel.de/international/0,1518,469860,00.html oh man that dude rocks
18:31 < Niacin> the bear or the guy who slept in the zoo?
18:31 < digitarald> and he is soooooo cute
18:31 < Wombert> bears rock
18:31 < Wombert> I totally disagree with Colbert on that one
18:32 < Niacin> Wombert, why do you use self:: instead of $this ?
18:32 < Wombert> where
18:32 < Niacin> arr because its static?
18:32 < digitarald> oh, his twin brother died
18:32 < Wombert> what
18:32 < Wombert> where
18:32 < _horros> Niacin: can't use $this in static context
18:33 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi
18:33 < Niacin> yeah i just figured that out... thanks _horros
18:33 < Wombert> http://i86.photobucket.com/albums/k90/crunchgear/March%202007/linux_xbox.gif
18:33 * Wombert chuckles
18:34 < Niacin> heh
18:34 < MrJeep> hahah
18:34 < RossC0> lol
18:34 < _horros> old, but still good :)
18:37 < Prometheus^> how cute is that cub eh!
18:45 < Niacin> not as cute as that blonde chick from star gate
18:45 < Wombert> nerd!
18:46 < Niacin> i would take her for a ride on the Prometheus
18:46 < MrJeep> i think the prometheus has been destroyed in season 9 or 10
18:46 < MrJeep> no luck
18:47 < Niacin> ;\ i will rebuild after i pwn some noobs at WOW
18:48 < MrJeep> there is pvp in WOW ?
18:48 < Wombert> MrJeep: you play wow?
18:48 < MrJeep> nop
18:49 < Wombert> I thought MMORPGs and girlfriends were mutually exclusive
18:49 < Wombert> ah that explains it then
18:49 < Wombert> don't start
18:49 < MrJeep> The only MMORPG I played was Ultima Online
18:49 < Niacin> i don't either
18:49 < Niacin> i just like saying it
18:49 < MrJeep> back in time ...
18:50 < MrJeep> that was a great game
18:50 < MrJeep> so... SO addictive
18:57 < MrJeep> hey guys! i bought a new vaccum!
18:58 < MrJeep> and it's PINK :D
18:59 < digitarald> congrats MrJeep
18:59 < MrJeep> thnx
18:59 < MrJeep> I thought my gf would use it more often.. since it's a girl's color
18:59 < MrJeep> but no..
18:59 < digitarald> :D but the idea is good
19:01 < RossC0> MrJeep: sooo naive! - If she's anything like my Mrs I guess she just laughs at you vacumming with a pink vaccum!
19:01 < MrJeep> hahaha... well... she did :(
19:01 < RossC0> ::)
19:04 -!- digitarald [n=Miranda@91.Red-83-52-195.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
19:22 < Xylakant> hmm. i'm trying to use the AgaviDateTimeValidator and it tells me that it can be used only with use_translation = on.
19:22 < Xylakant> however, i *do* use translation and it is enabled
19:31 < Xylakant> Wombert: the AgaviDateTimeValidator looks in AgaviConfig::get('use_translation') wether translation is enabled or not
19:31 < Xylakant> however, the correct info is in AgaviConfig::get('core.use_translation') - did the format of the settings.xml change and i did not notice or is the validator bugged?
19:34 -!- Zibi [n=asd@80.4.120.163] has joined #agavi
19:34 < Zibi> hello
19:34 * Zibi slaps RossC0 around a bit with a large trout
19:35 < Zibi> i have quick question
19:35 < Zibi> when im setting up slot how to send parameters to it?
19:35 * RossC0 waves at Zibi
19:36 < Zibi> :P
19:37 < Zibi> in createSlotContainer?
19:37 < Wombert> do you create the slot by hand or is it defined in a layout?
19:38 < Zibi> by hand
19:38 < Wombert> third argument
19:38 < Wombert> may be an array
19:39 < Wombert> or an AgaviRequestDataHolder if you wish to send other things than just parameters
19:39 < Wombert> like a file or a cookie or a header
19:40 < Zibi> hmm i tried with array
19:40 < Zibi> but it doesnt work
19:41 < Wombert> you might have to validate it
19:41 < Wombert> if validation mode is set to strict, or if it's conditional and the action has a validation file already
19:41 < Wombert> if it really is a slot and nothing else, i.e. you don't need the action part anyway, you can switch the action into simple mode
19:42 < Wombert> then you only get the stuff you passed as the third argument as request data, nothing else
19:42 < Wombert> and then you also don't need validation (because the action doesn't run)
19:43 < Zibi> ok RossC0 found answer
19:43 < Zibi> thanks
19:44 < RossC0> the action was simple by default
19:44 < RossC0> Wombert: Zibi is my colleague btw - I thought it was time he said hello and started using IRC :)
19:46 < Wombert> cool :)
19:46 < Wombert> welcome, Zibi
19:46 < Zibi> hi!
19:47 < Wombert> RossC0: okay I think I got the RACH sorted now
19:47 < Wombert> best of all
19:47 < Wombert> we won't have BC breaks
19:47 < RossC0> choice :)
19:47 < Wombert> unless you rely on things that don't work anyway :p
19:47 < RossC0> I usually do!
19:47 < Wombert> like yay
19:47 < Wombert> hello was never accessible until now
19:47 < Wombert> but if you have that markup, it's gonna break, since it'll become an array('hello' => 'bar', 'value' => 'yay')
19:48 < RossC0> omg - look at the time I got to fly!
19:48 < Wombert> :p
19:48 * RossC0 waves as he runs for the train!
19:48 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
19:48 < Wombert> go go go
19:51 < CIA-11> horros * r1828 /branches/0.11/docs/docbook/manual.xml: Fixed an error in the routing examples, added stuff to the request -section
19:51 < _horros> *yawn*
19:53 < CIA-11> david * r1829 /branches/0.11/src/validator/ (2 files): fixed typos in validators regarding i18n mode
19:53 < Wombert> thanks Xylakant
19:55 < Xylakant> Wombert: do you know how to configure that validator?
19:55 < Xylakant> i don't seem to get it
19:56 < Wombert> kaos knows
19:56 < Xylakant> how can i tell it to use the format specified in a given translation domain
19:56 < Xylakant> kaos?
19:56 < CIA-11> david * r1830 /branches/0.11/samples/app/modules/Default/views/SearchEngineSpamErrorView.class.php: typo fix
19:56 < Xylakant> ok, thanks
19:57 < Xylakant> oh, and the datetimevalidator swallows exceptions
19:57 < Xylakant> there's a generic catch(Exception $e) {// nop} in there
19:58 < kaos> yes
19:58 < kaos> so what ?
19:58 < kaos> it's supposed to do that
19:58 < Xylakant> it swallows exceptions from configuration errors as well
19:58 < kaos> no
19:59 < Xylakant> it does
19:59 < kaos> aha
19:59 < kaos> and how is that supposed to work
19:59 < kaos> when the only 2 methods called in the try block are NOT config relevant at all ?
19:59 < Xylakant> $formatString = $tm->_($item['format'], $td, $itemLocale);
19:59 < Xylakant> and feed it a non existant translation domain
20:00 < kaos> well, bad luck ...
20:00 < Xylakant> :)
20:00 < kaos> well
20:00 < Xylakant> and if you feed it an invalid format specifier you get an error as well
20:00 < kaos> you'r right actually
20:01 < kaos> gimme a minute
20:01 < Xylakant> shure
20:01 < kaos> the reason it that it tries all the formats you define
20:01 < Xylakant> but that was not the question i actually wanted to ask :)
20:01 < kaos> in a loop
20:02 < Xylakant> yes, i saw that
20:02 < Xylakant> and i suppose that if the format does not match, a generic agavi exception gets thrown
20:02 < kaos> yeah
20:02 < kaos> need to narrow that down
20:02 < kaos> to some special expection
20:02 < Xylakant> ;)
20:03 < Xylakant> however, just tell me how to configure that thing properly and i'm all set
20:03 < kaos> you want it to use the format you specified in some translation domain
20:03 < Xylakant> yes
20:03 < kaos> w/o specifying that format again
20:03 < kaos> right ?
20:04 < Niacin> so i put the business logic in the module?
20:04 < Xylakant> actually, i use the "medium" date of the current active locale
20:04 < Niacin> some one needs to draw a flow chart for agavi :)
20:04 < Xylakant> and i have a nested translation domain default.medium_date that sets this format
20:05 < Xylakant> works nicely in the translationManager->_d(50000, 'default.medium_date'))
20:05 * Zibi waves bye
20:05 -!- Zibi [n=asd@80.4.120.163] has quit []
20:05 < Xylakant> but i'm not able to grok from the docs how to use that in the validator
20:06 < kaos>
20:06 < kaos>
20:06 < kaos> datetime
20:06 < kaos> medium
20:06 < kaos>
20:06 < kaos> this way it would use that default format in the locale
20:06 < kaos> what you want
20:06 < kaos> uuuhm
20:06 < kaos> doesn't work atm
20:06 < Xylakant> ah
20:07 < Wombert> using a format from a translation domain?
20:07 < Wombert> hmm
20:07 < kaos> i can add that
20:07 < Wombert> please
20:07 < Wombert> because
20:07 < Wombert> you format for a field
20:07 < kaos> the problem just is
20:07 < Wombert> and then it should accept the same format ;)
20:07 < kaos> it could result in an empty format
20:07 < Wombert> yeah bad luck then
20:07 < Wombert> could it?
20:07 < kaos> ofc
20:08 < Wombert> medium, doesn't translate, so medium comes back
20:08 < kaos> just specify a translation domain
20:08 < kaos> which uses a translation domain for the date formatter as well
20:09 < kaos> (i think O_o)
20:09 < kaos> at least you can under some circumstances make that happen
20:10 < Xylakant> you lost me
20:10 < kaos> i lost myself ;)
20:10 < v-dogg> _horros: how's it going with the docs?
20:11 < _horros> v-dogg: I commited and went to eat :)
20:11 < Xylakant> ok, ok. I'll wait till you figured out where to find yourself...
20:11 < Xylakant> seems to work though for my case
20:12 < Xylakant> only problem is that i get an offset of 1 hour
20:12 < Wombert> uhm
20:12 < Wombert> kaos: I think Xylakant means translating the format used to parse the input
20:12 < Xylakant> yes
20:13 < Wombert> not the one for formatting the normalized value
20:13 < Wombert> (both should be able to use a translation domain ofc)
20:13 < Wombert> I can implement it
20:13 < Xylakant> i feed it what i get from translationManager->_d(-50000, 'default.medium_date') and the result is -53600
20:14 < kaos> yes
20:14 < kaos> would have to do with the timezone
20:14 < Xylakant> so one of the two is locale aware, the other not
20:14 < kaos> if you don't echo it
20:14 < kaos> it will fall back to the default of course when parsing again
20:15 < Wombert> Xylakant: reproduce case maybe?
20:15 < kaos> I can implement it <-- no you cant
20:15 < Wombert> would be helpful :)
20:15 < kaos> since the date formatter doesn't know its format
20:16 < Xylakant> Wombert: for the time offset problem?
20:16 < Wombert> yes
20:16 < Wombert> please
20:16 < Xylakant> shure, i'll need to build a small app for that :)
20:16 < Xylakant> hang on
20:16 -!- fastly [n=fast@194.42.125.16] has joined #agavi
20:18 < Wombert> the parse strings are translatable btw
20:18 < Wombert> at least the source says so
20:18 < kaos>
20:18 < kaos>
20:18 < kaos> translation_domain
20:18 < kaos> here you need to copy the format from the default.medium_date
20:18 < kaos> here you need to put the same translation domain as in default.medium_date
20:18 < kaos>
20:18 < kaos> this way
20:19 < kaos> _should_ work
20:21 < CIA-11> dominik * r1831 /branches/0.11/src/validator/AgaviDateTimeValidator.class.php: less greedy exception catching
20:22 < fastly> is there any documentation on the validation in 0.11?
20:27 < v-dogg> Xylakant: I think I've asked this at least once before but: didn't you write some notes about validation?
20:27 < v-dogg> hmm.. was there a patch?
20:28 < v-dogg> oh yes.
20:28 < Wombert> kaos has it, but not checked in I think
20:29 < v-dogg> while I'm at it should I commit it? or was there something kaos wanted to do to it before committing?
20:29 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has quit ["Leaving"]
20:32 < kaos> v-dogg: no, pls don't, i have it partly modified in my local version already
20:32 < v-dogg> roger
20:36 < kaos> i will commit in it in a minute
20:36 < v-dogg> you rock
20:36 < kaos> no i don't :<
20:36 < v-dogg> shuuuure ya do :)
20:37 < fastly> validation help anyone, please?
20:37 < fastly> are there any examples...?
20:37 < fastly> would be a cool idea for the sample app if not.
20:38 < Xylakant> Wombert: i have a demo for the time-shift problem
20:38 < Xylakant> would you like it as download, mail, ticket?
20:39 < v-dogg> fastly: the sample app has something iirc
20:42 < Wombert> ttticket
20:42 < fastly> ahhh...
20:43 < Xylakant> ok
20:43 < fastly> just found validate/Login.xml
20:44 < fastly> so validate/Foo.xml will automatically register to FooAction ?
20:45 < fastly> was looking for example of validateWrite() etc.
20:45 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi
20:46 < v-dogg> fastly: kaos is about to commit some notes on that in to the manual
20:46 < kaos> if i would find that stupid xml error i could commit now
20:47 < fastly> greaT!
20:47 < v-dogg> but basicallly you can do manual validation in validate*()
20:47 < v-dogg> and return true or false
20:48 < Xylakant> wombert: http://trac.agavi.org/ticket/472
20:49 < Wombert> oh sorry I can't handle that
20:50 < Wombert> if I look at the date parsing/formatting code, my brain might implode
20:50 < Wombert> I'll leave that up to kaos
20:50 < kaos> i'll have a look after i found ze xml error
20:51 < Xylakant> np
20:51 < Xylakant> now that the ticket with agavi is open, i can close mine and point to you
20:51 < Xylakant> "They broke it"
20:52 * Wombert pokes RossC0
20:52 < Wombert> force_value_arrays?
20:52 < Wombert> force_array_values?
20:52 < Wombert> if bar should always become array('foo' => array('value' => 'bar'))
20:52 < fastly> anyone here know the quickest way of using the email validator on a parameter?
20:53 < RossC0> what happened to directives ?
20:53 < Wombert> well that's a different thing
20:53 < RossC0> ah ok
20:53 < Wombert> I'm putting RACH on steroids while I'm at it
20:53 < RossC0> lol
20:53 < Wombert> so, which?
20:53 < Wombert> $idAttribute = $this->getParameter('id_attribute', 'name');
20:53 < Wombert> $valueKey = $this->getParameter('value_key', 'value');
20:53 < Wombert> $forceArrayValues = $this->getParameter('force_value_arrays', false);
20:53 < Wombert> $attributePrefix = $this->getParameter('attribute_prefix', '');
20:53 < Wombert> these I have already
20:53 < RossC0> forceArrayValues => force_array_values
20:53 < RossC0> :)
20:54 < RossC0> brb dinner!
20:54 < fastly> i'm looking at the Login.xml for an example:
20:54 < v-dogg> fastly: just a sec, I'll give you an example
20:54 < fastly> thanks v-dogg
20:56 < CIA-11> dominik * r1832 /branches/0.11/docs/docbook/manual.xml:
20:56 < CIA-11> some validation documentation
20:56 < CIA-11> thanks Felix Gilcher
20:57 < v-dogg> fastly: uh, I don't have one although I thought I did
20:57 < v-dogg> but it works the same way that string validator works
20:57 < v-dogg> the class is "email"
20:58 < v-dogg> supper, brb
21:01 -!- _horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)]
21:02 < Wombert> fastly: http://www.agavi.org/docs/latest/manuals/manual/ch02s11.html
21:03 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
21:05 < fastly> thanks Whisller
21:05 < fastly> Wombert
21:05 < fastly> ;-)
21:05 < v-dogg> awesome
21:06 -!- eremit_ [n=eremit@p5490D4FA.dip.t-dialin.net] has quit []
21:08 < CIA-11> v-dogg * r1833 /branches/0.11/docs/docbook/manual.xml: Minor tweaks (Request / User Input chapter)
21:11 -!- xalva [n=chatzill@87.216.189.141] has joined #agavi
21:12 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit []
21:13 < v-dogg> that's all for tonight folks
21:13 -!- fastly [n=fast@194.42.125.16] has quit [Read error: 54 (Connection reset by peer)]
21:13 < Wombert> ty v-dogg
21:13 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
21:13 < v-dogg> night
21:13 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi
21:14 < RossC0> back :)
21:14 < Wombert> uploaded
21:15 < RossC0> cool
21:16 < kaos> hah
21:16 < kaos> Xylakant: it's working with de_DE ;)
21:16 < kaos> must be an error in the 12 hour format parsing
21:17 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
21:19 < Xylakant> kaos: interesting
21:21 < Xylakant> kaos: would you accept a patch to the datetimevalidator that allows casting to a DateTime object in php5.2? now that propel support those :)
21:21 < kaos> ofc!
21:23 < Xylakant> right, should be an easy thing to do
21:31 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has joined #agavi
21:31 < Wombert> thx Xylakant
21:31 * Alystair waves at Wombert
21:31 < Wombert> we should make that "DateTime"
21:31 < Wombert> case sensitive
21:32 < Wombert> right?
21:32 < Wombert> hi Alystair
21:32 < kaos> Xylakant: i know exactly WHERE the problem is
21:32 < kaos> but i don't know WHAT it is yet *g*
21:32 < Alystair> our coder was hit by a bus so I need to learn all this myself ;[
21:33 < Alystair> well actually we will hire someone else but I want to learn the whole php/agavi/mootools combo myself just so I can do more.
21:33 < Wombert> hit by a bus?
21:33 < Wombert> jesus
21:33 < Alystair> meh.
21:34 < Alystair> Sucks for him, was just about to sign a contract for about $20k or so... now I need to find someone :|
21:34 < Wombert> kaos: I remember we had an issue with the 12 hour stuff
21:34 < Wombert> you calculated from 0, not from 1
21:34 < Wombert> iirc
21:34 < Wombert> that was for formatting
21:34 < kaos> yes
21:34 < Wombert> a couple of weeks back
21:34 < kaos> i know
21:34 < Wombert> Alystair: where are you?
21:34 < Alystair> Toronto, Ontario
21:34 < Wombert> ah right
21:35 < kaos> that COULD be the problem there as well
21:36 < Xylakant> Wombert: if I add the cast to the validator, would you prefer the wrapping done in the validator or rather in the AgaviCalendar - i.e add a method to the calendar class to retrieve a datetime object?
21:37 < Xylakant> i prefer the second option as it adds to the calendar
21:37 < kaos> the second one
21:38 < Xylakant> call it getDateTime()
21:38 < kaos> hmm, good q
21:39 < kaos> maybe getNativeDateTime ?
21:39 < horros> yawn
21:39 < Xylakant> fine with me
21:42 -!- JamieWolf [n=JamieWol@L2430.l.pppool.de] has joined #agavi
21:44 < kaos> HAH
21:44 < kaos> i'M obviously suffering severe brain damage
21:45 < kaos> substracting 1 from the hour because its 1-12 (or 1-24) format
21:46 < kaos> while i should only check for 12 (24) and make that 0
21:46 < kaos> now lets just hope the test still work *g*
21:47 < Xylakant> :)
21:49 < Xylakant> omg. the guy who wrote the DateTime object must have been suffering from brain damage as well.
21:49 < Wombert> haha
21:49 < Xylakant> at least when he wrote the docs
21:49 < Wombert> funny you notice that
21:49 < Wombert> there are no docs
21:49 < Xylakant> yes
21:49 < Xylakant> amnesia is a sort of brain damage
21:49 < Wombert> you can't update individual parts or grab them (like the month)
21:49 < Wombert> and
21:50 < Wombert> it's buggy!
21:50 < Wombert> and
21:50 < horros> Xylakant: in case you talk about DateTime("2007-01-01") == DateTime("2004-01-01") then it's supposedly fixed in CVS :)
21:50 < Wombert> bug reports get marked bogus by ilia!
21:50 < Wombert> yay!
21:50 < Xylakant> horros: i know
21:50 < Wombert> http://bugs.php.net/bug.php?id=40691
21:50 < Xylakant> been following that one with interest
21:50 < Wombert> I so lack the words for that
21:50 < Xylakant> please let me write jsp applications all my life
21:51 < Wombert> it's just random flashes on my mind involving fools, small arms, and a bloodshed
21:51 < Xylakant> hmm. that would be a prime candidate for thedailywtf.com
21:51 < Xylakant> why small arms?
21:51 -!- codecop [n=moni___@88.118.198.120] has quit ["Have to go"]
21:51 < Xylakant> you're imposing unnessesary limits on your creativity.
21:52 < kaos> Xylakant: i hope you don't mind that i changed your tickets description to match the error you saw *g*
21:52 < Xylakant> kaos: np
21:52 < Xylakant> not at all
21:52 < kaos> wow
21:52 < kaos> i wanted to eat something like 2 hours ago
21:53 < kaos> :s
21:53 < Xylakant> why the heck is there no way to create a datetime object from a timestamp?
21:53 < Wombert> aaaah ze awesomeness of php
21:53 < CIA-11> dominik * r1834 /branches/0.11/src/date/AgaviDateFormat.class.php:
21:53 < CIA-11> fix date parsing for 1-12 hour formats
21:53 < CIA-11> closes #472
21:54 < Xylakant> i mean, the "fix" mentioned in THE FAMOUS TICKET was to convert the datetime objects to a timestamp
21:55 < Wombert> but you can't create one FROM a timestamp
21:55 < Wombert> yay
21:55 < kaos> btw, Wombert, didn't we want to add the complement of _d() ?
21:55 < Wombert> uhm
21:55 < Wombert> no? :p
21:55 < kaos> well
21:55 < Wombert> what would it do?
21:55 < kaos> parse strings ? :D
21:55 < kaos> as defined in formatters
21:55 < Wombert> uhm
21:56 < Wombert> oh?
21:56 < kaos> i had to
21:56 < kaos> $fmt = $tm->getDomainTranslator('default', 'date');
21:56 < Wombert> hmh
21:56 < horros> => movie & bed
21:56 < horros> adieu
21:56 < kaos> $strTime = $fmt->format($cal, 'gregorian', $locale);
21:56 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit ["Lähdössä"]
21:56 < kaos> $cal2 = $fmt->parse($strTime, $locale, true);
21:56 < Xylakant> which is a little funny, given there is no method to do so unless you use DateTime::format('U') which may lead to interesting results with dates < 1970 on some platforms
21:57 < Xylakant> well, lets quote the propel mailing list:
21:57 < Xylakant> Ah that so makes me want to
21:57 < Xylakant> a) move to Ruby/Python/something that's not completely rubbish
21:57 < Xylakant> b) stab someone in the face
21:57 < Xylakant> i'd never say such a thing...
21:57 < Xylakant> thanks for the fix, kaos
21:57 < kaos> thanks for the report :)
21:58 < RossC0> b - is a bit harsh
21:58 * RossC0 installing rails and having a play
21:58 < Xylakant> Rossc0: maybe a tiny bit, but only a tiny bit
21:59 < RossC0> need good ideas for a project so I can tinkle around in ruby
21:59 < Xylakant> just imagine you're searching that bug
21:59 < RossC0> cast your votes!
21:59 -!- fastly [n=fast@194.42.125.16] has joined #agavi
21:59 < Wombert> Xylakant: that was me :D
22:00 < RossC0> Wombert: I'm shocked - actually I'm not!!
22:00 < RossC0> ok project a) Another analytics engine for my mephisto blog - with a funky Moo interface
22:00 < Wombert> I guess Top Gear has a certain influence on me
22:00 < RossC0> lol :)
22:00 < RossC0> those limos!
22:00 < Xylakant> Wombert: i know
22:01 < Xylakant> that's why i picked that quote :)
22:01 < Wombert> RossC0: haha when they hit james with the arrow
22:01 < Wombert> muahah
22:01 < RossC0> brilliant!
22:01 < Wombert> and damn hammond lost a lot of weight
22:01 < Wombert> always noticed that he seemed different in the studio segments, his eyes were so large
22:02 < Wombert> now I know why... he should get back to normal
22:02 < Wombert> anyway
22:02 < Wombert> bak to topic
22:02 < Wombert> kaos: mmmh _lala() isn't ideal
22:02 < Wombert> d_()
22:02 < Wombert> ?
22:02 < Wombert> :D
22:02 < RossC0> cast your votes...
22:02 * RossC0 begs
22:03 < kaos> d_() <-- that's what we had in mind, if you remember ;)
22:03 < kaos> could do n_ too *g*
22:03 < Xylakant> RossC0: Write a bugstracker that tracks stupid php bugs ;)
22:03 < RossC0> no way - tooo much work
22:03 < kaos> a voting me machine
22:04 < RossC0> :p
22:04 < kaos> who is the most stupid php dev
22:04 < kaos> :P
22:04 * kaos hides
22:04 < Wombert> kaos: let's keep that in mind for 1.0
22:05 < kaos> today you can choose between
22:05 < kaos> ilia, ilia aaaaand
22:05 < kaos> ilia
22:05 < Xylakant> actually, i was wrong
22:05 < Xylakant> i must apologize to the php devs
22:05 < kaos> <--- food time ;)
22:06 < Xylakant> there is a way to construct a datetime object from a timestamp.
22:06 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi
22:06 < Xylakant> once you dig deeper and deeper into the docs and find that hidden link to the gnu dateformats, you find that prepending an '@' to the timestamp works magic
22:07 < Xylakant> how obvious
22:07 < Xylakant> how could i miss that
22:07 < RossC0> with a whopping score of 1 vote - analytics it is :-)
22:07 < impl> I vote against analytics, whatever that means.
22:08 < impl> :D
22:08 < RossC0> it still wins with 0 votes
22:08 < RossC0> :-/
22:08 < impl> What was the other option?
22:09 < RossC0> that was open to the floor - but I believe there bugstracker that tracks stupid php bugs
22:09 < RossC0> * there was
22:10 < Wombert> RossC0: don't fill up your schedule too much, we're starting to work on Le Chuckwalla this sunday (fo real dis time)
22:10 < Wombert> now that I think about it
22:10 < Wombert> it should be called
22:10 < Wombert> Le Chuckwalla's Revenge
22:10 < Wombert> :>
22:10 < Wombert> first to find the pun gets a cookie
22:11 < RossC0> that from Monkey Island ??
22:11 * Wombert hands a cookie to RossC0
22:11 * RossC0 demands a cookie
22:11 * RossC0 munches!
22:11 < RossC0> :)
22:12 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has joined #agavi
22:13 < Wombert> it's getting crowded in here
22:13 < Wombert> IN ZE EVENING!
22:14 < impl> =D
22:14 < impl> Wombert: My IRC framework is much nicer now :)
22:14 < impl> I haven't been working on it much recently but it's quite a bit better than it was
22:20 * RossC0 looking forward to Le Chuckwalla's Revenge
22:22 < RossC0> IRC Pirates
22:22 < RossC0> Captains Logs
22:22 < fastly> this is my Default.xml: http://pastebin.ca/384037
22:23 < RossC0> fastly: that not working? What action are you using it for ? Login?
22:23 < fastly> ahhhh.... it should be Index.xml...
22:24 < RossC0> bonza!
22:24 < fastly> nope, it's just a holding page on a new website with one input to enter your email address
22:24 < RossC0> I mean ahaharrrr
22:24 < fastly> to receive info when the site launches
22:24 * RossC0 is a pirate
22:24 < RossC0> champion!
22:25 < Wombert> now use FPF
22:25 < Wombert> and don't forget to add the css for class "error"
22:25 < Wombert> like in the sample app
22:25 < Wombert> then submit the form and... yay!
22:25 < Wombert> the field becomes red
22:28 < fastly> sweet thanks
22:40 * RossC0 got a comment from justin palmer about event selectors
22:40 < Wombert> ace
22:40 < RossC0> he's liking the moo!
22:48 < Alystair> that name sounds very familiar
22:50 < RossC0> http://encytemedia.com/
22:51 < RossC0> thats the chap
22:52 < Alystair> so many active well knowns :)
22:53 -!- xalva [n=chatzill@87.216.189.141] has quit [Remote closed the connection]
22:59 < RossC0> ok laters all!
22:59 -!- RossC0 [n=RossC0@teamjr.plus.com] has left #agavi []
23:11 -!- fastly [n=fast@194.42.125.16] has quit []
23:30 < impl> uhu this is cool
23:30 < impl> An exception of type AgaviException was thrown, but did not get caught during the execution of the request. You will find information provided by the exception along with a stack trace below.
23:30 < impl>
23:30 < impl>
23:30 < impl> Unknown stream wrapper "file"
23:30 < Wombert> 5.1.2?
23:30 < Wombert> fixed in svn btw
23:30 < impl> I think it's 5.2.0
23:30 < Wombert> you sure?
23:30 < Wombert> wtf
23:30 < impl> Let me up svn
23:30 < Wombert> get_stream_wrappers var_dump please
23:31 < Xylakant> impl: ubuntu by chance?
23:31 < impl> Debian, Xylakant
23:31 < Wombert> all the same
23:31 < Wombert> man if you want to ruin your day, use linux
23:31 * Wombert shakes head
23:31 < impl> oop, fixed now :D
23:31 < Wombert> yes
23:31 < Wombert> but
23:31 < Wombert> that's a hack
23:31 < impl> Oh?
23:31 < Wombert> var_dump me that please
23:32 < Xylakant> how could they break the build in such a way?
23:32 < impl> coming up..
23:32 < Wombert> Xylakant: the more interesting question is, why don't all of the php internals break if the stream wrappers have wrong names
23:32 < impl> Yep
23:32 < impl> Truncated
23:32 < Wombert> hahaha
23:32 < impl> wtf
23:32 < Wombert> php version?
23:32 < Xylakant> i mean, the last letter of each wrapper missing?
23:32 < impl> PHP 5.2.0-9 (cli) (built: Mar 4 2007 13:18:12)
23:32 < impl> Copyright (c) 1997-2006 The PHP Group
23:32 < impl> Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
23:32 < impl> God damned Debian maints
23:32 < Wombert> bahahaa
23:33 < impl> Clueless fuckers
23:33 < Xylakant> the magic of php, wombert
23:33 < Wombert> might be a php bug, too
23:33 < impl> No
23:33 < impl> It was working with 5.2.0-8
23:33 < Xylakant> or rather: what is broken in php and you don't notice immediatly
23:33 -!- JamieWolf_ [n=JamieWol@L198d.l.pppool.de] has joined #agavi
23:34 -!- Whisller [n=Whisller@217.97.146.67] has quit [" HydraIRC -> http://www.hydrairc.com <- Try something fresh"]
23:34 < impl> I bet that's a disgusting hack, Wombert
23:34 < Wombert> if the stream wrapper is "file" then we don't check against the stream wrappers :p
23:34 < impl> :|
23:34 < Wombert> I could also leave the check out given that the wrappers seem to work fine...
23:35 -!- JamieWolf_ [n=JamieWol@L198d.l.pppool.de] has quit [Client Quit]
23:35 < impl> So wait
23:35 < impl> the wrappers work fine, it's just stream_get_wrappers truncates the output?
23:36 < Xylakant> or the wrapper names get truncated and php internally never uses them
23:36 < Xylakant> still, i've seen this three times, twice ubuntu and now debian
23:36 < Wombert> ubuntu was both 5.1.2
23:37 < impl> http://bugs.php.net/bug.php?id=40168
23:37 < impl> That one has an extra byte =P
23:38 < Xylakant> cool
23:38 < Xylakant> even a null byte
23:38 < Xylakant> the one byte that php handles notoriously well
23:39 < impl> You know what I bet happened
23:39 < impl> is the Debian developers merged in the fucking Ubuntu changeset
23:40 < Xylakant> no, actually i can imagine the following
23:41 < Xylakant> the bug gets discovered, they all rush to fix it by stripping of the last byte
23:41 < Wombert> yes
23:41 < Xylakant> the bug gets fixed in php cvs and following release versions
23:41 < Xylakant> but the maintainers never update their patches
23:41 < Wombert> it's probably that "uhm stip out last byte" fix that fixes it for 5.2.1 where the null byte is present
23:41 < Wombert> applied to older versions
23:41 < Xylakant> still stripping the last byte and not checking wether they really strip a null byte
23:42 < Wombert> and that fix doesn't check for null bytes and blindly strips
23:42 < Wombert> yes
23:42 < Wombert> RETARDED IDIOTS
23:42 < Wombert> OMFG
23:42 < Xylakant> stupid fix for a stupid problem
23:42 < impl> I'm sourcing php5 now
23:42 < Wombert> I am so, so, so, so, so, soooooooooooo sick of this
23:42 < Xylakant> oh yeah, that gives extra credits on the "fail in style" rating
23:42 < Wombert> I can't even decide who gives me the hardest time
23:42 < impl> php5 was hardmasked on Gentoo for a really long time
23:43 < Wombert> the php devs who mess things up every now and then, but, more importantly, keep the language rubbish
23:43 < Wombert> or the linux dist maintainers that leave dom and friends out by default
23:43 < Wombert> or the linux dist maintainers that mess things up by applying wrong patches
23:43 < Wombert> but whatever it is, they constantly manage to ruin it
23:44 < Wombert> next question, what is worse
23:44 < Xylakant> that's why i compile from source.
23:44 < Xylakant> at least i know who's to blame
23:44 < Wombert> a) the php devs who are too full of themselves to listen to user opinions
23:44 < impl> yep Xylakant
23:44 < impl> you're right
23:44 < Wombert> b) the linux dist maintainers who are too full of themselves to consider what they're doing
23:44 < Xylakant> and coincidentially i'm always around when i need to slap someone in the face
23:44 < impl> it's a patch to fix a buffer overflow vuln
23:45 < Wombert> mmmh I feel the urge to go to #ubuntu
23:45 < Wombert> and to #debian
23:45 < Wombert> and shout YOU FUCKING RETARDS
23:45 < impl> #debian is on OFTC
23:45 < impl> I'll post a bug report un moment
23:45 < impl> o
23:45 < impl> http://pastebin.ca/384181
23:46 < Xylakant> and impl, i bet the buffer overflow can happen by registering stream wrappers and exploiting the fact that stream_get_wrappers appends that null byte
23:46 < impl> How could they deliberately change that and not notice :P
23:46 < Xylakant> which does not get handled properly sowewhere down the line...
23:47 < Xylakant> my god, C is a loaded gun, why don't they require an appropriate license for all who code that
23:50 -!- JamieWolf [n=JamieWol@L2430.l.pppool.de] has quit [Read error: 113 (No route to host)]
23:50 < Xylakant> impl: is that the ubuntu patch?
23:51 < impl> No
23:51 < impl> Debian
23:51 < impl> Supposedly a fix for CVE-2007-0906
23:51 < Xylakant> ok, and ubuntu picket that up
23:51 < impl> It's possible they backported it, but I think it was an Ubuntu problem before it was a Debian one
23:52 < Wombert> yes
23:52 < kaos> impl: thats why you shouldn't use unstable i guess ;P
23:52 < impl> Someone's gotta find the bugs
23:52 < Xylakant> :)
23:53 < kaos> well, "not us" *g*
23:53 < Xylakant> whatever. need to get moving, need to catch a train and grab some food on the way out
23:54 < Xylakant> kaos: returning a datetime object from the AgaviDateTimeValidator turned out not to be as simple as it could have been. It introduces a time shift once again :)
23:54 < kaos> Supposedly a fix for CVE-2007-0906 <-- but they don't feel the need of patching any of the 5.2.0 -> 5.2.1 bugs ?
23:55 < kaos> heh
23:55 < Xylakant> need to figure out how to pin that DateTime object to a given timezone
23:55 < kaos> did you set the timezone ?
23:55 < impl> 5.2.1 is in upstream, but not packaged yet, I think
23:55 < Xylakant> kaos: i tried
23:55 < kaos> impl: come on ... its a SECURITY fix
23:55 < kaos> and they don't even manage to put that on in like 2 weeks ?
23:55 < impl> so is 5.2.0-9 :P
23:55 < kaos> this is so sad :<
23:55 < impl> http://packages.debian.org/changelogs/pool/main/p/php5/php5_5.2.0-9/changelog
23:56 < Xylakant> the docs on the DateTimeZone class are rather sparse, not to say nonexistant
23:56 < kaos> hmm
23:56 < Wombert> * The package maintainers would like to thank Joe Orton from redhat and
23:56 < impl> I blame this on CVE
23:56 < Wombert> Martin Pitt from ubuntu for their help in preparation of this update.
23:56 < Wombert> THERE YOU GO
23:56 < Wombert> OMFG
23:56 < impl> yeah
23:56 < impl> I guess that explains it
23:57 < Wombert> guess the ubuntu guys have backported that to 5.1.2 or something?
23:57 < Wombert> or does ubuntu not backport fixes?
23:57 < kaos> Xylakant: did you first set the timestamp on the date object ?
23:57 < kaos> or wait
23:57 < kaos> that doesn't work
23:57 < impl> Wombert: Ubuntu fixed it first
23:57 < kaos> since you can't create the date object without the timestamp
23:57 < kaos> haha
23:57 < impl> Then they passed their technical skill on to Debian
23:58 < Xylakant> kaos: see :)
23:58 < kaos> omg
23:58 < Wombert> I
23:58 < kaos> i need a gun
23:58 < Wombert> must
23:58 < Xylakant> but you can pass in a DateTimeZone object
23:58 < Wombert> flame
23:58 < Wombert> someone
23:58 < kaos> *g*
23:58 < Xylakant> but it seems to have no effect
23:58 < Xylakant> however, it might be possible i'm constructing that object the wrong way
23:59 < Xylakant> but without docs, it's kinda hard to checl...
23:59 < impl> I wonder how it sent that email
23:59 < impl> I didn't specify a name or an email or an SMTP server or anything
23:59 < Wombert> impl: do you have details on the fix on the ubuntu side of things
--- Day changed Wed Mar 07 2007
00:00 < Xylakant> this has been a brilliant day.
00:00 < impl> Let me see if I have an up-to-date Ubuntu box around here
00:00 < Wombert> I'm in #ubuntu
00:00 < Wombert> and that dude is around
00:00 < Wombert> and I must flame him until I get banned
00:00 < Wombert> now
00:00 < Xylakant> stop!! don't do that onto yourself!
00:01 < impl> The following packages will be upgraded:
00:01 < impl> libapache2-mod-php5 php5 php5-cgi php5-cli php5-common php5-gd php5-mysql
00:01 < impl> php5-mysqli
00:01 < Xylakant> that's not good for your heart!
00:01 < kaos> Wombert: get a fake nick first :D
00:01 < ttj> What's going on?
00:01 < Wombert> come join me
00:01 < impl> from security.ubuntu.com :oD
00:01 < kaos> so they can't trace you ;p
00:01 < Wombert> but I need "hard evidence" first
00:01 < Wombert> waits for impl
00:01 < Xylakant> i wish i could
00:01 < impl> un momento, good sir
00:01 < Wombert> I won't get a fake nick
00:01 < Wombert> I can send him my address
00:01 < Xylakant> but i really need to get moving, or i'm stuck another hour in the office
00:01 < Wombert> maybe he comes over to my place
00:02 < kaos> then we can call timo
00:02 < Wombert> Xylakant: about time
00:02 < Xylakant> and i really don't want to do that
00:02 < kaos> with his paddle
00:02 < Wombert> no, you don't
00:02 < kaos> HARR
00:02 < Wombert> move
00:02 < Xylakant> c guys
00:02 < Xylakant> post the chatlogs, please
00:02 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
00:03 < impl> Wombert: Here's the Ubuntu box: http://pastebin.ca/384199
00:03 < kaos> lol
00:03 < impl> sourcing php5 now
00:03 < Wombert> nah I mean the ubuntu changeset that caused the issue ;)
00:03 < Wombert> or don't they have that
00:03 < Wombert> it's 5.1.2 after all, must be a while back?
00:03 < kaos> should i test with feisty as well ? ;)
00:04 < kaos> have that running on some box here
00:04 < impl> Wombert: http://pastebin.ca/384202
00:04 < impl> lines 27 & 28
00:05 < kaos> oooh
00:05 < Wombert> that's debian, right?
00:06 < kaos> beauty
00:06 < kaos> black screen on the linux box
00:06 < impl> Wombert: That's Ubuntu
00:06 < kaos> (which worked yesterday *g*)
00:06 < kaos> linux ftw
00:06 < Wombert> then why is it
00:06 < Wombert> debian/patches/CVE-2007-0906_streams.patch
00:06 < impl> Because Ubuntu is based on Debian :)
00:06 < impl> ]
00:06 < impl> [impl@revox]% cat /etc/issue
00:06 < impl> Ubuntu 6.06.1 LTS \n \l
00:07 < Wombert> okay and now... where can I see if that was actually him
00:09 < impl> hold on
00:09 < kaos> wow, now its completely borked here
00:09 < kaos> gdm which just worked
00:09 < kaos> doesn't work after an restart
00:09 < kaos> lol wtf :D
00:09 < impl> http://changelogs.ubuntu.com/changelogs/pool/main/p/php5/php5_5.1.2-1ubuntu3.5/changelog
00:10 < Wombert> but debian/lala doesn't mean these are taken from debian, right?
00:11 < impl> Right.
00:11 < impl> That's just the name for where all the package information goes
00:12 < impl> Wombert: Join #ubuntu-devel
00:12 < Wombert> have to say tho
00:12 < Wombert> http://www.security-database.com/detail.php?cve=CVE-2007-0906
00:12 < Wombert> lists 5.1.2 as affected
00:15 < Wombert> are there unit tests for that function?
00:15 < impl> let me check
00:15 < Wombert> i.e. would running the tests show an error due to the last chars being stripped out?
00:16 < kaos> i bet
00:16 < impl> well where the fuck is everything
00:16 < Wombert> then it's the maintainers fault because they didn't run tests
00:17 < impl> [17:17:26] [Load: 0.13, 0.16, 0.18]
00:17 < impl> [/home/impl/php5-5.1.2/ext/standard/tests ]
00:17 < impl> [impl@revox]% grep -r 'stream_get_wrappers' .
00:17 < impl> oeps
00:17 < impl> Nothing there :\
00:18 < kaos> not true
00:18 < kaos> check the dom testsw
00:18 < kaos> this should at least have rang some bell on the maintainers side
00:18 < kaos> dom004.phpt
00:18 < Wombert> tests fail?
00:18 < kaos> array_search('compress.zlib', stream_get_wrappers()) or die('skip compress.zlib wrapper is not available');
00:18 < Wombert> http://secunia.com/advisories/24089
00:19 < Wombert> yes, that MUST fail
00:19 < Wombert> omg
00:19 < Wombert> http://secunia.com/advisories/24089 lists "vendor" as reporter of that specific issue
00:19 < kaos> ah no
00:19 < kaos> its in the skipif section
00:19 < kaos> so it doesn't fail
00:19 < impl> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.58.2.6.2.12&r2=1.58.2.6.2.13
00:19 < kaos> but says skipped test
00:19 < impl> ??
00:20 < impl> Now I'm good and confused
00:21 < impl> compass% php --version
00:21 < impl> PHP 5.2.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 16 2007 20:41:05)
00:21 < impl> Copyright (c) 1997-2007 The PHP Group
00:21 < impl> Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
00:21 < impl> compass% php -r 'var_dump(stream_get_wrappers());'
00:21 < impl> array(10) {
00:21 < impl> [0]=>
00:21 < impl> string(3) "zip"
00:21 < impl> [...]
00:21 < Wombert> http://www.ubuntu.com/usn/usn-424-1
00:22 < Wombert> it seems that the patches include the stripping, but not the addition of the terminating null byte
00:22 < Wombert> correct?
00:22 < kaos> yes
00:22 < impl> yeah, but it means the problem we're looking for is elsewhere
00:23 < Wombert> they missed something
00:23 < Wombert> that could be php's fault for not having all changes in one changeset or so
00:23 < Wombert> OR
00:23 < kaos> na, i guess they just patched a bug which just didn't exist in 5.1.2 yet ;)
00:23 < Wombert> kaos: nope the vulnerability seems to be that stream wrappers aren't nul terminated
00:24 < Wombert> so the nul byte is added and, for stream_get_wrappers(), stripped
00:24 < kaos> ah
00:24 < Wombert> haha
00:24 < Wombert> know what that also means?
00:24 < impl> hey... wtf kind of (excuse me) nigger-rigged fix is that, anyway
00:24 < Wombert> that the vulnerability isn't fixed in 5.1.2 :p
00:24 < Wombert> even with that patch
00:24 < Wombert> haha
00:24 < Wombert> RETARDS
00:24 < Wombert> or?
00:24 < Wombert> errr
00:24 < impl> That's the changeset fix for http://bugs.php.net/bug.php?id=40168
00:25 < impl> so like
00:25 < impl> They just stripped a NUL off because they felt like it
00:25 < kaos> maybe they should just use trim() and be happy *g*
00:26 < impl> nowai, this is C!
00:26 < Wombert> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/streamsfuncs.c?view=log
00:26 < Wombert> there's two checkins for that
00:26 < impl> yeah
00:26 < Wombert> they missed one
00:26 < impl> MAIN and PHP_5_2
00:26 < kaos> no
00:27 < impl> Look at the changes, though, Wombert
00:27 < kaos> they didn't miss one Wombert
00:27 < kaos> one is mfh
00:27 < kaos> which means merge from head
00:27 < kaos> to the 5_2 branch
00:28 < Wombert> so http://cvs.php.net/viewvc.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.98&r2=1.99 is the fix
00:28 < Wombert> and the other one removes the nul byte
00:28 < Wombert> hence ubuntu has the fix for the fix, but not the fix
00:28 < impl> err
00:28 < impl> It can't be
00:29 < impl> That bug wasn't reported until January 19
00:29 < Wombert> it's been reported by the php guys
00:29 < Wombert> the bug report isn't wrt the vulnerability
00:29 < Wombert> it's a side effect of the security fix
00:30 < Wombert> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.58.2.6.2.10&r2=1.58.2.6.2.11 fixes the buffer overflow
00:30 < Wombert> http://cvs.php.net/viewvc.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.58.2.6.2.12&r2=1.58.2.6.2.13 fixes the resulting nul byte
00:30 < impl> ah
00:31 < Wombert> but
00:31 < impl> So Ubuntu doesn't actually include the security fix...
00:31 < Wombert> http://pastebin.ca/384202
00:31 * impl chuckles
00:31 < Wombert> has both
00:31 < Wombert> no they do!
00:31 < Wombert> but it doesn't work :p
00:31 < impl> oh
00:31 < impl> wtf
00:31 < impl> So something else must have changed?
00:31 < Wombert> ah wait
00:31 < Wombert> http://pastebin.ca/384202 18/19
00:31 < Wombert> or
00:31 < Wombert> err
00:31 < Wombert> sec
00:31 < impl> no
00:31 < impl> those are right
00:32 < Wombert> yes my bad
00:32 < Wombert> but anyway, the maintainers decided to patch 5.1 using a patch for 5.2
00:32 < impl> Revision 1.58.2.6.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
00:32 < Wombert> and that messed things up
00:32 < impl> That's 5.2.0
00:32 < impl> yes but my 5.2.0 is broken too Wombert
00:33 < impl> I wonder if some of their patches overwrite other ones
00:33 < Wombert> the advisory says all < 5.2.1 are affected
00:33 < impl> here's one
00:34 < kaos> well, the 5.2.1 package from feisty works ;)
00:34 < impl> no... hmmh
00:34 < impl> kaos: Duh :P
00:36 < Wombert> impl: help
00:36 < Wombert> $literalize = $this->getParameter('literalize', true);
00:36 < Wombert> $expandDirectives = $this->getParameter('expand_directives', false);
00:36 < impl> arrr, there is something greater at fault here
00:36 < impl> Wombert: ?
00:36 < Wombert> literalize makes 'true', 'false' etc in bools
00:36 < Wombert> expanddirectives calls replaceConstants which expands %core.config_dir% etc
00:36 < Wombert> I need a word for both
00:37 < impl> A method name?
00:37 < impl> or just a word?
00:37 < Wombert> a param name
00:37 < Wombert> to control that
00:37 < impl> oh both together?
00:37 < Wombert> yes
00:38 < impl> What do they have to do with each other?
00:38 < Wombert> literalize implies expand
00:38 < Wombert> hmh well then I'll go with literalize :p
00:38 < Wombert> thanks
00:38 < impl> It sounds okay to me :P
00:39 * impl traces PHP code
00:40 * kaos wonders what ilias response is to
00:40 < kaos> $dt2 = new DateTime('@' . time(), new DateTimeZone('Europe/Berlin'));
00:40 < kaos> e($dt2->format(DATE_RFC822));
00:40 < kaos> Tue, 06 Mar 07 22:39:57 +0000
00:40 * Wombert chuckles
00:42 < kaos> setting the timezone afterwards manually works tho
00:42 < kaos> (that's probably going to be his response too :P)
00:43 * kaos tests with latest cvs
00:43 < impl> yahururrururrrr
00:43 < impl> I know where the problem is now
00:43 < Wombert> shohohoot
00:43 < impl> Let me track it down properly first!
00:43 < impl> :D
00:45 < impl> http://cvs.php.net/viewvc.cgi/php-src/main/streams/streams.c?r1=1.82.2.6.2.9&r2=1.82.2.6.2.10&pathrev=php_5_2_1
00:45 < impl> *that's* what's not patched
00:46 < impl> Time to awaken -devel
00:47 < Wombert> kaos: new timezonedb version!
00:47 < kaos> again
00:47 < kaos> :<
00:47 < impl> How do you continue to screw up a timezone database?
00:47 < impl> It only changes like
00:47 < impl> once every 20 years
00:48 < Wombert> haha
00:48 * impl slaps stupid developers
00:48 < Wombert> it changes many times a year
00:48 < impl> How can it change so often? :P
00:48 < Wombert> mainly due to daylight saving times
00:48 < Wombert> the israelis decided it each year until recently, for instance
00:48 < impl> well, the US royally fucked that up, I'll give them that
00:49 < Wombert> or lsat year, brazil changed it with SIX(!) day notice in advance
00:49 < Wombert> and http://en.wikipedia.org/wiki/Y2K7
00:49 < impl> lol
00:50 < kaos> that timezone bug is even in latest svn
00:50 < kaos> speaks for the usage of the new date stuff :P
00:50 < Wombert> impl: and since you can do what you want in america even if you're a state in the federation...
00:50 < Wombert> http://en.wikipedia.org/wiki/Time_in_Indiana
00:51 < impl> What a fucked-up state
00:54 < kaos> http://lxr.php.net/source/php-src/ext/date/php_date.c#1761
00:55 < kaos> who can spot the error ? :P
00:55 < impl> I like how it's no longer const.
00:56 < kaos> seems like he is setting the timezone to some temp object
00:56 < kaos> but not the the final date object
00:57 < impl> 1803 timelib_update_ts(dateobj->time, tzi);
00:57 < impl> ?
00:57 < kaos> yeah
00:57 < kaos> check that method
00:57 < kaos> it only adjusts the time
00:57 < kaos> but doesn't set the timezone
00:57 < impl> 304 res += do_adjust_timezone(time, tzi);
00:58 < kaos> this doesn't do anything to the time object passed
00:58 < kaos> it only calculates the offset
00:58 < impl> You would think that
00:59 < impl> But it's a lie :P
00:59 < impl> http://lxr.php.net/source/php-src/ext/date/lib/tm2unixtime.c#237
00:59 < impl> which then calls: http://lxr.php.net/source/php-src/ext/date/lib/unixtime2tm.c#204
01:00 < kaos> hm
01:00 < kaos> true
01:00 < kaos> but it still doesn't work :P
01:00 < impl> Also true. :P
01:01 < impl> Your localtime isn't set to Europe/Berlin is it?
01:01 < kaos> its Europe/France
01:01 < kaos> (don't ask me why tho ;P)
01:02 < kaos> err
01:02 < Wombert> mmmh sweet
01:02 < kaos> europe/paris
01:02 < Wombert> ArrayObject won't convert multi dimensional arrays
01:02 < Wombert> how useful
01:02 < kaos> how about
01:02 < kaos> just dropping php
01:02 < kaos> and invest the next 3 months in a php->ruby converter
01:02 < kaos> :P
01:02 < Wombert> yes
01:03 < impl> Not Ruby :(
01:03 < kaos> suggest something better :<
01:03 < kaos> (NOT python ;P)
01:03 < impl> Perl!
01:03 < kaos> no
01:03 < kaos> thanks
01:03 < impl> bless $you;
01:04 < kaos> last time i tried doing hashes in perl
01:04 < kaos> i failed so miserably
01:04 < kaos> that i reverted back to c++
01:04 < kaos> to do some regex foo(!)
01:04 < kaos> (the joy of being forced to use something which is installed everywhere at work ;)
01:05 < kaos> took me like 30 minutes in c++ with QT
01:05 < kaos> after 3 hours trying out how to get hashes working in perl :P
01:05 < kaos> hah
01:05 < kaos> i got it
01:05 < kaos> LUA !
01:06 < impl> D::::
01:06 < impl> lua is shit
01:06 < kaos> well, we could use some of the c++ script interpreters :P
01:07 < kaos> then we can just compile it as well
01:07 < kaos> and get uber speed
01:07 < kaos> ok
01:07 < kaos> maybe brainfuck ? ;D
01:08 < impl> How about LaTeX
01:08 < kaos> you can program in latex ? O_o
01:08 < kaos> turbo pascal :D
01:08 < impl> You can... ish
01:09 < impl> It has basic constructs
01:09 < kaos> or OCaml
01:09 < impl> just using them makes you want to commit suicide
01:09 < kaos> Wombert knows how to use OCaml
01:09 < kaos> so we can just bug him ;p
01:09 < Wombert> oh god please not
01:09 < Wombert> and
01:09 < Wombert> thank god for unit tests
01:09 < Wombert> <3
01:09 < impl> \ifx#1\empty
01:09 < impl> %
01:09 < impl> \else
01:09 < impl> {\sf\uppercase{#1}}\\
01:09 < impl> \fi
01:10 < kaos> we don't need more for agavi, do we ? ;)
01:10 < kaos> and ppl don't have to write that silly html anymore
01:10 < kaos> we will just convert their latex to html
01:10 < impl> I need to finish my lab report
01:10 < kaos> maybe erlang ?
01:11 < kaos> then we could do cool ejabberd integration
01:11 < kaos> :D
01:19 < kaos> cool
01:19 < kaos> there is not even a section for date related bugs at bugs.php.net
01:20 < kaos> ah
01:20 < kaos> i just need to look harder *g*
01:25 < kaos> Incorrect CAPTCHA
01:25 < kaos> and the captcha i'm presented now
01:25 < kaos> is uhm
01:25 < kaos> having the chars outside of the image
01:26 < impl> good work, PHP devs!
01:26 < kaos> let's see if i can still guess it
01:26 < kaos> hah
01:26 < kaos> correct :D
01:26 < kaos> Are you sure that you searched before you submitted your bug report? We found the following bugs that seem to be similar to yours; please check them before submitting the report as they might contain the solution you are looking for.
01:26 < kaos> WTF
01:26 < impl> lol
01:27 < impl> It's never right
01:27 < kaos> and i have to enter that friggin captcha yet another time
01:27 < kaos> http://bugs.php.net/bug.php?id=40743 <-- I WON
01:28 < impl> :P
01:29 < kaos> now lets see how long it takes to get fixed
01:29 < kaos> my last (and the only other so far :P) bug report took only 6 months to get fixed
01:29 < kaos> and i even included a patch (!)
01:31 < impl> haha
01:31 < kaos> yeah, well, it was for the mssql extension
01:31 < kaos> which was completely broken in 4.2.0 and onwards due to a double free
01:31 < impl> I guess that makes it a bit more understandable
01:31 < kaos> yeah ;)
01:32 < kaos> luckily i had a patch
01:32 < kaos> and it was windows
01:32 < kaos> so fixing it was just copying the new dll to the server ;)
01:39 < kaos> http://de3.php.net/manual/en/function.date-create.php <-- hmm ... when thinking about this
01:39 < kaos> this COULD mean that the timezone is only used for parsing the date, right ?
01:39 < kaos> and not for the date object itself
01:40 < Wombert> derick has some stuff regarding timezones in the slides
01:41 < kaos> *checking*
01:41 < kaos> well, parse should have it then too
01:41 < kaos> so i don't think its the case
01:42 < kaos> but i bet, they will tell me to just include the timezone in the string *haha*
01:43 < kaos> A passed timezone object does not override a parsed timezone:
01:43 < kaos> but it should at least use it *g*
02:06 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi
02:16 < CIA-11> david * r1835 /branches/0.11/ (3 files in 3 dirs): (log message trimmed)
02:16 < CIA-11> More consistency for ReturnArrayConfigHandler:
02:16 < CIA-11> * Literalizing behavior now configurable via parameter 'literalize', default true, and also applied to values, not just attribute values, closes #463
02:16 < CIA-11> * ID attribute name (the one that you can use to make associative array keys, default 'name') now configurable via 'id_attribute', may be false, too
02:16 < CIA-11> * Attribute key names can be prefixed using 'attribute_prefix', default ""
02:16 < CIA-11> * Key used for the node value can be configured using 'value_key'
02:16 < CIA-11> * Multiple nodes of same name without the respective plural parent tag are now combined into an array, as if the plural parent existed
02:58 < Wombert> http://www.chilloutzone.de/files/06090901.html
03:26 < CIA-11> dominik * r1836 /branches/0.11/src/date/AgaviCalendar.class.php: add method to convert AgaviCalendar objects into phps native DateTime object. (only works in php 5.2 or greater per default)
03:29 < CIA-11> dominik * r1837 /branches/0.11/ (426 files in 2 dirs): update timezone database to olson2007c
03:37 < Wombert> omg
03:37 < Wombert> impl
03:37 < Wombert> :<
03:37 < impl> ?
03:37 < kaos> php ... the language from professionals
03:37 < kaos> for professionals
03:37 < kaos> HRHR
03:38 < impl> whttt
03:38 < impl> !
03:38 < Wombert> http://phpfi.com/213375
03:38 < Wombert> if I send a file
03:38 < Wombert> name="user'file[y'ay]"
03:38 < Wombert> note how
03:38 < Wombert> a) first level is not magic_quote()d
03:38 < Wombert> b) second level is magic_quote()d
03:38 < Wombert> tmp_name is not magic_quote()d
03:39 < Wombert> omfg
03:39 < impl> lol
03:39 < impl> <3 PHP
03:39 < kaos> you think we have enough force to build a REAL proper language ? ;)
03:40 < kaos> i actually already have the idea for a cool VM ;D
03:40 < kaos> (which would even allow unlimited recursion :D)
03:42 < kaos> real lambdas, etc
03:42 < kaos> and some proof of concept code i wrote even shows it could at least match php in speed (if not even be dramatically faster for some stuff like function calls ;P)
04:00 < kaos> http://slashdot.org/articles/07/03/06/1740234.shtml <-- haha :D
04:45 * Wombert yawns
04:45 < CIA-11> david * r1838 /branches/0.11/src/ (2 files in 2 dirs):
04:45 < CIA-11> filter magic quotes gpc. also correctly handles keys, depending on the type of
04:45 < CIA-11> the value, and clears _FILE properly, too. again, I am so very glad that the php
04:45 < CIA-11> manual cares to point out all these things... closes #468, which shall document
04:45 < CIA-11> my odyssey
04:45 < Wombert> that took almost two hours
04:45 < Wombert> for fuck's sake
05:01 < Alystair> ?
05:03 < impl> Wombert: I really think we're taking the wrong approach here
05:03 < impl> The right approach should be "Turn off magic_quotes_gpc"
05:03 < impl> We shouldn't have to hack in support for that crap :\
05:03 < Wombert> impl: one of Xylakant's client's ISPs switched it on all of a sudden
05:03 < Wombert> they can't switch it off
05:04 < impl> In .htaccess...
05:04 < impl> php_flag magic_quotes_gpc off
05:04 < Wombert> not supported everywhere
05:04 < Wombert> not with all SAPIs
05:04 < Wombert> etc
05:05 < impl> Well, other SAPIs can lick me
05:05 < impl> :(
05:06 < impl> blargh, that's such an ugly hack
05:06 * impl :(
05:07 < Wombert> the $_FILES is worst
05:07 < Wombert> it's not documented anywhere either...
05:07 < Wombert> man man man...
05:07 < Wombert> I'm glad I double and triple checked, at least we're now the only framework in the world with a clean implementation
05:08 < Wombert> symfony just copied code from a php.net comment :p
05:08 < impl> If I were you, I'd just say magic_quotes_gpc = off is a requirement :\
05:08 < Wombert> I wanted to do that, but Xylakant beat me to it
05:08 < Wombert> I hope he will remember that when we put up the website with a paypal donate button :p
05:08 < impl> I think I'm probably going to have to start patching Agavi myself to remove all these things I think are unnecessary overhead :<
05:09 < impl> And in the end there will be no noticable gain of speed
05:09 < Wombert> oooh then you shouldn't look at other frameworks
05:09 < Wombert> :p
05:09 < Wombert> yep
05:09 < Wombert> :p
05:09 < kaos> impl: guess why we want a php preprocessor so deeply
05:09 < impl> heh, good point
05:10 < Wombert> and we will write one
05:10 < Wombert> and it's gonna rock
05:11 < kaos> disable_stupid_hacks=true
05:11 < Wombert> trick: autoload handler will analyze the files
05:11 < kaos> disable_less_stupid_hacks=true
05:11 < Wombert> and write optimized versions
05:11 < Wombert> veeeery cool
05:11 < kaos> disable_php_retarded_devs_hacks=true
05:11 < kaos> disable_hacks=true
05:11 < kaos> *g*
05:15 < kaos> and the most important new setting
05:15 < kaos> disable_php=true
05:16 < impl> I'd let you guys in on top secret PHP information, but I can't, because it's top secret. :(
05:16 < impl> But good things for PHP may be on the way.
05:16 < CIA-11> david * r1839 /branches/0.11/CHANGELOG: changelog update
05:17 < kaos> good things for php ? someone is going to bomb some places ? ;)
05:17 < impl> Goood things, oh yes.
05:18 < Wombert> you tell me now, you hear me
05:19 < impl> nuh uh, you can't make me
05:19 < kaos> you could at least tell the time frame ;)
05:19 < kaos> so we know if we have to wait forever
05:19 < kaos> or only almost forever ;)
05:19 < impl> I dunno the timeframe
05:19 < kaos> ms is going to buy zend ? xD
05:29 < kaos> namespaces ?
05:29 < kaos> no wait
05:29 < kaos> a stab-a-php-dev-in-the-face machine
05:29 * impl stabs kaos in the face
05:30 < Wombert> it doesn't quite work yet
05:30 < Wombert> maybe that's why he's not allowed to tell us about it
05:30 < kaos> well, making ppl hot, but not letting the got to shot is not nice :<
05:30 < Wombert> yes
05:30 < Wombert> word
05:30 < kaos> *them*
05:30 < kaos> and *shoot*
05:30 < kaos> omg
05:30 < kaos> i should sleep now :)
05:30 < Wombert> me too
05:31 < kaos> nn
05:38 < v-dogg> huomenta
05:46 < Wombert> holy shit
05:46 < Wombert> why are you up already
05:46 * Wombert slaps v-dogg
05:47 < v-dogg> I've been up since 0430 and at the office since 0500
05:47 < Wombert> w-h-a-t?
05:47 < v-dogg> so please, no slapping, I'm not in the mood :)
05:47 < Wombert> are you insane or something
05:47 < v-dogg> probably
05:47 < Wombert> why up so early
05:47 < Wombert> deadline?
05:48 < v-dogg> they are doing some repairmants in the building and electricity will be cut for a while
05:48 < v-dogg> I came to shutdown everything not needed so that our UPS could handle the power cut
05:49 < v-dogg> there it went...
05:50 < Wombert> :)
05:50 < v-dogg> let's see how long our ups can handle this
05:50 < Wombert> ah power is down already?
06:00 < Alystair> impl is a dev for PHP? D:
06:00 < impl> doc maintainer
06:00 < impl> I don't think I've made a commit in over a year
06:01 < Alystair> heh
06:01 * Alystair thinks of insane asylums for some reason
06:18 < v-dogg> dammit
06:18 < v-dogg> the main ups handled the three-minute blackout fine
06:19 < v-dogg> but when the power was restored it blew one of the fuses
06:20 < v-dogg> and I blew the only spare fuse when I pluged it in without turning the main switch off first :)
06:23 < v-dogg> impl: really? didn't know that
06:23 < v-dogg> well, I guess everyone has at least one skeleton in their cupboard ;)
06:24 < impl> It's not like it's hard to get a CVS account
06:25 < impl> basically their only requirement is "speaks language they'll be working with"
06:25 < kaos> webhostings:/# date; host heise.de; date
06:25 < kaos> Wed Mar 7 04:24:24 UTC 2007
06:25 < kaos> heise.de A 193.99.144.80
06:25 < kaos> Wed Mar 7 04:24:30 UTC 2007
06:25 < kaos> does anyone else thing this is UNREASONABLE slow ? ;o
06:35 -!- Wombert [n=Wombert@dslb-084-056-062-208.pools.arcor-ip.net] has quit []
07:09 -!- impl [n=impl@httpcraft/php/impl] has quit [Client Quit]
07:21 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi []
08:07 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi
09:00 < horros_> huomenta
09:00 < raidman> huomenta
09:02 -!- Prometheus^ [n=Promethe@cs181164208.pp.htv.fi] has joined #agavi
09:02 -!- Prometheus^ [n=Promethe@cs181164208.pp.htv.fi] has quit [Remote closed the connection]
09:22 < horros_> http://www.superdickery.com/images/other/bettyandme16.jpg
09:22 < horros_> lol
09:25 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:29 < horros_> hahahahaha
09:29 < horros_> I love our notes on support calls.
09:30 < horros_> "blablabla, blablalbaslba. suspect user might not have saved the document before leaving. she had a pretty sexy voice. blablablabla"
09:30 < horros_> :D
09:47 < horros_> sql help anyone? me brain hasn't started yet :(
10:18 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:19 < RossC0> morning
10:23 * RossC0 kicks CIA-11
10:23 < CIA-11> ow
10:23 < RossC0> :)
10:25 < RossC0> horros_: your sql sorted?
10:26 < horros_> aye
10:26 < RossC0> cool
10:43 < RossC0> anyone with ubuntu 6.06 ?
10:43 * RossC0 wondering if there are any binaries for php5.2 or is it a complie by hand job?
10:58 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
10:59 < Xylakant> good morning
10:59 < ttj> Mornin'.
11:03 < v-dogg> huomenta #2
11:18 < RossC0> morning
11:20 < Xylakant> kaos: i see you've been digging around in the DateTime object :)
11:29 < horros_> what... the...
11:30 < horros_> "document.getElementById("progress") has no properties"
11:30 < horros_> a) it clearly is there. there's a div with 'id="progress"'
11:30 < horros_> b) it was working fine until I updated firefox to 2.0.0.2
11:35 -!- shoan_ [n=shoan@59.92.144.13] has joined #agavi
11:40 -!- digitarald [n=Miranda@91.Red-83-52-195.dynamicIP.rima-tde.net] has joined #agavi
11:48 -!- shoan [n=shoan@59.92.191.115] has quit [Read error: 110 (Connection timed out)]
11:49 < v-dogg> yey mootools people, where can I find the mootools version of prototypes (periodical)updater?
11:51 < digitarald> v-dogg
11:52 < digitarald> thats easy :) ... myfunction.periodical(delay, scope, array-of-arguments)
11:52 < RossC0> worship the Moo!
11:52 < RossC0> digitarald: I got a comment from Justin Palmers - he loves the Moo too!
11:53 < digitarald> smart guy ;)
11:53 < v-dogg> am I the only people in the world who finds both prototype's and mootools' documentation pathetic
11:54 < v-dogg> or is it just that I haven't actually found it yet
11:54 < RossC0> mootools has a lovely IRC room
11:54 < v-dogg> they are channels in IRC ;)
11:54 < digitarald> v-dogg, the docs at clientside are quiet good
11:54 < RossC0> no its a room - they have carpet and everything
11:55 < v-dogg> hehe
11:55 < digitarald> we are the only irc room at freenode
11:55 < digitarald> all others are channels
11:55 < RossC0> just don't try the nibbles - they've been there for months
11:55 < digitarald> :D
11:55 < RossC0> :D
11:55 < v-dogg> haha
11:55 < RossC0> ok I blame Gaim - it calls the rooms
11:55 < v-dogg> but IRC channel is not really any good for me because I can't even get started
11:56 < v-dogg> I have nothing to ask per se
11:56 < v-dogg> other than "please show me how it works. really."
11:56 < horros_> "for serious"
11:57 < digitarald> http://www.digg.com/programming/Mootools_1_0_Tutorial_the_Mootorial
11:57 < v-dogg> ok, now we are getting somewhere, ta
11:57 < digitarald> and some more: http://dev.mootools.net/wiki/externalResources
11:57 < digitarald> "some" links
11:58 < digitarald> its a bit hidden, i hope we have our blog soon
12:02 * horros_ clicks "update", thus enabling the 2.0.1 => 2.0.3 update package for a handful of clients
12:03 * horros_ braces himself for the incoming flood of support calls
12:42 < Alystair> horros_: my any key doesn't function anymore, halp!
12:53 < splatch> oi! :)
13:01 -!- Wombert [n=Wombert@dslb-084-056-021-199.pools.arcor-ip.net] has joined #agavi
13:03 < Xylakant> Wobert: I will remember you for #468 :)
13:03 < Xylakant> +m...
13:22 -!- Zibi [n=asd@80.4.120.163] has joined #agavi
13:22 < Zibi> elo
13:23 < v-dogg> afternoon
13:32 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
13:53 < _cheerios> +
14:01 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has joined #agavi
14:50 < kaos> Xylakant: i even filed a bug report ! (http://bugs.php.net/?id=40743)
14:50 < kaos> and did NOT get marked bogus :D
14:50 < Xylakant> yes, seen it
14:51 < Xylakant> not yet
14:51 < Xylakant> oh, it is assigned
14:51 < kaos> yeah ;)
14:51 < kaos> http://support.microsoft.com/?scid=kb%3Ben-us%3B930198&x=18&y=14 <-- OMG MS
14:51 < kaos> you will ONLY get that hotfix directly from the suppor
14:51 < kaos> t
14:51 < Xylakant> and i filed one for you: http://trac.agavi.org/ticket/474
14:52 < Xylakant> and the DateTime cast support for the validator: http://trac.agavi.org/ticket/475
14:53 < kaos> hah, lol at the month offset
14:53 < kaos> thats where i didn't look *g*
14:53 < kaos> only years, and time
14:53 < kaos> heh
14:53 < Xylakant> :)
14:53 < kaos> working deep at night = bad :<
14:53 < Xylakant> i just had to work a bit with Java Calendars so, this was easy to find
14:54 < Xylakant> it still seems somewhat akward to me that you have to construct a date string that gets converted back to an object
14:55 < Xylakant> but well, if this is the way things have to be...
14:55 < kaos> its ze php way obviously ...
14:56 < Xylakant> i wonder why they implemented Dates they way they did
14:56 < Xylakant> i mean, java tried that and it didn't work so they added calendars
14:57 < kaos> well, why should you learn from others mistakes
14:57 < Xylakant> why not learn from someone elses mistakes for a change?
14:57 < Xylakant> NIH...
14:58 < Xylakant> the problem is that they will never notice the mistake because someone will go and implement a calendar in php and everyone will use it instead of the php builtin
14:58 < kaos> one funny thing about that too is the discussion they had on the zf: http://www.nabble.com/Need-opinions---preferences-for-working-with-date-format-characters-tf3224696s16154.html
14:59 < kaos> where they really wanted to replace the iso format with the php one
14:59 < kaos> because uuuhm
14:59 < kaos> its more CONSISTENT
14:59 < kaos> i almost dropped from my seat when seeing that discussion
14:59 < kaos> (another, we are ze zend, we know better case ...)
15:02 < CIA-11> dominik * r1840 /branches/0.11/src/date/AgaviCalendar.class.php:
15:02 < CIA-11> datetime conversion fix
15:02 < CIA-11> closes #474
15:02 < CIA-11> thanks Felix Gilcher
15:04 < Xylakant> that was a pretty striking argument
15:04 < Xylakant> somehow i always preferred strftime() instead of date() to format dates
15:05 < Xylakant> it's easier to find the format string markers and it's locale aware...
15:05 < kaos> well ... yeah, that unix date format is SO superior to the iso standard
15:05 < kaos> that i can memorize the iso stuff completely
15:05 < kaos> while for the unix stuff i ALWAYS have to look up EVERYTHING
15:05 < kaos> just another case of NIH
15:06 < Xylakant> ISO is a completely different thing
15:06 < kaos> yeah, but you can at least remember it ;)
15:06 < Xylakant> i prefer sticking with the standard whereever possible
15:06 < Xylakant> indeed
15:06 < kaos> and i'd regard an ISO standard
15:06 < kaos> to be way more standard
15:07 < kaos> then some unix "frickel-kacke" ;)
15:07 < Xylakant> my point was that date() is inferior to strftime() already
15:07 < kaos> well, phps date functions are(were) just inferior in general ;)
15:07 < Xylakant> agreed
15:08 < kaos> i'm kind of glad that we ported that icu stuff to php
15:09 < Xylakant> ruby uses strftime() style syntax
15:09 < Xylakant> :/
15:09 < kaos> hmm, i'm thinkin about #475 atm ... I think it should be called 'datetime' (consistency ...)
15:10 < kaos> or maybe just native ?
15:10 < kaos> but suddenly switching to something with upper case
15:10 < kaos> seems kind of akward to me
15:10 < Xylakant> wombert proposed that
15:10 < kaos> i know
15:10 < Xylakant> it's actually the classname
15:11 < Xylakant> well, you could state that it is DateTime and silently lowercase it
15:11 < kaos> $dt = new datetime('@'.time());
15:11 < kaos> var_dump($dt);
15:11 < kaos> object(DateTime)
15:11 < kaos> so
15:12 < Xylakant> this is because php functions are case insensitve in general
15:12 < kaos> i know :)
15:12 < Xylakant> but the class is DateTime
15:12 < kaos> well, i'll go with the lowercase version now
15:12 < kaos> and get the slaps from Wombert for it afterwards ;D
15:13 < Xylakant> please lowercase the string so that all cases get accepted
15:13 < Xylakant> or i'll have to update my code :)
15:13 < kaos> yeah
15:14 < kaos> i'll just lowercase it everytime
15:14 < kaos> so you could put sTrIng as well *g*
15:14 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
15:14 < Xylakant> STRING would be my preferred spelling
15:14 < Xylakant> to indicate that it is sort of a constant
15:14 < Xylakant> but that's nitpicking
15:16 < horros> Wombert: humm, what was that about a docbook v5 config for xmlmind?
15:17 < CIA-11> dominik * r1841 /branches/0.11/src/validator/AgaviDateTimeValidator.class.php:
15:17 < CIA-11> add datetime cast support to the date validator
15:17 < CIA-11> closes #475
15:17 < CIA-11> thanks Felix Gilcher
15:22 < kaos> http://article.gmane.org/gmane.comp.php.zend.framework.general/9105 ... so who wanted to have helpers here ? use helpers but don't use brain, eh ? ;D
15:23 < Xylakant> great
15:23 < horros> kaos: hahaha
15:23 < horros> I always did reckon ZF was crap
15:24 < kaos> -was +is
15:24 < kaos> ;P
15:24 < horros> then again, there's not terribly much that has come from Zend that _ISN'T_ crap.
15:24 < horros> actually, I can't think of anything right now.
15:24 < horros> :)
15:24 < horros> oh
15:24 < Alystair> what about that engine everyone runs :P
15:24 < horros> the "Hello, World" -tutorial wasn't that bad, and short and simple enough so you can't fuck it up.
15:25 < horros> Alystair: what about it?
15:25 < Xylakant> considered and removed from the list, Alystair
15:25 < horros> It's C-R-A-P
15:25 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"]
15:25 < Alystair> neat
15:25 < kaos> its crap :P
15:25 < kaos> sprintf('%s', implode('', array(false))); crashed php 5.2.0
15:25 * Alystair doesn't know crap about crap so :)
15:25 < horros> kaos: hahaha
15:26 < kaos> but not if you stored either the result of array(false) or the result of implode into a variable
15:26 < Alystair> I'm afraid I may blink
15:26 < Alystair> and when I finish blinking agavi will become it's own coding system independant of php
15:26 < Xylakant> that's how php started out one day
15:26 < kaos> hehe
15:27 < kaos> i'll do ze engine :D
15:27 < kaos> you lot can do the api :P
15:27 < Alystair> like minded individuals said "THIS IS CRAP" and so, a lesser crap was born
15:27 < Xylakant> kaos: i'll change the description of http://trac.agavi.org/ticket/291 accordingly
15:27 < horros> kaos: oh, I reported a bug with iconv_strlen not being able to get the length of strings that were less than three chars too :)
15:28 < horros> kaos: guess what happened? it was marked BOGUS in about three nanoseconds
15:28 < Xylakant> Alystair: i don't know wether i'd agree with the "lesser" part of that statement, at least for php
15:28 < horros> because someone didn't have error_reporting on
15:28 * horros shakes head
15:29 < Xylakant> horros: why would you want the length of strings less than three chars longs? i mean, short is short is short, what's the matter.
15:30 < horros> I like how they clean up bug reports afterwards to remove proof of them being idiots :D
15:31 * Alystair must be one of the only people in the world that uses OneNote :\
15:31 < Xylakant> speaking of idiots, look what i found:
15:31 < Xylakant> $monthname = array( 1 => "Januar", 2 => "Februar", ... 12 => "Dezember");
15:31 < Xylakant> $news_date_readable = $real_date->format('%Y-%m-%d');
15:31 < Xylakant> $news_date_readable = substr($news_date_readable, 8, 2) . '. ' . $monthname[(int)substr($news_date_readable, 5, 2)] . ' ' . substr($news_date_readable, 0, 4);
15:32 < Xylakant> i only need to figure out who i have to cruzify for that code.
15:32 < v-dogg> haha
15:32 < Xylakant> off to go buy wood and nails
15:33 < horros> what the..
15:33 < kaos> lol horros
15:33 * Wombert slaps kaos
15:34 < Wombert> DateTime!
15:34 < v-dogg> horros: show us the ticket?
15:34 < Wombert> datetime could be anything...
15:34 < v-dogg> anything?
15:34 < horros> v-dogg: ticket? of the bug? I filed it like a year and a half ago
15:34 < kaos> Wombert: you know the other cast options ?
15:34 < Wombert> horros: uh... there... is a config for docbook 5, haven't tried it tho
15:35 < v-dogg> horros: ah, ok
15:35 < Wombert> yes, but DateTime is the "proper" native class name
15:35 < kaos> yes
15:35 < kaos> and you can use it
15:35 < horros> v-dogg: 5.0.2 or something
15:35 < kaos> and we will document it that way
15:36 < horros> Wombert: right, so nothing to worry about then
15:36 < Wombert> RossC0: http://trac.agavi.org/ticket/463#comment:1
15:36 < Wombert> horros: not at this point, no
15:36 < horros> right-o
15:49 < Wombert> http://groups.google.com/group/symfony-users/browse_frm/thread/f822b3a246f386fe
15:49 * Wombert chuckles
15:50 * horros giggles
15:51 < horros> Wombert: any pointers on what more I should write about routing?
15:51 * Xylakant watches the symphony commit mailing list waiting for agavi code to show up
15:51 < Wombert> don't think they'd dare to steal code again, Xylakant
15:51 < horros> Xylakant: It's bound to happen sooner or later :)
15:52 < horros> Wombert: you yelled at them for stealing code?
15:52 < Wombert> plus it would mean admitting that their framework is rubbish from a to z
15:52 < Wombert> a bit, horros
15:52 < Wombert> not really yell
15:52 < Wombert> I... say... respect fabien
15:52 < Wombert> and I really like dustin
15:52 < Xylakant> does anyone have experience in writing localized applications with a database backend
15:52 < Wombert> nice chap
15:52 < Wombert> Xylakant: mmmmmore specific please
15:52 < horros> Xylakant: elaborate, please?
15:53 < Xylakant> i'd be interested how you designed the database
15:53 < Wombert> damn I wanted to get a pizza
15:53 < Xylakant> basic example: i have a table that stores articles
15:53 < Xylakant> with a headline, text, image
15:53 < Xylakant> headline and text can be translated, the image not
15:54 < Xylakant> and the number of languages is unlimited
15:55 < Xylakant> so there are two basic approaches: add a field for any language that you might have - falls apart once the number of languages exceeds something like 3-5
15:55 < v-dogg> haha. telling symfony users "agavi is technically superior to symfony" always makes me feel like an arrogant bastard who is just looking for a fight
15:55 < v-dogg> but IT'S SO OBVIOUS! :D
15:55 < RossC0> Wombert: RossC0: http://trac.agavi.org/ticket/463 - it broke my code
15:55 < MrJeep> morning
15:55 < Xylakant> or store a row for each language and make the primary key a combined one (id, lang)
15:55 < RossC0> but now fixed :)
15:55 < MrJeep> Wombert : you win, my next computer will be a mac
15:56 < v-dogg> noooooooooo!
15:56 < horros> MrJeep: NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!
15:56 < v-dogg> :D
15:56 < horros> hahaha
15:56 * horros ^5s v-dogg
15:56 < MrJeep> in a few years
15:57 < Xylakant> I tend towards the second option, but i'd like to hear some opinions - maybe i'm overlooking another obvious option
15:57 < v-dogg> what's the data you are storing?
15:58 < Xylakant> basically text
15:59 < Xylakant> but things could get more complicated, i might have to add references to other articles as well etc.
16:00 < Xylakant> but let's stick with the simple example, id, headline, text, image
16:09 < Wombert> RossC0: reproduce case?
16:09 < Wombert> I'd really like to see that, maybe I missed something
16:10 < RossC0> Wombert: Its ok - it was my implementation
16:10 < Wombert> you sure? can oyu show me the xml?
16:10 < RossC0> sure
16:10 < Wombert> MrJeep: why the sudden insight? :)
16:10 < Wombert> Xylakant: interesting, never thought of the composite PKEy thing...
16:11 < Wombert> does that work easily with propel?
16:11 < Wombert> http://groups.google.com/group/symfony-devs/browse_frm/thread/e1be383a4c4e491c
16:11 * Wombert falls over
16:12 < MrJeep> Wombert : Well, I think this is right for me. I was looking to switch to linux but I could not since PS is not available for linux.
16:12 < RossC0> http://pastie.caboo.se/45319
16:12 < MrJeep> I think MacOsX is right for me since it's bsd based, ps is available
16:12 < MrJeep> from what I've seen at FutureShop it's fast
16:12 < Wombert> you will not regret it
16:12 < RossC0> ok whats the easiest way to a nested array into a single array
16:12 < Wombert> right, digitarald? Prometheus^? RossC0? Xylakant?
16:12 < MrJeep> except for that whole in my wallet after ;P
16:13 < Wombert> , eh, RossC0 ?
16:13 < horros> Wombert: hahaha
16:13 < horros> (re: symfony mailing list)
16:13 < Wombert> shoan_ uses a mac, too! and he likes it
16:13 < RossC0> yeah - I have simplified my code
16:13 < RossC0> no need for different xapian db's
16:13 < v-dogg> I think its a
16:13 < v-dogg> "good programming practice to use is_null() rather than === null"
16:13 < v-dogg> ok...
16:14 < Wombert> LOL?
16:14 < Wombert> AHAHAHA
16:14 < Wombert> lukas smith?
16:14 < Wombert> god damnit he's such a clueless guy
16:14 < MrJeep> and of couse I can dual boot it to windows to play games
16:14 < RossC0> I've updated the pastie with my new code
16:14 < v-dogg> Wombert: yep
16:15 < Wombert> ahahahaha
16:16 < Wombert> okay
16:16 < Alystair> ugh I'm still awake ._.
16:16 < Wombert> RossC0: you can still use that!
16:16 < Alystair> mornin Wombert
16:17 < Wombert> it's just that the value is in an array
16:17 * Alystair has been up writing 6 pages of docs
16:17 < Alystair> unrelated to agavi of course, *goes off topic*
16:17 < Xylakant> Wombert: no regretting having bought an apple?
16:17 < Xylakant> yes, you're right on that
16:17 < Xylakant> and i never regretted that my mother got one as well :)
16:18 -!- digitarald [n=Miranda@91.Red-83-52-195.dynamicIP.rima-tde.net] has quit [Read error: 131 (Connection reset by peer)]
16:18 -!- digitarald [n=Miranda@91.Red-83-52-195.dynamicIP.rima-tde.net] has joined #agavi
16:18 < digitarald> i think replacing all x === null with is_null this would be really a speed improvements
16:18 < Wombert> Xylakant: oh yes, convinced some friends to get a mac over the last few months, and damn, the phone is a lot more silent since ;)
16:19 < Xylakant> hey, in SQL you *must* use IS NULL, so php should
16:20 < Xylakant> for the sake of consistency enforce the same behaviour
16:20 < v-dogg> I think php devs make up stuff just for the sake of _in_consistency
16:21 < v-dogg> "hmm... there's a standard saying I should do this like this... I better find another way"
16:21 < Xylakant> v-dogg: some tags just for you:
16:21 < v-dogg> right back at you :)
16:22 < Xylakant> ok ;)
16:23 < Xylakant> Wombert, v-dogg: any comments on the database question?
16:23 < Wombert> the composite pkey idea is pretty cool imo
16:23 < Wombert> I wonder if we could integrate that into propel itself
16:23 < Wombert> to make things easier
16:23 < v-dogg> that's what I'd do, too
16:23 < Wombert> but there is some redundancy then of course
16:23 < Xylakant> propel supports composite PKs just fine
16:23 < v-dogg> but I don't have experience on this matter
16:24 < Xylakant> Wombert: there always is
16:24 < Wombert> I'd usually swap out the i18ned rows into a separate table but that gets naaaasty with propel
16:24 < Wombert> Xylakant: not if you have the i18ned data in a separate table
16:24 < Xylakant> yes, if all fields get filled in for a given language
16:25 * Alystair got his mom a mac before he got himself one ;[
16:25 < Alystair> She's very happy with the macbook, I'm waiting on an update to the MBP before purchasing one
16:26 < MrJeep> Alystair : What about getting one for me too ?
16:27 < Wombert> omg lukas smith...
16:27 < Alystair> when people stop buying domains they don't need I'll buy you one
16:27 < Xylakant> the advantage of the composite key is that you can always reference the id of the row and handle the whole thing transparently as one object, epecially when retrieving it from the database - only on query required
16:27 < Wombert> I say I'd guess is_null is factor ten slower than === null
16:27 < Wombert> his reply
16:27 < Wombert> "factor ten of what?"
16:27 < Wombert> "10x0 is still 0"
16:27 < Wombert> ...
16:29 < horros> ...
16:31 < kaos> cool
16:31 < kaos> then his code should be executed completely in 0 time as well
16:31 < kaos> wow
16:31 < kaos> what a smart guy *g*
16:31 < Xylakant> i want that optimizer he's using
16:32 < Alystair> die($code); :D
16:32 < kaos> rather simple: find -name *.php -exec echo "exit 0;" > {}
16:32 < kaos> ;D
16:32 < Xylakant> i'd use it on all those pesky mysql_query() function calls that take so long to run
16:32 < Xylakant> it's unbelievable, what a stupid function, always takes ages
16:32 < Xylakant> who wrote that crap.
16:38 < Alystair> you could always rewrite it ;)
16:38 < Wombert> yeah
16:38 < Wombert> and grab data from /dev/urandom
16:38 < Wombert> should be a bit faster ;)
16:39 < Wombert> oO that's a big ass spider sitting in the corner there...
16:39 < Xylakant> thanks for the hint. i'll try that
16:40 < Alystair> haha that would be art right over there
16:40 < kaos> you can select some offset in /dev/hd* too
16:40 < kaos> so your data keeps consistent ;D
16:40 < Alystair> pull a random selection of data instead of whatever the query asked for
16:40 < Alystair> and see what happens
16:42 < v-dogg> http://groups.google.com/group/symfony-devs/browse_thread/thread/a68d9f267ac11d51/917b23f0c165e63f#917b23f0c165e63f <- wtf is PHP_Beautifier
16:42 < kaos> lol
16:42 < kaos> i didn't click that thread
16:43 < kaos> because i thought he was referring to html tidy
16:43 < kaos> (i thought nobody would be THAT stupid suggesting to include a PHP beautifier)
16:43 < kaos> W T F
16:43 < v-dogg> what the hell do you need PHP_Beautifier for?
16:43 < Wombert> spider rescued :)
16:44 < MrJeep> PHP_Beautifier == echo "Hello Sexy!"
16:44 < kaos> (be warned ppl, writing such stuff to agavi ml can easily result in a lifetime mailing list ban *eg
16:44 < MrJeep> ?
16:49 < Xylakant> kaos: np, i'll use your mail adress
16:49 < kaos> cool
16:49 < kaos> i'm sick of all these ml traffic anyways *gggg*
16:50 < kaos> i think i really shouldn't read so much in the symfony/zf mailing lists
16:50 < kaos> this is just frustrating ;)
16:51 < kaos> or rather entertaining to some degree ... if it wasn't so frustrating that most ppl are just lemmings :<
16:51 < MrJeep> why exacly ?
16:51 < MrJeep> they write a bunch of nonsense ?
16:51 < Wombert> from looking at zf and symfony mailing lists...
16:51 < Wombert> I have my doubts that we will ever get a user base as large as theirs
16:51 < kaos> MrJeep: you just notice how dead stupid most ppl are
16:51 < Wombert> I guess too many people will just not understand
16:52 < MrJeep> Yeah but they have no reasons to think it's stupid if they haven't seen something better
16:52 < Xylakant> once in a lifetime i'd like to look something up on msdn and what: "Service Temporarily Unavailable"
16:53 < horros> sigh
16:53 < horros> the customer is always an asshole.
16:53 < kaos> Xylakant: have you ever found the information you wanted withhin 15 minutes in the msdn ?
16:53 < kaos> i usually don't
16:53 < Xylakant> horros: you're right on that
16:53 < horros> one of our customers wants a discount because "they've helped to develop the application"
16:53 < horros> hah
16:53 < Xylakant> kaos: i was following a direct link, that makes it easy :)
16:53 < kaos> hehe
16:53 < horros> they've reported bugs that we've known about, but we haven't released an update for them yet
16:54 < horros> oh
16:54 < horros> and they also called us and complained that nothing works...
16:54 < Xylakant> horros: so finding bugs accounts as "helping to develop"?
16:54 < horros> their ADSL-modem had broken.
16:54 < horros> Xylakant: apparently so.
16:54 < kaos> horros: thats definitly your fault then
16:54 < Xylakant> well, i'll charge MS, Apple, Relic, THQ, ....
16:55 < MrJeep> but I'm pretty sure those people on the mailing list are smarter than my "co-workers"
16:55 < Xylakant> Canon,
16:55 < MrJeep> I mean, more educated
16:55 < MrJeep> in the web domain
16:55 < kaos> maybe they are educated how to browse the web
16:55 < horros> OH OH OH
16:55 < kaos> but not how to program "it"
16:55 < MrJeep> I'm pretty sure they don't ask " What's the exctension of a Web 2.0 website" ?
16:55 < MrJeep> and the guy works in web design
16:56 < horros> don't forget that they reported that it'd be nice if the users could set a preferred "unit" that would come up as the first item on the main page!
16:56 < MrJeep> or another one :
16:56 < horros> how's that for development!
16:56 < _cheerios> mplayer mailinglists are fun. people call others names there, "you ignorant dick!" etc., then carry on the conversation normally.
16:56 < kaos> MrJeep: i had one guy in when doing my apprenticeship who would regard a site that looked like php nuke
16:56 < kaos> as A PHP SITE
16:56 < kaos> no matter what
16:56 < MrJeep> lol
16:56 < kaos> (oh, and he just had finished that apprenticeship)
16:57 < kaos> he didn't even get that basic server/client stuff
16:57 < kaos> (php = runs on server
16:57 < MrJeep> A guy a work with recently put in a submission (not sure for this word, but you know, someone ask for a website, you put a price on paper...)
16:57 < kaos> js = runs on client)
16:57 < MrJeep> "Extremly Light Website"
16:57 < kaos> after 3 friggin years of learning that stuff
16:57 < MrJeep> the guys codes everything with tables
16:58 < _cheerios> i am a programmer. i do html.
16:58 < MrJeep> _cheerios : still using tables to code everything ?
16:58 < _cheerios> nothing but
16:58 < kaos> hey, tables are cheap
16:58 < kaos> you don't have to money to use them
16:58 < kaos> :D
16:59 < Wombert> we should all get back to work :p
16:59 < Wombert> lunch ->
16:59 < kaos> maybe
16:59 < MrJeep> hehe, anyway, someone's telling me he's making a light website using tables doesn't know what is talking about in my mind
17:00 < kaos> i think about 90% in it business don't know what they are talking about ;)
17:00 < MrJeep> I'll have to agree on that
17:00 < _cheerios> maybe he needs to print it out, attach a brick to it and hit you in the head with it, for comparison.
17:00 < MrJeep> hum not 90% of business, 90% of SALESMANS
17:01 < MrJeep> Boy they don't know what they are talking about
17:01 < MrJeep> Especially when it's time to sell and extended warranty
17:01 < kaos> thats why they went the sales route ;D
17:01 < kaos> you just need to convice ppl of stuff
17:01 < kaos> you don't need to know anything
17:02 < kaos> just create a need for _something_ (whatever that could be ;D)
17:02 < MrJeep> like a mac
17:02 < MrJeep> ;P
17:02 < kaos> hehehe
17:03 < MrJeep> Anyway, I really dislike working with incompetent people
17:03 < MrJeep> I feel, for the first time, I'm with smart and competent people, on this channel
17:04 < Wombert> thank you sir
17:04 < MrJeep> np
17:04 < Wombert> I dare say we're all above average here ;)
17:04 < Wombert> anyway
17:04 < Wombert> really
17:05 < Wombert> lunch ->
17:06 < Wombert> oh
17:06 < Wombert> my oyster card arrived
17:06 < Wombert> that was quick
17:06 < Wombert> noooooo!
17:06 < Wombert> it's not an oyster card!
17:06 < Wombert> wtf!
17:07 < MrJeep> what is it then ?
17:07 < Wombert> booh
17:07 < Wombert> it's a normal paper ticket thing
17:07 < Wombert> :<
17:07 < Wombert> I wanted an oyster card
17:07 < Wombert> :<
17:07 < MrJeep> :S
17:08 < horros> Wombert: I have a (used) oyster card here somewhere!
17:08 < Wombert> well but I have the 7day travel card already
17:08 < Wombert> I thought they'd send an oyster
17:08 < Wombert> and then I could add some money to it with the CC
17:09 < Wombert> and then I wouldn't have to pay for the travel from/to airport
17:09 < Wombert> booh
17:09 < horros> Wombert: which airport?
17:09 < Wombert> heathrow
17:09 < horros> terravision was dirt cheap
17:09 * Wombert ponders
17:10 < horros> (from stanstead)
17:10 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
17:10 < Wombert> maybe I can get an oyster at heathrow and have the trafvelcard copied to it
17:11 < horros> hmm, wait, not super-dirt-cheap... 14 stanstead-london-stanstead
17:11 < Wombert> I'll grab lunch now and look into that later
17:12 < horros> actually... terravision isn't available at heathrow
17:15 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has quit []
17:27 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
17:30 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
17:31 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [Success]
17:35 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi
17:35 < Whisller> hi
17:59 < Xylakant> what happens if i have one parameter specified in the url and as a get or post param?
18:00 < Xylakant> typical example: paging with the option for the user to change the number of entries per page
18:01 < Xylakant> . /foo/1/20?entries=40 with the route matching ^/foo/(page:\d+)/(entries:\d+)
18:04 < horros> Xylakant: errm... I don't quite understand what you mean.
18:05 < kaos> the route parameter he precedence
18:05 < kaos> so the get/post will be ignored
18:06 < Xylakant> kaos: is there any way to retrieve the get/post?
18:06 < kaos> i don't think so
18:06 < Xylakant> ok
18:06 < horros> Xylakant: umm, why do you need to tack on parameters to get url?
18:07 < Xylakant> another, unrelated thing (more of a doc issue): i looked into the routing chapter and have not seen this: it might be worthwile to note that it is not allowed to use "module" and probably "action" as parameter names
18:07 < horros> also; why the smeg can't these people write proper emails with proper descriptions?
18:08 < Xylakant> horros: because the designer thought it would be cool to add a form where you can switch the number of entries per page
18:08 < horros> Xylakant: thanks, I'll add it
18:08 < kaos> Xylakant: actually it is allowed
18:08 < kaos> it would overwrite your action/module tho
18:08 < Xylakant> kaos: shure? last time i tried, things borke horribly
18:08 < kaos> lemme check
18:08 < horros> Xylakant: umm, generate the correct route with $ro->gen then?
18:08 < Xylakant> well, i'd call that "not allowed"
18:09 < Xylakant> horros: a dropdown thingy and a free input field for the page number
18:09 < Xylakant> so i'd have to use javascript etc..
18:09 < kaos> well, its there to mimic that /module/action pattern
18:10 < horros> Xylakant: aha.
18:10 < Xylakant> kaos: i'm fine with how it is, it was just sort of unexpected
18:10 < kaos> hmm, ok, nowadays it seems to get ignored
18:10 < horros> kaos: so nowadays you can't use action and module as parameter names in routes?
18:11 < kaos> horros: exactly
18:11 < kaos> or wait
18:11 < kaos> wtf
18:11 < kaos> module works
18:11 < horros> right. I shall add that to the docum...
18:11 < kaos> action not O_O
18:11 < horros> :O
18:11 < kaos> i need to check that further
18:11 < kaos> hold on a minute
18:12 < kaos> ah no
18:12 < kaos> i just can't type correctly
18:12 < horros> hah
18:12 < kaos> both are not allowed, yes
18:12 < horros> right.
18:12 < kaos> but you can
18:12 < kaos> do stuff like
18:12 < kaos>
18:13 < Xylakant> kaos: shure? when i had the error, that did not go all to well
18:13 < horros> kaos: right.
18:13 < kaos> i just tested it
18:13 < kaos> it ignored my module and action
18:13 < Xylakant> but that was a while ago, it just popped back in my mind
18:13 < kaos> i think we disabled that at some point
18:14 < horros> hmpf
18:14 < horros> there's a note already in the place where I thought I'd add it :(
18:14 < kaos> ok
18:14 < kaos> wait
18:15 < horros> hmmh?
18:15 < kaos> it just does not work
18:15 < kaos> when the route itself has a action/module parameter
18:15 < kaos> i think i need to slap someone ;P
18:15 < horros> kaos: haha
18:15 < horros> now I'm really confused
18:15 < horros> so can you or can you not have module / action as route parameters?-)
18:15 < kaos>
18:15 < kaos> works
18:16 < kaos> as soon as you add an action="anything"
18:16 < kaos> it doesn't work anymore
18:16 < horros> right
18:16 < horros> so the module and action attributes overwrite module/action in the route pattern.
18:16 < kaos> yes
18:17 < Whisller> Ehh I have a strange problem. On one serwer I see clear page O.o (in folder with index.php), without .htaccess is this same O.o but on other server everything is ok. Where can be a problem :>
18:17 < horros> and if there is no module/action attribute... you can have BOTH module and action parameters?
18:17 < kaos> yes
18:17 < horros> Whisller: pardon?
18:17 < horros> Whisller: turn display_errors on and crank up error_reporting
18:17 < horros> Whisller: alternatively look at your server's error log
18:18 < Whisller> this is not my server.
18:18 < Whisller> error_reporting is set
18:18 < Whisller> E_ALL | E_STRICT
18:18 < Whisller> *sets
18:19 < horros> Whisller: make sure display_errors is on
18:20 < Whisller> display_errors On
18:20 < horros> hmm.
18:20 < horros> you can't access the error log?
18:20 < Whisller> no
18:21 < Whisller> but agavi showed my errors when trying to connect with database
18:21 < Whisller> but now is nothing, clear page
18:23 < Whisller> I thought a problem is with decorator path, but no. With any stupid path this display clear page
18:23 < horros> hmm
18:24 < horros> Xylakant: you're felix, right?
18:24 < horros> (so I can get the credits right)
18:24 < horros> Whisller: try enabling display_startup_errors or whatever it's called
18:24 < horros> though
18:25 < horros> hmm
18:25 < Whisller> ok wait
18:25 < Zibi> lo i have a question
18:25 < horros> shoot.
18:25 < Zibi> if you can take a look http://pastie.caboo.se/45357
18:26 < Xylakant> horros: yes
18:26 < horros> Xylakant: right
18:26 < Zibi> why when i type url .../edit it goes through add action
18:26 < Xylakant> Whissler: are you perhaps including a file with an @include or @require that might contain a syntax error
18:26 < CIA-11> horros * r1842 /branches/0.11/docs/docbook/manual.xml: Added note about using action and module as named parameters in the route pattern. Thanks Felix Gilcher
18:26 < Whisller> ini_set('display_startup_errors', 'On'); and this same effect
18:27 < Whisller> clear page
18:27 < RossC0> I can't spot why that should be - Wombert / kaos are routing gurus :)
18:28 < Xylakant> Zibi: can you give us the full url
18:28 < horros> Zibi: that's peculiar...
18:29 < Zibi> http:/mysite.com/comment/edit
18:30 < Zibi> http:/mysite.com/comment/edit/23/34 works thou :(
18:30 < Xylakant> i could imagine taking the view action
18:30 < kaos> yeah
18:30 < kaos> thats what it does here
18:30 < kaos> you need to move the view route down
18:31 < Xylakant> Zibi: your regexp allows every char in the content id
18:31 < Xylakant> so the /edit gets swallowed by the content_id parameter of the .view route
18:31 < Zibi> ok i got it now
18:31 < Zibi> thanks
18:32 < Xylakant> you probably want \d+ as the pattern if your ids are ints
18:32 < kaos> Wombert
18:32 < kaos> bug bug bug
18:32 < kaos> the auto assigns don't work in the 404 template
18:44 -!- fastly [n=fast@194.42.125.16] has joined #agavi
18:49 < fastly> hi guys - is there any documentation re using propel with 0.11/
18:49 < fastly> ?
18:50 < horros> in what regard?
18:51 < horros> it's really only a matter of copying the propel-generated -conf.php to your config-directory and enabling PropelDatabase in databases.xml
18:51 < horros> ie
18:51 < fastly> ok, i'll give it a try
18:52 < horros> %core.app_dir%/config/project-conf.php
18:52 < fastly> thanks
18:52 < horros> default*
19:20 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
19:21 < Whisller> ehhh
19:21 < Whisller> on two servers have this same problem
19:21 < Whisller> clear page O.o
19:21 < horros> Whisller: it is usually a configuration error with PHP
19:21 < horros> or apache itself
19:22 < Whisller> http://www.biznesport.pl/up/test.php
19:22 < Whisller> first
19:22 < Whisller> http://jagna.nazwa.pl/test.php
19:22 < Whisller> second
19:23 < Wombert> does it work without rewrite, Whisller ?
19:24 < Whisller> Wombert, ?
19:24 < Whisller> with htaccess?
19:25 < horros> hehe
19:25 < horros> we are growing slowly but surely :)
19:25 < horros> granted there's two of me in here, but...
19:25 < Wombert> kaos: the default actions do not use configured renderers, that's why assigns don't work
19:25 < Whisller> on localhosc and xon.pl everything is ok.
19:26 < kaos> Wombert: uh ?
19:26 < Wombert> people are supposed to replace these anyway, they're just done with custom renderers so they always work even if the user changes his renderer to smarty or so
19:26 < Wombert> Whisller: "blank page" is not very helpful
19:26 < Wombert> you have to give me more information
19:26 < Wombert> first, please answer the question
19:27 < Wombert> does it work without the rewrite rule
19:27 < Wombert> the one that gets rid of index.php
19:27 < Whisller> Wombert, I don't give you blank page. There is phpinfo. Yes on "my" server this work with .htaccess from agavi package.
19:28 < Wombert> ...
19:28 < Wombert> the phpinfo does not help me
19:28 < Wombert> you say there is a blank page
19:28 < Wombert> can you please switch off the rewrite and see if it works then
19:29 < horros> hah, pgAdmin III is funny. the tip of the day just said "Did you know... That the answer to Life, the Universe and Everything is 42?"
19:29 < Whisller> Wombert, if a delete .htaccess will be this same.
19:29 < Whisller> *when I deleted
19:29 < Whisller> was
19:34 < Wombert> what is your error_reporting
19:34 < Whisller> E_ALL | E_STRICT
19:34 < Wombert> no
19:34 < Wombert> error_reporting 2039
19:35 < Wombert> that's not E_ALL | E_STRICT
19:42 < Whisller> really strange thing for me.
19:42 < Whisller> *this is
19:42 < Wombert> I bet it's the wrong error reporting
19:42 < Wombert> do you set it in index.php?
19:43 < RossC0> laters all
19:43 < Whisller> yes, error_reporting(E_ALL | E_STRICT);
19:43 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
19:45 < Wombert> well then do a echo "test" after each line
19:45 < Wombert> to see where the script aborts
19:46 < Whisller> Wombert, this execute it.
19:46 < Whisller> And print test
19:46 < Xylakant> cu later
19:46 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
19:47 < Whisller> hmm
19:47 < Whisller> wait
19:47 < Whisller> what...
19:47 < Wombert> test
19:47 < Wombert> Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/jagna/ftp/index.php:3) in /home/jagna/ftp/app/lib/agavi/storage/AgaviSessionStorage.class.php on line 102
19:47 < Wombert> so that works at least
19:47 < Whisller> yes
19:48 < Wombert> I bet it's because of suhosin
19:48 < Whisller> suhosin?
19:48 < Wombert> "This server is protected with the Suhosin Patch 0.9.6"
19:49 < Wombert> play around in the code, Whisller
19:49 < Wombert> echo "lala" and die(); in the index action
19:49 < Wombert> etc etc
19:49 < Wombert> try to isolate the problem so we can help you
19:49 < Whisller> ok
19:50 < Wombert> ah wait
19:50 < Wombert> it definitely aborts somwhere
19:50 < Wombert> because
19:50 < Wombert> there is no Agavi cookie sent back
19:50 < Wombert> no response is sent by agavi
19:50 < Wombert> hmmm
19:50 < Wombert> even worse
19:51 < Wombert> the Agavi cookie is sent by php itself
19:51 < Wombert> it must abort execution at some point
19:51 < Wombert> Test in action
19:51 < Wombert> works!
19:51 < Whisller> hmm
19:51 < Whisller> but this is in getDefaultViewName
19:52 < Wombert> okay
19:52 < Wombert> now test in the view
19:53 < Wombert> now in the template
19:53 < Whisller> does not work
19:55 < Whisller> In base view works.
19:55 < Wombert> okay
19:55 < Wombert>
19:55 < Wombert> in a template should work
19:56 < Wombert> my guess is that it's suhosin
19:56 < Wombert> can you disable that for a moment?
19:56 < Whisller> I don't know.
19:57 < Whisller> I have there only account
19:57 < Whisller> I read a help.
19:57 < Whisller> In manual is nothing about it
19:59 -!- Zibi [n=asd@80.4.120.163] has quit []
20:00 < Wombert> http://www.hardened-php.net/suhosin/index.html
20:02 < horros> ehm
20:02 * horros slaps propel
20:05 * horros scratches head in confusion
20:08 -!- digitarald [n=Miranda@91.Red-83-52-195.dynamicIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)]
20:13 * horros kicks propel
20:13 < horros> Wombert: *nudge*
20:15 < Whisller> Wombert, thanks. Ok I must change a server.
20:20 < Wombert> Whisller: what is the problem? :(
20:20 < Wombert> is it suhosin?
20:23 < Wombert> Whisller: if there is a bug or problem in agavi, we will fix it
20:23 < Wombert> but we must find it
20:24 < Whisller> Wombert, i don't know where is the problem. But one two servers where does not work agavi is Hardened-PHP Project so as you said this is a problem.
20:24 < Whisller> *in two
20:25 < Whisller> *on two
20:25 < Whisller> :/
20:25 < Whisller> sorry
20:25 < horros> Whisller: can't you get the admin to help you out so you can track down the problem?
20:26 < Whisller> brb
20:31 < Whisller> Ok. I send him a message. They answer me "We can't disable it. But which of options you want to disable?". But I don't know which of them is collide with agavi.
20:32 < Whisller> *collides
20:32 < Wombert> Whisller: I can look into it, but not before sunday
20:33 < Whisller> Wombert, no problem. I'm just interesting where problem is.
20:39 < Whisller> *curious
20:39 < Whisller> heh
21:05 -!- xalva [n=chatzill@87.216.189.141] has joined #agavi
21:07 -!- xalva [n=chatzill@87.216.189.141] has quit [Client Quit]
21:11 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 145 (Connection timed out)]
21:17 -!- Whisller [n=Whisller@217.97.146.67] has quit [" pa :)"]
21:20 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi
21:32 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi
21:34 < RossC0> heh - just read Whisllers problem - its not a hardened php issue - as I'm running the suhosin patch no problems
21:34 < RossC0> but will confirm the version tomorrow
21:35 < RossC0> hmm just checked his phpinfo and its 5.1.6 and I'm running 5.2.something
21:49 < horros> humm
21:58 < horros> my model seems to kill everything :(
21:58 < horros> bah
21:58 < horros> I'll get back to it tomorrow.
21:58 < horros> nn
21:58 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit ["Lähdössä"]
22:02 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit []
22:04 < v-dogg> what's this suhosin thingy?
22:05 < v-dogg> veikko.fi uses suhosin
22:05 < Wombert> www.hardened-php.net
22:05 < v-dogg> sure, but what's the issue with it?=
22:14 < splatch> on round in Enemy Territory? :)
22:16 < Wombert> v-dogg: dunno
22:16 < Wombert> it might be the cause of the problem he experienced
22:28 < fastly> i'm messing with propel for the first time, i generated by schema.xml and now tried running propel-gen and get the following eror:
22:28 < fastly> Execution of target "convert-props" failed for the following reason: C:\php\pear\data\propel_generator\build-propel.xml:534:12: Cannot write parsed template: Property file does not exist: D:\httpdocs\cyance\lib\propel/runtime-conf.xml
22:28 < fastly> [phingcall] C:\php\pear\data\propel_generator\build-propel.xml:534:12: Cannot write parsed template: Property file does not exist: D:\httpdocs\cyance\lib\propel/runtime-conf.xml
22:28 < fastly> any ideas?
22:29 < fastly> all the other classes were generated
22:29 * Wombert [21:28] fastly: [phingcall] C:\php\pear\data\propel_generator\build-propel.xml:534:12: Cannot write parsed template: Property file does not exist: D:\httpdocs\cyance\lib\propel/runtime-conf.xml
22:44 < fastly> sorted...
23:03 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi
23:06 < impl> Re: [regression] stream_get_wrappers broken from Martin Pitt at 2007-03-07 12:14:04 UTC
23:06 < impl> Fixed packages for all releases prepared, tested, and uploaded. Will publish once everything is built.
23:08 -!- Wombert [n=Wombert@dslb-084-056-021-199.pools.arcor-ip.net] has quit []
23:22 -!- fastly [n=fast@194.42.125.16] has quit []
23:22 -!- Wombert [n=Wombert@dslb-084-056-021-199.pools.arcor-ip.net] has joined #agavi
23:23 < Wombert> impl: cool
23:33 -!- Prometheus^ [n=Promethe@cs181164208.pp.htv.fi] has joined #agavi
--- Day changed Thu Mar 08 2007
00:15 -!- digitarald [n=Miranda@62-43-155-250.user.ono.com] has joined #agavi
00:19 -!- digitarald [n=Miranda@62-43-155-250.user.ono.com] has quit [Client Quit]
00:33 < MrJeep> Wombert : what's the advantage of eztemplate compared to Smarty ?
00:33 < MrJeep> sounds pretty similar on the first look
00:42 < kaos> MrJeep: definitly the internals
00:43 < kaos> i haven't looked to deeply into ez template
00:43 < kaos> but what i saw looked extremely good
00:43 < kaos> in regards to extensibility
00:43 < kaos> and internal design
00:43 < Wombert> php5 only
00:43 < Wombert> clean architecture
00:43 < Wombert> etc
00:43 < kaos> ez template is build similar to how a real language parser would be built
00:44 < Wombert> MrJeep: I'll write a driver for agavi soon, but you can do it too if you like
00:44 < kaos> i think you can easily disable parts of it
00:44 < kaos> to create a sandboxed template environment
00:44 < kaos> hook into _everything_
00:45 < kaos> smarty mostly only does a template->php conversion
00:45 < kaos> while ez first builds something which resembles the structure of your template
00:46 < kaos> which is then translated into php code
00:46 < kaos> i think you could even change the meaning of additions in code like {if($foo+$bar)}
00:47 < kaos> (i'm not 100 sure tho, but that was my impression from looking at the design, etc)
00:59 < MrJeep> kaos, Wombert : Great :)
01:00 < MrJeep> and I have a poker game in an hour :D
01:00 -!- Prometheus^ [n=Promethe@cs181164208.pp.htv.fi] has quit []
01:00 < kaos> gl :)
01:01 < kaos> hope you have more luck then i usually
01:01 < kaos> everytime i get AA or something like that either someone else gets a better hand
01:01 < kaos> or everyone folds before the flop already ;D
01:01 < MrJeep> luck or not, it's first for fun
01:01 < MrJeep> lol
01:01 * Wombert remembers that KoQ episode
01:01 < MrJeep> tonight it's a small cash game
01:01 < MrJeep> BB and SB are 0.05$
01:02 < MrJeep> no limit
04:10 * Wombert yawns
04:48 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
05:17 < CIA-11> david * r1843 /branches/0.11/src/translation/AgaviDateFormatter.class.php: fixed regression in DateFormatter that might cause ignoring of the 'format' parameter
07:37 -!- Wombert [n=Wombert@dslb-084-056-021-199.pools.arcor-ip.net] has quit []
08:16 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has quit [Remote closed the connection]
08:18 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has joined #agavi
08:25 < v-dogg> huomenta
08:31 < horros_> huomenta
08:32 < liutis> wazaaaaa :)
08:33 < horros_> nonono
08:33 < horros_> the official greeting in the mornings on this channel is "huomenta"
08:33 < horros_> :)
08:34 < liutis> ok next time :)
08:34 < horros_> :)
08:36 < horros_> merge time!
08:36 < horros_> :(
08:40 < liutis> huomenta
08:40 < liutis> difficult word :)
09:10 -!- digitarald [n=Miranda@62-43-158-159.user.ono.com] has joined #agavi
09:20 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:22 < _cheerios> huomenta
09:23 < horros_> huomenta
09:28 < v-dogg> liutis: first time here?
09:28 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi
09:46 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)]
10:09 < liutis> v-dogg, no not really
10:11 < v-dogg> ok :)
10:23 < v-dogg> heh, I just opened a pre-historic project that uses ezpdf
10:24 < v-dogg> and apparently I have used a pretty nasty hack to get over the fact that it doesn't handle special chars too well...
10:24 < horros> v-dogg: want my patch that fixes problems with it not able to display euro-signs and not calculating char widths right?-)
10:25 < horros> my hack wasn't that terribly nasty: if there's a char it doesn't know, it just shoves it into the PDF and adds 700 to the char widht :)
10:25 < v-dogg> wanna know how I have solved this... uhm... many years ago?-)
10:26 < horros> as for euro-signs... str_replace($string, '€', chr(0x80)) -- et voilá
10:26 < horros> v-dogg: yes please :)
10:26 < v-dogg> I haven't worried about the euro sign, only
10:27 < horros> speaking of which... I need to test if my hack works with haceks and carets
10:27 < v-dogg> $scandChars = array('', '', '', '', '', ''); $replaceChars = array('a', 'A', 'o', 'O', 'a', 'A'); and before the width is calculated: str_replace($scandChars, $replaceChars, $txt))
10:27 < horros> lol
10:28 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:28 < RossC0> what-o!
10:31 < horros> crap
10:32 < horros> it still chokes on haceks, breves and circumflexes
10:32 < horros> :(
10:32 < RossC0> ^ I don't even know what that means!
10:33 < horros> ^ is a circumfles
10:33 < horros> :)
10:33 < horros> a hacek is a ^ but upside down
10:33 < horros> and a breve is a ^ but upside down and smooth (sort of like a parenthesis tilted 90 degrees)
10:34 < v-dogg> uh... feck... my data is utf-8 and if I remember correctly ezpdf doesn't take it too well...
10:34 < horros> v-dogg: yep, it doesn't.
10:34 < horros> v-dogg: h4x the string function and add iconv('UTF-8', 'ISO-8859-1', $text)
10:35 < horros> stupid ezpdf
10:35 < horros> stupid háček
10:35 < v-dogg> yeah, that's why I used Zend in another more recent project
10:50 < v-dogg> horros: I'd be glad to use your ezpdf patch
10:51 < horros> you can have it when I manage to get it to print háčeks :)
10:52 < v-dogg> heh
10:52 < horros> hmm
10:53 < horros> I do think I'm SOL when it comes to that..
10:56 < horros> stupid diacritics+
10:59 < horros> hmm, yes
10:59 < horros> I don't think I'll get all the diacritics to work
11:00 < horros> as they're in ISO-8859-2 and not ISO-8859-1
11:00 < horros> bah
11:01 < horros> why can't the whole world just use unicode?
11:03 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi
11:05 < horros_> v-dogg: where do you want the patch?
11:07 < splatch> oi boys! =)
11:08 < v-dogg> horros_: c:\workspace\
11:09 < v-dogg> but if you send it to me to mail@veikkomakinen.com I can put it there myself
11:12 < horros_> v-dogg: zere you go
11:12 < v-dogg> thank you very mucho
11:13 < horros_> np
11:14 < horros_> v-dogg: you need to either convert the class file to utf-8 or change the str_replace() in addText(), otherwise it'll break :)
11:16 < horros_> (and naturally shove iso-8859-15 text to the function)
11:16 < horros_> (or h4x it and do the iconv inside the addtext and just use utf-8 for everything)
11:16 < horros_> ()
11:17 < v-dogg> uhm... tortoise bitches about revision numbers
11:18 < v-dogg> any chance I could get the whole file?
11:18 < horros_> sure
11:18 < horros_> sec
11:19 < horros_> there you go
11:20 < v-dogg> thanks
11:21 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)]
11:23 -!- Barfusslaeufer [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
11:23 < Barfusslaeufer> good morning
11:26 < RossC0> morning
11:35 -!- shoan [n=shoan@59.92.175.141] has joined #agavi
11:41 -!- shoan_ [n=shoan@59.92.144.13] has quit [Read error: 145 (Connection timed out)]
11:44 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has joined #agavi
11:48 -!- Barfusslaeufer [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit [Read error: 110 (Connection timed out)]
11:53 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
11:54 -!- Zibi [n=asd@80.4.120.163] has joined #agavi
11:56 < Zibi> helo
12:17 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi
12:17 < Whisller> hi.
12:17 < RossC0> heh Whisller & Zibi
12:23 < RossC0> heh Whisller - you fix your server issues?
12:24 < RossC0> I'm running Agavi with Suhosin Patch 0.9.6.2 on php5.2.1 no problems
12:24 < Whisller> RossC0, yes...I change server ;)
12:25 < Whisller> I don't know where is a problem. So I can't fix it.
12:26 < RossC0> wierd
12:27 -!- fastly [n=fast@AC8E70B7.ipt.aol.com] has joined #agavi
12:28 < Whisller> yes.
12:29 < Whisller> RossC0, but server execute agavi. We tested it yesterday with Wombert, but does not show template.
12:30 < splatch> Whisller: :]
12:30 < Whisller> hi splatch
12:30 < Whisller> How article?
12:32 < splatch> i send it, but i haven't got an response
12:32 < splatch> :|
12:32 < Whisller> uuu
12:32 < v-dogg> I find it hard to believe that suhosin would interfere agavi's execution
12:33 < RossC0> v-dogg: it doesnt for me - so something else is borked
12:33 < v-dogg> I use it too
12:33 < RossC0> unless it was that version of the patch
12:33 < Whisller> v-dogg, http://jagna.nazwa.pl/ http://jagna.nazwa.pl/test.php :)
12:33 < v-dogg> "This server is protected with the Suhosin Patch 0.9.6.2"
12:35 < Whisller> And this same module on server whitch does not support suhosin http://testowy.bitmar.net/
12:37 < v-dogg> and you are sure they are identical?
12:37 < Whisller> v-dogg, copy past :)
12:37 < Whisller> I only change a database configuration
12:38 < Whisller> *paste
12:56 -!- digitarald [n=Miranda@62-43-158-159.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
12:58 < horros_> need... more... coffeeee
12:58 -!- horros_ is now known as horros
13:02 < horros> hmm
13:02 < horros> why is it that every time there's a commit the translation timezone data files are updated?
13:04 < _cheerios> "Varusmiehet kärähtivät ryhmäseksistä" :D
13:05 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi
13:10 < v-dogg> haha
13:11 < Prometheus^> wow :D
13:11 < Prometheus^> that's just too funny
13:11 < Prometheus^> I'll be doing my army service starting july, oh boy
13:12 < ttj> WTF?
13:12 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 145 (Connection timed out)]
13:13 < horros_> what's funny?
13:13 < horros_> my internjet broke again.
13:14 < Prometheus^> _cheerios: "Varusmiehet kärähtivät ryhmäseksistä"
13:14 < Prometheus^> that ^
13:14 < horros_> what the
13:14 < Prometheus^> desperate times call for extremely desperate measures, I guess o_O
13:15 < horros_> lol
13:16 < horros_> "- Tapahtumaan liittyvät rikosepäilyt ovat puolustusvoimiin kohdistuva vahingonteko, sotilaan sopimaton käyttäytyminen, palvelusrikos sekä mahdollisesti niskoittelu, kertoo Karjalan Prikaatin esikuntapäällikkö, everstiluutnantti Hannu Hyppönen"
13:16 < Prometheus^> :D
13:16 < Prometheus^> good luck with that one boys
13:21 < v-dogg> hey... how do I manually set the output type these days?
13:22 < v-dogg> in view::initialize, yes, but how
13:22 < v-dogg> let's see if it's in ze mail...
13:23 < horros_> v-dogg: in ze route
13:23 < v-dogg> no no, I need this for testing and I wan to do it just for SuccessView
13:24 < v-dogg> normally this action send ze pfd as email but for testing I want it to show it
13:24 < fastly> hey guys, i have a quick propel question: i've managed to generate all propel classes and project-conf.php file and added the following to databases.xml:
13:24 < fastly>
13:24 < fastly>
13:24 < fastly> %core.app_dir%/propel/build/conf/cyance-conf.php
13:24 < fastly>
13:24 < fastly>
13:24 < fastly> default="propel" ...
13:25 < v-dogg> fastly: propel 1.2 or 1.3?
13:25 < fastly> but the classes don't seem to be auto-loading
13:25 < fastly> 1.2
13:25 < v-dogg> you need to list them in autoload.xml
13:25 < horros_> for propel 1.2 you have to add them manually to autoload.xml
13:25 < v-dogg> with 1.3 you don't
13:25 < fastly> yuk... i'll try 1.3 thanks!
13:26 < v-dogg> it's not that big of a job to add them as you go
13:26 < v-dogg> but 1.3 uses pdo so it's a bit faster too
13:37 < horros_> hmm
13:37 < horros_> I should write a "teach yourself agavi in n+1 days" -tutorial :)
13:39 < Prometheus^> ;)
13:41 < v-dogg> first you should write a tutorial about caching
13:42 < horros_> I don't know anything about caching :)
13:42 < v-dogg> me neither
13:44 < v-dogg> neither does ze definitive guide nor ze cookbook
13:46 < _cheerios> http://www.megadeth.com/slw/sleepwalker.mp3 new Megadeth sounds better than anything I've heard from Metallica recently
13:46 < v-dogg> I was going to spend the weekend writing docs but missus had to cancel the first aid course she was going to hold
13:46 < v-dogg> so I don't have the weekend to myself after all
13:47 < horros_> either a) the manual is wrong or b) the build process is b0rked
13:47 < horros_> C:\Projects\agavi_0.11>phing package-pear
13:47 < horros_> ...
13:47 < horros_> lots of stuff
13:47 < horros_> ...
13:48 < horros_> copying 1078 files..
13:48 < horros_> blablabla
13:48 < horros_> C:\Projects\agavi_0.11>cd build
13:48 < horros_> C:\Projects\agavi_0.11\build>pear package
13:48 < horros_> Unable to open package.xml
13:48 < horros_> Cannot package, errors in package file
13:48 < horros_> there's a c-option too
13:48 < horros_> and a d
13:48 < horros_> namely c) I'm blind or d) I'm stupid
13:52 -!- fastly [n=fast@AC8E70B7.ipt.aol.com] has quit [Read error: 110 (Connection timed out)]
13:52 < Prometheus^> horros_: I ran in to that too
13:52 < Prometheus^> so I used the pear
13:53 < horros_> I'll have a look at build.xml
13:53 < v-dogg> http://trac.agavi.org/wiki/BuildingAgaviPearPackage
13:53 < v-dogg> horros_: pear channel-discover pear.agavi.org
13:54 < v-dogg> "Pear refuses to generate the package file if it doesn't know about the channel"
13:54 < horros_> aha
13:54 < horros_> that should be in ze manual
14:08 -!- digitarald [n=Miranda@62-43-158-159.user.ono.com] has joined #agavi
14:57 -!- shoan [n=shoan@59.92.175.141] has quit [Read error: 110 (Connection timed out)]
15:01 -!- Wombert [n=Wombert@dslb-084-056-007-226.pools.arcor-ip.net] has joined #agavi
15:05 < RossC0> lo Wombert
15:17 < Wombert> hi
15:21 < v-dogg> 'ello!
15:22 < CIA-11> david * r1844 /branches/0.11/src/config/AgaviReturnArrayConfigHandler.class.php: replace constants in ID attributes ('name'), too (but don't literalize bools etc), refs #463
15:37 < Wombert> v-dogg: I'll write caching and fpf docs next week
15:37 < v-dogg> awesome
15:40 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
15:40 < Wombert> these two would be most useful at the moment I guess
15:41 < Wombert> v-dogg: $this->container->setOutputType($controller->getOutputType('zename')); should do ze trick
15:42 < v-dogg> cool, thanks
15:44 < CIA-11> v-dogg * r1845 /branches/0.11/docs/docbook/manual.xml: About PEAR package building
15:46 < v-dogg> zere you go, horros_
15:47 < horros_> cheers
15:51 < _cheerios> i'd missed this totally, awesome flickr set TEH INTERNETS http://www.flickr.com/photos/goopymart/297048522/in/set-72157594362502502/
16:09 < RossC0> I now have pwnd as my desktop :)
16:15 < Wombert> oh damn that set is so ace
16:15 < Wombert> gotta blog that
16:20 < RossC0> ok whats orly and nsfw ?
16:20 < Xylakant> oh really?
16:21 < horros_> RossC0: nsfw == not safe for work
16:21 < Xylakant> and "not safe for work"
16:21 < RossC0> ah ok :)
16:21 < Wombert> I don't get the TEH
16:21 < MrJeep> RossC0 : Sounds like you are watching p0rn at work ;P
16:23 < RossC0> MrJeep: No I leave that to Zibi
16:24 < MrJeep> hehe :P
16:26 < horros_> home time
16:26 * horros_ &
16:27 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit []
16:40 < RossC0> anybody use http_load for benchmarking?
16:41 < RossC0> I keep getting byte count wrong when running a test
16:43 < Wombert> exec time filter?
16:44 < Wombert> or something else that creates different output each time?
16:45 < RossC0> ah ok :-)
16:45 < RossC0> cool
16:46 < RossC0> my app seems to have slowed down recently and trying to identify why / where
16:58 < RossC0> whats the syntax for a forward - I want to forward to the 404 or Secure view
16:58 < RossC0> * action even
16:59 < RossC0> also how'd I forward to a default action i.e. 404 without knowing the module / action name
17:01 < Wombert> AgaviConfig::get('actions.error_404_module');
17:02 < Wombert> and _action
17:02 < v-dogg> AgaviConfig to the rescue
17:02 < v-dogg> yeah
17:03 < RossC0> huzzah!
17:03 < RossC0> and actions.error_secure_module?
17:03 < v-dogg> actions.secure_module
17:04 < v-dogg> http://trac.agavi.org/wiki/ConfigurationDirectives
17:04 * Whisller is after dinner, mniam
17:06 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
17:11 < RossC0> so how'd I forward in the view?
17:12 < RossC0> do I need to create a forward container?
17:12 < Wombert> return $this->createForwardContainer(...);
17:12 < Wombert> I have a to404() method in the base view that creates and returns it
17:12 < Wombert> and also sets is_slot to true on the container if the current action is a slot
17:12 < Wombert> so I can do return $this->to404();
17:14 < RossC0> hmm cool
17:15 < RossC0> to set is_slot - you just add a 3rd arg array('is_slot'=>true); ?
17:15 < Wombert> no
17:15 < Wombert> that flag is set on the container, not as a parameter
17:16 < Wombert> public function to404()
17:16 < Wombert> {
17:16 < Wombert> $c = $this->createForwardContainer(AgaviConfig::get('actions.error_404_module'), AgaviConfig::get('actions.error_404_action'));
17:16 < Wombert> $c->setParameter('is_slot', $this->container->getParameter('is_slot', false));
17:16 < Wombert> return $c;
17:16 < Wombert> }
17:16 * RossC0 copies
17:16 * RossC0 pastes
17:16 < RossC0> :-)
17:16 < Wombert> of course, my 404 view then shows different templates depending on whether or not it's a slot
17:16 < Wombert> a slot 404 just gets
17:20 < Wombert> Dear David,
17:20 < Wombert> Thank you for your email. Unfortunately Oystercards are only avialble in advance to UK residents, at the present time, and so this service always issues a paper ticket. If you wish to cancel the existing order and purchase an oystercard in person when you arrive in London, this is fine. There is a £2 admin fee for the cancellation of the order, and the ticket must arrive back with us prior to it's start date.
17:20 < Wombert> As we are only an agent on behalf of TFL, we do not have the facility to issue oystercards, but I hope that the information above helps. The oystercards are available from any London Underground station booking office, or from the TFL helpdesk at Heathrow Airport.
17:20 < Wombert> booh
17:20 < Wombert> that doesn't answer my question :<
17:20 < ttj> What was your question and what's this about?
17:21 < Wombert> well I wanted to know if I can have the paper ticket transferred to an oyster card
17:25 < RossC0> Wombert: I reckon you will be able to
17:26 < RossC0> you'll have to get a photocard as well
17:26 < Wombert> RossC0: as far as I know, that's not needed for a seven-day travelcard
17:26 < RossC0> ah but for an oyster it is
17:27 < RossC0> and probably a travel card - but I always had monthly or yearly
17:27 < Wombert> my idea was to order an oyster card with a travelcard precharged, then add credit using my credit card for the day the travelcard doesn't cover plus the way from/to heathrow
17:27 < RossC0> they tie the photocard id with the oyster card
17:27 < Wombert> but that doesn't work it seems :< they sent me a paper ticket
17:27 < Wombert> ah well
17:40 < Xylakant> heya, are there any examples of how to use the consolerequest?
17:45 < Wombert> haha
17:45 < Wombert> open it and see for yourself :)
17:46 < Xylakant> too bad.
17:48 < Xylakant> well, i guess that has to be our contribution to agavi then :)
17:50 < Alystair> http://www.getacoder.com/projects/operating_system_42879.html
17:50 < Alystair> gahaha
17:53 < Prometheus^> rofl
17:53 < Prometheus^> I like those ids
17:53 < Prometheus^> bids
17:53 < Prometheus^> "
17:53 < Prometheus^> Hello... We are web & flash developer in India. We are also SEO Expert & also expert in web applications and Yahoo Store Development & Design. We have above 6 years of experience for this field. Our company will give you best quality work. "
17:53 < Prometheus^> you gotta be shitting me
17:53 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:54 < Alystair> haha
17:54 < Prometheus^> I like how the indians are offering to do it for $250
17:54 < Prometheus^> I'm sure that would be one quality OS
17:54 < Wombert> that's 250 THOUSAND
17:55 < Alystair> that's enough for 2 full time super-awesome american coders for a year each ;[
17:55 < Wombert> or 200 indian programmers ;)
17:55 < Alystair> yes, in VB and ASP
17:55 < Alystair> ... wait that won't work, paradox.
17:55 < Prometheus^> Wombert: I'm pretty sure it was just $250 without the added zeros ;)
17:56 < Wombert> no
17:56 < Wombert> look at the day count
17:56 < Prometheus^> ooh
17:56 < Prometheus^> right
17:56 < Prometheus^> :D
17:56 < Prometheus^> my bad :)
17:56 < Alystair> see, this is why you're not an accountant Prometheus^
17:56 * Alystair asks you to sign this check here
17:56 < Prometheus^> yeah :)
17:57 < Prometheus^> I should become a professional flash designer hater
17:57 < Prometheus^> I would be top notch in that job
17:58 < Alystair> seriously are there any good coders in India? I mean I hate to discriminate
17:58 < Alystair> but any group applying from India was really, really bad. Maybe all the good coders move to someplace else?
17:59 < Prometheus^> Even though this is going to make sound like a racist, I think the answer is no
17:59 < Prometheus^> they program like robots
17:59 < Alystair> dang
18:00 < Prometheus^> I swear, once they start programming, they turn in to these robots with 0 creativity
18:00 < Xylakant> wombert: do you have any specific ideas in mind how the console stuff is supposed to work?
18:01 < Wombert> I wanted to do two things
18:01 < Wombert> - a consolerequest/routing/response/wahtever it needs for "myapp.php --arg lala" etc
18:01 < Wombert> - an interactiveconsolecontroller/request/lala for a trac-style console
18:02 < Wombert> problem is to get the routing to play with cmdline arguments etc etc
18:02 < Wombert> all not that simple, I guess... :<
18:02 < Wombert> it's nothing that can be done in a day, or two, or three
18:03 < Xylakant> why would you need routing
18:04 < Wombert> to map commands
18:04 < Wombert> at least the interactive controller needs it
18:04 < Xylakant> well, that one possibly
18:05 < Xylakant> hmm. console.php arguments would be ok
18:05 < Xylakant> as a commandline
18:05 < Xylakant> and then you'd need routing
18:05 < Wombert> for the command
18:05 < Wombert> and parse arguments in the request
18:05 < Wombert> that could work, yes
18:07 < Xylakant> the request itself should not be too difficult
18:08 < Xylakant> you don't have all that fancy _GET, _POST, _COOKIE, _FILES stuff
18:08 < Xylakant> there are only parameters
18:09 < Xylakant> getting the parser posix compatible is a thing though
18:09 < Xylakant> you'd need a place to define which command can accept which parameters as well
18:10 < Wombert> no, that's validation
18:10 < Xylakant> the argument parser needs to be aware of that
18:10 < Xylakant> at least if you want it getopt style
18:11 < Wombert> no, it would transform
18:11 < Wombert> ./foo.php -f lala -d thisdir
18:11 < Wombert> to
18:11 < Wombert> array('f' => 'lala', 'd' => 'thisdir')
18:11 < Wombert> so
18:11 < Wombert> ./cli.php deleteproduct -id 3
18:12 < Xylakant> how would you handle thing such as that -f might have a long representation such as --file
18:12 < Wombert> not at all? :)
18:12 < Xylakant> or would you just not allow for such things
18:13 < Wombert> we can't have a perfect solution for this right now. we can think about making agavi2 ready for stuff like that, but right now, agavi's structure is very centric around executing what it is given, without interaction, flow control or "second thoughts"
18:13 < Xylakant> well, then the routing just maps a command to a module/action pair
18:13 < Wombert> yeah I'd say so
18:13 < Wombert> and the request parses out the arguments
18:13 < Xylakant> should be pretty dead simple
18:13 < Xylakant> which is easy as well
18:14 < Xylakant> iterate over argv and make it a key/value pair
18:14 < Wombert> of course, you CAN have -f and --file
18:14 < Wombert> because
18:14 < Wombert> that would be array('f' => 'lala')
18:14 < Wombert> and
18:14 < Wombert> array('-file' => 'lala')
18:14 < Wombert> and then you could normalize that using validation
18:14 < Xylakant> how would you do that
18:15 < Xylakant> i was going to ask that anyways, for an unrelated reason
18:15 < Wombert> write a validator that accepts more than one argument name, and normalize the value to a normalized key
18:15 < Wombert> that way, you could also do
18:15 < Wombert> ./control.php deleteuser -id 3
18:15 < Wombert> even though in your code, it's "userid"
18:16 < Xylakant> ok
18:17 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi
18:17 < _cheerios> hello once again
18:17 < Xylakant> could that be done with the OrOperatorValidator
18:18 < Wombert> hmmm... not sure
18:18 < Xylakant> reigstering both childs to normalize to a defined key
18:18 < Xylakant> and break after the first match
18:18 < Wombert> with the export option, I think
18:18 < Xylakant> or is the order in which the childs get executed not defined?
18:18 < Wombert> v-dogg or kaos know better
18:18 < Wombert> I'll rest for a bit, got a huge headache
18:19 < Xylakant> right. i'll take a stab at the non-interactive console stuff
18:19 < kaos> Xylakant: the order is preserved
18:19 < Xylakant> see what can be done
18:19 < Xylakant> kaos: perfect
18:19 < Xylakant> the one registered first is executed first, i suppose.
18:19 < kaos> yes
18:21 < Xylakant> nice, thanks
18:21 < Alystair> fhew
18:21 < Alystair> keyboard still works
18:36 < Xylakant> kaos: is the order in general preserved? so that all validators run in the order they are registered?
18:36 < kaos> yes
18:37 < Xylakant> and this will not change in the future (just making shure i'm not making a stupid decision here)
18:38 < kaos> i wouldn't know why
18:38 < kaos> well, unless you start using depends
18:38 < Xylakant> i wouldn't either, but sometimes it's better not to say "this is defined behaviour" because then noone can yell at you if their code relies on this and breaks
18:39 < kaos> and it gets tricky when you start overwriting your validators
18:39 < kaos> by using either a
18:39 < kaos> and it will change in the future for provides depends
18:39 < Xylakant> i'm not doing either of the two
18:40 < kaos> (currently you can't define a validator which depends on something provided by a validator defined afterwards)
18:40 < Xylakant> it's just that if i have special incoming value i might have to reset another input parameter
18:41 < Zibi> question: i tried to add validator file to one of my forms but i constantly get this error "Specification mandate value for attribute checked" anybody know what it means?
18:41 < Xylakant> well, i need to think about that any more
18:42 < Xylakant> checked="checked" is the proper way to set the box to "checked" state
18:42 < Zibi> oh
18:42 < Zibi> thx =]
18:42 < Xylakant> and not
18:42 < Zibi> i will learn one day... ;)
18:42 < Xylakant> same goes for selected="selected" in selectboxes
18:42 < Zibi> ok
18:43 < Xylakant> stupid way to write it but i guess it was the only way to fullfill the xml specs and keep at least somewhat backwars compatible
18:45 < Xylakant> has anyone read todays dailywtf?
18:46 < Zibi> ok another one: i have slot with form in it, when validator finds error in form i want to display it still as a slot where i should put some redirection?
18:47 < Xylakant> why would you need redirection for that?
18:48 < Zibi> because when there is error in form
18:48 < Zibi> it display error template of this action
18:48 < Xylakant> yes
18:48 < Zibi> wich normaly is displayed as a slot
18:48 < Xylakant> yes
18:48 < Zibi> and i want to display that form with error msgs as slot too
18:48 < Zibi> not as separate thing
18:48 < Zibi> like:
18:49 < Zibi>
18:49 < Zibi> and when i have error in form
18:49 < Zibi>
18:49 < Zibi> now it shows only
18:49 < Xylakant> so what is the action for the form currently?
18:50 < Zibi> every slot and template is different action
18:50 < Zibi> and when slot2 have error in form
18:51 < Zibi> i wanna display action that will show not only that form
18:51 < Zibi> but other action and that form as a slot
18:51 < Xylakant> no, the html-attribute
18:51 < Xylakant>