--- 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> \[A-Z] shouldn't work at all, I guess you have debug mode off : Indeed, it is off 18:13 < Xylakant> Wombert: I remeber seeing that problem here. The problem was that pcre was compiled/linked against a version that does not support unicode properties 18:13 < Wombert> how uncool 18:13 < Xylakant> and thus the /u switch does nothing 18:14 < Xylakant> yes, indeed. 18:14 < Xylakant> i remember that this happend to be on an ubuntu distro that is no longer supported... 18:15 < CIA-11> david * r1810 /branches/0.11/src/view/AgaviTemplateLayer.class.php: now it's just ascii, no weird umlauts in overloaded methods for template layers. sorry. refs [1809] 18:15 < Wombert> ubuntu... 18:15 < Wombert> gentoo... 18:15 < Wombert> they all suck 18:16 < Xylakant> reminds me that my weekly port sync && port update outdated is overdue :) 18:24 -!- Barfusslaeufer [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 18:30 < kaos> array_walk_recursive($_GET, create_function('&$value, $key', '$value = stripslashes($value');')); <-- errrrm, how about php_value magic_quotes_gpc off ? :D 18:35 < v-dogg> .htaccess? 18:35 < kaos> yup 18:35 < v-dogg> what about other servers? 18:35 < Barfusslaeufer> kaos: i talked him into that :) 18:35 < kaos> i don't give a shit :D 18:35 < kaos> anyone using other severs 18:36 < kaos> should be able to configure his php properly ;p 18:36 < v-dogg> well... why do that at all then :) 18:36 < kaos> because we have a .htaccess-dist ? :P 18:36 < kaos> which obviously wouldn't work with other servers as well ? ;) 18:36 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit [Nick collision from services.] 18:36 < v-dogg> heh, a solid argument 18:36 -!- Barfusslaeufer is now known as Xylakant 18:37 < kaos> i mean 18:37 < kaos> i think the last time i used that setting 18:37 < kaos> was php < 4.1 ? :P 18:37 < Xylakant> the last time i've seen that setting was about last week 18:37 < Xylakant> on php 5 18:38 < Xylakant> no, the server is not under our control 18:38 < Xylakant> no, we can't have php ini settings changed 18:38 < Xylakant> no, we can't place an .htaccess 18:38 < kaos> great service :D 18:38 < Xylakant> and yes, we need to install our application there 18:38 < kaos> just like hosteurope 18:38 < Xylakant> yes. the customers it department has to show it is important. 18:38 < kaos> were you can easily read all other webs on the same host 18:39 < kaos> (just like with almost every other php shared host installation) 18:39 < Wombert> whatever 18:39 < Xylakant> they are the guys that told us: hey, ssh is on a different port and when you connect to the regular port, your IP gets banned for 48 hours 18:40 < kaos> security by obscurity 18:40 < kaos> yay 18:40 < v-dogg> hahahaha 18:40 < Xylakant> well, no deal. had they only given us the info *before* we did our first attempt 18:40 < kaos> LOL 18:40 < kaos> to bad i don't need to open an connection with a syn scan ;) 18:41 < Xylakant> and no, you can't be removed from the block list. 18:41 < kaos> this could be space.net :D 18:42 < Xylakant> sometimes i have the feeling that IT departments exists to make life harder for everyone 18:43 < kaos> thats mostly true, yes 18:43 < Xylakant> as a security setting, this may be useful. you can detect syn scans and block the ip. however, this is not a high security server and overreacting in such a fashion that one connect attempt kills you... 18:44 < kaos> well, you can at least try again in 48 hours ;) 18:44 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 18:44 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 18:45 < Xylakant> wrong button... 18:46 < kaos> well, it departments ... they need to do such stuff to justify their existance 18:47 < kaos> in my old company they needed like 2 years to find a replacement CASE tool for rose 18:47 < Xylakant> i pity the developer who was tasked with that deployment. I know that one of our sysadmins was close to strangling one of their staff through the phone line. 18:47 < kaos> which supported .net 18:47 < kaos> and you were not allowed to roll/use your own 18:47 < Xylakant> let me guess: by that time rose had .net support? 18:48 < Xylakant> kaos: no, how could you? it's untested. 18:48 < kaos> yeah 18:48 < kaos> well, when they started the discussion 18:48 < kaos> rose xde was already out for a year or so 18:48 < kaos> which featured tight visual studio integration and stuff 18:49 < kaos> but we couldn't even get them to give us (the training dep.) access to it (they were evaluating it ...) 18:49 < kaos> just that we were almost only doing .net stuff 18:50 < kaos> result: we never ven got to show the apprentices these tools ^^ 18:51 < kaos> or trying to get access to the sap dev tools 18:51 < kaos> no way 18:51 < kaos> those sap consultants just don't want anyone else but them to be able to even see how sap works 18:52 < kaos> because that COULD reduce their market worth 18:52 < horros_> Accenture <3 18:52 < kaos> well, it were not the guys from sap 18:52 < horros_> most expensive it-consultants evar. 18:52 < kaos> but the guys who did the sap stuff in the company 18:53 < horros_> also, at the same time, probably the worst sap consultants ever :) 18:53 < kaos> that were employees of the company 18:53 < horros_> I can't honestly say I've ever heard anyone say anything good about Accenture / Andersen Consulting 18:53 < kaos> most expensive it-consultants evar. <-- i've seen sap consultants charge 400e/hour ! 18:53 < horros_> I've been thinking about going into the SAP-consult-business :) 18:54 < kaos> i think once you'r in 18:54 < horros_> that of course would mean I'd have to pay 348950983405 euro first to get SAP training 18:54 < kaos> you'r going to be rich 18:54 < kaos> no matter what ;D 18:56 < horros_> one'd think fucking up sap-consulting would be QUITE hard to do :) 18:56 < kaos> just like those strange fellas at flyingdog 18:56 < kaos> who sell a "cms" 18:56 < Xylakant> i don't know. selling my sould for money? 18:56 < kaos> where you pay like 20k euro 18:56 < kaos> to get a cms BUILDING KIT 18:56 < Xylakant> strip that "d" from the soul... 18:56 < horros_> Xylakant, at least I'd have a pleasant time before I go to hell :) 18:56 < kaos> which is a) plain buggy 18:57 < horros_> kaos: sounds like a business plan! 18:57 < kaos> b) one of TEH worst pieces of software i've ever seen 18:57 < kaos> c) you need to pay them like another 40-50k to even get the most basic stuff running 18:57 < kaos> because nobody but them understands that thing 18:57 < kaos> and d) where your own company needs to develop stuff for them in return 18:58 < horros_> hahaha 18:58 < horros_> amazing 18:58 < kaos> yeah, well, its SO good, that when you open a link in another window 18:58 < kaos> in the admin interface 18:58 < Xylakant> horros_ i don't intend to go to hell 18:58 < kaos> everything goes bonkers 18:58 < horros_> see, sometimes I feel bad that I'm not that greedy :I 18:59 < horros_> TietoEnator told us we charge too little monies for our app because our client's aren't complaining :D 18:59 < kaos> but i can say, its still better then using lotus notes as cms *g* 18:59 < horros_> MSCMS?-) 18:59 < Xylakant> kaos: that opening a new window is a real problem that's not easily solved 18:59 < Xylakant> kaos: where have you seen that? 18:59 < kaos> notes as cms ? 18:59 < Xylakant> yes 19:00 < kaos> www.rohde-schwarz.com 19:00 < Xylakant> i've seen it too and i can't imagine anyone else being stupid enough 19:00 < kaos> almost the entire public site is built using notes 19:00 < Xylakant> this can't be 19:00 < Xylakant> the same stupidity twice. 19:01 < kaos> i had to do some notes databases once 19:01 < kaos> you have to love that software 19:01 < kaos> use you scroll mouse in the designer: crash 19:01 < kaos> copy and paste images from notes to notes: crash 19:01 < kaos> copy and paste the SAME image from word to notes: works 19:01 < kaos> copy that image you just pasted 19:01 < kaos> into notes again: crash 19:01 < Xylakant> hell, at least it's reliable :) 19:02 < kaos> well, its just a slight problem when your mouse is so old, that even a slight touch against the wheel triggers a wheel event :D 19:03 < Xylakant> see: all you need is recent hardware 19:03 < Xylakant> no software problem here. 19:03 < kaos> :D 19:03 < horros_> I remember doing stuff in Notes, but that must have been like... what, close to 10 years ago. 19:04 < kaos> it even gets more interesting when you have to do dynamic stuff in notes 19:04 < kaos> try changing the layout at runtime: no chance 19:04 < Xylakant> a webshop as a java applet is an interesting idea 19:04 < kaos> internally you need to temporarily save the record you'r editing and reload your form 19:04 < Xylakant> the place i know used to syncronize the internal database to the website *once* a day 19:05 < kaos> or try removing a "field" from their "db" 19:05 < kaos> no chance :D 19:05 < RossC0> ALERT - linked list corrupt on efree() - heap corruption detected (attacker 'REMOTE_ADDR not set', 19:05 < RossC0> :-) 19:05 < RossC0> phpUnit <3 19:05 < Xylakant> combined with the fact that the preview didn't match the display in the browser 19:05 < Xylakant> and that there was no testing/staging server 19:06 < Xylakant> made for rather slow evolution of the website 19:06 < kaos> if notes was only used for the website 19:06 < kaos> it would have been ok 19:06 < Xylakant> once the information was up, it was up for at least a day :) 19:06 < kaos> but they use notes for EVERYTHING 19:07 < Xylakant> well, if you have such an expensive piece of software 19:08 < kaos> it has to have some use, yeah :D 19:08 < Xylakant> i don't think that notes is more unusable as groupware than the combo exchange/outlook, but that's only my opinion 19:08 < kaos> well, notes can not be compared in any way to exchange/outlook imho 19:09 < kaos> because that part in notes is really just a very very small one 19:09 < Xylakant> yes, i know 19:09 < kaos> the idea behind it is really cool 19:09 < Xylakant> thats why i placed the limitation :) 19:09 < kaos> just the implementation ... o m g :D 19:09 < Xylakant> however, this is the part that gets most use 19:10 < kaos> yeah, i know companies using notes only for that part 19:11 < Xylakant> notes is famous for the worst user interface ever, there are even websites wholly dedicated to that 19:11 < kaos> i once had to do a database in notes where you could compare different devices (a simple tabular layout, basicly 3 columns, where you could select a device at the top) and it would show some properties in the column 19:12 < kaos> the code to archieve that was probably the most ugly stuff i ever wrote 19:13 < kaos> it created a new record everytime you selected a new device 19:13 < kaos> because you have to (since i had to reload the entire form, because there would be different properties to display depending on the device category) 19:14 < kaos> and it took me full 2 weeks of work just to get such a silly thing which could have been done in some proper language in like 3 hours 19:14 < kaos> +working 19:15 < kaos> oh, and they ofc wanted it in the web too 19:15 < kaos> because teh great notes can export everything to the web 19:15 < kaos> (ofc it can ... unless you start to use any advanced feature :P) 19:16 < kaos> like using lotus script instead of those strange formular expression 19:17 < kaos> so, i think i should stop my notes ranting, this leads to nothing but strange feelings in me :D 19:17 < kaos> where i want to kill some ppl 19:17 < Wombert> RossC0: oO wtf 19:17 < Wombert> so 19:17 < Wombert> should we always return the resp 19:18 < Wombert> onse from dispatch() 19:18 < Wombert> and have an option not to send() it automatically? 19:18 < kaos> RossC0: latest php version ? 19:18 < kaos> and/or can you give a reproducing case ? 19:18 < kaos> this looks like a double free 19:19 < Xylakant> Wombert: what's the use case? 19:19 < Xylakant> is this for unit/automatted testing only? 19:19 < RossC0> Wombert & kaos All fixed :) 19:19 < kaos> RossC0: thats a php bug which should be fixed 19:19 < RossC0> some agavi / phpunit3 crazyness 19:19 < kaos> by the php devs, and not by you changing your code 19:20 < Wombert> testing, yes 19:20 < RossC0> I don't have time to trawl phpunit3 to find the cause and create a simple test case 19:20 < RossC0> :-/ 19:21 < Xylakant> is the response class used configurable? 19:22 < Wombert> yes 19:23 < Xylakant> why not extend the response and create TestResponse that gets loaded in testing environements and returns the response instead of sending it 19:24 < Wombert> http://trac.agavi.org/browser/branches/0.11/src/controller/AgaviController.class.php#L188 19:25 < horros_> => dog park, bbl 19:26 < RossC0> hmm in my test.php - which setup up the Agavi configs I do: Agavi::bootstrap('test'); but the environment isn't the test one ? 19:26 < Wombert> ? 19:26 < Wombert> whatcha mean 19:27 < Wombert> send_response is a good parameter name for that flag? 19:27 < Xylakant> i see. 19:28 < RossC0> well in my database.xml I have a db setup up for the test environment but its using the default one 19:28 < Wombert> that shouldn't happen 19:28 < Wombert> ? 19:29 < Xylakant> even if a TestResponse would overwrite send() in such a fashion that the result would get returned you'd required a testcontroller that duplicates the whole dispatch code... 19:29 < MrJeep> anyone know a good simple php editor ? 19:29 < MrJeep> since eclipse is not opening my php html files when I click on thems 19:29 < Wombert> Xylakant: the problem is that it's not the global response that gets sent 19:30 < Wombert> RossC0: that doesn't work? :S 19:30 < RossC0> hmm - fixed it I'm stupid and going to have to work for horros_ 19:31 < Wombert> is "send_response" good? 19:31 < Wombert> or "send_response_in_dispatch" but that's... uhm 19:33 < kaos> http://devzone.zend.com/node/view/id/1743 <-- lol ... so zend is not capable of creating an _official_ pear channel ? O_o 19:35 < RossC0> :-) 19:39 < Xylakant> kaos: they couldn't agree on creating one, IIRC 19:40 < kaos> sure ... why should they ... since zf is going to replace pear \o/ 19:41 < kaos> they should take their enterprise blabla talk and put it up their .... 19:41 < Xylakant> shure. i see that happen. somehwere... sometimes... 19:42 < Xylakant> sometimes... when i used http://www.zend.com/store/zend_php_extras/tequila_glass to much 19:43 < kaos> http://www.zend.com/store/zend_php_extras/t_shirt <-- who would be so crazy to wear such stuff 19:43 < kaos> with a strange text nobody even remotely gets ? 19:43 < kaos> i mean wtf, php is the new _black_ ?! 19:44 < Xylakant> a strange text never stopped me from wearing a shirt 19:44 < Xylakant> but the php imprint... 19:44 < kaos> and the color ... 19:44 < Xylakant> what's wrong with black? 19:44 < Xylakant> ;) 19:44 < kaos> i was not talking about the black ;) 19:45 < Xylakant> not? oh. 19:45 < Xylakant> sorry. i'm in a sort of destructive mood today. 19:45 < Xylakant> do me a favour, don't take me serious. 19:46 < kaos> hehe, i never take anyone too serious really, since i'm usually not that serious myself; ) 19:47 < Xylakant> good 19:48 < Xylakant> customer asks: "who changed my password?" 19:48 < Xylakant> i can't access resource X any more 19:49 < Xylakant> answer "That's because you're using someone elses username, you dork!" 19:49 < Xylakant> ... 19:50 < kaos> never underestimate the stupidity of customers 19:51 < Xylakant> hmm 19:52 < Xylakant> "Never underestimate the ingeniousness of idiots." 19:54 < Xylakant> i think i'll order a set of those php shirts 19:55 < Xylakant> and they'll be handed out one by one to the developer who creates the "fuck up of the month" 19:55 < Xylakant> with the obligation to wear it in public 19:55 < Xylakant> my private captital punishement 19:57 < Xylakant> Wombert: http://trac.agavi.org/ticket/469 - why not create a testcontroller that returns the response? 20:02 < Xylakant> you could factor out a AgaviController::sendResponse() 20:02 < Xylakant> and always return the result 20:06 < RossC0> php is the new kack more like 20:06 < RossC0> ok laters all 20:07 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 20:08 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 20:16 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 145 (Connection timed out)] 20:17 < Wombert> Xylakant: nah that doesn't seem as clean to me 20:19 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 20:21 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 20:24 -!- moni [n=moni___@85.206.205.158] has quit [Remote closed the connection] 20:25 -!- moni [n=moni___@85.206.205.158] has joined #agavi 20:27 -!- moni [n=moni___@85.206.205.158] has quit [Remote closed the connection] 20:27 -!- moni [n=moni___@85.206.205.158] has joined #agavi 20:33 < _cheerios> anyone running windows tried http://labs.live.com/photosynth/ ? 20:34 -!- benny`work [n=benny@p54AC3299.dip0.t-ipconnect.de] has joined #agavi 20:35 < kaos> O_o 20:36 < kaos> activex 20:36 < kaos> yeah, sure 20:36 < _cheerios> it does stuff to j00 ph0t0s ! 20:37 < kaos> yeah, but wtf does it need to be activex ?! 20:37 < kaos> are we back to 1997 or what ? 20:38 < kaos> so they release a bugged version and the whole system gets attackable again 20:38 < kaos> THRU TEH BROWSER 20:39 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] 20:41 < kaos> so ... how do i create my own collection with this piece of crap now ? :P 20:41 < kaos> lemme guess ... you don't 20:41 < kaos> you have to be happy with what ms provides you ;P 20:44 < kaos> pizza time 20:44 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 20:44 -!- moni is now known as codecop 20:45 < _cheerios> yesterdays pizza didnt taste so good 20:45 < horros_> hmm 20:48 < _cheerios> oh, and i listened to Finlands eurovision entry on youtube. sad. 20:48 < _cheerios> maybe if she put more Oooooooooooomph! into it the song could even keep you awake 20:51 < horros_> I doubt it. 20:52 < Wombert> what are you crazy f0ckers complaining about 20:52 < Wombert> your weirdo friends with the ugly faces won last year 20:52 < Wombert> who cares about finland this year 20:54 < kaos> i wonder hew know lordi before they entered the contest outside of finland ;) 20:54 < kaos> (ok, i did ... but i don't count :D) 20:54 < kaos> hew know = who knew 20:54 < kaos> heh 21:00 < kaos> (and they actually do some real funny metal with really strange videos at times :D) 21:06 < MrJeep> is there any plans for very basic sub-moduling 21:06 < MrJeep> like /modules/some_module_group/User 21:07 < Wombert> 2.0 21:07 < MrJeep> accessing it like some_module_group.User.Action name 21:07 < MrJeep> ok 21:08 -!- codecop [n=moni___@85.206.205.158] has quit [Remote closed the connection] 21:08 < MrJeep> i think it would be easy to implement this on a very basic scale 21:08 < MrJeep> are you thinking of more sub-modules features ? 21:08 < _cheerios> *singsalong` what have you done... lonegirl, almost fooled like everyone? 21:10 < Wombert> MrJeep: you can nest actions... 21:11 < MrJeep> really ? in folders ? 21:11 < MrJeep> - /action/somegroup/IndexAction... ? 21:11 < Wombert> yeah 21:11 < MrJeep> same thing with views ? 21:11 < Wombert> yes 21:11 < Wombert> an templates 21:11 < Wombert> you use Foo.Bar to do that 21:12 < Wombert> the routing also has features for it 21:12 < MrJeep> nice, this will be usefull on real large-scale project 21:13 < Wombert> 21:13 < Wombert> 21:13 < Wombert> 21:13 < Wombert> 21:14 < Wombert> Products is not an action 21:14 < Wombert> just a folder 21:14 < Wombert> containing ListAction.class.php etc 21:14 < Wombert> class name is Default_Products_ListAction 21:14 < Wombert> "agavi action" does that all for you 21:14 < MrJeep> great :D 21:14 < Wombert> you type "Products.List" as the action name and it handles the rest 21:14 < Wombert> the leading dots indicate that the string is appended to the parent 21:15 < Wombert> so you generate using gen('products.show', array('id' => 4)) 21:15 < MrJeep> :) once again, thnx 21:28 < CIA-11> david * r1811 /branches/0.11/src/controller/AgaviController.class.php: 21:28 < CIA-11> ability to prevent sending of the response in Controller::dispatch() which now 21:28 < CIA-11> also returns the final response (not the global one, mind you, but that one gets 21:28 < CIA-11> merged in) via parameter 'send_response'. plus some small refactorings. closes 21:28 < CIA-11> #469 21:51 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 22:01 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:17 < _cheerios> wsup with copenhagen youth 22:32 < _cheerios> http://irc-galleria.net/view.php?nick=Kaako&image_id=54117859 23:08 < kaos> http://www.metacafe.com/watch/434675/windows_vista_aero_vs_linux_ubuntu_beryl/ <-- haha :D 23:08 < kaos> and i can confirm beryl being ultra fast even on machines where vista doesn't even run properly *g* 23:13 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 23:20 < _cheerios> id love to test such, but probably wouldnt run on my gfx card(ati8500le) 23:20 < impl> Beryl works on Radeon 7500+ I think 23:24 < _cheerios> needs unstable packages for debian, eek 23:25 < kaos> _cheerios: beryl runs on an i810! 23:25 < kaos> with speed! 23:26 < kaos> (ok, its an i845 ... but the difference is not that big) 23:26 < impl> Idling at 160FPS on my Radeon 9550 (fglrx) 23:30 < MrJeep> i wish beryl was somehow ported to xp 23:30 < _cheerios> ive not installed any drivers for my card. just whatever ati driver etch put on. do i need anything special for the gfx card? 23:31 < kaos> MrJeep: easy solution: buy vista *eg* 23:31 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] 23:31 < kaos> _cheerios: you need aiglx or fglrx or any other 3d composite manager 23:31 < kaos> should work with the standard drivers 23:35 < kaos> http://englishrussia.com/?p=727 <-- evil one \o/ 23:38 < _cheerios> 23:40 < _cheerios> http://www.muenchen-surf.de/lex/blogbilder/0509/du-bist-deutschland.gif 23:40 < MrJeep> kaos : beryl is way better than vista 23:40 < _cheerios> http://frankenschulz.de/blog/images/DuBistDeutschland35.jpg 23:40 < MrJeep> well, vista effects 23:41 < kaos> _cheerios: that "du bist deutschland" campaign was teh suck 23:42 < kaos> MrJeep: tbh i find vista crap 23:42 < kaos> complete 23:42 < MrJeep> crap may be exagerated, not-ready is more accurate 23:42 < kaos> no, 5 years dev time 23:42 < kaos> and that result 23:42 < kaos> is what i regard as crap 23:43 < MrJeep> well, they started over once 23:43 < kaos> its nothing more then xp with additions no sane (corporate) user needs 23:44 < kaos> MrJeep: 3 years ago they were talking about winfs, etc too 23:44 < kaos> which if it would have gone in would have been SO cool 23:44 < _cheerios> good for gamers, when drivers work + web devs ? 23:45 < kaos> i saw some nice demo app showing winfx + winfs in action a year ago on channel9 23:45 < MrJeep> well, that's what people like, nice gui 23:45 < _cheerios> their baggage is holdin' em back, backwards compatibility. must suck. 23:45 < MrJeep> i like nice gui :) 23:45 < kaos> it just was a simple image manager 23:45 < kaos> but the way it worked was so ultra nice, it was ultra smooth etc 23:46 < _cheerios> but was it done in PHP? 23:46 < MrJeep> but I'm also sure there is a lot of features we didn't discovered yet 23:46 < kaos> and what do those s*ckers ? throw everything good out and replace it with half assed pile of crap 23:46 < kaos> that new index service 23:46 < MrJeep> little things which will be annoying when we go back to xp 23:46 < kaos> needs like 5 seconds to pick up a change 23:46 < kaos> etc 23:46 < kaos> that's all so 1998 23:47 < MrJeep> I wish vista will have a white, plastic theme too 23:48 < MrJeep> anyway 23:48 < kaos> well, before i switch to vista, i will switch either to mac or linux 23:49 < MrJeep> we'll see what's gonna happen 23:49 < MrJeep> yeah, sure ;P 23:49 < kaos> depends on whats there first: money or my php editor ;) 23:49 < MrJeep> i guess you'll try linux 23:49 < MrJeep> but you'll miss photoshop 23:49 < MrJeep> you use photoshop ? 23:49 < _cheerios> just make it debian 23:49 < kaos> i have a photoshop license 23:49 -!- digitarald [n=Miranda@62-43-162-113.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 23:49 < kaos> last time i used it was like 23:49 < kaos> 1,5 years ago 23:50 < kaos> i'm a coder, not a graphics designer :) 23:50 < MrJeep> photoshop, 1.5 year ago ? 23:50 < MrJeep> ahh ok i see 23:50 < _cheerios> but, do you have a legal license? 23:50 < kaos> yes 23:50 < kaos> i do 23:50 < _cheerios> :p 23:50 < MrJeep> a true legal licence ? 23:50 < kaos> yes 23:50 < kaos> a true legal license 23:50 < MrJeep> you bought PS ? 23:51 < kaos> wom + me are running a company 23:51 < kaos> no way around legal licenses :) 23:51 < MrJeep> ahh I see 23:51 < MrJeep> I was seriously wondering why you'd buy a 900$ tool and not use it 23:51 < MrJeep> if ps is 900$... 23:52 < kaos> we didn't pay that much ... we bought a ps 6 license when 7 was already out 23:52 < _cheerios> germans are like rich, dude! 23:52 < MrJeep> yeah, forgot about that 23:52 < MrJeep> anyway, I'm pretty sure, someday, you'll be on vista 23:53 < kaos> i don't know really :) 23:53 < MrJeep> and you'll say it aint that bad 23:53 < kaos> the only thing holding me back from linux atm is a) a proper php editor 23:53 < MrJeep> the same thing happens everytime a new OS comes out 23:53 < kaos> b) games 23:53 -!- Prometheus^ [n=Promethe@cs181171069.pp.htv.fi] has joined #agavi 23:53 < kaos> vista and games is atm a real bad combination 23:53 < MrJeep> app and games support is basically what holds everybody (who have interests in linux) 23:54 < kaos> and my editor will run on win/mac/linux ;) 23:54 < kaos> its not app support really 23:54 < MrJeep> yep, but this is getting fixed.. about games 23:54 < MrJeep> 7.2 ati drivers are supposed to optimize opengl a lot 23:54 < kaos> i already use firefox/thunderbird only 23:54 < _cheerios> game dev moved to directX on windows, did the not? opengl there is dying? 23:55 < MrJeep> opengl dying ? I'm not quite sure 23:55 < kaos> the other software i regulary use is an irc client (heh) 23:55 < kaos> and an im client 23:55 < MrJeep> since a lot of hit game are still using it 23:55 < MrJeep> like UT, doom 23:55 < MrJeep> not sure about doom3 23:55 < MrJeep> maybe 23:55 < kaos> doom is opengl 23:56 < kaos> the problem is that ms dropped the official opengl support from vista 23:56 < kaos> iirc 23:56 < MrJeep> i've read they did, then i've read they put it back in, it's quite confusing 23:56 < MrJeep> all I know is nvidia/ati drivers supports it now 23:57 < MrJeep> and they'll make it better every release 23:57 < kaos> yeah, before it was in the OS 23:57 < kaos> now its the job of the driver builders 23:57 < MrJeep> i've also heard about aero with opengl 23:59 < MrJeep> there is also this drm stuff every body is talking about --- Day changed Fri Mar 02 2007 00:00 < kaos> yeah, let microsoft decide when you want to see a movie in high res and when not ;) 00:00 < MrJeep> a friend got a email saying with vista you can't play mp3 or watch movies blabla 00:00 < kaos> or let ms disable your entire pc remote 00:00 < kaos> if they think you violated their license 00:00 < kaos> thats what i call customer support :D 00:00 < MrJeep> lol, that's crap. I agree hehe 00:01 < kaos> the problem is that vista will scale down every hd content when it finds an unsigned driver on your system 00:01 < kaos> and stuff like that 00:01 < kaos> that is just not how i think a pc should behave 00:02 < kaos> while this is certainly not microsofts fault 00:02 < kaos> its the big industry pushing them to it 00:02 < kaos> but still ... i don't like the idea that MY pc is not completely under MY control 00:02 < Prometheus^> what's the grace period on vista? 00:02 < Prometheus^> for the regular licenses 00:03 < kaos> you mean before you have to register it ? 00:04 < MrJeep> maybe you could try to install mac os on your pc 00:04 < MrJeep> i'd really like to try this 00:04 < kaos> i don't think mac os would like my amd ;) 00:05 < Prometheus^> kaos: aye, that would be the grace period I speak of 00:05 < MrJeep> hum.. (googleing) 00:05 < Prometheus^> projectx86 or whatever it's called? 00:05 < MrJeep> yeah 00:05 < kaos> Prometheus^: i think it was 60 days 00:05 < kaos> or maybe 30 00:06 < Prometheus^> hmm 00:06 < Prometheus^> funky 00:06 < Prometheus^> the business edition has 4 days 00:06 < kaos> wtf ? 00:06 < Prometheus^> or 3 days 00:06 < Prometheus^> yeah 00:06 < MrJeep> did you download the KMS server image ? 00:06 < kaos> you can even run vista completely w/o a key for 1 month 00:06 < Prometheus^> at least, the one I saw today 00:06 < Prometheus^> it was installed on tuesday or wednesday 00:07 < Prometheus^> and it was showing 2 days left till activation 00:07 < impl> If you run your own activation server you can do whatever you want 00:07 < MrJeep> yep 00:08 < kaos> i'm really not in the mood to invest so much time just to get an illegal version of an os running 00:09 < kaos> which could stop working any day 00:10 < kaos> my xp is stable 00:10 < kaos> has all the software i need 00:12 < kaos> for some strange reason i even have an visual studio (6 ... which doesn't work on vista anymore iirc) license 00:12 < MrJeep> btw, I'm not on vista ;P 00:12 < MrJeep> but I'm pretty sure some day I will 00:13 < kaos> hehe, i only know 1 guy running vista atm 00:13 < kaos> he's quite happy with it 00:15 < kaos> but i definitly wont support a company who can't calculate exchange rates properly :P 00:16 < kaos> (i mean, wtf ... 499$ = 5xx euro ?) 00:16 < MrJeep> hehe lol 00:16 < kaos> ok, anyone buying the full version is crazy anyways 00:17 < kaos> when he can get the system builder for 190 euro 00:19 < kaos> well, lets see what happens to reactos 00:19 < kaos> if they ever manage to get into a shape which one could call alpha 00:19 < _cheerios> movie dl recommendations? 00:19 < impl> I'm hoping that by the time I'm ready to switch to Vista, Adobe will have gotten to their senses and released a *nix product line :\ 00:19 < kaos> _cheerios: i'll tell the MPAA! 00:20 < kaos> ;) 00:20 < _cheerios> don't, or they'll find my mari plantation on house search! 00:21 < kaos> hehe 00:21 < kaos> i wont 00:21 < kaos> when you send me some of plants ;P 00:21 < kaos> +your 00:22 < Prometheus^> kaos: $499 is more like 600+ euros :P 00:23 < Prometheus^> sorry 00:23 < Prometheus^> I read wrong! 00:23 < Prometheus^> :D 00:23 < kaos> we should start operating our own international drug distribution ring \o/ 00:23 < Prometheus^> I read 499 euros :) 00:24 < Prometheus^> Any finns happen to know a store that might be willing to sell a 30" Syncmaster for under 1900 euros :) 00:24 < MrJeep> impl : i wish that too 00:24 < kaos> before that adobe will release a photoshop for the web 00:24 < Prometheus^> I walked in to a mac store today and I realised that I *must* have a 30" display :) 00:24 < kaos> (if you read todays news) 00:25 < impl> kaos: I heard about that 00:25 < Prometheus^> news? 00:25 < kaos> impl: but i doubt that it will happen for unix 00:25 < kaos> i've looked at their window library bla 00:25 < impl> Prometheus^: http://www.adobe.com/aboutadobe/pressroom/pressreleases/200702/022107Photobucket.html 00:25 < kaos> (they released that as open source some time ago) 00:26 < kaos> and tbh 00:26 < kaos> i didn't really understand anything of it *g* 00:26 < kaos> :D 00:26 < kaos> so porting that to yet another platform will probably take like 25 years ;) 00:26 < Prometheus^> that's silly 00:27 < Prometheus^> just give me photoshop for free and I won't be grumpy! 00:27 < Prometheus^> :P 00:28 < kaos> ps would never be the market leader today if not everyone had an illegal copy of it anyways 00:28 < Prometheus^> aye 00:30 < MrJeep> http://www.widowpc.com/2005/08/mac_os_x_for_pc.php 00:30 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 00:33 < kaos> MrJeep: it will still only work on intel cpus (except in vmware ofc) 00:41 -!- Prometheus^ [n=Promethe@cs181171069.pp.htv.fi] has quit [] 00:51 -!- Arme[0] is now known as Arme[N] 01:26 -!- Arme[N] is now known as Arme[0] 02:06 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 02:19 < fastly> how do i test if a user is authenticated in 0.11? 02:20 < Wombert> just like in the olden times 02:20 < Wombert> isAuthenticated 02:21 < fastly> $usr = $this->getContext()->getUser(); 02:21 < fastly> if($usr->isAuthenticated()) { ?? 02:21 < Wombert> yes 02:22 < Wombert> you checking that in an action? 02:23 < fastly> yeah 02:23 < Wombert> you should use isSecure()... 02:23 < fastly> it's LoginAction 02:23 < Wombert> ah 02:23 < Wombert> and if he's authenticated? 02:23 < fastly> i'm setting up a website for the st andrews fashion show 02:24 < fastly> and authenticating via the facebook api because they all use that anyway 02:24 < fastly> $this->getContext()->getUser()->login($rd->getParameter('auth_token')); 02:24 < fastly> i that this 02:24 < Wombert> the sample app sometimes (but not always) is a good guide on how things should be done 02:24 < fastly> and don't want to run it if the user is already authenticated 02:28 < Wombert> yup 02:28 < Wombert> nn 02:28 -!- Wombert [n=Wombert@dslb-084-056-019-044.pools.arcor-ip.net] has quit [] 04:32 -!- benny`gentoo [n=benny@p54AC335D.dip0.t-ipconnect.de] has joined #agavi 04:38 -!- benny`work [n=benny@p54AC3299.dip0.t-ipconnect.de] has quit [Read error: 60 (Operation timed out)] 05:01 -!- benny`gentoo [n=benny@p54AC335D.dip0.t-ipconnect.de] has quit ["unset($this);"] 06:55 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 07:17 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 08:12 -!- shoan_ [n=shoan@59.92.161.169] has joined #agavi 08:27 -!- shoan [n=shoan@59.92.155.252] has quit [Read error: 110 (Connection timed out)] 09:36 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:46 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 09:51 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.] 09:51 -!- Arme[N-1] is now known as Arme[N] 09:53 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 09:54 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 10:06 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"] 10:07 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 10:08 < horros_> morning 10:16 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:16 < RossC0> good morning! 10:21 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 10:23 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 104 (Connection reset by peer)] 10:23 -!- shoan [n=shoan@59.92.184.78] has joined #agavi 10:29 -!- shoan_ [n=shoan@59.92.161.169] has quit [Read error: 145 (Connection timed out)] 10:32 < Arme[N]> morning 10:33 < fastly> morning all! 10:33 < _cheerios> morning morning 10:35 -!- digitarald [n=Miranda@62-43-129-181.user.ono.com] has joined #agavi 10:35 < RossC0> morning morning morning :) 10:36 < RossC0> I'm unit testing today - so the bug hunt is on!! 10:37 < digitarald> Morning 10:38 < digitarald> reminds me of writing unittests for mootools ... urgh 10:38 < RossC0> what you use for that? 10:39 < digitarald> ibolmo from mootools channel wrote some a unittest suite that uses firebug 10:40 < RossC0> is it released? 10:40 < RossC0> I've only used scriptaculous's unit test suite for js 10:40 < digitarald> the scriptaculous is good, u can even use it for mootools 10:41 < digitarald> but a unittest which has dependencies on prototype/mootools wasn't good for us 10:42 < RossC0> makes sense - is it oo? 10:42 < RossC0> sorry os? 10:42 < RossC0> open source? 10:42 < digitarald> its on a public svn 10:42 < RossC0> cool 10:42 < digitarald> do u want to contribute? 10:42 < RossC0> I'll delve into it 10:42 < RossC0> sure 10:42 < digitarald> its not on the mootools svn 10:43 < digitarald> i'll create you an access, query me your mail-address 10:44 < RossC0> done 10:45 < digitarald> its on opensvn, when its public we move to mootools svn i think 10:47 < digitarald> done 10:48 < digitarald> https://opensvn.csie.org/mooforge/testsuite/ 10:55 < RossC0> cool 11:18 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 11:30 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 11:30 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 54 (Connection reset by peer)] 12:05 -!- Arme[N] is now known as Arme[0] 12:12 -!- Arme[0] is now known as Arme[N] 12:23 < _cheerios> Five Hot Technologies for 2007 12:23 < _cheerios> 1. Ruby on Rails 12:23 < _cheerios> Faster, easier Web development 12:24 < horros_> lol 12:25 < _cheerios> http://computerworld.com/action/article.do?command=printArticleBasic&articleId=9011969 12:28 < horros_> we seriously need a billion tonnes of documentation and after that a LOT of marketing 12:29 < _cheerios> http://www.getacoder.com/projects/operating_system_42879.html 12:29 < _cheerios> good comments on that one: 12:29 < _cheerios> Hi. I can do this for you next week, when I plan on taking a break from a nonotech based / atomic fission driven search engine thats going to make larry page wet his pants. 6 days to code, 1 to rest. It will be written from scratch and completely original in design, so don't worry about copyright bs. I plan to write the entire OS in C, and blindfolded, if its all the same to you. 100% secure will not be a problem either...In fact the OS wi 12:29 < _cheerios> ll be designed to leverage jedi mind tricks to kill anyone that even thinks about breaking in. (i was thinking maybe make them chop off their feet and jump up and down until their empty would be fair). Anyways, I'm gonna smoke some more crack, maybe you should do the same. Thanks! 13:00 < _cheerios> pecl install APC, and it force inputs 'yes' for 1. Use apxs to set compile flags (if using APC with Apache)? : yes ? wth 13:04 < fastly> what would be the best way for passing an attribute from a custom $usr->login() method? 13:14 < digitarald> writing it to the user attributes 13:33 < kaos> LOL @ getacoder 13:36 < horros_> there we go 13:36 < horros_> played enough hives on the guitar, maybe I can concentrate on some work now 13:43 -!- JamieWolf [n=jamiewol@e177181061.adsl.alicedsl.de] has joined #agavi 14:07 -!- Wombert [n=Wombert@dslb-084-056-019-044.pools.arcor-ip.net] has joined #agavi 14:10 < Wombert> fastly: mmmmh what do you mean, pass an attribute? 14:17 < RossC0> Wombert: where do I set 'send_response' to false? in an xml config or direct to createExecutionContainer ? 14:17 < Wombert> it's a config parameter for the controller, so you do it in factories.xml 14:17 < Wombert> you could also do $controller->setParameter('send_response', false) in your code of course 14:18 < Wombert> but config is better 14:18 < Wombert> look at this: 14:18 < horros_> I think tonight I'ma go get some beers, sit down and (attempt to) write some more documentation for somebody to edit into shape 14:18 < Wombert> 14:18 < Wombert> 14:18 < Wombert> false 14:18 < Wombert> put that into your factories.xml 14:19 < Wombert> that's the cool thing about our env/context specific config system :) 14:19 < RossC0> sweet 14:19 < Wombert> horros_: that would be cool 14:19 < Wombert> ping me when you're about to start 14:19 < horros_> will do 14:19 < Wombert> I still have your action documentation lying around 14:19 < horros_> right 14:19 < Wombert> I think you used some tags wrong etc hence I didn't commit it yetz 14:19 < Wombert> cool ty 14:20 < horros_> I might very well have, I was confused and just tried to make it look like the rest of the document :) 14:23 < horros_> hahaha 14:23 < horros_> LaToya London (born 1978), American singer and actress 14:23 < horros_> I read that as "Toyota London" 14:23 < horros_> haha 14:23 < horros_> I was like "wtf, I haven't heard about a Toyota London ever, what a stupid name" for a few moments 14:29 < RossC0> Wombert: having problems when testing my baseAction 14:29 < RossC0> its outputing the class 14:29 < RossC0> as text 14:30 < RossC0> I had to set a test output_type context :-S 14:31 < RossC0> hmm - wait I'll clear the cache 14:31 -!- Arme[N] is now known as Arme[0] 14:38 < RossC0> wtf! - wierd 14:40 < Wombert> hum? 14:43 < RossC0> my php is being odd 14:43 < RossC0> i'll pastie my test :) 14:45 < RossC0> omfg 14:45 < RossC0> omfg 14:45 * RossC0 cries 14:46 < RossC0> please ignore me I'm being sooo unbelievely stupid - I am now embarrassed 14:46 < horros_> haha 14:46 < horros_> please share so we can all be amused. 14:47 < RossC0> well I copied my own lib dir - so I would write the tests for all my files 14:48 < RossC0> copied a sample test - whilst still having my original BaseAction class underneath 14:48 < RossC0> and forgot to remove the BaseAction code... 14:49 < RossC0> so it was underneath the php test... 14:49 < RossC0> OMFG 14:49 < RossC0> nick RossC0_Shamed 14:49 < RossC0> ahh 14:49 < RossC0> I can't even do that right! 14:49 -!- RossC0 is now known as RossC0_Shamed 14:50 < horros_> RossC0_Shamed, hahaha <3 14:50 < Wombert> #470 is interesting 14:51 < Wombert> you sure you had svned up, RossC0_Shamed? 14:51 < Wombert> and cleared ze cache? 14:51 < splatch> hello :) 14:51 < Wombert> because matched_routes always gets set 14:51 < Wombert> hi splatch 14:51 < splatch> i see renders in view like in Mojavi 4 :) 14:52 < Wombert> it could only happen with use_routing off, RossC0_Shamed 14:52 < Wombert> otherwise it's at least an empty array 14:52 -!- RossC0_Shamed is now known as RossC0 14:52 < RossC0> yeah - well its occurred a few times 14:52 < RossC0> the very first time I hit the site 14:52 < splatch> Wombert: can I use agavi without mod_rewrite? 14:53 < RossC0> splatch: yeap 14:53 < Wombert> of course 14:53 < splatch> how to write routing pattern / use in address? 14:53 < Wombert> mod_rewrite is only used to remove index.php 14:53 < RossC0> so its index.php/blah/blah 14:53 < splatch> i've route with pattern "Article" 14:53 < splatch> index.php/Article will work? 14:54 < Wombert> if you don't use mod_rewrite it is index.php/products/13 instead of /products/13 14:54 < Wombert> splatch: no no no no 14:54 < Wombert> that's not how you generate urls... 14:54 < Wombert> look at the sample app 14:54 < Wombert> you cal $ro->gen('routename'); 14:54 < RossC0> But in the browser - it'll work 14:55 < RossC0> Wombert - I get error hit refresh and no more error 14:56 < RossC0> same url 14:56 -!- fastly [n=fast@ACCA571A.ipt.aol.com] has quit [Read error: 60 (Operation timed out)] 14:56 < Wombert> RossC0: I need a bit more information 14:57 < RossC0> seems to be related to session - as I close the browser and reopen and I hit it 14:57 < RossC0> I'll debug some more - its friday and its pub time 14:57 < RossC0> bbl 15:01 -!- JamieWolf_ [n=jamiewol@e177188077.adsl.alicedsl.de] has joined #agavi 15:01 < splatch> hm.. can i use routing in WelcomeToAgavi view? 15:01 < Wombert> no, that should be removed 15:02 < Wombert> create a new module and action with "agavi action" 15:02 < Wombert> and remove the route for welcome 15:02 < Wombert> (as it says on that page) 15:04 < Wombert> splatch: $ro->gen('index'); will generate /path/to/pub/index.php/ without mod_rewrite, /path/to/pub/ with mod_rewrite, and /path/to/pub/index.php?module=Default&action=Index with mod_rewrite off 15:07 < CIA-11> david * r1812 /branches/0.11/ (5 files in 4 dirs): removed use of deprecated Request::getModuleAccessor()/Request::getActionAccessor() 15:10 -!- JamieWolf [n=jamiewol@e177181061.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 15:35 < Wombert> RossC0: is the logger maybe run before the routing has been executed? 15:37 < v-dogg> huomenta 15:38 < horros_> v-dogg, what, are you in the states?-) 15:38 < v-dogg> no, back to turku now 15:39 < v-dogg> left before 6am 15:39 < Wombert> in the...states?w 15:39 < Wombert> wtf 15:40 < v-dogg> no no, I wasn't there :D 15:40 < v-dogg> a was in Hmeenlinna 15:41 < Wombert> which is...? 15:41 < Wombert> occupied by AMERIKKKAA? 15:41 < v-dogg> up there ^ 15:41 < v-dogg> http://fi.wikipedia.org/wiki/H%C3%A4meenlinna 15:42 < v-dogg> the finnish version because it has a map :) 15:42 < Wombert> THE GERMAN VERSION HAS A MAP TOO OKAY 15:42 < Prometheus^> pfft 15:42 < v-dogg> haha :D 15:43 < Wombert> from clicking around a bit 15:43 < Wombert> I have a theory 15:43 < Wombert> 99,7% of you finns live in the southern third of the country 15:43 < Wombert> and nobody cares about the rest "up there" 15:43 < v-dogg> about right 15:43 < ttj> Ha! My Bluetooth headset continues to work! 15:43 < v-dogg> or whatdoya say horros_ :) 15:44 < horros_> agreed. 15:44 < horros_> http://fi.wikipedia.org/wiki/Tampere 15:44 < horros_> that's where I live :) 15:44 < v-dogg> Tampere is up there! 15:44 < Wombert> btw not sure if I asked that before but 15:44 < ttj> Wombert: 80+% of ICT jobs are in the greater Helsinki area. :P 15:44 < Wombert> do you know each other in person? 15:45 < ttj> So there's no point to care about anything else than Helsink + Espoo... 15:45 < horros_> nope 15:45 < ttj> +i 15:45 < v-dogg> nope 15:45 < horros_> ttj, I think the rest of them are here in tampere :D 15:45 < Prometheus^> ttj: why care about espoo? 15:45 < v-dogg> and I'm all alone here 15:45 < ttj> Prometheus^: Cause my job is that side of the border. :P 15:45 < Prometheus^> :D 15:45 < ttj> Although by only slightly. 500 meters. 15:46 < Prometheus^> well, I'm currently in espoo as well, but.. 15:46 < Prometheus^> our office is situated in espoo 15:46 -!- Wombert [n=Wombert@dslb-084-056-019-044.pools.arcor-ip.net] has quit [Nick collision from services.] 15:46 < ttj> I'm in Keilaniemi. 15:46 -!- Wombert_ [n=Wombert@dslb-084-056-021-015.pools.arcor-ip.net] has joined #agavi 15:46 < Prometheus^> I hate this place :P 15:46 < kaos> Tomaatteja! Tomaatteja! -stand-up-komiikan festivaali <-- what a strange language mix \o/ 15:46 < ttj> I'd rather be in Ruoholahti. 15:46 < Prometheus^> we're right next to the Iso Omena, no idea what this area is called 15:46 < ttj> Espoo will do. :P 15:46 < Prometheus^> oh I agree, ruoholahti would be much nicer, I live in vuosaari, so it would be in the other end of the subway :P 15:47 < horros_> my brother used to live in virherlaakso, right on the border of kauniainen 15:47 < ttj> Lauttasaari. <3 15:47 < ttj> Virhelaakso. :-) 15:47 < horros_> so funny that if he was walking his dog in viherlaakso, he'd pick up the poop. if he was over the border to kauniainen, he wouldn't :P 15:47 < Wombert_> god these names all sound soooo funny 15:47 < horros_> I've no idea where he lives now, though. He moved a couple of months ago and I've not visited him yet. 15:48 -!- Wombert_ is now known as Wombert 15:48 < horros_> Wombert, Viherlaakso = Green Walley :) 15:48 < Prometheus^> Valley* 15:48 < horros_> \/\/hatever 15:48 < Prometheus^> :> 15:48 < Prometheus^> more like, /\/\AC 15:48 < Prometheus^> :> 15:49 < horros_> wtf 15:49 < horros_> I was reading the wikipedia article on tampere 15:50 < horros_> and all of the sudden firefox died 15:50 < Prometheus^> :) 15:50 < horros_> I didn't even touch the mouse/keyboard! 15:50 < kaos> open source POWWAH 15:50 < Prometheus^> wikipedia kills ff 15:50 < Prometheus^> <3 open source 15:50 < horros_> I guess the disinformation was too much for firefox to bare 15:50 < Prometheus^> obviously 15:50 < horros_> bear* 15:51 < horros_> English is so stupid. 15:51 < Prometheus^> that's how I think of finnish :/ 15:51 < Prometheus^> god I hate the language 15:51 < horros_> break/brake, bear/bare and a billion others 15:51 < Prometheus^> I'm fluent in english, but my finnish is pretty rusty 15:51 < horros_> Prometheus^, actually, finnish is a very good language to communicate ideas in, because there aren't many ambiguous words. 15:52 < Prometheus^> I suppose 15:53 < horros_> as an example: tieto / tietämys which are completely different but both translate to "knowledge" 15:53 < v-dogg> bear beer 15:53 < v-dogg> mmm... 15:53 < horros_> mmm 15:53 < horros_> beer 15:53 < horros_> speaking of which... I shall go to the store and pick up some. 15:53 < horros_> and maybe some food too. 15:53 < horros_> buy mostly beer. 15:53 < kaos> because there aren't many ambiguous words. <-- yeah, you just put some more o or i at the end the dissolve any ambiguity thru that :P 15:54 < horros_> pardon my french but... 15:54 < horros_> kaos: wtf? 15:54 < Prometheus^> kaos lost me 15:54 < Prometheus^> :( 15:54 < horros_> me too 15:54 < horros_> although 15:54 < kaos> whatever ^^ 15:54 < horros_> I already ceased to care about the subject. 15:54 < Prometheus^> then again, I'm trying to think of something at the same time while reading this 15:54 < horros_> Now I'm all focused on beer. 15:54 < horros_> :) 15:55 < v-dogg> we actually have a beer called Bear 15:55 < horros_> we do indeed 15:55 < v-dogg> in finnish, of course :) 15:55 < v-dogg> Karhu 15:55 < horros_> the finnish beer I dig the most 15:56 < horros_> most of the others just don't taste "enough" 15:56 < v-dogg> justed to be my favourite too 15:56 < v-dogg> nowdays I drink more Sandelss 15:56 < v-dogg> -s 15:56 -!- _stachu2 is now known as stachu 15:56 < horros_> eww, sandels 15:56 < v-dogg> mmm, sandels 15:56 < Wombert> bears rock 15:56 < Prometheus^> I don't like beer :( 15:56 < Prometheus^> I like water 15:57 < ttj> Prometheus^: Something's inherently wrong with you, mate. 15:57 < Prometheus^> I drank too much beer at the ferry from finland to sweden 15:57 < Prometheus^> and back 15:57 < Prometheus^> :/ 15:57 < v-dogg> that happens often 15:57 < horros_> Best lager without question is Budovar though. 15:57 < ttj> No it doesn't. 15:57 < ttj> Because there's no reason to go to Sweden in the first place. \o/ 15:57 < v-dogg> ttj: every time? 15:57 < v-dogg> :) 15:58 < horros_> Let me rephrase that. 15:58 < horros_> Best lager is Budovar though. No question about it. 15:58 < ttj> Budovar best without lager question, is though. 15:58 < horros_> there, disambigousified the sentence! 15:58 < v-dogg> haha 15:59 < horros_> oh yeah 15:59 < horros_> lager it was 15:59 < horros_> bbl 15:59 * horros_ & 16:04 < Wombert> shopping -> 16:05 < Prometheus^> hmm, I should rewrite lightbox a bit 16:05 < Prometheus^> it's not really apparent that you can navigate through the set of pictures unless you already know how to work it.. 16:06 < Wombert> yes 16:06 < Wombert> these onhover arrows suck 16:07 < Wombert> or is it even PREV and NEXT 16:07 < Wombert> sucks totally 16:07 < Prometheus^> prev next 16:07 < Wombert> anyway 16:07 < Wombert> -> 16:07 < Wombert> a) letters 16:07 < Prometheus^> well, you can swap the prev next in for arrows, which are included 16:07 < Wombert> b) english 16:07 < Wombert> c) onhover 16:07 < Prometheus^> I was thinking of making them slightly transparent 16:07 < Wombert> yes but they should be permanent to the left and right 16:07 < Prometheus^> then again, browser support is the problem 16:07 < Prometheus^> or then they should be outside the image 16:08 < Wombert> they should 16:08 < Prometheus^> and there at all times 16:08 < Wombert> in some browsers the next doesn't appear again until you move out and into the area 16:08 < Prometheus^> although, I have to admit, I've been looking in to the galleries 16:08 < Prometheus^> I should make a lightbox like gallery 16:08 < Prometheus^> written in mootools 16:09 < Prometheus^> but if I did that, I would have to figure out a way around having prototype already loaded :( 16:10 < Prometheus^> I was thinking about making a more general version of the lightbox technique anyway, where you could load anything (I've been thinking about creating an admin UI using that, because that way the user would be focused on the editing) 16:10 < Prometheus^> smoothgallery seems like a pretty good implementation of mootools 16:10 < Prometheus^> something like that would work 16:11 < Prometheus^> ah well, going to have to give it some thought on my own time 16:11 < Wombert> I will write one today or tomorrow 16:11 < Wombert> shouldn't take more than 20 minutes or so 16:11 < Prometheus^> problem is, I probably have to write it in prototype instead of mootools :( 16:11 < Wombert> anyway 16:11 < Wombert> really gone now 16:12 < Prometheus^> later 16:19 < RossC0> back 16:19 < RossC0> (13:35:32) Wombert: RossC0: is the logger maybe run before the routing has been executed? 16:19 < RossC0> well it happens in BaseUser->startup 16:20 < RossC0> I'm logging that a user has auto logged in... 16:22 < RossC0> ah shopping! :-) 16:22 < v-dogg> what's the problem? 16:22 < RossC0> hmm - wait routing has to be avaliable as I only gen the route on shutdown! 16:23 < RossC0> v-dogg: http://trac.agavi.org/ticket/470 16:23 < Prometheus^> btw, once I disable the WelcomeToAgavi action(?), I should create an entirely new module, right? 16:23 < Prometheus^> and work from there 16:23 < RossC0> ah no I don't but I can hmm 16:24 < RossC0> ok - Wombert: it is because routing isn't fully up 16:24 < v-dogg> Prometheus^: no, not neccesarily 16:24 < Prometheus^> or should I just start creating actions in the default module? 16:24 < v-dogg> Prometheus^: you can create all the modules (or just one) you need when you create the project 16:25 < Prometheus^> right, but I can create more afterwards too, right? 16:25 < v-dogg> sure 16:25 < Prometheus^> reminds me of raking 16:25 < Prometheus^> from rails 16:25 < v-dogg> agavi module, agavi model, agavi action 16:25 < Prometheus^> right 16:25 < _cheerios> http://www.ende-der-vernunft.org/files/joern/20070228-vistawowg.jpg makes me want to test Beryl to do these kinds of tricks 16:25 < Prometheus^> wtf, lol 16:27 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 145 (Connection timed out)] 16:28 < digitarald> thats cool, i want xp too for such shiny error messages 16:43 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 16:46 -!- Arme[0] is now known as Arme[N] 16:54 < MrJeep> just like I said before, give it time 16:55 < Prometheus^> give vista time? no way :D 16:56 < Arme[N]> time to what? windows? c'mon that sucks 16:56 < v-dogg> I used vista for the very first time about an hour ago 16:56 < v-dogg> and _man_ it is complicated and messy 16:57 < kaos> RossC0: the routing is not executed yet in user->strartup 16:57 < kaos> it's set up 16:57 < kaos> but it didn't match anything yet 16:58 < _cheerios> v-dogg, sounds like you're hooked 16:58 < Prometheus^> :P 16:58 < Prometheus^> I saw it briefly when I was at luottokunta the other day, wasn't too impressed tbh 16:59 < horros_> The upgarde from xp to vista is complicated as hell. 17:00 < MrJeep> wait 5-6 month, and I guess vista will be ready 17:00 < horros_> like... tell them the laptop serial number, model number, purchase date, your company VAT-number, etc etc etc 17:00 < MrJeep> for fun I customized a mac pro 17:00 < MrJeep> this morning 17:00 < horros_> then pay 15e to some account somehwere, then send in a copy of the receipt of the computer and THEN they'll send you the upgrade cd 17:00 < MrJeep> 4599$ 17:00 < v-dogg> MrJeep: and 12-24 months so that 3rd party apps start to work :) 17:01 < Arme[N]> horros_: lol 17:01 < MrJeep> if I had this kind of money right now, I'd buy it :) 17:02 < v-dogg> horros_: you wouldn't happen to have that php5-ready feedcreator handy, would you?-) 17:02 < horros_> Arme[N]: I'm dead serious 17:02 < horros_> v-dogg: nope, haen't had time to touch it yet 17:02 < v-dogg> an, I thought you had already 17:02 < horros_> though like I said, it shouldn't be that hard, it's only 1000 lines or so :D 17:02 < v-dogg> :) 17:03 < MrJeep> anyone knows a good site which shows great (and simple) web design ? 17:03 < v-dogg> I'll do it tonight (or tomorrow if I can't stay awake) 17:03 < MrJeep> i need some inpsiration 17:03 < v-dogg> veikko.fi 17:03 < v-dogg> :p 17:03 < Arme[N]> lol 17:03 < horros_> MrJeep: css zen garden :) 17:03 < v-dogg> it's _simple_ :) 17:03 < Arme[N]> yep zen garden rocks 17:04 < MrJeep> hum, i would not consider the first page design a great design hehe 17:04 < digitarald> there are better pages to steal design :) 17:04 < MrJeep> I'm not speaking of stealing here 17:04 < Prometheus^> MrJeep: wait 5-6 months for an operating system to be ready after it's released? 17:05 < Prometheus^> I thought they were suppose to be ready when they are released :D 17:05 < digitarald> v-dogg ... i want an agavi blog too! 17:05 < kaos> v-dogg: your site doesn't work with www. 17:05 < MrJeep> man... don't be a zealot 17:05 < Prometheus^> MrJeep: it's a fact :P 17:05 < v-dogg> digitarald: go make one, takes a few hours :) 17:05 < MrJeep> it's always happening when a new os comes out 17:05 < Prometheus^> if leopard sucks when it's released like vista does right now, I'll be more than happy to criticize it as well 17:05 < v-dogg> kaos: hah, thanks :D 17:06 < MrJeep> most of vista problems comes from the drivers 17:06 < MrJeep> or 3rd party apps 17:06 < Prometheus^> and as for $4599 mac pro, if you really need that kind of power for what you do... :P 17:06 < MrJeep> (23" screen) 17:06 < RossC0> kaos: sure - updated my logger :-) 17:06 < MrJeep> like Nero which crash explorer 17:06 < Prometheus^> right, that's not part of the computer :P 17:07 < Prometheus^> so that would be like $1200 off the price :) 17:07 < Arme[N]> v-dogg: no-www, thats good :) 17:07 < MrJeep> Prometheus^ : still expensive 17:07 < Prometheus^> MrJeep: you get what you pay for ;) 17:07 < kaos> MrJeep: i would expect a company like microsoft to at least test such unusal apps as nero at least ONCE before shipping 17:07 < MrJeep> Prometheus^ : I'm pretty sure they could lower this price, but they don'T 17:07 * horros_ was just about to make comments on macs, prices and "you get what you pay for" but decides not to 17:07 < v-dogg> Arme[N], kaos: fixed (when the dns updates) 17:07 < Prometheus^> there are exceptions to the rule, too, enter alienware 17:08 < Prometheus^> MrJeep: try customizing yourself an alienware ;) 17:08 < Prometheus^> and then compare it to the mac pro 17:08 < MrJeep> hehe ok 17:08 < digitarald> ... i'm bored ... coding my autocompleter bored me ... nobody need so much features ... 17:08 < Arme[N]> v-dogg: http://no-www.org/ 17:08 < Arme[N]> :) 17:08 < Prometheus^> make sure it matches the mac pro too, in performance 17:08 < Prometheus^> oh wait.. 17:09 < v-dogg> Arme[N]: I agree, but you silly people (kaos :) can't live with out it :) 17:09 < MrJeep> I'm startin with this : 17:09 < MrJeep> http://www.alienware.com/Configurator_Pages/area-51_7500_r4.aspx?SysCode=PC-AREA51-7500-R4&SubCode=SKU-DEFAULT 17:09 < MrJeep> 2199 vs 2499 for the mav 17:09 < MrJeep> mac 17:09 < MrJeep> then customize it 17:10 < kaos> Intel Core 2 Extreme QX6700 2.66GHz 8MB Cache 1066MHz FSB [+$1,000 or $30/mo.] 17:10 < kaos> Quad Core Technology! 17:10 < kaos> THATS what we all need 17:10 < kaos> :D 17:10 < Arme[N]> v-dogg: lol, then redirect it :P 17:10 < v-dogg> heh, there's an idea 17:10 < Prometheus^> see how close to the $4599 mac pro you can get with the alienware one, and compare the prices 17:11 < MrJeep> Prometheus^ : One thing for sure, If both systems ends up the same price, I would buy the mac 17:11 < Prometheus^> MrJeep: I think you will find that they won't end up the same price 17:12 < Prometheus^> I'll be awestruck if they do 17:12 < MrJeep> 5020 :) 17:12 < Prometheus^> ;) 17:12 < MrJeep> very expensice 17:12 < MrJeep> I'm lucky I buy clones ;P 17:12 < _cheerios> kaos: nice rig :D 17:12 < MrJeep> well, they are "clones" 17:12 < Prometheus^> of course, the whole thing about alienware is.. 17:12 < Prometheus^> they are full of shit 17:12 < kaos> it has this cool alien logo 17:13 < kaos> that's all about alienware ;D 17:13 < MrJeep> but I'm pretty sure I could build an equivalent system for a way less hehe 17:13 < Prometheus^> MrJeep: from parts, yes 17:13 < Prometheus^> you probably coulld 17:13 < MrJeep> I'd really like to try a mac, but I'm pretty sure I'll try vista before 17:13 < _cheerios> alien, apple... you pay premium for a brand :D 17:13 < Prometheus^> for the desktop anyway, but I don't know about laptops 17:13 < MrJeep> if I get the chance to work on a mac, I'll take it 17:13 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:14 < Prometheus^> high end laptops, even from dell, are pretty darn close to mac equivalents in price 17:14 < MrJeep> just like I worked in linux only for 3 month 17:14 < MrJeep> "linux only" for 3 month 17:14 < MrJeep> was a nice experience 17:14 < Prometheus^> I think you'd enjoy a mac :) 17:14 < MrJeep> for 3 month, at work and home, was linux only 17:15 < MrJeep> yeah I'm pretty sure I'd do 17:15 < MrJeep> I like linux, but I don't like how messy it is 17:15 < MrJeep> and I can't run adobe apps 17:15 < MrJeep> this is this big thing holding me back 17:15 < horros_> funny 17:16 < horros_> everyone complains they can't run adobe apps on linux 17:16 < Prometheus^> enter leopard and os x will have even more to offer :) 17:16 < kaos> didn't wine work quite well with adobe stuff ? 17:16 < kaos> (as long as its not the most recent?) 17:16 < MrJeep> haha lol 17:16 < horros_> and I bet you my left arm that about 1% that complain actually OWN any adobe apps :) 17:16 < MrJeep> yes you can run ps 7 with wine 17:16 < v-dogg> kaos: just out of curiosity, how did you spot that? 17:16 < Prometheus^> horros_: aye :) 17:17 < MrJeep> but you know what, when I buy a 3.2 ghz proc, I don't really like feeling like i'm having a 1.0 ghz 17:17 < kaos> v-dogg: that it doesn't work with www ? 17:17 < Prometheus^> horros_: you know what's also funny? A lot of the times pirates don't even see the protective serial key stuff 17:17 < kaos> i pasted your link to my browser 17:17 < v-dogg> kaos: yep 17:17 < Prometheus^> or activation 17:17 < kaos> prepending www manually ;) 17:17 < v-dogg> haha 17:17 < MrJeep> in both case (linux or xp) my os is free 17:18 < Prometheus^> and I've been hearing this nice rumor that once leopard starts shipping, apple could be giving people deals to exchange their old ppc laptops (desktops too?) in for a brand new intel-based laptop :) 17:19 < Prometheus^> of course, with money added on top, but nonetheless 17:19 < horros_> Prometheus^: the protective whatnow? 17:19 < Prometheus^> horros_: activation 17:20 < Prometheus^> activation never sees the daylight in cracked software :) 17:20 < horros_> ah, yes. 17:20 < Prometheus^> it won't keep the pirates away 17:20 < Prometheus^> however, the regular users.. 17:20 < Prometheus^> well ;) 17:20 < Prometheus^> I hear it's a pleasure to install adobe creative suite and the like 17:20 < MrJeep> http://www.unmatchedstyle.com/ <-- Nice too 17:20 < Prometheus^> having to enter activation key in every single pap 17:20 < Prometheus^> app* 17:20 < horros_> heh 17:20 < horros_> sounds stupid 17:21 < Prometheus^> aye ;) 17:21 < Prometheus^> I can only imagine installing like 10 apps 17:21 < Prometheus^> :D 17:21 < MrJeep> Prometheus^ : taking about vista basic ? 17:21 < horros_> then again, most software protection things are so badly written it's not even remotely funny 17:21 < Prometheus^> if you want a list of good, inspirational, css sites: http://www.dia-chronie.com/ 17:21 < Prometheus^> that place has a listing of bunch of css galleries 17:21 < Prometheus^> MrJeep: no, any given software 17:22 < MrJeep> ok ok 17:22 < horros_> I mean, I cracked dreamweaver (3?) in my youth. had ice.. ice... wtf was it called... some debugger or the other set up to fire on one of them text field events 17:22 < kaos> i think the only way to get around getting cracked is a small target audience :D 17:23 < horros_> then just search the memory for the serial I entered (like 1234-1234-1234), look at the assembler op codes and change one je / jne to either jmp or nop 17:23 < horros_> :) 17:23 < MrJeep> wombert : which editor are you using on mac ? 17:23 < Prometheus^> kaos: there's no way around it 17:23 < Prometheus^> people are going to crack your software, whether you like it or not :P 17:23 < Prometheus^> MrJeep: for mac, consider textmate - http://macromates.com 17:24 < kaos> thats what Wombert uses too 17:24 < Prometheus^> powerful editor 17:24 < MrJeep> auto completes php ? 17:25 < Prometheus^> well, depends what you mean by auto complete 17:25 < MrJeep> $something = 'blah'; 17:25 < MrJeep> $so (ctrl + space or something) 17:25 < MrJeep> shows $something 17:26 < Prometheus^> err 17:26 * RossC0 uses textmate when on his mac and jedit on the pc 17:26 < Prometheus^> well, to a degree yeah 17:26 < MrJeep> ok 17:27 < MrJeep> i'm the only one using eclipse here ? 17:27 < Prometheus^> it doesn't autocomplete variables I don't think 17:27 < horros_> MrJeep: nossir. 17:27 < RossC0> MrJeep: I used eclipse but my work pc is slowwww 17:27 < Prometheus^> well, it doesn't "autocomplete" anything, you have to tab to complete it :) 17:27 < MrJeep> :S 17:28 < MrJeep> weird because at this point eclipse is the fastest java tool I ever used 17:28 < Prometheus^> or esc to get a list of options 17:28 < RossC0> but I installed eclipse after I heard horros_ talk about the xdebug support 17:28 < RossC0> so use it for that :) 17:28 < horros_> I did whatnow? 17:29 < horros_> I can't recall babbling about xdebug support... I don't even use the debugging features in eclipse :) 17:29 < RossC0> ah someone mentioned it 17:29 < RossC0> maybe you mentioned it and I googled o_O 17:29 < RossC0> :D 17:29 < horros_> maybe :) 17:30 < horros_> I believe I said something along the lines that it has debugging support but I've never used it :) 17:31 < RossC0> 12:10 < RossC0> horros: do you rate eclipse? 12:10 < horros> sorry, does not compute. 17:31 < RossC0> that'll be it xD 17:33 < horros_> hah 17:41 -!- Arme[N] is now known as Arme[0] 17:44 < Xylakant> Wombert: i'm looking at the imagevalidator, would it be a good idea to stick an @ before the 17:44 < Xylakant> $type = getimagesize($file->getTmpName());? 17:45 < Xylakant> because if a user sticks in a file that is no image, you'll get a warning there. 17:45 < kaos> hmm 17:46 < RossC0> try and catch might be better? 17:46 < Xylakant> than what? 17:46 < RossC0> than @ 17:46 < Xylakant> try/catch won't eat that warning 17:46 < Xylakant> you'd have to convert errors to exceptions first 17:47 < kaos> Xylakant: you'r right 17:48 < Xylakant> RossC0: getimagesize returns false when the file is not readable or no valid image file, so suppressing the error and testing for false (which actually happens) is fine imo. 17:48 < Xylakant> kaos: do you need a ticket for that ;) 17:48 < kaos> yes pls :) 17:49 < Xylakant> i can open one as reminder 17:49 < kaos> so you get your credit :) 17:49 < RossC0> ah ok - so no need for @ ? 17:50 < Xylakant> RossC0: it will return false and emit a warning... 17:51 < horros_> Wombert: ping 17:52 < Prometheus^> hmm, are php comparisons case insensitive 17:53 < Prometheus^> say, is $string == "free" the same as $string == "Free" 17:53 < Prometheus^> I haven't really ever tried that :P 17:53 < Prometheus^> or thought about it 17:53 < Xylakant> Prometheus: i don't think so 17:53 < Xylakant> array-keys are not 17:53 < kaos> Prometheus^: ofc not 17:54 < horros_> Prometheus^: nossir, they are not. 17:54 < Prometheus^> right, so I should wrap it in strtolower :) 17:54 < Prometheus^> since I'm being lazy 17:54 < horros_> yessir 17:54 < Xylakant> Prometheus: use http://de.php.net/strcasecmp 17:55 < horros_> Wombert: m4d documentation writing is about to commence after I've been out with der Hund. 17:55 < Prometheus^> mm 17:55 < Prometheus^> I guess I could do that too, thanks Xylakant 17:56 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 17:57 < Xylakant> kaos: http://trac.agavi.org/ticket/471 17:57 < kaos> k, thx 17:58 < Xylakant> and another thing: the AgaviBaseFileValidator does not check that the given file is readable 17:58 < Xylakant> or even exists 17:58 < Xylakant> this would be a borked server config, so i'm not shure wether that should be done 17:58 < Xylakant> but i've seen that as well :/ 18:02 < kaos> hmm, i don't think that you can create an unreadable file with file uploads 18:02 < kaos> this should throw some upload error already 18:02 < Xylakant> i'm shure i had that 18:02 < Xylakant> probably 18:03 < kaos> i can try 18:03 < Xylakant> ah, shure 18:03 < kaos> the only thing how that could happen is a non writeable tmp 18:03 < kaos> err 18:03 < kaos> writeable and non readable 18:03 < kaos> that way 18:03 < Xylakant> the problem can be that if the uploadtempdir is outside the openbasedir 18:03 < Xylakant> or something like that 18:04 < kaos> hmm, i think move_uploaded_file should be able to handle that 18:04 < kaos> but iirc wom dropped the usage of it for a simple rename 18:04 < kaos> another thing that needs testing 18:04 < kaos> thx for the hint again :) 18:05 < Xylakant> wombert has a conditional - if the file is an uploaded one, he uses move_uploaded_file, if not a simple rename 18:05 < kaos> then it should work i think 18:06 < Xylakant> i'll try to remember the exact circumstances of when that happened. 18:26 < horros_> humm 18:27 * horros_ fires up XMLMind 18:27 < horros_> It's too bad there aren't really any other proper wysiwygish docbook editors that are free 18:28 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:40 < Wombert> horros_: dem Hund ;) 18:40 < Wombert> but cool 18:40 < horros_> Wombert: right :) 18:40 < horros_> too long since I've had to use me' german 18:42 < Wombert> der Hund, but mit dem Hund ;) 18:42 < Wombert> RossC0: yes it hasn't execute()d yet hence the matched_routes aren't there yet 18:42 < Wombert> I'll close as invalid, k? 18:45 * horros_ giggles and listens to Tenacious D 18:46 < RossC0> Wombert: yeah sure :) 18:47 -!- Arme[0] is now known as Arme[N] 18:55 < v-dogg> horros_: I now have a version of feedcreator that handles their examples without E_STRICT notices 18:55 < horros_> cool 18:56 < v-dogg> s/var/public/ plus one 'static' was all it needed 18:57 < horros_> hehe 18:58 < v-dogg> I'd like to make it really OOP-like (getters/setters, proper encapsulation) 18:58 < v-dogg> don't know I can be bothered, though 18:58 < v-dogg> if 18:59 < horros_> me neither :) 19:04 * horros_ listens to Wagner and leans back 19:04 < horros_> Wagner <3 19:08 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit [Read error: 104 (Connection reset by peer)] 19:11 < v-dogg> hm... some weird date/time/timestamp hack in feedcreator 19:11 < v-dogg> probably because php4 is so crappy with dates 19:14 < _cheerios> huu aaa 19:17 < v-dogg> hmm... 19:18 -!- johndoe [n=johndoe@user7.101.udn.pl] has joined #agavi 19:18 < johndoe> hi 19:18 -!- johndoe is now known as Whisller 19:18 < v-dogg> just realized that feedcreator doesn't use any dom implementation 19:21 < MrJeep> with photoshop. is it recommended to use web colors only ? 19:21 < horros_> v-dogg: indeed it doesn't. 19:21 < horros_> ah 19:21 < horros_> Dvorak 19:21 < horros_> <3 <3 19:24 < v-dogg> well, considering the quality of libxml versions in the past (and those versions are still widely used) it's probably better :) 19:25 < horros_> hehe, true that 19:27 -!- JamieWolf_ [n=jamiewol@e177188077.adsl.alicedsl.de] has quit [] 19:28 < horros_> http://www.liveleak.com/view?i=e1d_1172664561 19:28 < horros_> ouch :( 19:30 -!- RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)] 19:33 < v-dogg> poor bird 19:35 -!- Whisller [n=johndoe@user7.101.udn.pl] has quit ["brb"] 19:36 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 19:55 < horros_> lol 19:55 < horros_> http://www.liveleak.com/view?i=9731d_4407 20:01 < v-dogg> $this->getResponse()->setContent($feed->createFeed("RSS")); would be the way to go, right? 20:02 -!- Arme[N] is now known as Arme[0] 20:03 < v-dogg> and ... (ie. no renderer, no layouts)? 20:03 -!- Arme[0] is now known as Arme[N] 20:03 < _cheerios> wtf dogg 20:04 < v-dogg> somebody please answer so that I can go watch telly :) 20:04 < Wombert> yes v-dogg 20:04 < v-dogg> thanks 20:04 < Wombert> what feed lib is that 20:05 < v-dogg> FeedCreator (hacked to go down nicely with STRICT) 20:05 < v-dogg> php4 originally 20:06 < v-dogg> _cheerios: ? 20:06 < Wombert> zend not good? 20:06 < Wombert> err ez components 20:07 < v-dogg> they've taken it away from the stable release 20:07 < v-dogg> beta has it, the final release doesn't 20:08 -!- joel [n=chatzill@74.8.234.250] has joined #agavi 20:08 -!- joel [n=chatzill@74.8.234.250] has left #agavi [] 20:08 < v-dogg> telly -> 20:09 < horros_> Wombert: feedcreator was pretty ok, AND it's BSD (or was it LGPL? some unrestrictive license anyway) 20:10 < horros_> had some problems though, like I had to modify it by hand to shove out utf-8 and set the content-type to application/rss+xml 20:11 < _cheerios> children of men was nice 20:11 < _cheerios> dogg: was just wondering about the call 20:11 < horros_> another question also arises 20:11 < horros_> why the smeg do I have a slight headache for the second day? 20:11 < horros_> I bet it's brain cancer or something. 20:11 < _cheerios> coders die young. 20:12 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 20:12 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 20:13 < _cheerios> my eyebrow cancer settled down. kicked the chuck out of it. 20:17 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 20:17 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 20:30 < horros_> gah 20:31 < Wombert> okay 20:31 < Wombert> finally 20:31 < horros_> jesus it's hard to try to explain the format of the pattern in routing :) 20:31 < Wombert> the phone settled down 20:31 < Wombert> horros_: explain that it is a regular expression 20:31 < Wombert> just explain the (varname:pattern) general syntax 20:31 < horros_> yeah, I have that done 20:31 < Wombert> and that pre and postfixes can be used via (pre{name:pattern}post) 20:31 < Wombert> plus, of course, anchoring 20:32 < Wombert> if someone doesn't know regular expressions... bad luck 20:32 < Wombert> we're not gonna explain them 20:32 < horros_> Wombert: you get to rewrite this after I'm done :) 20:35 < Wombert> horros_: explain nesting, too 20:35 < Wombert> with http://pastebin.ca/370507 20:35 < Wombert> i.e. never run an action with the parent route 20:35 < Wombert> if in that example "Blog" was an action (it isn't, just a subaction dir), then you could use /blogthatsucks to trigger the route 20:35 * horros_ sniffs and looks from side to side 20:36 < horros_> Never seen that in my whole life before :) 20:36 < Wombert> since it cannot be anchored at the end because it has children 20:36 < Wombert> nesting routes is important for performance 20:36 < Wombert> if you have only 10 parent routes, it only tests these ten 20:36 < Wombert> and then on a match continues with the children 20:36 < Wombert> much faster 20:36 < horros_> right right 20:36 < Wombert> about the diff you sent me 20:36 < horros_> live and learn and all that 20:37 < Wombert> you use all over the place 20:37 < Wombert> use 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 <ritle> 3 Installation 21:15 < Wombert> <title> 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: <slot name="loginbox" module="Default" action="LoginBox" /> 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 <layouts> i have <layout name="slot"> 21:27 < fastly> <layer name="content" /> 21:27 < fastly> </layout> 21:27 < horros_> exactly. that's what I mean with "an empty layout" 21:28 < fastly> i tried: <layout name="loginbox"> 21:28 < fastly> <layer name="content" /> 21:28 < fastly> </layout> 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 <layout name="default"> 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 &nbsp (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 <literal> 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> <?xml version="1.0"?> 23:32 < Wombert> <ns:clipboard 23:32 < Wombert> xmlns:ns="http://www.xmlmind.com/xmleditor/namespace/clipboard" 23:32 < Wombert> >This would match the request <uri 23:32 < Wombert> >http://host.com/products</uri 23:32 < Wombert> >, <uri 23:32 < Wombert> >http://host.com/products/buy-cheap-whatever-at-agavi-dot-org</uri 23:32 < Wombert> > and <uri 23:32 < Wombert> >http://host.com/products/buy-cheap-whatever-at-agavi-dot-org/591</uri 23:32 < Wombert> >. The <token 23:32 < Wombert> ><default></token 23:32 < Wombert> > indicates that if we do not supply the "<uri 23:32 < Wombert> >/buy-cheap-whatever-at-agavi-dot-org</uri 23:32 < Wombert> >", it will set it </ns:clipboard 23:32 < Wombert> > 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> <input type="text" name="foo" /> 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: <input type="text" name="foo" /> 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> <impl> 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> <impl> 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 <code> 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 <para> 03:26 < Wombert> it makes a new <para> 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> <Wombert> 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 <input type="text" name="lala" /> 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> <?php echo input_tag('name', 'default value'); ?> 21:53 < Wombert> <input type="text" name="name" value="default value" /> 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 <?php ?> 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... <route pattern="^Form.Edit$" source="user[credentials]" .... /> ? 19:11 < horros> or how's that work? 19:11 < Wombert> <route pattern="^1$" source="user[credentials][Form.Edit]" 19:12 < 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> <parameter name="request_data">rd</parameter> 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 <?xml into XMLMind :) 19:25 < splatch> 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> <Wombert> 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 <configurations> -> <sandbox> -> <renderers> 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> <xi:include xpointer="xpointer(/configurations/sandbox/renderers)" /> 18:50 < Wombert> with 18:50 < Wombert> <xi:include xpointer="xpointer(//configurations/sandbox/renderers)" /> 18:50 < MrJeep> and descriptive 18:51 < Wombert> if that doesn't work, replace the <xi:include> directives with the element they reference 18:51 < Wombert> in this case, that would be the whole <renderers> 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 <configurations> -> <sandbox> -> 18:57 < Wombert> xalva: as v-dogg said in the mail 18:58 < Wombert> replace the <xi:include ... /> block with the respective part from the <sandbox> 19:01 < xalva> where <sandbox> 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() [<a href='function.preg-replace'>function.preg-replace</a>]: 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() [<a href='function.preg-replace'>function.preg-replace</a>]: 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> <configuration environment="development"> 22:19 < Wombert> <response class="AgaviWebResponse"> 22:19 < Wombert> <parameter name="send_content_length>false</parameter> 22:19 < Wombert> </response> 22:19 < Wombert> </configuration> 22:21 < CIA-11> david * r1822 /branches/0.11/ (2 files in 2 dirs): don't send content length in development env by default 22:22 < Niacin> lol 22:22 * Niacin checks out svn again 22:22 < Wombert> that won't help :p 22:22 < Wombert> if you have a fresh project 22:22 < Wombert> you have to add it there yourself now 22:23 < Wombert> it's a configuration thing 22:24 < v-dogg> Wombert: didn't get much done tonight. I'll continue tomorrow or later this week 22:24 < Wombert> no worries man 22:24 < Wombert> thanks 22:24 < v-dogg> I added that data passing stuff now too. we can refactor that later 22:25 < v-dogg> bed time, see ya _o/ 22:25 < Wombert> ty 22:25 < Wombert> l8rs 22:29 < Niacin> @author David Z?lke <dz@bitxtender.com> 22:29 < Niacin> i have seen that email ebfore 22:29 < Niacin> is he involved with mojavi? 22:29 < Wombert> that's me :p 22:30 < Wombert> mmmh... I don't think I was 22:30 < Wombert> propel maybe? 22:30 < Wombert> or creole? 22:30 < Niacin> ever heard of nerdbooks.com ? 22:30 < Wombert> no 22:30 < Niacin> ok i guess they just used your framework 22:30 < Niacin> because your email is all over the place 22:30 < Niacin> hehe 23:18 -!- pressureman [n=pressure@210.48.105.162] has joined #agavi 23:18 < pressureman> guten morgen 23:19 < pressureman> Wombert, u here? i'm just looking at xmlrpc.php in the sample app... 23:19 < pressureman> was just wondering what the best way is to do more of a REST-like thing... 23:20 < pressureman> post url-encoded data to it, and have it serve up plain old xml (not xmlrpc) 23:22 < Niacin> this is really strange 23:22 < pressureman> from looking at it, it seems like creating "rest" context in output_types.xml is a good starting point 23:22 < Niacin> 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> <parameter name="dom_resolve_externals>false</parameter> 11:10 < Wombert> <parameter name="dom_validate_on_parse">false</parameter> 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 <ddb@bitxtender.com> 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> <parameter name="format"> 12:31 < Wombert> <parameter>jpeg</parameter> 12:31 < Wombert> <parameter>gif</parameter> 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 <shift>+<tab> 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> <foo name="%core.config_dir%">lala</foo> 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> <parameter name="id_attribute">id</parameter> 12:57 < Wombert> to use "id" instead of "name" 12:57 < Wombert> you know, like with... <output_type name="html"> 12:57 < RossC0> cool 13:02 < Wombert> but is id_attribute good? 13:02 < Wombert> hmmm 13:02 < Wombert> basically 13:02 < Wombert> <foos> 13:02 < Wombert> <foo name="one">hello</foo> 13:02 < Wombert> <foo name="two">there</foo> 13:02 < Wombert> </foos> 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 <parameter name="key_attribute">key</parameter> ... <foo key="one">blah</foo> 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> <foo> 13:52 < Wombert> <bar>lala</bar> 13:52 < Wombert> <bar>yay</bar> 13:52 < Wombert> </foo> 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> <foo> 13:54 < Wombert> <bar type="snap">hello</bar> 13:54 < Wombert> </foo> 13:54 < Wombert> would become 13:54 < Wombert> array('foo' => array('bar' => array('type' => 'snap', 'value' => 'hello'))) 13:54 < Wombert> whereas 13:54 < Wombert> <foo> 13:54 < Wombert> <bars> 13:54 < Wombert> <bar type="snap">hello</bar> 13:54 < Wombert> </bars> 13:55 < Wombert> </foo> 13:55 < Wombert> (or more than one <bar>) 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> <foo> 13:55 < Wombert> <bars> 13:55 < Wombert> <bar name="snap">hello</bar> 13:55 < Wombert> </bars> 13:55 < Wombert> </foo> 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, <bars> is plural of <bar> 13:58 < RossC0> so what would : 13:58 < RossC0> <foo> 13:58 < RossC0> <bars> 13:58 < RossC0> <bar name="snap">hello</bar> 13:58 < RossC0> <bar name="wibble">snizzle</bar> 13:58 < RossC0> </bars> 13:58 < RossC0> </foo> 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> <foo> 14:01 < Wombert> <bar name="lala">yay</bar> 14:01 < Wombert> </foo> 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> <foo> 14:02 < Wombert> <bar woot="lala">yay</bar> 14:02 < Wombert> </foo> 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 ... <dd> and <dt> elements as childs of <dl> ... 14:24 < digitarald> dt is first child 14:24 < digitarald> dt[not(preceding-sibling::*)] returns the first <dt> 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> <dl><dt/><dd/><dt/><dd/></dl> 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> <P> The last P before the note. 14:31 < Wombert> <DIV class="note"> 14:31 < Wombert> <H2>Note</H2> 14:31 < Wombert> <P> The first P inside the note. 14:31 < Wombert> </DIV> 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> <title> 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 <head> 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> <?php foreach($foo as $bar): ?> 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 <foo hello="bar">yay</foo> 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> <parameter name="formats"> 20:06 < kaos> <paramter> 20:06 < kaos> <parameter name="type">datetime</parameter> 20:06 < kaos> <parameter name="format">medium</parameter> 20:06 < kaos> </parameter> 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> <Wombert> 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> <parameter name="formats"> 20:18 < kaos> <paramter> 20:18 < kaos> <parameter name="type">translation_domain</parameter> 20:18 < kaos> <parameter name="format">here you need to copy the format from the default.medium_date</parameter> 20:18 < kaos> <parameter name="translation_domain">here you need to put the same translation domain as in default.medium_date</parameter> 20:18 < kaos> </parameter> 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 <foo>bar</foo> 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: <validator class="string" name="password_non_existant" translation_domain="default.errors.Login"> 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> <Wombert> 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> <impl> 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> <database name="all">, 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: <irony></irony> 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> <route pattern="^/(module:.*)?$" module="$module" action="%actions.default_action%" /> 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> <route pattern="^/(action:.*)?$" module="Default" /> 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 <project>-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> <databases defailt="propel"> <database name="propel" class="AgaviPropelDatabase"><parameter name="config">%core.app_dir%/config/project-conf.php</parameter></database></databases> 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> <?php echo "yay"; die(); ?> 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> <database name="propel" class="AgaviPropelDatabase"> 13:24 < fastly> <parameters> 13:24 < fastly> <parameter name="config">%core.app_dir%/propel/build/conf/cyance-conf.php</parameter> 13:24 < fastly> </parameters> 13:24 < fastly> </database> 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 <!-- error --> 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 <command> 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 <configurations parent="..."> 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 <input type="checkbox" checked /> 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> <slot1><slot2 with form><template> 18:49 < Zibi> and when i have error in form 18:49 < Zibi> <slot1><slot2 with errors><template> 18:49 < Zibi> now it shows only <slot2 with errors> 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> <form action="what is here"> 18:52 < Zibi> oh its that <slot2> action 18:52 < Xylakant> try making it the master pages action 18:52 < Zibi> but master action doing completly different thing :/ 18:53 < Xylakant> you're right. 18:53 < Xylakant> but the slot action should still run and validate 18:53 < RossC0> Zibi: you need the slots error view to determine the layout.. 19:09 < RossC0> Anyway to get the exception template to output the html when FPF fails? 19:09 < Xylakant> RossC0: sort of annoying to have only the html errors :) 19:12 < Xylakant> wombert: a file uploaded with a put request does not get removed if the application does not handle it 19:13 < RossC0> Xylakant: it can be like debugging js on ie 19:14 < Xylakant> yes 19:14 < Xylakant> you have an error in line 0 19:22 < Xylakant> bye, gotte run 19:22 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 19:25 -!- Whisller [n=Whisller@217.97.146.67] has quit [Read error: 113 (No route to host)] 19:26 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 19:32 < Zibi> hmm - I set parameter for createForwardContainer and its not visable in the action 19:32 < Zibi> $container->setParameter('id', $rd->getParameter('content_id')); 19:32 < Zibi> $rd->getParameter('content_id') = 36 in this instance 19:34 < v-dogg> I think you are mixing request params and container params 19:34 < v-dogg> just a sec 19:35 < v-dogg> createForwardContainer($moduleName, $actionName, $arguments = array(), $outputType = null) 19:35 < Zibi> ok i will try 19:36 < v-dogg> $arguments can be array or AgaviRequestDataHolder 19:42 < Zibi> ok i will work on it tomorrow 19:42 < Zibi> i think i need to rewrite error view 19:42 < Zibi> thnx 19:45 -!- RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)] 19:55 -!- Zibi [n=asd@80.4.120.163] has quit [] 20:13 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 20:14 -!- Whisller [n=Whisller@217.97.146.67] has quit [" :]"] 20:38 < v-dogg> does simple translator support plurals? 20:39 < kaos> no 20:39 < v-dogg> k 20:40 < kaos> if(is_array($message)) { 20:40 < kaos> throw new AgaviException('The simple translator doesn\'t support pluralized input'); 20:40 < kaos> ;D 20:41 < v-dogg> roger :) 21:00 -!- skiv02 [n=Miranda@bzq-84-108-58-67.cablep.bezeqint.net] has joined #agavi 21:00 < skiv02> does agavi include Object Relational Mapper? 21:00 < Wombert> no 21:00 < Wombert> (on purpose) 21:00 < Wombert> but we have integration for propel 21:00 < skiv02> which is your preferred ORM? 21:00 < skiv02> oh 21:01 < Wombert> I prefer propel, others like doctrine 21:01 < Wombert> doctrine integration is on the todo, but currently not possible due to shortcomings in doctrine, if I remember correctly 21:05 -!- RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi 21:05 < RossC0> ola 21:06 -!- fastly [n=fast@194.42.125.16] has joined #agavi 21:06 < fastly> hi all 21:07 < RossC0> Wombert: I use Doctrine and have no problems - I'll update the wrapper I supplied tomorrow as I use a different approach 21:08 < RossC0> I don't bother with trying to load model record objects with $ct->getModel('blah'); 21:08 < RossC0> so the code can be simplified 21:08 < Wombert> yeah that's what I meant ;) 21:08 < RossC0> mind you Doctrine should support configurable namespacing 21:09 < RossC0> for the classes 21:09 < skiv02> anybody here is into mobile development? 21:10 < RossC0> http://tinyurl.com/2yls5v 21:11 < RossC0> but they ignore me! In hind site I would have picked propel and then I could have had more questions for Wombert !! 21:12 < Wombert> return $this->getConnection()->query("FROM UserRecord WHERE email = '$email' AND password = '$password'"); 21:12 < Wombert> is that just me or does that cry "sql injection"? ;) 21:12 < Wombert> skiv02: like for mobile phones and such? 21:12 < Wombert> no 21:12 < Wombert> BUT! 21:12 < Wombert> agavi can do that :) 21:13 < Wombert> you can have an application that is usable from the "normal" web and via, say, wap 21:13 < RossC0> Wombert: no - as DQL handles it 21:13 < Wombert> RossC0: okay 21:13 < skiv02> Wombert: yep 21:13 < RossC0> it builds the actual SQL from its DQL blarb 21:20 < _cheerios> interesting sql building 21:21 < _cheerios> did you notice google adsense placed an ad of "got bad code?" on that page? ;D 21:27 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 21:28 < _cheerios> http://www.commodoregaming.com/ 21:28 < Whisller> http://novelconcepts.co.uk/FlashElementTD/ , great flash game :) 21:28 < Whisller> *game in flash 21:28 < splatch> fuck, fuck, fuck 21:29 < splatch> why i play this fucking ET!? 21:29 < Whisller> eee/ 21:29 < Whisller> what is it? 21:29 < Whisller> http://www.etonline.com/? 21:30 < splatch> enemy territory 21:30 < Whisller> hmm 21:31 < _cheerios> you should play more time-consuming games that require full attention 24/7 21:31 < Whisller> hmm i don't know what it is. 21:31 < Whisller> I don't play with any games like l2 or something like that 21:33 < Whisller> one time I played on ogame ;p 21:33 < Whisller> what a stupid game 21:33 < Whisller> I think, I have still there a account. 21:34 < _cheerios> heh. i played Planetarion between 2001-2006 21:35 < Whisller> :) 21:35 < Whisller> that games is evil! 21:36 < _cheerios> it truly is 21:36 < Whisller> Man lose most of time. 21:36 < RossC0> man thats good! 21:36 < kaos> planetarion can completely kill your life 21:37 < kaos> (and it did so for many ppl i guess) 21:37 < Whisller> like L2 21:37 < Whisller> Or second life 21:38 < Whisller> but second life is a big businnes for owners 21:38 < _cheerios> if it wasnt for planetarion i probably wouldnt be on this channel. that's a thought. 21:40 < kaos> RossC0: how can doctrine know when someone want to inject something there 21:40 < _cheerios> ah, that flash game looks like tower of defence (sp? something close), that we played a lot few months back. just with better gfx. 21:40 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 21:40 < _cheerios> pretty addictive 21:40 < kaos> like when $email is "foo' AND 1" 21:40 < Whisller> yestarday I watched in tv a program about SL, you know a diplomacy of UK want create there a office :> 21:41 < kaos> how does it detect that this is an injection attempt ? 21:41 < _cheerios> yeah, businesses are going ga-ga over SL 21:41 < _cheerios> even at work i've already overheard phone conversations of business wanting to advertise within SL 21:42 < Whisller> heh 21:42 < _cheerios> kaos: <funny> doctrine has an EULA against injection attemps. </funny> 21:42 < kaos> _cheerios: you think hackers care about eulas ? ;) 21:43 * _cheerios slaps Captain with a trout 21:43 * _cheerios *Cpt Kaos that is :D 21:44 < _cheerios> i wasted 2hrs yesterday. watched Miami Vice. horrible. 21:44 < _cheerios> so today it's been all work no play :| 21:45 < _cheerios> can't get the hours back but can atone one's mistakes 21:46 < _cheerios> btw. define:<word> in google is pretty nice 21:47 < RossC0> kaos & Wombert you're right I should be return $conn->query("FROM UserRecord WHERE email = ? And password = ?", array($email, $password)); 21:47 < kaos> RossC0: no ... you should use propel ;p 21:48 < _cheerios> pfft! i have a hacked up db class like that too :D 21:48 < RossC0> yeah - but I have to recompile xml all the time 21:48 < RossC0> instead of explaining my db in php and have it create the table etc.. 21:49 < _cheerios> im just waiting for Propel (+Agavi support) to mature, so it's not giving me any headaches, ever. ;) 21:49 < kaos> RossC0: you don't really have to do that at all 21:49 < kaos> propel features db reverse engineering 21:50 < RossC0> it has been a while since I looked at it - 2005 21:50 < kaos> and recompiling that xml is not really cumbersome either 21:50 < kaos> i think it supported that already back then ;) 21:50 < kaos> but yeah, if you'r used to doctrine now you should probably stick with it 21:51 < kaos> using propel needs some time to get used to 21:51 < RossC0> I wouldn't mind switching - but I'd have to explain it to my underlings 21:51 < RossC0> and as I don't know it - it would be too much work! 21:53 < RossC0> anyway I can learn it when chuckwalla - kicks off again 21:53 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out] 21:53 < RossC0> :-) 21:54 < kaos> :) 21:55 < MrJeep> 1702 MrJeep 887 lvl 26 DEAD +0h ago 21:55 < Wombert> td? 22:15 < RossC0> 1030 lvl 26 22:18 < MrJeep> yeah 22:21 < splatch> oi! :) 22:23 < MrJeep> this is my first draft for some part of my website : http://mrjeep.dyndns.org:81/Temp/pokom-layout.gif 22:23 < MrJeep> comments, suggestion ? 22:23 < fastly> i'm gonna use propel 1.3 now... do you guys recommend using creole or PDO as the db abstraction layer? 22:24 < RossC0> nice 22:24 < RossC0> v clean layout 22:24 < MrJeep> oh thanks :) 22:24 < RossC0> fastly: PDO 22:25 < RossC0> but ask Wombert / kaos they know best 22:25 < RossC0> :) 22:25 < Whisller> MrJeep, nice :) 22:25 < MrJeep> woot :D 22:25 < kaos> fastly: pdo 22:25 < v-dogg> fastly: 1.3 uses pdo 22:25 < MrJeep> Wombert : comments ? 22:26 < fastly> cool thanks - this is packaged with PHP, right? 22:26 < kaos> yes 22:26 < kaos> MrJeep: is that header part with the start now part 22:26 < kaos> used for something else 22:26 < kaos> but the start now stuff ? 22:26 < MrJeep> this is still under thinking 22:27 < MrJeep> but the start part will be only on the first page 22:27 < kaos> its a bit to large imho 22:27 < MrJeep> banner or start now stuff ? 22:27 < kaos> the entire beige part 22:28 < MrJeep> ok, well, like I said this part is still under thinking 22:28 < MrJeep> but I won't forget this 22:29 < MrJeep> and, thanks :) 22:31 < kaos> and maybe you could make the black part a bit smaller too (but thats really up to you, i just don't like these oversized headers 22:32 < kaos> (i guess you just made the part above the logo the same size as below it) 22:33 < MrJeep> yeah, the black part, I agree is a bit large 22:33 < MrJeep> but my logo's big 22:33 < RossC0> laters all 22:33 -!- RossC0 [n=RossC0@teamjr.plus.com] has quit [] 22:33 < MrJeep> later! 22:34 < kaos> and did you plan to make the content start with the same left margin as the logo ? 22:34 < MrJeep> well, the content will be centered 22:35 < kaos> so the header would expand to left and right ? 22:35 < MrJeep> yeah 22:35 < kaos> ah, then its ok i think 22:35 < MrJeep> like most web 2.0 banners 22:35 < fastly> ok, i'm close now!! all propel classes and conf files have been regenerated for 1.3 without error 22:35 < fastly> and upon running the script i get the following: Fatal error: Propel::require() [function.require]: Failed opening required 'cyance/Enquiries.php' (include_path='.;c:\php\PEAR') in C:\php\PEAR\propel\Propel.php on line 574 22:36 < fastly> in cyance-conf.php i see: 'Enquiries' => 'cyance/Enquiries.php' 22:36 < kaos> fastly: add your library path to the include path 22:36 < fastly> why is it working on relative rather than absolute? 22:37 < fastly> hmm.. ok, thanks but it seems a little untidy to have to do that.. 22:37 < fastly> may add it manaully in index.php 22:37 < kaos> do it in your config.php 22:37 < fastly> ahh.. good plan 22:42 < fastly> now: 22:42 < fastly> No dsn specified in your connection parameters for datasource [cyance] 22:43 < fastly> maybe i have a problem with runtime-conf.xml? 22:44 < kaos> check your cyance-conf.php (this should get generated when you build the propel stuff) 22:46 < fastly> http://pastebin.ca/386686 22:46 < kaos> uuh, i am no propel expert either :s 22:47 < kaos> you would need to wait for Wombert 22:47 < fastly> it built all the classes etc.. 22:47 < fastly> so i'd gather my database settings are all fine as far as propel is concerned 22:49 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 22:51 < v-dogg> fastly: use a pdo dns string like this: http://pastebin.ca/386691 22:51 < v-dogg> dsn, even 22:55 < fastly> thanks, can you give me a pdo dns example for mysql please 22:56 < fastly> dsn, even ;-) 22:57 < fastly> <dsn>mysql://root:*******@localhost/cyance</dsn> 22:57 < fastly> that's what i have 22:57 < fastly> and i'm getting the following error: 22:57 < fastly> Unable to open PDO connection [wrapped: SQLSTATE[28000] [1045] Access denied for user 'ODBC'@'localhost' (using password: YES)] 22:58 < Wombert> http://de.php.net/manual/en/ref.pdo-mysql.connection.php 22:58 < fastly> ODBC...??? weird..!! 22:59 < fastly> thanks Wombert, but there doesn't appear to be a password in these examples.. 22:59 < Wombert> <password>lala 23:00 < fastly> ok 23:00 < Wombert> http://propel.phpdb.org/trac/wiki/Users/Documentation/1.3/Upgrading 23:06 < fastly> in build.properties i have: propel.database.creole.url = mysql://root:*******@localhost/cyance 23:06 < fastly> does this need to be a PDO DSN? 23:07 < Wombert> oO 23:07 < Wombert> what does that do? 23:07 < Wombert> I think you only need that for reverse engineering 23:08 < fastly> annoying... just rebuilt using propel-gen and still getting the following error: 23:08 < fastly> Unable to open PDO connection [wrapped: SQLSTATE[28000] [1045] Access denied for user 'ODBC'@'localhost' (using password: YES)] 23:09 < fastly> in the upgrade guide it says: You must use the PDO DSN format in your build.properties and runtime-conf.xml files. 23:09 < Wombert> so do you have <user> and <password> elements? 23:10 < fastly> ahh.. you genius 23:10 < fastly> it was still <username> 23:10 < fastly> and you just witnessed my first ever propel insert 23:10 < fastly> thanks so much 23:18 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"] 23:22 -!- Xylakant [n=fgilcher@23.205.27.217.static.versanetonline.de] has joined #agavi 23:22 < Xylakant> Wombert, ping 23:27 < splatch> sq. server 23:27 < splatch> sql server 23:33 -!- Prometheus^ [n=Promethe@cs181164208.pp.htv.fi] has joined #agavi 23:40 < Xylakant> right, noone there i'm back off again 23:40 -!- Xylakant [n=fgilcher@23.205.27.217.static.versanetonline.de] has quit ["Leaving"] 23:50 < fastly> a quick idea guys: 23:51 < fastly> given that it seems necessary to add the directory containing all propel generated files to the include_path 23:52 < fastly> and i've resorted to including this in config.php manually 23:52 < fastly> wouldn't it be worth including the path as an option in the databases.xml config for propel 23:52 < fastly> and allowing this to be changed per environment 23:52 < fastly> e.g. development and live servers are likely to have a different path --- Day changed Fri Mar 09 2007 00:00 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 00:18 < Prometheus^> one request for the agavi site when a fancy new site is being made, PLEASE don't make it look ANYTHING that would even resemble the looks of www.codeigniter.com 00:29 < MrJeep> that's another php framework ? 00:29 < MrJeep> sounds pretty basic 00:29 < Prometheus^> yeah 00:30 < Prometheus^> they just did a major overhaul on the site looks 00:30 < Prometheus^> but I wasn't really commenting on the framework itself, just the site :) 00:30 < Prometheus^> it's just such a cliche ;) 00:31 < MrJeep> why, the site does not look bad IMO 00:32 < MrJeep> I'm looking at the video right now, what's the font used in the editor ? 00:32 < MrJeep> looks like lucida grand but for coding 00:32 < Prometheus^> MrJeep: doesn't look bad until you start hitting the other sites in the network: http://www.enginehosting.com/ http://expressionengine.com/ http://ellislab.com/ 00:33 < Prometheus^> which video? 00:33 < Prometheus^> there be 2 of them 00:33 < MrJeep> the first one 00:33 < MrJeep> Hello World stuff 00:34 < Prometheus^> let's see 00:35 < Wombert> Monaco 00:35 < MrJeep> is it free ? 00:35 < Wombert> a better font, bundled with windows xp, is Consolas 00:35 < Wombert> I think it's mac only 00:35 < Wombert> windows vista, sorry 00:35 < MrJeep> (googleing) 00:36 < Wombert> http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displaylang=en 00:36 < Prometheus^> yeah monaco :) 00:36 < Prometheus^> textmate default 00:38 < MrJeep> there is monaco for windows 00:38 < MrJeep> and it's free 00:38 < Wombert> consolas is better, trust me 00:38 < MrJeep> I'm gonna try it, while I download the ms stuff 00:38 < Wombert> a lot better 00:39 < MrJeep> damn, I need VS 2005 00:42 < MrJeep> got it 00:42 < MrJeep> yeah that's a nice font 00:44 < Prometheus^> btw, what's the advantage of using xml files for configurations over say php files? 00:45 < Wombert> you can use xincludes 00:45 < Wombert> you can use namespaces 00:45 < Wombert> you can machine process it 00:45 < Wombert> you can transform it using xsl 00:46 < Wombert> you can validate it against dtd/xsl schema/relaxng/schematron 00:46 < Wombert> etc etc etc 00:47 < _cheerios> cliche or not, looks good :) 00:48 -!- kaos is now known as kaos|work 00:49 -!- digitarald [n=Miranda@62-43-158-159.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 00:50 < kaos|work> MrJeep: pm 00:51 < MrJeep> I'm adjusting the line height right now 00:51 * kaos|work throws a large pillow at MrJeep 00:52 < MrJeep> hehe 00:52 < kaos|work> see my query pls 00:52 < MrJeep> "Private messages from unregistered users are currently blocked due to spam problems, but you can always message a staffer. Please register! ( http://freenode.net/faq.shtml#privmsg )" 00:52 < kaos|work> i assume you got what i wrote 00:52 < MrJeep> yeah I did 00:52 < MrJeep> about the fond 00:52 < MrJeep> i found it 00:52 < kaos|work> ah 00:52 < kaos|work> k 00:52 < MrJeep> sorry 00:53 < kaos|work> np :) 00:54 < MrJeep> I think my line-height is correct now : 00:54 < MrJeep> http://mrjeep.dyndns.org:81/Temp/lineheight.gif 00:54 < MrJeep> I like space between lines ;P 01:04 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 01:05 < Whisller> yawn 01:06 -!- fastly [n=fast@194.42.125.16] has quit ["agavi 0.11 + propel = world domination"] 01:13 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit [".."] 01:14 < ttj> Yo. 01:16 < impl> 'sup. 01:16 * Whisller is listening to 78. Iron Maiden - Still Life 01:31 < CIA-11> dominik * r1846 /branches/0.11/src/config/AgaviConfigHandler.class.php: 01:31 < CIA-11> make numeric keys for parameters work 01:31 < CIA-11> closes #481 01:32 < ttj> Not much. Answer emails. You? 01:32 < Whisller> What you think? It's time to work :> 01:32 < Whisller> Yes. It is ;) 01:32 < ttj> It's half past one. AM. :P 01:32 < Wombert> Joe Jackson - Be My Number Two 01:32 < Wombert> cool 01:32 < Wombert> it's half past twelve. am. in a cooler time zone 01:33 < Whisller> 00:33 01:34 < ttj> Wombert: Pfft. 01:34 < ttj> Laggard. 01:34 < ttj> I'm in teh future! 01:35 < Wombert> I heard nokia has a wicked new mobile phone navigation software 01:35 < Wombert> with 3d vector shizzle 01:35 < Wombert> very cool 01:35 < Wombert> now you just need to make nice phones again 01:35 < ttj> You referring to Gate5? 01:35 < Wombert> like in the olden days 01:35 < Wombert> yes I think that's it 01:35 < Wombert> that berlin company 01:36 < ttj> Yeah, had to go all the way to Germany to buy a decent SW company. :P 01:37 < Wombert> but if you could tell them 01:37 < Wombert> to make nice phones again 01:37 < Wombert> plzkthxbye 01:37 < ttj> I wouldn't hold my breath. ;-) 01:37 < Wombert> no really 01:37 < Wombert> call the dev department and tell them I'm not replacing my 6510 until they make an equally ace model 01:38 < ttj> Nah, I'm from Corporate. I don't do anything useful. :P 01:40 < ttj> Quite an annoying situation yesterday. I was about to make a call on my way home, so I turn on my Bluetooth headset, the phone detects it, I select a number from the phonebook and the phone crashes. 01:40 < ttj> And because it's one of the enterprise Symbian phones, it takes five years to reboot. 01:41 < ttj> Long story short, I got home before I was able to get the thing back up and running again and just made the call with Skype instead. 01:41 < ttj> That's pretty unacceptable. 01:41 < ttj> And the battery life of the BT headset is quite a joke. It's only like a couple of hours or something. 01:42 < Wombert> dude you're working in the same company. walk down to the room in the basement where you keep the engineers in chains and give them a run for their money 01:42 < ttj> Wombert: I don't think you understand. I'm at the HQ. I don't think we have R&D grunts there. :P 01:43 < Wombert> isn't it all one huuuuge building in espoooooo? 01:43 < ttj> Nah. It's many smaller buildings. 01:43 < ttj> At multiple locations. And then tons of R&D is in Salo, Tampere, Oulu, etc. 01:44 < Wombert> I see 01:44 < ttj> http://en.wikipedia.org/wiki/Image:Nokia_HQ.jpg <-- Round building, fourth floor, fifth window from the left. :P 01:45 * impl waves 01:45 < Wombert> oh impl 01:45 < Wombert> blog.bitxtender.com 01:45 < Wombert> first post 01:45 < Wombert> check those out 01:45 < Wombert> ttj, you too 01:46 < impl> haha 01:46 < ttj> WTF? :o 01:46 < Wombert> so ace 01:47 < Wombert> gotta order a mug or poster 01:52 < Wombert> impl: can you explain http://www.flickr.com/photos/goopymart/289959675/in/set-72157594362502502/ to me? 01:53 < impl> TEH INTERNETS 01:53 < impl> It's a common deliberate misspelling 01:53 < Wombert> yes I know 01:53 < Wombert> I just thought there was another pun in it 01:53 < Wombert> with teh cat 01:54 < Wombert> and now I know where zomg comes from 01:54 < impl> hmm 01:54 < Wombert> z is often bound to chat in games 01:54 < Wombert> and people used to writing "omg" all the time when getting pwned in counter strike or so 01:54 < Wombert> typed it too on irc etc 01:54 < Wombert> very cool 01:55 < impl> The cat picture has something to do with fgsfds 01:55 < impl> I'm not sure what, though 01:55 < impl> http://www.encyclopediadramatica.com/index.php/Fgsfds 01:55 < impl> http://fgsfds.ytmnd.com/ ? 01:55 < Wombert> that's harald schmidt 01:55 < Wombert> a german comedian 01:55 < Wombert> host of a late night show 01:56 < Wombert> he had that long hair for one show :) 01:57 < impl> Everyone in the fgsfds pictures has their finger pointing up 01:57 < impl> Like the cat 02:54 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has joined #agavi 03:16 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"] 03:33 -!- Prometheus^ [n=Promethe@cs181164208.pp.htv.fi] has quit [] 04:24 < CIA-11> dominik * r1847 /branches/0.11/src/translation/AgaviSimpleTranslator.class.php: 04:24 < CIA-11> support the empty domain for the simple translator 04:24 < CIA-11> closes #482 04:54 < CIA-11> dominik * r1848 /branches/0.11/src/translation/AgaviSimpleTranslator.class.php: 04:54 < CIA-11> support empty language blocks in the simple translator 04:54 < CIA-11> closes #483 05:06 -!- kaos|work [n=kaos@ppp-62-245-210-205.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 05:10 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has quit [Read error: 110 (Connection timed out)] 05:20 -!- kaos|work [n=kaos@ppp-82-135-0-15.dynamic.mnet-online.de] has joined #agavi 05:34 -!- Wombert [n=Wombert@dslb-084-056-007-226.pools.arcor-ip.net] has quit [] 06:24 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:36 -!- Wombert [n=Wombert@dslb-084-056-007-226.pools.arcor-ip.net] has joined #agavi 07:34 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has quit [] 07:41 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 08:12 * Wombert pokes v-dogg 08:14 < v-dogg> huomenta 08:15 < Wombert> dude 08:15 < v-dogg> what up 08:15 < Wombert> I was rolling on the floor again 08:15 < v-dogg> symf? 08:15 < Wombert> do you know the word "kahvipaussi"? 08:15 < v-dogg> of course :) 08:15 < Wombert> and "wursti"? 08:15 < Wombert> ahahahahaha 08:15 * Wombert falls over 08:15 < Wombert> vahtimestari? 08:15 < Wombert> besserwisseri, harhar 08:16 < v-dogg> you are one weird dude :D 08:16 < Wombert> those are german words, that's why ;) 08:16 < Wombert> herra 08:16 < Wombert> lamppu 08:16 < Wombert> and wtf is "kipp es"? 08:16 < v-dogg> huh? 08:17 < Wombert> okay not that 08:18 < v-dogg> btw, I added commenting to veikko.fi (not released yet) 08:18 < Wombert> I understand that "kahvipaussi" can mean both "break" and "out of order"? 08:18 < v-dogg> no, I wouldn't say so 08:18 < v-dogg> only coffee break 08:18 < Wombert> hm okay then the description is wrong 08:18 < v-dogg> where are you reading these from? 08:19 < Wombert> vanity fair 08:19 < Wombert> bought it at the gas station 08:19 < Wombert> relatively boring 08:19 < Wombert> but they got a world map with german words in other languages/countries 08:21 < v-dogg> any chance you could scan it? 08:22 < Wombert> hmm... don't have a scanner 08:22 < Wombert> sec 08:23 < v-dogg> I'll go eat breakfast and then head to the office 08:42 < v-dogg> hmm... 08:43 < v-dogg> is $_SERVER cleaned too? 08:52 < Wombert> no 08:52 < Wombert> only HTTP_* 08:52 < Wombert> these are available as headers in the request 08:53 < v-dogg> uhm... this can cause problems 08:53 < Wombert> why 08:53 < v-dogg> 3rd party libs may use stuff like $_SERVER['HTTP_USER_AGENT']; and $_SERVER['HTTP_REFERER']; 08:53 < Wombert> ewww 08:53 < v-dogg> Php5Akismet does 08:53 < Wombert> beh :< 08:54 < Wombert> problem is that these are user supplied and therefor considered unsafe 08:54 < v-dogg> yep 08:54 < v-dogg> I'll repopulate those two manually for now 08:55 < Wombert> overwrite request::startup(), copy $_SERVER, move it back after the parent::lala call 08:55 < Wombert> I think we should have an all-or-nothing policy here 08:55 < v-dogg> $rd->getHeader('HTTP_USER_AGENT'); ? 08:55 < Wombert> that should work 08:55 < Wombert> no 08:55 < Wombert> USER_AGENT 08:55 < Wombert> or 08:55 < Wombert> User-Agent 08:56 < v-dogg> and REFERRER? 08:56 < Wombert> Referrer or ReFeReR or REFERRER 08:56 < Wombert> :> 08:56 < Wombert> nap -> 09:01 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 09:01 < horros> huomenta 09:03 < v-dogg> huomenta 09:15 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 09:20 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has joined #agavi 09:20 < Alystair> ack, you should reallly turn off the auto-notice on join 09:23 -!- digitarald [n=Miranda@62-43-158-159.user.ono.com] has joined #agavi 09:24 < horros_> v-dogg: j00 lie on your blog! 09:24 < horros_> zomg! 09:26 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:32 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 09:43 < v-dogg> horros_: woot 09:43 < horros_> v-dogg: you claim it to be XHTML 1.1 :) 09:44 < horros_> when in fact you use the XHTML 1.0 doctype and use the lang-attribute :) 09:44 < v-dogg> uh uh uh dammit omg 09:44 * v-dogg panics 09:45 < v-dogg> what would brian boitano do?! 09:47 < horros_> LOL 09:47 < horros_> there's a finnish youtube 09:47 < horros_> "suntuubi" 09:47 < horros_> bahahahaha 09:48 < v-dogg> heh 09:48 < horros_> hahah 09:49 < horros_> " - brand maintenance - please check back later" 09:49 < horros_> "Please visit our blog meanwhile we beat our internet service provider with a stick." 10:08 < splatch> you! :) 10:08 < _cheerios> lol @ suntuubi ??? :D 10:09 < _cheerios> im glad i wasnt drinking anything 10:18 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:18 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 131 (Connection reset by peer)] 10:18 < RossC0> good morning Agavists! 10:22 < splatch> hello RossC0! 10:22 < v-dogg> hello hello 10:22 < splatch> RossC0: you are creator of agileweb, true? 10:25 < RossC0> yeah... 10:25 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 10:25 * RossC0 worries I forgot something - like the ahrefs again ;) 10:26 < splatch> RossC0: i've question about agile 10:26 < splatch> Does java can be agile? 10:27 < horros> agile as in... the agile development model? 10:27 < v-dogg> splatch: http://en.wikipedia.org/wiki/Agile_software_development 10:27 < horros> that's quite language independent :) 10:28 < splatch> i know, but i see aspiration to make ruby and other languages to more "agile" than for example java 10:29 < RossC0> 'agile' in programming terms is a methodology / philosophy 10:30 < RossC0> its the processes of development that are agile - doesn't matter which language you use 10:31 < RossC0> http://agilemanifesto.org/ 10:32 < splatch> yes, but ruby have very strong marketing, in my opinion 10:33 < RossC0> people confuse 'agile' for flexibility - so scripting languages such as Ruby are seen as more 'agile' / flexibile than compiled languages such as C++ / Java 10:34 < splatch> but... what flexibility gives ruby which Java don't give? 10:34 < splatch> is flexybility - wrote and run? 10:34 < RossC0> None - apart from the costs of making mistakes during development is seen as less 10:35 < v-dogg> but for example unit testing (or test-driven dev) it strongly connected to agile development and it was made famous by java 10:35 < RossC0> remember all the early agile methods scrum, XP et al - were all born from compiled languages 10:35 < splatch> v-dogg: i don't think so 10:35 < RossC0> scripting languages are increasingly aware of the benefits of these methodologies and as such are shouting about them 10:36 < splatch> v-dogg: sorry, i don't got you idea, you're right 10:36 < RossC0> much like Rails guys are shouting because they found a use for Ruby 10:36 < RossC0> (;) 10:36 < RossC0> :) 10:37 < splatch> v-dogg: unit testing in java are very good.. we can use many external libraries to mocking, stubing based on junit 10:38 < splatch> btw junit was base for the most number of testing libraries :) 10:38 < splatch> i must back to work, bye! :) 10:39 < RossC0> laters 10:39 < v-dogg> splatch: exactly, junit was the first famous unit testing framework 10:39 < v-dogg> hence the argument earlier 10:39 < splatch> yeah, but phpunit 3 are better ;) 10:41 < splatch> RossC0: can you write more often? 10:41 < v-dogg> heh 10:46 < digitarald> anybody knows about that, i request data via xhr from another subdomain. but firefox won't do it ... Permission denied to call method XMLHttpRequest.open 10:46 < digitarald> its from localhost to 1.localhost 10:46 < RossC0> yup 10:46 < RossC0> I blogged it :) 10:46 < RossC0> http://agileweb.org/2006/11/3/a-restful-client-and-cross-domain-problem 10:46 < RossC0> has a work round 10:47 < digitarald> i have written an ajaxqueue for mootools 10:47 < digitarald> so u have multiple instances wrapped in one 10:47 < RossC0> but its a no no 10:47 < digitarald> there are many articles that say yes yes 10:47 < RossC0> XHR requires exactly the same domain 10:47 < digitarald> mh 10:47 < digitarald> i wanted to workaround the maximum-2-connections problem 10:48 < splatch> RossC0: i wrote about it on my blog :) 10:48 < splatch> about mod_proxy 10:48 < RossC0> cool :) 10:48 < digitarald> ok RossC0, this fix is really annoying 10:48 < RossC0> url 10:49 < digitarald> so how to get around with ajax? 10:49 < RossC0> digitarald: need to use a registry and an observer 10:49 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 10:49 < Xylakant> good morning 10:49 < RossC0> registry holds the queue of requests 10:49 < digitarald> morning old master :) 10:49 < digitarald> RossC0, i'll already do ;) 10:50 < RossC0> the observer informs the registry when a slot is free 10:50 < digitarald> wait, i'll upload latest version 10:50 < digitarald> u don't need this 10:50 < digitarald> because when u have maximum connections started xhr's wait until a slot is free 10:50 < digitarald> the browser handles this 10:51 < digitarald> but its annoying ... lets find a hack :) 10:51 < RossC0> ah ok - but you can't remove / manipulate the queue if you let the browser do it 10:51 < RossC0> but thats probably not an issue 10:52 < digitarald> i can manipulate the queue, i can cancel events 10:52 < digitarald> -events-requests 10:53 < RossC0> any example code? 10:54 < digitarald> its possible ... with iframes 10:54 < digitarald> thats the dojo solution at least (like most dojo solutions very hacky) 10:55 < RossC0> ok - whats the problem with only 2 requests? I thought that was IE and firefox defaulted to 4 10:57 < digitarald> possible fix: http://fettig.net/weblog/2005/11/30/xmlhttprequest-subdomain-update/ 10:57 < Xylakant> wombert, ping 10:58 < splatch> http://blog.dywicki.pl/2006/09/07/ajax-i-wiele-domen/ 10:58 < splatch> :] 11:00 < Wombert> Xylakant: pong 11:02 < Xylakant> i made a first attempt at the noninteractive console stuff 11:03 < Xylakant> it's still a bit rough but works (at least as far as I tested it) 11:03 < Xylakant> see http://trac.agavi.org/ticket/480 11:04 < Xylakant> i'd like to hear comments on that if you have time to look into it 11:05 < Xylakant> some questions popped up, though: what to do with redirects - you could generate a new commandline and return the result of that one or not handle it at all (i choose not to handle it and throw an exception) 11:06 < Xylakant> and should ConsoleRouting::gen() return anything useful (it does not atm) 11:07 < Xylakant> and what to do with input parameters that are specified multiple times (cli.php command -id 5 -id 7), take the last one or treat it as an array (it currently takes the last one) 11:08 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 11:08 < Xylakant> treating it as an array should be easy though 11:09 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 11:10 < RossC0> splatch: I sent the link to Zibi to interpret :) 11:16 < Wombert> Xylakant: not before sunday sorry 11:16 < Wombert> thanks for the work 11:17 < splatch> RossC0: who's zibi? :) 11:18 < RossC0> oh no - hes coming! 11:18 < splatch> who!? 11:18 -!- Zibi [n=asd@80.4.120.163] has joined #agavi 11:18 < Zibi> <<.>> 11:18 < Zibi> somebody talks about me? 11:18 < splatch> no :> 11:19 < splatch> :) 11:19 < Zibi> witam ;) 11:19 < RossC0> splatch: Zibi is a co-worker 11:19 < splatch> czesc Zibi! 11:19 < Zibi> =] 11:19 < splatch> RossC0: from poland? :) 11:19 < Zibi> yup 11:19 < splatch> Zibi: wspolracujesz przy agileweb? 11:19 < splatch> *wspolpracujesz 11:20 < Zibi> raczej nie 11:20 < RossC0> nah thats my personal site 11:20 * Wombert slaps the weirdos 11:20 < Wombert> english! 11:20 < Zibi> okok ;) 11:20 * RossC0 agrees 11:20 < Wombert> and you speak polish, ross? oO 11:20 < RossC0> nope 11:20 < Zibi> i'm teaching him ;) 11:20 * RossC0 has a translator 11:20 < splatch> Zibi: can you give me an contact to you? Sometime i need good translator ;) 11:21 < Zibi> sure but im bad translator 11:21 < Zibi> ask ross ;) 11:21 < splatch> RossC0: does Zibi are bad translator? 11:21 * RossC0 nods - no Polish Variable Names! 11:21 < splatch> :D 11:21 < Xylakant> Wombert: no problem 11:21 < splatch> Zibi: $nieWiemCoTaZmiennaRobi :) 11:22 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 11:22 < Zibi> ;) 11:22 < Xylakant> We'll test that internally and maybe you'll have some bugs less on sunday 11:22 < Wombert> sweet 11:23 -!- luke` [n=luke`@61.95.206.107] has joined #agavi 11:23 < RossC0> http://ajax3d.sourceforge.net/ 11:23 < Wombert> for arrays, two approaches 11:23 < Wombert> a) foo.php -id 3 4 5 11:23 < Wombert> b) foo.php -id[] 3 -id[] 4 -id[] 5 11:23 < Wombert> and also foo.php -id[foo] bar 11:23 < splatch> Zibi: gadu-gadu? 11:23 < Wombert> I prefer b 11:24 < Wombert> mind you that's some work though 11:24 < Wombert> maybe we can leave it out for now 11:24 < RossC0> not sure what that has to do with Ajax - but is certainly 3d :) 11:24 < Wombert> and I'll refactor out the code that handles that in FPF so you can use it 11:24 < luke`> Wombert: i know you probably told me this a zillion times, but how do I get fpf to populate form elements on read? 11:25 < splatch> RossC0: what is that!? 11:25 < Wombert> $req->setAttribute('populate', true, 'org.agavi.filter.FormPopulationFilter'); 11:25 < Wombert> to populate from the current request 11:25 < RossC0> brb 11:25 < Wombert> $req->setAttribute('populate', new AgaviParameterHolder(array('foo' => 'bar')), 'org.agavi.filter.FormPopulationFilter'); 11:26 < Zibi> brb 11:26 < Wombert> to populate the same url form 11:26 < Wombert> $req->setAttribute('populate', array('zeform' => new AgaviParameterHolder(array('foo' => 'bar'))), 'org.agavi.filter.FormPopulationFilter'); 11:26 < Wombert> to populate form with id 'zeform' 11:26 * luke` thinks that this stuff should go into the cookbook 11:28 < luke`> Wombert: what about checkboxes and radio controls? 11:30 < digitarald> luke`, works all 11:30 < digitarald> even with name="check[]" 11:30 < luke`> awesome :) 11:31 < v-dogg> luke`: the first thing you want to do is check global_filters.xml and enable the filter 11:32 < luke`> ah ok 11:32 < v-dogg> :) 11:56 < horros> lol 11:56 < horros> what in the hell 11:56 < horros> "bearjadahke, 2007 njoktje 09" 11:56 < Zibi> splatch i dont have gg at work and i dont remember my number atm 11:56 < horros> hehehe 11:59 < horros> lunch 11:59 < horros> ==> 12:06 < splatch> Zibi: jabber? 12:07 < Zibi> only email at work 12:07 < Zibi> or irc 12:08 < splatch> and irc :) 12:18 -!- Wombert [n=Wombert@dslb-084-056-007-226.pools.arcor-ip.net] has quit [Nick collision from services.] 12:18 -!- Wombert_ [n=Wombert@dslb-084-056-002-073.pools.arcor-ip.net] has joined #agavi 12:38 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 12:39 < Xylakant> oh man http://www.php-security.org/MOPB/MOPB-16-2007.html 12:39 < Xylakant> quote: "Insufficient boundary checks are still common and often the result of hasty coding. However copying data into a stack variable without any kind of boundary check is quite keen." 12:40 < Wombert_> In the circles of PHP developers this vulnerability is called a local one, although a lot of applications allow supplying URLs either through URL include vulnerabilities or by design. Examples are avatar upload functions or the Wordpress Pingback code (not in the latest versions). 12:40 < Wombert_> that sounds like stefan esser 12:40 < Wombert_> he's a huge moron 12:40 < Xylakant> it's him 12:40 < Wombert_> I don't like him 12:41 < Wombert_> he's arrogant, he never gets his tone right, and stuff like that doesn't make it better 12:41 < Xylakant> maybe. but he's good 12:41 < Wombert_> he's very, very, competent 12:41 < Xylakant> the problem is: he's right on point 12:42 < Xylakant> he may be a moron, but have you written the detailled letter where he explains why he left the php security team? 12:42 < Wombert_> I can understand that he doesn't want to work with those fools 12:42 < Xylakant> all the points he mentions, what is wrong in the way development is handled, everything right on the mark. 12:42 < Wombert_> but I can also understand them if they are sick of his blahblah 12:43 < Wombert_> the problem is that he does not have a neutral standpoint 12:43 < Wombert_> he reports a problem 12:43 < Xylakant> i have yet to see a fundementally wrong statement 12:43 < Wombert_> but not without bashing php ten times 12:43 < Wombert_> like in that 12:43 < Wombert_> yes, yes, he's _always_ right 12:43 < Wombert_> it's just the way he says it 12:43 -!- Wombert_ is now known as Wombert 12:43 < Wombert> I mean, I am darn full of myself, but he's just a whole different league 12:43 < Wombert> NOT EVEN THE SAME SPORTS, MAN! 12:44 < _cheerios> he should be friendly, like, uh, conversation in this channel towards Symfony :p 12:44 < Xylakant> sorry, but copying data on the stack without bounds check deserves bashing 12:44 < digitarald> we all love symfony! 12:44 < Xylakant> hail symphony, the bringer of light, the creator of worlds 12:44 < digitarald> hail AjaxActions 12:45 < _cheerios> php 5.2.0 is, well, bugged, i needed to upgrade from it yesterday but ran into a packaging problem 12:45 < digitarald> more bust-words in frameworks! 12:47 < Xylakant> and apart from the "Insufficient boundary checks are still common..." part i think the report is quite detailed and pretty neutral 12:58 -!- digitarald [n=Miranda@62-43-158-159.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 13:10 < RossC0> man I had to read it 2 times to understand what the frack was going on 13:14 < RossC0> poll - anybody here have a tumblelog ? 13:14 < RossC0> made me laugh >> http://ideas.tumblr.com/post/86041 13:19 < _cheerios> heh heh 13:27 < _cheerios> btw. do you know that guy? 13:46 -!- digitarald [n=Miranda@234.Red-83-50-119.dynamicIP.rima-tde.net] has joined #agavi 14:06 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 14:08 < RossC0> _cheerios: nope 14:12 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 14:20 < Wombert> Arme[N]: do you know what a "schiebedach" is? :) 14:22 < Xylakant> is there a configuration directive pointing to the absolute path of the applications documentroot ? 14:23 < Xylakant> ie. to the location where the dispatcher file is located? 14:23 < Wombert> no 14:23 < Xylakant> hm 14:23 < Xylakant> k 14:23 < Wombert> can't be done reliably due to rewriting, bugs, virtual hosts, symlinks etc 14:24 < Xylakant> oh, i'm looking for the filesystem path 14:24 < Wombert> yeah, I know 14:24 < Wombert> you could use core.app_dir/../pub/ 14:24 < Wombert> :p 14:24 < Xylakant> and dirname(__FILE__) in the dispatcher file will give me what i want 14:24 < Wombert> yep 14:25 < Wombert> best approach: 14:25 < Xylakant> expect that in this case, the directory is not core.app_dir/../pub/ :) 14:25 < Wombert> do it after config.php 14:25 < Wombert> AgaviConfig::set('core.pub_dir', dirname(__FILE__)); 14:25 < Xylakant> i'll do that. just wanted to check wether i overlooked something 14:26 < Xylakant> i'm writing a stylesheet_tag function :) 14:27 < v-dogg> stylesheet helper! we want that! 14:29 < Xylakant> shure 14:31 * Wombert shakes head 14:31 < v-dogg> :p 14:33 < Xylakant> Wombert: what's the problem with the helper? 14:33 < Wombert> I don't see the point 14:34 < Wombert> <link rel="stylesheet" type="text/css" href="yo.css" /> isn't too complicated or anything 14:34 < Xylakant> no 14:35 < Xylakant> but updating <link rel="stylesheet" type="text/css" href="yo.css?timestamp=mtime" /> each time i edit yo.css is annoying 14:35 < Xylakant> and for annoying repetitive tasks i ususally use a script or beat my computer to do it 14:35 < Wombert> I'd do 14:36 < Xylakant> and updating all <link rel="stylesheet" type="text/css" href="yo.css" /> to <link rel="stylesheet" type="text/css" href="http://i.now.descide.to.serve/my/stylsheets/from/a/dedicated/stylesheet/server/yo.css" /> 14:36 < Wombert> <?php foreach($rq->getAttribute('stylesheets', 'com.myapp.layout', array()) as $css): ?> 14:36 < Wombert> <link rel="stylesheet" type="text/css" href="<?=$css?>" /> 14:36 < Wombert> <?php endforeach; ?> 14:36 < Wombert> and in the views 14:36 < Wombert> $rq->appendAttribute('stylesheets', 'yo.css', 'com.myapp.layout'); 14:37 < Xylakant> see. you're using a helper as well 14:37 < Xylakant> you're just not calling it a helper 14:37 < Wombert> mmmh not quite 14:37 < Wombert> for instance, my approach has the advantage that it's cacheable 14:37 < Wombert> :) 14:38 < Xylakant> mine as well 14:38 < Wombert> pah 14:39 < Xylakant> and you'd still have to update all your $rq->appendAttribute('stylesheets', 'yo.css', 'com.myapp.layout'); calls once you decide to change the location of the stylesheets directory 14:40 < Xylakant> and having a dedicated server for static resources is not such a rare case 14:41 < Wombert> <?php foreach($rq->getAttribute('stylesheets', 'com.myapp.layout', array()) as $css): ?> 14:41 < Wombert> <link rel="stylesheet" type="text/css" href="newdest/<?=$css?>" /> 14:41 < Wombert> <?php endforeach; ?> 14:41 < Wombert> :p 14:42 < Xylakant> in each template 14:42 < Wombert> master template! 14:42 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)] 14:42 < Xylakant> well, you only have one i suppose 14:42 < Xylakant> but what if you have two or three master templates 14:42 < Xylakant> one for popups, a reduced one for some microsite 14:42 < Xylakant> etc 14:43 < Wombert> yeah then I'd maybe write a method that does the output :p 14:43 < Wombert> still, relying on request attributes for such stuff is definitely recommended since the agavi caching can restore that 14:43 < Xylakant> and born was the stylesheet_tag() function 14:43 < Wombert> otherwise, you're in for trouble 14:44 < Wombert> yes but that function doesn't use the request, right? 14:44 < luke`> cd 14:44 < Xylakant> atm, it would use a configuration directive and a passed stylesheet path 14:44 < Wombert> the point is 14:45 < Wombert> if it doesn't use request attributes 14:45 < Xylakant> <?php foreach($rq->getAttribute('stylesheets', 'com.myapp.layout', array()) as $css) stylesheet_tag($css); ?> 14:45 < Wombert> then you cannot use caching 14:45 < Wombert> aaah okay 14:45 < Wombert> good 14:45 < Wombert> :) 14:45 < Xylakant> and maybe stylesheet_tags($rq, 'com.myapp.layout'); 14:46 < Xylakant> we'll see about that 14:46 < Alystair> so 14:46 < Wombert> "cannot use caching" is not 100% correct btw 14:46 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 14:47 < Wombert> you could not cache parts of the page only otherwise 14:47 < Wombert> whole document would work fine, of coruse 14:47 < Xylakant> yes, i guessed that 14:47 < Wombert> but if you cache only parts of the document, you can specify that that request attribute should be stored in and restored from the cache 14:48 < Xylakant> i have yet to look into that 14:49 < horros> hmm 14:49 < horros> most peculiar 14:49 < horros> the php plugin for eclipse has suddenly caused it to start leaking massive amounts of memory :( 14:49 < Wombert> it's java 14:49 < Wombert> it leaks memory by definition 14:49 < horros> ... 14:50 < horros> I'll take my business elsewhere. 14:50 < Alystair> ? 14:50 < Alystair> agavi for java? D: 14:51 < Wombert> I think he means back to zend studio or something 14:53 < Xylakant> horros: all php plugins that I tried for eclipse sucked in some way or another 14:53 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has quit [Remote closed the connection] 14:53 < Arme[N]> Wombert: nope, what is that? 14:54 < Wombert> hmm 14:54 < Wombert> "scharlatan"? 14:54 < Wombert> "pompe benzin"? 14:55 < Wombert> my german words world map tells me these are words in farsi :( 14:55 < Arme[N]> Ow 14:56 < Arme[N]> lol ha ha ha 14:56 < Wombert> not? :/ 14:56 < Arme[N]> pomp e benzin :) 14:56 < Wombert> that means "gas station"? 14:56 < Arme[N]> yep 14:56 < Wombert> cool 14:56 < Wombert> benzinpumpe = fuel pump 14:57 < Arme[N]> yep, exactly 14:57 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [Connection timed out] 14:58 < Arme[N]> and scharlatan == charlatan 14:58 < Wombert> really funny 14:58 < Wombert> the best thing is 14:58 < Wombert> americans have words like gemutlichkeit, kaffeeklatsch, beergarden, noodle, kaputt... 14:59 < Wombert> the brits have "achtung", "putsch", "blitzkrieg", "angst", "hande hoch", "strafe" 14:59 < Wombert> sounds like a huge nazi complex 14:59 * Wombert hugs RossC0 14:59 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 14:59 < Wombert> but again, my love for the finns as the world's (and my) favorite weirdos was confirmed 14:59 < Wombert> kaffepaussi 15:00 < Wombert> vahtimestari 15:00 < Wombert> wursti 15:00 < Wombert> had me cracking up 15:00 * Wombert hugs v-dogg 15:00 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 15:02 < digitarald> there is also this great work in africansk ... halbkaput ... for defect machines 15:02 < digitarald> but kaffeepausi is better :D ! 15:03 < digitarald> ok ... i'll take my kaffeepausi at the beach ... 15:03 < Wombert> kahvipaussi even 15:03 * Wombert <3 finland 15:03 < Wombert> enjoy 15:03 * Wombert heads back to work 15:03 < Arme[N]> :) 15:12 < horros> "paussi" isn't finnish. 15:12 < horros> it's a mangled from of swedish. 15:12 < horros> pase = tauko 15:12 < horros> pause* 15:12 < Wombert> pause is german ;) 15:15 < digitarald> my favorite exported german word, used in chinese, english and east-europe: Fingerspitzengefhl :) 15:16 < horros> I like smorgasbord 15:16 < v-dogg> now, someone please teach me caching 15:16 < v-dogg> :) 15:16 < v-dogg> horros: the word or the actual thing?-) 15:16 < horros> well 15:16 < horros> both 15:17 < Wombert> v-dogg: sunday 15:18 < v-dogg> nono, now :) 15:20 < v-dogg> I'll read ze mail 15:28 -!- Prometheus^^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 15:31 < Xylakant> wombert, is there a way that a slot may return data to the "main" view? 15:31 < Xylakant> such as "hey, i need this stylesheet" 15:32 < Wombert> request attribs :) 15:32 < Xylakant> so they share a request data holder 15:32 < Wombert> they are the instrument for inter-application communication 15:32 < Xylakant> even if the slot is marked as simple? 15:32 < Wombert> request attribugtes are global, available from the request object (not the data holder) 15:33 < Wombert> they support namespaces 15:33 < Wombert> that way, you can avoid collisisons 15:33 < Xylakant> right 15:33 < Wombert> keep in mind that the view has long finished execution by the time a slot runs 15:33 < v-dogg> Xylakant: request != requestdataholder 15:34 < Xylakant> so there is no way 15:34 < Wombert> sure there is! 15:34 < Wombert> example 15:34 < Wombert> the main view doesn't need javascript 15:34 < Wombert> a slot needs javascript 15:34 < Wombert> in the slot view 15:34 < Xylakant> well, if the slot runs after view execution happened, there is now way to feed back any information to the slot execute 15:35 < Wombert> $request->appendAttribute('javascripts', 'mootools.js', 'com.myapp.layout'); 15:35 < v-dogg> Xylakant: $this->getContext()->getRequest()->setAttribute() 15:35 < Wombert> appendattribute makes an array 15:35 < Xylakant> yes, this feeds back information to the request 15:35 < Wombert> then, in the master template, you output each element in that array as a script tag 15:35 < Xylakant> shure 15:35 < Wombert> what's your specific use case? 15:35 < _cheerios> what's the JS command to have an iframe redirect the main document itself, rather than execution being confined into the iframe? 15:35 < Xylakant> but that information is not available to the slots execute :) 15:36 < Wombert> of course! 15:36 < Wombert> $this->context->getRequest() 15:36 < Xylakant> shure, that's what i wanted clarified 15:36 < Wombert> that's ze global request 15:36 < Wombert> attributes go there 15:36 < Wombert> they all share that 15:36 < Xylakant> well, but if the slot runs after the view finished 15:36 < v-dogg> Wombert: Xylakant mixed Request with RequestDataHolder 15:36 < Wombert> but the request _data_ (user parameters, files, headers, cookies) go into isolated data holders 15:37 < Wombert> Xylakant: what do you need in your specific case? 15:37 < Xylakant> you'd have to implement a fancy time shifting algorithm in the request to make that information generated in the slot available to the view 15:37 < Xylakant> nothing special at the moment, i just wanted to know so i can plan ahead 15:38 < Xylakant> the stylesheet example does not require feeding info to the way, just to the master template - which works because it is processed later in the execution flow 15:39 < Xylakant> way -> view :) 15:45 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [Connection timed out] 15:56 < _cheerios> fuck i hate globals in php code... 15:59 < Xylakant> :) 15:59 < Xylakant> i hate globals in any code 15:59 < MrJeep> morning 15:59 < Xylakant> one could say "i globally hate globals" 15:59 < Xylakant> good morning 16:07 < digitarald> ... quoted 16:20 * _cheerios *bashes head to table due watching too much braindead code* 16:30 -!- luke` [n=luke`@61.95.206.107] has quit [Read error: 104 (Connection reset by peer)] 16:32 -!- psyko_free [n=virus@41.250.15.198] has joined #agavi 16:33 -!- psyko_free [n=virus@41.250.15.198] has left #agavi ["Konversation terminated!"] 16:45 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 16:45 < Whisller> hi 16:46 < v-dogg> evening 16:48 < Whisller> I have a little problem. I return a object with fields name_[XXX], but in application i must choose it dynamic. Is possible to do it like that ->name_$v - this is for example, does not work. 16:49 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 16:49 < v-dogg> $var = 'name'.$v; $this->$var 16:50 < v-dogg> but $this->names[$v] would is better 16:50 < Whisller> Undefined property: stdClass::$name_pl 16:50 < v-dogg> $this->getName($v) even better :) 16:51 < v-dogg> do you have $ in the name? 16:51 < Whisller> no 16:51 < v-dogg> ie. $var = '$name'...? 16:51 < Whisller> $v ='name_pl'; 16:52 < v-dogg> k 16:52 < v-dogg> hmm 16:52 < Whisller> $category->$v; 16:52 < Wombert> if php says undefined then it's undefined ;) 16:52 < Whisller> not impossible 16:52 < Whisller> i check something 16:53 < v-dogg> var_dump($category) 16:53 < v-dogg> anyone here used Akismet? 16:55 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 16:55 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 16:58 < Whisller> ok now it work 16:58 < Whisller> i scramp it 16:59 < Whisller> *scamp 17:00 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 17:00 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 17:07 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 17:07 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 17:10 < _cheerios> if you need a spam filter for your own blog, probably is ok, v-dogg. never used it. 17:13 -!- empathon [n=empathon@staticline12850.toya.net.pl] has joined #agavi 17:13 < empathon> hi 17:13 < Wombert> v-dogg: it sucks 17:13 < Wombert> hi empathon 17:16 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeekend"] 17:18 < MrJeep> spam filter ? 17:18 < MrJeep> how does that work ? 17:18 < MrJeep> look if there is too much similarity between a reply and another reply ? 17:19 < Whisller> a akismet is it not linked to the database? 17:20 < Whisller> outside database 17:20 < Wombert> askimet talks to a web service 17:21 < Whisller> o yes 17:21 < Whisller> $500/mo in pro version, fiu fiu 17:22 < digitarald> or just block comments with sex/viagra/stock ... 17:22 < digitarald> ... /boobs/rolex/ 17:22 < digitarald> ... ok 17:22 < digitarald> ... too long this spam list 17:27 < Whisller> heh for google germans is still nazi http://www.spiegel.de/netzwelt/web/0,1518,470384,00.html 17:28 < Xylakant> has anybody had trouble with agavi and eaccelerator? 17:29 < Xylakant> Fatal error: Cannot access protected property AgaviConfigHandlersConfigHandler::$parameters in ..../util/AgaviParameterHolder.class.php on line 49 17:29 < Xylakant> seems that something messes up to which class the property actually belongs 17:34 < Xylakant> why does using oss software always require at least a basic knowledge about c programming? 17:34 < Xylakant> installing a php extension is always fun 17:37 < Wombert> ea sucks 17:38 < Wombert> use apc or xcache 17:39 < Xylakant> ea is installed on that machine :/ 17:39 < MrJeep> ea ? Electronic Arts ? 17:39 < Xylakant> i'd use xcache any time :) 17:40 < Xylakant> ok, confirmed that it is an ea problem 17:40 < Xylakant> now i can push xcache :) 17:41 < Xylakant> ea - e-accelerator 17:42 < Xylakant> but ea and ea have something in common 17:42 < Xylakant> ea games tend to be buggy as hell 17:43 < Xylakant> and ea patches tend to offer you the option "if you install this patch, this critical bug will be resolved, but it will crash at some other point" 17:43 < kaos|work> ea never worked properly with php5 17:44 < Xylakant> well, i've pushed lighty and the sysadmins now love it and "made by the people who wrote lighty" will make them buy xcache :) 17:45 * horros_ slaps propel 17:46 * kaos|work would still suggest apc 17:46 < kaos|work> in my tests apc was way faster on concurrent hits then xcache 17:47 < Xylakant> we'll see :) 18:01 < v-dogg> Wombert: why does Akismet suck? 18:02 < v-dogg> Whisller: $500/y for commercial use, free for personal 18:02 < Whisller> v-dogg, yes 18:02 < Whisller> but a version for personal is full? 18:02 < v-dogg> yep 18:03 < digitarald> wordpress does offer it free too 18:03 < v-dogg> the same deal applies no matter what application uses it 18:05 < horros_> errm 18:05 < horros_> has something changed with routing while my back was turned? :I 18:05 < v-dogg> _o_ 18:05 < horros_> read: while I sat in the car from work to home 18:05 < horros_> http://localhost/blog/ 18:05 < horros_> Invalid locale identifier (@currency=EUR) specified 18:05 < horros_> :O 18:06 < horros_> I stole the route from the sample app :/ 18:06 < v-dogg> did you also steal the callback? 18:06 < horros_> nossir 18:06 < horros_> funkily enough it was working just fine at work 18:06 < horros_> at least I think so 18:06 < horros_> :) 18:06 < horros_> lemme go steal the callback. 18:07 < v-dogg> put on your ninja mask so you don't get caught 18:07 < v-dogg> that's what I always do 18:08 < horros_> oh bugger 18:08 < horros_> I only stole it wearing my red mexico-karate-kid-bandana :( 18:09 < v-dogg> haha, nobody but you wears that 18:10 < horros_> v-dogg: Kari Peitsamo does! 18:10 < horros_> http://www.skp.fi/vaalit/kari_peitsamo.jpg 18:10 < horros_> see! 18:11 < horros_> I saw him in the city today. He was wearing said bandana :) 18:12 < v-dogg> lol 18:12 < Wombert> he looks like a genuinely finnish weirdo 18:13 < horros_> he's an iggy pop/bob dylan wannabe 18:14 < v-dogg> and a commie! 18:14 < v-dogg> apparently 18:14 < Prometheus^^> dear lord.. 18:15 < horros_> v-dogg: nah. sitoutumaton. 18:15 < Xylakant> what a beautiful bandana. 18:15 < Xylakant> i'm .... overwhelmed. 18:31 < v-dogg> horros_: any luck? 18:31 < horros_> v-dogg: aye 18:32 < horros_> things are a-working 18:35 < v-dogg> let's see what I could do to make the docs better 18:40 < Xylakant> did the behaviour for pass_by_reference change? 18:42 < Xylakant> forget that. it's getting late :( 18:50 < horros_> you know.. it's shit like this that just makes me want to break down and cry and throw the computer off the balcony 18:51 < horros_> $header = new ArticleHeader(); $header->setHeaderText($text); $header->save(); var_dump($header->getHeaderId()); -- NULL 18:51 < horros_> no errors, no exceptions, no nothing. 18:51 < horros_> *sigh* 18:52 -!- ShawnLocke [n=ShawnLoc@cs6625110-161.bham.res.rr.com] has joined #agavi 18:52 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:52 < _cheerios> first order of business to get php+apache to cooperate again... 19:00 < horros_> cool 19:01 < horros_> about 1.5h and I have a basic working multi-language blog :) 19:01 < v-dogg> :) 19:02 < horros_> granted, I can't edit articles yet, nor can you comment on them but... pretty good since it's done from scratch though :) 19:02 < kaos|work> horros_: using agavi i was able to build a very basic wiki withhin 1 hour ;) 19:02 < kaos|work> (and propel) 19:02 < horros_> yeah, I'm using propel too 19:02 < horros_> of course 19:02 < horros_> :) 19:02 < v-dogg> 1.3 ? 19:02 < horros_> yep 19:03 * RossC0 am a heritic using Doctrine 19:03 < v-dogg> what database? 19:03 < RossC0> -am+is 19:03 < horros_> v-dogg: postgres. of course. 19:03 < v-dogg> k 19:03 < ShawnLocke> Good man 19:03 < v-dogg> I use sqlite for all "normal" needs nowdays 19:04 < v-dogg> postgres for hard-core :) 19:04 < ShawnLocke> :D 19:04 < ShawnLocke> pgsql pwns mysql hands down 19:04 < v-dogg> hear hear 19:04 < kaos|work> well ... mysql ... well 19:04 < kaos|work> *g* 19:04 < ShawnLocke> I introduced impl to pgsql and he like shat his pants at some of the features 19:04 < kaos|work> a database which decides that your tables are borked 19:05 < v-dogg> haha 19:05 < kaos|work> requiring a user to do REPAIR TABLE 19:05 < ShawnLocke> decides 'randomly' that is 19:05 < kaos|work> w/o any apparent reason 19:05 < kaos|work> every week 19:05 < ShawnLocke> Yeah 19:05 < kaos|work> is not what i call a database 19:05 < ShawnLocke> We did a replication config 19:05 < kaos|work> more like a bad flat file interface 19:05 < ShawnLocke> where we had a master/slave setup 19:05 < ShawnLocke> and it would slowly corrupt the slave over a month 19:05 < ShawnLocke> We had to run repair 2-3 times a week 19:06 < kaos|work> that all sounds so familiar ;) 19:06 < ShawnLocke> and all too true 19:06 < kaos|work> or ze great myisam 19:06 < kaos|work> with full table locking 19:06 < horros_> myisam ftw! 19:06 < kaos|work> where some updates decide not to finish 19:06 < kaos|work> locking the entire table 19:06 < kaos|work> until you kill the offending process 19:06 < horros_> been there, seen that. 19:06 < kaos|work> pure genius 19:07 < kaos|work> i had to do that manually like every day on a high traffic site 19:07 < kaos|work> some years ago 19:07 < kaos|work> maybe its more stable today 19:07 < horros_> I can sacrifice a bit of insert speed for the sake of getting a good night's sleep every night :) 19:07 < kaos|work> but such you just don't forget such behaviour 19:07 < kaos|work> but yeah, all TEH INTERNETS pros swear on that easy to use 19:07 < kaos|work> db 19:07 < kaos|work> well ... :D 19:08 < horros_> that's the problem, it's too easy 19:08 < horros_> :) 19:08 < kaos|work> without php mysql would have been dead long ago 19:08 < horros_> much the same as with PHP 19:08 < horros_> you manage to get a database up and stuff some data in there, and suddenly you're a DBA 19:08 < ShawnLocke> MS SQL is still king of thorns in my butt 19:08 < horros_> much like you manage to get some crappy procedural heap of shit to work with PHP, and you're suddenly a "web developer" 19:09 < ShawnLocke> Same can be said about web designers 19:09 < horros_> true. 19:09 < ShawnLocke> The new web 2.0 trend is just a weird gradient background 19:09 < ShawnLocke> with BIG FONTS 19:09 < ShawnLocke> and nature-esque logos 19:09 < horros_> on the other hand, I can't design for shit, so I don't comment on that 19:09 < ShawnLocke> That I could make in Wingdings 19:09 < Prometheus^^> ShawnLocke: the neverside guy? 19:09 < ShawnLocke> Yeah 19:09 < Prometheus^^> damn. 19:09 < ShawnLocke> ? 19:09 < Prometheus^^> how do I run in to people like this 19:09 < v-dogg> hehee, web 2.0 19:10 < v-dogg> see veikko.fi :) 19:10 < Prometheus^^> ShawnLocke: I don't know if you know caged, but I ran in to him the other day 19:10 < ShawnLocke> Oh yeah, I know him 19:10 < Prometheus^^> on freenode 19:10 < ShawnLocke> Not a big fan 19:10 < Prometheus^^> and I've been a lurker on tutorialforums for a while 19:10 < Prometheus^^> well, was anyway 19:10 < ShawnLocke> Yeah 19:10 < Prometheus^^> so I just know your name through that 19:10 < ShawnLocke> I'm still the target of everyone's hate for that debocle 19:11 < Prometheus^^> debocle? :o 19:11 < ShawnLocke> I imagine Caged had some saucy words about me ;D 19:11 < ShawnLocke> or did you just bump into him 19:11 < Prometheus^^> I just bumped in to him, I don't really know him 19:11 < Prometheus^^> I was a lurker on his forums too 19:11 < Prometheus^^> I just recognize names :) 19:11 < ShawnLocke> Yeah 19:11 < Prometheus^^> that's all 19:11 < Prometheus^^> I'm neutral as far as tutorialforums goes 19:11 < ShawnLocke> I'm working on a new startup right now 19:11 < Prometheus^^> well, tutorialforums/neverside 19:11 < ShawnLocke> TF was never my thing 19:11 < ShawnLocke> I did it to help out and I ended up running something I didn't have any ownership in 19:11 < RossC0> v-dogg: :-) subscribed - now write some for POSTS! 19:11 < Prometheus^^> I liked looking at pretty pictures, that's all :) 19:12 < ShawnLocke> lol 19:12 < ShawnLocke> Yeah, our new startup uses Agavi 19:12 < Prometheus^^> cool :) 19:12 < ShawnLocke> and it is one sexy bitch of software 19:12 < Prometheus^^> I'm just awestruck in my ability to run in to people in internet 19:12 < Prometheus^^> on the internet* 19:12 < ShawnLocke> The internet bounty hunter 19:13 < Prometheus^^> really, I should start doing that 19:13 < _cheerios> touching *g* 19:13 < ShawnLocke> Caged was apart of a cool startup 19:13 < ShawnLocke> I can't recall the name of it 19:13 < ShawnLocke> but it's a build-a-shop idea 19:13 < Prometheus^^> caged is pretty talented as far as I can remember 19:13 < Prometheus^^> one of those all-around guys 19:13 < ShawnLocke> Yeah 19:14 < v-dogg> RossC0: didn't get that? what did you mean? 19:15 < Prometheus^^> ShawnLocke: but good to see that you are using agavi :) 19:15 < ShawnLocke> Yeah 19:15 < Prometheus^^> I will too once I get the hang of it 19:15 < ShawnLocke> Came highly recommended from impl 19:15 < ShawnLocke> We looked at other MVCs 19:15 < ShawnLocke> RoR came to mind, but most of us hate that 19:15 < ShawnLocke> Then the PHP ones 19:15 < ShawnLocke> CakePHP 19:15 < ShawnLocke> Symfony 19:15 < ShawnLocke> PHP On Trax was a good laugh 19:16 < kaos|work> symfony is good for some laughs as well ;) 19:16 < kaos|work> AJAX ACTIONS !!!!!!11111112222222 19:16 < ShawnLocke> Yeah 19:16 < kaos|work> *g* 19:16 < RossC0> v-dogg: subscribed to your blog rss :) 19:16 < Prometheus^^> I was using codeigniter myself before, but yeah.. :P 19:16 < ShawnLocke> www.shopify.com 19:16 < ShawnLocke> That's it Prometheus 19:16 < Prometheus^^> ah 19:16 < ShawnLocke> That's the startup Caged was involved with 19:16 < v-dogg> RossC0: sure but "some for POSTS!" :) 19:16 < Prometheus^^> so caged is behind that 19:16 < ShawnLocke> Yeah 19:17 < Prometheus^^> interesting, it wasn't too long ago when I was flipping through that 19:17 < Prometheus^^> I should've read through the About us :) 19:17 < Prometheus^^> Justin Palmer rings a bell 19:18 < _cheerios> WHAT?! NO NATURO THIS WEEK? *sob* 19:18 < ShawnLocke> Yeah 19:18 < Prometheus^^> hmm, I've read his blog before, too, without actually realizing it 19:18 < Prometheus^^> well, encytemedia 19:19 < ShawnLocke> He doesn't seem to be on the Jaded Pixel team anymore though 19:19 < ShawnLocke> so I dunno what he's doing now 19:19 < ShawnLocke> Last I recall he was writing a book for Pragmatic 19:19 < Prometheus^^> he's freelancing 19:19 < Prometheus^^> according to his site, encytemedia.com 19:19 < Prometheus^^> so he's back to his roots, I guess 19:20 < ShawnLocke> Yeah 19:20 < ShawnLocke> I used to live near him in Memphis, TN 19:20 < Prometheus^^> he's also working on prototype and mephisto 19:20 < Prometheus^^> good stuff 19:20 < Prometheus^^> so he has turned in to a rails guy 19:21 < ShawnLocke> Yep 19:21 < Prometheus^^> interesting 19:21 < Prometheus^^> I would love to run with rails too, if only I had the time to learn ruby and rails :) 19:21 < ShawnLocke> It's pretty easy 19:21 < ShawnLocke> but most RoR apps never get finished 19:21 < Prometheus^^> I bought the pragmatic guide to get a jump-start, but I haven't had time to read through it yet :/ 19:22 < v-dogg> http://ideas.tumblr.com/post/86041, still makes me laugh :) 19:22 < _cheerios> same one as on your blog, veikko? :) 19:22 < v-dogg> yep 19:22 < ShawnLocke> I totally thought it was Rails! Doesn't it look so Rails?! Ah... i love tumblr *looks skywards and bats eyelashes* 19:22 < ShawnLocke> ROFL 19:23 < ShawnLocke> Rails is popular with the TextMate crowd 19:23 < v-dogg> picked from this channel 19:23 < ShawnLocke> Due to the amount of tools and bundles 19:23 < Prometheus^^> I'm partial to the textmate crowd :) 19:23 < ShawnLocke> I love TextMate 19:23 < Prometheus^^> however, I'd first like to master agavi before I turn to rails 19:23 < Prometheus^^> I /need/ to build myself a blog at some point :P 19:23 < ShawnLocke> I'm also using an in-development textmate-like app for Windows 19:23 < ShawnLocke> InType 19:23 < Prometheus^^> e? 19:23 < Prometheus^^> intype? 19:23 < Prometheus^^> heh. 19:24 < ShawnLocke> Yeah 19:24 < ShawnLocke> I remember I first used it 19:24 < Prometheus^^> I've been hearing a lot of harsh criticism on it 19:24 < ShawnLocke> Yeah 19:24 < kaos|work> i tried e 19:24 < kaos|work> and tbh 19:24 < ShawnLocke> That's because their first alpha lacked small features like 'undo' 19:24 < v-dogg> haha 19:24 < ShawnLocke> ./sarcasm 19:24 < kaos|work> i havent seen a worse editor 19:24 < Prometheus^^> ShawnLocke: I think they have only themselves to blame 19:24 < Prometheus^^> but then again, textmate received quite harsh criticism too 19:25 < ShawnLocke> Yeah 19:25 < Prometheus^^> in the beginning 19:25 < ShawnLocke> It's an alpha 19:25 < Prometheus^^> however, things have changed since 19:25 < ShawnLocke> It's not like they're charging for it yet 19:25 < ShawnLocke> Now if they charged for it 19:25 < ShawnLocke> and it has the feature set it does now 19:25 < ShawnLocke> ...lame 19:25 < Prometheus^^> well, I do like how some "beta" programs charge their users already 19:25 < ShawnLocke> That's the web 2.0 way 19:25 < ShawnLocke> Slap a beta tag on it 19:25 < Prometheus^^> google has taken it to the next level :) 19:25 < ShawnLocke> and it's ok if it has bugs 19:26 < Prometheus^^> yup 19:26 < ShawnLocke> I think betas are useful 19:26 < ShawnLocke> Like I'm in several 19:26 < ShawnLocke> My new favourite beta darling is Reinvigorat 19:26 < Prometheus^^> they are useful, but they are not an excuse 19:26 < ShawnLocke> Reinvigorate* 19:26 < ShawnLocke> Usually used as one 19:26 < Prometheus^^> or rather, they shouldn't be used as an excuse 19:26 < ShawnLocke> 'Hey, I can't login for some reason' 19:26 < ShawnLocke> 'Oh, well this is a BETA you know' 19:26 < Prometheus^^> I tell them "Get off your lazy ass and fix it!" 19:27 < _cheerios> is that reinvigorate another "Mint" ? 19:27 < ShawnLocke> It's better than Mint 19:27 < ShawnLocke> It's more like google analytics 19:27 < ShawnLocke> only in realtime 19:27 < Prometheus^^> better than mint you say 19:27 < _cheerios> of course 19:27 < ShawnLocke> i hate mint 19:27 < ShawnLocke> whoring pixel fonts 19:27 < kaos|work> mint ... 19:27 < Prometheus^^> you are not a fan of shaun? 19:27 < kaos|work> is not worth 19:27 < kaos|work> a single $ 19:27 < ShawnLocke> Not really 19:27 < ShawnLocke> or his peppers! 19:27 < kaos|work> you can write such a thin in 3 days 19:27 < Prometheus^^> hehe :) 19:27 < kaos|work> (or even less) 19:28 < ShawnLocke> Reinvigorate is cool though 19:28 < ShawnLocke> It works like GA does 19:28 < ShawnLocke> but it's realtime 19:28 < ShawnLocke> and the name tagging feature is nice 19:28 < ShawnLocke> Lets me see what logged in users are doing 19:28 < _cheerios> GA lags behind 3-4hrs (usually) 19:28 < ShawnLocke> Rather than just fun session ids 19:28 < Prometheus^^> personally I am not in to paying for software like that 19:28 < ShawnLocke> Yeah, this is to the second 19:28 < ShawnLocke> RE is free right now 19:28 < ShawnLocke> and GA is 'free' to 5mil pageviews a month 19:28 < Prometheus^^> I only buy software that increases my productivity :) 19:28 < ShawnLocke> Like porn? 19:28 < ShawnLocke> ...wait 19:28 < Prometheus^^> namely textmate and transmit :) 19:29 < ShawnLocke> <3 Transmit 19:29 < Prometheus^^> aye 19:29 < _cheerios> 5mil pageviews a/mo is quite a lot 19:29 < ShawnLocke> Yeah 19:29 < Prometheus^^> one day I spent 6 hours using the unlicensed version of transmit, which cuts you off every 10 minutes 19:29 < ShawnLocke> and if you're getting more than that 19:29 < ShawnLocke> you just have to put $5 into an adwords account 19:29 < ShawnLocke> and never use it 19:29 < Prometheus^^> after that I decided it was time to get myself a license 19:29 < ShawnLocke> and it goes 'unlimited' 19:30 < _cheerios> im not even at 100k :D 19:30 < ShawnLocke> http://www.devlounge.net/articles/reinvigorate-preview 19:30 < ShawnLocke> When people compare RE to Mint 19:30 < ShawnLocke> the only argument the mintards have 19:30 < ShawnLocke> is 19:30 < ShawnLocke> 'DOES IT HAVE PEPPERS?!' 19:31 < Prometheus^^> how does reinvigorate work exactly, is it software on your server or external? 19:31 < Prometheus^^> like GA 19:31 < ShawnLocke> It's a JS call 19:31 < Prometheus^^> so it's like GA? 19:31 < ShawnLocke> Yep 19:31 < Prometheus^^> alright 19:31 < ShawnLocke> and you can also add stuff to it like name tagging 19:31 < ShawnLocke> Which when a session logs into the site 19:31 < _cheerios> ...like every other statistical tool 19:31 < ShawnLocke> Well 19:31 < ShawnLocke> Urchin prior to google 19:31 < ShawnLocke> used to just process apache access logs 19:31 < ShawnLocke> Which was like the referrer spam pool 19:32 < ShawnLocke> Same with Webalizer 19:32 < ShawnLocke> and AWStats 19:32 < Prometheus^^> oh looksie, pie chartses 19:32 < ShawnLocke> Mint just bugs me with how it looks 19:33 < ShawnLocke> I don't see how something so arbitrary costs $30 19:33 < ShawnLocke> Shaun had ShortStats a long time ago 19:33 < ShawnLocke> and it was free 19:33 < ShawnLocke> then he decided to capitalise on it, good for him 19:33 < Prometheus^^> from the way reinvigorate looks, I could swear it was created by 37signals 19:33 < ShawnLocke> but it's still a substandard tool 19:33 < ShawnLocke> Well 19:33 < ShawnLocke> It is running on RoR 19:33 < ShawnLocke> so 19:33 < _cheerios> there was a market for something like Mint 19:33 < Prometheus^^> aha, ror! 19:33 < ShawnLocke> Yeah 19:33 < Prometheus^^> there we go :) 19:33 < ShawnLocke> Mint gives you upto the second stats 19:34 < ShawnLocke> Where GA lags behind in update intervals 19:34 < Prometheus^^> I was thinking about, for a while, creating a statistics tool on ror 19:34 < Prometheus^^> when I was trying to get in to rails 19:34 < Prometheus^^> but then it was crunch time @ work and all of the sudden I had no free time.. 19:35 < Prometheus^^> hmm, reinvigorate is closed beta? 19:35 < ShawnLocke> Yeah 19:35 < Prometheus^^> mm 19:35 < Prometheus^^> figures 19:35 < ShawnLocke> It's going to cost money I think depending on the amount of traffic 19:35 < Prometheus^^> what kind of charging scenario are they planning for it? 19:35 < Prometheus^^> ah 19:35 < ShawnLocke> I talked to Sean about it 19:35 < ShawnLocke> and what I think is 19:35 < ShawnLocke> it'll come down to pageviews 19:35 < ShawnLocke> There will be a free one for blog sites 19:36 < ShawnLocke> but for large sites and so forth 19:36 < Prometheus^^> as always :) 19:36 < ShawnLocke> it'll probably be in pageview tiers 19:36 < Prometheus^^> well, reinvigorate has a purty interface, I'll give it that 19:36 < ShawnLocke> It's fast too 19:37 < Prometheus^^> unfortunately, I think we're using the tracking service provided by the server provider on all of our client sites 19:37 < Prometheus^^> that and GA 19:37 < ShawnLocke> Yeah 19:37 < Prometheus^^> and it's not like most of our clients understand a whole lot about the stats anyway 19:37 < ShawnLocke> I think RE will be interesting for us at AO 19:37 < Prometheus^^> so to them it's not really something worth investing in 19:37 < ShawnLocke> We were thinking of doing a stats portion for members to track their stuff on the site 19:37 < ShawnLocke> but I think we'll just have a place for people to put their RE tracking code 19:37 < ShawnLocke> and it'll track all of their trailings 19:38 < ShawnLocke> Much easier I think 19:38 < _cheerios> of crouse RI will cost money, why else would someone build it? :) 19:38 < Prometheus^^> _cheerios: everything costs money :) 19:38 < ShawnLocke> lol 19:38 < Prometheus^^> there's no point building a fancy web 2.0 app if you are not going to charge 19:38 < ShawnLocke> Unless someone wants to donate the servers/bandwidth for it to run 19:38 < ShawnLocke> Digg doesn't charge 19:38 < ShawnLocke> Neither does Newsvine 19:38 < ShawnLocke> or YouTube 19:39 < Wombert> newsvine... did they take off yet? 19:39 < Prometheus^^> meh 19:39 < _cheerios> not healthy including google-backed services into discussion 19:39 < ShawnLocke> That's only recent 19:39 < _cheerios> newsvine is cool, but it's a tough market 19:39 < ShawnLocke> Newsvine is more of an AP aggregator 19:39 < MrJeep> go for p0rn 19:39 < ShawnLocke> not so much user participation 19:39 < ShawnLocke> Anytime I go there 19:39 < Wombert> yeah the quality is pretty substandard imo 19:39 < ShawnLocke> I see more associated press stories than anything 19:39 < _cheerios> there are many similar sites like newsvine around 19:39 < _cheerios> (dozees) 19:39 < ShawnLocke> One I saw the other day 19:39 < ShawnLocke> SpotPlex 19:40 < ShawnLocke> Has a new approach to tracking 'popularity' 19:40 < ShawnLocke> one of which I think is dumb 19:40 < ShawnLocke> Rather than 'digging' a story 19:40 < ShawnLocke> you put a code onto a blog entry 19:40 < ShawnLocke> or a news entry on your site 19:40 < ShawnLocke> and depending on the 'pageviews' it gets 19:40 < ShawnLocke> it determines it's popularity 19:40 < ShawnLocke> I think that kinda undermines the little guy some 19:41 < Prometheus^^> meh, there are too many useless web 2.0 apps 19:41 < Prometheus^^> I swear things like digg are just 19:42 < ShawnLocke> Digg spinoffs are more funny 19:42 < ShawnLocke> Pligg 19:42 < ShawnLocke> Dell Digg 19:42 < ShawnLocke> Yahoo Digg 19:42 < ShawnLocke> Netscape Digg 19:43 < Prometheus^^> I hate things like that 19:43 < Prometheus^^> I can't figure out any use for them 19:43 < Prometheus^^> I guess that's my problem 19:43 < ShawnLocke> I like Pandora 19:43 < Prometheus^^> I'm not so much in to web 2.0 apps and the whole thing about trying to replace desktop apps with them 19:44 < ShawnLocke> Yeah 19:44 < ShawnLocke> I use Netvibes 19:44 < ShawnLocke> Which is a nice start page 19:44 < Prometheus^^> some apps are useful, but most of them are garbage 19:44 < _cheerios> welcome to the internet 19:44 < ShawnLocke> That's Al Gore's Internet 19:44 < ShawnLocke> :D 19:44 < _cheerios> netvibes.. too french 19:45 < ShawnLocke> Do you like Google IG then? 19:45 < Wombert> the 19:45 < Wombert> the internets 19:45 < Wombert> are a series of tuuuubes 19:45 < _cheerios> a top gear fan should chime in, french can't make cars, how would they ever make proper websites?!?!:D 19:45 < _cheerios> i dont use any startpages 19:45 < ShawnLocke> lol 19:45 < Wombert> yes, they are stupid surrender monkeys 19:46 < _cheerios> i'll make my own netvibesy-thing someday. polishing the approach :)= 19:46 < ShawnLocke> and you'll be added to the list of 90 other sites that do it 19:46 < ShawnLocke> I always find it funny how some of these guys get funding 19:46 < _cheerios> like pageflakes, heh 19:46 < Wombert> RossC0: http://www.timesonline.co.uk/tol/news/politics/article1485352.ece oO 19:46 < _cheerios> ZOMG WE COPIES FRENCH SHITE, GIVE US $$ 19:47 < _cheerios> ShawnLocke, though, i do find the irony of your words from someone whom even mentioned a bastard child like RI :) 19:47 < ShawnLocke> ? 19:47 < ShawnLocke> How many statistics applications are there similar to RI and GA? 19:48 < ShawnLocke> The new bastard in social sites is VIRB 19:48 < _cheerios> that myspace-copy? 19:48 < ShawnLocke> Yeah 19:49 < _cheerios> it won't go anywhere 19:49 < ShawnLocke> basically a purevolume rehash with myspace features 19:49 < ShawnLocke> MySpace is household 19:49 < ShawnLocke> Who's going to go around 'virbing' 19:49 < kaos|work> OMG KOMODO ... this friggin "ide" is a) ULTRA slow (well ... python ... heh) b) it doesn't even support php blocks in javascript 19:49 < kaos|work> and they expect ppl to PAY for such shit 19:49 < ShawnLocke> 'Hey man, add me to Virb' 19:49 < _cheerios> VIRB ME!!! VIRB OFF!!! nah, doesn't sound cool at all. 19:49 < ShawnLocke> '...what?' 19:49 < ShawnLocke> 'Add me on myspace' 19:49 < ShawnLocke> They even have songs about it 19:49 < ShawnLocke> Which is horrid 19:50 < ShawnLocke> but Virb just I dunno 19:50 < _cheerios> geeks rapping, ftw. 19:50 < Prometheus^^> I think the online communities are stupid anyway 19:50 < ShawnLocke> I guess they just felt cool for having a 4 letter word domain 19:50 < ShawnLocke> Ning is my all-time favourite bastard child of social networks 19:50 * _cheerios trouts Prometheus^^ 19:50 < Prometheus^^> the youth needs to get out more and show less skin on a community site like myspace 19:50 < ShawnLocke> Rather than create their own social network 19:50 < ShawnLocke> They said 19:50 < _cheerios> it's the logical thing, to automate creation of something <cool/useful/nice> for the masses 19:50 < ShawnLocke> 'Hey, lets give generic tools so any "tool" can make a social network' 19:51 < ShawnLocke> http://girlongirl.ning.com 19:51 < _cheerios> does it have videos? 19:51 < ShawnLocke> No 19:51 < ShawnLocke> It's like hot or not 19:51 < _cheerios> pfft 19:51 < ShawnLocke> it puts two girls next to each other 19:51 < ShawnLocke> and you pick which one is better 19:51 < _cheerios> Prometheus^^, yeah, i wish summer was longer in Finland :) 19:52 < Prometheus^^> hehe 19:52 < ShawnLocke> I find it funny Cisco is going to have a social network 19:52 < Prometheus^^> _cheerios: I do too 19:52 < Prometheus^^> but that's because I /hate/ cold 19:52 < Prometheus^^> not because I enjoy looking at the plastics 19:52 < Prometheus^^> I mean, I don't mind it, but meh 19:52 < _cheerios> i look too big in my coat for a geek, so summer fits me better :) 19:52 < Prometheus^^> they all look the same to me 19:52 < Wombert> haha 19:52 < Wombert> www.alllooksame.com 19:52 < Wombert> :D 19:52 < _cheerios> ShawnLocke, yeah -- good luck to 'em 19:53 < ShawnLocke> Maybe next we'll get a Dell Social network 19:53 < ShawnLocke> or maybe Juniper 19:53 < _cheerios> Wombert, well.. actually allllookssame, until you look beneath the surface. It's some wierd eye/mind -trick. 19:55 < _cheerios> got login? 19:55 < Prometheus^^> Wombert: but honestly, girls ranging from the age of 15 to 19 all look the same these days 19:55 < Prometheus^^> over in finland 19:55 < _cheerios> ShawnLocke, though, you have to admit the brilliance of companies that made readymade "social networking" tools that then sold them to the likes of USAToday 19:56 < _cheerios> (even as shite their tools were) 19:56 < Prometheus^^> _cheerios: explain to me 19:56 < Prometheus^^> why can't I find an incase sling pack from finland 19:56 < Prometheus^^> from any store 19:56 < Prometheus^^> stores* 19:56 < Prometheus^^> I'm having to order one online 19:56 < Prometheus^^> :( 19:57 < _cheerios> ok. 19:57 < _cheerios> what's a sling pack? 19:57 < Prometheus^^> it's a slim backpack/olkalaukku combination :P 19:57 < Prometheus^^> this: http://store.apple.com/Apple/WebObjects/fistore.woa/wa/RSLID?mco=16AAF875&nplm=TK690 19:57 -!- Zibi [n=asd@80.4.120.163] has quit [] 19:58 < _cheerios> ah, looks pretty nerdy. 19:58 < Prometheus^^> yes! 19:58 < Prometheus^^> it's bag 2.0 19:58 < _cheerios> iBag 19:58 < Prometheus^^> for us mac geeks 19:58 < Prometheus^^> exactly 19:58 < Prometheus^^> one of those omg-I-must-have-this things 19:58 < _cheerios> ihave the traditional kind on one shoulder 19:59 < Prometheus^^> man-bag ? 19:59 < _cheerios> good for having a book stand-by when travelling on trains daily 19:59 < Prometheus^^> I guess, I've just never been very comfortable with those 19:59 < _cheerios> yes, a man-bag 19:59 < Prometheus^^> I need to have a backpack 19:59 < _cheerios> weak shoulders?:D 19:59 < Prometheus^^> no :) 19:59 < Prometheus^^> but I just don't like them 19:59 < _cheerios> don't put anything in your bag 2.0 then... 20:00 < _cheerios> you can hit people with man-bags, by accident. 20:00 < _cheerios> they're really cool 20:00 < _cheerios> BE LIKE OH SORRY 20:00 < Prometheus^^> :P 20:00 < Prometheus^^> I'll put my powerbook in the bag 2.0 20:00 < ShawnLocke> I just use a hurley messenger bag for my macbook 20:00 < ShawnLocke> and ipod 20:00 < _cheerios> and they do feel the pain of the heavy books i read *g* 20:00 < Prometheus^^> that's about the only thing it can hold :> 20:00 < _cheerios> an ipod, heh 20:01 < _cheerios> i was on train today next to some boy&girl going over songs on their ipod 20:01 < ShawnLocke> Here it comes 20:01 < _cheerios> i chuckled, as i still knew all the bands. IM NOT TOO OLD 20:01 < Prometheus^^> heavy books.. we've a tcp/ip book that must weight a ton at the office, that would be fun to swing people with ;) 20:01 < ShawnLocke> The click noise 20:01 < ShawnLocke> :D 20:01 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 20:01 < Prometheus^^> I'm thinking about moving to a shuffle from my nano 20:01 < Prometheus^^> I mean, they are cheap 20:01 < Prometheus^^> and sexy 20:01 < ShawnLocke> I want the iPhone 20:01 < ShawnLocke> because I'm a pretensious cock 20:02 < Prometheus^^> as do I, but I won't be getting one until I've done my army service 20:02 < Prometheus^^> well, not until iPhone goes g2 :P 20:02 < ShawnLocke> 3g 20:02 < ShawnLocke> ;P 20:02 < Prometheus^^> I mean, second generation :) 20:02 < _cheerios> Prometheus only went to the army to get laid, reading an article about group sex 20:02 < ShawnLocke> I really don't want it until it's 3G 20:02 < Prometheus^^> _cheerios: pfft 20:02 < ShawnLocke> 2g or not 20:02 < ShawnLocke> I never buy revision A products 20:02 < ShawnLocke> I didn't buy the first iPod 20:03 < Prometheus^^> I was told if you go "totaali kieltäytyminen", you might only have to do 130 days in jail! 20:03 < ShawnLocke> or shuffle 20:03 < Prometheus^^> tempting eh! 20:03 < _cheerios> it's good to have variety on #agavi, jail time or not. 20:03 < Prometheus^^> :P 20:03 < Prometheus^^> if the employer is overly worried about my service status 20:03 < Prometheus^^> the place is obviously not for me 20:04 < Prometheus^^> but yeah, I think I should invest in a shuffle 20:04 < _cheerios> you lived in Hki, Prometheus? 20:04 < Prometheus^^> I do, aye 20:04 < ShawnLocke> 240 songs 20:04 < ShawnLocke> clips on 20:04 < ShawnLocke> How can you go wrong 20:04 < _cheerios> heading out tonite? 20:04 < Prometheus^^> ShawnLocke: exactly 20:04 < ShawnLocke> I have one for running/exercising 20:04 < ShawnLocke> works great 20:05 < Prometheus^^> _cheerios: nay, I'm still at work, I think I'll just do a bit of studying once I get home 20:05 < _cheerios> i could swing over the linux man manual in my man bag 20:05 < ShawnLocke> I only use my iPod for those awesomely long flights 20:05 < ShawnLocke> like when I'm heading to England or Japan 20:05 < ShawnLocke> Or my recent favourite 20:05 < ShawnLocke> Australia 20:05 < _cheerios> while having a man beer 20:05 < ShawnLocke> 22 hours by plane 20:05 < ShawnLocke> OHYES 20:05 < _cheerios> flights are the worst 20:05 < Prometheus^^> sounds like a whole lot of fun ;) 20:05 -!- Barfusslaeufer [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 20:06 < _cheerios> everything except what i just said, probably. 20:06 < Prometheus^^> I hate being paid by the hour 20:06 < Prometheus^^> I think I've like 300+ hours I haven't been paid for atm :/ 20:06 < ShawnLocke> We call that slavery 20:06 < ShawnLocke> dunno if you've heard of it 20:06 < Prometheus^^> I have :> 20:06 < _cheerios> what'cha got in down under, ShawnLocke ? 20:06 < ShawnLocke> Just vacation 20:06 < ShawnLocke> My final semester at uni 20:07 < _cheerios> bro is over there for a year atm., in melbourne, with his gf. crazy younglins. 20:07 < ShawnLocke> Yeah 20:07 < ShawnLocke> I'm heading to Sydney this summer 20:07 < Prometheus^^> I would like to try living over there 20:07 < ShawnLocke> It's warm 20:07 < Prometheus^^> it would definitely beat the finnish weather 20:07 < ShawnLocke> Unlike the Finnish Blizzards 20:08 < Prometheus^^> yeah :/ 20:08 < _cheerios> Prometheus^^, get some balls and money while at it, or get some brains and get the money :) 20:08 < Prometheus^^> pfft 20:08 < ShawnLocke> balls and brains can be substituted depending on the state of arousal 20:08 < Prometheus^^> it's easy for you to speak ;) 20:08 < Prometheus^^> when the only guy who can do anything about it went for a week to lapland to shoot some laplandians 20:08 < Prometheus^^> it's a bit difficult to get paid 20:08 < _cheerios> santa hunt :D 20:09 < Prometheus^^> yeah, I think that's what they are doing 20:09 < _cheerios> ShawnLocke, i get mixed dark thoughts on that. 20:09 < ShawnLocke> lol 20:10 < _cheerios> aye, if everyone on #agavi is not living comfy in some nice resort, due $$ gained by Agavi-related projects, within 2 years Agavi has failed us 20:10 < Prometheus^^> :) 20:11 < Prometheus^^> if only I could get the hang of it first! 20:11 < Prometheus^^> well, if I had the time to actually delve in to it.. 20:11 < _cheerios> (or our ideas were shite, but that can't be) 20:12 < Prometheus^^> nope, can't be 20:13 < Prometheus^^> just have to develop a killer web 2.0 app that no-one can resist and profit 20:13 < Prometheus^^> :P 20:15 < _cheerios> just hurry up. web 2.0 will be over soon 20:15 < Prometheus^^> ah well 20:15 < ShawnLocke> Web 2.0 is only the beginning 20:15 < ShawnLocke> Next is Web 2.1 20:15 < ShawnLocke> The burst! 20:15 < Prometheus^^> of big buttons and gradients? 20:15 < ShawnLocke> Nah 20:15 < ShawnLocke> Web 2.0 is funny 20:16 < ShawnLocke> The survivors of the Web 1.0 bubble buy Web 2.0 sites 20:16 < ShawnLocke> like google, yahoo, aol, amazon, etc. 20:16 < ShawnLocke> That's the only difference 20:16 < Prometheus^^> I don't know, I think YouTube was absolute shite 20:16 < Prometheus^^> and still is 20:16 < ShawnLocke> Low quality BS 20:16 < Prometheus^^> so is/was myspace 20:16 < ShawnLocke> I still don't get how it cost them $1m/mo to operate 20:16 < Prometheus^^> lots of videos :P 20:17 < ShawnLocke> You can get multiple Giges for bandwidth for like $35,000 20:17 < ShawnLocke> Yeah, but the bandwidth doesn't add up 20:17 < ShawnLocke> Hell, a shit line of Cogent Gige is only $10k 20:17 < Prometheus^^> no idea :) 20:17 < _cheerios> good marketing to say you're spending shitloads ofs $$ on <something> 20:17 < _cheerios> made for pretty headlines 20:18 < ShawnLocke> Yeah 20:18 < ShawnLocke> <3 Dvorak 20:18 < ShawnLocke> 'YouTube is probably making about $15m/mo in revenue' 20:18 < ShawnLocke> Find out from the Google SEC filing 20:18 < ShawnLocke> that YouTube made 15mil for all of last year 20:18 < ShawnLocke> Thanks Dvorak 20:18 < ShawnLocke> For proving to all of us just how much your ass talks 20:19 < Prometheus^^> I don't see how youtube would be making any money 20:19 < Prometheus^^> that site is absolute garbage 20:19 < ShawnLocke> If they added promo ads before 20:19 < ShawnLocke> but then that'll piss people off who share the videos 20:20 < ShawnLocke> and there goes youtube's appeal 20:20 < Prometheus^^> serving low quality content, most of which is breaking all sorts of copyright laws 20:20 < ShawnLocke> YouTube is worthless now 20:20 < ShawnLocke> Not anymore 20:20 < _cheerios> youtube should be a moneymaking machine when they get their ad platform in place (adsense 2.0, videos instead of text) 20:20 < ShawnLocke> Ever since google bought it 20:20 < ShawnLocke> every media company has been like 20:20 < ShawnLocke> 'take our shit down' 20:20 < ShawnLocke> Where before they just let it hang 20:20 < ShawnLocke> but they know google is a money target 20:20 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit [Read error: 110 (Connection timed out)] 20:21 < Prometheus^^> I would love to work for Google, though 20:21 < Prometheus^^> the 20% rule, the choice of platform 20:21 < Prometheus^^> good stuff 20:21 < _cheerios> hello fanboy 20:21 < Prometheus^^> hi :) 20:22 < Wombert> I'm not sure about that 20:22 < ShawnLocke> Yeah 20:22 < Wombert> 20% rocks 20:22 < Wombert> but 20:22 < ShawnLocke> Lets look at some examples of the 20% rule 20:22 < ShawnLocke> Google Answers 20:22 < ShawnLocke> and it's closed 20:22 < _cheerios> video is still the future, the moving from onwards from text. 20:22 < Wombert> the thing is 20:22 < Wombert> google is a bunch of nerds 20:22 < Wombert> engineers 20:22 < Wombert> with few creative spirit 20:22 < Wombert> look at the front page... 20:22 < Prometheus^^> right 20:22 < ShawnLocke> Free food though 20:23 < Wombert> it's not a company I'd like to work for 20:23 < ShawnLocke> I'd like to work for Pixar 20:23 < Wombert> yahoo... has gotten better 20:23 < Wombert> the us one 20:23 < Wombert> a friend of mine works for yahoo germany and it sucks ass 20:23 < ShawnLocke> Yahoo Japan for life 20:23 < ShawnLocke> 100mbps internet 20:23 < _cheerios> shrug, out of the google bloggers ive seen they seem like an ambitious thoughtful bunch 20:23 < Prometheus^^> I wouldn't want to work for yahoo 20:23 < Prometheus^^> personally 20:23 < Prometheus^^> to me it would be like working for microsoft :P 20:23 < ShawnLocke> I've always dreamed of working for MS 20:23 < ShawnLocke> I figure with all the braindead tards there who work on stuff 20:24 < _cheerios> no, you don't get a Borg suit 20:24 < ShawnLocke> I could get a job there easily 20:24 < Wombert> ms is cool to work I think 20:24 < Wombert> in research or so 20:24 < ShawnLocke> I'm about to start working for Apple 20:24 < Wombert> you get paid to build cool stuff 20:24 < Prometheus^^> but of course, it's much more fun to be the web guy who can do whatever they want ;) 20:24 < Wombert> really? 20:24 < ShawnLocke> Yep 20:24 < Wombert> I think working for apple is twofold 20:24 < ShawnLocke> Mac Genius 20:24 < ShawnLocke> in their new retail store here opening up in a month or so 20:24 < Wombert> a) kick ass because you a part of a team that builds kick ass stuff 20:25 < _cheerios> hehe, ctrl-alt-del & shawlocke & macs 20:25 < ShawnLocke> I already know the part I'm going to hate 20:25 < Prometheus^^> ShawnLocke: hook us up with the discounts ;) 20:25 < Wombert> b) frustrating because you got a brilliant idea and invest weeks and then steve has a bad day and nixes it 20:25 < ShawnLocke> What discount? 20:25 < Prometheus^^> you must get some discount eh! 20:25 < Wombert> besides the fact that you're not allowed to talk about anything, ofc 20:25 < ShawnLocke> rofl 20:25 < Prometheus^^> my dad works for IBM and they get 10% off apple products :) 20:25 < ShawnLocke> I get 25% off per year on a complete system 20:25 < ShawnLocke> and 10% off anytime on anything 20:25 < ShawnLocke> and oh yeah 20:25 < ShawnLocke> I get a free @apple.com e-mail 20:25 < ShawnLocke> and a free .mac account 20:25 < ShawnLocke> That's about it 20:25 < _cheerios> OMG1!!!! 20:26 < ShawnLocke> I remember the interview 20:26 < ShawnLocke> it was hilarious 20:26 < ShawnLocke> 'So what's the benefits like' 20:26 < Prometheus^^> I've a buddy who's a developer of some sorts for apple 20:26 < ShawnLocke> She goes over the first two 20:26 < ShawnLocke> then goes 20:26 < ShawnLocke> 'You also get a free @apple.com e-mail!' 20:26 < ShawnLocke> I tried so hard not to laugh 20:26 < ShawnLocke> but I did 20:26 < Prometheus^^> a free apple.com email, whoopty fucking do :) 20:26 < ShawnLocke> You can't use it outside of work anyways 20:26 < Wombert> is it well-paid at least? 20:26 < ShawnLocke> Yeah 20:26 < ShawnLocke> $18.25/hr 20:26 < Prometheus^^> decent 20:27 < ShawnLocke> Yep 20:27 < ShawnLocke> There's also bonuses and so forth 20:27 < MrJeep> US ? 20:27 < ShawnLocke> Yes 20:27 < _cheerios> heh 20:27 < ShawnLocke> Although 20:27 < Wombert> apple retail stores generate over 4000 dollars revenue per square foot a year 20:27 < ShawnLocke> here's going to be the average request 20:27 < Wombert> pretty ace 20:27 < ShawnLocke> 'I bought songs on Napster but they won't work on my iPod' 20:27 < Prometheus^^> :) 20:27 < _cheerios> Fanning \o/ 20:28 < ShawnLocke> A bunch of Windows tards asking me how to fix their Windows iPod 20:28 < Wombert> better 20:28 < MrJeep> windows tards... 20:28 < ShawnLocke> Or some newbie genius with a Macbook going 'where's the games?' 20:28 < Prometheus^^> "get a mac and reformat it dumb ass" 20:28 < Prometheus^^> :) 20:28 < ShawnLocke> I use boot camp 20:28 < ShawnLocke> So I use Windows 20:28 < Wombert> a bunch of windows tards walking in with windows pcs and complaining about how much of a pile of shit quicktime on windows is (and they'd be right) 20:28 < Prometheus^^> ShawnLocke: there's plenty of games these days, though 20:28 < ShawnLocke> Yeah 20:28 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Connection timed out] 20:28 < ShawnLocke> Like WoW 20:28 < ShawnLocke> and so forth 20:28 < Prometheus^^> and yeah, bootcamp 20:29 < Prometheus^^> parallels 20:29 < ShawnLocke> but one guy asked a tech once at a mac store I was in 20:29 < Prometheus^^> etc 20:29 < ShawnLocke> If Halo was on Mac 20:29 < Prometheus^^> "hello" 20:29 < ShawnLocke> I used Vista for the first time yesterday 20:30 < MrJeep> woot, another Vista debate 20:30 < _cheerios> next you'll bash it, cuz that's what you're supposed to say!!! 20:30 < Prometheus^^> I heard a wild rumor that they might be exchanging old powerbooks and the like when leopard is released for brand spanking macbooks with some cash involved 20:30 < ShawnLocke> Bash it? 20:30 < ShawnLocke> I just wasn't really impressed is all 20:30 < ShawnLocke> It's not the worst OS ever 20:30 < Wombert> that would be fucking ace, Prometheus^^ 20:30 < Prometheus^^> I would love to bash vista, but there's no point beating the dead horse.. 20:30 < Wombert> my pb is so damn slow... 20:30 < ShawnLocke> it's just I look at it and I go '5 years to make this?' 20:30 < ShawnLocke> I just don't see the real improvements I guess 20:30 < Wombert> it would have been uber with WinFS and all the cool shit 20:31 < Prometheus^^> ShawnLocke: well, it's bad enough that you work on an OS for few years, and then realise that it won't work :) 20:31 < ShawnLocke> Yeah 20:31 < ShawnLocke> especially when you take some features of a rival OS 20:31 < ShawnLocke> and recreate them horribly 20:31 < MrJeep> I think they didn't take enough features ... 20:31 < Prometheus^^> Wombert: that's what I heard anyway, so it might be worth waiting until they do release leopard to see that, before even considering about getting a new laptop :) 20:31 < ShawnLocke> I'm interested to see what Leopard really does 20:32 < ShawnLocke> The only two features so far worth a damn 20:32 < ShawnLocke> are Spaces and Time Machine 20:32 < Prometheus^^> Wombert: I can see the obvious advantages in that too, I mean if you aren't using an intel laptop, you can't really reap the full benefits of leopard 20:32 < Wombert> how? 20:32 < ShawnLocke> Yeah 20:32 < ShawnLocke> 64bit 20:32 < Prometheus^^> ShawnLocke: well, spaces is just virtue desktops 20:32 < Wombert> bootcamp aside 20:32 < ShawnLocke> Leopard is 64bit 20:32 < Wombert> ShawnLocke: aaah! wrong 20:32 < ShawnLocke> PPC isn't in 64bit 20:32 < Prometheus^^> leopard is both, is it not? 20:32 < ShawnLocke> Yes 20:32 < Prometheus^^> but namely bootcamp 20:32 < Wombert> 1st gen core duos are 32bit, too 20:32 < ShawnLocke> Yeah 20:32 < ShawnLocke> but the point is 20:33 < ShawnLocke> Leopard is supposed to be focused into being OSX's first 64bit 20:33 < ShawnLocke> Obviously it has backwards 20:33 < ShawnLocke> but it would be like running Tiger again 20:33 < ShawnLocke> No real added benefit 20:33 < Prometheus^^> pretty much 20:33 < ShawnLocke> So even just a 32bit Intel 20:33 < ShawnLocke> would be better 20:33 < ShawnLocke> over the 32bit PPC 20:33 < Prometheus^^> I do really hope that they have a deal for exchanging your laptop to a new one 20:33 < Prometheus^^> even if it's a shitty deal 20:33 < ShawnLocke> I think there will be some credit 20:33 < Prometheus^^> it's better than being stuck with the old laptop 20:34 < ShawnLocke> but I don't think it'll be even trade 20:34 < Prometheus^^> well no, obviously not :) 20:34 < Prometheus^^> there has to be something in it for them, too 20:34 < MrJeep> from the screen shots I can't see a lot of changes 20:34 < ShawnLocke> Yeah 20:34 < ShawnLocke> Yeah 20:34 < MrJeep> Is Leopard the Service Pack 1 of Mac osx ? 20:34 < ShawnLocke> Well, at the Keynote for the Developers conference last year 20:34 < ShawnLocke> No 20:34 < ShawnLocke> lol 20:34 < Prometheus^^> MrJeep: it's the "vista" of mac os x 20:34 < MrJeep> SP2 ? 20:34 < Prometheus^^> ;) 20:34 < ShawnLocke> It's not a service pack 20:34 < ShawnLocke> They've had what 20:35 < ShawnLocke> 8 sevice packs of sorts 20:35 < ShawnLocke> in Tiger 20:35 < Prometheus^^> yeah 20:35 < MrJeep> There is no shiny new interface at this point tho 20:35 < MrJeep> ;P 20:35 < Prometheus^^> we're up to 10.4.8 now 20:35 < ShawnLocke> OSX works like 10.4 is the ver 20:35 < ShawnLocke> which is Tiger 20:35 < ShawnLocke> and then 10.4.x 20:35 < ShawnLocke> is the sp 20:35 < Prometheus^^> MrJeep: that's because mac os x doesn't need to reinvent the interface, it works and looks good as it is :) 20:35 < ShawnLocke> Leopard is 10.5 20:35 < Prometheus^^> xp on the other hand 20:35 < Prometheus^^> :D 20:35 < ShawnLocke> AERO 20:35 < ShawnLocke> I LOVE TRANSPARENT GLASS 20:36 < ShawnLocke> I would just like better network support in Windows 20:36 < Prometheus^^> I like people who theme their windows to look like tiger 20:36 < ShawnLocke> Thats all I ask 20:36 < ShawnLocke> Call it Windows Vista Networking Basic 20:36 < ShawnLocke> for all I give a damn 20:36 < MrJeep> Prometheus^^ : I agree 20:36 < ShawnLocke> I do that 20:36 < Prometheus^^> ShawnLocke: microsoft should buy a bonjour license from apple ;) 20:36 < ShawnLocke> but only for certain reasons 20:36 < Prometheus^^> I mean there's bonjour for windows... 20:36 < ShawnLocke> I like a familiar feel across what I use 20:36 < ShawnLocke> so I like having the dock 20:36 < ShawnLocke> and all of that 20:36 < Prometheus^^> bonjour is one of those things I just *love* 20:36 < ShawnLocke> as well as being able to roll up the windows 20:37 < Prometheus^^> hassle-free networking 20:37 < MrJeep> bonjour... 20:37 < MrJeep> this is a french words which means "hello" 20:37 < Prometheus^^> and tools actually utilizing it, like subethaedit for example 20:37 < Prometheus^^> while I hate SEE, the way they use bonjour is brilliant 20:37 < Prometheus^^> I only wish textmate did that 20:38 < ShawnLocke> The Apple Extreme is nice 20:38 < ShawnLocke> I added a USB Hub to the USB port on it 20:39 < ShawnLocke> and I have 2 external HDDs 20:39 < ShawnLocke> and a printer hooked up to it 20:39 < Prometheus^^> MrJeep: http://www.apple.com/macosx/features/bonjour/ 20:39 < ShawnLocke> and all of my computers on the network see it 20:39 < Prometheus^^> airport? 20:39 < ShawnLocke> Yep 20:39 < Prometheus^^> cool, I've thought about that 20:39 < ShawnLocke> I'm not getting an Apple TV though 20:39 < ShawnLocke> That thing is retarded 20:39 < Prometheus^^> but I've also thought about building a mini itx computer 20:39 < Prometheus^^> box rather 20:40 < Prometheus^^> I didn't know that airport supported USB hubs though 20:40 < Prometheus^^> that makes it quite a bit more useful than I originally thought 20:40 < Prometheus^^> ShawnLocke: do you have any windows computers in the network? 20:41 < Prometheus^^> I'd like to know how they react to airport 20:41 < ShawnLocke> Yeah 20:41 < ShawnLocke> I have one 20:41 < ShawnLocke> works fine 20:41 < Prometheus^^> interesting 20:41 < ShawnLocke> Sees it, says "hello" and there you go 20:41 < ShawnLocke> Even sees the shared drives and printers 20:41 < Prometheus^^> because I've been thinking about replacing my existing linksys router with airport 20:41 < ShawnLocke> but sometimes it does randomly disconnect 20:41 < ShawnLocke> Which is annoying 20:41 < Prometheus^^> serves them right 20:41 < Prometheus^^> :P 20:41 < ShawnLocke> What I do find funny though is 20:42 < ShawnLocke> It's N spec 20:42 < ShawnLocke> N-Draft that is 20:42 < ShawnLocke> but the ethernet ports on it for hard wiring 20:42 < Prometheus^^> A/B/G/N? 20:42 < ShawnLocke> are 10/100 20:42 < ShawnLocke> Not even a damn 10/100/1000 20:42 < Prometheus^^> ah well :) 20:42 < ShawnLocke> but yeah 20:42 < ShawnLocke> it works with all 4 20:43 < ShawnLocke> but if you have an a, b or g on the network 20:43 < ShawnLocke> it slows down the overall 20:43 < ShawnLocke> so it's best if they are all N 20:43 < Prometheus^^> another thing I love about macs is how easy it's to create a network between just two computers 20:44 < Prometheus^^> I haven't really investigated how easy it is with windows machines, but at least on macs it's just ridiculously easy 20:44 < Prometheus^^> airport extreme is pretty impressive overall :) 20:45 < ShawnLocke> Windows just requires some screwing around 20:45 < ShawnLocke> OSX is just meant to 'work' 20:45 < ShawnLocke> out of the box 20:45 < ShawnLocke> 1 2 3 20:45 < ShawnLocke> and you're there 20:45 < Prometheus^^> yeah 20:45 < Prometheus^^> and even the small things like being able to use ichat av over bonjour 20:45 < Prometheus^^> while that may not be all that useful, it's still an added bonus :) 20:46 < Prometheus^^> itunes library sharing too 20:46 < ShawnLocke> iTunes library works great on Windows 20:46 < Niacin> hmm anyone know why round and trim add so much overhead 20:46 < ShawnLocke> for sharing 20:47 < Prometheus^^> oh yeah 20:48 < Prometheus^^> I think it supports cross platform sharing too 20:48 < Prometheus^^> of libraries 20:48 < ShawnLocke> Yeah 20:49 < Prometheus^^> it's just that those cheap windows bastards over in never share their libraries on itunes :P 20:50 < ShawnLocke> lol 20:50 < Prometheus^^> we share the office space with another company, but they don't share their libraries :/ 20:50 < ShawnLocke> :\ 20:51 -!- digitarald [n=Miranda@234.Red-83-50-119.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:52 < ShawnLocke> Would you get the Apple TV? 20:52 < MrJeep> the new features of Leopards look damn nice 20:52 < MrJeep> I'd trade my pc for a (good) mac anytime 20:52 < ShawnLocke> That's not Leopard's complete feature list 20:52 < Prometheus^^> I wouldn't get the apple tv, personally 20:53 < ShawnLocke> That's only the ones Steve was ok showing without MS copying 20:53 < Prometheus^^> I don't buy movies via itunes 20:53 < ShawnLocke> Too expensive for 640x480 20:53 < Prometheus^^> and I personally don't watch tv, at all 20:53 < Prometheus^^> so it kind of defeats the purpose :) 20:53 < Prometheus^^> so no, I wouldn't buy the apple tv 20:53 < ShawnLocke> Ever tried Joost? 20:53 < Prometheus^^> it's not all that revolutionary anyway 20:54 < Prometheus^^> I haven't 20:54 < Prometheus^^> heard about it, but haven't tried 20:54 < ShawnLocke> It's crap 20:54 < ShawnLocke> There's like 16 channels 20:54 < ShawnLocke> Like 20:54 < ShawnLocke> The Paris Hilton channel 20:54 < ShawnLocke> That's not a typoe either 20:54 < ShawnLocke> typo* 20:54 < Prometheus^^> o_o 20:55 < Prometheus^^> I really don't have time for TV :) 20:55 < Prometheus^^> or any content like that 20:55 < ShawnLocke> P2P IPTV 20:55 < ShawnLocke> They're trying to cash in on the success of Skype 20:55 < ShawnLocke> but the thing is 20:55 < ShawnLocke> voice is low bitrates 20:55 < ShawnLocke> So the upstream for that is easy to accomodate 20:55 < ShawnLocke> We have the worst upstream in this entire country 20:56 < ShawnLocke> 768kbps 20:56 < ShawnLocke> Isn't going to support any decent amount of video quality 20:56 < ShawnLocke> even if you had several working together 20:56 < ShawnLocke> Now if we had some Japan, China, Korean bandwidth 20:56 < ShawnLocke> move the hell over 20:57 < Prometheus^^> swedish bandwidth :P 20:57 < ShawnLocke> That's all torrent bandwidth 20:58 < MrJeep> wanna see the most popular website in quebec right now ? 20:58 < ShawnLocke> lol 20:58 < Prometheus^^> I don't really have time for entertainment at the time 20:58 < MrJeep> http://www.tetesaclaques.tv/ 20:59 < Prometheus^^> I spend my free time learning new things 20:59 < Prometheus^^> that I don't spend with my girl, that is 20:59 < Prometheus^^> '); document.write (''); } // --> 20:59 < Prometheus^^> someone made an oopsie 20:59 < Prometheus^^> a couple of those, too 21:00 < _cheerios> p2p tv is the way until multicast works, and that's.. a long way coming 21:00 < MrJeep> this one's nice 21:00 < MrJeep> http://www.tetesaclaques.tv/video.php?vid=30 21:01 < _cheerios> MrJeep, annoyingly choppy video on that site, "hq" 21:01 < MrJeep> choppy ? 21:01 < _cheerios> only have 1M/300k connex 21:02 < MrJeep> lol, that shoulds be more than enough 21:03 < _cheerios> dunno. checking out the video. but, probably works for quebecians fine. 21:03 < MrJeep> :S 21:04 < _cheerios> serving video isnt that easy, atleast for masses. too expensive. 21:05 < MrJeep> yeah but as you said, it works perfectly fine here 21:07 < _cheerios> downloaded the video file, only got 39.9K on avg. 21:09 < _cheerios> would barely stream youtube satisfatorily, explains why it was so choppy :) 21:11 < ShawnLocke> Freebase launches today, a new startup that intends to organize the worlds information and make it universally accessible and useful. If that last bit sounds familiar, its because its actually Googles mission, but Freebase seems intent on doing it, too. 21:11 < ShawnLocke> ... 21:11 < ShawnLocke> SKYNET ANYONE? 21:11 < Prometheus^^> go go skynet 21:11 < _cheerios> just another go at "semantics" 21:11 < _cheerios> 07-08 should be full of those 21:13 < _cheerios> my apache is broken :/ 21:13 < _cheerios> even localhost gives 404 21:17 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 21:26 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Like VS.net's GUI? Then try HydraIRC -> http://www.hydrairc.com <-"] 21:28 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit [Remote closed the connection] 21:35 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 21:39 -!- Barfusslaeufer [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit [Read error: 113 (No route to host)] 22:06 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:07 -!- Prometheus^^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [Client Quit] 22:08 -!- digitarald [n=Miranda@62-43-129-31.user.ono.com] has joined #agavi 22:12 -!- RossC0 [n=RossC0@80.4.120.163] has joined #agavi 22:19 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 22:24 < Wombert> W.O.P.R. >>>> Skynet 22:26 * impl ponders Wombert 22:26 < ShawnLocke> It's a discussion from earlier 22:26 < Wombert> you're too young to know that movie! 22:26 < ShawnLocke> rofl 22:26 < Wombert> he is :< 22:26 < ShawnLocke> He knows what Terminator 2 is 22:26 < Wombert> yes but he doesn't know WOPR 22:26 < Wombert> :> 22:26 < impl> Go away, Shawn 22:26 < impl> You'll ruin my rep 22:27 < impl> :( 22:27 < ShawnLocke> You told us to idle in here 22:27 < impl> I told Zach and Eric to 22:27 < impl> Not you, good sir! 22:27 < ShawnLocke> I see how it is 22:27 < ShawnLocke> Well 22:27 < ShawnLocke> I got Zach to start on the submission engine 22:27 < ShawnLocke> and Eric is going to do the helpdesk 22:27 < ShawnLocke> The help/helpdesk anyways 22:27 < impl> k, sounds good 22:27 < ShawnLocke> for FAQs and reporting 22:27 < Wombert> http://en.wikipedia.org/wiki/WOPR <: 22:27 < ShawnLocke> and I told them your 80 / 20 / 80 rule 22:27 < impl> :D 22:28 < ShawnLocke> and they signed up for the mailing lists 22:28 < impl> Cool 22:28 < ShawnLocke> Anything else master? 22:29 < impl> Iunno 22:29 < Wombert> can you bring me a coffee 22:29 < Wombert> :> 22:29 < ShawnLocke> I'm British 22:29 < ShawnLocke> Therefore it's tea only 22:29 < impl> I had the most bitter coffee today 22:29 < impl> It was so disgusting 22:29 < impl> :( 22:29 < Wombert> let me tell you something, kid 22:29 < Wombert> you americans don't know how to make coffee 22:29 < ShawnLocke> or tea! 22:30 < impl> We can't realy make much of anything 22:30 < Wombert> you make coffee that is relatively close to german coffee, but then you brew it up until it boils 22:30 < ShawnLocke> You guys make countries go boom 22:30 < Wombert> and then you try to drink it 22:30 < Wombert> burn yourselves 22:30 < Wombert> and sue the coffee store 22:30 < Wombert> and there is a funny scene in a movie 22:31 < Wombert> where that police dude uses his finger to uhm 22:31 < Wombert> stir the coffee 22:31 < ShawnLocke> Hot Fuzz! 22:31 < Wombert> and the other guy walks up to him and says 22:31 < Wombert> "isn't that hot?" 22:31 < kaos|work> Wombert: the problem is, that they had (paper!) cups where you would never think that the inside is hot 22:31 < Wombert> and he says "yes" and continues 22:31 < kaos|work> because its cold from the outside 22:31 < Wombert> I think it's The Art of War 22:31 < ShawnLocke> That's McDonalds 22:31 < ShawnLocke> Starbucks gives you those elaborate 'holder' cardboard shits 22:32 < kaos|work> and with the average IQ of an american (sorry impl *g*) 22:32 < kaos|work> its cold outside, it can't be hot inside 22:32 < kaos|work> ;p 22:32 < impl> "I'm sending this to ask you for a brief recommendation of my work that I can include in my LinkedIn profile. If you have any questions, let me know." 22:32 < ShawnLocke> We elected Bush 22:32 < ShawnLocke> Do the math 22:32 < impl> How do I write a recommendation, Shawn? 22:32 < ShawnLocke> Who's this for? 22:32 < ShawnLocke> Eric? 22:33 < impl> Marshalus 22:33 < impl> The PR dude 22:33 < ShawnLocke> Recommendations are simple 22:33 < ShawnLocke> You write about your experiences with them 22:33 < ShawnLocke> their high points and some of their struggles 22:33 < ShawnLocke> and recommend if you feel they are a good person to work with 22:33 < ShawnLocke> That's the most crude way of saying it 22:33 < impl> I don't even know this guy, except he freaked out when I posted in the staff forum when I posted and only had like 5 posts total 22:34 < ShawnLocke> but recommendation requests on LinkedIn is comparable to Friend requests on MySpace 22:34 < ShawnLocke> People just ask for them 22:34 < impl> He thought I hacked them 22:34 < ShawnLocke> It's Neowin 22:34 < ShawnLocke> They think everything unordinary is hacking 22:34 < ShawnLocke> 'Neowin is down, must be a hacker' 22:34 < ShawnLocke> Course... Neowin being down is kinda ordinary 22:34 < ShawnLocke> :x 22:34 < impl> BetaExperience! THE PLEASURE OF TESTING! 22:35 < impl> Where the fuck does Microsoft get these slogans 22:35 < ShawnLocke> lol 22:35 < ShawnLocke> I saw an ad 22:35 < ShawnLocke> where MS was using a macbook in their promo 22:35 < ShawnLocke> for vista 22:35 -!- digitarald [n=Miranda@62-43-129-31.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 22:35 < ShawnLocke> I dunno who they hire for marketing 22:35 < ShawnLocke> but it's pretty sad 22:37 < impl> lol 22:39 < ShawnLocke> I want to know who wrote the warez article on MS' site 22:39 < ShawnLocke> with the kid slang 22:40 < impl> We can hire them to write our COPPA policies 22:40 < ShawnLocke> Here's our COPPA policy 22:40 < ShawnLocke> 'If you're not 13, gtfo' 22:40 < ShawnLocke> Done 22:41 < impl> Can I ban members for using 'u'? 22:41 < ShawnLocke> No 22:41 < impl> 'r'? 22:41 < ShawnLocke> No 22:41 < ShawnLocke> You can't ban for subs either 22:41 < ShawnLocke> z for s or 3 for e 22:41 < impl> Oh, I was thinking food 22:41 * impl finds something to eat 22:41 < ShawnLocke> rofl 23:11 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 145 (Connection timed out)] 23:11 -!- Prometheus^ [n=Promethe@cs181164208.pp.htv.fi] has joined #agavi 23:13 -!- RossC0 [n=RossC0@80.4.120.163] has quit [Read error: 145 (Connection timed out)] 23:21 < impl> $options[is_string($key) && strpos($key, '::') ? constant($key) : $key] = is_string($value) && strpos($value, '::') ? constant($value) : $value; 23:22 < impl> What a funny way to check for constants 23:23 < impl> Wombert: Fixes published as USN-424-2, available on the archives shortly. 23:24 < impl> http://www.ubuntu.com/usn/usn-424-2 23:24 < Wombert> impl: where's that from 23:24 < Wombert> cool thx 23:25 * impl checks on Debian 23:25 < Wombert> the code 23:25 < Wombert> [22:21] impl: $options[is_string($key) && strpos($key, '::') ? constant($key) : $key] = is_string($value) && strpos($value, '::') ? constant($value) : $value; 23:25 < impl> * The php security update contained a regression in the streams 23:25 < impl> module. this version contains an updated version of the patch 23:25 < impl> for CVE-2007-0906 (116-CVE-2007-0906_streams.patch), which should 23:25 < impl> fix the regression. Thanks to Martin Pitt for noticing this. 23:25 < impl> Debian is fixed too :D 23:26 < impl> Wombert: http://trac.agavi.org/browser/branches/0.11/src/database/AgaviPdoDatabase.class.php#L72 23:27 < Wombert> ah 23:27 < Wombert> well 23:27 < Wombert> <parameter name="attributes"> 23:27 < Wombert> <parameter name="PDO::ATTR_EMULATE_PREPARES">true</parameter> 23:27 < Wombert> or 23:27 < Wombert> <parameter name="attributes"> 23:27 < Wombert> <parameter name="PDO::FOO">PDO::BAR</parameter> 23:28 < impl> Yeah 23:28 < impl> but like 23:28 < impl> What if someone wants it to literally say PDO::BAR 23:28 < impl> Or what if someone wants to reference a PHP constant that isn't in the class namespace 23:29 < impl> er, scope, rather 23:29 < Wombert> bad luck :p 23:29 < kaos|work> he is simply not supposed to do so ;p 23:29 < impl> :( 23:29 < ShawnLocke> rofl 23:29 < ShawnLocke> I just realized 23:29 < ShawnLocke> is this the same kaos that /me dies 23:30 < kaos|work> same kaos as who ? :) 23:30 < ShawnLocke> There's a bot of sorts on this other network 23:30 < ShawnLocke> who just /me dies at random 23:30 < impl> No 23:30 < kaos|work> lol :D 23:30 < impl> Different guy 23:30 < ShawnLocke> and it's name is kaos 23:30 < ShawnLocke> Ah 23:31 < kaos|work> i should maybe choose some more unique nick 23:31 < kaos|work> like "fsdfondsfb" 23:31 < kaos|work> or so ;) 23:31 < ShawnLocke> How about FONDUEMAN 23:31 < impl> wtf 23:32 < ShawnLocke> Oh yeah 23:32 < ShawnLocke> Like that's so weird compared to fsdfondsfb 23:33 < kaos|work> that was just some random typing 23:33 < kaos|work> could be lkfgopiwetj too 23:33 < kaos|work> or opdfgnsfdg 23:34 < impl> fgsdfs 23:39 < ShawnLocke> My wife was like 23:39 < ShawnLocke> 'I want to have fondue at the melting pot' 23:39 < ShawnLocke> I was like meh 23:39 < ShawnLocke> It's like $40 person to sit there and put fruit and other stuff 23:39 < Prometheus^> ugh fondue 23:39 < ShawnLocke> in cheese fondue or chocolate fondue 23:39 < Prometheus^> no offense, but I hate that shit 23:39 < Prometheus^> :) 23:39 < ShawnLocke> Ditto 23:40 < ShawnLocke> I can't remember if Fondue is french or what 23:40 < Prometheus^> romans started it I bet 23:41 < impl> If it has wine in it the Romans were almost certainly behind it 23:41 < Wombert> switzerland... with cheese 23:41 < impl> I mean all they did was start wars and get drunk off their asses 23:41 < Wombert> don't you guys read asterix? :( 23:42 < Prometheus^> it's nasty 23:42 < Prometheus^> that stuff 23:42 < Prometheus^> I use to read asterix when I was a kid 23:42 < ShawnLocke> Fondue just sounds french I guess 23:42 < ShawnLocke> Bonjour Fondue! 23:43 < impl> Wombert: Is there supposed to be a translation.xml in code_templates? 23:43 < impl> (because there isn't) --- Day changed Sat Mar 10 2007 00:05 < CIA-11> dominik * r1849 /branches/0.11/src/validator/AgaviValidator.class.php: revert changes from [1656] 00:09 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has quit ["Leaving"] 00:13 * impl ponders why use_database adds 0.05+ seconds of overhead 00:14 < Wombert> databasemanager init, databases.xml parsing 00:14 < Wombert> switch debug off and it looks a lot better 00:14 < Wombert> also if you use propel 1.3, that is included on startup 00:22 * impl is using PDO 00:23 < impl> Wombert: Can I specify multiple environments at once? 00:23 < Wombert> enviroment="foo bar baz" 00:23 < Wombert> better 00:24 < Wombert> each developer has his own environment 00:24 < Wombert> development-impl and so on 00:24 < impl> Yeah, that's what I was planning on doing 00:24 < Wombert> then environment="development(.*)" 00:24 < Wombert> regex 00:24 < impl> ooh, they're regexes? cool 00:24 < Wombert> yup 00:24 < impl> Great, thanks 00:25 -!- empathon [n=empathon@staticline12850.toya.net.pl] has quit ["Leaving"] 00:34 < impl> Hmm, guess it would help if I specified my dsn line right 00:34 < impl> overhead is like 0.002 sec now :P 00:36 < impl> or h 00:36 < impl> m 00:36 * impl ponders 00:52 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 00:52 < Whisller> niut niut 00:52 < Whisller> :) 00:59 * Whisller is drinking beer 01:03 < impl> Hmmh 01:03 < impl> How do I change the default template directory structure? 01:04 < Whisller> core.template_dir ? 01:05 < Whisller> default it is sets to <core.app_dir>/templates 01:06 < impl> I want to change the module too, though 01:06 < impl> module ones* 01:14 -!- ShawnLocke [n=ShawnLoc@cs6625110-161.bham.res.rr.com] has quit [Read error: 110 (Connection timed out)] 01:30 < Whisller> Maybe this question will be stupid but I must ask. We have got two options to get context 1. $this->getContext 2. $this->context, where is difference between them :> 01:32 < impl> As far as I know, nothing at all 01:32 < impl> I personally use getContext() 01:32 < impl> because if one were to ever want to globally change what getting a context does, it'd be much easier 01:33 < Whisller> impl, thanks :) 01:33 < impl> mhm 01:49 < v-dogg> that's the idea of getters 01:49 < v-dogg> but $this->context is, according to wombs, a lot faster 01:56 < impl> doesn't getContext() just return $this->context? 01:57 < v-dogg> yes 01:58 < v-dogg> but if the man says it's faster, it is faster ;) 01:59 < v-dogg> I don't know how php handles function/return value references and so on, but I don't find it hard to believe that it is slower than direct access 02:00 < kaos|work> the problem is not the reference or anything 02:00 < kaos|work> but the method call itself 02:00 < kaos|work> which just can't be any faster then a simple property access 02:01 < impl> So you guys use ->context? 02:01 < kaos|work> (and if it wouldn't there be a big speed difference compiled languages wouldn't need inline methods ;) 02:01 < kaos|work> impl: depends on what you do 02:01 < kaos|work> i mostly use getContext() 02:21 -!- ShawnLocke [n=ShawnLoc@cs6625110-161.bham.res.rr.com] has joined #agavi 02:32 -!- Whisller [n=Whisller@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 02:32 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 02:34 -!- Whisller [n=Whisller@217.97.146.67] has quit [Client Quit] 03:05 -!- Prometheus^ [n=Promethe@cs181164208.pp.htv.fi] has quit [] 03:17 < impl> guys 03:18 < ShawnLocke> girls 03:18 < impl> do you think 16 characters is long enough for the largest ISO standard locale name? 03:18 < impl> I can't think of anything longer than some of those weird Chinese ones 03:18 < impl> zh_Tangh_ZU 03:18 < impl> or whatever 03:49 < _cheerios> mmmhmhmm 04:07 < kaos|work> OMG MYSQL 04:07 < kaos|work> did they EVER hear about ACID ? 04:07 < ShawnLocke> WHERE?! 04:07 < kaos|work> start a transaction 04:07 < kaos|work> create some tables 04:07 < kaos|work> rollback 04:08 < kaos|work> you could as well just commit 04:08 < kaos|work> doesn't make a difference 04:08 < kaos|work> SDFJSDFSDF 04:08 < kaos|work> i HATE having to work with such shit 04:13 < kaos|work> impl: 16 chars ? 04:13 < kaos|work> no 04:14 < kaos|work> it can include the language script (Latn, Arab, ...) as well 04:16 < kaos|work> http://www.unicode.org/reports/tr35/#Identifiers 04:17 < kaos|work> so MAYBE it could be enough 04:17 < impl> umf 04:19 < impl> so 11+variant code? 04:19 < impl> at most 04:26 < kaos|work> i dunno really 04:26 < kaos|work> and i don't have time atm to check it 04:26 < kaos|work> sry 04:35 < impl> That's okay, I got that link so I'm good :) thanks 05:48 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 05:53 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 05:54 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: skiv02 05:54 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 05:55 -!- Netsplit over, joins: skiv02 06:07 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: skiv02 06:08 -!- Netsplit over, joins: skiv02 06:50 < impl> Wombert: ping 06:50 < Wombert> yes? 06:50 < impl> Do you know how to get trac to display changesets in tickets? 06:50 < impl> If you're busy, I'll inquire later 06:50 < Wombert> inside? 06:50 < impl> Yeah 06:50 < Wombert> that doesn't work 06:50 < Wombert> you can only link to them 06:50 < Wombert> or not? 06:51 < impl> like how it says "(In [1665]) added UPGRADING, improved package notes. refs #340" 06:51 < Wombert> ah 06:51 < Wombert> that's the postcommit hook for subversion 06:51 < impl> ooh okay 06:51 < Wombert> http://trac.edgewall.org/browser/trunk/contrib/trac-post-commit-hook?rev=920 06:51 < Wombert> pick your branch instead maybe 06:51 < Wombert> or a tag 06:51 < impl> Thanks :D 06:51 < Wombert> instead of trunk 06:51 < Wombert> descriptions in the file 07:12 < impl> yay, works perfectly <3 07:33 -!- Wombert [n=Wombert@dslb-084-056-002-073.pools.arcor-ip.net] has quit [] 08:02 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 09:07 -!- digitarald [n=Miranda@62-43-129-31.user.ono.com] has joined #agavi 09:58 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 09:58 < horros_> huomenta 10:21 < digitarald> Huomenta 10:41 < v-dogg> huomenta 11:30 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 11:54 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] 11:58 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 12:12 -!- Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 12:22 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Success] 12:27 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 12:27 < horros_> herro 12:32 -!- Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Read error: 110 (Connection timed out)] 13:03 < digitarald> anybody want to test my ajax history/backbutton-enabler for mootools? 13:40 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 13:40 -!- fastly [n=fast@AC8E70B7.ipt.aol.com] has joined #agavi 14:08 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 14:09 < Whisller> hello 14:14 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 14:44 * horros_ grumbles at propel 14:45 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 14:46 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 15:11 -!- digitarald [n=Miranda@62-43-129-31.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 15:15 -!- um [n=um@noc.cavokintl.com] has quit [Nick collision from services.] 15:15 -!- um [n=um@noc.cavokintl.com] has joined #agavi 15:43 < v-dogg> would it be possible to have cef cache directories with actual names when in debug mode? 15:58 < horros_> argh 15:58 < horros_> my arm is falling off :( 16:00 < v-dogg> what? 16:01 < horros_> hmh? 16:01 < v-dogg> why is your arm falling off? 16:02 < horros_> I'm playing ze guitar 16:02 < v-dogg> ah 16:02 < horros_> more specifically, I'm playing Mayhem 16:02 < horros_> and to be really specific -- here's a clip 16:02 < horros_> http://wma.phonofile.com/PhonoStreamWM/play.asp?a=27806&s=8 16:02 < v-dogg> I thought you were doing too much self-pollution 16:03 < horros_> it's not hard at all, it's just that my shoulder feels like it's falling out of it's socket after hammering away those 1/8th - 1/16th notes five songs in a row 16:03 < horros_> :) 16:10 < v-dogg> I can't get caching sorted... 16:11 < horros_> humm 16:11 < horros_> k k 16:12 < horros_> hmm 16:12 < horros_> nevermind. 16:28 < horros_> hmmh 16:29 < horros_> ok, imagine this: user is at a certain action A. User clicks "Log in" link... how'd I go about redirecting the user to the page they were at before clicking the link? 16:29 < horros_> note: I'm not talking about a user clicking a link and the action begind said link requires a logged in user. 16:30 < v-dogg> I'd probably keep track of the page the user is on 16:30 < v-dogg> as a user/session attribute 16:31 < horros_> that's what I was thinking... 16:31 < horros_> I was just pondering if there's a more womberty way of doing it 16:31 < v-dogg> last_known_position :) 16:31 < v-dogg> hehehe 16:31 < horros_> hm 16:33 < horros_> what about request attributes then? 16:33 < horros_> bah, sod it. 16:33 < v-dogg> nopes 16:34 < v-dogg> request attributes are not stored 16:43 -!- digitarald [n=Miranda@62-43-129-31.user.ono.com] has joined #agavi 17:01 -!- digitarald [n=Miranda@62-43-129-31.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 17:03 < v-dogg> I don't get this 17:03 < v-dogg> what am I doing wrong 17:07 < v-dogg> if I ommit <layer> elements (everything should be cached) no actual ouput is cached 17:07 < v-dogg> heads up finss, macgyver is on! 17:07 < v-dogg> :) 17:07 < horros_> so is simpsons :) 17:08 < horros_> LOL 17:08 < horros_> "Vasemmistoliitto -- oikeasti vasemmalla!" 17:08 < horros_> yeah right 17:08 < horros_> what a bunch of liars. 17:08 < v-dogg> back to caching: 17:09 < v-dogg> if I have both content and decorator layers in the cache config some output is actually cached but I get this after the first request: 17:10 < v-dogg> Notice: Undefined index: content in C:\workspace\vm\app\templates\Master.php on line 42 17:10 * horros_ shrugs 17:12 -!- fastly [n=fast@AC8E70B7.ipt.aol.com] has quit [Read error: 110 (Connection timed out)] 17:21 < kaos|work> v-dogg: i think the only one who can answer anything about caching atm is wombert ^^ 17:22 < v-dogg> yeah 17:41 < v-dogg> http://pastebin.ca/389177 <- for Wombert when he gets here (just so that I won't forget) 17:41 < v-dogg> using latest agavi (r1849) 18:14 -!- digitarald [n=Miranda@62-43-129-31.user.ono.com] has joined #agavi 18:27 < Whisller> http://phpfi.com/214363 what is wrong with this code(xhtml), with block <meta name="" content="" /> this return a errors, but strange is I use this same decorator(header block, meta block etc) in other module and there it does not return any error :/ 18:28 < Whisller> errors is from FPF 18:38 < Whisller> *are 18:59 < _cheerios> *g* "that's a little different choice there..." 19:23 < horros_> egads I'm bored 19:26 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 19:32 < _cheerios> itś a perverted world 19:42 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has quit [] 19:45 < Whisller> have someone any idea to my problem :> 19:50 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 19:54 < _cheerios> your onmouseover 19:54 < _cheerios> has entities 19:55 < Whisller> can't be 19:56 < Whisller> i change every < to < 19:56 < Whisller> and > to < 19:59 < kaos|work> Whisller: you have 2 divs with the same id (middle) 20:00 < Whisller> heh yes :/ 20:00 < kaos|work> i wouldn't know why this would cause that error 20:00 < Whisller> i delete one div and check 20:02 < Whisller> this same error 20:04 < kaos|work> and are you sure this is the document the fpf gets ? since that would mean libxml regards empty attributes which are #REQUIRED in the dtd as not defined 20:04 < kaos|work> (and it should break in line 8 then already) 20:06 < Whisller> kaos|work, I'm sure. This did work, but now i don't know what is wrong. 20:06 < Whisller> I don't change anything 20:06 < _cheerios> lettuce + jello \o/ 20:09 < Whisller> hmm it execute executeWrite, but after it return a errors 20:16 < kaos|work> Whisller: disable the fpf 20:16 < kaos|work> and check what exactly is output 20:20 < Whisller> ok 20:20 < Whisller> now everything is ok 20:25 < splatch> oi! :] 20:25 < Whisller> hi splatch 20:27 -!- fastly [n=fast@AC8E70B7.ipt.aol.com] has joined #agavi 20:28 < splatch> blah i've a stack, stack of letters and statments to complete 20:49 -!- Wombert [n=Wombert@dslb-084-056-017-024.pools.arcor-ip.net] has joined #agavi 21:20 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"] 21:26 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 21:27 * Wombert yawns 21:27 < impl> Wombert: Did your project get launched? 21:28 < Wombert> impl: all fine 21:28 < impl> Great :D 21:28 < Wombert> v-dogg: I'll have a look 21:29 < Wombert> the problem is that you specify content layer, too, but only need decorator 21:29 < Wombert> I'll check if that is the issue 21:29 < Wombert> maybe it's also the order of layers specified but I think I have code that corrects wrong order 21:29 < Wombert> so it's likely the situation that you're specifying "too much" to cache (if you cache decorator layer, the content layer obviously gets cached, too) 21:33 < fastly> hey, does anyone here know what this propel exception might mean: 21:33 < fastly> Unable to open PDO connection [wrapped: could not find driver] 21:33 < fastly> ? i'm having problems transferring code to a production server 21:33 < fastly> from vista to redhat ;-) 21:33 < fastly> rhel 21:34 < impl> You don't have the PDO driver you need installed 21:34 < fastly> phpinfo says PDO drivers sqlite2, sqlite, mysql are installed PDO Driver for MySQL, client library version 5.0.27 21:35 < fastly> i have '--with-pdo-mysql' in my php ./configurew 21:35 < fastly> -w 21:36 < impl> Hmm 21:36 < impl> #propel might have some idea 21:36 < fastly> will ask them .. thanks 21:43 < MrJeep> cleaning up da house is sure a lot of fun 21:44 < MrJeep> I'm guessing how much money I'll get with the empty beer bottle.. 21:44 < MrJeep> hum... i guess something like 30-40 $ :D 21:44 < MrJeep> brb 22:45 < _cheerios> anyone compiled php? how long did it take? 22:45 < impl> Depends on how fast your computer is :P 22:45 < _cheerios> naturally 22:50 -!- Niacin [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has joined #agavi 23:02 < _cheerios> oh, finished. took 60minutes for me (2Ghz cpu) 23:02 < impl> 60 minutes? 23:03 < impl> It didn't even take my PII-450MHz that long 23:03 < _cheerios> guess i took the scenic route 23:03 < Wombert> I think it takes 10 minutes or something 23:03 < Wombert> on my 1,67GHz G4 23:04 < Wombert> which, as everyone knows, is the slowest computer on this planet 23:06 < _cheerios> shrug. 23:06 -!- digitarald [n=Miranda@62-43-129-31.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 23:21 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] --- Day changed Sun Mar 11 2007 00:18 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 01:20 < _cheerios> leaving it on overnight, nn :) 01:23 * Whisller is listening to 1. Joseph Kilna MacKenzie - SGT. MacKenzie 01:24 < Whisller> greate songs 01:24 < Whisller> from We Were Soldiers 01:24 < Whisller> Heh movie also was a really great. 01:29 < Whisller> You should see it. 01:33 < Whisller> It is about war in vietnam, but not like others movies. This movie show us americans and vietnams soldiers, show the americans and vietnams are a humans. 01:33 < Whisller> Masterpiece. 04:17 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Good night"] 06:14 -!- ShawnLocke [n=ShawnLoc@cs6625110-161.bham.res.rr.com] has quit [Read error: 131 (Connection reset by peer)] 07:26 * Wombert yawns 07:26 * Wombert pokes impl 07:26 < Wombert> WASSUP 07:29 < impl> yawy 07:29 < impl> TH 07:29 < impl> HI! 07:29 < Wombert> mmmmmmmmmmhdrunk 07:29 < impl> :D 07:29 < Wombert> need 07:29 < Wombert> sth 07:29 < Wombert> to 07:29 < Wombert> eat 07:29 < impl> Can't go wrong with drunk 07:29 < Wombert> darnit burger king was closed 07:29 < Wombert> aaaaand ze police stopped us 07:29 < Wombert> BUT! 07:30 < Wombert> ze driver was sober 07:30 < Wombert> awesome 07:30 < Wombert> except for the I-didn't-get-by-crispy-chicken-with-cheese-and-bacon part 07:30 * Wombert goes find some instant noodles 07:31 < impl> Wow, you are drunk 07:33 < Wombert> re 07:33 < Wombert> oh yeah you bet 07:33 < Wombert> *get-my 07:34 < Wombert> don't you have crispy chicken burgers in the US? 07:34 < Wombert> the only proper burger burger king has to offer 07:34 < Wombert> the rest is pretty much rubbish 07:34 < Wombert> even the fries 07:34 < Wombert> which I thought for a long time rocked 07:34 < Wombert> but they're useless 07:35 < Wombert> they have a fishy taste to them 07:35 < impl> I get the same thing whenever I go to Burger King 07:35 < impl> Whopper, onion rings, coke 07:35 < Wombert> omg 07:35 < Wombert> whopper = teh sux 07:35 < impl> noesss it's good 07:35 < Wombert> onion rings even more 07:35 < Wombert> daamn 07:35 < impl> You don't like onion rings? 07:35 < Wombert> no it's not sire, sorry 07:35 < impl> or just not Burger King's? 07:35 < Wombert> try crispy chicken with cheese and bacon 07:35 < Wombert> it's uber ace 07:36 < impl> I've never heard of that 07:36 < Wombert> here's the thing 07:36 < Wombert> when you're a child 07:36 < Wombert> you hate BK 07:36 < Wombert> a) they don't have cool kids club menus with nice toys 07:36 < Wombert> b) there's sesame on the burgers 07:36 < Wombert> when you grow up 07:36 < Wombert> you think BK is ace and >>>>>> Mc Donald's 07:37 < Wombert> then you realize that the mcd fries aren't as crappy as you thought they were 07:37 < Wombert> plus 07:37 < Wombert> royal ts without onions = best burger in ze world 07:37 < impl> I haven't been to McDonald's in years 07:37 < Wombert> that's a hamburger royale with tomato and salad 07:37 < Wombert> aaaaawesome 07:37 < Wombert> but yes, bk rocks, except for... uhm,... the coffee 07:37 < Wombert> and 07:37 < Wombert> uhhhm the salads 07:37 < impl> O_o 07:37 < Wombert> and the fries 07:38 < Wombert> and sometimes the burgers 07:38 < impl> well we have starbucks for coffee 07:38 < Wombert> oh yes we too 07:38 < Wombert> not like in the us where you pretty much have one on every corner 07:38 < Wombert> (know that simpsons episode?) 07:38 < impl> haha 07:38 < impl> We're not that bad 07:38 < impl> now grocery stores, yeah 07:38 < Wombert> but they're beginning to be everyhwere 07:38 < Wombert> I read that story once 07:39 < Wombert> where two starbucks opened on the opposite sides of a street 07:39 < Wombert> simpyl because people couldn't be arsed to change sides 07:39 < Wombert> cool 07:39 < Wombert> anyway 07:39 < Wombert> starbucks here is fucking expensive 07:39 < impl> Yeah 07:39 < impl> They're overpriced 07:39 < Wombert> you pay six dollars for a decent white cocolate latte 07:40 < impl> which is unfortunate because the coffee is good 07:40 < Wombert> best thing is 07:40 < Wombert> mcdonalds has the same stuff 07:40 < Wombert> even down to the new york cheese cake (which is ace) 07:40 < Wombert> for 1 to 2 euros less 07:40 < Wombert> (only in the McCafe's, but they're spreading like a disease, too) 07:41 < Wombert> and my instant noodles are still too hot to eat 07:41 < Wombert> :< 07:41 < impl> I've only ever seen maybe two McCafe's 07:41 < Wombert> you don't have so many starbucks etc here in germany 07:41 < Wombert> simply because the unions have so much power 07:42 < Wombert> that's why walmart failed here, too 07:42 < Wombert> but! on the bright side, the unions have been very easy in their demands over the last years 07:43 < Wombert> one of the reasons why the economy is on the rise here again 07:43 < Wombert> labor has become cheaper again in germany 07:43 < impl> maybe we'll start outsourcing to you 07:43 < impl> :P 07:43 < Wombert> only 1% wages increase over the last three years or so, way below average 07:43 < Wombert> haha 07:44 < Wombert> god man there's nothing like being all tanked up and then finding something genuinely gourmet to eat 07:44 < Wombert> like these instant noodles 07:44 < Wombert> aaaaaaw 07:44 < Wombert> star 07:44 < Wombert> :> 07:44 < impl> O_o 07:45 < Wombert> you should get drunk more often dude 07:46 < Wombert> I understand you're in the last year of high school? 07:46 < Wombert> lay some girls 07:46 < Wombert> <3 07:46 < impl> Naw, next year is my last year 07:46 < Wombert> still, a good time 07:46 < Wombert> I wish I was ~18 again 07:46 < Wombert> that was so ace 07:46 < Wombert> enjoy it 07:46 < Wombert> and 07:46 < Wombert> make the most of it 07:46 < Wombert> you'll look back to that time later 07:46 < Wombert> really 07:47 < impl> I never liked my childhood much, I don't think I'll be looking back on this 07:48 < Wombert> you will, you really will. simply for the reason that school is, pretty much, a cinch compared to university 07:48 < Wombert> or college 07:48 < impl> I'm taking a bunch of college-level (ish) classes now though 07:48 < impl> and they suck 07:48 < Wombert> ...because? 07:49 < Wombert> I think US colleges are very different from european universities 07:49 < Wombert> not sure tho 07:49 < impl> Because they require so much work to get A's 07:49 < impl> I'm going to spend the entire day tomorrow doing homework 07:50 < Wombert> you lucky bastard, it's way into sunday already here 07:50 < Wombert> :> 07:50 < impl> well I'm about to get off by an hour 07:50 < impl> Fucking US Congress 07:50 < impl> early daylight savings time 07:50 < impl> gr 07:51 < Wombert> ah they changed that? 07:51 < impl> Yes 07:51 < impl> We're starting DST today 07:51 < Wombert> at least indiana still has 27 different timezones :p 07:51 < Wombert> makes life of us programmes easy 07:51 < Wombert> +r 07:51 < impl> They shouldn't even be a state 07:51 < impl> losers 07:51 < Wombert> hahaha 07:52 < Wombert> I think I need another portion of these instant noodles 07:52 < Wombert> but carry on 07:52 < impl> Worship the noodly appendages 07:53 < Wombert> you'Re from... 07:53 < Wombert> south? 07:53 < Wombert> or noth 07:53 < Wombert> carolina 07:54 < impl> North 07:54 < Wombert> hmmm 07:54 < Wombert> does that count as southern state? 07:54 < impl> Yes :( 07:54 < Wombert> did oyu watch that top gear episode I sent ya? 07:54 < impl> I don't think so 07:54 < Wombert> you suck man 07:54 < Wombert> http://www.youtube.com/watch?v=APLq8G6u1Ew 07:54 < impl> I've spent the last seven months of my life doing nothing but homework 07:54 < Wombert> (I live in munich) 07:55 * impl never gets anything done he intends to 07:56 < impl> haha 07:58 < Wombert> I love when other countries make fun of the germans and pull the nazi stereotype 07:58 < Wombert> http://www.youtube.com/watch?v=jDEvJijJt6E 08:00 -!- digitarald [n=Miranda@62-43-152-110.user.ono.com] has joined #agavi 08:00 < Wombert> 0700 08:00 < Wombert> and he's up 08:00 * Wombert shakes head 08:00 * Wombert slaps digitarald 08:01 < digitarald> i'm sorry ... :( 08:01 < Wombert> you should be 08:01 < Wombert> you better have a good excuse 08:01 < digitarald> my girlfriend has to get up at 5 08:01 < Wombert> I was about to sa 08:01 < Wombert> y 08:01 < Wombert> "and don't tell me it's the gf's fault" 08:01 < Wombert> xD 08:01 < digitarald> too late ... she is already the guilty one 08:02 < impl> Women are evil! 08:02 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 08:02 < digitarald> so ... lets start Browsercam and debug my backbutton helper for safari ... *ninjamask* 08:05 < digitarald> haha, last user from browsercam mac let his sites all open 08:05 < digitarald> some kind of cms 08:05 < digitarald> NO, he saved user and password in the login 08:45 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 104 (Connection reset by peer)] 09:03 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 09:30 -!- raidman [n=raidman@62.60.194.3] has joined #agavi 09:32 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has joined #agavi 09:32 < Alystair> don't forget DST! +1H 09:33 < ttj> Huh? :o 09:34 < Alystair> clicks, daylight savings time 09:34 < Alystair> er clocks 09:37 < ttj> Isn't it the last Sunday of March? 09:44 * MikeSeth wakes up! 09:45 < MikeSeth> hey guys 09:45 < MikeSeth> long time no see :D 09:49 < raidman> hey MikeSeth :) 09:49 -!- raidman is now known as Arme[N] 10:03 -!- Arme[N] [n=raidman@62.60.194.3] has quit [Read error: 131 (Connection reset by peer)] 10:08 -!- digitarald [n=Miranda@62-43-152-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 10:08 * MikeSeth pets everyone 10:08 < MikeSeth> damn that was some afk 10:19 < Alystair> ? 10:27 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 10:56 < MikeSeth> r1778 | david | 2007-02-23 04:20:35 +0200 (Fri, 23 Feb 2007) | 1 line 10:56 < MikeSeth> oh god phpdoc devs I will burn down your homes 10:56 < MikeSeth> hahaha 10:56 < MikeSeth> <3 Wombert 10:56 * MikeSeth svn update 11:10 < v-dogg> huomenta 11:11 < raidman> huomenta v-dogg :) 11:11 < v-dogg> what's happening 11:40 -!- digitarald [n=Miranda@62-43-152-110.user.ono.com] has joined #agavi 11:50 < MikeSeth> im moving another project to Agavi 11:51 < MikeSeth> isnt that nice :D 11:59 < v-dogg> extremely 12:02 < v-dogg> ok, now I got the page cached by defining only <layer name="decorator" /> but I still get: 12:02 < v-dogg> Warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\workspace\vm\libs\agavi\filter\AgaviExecutionFilter.class.php on line 411 12:04 < MikeSeth> welp something must be missing.. 12:15 -!- codecop [n=moni___@88.118.220.175] has joined #agavi 12:18 -!- Wombert [n=Wombert@dslb-084-056-017-024.pools.arcor-ip.net] has quit [Nick collision from services.] 12:18 -!- Wombert_ [n=Wombert@dslb-088-064-074-039.pools.arcor-ip.net] has joined #agavi 13:09 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 13:20 < MikeSeth> does propel support schema migrations? up and down/ 13:28 < horros_> pardon? 13:55 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 13:55 < Whisller> evening 14:57 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 15:01 -!- codecop [n=moni___@88.118.220.175] has quit [Remote closed the connection] 15:08 < MikeSeth> shit why on earth i wasted my time with DB_DataObject 15:09 < MikeSeth> the stupid thing is worthless 15:14 < Alystair> MikeSeth: ? is that part of Agavi 15:15 < v-dogg> hell no :) 15:16 < MikeSeth> Alystair: no, that's a completely standalone library 15:16 < MikeSeth> god 15:16 < MikeSeth> why was I so frigging stupid!! 15:16 * MikeSeth smacks $this 15:19 < Alystair> $this = "that ass"; 15:20 < Alystair> $chorus = "and let me see whatcho got!"; 15:20 < Alystair> heh 15:25 < MikeSeth> heh 15:25 < MikeSeth> now I need to rethink my whole model structure 15:25 < MikeSeth> time for cigareyttez 15:32 < _cheerios> you moving to Propel, or, what is on your mind, MikeSeth ? 15:40 < MikeSeth> I'm not sure yet 15:40 < MikeSeth> I think for current project I'll stick with DBDO 15:41 < MikeSeth> its too much pain to replace all the model code 15:41 < MikeSeth> the thing with DBDO is that working with table relationships is a real bitch 16:23 < MikeSeth> ~man I love the Agavi 16:32 < Alystair> wow. 16:32 < Alystair> I don't know what I did here, but text is showing up... double in IE. 16:32 < Alystair> no JS/php/anything 16:33 < Alystair> hrm CSS rendering bug, jow 16:33 < Alystair> *joy 16:34 < v-dogg> MikeSeth: what is it this time? 16:39 < _cheerios> urf...watching tentacle porn for hours does numb the mind some 16:41 < Alystair> _cheerios: sounds like a bad case of spagetti code 16:52 < _cheerios> heh, could be. 16:59 < MikeSeth> v-dogg: translators :D 17:04 < v-dogg> :) 17:04 < v-dogg> are you using gettext? 17:23 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Try HydraIRC -> http://www.hydrairc.com <-"] 17:50 -!- Wombert_ is now known as Wombert 17:52 * Wombert yawns 17:53 < Wombert> yo duuudes 17:53 < Wombert> MikeSeth: you're back 17:53 < Wombert> how are you mate 17:53 < Wombert> v-dogg: did you clear ze cache 17:53 < Wombert> then the warning should disappear 17:56 < v-dogg> didn't help 17:57 < Wombert> reproduce case? 17:57 < Wombert> do you use $inner or $slots['content'] = 17:57 < v-dogg> $slots['content'] 17:57 < Wombert> but wtf, you cache the decorator layer, right? 17:57 < v-dogg> yep 17:57 < Wombert> why does it render the master template then 17:57 < Wombert> wtf wtf 17:58 < Wombert> ah hm no you don't get that anymore 17:58 < Wombert> just ze in_array 17:58 < Wombert> oookay 17:58 < Wombert> will have a look 18:02 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 18:15 < Wombert> if($isCacheable && !$isViewCached && isset($otConfig['layers'][$layerName]) && in_array($slotName, $otConfig['layers'][$layerName])) { 18:15 < Wombert> hmm 18:15 < Wombert> wwwwtf 18:15 < Wombert> can you show me the compiled cache xml, v-dogg ? 18:17 < Wombert> okay okay so 18:17 < Wombert> that in_array is definitely wrong there 18:17 < Wombert> aaah 18:18 < Wombert> 2 tics 18:19 < v-dogg> Wombert: still need the cache file? 18:19 < Wombert> if you can 18:19 < Wombert> better even if you could find a way to reproduce with the sample app 18:19 < Wombert> 'cause I can't 18:19 < Wombert> :> 18:20 < v-dogg> I'm just in the middle of something but can we go over my set-up later tonight? 18:20 < Wombert> sure 18:21 < Wombert> ah I see it 18:21 < Wombert> nevermind 18:21 < v-dogg> (that something is my bachelors paper I've finally started to write again :) 18:31 -!- MrJeep_ [i=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 18:32 < MrJeep_> hi 18:32 < MrJeep_> is this still true : http://www.vidaday.com/random/why-macs-suck/ ;P 18:32 < MrJeep_> funny video tho 18:32 < Wombert> it is not ;) 18:32 < Wombert> but it's funny yeah 18:33 < Wombert> that vid is ~5 years old 18:33 < Wombert> from the OS X 10.1 or 10.2 time 18:33 < Wombert> which was prone to crash and all 18:33 < Wombert> nowadays it's stable 18:33 < Wombert> didn't have a single crash since I got my mac 18:33 < Wombert> that was.... 16 months ago 18:33 < Wombert> no problems, at all 18:34 < Wombert> very nice 18:34 < MrJeep_> hehe ;) 18:34 < MrJeep_> mind to send me a screenshot of your desktop ? 18:34 < MrJeep_> i'd like to see that 18:34 < Wombert> okay 18:34 < MrJeep_> something different from the screenshot on apple 18:35 < Wombert> btw 18:35 < Wombert> screenshots on a mac 18:35 < Wombert> work like this 18:35 < Wombert> you press cmd-shift-3 18:35 < Wombert> and it makes a screenshot as png to the desktop 18:35 < Wombert> cmd-ctrl-shift-3 copies it to clipboard 18:35 < Wombert> and 18:35 < Wombert> cmd-shift-4 18:35 < v-dogg> a feature just for showing off :) 18:35 < Wombert> gives you a crosshair and then you can drag a rectangle which is then saved 18:36 < MrJeep_> hehe 18:36 < Wombert> or, if you hit space bar after that you can move the mouse over a window which then becomes blue and then when you click it copies that whole window 18:36 < impl> bahahaha. 18:36 < Wombert> even windows in the background etc 18:36 < impl> That video was grerat lulz 18:36 < impl> great 18:37 < Wombert> pretty nice compared to windows where you have to open paint then paste the image then save it and... yeah 18:37 < MrJeep_> i agree 18:38 < Wombert> email? 18:40 < MrJeep_> jeanphilippe_dery@hotmail.com 18:40 < Wombert> sending the screeshots was easy, I just dragged the files from the desktop to the mail icon which opens a new message with the files I dragged as attachments 18:40 < Wombert> that's the small mac things ;) 18:41 < MikeSeth> Wombert 18:41 < MrJeep_> hehe 18:41 < v-dogg> as opposed to the windows-way where you have to do a right-click and select Send -> To a email recipient 18:41 < impl> That sort of automation gets on my nerves 18:41 < MrJeep_> one day., I'll own one 18:42 < Wombert> v-dogg: if you have that installed... :p 18:42 < MikeSeth> Did I ever tell you that if you are secretly a girl then I would marry you? 18:42 < Wombert> what did I do again now :p 18:42 < v-dogg> Wombert: have what installed? Email client? 18:42 < impl> lolol. 18:42 < MrJeep_> I think the new php standard class library or something are in php 5.2 only ? 18:42 < MikeSeth> well, I just had to divert from my usual with-Agavi work for two weeks and now I am back and its so relaxing 18:43 < Wombert> MrJeep: another example 18:43 < Wombert> say I have a file open 18:43 < Wombert> and I want to email it to you 18:43 < Wombert> I drag the file icon from the title bar of the window(!) to the email icon, tada 18:44 < Wombert> no need to hunt down the file using explorer (or, as it is called on the mac, the finder) 18:44 < Wombert> and mind you, the finder on mac is total crap 18:45 < MrJeep_> serioulsy, I though that was a great tool :S 18:46 < impl> ls > * 18:46 < impl> I dun need no finder or explorer 18:46 < v-dogg> what template engines are there for php? I'm looking for an example of a "declarative" template (as opposed to "imperatives" like php/smarty) 18:48 < impl> http://trac.agavi.org/query?status=new&status=assigned&status=reopened&component=renderer&order=priority 18:48 < impl> There's some ^ 18:49 < v-dogg> ta 18:49 < MrJeep_> Wombert : no ss received yet :S 18:49 < Wombert> typing ze mail 18:50 < impl> Cc: impl@cynigram.com 18:50 < v-dogg> Cc: mail@veikkomakinen.com too :) 18:50 < impl> :P 18:52 < horros_> LOL 18:52 < horros_> "We can expect BMW Sauber to become a major contender this year!" 18:52 < horros_> yeah right 18:57 < v-dogg> wtf, solopianoradio.com plays some piano version of Sibelius' Finlandia and Now Playing says "David Nevue - While the Trees Sleep" 18:58 < v-dogg> either their nowplaying-system is out of sync or David Nevue is a huge asshole 18:59 < Wombert> horros_: well possible 18:59 < Wombert> and I hear williams is very strong 18:59 < Wombert> webber should have stayed there 19:04 < Niacin> morning all :) 19:13 < Wombert> sent 19:14 < Wombert> many screenshots, 8mb 19:14 < Wombert> is that too large for anyone? 19:14 < Wombert> and tons of text :p 19:15 < MrJeep> thnx :D 19:15 * impl waits for it to download :P 19:18 < impl> Wombert: What's this blame do? 19:18 < impl> Is it like svn diff? 19:18 < Wombert> blame shows you which line is from which author and revision 19:18 < impl> ah, cool 19:19 < Wombert> trac 0.11 will have that, too 19:19 < Wombert> very cool 19:19 < Wombert> http://framework.zend.com/fisheye/browse/Zend_Framework/trunk/library/Zend/Locale/Data.php?r=3675 here 19:19 < Wombert> to the left side 19:19 < Wombert> author, revision, line 19:19 < Wombert> very nice 19:20 < Wombert> the window is from textmate, from the subversion bundle 19:21 < Wombert> 411 1786 david if($isCacheable && !$isViewCached && isset($otConfig['layers'][$layerName]) && in_array($slotName, $otConfig['layers'][$layerName])) { 19:21 < Wombert> http://trac.agavi.org/changeset/1786 there is ze bug! 19:21 < Wombert> or so 19:21 < Wombert> :p 19:22 < impl> Got enough icons there? :P 19:23 < Wombert> I usually clean up like this: 19:23 < Wombert> the files I use I drag to the left side 19:23 < Wombert> which means the left side is still empty after a few days 19:23 < Wombert> then I take all files and move them to trash 19:23 < Wombert> if I don't miss a file after a day, I empty it :p 19:23 < impl> Nice :P 19:23 < Wombert> = Standalone Project direcor 19:24 < Wombert> is a snippet file 19:24 < Wombert> I took the text from a textarea (was for propel wiki) and dragged it to the desktop 19:24 < Wombert> a clipboard snippet then 19:24 < Wombert> you can take it and copy it or drag it to other windows etc 19:25 < Wombert> the pdfs are cool, too 19:25 < Wombert> because 19:25 < Wombert> you can print anything to a pdf file 19:25 < Wombert> webpage... file -> print, click pdf -> save, and done 19:25 < impl> Windows can do that :P 19:25 < Wombert> with a plugin 19:25 < Wombert> that costs money 19:25 < Wombert> :p 19:26 < Wombert> or ghostscript which is rocket science 19:26 * impl threatens Wombert with LaTeX 19:27 < Wombert> btw firefox had no windows open (or, rather the app was hidden so no windows in expose either) 19:27 < impl> O_o 19:27 < Wombert> the firefox icon isn't always there, it disappears from the dock if I close it 19:27 < Wombert> itunes is set to remain in the dock so the icon is there even though the app isn't running 19:28 < impl> wait, so you just leave apps open for no reason? D: 19:28 < Wombert> os x has excellent memory management 19:28 < Wombert> you usually leave apps running if you need them from time to time 19:28 < Wombert> iCal I use only once a day but it is there instantly if I click it 19:29 < Wombert> and since it only eats a couple of megabytes of ram... I leave it open 19:29 < Wombert> you can close it if you like but... 19:29 < Wombert> I only restart the browsers regularly because the all leak memory and get slower and slower and slower 19:29 < impl> lol 19:30 < impl> Even Safari? 19:30 -!- MrJeep_ [i=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 19:30 < Wombert> just like on windows ;) 19:30 < Wombert> yes 19:30 < Wombert> webkit is much better though 19:30 < Wombert> they fixed many memleaks there 19:32 < impl> I mean, Macs do look nice 19:32 < Wombert> oh I wouldn't say that 19:32 < Wombert> the folder icons etc all suck ass 19:32 < impl> I don't mean aesthetically 19:32 < impl> I mean the features 19:32 < impl> :P 19:33 < Wombert> and the metal windows of finder and safari... uuuuh 19:33 < Wombert> most of it isn't eye candy, but actually function 19:33 < Wombert> form and function depend on each other anyway 19:33 < Wombert> like the file icon in title bars 19:33 < Wombert> you can drag it around 19:33 < Wombert> or you click the icon, and then a list of the folders appear 19:33 < Wombert> from the file down to the harddrive root 19:34 < Wombert> so cool to quickly go to the folder where the file is in 19:34 < Wombert> saves you 10 to 20 seconds 19:34 < Wombert> that stuff adds up 19:34 < Wombert> trash closes when you empty it 19:34 < Wombert> on windows, you gotta close it yourself 19:34 < impl> I shift+delete everything 19:34 < Wombert> that gets exhausting 19:34 < Wombert> yeah me too 19:34 < Wombert> :> 19:34 < impl> as a matter of fact I think my recycle bin is disabled 19:35 < impl> oh, I don't ever maximize stuff under Windows either 19:35 < impl> I don't have a task bar so if I maximize stuff I can't see other windows :P 19:36 < Wombert> I always had windows maximized 19:36 < Wombert> never realized how stupid it is to have a browser window at 1600x1200 19:36 < Wombert> when the website is for 800 width 19:37 < Wombert> waste of space 19:37 < Wombert> and then you end up alt-tabbing forever 19:37 < Wombert> oh btw 19:37 < Wombert> no need for drivers, no assistants, etc 19:37 < Wombert> you plug in the printer, it works 19:37 < Wombert> without a single dialog 19:37 < Wombert> or a reboot 19:38 < Wombert> which means you tell your non-computer-savy friends to buy a mac 19:38 < Wombert> and the phone never rings again 19:38 < impl> haha, I won't go into the ordeal I went through to get networked printers working under Windows 19:38 < impl> Nobody calls me :P 19:40 < Niacin> i have a control panel system for virtual machines... It's role based so i'm trying to extend agavi's functionality 19:40 < Niacin> how would i do this? 19:40 < Niacin> i wanted to have it declare roles as data as aposed to code 19:40 < impl> Agavi includes RBAC 19:41 < Niacin> yeah i'm new to OOP so give me a break 19:41 < Wombert> there is an rbacuser class 19:41 < Niacin> yeah i know there is 19:41 < Niacin> but whats the best way to extend this 19:41 < Wombert> you can overwrite loadDefinitions 19:41 < Wombert> so it pulls the roles and their credentials from a database 19:41 < Wombert> then when you log the user in 19:41 < Wombert> you read the roles he has 19:41 < Wombert> and call grantRole() on each 19:41 < Niacin> ok great 19:41 < Niacin> thanks ;) 19:41 < Wombert> agavi then assigns the credentials automatically for you 19:42 < Niacin> so no more api changes right? 19:42 < Wombert> correct 19:42 < impl> Wombert: http://img503.imageshack.us/img503/5250/screenshotmarchep1.png 19:42 < impl> bottom right = system tray 19:42 < impl> top right = task bar 19:43 < impl> I don't have any fancy effects to show off though :P 19:43 < Wombert> :p 20:02 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)] 20:02 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 20:13 < Wombert> http://www.zend.com/store/education/certification/self-test.php lolmao 20:13 < Wombert> I always asked myself why all the idiots on planet-php.net took the zend certilala engineer test 20:13 < Wombert> now I know 20:13 < MikeSeth> Wombert: advise me o wise one; should my actions ever deal with $_FILES? 20:14 < Wombert> seems thatin the php market, you gotta prove you're not a total fool... with a certificate... mahaha 20:14 < Wombert> MikeSeth: nevar evar 20:14 < MikeSeth> oh you didnt know you can be a grrreat PHP engineer for mere $500? 20:14 < MikeSeth> Wombert: I *knew* so! :D 20:14 < Wombert> $rd->getFile('filename')->move('dest/folder/file'); 20:14 < Wombert> other methods are getSize and so on 20:15 < Wombert> these pass validation, too 20:15 < Wombert> and are then removed 20:15 < Wombert> so 20:15 < MikeSeth> I love you man.. bb reading request source 20:15 < Wombert> foreach($rd->getFile('filearr') as $file) { 20:15 < Wombert> $file->move('...'); 20:15 < Wombert> } 20:15 < Wombert> MikeSeth: AgaviWebRequestDataHolder 20:15 < MikeSeth> I know :D 20:16 < impl> Wombert: I wonder if I get them all wrong if it still thinks I'll be ready to take their test 20:17 < MikeSeth> impl: their tests are actually based on tiny ridiculous details that most people dont know 20:17 < impl> Your score is 0 out of 8. 20:17 < impl> We recommend that you study for the exam and have at least six months of PHP programming experience. 20:17 < impl> aw. 20:18 < Wombert> What will be the value of $b after running the following code? 20:18 < Wombert> <?php 20:18 < Wombert> $a = array('c', 'b', 'a'); 20:18 < Wombert> $b = (array) $a; 20:18 < Wombert> omg 20:18 < impl> TRUE 20:18 < Wombert> haha 20:18 < MikeSeth> yeah any of you mad haxors ever coerce arrays into arrays just for the hell of it? 20:19 < Wombert> no I mean 20:19 < Wombert> "omg" 20:19 < Wombert> why is that even a question 20:19 < Wombert> I mean 20:19 < Wombert> wtf 20:19 < Wombert> the whole test is rubbish 20:19 < Wombert> it says absolutely nothing about how good a programmer someone is 20:20 < impl> yeah but like 20:20 < impl> you can be Zend certifiede 20:20 < impl> and put it on your resume 20:21 < impl> haha 20:21 < impl> I used to live literally across the street from one of the testing centers 20:27 < Wombert> omg omg omg 20:27 < Wombert> http://ez.no/community/articles/dangers_of_csrf_and_xss 20:28 < Wombert> three pages on how to use a pear class to parse bbcode so people cannot inject an image with src http://site.com/admin/deleteuser.php?id=1 20:30 < Wombert> instead of simply telling people that GET requests are supposed to be idempotent and safe according to HTTP 20:30 < Wombert> and that anything that does any changes on the server no matter what should be post 20:30 < impl> Does it matter whether one uses GET or POST to attack? 20:31 < Wombert> yes 20:31 < impl> Their only difference is the way they're specified 20:31 < Wombert> no 20:31 < Wombert> let's assume your site doesn't have XSS vulnerabilities 20:31 < Wombert> i.e. people cannot inject javascript 20:31 < Wombert> but they can use [img=http://lala.com/foo.jpg] in comments 20:32 < Wombert> and your delete user thing works on get, using links, because you're lazy 20:32 < Wombert> then I do 20:32 < Wombert> [img=http://site.com/admin/deleteuser.php?id=1] 20:32 < Wombert> and an admin views the page 20:32 < Wombert> and the deletion is done 20:32 < Wombert> with POST, the user would have to inject javascript to make the request using XHR 20:33 < impl> It's just another step out of the way :\ 20:33 < impl> I mean, I see your point 20:34 < impl> hmm 20:34 < impl> you can't put JS in images though, huh 20:37 < Wombert> http://ez.no/community/articles/dangers_of_csrf_and_xss/validating_all_input 20:38 < v-dogg> <input type="text" name="s" value="<?php echo $_POST['q']; ?>" /> :) 20:38 < Wombert> and which framework is the only one that validates and secures _all_ data, including HTTP_* ? :) 20:39 < impl> :P 20:41 < Wombert> there are so many possibilities 20:42 < Wombert> imagine how many people store the type of a $_FILE 20:42 < Wombert> in the database 20:42 < Wombert> image/fig 20:42 < Wombert> gif 20:42 < Wombert> that's what the browser sends 20:42 < Wombert> so we have 20:42 < Wombert> a) possible sql injection 20:42 < Wombert> okay... lets say the user prevents taht 20:42 < Wombert> but 20:42 < Wombert> he echoes the mime type in the admin area! 20:42 < Wombert> without checking 20:43 < Wombert> tadaa, attack 20:44 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["Leaving"] 20:45 < Wombert> ah man... http is such a genius protocol 20:46 < Wombert> the entire approach 20:46 < Wombert> and the way it is designed, how you can simply plug in new functionality 20:46 < Wombert> like compression... just a content-transfer-encoding value, so cool 20:46 < Wombert> and 20:46 < Wombert> http://tools.ietf.org/html/rfc2817 20:47 < Wombert> but now 20:47 < Wombert> lunch 20:47 < Wombert> errrr 20:47 < Wombert> dinner 20:47 < MikeSeth> Wombie, are AgaviUploadedFile's properties public by design? 20:48 < v-dogg> hmm... Savant... anyone used it? 20:48 < MikeSeth> what's that? sounds like a name for a lazy antivirus program 20:49 < v-dogg> looks redundant 20:49 < v-dogg> a template engine for php 20:49 < v-dogg> http://phpsavant.com/yawiki/ 20:50 < v-dogg> http://phpsavant.com/yawiki/index.php?area=Savant2&page=StartExample 20:50 < MikeSeth> well.. an antivirus would be as good at templating as most... templating libraries 20:50 < Wombert> MikeSeth: yep 20:50 < v-dogg> it's like.. php within php 20:50 < Wombert> v-dogg: ezc template is cool BUT 20:50 < Wombert> you can't makemethod calls on objects 20:50 < Wombert> => useless with an ORM tool 20:51 < v-dogg> probably intentional 20:51 < v-dogg> to make data-push templates 20:52 < v-dogg> I've come to a conclusion that all template engines suck 20:52 < v-dogg> so why not use php 20:53 < v-dogg> and helpers :) 20:54 < v-dogg> include 'title-tag-helper.php'; 21:06 < v-dogg> dammit. I can't find that paper about template design and data pull vs. data push 21:07 < v-dogg> found it from then mojavi forum when it was still alive 21:08 < v-dogg> found it!! hurray! 21:16 < v-dogg> http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf a must-read for everyone 21:17 < MrJeep> Wombert : I had time to read all the text you wrote on the mail, very interesting 21:17 < MrJeep> thanks a lot 21:17 < MrJeep> for all those detailed screenshots and comments 21:18 < MrJeep> I finally know what the small triangle on the bottom of the dock is :) 21:26 < impl> v-dogg: This is good stuff 21:29 < MikeSeth> um 21:29 < MikeSeth> for the record 21:30 < MikeSeth> DB_DataObject organization encourages severe disorder.. do not use it unless you absolutely have to 21:31 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 21:49 < MikeSeth> am I supposed to set output type in initialize() or execute*()? 22:00 < impl> I'd imagine initialize, since execute* is dependent upon output type :P 22:00 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 22:18 < v-dogg> yes, initialize 22:18 < v-dogg> don't know if it has changed with the new stuff, but at least in the old execution flow initialize was actually the last place the output type could be altered 22:24 < MikeSeth> ahhh Agavi magic.. swap out fifty lines of spaghetti code with five! 22:24 < MikeSeth> well thats it for today 22:24 < MikeSeth> bed time 22:24 * MikeSeth & 23:09 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 23:34 < Alystair> with 5 lines of spaghetti code? D: 23:38 < v-dogg> haha 23:39 < v-dogg> no no, agavi has a spaghetti code detector 23:39 < Alystair> even better, the despaghettify function... 23:39 < v-dogg> that's Wombert 23:41 < v-dogg> time to go to bed :) 23:41 < v-dogg> night 23:42 < Alystair> ugh should have mentioned that the pdf is JSP based 23:43 * Alystair reads anyway 23:44 < impl> Alystair: It's not 23:44 < impl> HTML::Template is Perl, and there's lots of other ones 23:44 < impl> It's theory --- Day changed Mon Mar 12 2007 00:09 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 00:21 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Lay me down in the cold cold ground. Where before many more have gone. Thoughts of home take away my fear. Once a year say a] 00:26 -!- kaos|work [n=kaos@ppp-82-135-0-15.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 00:55 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] 00:58 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 01:24 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 01:32 -!- Wombert [n=Wombert@dslb-088-064-074-039.pools.arcor-ip.net] has quit [] 01:58 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 02:01 < Niacin> how does startup() get called in AgaviRbacSecurityUser 02:19 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [] 02:26 -!- [1]Whisller [n=Whisller@217.97.146.67] has joined #agavi 02:26 -!- Whisller [n=Whisller@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 02:26 -!- [1]Whisller is now known as Whisller 02:32 -!- [1]Whisller [n=Whisller@217.97.146.67] has joined #agavi 02:32 -!- Whisller [n=Whisller@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 02:32 -!- [1]Whisller is now known as Whisller 02:38 < Niacin> anyone alive? 02:46 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has joined #agavi 02:46 < MrJeep_> hi 02:47 < MrJeep_> can anyone access this site : http://www.nasdaq.com/ 02:47 < MrJeep_> I can't access it 02:47 < MrJeep_> like half the site I try to access 02:47 < impl> Up for me 02:47 < Niacin> works for me 02:47 < Niacin> now you're around impl ;) 02:47 < impl> Try http://208.249.116.71/ 02:47 < impl> Niacin: I've gotta run in a minute 02:47 < impl> 40 pages of US history to read before tomorrow :\ 02:48 < Niacin> impl if i extend a class 02:48 < Niacin> i can call a method in the parent class via 02:48 < impl> parent:: 02:48 < MrJeep_> the ip works 02:48 < Niacin> $this->isAuthenticated() ? 02:48 < MrJeep_> damn :S 02:48 < impl> ah 02:48 < MrJeep_> my GF Isp has Dns problem... 02:48 < impl> If you don't override isAuthenticated in the derived class, yes 02:48 < impl> MrJeep: change your nameservers to 4.2.2.1 and 4.2.2.2 02:48 < Niacin> ok that helps a lot :) was confused about that 02:50 < MrJeep_> these are the dns I have from the router : DNS 205.151.69.200 205.151.68.200 02:51 < MrJeep_> and the gateway : Default Gateway 24.122.39.1 02:51 < impl> MrJeep: Like I said, change them to 4.2.2.1 and 4.2.2.2 02:51 < impl> 4.2.2.1 and 4.2.2.2 = never down 02:51 < impl> They belong to Verizon or GE or something 02:51 < impl> Level3 maybe 02:52 < MrJeep_> let see 02:52 < MrJeep_> impl... 02:52 < MrJeep_> have i ever told you you are a genius ? 02:53 < impl> No 02:53 < impl> :) 02:53 < Niacin> impl owned by Verizon :) 02:54 < MrJeep_> you are 02:54 < impl> MrJeep_: hehe :P 02:54 < impl> right, gotta go read now. 02:54 * impl & 02:54 < Niacin> !impl 02:54 < Niacin> ;\ 03:11 -!- Wombert [n=Wombert@dslb-088-064-074-039.pools.arcor-ip.net] has joined #agavi 03:14 < Niacin> hi Wombert 03:15 < Wombert> hi 03:15 < Niacin> can i ask you an oO question? :) 03:15 < Wombert> of course 03:15 < Wombert> just ask 03:16 < Niacin> making a method abstract or a class abstract is making that method/class incomplete so that the person who extends it has to complete it? 03:17 < Wombert> yes 03:20 < Niacin> and reflection ? :) 03:20 < Niacin> just lets you look at a copy of your class? 03:20 < Wombert> that question, I'm afraid, you have to make a little more specific :) 03:20 < Wombert> yeah something like that 03:21 < Wombert> it gives you information about classes 03:21 < Wombert> or objects 03:21 < Wombert> also about functions etc 03:21 < Wombert> we use it, for example, to determine if a model has a constructor, and if so, that constructor gets arguments 03:22 < Niacin> arr now i see 03:41 * Whisller is listening to 100. kaliber 44 - 11. moja obawa (badz a klekne) 03:52 < Niacin> How much does agavi rely on cookies? 03:53 < Niacin> are they only used in this user example ? or is there other stuff in agavi that uses cookies 03:53 < Wombert> well for sessions of course 03:54 < Niacin> like client cookies or session cookies? 03:54 < Wombert> that's the same thing :p 03:54 < Wombert> a cookie is a cookie is a cookie 03:54 < Wombert> :> 03:54 < Niacin> well not really... our clusters doen't allow session cookies 03:54 < Niacin> since they are stored server side 03:55 < Wombert> errrrrr 03:55 < Wombert> no 03:55 < Niacin> the load balancer doesn't track them 03:55 < Wombert> you mean session files in the filesystem? 03:55 < Wombert> you can have database-based sessions, agavi ships with several drivers for that 03:56 < Niacin> i mean php server side sessions... as in $_SESSION[] 03:56 < Wombert> sessions work like this 03:56 < Wombert> php sends a cookie to the client 03:56 < Wombert> with a session id 03:56 < Wombert> the browser then sends that cookie back in every request 03:56 < Niacin> correct 03:56 < Wombert> that way, php can re-open the session 03:57 < Niacin> yes but since this application is load balanced over 10 machines 03:57 < Wombert> the problem with your load balancer is that the first request goes to web server a, which creates the session, sends the cookie 03:57 < Niacin> the sessions don't exist on the servers 03:57 < Niacin> so i have to use client side cookies 03:57 < Wombert> and then the second request goes to server b which doesn't have that session 03:57 < Wombert> no 03:57 < Niacin> well store a cookie on the client as in $_COOKIES 03:57 < Wombert> NOOOO! 03:58 < Wombert> my god! 03:58 < Wombert> that's a huge security risk! 03:58 < Niacin> well not if you encrypt the cookie 03:58 < Wombert> you can store sessions in a central database which all servers have access to 03:58 < Wombert> oh god don't do that, really 03:58 < Wombert> php has solutions for that 03:58 < Wombert> a central storage for the session is absolutely no problem 03:59 < Wombert> http://de2.php.net/manual/en/function.session-set-save-handler.php 03:59 < Niacin> yeah i have sugguested some sort of share such as nfs 03:59 < Wombert> no no no no 03:59 < Wombert> use a database 03:59 < Wombert> or memcached 03:59 < Niacin> hmm interesting never knew you could do that 03:59 < Wombert> agavi has good support for that 03:59 < Wombert> so you don't have to write that stuff yourself 04:00 < Wombert> you simply exchange the default storage (AgaviSessionStorage) with one for a database 04:00 < Wombert> like AgaviPdoSessionStorage 04:00 < Wombert> and give it the info it needs as parameters (database host, user, password, name, table name) 04:01 < Wombert> http://www.zend.com/zend/spotlight/code-gallery-wade8.php read that 04:02 < Wombert> or better (newer) 04:02 < Wombert> http://devzone.zend.com/node/view/id/141 04:02 < Wombert> "An additional problem arises if you have an application that is scaled across multiple web servers. It's important that a user's session data is available as he is bounced around different servers through the use of a load balancer or round-robin DNS. Saving the session data in a database that is accessible by all the servers takes care of the problem nicely." 04:02 < Wombert> that's exactly your use case 04:04 < Wombert> remember, you just have to understand it 04:04 < Wombert> agavi handles the actual implementation 04:05 < Niacin> yeah biggest problem is lack of docs for agavi 04:05 < Niacin> and the ones i did find were out of date ;\ 04:05 < Niacin> atleast your willing to explain ;) 04:05 < Wombert> http://www.agavi.org/docs/latest/manuals/manual/ is up to date 04:06 < Wombert> just like http://www.agavi.org/docs/latest/manuals/cookbook/ 04:06 < Wombert> and http://www.agavi.org/docs/latest/apidocs/ 04:08 < Niacin> yeah but lots of gaps 04:08 < Niacin> and no tutorials 04:24 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Good Night"] 04:58 < Niacin> Wombert how would i create a DB instance 04:58 < Niacin> or can you point me to where in the manual i would find that 04:58 < Wombert> just a normal database connection? 04:58 < Wombert> with PDO? 04:59 < Niacin> just a normal mysql connection 04:59 < Wombert> okay 04:59 < Wombert> databases.xml 04:59 < Wombert> <?xml version="1.0" encoding="UTF-8" standalone="no"?> 04:59 < Wombert> <configurations> 04:59 < Wombert> <configuration> 04:59 < Wombert> <databases default="mysql"> 04:59 < Wombert> <database name="mysql" class="AgaviMysqlDatabase"> 04:59 < Wombert> <parameters> 04:59 < Wombert> <parameter name="host">localhost</parameter> 04:59 < Wombert> <parameter name="username">username</parameter> 04:59 < Wombert> <parameter name="password">passphrase</parameter> 04:59 < Wombert> <parameter name="database">sample</parameter> 04:59 < Wombert> </parameters> 05:00 < Wombert> </database> 05:00 < Wombert> </databases> 05:00 < Wombert> </configuration> 05:00 < Wombert> </configurations> 05:00 < Wombert> then do $db = $this->getContext()->getDatabaseConnection(); in your action 05:00 < Wombert> remember to set use_database to true in settings.xml 05:00 < Wombert> BUT! 05:00 < Wombert> you shouldn't use mysql_* anymore 05:00 < Wombert> it's slow, outdated, might disappear some day, has issues with newer mysql versins, not object oriented, prone to sql injections, and so on 05:01 < Wombert> PDO has prepared statements etc and escapes everything for you, has transaction support... 05:02 < Wombert> http://netevil.org/node.php?uuid=bf0a58d7-68ab-49d0-9a29-f5ec97c5dfde 05:02 < Wombert> for pdo with mysl, you need username and password parameters, but not database and host 05:03 < Wombert> instead you need a "dsn" parameter with the connection dsn 05:03 < Wombert> mysql:dbname=test;host=localhost 05:07 < Niacin> in the databases.xml file? 05:07 < Wombert> yes 05:07 < Wombert> there should be something in it already 05:13 < Niacin> http://www.pastebin.ca/391406 05:13 < Niacin> so something like that? 05:13 < Niacin> (clearly root is just for testing) 05:13 < Wombert> no, AgaviPdoDatabase 05:14 < Niacin> arr ok 05:14 < Wombert> but that gives you a pdo connection then, not a mysql resource, mind you 05:14 < Wombert> but pdo is very easy to learn 05:14 < Wombert> and you can reap the fruit soon 05:14 < Wombert> prepared statements and such 05:31 < Niacin> SQLSTATE[28000] [1045] Access denied for user 'apache'@'localhost' (using password: YES) 05:31 < Niacin> hmm seems to not be picking up the username field 05:31 < Wombert> lemme check... 05:31 < Niacin> nice exception page ;) 05:31 < Wombert> thanks :p 05:32 < Wombert> is it "username"? 05:32 < Wombert> you have "user" there :) 05:32 < Niacin> arr ;) 05:32 < Niacin> that was default for postgres 05:33 < Wombert> really? 05:33 < Wombert> where 05:33 < Wombert> or what version? 05:33 < Wombert> rc4? 05:33 < Wombert> hmm 05:33 < Niacin> ya 05:34 < Wombert> some advice... start with a fresh project, not with the sample app 05:34 < Wombert> command line "agavi project" will make one for you 05:34 < Niacin> i did 05:36 < Wombert> uh? 05:36 < Wombert> oO 05:38 < Niacin> ok so then i just do $db->exec(""); 05:38 < Wombert> http://php.net/manual/en/ref.pdo.php has infos 05:38 < Wombert> scroll down a bit 05:39 < Niacin> i mean there isn't any more built in stuff in agavi to do queries? 05:39 < Wombert> query() does make a select and return results 05:39 < Wombert> exec() is for inserts and updates 05:39 < Wombert> for these, andusually for queries too, you should consider using prepared statements 05:39 < Wombert> no, agavi doesn't have anything like that, on purpose 05:40 < Wombert> you can use propel though, for example 05:40 < Wombert> but that's an ORM layer 05:40 < Wombert> $book = new Book(); 05:40 < Wombert> $book->setTitle('Agavi Manual'); 05:40 < Wombert> $book->save(); 05:41 < Wombert> do you mind if I hit the sack? :) 05:41 < Niacin> hehe night man 05:41 < Wombert> laters :) 05:41 < Niacin> thanks 05:41 < Wombert> the weirdos from finland should be up soon 05:41 < Wombert> if you have questions 05:41 < Wombert> that is, v-dogg and horros 05:42 < Wombert> :) 05:42 < Wombert> cheers 05:42 -!- Wombert [n=Wombert@dslb-088-064-074-039.pools.arcor-ip.net] has quit [] 06:31 -!- fastly [n=fast@AC8E70B7.ipt.aol.com] has quit [Read error: 145 (Connection timed out)] 07:16 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 07:59 * v-dogg - a weirdo from finland - checks in 07:59 < v-dogg> huomenta 08:36 -!- MrJeep_ [n=jeanphil@24-122-39-195.ab.cgocable.ca] has quit [Read error: 110 (Connection timed out)] 09:08 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 09:16 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:51 -!- eremit [n=eremit@p5490E067.dip.t-dialin.net] has joined #agavi 09:51 < MikeSeth> morrrrrning 10:26 < v-dogg> what's up MikeSeth 10:33 < MikeSeth> tryig to figure out how to cause DB_DataObject to log debug info into Agavi loggers 10:34 < MikeSeth> that is without hacking the dataobject itself 10:34 < MikeSeth> looks like the correct answer is "fuck it" 10:46 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:46 * RossC0 waves 10:47 < v-dogg> morning RossC0 10:47 < horros_> hi 10:57 < _cheerios> did fpf require utf-8? 10:58 < v-dogg> no 10:59 < v-dogg> but it defaults to it if it can't figure out the encoding 11:19 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 11:19 < Xylakant> good morning 11:19 < digitarald> Houmenta :) 11:20 < v-dogg> h_uo_menta ;) 11:21 < digitarald> sorry, i'm still learning ... 11:22 * digitarald takes notes 11:22 < digitarald> ok, i'll go to work ... bloody mondays 11:23 -!- digitarald [n=Miranda@62-43-152-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 11:25 -!- implicate [n=impl@adsl-144-190-48.rmo.bellsouth.net] has joined #agavi 11:28 -!- digitarald [n=Miranda@62-43-152-110.user.ono.com] has joined #agavi 11:29 -!- digitarald [n=Miranda@62-43-152-110.user.ono.com] has quit [Client Quit] 11:42 -!- impl [n=impl@httpcraft/php/impl] has quit [Read error: 110 (Connection timed out)] 11:44 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 110 (Connection timed out)] 12:02 -!- digitarald [n=Miranda@234.Red-83-50-119.dynamicIP.rima-tde.net] has joined #agavi 12:10 < _cheerios> anyone need a fulltime codemonkey job in Helsinki region (agavi-powered!) ? 12:11 < horros_> _cheerios: I'd love one :) 12:11 < horros_> except I can't :( 12:11 < horros_> _cheerios: is the offer still up in, say, two years?-) 12:11 < _cheerios> i hope so, that would mean i still have a place to work :) 12:11 < _cheerios> (+ company = growing) 12:12 < horros_> hehe 12:12 < horros_> what do you do? 12:12 < ttj> Ooh... More Web2.0 startups? :P 12:13 < v-dogg> do you have pretty urls and rounded corners? 12:13 -!- RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 145 (Connection timed out)] 12:13 < _cheerios> social networks, le web produktions 12:13 < _cheerios> heh 12:13 < ttj> Aha, I knew it! What do I win? \o/ 12:15 < _cheerios> ofc, the biggest perk is, that you get to work with me! :D 12:15 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 12:16 < horros_> _cheerios: I'm available if the price is right :D 12:23 < v-dogg> oh fuck. 12:23 < v-dogg> Fatal error: Nesting level too deep - recursive dependency? in C:\workspace\EcomWebi-kehitys\3rdparty\zend\Zend\Pdf\ElementFactory.php on line 262 12:23 < v-dogg> just updated Zend_Pdf 12:23 < ttj> :-) 12:24 < Xylakant> maybe a bad decision 12:24 < RossC0> maybe?? 12:24 < v-dogg> there's always svn revert, thank god 12:24 < RossC0> :-) 12:24 < Xylakant> otoh, it's always good to pull updates on mondays - so you know what you'll be fixing during the week :) 12:24 < v-dogg> haha 12:25 < Xylakant> on a more serious note: imagine pulling an update friday evening and it goes horribly wrong and that things has to go in production. good bye weekend... 12:26 < Xylakant> so i really try to do such things on mondays/tuesdays if I can choose... 12:30 < _cheerios> horros, wage is starter level i believe, so more for junior guys -- out of studies / final year. not for some gurus w/years of exp. on <stuff> :) 12:31 < ttj> Fsck! Forced operating system updates and forced reboot. \o/ 12:31 < ttj> Happyhappy, joyjoy! 12:31 < Xylakant> windows? 12:31 < _cheerios> but, if you know of experienced guys on pk-seutu whom enjoy php, let me know. ty :) 12:31 < ttj> Yeah. 12:31 < Xylakant> you can turn that off 12:31 < _cheerios> (popup) "your machine will be rebooting NOW!" 12:31 < Xylakant> i just don't rememb 12:31 < _cheerios> "non--nonno-, fuck" 12:32 < Xylakant> er where... 12:32 < Xylakant> _cheerios: I had that happen 12:32 < ttj> Xylakant: No, this is company enforced stuff. 12:32 < horros_> _cheerios: oh bugger :( 12:32 < ttj> Not the default Windows one, but some other system. 12:32 < Xylakant> well, then beat you admins for it 12:32 < horros_> I do sort-of consider my self over-qualified for a junior PHP dev position :) 12:33 < Xylakant> horros_: at least you can move up in the ranks :) 12:33 < horros_> Xylakant: unless you die from boredom first 12:33 < horros_> :D 12:33 < Xylakant> well, that's an option... 12:34 < v-dogg> and you can do stuff like mysql_connect("$host"); 12:34 < Xylakant> oh yeah. 12:34 < Xylakant> i'm glad that all traces of what I did as a junior have been erased. 12:34 < horros_> _cheerios: heh, I have a couple of friends in Helsinki who are also desperately looking for good PHP coders to employ :) 12:35 < Xylakant> anyways, we're looking too. but it's not helsinki or even close. 12:35 < horros_> Us too. 12:35 < horros_> except we can pay fuckall :) 12:36 < Xylakant> well, wages here depend heavily on how you negotiate 12:36 < _cheerios> can't be that many php jobs open, atleast i don't see much of 'em 12:36 < Xylakant> but i can't and won't complain. 12:37 < _cheerios> Xylakant, in what kind of range (euroes) 12:37 < Xylakant> _cheerios: I don't know. I just know what I earn :) 12:37 < horros_> _cheerios: PHP isn't that big here in .fi 12:37 < horros_> Java is where the money is at. 12:38 < horros_> You see J2EE-positions all the time, but there aren't enough skilled people to man the positions. 12:38 < _cheerios> yeah, that's why i learned java back in 2005, so i could get a friggin' job (lol!) 12:39 < horros_> only PHP jobs I've really seen are small peanut jobs 12:39 < Xylakant> _cheerios: here in Berlin, depending on where you're employed and on you skill-level you can make something between 2000 and 4000 euros a month, 4000 being pretty rare 12:39 < Xylakant> and wages in berlin are low 12:39 < Xylakant> compared to western germany 12:39 < _cheerios> ok, Berlin. I wasn't sure on your geological location. 12:39 < _cheerios> i'm sure the wages there are mighty fine :) 12:39 < horros_> and like handyman-positions where you have to do graphics design, website design, db design, application design, code everything, install the server and configure it etc etc etc 12:39 < _cheerios> horros, plus PHP jobs in finland pay badly 12:39 < _cheerios> like really bad 12:40 < _cheerios> i wouldnt be doing php unless i did my own stuff on the side 12:40 < RossC0> PHP jobs in the uk pay a wide range of salaries 12:41 < horros_> _cheerios: aye 12:41 < horros_> _cheerios: that's why I've been playing around with Spring/Struts lately :) 12:41 < Xylakant> interesting enough, php is the only web scripting language that has a market share in germany, Java and ASP being the only real concurents 12:42 < Xylakant> ruby/python/perl is pretty much nonexistant 12:42 < horros_> same here 12:42 < RossC0> from around 29k euros to 60k euros ... 12:42 < horros_> well 12:42 < RossC0> I'm sure theres some for less the 29k as well 12:42 -!- implicate [n=impl@adsl-144-190-48.rmo.bellsouth.net] has quit [Read error: 110 (Connection timed out)] 12:42 < Xylakant> and i don't think that java is the right thing to use on a standard website... 12:42 < horros_> Java/ASP are really the only web platforms here for doing anything reasonably large 12:43 < Xylakant> horros_ depends on what "large" is 12:43 < Xylakant> large in terms of page impressions? 12:43 < Xylakant> large in terms of "much logic" 12:43 < horros_> in terms of "not a bulletin board" 12:43 < horros_> :D 12:43 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 12:44 < Xylakant> horros_ so large in terms of "much logic" 12:44 < Xylakant> then i do agree 12:44 < horros_> well, 1000000 page impressions on a site that only has two or three different "pages" to "impress" hardly constitues "something reasonably large" :) 12:45 < RossC0> horros_ yahoo manage with php 12:45 < Xylakant> you can pull such things off with php, but it gets harder with every class you add 12:45 < RossC0> but mainly just as their template engine 12:45 < horros_> RossC0: yahoo manage with PHP plus about a billion custom made extensions written in C :) 12:45 < RossC0> they use a lot of c++ 12:45 < RossC0> yup 12:47 < Xylakant> putting php in the place where it belongs... 12:48 < _cheerios> where is that? 12:48 < horros_> in the bin! 12:48 < horros_> :) 12:49 < Xylakant> _cheerios: where it started out from: being a template language 12:50 < Xylakant> horros_ let's form a php-haters-club 12:50 < horros_> sure 12:50 < horros_> I'm in! 12:50 < RossC0> I'm in :-) 12:51 < _cheerios> sheep! 12:51 < RossC0> but it pays my wage - so I'm not too anti it 12:51 < horros_> Xylakant: can I be Dictator and Supreme Hatemaster? 12:51 < horros_> RossC0: it pays my wage too, but I still hate it. 12:51 < horros_> :) 12:52 < Xylakant> same here 12:52 < _cheerios> I CODE PHP BECAUSE I HATE IT. yeah. that's a winner. 12:52 < RossC0> I'M FORCED TO CODE PHP 12:52 < Xylakant> but I'm working constantly on adopting something different. 12:53 < Xylakant> and I'm getting closer :) 12:53 < horros_> I want to port our app to Java and sell the whole thing 12:54 < RossC0> actually Agavi is making me like php more 12:54 < horros_> I've been working on it for two years now, and if I never have to touch it again, I'd be more the happier 12:54 < Xylakant> horros_: if you've been working on it then it's perhaps partly your fault if you don't want to touch it again :) 12:54 * RossC0 declassifies to moderate disliker of PHP 12:54 < Xylakant> but i know that feeling 12:55 < RossC0> you guys are too fanatical for me! 12:55 < horros_> Xylakant: nossir, I'm just sick and tired of the whole sector :) 12:55 < Xylakant> the *ouch, did I really write that* feeling 12:55 < _cheerios> any software, working on it for too long, and you start to kind of hate it :) 12:55 < Xylakant> i know. 12:55 < _cheerios> any <anything> for too long.. 12:55 < Xylakant> been maintaining a broken software package for like 4 years now. 12:56 < Xylakant> at least I can proudly say that it has become better in the meantime. 12:57 < Xylakant> whatever that means. from "abysmally bad" to just "very bad". 12:57 < horros_> Xylakant: there's nothing terribly wrong with the core of the application, it's working reasonably fast, but it does need some refactoring I have to admit. It's swelled up like a pregnant whale over the years :D 12:58 < Xylakant> creeping featuritis :) 12:58 < horros_> not really... just adding the stuff our customers really need. 12:58 < Xylakant> same here. just that the core was bad to start with. 12:59 < horros_> granted, version 2.0.3 where we are at now, is a massive improvment over version 1 12:59 < Xylakant> there have been some very "interesting" and "novel" decisions... 12:59 < horros_> which did fuckall and was hideous 13:00 < Xylakant> the usual "we need to get the release out now"... 13:00 * digitarald recites his quote of the day: A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away. 13:02 < Xylakant> so, this app is perfect 13:02 < Xylakant> whatever i take away, it breaks. 13:02 < horros_> Xylakant: been there, seen that 13:02 < Prometheus^> lol 13:02 < Xylakant> sad enough, whatever I add it breaks as well... 13:02 < Prometheus^> sounds stable 13:02 < digitarald> declare it stable and final 13:03 < Xylakant> just wrap it up, call it "THE FINAL RELEASE" and get the hell out of here. 13:03 < horros_> Xylakant: people here made the decision to tag a release while I was away, and that was a horrible mistake 13:03 < RossC0> anyone got any experience moving svn servers? Actually I want to move only server1/trunk/agaviproject to server2/trunk 13:03 < Prometheus^> Xylakant: sounds like a plan, execute 13:03 < Xylakant> Rossc0: the whole repository or only a part? 13:04 < horros_> RossC0: create the repository on the second server, do an export of the project from server 1 and then an import on server 2 13:04 < RossC0> just the part - where I'm at they have many projects in one repo and I want to split one out to its own 13:04 < Xylakant> if only a part, you need to use svndumpfilter to filter out the required path 13:04 < horros_> you should probably be able to use svn switch too (maybe, perhaps) 13:04 < horros_> or svn copy 13:04 < RossC0> anyway to keep all the svn:ignores etc ? 13:05 < Xylakant> rossc0: i don't know wether working copies pointing to the old server will still be usable 13:05 < Xylakant> you'll keep all repository information such as ignores 13:06 < RossC0> cool - I'll google the svndumpfilter 13:09 < Xylakant> the usual answer would be http://svnbook.red-bean.com/ 13:09 < Xylakant> but it's down 13:09 < Xylakant> :/ 13:10 < _cheerios> haha, that's charming. To have a signup page that lies on a subdomain called "money"; https://money.zoto.com/signup/ 13:12 < Xylakant> :) 13:15 < Xylakant> RossC0: I think svnadmin dump <repos> | svndumpfilter include <path> --drop-empty-revs --renumber-revs > dumpfile.txt 13:16 < Xylakant> and then load the dumpfile in a new repositorys should do the job 13:17 < Xylakant> you working copies will be worthless however 13:23 < RossC0> cool - the working copies can switch or be updated 13:23 < Xylakant> no, i don't think so 13:23 < RossC0> ah ok I'll replace them totally then 13:23 < Xylakant> because the new repository should have a new repository id 13:23 < Xylakant> and subversion prevents that 13:24 < Xylakant> (the switch) 13:24 < RossC0> ah - makes sense 13:24 < Xylakant> you might want to pass --ignore-uuid to svnadmin load 13:25 < RossC0> cool - I'll get started and then be back with questions 13:25 < RossC0> :-) 13:25 < Xylakant> and double check, i did not test that, its gathered from docs and what i know 13:25 < Xylakant> good luck 13:25 < Xylakant> feel free to ask 13:27 < Prometheus^> RossC0: is agileweb your blog? 13:28 < digitarald> it is 13:28 < Prometheus^> was just wondering where the layout is from, since http://peter.michaux.ca/ has the same layout 13:29 < v-dogg> http://evil.che.lu/projects/skittlish 13:29 < digitarald> its the standard template 13:30 < RossC0> its not the standard template 13:30 < RossC0> is it? 13:30 < RossC0> can't remember - right one day I'll update 13:30 < RossC0> :-) 13:31 < digitarald> its the mephisto default template ;) 13:31 < Prometheus^> ah, that would make sense :) 13:31 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 104 (Connection reset by peer)] 13:31 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 13:32 < Prometheus^> amazing, how do all sites give me 500 infernal error today :( 13:36 < digitarald> RossC0, u saw this? http://zend.lojcomm.com.br/iMask/ 13:40 < v-dogg> iMask... :D 13:40 < v-dogg> can you get more cheesy :) 13:40 < v-dogg> iCheesy 13:40 < digitarald> iFon 13:41 < v-dogg> the idea is nice still 13:41 < Xylakant> i somewhat dislike the abuse of the alt attribute 13:41 < Xylakant> but the idea is great 13:42 < digitarald> what is the best solution? 13:43 < digitarald> i use json in rel attributes 13:43 < digitarald> but only for links 13:43 < digitarald> custom dtd maybe ... i'll try to add this in my project 13:45 < Xylakant> dit 13:45 < Xylakant> i don't know what solution would be better 13:46 < Xylakant> but alt should be "alternate content" 13:46 < Xylakant> and this is no alternate content 13:47 < Xylakant> maybe use a script block or a javascript file to register the masks 13:47 < Xylakant> not as unobstrusive, but cleaner from the semantics perspective 13:47 < Xylakant> a custom dtd with a custom attribute would be the perfect way in a perfect world 13:48 < Xylakant> or a default attribute 'opts' to any html element :) 13:48 < v-dogg> that would be cool :) 13:50 < digitarald> thats easy to add to the doctype 13:53 < digitarald> mmmhh ... how to define dtd ATTLIST for every tag? 13:53 < digitarald> <!ATTLIST * opts CDATA #IMPLIED> 13:54 < Xylakant> but then you're not XHTML 1.0 compliant because you're not using any of the official DTD's 13:55 < Xylakant> i couldn't care less as long as the document validates against the specified DTD but governement contracts in germany often require you to be compliant with an html flavour. 13:56 < digitarald> and ... 13:56 < digitarald> <!DOCTYPE html PUBLIC 13:56 < digitarald> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 13:56 < digitarald> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" 13:56 < digitarald> [ <!ATTLIST * opts CDATA #IMPLIED> ]> 13:56 < digitarald> ignore the first doctype 13:57 < Xylakant> the problem I have with that: everybody was complaining about MS for ignoring the HTML standards and adding custom stuff. 13:57 < Xylakant> and now we do the same 13:58 < digitarald> but xhtml is an extandable markup language ... 13:58 < Xylakant> yes 13:58 < digitarald> and reusing rel/alt/whatever 13:58 < digitarald> ... is dirty in most cases 13:58 < Xylakant> is worse than extending it 13:59 < digitarald> except like mootools tooltips which just allow :: as seperator for title and description 13:59 < RossC0> digitarald: like it 13:59 < Xylakant> still, what if any javascript I wish to use requires me to add another non-standard attribute to my dtd? 14:00 < RossC0> digitarald: should be unobtrusive thou - so configs in your MooSelector ;0 14:00 < digitarald> its dirty ... dojo does it, but does not provide any dtd for a valid xhtml 14:01 < Xylakant> the world is an imperfect place... 14:01 < digitarald> RossC0, u could "a[opts]" to get all links with special options :) 14:01 < v-dogg> I tried mootools tooltip but didn't like it because it requires an image 14:01 < digitarald> image in the tooltips? 14:02 < horros_> v-dogg: there's a pretty good tooltip doohickey that works very fast 14:02 < horros_> lemme see 14:02 < v-dogg> digitarald: no, as the trigger 14:02 < digitarald> no 14:02 < digitarald> u can trigger everything 14:02 < digitarald> it uses links 14:02 < v-dogg> but hmm.. 14:02 < horros_> v-dogg: http://boxover.swazz.org 14:03 < digitarald> UH 14:03 < digitarald> <DIV TITLE="header=[header text] body=[body text]" STYLE="BORDER: #558844 1px solid;WIDTH:200px;HEIGHT: 75px"> 14:03 < digitarald> My div with some text inside. Move over me to see my tooltip. 14:03 < digitarald> </DIV> 14:03 < digitarald> [] are not allowed in title i thought 14:04 < digitarald> that seems not very unobstrusive at all 14:05 < Xylakant> and will show an ugly title if javascript is disabled 14:05 < _cheerios> shows ugly in opera, other browsers ok :) 14:06 < digitarald> great ... adding "opts" as allowed attribute for all tagnames requires only one line in the doctype attribute and validates 100% ... seems to be a clean solution 14:08 < Xylakant> digitarald: the only problem i see is the "I add an attribute, you add another attribute and mootools adds a third one" thing 14:08 < Xylakant> but otherwise fine 14:08 < Xylakant> from the semantics point of view this is probably the best solution 14:08 < digitarald> its for the project, i will of course not publish scripts that use custom attributes 14:08 < digitarald> never 14:09 < digitarald> maybe advanced scripts 14:09 < horros_> "if javascript is disabled" 14:09 < horros_> ... 14:09 < horros_> who the hell has javascript disabled these days? 14:09 < Xylakant> i would actually like if an adopted javascript framework would add such an attribute 14:09 < digitarald> whole siemens company 14:09 < digitarald> i.e. 14:10 < horros_> except for greasy-haired fat sad nerds sitting in mum's basement 14:10 < Xylakant> horros_ company firewall strip scripts 14:10 < horros_> siemens can sod off 14:10 < horros_> Xylakant: and so can your company 14:10 < horros_> :D 14:10 < Xylakant> and given the latest firefox vulnerabilities, it might actually be a good idea 14:10 < v-dogg> mootools could promote _one_ custom attribute 14:10 < v-dogg> like opts 14:10 < v-dogg> or iOpts 14:10 < digitarald> i agree 14:10 < digitarald> :D 14:10 < v-dogg> or mooOpts 14:10 < digitarald> lowercase please ;) 14:11 < digitarald> spread the moo 14:11 < v-dogg> mooopt 14:11 < digitarald> moops 14:11 < _cheerios> mops :D 14:11 < v-dogg> :) 14:11 < digitarald> oops 14:11 * digitarald votes for the "oops" attrribute 14:11 < Xylakant> +1 14:12 * v-dogg votes for coffee break 14:12 < digitarald> its very descriptive ... 14:12 < v-dogg> ... and the crowd goes wild! 14:13 < Xylakant> ... short and easy to remember 14:13 < digitarald> oops: optional options 14:13 < digitarald> DAMN, new internet developer toolbar BETA 3 breakes ie7 14:13 < _cheerios> oops, is what you say after you chose mootools :p 14:15 < digitarald> i say oops all the time ;) 14:16 < digitarald> with declared doctype ie spits out a ]> at the beginning of my document 14:17 < v-dogg> digitarald: so to use tooltip with any element I'd just define alt="title::body" and onclick="...return false;" ? 14:19 < v-dogg> s/alt/title/ 14:20 < digitarald> http://clientside.cnet.com/wiki/mootorial/08-plugins#tips.js 14:21 < digitarald> and an easy example: http://www.chrisesler.com/mootools/mootools-tooltip.html 14:21 < digitarald> but there is an easier way than this 14:22 < digitarald> new Tips($$('a[title], img[title]'), {maxOpacity: 0.9, maxTitleChars: 25}); 14:23 < digitarald> of course in your domready fn or onload ... 14:24 < digitarald> mmhh ... mooselectors can't handle that :) 14:24 < digitarald> RossC0 14:24 < digitarald> :) 14:24 < digitarald> we need a ::all selector ;) 14:25 < digitarald> or ::elements to call a function with all elements as argument 14:34 < RossC0> say what? 14:36 -!- eremit_ [n=eremit@p5490FBC1.dip.t-dialin.net] has joined #agavi 14:39 < digitarald> didnt get my suggestion? 14:43 < v-dogg> ah.. new Tips($$('a[title]' 14:43 < v-dogg> voodoo magic 14:46 -!- eremit [n=eremit@p5490E067.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 14:50 < RossC0> cool - will add '.tooltips::initialize': function (elements) {} 14:50 < RossC0> thanks digitarald 14:53 < RossC0> '.tooltips::*': function (elements) {} 14:58 < v-dogg> does the opacity setting only work with png images or what? 15:01 -!- eremit_ [n=eremit@p5490FBC1.dip.t-dialin.net] has left #agavi [] 15:30 < MrJeep> morning 15:31 < v-dogg> afternoon 15:33 < Niacin> arrr the weirdos from finland 15:33 < Niacin> :> 15:34 < horros_> who are you calling a weirdo?! 15:34 * horros_ hmpfs and walks off to do something weird 15:34 < Niacin> <Wombert> the weirdos from finland should be up soon 15:34 < Niacin> <Wombert> if you have questions 15:34 < Niacin> <Wombert> that is, v-dogg and horros 15:34 < Niacin> :) 15:35 < v-dogg> _o/ 15:35 < MrJeep> loll 15:35 < Niacin> i'm sure he means it in a nice way 15:35 < Niacin> like we-ir-do i think its french for old sock 15:35 < Niacin> <3 15:36 < MrJeep> hehe no weirdo does not mean old sock 15:36 < _cheerios> hehe 15:36 < Niacin> ok well i guess my french sucks 15:36 < Niacin> but i am Australian... so give me a break, i can barely speaka da english 15:37 < MrJeep> uh ? I though australian were english 15:37 < MrJeep> like british english 15:37 < horros_> of course not. 15:37 < Niacin> maybe 200 years ago 15:38 < Niacin> we are all convicts now 15:38 < horros_> much like manchester-english isn't anything like proper british (queen's) english. 15:38 < MrJeep> well, in the movie Road Warrior, Mell speaks english with a nice british accent 15:39 < Niacin> ya and of course Mad Max was filmed as it was happening 15:39 < Niacin> :) 15:39 < Niacin> anyway i need to head to work 15:39 < Niacin> bbl 15:39 -!- Niacin [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has quit [] 15:40 < MrJeep> I finally download MacOSX :D 15:40 < MrJeep> Now I just need a hard disk and wish it will run properly on my hardware 16:12 -!- fastly [n=fast@AC8E70B7.ipt.aol.com] has joined #agavi 16:15 < fastly> anyone here know why i might be getting this error: 16:15 < fastly> Warning: fopen(./propel.log) [function.fopen]: failed to open stream: Permission denied in /usr/local/lib/php/Log/file.php on line 216 16:15 < fastly> ?? 16:16 < v-dogg> are you using propel loggin on purpose and pondering why it fails to open the stream or are you asking how to get rid of logging? 16:17 < fastly> well the Log seems to be a dependancy 16:17 < fastly> i'd happily turn it off if i have no use for it 16:18 < v-dogg> you can do that 16:18 < fastly> but i'm interested to know why it's failing to open the stream 16:18 < v-dogg> just remove the logging stuff from runtime-conf.xml 16:21 < fastly> cool well that worked 16:22 < fastly> thanks 16:23 -!- Niacin_ [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has joined #agavi 16:23 -!- Niacin_ is now known as Niacin 16:41 < horros_> man 16:41 < horros_> I make TEH BESTEST omelette EVAR 16:41 < Niacin> yes i am 16:41 < horros_> even if I do say so myself 16:41 < Niacin> i would like one 16:41 < Niacin> does it have cheese? 16:41 < horros_> three eggs, whip them up in a bowl, add chopped-up leek, some cheese, salt, pepper and a few drops of tabasco 16:42 < horros_> fry until done, eat with a bit of sour youghurt (turkish-style) on the side 16:42 < horros_> <3 16:42 * horros_ spits and sputters 16:42 < horros_> ...and remove any and all dog hairs 16:44 < Niacin> eek 16:44 < v-dogg> yum 16:44 < v-dogg> gotta try that youghurt thing sometime 16:45 < horros_> v-dogg: "bulgarian jugurtti" :) 16:45 < v-dogg> yep 16:45 < horros_> works damn well with the hotness of the tabasco 16:45 < horros_> ham is optional :) 16:54 < Niacin> so the setCookie and getCookie are just php sessions right? 16:55 < Niacin> and if i wanted to store that in a db i can just override the session functions with the set save handler? 17:02 < _cheerios> mmm.. checking out eurovision finalists from each country... should be a good show this year :D 17:10 < digitarald> Niacin, set/getCookie CAN set session cookies 17:10 < digitarald> in the end they only set cookies ;) 17:10 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 17:10 < digitarald> for 1 day, for 1 year ... whatever 17:10 < Niacin> to be clear... you mean client side cookies right? 17:11 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:20 < RossC0> hmm updated to a new server and none of my templates are outputting :-/ 17:20 < RossC0> with no error message 17:22 < RossC0> hmm - ideas any one ? 17:22 < RossC0> it runs the action and the view ok 17:23 < v-dogg> < Niacin> so the setCookie and getCookie are just php sessions right? 17:23 < v-dogg> ? 17:23 < v-dogg> they set normal cookies 17:23 < digitarald> good question ... 17:23 < digitarald> what are un-normal cookies? 17:24 < v-dogg> and have nothing to do with the session or the session save-handler 17:24 < v-dogg> digitarald: another good question :) 17:24 < Niacin> well seems to be conflicting thoughts about what cookies are 17:24 < Niacin> since sessions are cookies 17:24 < Niacin> basicly your saying that get/setCookie are using client side cookies 17:24 < digitarald> sessions are cookies w/o end time 17:24 < Niacin> and have nothing to do with server side cookies 17:24 -!- Wombert [n=Wombert@dslb-084-056-034-164.pools.arcor-ip.net] has joined #agavi 17:24 < digitarald> and there are no serverside cookies 17:25 < v-dogg> sessions are not cookies 17:25 < v-dogg> sessions are ... sessions :) 17:25 < digitarald> server side user data is saved in User-Attributes 17:25 -!- MrJeep [i=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 17:25 < MrJeep> I'm installing MacOSx on my pc right now :D 17:25 < v-dogg> sicko :) 17:25 < MrJeep> I met 3:2 it'S not gonna work on the first try 17:25 < MrJeep> bet* 17:25 < Xylakant> sessions are a server side user specific storage that uses client-cookies to keep track of which store belongs to which client 17:25 < digitarald> i have to trademark the term "Server Side Cookies" ... i will write them 17:26 < Wombert> and 17:26 < Wombert> sessions work without cookies, too 17:26 < RossC0> help!! 17:26 < Wombert> as I said this morning, Niacin 17:26 < Wombert> you don't have to do ANYTHING for db session storage 17:26 < Wombert> you don't have to implement session save handlers 17:26 < Wombert> all you must do is create a table and define the appropriate storage, like AgaviPdoSessionStorage 17:27 < Wombert> and tell that one which of your database connections from databases.xml to use 17:27 < Wombert> then it works with your load balanced system 17:27 < MrJeep> (so exciting) 17:27 < Wombert> a cookie is text sent as an http header to the browser, who then stores that cookie until expiry and sends it back with each request 17:28 * v-dogg throws a lifebelt to RossC0 17:28 < v-dogg> what up? 17:28 < RossC0> I've moved to a shiny new server and now I get a blank page - no output 17:28 < RossC0> it runs the action and the view 17:29 < RossC0> libxml version: 2.6.24 17:29 < Wombert> suhosin? 17:30 < RossC0> yeah - as an extension 17:30 < RossC0> I'll remove 17:30 < Wombert> can you try to disable it 17:31 < MrJeep> (installing) 17:31 < v-dogg> I still have a hard time believing suhosin can break agavi 17:31 < RossC0> ahhh suhosin is guilty 17:31 < v-dogg> meeting -> 17:31 < RossC0> so must be a config 17:31 < Wombert> RossC0: do you have time to track down the cause? 17:31 < Wombert> it must be a config setting 17:31 < Wombert> yeah 17:32 < MrJeep> if this thing works, I'm pretty sure I'll wet my pants :D 17:32 < Wombert> you won't, MrJeep 17:32 < Wombert> you get a blank desktop without any idea what to do 17:32 < Wombert> very uncool 17:32 < RossC0> Wombert: sure :-) - need some help thou! 17:32 < MrJeep> you tried it ? 17:32 < Wombert> well yeah I have a mac, remember ;) 17:32 < Wombert> and that annoyed me 17:32 < Wombert> no tutorial or anything 17:33 < MrJeep> if this install works, I'm working on mac os only 17:33 < MrJeep> i'll learn it 17:33 < MrJeep> unless it completly empty 17:33 < Wombert> first thing: download www.macromates.com 17:33 < RossC0> http://pastie.caboo.se/46379 17:34 < RossC0> which config to try?? 17:34 < RossC0> ah wait I'll set the logfile 17:34 < MrJeep> hehe I think the first thing I'll try to do is fix my drivers 17:34 < MrJeep> networking, sounds, etc.... 17:34 < MrJeep> I guess this can't be more painfull than setting linux up 17:34 < Wombert> it can 17:34 < Wombert> there are no drivers for OS X 17:35 < MrJeep> there is a lot of 3rd party drivers on osx86project 17:35 < MrJeep> most of my hardware is pretty basic too 17:35 < Wombert> the reason why it's so stable and people like it is because it ships with all the drivers for macs, and that's it ;) 17:35 < Wombert> cool 17:35 < Wombert> good luck then 17:35 < MrJeep> I put 3:2 against me hehe 17:35 < Wombert> RossC0: executor.include.max_traversal maybe 17:35 < MrJeep> so yeah, I'll need luck 17:35 < Wombert> but 0 would be unlimited I guess 17:36 < Wombert> there's absolutely nothing I could imagine breaking agavi 17:36 < Wombert> RossC0: we know that view and action run, but the template isn't rendered 17:36 < Wombert> it silently aborts somewhere in between 17:36 < Wombert> can you go to executionfilter 17:37 < MrJeep> Wombert : do you know how I can fix the mouse acceleration ? 17:37 < Wombert> MrJeep: get used to it ;) 17:37 < MrJeep> like.. remove it totally 17:37 < MrJeep> lol 17:37 < Wombert> or install logitech drivers or so 17:38 < Wombert> RossC0: and then put echo "yays" on line 327 and move it down until you find the line 17:38 < Wombert> skip 330 to 333 17:39 < Wombert> and skip 334 to 349 17:39 < Wombert> and 352 to 390 17:40 < CIA-11> david * r1850 /branches/0.11/src/filter/AgaviExecutionFilter.class.php: fix warning 17:40 < Wombert> that should fix your problem, v-dogg 17:40 < Wombert> at least one of the two 17:41 < MrJeep> just to be sure, there is no rebooting with osx install ? 17:42 < Wombert> no idea, macs come with it preinstalled 17:42 < Wombert> I'd guess you have to restart 17:42 < MrJeep> you never reformated it ? 17:44 < Wombert> RossC0: maybe it's line 435 17:44 < Wombert> the clone 17:44 < Wombert> triggers some other __clone()s 17:44 < Wombert> oh no wait you don't have caching on 17:44 * Wombert sighs 17:44 < Wombert> maybe it's also in the renderer somewhere... 17:44 < Wombert> it has suhosin.log.*, RossC0 , maybe that helps? 17:44 < Wombert> MrJeep: no, why would I? :) 17:44 < Wombert> that's not windows :p 17:44 < Wombert> it doesn't get crappy over time 17:46 < MrJeep> ;P 17:47 < MrJeep> 2 mins remaining 17:47 < RossC0> Wombert: can't figure out that log 17:47 < Wombert> RossC0: can you switch on suhosin.simulation 17:47 < RossC0> but it fails 405 17:48 < RossC0> foreach($layer->getSlots() as $slotName => $slotContainer) { 17:48 < Wombert> do you have slots? 17:48 < Wombert> if not, that never runs, of course :D 17:48 < RossC0> yup :-) 17:48 < Wombert> move on to after the foreach 17:48 < Wombert> hm 17:48 < RossC0> doesnt get further than that 17:49 < Wombert> RossC0: suhosin _should_ log to syslog 17:49 < Wombert> maybe something is there? 17:51 < Wombert> RossC0: suhosin.log.file = 511 and suhosin.log.file.name = /path/to/logfile 17:52 < RossC0> Wombert: sauce suhosin[2201]: ALERT - Include filename ('file:///home/ross/www/bizedge/app/modules/Portal/templates/IndexSu ccess.php') is an URL that is not allowed 17:53 < RossC0> * ignore the space - crappy line wrap 17:53 < RossC0> so its protecting the include url syntax - crappy! 17:53 < Wombert> OMFG... 17:53 < Wombert> stefan esser is a retard 17:53 < Wombert> period 17:54 < Wombert> you need to setup a whitelist 17:54 < RossC0> suhosin.executor.include.whitelist=file 17:54 < Wombert> suhosin.executor.include.whitelist = file,whatelseyouwant 17:54 < RossC0> fixed :-) 17:54 < Wombert> yes 17:54 < Wombert> awesome 17:54 < RossC0> lol 17:55 < Alystair> anyone here know a good tutorial to the whole OO thing in PHP? :\ 17:55 < Wombert> it should default to "file"... file:///home/ross is just another way of writing /home/ross 17:56 < RossC0> Wombert: I shall hound him 17:57 < Wombert> one would guess.. 17:57 < Wombert> empty whitelist + empty blacklist = anything goes 17:57 < Wombert> like it is the case with suhosin.executor.func.blacklist and .whitelist... 17:58 < Wombert> can you say consistency 17:58 < Wombert> I'll add a fix that strips file:// 17:59 < RossC0> but cool we found it :-) 18:00 -!- neotekk_ [n=zwc@c-575370d5.013-12-73746f7.cust.bredbandsbolaget.se] has quit [Read error: 110 (Connection timed out)] 18:00 < Wombert> very 18:00 < Wombert> thanks for the help buddy 18:07 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] 18:15 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:20 < Niacin> if i can finish porting this cp into agavi 18:20 < Niacin> it will give you a lot of exposure ;) 18:20 < Niacin> i will put powered by agavi some where 18:27 < Wombert> :) 18:27 < Wombert> did you understand how sessions work now? 18:27 < Wombert> need any help? 18:28 < Niacin> The way the system works currently is 18:28 < Niacin> each server has a c daemon running as root 18:28 < Niacin> it opens a AF_UNIX (local domain socket) similar to mysql 18:28 < Niacin> then the web interface makes a connection to it 18:28 < Niacin> and issues commands back and forth 18:29 < Niacin> Sound resonable? i mean it seems like the best way to allow web users to control services that require root 18:30 -!- benny`work [n=benny@p54AC38A5.dip0.t-ipconnect.de] has joined #agavi 18:31 < Xylakant> RossC0: how did you subversion conversion go? 18:31 < Wombert> Niacin: hmm no idea, I have zero expertise to offer in that area ;) 18:33 < Xylakant> Niacin: why does the daemon require root? 18:33 < Xylakant> best thing would be to drop root priviledges as soon as you obtained all resources you need 18:34 < RossC0> Xylakant: good man - thanks worked a charm :-) 18:34 < RossC0> I dont have a branches trunk though 18:34 < RossC0> but I suppose I can add / rename 18:34 < Xylakant> RossC0: ah, you can pass a base path to svnadmin load 18:35 < Xylakant> you can use rename as well, i'd do that before checking out the first working copies 18:35 < Niacin> Xylakant, well you can't add users / restart jboss/apache etc with out root 18:36 < Niacin> or restart the all important vps's 18:37 < Xylakant> Niacin: sudo might be a viable option in that case 18:37 < Niacin> eeek no 18:37 < Niacin> we are talking about adding security 18:37 < Niacin> not subtracting it 18:39 < Xylakant> i would rather trust sudo with a restrictive sudoers file than a self-written daemon in c that is prone to buffer overflows. 18:39 < Xylakant> but that might be a matter of tast 18:39 < Xylakant> e 18:39 < Xylakant> i mean, you have a *root* service listening on a socket to input from the web 18:41 < Xylakant> where you could have 'exec sudo /where/you/want/shellscript_to_restart_jboss_that_does_not_take_any_arguments' and have that protected properly 18:41 < Niacin> on a socket input to web? i guess you don't know what a local domain socket is 18:42 < Niacin> and forking a shell from php is far less secure 18:42 < Xylakant> then the web interface makes a connection to it 18:42 < Xylakant> then the web interface makes a connection to it 18:42 < Niacin> yes a local domain connection 18:42 < Xylakant> and issues commands back and forth 18:42 < Niacin> its not a tcp socket 18:42 < Xylakant> and where does it get the commands and arguments for the commands from? 18:42 < Wombert> uuunix socket 18:42 < Wombert> != tcp socket 18:42 < Xylakant> i know 18:43 < Niacin> so MySQL isn't secure? 18:43 < Niacin> since it follows the same model 18:43 < Xylakant> mysql does not run with root privileges 18:44 < Xylakant> at least mine does not 18:44 < Xylakant> it forks a process that drops to the mysql user 18:44 < Xylakant> and yes, there have been attacks on mysql 18:44 < Niacin> i mean your saying that a c daemon isn't secure 18:44 < Niacin> yet your forking a shell in php to call another c application 18:45 < Niacin> that has been exploited more then britney spears 18:45 < Niacin> of course! security 18:45 < Xylakant> Niacin: i mean "It's hard to get a c-daemon secure" 18:45 < Niacin> thats rubbish 18:45 < CIA-11> david * r1851 /branches/0.11/src/view/AgaviStreamTemplateLayer.class.php: workaround for missing 'file' in default suhosin.executor.include.whitelist, closes #484 18:46 < Niacin> is php hard to get secure? 18:46 < Xylakant> and that I'd rather trust a tool that more people than just me use 18:46 < Niacin> its written in c 18:46 < Xylakant> yes 18:46 < Niacin> we are talking about < 500 lines of code here 18:46 < Xylakant> and see the number of buffer overflows in php 18:46 < Xylakant> Niacin: then fine 18:46 < Alystair> ? 18:49 < MrJeep> I think this is working 18:49 < MrJeep> it is 18:49 < MrJeep> yhea it is :D :D 18:50 < MrJeep> no nice effect right now but I'm running Mac OSX :D :D D:D:::D 18:50 < Wombert> oO lukas smith is a german 18:50 < Wombert> oO 18:51 * Wombert scratches head 18:58 < MrJeep> what's the key to show all windows together ? 18:58 < MrJeep> F8 ? 18:58 < Wombert> f9 18:58 < Wombert> f10 is for all windows of an app 18:58 < Wombert> f11 shows desktop 18:59 < Wombert> f12 is dashboard 18:59 < MrJeep> wow :D 18:59 < Wombert> MrJeep: open an image file 18:59 < Wombert> or a text document 19:00 < MrJeep> ok 19:00 < Wombert> macintosh hd -> images/photos -> ichat icons 19:00 < Wombert> preview opens 19:00 < Wombert> right? 19:01 -!- ShawnLocke [n=ShawnLoc@cs6625110-161.bham.res.rr.com] has joined #agavi 19:01 < MrJeep> let see 19:01 < MrJeep> yeah the preview open 19:02 < Wombert> okay 19:02 < MrJeep> well, a little app to open image 19:02 < Wombert> now hold the windows key and click the small icon in the title bar of the window 19:02 < Wombert> cool, right? :) 19:02 < Wombert> now click that away and hold down the mouse on the icon until the icon becomes dark, then drag it on the safari icon 19:02 < _cheerios> YES, ITS SO COOL!!!!!!!!!!! 19:02 < MrJeep> opens with safari 19:03 < Wombert> _cheerios: http://tinyurl.com/rncu3 19:03 < _cheerios> what is it? goatse? 19:03 < MrJeep> I'm currently downloading 300 mb of updates :D 19:03 < Wombert> _cheerios: no, safe for work 19:06 < _cheerios> cute boy. i wonder what way he swings. 19:08 < Alystair> X_X 19:09 < Alystair> http://www.bustedtees.com/shirt/dikfore/male <-- better 19:10 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 19:11 < Xylakant> ok, i'm off 19:11 < Xylakant> cu 19:11 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 19:14 < digitarald> hey, i loving those shirt 19:14 < digitarald> great gramar! 19:15 < digitarald> hey, thay have Dick In A Box shirts ... great 19:15 < _cheerios> \o/ 19:15 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:16 < _cheerios> hehe @ dikfore 19:17 < _cheerios> there was a video/mp3 flying around about a similar setup in some office setup? 19:17 < _cheerios> (like a few stone ages ago) 19:54 -!- MrJeep_ [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 20:02 -!- MrJeep [i=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 60 (Operation timed out)] 20:11 -!- digitarald [n=Miranda@234.Red-83-50-119.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:28 < Alystair> How Open Source Projects Survive Poisonous People - Google Video (http://tinyurl.com/38v3qh) 20:47 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 20:49 < Whisller> hi 20:50 < Wombert> Whisller: the suhosin issue is fixed in svn 20:50 < Wombert> or you set suhosin.executor.include.whitelist=file 20:50 < Wombert> http://trac.agavi.org/ticket/484 20:51 < Whisller> Wombert, thanks. 20:52 < Alystair> I just realized that there are @php.net devs on the jaws mailing list :O 20:52 < Alystair> is that anything special 20:54 < Whisller> kurwa network in my country has a problems, and my LAN is so slow :/ 20:57 < Whisller> bleah 13kb/s 21:13 < _cheerios> is there nots on that video? it seems kurwa long 21:15 < _cheerios> ah, found one 21:15 < Whisller> _cheerios, "kurwa" is not a name of company :) 21:17 < Whisller> *it is 21:18 < Whisller> ;) 21:24 * _cheerios slaps Whisller with a kurwa 21:25 < Whisller> hmm with a kurwa you saying, remember good kurwa never is not good ;p 21:26 < Whisller> *bad 21:28 < _cheerios> wtf? 21:28 < _cheerios> *is this syntax 21:29 < Whisller> http://lajt.onet.pl/slowniki/ or translate.pl :) and see with what you slaps me ;p 21:30 < Whisller> but this word have many means 21:32 < _cheerios> kurwa mac! 21:32 < Whisller> o! 21:32 < Whisller> when you are angry :) 21:34 < _cheerios> Lecz dzis juz nie, dzis to pierdoli mnie 21:34 < Whisller> but you also can use it when you are surprised, "O kurwa". 21:34 < Whisller> heh 21:35 < _cheerios> the other variations of the word kurwa doesnt sound so cool 21:35 < _cheerios> pizdo?! 21:35 < Whisller> yes 21:36 < Whisller> about women , whore women we have many means. For example, szmata, lachociag, kurwa, dziwka, dupodajka .... 21:36 < _cheerios> was listening to kurwa song 21:37 < _cheerios> Pierdolisz sie przez caly kurwa dzien 21:37 < Whisller> our language has many vulgarism 21:37 < Whisller> hehehe 21:37 < _cheerios> Kurwo, dziwko, pizdo, szmato 21:37 < Whisller> hmm in english it is, You fucking with someone whole day 21:38 < _cheerios> W dupe twa 21:38 < Whisller> W dupe twa? 21:38 < _cheerios> supposedly "in your ass" 21:38 < Whisller> W dupe :) 21:38 < _cheerios> http://bartek.blogsome.com/2006/01/22/kurwa-pizda-dziwka-szmata/ 21:39 < Whisller> heh liroy 21:39 < _cheerios> he's in shape. 21:40 < _cheerios> ~somewhat, atleast been to the gym at some piont :D 21:40 < Whisller> from what country is this language? 21:40 < Whisller> *whih 21:40 < Whisller> *with 21:40 < Whisller> tfu 21:41 < Whisller> whitch 21:41 < Whisller> that blog 21:42 < Whisller> heh I don't like this man, he don't write andy good song. 21:42 < _cheerios> http://bartek.blogsome.com/images/200000.jpg hahaha 21:42 < Whisller> kaliber 44 this was a good group 21:42 < _cheerios> the dude behind the ferrari is good 21:43 < Whisller> hehehe 21:43 < _cheerios> http://bartek.blogsome.com/images/kkk.png <<< heh 21:43 < Whisller> plastic car ;p 21:45 < _cheerios> that blog has good spoofs http://bartek.blogsome.com/images/wc.jpg 21:46 < Whisller> heh 21:48 < Whisller> in which language is this blog :> 21:49 < _cheerios> anything with 'ik' in it has me pointing towards holland 21:50 < Whisller> maybe. 21:52 < Whisller> ehh our president is a moron, even in web :/ 21:55 < Whisller> I wonder why that idiot can be a head of government. 22:03 < _cheerios> worse than http://news.bbc.co.uk/2/hi/middle_east/6441461.stm that? 22:04 < Whisller> hehe 22:05 < Whisller> pff this is nothing :) we have a sex affair ;p 22:05 < _cheerios> i like this part "he was able to identify himself to police only after a rubber ball had been removed from his mouth." 22:05 < Whisller> whole world saying about it ;p 22:06 < Whisller> buhaha 22:06 < _cheerios> sex affair? anything juicy? 22:06 -!- skiv02 [n=Miranda@bzq-84-108-58-67.cablep.bezeqint.net] has quit [Read error: 104 (Connection reset by peer)] 22:06 < Whisller> juicy/ 22:06 < Whisller> :> 22:07 < Whisller> aaa 22:07 < Whisller> one whore saying "Mr. Lepper fuck me", next day "Mr. (I don't remember) fuck me also", and ;p "The fuck me together" ;p 22:07 < Whisller> *they 22:08 < Whisller> She said, one of them is father of her child. 22:09 < _cheerios> "In December 2006 a female party member claimed that Lepper and party deputy Stanisław Łyżwiński had demanded sexual favours in exchange for a job in a regional party office. After the publication of these claims in the Gazeta Wyborcza [2], several other women came out with similar accusations." this one? 22:09 < Whisller> But they are not ;p Check it in chospital. Now she looking the father and saing "They fucked me many times" 22:09 < Whisller> yes :) 22:09 < Whisller> It is still hot topic in TV ;p 22:10 < Wombert> uhm 22:10 < Wombert> wtf? 22:10 < Wombert> ... 22:10 < Whisller> Our governmanent is like a circus 22:10 < _cheerios> world affairs and agavi, wombert :) 22:11 < Whisller> we have nazi, sex, and anything what you want :/ 22:11 < _cheerios> you don't have a lesbian president 22:11 < Whisller> heh no :) 22:11 < Whisller> They dont like gey, lesbians... 22:12 < Whisller> hmm where is this president? 22:13 < Whisller> In France :> 22:13 < _cheerios> it's old issue in finland, when a showboxer became a politician in Finland and on radio blurped "... we have a lesbian president" 22:14 < Whisller> ahhh 22:15 < Whisller> I would prefer lesbian president, instead of a duck ;p 22:16 < Whisller> Heh two ducks :D 22:16 < Whisller> Ok. Tv :) 22:16 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Lay me down in the cold cold ground. Where before many more have gone. Thoughts of home take away my fear. Close your eyes a] 22:16 < _cheerios> heh heh 22:21 < Wombert> v-dogg: ping 22:31 -!- MrJeep_ [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 22:49 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 22:50 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 22:51 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [Remote closed the connection] 22:53 < v-dogg> pong 22:53 < Wombert> sorted 22:53 < Wombert> thanks anyway 22:53 < Wombert> :> 22:53 < v-dogg> woot 22:55 < Wombert> I'm also thinking we should disable $slots['content'] etc by default 22:55 < Wombert> and make people use $inner 23:24 < splatch> blah 23:24 < splatch> i was today in accenture 23:24 < splatch> first day in new work 23:24 < Wombert> was it good? 23:25 < _cheerios> http://www.apple.com/uk/getamac/ads/ there's even British versions? 23:25 < splatch> Wombert: disgusted 23:25 < Wombert> the british ones suck 23:25 < Wombert> in fact, I don't think these are good ads in general 23:25 < Wombert> except for the vista one 23:25 < Wombert> splatch: why 23:25 < splatch> Wombert: poor code, poor tols, 14" display, computer with 256 MB ram 23:26 < Wombert> uuuh 23:26 < splatch> one big mess! 23:26 < Wombert> I'm sorry to hear that man 23:26 < splatch> but 23:26 < splatch> hardware = client 23:26 < splatch> so, we're working in some bank 23:26 < splatch> my idea is simple - go way from bank 23:26 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)] 23:27 < splatch> i must go from this sick project 23:28 < splatch> i haven't armchair! 23:29 < _cheerios> ouch. yeah, you get the hardware from the client being stuck there. :| 23:29 < _cheerios> probably dusted off something just for you 23:30 < splatch> I am not interested in it, I must from there escape 23:30 < Wombert> it's a job 23:30 < Wombert> work is like that 23:30 < Wombert> get used to it 23:31 < Wombert> and if it's the client's hardware... the next client is probably different 23:31 < splatch> conditions affronting the man, affronting setting the good programmer which I consider himself 23:31 < Wombert> 30" screens, chairs, and honeys blowing you while you hack away 23:31 < Wombert> *massage chairs 23:32 < _cheerios> i guess, that's incentive enough to clim to management level in accenture, asap 23:36 < Wombert> bah I hate it 23:36 < Wombert> when in the winter 23:36 < Wombert> the mouse hand gets so cold... 23:37 < _cheerios> aftr some fps games you can spot your own fingerprints on the mouse, and some gooey stuff around :D 23:46 < Alystair> :@ 23:52 -!- digitarald [n=Miranda@62-43-152-110.user.ono.com] has joined #agavi 23:58 -!- MrJeep [n=XircUser@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 23:58 < MrJeep> it's installed 23:58 < MrJeep> and it works 23:58 < Wombert> www.colloquy.info 23:59 < Wombert> http://osx.iusethis.com/user/wombert 23:59 < MrJeep> the widgets and some visual effects are still slow but it's good overall --- Day changed Tue Mar 13 2007 00:01 < Wombert> must haves: 00:01 < Wombert> witch 00:01 < Wombert> the unarchiver 00:01 < Wombert> textmate 00:01 < MrJeep> yeah but it aint free :S 00:01 < Wombert> perian and flip4mac 00:01 < Wombert> yes, it's not free 00:01 < Wombert> but it's worth every cent 00:03 < Wombert> ah 00:03 < Wombert> yummyftp >>> cyberduck 00:08 < MrJeep> whici irc client do you suggest ? 00:08 < Wombert> colloquy 00:09 < Wombert> MrJeep: bind exposé to mouse buttons 00:09 < Wombert> at least f9 and f10 00:10 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 00:10 < MrJeep> ok 00:10 < MrJeep> brb 00:13 -!- MrJeep [n=XircUser@modemcable175.240-202-24.mc.videotron.ca] has quit [Remote closed the connection] 00:18 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 00:18 < Jeep> I think it'S working now 00:19 < Wombert> it's a little confusing. in the connections dialog, you can set the checkbox to make that connection run on startup 00:19 < Wombert> and in "info", you can set the channels to join 00:19 < Jeep> I had some problem... like the first time Colloguy didnt want to open the "join chan" window :S 00:20 < Wombert> maybe it wasn't connected yet 00:20 < Wombert> right-click the channel and set auto join 00:20 < Wombert> you can also set the connection to show the console window 00:20 < Jeep> oh by the way 00:20 < Jeep> to install a program 00:21 < Wombert> move it from the disk image to "Applications" 00:21 < Jeep> I use the .dmg and drag it to the ... 00:21 < Wombert> open the .dmg (automatically done anyway) 00:21 < Wombert> in the dmg, you have the app, and sometimes readme.txt etc 00:21 < Wombert> then drag the app to applications 00:21 < Wombert> to uninstall drag the app from applications to the trash 00:22 < Wombert> to upgrade, overwrite the installed app 00:22 < Jeep> pretty simple 00:22 < Wombert> (or use built in software update, all apps have that) 00:22 < Wombert> some apps also have installers 00:22 < Wombert> like mysql or so 00:22 < Wombert> download and install mysql from mysql.com 00:22 < Wombert> for php, use http://www.entropy.ch/software/macosx/php/ 00:23 < Wombert> (mac os x comes with apache installed) 00:23 < Jeep> I thought ... that 00:23 < Jeep> woot tons of stuff to learn 00:23 < Jeep> :D 00:25 < Jeep> finally, SteerMouse 00:25 < Jeep> fix this mouse acceleration 00:25 < Wombert> that costs money 00:25 < Wombert> really, you'll get use to the mouse accel soon 00:26 < Jeep> I never got use in 15 years under windows 00:26 < Jeep> i really don't like this 00:26 < Jeep> brb 00:26 < Jeep> rebooting 00:26 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 00:31 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 00:36 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 00:38 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 104 (Connection reset by peer)] 00:38 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 00:41 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has quit ["Leaving"] 00:52 -!- benny`work [n=benny@p54AC38A5.dip0.t-ipconnect.de] has quit ["unset($this);"] 00:58 -!- digitarald [n=Miranda@62-43-152-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 00:58 < Wombert> Jeep: at least download textmate and give it a spin 00:58 < Jeep> sure 00:59 < Prometheus^> once you go textmate, you won't go back :P 00:59 < Jeep> I have no sound yet :( 00:59 < Wombert> www.apple.com/store 00:59 < Wombert> :) 01:00 < Jeep> I think this *might* hold me back 01:00 < Wombert> the stuff from there works :p 01:00 < Wombert> what? 01:00 < Prometheus^> there's no return from the dark side of textmate 01:00 < Prometheus^> ^^ 01:00 < Prometheus^> Wombert: they are fast to charge 01:00 < Jeep> yeah, but before I buy a 4000$ computer, I take some time to know the OS 01:00 < Wombert> why would you buy a mac pro? :) 01:00 < Prometheus^> I /tried/ to order an incase sling pack from there 01:00 < Jeep> because the last thing I want is a 1500$ all-in-one computer 01:01 < Jeep> They are pretty looking 01:01 < Wombert> Jeep: then buy a macbook and a nice tft 01:01 < Wombert> which you have already 01:01 < Wombert> so buy a macbook :p 01:01 < Wombert> and a Griffin iCurve 01:01 < Prometheus^> elevator* 01:01 < Wombert> really, mac pros are a waste of money 01:01 < Wombert> (imo) 01:01 < Prometheus^> they don't make icurve anymore I think 01:01 < Jeep> yeah they are 01:01 < Wombert> woot? 01:01 < Prometheus^> icurve changed it's name to elevator 01:01 < Prometheus^> or something like that 01:02 < Prometheus^> well, griffin changed the name 01:02 < Prometheus^> it's made of different material now I think 01:02 < Wombert> hm it looks a little different 01:02 < Prometheus^> yeah 01:02 < Prometheus^> it's different 01:02 < Prometheus^> it's no longer curvy :( 01:02 < Wombert> if it has a cable holder on the back then I'll go and shoot them in the face 01:02 < Wombert> doesn't 01:02 < Wombert> lucky for them 01:03 < Prometheus^> oh damn 01:03 < Prometheus^> http://www.griffintechnology.com/assets/images/devices/device_feature.jpg 01:03 < Wombert> I have that monitor :) 01:03 < Wombert> and a 15" PB 01:03 < Prometheus^> what's wrong with that pic ⇞ 01:03 < Wombert> actually, I have the widescreen version 01:03 < Prometheus^> DELL 01:04 < Wombert> it's an excellent monitor 01:04 < Wombert> why would I shell out twice the amount for a same sized apple tft with crappy image quality 01:04 < Wombert> which brings me to Jeep 01:04 < Wombert> you're not gonna hook up that horrible TN display to the Mac Pro then are you? 01:05 < Jeep> the mac pro display are TN ? 01:05 < Wombert> no, mac pro doesn't have a display :p 01:05 < Wombert> but yours is 01:06 < Wombert> the one you bought from... dell? 01:06 < Prometheus^> Wombert: that must be 20" 01:06 < Jeep> bought from FuturShop (BestBuy) :D 01:06 < Prometheus^> because the 30" dell is certainly not twice the price 01:06 < Prometheus^> err, half 01:06 < Prometheus^> of the apple one 01:06 < Jeep> but apple sells monitors 01:06 < Jeep> are they tn ? 01:06 < Prometheus^> it's like $400 less 01:06 < Wombert> no, S-IPS 01:06 < Wombert> but you don't have to buy an apple monitor :p 01:06 < Jeep> great then 01:07 < Prometheus^> oh come on, of course you do 01:07 < Jeep> I wish I was rich 01:07 < Wombert> a waste of money, too 01:07 < Prometheus^> :P 01:07 < Jeep> :( 01:07 < Wombert> no 01:07 < Wombert> they're not good value for money 01:07 < Wombert> my powerbook was on the very brink of being outrageously pricey 01:07 < Wombert> the macbook pros are... omg wtf 01:08 < Prometheus^> back in the oldern days maybe 01:08 < Wombert> macbooks have awesome value/money 01:08 < Wombert> iMacs have awesome value/money 01:08 < Prometheus^> Wombert: I think you are comparing macs to like $600 acers or something 01:08 < Wombert> mac minis are too expensive, too 01:08 < Prometheus^> it really sounds like it 01:08 < Wombert> no, Prometheus^ 01:08 < Wombert> compare macbook and macbook pro 01:08 < Prometheus^> yes, I know 01:08 < Wombert> the powerbooks used to be much better than the ibooks 01:08 < Wombert> ibooks didn't have dvd burners 01:08 < Prometheus^> but compare macbook pro to a high end windows laptop 01:08 < Prometheus^> they'll come out around the same price 01:08 < Prometheus^> that's just the way it is 01:08 < Wombert> and no dvi 01:09 < Wombert> and no digital audio 01:09 < Wombert> and a crappy keyboard 01:09 < Wombert> the macbooks are so nice and have all the features 01:09 < Wombert> yes, no doubt that the macbook pro is competitive in it's segment 01:09 < Prometheus^> macbooks chip easily o_O 01:09 < Wombert> it's just that there is no reason to buy a macbook pro over a macbook unless you need 3d graphics 01:10 < Prometheus^> I prefer the 15.4" screen to a 13.3" one :) 01:10 < Wombert> yes, and the 13" is not glossy 01:10 < Prometheus^> having a 12" pb has made me quite aware 01:10 < Wombert> I wouldn't buy a macbook either 01:10 < Wombert> but mbp's are too expensive compared to the powerbooks back then 01:10 < Prometheus^> while the 12" pb is perfect in many ways (read, keyboard design, EXCEPT that function key........), the display is too small :( 01:11 < Wombert> there was a reason I didn't get it... 01:11 < Wombert> what was that 01:11 * Wombert tries to remember 01:11 < Prometheus^> function key! 01:11 < Wombert> I was torn between 12" and 15" 01:11 < Wombert> hm? 01:11 < Prometheus^> it sucks 01:11 < Prometheus^> it's the very leftmost key on the row nearest to you 01:12 < Wombert> yes, of course it is 01:12 < Prometheus^> every good laptop keyboard design has ctrl there 01:12 < Wombert> where else should it be 01:12 < Wombert> ???? 01:12 < Wombert> _all_ laptops, windows and mac, have fn there 01:12 < Prometheus^> that place is for ctrl and ctrl only 01:12 < Wombert> 15" powerbook 01:12 < Wombert> macbooks 01:12 < Wombert> macbook pros 01:12 < Prometheus^> not my sister's laptop :) 01:12 < Prometheus^> it has a ctrl there 01:14 < Prometheus^> I wonder if the 30" display will come down in prize when the rumored 32" is released 01:14 < Prometheus^> if there's any truth to that rumor 01:14 < Wombert> no 01:14 < Wombert> it makes no sense to have a 30 and a 32" in the lineup 01:15 < Prometheus^> well, they have 20 and 23 01:15 < Prometheus^> the 32" could have more to it than just the additional 2" 01:15 < Prometheus^> better contrast for example 01:15 < Prometheus^> although I'm not sure what's the optimal contrast ratio for photochopping and the like 01:15 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has left #agavi [] 01:35 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 01:41 < MrJeep> back 2 win 01:42 < MrJeep> so Wombert, what kind of mac do you have ? 01:42 < Wombert> I have a 15" Powerbook G4 01:42 < Wombert> last series before they switched to intel 01:43 < MrJeep> and you plug you 20" screen into ? 01:43 < Wombert> 1.67GHz, 1.5GB RAM, 80GB disk, DVD burner, 20" widescreen TFT 01:44 < Wombert> it's a very nice laptop, with the illuminated keyboard etc 01:44 < Wombert> the macbook pros are nicer, of course, since they're much faster (intel) and have small things like an iSight 01:44 < Wombert> or the magnetic power cord etc 01:45 < Prometheus^> you can play some amazing games with isight 01:45 < Prometheus^> :D 01:45 < MrJeep> hehe, well I still wish I could buy a mac pro 01:45 < Prometheus^> magnetic power cord is very nice btw :) 01:45 < MrJeep> I'm pretty sure I will someday 01:45 < Wombert> MrJeep: why not a MBP? 01:45 < Wombert> it's portable, fast... all you need 01:45 < Prometheus^> once you go mobile, you won't go back! 01:46 < Wombert> plus it makes no noise at all :) very convenient 01:46 < MrJeep> except when something breaks 01:46 < MrJeep> I work at home 01:46 < Wombert> which never happens :p 01:46 < MrJeep> my computer is my work 01:46 < Prometheus^> hmm... http://store.apple.com/Apple/WebObjects/fistore/ 01:46 < MrJeep> lol 01:46 < Prometheus^> looksie that 01:46 < MrJeep> never say never 01:46 < Wombert> yes, but... what are the odds 01:46 < MrJeep> thigs like that are made in japan 01:46 < Wombert> no, china :p 01:46 < Prometheus^> they are updating ze store :) 01:46 < Wombert> Prometheus^: oO 01:46 < MrJeep> the ods a laptop break 01:47 < MrJeep> a lot higher than a desktop I'd say 01:47 < Wombert> it's all about build quality 01:47 < MrJeep> you carry it everywhere 01:47 < Wombert> macs are excellent 01:47 < MrJeep> I'm pretty sure they are excellent 01:47 < MrJeep> better than all other laptop 01:47 < Wombert> nah, that not 01:47 < Wombert> but they're pretty pretty high up 01:47 < Wombert> in terms of build quality etc 01:47 < MrJeep> but I can't lose my work because the memory is broken 01:48 < MrJeep> and I have to ship the whole thing back 01:48 < Wombert> ... 01:48 < Wombert> you can swap out memory 01:48 < Prometheus^> aye 01:48 < MrJeep> I just don't like all-in-one products 01:48 < Wombert> the control you think you have is an illusion 01:48 < MrJeep> I have a laptop, but my job is not based on it 01:48 < MrJeep> lol 01:49 < MrJeep> you know what they say 01:49 < MrJeep> something 01:49 < MrJeep> about not putting all your eggs in the same nest 01:49 < Wombert> if your job depends on it, you can buy a mac mini the day your laptop screen breaks, plug them together via firewire, and use the powerbook as an external hard drive 01:49 < Wombert> (all macs can do that btw) 01:49 < Prometheus^> and having an external hard drive for back ups isn't such a bad idea anyway ;) 01:49 < Wombert> yeah, that too 01:49 * Wombert looks forward to Leopard's Time Machine 01:49 < Prometheus^> we have a server dedicated for that 01:49 < Prometheus^> and most people have an external hard drive in addition to that 01:50 < MrJeep> i feel like buying a mac mini, an iMac or all-in-one stuff, is putting all my eggs in the same nest 01:50 < MrJeep> if my current hd break, I have spare hd and backup, I'm ok 01:50 < MrJeep> if memory break, I just remove it 01:50 < MrJeep> if my screen break, I have other screen 01:50 < MrJeep> I can always continue 01:50 < MrJeep> if something break 01:50 < MrJeep> if my laptop breaks 01:50 < Prometheus^> I think you might be able to even swap out the HD on the macbooks 01:50 < MrJeep> I have to ship it 01:50 < MrJeep> this sucks 01:51 < Prometheus^> MrJeep: back up often and wisely :) 01:51 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Lay me down in the cold cold ground. Where before many more have gone. Thoughts of home take away my fear. Close your eyes a] 01:51 < MrJeep> yeah I do 01:51 < MrJeep> well, I have to eat 01:51 < MrJeep> later guy 01:51 < Prometheus^> ciao 01:51 < MrJeep> s* 01:51 < Wombert> bye 01:51 < Prometheus^> but to be honest, that's getting to a degree where you really don't want a mac at all 01:51 < Prometheus^> because you can't service all the parts yourself :) 01:52 < Wombert> you can, it's all standard hardware these days 01:52 < Wombert> only thing difficult to get is a graphics card with mac EEPROM 01:52 < Prometheus^> mm 01:53 < Prometheus^> well, from my own experience, the turn around times in the mac repair centers around in finland are very low 01:53 < Prometheus^> or short rather 01:54 < Wombert> well I once asked if they could swap the keyboard for me since I had broken off a key and they said they could do any repair in one day (assuming that spare parts are in stock) 01:54 < Wombert> that was a gravis store though, not an apple store 01:54 < Prometheus^> well, we don't have any actual apple stores, but apple licensed repair centers :) 01:55 < Prometheus^> however, the one we use is very fast 01:55 < Prometheus^> most of the time the turn around is about 1 day 01:55 < Prometheus^> if I take it to them in the morning, they'll have it ready by the next afternoon 01:56 < Prometheus^> looks like they are just updating the european apple store 01:57 < Wombert> http://www.macrumors.com/2007/03/12/8-core-mac-pro-hints-at-apple-uk/ 01:58 < Wombert> Prometheus^: if it's the EU store, then it's routine maintenance 01:58 < Prometheus^> wonder if that's kentsfield then 01:58 < Wombert> ? 01:59 < Prometheus^> the intel quad-core processor 01:59 < Wombert> ah the core 01:59 < Wombert> no idea 01:59 < Wombert> but the us store is up so... 01:59 < Prometheus^> yeah 02:00 < Prometheus^> that's packing some serious processing power, though 02:11 < Prometheus^> sometimes I wish I was living still in states.. 02:11 < Prometheus^> Refurbished Apple Cinema HD Display (23-inch flat panel w/ aluminum enclosure) 02:11 < Prometheus^> Original price: $1,999.00 02:11 < Prometheus^> Your price: $749.00 03:13 -!- Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 03:18 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Read error: 54 (Connection reset by peer)] 03:46 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 03:47 -!- fastly [n=fast@AC8E70B7.ipt.aol.com] has quit [Read error: 110 (Connection timed out)] 04:04 -!- Niacin [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has joined #agavi 04:04 < Niacin> hi hi 04:06 < Prometheus^^> ahoy 04:07 < Prometheus^^> and good night, it's 4 am here .P 04:07 -!- Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Client Quit] 04:39 < Niacin> so is there any sort of templating like form compliation 04:39 < Niacin> in agavi? 04:39 < Wombert> form compilation? 04:39 < Niacin> ya like i say 04:39 < Niacin> $foo->createForm(POST,blah); 04:39 < Niacin> or osmething who knows 04:39 < Wombert> and what for? 04:39 < Niacin> i'm a c coder ;p 04:39 < Niacin> a template engine? 04:40 < Wombert> no, why helpers that create html for you 04:40 < Niacin> whats it called ? M&M? or something 04:40 < Wombert> that's the job of a template engine, if any 04:40 < Wombert> you can use any template engine you like with agavi 04:40 < Wombert> we ship with renderes for php, smarty and phptal templates 04:40 < Niacin> smarty! not M&M 04:40 < Wombert> haha 04:40 < Wombert> keep in mind that agavi handles forms without a template engine or helpers 04:41 < Wombert> <input type="text" name="lala" /> 04:41 < Niacin> when you say forms.. you mean validation? 04:41 < Wombert> if you submit that 04:41 < Wombert> no, not only validation 04:41 < Wombert> if you submit that form and it gets shown again 04:41 < Wombert> agavi will re-insert the data you entered 04:41 < Wombert> that makes the system independent of a template engine or helpers used 04:41 < Wombert> and it's a lot smarter, too ;) 04:42 < Wombert> it will also set a class on erroneous form elements, and one or two lines of CSS make these fields red etc 04:43 < Wombert> problem is... it's almost 4am here :< and I gotta head to bed 04:43 < Niacin> night man 04:43 < Wombert> but I'll catch you in 6 hrs, okay? 04:43 < Wombert> as usual, the finns will be there soon to help you 04:43 < Wombert> the sample app uses the form stuff for login, might wanna check that out 04:44 < Niacin> ok 04:44 < Niacin> thanks 05:41 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:48 -!- Wombert [n=Wombert@dslb-084-056-034-164.pools.arcor-ip.net] has quit [] 07:05 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has quit [] 07:11 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: CIA-11, ShawnLocke 07:11 -!- Netsplit over, joins: CIA-11 07:37 < v-dogg> huomenta 07:41 -!- Wombert [n=Wombert@dslb-084-056-034-164.pools.arcor-ip.net] has joined #agavi 07:42 < Wombert> damnit, I've had an absolutely devastated sleeping cycle over the last days 07:42 < Wombert> it's fucking seven in the morning 07:43 < Wombert> at least I'm back to help Niacin 07:43 < Wombert> huomenta, v-dogg 07:45 < ttj> :-/ 07:45 < Wombert> hei ttj! 07:45 < ttj> Yo. 07:45 < Wombert> mitä kuuluu? 07:45 < ttj> Not much. Was supposed to hit the gym and sauna before work today, but it's nearin 8 AM and I'm still in bed. :-) 07:46 < ttj> What about you? Asides from the twisted sleep cycles. 07:46 < Wombert> oh 07:46 < Wombert> asides from that 07:46 < Wombert> not much 07:46 < Wombert> motherfucking twisted sleep cycles? 07:46 < Wombert> :p 07:46 < ttj> Haha, fair 'nuff. :P 07:46 < Wombert> it's uncool 07:46 < ttj> I know. 07:47 < Wombert> I can't sleep in and then I'm tired all day and can't concentrate and go figure 07:47 < ttj> Stress? 07:47 < Wombert> hmm not more than usual I think... 07:47 < Wombert> I decided this morning that I won't take ze laptop on vacation 07:47 < Wombert> at leats I think so 07:47 < Wombert> that should be relaxing 07:48 < ttj> Good call. 07:48 < ttj> Where are you going? 07:48 < Wombert> I first thought I'd take the time to write some agavi docs each day but... 07:48 < Wombert> london 07:48 < ttj> Cool. 07:48 < Wombert> for a week, next thursday 07:48 < Wombert> oh yes, very 07:48 < Wombert> I'm so looking forward to that.. 07:48 < ttj> Well, you certainly deserve the vacation. Kick back and relax. 07:49 < Wombert> will do :) 08:04 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 08:39 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 08:44 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 09:11 < ttj> Yeargh, someone installed a new lamp for my cubicle when I was gone. 09:15 < Wombert> funny you mention that just now 09:15 < Wombert> http://nomadishere.com/2007/03/12/a-note-to-employers-8-things-intelligent-people-geeks-and-nerds-need-to-work-happy/ 09:18 < ttj> :-) 09:19 * raidman sighs 09:19 < raidman> I have to send this to my boss :D 09:19 < ttj> Haha, I found the button to turn the lamp off. 09:22 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:41 < ttj> Hmm... I think I'm broken. Coffee tastes strange. 09:41 < Wombert> this week is a sad week for mankind 09:41 < Wombert> it's the last week of zefrank's show 09:41 < Wombert> :< 09:43 < _cheerios> what's zefrank got planned? 09:44 < Wombert> www.zefrank.org 09:44 < Wombert> the ORG 09:44 < Wombert> that's the new thing 09:44 < Wombert> a little different social network 09:44 < Wombert> doubt it will be as ace tho 09:52 < Wombert> maan... 09:53 < _cheerios> he's quitting the only thing people were interested on from him... to build a social network? hmm. 09:54 < _cheerios> did he get hit by a bus recently? 09:56 < Wombert> why 09:58 < Wombert> 4 golden ducks (250$), 63 big ducks (50$), 170 little ducks (10$), 39 jewels (5$) 09:59 < Wombert> for the last day alone 09:59 < _cheerios> what is that 09:59 < Wombert> that's 6045 dollars 09:59 < Wombert> in one day 09:59 < Wombert> jesus 09:59 < Wombert> donations 09:59 < Wombert> see the golden and yellow ducks below the video 09:59 < Wombert> http://www.zefrank.com/theshow/archives/2007/03/030907.html 09:59 < Wombert> that was for the last day where you could donate 10:00 < Wombert> I gave him 10 bucks last week 10:00 < Wombert> in retrospective, I should have sent 50 10:00 < Wombert> over the last days, donations have gone up big time since the show is ending 10:00 < Wombert> and on valentine's day 10:00 < Wombert> very cool 10:00 < Wombert> he deserves every single penny of it 10:00 < _cheerios> ah, okay, so it's the so long, and thanks for all the fish -donation jar 10:01 < _cheerios> if he made that much per show he wouldn't be calling it quits 10:02 < Wombert> http://www.zefrank.com/theshow/archives/2007/02/020507.html awesome episode 10:02 < Wombert> _cheerios: he puts so much effort into the show 10:02 < Wombert> it takes many many hours to produce 10:02 < Wombert> plus he has a regular job 10:02 < Wombert> often produces it from a hotel room 10:02 < Wombert> sometimes you can see how long it took him to prepare simple things 10:02 < Wombert> so fantastic 10:04 < horros_> 4 days 18-something hours left \o/ 10:04 < Wombert> f1? 10:04 < Wombert> yay 10:06 < _cheerios> you have to be pretty zefrank'd to appeciate zefrank 10:07 < Wombert> didn't like him first 10:07 < Wombert> took a bit 10:07 < Wombert> on some days, it's boring 10:07 < Wombert> on some days it cracks you up 10:07 < Wombert> on some days you're sitting there and think about what he said for a long time 10:07 < Wombert> like that episodes about waves 10:10 < Wombert> http://www.zefrank.com/theshow/archives/2006/06/062606.html that's the show that got me started 10:14 < _cheerios> i don't think i'll be that interested unless i'd be entertaining the thought of producing my own 10:17 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:17 < RossC0> huomenta 10:18 < _cheerios> huomenta! 10:18 < Wombert> I love how that has become the official greeting code :) 10:18 < RossC0> Wombert: just seen your comment 10:18 < Wombert> hyvää päivää, RossC0 10:19 < Wombert> was about to ask 10:19 < Wombert> cool 10:19 < RossC0> Assalamu alaikum 10:20 < RossC0> السلام علیک 10:20 < RossC0> :-) 10:21 < RossC0> ::* was a helper to get all elements in one go 10:21 < Wombert> like? 10:21 < RossC0> table::* would return an array of tables 10:22 < RossC0> instead of having to loop each table in a function 10:23 < RossC0> it does break the ::event name syntax but as thats an artifical helper made sense just to pop in it there - less parsing 10:23 < RossC0> I couldn't think of another case outside using :: for events - if I could I would have split 10:24 < _cheerios> Wombert, on those rbac settings, there's nesting member->photographer->photomoderator. When I grantRole('photomoderator'), the credentials reflect his access correctly upto member level, but hasRole('member') returns false? 10:24 < Wombert> well the reason why I wrote is because CSS3 uses :: for some classes now 10:24 < Wombert> _cheerios: yeah I think that's how it works 10:24 < Wombert> _cheerios: you should check credentials, not roles 10:24 < Wombert> RBAC is just an instrument to grant credentials 10:25 < Wombert> on login, you do grantRole() and that assigns the credentials for that role 10:25 < RossC0> hmm what to use instead of :: 10:25 < Wombert> a hash? 10:25 < Wombert> I would find that a lot nicer anyway 10:26 < _cheerios> yeah. guess i can't do role checks. 10:26 < v-dogg> _cheerios, Wombert: yes, that's how it works. hasRole('member') returns false because the user doesn't has that role (per se) 10:26 < v-dogg> only the credentials are inherited 10:26 < Wombert> 'tr td:first-child': function (element) { 10:26 < Wombert> 'click': { 10:26 < Wombert> element.setStyle('clicked'); 10:26 < Wombert> } 10:26 < Wombert> } 10:26 < Wombert> _cheerios: it's not "you can't" 10:26 < Wombert> it's "you shouldn't" 10:27 < _cheerios> why is that? 10:27 < Wombert> if it was up to me, the class wouldn't even have a hasRole method 10:27 < RossC0> _cheerios: because its the credential thats important 10:27 < Wombert> but then someone would walk in whining about it after two minutes 10:27 < Wombert> _cheerios: I just explained that :< 10:27 < Wombert> credentials matter 10:27 < RossC0> Wombert: I use hasRole - but then my roles aren't nested 10:27 < Wombert> credentials is what agavi checks for 10:27 < Wombert> plus 10:27 < _cheerios> hasRole is useless without the nesting pretty much, or can easily lead to troubles 10:28 < Wombert> you can swap the entire RBAC implementation for something else 10:28 < Wombert> and your app still works 10:28 < Wombert> because all it uses is credentials 10:28 < Wombert> that's the point 10:28 < Wombert> separation 10:29 < RossC0> _cheerios: don't agree the admin can dynamically create custom Roles with credentials easily without nesting 10:29 < RossC0> with nesting - wouldn't like to do it 10:30 < RossC0> again its the credential checks that are important throughout the code 10:31 < RossC0> So all my roles / credentials are stored in the db 10:31 < _cheerios> seems so. was going to use roles for some very generic/common things, but i'll create a credential instead. 10:31 < Wombert> public function getCredentials() { 10:31 < Wombert> return 'member'; 10:31 < Wombert> } 10:31 < Wombert> actin requires memer 10:31 < Wombert> like 10:31 < Wombert> public function getCredentials() { 10:31 < Wombert> return array('member'); 10:32 < Wombert> } 10:32 < Wombert> public function getCredentials() { 10:32 < Wombert> return array('member', 'moderator'); 10:32 < Wombert> } 10:32 < Wombert> requires member and moderator 10:32 < Wombert> public function getCredentials() { 10:32 < Wombert> return array('member', array('moderator', 'admin')); 10:32 < Wombert> } 10:32 < Wombert> requires member and (moderator or action (or both)) 10:33 < RossC0> cool didnt know that one 10:33 < _cheerios> that went into an action? 10:33 < RossC0> return array('user.loggedin', 'content.admin'); 10:33 < _cheerios> seems so 10:34 < RossC0> thats my admin area one - which I use to ensure the user logged in - not just access via a cookie 10:35 < Wombert> RossC0: loggedin is implied by isSecure 10:35 < _cheerios> k, yesterday i for some reason, was thinking that hasRole() uses nesting, where as getRoles() checks which roles are given "per se" (as v-dogg put it) 10:35 < Wombert> but you had some custom stuff there IIRC 10:35 < RossC0> Wombert: Ah but I want to make sure they have actually logged in that session 10:35 < Wombert> ah right 10:35 < Wombert> it's nice to see how that super simple credentials system is so flexible 10:36 < Wombert> back when I saw it I thought we'd have to re-design it one day, but doesn't seem so 10:36 < Wombert> in fact, you can even return objects or so instead of strings :) 10:36 < Wombert> plus by writing your own security filter, you can do a lot of other stuff than just call getCredentials 10:37 < RossC0> I dont know about writing security filters any how tos? 10:37 < Wombert> do you need it? :) 10:37 < Wombert> there can be only one 10:38 < Wombert> look at agavi's default 10:38 < Wombert> it's super simple 10:39 < RossC0> if I dunno about it how'd I know if I need it :) 10:41 < RossC0> will have a look 10:41 -!- Xylakant [n=fgilcher@8.206.27.217.static.versanetonline.de] has joined #agavi 10:59 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has joined #agavi 11:06 < MikeSeth> hey guys 11:06 < MikeSeth> I need an unrelated advice 11:06 < v-dogg> shoot 11:07 < MikeSeth> I have this widget 11:07 < MikeSeth> it's 4 selectboxen, and selecting value in one causes the ones to the right to be reloaded and reselected 11:07 < v-dogg> ajaxified? 11:08 < MikeSeth> Yea, with YUI as backend 11:08 < v-dogg> yep 11:08 < MikeSeth> I hacked it together with JS for the page it should be at, but now it seems that it will be in use in more than one place, so I'd like to make general use of it 11:09 < MikeSeth> So the question now is: how to wrap it in a component for Agavi? What's the ideal composition? 11:11 < MikeSeth> there's the template code; the javascript code; validation code; for all intents and purposes its a miniature program of its own 11:26 < _cheerios> "bug"; if you set <databases default="master">, but there is no "master" entry, Agavi creates an empty record for it while loading database settings, which results in a PHP Fatal Error when shutdown() is called on a non-existing object (the missing "master" db entry) 11:26 < Wombert> ticket please 11:26 * MikeSeth pets Wombert 11:32 -!- digitarald [n=Miranda@234.Red-83-50-119.dynamicIP.rima-tde.net] has joined #agavi 11:32 < horros_> #)%(#% damn Mytob.C worm is getting annoying. 11:35 < horros_> someone at 221.132.113.236 needs to fix their computer. 11:35 < MikeSeth> nullrouting is your friend! 11:35 < MikeSeth> Wombert: got a hint for me on the question above? 11:35 < horros_> yeah 11:36 < horros_> one more worm mail from that address, and I route it to hell 11:37 < horros_> also 85.196.168.222 11:37 < horros_> why can't people use firewalls and virus scanners? 11:37 < horros_> *sigh* 11:38 < horros_> <Wombert> OR MACS!!!1oneone! 11:38 < v-dogg> hahaha 11:39 < horros_> According to a 'Received:' trace, the message originated at: [85.196.168.222], 11:39 < horros_> apple.com (unknown [85.196.168.222]) 11:39 < horros_> heh 11:39 < horros_> good try there. 11:39 < horros_> hahaha 11:39 < horros_> According to a 'Received:' trace, the message originated at: [85.196.168.222], necora.fi (unknown [85.196.168.222]) 11:39 < horros_> even better try! 11:40 < horros_> I know our own IP-address! 11:40 < horros_> I do wonder who/what that is. 11:41 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has quit [Remote closed the connection] 11:41 < horros_> there are mails from that IP-address claiming to be from apple.com, cvs.tigris.org, vsiivola at cc.hut.fi, my own mail address, php.net etc etc 11:42 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has joined #agavi 12:02 < horros_> whoa 12:02 < horros_> now THAT's a class name! 12:02 < horros_> AbstractTransactionalDataSourceSpringContextTests 12:06 < ttj> Yeargh, my eyes! 12:10 < MikeSeth> you think that's bad? 12:11 < MikeSeth> may I suggest Focal 77 which looks like this 12:11 < MikeSeth> 10.05 L I = I + 1 12:11 < MikeSeth> 10.06 P I 12:11 < MikeSeth> 10.07 G 10.01 12:11 < MikeSeth> etc. 12:14 -!- raidman [n=raidman@unaffiliated/raidman] has quit [Read error: 60 (Operation timed out)] 12:18 < horros_> MikeSeth: http://www.cs.uta.fi/~ml75939/logo/A2.txt 12:18 -!- Wombert [n=Wombert@dslb-084-056-034-164.pools.arcor-ip.net] has quit [Nick collision from services.] 12:18 -!- Wombert_ [n=Wombert@dslb-084-056-017-254.pools.arcor-ip.net] has joined #agavi 12:26 < MikeSeth> is that scheme? 12:27 < MikeSeth> looks perfectly comprehensible to me, as far as I can comprehend functional code 12:28 < horros_> that's Prolog :) 12:28 < horros_> I love it :) 12:28 < horros_> print out an arbitary number of lines from Pascal's triangle: 12:28 < horros_> http://www.cs.uta.fi/~ml75939/logo/C53.txt 12:28 < horros_> :) 12:29 < horros_> I should see how short I can make that 12:29 < horros_> recursion <3 12:36 -!- eremit [n=eremit@p5490FBC1.dip.t-dialin.net] has joined #agavi 12:44 < RossC0> heh - anyone know how I can reparse .bash_profile? 12:44 < RossC0> I made some changes and logged out and in but no jo 12:44 < RossC0> +y 12:44 < v-dogg> source .bash_profile ? 12:45 < v-dogg> ah, but it doesn't get executed on login 12:45 < v-dogg> hmm 12:56 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 13:06 < RossC0> hmm can I found out what user svn is running as? My post-commit hooks are failing :( 13:11 < RossC0> anyone? 13:11 < horros_> RossC0: stuff whoami > /tmp/smeg into the post-commit hook? 13:11 < horros_> how do you have svn set up? 13:11 < horros_> tunneled via ssh? 13:13 * horros_ pokes RossC0 in the eye 13:14 < RossC0> horros_: nope just on the box 13:14 < RossC0> ok adding :-) 13:15 < v-dogg> hmm... 13:15 < v-dogg> error messages are not passed in forward anymore 13:15 < RossC0> horros_: its running it as me :eek: 13:16 < RossC0> how'd I set it to another user? 13:16 < RossC0> or is that a compile option 13:16 * RossC0 confused 13:16 < horros_> RossC0: it all depends on how you run it 13:17 < RossC0> ah because I have svn co file://balh... 13:17 < v-dogg> Wombert! 13:18 < RossC0> so do I need it to be svn co svn://myrepo/trunk ? 13:19 < v-dogg> I'd think so 13:19 < horros_> RossC0: --username ? 13:19 < horros_> humm 13:19 < horros_> why would post-commit hooks run on a checkout? 13:20 < Xylakant> RossC0: hooks should run on file:// access just as on svn:// and http(s):// 13:21 < horros_> Xylakant: that's not the issue, the issue is svnserve runs as the wrong user 13:21 < horros_> I think. 13:21 * horros_ is confused 13:21 < RossC0> sorry meant on checkin 13:21 < Xylakant> well, is the hook executable by the user the server runs as? 13:21 < RossC0> ah svnserve isnt running 13:21 < horros_> RossC0: is your user part of the subversion-group? 13:22 < RossC0> there isn't a subversion group 13:23 < horros_> or svn 13:23 < RossC0> hmm - ok - I think I need to setup svnserv to run as www-data and then svn switch to the server ? 13:24 < RossC0> Xylakant: the problem is there are multiple users committing in - so I could open it to 777 perms - but that seems bad :( 13:24 < horros_> RossC0: nonono 13:24 < horros_> what you'd do is add all the users to the svn-group and give write-permission for the group 13:28 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 13:30 < RossC0> hmm horros_ - How'd I set up svnserve to run as a certain user? 13:36 < Xylakant> RossC0: is this a *ix system or windows? 13:38 < RossC0> *ix 13:38 < RossC0> I found umask - but I have no idea how to determine a users id 13:39 < Xylakant> umask does something completely different 13:39 < RossC0> Iah ok 13:39 < RossC0> ok going with horros_'s original plan 13:43 < RossC0> cool working - thanks all :-) 14:37 -!- eremit_ [n=eremit@p5490E5E6.dip.t-dialin.net] has joined #agavi 14:46 -!- eremit [n=eremit@p5490FBC1.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 14:55 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 15:02 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 15:02 < Xylakant> who do i shoot? the flash guy that tried to write php code or the project manager who thought it was a great idea and would save resources if the flash guy wrote php? 15:06 < RossC0> Xylakant: get them ALL! 15:07 < Xylakant> I will. One day I will... 15:07 * RossC0 pelts them with rocks 15:07 < RossC0> (sharp rocks) 15:10 < Xylakant> i mean: two email-injections, one sql injection, multiple violations against best practices and as the final topping storing a timestamp as an int. and all of this cramped into 106 lines of code. 15:10 < Xylakant> that's gold standard. 15:14 < _cheerios> what's wrong with storing unix timestamp as-is? 15:17 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 104 (Connection reset by peer)] 15:17 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 15:17 < Xylakant> _cheerios: that there is a specific database type dedicated to storing dates 15:18 < _cheerios> quick googling says, that if on mysql, timestamp won't do if you need dates before 1970 or after 2038 (though probably will be fixed by this time :)) 15:18 < Xylakant> why don't we store integers and floats as CLOBs 15:18 < _cheerios> yeah, but was it also database vendor specific isn't it? lock in. 15:18 < Xylakant> _cheerios: unix timestamps won't help you in that case anyways 15:18 < Xylakant> and there is still DATETIME on MySQL 15:19 < Xylakant> which does the trick in this case 15:19 < _cheerios> what trick? 15:19 < Xylakant> a range outside 1970 - 2038 15:19 < Xylakant> and VARCHAR types are vendor specific as well - such as VARCHAR2 used by oracle etc. 15:20 < _cheerios> yeah, if you need that, then timestamps won't do. but it seems pretty much like the only case. And that is only mysql specific. 15:20 < Xylakant> same goes for LOBs/CLOBS 15:20 < Xylakant> so you always need to pay attention what database you're using. That is no excuse for using the wrong type 15:21 < _cheerios> just a matter of semantics more than right/wrong. 15:21 < Xylakant> a date is a date 15:21 < Xylakant> no matter what 15:22 < Xylakant> and i want to be able to use date comparisons on dates 15:22 < Xylakant> how do you use < NOW() is it's an int? 15:22 -!- MrJeep [i=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:22 < MrJeep> morning everybody 15:22 < Xylakant> yeah, use < UNIX_TIMESTAMP(NOW()) 15:22 < MrJeep> I downloaded MacOSX 10.4.8 overnight 15:22 < MrJeep> I'm ready to re-install it 15:23 < Xylakant> :) 15:23 < MrJeep> and guess what 15:23 < MrJeep> i'll probably have sound 15:23 < MrJeep> I realised my board has an embed sound card 15:23 < _cheerios> so? works fine. what about when you need to convert your datetime to another format when displaying it to the user? what do you use? 15:23 < MrJeep> which I'm prettu sure is supported 15:23 < MrJeep> :D 15:23 < _cheerios> but does it play Halo? 15:24 < MrJeep> hahahaha 15:24 < Xylakant> _cheerios: but i have to take extra steps. And when I need to display the date to a user that's an application thing. And I don't use unixtimestamps in the process 15:24 < MrJeep> that's some sort of trademark joke or somehtnign ? 15:25 < _cheerios> like, all the date conversions methods in php take a timestmap so it's easy to pump that into them straight from the DB to get proper formatting 15:25 < Xylakant> are you using layout tables and <span class="headine"> "because it works"? 15:25 < Xylakant> DateTime/PEAR::DATE 15:26 < Xylakant> once you had to deal with the problem that the unixtimestamp range is 1970 - 2038 you won't use unixtimestamps any more 15:26 < Xylakant> *some* systems support negative timestamps, but that is *no* posix requirement 15:27 < Xylakant> so some systems just don't 15:27 < _cheerios> again, back to square one of discussion. i guess that ends it. heh. 15:27 < Xylakant> sorry, if i may sound draconian on that matter 15:28 < Xylakant> but i had to convert an app using timestamps 15:28 < Xylakant> to something that could store dates before 1970. 15:40 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 15:40 < Whisller> hi 15:42 < Xylakant> hi 15:43 < v-dogg> hi 15:43 < Niacin> off to work 15:43 < Niacin> bbl 15:43 -!- Niacin [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has quit [Client Quit] 15:49 -!- _horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 15:49 -!- horros_ [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 104 (Connection reset by peer)] 15:56 -!- MrJeep_ [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:58 < MrJeep_> Wombert_: do you know a quick and easy way to know the kernel version ^ 16:02 < v-dogg> uname -a 16:03 < MrJeep_> thnx 16:03 < MrJeep_> now I know I have the right kernel to install my sound drivers 16:04 < v-dogg> sounds very much like luunix stuff 16:04 < v-dogg> are you sure you installed macos?-) 16:08 < _horros> haha 16:10 < MrJeep_> v-dogg: Ill send you a screenshot 16:10 -!- MrJeep_ [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 16:14 < digitarald> seems his screenshot tool killed his mac 16:18 < Xylakant> lol 16:19 < Xylakant> or he had to take a picture and reboot to windows because his camera has no macos driver :) 16:38 < Prometheus^> ⌘⇧3 would've done the trick 16:39 < Xylakant> i know :) 16:39 < Xylakant> however, I would not have known where the symbols are on the keyboard... 16:41 < Prometheus^> ? 16:42 < Prometheus^> multistroke keybindings ala textmate 16:42 < Prometheus^> I don't know where you would otherwise go to link those glyphs 16:46 < _cheerios> i use window.location='http://go.com'; in an iframe... it should redirect the window? 16:46 -!- Xylakant [n=fgilcher@8.206.27.217.static.versanetonline.de] has quit ["Leaving"] 16:46 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 16:47 -!- Xylakant [n=fgilcher@8.206.27.217.static.versanetonline.de] has joined #agavi 16:58 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has joined #agavi 16:58 < _cheerios> parent.location worked instead. hmmkei. i hope that works for IE etc. too 16:58 < Niacin> agavi!@#! 16:58 < Prometheus^> _cheerios: window.location shouldn't work since that would be applying to the iframe window :P 16:59 < v-dogg> Niacin: what ya bitching, dogg 16:59 < Niacin> i wasn't bitching ;) 17:00 < v-dogg> ok then :) 17:00 < Prometheus^> I have a feeling snoop is going to get arrested on every single one of his european stops 17:00 < Prometheus^> tour stops 17:00 < Niacin> i was like "steeeeeeelllllllaaaaa" 17:00 < v-dogg> like "ruuuuun Forrest, ruuun!" ? 17:00 < Niacin> ya 17:01 < v-dogg> ... and they call us Finns weirdos... 17:01 < Niacin> im gonna go and try and get a new ux280p today 17:01 < Niacin> i scratched mine... i want a new one 17:04 < v-dogg> did you figure out your session/db/cookie settings? 17:05 < Niacin> i'm still working on that... I was working on the c backend part lat night 17:05 < Niacin> last* 17:05 < Niacin> trying to make the frontend scalable and build some sort of api for it 17:05 < Niacin> lots of work ;\ 17:06 < Niacin> and now i gotta buy 200 msntvs on ebay 17:06 < Niacin> so thats gonna take up some time 17:06 < Prometheus^> o_O 17:06 < Prometheus^> what are you working on? 17:07 < Prometheus^> an attempt to take over the world? 17:07 < Niacin> heh well i already have 30 17:07 < Niacin> i bought those before i released my Linux port 17:07 < Niacin> so i only paid $0.99 per unit 17:07 < Niacin> now they are at like $30 a unit 17:07 < Niacin> because every nerd and his mum is trying to buy em 17:08 < Niacin> i figured 200 - 250 is enough to break the guy next doors WEP key 17:08 < Niacin> i hate that guy ;\ 17:11 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:15 < Prometheus^> o_o 17:18 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 17:27 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 17:28 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 17:30 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 17:36 -!- MrJeep_ [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 17:41 -!- MrJeep_ [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 17:59 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:00 < _cheerios> ooh, i totally missed viacom suing google for $1bn 18:03 -!- MrJeep_ [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 18:03 < MrJeep_> Yaya 18:03 < MrJeep_> NTFS read and write support 18:03 < Xylakant> ? 18:03 < Wombert_> in OS X 18:03 < Wombert_> via MacFUSE 18:03 < MrJeep_> exacly 18:03 -!- Wombert_ is now known as Wombert 18:03 < Xylakant> we wondered what happened to you 18:04 < MrJeep_> to me ? 18:04 < Xylakant> a bit quirky still, but seems to work nicely 18:04 < Xylakant> yes, you promised to send a screenshot and left the second later 18:04 < MrJeep_> oh 18:05 < Xylakant> so we wondered wether the screengrab tool crashed you :) 18:05 < Xylakant> or rather your brand new macos 18:05 < MrJeep_> hehe no, I just had to reboot like 6 times in a row 18:05 < Xylakant> ;) 18:06 < Xylakant> they joy of installing a new operating system 18:07 < MrJeep_> yeah 18:07 < MrJeep_> Wombert: how do you install fonts ? 18:07 < MrJeep_> just copy to Font folder ?? 18:07 < Wombert> click on them 18:07 < Wombert> then click install 18:07 < Wombert> I think 18:07 < MrJeep_> pretty easy 18:08 < MrJeep_> I have sounds now 18:08 < MrJeep_> and the video drivers works perfectly 18:08 < MrJeep_> no glitches, no artefacs 18:08 < MrJeep_> and the graphics acceleration is good 18:08 < Wombert> don't think you can copy them to the fonts folder - makes sense, that's a system folder, why would you as a user have to know the location :) 18:08 < Wombert> nice 18:08 < Wombert> if your graphics card is core image capable 18:09 < Wombert> you should see a wave effect when adding a new widget on the dashboard 18:09 < MrJeep_> let see 18:09 < MrJeep_> it does 18:09 < Wombert> cool 18:09 < Wombert> flurry is the best screen saver btw :p 18:09 < Wombert> even windows people love it 18:09 < Wombert> <: 18:10 < MrJeep_> :D 18:10 < MrJeep_> the last thing I'll try to work out is my second screen 18:12 < Xylakant> second screen has always been: plug in, go for me 18:13 < digitarald> bahahaha ... http://dev.opera.com/articles/view/opera-developer-tools/ ... tried to start it with opera, throws an javascript error ... great 18:14 < digitarald> ok ... opera had his chance for a nice debug tool 18:14 < Xylakant> hey, they consider this as "alpha". 18:14 < Xylakant> which translates to "ready for release" in web2.0 terms 18:14 < Wombert> opera... is still hopeless after all these years 18:14 < Wombert> and not worth bothering 18:15 < Xylakant> for a while, it was the best browser on unix operating systems 18:15 < digitarald> but an opera tool ... even in alpha status ... should not throw a js error in opera ... 18:15 < MrJeep_> lets see what eclipse can do :D 18:15 < digitarald> during start 18:15 < Xylakant> back then when mozilla was still a wet dream and netscape 4.7 a common nightmare 18:16 < digitarald> ok, it throws an error but in the end it works ... 18:16 < digitarald> nice 18:17 < Xylakant> i guess they never bothered fixing it internally, i do know quite a couple of those "just ignore them" errors in stuff used here. 18:17 < digitarald> ooooh yes ;) 18:17 < digitarald> or no ... i ignored them 18:24 < MrJeep_> is there a font editor with macosx ? 18:24 < _cheerios> is Heroes on a break? 18:25 < _cheerios> ah... At the end of episode 18, "Parasite", it was announced that Heroes would go on hiatus until April 23, 2007 18:26 < digitarald> yes 18:27 < Wombert> omg 18:28 < digitarald> who the fuck is Viacom? 18:28 < Wombert> uhm 18:28 < Wombert> lol 18:28 < Wombert> :> 18:28 < Wombert> mtv... sega... dreamworks... 18:29 < Xylakant> viacom: MTV, VIVA, Comedy Central 18:29 < digitarald> ah 18:29 < digitarald> this Viacom ;) 18:29 < Xylakant> and some more 18:29 < Wombert> oh and paramount 18:29 < Wombert> http://en.wikipedia.org/wiki/Viacom 18:29 < digitarald> just typed "wiki Viacom" 18:29 < _horros> doesn't viacom own viasat too? 18:29 < Xylakant> a small video production enterprise 18:30 < Wombert> http://en.wikipedia.org/wiki/List_of_assets_owned_by_Viacom 18:30 < digitarald> this i why i call wikipedia klugscheisserwiki ;) 18:31 < digitarald> damn, elpais creates beautiful urls :D 18:31 < digitarald> http://www.elpais.com/articulo/internet/Viacom/exige/1000/millones/dolares/YouTube/usar/videos/permiso/elpeputec/20070313elpepunet_5/Tes 18:40 -!- MrJeep_ [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 18:42 -!- MrJeep_ [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 18:44 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 18:45 < RossC0> anyone help me with a regex - need to check that any open brackets have a close bracket 18:45 < RossC0> i.e. this would fail: SUM({Q2}) /COUNT({Q1} 18:45 < Xylakant> RossC0: this is impossible with regexps 18:46 < RossC0> ok cool - I''l work round by counting the number of open and close and ensure they match 18:46 < RossC0> thanks Xylakant 18:47 < Xylakant> regexps have no knowledge about the context 18:48 < Xylakant> and counting is the way to go :) 18:51 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 18:51 < Wombert> Xylakant, RossC0: stooooop 18:51 < Wombert> it is possible 18:51 < Wombert> with lookahead assertions and recursive subpatterns 18:52 < Wombert> \( ( (?>[^()]+) | (?R) )* \) 18:52 < Wombert> enjoy 18:52 < Wombert> :) 18:52 < Wombert> or if you don't want nested brackets... 18:54 * digitarald is waiting for Xylakant arguments 18:54 < Wombert> ( \( (?>[^()]+) \) )* 18:54 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 19:04 < MrJeep_> what was the url to install php ? 19:09 < RossC0> Wombert: knew you'd work one out :) 19:09 < RossC0> btw parenthesis are optional 19:10 < MrJeep_> Wombert: do you know if it'S possible to setup a svn server on osx ? 19:11 < RossC0> MrJeep_: of course it is 19:12 * RossC0 goes and googles to make sure of his facts :) 19:12 < MrJeep_> I've looked quite fast .. 19:12 < RossC0> you a darwin ports man? 19:16 -!- MrJeep [i=MrJeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)] 19:18 < Wombert> oh 19:18 < Wombert> my 19:18 < Wombert> god 19:18 < Wombert> http://entertainment.timesonline.co.uk/tol/arts_and_entertainment/tv_and_radio/article1499832.ece 19:20 -!- kaos [n=kaos@ppp-82-135-0-15.dynamic.mnet-online.de] has joined #agavi 19:21 < RossC0> NOOO 19:21 < _horros> NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO! 19:22 < RossC0> if we have to we will kidnap him and film our own TG released via youtube 19:22 < Wombert> yes 19:22 < Wombert> count me in 19:23 < _horros> me too 19:24 < RossC0> :> 19:24 < _horros> all though 19:24 < _horros> like the comment says 19:24 < _horros> sure, top gear WON'T come back in the summer 19:25 < _horros> because it continues in the autumn 19:25 < _horros> so he might just have said "no, there won't be a top gear series this summer" 19:25 < RossC0> phew 19:25 < _horros> ...and strategically left out the "...but we'll be back this autumn" 19:25 < _horros> :) 19:25 < RossC0> so we don't have to kidnap him? 19:25 < _horros> s/have to/get to/ 19:25 < _horros> but no 19:26 < _horros> I don't think so 19:26 < RossC0> ha well 19:26 < RossC0> The field of the rape seed crop - is near where I live - next village along :) 19:28 < _horros> hmm 19:29 < Niacin> Wombert, so getcontext() 19:29 < _horros> why won't people understand that for the ones who want a car show about "reasonably priced cars" and "green cars" and yadda yadda... 19:29 < Niacin> expalin that ;> 19:29 < Niacin> explain* 19:29 < _horros> THERE ARE FOUR BILLION OF THOSE SHOWS! 19:29 < _horros> the sister show, for example. 19:29 < _horros> Niacin: short version: it returns the current application context 19:29 < _horros> :D 19:30 < RossC0> http://www.37signals.com/svn/posts/317-screens-around-town-code-igniter-800-flowers-dreamhost 19:30 < Niacin> so besides request what else do you use it for ? 19:30 < RossC0> hehe he code-igniter 19:31 < _cheerios> CI :p 19:33 < Xylakant> Wombert, digitarald: while this may be nitpicking, recursive subpatterns don't describe a regular language in the mathematically strict sense 19:33 < Xylakant> and counting the number of opening/closing brackets is more efficient than the regular expression 19:34 < Xylakant> it has no parsing/backtracking overhead and terminates in O(n) 19:34 < RossC0> Xylakant: I agree it seemed simplier to just do the count - and I like simple 19:34 < RossC0> I am simple :) 19:34 < _horros> oh gods 19:34 < RossC0> right laters all - its time for home! 19:35 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:35 < _horros> please don't tell me I have to download bloody quicktime bundled with itunes and a billion other crap just to watch a .mov 19:35 < Wombert> _horros: VLC? 19:35 < Xylakant> it needs at most 2*n comparisons if you're looking for () pairs (n) being the number of chars in the input string 19:36 < Wombert> _horros: and you don't have to download itunes, too 19:36 < Xylakant> and it does not have the overhead of invoking the regexp engine 19:36 < Wombert> http://www.apple.com/quicktime/download/win.html 19:36 -!- MrJeep_ [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has left #agavi [] 20:01 -!- digitarald [n=Miranda@234.Red-83-50-119.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 20:09 < Xylakant> intersting enough the string{$var} access in php is dead slow, so the naive "walk over the string and test each char" approach is about ten times slower than the regexp 20:10 < Xylakant> and degrades massively with increasing input length 20:11 < Xylakant> however, using substr_count() to count the number of opening/closing brackets is way faster than the regexp :) 20:12 < Xylakant> and the difference gets bigger the longer the input string gets. so my statement stands 20:14 < Xylakant> wombert: out of curiosity, did you test that regexp? 20:17 < Wombert> no 20:17 < Wombert> p 20:17 < Wombert> :p 20:17 < Xylakant> though so 20:17 < Xylakant> because it doesn't work :) 20:17 -!- _horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] 20:19 < splatch> oi! 20:21 < Xylakant> so now that i learned something new about php i can quit this channel and wish you all a peaceful evening :) 20:21 -!- Xylakant [n=fgilcher@8.206.27.217.static.versanetonline.de] has quit ["Leaving"] 20:29 -!- benny`work [n=benny@p54AC3598.dip0.t-ipconnect.de] has joined #agavi 20:42 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["."] 21:01 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 21:02 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"] 21:41 -!- JeanPhilippe [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 21:42 -!- JeanPhilippe [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has left #agavi [] 21:54 -!- JeanPhilippe [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 21:55 -!- Niacin_ [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has joined #agavi 21:55 < Niacin_> whats $tm ? 21:55 < Wombert> translation manager 21:57 -!- JeanPhilippe [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 22:00 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 22:04 -!- MrJeep [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 22:05 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has joined #agavi 22:09 < Niacin_> value="<?php echo $tm->_('Login', 'default.Login'); ?>" 22:09 < Niacin_> and that does? 22:09 < Wombert> translate the string "Login" in domain "default.Login" 22:09 < Wombert> to the current locale 22:09 < Wombert> _c() formats a currency 22:10 < Wombert> _n() formats a number 22:10 < Wombert> _d() formats a date 22:10 < Niacin_> and _() formats lang? 22:10 < Wombert> strings, yes 22:12 < Niacin_> this confuses me 22:12 < Niacin_> you have "view" then you have templates 22:12 < Wombert> yes 22:12 < Wombert> a view can, but does not have to, use a template 22:13 < Wombert> for instance, the executeRss() method in the view that renders RSS output would use a helper library to make an RSS XML document from an array 22:13 < Wombert> whereas the executeHtml() method that creates the normal web page for that action runs a template 22:13 < Wombert> or several templates on various layers 22:14 < Niacin_> so it would be better for me to put my code in templates 22:15 < Wombert> your html etc? 22:15 < Wombert> uhm 22:15 < Wombert> of course, where else would you put it? 22:15 < Niacin_> in the view? 22:17 -!- MrJeep [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 22:17 < Wombert> no, no 22:17 < Wombert> if you generate code by hand (i.e. write html), use a template 22:17 < Niacin_> what about php ? 22:18 < Wombert> remember, the view and the template are, together, the view 22:18 < Wombert> as defined in MVC 22:18 < Wombert> that's the whole point of a template... 22:18 < Wombert> <?=$t['price']?> 22:18 < Niacin_> so wouldn't it make more sense to put the templates dir under view? :) 22:18 < Wombert> hm 22:18 < Wombert> maybe :p 22:18 < Wombert> you can do that if you like ;) 22:21 < Niacin_> can you go through a quick example with me 22:21 < Niacin_> i.e how the login example works 22:21 < Niacin_> more for flow then anything 22:21 < Wombert> login page, initial display 22:21 < Wombert> web server runs index.php 22:22 < Wombert> that bootstraps agavi with an environment (development, production, testing, development-joe, development-mike etc) 22:22 < Wombert> then the instance of a context is retrieved (web, mobile, console, xmlrpc, soap, you name it) and that context's controller gets dispatch()ed 22:23 < Wombert> in dispatch(), the routing is run (if enabled) to determine which action to execute 22:23 < Wombert> a list of global filters is built and the chain of filters is run, ending with the dispatch filter that then commences the actual work of running the action the user requested 22:24 < Alystair> Wombert: any video tutorials of agavi around yet? 22:24 < Wombert> the respective execution container is execute()d, running a completely isolated instance of the action, with it's own request data (very good for security if you have validation enabled), which again runs through some filters (called action filters), then the action is run 22:24 < Wombert> Alystair: nope 22:24 * Alystair shakes fist 22:24 < Wombert> the action returns the name of the view to call 22:25 < Wombert> that view is then executed, it does all the presentational stuff 22:25 < Wombert> redirect to a different page, or set cookies, or set which templates to run etc 22:25 < Wombert> usually by loading a pre-defined layout 22:25 < Wombert> these template layers are then rendered, and the result is put into the action's container's response object 22:26 < Wombert> controll falls back through the action filters (each calls the next one) and the global filters into dispatch() 22:26 < Wombert> where the response is merged together with existing information and ultimately sent back to the browser (or whatever called it) 22:27 < Niacin_> complex 22:27 < Wombert> in between, a lot of other stuff happens, mainly during the initialization of the context, where request, routing, logging, database etc is initialized and set up for you, sessions started, and so on 22:28 < Wombert> yes, but very powerful ;) 22:28 < Wombert> should note that there's also output types involved 22:28 < Wombert> the action code is (or should be) totally independent of under what circumstances it is run 22:28 < Wombert> i.e. it shall never set cookies 22:28 < Wombert> or set text 22:28 < Wombert> or... whatever 22:29 < Wombert> that's the view's job 22:29 < Wombert> like 22:29 < Wombert> you insert a new product into the database 22:29 < Wombert> for the web interface, you want to make a redirect in the browser to the new product's page 22:29 < Wombert> but for the SOAP web service, you want to send back the ID of the newly created resource along with a "succcess" flag 22:30 < Wombert> that all took some time to figure out but the result is that you can have an HTML, RSS and PDF version of your LatestProducts action without having to duplicate code 22:30 < Wombert> in fact, you don't have to touch the action again to add a new output format 22:30 < Wombert> just like you don't have to touch existing code if your boss walks in a week after the website launch and demands an XMLRPC interface for business partners 22:31 * Alystair learns better from example 22:31 < Niacin_> so where does the biz logic code go? 22:31 < Niacin_> in the view? 22:31 < Wombert> no! 22:31 < Wombert> in actions 22:31 < Wombert> and models 22:31 < Niacin_> models == controller? 22:31 < Alystair> I'm reading the documentation here, but I'm thinking there should be a few example applications bundled 22:31 < Wombert> no 22:31 < Alystair> ... lol 22:31 < Wombert> agavi's actions are pretty much the controllers in mvc 22:31 < Wombert> models are... models 22:31 < impl> Alystair: There is one sample 22:31 < Wombert> views are views 22:31 * v-dogg sits quietly in the dark and watches the show 22:32 < Wombert> Alystair: and there will be more in the future 22:32 < Wombert> it's just that we're all reaaaally busy and stuff :p 22:32 < Wombert> you know, earn a living and such 22:32 < Wombert> you could donate! :) 22:32 < Alystair> how much? 22:32 < Alystair> lol 22:32 * Alystair could donate $20 :D 22:32 < Wombert> give me money for a month and I'll sit down 25 days and write docs nonstop 22:32 * v-dogg goes and gets his account number ready 22:32 < Wombert> ;) 22:32 < Alystair> D: 22:33 * Alystair isn't that rich yet, give me half a year 22:33 < Alystair> when this startup takes off finally 22:33 < Alystair> impl/Womber: I'm just diving into this whole world headfirst again, after a 5 year long hiatus, have to re-learn everything :) 22:34 < Wombert> :) 22:34 * Alystair reads Wombert's wall-o-text 22:37 < impl> FSCKING SUBVERSION 22:37 < impl> DO WHAT I WANT 22:38 < Niacin_> Wombert read your pmsg :) 22:38 < Wombert> Niacin_: read your server notice ;) 22:39 < Alystair> hah 22:39 < Wombert> http://freenode.net/faq.shtml#privmsg 22:41 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has quit [Nick collision from services.] 22:41 -!- Niacin_ is now known as Niacin 22:41 -!- cwade_ [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has joined #agavi 22:41 < Niacin> i'm sure my msg will interest you :) 22:41 < impl> dllstx :| 22:43 < Niacin> ; 22:43 < Niacin> ;\ 22:53 < Niacin> kinda just died all of a sudden 22:55 < impl> It happens 23:13 < Wombert> reboot 23:14 -!- Wombert [n=Wombert@dslb-084-056-017-254.pools.arcor-ip.net] has quit [] 23:17 -!- Niacin [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has quit [] 23:31 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 23:57 -!- Wombert [n=Wombert@dslb-084-056-017-254.pools.arcor-ip.net] has joined #agavi --- Day changed Wed Mar 14 2007 00:08 < impl> That was a long reboot =D 00:10 -!- v-dogg [i=vmakinen@phantom.daug.net] has quit [Read error: 104 (Connection reset by peer)] 00:10 -!- v-dogg [i=vmakinen@phantom.daug.net] has joined #agavi 00:18 < Wombert> :p 00:18 < Wombert> forgot to come back online :> 00:25 < Wombert> and that's easy to forget with a macintosh where you never reboot, but instead just close the lid and put it to sleep ;) 00:28 -!- digitarald [n=Miranda@62-43-152-110.user.ono.com] has joined #agavi 00:33 -!- digitarald [n=Miranda@62-43-152-110.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 00:34 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 00:50 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 00:51 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [] 01:03 -!- Wombert [n=Wombert@dslb-084-056-017-254.pools.arcor-ip.net] has quit [] 01:11 < Whisller> ehh 01:59 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 02:02 -!- Wombert [n=Wombert@dslb-084-056-017-254.pools.arcor-ip.net] has joined #agavi 02:06 -!- benny`work [n=benny@p54AC3598.dip0.t-ipconnect.de] has quit ["unset($this);"] 02:15 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 02:23 -!- Whisller [n=Whisller@217.97.146.67] has quit [" good night :)"] 02:33 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 04:34 < Alystair> how does agavi compare to CodeIgniter? 04:38 < impl> From what I've heard from former CodeIgniter users (Prometheus^), it's much better 04:38 < impl> You'd have to ask him why/how 05:00 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:01 < Wombert> Mar 14 01:02:22 Wombook kernel[0]: System SafeSleep 06:01 < Wombert> Mar 14 01:02:22 Wombook kernel[0]: mapping_hibernate_flush start 06:01 < Wombert> Mar 14 01:02:22 Wombook kernel[0]: mapping_hibernate_flush time: 254 ms 06:01 < Wombert> ... 06:01 < Wombert> Mar 14 01:02:22 Wombook kernel[0]: all time: 5564 ms, comp time: 2409 ms, deco time: 0 ms, 06:01 < Wombert> Mar 14 01:02:22 Wombook kernel[0]: image 210191872, uncompressed 456515584 (111454), compressed 208228644 (45%), sum1 52ff2a07, sum2 86694137 06:01 < Wombert> Mar 14 01:02:22 Wombook kernel[0]: hibernate_write_image done(0) 06:01 < Wombert> Mar 14 01:02:22 Wombook kernel[0]: sleep 06:01 < Wombert> and then... 06:01 < Wombert> Mar 14 01:02:22 Wombook kernel[0]: IOBluetoothHCIController::restartShutdownWL this is a wake from sleep 06:01 < Wombert> Mar 14 01:02:22 Wombook kernel[0]: System Wake 06:01 < Wombert> Mar 14 01:02:22 Wombook kernel[0]: Wake event 0020 06:01 < Wombert> Mar 14 01:02:24 Wombook kernel[0]: USB caused wake event (OHCI) 06:01 < Wombert> Mar 14 01:02:24 Wombook kernel[0]: USB caused wake event (EHCI) 06:02 < Wombert> I hope this is not 10.4.9 06:03 < Wombert> and why ze... did I (not the computer) wake up :p 06:04 < Wombert> and drinking a liter of water before going to sleep without having to pee when you get up is a clear sign of not having consumed enough water throughout the day 06:32 -!- Wombert [n=Wombert@dslb-084-056-017-254.pools.arcor-ip.net] has quit [] 07:35 -!- Wombert [n=Wombert@dslb-084-056-017-254.pools.arcor-ip.net] has joined #agavi 07:36 < Wombert> huomenta 08:07 -!- eremit_ is now known as eremit 08:20 < horros_> huomenta 08:20 < horros_> eep 08:21 < horros_> have to make coffee quickly, the building is without water between 9 and 14 :( 08:22 < horros_> NO NO, NO NEED! ZERE IS WASSER IN ZE BUILDINK! 08:26 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has quit [] 08:43 < Wombert> heh 08:44 < horros_> hmm 08:44 < horros_> all of these colour palettes I'm looking at are rubbish 09:03 < Wombert> www.colorburn.com 09:03 < Wombert> mmh 09:03 < Wombert> no that's not it 09:03 < Wombert> http://www.firewheeldesign.com/widgets/ 09:03 < Wombert> hmm 09:04 < Wombert> I thought that was a dedicated site, too, not just a widget... 09:12 < v-dogg> huomenta 09:14 < horros_> humm 09:14 < horros_> how do you get the borders to change on inputs when they get focus? 09:14 < horros_> I suppose I have to set up event listeners 09:14 < horros_> :I 09:14 < Wombert> input:focus 09:15 < Wombert> but doesn't work in IE 09:15 < horros_> :O 09:15 < horros_> who gives a shit about IE? 09:15 < horros_> :) 09:15 < Wombert> you can even do stuff like 09:15 < Wombert> div.info { display: none; } 09:15 < Wombert> input:focus + div.info { display: block; } 09:16 < Wombert> then, when a user focuses a field, the respective info box below gets shown 09:16 < horros_> that's pretty neat 09:18 < horros_> hmm 09:19 < horros_> ze focus is not a-working :( 09:20 < horros_> wait 09:20 < horros_> gah 09:20 < Wombert> :hover works, too 09:20 < Wombert> might wanna consider 09:20 < horros_> firefox is so annoying when it chooses to just not... well, really refresh anything 09:20 < Wombert> input[type=checkbox]:hover + div.info ... instead 09:21 < Wombert> (for checkboxes and radios) 09:21 < horros_> I remember spending like an hour yelling at ff because I looked at "view source", I saw an <option> had selected="selected" set... but it just wouldn't select it when I hit Ctrl-R 09:21 < Wombert> multiple? 09:21 < horros_> then I just focused on the address bar and hit enter... 09:21 < horros_> et voilá 09:21 < horros_> it just refused to properly refresh everything on CTRL-R 09:22 < horros_> and no, it wasn't a multiple :) 09:23 < horros_> wtf 09:23 < horros_> now my input:focus disappeared again 09:24 < Wombert> www.getfirebug.com 09:24 * horros_ rubs eyes 09:24 < horros_> Wombert: I have firebug 09:24 < horros_> it says it's not applied to the element. 09:24 < horros_> It was two seconds ago before I changed the colour 09:24 < horros_> something funky is going on here 10:18 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 10:19 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 10:20 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 10:26 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:26 < RossC0> huomenta 10:28 < v-dogg> huomenta :) 10:33 < _cheerios> huomenta 10:39 < Wombert> man that must make you finns proud :) 10:39 < RossC0> Morgen :) 10:54 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 11:02 < horros> FINALLY! 11:02 < horros> I *FINALLY* got winmerge to ignore the version comments 11:02 < horros> \o/ 11:34 -!- Wombert [n=Wombert@dslb-084-056-017-254.pools.arcor-ip.net] has quit [Nick collision from services.] 11:34 -!- Wombert_ [n=Wombert@dslb-084-056-038-012.pools.arcor-ip.net] has joined #agavi 11:42 -!- digitarald [n=Miranda@234.Red-83-50-119.dynamicIP.rima-tde.net] has joined #agavi 11:52 -!- Wombert [n=Wombert@dslb-084-056-062-076.pools.arcor-ip.net] has joined #agavi 11:59 -!- Wombert_ [n=Wombert@dslb-084-056-038-012.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 12:03 -!- Zibi [n=asd@80.4.120.163] has joined #agavi 12:22 < _cheerios> ppl at the gym are increasing now that summer is closing in *g* 12:25 < ttj> Heh. 12:26 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 12:35 < Prometheus^> we share a building with elixia, they are doing their part of the advertising "Kesäksi kuntoon!" :P 12:36 < Prometheus^> I don't get it though, why not just work out all year around :) 12:38 < _cheerios> what kind of pills do they recommend? 12:39 < Prometheus^> pills..? 12:44 < _cheerios> to get really fit, really fast, by summer. 12:47 < RossC0> _cheerios: get really fit, really fast, by summer ? become a lumberjack 12:48 < _cheerios> likely would pose problems fitting that into normal day rhythm 12:49 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 12:52 < RossC0> _cheerios: if you became a lumberjack you would have a new daily routine!! 12:52 < RossC0> no more [][] eyes 12:53 < v-dogg> heh 13:25 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 13:25 < Whisller> Hi 13:26 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 13:27 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [Client Quit] 13:27 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 13:28 < Whisller> What method, clear parameters ? 13:30 < Whisller> Because I send by post, and refresh to previous page. And sometimes it add 2 records 13:30 -!- digitarald [n=Miranda@234.Red-83-50-119.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 13:31 < RossC0> Whisller: refreshing resets the parameters 13:32 < RossC0> as it reposts the form 13:32 < Whisller> RossC0, so why it add two records? 13:32 < Whisller> Not always but sometimes yes. 13:32 < Wombert> because you hit f5? 13:32 < Wombert> :p 13:32 < Whisller> no Wombert 13:32 < Wombert> solution: always redirect to the inserted resource 13:32 < Whisller> <meta http-equiv="Refresh"... 13:33 < Whisller> I do that 13:33 < Wombert> you insert something on GET? 13:33 < Whisller> post 13:33 < RossC0> nah - Whisller redirect to in the view i.e. on insert success 13:34 -!- digitarald [n=Miranda@234.Red-83-50-119.dynamicIP.rima-tde.net] has joined #agavi 13:34 < Wombert> refreshing _might_ cause the browser to re-use the post data 13:34 < Wombert> that happens with 307 or something, too 13:35 < Wombert> but that should yield a warning 13:35 < Whisller> I add date into database, then return 'Success'; And in Success set redirect to previous page 13:35 < Whisller> AddAction 13:37 < RossC0> Whisller: why not redirect to view the content thats added 13:38 < RossC0> but yeah - will stop the f5 / refresh problem 13:39 < Whisller> hmm ok i check it. Another question, 503 error code, can by from refresh? 13:41 < Whisller> *refresh can cause 503 error code? 13:42 < RossC0> shouldn't do 13:43 < Whisller> hmm maybe I have problems with server 13:43 < RossC0> it would be where it redirects to - and then that would issue a 503 ? 13:44 < Whisller> It happened when I add data into database by PDO, and trying redirect to previous page. But not allways. 13:45 < Wombert> Whisller: only when... mmmh.. validation error occurs or so? 13:45 < Whisller> *always 13:45 < Whisller> http://whisnet.pl/gluszak/Administration.html Micha Guszak, gluszak.pl/rozklad-Haslo 13:46 < Whisller> Category: Miasta, Action: Add 13:46 < Whisller> *Dodaj 13:51 < Whisller> But it does not happen always. You can add 10 records and everything will be ok. But on 11 return a 503. This same problem is on http://testowy.bitmar.net/gluszak/, but rarely 13:51 < Whisller> In this actions is only one insert. 13:51 < Wombert> my bet is it's LiteSpeed's fault 13:51 < Whisller> to mysql 13:52 < Wombert> lunch => 13:52 < Whisller> bon appetit! 13:53 < Whisller> :) 13:55 < Whisller> ahh one more thing, when it return 503 error it Add two records to database. 14:40 * RossC0 new favorite windows app: http://www.launchy.net/ 14:44 -!- [1]Whisller [n=Whisller@217.97.146.67] has joined #agavi 14:44 -!- Whisller [n=Whisller@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 14:44 -!- [1]Whisller is now known as Whisller 14:44 < v-dogg> RossC0: you are already using that? 14:46 -!- eremit [n=eremit@p5490E5E6.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 14:48 < RossC0> v-dogg: started using it yesterday 14:50 < Prometheus^> oh what do ya know :D 14:51 < Prometheus^> very powerful tool that is, been using the mac equivalent, quicksilver, since I got a mac :) 14:52 < RossC0> yeah - I got a mac at home and was wondering what quicksilver was - had a look, saw this as a windows port - tried it out and like it 14:52 < RossC0> so now have quicksilver at home 14:52 < Prometheus^> it's the only way to go about opening programs :) 14:52 < RossC0> :) kind of came to it in a backwards manner 14:52 < Prometheus^> although at least quicksilver offers far more functionality, beyond just file opening 14:53 < Prometheus^> like moving a bunch of files at once :) 14:53 < Prometheus^> from different locations 14:53 < Prometheus^> the stack is such a nice feature on quicksilver 14:55 < Prometheus^> RossC0: might want to check out http://www.themerlinshow.com/ep/006-howto-quicksilver-comma-trick for another nice feature on quicksilver 14:56 < RossC0> cool 15:11 < MikeSeth> for the love of god 15:12 < MikeSeth> stupid DB_DataObject randomly ignores a field I sue 15:12 < MikeSeth> for no reason at all 15:22 < v-dogg> RossC0: did you manage to set up any feasible unit testing environment? 15:24 < v-dogg> for agavi actions that is 15:32 -!- Whisller [n=Whisller@217.97.146.67] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"] 15:35 < RossC0> v-dogg: haven't had time to 15:35 < RossC0> v-dogg: I have it for testing models etc.. so I think it shouldn't be a problem testing individual actions 15:35 < RossC0> but no functional testing 15:36 < RossC0> ...yet :-) 15:37 < RossC0> its kind of mental at work I started a project in Feb that was supposed to begin last August and the deadline hasn't moved so I've got until June to do it all 15:37 < RossC0> plus have to train someone else to use Agavi and I'm still learning it ;) 15:38 < v-dogg> make them come here 15:39 < v-dogg> a new company policy: spend at least 0.5h irc'ing 15:39 < v-dogg> every day 15:52 < Prometheus^> any ideas where I might raise the pear memory limit? 15:52 < MikeSeth> PEAR has its own memory limit? 15:53 < Prometheus^> apparently it wouldn't take what was given in the php ini 15:55 < v-dogg> ? 15:56 < v-dogg> php -i | grep 'Configuration File' 15:57 < Prometheus^> hmm, so it is the file 15:57 < Prometheus^> but it still gives me 8mb exhausted though the file has 64mb set.. 15:57 < Prometheus^> o_O 16:01 < Prometheus^> ah well, it installed the module nonetheless 16:30 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 16:37 * RossC0 pokes Zibi 16:38 < Zibi> hello 16:38 < Zibi> can somebody help me with setting up json and ajax page 16:38 < Zibi> what to add to output_types.xml 16:38 < Zibi> and how my action will know which one execute 16:39 < Zibi> is it done automaticly 16:39 < Zibi> or i have to add some code to action 16:39 < RossC0> Wombert / digitarald I remember you two talking about how best to do it 16:40 < v-dogg> I know very little about json and ajax but I do know about setting up output_types 16:40 < Whisller> yes they explained it me ;) 16:40 < v-dogg> first: action should not care what the output type is 16:41 < v-dogg> the easiest way to set it is to let routing worry about it 16:41 < v-dogg> or you can set it manually in View::initialize 16:41 < RossC0> v-dogg: can we use our existing routes? or do we have to redeclare the routes? 16:41 < Zibi> RossC0 dont want to do it via routing 16:42 < RossC0> I just told Zibi off for doing that :-s 16:42 < v-dogg> :) 16:42 < RossC0> was hoping to keep my routes DRY 16:42 * RossC0 nudges Wombert 16:43 < v-dogg> <route pattern="text/javascript" source="_SERVER[HTTP_ACCEPT]" output_type="html_ajax" stop="false" /> 16:43 < v-dogg> one extra route 16:43 < RossC0> is that all :) 16:43 < RossC0> Zibi: you can use that one :) 16:43 < RossC0> <3 Agavi 16:45 < Zibi> ok thx 16:46 < v-dogg> then set up the output type (output_types.xml, use xinclude, don't duplicate common parts) 16:47 < v-dogg> and then define executeJson(AgaviRequestDataHolder $rd) in your views 16:47 < RossC0> cool - thanks v-dogg 16:48 < RossC0> Zibi will get his 0.5h in today :) 16:48 < v-dogg> hehe 16:54 < digitarald> i have these routes for ajax (dom fragments) and json: 16:54 < digitarald> <route name="output_ajax" pattern="XMLHttpRequest" source="_SERVER[HTTP_X_REQUESTED_WITH]" output_type="ajax" stop="false" /> 16:54 < digitarald> <route name="output_json" pattern="JSON" source="_SERVER[HTTP_X_REQUEST]" output_type="json" stop="false" /> 16:56 < Zibi> ok 17:01 < MikeSeth> bah 17:01 < MikeSeth> YUI rox 17:01 < MikeSeth> seriously 17:03 < digitarald> mh ... why? 17:04 < digitarald> because they support prototype and jquery for their EXT 17:04 < digitarald> ? 17:08 -!- MrJeep [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 17:08 < MrJeep> morning everybody 17:09 < v-dogg> afternoon 17:11 < MrJeep> I love my hackintosh :D 17:11 < MrJeep> The day it supports dual screen 17:12 < MrJeep> I move all my HD to HSF+ 17:12 < MrJeep> and I keep only a small partition for windows 17:12 < MrJeep> for gaming 17:12 < MrJeep> anyway 17:12 < MrJeep> what's up everybody ? 17:20 < RossC0> _cheerios: is looking for magic pills, I found out that Quicksilver rocks via a windows clone, Zibi is playing with web2.0 technologies, MikeSeth loves YUI and IRC'ing at work is compulsory 17:20 < RossC0> :-) 17:25 < MrJeep> hehe 17:25 < MrJeep> that's quite a nice "résumé" 17:27 < MikeSeth> digitarald: no, it's just formal enough to fit with Agavi applications without messing up things 17:27 < MikeSeth> And, its components WORK 17:28 < MikeSeth> Every type something goes wrong with scriptaculous, I have to figure out what I did wrong from crashes in prototype code 17:28 < MikeSeth> Getting YUI to work was easier. 17:29 < digitarald> MikeSeth, if u need a full featured UI yes, its the best solution 17:29 < digitarald> Xylakant, does your conversion from transcorners work w/o problems? 17:30 < MrJeep> Wombert: Which SVN client do you suggest ? 17:31 < MikeSeth> svn 17:31 < MikeSeth> digitarald: I am working on a billing/accounting app at the moment, so yeah 17:31 < MikeSeth> for web site effects et all I'd take moo 17:31 < MikeSeth> stupid explorer, for(foo in bar) doesnt work 17:35 < MrJeep> Svg GUI client 17:35 < MrJeep> svn* 17:36 < RossC0> MrJeep: svnx for the mac 17:36 < RossC0> http://www.apple.com/downloads/macosx/development_tools/svnx.html 17:36 < MrJeep> ok, Allready have this one 17:37 < MrJeep> He crashed on the very first try 17:37 < MrJeep> :S 17:44 < Xylakant> digitarald: so far, yes 17:46 < Xylakant> it's a little slower, needs more elements to achieve the same effect 17:50 < MrJeep> where exacly can I manage the Deamons ? 17:50 < MrJeep> err wrong cha 17:50 < MrJeep> t 17:53 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 18:00 -!- Alystair [n=bob@CPE0009a3009d22-CM00407b85fb2b.cpe.net.cable.rogers.com] has joined #agavi 18:06 < Alystair> Wombert/anyone: anyone here played with CodeIgniter? 18:10 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [Read error: 104 (Connection reset by peer)] 18:11 < RossC0> Alystair: 37 signals did a nice screen shot of it the other day :) 18:12 < Alystair> :@ 37 signals? 18:17 -!- benny`work [n=benny@p54AC359B.dip0.t-ipconnect.de] has joined #agavi 18:17 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 18:18 < Wombert> MrJeep: I use commandline svn 18:18 < Wombert> and the subversion bundle in textmate 18:18 < MrJeep> ok 18:18 < Wombert> Alystair: I looked at it and was disgusted :p 18:19 < Alystair> Wombert: why :\ 18:19 < Alystair> THEY have a video demo 18:19 < Alystair> Agavi does not D: 18:19 < Alystair> brb restarting, sound card exploded, reply later 18:19 -!- Alystair [n=bob@CPE0009a3009d22-CM00407b85fb2b.cpe.net.cable.rogers.com] has quit [] 18:19 < Wombert> k 18:20 < v-dogg> Wombert: how about adding use_content_caching setting? 18:20 < Wombert> err? 18:20 < v-dogg> or is there a quick way to disable the caching? 18:20 < v-dogg> if you have a zillion cache/*.xml 18:21 < Wombert> sure 18:21 < Wombert> exec filter 18:21 < MikeSeth> MrJeep: I just use emacs, and run svn from the shell :) 18:21 < Wombert> use_caching 18:21 < v-dogg> ah, brilliant 18:21 < v-dogg> nevermind then :) 18:21 < Wombert> err 18:21 < Wombert> enable_caching 18:21 < MikeSeth> Wombert: it would be nice if you added a phing target to generate ctags tag tables. 18:21 < Wombert> cwhat? 18:21 < MikeSeth> its what vim & emacs use for code browsing 18:22 < Wombert> mmmh 18:22 < Wombert> here's the bad news 18:22 < MikeSeth> you run ctags on your sourcetree producing a 'tag table' file, which the editor then uses to jump to definitions 18:22 < Wombert> ah 18:22 < Wombert> so not for code completion 18:22 < MikeSeth> you can use it too, but I simply use emacs' abbrebation features instead 18:22 < Wombert> feel free to write such a task, mate, I have textmate and it allows me to jump to symbols ;) 18:22 < MikeSeth> abbreviation* 18:23 < MikeSeth> damn mac zealots! 18:23 * MikeSeth hides 18:23 < MikeSeth> oh well I'll figure phing out and submit a patch.. and I still have to review the code someone else modified for pear mdb2/dbo and commit it 18:24 < Xylakant> hmm. somehow agavi is not loading the layout I want it to load 18:24 < Xylakant> well, it does not load any layout 18:24 < Xylakant> what could I be doing wrong? 18:26 < Wombert> mmmmh 18:26 < Wombert> blank page? 18:26 < Wombert> suhosin? 18:26 < Wombert> http://trac.agavi.org/ticket/484 18:27 < Xylakant> no 18:27 < Xylakant> it executed the view 18:27 < Xylakant> and returned the content, jsut forgot the layout 18:28 < digitarald> wow, codeigniter has these videos ... with these awesome After Effects explosions ... and textmate and they create a blog in 9min ;) 18:28 < Wombert> and you're calling loadLayout and all? 18:28 < Xylakant> the problem was that i had the decorator layer improperly nested 18:28 < Xylakant> in the output_types.xml 18:29 < Xylakant> it was like that: <layers> 18:29 < Xylakant> <layer name="content" /> 18:29 < Xylakant> </layers> 18:29 < Xylakant> <layer name="decorator" class="AgaviFileTemplateLayer"> 18:29 < Wombert> yeah 18:29 < Wombert> RelaxNG ftw 18:29 < Xylakant> no error returned by the parser.. 18:29 < Wombert> yes 18:29 < Wombert> can't return errors 18:29 < Wombert> http://trac.agavi.org/ticket/462 18:29 -!- Alystair [n=bob@CPE0009a3009d22-CM00407b85fb2b.cpe.net.cable.rogers.com] has joined #agavi 18:30 < Alystair> ok now you may discuss/flame IC :) 18:30 < Wombert> digitarald: now it's time to say that again :p 18:30 < Alystair> er CI 18:30 < Xylakant> hmm 18:30 -!- benny`work is now known as benny`patchslut 18:30 < Xylakant> unsatisfying 18:30 < Wombert> Xylakant: we cannot do anything about it. sorry. 18:30 < Xylakant> but now i know what i need to look for 18:31 < Wombert> you can omit <layers> 18:31 < Wombert> that's why you run into this problem 18:31 < Xylakant> make it required again :) 18:31 < Wombert> no 18:31 < Wombert> gonna break apps 18:31 < Wombert> and it's a pain for nested <parameter>s 18:32 < Wombert> xml schema does not allow definition of such things 18:32 < Xylakant> i know 18:32 < Xylakant> not your fault still unsatisfying :) 18:32 < Wombert> that's why we'll move to relaxng + schematron for 1.0 18:32 < Wombert> plus 18:33 < Wombert> it's nice that you find this unsatisfying 18:33 < Wombert> because it means that we get pretty much all of the rest spot on ;) 18:33 < Wombert> I wonder how many things about... erm... code igniter? you'd find "unsatisfying" :D 18:35 < Wombert> Alystair: CI is PHP4, the routing is rubbish, they don't have support for template engines, it has no support for internationalization, it has no support for environments and contexts, no support for output types 18:35 < Xylakant> what is CI? 18:35 < Wombert> which means simple things like a SOAP interface or a RESTful API are only possible if you hack about every single part of the framework 18:36 < Wombert> and that might sound bigheaded, but that's the case for all of the frameworks out there 18:36 < Wombert> including those that receive all the attention, like symfony 18:36 < Xylakant> hey, symphony is a great framework 18:36 < Wombert> except, maybe, zend framework, but that is not a framework, it's a bunch of classes 18:36 < Xylakant> the jsut released v1.0 18:37 < Xylakant> rails does support rest and soap :) 18:37 < Wombert> non-php frameworks don't count 18:37 * Xylakant pours oil in the flames 18:37 < Xylakant> go,flamewar, go 18:37 < digitarald> hail symfony 18:37 < Wombert> and I'm happy to say that some things about agavi make rails or django look very, very dull in comparison 18:38 < Wombert> you still cannot have support.myowndomain.com for your basecamp account 18:38 < Wombert> because rails cannot support it unless you hack it in 18:38 < Wombert> in agavi, it's one route with a callback 18:38 < Xylakant> what does rails not support? 18:38 < Wombert> matching hostname in the routing 18:38 < Wombert> or an http header 18:39 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:39 < Wombert> or something like that 18:39 < Wombert> plus ze callbacks :) 18:39 < Wombert> and it's relatively static /lala/lala/lala last time I checked 18:39 < Wombert> at least you can define regular expressions for the parts ;) 18:40 < Xylakant> calm down :) 18:40 < Wombert> Alystair: plus CI only supports caching of full pages etc 18:41 < Wombert> you can only cache a page for n minutes 18:41 < Wombert> not even different versions for, say, logged in and logged out users 18:42 < Wombert> but that's useless on a site where you want people to be able to log in... because you want to display "logged in as lala" somewhere 18:42 < Wombert> so that part has to be dynamic, while other parts are more static and thus can be cached 18:42 < Xylakant> rails has the adavantage of the beauties of ruby 18:42 < Xylakant> 1. <% if @results.each do |result| -%> 18:42 < Xylakant> 2. ... 18:42 < Xylakant> 3. <% end.empty? -%> 18:42 < Xylakant> 4. nothing! 18:42 < Xylakant> 5. <% end -%> 18:43 < Xylakant> which emulates smartys foreach - else 18:43 < Wombert> plus security... CI doesn't seem to have any sort of built in authentication, credentials, roles, whatever system 18:45 -!- MrJeep [n=JeanPhil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 18:46 < v-dogg> I don't think CI even tries to cater for complex projects 18:46 < Wombert> yeah 18:46 < RossC0> guys you are missing the point 18:46 < RossC0> didn't you see the video! 18:47 < _cheerios> videos make you cool 18:47 < RossC0> You *can't* have a framework without a video 18:47 < _cheerios> i look forward to Wombie rapping about Agavi 18:47 < Wombert> yeah we'll have one too, I promise. one day. :p 18:47 < RossC0> its just not possible 18:47 < Wombert> _cheerios: it's gonna rawk 18:47 < RossC0> Agavi != framework until video 18:47 < RossC0> :p 18:47 < Wombert> yes 18:48 < Wombert> at least until we have a website 18:48 < _cheerios> making videos is fun. watching yourself in them can be painful. 18:48 < RossC0> website ?? Thats sooo last year - its all youTube and myspace now baby 18:48 < Alystair> exactly 18:48 < RossC0> infact we should set up our website covertly on another site 18:49 < RossC0> seriously, thou - videos man - they're just distillations of hours of work 18:49 < RossC0> I can make a blog in 9 minutes - yeah right 18:50 < RossC0> only after you've made it about 10 times in prep for the video 18:50 < _cheerios> that was yesterday. it's 9 seconds now. attension spans have gone down. 18:50 * RossC0 remembers to breathe again 18:50 < _cheerios> it takes a whole 21 minutes to learn C. 9 minutes to make a blog is too much. 18:50 < Wombert> the videos are usually accelerated, too 18:50 < Wombert> and you don't get a single thing the guy does 18:51 < _cheerios> you missing ze frank already? 18:51 < RossC0> you mean people don't touch type? 18:51 < Wombert> _cheerios: three shows to go! 18:51 < RossC0> phew - I was getting an inferiority complex about that ... 18:52 < Alystair> I can help with website layout 18:52 < Alystair> :P 18:52 < Wombert> we have one already 18:52 < Wombert> the designer is just a bit... slow :p 18:53 < Alystair> ok good less work for me! 18:53 < RossC0> http://www.37signals.com/svn/posts/320-preview-7-highrise-plays-well-with-email 18:53 < RossC0> "dropbox@12345678.subdomain.highrisehq.com. The “12345678” is a unique PIN. When you send, cc, bcc, or forward emails to that address, Highrise knows they are from you. Then Highrise goes to work." 18:53 < RossC0> Thats playing nicely is it? 18:54 < RossC0> nice email address... 18:55 < RossC0> why not have email context and match the senders email address for the unique id 18:56 < RossC0> i.e. important@subdomain.blah or contact@subdomain.blah 18:56 < Wombert> what is highrise? 18:56 < Wombert> a CRM? 18:56 < Alystair> hrm 18:56 * Alystair wishes there was an API for dreamhost's email forwarding stuff 18:56 < Alystair> going to have to roll my own 18:56 < Wombert> my gripe exactly, RossC0, you still can't have your own domain with their stuff. useless. all they need is a * vhost and five lines of code 18:56 < Alystair> ugly hack :) 18:57 < RossC0> yeah I think it was expected to be called sunrise or similar 18:58 < RossC0> mind you some of the features look well thought but the could do better 18:58 < _cheerios> anyone worked with 37 signals APIs? 18:58 < RossC0> *they 19:10 < Xylakant> ok, cu guys 19:10 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 19:10 < _cheerios> excellent. was worried for a sec no new tentacle porn for tonight. 19:11 < Alystair> eh 19:12 < Alystair> _cheerios has some interesting obsessions 19:20 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 19:42 < RossC0> laters all 19:42 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:47 < v-dogg> Wombert, kaos 19:49 -!- JamieWolf [n=jamiewol@e177177139.adsl.alicedsl.de] has joined #agavi 19:54 -!- JamieWolf [n=jamiewol@e177177139.adsl.alicedsl.de] has quit [Client Quit] 19:57 -!- Zibi [n=asd@80.4.120.163] has quit [] 20:07 < Wombert> v-dogg: you know the drill :p 20:07 < v-dogg> :) 20:08 < v-dogg> yeah, how would I validate headers or cookies with agavi? 20:08 < v-dogg> manually in validate*()? 20:08 < Wombert> no no 20:08 < Wombert> let me check... 20:08 < Wombert> I think it's source="cookie" or so for <validator> 20:09 < Wombert> yep 20:09 < Wombert> or maybe <parameter name="source">cookie</parameter> 20:09 < Wombert> not sure 20:09 < v-dogg> ok 20:21 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 20:32 < _cheerios> aaaarg... some sites really slow down to 0.0001fps on firefox, it's shit :/ 20:34 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 131 (Connection reset by peer)] 20:35 -!- Whisller [n=Whisller@217.97.146.67] has quit [" Want to be different? HydraIRC -> http://www.hydrairc.com <-"] 20:36 < Alystair> oh wow 20:36 < Alystair> that was a large rant 20:36 < Alystair> ... but they have a video demo. 21:00 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 21:06 -!- Arme[N] is now known as Arme[0] 21:07 -!- digitarald [n=Miranda@234.Red-83-50-119.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 21:34 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 22:17 -!- Wombert [n=Wombert@dslb-084-056-062-076.pools.arcor-ip.net] has quit [] 22:38 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 22:52 -!- Alystair [n=bob@CPE0009a3009d22-CM00407b85fb2b.cpe.net.cable.rogers.com] has quit [] 22:56 -!- Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 23:03 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Read error: 145 (Connection timed out)] 23:25 < impl> hmmh 23:25 < impl> If I want to load locales from a database instead of a config file, should I just override AgaviTranslationManager::loadAvailableLocales? 23:41 < kaos> impl: exactly 23:41 < impl> Cool beans --- Day changed Thu Mar 15 2007 00:03 < _cheerios> http://www.kottke.org/07/03/men-look-at-crotches 00:04 < Prometheus^^> http://img413.imageshack.us/img413/1020/img0124pe5.jpg 00:04 < Prometheus^^> magic potion :) 00:04 < Prometheus^^> (don't view full size, taken with a horrible quality camera) 00:05 < _cheerios> probably camera was too heavy ... to get a clear shot 00:06 < Prometheus^^> the camera is made of plastic :P 00:06 < Prometheus^^> I think I paid all of $30 for it 00:07 < _cheerios> this shakiness of camera picture can be remedied by visits to the gym 00:07 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 00:07 < Prometheus^^> mmhmm.. 00:11 < _cheerios> hyvää juttua iltamyöhään... yöt 00:11 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["nn"] 00:12 < Prometheus^^> tööt 00:14 * Whisller is trying to learn english. Wish me luck... 00:15 < Prometheus^^> good luck 00:18 < splatch> Whisller: nie zapomnij o polskim ;) 00:18 < Whisller> hehe 00:19 < Whisller> Ehh problem with english is, it has got strange phrase for me O.o 00:20 < impl> English is a terrible language 00:20 < impl> In terms of grammar, syntax, and spelling 00:21 < Whisller> And tenses, the has got tenses for everything 00:21 < impl> Yeah 00:21 < Whisller> when you write letter you have got X tense when you want say good bey another ;p 00:23 < Prometheus^^> I like english, though :) 00:23 < Prometheus^^> I prefer to speak english over my native tongue 00:23 < Whisller> Prometheus^^, because you know it :P 00:23 < Whisller> I have a big problem with this language :/ 00:24 < Prometheus^^> Whisller: well, I know both languages 00:24 < Prometheus^^> but I find english much more enjoyable 00:25 < Whisller> :) 00:25 < Prometheus^^> that's just me though :) 00:25 < Whisller> Try polish ;) This is a hard language 00:25 < Prometheus^^> no doubt, I knew one word of polish, but I forgot how to say it :) 00:25 < Prometheus^^> it was "thank you" 00:26 < Whisller> Dzikuje :) 00:26 < Prometheus^^> yeah, that's what, I just don't know how one pronounces that :) 00:27 < Whisller> hehe 00:27 < Prometheus^^> ah well, next time we have a developer meeting I'll have to ask our polish developer to teach me some polish again :) 00:29 < Whisller> Brzczyszczykiewicz :D 00:29 < Whisller> This is a good word ;) 00:30 < Prometheus^^> mmhmm 00:30 < Whisller> Lastname from polish movie, but don't wory. Polish have a problem with it ;) 00:30 -!- Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Client Quit] 00:31 < Whisller> Ok first step in my education, Present Simple ^^ 00:32 < Whisller> O splatch and how a article? 00:32 < Whisller> *an 01:49 < Whisller> hmm 01:49 < Whisller> I'm alone? 01:51 < Whisller> *Do I'm alone? 01:52 < Whisller> Is it a good phrase :> 01:52 < impl> Am I alone? 01:53 < impl> is the correct phrasing 01:53 < Whisller> ehh right 01:54 < Whisller> I must find teacher ;) 02:00 < Whisller> this is horrible 02:11 < Whisller> First cats for fences. Now can be only better. 02:15 < Whisller> ICQ is so ugly O.o 02:15 < Whisller> ble 02:26 -!- [1]Whisller [n=Whisller@217.97.146.67] has joined #agavi 02:26 -!- Whisller [n=Whisller@217.97.146.67] has quit [Read error: 54 (Connection reset by peer)] 02:26 -!- [1]Whisller is now known as Whisller 02:32 -!- Whisller [n=Whisller@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 03:05 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 104 (Connection reset by peer)] 03:22 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 03:26 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Client Quit] 04:01 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 04:06 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has joined #agavi 04:29 -!- Niacin [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has joined #agavi 04:30 < Niacin> evening all 04:37 -!- benny`patchslut [n=benny@p54AC359B.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)] 04:52 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 04:53 < Niacin> dead eh 04:53 < Niacin> ? 05:09 < Niacin> so what happens when executeWrite/Read return? 05:11 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has quit [] 05:36 -!- kaos- [n=kaos@ppp-82-135-0-15.dynamic.mnet-online.de] has joined #agavi 05:39 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: kaos, v-dogg 05:41 -!- Netsplit over, joins: v-dogg 07:46 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 08:15 -!- digitarald [n=Miranda@62-43-152-47.user.ono.com] has joined #agavi 09:14 -!- eremit [n=eremit@p5490c546.dip.t-dialin.net] has joined #agavi 09:16 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:16 < _cheerios> hello 09:20 < v-dogg> huomenta 09:20 < _cheerios> fk, hope im not becoming sick. all these sickly ppl coughing in the trains lately. 09:53 -!- Wombert [n=Wombert@dslb-084-056-062-076.pools.arcor-ip.net] has joined #agavi 09:56 < Wombert> huomenta 09:56 < horros> huomenta 09:59 < _cheerios> huomenta *big morning yawn* 10:00 < ttj> Mornin'. 10:00 * horros hands everyone a big steaming cup of Presidentti-coffee 10:01 < Wombert> presidentti? 10:01 < Wombert> that#s a coffee brand in finland? 10:01 < horros> yep 10:01 < Wombert> oh man you guys are so awesomely weird :) 10:03 < ttj> Yay, washed my coffee mug for the first time in roughly 4 months. 10:05 -!- Niacin [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has quit [Client Quit] 10:11 < Arme[0]> http://www.jeffpalm.com/fox/index.html eh :) 10:11 < Arme[0]> huomenta 10:18 < _cheerios> heh 10:19 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:19 < _cheerios> "wrong way" :p 10:20 < RossC0> huomenta 10:20 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has joined #agavi 10:38 -!- horros [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 11:46 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 11:49 -!- Wombert [n=Wombert@dslb-084-056-062-076.pools.arcor-ip.net] has quit [Nick collision from services.] 11:49 -!- Wombert_ [n=Wombert@dslb-084-056-004-240.pools.arcor-ip.net] has joined #agavi 12:01 < MikeSeth> damnit 12:03 < v-dogg> woot 12:14 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 12:21 -!- Wombert_ is now known as Wombert 12:27 < RossC0> hmm anyway to turn debug = false for json output types 12:28 < RossC0> so my ajax is smoooth and fast 12:28 < Wombert> nope 12:28 < RossC0> boo :( 12:28 < RossC0> ok np 12:28 < Wombert> disable debug 12:28 < Wombert> you don't need it when developing actions and views 12:28 < Wombert> it's just for when you change things included in compile.xml 12:29 < Wombert> under normal development, and after updating agavi, you have to clear the cache 12:36 < RossC0> sure - no worries 12:43 < _cheerios> ajax is wierd when it's not responsive 12:45 < horros_> ahaha, standard equipment on a Lada 110 (brand new, mind you) include such gems as mirrors that can be adjusted from the inside, a glove compartment with (*GHASP*) A LID!, a clock, read window wiper and ... ZOMG -- A LIGHT IN THE BOOT! 12:45 < horros_> rear* 12:46 < digitarald> RossC0, why do u have debug on all the time 12:46 < digitarald> its so damn slow 12:47 < _cheerios> looking for a summer car, horros_ ? 12:47 < _cheerios> that's about all you need, minus the new part :) 12:48 < horros_> _cheerios: yep, I was looking at http://tinyurl.com/2hvwnf 12:48 < horros_> :) 12:48 < horros_> then one click lead to another and I somehow ended up at lada.fi :) 12:50 -!- kaos- [n=kaos@ppp-82-135-0-15.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 12:55 < RossC0> digitarald: so I can say I've made it dam fast :-p 12:55 < RossC0> I though it was for displaying error messages as well/// 12:55 < Wombert> nope 12:55 < Wombert> but you can do that 12:55 < Wombert> just define a different exception template for "production" mode 12:56 < Wombert> so regular visitors don't get ze huge (and verbose) agavi exception screen 12:58 < RossC0> Ah ok - I'll put that on my todo list :) 13:04 -!- kaos [n=kaos@ppp-82-135-83-164.dynamic.mnet-online.de] has joined #agavi 13:18 < _cheerios> http://www.abc.net.au/science/news/stories/2007/1872191.htm 13:20 < Wombert> is that britney with a toupet? 13:30 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 13:46 -!- Zibi [n=asd@80.4.120.163] has joined #agavi 13:46 * Zibi waves 13:49 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)] 13:55 < MikeSeth> ammm 13:56 < MikeSeth> horros_: Lada? isn't that a russian car?! 13:56 < horros_> sure is 13:56 < MikeSeth> and you'd care about it because...? 13:56 < horros_> the lada Niva rocks 13:57 < MikeSeth> oh uhm Niva is quite much something else. The main line of Ladas is pretty poor 13:57 < MikeSeth> Niva is a bad ass field jeep 13:57 < horros_> I'm quite aware of that. 13:58 < Wombert> Nico Rosberg and Alex Wurz will drink from black and gold drink bottles branded by Finnish energy drink Battery. 13:58 < Wombert> worst finnish name ever 13:58 < Wombert> :< 13:58 < Wombert> not even remotely funny or weird 14:01 < horros_> I love coding in Java with a proper IDE 14:01 < horros_> <3 14:01 < horros_> private Integer id; 14:01 < ttj> Wombert: Battery? 14:01 < ttj> I have 11 cans in my cubicle right now. 14:01 < horros_> right click => encapsulate and WHAM, getters and setters in two seconds 14:01 < horros_> ttj: l00ser! 14:01 < horros_> let me count... 14:02 < horros_> 16 cans :D 14:02 < ttj> Well, I just emptied it the other week. ;-) 14:02 < horros_> hehe 14:02 < ttj> The cleaning lady broke my pyramid. 14:02 < horros_> stupid cleaning lady :( 14:03 < horros_> egads 14:03 < horros_> <3 <3 <3 14:03 * horros_ 's heart explodes with love 14:04 < MikeSeth> I want to write an UI helper that'd generate some amount of code. Should I do it as a filter or as a helper class that outputs code to be used directly in the templates? 14:04 < Wombert> what does it do 14:05 < MikeSeth> inserts a YUI calendar widget, initializes it, and binds it to other events 14:05 -!- Zibi [n=asd@80.4.120.163] has quit [] 14:05 < MikeSeth> yields a bunch of javascript and HTML per request per instance 14:06 < ttj> horros_: http://www.flickr.com/photos/tjorri/421987811/ 14:07 < horros_> hehe 14:07 < horros_> hmm 14:07 < horros_> I should stick a big note in the roof saying "GET BACK TO WORK YOU SLACKER!" 14:08 < horros_> so every time I lean back and look up in the ceiling... :) 14:08 < _cheerios> heh @ note 14:08 < ttj> Bah, I like the "Ha! Ha! Millions on welfare depend on you, WORK HARDER!" 14:08 < horros_> hehe 14:20 < Wombert> MikeSeth: if you want the code all in one place... use a simple function 14:27 < Prometheus^> ttj: that's nothing 14:27 < Prometheus^> we've 2x 24 sets ;) 14:27 < Prometheus^> between 3 to 4 people 14:27 < ttj> So that's 12 cans per person. 14:28 < ttj> 12 >> 11. ;-) 14:28 < Prometheus^> well, it's not quite that even :P 14:28 < Prometheus^> I think it's more like 16, 16 10 6 14:28 < Prometheus^> :P 14:29 < ttj> Unfortunately I don't save all the cans. :-/ 14:29 < ttj> Can't really be arsed to drag the cans from school to work. :P 14:29 < Prometheus^> hehe 14:29 < Prometheus^> good enough reason :) 14:29 < horros_> http://img151.imageshack.us/img151/4466/cosbyinjadb3.gif 14:29 < horros_> hah 14:29 < horros_> how very silly 14:30 < ttj> Plus I have to pay for the Battery myself. Only coffee and tea are free. :-/ 14:30 < Prometheus^> that's def a downside 14:31 < Prometheus^> I use to pay for Teho juoma myself 14:31 < Prometheus^> but then I gave up all that :P 14:31 < Prometheus^> it does add up when you drink a can or two a day every day 14:31 < horros_> I've actually not had a battery in... about six months or so 14:31 < Prometheus^> and once you drink it like that, it doesn't really have any effect 14:32 < Prometheus^> so it's just for the "experience" 14:32 < horros_> I just haven't been arsed to take the cans away 14:32 < Prometheus^> I need to go cold turkey on battery for a couple months 14:32 < Prometheus^> well, all caffeine products :) 14:33 < ttj> Sounds painful. 14:33 < ttj> Please don't continue describing that. :P 14:33 < Prometheus^> :D 14:33 < ttj> Or do go on, I'm off to get some more coffee. ;-) 14:33 < Prometheus^> naw I'm done, makes me sad inside having to give up caffeine :P 14:34 < Prometheus^> but once it has no effect, there's really no point for me to consume it 14:34 < ttj> I know. It's sort of like losing an arm. 14:36 < digitarald> more helpers :D http://ajaxian.com/archives/jqpie-jquery-php-interface-extension ... first comment is a prado advertising :D 14:37 -!- eremit_ [n=eremit@p5490E679.dip.t-dialin.net] has joined #agavi 14:44 -!- eremit [n=eremit@p5490c546.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 15:05 -!- eremit_ is now known as eremit 15:06 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:07 < MrJeep> morning everybody 15:07 < MrJeep> afternoon for some 15:07 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 15:07 < Whisller> good afternoon 15:11 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has left #agavi [] 15:12 -!- MrJeep_ [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:12 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:14 < MrJeep> Anyone on a mac : a good FTP Client ? 15:14 < Wombert> cyberduck is... okay 15:14 < Wombert> yummyftp is kick ass (got it for free in MacAppADay) 15:15 < Wombert> transmit is "the" client but never tried it 15:15 < MrJeep> ok 15:16 < MrJeep> I repartitionned my disks yesterday, backuped everything 15:16 < MrJeep> I'm trying Mac for a Month 15:16 < MrJeep> I hope this is gonna be successful 15:16 < Whisller> phpunit tests a time to execute all methods from class? 15:16 < Wombert> MrJeep: use textmate 15:17 < MrJeep> Wombert: why is textmate so special ? 15:17 < Wombert> try it and see for yourself 15:17 < Wombert> and forget smultron 15:17 < MrJeep> I've tried it... very fast, and I didn't see anything that nice 15:17 < Wombert> it either crashes or it inserts invisible characters into your files, corrupting them 15:17 < MrJeep> smultron ? 15:18 < MrJeep> I use eclipse right now 15:18 < Wombert> textmate takes some time to get into 15:18 < MrJeep> but I can give it a spin 15:18 < Wombert> mh eclipse has the problem that it's java, slow, and... ultra ugly 15:18 < horros_> eclipse? slow? 15:19 < MrJeep> it's fast as eclipse on xp here 15:19 < Whisller> eclipse is not slow. 15:19 < Wombert> it is slow 15:19 < Wombert> it's the slowest thing on earth 15:19 < horros_> eclipse is slow if you try to run it with 10 megs of memory, Wombert. 15:19 < Wombert> I have 1,5 gigs 15:19 < Wombert> but it could be my crappy PPC CPU 15:19 < horros_> you might want to try to shut down some of your fancy osx display doohickeys that do nothing but suck memory 15:19 < Wombert> haha 15:19 < Wombert> goan, horros_ 15:19 < _cheerios> eclipse is okay on a dual core high-end intel 15:19 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 15:20 < MrJeep> yeah, it runs very well 15:20 < horros_> _cheerios: eclipse is just fine on my athlon somethingortheother 15:20 < MikeSeth> gyarrrr 15:20 < MikeSeth> how can I cause the date translator to return empty string for empty/zero date? 15:21 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 15:22 < Whisller> I have 1GB DRR2, and on xp runs eclipse, two IM, vertrigoserv, total commander, winamp.... and eclipse run good. 15:22 < Wombert> MikeSeth: write your own _d() that hsa a check for that 15:22 < Wombert> or 15:22 < Wombert> add a filter 15:23 < MikeSeth> how would a filter help here? 15:23 < horros_> Whisller: same. xchat, firefox (which always suck like 150+ megs, leaking heap of shit), thunderbird and a billion other things 15:23 < Wombert> what is the return value? 15:23 < MikeSeth> Wombert: *smack $this( 15:23 < MikeSeth> I just realized the stupid err of my ways 15:23 < MikeSeth> sec 15:23 < MrJeep> Wombert : Any shortcut key to rename something ? 15:24 < Wombert> enter 15:24 < Wombert> :) 15:24 < Wombert> cmd+up goes up, cmd+down opens 15:24 < Wombert> that's why the finder sucks 15:24 < Wombert> :) 15:24 < Whisller> When I had a 1.300 celeron, this was horrible. I could not using eclipse. Hmm I could not using enything :D 15:24 < MrJeep> thnx hehe, I think the shortcuts will be the hardest thing to learn hehe 15:24 < Whisller> *anything 15:25 < horros_> heh 15:25 < horros_> and of course eclipse will be slow if you stuff all the plugins you can find at it 15:25 < horros_> I actually have two instances of eclipse installed; one for java development and one for PHP 15:26 < Wombert> MrJeep: cmd+ctrl+alt+8 15:26 < Wombert> and 15:26 < Wombert> ctrl+mousewheel 15:26 < MrJeep> Shortcut to reformat all my HD ? 15:26 < horros_> lol 15:26 < Wombert> http://docs.info.apple.com/article.html?artnum=75459 15:26 < horros_> Wombert: quite a "shortcut" :D 15:26 < horros_> sounds almost like emacs 15:26 < horros_> :P 15:27 < MikeSeth> and emacs is the pinnacle of Good 15:28 < Wombert> MrJeep: http://murphymac.com/slib/switcher-guide-keyboard-shortcuts.htm 15:28 < MrJeep> oh thnx :D 15:31 < Whisller> How I can do that, if user has a right to view this page i return xView or if his does not have a right return yView ? 15:31 < Whisller> *rights 15:32 < Whisller> Where I must check it? 15:33 < Whisller> Which of methods if for it :> 15:33 < MrJeep> I feel I'm bombarded with new shortcut 15:36 < MikeSeth> Wombert: you are so right. It took me 40 seconds to figure out the translation manager and write my own hax over it 15:36 < Wombert> ttj: do you get discounts on mobile phones? 15:37 < Wombert> MikeSeth: glad to hear it worked for you :) 15:37 < ttj> Wombert: No. 15:37 < Wombert> how uncool 15:41 -!- Zibi [n=asd@80.4.120.163] has joined #agavi 15:41 < digitarald> Wombert, wasnt there an easy way to exec "SET NAMES utf8" for mysql in propel 15:42 < Wombert> which 15:42 < digitarald> config arguments for command that get executed when propel connects 15:43 < digitarald> i think i found the setting <setting id="charset">utf8</setting> 15:44 < Wombert> which... propel... version 15:44 < Wombert> yes 15:44 < Wombert> or <setting id="queries"><query>SET NAMES utf8</query></setting> 15:45 < digitarald> thx 15:50 < ttj> Wombert: Well, if you think about it, N doesn't directly sell mobile phones. How should I get a discount from something that we don't even directly sell to consumers. :-) 15:57 < MrJeep> Wombert: Is there any solutions for propel with php 5.1.6, at this point it'S missing the DateTime object grrr 15:57 < MrJeep> wondering if this object code is downloadable somewhere 15:58 < Wombert> propel 1.3 requires 5.2 15:58 < MrJeep> yeah I know, but the damn host says "ahh.. we'll update in ... between 2 days and 6 month" 15:59 < MrJeep> all that's missing I think is the DateTime object 16:00 < MrJeep> http://propel.phpdb.org/trac/ticket/365 16:02 < Wombert> yes, and that is a native php thing 16:02 < Wombert> maybe you can compile it in, not sure 16:02 < Wombert> but pdo has a lot of issues in 5.1 anyway... 16:04 < Wombert> MrJeep: http://derickrethans.nl/files/time-ffm2006.pdf 16:04 < Wombert> last but one slide 16:05 < MrJeep> The experimental stuff ? 16:05 < MrJeep> hope they'll accept to do this 16:07 < Wombert> no 16:07 < Wombert> it is in 5.2 16:07 < Wombert> ah you mean your hosting company 16:07 < Wombert> mmh 16:07 < Wombert> probably not :p 16:07 < MrJeep> yeah, All I need (i think) is the DateTime object for propel 16:07 < MrJeep> yeah, probably not :S 16:07 < Wombert> lunch => 16:12 -!- shoan [n=shoan@59.92.139.57] has joined #agavi 16:12 < MikeSeth> phew, finally figured out the stupid ruby net::https bug 16:14 < kaos> MrJeep: you should be able to disable the use of the DateTime class by using propel.useDateTimeClass = false in your build.properties 16:14 < MrJeep> oh nice 16:14 < MrJeep> kaos: thnx i'll try that a soon as possible 16:25 < Wombert> no, that won't help 16:29 < kaos> why not ? 16:29 < Wombert> because it always uses DateTime internally 16:30 < Wombert> that option only changes the method signatures 16:30 < kaos> hms 16:34 < MikeSeth> propel is getting badass aint it 16:37 < Wombert> 1.3 is the largest step forward so far 16:37 < Wombert> and once I find time to make peers instantiable 16:37 < Wombert> we can have full agavi integration 16:37 < Wombert> :) 16:39 -!- eremit [n=eremit@p5490E679.dip.t-dialin.net] has quit [] 16:40 < cwade_> hi Wombert 16:40 < cwade_> ;) 16:40 -!- cwade_ is now known as Niacin 16:49 < RossC0> Wombert: shouldn't you do a manic laugh or something? 16:50 < Wombert> yeah probably 16:50 < Wombert> MMWUUHAHAHAHAHAHAHAHHHHHH 16:50 < Wombert> hi Niacin 16:51 < Niacin> so what happens when execute() action returns? 16:51 < MikeSeth> what happens as in? 16:51 < RossC0> people die? 16:51 < MikeSeth> awesome 16:52 < Wombert> Niacin: it returns a string 16:52 < Wombert> like "Success" 16:52 < Wombert> or "Error" 16:52 < Wombert> etc 16:52 < Wombert> for ViewProductAction 16:52 < Wombert> it then runs ViewProductSuccessView 16:53 < Niacin> arr :) makes a lot of sense 16:53 < Niacin> thanks 16:53 < Wombert> there's more 16:53 < Wombert> execute() means that method runs for any request method 16:53 < Wombert> it thus also indicates that the action _serves_ any request method 16:53 < Wombert> therefor, validation is performed for each request method 16:53 < Wombert> might not be what you want :) 16:54 < Wombert> you can use executeRead 16:54 < Wombert> executeWrite 16:54 < Wombert> and so on 16:54 < Wombert> for the request methods (usually just GET => read, POST => write) 16:54 < Wombert> so if your action only has executeWrite() 16:54 < Wombert> because for GET, it only shows the "add item" form 16:54 < Wombert> then for a GET request, agavi runs getDefaultViewName() to determine which view to render 16:55 < Wombert> that, by default, returns "Input" 16:55 < Wombert> if an action serves the respective request method, validation is performed 16:55 < Wombert> if validaition fails, it calls handleError() 16:55 < Wombert> and tries to run handleReadError() first, of course 16:55 < Wombert> a common approach is this: 16:56 < Wombert> three views (Input, Error, Success), and one template (Input) 16:56 < Wombert> in the Input view (only shown on GET, i.e. first request), you show the form 16:56 < Wombert> maybe pre-populate the form, too 16:56 < Wombert> in the Error view, you show the same Input template 16:56 < Wombert> then agavi will fill in the values for you etc 16:57 < Wombert> in the Success view (run if the product was inserted okay), you redirect() to the new resource 17:08 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:12 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has joined #agavi 17:26 * Whisller is eating loaf 17:27 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 17:36 < Whisller> Maybe you know. ICQ has plugin for irc? 17:36 < Wombert> no 17:37 < Wombert> icq is a messenger and only supports icq 17:37 * Alystair is eating imported ramen ;o 17:37 < Wombert> miranda, which is crap words cannot describe properly, has an icq plugin, which is so crappy, words cannot describe it properly 17:38 < Whisller> heh 17:38 < Wombert> no kidding 17:38 < Wombert> the first thing I loved about OS X was not having to use miranda anymore 17:38 < Wombert> though, admittedly, Adium could be better, too 17:39 < Wombert> maybe we should all switch to jabber 17:39 < Whisller> I never use it. For today I using only, GG and jabber. 17:39 < Xylakant> digitarald: do you have a moment for a mootools support question? 17:40 < Whisller> This is my first meet with icq. 17:40 < Wombert> then why bother installing it, Whisller 17:41 < Whisller> Why I installed it? 17:41 < Whisller> *I have installed 17:43 < Whisller> The reason is simply, I must(I want) to learn english. And ICQ has many people who know english. 17:43 < Wombert> no 17:44 < Wombert> wrong 17:44 < Wombert> icq is mostly used in europe and the middle east 17:44 < Alystair> I was about to say the same thing 17:44 < Wombert> most people from the united states (and also england) use yahoo or msn 17:44 < Alystair> many europeans 17:44 < Wombert> but certainly not icq 17:44 < Alystair> msn is mostly english 17:44 < Alystair> and chinese 17:44 < Wombert> well 17:44 < Alystair> and korean 17:44 < Wombert> everything is mostly chinese these days :p 17:44 < Wombert> :> 17:44 < Alystair> and everything haha 17:45 < Whisller> I did not know. 17:45 < Wombert> it's simply a matter of being outnumbered :D 17:45 < Wombert> what do you use in india, shoan? 17:45 < Wombert> I bet it's jabber 17:46 < Whisller> Hmm also I can use IRC but there are usually "hot guys" ;) 17:48 < Whisller> Ok then I try with msn. 17:48 < Niacin> use bitlbee 17:48 < Niacin> its an im gateway for aim/icq/msn 17:48 < Niacin> works great for me ;) 17:48 < MrJeep> Anyone using osx could tell me why, after installing svn, I can't execute the svn binary in /usr/local/bin ? 17:49 < MrJeep> jeeps-computer:/usr/local Jeep$ cd bin 17:49 < MrJeep> jeeps-computer:/usr/local/bin Jeep$ ls 17:49 < MrJeep> neon-config svn svnadmin svndumpfilter svnlook svnserve svnversion 17:49 < MrJeep> jeeps-computer:/usr/local/bin Jeep$ svn 17:49 < Wombert> you can't run binaries in the same dir in unix 17:49 < Niacin> try ./svn 17:49 < MrJeep> -bash: svn: command not found 17:49 < Niacin> heh 17:49 < Wombert> it's a security measure 17:49 < MrJeep> ahh i see 17:49 < Niacin> or export PATH=$PATH:/usr/local/bin: 17:49 < Wombert> otherwise, for example, I could place a "cd" script in my home dir that contains commands to erase the hard drive 17:49 < Wombert> and then ask an admin (who is logged in as root) to look into my dir 17:50 < Wombert> :) 17:50 < MrJeep> ok, same thing will happen with the agavi script ? 17:50 < Wombert> no, you don't have to be in the dir to run a command 17:50 < Wombert> just set in on your path 17:50 < Wombert> ls -la on your home dir should show a .bashrc or so 17:51 < MrJeep> -> /usr/local/bin/svn co svn://localhost:48000/project/Empty/trunk 17:51 < MrJeep> this works 17:51 < MrJeep> (except the server is down) 17:51 < Wombert> you could also install the subversion plugin for eclipse 17:51 < MrJeep> yeah, it look a lot like Tortoise 17:51 < Wombert> there are two, I think subclipse is halfway decent 17:52 < MrJeep> the PATH variable is set in .bash_rc ? 17:53 < MrJeep> i could add the /usr/local/bin or create link... 18:02 < Whisller> http://health.msn.com/dietfitness/WeightLossStory.aspx?cp-documentid=100156806 18:02 < Xylakant> Wombert: excluding '.' from the path is usually done for root and wheel only 18:03 < Wombert> yes 18:03 < Wombert> uhm? 18:03 < Wombert> no 18:03 < Wombert> :p 18:03 < Xylakant> some distros still have the 'paranoid' setting, but that's rare 18:03 < Xylakant> i remember debian 18:03 < Wombert> I don't have . on my path and never had 18:03 < Wombert> (OS X) 18:04 < Wombert> MrJeep: use .profile 18:04 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:04 < Wombert> or .bash_profile 18:04 < _cheerios> 'n back 18:04 < Xylakant> Wombert: you're wheel :) 18:04 < Wombert> localhost:~/Sites/mylst/trunk/dev dzuelke$ tail ~/.bash_profile 18:04 < Wombert> export PATH=${PATH}:/usr/local/bin:~/bin:/usr/local/php5/bin 18:04 < Wombert> alias ls="ls -G" 18:04 < Wombert> export SVN_EDITOR=joe 18:04 < Xylakant> on macos 18:04 < Xylakant> or the equivalent 18:05 < Xylakant> macbook:~ fgilcher$ groups 18:05 < Xylakant> fgilcher appserveradm appserverusr admin 18:05 < MrJeep> woot colors ! 18:07 < Xylakant> anyone any idea where to start: I have an ajax request that fails - says that there is no response. if i call the page directly, all is fine. 18:08 < Xylakant> once i install firebug, everything works... 18:08 < Wombert> lol? 18:08 < Wombert> :> 18:08 < Xylakant> makes it sort of hard to use a debugger to find the problem... 18:08 < Wombert> agavi? 18:08 < Xylakant> yes. mootools + agavi 18:09 < Wombert> maybe timeout is lower w/o firebug? 18:09 < Xylakant> i was thingking about that 18:09 < Whisller> Ok i have account in msn :] 18:10 < Xylakant> but the response is quite fast, 118ms 18:10 < Xylakant> so what kind of a timeout would that be? 18:10 < Wombert> on page load? 18:11 < Wombert> maybe a race condition 18:11 < Wombert> w/ debug on? 18:11 < Xylakant> debug is off 18:11 < Wombert> k 18:11 < Wombert> then I don't know ;) 18:11 < Xylakant> too bad, thanks 18:12 < Xylakant> wombert: have you seen the mootools bundle for textmate? 18:13 < Wombert> nah 18:14 < kaos> Xylakant: you could try to use live http headers and see if you can get anything from that 18:15 < Xylakant> i'll try that 18:16 < Wombert> Xylakant: "forgot to mention: the patch introduces a new execution type, executeConsole() which falls back to execute() if not declared in the action." 18:16 < Wombert> can't see it doing that anywhere 18:16 < Wombert> it runs executeWrite() right now with what you provided 18:16 < Xylakant> hmm. 18:16 < Wombert> you could use the routing to change the request method on a per route basis 18:16 < Wombert> so it's fine like this 18:16 < Wombert> exactly the way it's supposed to work 18:16 < Xylakant> i'll check wether i send the proper patch 18:16 < Wombert> we could set the default to "read" 18:16 < Xylakant> i was thinking about that 18:17 < Wombert> that's is what we should do, yeah 18:17 < Wombert> I'll make read default 18:17 < Wombert> will apply the patch sometime next week 18:17 < Wombert> and fix that other bug 18:17 < Wombert> haven't forgotten ;) 18:17 < Xylakant> but neither read nor write map naturally to a console request 18:17 < Wombert> well, read does 18:18 < Wombert> cli.php listproducts 18:18 < Wombert> runs read 18:18 < Xylakant> read/write/delete etc map properly to http command verbs 18:18 < Wombert> they are pretty universal verbs actually 18:18 < Wombert> I mean 18:18 < Wombert> you can always override the request to make the method "console" 18:18 < Wombert> and do it that way 18:18 < Xylakant> cli.php mail_me_something 18:18 < Xylakant> is that read/write? 18:18 < Wombert> write 18:19 < Wombert> unless it doesn't modify anything 18:19 < Wombert> then it's ready 18:19 < Wombert> red 18:19 < Wombert> reaaaad 18:19 < Wombert> it's just that the default behavior should be "read" and people should be instructed to use the routing to map the method to "write" for route "lala" and so on 18:20 < Xylakant> hm. i'd still prefer 'console' as execution method 18:20 < Xylakant> anyway, there is another problem with the implementation that came up 18:20 < Xylakant> everything starting with a '-' is regarded as an argument 18:21 < Xylakant> so you can't pass in values that start with a '-' 18:21 < Xylakant> such as negative numbers 18:21 < Wombert> wahaha 18:21 < Wombert> http://www.noscope.com/journal/2007/03/conservapedia 18:22 < Wombert> Xylakant: lala.php -amount "-13" 18:22 < Xylakant> no, won't work with the current implementation 18:23 < Xylakant> the quotes get eaten by the shell 18:23 < Xylakant> and the request gets argv = { -amount, -13} 18:23 < MikeSeth> and so, this week is over 18:23 < Xylakant> and continues to parse, making -argument a switch and -13 a switch 18:24 < Xylakant> so the parsed parameters are array('amount' => true, '13' => true); 18:24 < digitarald> Xylakant, now i have the moment ... the ajax request that fails with firebug? 18:24 < Xylakant> there are two options: either enforce a value for each argument 18:25 < Xylakant> or make the double dash -- force parsing the next argv entry as a value (--argument '-value with a dash') 18:25 < Xylakant> i prefer the second options 18:25 < Xylakant> digitarald: yes 18:26 < Xylakant> and the problem is not that it fails with firebug 18:26 < Wombert> I'd have done it the other way round 18:26 < Xylakant> it fails without, and not with firebug 18:26 < Wombert> cli.php --flag -param value 18:26 < Xylakant> Wombert: that would be possible as well 18:26 < Xylakant> makes little difference 18:26 < Wombert> svn uses that I think 18:27 < Xylakant> no 18:27 < Xylakant> svn uses getopt 18:27 < Xylakant> posix style arguments 18:28 < Xylakant> there are long switches (--quiet) as well as a short equivalent (-q) 18:28 < v-dogg> -param value --anotherparama=value2 is another way 18:29 < Xylakant> posix style is that all arguments that have more than one char start with a double dash 18:30 < Xylakant> so you can combine the one-char switches 18:30 < Xylakant> svn co -Nq 18:33 -!- dsadas [i=dsadas@200.203.17.130] has joined #agavi 18:43 < Xylakant> but we can't have posix style arguments atm because that would require knowing what arguments are available before parsing the commandline and agavi does not (yet) provide the facilities 18:45 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Client Quit] 18:47 < dsadas> where can i read something about agavi performance? i'm a little bit worry about it, becouse even running a sample into a local pc, it seems very slow :( 18:48 < Wombert> dsadas: that is because debug is enabled 18:48 < Wombert> and for the sample app, that means compiling the locale data each time, which is very slopw 18:48 < Wombert> slow 18:48 < Wombert> in normal production, and most of the time during development, you don't need debug enabled 18:49 < Wombert> dsadas: is that the sample app you're looking at? 18:50 < dsadas> yep... how do i disable debug? 18:50 < Wombert> in pub/index.php, boostrap the "production" environment instead of "development" 18:50 < Wombert> development has debug set on (see app/config/settings.xml) 18:51 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 18:53 < dsadas> hmm... thank you... its better know :D 18:53 < dsadas> where do i find more samples? 18:54 < Wombert> errrrrr 18:54 < Wombert> heh 18:54 < Wombert> :) 18:54 < Wombert> well the docs have some code etc now 18:54 < Wombert> we'll build that up (and a new website, tutorials, screencasts) over the next weeks and months 18:54 < Wombert> but at least it's safe to work with agavi, we're stable and feature complete, no more breaks 18:57 < dsadas> for sure, looks very complete and well done... thats why im trying to learn 18:58 < v-dogg> dsadas: we can provide sample code snippets if you want something in particular 18:58 < Wombert> yeah, always someone around to help you out here 18:58 < v-dogg> but there are no sample projects other than the sample app 18:58 < Wombert> we realize that the documentation is subpar, that's why we'll put the focus on that from now 18:58 < Wombert> mind me asking how you found out about agavi? 18:59 < v-dogg> docs have improved quite fast during the last month or so 18:59 < dsadas> i dont even know what i want... i found out agavi yesterday searching on google about php frameworks 19:01 -!- Arme[N-1] is now known as Arme[N] 19:02 < v-dogg> dsadas: how did you install agavi? pear or manually (svn or zip/tgz) ? 19:03 < dsadas> zip/tgz 19:03 < Wombert> cool 19:03 < Wombert> I'm guessing you have a bit of programming experience? 19:03 < v-dogg> do you have the agavi command line utility set up? 19:03 < dsadas> in php? about 3 years 19:04 < dsadas> v-dogg: not... yet 19:04 < Wombert> you'll like agavi then. it doesn't hide crappy implementation behind eye candy or buzzwords (and still, it's the best framework for ajax etc) 19:04 < Wombert> dsadas: "agavi project" will create a blank project for ya 19:04 < _cheerios> we need a web2.0 compatible logo on the frontpage! 19:04 < _cheerios> those pointy ones 19:04 < Wombert> copy it from etc/agavi-dist (or .bat-dist for windows) 19:04 < Wombert> edit it so AGAVI_INSTALLATION points to your/unpack/dir/src/ 19:04 < v-dogg> you need to install phing, mind you 19:05 < Wombert> yeah 19:05 < Wombert> maybe to get started quickly, install via pear, that sets up dependencies for you 19:05 < dsadas> hmmm... i'll do it 19:05 < Wombert> phing is the only requirement 19:05 < Wombert> (not even really required) 19:05 < Wombert> just for the commandline util, but that makes your life a lot easier, it creates class skeletons for you 19:05 < Wombert> an otherwise tedious task over time 19:06 < v-dogg> Wombert: should we promote some agavi way to organize your project dir? 19:06 < v-dogg> I think we shoul 19:06 < v-dogg> d 19:06 < Wombert> yeah probably 19:06 < dsadas> i have to go now... but i'll come back... thank you for the infos :] 19:06 < v-dogg> what do you use? 19:07 -!- dsadas [i=dsadas@200.203.17.130] has quit [] 19:07 < _cheerios> LIES. HE WILL NEVER COME BACK 19:07 < v-dogg> they always come back for more 19:08 < _cheerios> you have that effect on women? 19:08 < v-dogg> agavi junkies 19:08 < digitarald> he has this effect only on agavi junkies 19:09 < v-dogg> which characters are allowed in domain names? 19:10 < Wombert> -_a-z0-9 19:10 < Niacin> anyone here good at regex? 19:10 < Wombert> no wait 19:10 < Wombert> no _ 19:10 < Wombert> Niacin: just ask :) 19:10 < Niacin> GET /images/pex20/screenshots/650_lft.gif HTTP/1.1 19:10 < Niacin> i need to break the file out of that 19:11 < Wombert> just .gif? 19:11 -!- MrJeep_ [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)] 19:11 < Niacin> just 650_lft.gif 19:11 < Wombert> or any type 19:11 < Niacin> well actually i really just need the path 19:11 < MrJeep> arg jeez 19:11 < Niacin> so need to dump the request type (GET/POST) and the HTTP/1.1 19:11 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 19:11 < MrJeep> now I need to port my 1.4 svn repository to a 1.3 repository 19:12 < Wombert> Niacin: PHP? 19:12 < Wombert> or is that from a log 19:12 < Niacin> its from a log... but i'm using php 19:12 < Niacin> so basicly from that line.. i just need to grab /images/pex20/screenshots/650_lft.gif 19:12 < Wombert> only GET? 19:13 < Niacin> could be POST 19:13 < Niacin> or HTTP/1.0 19:13 < kaos> (GET|POST)\s 19:13 < kaos> err 19:13 < kaos> friggin keyboard 19:13 < kaos> the + and enter are to close :D 19:14 < Wombert> here: /^(GET|POST)\s+(.+)\s+HTTP\/1\.(1|0)$/ 19:14 < Wombert> but 19:14 < Wombert> my logs look different 19:14 < Wombert> 127.0.0.1 - - [15/Mar/2007:17:34:22 +0100] "GET /favicon.ico HTTP/1.1" 200 1429 19:14 < kaos> Wombert: close, but i think he only wants the file name ? 19:14 < Niacin> ya i already awked the "" out 19:14 < kaos> or do you want the full path ? 19:15 < Niacin> basicly i'm trying to create a list of ips and which files they accessed and how many times 19:15 < Wombert> simple 19:15 < Niacin> how? 19:15 < Niacin> :) save me some time 19:15 < kaos> webalizer :rolleyes: 19:15 < Niacin> it doesn't do that 19:15 < kaos> i was just kidding ;) 19:16 < Niacin> we have been getting hit really had lately... and we think its a bug in sprints hand sets 19:16 < Niacin> gets stuck in a loop and calls the same url 500 times 19:16 < kaos> thats not good :) 19:16 < Niacin> so trying to dump out which files the ip hit and how many times 19:16 < kaos> womberts regexp from above will work 19:16 < Niacin> its a standard weblog 19:17 < Wombert> here: /^([0-255]{,3}\.([0-255]{,3}\.([0-255]{,3}\.([0-255]{,3}).*\"(GET|POST)\s+(.+)\s+HTTP\/1\.(1|0)\"\s+[0-9]+\s+[0-9]+$/u 19:17 < Wombert> $matches[1] is the ip 19:17 < Wombert> $matches[1] is the url 19:17 < Wombert> 2 19:17 < kaos> [0-255]{,3} <-- this doesn't work 19:17 < kaos> does it ? 19:17 < Wombert> it does 19:17 < kaos> 0-255 ? 19:17 < Niacin> using preg_match() ? 19:17 < kaos> you'r kidding me 19:17 < Wombert> doesn't 19:17 < Wombert> :p 19:17 < Wombert> mh yah damnit 19:18 < Wombert> sec 19:18 < Niacin> you can test on your own web logs heh 19:19 < Wombert> and /U 19:19 < Wombert> :p 19:19 < Wombert> ungreeeedy 19:20 < Niacin> Warning: preg_match(): Compilation failed: missing ) at offset 113 in /home/cwade/dump.php on line 4 19:21 < Niacin> $matches = preg_match("/^([0-255]{,3}\.([0-255]{,3}\.([0-255]{,3}\.([0-255]{,3}).*\"(GET|POST)\s+(.+)\s+HTTP\/1\.(1|0)\"\s+[0-9]+\s+[0-9]+$/U", $data); 19:23 < Wombert> $log = <<<HEREDOC 19:23 < Wombert> 127.0.0.1 - - [15/Mar/2007:17:34:22 +0100] "GET /~dzuelke/mylst/trunk/pub/admin/mm/ HTTP/1.1" 200 9715 19:23 < Wombert> 127.0.0.1 - - [15/Mar/2007:17:34:22 +0100] "GET /favicon.ico HTTP/1.1" 200 1429 19:23 < Wombert> HEREDOC; 19:23 < Wombert> preg_match('/^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*\"(?:GET|POST)\s+(.+)\s+HTTP\/1\.(?:1|0)\"\s+[0-9]+\s+[0-9]+$/mU', $log, $matches); 19:23 < Wombert> var_dump($matches); 19:23 < Wombert> but that doesn't work 19:23 < Wombert> wait 19:24 < Wombert> preg_match_all('/^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*\"(?:GET|POST)\s+(.+)\s+HTTP\/1\.(?:1|0)\"\s+[0-9]+\s+[0-9]+$/mU', $log, $matches, PREG_SET_ORDER); 19:24 < Wombert> that works 19:24 < Wombert> :) 19:25 < Wombert> if(preg_match_all()) to see if there were any matches 19:25 < Wombert> ?: makes the subpattern non-matching, in case you're wondering 19:26 < Niacin> hmm didn't match 19:26 < Niacin> 75.202.118.238 - "POST /proxy30/express30_sc.php HTTP/1.1" 200 566016 "-" "-" 19:26 < Niacin> 70.217.0.143 - "POST /proxy30/express30_sc.php HTTP/1.1" 200 657819 "-" "-" 19:26 < Niacin> thats what my log files look like 19:27 < Niacin> arr i guess because it comes via sys log looks a little dirrent to yours 19:27 < Niacin> no date time stamp 19:27 < kaos> it depends on apache config 19:27 < Wombert> add [\s\"\-]* before the $ 19:28 < kaos> no 19:28 < kaos> .* 19:28 < kaos> the first item after the byte count should be referrer 19:29 < kaos> so it can contain _anything_ 19:29 < Wombert> ah okay 19:29 < Niacin> 68.28.51.122 - "POST /proxy12/od12_411.php HTTP/1.1" 200 90 "-" "Profile/MIDP-2.0 Configuration/CLDC-1.0" 19:29 < Niacin> there is another example 19:29 < kaos> and the second is the user agent 19:29 < kaos> (which can contain anything as well) 19:29 < Niacin> so what should it look like? 19:29 < Wombert> .* before $ 19:30 < Niacin> preg_match_all('/^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*\"(?:GET|POST)\s+(.+)\s+HTTP\/1\.(?:1|0)\"\s+[0-9]+\s+[0-9]+.*$/mU', $log, $matches, PREG_SET_ORDER); 19:30 < Niacin> like that? 19:30 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 19:30 < Wombert> yes 19:30 < Niacin> arr nice looks like it worked 19:30 < Niacin> score ;) 19:32 < Niacin> isn't there some php function to give you the base file name 19:32 < Niacin> in a path? 19:32 < Niacin> i.e /foo/bob.php 19:32 < Niacin> to just grab bob.php 19:32 < Niacin> hmm still gonna give you the uri tho i guess 19:32 < Wombert> basename(), but the regexp can do that, too 19:33 < Niacin> array_shift(explode('?', basename($url))); 19:33 < Niacin> that worked 19:33 < Niacin> ;) 19:34 < Niacin> hmm trying to think of the best way to do this 19:34 < Niacin> something like 19:34 < Niacin> make the ip the key then have another array with file -> count 19:35 < Wombert> foreach($matches as $match) { 19:35 < Wombert> $results[$match[1]][$match[2]]++; 19:35 < Wombert> } 19:35 < Wombert> simplified :p 19:35 < Wombert> init the array properly ofc 19:38 < Niacin> foreach($matches as $match) { 19:38 < Niacin> $match[2] = array_shift(explode('?', basename($match[2]))); 19:38 < Niacin> $results[$match[1]][$match[2]]++; 19:38 < Niacin> } 19:38 < Niacin> that worked great 19:38 < Niacin> thanks 19:38 < Niacin> saved me a lot of time ;) 19:40 < Wombert> yes but technically, you should init the array parts 19:41 < Wombert> preg_match_all('/^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*\"(?:GET|POST)\s+.+\/([^\/]+)(?:\?.*)?\s+HTTP\/1\.(?:1|0)\"\s+[0-9]+\s+[0-9]+.*$/mU', $log, $matches, PREG_SET_ORDER); 19:41 < Wombert> that will give you the basename right away 19:42 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:43 < Niacin> 68.28.51.119 - "GET /proxy/entry_bible.php/?e=sprint173943752244&b=XY%3a96%3a96%3a106%3a104%3a108%3a104%3a104%3a100%3a&did=midp1_SamsungA620&pid=16&v=1.15&c=verse_text&p1=b_kjv&p2=1.1.1&p3=12 HTTP/1.1" 200 1597 "-" "-" 19:43 < Niacin> that screws up your regex 19:43 < Niacin> ?e=sprint ends up in the assoc array as a file 19:45 < Wombert> preg_match_all('/^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*\"(?:GET|POST)\s+.*\/([^\/]+)(?:\?.*)?\s+HTTP\/1\.(?:1|0)\"\s+[0-9]+\s+[0-9]+.*$/mU', $log, $matches, PREG_SET_ORDER); 19:45 < Wombert> a bit better 19:46 < Niacin> [?e=sprint173943752244&b=XY%3a96%3a96%3a106%3a104%3a108%3a104%3a104%3a100%3a&did=midp1_SamsungA620&pid=16&v=1.15&c=discovery&p1=doc_list] => 1 19:46 < Niacin> that still happens 19:46 < Wombert> preg_match_all('/^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*\"(?:GET|POST)\s+.*\/([^\/]+)(?:(\?.*)?)\s+HTTP\/1\.(?:1|0)\"\s+[0-9]+\s+[0-9]+.*$/mU', $log, $matches, PREG_SET_ORDER); 19:46 < Wombert> ? 19:47 < Niacin> yeah 19:48 -!- Zibi [n=asd@80.4.120.163] has quit [] 19:53 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 19:54 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has joined #agavi 19:54 < Niacin> sorry got disconnected heh 19:54 < Niacin> yeah still has that funny query in there 19:56 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has quit [Read error: 104 (Connection reset by peer)] 19:56 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has joined #agavi 19:58 < Niacin> happens on the nextel one too 19:58 < Niacin> ?e=nextel165436990995&b=XY%3a96%3a96%3a110%3a104%3a102%3a106%3a114%3a114%3a&did=midp2_Motorolai605&pid=16&v=1.23&c=verse_text&p1=b_bbe&p2=2.39.9&p3=12 - 1 19:59 < Alystair> argh 19:59 < Alystair> I don't want to go with this crappy company 20:00 < Alystair> Wombert: how far does $20k get me? :P 20:01 < Alystair> 2 months? 20:02 < Niacin> Wombert, any ideas on the nasty uri thing? 20:02 < Wombert> Alystair: query 20:02 < Wombert> if you like 20:02 < Wombert> Niacin: hmm 20:03 < Wombert> Niacin: the .* is too greedy 20:03 < Wombert> preg_match_all('/^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*\"(?:GET|POST)\s+[^\?/]*\/([^\?\/]+)(?:\?.*)?\s+HTTP\/1\.(?:1|0)\"\s+[0-9]+\s+[0-9]+.*$/mU', $log, $matches, PREG_SET_ORDER); 20:03 < Wombert> does that work? 20:04 < Niacin> Warning: preg_match_all(): Unknown modifier ']' 20:04 < v-dogg> missing \ 20:04 < v-dogg> GET|POST)\s+[^\?/] 20:05 < splatch> \d{1,3}\.\d{1,3} 20:05 < v-dogg> last / 20:05 < splatch> \d{1,3} is equal [0-9]{1,3} 20:07 < Wombert> yes true 20:08 < Niacin> missing / where? 20:08 < Wombert> preg_match_all('/^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*\"(?:GET|POST)\s+[^\?\/]*\/([^\?\/]+)(?:\?.*)?\s+HTTP\/1\.(?:1|0)\"\s+[0-9]+\s+[0-9]+.*$/mU', $log, $matches, PREG_SET_ORDER); 20:08 < Niacin> arr 20:09 < Niacin> hmm that broke something... i'm not getting any of the _sc.php super calls now 20:09 < splatch> Wombert: i probably going out from Accenture (actually Accenture Technology Solutions) 20:09 < Niacin> 70.217.0.143 - "POST /proxy30/express30_sc.php HTTP/1.1" 200 657819 "-" "-" 20:09 < Niacin> that doesn't show up 20:09 < v-dogg> Niacin: "a modifier" is those modifiers that come after / 20:10 < v-dogg> so if you get Unknown modifier just locate the first not-escaped / 20:11 < Niacin> Wombert, any ideas why its missing half of the lines? 20:12 < splatch> brb 20:12 < Wombert> Niacin: does it show only those with a ? 20:12 < Wombert> ? 20:13 < Niacin> no 20:13 < Niacin> 64.233.173.106 - "GET /error.php HTTP/1.1" 200 2227 "-" "Mozilla/4.0 (compatible; GoogleToolbar 4.0.1601.4978-big; Windows XP 5.1; MSIE 7.0.5730.11)" 20:13 < Niacin> shows that one 20:14 < Niacin> 216.239.38.136 - "GET /downloads HTTP/1.0" 200 9217 and thato ne 20:14 < Niacin> seems like only stuff in / that it shows 20:21 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Client Quit] 20:22 < Niacin> no ideas? 20:23 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 20:35 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 20:35 -!- benny`work [n=benny@p54AC3584.dip0.t-ipconnect.de] has joined #agavi 20:35 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 20:43 -!- benny`work [n=benny@p54AC3584.dip0.t-ipconnect.de] has left #agavi ["Leaving"] 20:45 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 20:47 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 20:52 -!- Whisller [n=Whisller@217.97.146.67] has quit [" I'll back :)"] 21:00 < _cheerios> heh @ mr cluck's 21:17 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 21:35 < _cheerios> what's up with lost being like ok recently 21:35 < _cheerios> they putting all good stuff in it now and canning it this season? 21:36 < Wombert> I doubt that but I noticed it's going in a vastly different direction recently 21:36 < Wombert> less brutal, less mysterious 21:36 < Wombert> okay ditch the first 21:36 < Wombert> and I want to now what's going on with jack 21:39 < _cheerios> kickin' in solid drama fillers while trying to figure out what to do with the series? :D 21:42 < _cheerios> im still two eps behind. will catchup during the weekend. 21:45 < _cheerios> there's still the secretive Dharma org., the mystery creature (well... the island), crossing between "the island" and real-world to game with. 21:56 -!- Arme[N] is now known as Arme[0] 22:04 < Alystair> argh D: 22:04 < Alystair> how the hell can I use agavi if the documentation is so unfinished 22:05 < impl> Ask questions, look at the sample application, and try stuff :D 22:06 < kaos> and for the very brave: look at the source ;) 22:06 < impl> yes indeed 22:07 < Alystair> oh wow 22:07 < Alystair> agavi makes very pretty "hurrrrrrrrrrk I'm dead" errors 22:07 < impl> Yeah :P 22:07 < Alystair> I went to samples/pub and it died 22:07 < kaos> lets just hope its wasn't to painful for it ;) 22:07 * Alystair just extracted the zip 22:08 < kaos> define died pls 22:08 < impl> kaos: I'm presuming he didn't set some path right :P 22:08 < Alystair> maybe I should rtfm 22:08 < Alystair> before just randomly browsing the extracted files :P 22:08 < v-dogg> my money is also on paths 22:08 < kaos> you shouldn't need to set path in the sample app 22:09 < v-dogg> maybe a small bet on cache dirs rights 22:09 < Alystair> Invalid validation mode "tainted" specified 22:09 < Wombert> errr 22:09 < v-dogg> uhm? 22:09 < Wombert> that's RC1 22:09 < Alystair> in core.agavi_dir\validator\AgaviValidatorManager.class.php line 87 22:09 < Wombert> download a newer version :p 22:09 < Alystair> ... 22:09 < Wombert> hey, it's in the topic ;) 22:09 < Alystair> maybe you should update http://trac.agavi.org/ 22:09 < Alystair> page :P 22:09 < Wombert> "latest: 0.11.0RC4" 22:10 < Wombert> oh 22:10 < Wombert> xD 22:10 < Wombert> maybe 22:10 < Wombert> I'll blame v-dogg 22:10 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 22:10 * v-dogg takes the heat like a man 22:10 < kaos> i'll blame trac for not updating itself 22:10 < v-dogg> and runs away 22:10 < Alystair> haha 22:10 < v-dogg> Wombert: could you make some latest symlink/redirect 22:11 < v-dogg> "latest" 22:11 < Alystair> new sample crashes :) 22:11 < Alystair> AgaviParseException 22:11 < Alystair> Configuration file "C:/AppServ/www/0.11.0RC4/samples/app/config/output_types.xml" could not be parsed due to the following errors that occured while resolving XInclude directives: 22:11 < Wombert> oh noes :< 22:12 < Alystair> Line 43: trying to build relative URI from C:///AppServ/www/0.11.0RC4/samples/app/config/output_types.xml 22:12 < Alystair> blah blah blah 22:12 < impl> lol 22:12 < Alystair> there are a few more lines :D 22:12 < Wombert> yeah php/windows issue 22:12 < impl> I have delete privileges on the wiki 22:12 < impl> but not edit 22:12 < impl> :D 22:12 < Wombert> v-dogg: we could rm -rf wiki/ 22:12 < Wombert> :p 22:12 < v-dogg> Alystair: libxml issue 22:12 < Wombert> v-dogg: open that file 22:12 < Alystair> so I can't fool around with this under windows? D: 22:12 < Wombert> sure, no problem 22:12 < Wombert> open the file 22:12 < Wombert> find the lines that say <xi:include ... /> 22:13 < Wombert> they each reference a block in the <sandbox> at the top of the file 22:13 < impl> We really need to get rid of some of the wiki pages 22:13 < impl> like http://trac.agavi.org/attachment/wiki/UML/basics.png isn't even close to right now 22:13 < Wombert> <renderers> and <layouts> 22:13 < Wombert> use these to replace the respective <xi:include ... /> 22:13 < v-dogg> impl: that's why there's a big red warning sign :) 22:14 < impl> Yeah :P 22:14 < impl> should s/MIGHT/IS DEFINITELY/ 22:14 < v-dogg> :) 22:14 < v-dogg> +1 for rm -rf wiki/ :) 22:14 < v-dogg> WHEN THE NEW SITE IS OUT! 22:14 < Wombert> Alystair: http://pastie.caboo.se/47213 22:15 < Wombert> hey don't look at me! 22:15 < Wombert> it's not my fault :) 22:15 * Wombert looks at splatch 22:15 < Wombert> or, Alystair, http://pastie.caboo.se/47213.txt for quick copy and paste 22:15 < impl> (or upgrade libxml :P) 22:15 < Wombert> ( = upgrade php) 22:15 < impl> (yes) 22:16 * Alystair is confused 22:17 < Alystair> wai what 22:17 < Alystair> what am I replacing here 22:17 < Wombert> entire output_types.xml out 22:17 < Wombert> http://pastie.caboo.se/47213.txt in 22:18 < Alystair> whoop 22:18 < Alystair> something works here 22:18 < Alystair> lmao sample looks worse than error page :( 22:19 < Wombert> but it works! :) 22:19 < Alystair> nothing some CSS can't fix 22:19 < Alystair> yeah 22:19 < impl> it's for functionality, not prettiness! 22:19 < Wombert> try to login, for instance 22:19 < Wombert> and then look at modules/Default/templaets/LoginInput.php 22:19 < Alystair> why is this so slow, it's local host... 22:19 < Wombert> note how you don't have to write code to re-insert the values 22:19 < Wombert> oh it's in debug mode 22:19 < Wombert> edit pub/index.php 22:19 < Wombert> bootstrap "production" instead of "development" 22:20 < impl> Wombert: Question: Can you, for the sake of curiosity, have two contexts in the same instance of a script? 22:20 < Wombert> yes 22:20 < Alystair> the login page is simply not going anywhere 22:21 < Wombert> that's the whole point of it 22:21 < Alystair> when I press login with blank info 22:21 < impl> Wombert: Wouldn't it be a Bad Thing to use the static keyword anywhere in functions/methods then? 22:21 < Wombert> impl: precisely 22:21 < Alystair> WOAH 22:21 < Alystair> memory leak 22:22 < Wombert> what php version is that 22:22 < v-dogg> libxml? 22:22 < Wombert> yeah 22:22 < Alystair> one sec 22:22 < Wombert> and disable debug ;) 22:22 < Alystair> httpd is taking up 100 percent after pressing login :P 22:22 * Alystair terminates 22:22 < Alystair> was taking up 1gb :P 22:22 < Wombert> yes, that's libxml 22:22 * v-dogg bets on libxml <2.2.20 22:23 < Wombert> first, be sure to bootstrap production mode 22:23 < Wombert> second, what php version do you have? 22:23 < impl> Wombert: Just browsing through the source code I'm seeing a lot of static stuff 22:24 < Alystair> I edit settings.xml for the production change correct 22:24 < Wombert> Alystair: nope 22:24 < v-dogg> index.php 22:24 < Wombert> in pub/index.php, bootstrap "production", not "development" 22:24 < impl> some of it is fine, not sure about like static $filterLog; (FilterChain) or static $keys = array(); (Request) 22:25 < Wombert> config and configcache... fine 22:25 < Wombert> confighandler... fine 22:25 < Wombert> parsers, fine 22:25 < Wombert> $loaded in controller, fine 22:25 < Alystair> bleh 22:25 < Wombert> autoloads too 22:25 < Alystair> any time I press the login button 22:25 < Alystair> httpd starts thrashing and eating all ram 22:25 < impl> All the translation stuff is fine static too 22:26 < v-dogg> Alystair: tell us your php and libxml version numbers 22:26 * Alystair uploads agavi to linux production server and tries to kill it as well 22:26 < v-dogg> phpinfo(); 22:26 < Wombert> Alystair: it's memleaks in the libxml bundled with your php 22:26 < Wombert> which php version is that 22:26 < Alystair> 5.1.6 22:27 < Alystair> libxml 2.6.22 22:27 < impl> Upgrade to 5.2.x 22:27 < v-dogg> upgrade to 5.2.1 22:27 < Wombert> yeah try that, should solve the problem 22:27 < Alystair> !_! 22:27 < Wombert> the funny thing is 22:28 < v-dogg> the bundled libxml was upgraded to 2.6.26 after 5.2.0 iirc 22:28 < Wombert> I have 5.1.6 with 2.6.16 and no issues 22:28 < Wombert> it's pretty random 22:28 < Wombert> impl: looked through it. all statics are fine 22:28 < Alystair> heisenbugs are no good !_! 22:28 < impl> Wombert: kk, just making sure :) 22:32 < Alystair> wheeee... 22:32 < Alystair> yay for appserv making it easy to do all this crap 22:32 < Alystair> oh hey instant 22:38 < Alystair> whoops 22:38 < Alystair> I deleted everything under the cache folder and now the system won't run anymore 22:38 < Alystair> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 245760 bytes) in C:\AppServ\www\0.11.0RC4\src\config\AgaviConfigHandler.class.php on line 141 22:39 < Wombert> yeah your new php install has 8 megs memory limit 22:39 < Alystair> agavi needs more than 8mb for a single user? :| 22:39 < Wombert> that's enough for normal operation, but not for the first call when all the config files have to be compiled 22:41 < Alystair> where's the user/pass for the sample 22:41 < Wombert> "Chuck Norris" and "kick" 22:42 < v-dogg> it's the compilation of the i18n data that eats all that memory 22:43 < v-dogg> but like wombs said, it's only done once and then cached 22:43 * Alystair doesn't know what i18n is 22:43 * Alystair doesn't know what anything is, really 22:43 < v-dogg> internationalization 22:43 < impl> i[nternationalizatio]n 22:43 < Alystair> ah 22:44 < ttj> Not to be confused with L10N. 22:44 < Alystair> there is a file hiding somewhere with a list of every string inthe system so you can switch langs? 22:44 < v-dogg> haha. no. 22:44 < Alystair> ;_; 22:44 < impl> Are you multilingual, Alystair? 22:44 < impl> Word order for normal languages != word order for English 22:45 < Wombert> well that is not what agavi can handle since php doesn't know unicode (yet), hence no collation support and stuff 22:45 < Alystair> having chinese is good though 22:45 < v-dogg> I like chinese food, too 22:45 < v-dogg> :) 22:46 < Wombert> but for instance, agavi ships with support for formatting dates, times, numbers, currencies in any language on this planet 22:46 < Wombert> you just do 22:46 < v-dogg> 1.0 will have klingon 22:46 < Alystair> :@ 22:46 < Wombert> $tm->_c(123.45); and it creates "$123.45" for english, "123,45 $" for german 22:46 < Alystair> v-dogg: please say you're joking, what a waste of time 22:46 < Wombert> it is a joke ;) 22:46 < Alystair> heh good 22:46 < Wombert> actually, more one of his secret dreams 22:47 < Wombert> he's a star trek nerd and walks around with spck ears all day 22:47 < Wombert> anyway 22:47 < Wombert> *spock 22:47 < Wombert> for instance, you can get a list of languages, countries, currencies and such in each locale 22:47 < Wombert> all that stuff 22:48 < Wombert> "14. April 2006" for german, "April 14, 2006" for english, etc 22:48 < Wombert> and of course, you can translate your own texts 22:48 * v-dogg takes his phaser gun and blasts wombs to outer space 22:48 < v-dogg> beam me up, scotty 22:49 < Alystair> :@ 22:49 < Alystair> uch. 22:49 < Alystair> ah 22:49 < splatch> Wombert: yes my master? :) 22:49 < Alystair> \dev\messages\ is where languages hide? 22:50 < Wombert> Alystair: no, that 22:50 < Wombert> 's just some string translations in the various languages 22:50 < Alystair> :| 22:50 < Wombert> here it's the gettext .mo format 22:50 < Wombert> or .po 22:50 < Wombert> the locale data is in src/translation/data/locales 22:52 < splatch> Wombert: you need polish translation? 22:52 < Wombert> no 22:52 < Wombert> we were talking about uhm 22:52 < Wombert> what? 22:52 < Wombert> ah the website 22:53 < splatch> Wombert: May i kick Darek? :) 22:54 < Wombert> nah, just ask him gently if there are any news ;) 22:58 < Alystair> wait I'm really confused now 22:58 < Alystair> that's just the universal locale information 22:58 < Alystair> I'm talking about application translations 22:58 < Wombert> yeah that's in dev/ 22:58 < Alystair> :P 22:58 < Wombert> or, in case of the index page 22:58 < Wombert> there is a template for each language 22:58 < Wombert> actually, one for german, and a fallback in english for all others 22:58 < splatch> Wombert: he will do something at next weekend 22:59 < Wombert> k 22:59 < Wombert> you don't have to use gettext 22:59 < Wombert> we also support simple xml formats 22:59 < Wombert> or you write a custom translator that pulls translations from your own database in your own format (dead simple) 23:00 < Alystair> this is too big for me. 23:00 < v-dogg> Alystair: just ignore the i18n stuff for now 23:01 < v-dogg> you don't have to use it 23:01 * Alystair goes back to dog 23:01 < Alystair> *doc 23:01 < Alystair> er 23:01 < v-dogg> v-docc 23:01 < Alystair> how would I run "agavi project" 23:01 < Alystair> I'm in windows :| 23:02 < v-dogg> copy agavi-dist.bat from etc/ 23:02 < Wombert> or install via pear :) 23:02 < Alystair> pear? D: 23:02 < Wombert> first run go-pear.bat in your php dear 23:02 < Wombert> uuuhm 23:02 < Wombert> http://pear.php.net/ ? :) 23:02 < v-dogg> agavi.bat-dist, sorry 23:03 < Wombert> well he needs phing for that, so he needs pear :) 23:03 < v-dogg> sure 23:03 < v-dogg> although it's pretty easy install manually, too 23:03 < v-dogg> I use it like that 23:04 < Wombert> yeah I think it's better to use pear 23:04 < v-dogg> it sits in myproject/dev/libs/phing 23:04 < Wombert> he might need it in the future anyway 23:04 < Alystair> one done pear 23:04 < Wombert> oh man that is a little cumbersome, isn't it, Alystair :) 23:04 < Wombert> and that even though agavi is one of the easiest to install 23:04 < Wombert> usually "pear install agavi", "agavi project", done :) 23:07 < Alystair> ok so make new dir 23:07 -!- Whisller [n=Whisller@217.97.146.67] has quit [" HydraIRC -> http://www.hydrairc.com <- The professional IRC Client"] 23:07 < Wombert> do you have pear installed? 23:07 < Alystair> package agavi is not valid 23:08 < v-dogg> ? 23:08 < Wombert> okay 23:08 < Wombert> now type 23:08 < Wombert> pear config-set auto_discover 1 23:08 < Wombert> then type 23:08 < v-dogg> ah, agavi/agavi ? 23:08 < Wombert> pear install --alldeps channel://pear.agavi.org/agavi-0.11.0RC4 23:09 < Alystair> zzz 23:09 < Alystair> doing it's thing 23:09 < Alystair> er its 23:09 < Alystair> wow lots of dependancies 23:10 < Wombert> --onlyreqdeps works, too 23:10 < v-dogg> none of them required for actual use 23:10 < Wombert> we require phing because you can then use the command line which is a lot more convenient 23:10 < Alystair> ok that was done 23:10 < Wombert> type "agavi" 23:11 < Wombert> if that doesn't work, open a new cmd window to refresh your path after the pear install 23:11 < Alystair> ok 23:11 < Alystair> works 23:11 < Wombert> cool 23:11 < Wombert> now create a new dir somewhere inside the document root 23:11 < Wombert> and type "agavi project" 23:11 < Alystair> yeah did that :O 23:11 < Wombert> then hit enter 82836 times 23:11 < Wombert> then navigate to localhost/thatdir/pub/ 23:11 * Alystair makes script to do it for him 23:12 < Wombert> okay I was exaggerating it's actually just 491 times 23:12 < Wombert> ;) 23:12 < Alystair> wow you weren't joking lmao 23:12 < Alystair> done :) 23:12 < Wombert> now enjoy :) 23:12 * Alystair watches computer go up in smoke 23:13 * Alystair does pear uninstall flames 23:13 < Wombert> oh what's wrong? :( 23:16 < Alystair> nothing :) 23:16 < Alystair> this is a terrible thing though, I'm meerly following instructions blindly 23:17 < v-dogg> you'd be one fine suicide bomber 23:17 < Alystair> agavi isn't taking part in the SoC? 23:18 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has quit ["Leaving"] 23:18 < Wombert> could we? 23:18 < Alystair> could have maybe 23:18 < v-dogg> SoC? 23:19 < Wombert> the google 23:19 < Wombert> summer of code 23:19 < v-dogg> ah 23:19 < v-dogg> hire me! hire me! 23:19 < Wombert> you are not a student 23:19 < Wombert> you have bald hair 23:19 < v-dogg> sure I am! 23:20 < v-dogg> haha 23:20 * Wombert hugs v-dogg 23:21 -!- digitarald [n=Miranda@62-43-152-47.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 23:27 < _cheerios> probably too late by now, but yeah, Agavi should try to get into those 23:27 < Wombert> my impression is that google pick the projects to support 23:28 < Wombert> I've never heard of a "call for projects" 23:28 < Alystair> meh it's too late though 23:28 < Alystair> you missed the submission time, now students pick what to work on 23:28 < _cheerios> you can suggest projects, i think. what google picks is another thing. 23:29 < Wombert> "we are The Googol. We control the internets and their tubes." 23:31 < Alystair> christ 23:31 < Alystair> I love the fact that you can extract a .htaccess file ok from a file 23:31 < Alystair> but can't create a file like that yourself in windows 23:31 < Alystair> er extract from a compressed folder/zip/whatever 23:31 < Wombert> Alystair: agavi created a dist.htaccess for you already 23:31 < kaos> well, you can just not rename a file to .anything 23:31 < Wombert> just rename it do .htaccess and edit the RewriteBase 23:31 < Alystair> Wombert: can't rename it :) 23:31 < kaos> if you open it with notepad and save as .htaccess 23:32 < kaos> it works 23:32 < Alystair> aha 23:32 < kaos> (or any other editor) 23:32 < Alystair> ok 23:32 * Alystair uses notepad++ 23:32 < Wombert> commandline works too methinks 23:32 < Alystair> will use textedit as soon as I get a mac :P 23:32 < _cheerios> http://www.kylahullut.com/download/aanet/lisaapersettarattipaille.mp3 :) 23:32 < Wombert> textmate! :) 23:33 < Alystair> commandline ftw! 23:33 * Alystair was a dos child 23:33 < Alystair> I thought 3.1 was a terrible step forward haha 23:39 < _cheerios> \o/ didn't know this was 6. on singles chart last week 23:40 < _cheerios> village idiots - more pussy for ragheads 23:46 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 23:50 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Client Quit] 23:50 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 23:51 < _cheerios> "An anonymous reader alerts us to a murder trial in New Jersey in which Google and MSN searches were used against a woman accused of killing her husband. In the days before the murder, prosecutors say the defendant searched for "How To Commit Murder," "instant poisons," "undetectable poisons," "fatal digoxin doses," and gun laws in New Jersey and Pennsylvania. Her husband was killed with a gun procured in Pennsylvania. The crime occurred in 2004; 23:51 < _cheerios> of course, people now know to be careful about their searches." 23:56 < kaos> or know how to use tor ;) 23:57 < Alystair> wouldn't have helped 23:57 < Alystair> in her case 23:57 < Alystair> it was found out via her local cache 23:57 < kaos> lol, even better :D 23:57 < Alystair> not google's logs or what ever 23:57 < Alystair> they had a warrent etc. --- Day changed Fri Mar 16 2007 00:02 < _cheerios> he forgot the "... perfect ..." part, and "how to get away with [it]". there's always next time. 00:24 < Alystair> views are a lot different than I thought it would be 00:24 < Wombert> what did you think 00:24 < Alystair> I thought that's where you put your output html 00:25 < Wombert> no, that's in templates 00:25 < Alystair> views is for stuff like creating lists or tables or something? 00:25 < Alystair> or repeatable objects? 00:25 < Wombert> in views, you set cookies 00:25 < Wombert> you prepare data for display if necessary 00:25 < Wombert> you call redirects 00:25 < Wombert> etc 00:25 < Alystair> ... 00:25 < Wombert> or you don't use a template at all and create an rss feed of the data the action gave 00:26 < Alystair> ayeeeeee 00:26 < Alystair> why must MVC overcomplicate things :( 00:27 < Wombert> it does notovercomplicate 00:27 < Wombert> it simplifies 00:27 < Wombert> it keeps you out of trouble 00:27 < Wombert> in agavi, you write code once 00:27 < Wombert> then you create rss, pdf, html, whatever from that 00:27 < Alystair> pdf? :O 00:27 < _cheerios> no template for feeds? you thunk its better to output straight from action that stuff? 00:28 < Wombert> from view, _cheerios 00:28 < Wombert> of course 00:28 < Wombert> as I said 00:28 < Wombert> and yes, sure, there are classes that you feed a data structure and from that it creates feeds for ya 00:28 < Wombert> why create a template... 00:29 < Wombert> or json response for ajax 00:30 < Wombert> $this->setResponse(json_encode($data)); 00:30 < Wombert> all you need :) 00:30 < _cheerios> i checked how i worked, and i used the template because i set a bunch of headers to go along with the feed 00:30 < Wombert> headers? 00:30 < Wombert> http headers? 00:30 < _cheerios> yes 00:31 < Wombert> you talk to me about performance and blah blah all day and then you don't set headers in agavi? :p 00:31 < Wombert> my goodness 00:31 < Wombert> set headers in agavi 00:31 < Wombert> on the response 00:31 < Wombert> always 00:31 < Wombert> that can be cached 00:31 < Wombert> filtered 00:31 < _cheerios> it's in mojavi. where do you set headers in agavi? 00:31 < Wombert> whatever you want 00:31 < Wombert> $this->getResponse()->setHttpHeader(...) 00:32 < _cheerios> ah, right. 00:34 < _cheerios> performance, always looking for more :) 00:35 < Wombert> :) 00:37 < _cheerios> i'll get a mod_cache example up w/agavi, when i figure out a few things. not sure if im talking a week or months here :D 00:40 < ttj> Wombert: You seen Jaiku? 00:40 < Wombert> errr? 00:40 < ttj> www.jaiku.com 00:41 < ttj> A nifty idea. Finally someone is doing something with presence stuff and mobile phones. 00:42 < _cheerios> how is it different to twitter? 00:43 < _cheerios> should we do a finnish jaiku, ttj? :D 00:44 < ttj> Hmm... Haven't heard of Twitter. 00:44 < _cheerios> Argh!! 00:44 < _cheerios> By tjorri 5 minutes ago in Helsinki, Finland. Add Comment 00:44 < ttj> Ah, similar idea. 00:44 < ttj> _cheerios: :-) 00:45 < _cheerios> well, SMS we can do for cheap. setup a webby. quick. then it just needs users :) 00:46 < ttj> I was under the impression that Jaiku is in fact Finnish. 00:46 < _cheerios> We're based in Helsinki, the capital of Finland up in the very north of Europe. The address of our office is Lönnrotinkatu 32 D 51, 00180 Helsinki, Finland. 00:46 < _cheerios> ah, idd. excellent. 00:47 < ttj> Yeah, I think it was founded by some ex-Nokians. 00:49 < _cheerios> which came first, twitter or jaiku? 00:49 < _cheerios> because they look so alike 00:49 < ttj> No idea, I sort of missed the boat regarding those. I hadn't heard about Twitter before and I'd only seen the name Jaiku on some mailing lists. 00:50 < ttj> Actually got around to registering an account with Jaiku on Tuesday. 00:50 < _cheerios> seems like Jaiku 00:51 < ttj> Wikipedia says that Twitter has been around since 2005. 00:51 < _cheerios> atleast judging by blog entries, their early beta was in July 2006 ... twitter came in at august 2006 00:51 < _cheerios> k. couldnt find wikipedia entry for jaiku 00:52 < ttj> Whoa, they actually are eerily similar. 00:53 < _cheerios> very, very similar. jaiku has the cooler flash thing on the mainpage, but other than that couldn't really tell :) 00:55 < _cheerios> (eli ilmeisesti jaiku on twitterin kopio) 00:55 < ttj> Probably. 00:55 < ttj> But Jaiku has rounded corners. :P 00:55 * Alystair is so very lost 00:55 < _cheerios> omg. im so tired of rounded corner commets 00:55 * _cheerios gives ttj EYES OF DEATH LOOK 00:56 < ttj> Haha. 00:56 < ttj> Come on, you can't be Web2.0 without rounded corners. :D 00:57 < impl> _cheerios: On our splash page, we made all our form elements rounded for max 2.0 look 00:57 < impl> http://audoptic.com/ 00:57 < impl> Isn't it AWESOME? 00:57 < Alystair> oh wow. 00:57 < ttj> We also have some new intranet guidelines and the header images should have two rounded corners at the opposite corners. :P 00:57 < _cheerios> well, form elements, i havent seen that overdone yet.. so i'll give you the benefit there. 00:58 < Alystair> that's pretty slick impl 00:58 < _cheerios> actually, can i rip your code? :D 00:58 < Wombert> and 00:58 < Wombert> it's made with agavi 00:58 < kaos> impl: one problem tho 00:58 < Wombert> :> 00:58 < Alystair> and wait what. 00:58 < Alystair> who's project is that 00:58 < Wombert> impl's 00:58 < impl> _cheerios: It's opensource 00:58 < kaos> i bet your dropdowns aren't keyboard navigateable ? 00:58 < Alystair> wtf, it renders correctly in IE 00:59 < Alystair> how many virgins did you have to sacrifice for that 00:59 < Alystair> :P 00:59 < impl> kaos: They're <selects> overridden by Javascript 00:59 < ttj> impl: Wanna give an elevator pitch? :P 00:59 < _cheerios> well, keyboard navigation goes down the toilet w/me when i have autosearch on in firefox... 00:59 < kaos> ah, nice 00:59 < impl> But you're right 00:59 < impl> they don't work with the keyboard 00:59 < kaos> still doesn't work with a keyboard tho ;) 00:59 < impl> I will look into that tonight 00:59 < kaos> at least doesn't kill of screen readers 00:59 < _cheerios> it doesn't work 100% tho, atleast the dropdowns 01:00 < _cheerios> shouldnt it fade away, if you open it, then click outside the menu 01:00 < impl> _cheerios: I know, if you click outside the box it should fold back up 01:00 < impl> I have to fix that too 01:00 * Alystair demands the elevator pitch as well! 01:00 < impl> What is an elevator pitch? :\ 01:00 < impl> It sounds like something to do with marketing 01:00 < ttj> A short intro to what this thing is and why it's unbelievably cool. :-) 01:00 < impl> http://www.badboy.ro/assets/articles/niceforms/niceforms.html <-- there's the script 01:01 < impl> ah, well 01:01 < Alystair> impl: I'm assuming you do all the GFX for both that project and agavi? 01:01 < impl> No, haha 01:01 < impl> I hate graphics 01:01 < Alystair> who does all the graphics for everything 01:01 < impl> A cool Canadian dude 01:01 < _cheerios> the radio/checkbox things dont work on that demo for me at all 01:01 * Alystair is a cool canadian dude D: 01:01 < kaos> another thing impl: i usually click dropdowns on the text 01:02 < kaos> not on the button beneath it 01:02 < Alystair> me too 01:02 < impl> kaos: Yeah, same 01:02 < _cheerios> oh, you have to click the NAMES ... not the radio/checkboxes. lol. 01:02 < ttj> Ok, your elevator pitch convinced me, I'm signing up. :P 01:02 < impl> I haven't even had a chance yet :P 01:02 < Alystair> :P 01:02 < ttj> Too late. Already signed up. :P 01:03 < impl> If you can imagine combining deviantArt, YouTube (but more professional, sort of like mini indie-films), and PureVolume 01:03 < ttj> Aha! 01:03 < ttj> It broke! 01:03 < impl> That's what we'll eventually have 01:03 < Alystair> impl: you gotta get a better name 01:03 < impl> It broke? :P It's not running on top of Agavi right now so it's a definite possibility =D 01:03 < ttj> Email address (tjorri+audoptic@gmail.com) appears to be invalid. 01:03 < ttj> That's a completely valid email address. 01:03 < impl> oh boy 01:03 < impl> :< 01:03 < Alystair> ttj: that works? 01:03 < ttj> Alystair: Yeah. 01:03 < impl> Yeah 01:03 < Alystair> I mean, you could make it set a tag inside gmail or something? 01:04 < impl> Gotta love opensource software 01:04 * kaos already opened the email validator 01:04 < Alystair> or did you actually make a new email address 01:04 < Alystair> blah+blah@gmail.com 01:04 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [] 01:04 < impl> <impl> It broke? :P It's not running on top of Agavi right now so it's a definite possibility =D 01:04 < _cheerios> good sites to combine, impl 01:04 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 01:04 < impl> Not Agavi's fault! 01:05 < kaos> but it wouldn't work with the email validator ;) 01:05 < _cheerios> + chars are evil on the web 01:05 < kaos> since that one is a rather errr ... crappy thing atm 01:05 < Prometheus^> impl: white text on those input fields on the frontpage is /such/ a bad idea 01:05 < ttj> + chars allow me to see who's been selling my email addy to spammers. :-) 01:05 < Alystair> impl: when's the site going to launch ;O 01:06 < Alystair> and what do you do for it? 01:06 < _cheerios> Prometheus^, it looked cool! 01:06 < ttj> Prometheus^: Could you elaborate? 01:06 < impl> Alystair: No idea. Late 2007-2008 if I can help it, but betas should be by summer 01:06 < Prometheus^> allow me to demonstrate.. 01:06 < Prometheus^> http://img404.imageshack.us/img404/1448/whiteonwhiteud3.png 01:06 < impl> And I'm the head Web developer 01:06 < impl> Prometheus^: O_o 01:06 < ttj> Ah. 01:06 < Alystair> haha 01:06 < impl> Those should have a black background 01:07 < Alystair> they do 01:07 < Prometheus^> *should* 01:07 < _cheerios> heh heh. gfx didnt load for Prome 01:07 < Prometheus^> no.. 01:07 < Alystair> it's not rendering correctly? 01:07 < Prometheus^> safari doesn't care 01:07 < Alystair> could make safari only css 01:07 < Prometheus^> hence modifying the defaults is usually a bad idea ;) 01:07 < Alystair> :P 01:07 < _cheerios> who cares about mac users anyway! 01:07 < Wombert> safari cannot style form elements except for background color 01:07 < Wombert> webkit can 01:07 < Alystair> any mac user worth their salt 01:07 < Alystair> would use FF anyway ;) 01:07 < Prometheus^> I do, but I wanted to try it in safari for kicks 01:07 < Prometheus^> just to see that ;) 01:08 < Wombert> any mac user worth their salt would avoid firefox like the devil 01:08 < _cheerios> i hear impl going "oh fuck" 01:08 < Alystair> Wombert: ? :| 01:08 < Wombert> yeah 01:08 < impl> D: 01:08 < Prometheus^> firefox is a resource hog devil 01:08 < Alystair> Wombert: what do you use? 01:08 < Prometheus^> that's true 01:08 < Wombert> FF is so ugly on the mac 01:08 < Prometheus^> safari rocks for browsing, imo 01:08 < Wombert> and it doesn't integrate with keychain 01:08 < Wombert> or with spell checking 01:08 < Wombert> etc 01:08 < Alystair> who cares what it looks like :| 01:08 < ttj> Don't worry impl, that's still a pretty darn nifty looking site. :-) 01:08 < Wombert> I always use safari 01:08 < Prometheus^> don't even get me started with the keychain! 01:08 < Wombert> I use FF only for development 01:08 < Alystair> firebug ftw? 01:09 < Alystair> and webdev ext. 01:09 < Wombert> firebug ftw! 01:09 < Wombert> yes 01:09 < Prometheus^> impl: I would use a light grey color, if you must use something light 01:09 < impl> Prometheus^: I'll fix it :P one second 01:09 < Wombert> but for normal browsing, I'm afraid I'd rather cut my arms off 01:09 < impl> ttj: I'll fix your problem too 01:09 < Alystair> Wombert: it's just your day, I found a chainsaw! 01:09 < Wombert> it's horrible enough on windows... 01:09 < Prometheus^> Wombert: I would use camino all the time if it had firebug in it ;) 01:09 < Wombert> Prometheus^: mmh yeah well there is hope! 01:09 < Wombert> because 01:10 < Alystair> I'll agree with the resource hogness of it, then again I normally have about 50 tabs open (not exadurating) 01:10 < Wombert> gecko 1.9 will be cocoa 01:10 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["not weekend yet... ciao in the morning"] 01:10 < Wombert> which means camino can get rid of their engine hacks to render cocoa widgets 01:10 < Wombert> which also means they can use more of the firefox codebase 01:10 < Wombert> which also means there might, one day, be the option to install ff extensions 01:10 < Wombert> hooray 01:10 < Prometheus^> Wombert: interesting 01:10 < kaos> ff is such a crappy software 01:10 < Prometheus^> I would certainly like that 01:10 < Wombert> and me 01:10 < Prometheus^> although... camino could use a few improvements 01:10 < kaos> leave some site with just some js running for some time: mem hog 01:11 < kaos> cpu hog 01:11 < Alystair> man I spelt that really badly 01:11 < Prometheus^> but it's definitely better than ff 01:11 < kaos> etc ^^ 01:11 < Wombert> Prometheus^: yes it sure is 01:11 < Prometheus^> however, safari is the best for browsing, imo :) 01:11 < Wombert> but really 01:11 < Wombert> safari's font rendering alone is worth using it 01:11 < Prometheus^> and I like inquisitor a lot, too 01:11 < Alystair> heh 01:11 < Wombert> ff makes websites look soooo ugly 01:11 < Wombert> and inquisitor FTW! 01:11 < Alystair> firefox sometimes takes up 650mb ram on my machine :) 01:11 < impl> Prometheus^: Could you refresh it? 01:11 < Prometheus^> Wombert: well there are ways around that, too 01:12 < Prometheus^> impl: much better 01:12 < impl> :D 01:12 < impl> ttj: I'll look into that stupid email regex in a second, I have to help someone get a FBSD box up 01:13 < Prometheus^> impl: although, interesting enough, when there's focus on the field, the text goes white 01:13 < impl> umf 01:13 < impl> :P 01:13 < Prometheus^> without focus it looks fine, though 01:14 < impl> Hmm... 01:14 < Prometheus^> http://img249.imageshack.us/img249/5980/focusedil2.png 01:14 < Prometheus^> safarilicious 01:16 < impl> Prometheus^: one more time :P 01:17 < ttj> impl: Sure, thanks. 01:17 < ttj> Anyway, I'm off to bed and finish this paper. 01:17 < impl> Night 01:17 < ttj> Catch you people later. 01:17 < Prometheus^> impl: http://img471.imageshack.us/img471/704/welldoners0.png 01:17 < impl> Prometheus^: Yay :) 01:17 < impl> Thanks 01:17 < Prometheus^> well done :) 01:18 < Prometheus^> now it works with safari as well 01:18 < Prometheus^> well, is visible ;) 01:18 < Prometheus^> it did work before, just was a bit unclear :) 01:18 < impl> That's all I'm going for with Safari 01:18 < Prometheus^> that should be enough, you aren't going to get around safari not rendering the graphics anyway :) 01:19 < Prometheus^> or at least, it won't be worth the time invested 01:19 < impl> only if I JS-hack it 01:19 < Prometheus^> yeah 01:19 < Prometheus^> I think any safari user will be more than happy as long as they can see the texts 01:19 < impl> :P 01:20 < Alystair> Wombert: help me find a good developer ;\ 01:20 < Prometheus^> those selects behave a bit differently in safari, too 01:20 < Alystair> for my ugly ass project haha 01:20 < Prometheus^> they work but 01:21 < Prometheus^> well, see for yourself: http://img187.imageshack.us/img187/8897/selectnh5.png - it's not a big deal though, as long as they work :) 01:21 < Prometheus^> you can't expect to display everything exactly the same for every browser anyway 01:22 < Alystair> could make the website in PDF ;D 01:22 < Prometheus^> or flash, such a bad idea :) 01:22 < Alystair> haha yeah 01:22 < Prometheus^> you might as well forget about accessibility and such 01:22 < Alystair> someone should make an HTML/CSS interpreter for flash 01:22 < Alystair> ... lmao 01:22 < impl> Prometheus^: I'm not screwing with that JS :< 01:22 < Prometheus^> someone should bury the person who came up with flash, 6 feet under 01:22 < impl> Not for that sort of thing anyway 01:22 < Prometheus^> impl: a wise choice ;) 01:23 < Alystair> then someone forks it and you get the exact same issue we have today 01:23 < Prometheus^> I wouldn't either 01:23 < impl> I'll just give to the designer and tell him that it's his fault for thinking he could get creative with the dropdowns :D 01:23 < Prometheus^> :D 01:23 < Prometheus^> well, it works still 01:23 < Prometheus^> it just covers the menu 01:23 < Alystair> make it so dropdowns work when you click the name? 01:24 < impl> Alystair: I'll do that 01:24 < Prometheus^> yeah I was just going to say, having to click that arrow may not be the best way :) 01:24 < Prometheus^> other than that though, it looks good 01:24 < impl> :) 01:24 < Prometheus^> very clean, and colors that are easy on the eye (at least on mine) 01:25 < impl> Thanks :D 01:25 < Alystair> yeah 01:25 < Alystair> looks good 01:25 < Alystair> maybe make dropdowns tab accessible? 01:25 < impl> Alystair: yup, gonna do that too when I get a chance 01:25 < Alystair> awesome 01:25 < impl> and make it roll back up when you click outside 01:25 < Prometheus^> of course, I could be very difficult at this point and disably my javascript 01:25 < Alystair> hrm, agavi can work as a php console app thing as well, neat 01:26 < Prometheus^> that's when the fun begins ;) 01:26 < impl> Prometheus^: It /should/ degrade gracefully... :< 01:26 < Prometheus^> s/disably/disable 01:26 < Alystair> who the hell disables js 01:26 < Prometheus^> impl: it doesn't 01:26 < impl> Dammit 01:26 < impl> :P 01:26 < Alystair> should have a giant DIV 01:26 < Alystair> covering the screen 01:26 < Prometheus^> impl: nvm, it does 01:26 < Alystair> if JS is disabled :) 01:26 < Prometheus^> I just didn't refresh after disabling :) 01:26 < impl> Oh, whew 01:26 < kaos> Alystair: there are companies who disable js for their workers all together 01:27 < Alystair> they are not the target demographic! 01:27 < Prometheus^> impl: or one should say, it degrades to ugly! 01:27 < Prometheus^> ;) 01:27 < impl> Ugly but working is good for me 01:27 < Prometheus^> aye 01:27 < Prometheus^> functionality over look&feel 01:27 < Prometheus^> fuck web 2.0 as long as web 1.0 works ;) 01:28 < Prometheus^> I've never been a fan of rounded corners, gradients and big buttons - web 2.0 essentially - myself :) 01:29 < impl> Me neither 01:29 < impl> that's why I'm not the designer for this project 01:29 < Prometheus^> anyway, I'm done breaking your thingy now 01:29 < impl> My development templates are totally unstyled, just <h1>...</h1> 01:29 < impl> <p>...</p> 01:29 < Prometheus^> I'll move back to working on fixing things :) 01:29 < Prometheus^> impl: functionality first, eye candy second is always a good approach :) 01:30 < Prometheus^> doing it backwards can get you in to a bit of trouble when things don't degrade gracefully D 01:30 < Prometheus^> :D 01:30 < impl> :D 01:36 < Prometheus^> impl: possibly one more thing that I might do to that page is, instead of serving it as xhtml 1.0, serve it just as html 4.01 01:36 < Prometheus^> well, instead of the doctype 01:36 < Prometheus^> because I really doubt you'll be serving that as real xhtml 01:36 < Prometheus^> since that'd pretty much count out all IE users :) 01:36 < impl> I will, to browsers that can handle it 01:36 < Prometheus^> ah, alright 01:36 < impl> IE users will get text/html though 01:36 < Prometheus^> right on :) 01:37 < impl> The splash page isn't all that important though as far as semantics are concerned I don't think :P 01:39 < Prometheus^> that's true 01:39 < Prometheus^> it's just those little things that I pay attention to :P 01:40 < Wombert> impl: you sure you want that? 01:40 < impl> ? 01:40 < Wombert> http://www.agavi.org/docs/latest/manuals/cookbook/ch02s02.html 01:40 < impl> Yeah 01:40 < Wombert> but 01:40 < Wombert> really gotta go to bed 01:40 < impl> It'll make sure our designers don't do stupid shit 01:40 < impl> :D 01:41 < Prometheus^> :) 01:41 < Wombert> that's a rather good argument, yeah 01:41 < Wombert> but agavi's FPF will bitch, too, so... :) 01:41 < Alystair> ? 01:41 < Prometheus^> well, that's one way to look at it I guess 01:41 < Wombert> form population filter 01:41 < impl> D: 01:41 < impl> Why? 01:41 < Wombert> because it expects valid xml ;) 01:41 < Wombert> you can tell it to parse in html mode 01:41 < impl> er, we're going to use XHTML though 01:42 < Wombert> but your mileage may vary 01:42 < Wombert> well then you can safely have it parsed as xml 01:43 * Alystair continues attempting to read the agavi manual 03:08 -!- Wombert [n=Wombert@dslb-084-056-004-240.pools.arcor-ip.net] has quit [] 03:46 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [] 04:18 < Alystair> anyone alive left? 04:19 < impl> For a short time 04:21 < Alystair> I passed a link to agavi to a friend of mine who codes a lot better than me and he said that this looks needlessly complex 04:21 < Alystair> " the whole point of a framework is to make shit easier" 04:22 < Alystair> :\ 04:23 < impl> haha 04:23 < Alystair> maybe he isn't as smart as I thought he was 04:24 < impl> Well, we all have our own tastes 04:24 < Alystair> or uhm, he's right? <:O 04:24 < impl> I've seen some nice procedural frameworks too 04:24 < impl> very simple 04:24 < impl> very effective 04:24 < Alystair> I just want to get my shit done :\ 04:24 < impl> Is Agavi working for you? 04:24 < Alystair> I'm still trying to understand it! 04:25 < Alystair> I hardly know any PHP and the manual isn't helping explain everything, needs more diagrams :\ 04:26 < Alystair> it's such a horrible trade off between rapid application development 04:26 < Alystair> and best practices 04:27 < impl> I always go with best practices 04:27 < Alystair> I don't have the time for this 04:28 < impl> Yeah, that's understandable 04:29 < impl> If you're under time constraints or whatever, obviously you want to do the best job you can as quickly as possible 04:29 < impl> The problem with Agavi is that really it's not so easy to grasp until you've used it once 04:29 < impl> or even MVC in general 04:29 < impl> It took me months to understand MVC the first time around 04:32 < Alystair> I understand the basic concept of MVC 04:32 < Alystair> it's like what happened to HTML and CSS 04:33 < impl> Well, yeah, separation of business logic from presentation 04:33 < impl> I'm talking about the application flow though 04:34 < Alystair> it seems so back asswards though, I feel like I need a different kind of editor for that 04:34 < Alystair> so I can quickly switch directories and all that jazz 04:34 < impl> I usually have like five instances of emacs open when I'm editing 04:34 < Alystair> heh 04:35 < impl> of course, nobody likes emacs so I can't use it to justify anything 04:35 < impl> What do you use? 04:35 < Alystair> Notepad++ :) 04:35 < impl> ah 04:35 < Alystair> I could open a few views in it 04:35 < Alystair> hrmmmm 04:35 * Alystair tries something 04:37 < Alystair> ahhh only allows split view once, so only 2 items at the same time :\ 04:38 < Alystair> and doesn't allow more than one instance 04:40 -!- Niacin [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has joined #agavi 04:42 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:32 -!- epaulin [n=epaulin@61.191.26.228] has quit [Read error: 104 (Connection reset by peer)] 07:30 -!- dsadas [i=dsadas@200.203.17.130] has joined #agavi 07:41 < dsadas> agavi is well done... i'm styding its code now... and a have to say it's very good... i was trying to find out a framework to use in my work... now i can say i found it 07:42 < dsadas> but with all these xmls... i'm worry about the performance... the xml parsing is a quite slow 07:42 < dsadas> i've asked yesterday about it... but i have to ask again... have anyone done tests to see the framework overhead? 08:02 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has quit [] 08:12 < dsadas> hmmmm... now i've seem that agavi do caching to these xmls :D 08:29 -!- Arme[0] is now known as Arme[N] 08:45 < dsadas> is there some way to create submodules into agavi? for instance, "categories" of "news"... news is my module, and "categories" belongs to "news" bu i'dont want to create a new module called "categories" because they are just one thing 08:45 < dsadas> ? 08:47 < dsadas> i know that there is nobody there now... but if someone knows something about it please send me a mail: gradinf@gmail.com 08:47 < v-dogg> huomenta 08:48 < ttj> Yo. 08:48 < v-dogg> sub-modules is not the word we use but you can have sub-actions 08:49 < v-dogg> app/modules/Default/actions/Product/NewAction.class.php 08:49 < v-dogg> eg. <route .... module="Default" action="Product.New" /> 08:50 < dsadas> perfect... great... tkz v-dogg 08:50 < v-dogg> and then your views would in app/modules/Default/views/Product/New... 08:51 < v-dogg> and templates in templates/Product/ 08:51 < v-dogg> "views would be placed in" 08:52 < v-dogg> if you want to create these with the agavi command line utility, use the dot notation ("Product.New") 08:53 < v-dogg> Product/New might actually work too, I think 08:53 < dsadas> this command line i dont know yet :| 08:54 < v-dogg> did you install via pear or manually? 08:57 < dsadas> manually 08:59 -!- digitarald [n=Miranda@62-43-173-14.user.ono.com] has joined #agavi 09:03 < v-dogg> http://www.agavi.org/docs/latest/manuals/manual/ch01s03.html 09:04 < v-dogg> "copy etc/agavi-dist or etc/agavi.bat-dist script to an agavi or agavi.bat executable into a convenient location so you can use the shell commands for creating projects, modules, actions etc. Keep in mind that you must edit the script and enter the path to your Agavi installation (that's the src folder you copied earlier) so everything works as intended." 09:05 < v-dogg> the cli utility uses phing (http://phing.info/trac/wiki/Users/Download) 09:12 < horros_> hahahah 09:12 < horros_> http://img338.imageshack.us/my.php?image=elamaoi6.jpg 09:12 < horros_> for you non-finns, the texts are "Before marriage", "During marriage" and "After marriage" 09:16 < horros_> dsadas: oh, and if you're still about; the xml files are "compiled" if you will after being read for the first time 09:17 < horros_> dsadas: and they'll only be recompiled if you clear the cache or modify the xml files 09:17 < horros_> (or have the debug setting turned on) 09:18 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:23 < _cheerios> huomenta 09:26 -!- Arme[N] is now known as Arme[0] 09:26 -!- dsadas [i=dsadas@200.203.17.130] has quit [] 09:31 -!- Wombert [n=Wombert@dslb-084-056-004-240.pools.arcor-ip.net] has joined #agavi 09:40 < liutis> lagba 10:14 -!- JamieWolf [n=jamiewol@e177035092.adsl.alicedsl.de] has joined #agavi 10:15 < JamieWolf> Good Morning 10:20 < v-dogg> huomenta 10:20 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:20 < JamieWolf> What language is that? 10:21 < RossC0> huomenta 10:21 < _cheerios> Häkkinen language 10:22 < v-dogg> Finland Finland ber alles.. laala laaalala laalaalaa 10:23 < horros_> God Save the Tarja 10:23 -!- eremit [n=eremit@p5490E679.dip.t-dialin.net] has joined #agavi 10:24 < v-dogg> God Save the Drag Queen 10:24 < JamieWolf> ^^ Hehe have a drag ;) 10:24 < JamieWolf> Yeah Formula 1 is starting again this weekend. 10:25 < horros_> yeah 10:25 < horros_> at bloody 4:50 in the morning 10:25 * horros_ shakes fist at aussies being in a completely silly time zone 10:26 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 10:26 < Whisller> Good morning 10:26 < JamieWolf> Morning 10:27 < _cheerios> man i feel tired for some reason 10:27 < JamieWolf> horros_, so what. Go out late, make some party, come home and enjoy the F1 10:27 < JamieWolf> At least that is my plan 10:27 < horros_> JamieWolf: you mean come home blasted, try to stay awake, fall asleep a quarter to five :) 10:28 < JamieWolf> ^^ Well. At least it is somekind of a plan ... 10:31 < _cheerios> how do i move from an action A to action B's view; like "return 'Success_ActionB';" 10:32 < RossC0> _cheerios: you could forward from Action A success view to Action B 10:32 < _cheerios> i don't want the action B to be run, just the view+template 10:33 < RossC0> _cheerios: set Action A to Success to have the same logic and template 10:33 < horros_> _cheerios: return an array? 10:34 < RossC0> can you do that? 10:34 < horros_> sure 10:34 < horros_> you could not long ago 10:34 < RossC0> array('ActionB', 'Success') 10:34 < RossC0> noo really? 10:34 < horros_> hmm, not sure about _that_, but.. 10:35 < _cheerios> RossC0, that's duplication of code 10:36 < RossC0> _cheerios: I thought that Action > ActionView was integral 10:36 < _cheerios> basically I have action B, which has several sub-actions (A...Z), which i placed into their own actions 10:36 < RossC0> in the ActionView you can set any template you like 10:36 < _cheerios> but on 'Error', I'd like to show action B's template+view, with that error message 10:36 < horros_> hmm 10:36 < horros_> you pose an interesting question. 10:36 < horros_> therefore 10:36 < horros_> I will go outside and smoke. 10:36 < horros_> o/ 10:37 < RossC0> so there may be some duplication in the View - but thats good as its about the separation of concerns 10:37 < RossC0> Wombert: ping 10:38 * v-dogg tries to understand the problem... 10:38 < RossC0> its good because ActionA should know nothing about ActionB or its Views 10:39 < RossC0> v-dogg: _cheerios wants ActionA to goto ActionBSuccessView 10:39 < _cheerios> it doesn't know -- doesn't need to know -- , but it would be using them. 10:39 < v-dogg> that's not a problem 10:39 < v-dogg> ActionA's execute() { return array('actionb', 'success'); } 10:40 < RossC0> ah so you can do that :) 10:40 < v-dogg> but like RossC0 pointed out, that might couple these two in a way that is not desirable 10:42 < RossC0> yeah not sure I like that or would use that, I'd actually prefer a method of doing that in ActionA Success View 10:42 < v-dogg> yep 10:42 < _cheerios> what's the path syntax for that arrray method? 'ModuleName.Action','success' or? 10:43 < v-dogg> maybe you could forward to actionb and use some parameter to make it simple (ie. the execution would be skipped) 10:43 < _cheerios> well, you can only have one POST per action, so sticking all this into a single action is not possible. Thus the multiple actions. But they are all "tied" functioanlity. 10:44 < RossC0> _cheerios: the website is 'tied' functionally... 10:45 < RossC0> but your right monolithic Actions aren't good 10:46 < RossC0> but I would look for doing a forward in the ActionA success View, which sets ActionB to simple then you aren't as tightly coupled 10:47 < RossC0> and it means it'll be easier to update / change manipulate in ze future 10:48 * v-dogg turns on the W-spotlight and aims it to the sky 10:48 < _cheerios> hmm. how are crud operations like this, what it apparently is, done when you place each method into its own action while working on the same page? 10:51 < v-dogg> http://www.crud.org/ 10:51 < RossC0> _cheerios: its all about finding an implementation that works for you. 10:51 < RossC0> let me find an example 10:51 < _cheerios> because, it's just a change in the message contents. 10:52 < v-dogg> I have Product.New, Product.Show and Product.Edit. New redirects to Show and both Show and Edit use the same template 10:52 < v-dogg> ShowSuccessView sets a bit that disables inputs 10:53 < _cheerios> trying to remember, i've gone in atleast two different ways in the past; forwarding with a ?msg=[showthiskey-content] and at times duplicating the template (which i found to be quite in bad taste) 10:53 < RossC0> and I have similar: comment.view comment.add comment.edit comment.delete 10:53 < _cheerios> v-dogg: ok, so you set a message in New, then redirect to Show ? 10:54 < RossC0> if I add a comment - it returns Success and forwards to the comment.view 10:54 < _cheerios> "Added product" (normal contents of Show) 10:54 < RossC0> If I added a rest client it would just return a 200 header 10:55 < RossC0> if it was a ajax request it might just return the single comment as json and insert it at the bottom of the current comments 10:55 < _cheerios> RossC0, returns Success comment.add's action, then forwards to comment.view in the comment.add's view? 10:56 < _cheerios> forwarding internally within agavi you were able to keep a message, or did you add it at the end of the url? 10:57 < RossC0> _cheerios: Actually for a successful comment addition, I would redirect to comment*s*.view - so the user can't f5 and repost the comment 10:58 < RossC0> now keeping a message - what do you mean? A rails style flash message? 10:58 < _cheerios> yes, telling the user what happened 10:59 < _cheerios> instead of just showing a page 10:59 < RossC0> ah ok - I have a class that handles that, it loads them from the session, deletes any on read and if any are left puts them back in the session 10:59 -!- Whisller [n=Whisller@217.97.146.67] has quit [" brb"] 11:00 < _cheerios> ok. so you use a session var instead of appending the url or forwarding internally. 11:01 < v-dogg> I don't set any "new record added" message 11:01 < RossC0> That way if you output any they are destroyed - but if you don't i.e. you redirect then on shutdown it adds them to the session 11:01 < RossC0> if you forward they are avaliable in the baseView - so the template is free to use them 11:01 < _cheerios> v-dogg, unfriendly :) 11:02 < RossC0> hmm - I should post this somewhere, its cool. That and FPF inline error messages, wraps up all my user notification / messaging 11:03 < v-dogg> _cheerios: not really, the message is redundant in my case because the new record is opened for editing when you create it 11:04 < _cheerios> v-dogg, that's just one possible message. An action can throw a plethora of different errors, and you need a message handler for that. 11:04 < v-dogg> if I would use such a message I'd put it in sessionstorage 11:04 < v-dogg> and redirect 11:05 < v-dogg> to avoid f5 problems 11:05 < _cheerios> RossC0, so you get to use the normal Agavi error printout, that is used by the likes of form validation? 11:06 < RossC0> _cheerios: things like : Invalid email address appears above the email address input 11:07 < RossC0> see #303 its the second patch 11:08 < _cheerios> meant this, abusing it to show the messages to not have yet another (something)hasErrors; if($container->getValidationManager()->hasErrors()): 11:09 -!- Zibi [n=asd@80.4.120.163] has joined #agavi 11:09 < RossC0> Djane dobryh Zibi 11:09 < Zibi> dzien dobry ;) 11:09 < v-dogg> huomenta Zibi ;) 11:09 < Zibi> aloha! 11:10 < _cheerios> RossC0, yeah your stuff there is v.cool. I really want to transform my forms to user it at some point. 11:10 < horros_> Dobré ráno 11:11 < _cheerios> RossC0, Do you have a check in your template(s) for these messages in your session storage? 11:11 < RossC0> Nope - it does it all automagicall 11:11 < RossC0> +y 11:12 < RossC0> ah wait for the main messages - yes 11:12 < RossC0> <?php if ($t['flash']->hasFlash()): ?> 11:12 < RossC0> <?php $flash = $t['flash']->read();?> 11:12 < RossC0> <div class='flash <?php echo $flash['1']; ?>'><?php echo $flash['0']; ?></div> 11:12 < RossC0> <?php endif; ?> 11:13 < RossC0> but thats in my master template for the flash messages 11:13 < RossC0> for the FPF inline errors I don't have to do anything - it injects them into the form and is set in the FPF filter 11:15 -!- Whisller [n=Whisller@217.97.146.67] has joined #agavi 11:16 < _cheerios> are you really using Flash for the sessions, or just named it that way 11:19 < _cheerios> is there a flash storage that works on all browser out? i've used dojo's before, but it doesn't support opera (not a showstopper). 11:19 < _cheerios> bbl 11:20 < RossC0> _cheerios: its just a name for the type of messages 11:21 < horros_> wtf 11:21 < horros_> omg 11:21 < horros_> bbq 11:21 < horros_> someone in the office building is listening to winey houston! 11:21 < horros_> AIEEEEEEEE! 11:21 * horros_ stabs self in ears with pen 11:29 < Wombert> RossC0: pong 11:29 < Wombert> it's return array('Module', 'OtherActionSuccess'); btw 11:30 < v-dogg> WombMan to the rescue 11:31 < v-dogg> WombMan arrives with his cool WombMobile 11:31 < horros_> lol 11:31 < horros_> "womb-mobile" 11:44 < Wombert> yeah man 11:44 < Wombert> it would be cooool 11:44 < Wombert> and black 11:44 < Wombert> with bling rims 11:44 < Wombert> and a ricey spoiler on the trunklid 11:45 < liutis> jo cia 11:45 < Wombert> or a maserati granturismo <: 11:45 < liutis> not that window :) 11:48 < RossC0> Wombert: should I open a ticket or write somewhere how to use my Flash Messages class? 11:48 < Wombert> I think there is a ticket somewhere already, lemme check 11:50 -!- Wombert [n=Wombert@dslb-084-056-004-240.pools.arcor-ip.net] has quit [Nick collision from services.] 11:50 -!- Wombert_ [n=Wombert@dslb-084-056-013-176.pools.arcor-ip.net] has joined #agavi 11:51 -!- Wombert_ is now known as Wombert 11:51 < Wombert> oookay there is none 11:51 < Wombert> you can, yeah, but why is it a class? 11:52 < Wombert> or to put it differently, can't promise I'll use your approach :) 11:52 < Wombert> if I remember right dominik and I wanted to have a couple of features for that 11:53 < Wombert> like that a flash message disappears as soon as it is read, and not as soon as the next request is made (that doesn't work well with ajaxy sites or tabs loading in the background etc) 11:53 < kaos> An unhandled win32 exception occured in firefox.exe 11:53 < RossC0> Wombert: thats cool - its an example and will get talk rolling.. 11:53 < Wombert> or that a flash message has a lifetime of, say, five requests instead of just one 11:53 < kaos> ffs 11:53 < Wombert> or both 11:53 < Wombert> RossC0: yeah sure 11:53 < Wombert> cool 11:53 < kaos> and i just hit ctrl-t 11:53 < kaos> :< 11:54 < Wombert> yeah safari has been crashing twice for me today, too 11:54 < Wombert> the internets are unstable these days 11:54 < Wombert> must be a leak in the series of tubes 11:56 < Wombert> horros_: haha did you see f1 training times? 11:56 < Wombert> http://www.formula1.com/race/result/770/28.html 11:56 < Wombert> pay slose attention to pos 20 11:56 < Wombert> and then 11:56 < Wombert> read... 11:56 < Wombert> read http://formula-1.updatesport.com/news/article/1173433600/formula_one/F1headlines/Ralf-in-top-three-says-Ralf/view.html 11:56 < Wombert> xD 11:57 < horros_> hehe 11:58 < Wombert> williams are pretty strong 11:58 < Wombert> webber should have stayed there 11:58 < Wombert> honda sucking too again... 12:00 < horros_> http://www.mtv3.fi/urheilu/f1/uutiset.shtml/arkistot/f1/2007/03/512170 12:00 < horros_> there's the second trainig run :) 12:00 < horros_> ralf in 16th :) 12:00 < Wombert> yeah you can click the err thing err there too 12:01 < Wombert> prac2 12:01 < Wombert> or whatever it's called 12:01 < Wombert> I like f1.com 12:01 -!- Test [n=test@217.97.146.67] has joined #agavi 12:01 -!- Test [n=test@217.97.146.67] has left #agavi [] 12:01 < Wombert> you can get that official monitor thing the teams also have 12:01 < Wombert> with the lap times and positions and all 12:01 < Wombert> java, but works 12:01 < Wombert> nice to have alongside the tv 12:01 < horros_> kovalainen had technical problems 12:01 -!- Whisller [n=Whisller@217.97.146.67] has quit [" brb"] 12:01 < kaos> he couldn't find the gas pedal ? 12:01 < horros_> 10 laps on the second training, then the car broke :) 12:02 < horros_> kaos: mind you, kovalainen is probably the best prepared F1 driver to start racing... umm.. ever. 12:02 -!- Whisller [n=test@217.97.146.67] has joined #agavi 12:02 < Wombert> yeah interesting 12:02 < horros_> seeing that he has well over 20 000 test kilometers in the renault already 12:02 < Wombert> heidfeld, webber, kovalainen had issues 12:02 < Wombert> given that it's the first weekend... pretty good 12:03 < horros_> takuma sato even managed to complete 23 laps! 12:04 < Wombert> David Coulthard had a more fortunate day than Red Bull team mate Mark Webber. The Scot was able to try both types of Bridgestone and to jump up to 10th place with a lap of 1m 28.495s, but the Australian was left 17th on 1m 29.801s after his RB3 developed a similar problem in its transmission to the one that has dogged the car during testing. He was not amused. 12:04 < Wombert> okay that means red bulls won't see the finish line often this year 12:04 < Wombert> moving on to the japs... super aguri beat honda... hahahaha 12:05 < Wombert> I wonder how many engineers committed suicide over that 12:05 < Wombert> but honda is using last year's car 12:06 < Wombert> and the best thing is toyota 12:06 < Wombert> again, williams faster 12:06 < RossC0> ok added #487 12:06 < Wombert> even though they had brought new parts along in last minute 12:06 < Wombert> even on hand luggage in planes 12:07 < Wombert> because they were afraid that williams would be faster than them 12:07 < Wombert> mmmh 12:07 < Wombert> <3 f1 12:09 < Wombert> http://www.formula1.com/race/result/speedtrap/770/28.html interesting, too 12:10 < Wombert> means the mclaren have much better aerodynamics than the others 12:11 < Wombert> and the renault engines seem to have ze most power 12:11 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 12:11 < Wombert> mh but now 12:11 < Wombert> a snack 12:13 < v-dogg> yes, lunch 12:26 < horros_> agreed 12:26 < horros_> => 12:33 < _cheerios> Räikkönen needs to start using all the gears in his Ferrari 12:57 < RossC0> _cheerios: flash messaging as discussed earlier: http://trac.agavi.org/ticket/487 12:57 < _cheerios> i noticed. will try it out immediately. 12:57 < _cheerios> thanks 13:01 < horros_> _cheerios: no need to push the car to the limits in the tests :) 13:03 < _cheerios> it would be funny, if he said that, after winning first race 13:03 < _cheerios> cocky. but respect :D 13:10 < Wombert> I heard that ferrari is disappointed with him 13:11 < horros_> According to...? 13:11 < horros_> McLaren? 13:11 < horros_> :D 13:11 < Wombert> schumacher knew the technical details and was very focused on even the smallest things and gave the engineers a lot of input 13:11 < Wombert> raikkönen seems a bit less competent, but more importantly, he cannot be bothered to talk enough 13:11 < Wombert> and spends more time in night clubs than talking to the team 13:12 < Wombert> (that is what mclaren said about him, too) 13:12 < Wombert> either way, he's an idiot 13:12 < Wombert> everyone liked häkkinen 13:12 < Wombert> he was nice and all 13:12 < Wombert> but raikkönen is... aw whatever 13:12 < horros_> afaik häkkinen was one of the most liked F1 drivers ever :) 13:13 < horros_> ah, the häkkinen/schumacher battles... epic! 13:20 < Zibi> hmm can anybody help me with ajax, i have view with executeAjax then its going to template but template is wrapped into <html><body></body></html> 13:21 < Zibi> and strange thing is that in other action set up exacly same way it returns only json response 13:21 < Zibi> without all this <html></html> 13:21 < Wombert> does it run through the form population filter? 13:22 < Wombert> then you have to disable that for the ajax type 13:22 < Wombert> <parameter name="output_types"><parameter>html</parameter></parameter> 13:22 < Wombert> for the filter in global_filters.xml 13:23 < v-dogg> when was ShutdownListener removed? 13:24 < Zibi> oh right! 13:24 < Zibi> works 13:24 < Zibi> thx 13:25 < _cheerios> it's hard to love Räikkönen, aye. especially if he's not winning :) 13:28 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 13:28 < Wombert> v-dogg: mmmh not sure 13:28 < Wombert> what do you need it for? 13:28 < v-dogg> http://trac.agavi.org/changeset/548 <- there 13:29 < Wombert> I think I said "should we remove it" and you said "go go go" :) 13:30 < v-dogg> ok then :) 13:30 < v-dogg> this brought it back to my mind: http://trac.agavi.org/attachment/ticket/487/BaseWebResponse.class.php 13:32 -!- Whisller is now known as Whisller[b] 13:41 < RossC0> yeah - would mean I didn't have to extend the core class :) 13:41 < RossC0> but did it cause problems? 13:48 < Wombert> well 13:48 < Wombert> imo the flash should be set on the user 13:48 < Wombert> which has a shutdown() 13:48 < Wombert> which we can use for exactly that 13:54 < RossC0> yeah - cool that works 13:57 -!- Whisller[b] is now known as Whisller 14:28 -!- Whisller [n=test@217.97.146.67] has quit [Read error: 60 (Operation timed out)] 14:36 -!- eremit [n=eremit@p5490E679.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 14:37 -!- eremit [n=eremit@p5490D111.dip.t-dialin.net] has joined #agavi 14:38 -!- horros_ [n=mle@a91-153-199-171.elisa-laajakaista.fi] has quit [Read error: 110 (Connection timed out)] 14:43 -!- JamieWolf_ [n=jamiewol@e177046239.adsl.alicedsl.de] has joined #agavi 14:44 -!- JamieWolf [n=jamiewol@e177035092.adsl.alicedsl.de] has quit [Read error: 104 (Connection reset by peer)] 14:44 -!- JamieWolf_ is now known as JamieWolf 15:10 < v-dogg> people 15:10 < v-dogg> how do you orginize your project directories? 15:10 < Wombert> app/ pub/ dev/ libs/ 15:10 < v-dogg> http://pastebin.ca/397368 15:10 < v-dogg> there's my layout 15:12 < _cheerios> i use what came with sample app 15:12 < v-dogg> so we all use about the same layout 15:12 < v-dogg> can I add that to the manual? 15:12 < _cheerios> i dont bundle agavi w/project, i keep that outside 15:13 < v-dogg> ok 15:13 < v-dogg> but you can still have that layout and use svn external or alike 15:14 < RossC0> app/ pub/ dev/ libs/ 15:14 < RossC0> I learn't from ze Master 15:15 < v-dogg> David "He-Man" Zlke 15:19 < Wombert> http://pastie.caboo.se/47374 15:20 < Wombert> all files that need modification depending on where the app is running exist only in -dist form 15:20 < Wombert> i.e. propel runtime conf, index.php, .htaccess 15:20 < Wombert> and whatever else is needed 15:20 < Wombert> err sec 15:21 < RossC0> get you and your ASCII! 15:21 < RossC0> :) 15:22 < RossC0> Wombert: thats not going to be the default layout is it? - seems very tied to propel 15:23 < Wombert> yeah 15:30 < Wombert> http://pastie.caboo.se/47374 better 15:30 < Wombert> http://pastie.caboo.se/47374 again 15:40 * RossC0 confused Agavi going to be packaged with propel? 15:40 < Wombert> nah 15:41 < Wombert> just an example 15:41 < RossC0> ah ok - I was wondering if you would add a ./agavi propelProject command 15:41 < Wombert> but we will advise people to use propel or doctrine once we have the full integration 15:42 < RossC0> well that'll be propel as doctrine won't give you 'full' integration 15:43 < RossC0> actually I'm not sure whats planned for propel for the full integration :-) 15:43 < RossC0> might be able to match it with doctrine 15:45 < Wombert> you will be able to use getModel() to get a Peer or make a new row object 15:45 < Wombert> plus, when propel hydrates rows etc or grabs peers internally, it will use getModel(), too 15:45 < Wombert> so everything has the context, and the correct one, too 15:45 < Wombert> (actually, only the context will be passed along, no getModel(), that would mean a performance hit) 15:46 < Wombert> so instead of BaseBook extends BaseObject you get BaseBook extends BaseObject implements AgaviIModel 15:47 < Wombert> and then each gets a getContext() and initialize() method 15:47 < RossC0> cool 15:47 < Wombert> (we could also have AgaviBasePropelObject there) 15:47 < Wombert> and for the peers 15:47 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:47 < Wombert> class BaseBookPeer implements AgaviISingletonModel 15:48 < Wombert> but it's not that simple, I have to modify propel heavily to allow for instantiable peers, so nothing uses LalaPeer::doSelect anymore, but instead gets a singleton instance and all 15:49 < Wombert> and that needs another method for the instance management that the agavi-specific builders can overwrite so it doesn't call BookPeer::getInstance() but instead BookPeer::getInstance($context) 15:49 < Wombert> aaaand sooooo oooooon 15:50 < MrJeep> hey wombert, which subversion version are you using ? 15:50 < Wombert> uuuh 15:51 < Wombert> localhost:~/Sites/mylst/trunk/dev dzuelke$ svn help 15:51 < Wombert> usage: svn <subcommand> [options] [args] 15:51 < Wombert> Subversion command-line client, version 1.4.2. 15:51 < MrJeep> you compiled it ? 15:51 < Xylakant> tsss. that's soo outdated... 15:51 < Wombert> hmm nah 15:51 < MrJeep> i have 1.3 right here ;P 15:51 < Wombert> http://metissian.com/projects/macosx/subversion/ 15:51 < MrJeep> and my computer complains it's too old 15:52 < Wombert> hm no that's not it 15:52 < MrJeep> 1.3 Stable 15:52 < Wombert> http://www.codingmonkeys.de/mbo/ 15:52 < Wombert> here 15:52 < Wombert> in ze sidebar 15:52 < MrJeep> nice, I can install it over the last svn 1.3 ? 15:53 < Wombert> yeah I think so 15:53 < MrJeep> cool 15:53 < MrJeep> let's see 15:53 < MrJeep> finally 15:54 < MrJeep> brb 15:54 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 15:54 -!- Niacin [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has quit [] 15:55 -!- Barfusslaeufer [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 15:58 < v-dogg> muahahaa 15:58 < v-dogg> http://www.amazon.com/Pro-PHP-Security-Chris-Snyder/dp/1590595084/ 15:58 < v-dogg> "you'll learn about various security measures, for example, creating and deploying "captchas," validating e-mail, fending off SQL injection attacks, and preventing cross-site scripting attempts" 15:59 < v-dogg> I get to learn about email validating regexp!!1! 15:59 < v-dogg> that book is a must-have! 15:59 < v-dogg> it might even teach you to escape your SQL strings 16:00 < RossC0> :> 16:00 < v-dogg> but then again, 97% off php devs don't know about that so... :D 16:00 < v-dogg> of 16:02 < v-dogg> from the neighbour channel: 15:41 <xxxxx> eval($_POST['notAHackHonest']); 16:02 < v-dogg> so maybe that book is not that useless after all :) 16:07 < Barfusslaeufer> seriously, eval should be removed from php 16:07 < Barfusslaeufer> even though you can write pretty cool stuff with it 16:07 < RossC0> I need eval 16:08 < RossC0> form my formula dsl 16:08 < RossC0> *for my formula dsl 16:10 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit [Read error: 110 (Connection timed out)] 16:18 -!- shoan_ [n=shoan@59.92.162.43] has joined #agavi 16:19 -!- Barfusslaeufer is now known as Xylakant 16:20 < Xylakant> well, maybe there should be an option "yes, i know what i'm doing let me use eval" that gets enables if you can answer a set of predefined programming questions 16:21 < Xylakant> pear soap uses eval as well to do some great stuff 16:21 < Xylakant> like proxy objects 16:22 < Wombert> "if eval is the answer, you're most certainly asking the wrong question" 16:22 < Wombert> or something like that 16:23 -!- shoan [n=shoan@59.92.139.57] has quit [Read error: 145 (Connection timed out)] 16:23 < Xylakant> ini_set("i know that eval is evil and am willing to sell my soul to the devil, so goddam let me use it", true); eval($user_supplied_code); 16:24 < Xylakant> otoh, meta programming and dynamic code generation is quite common in ruby/rails and an accepted way of getting things done. 16:24 < Xylakant> on the upside, people usually know what they are doing. 16:27 -!- eremit [n=eremit@p5490D111.dip.t-dialin.net] has quit [] 16:29 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has joined #agavi 16:30 < CIA-11> david * r1852 /branches/0.11/src/config/AgaviXmlConfigParser.class.php: added support for configuration directives in href attributes of XInclude <xi:include /> elements, closes #488 16:35 < Wombert> btw 16:35 < Wombert> Agavi only supports the http://www.w3.org/2001/XInclude namespace 16:35 < Wombert> some tutorials and such use http://www.w3.org/2003/XInclude 16:35 < Wombert> but that is deprecated 16:36 < Wombert> by the W3C 16:36 < Wombert> libxml will resolve these, but Agavi won't replace directives in their href attributes 16:37 < CIA-11> david * r1853 /branches/0.11/src/config/AgaviXmlConfigParser.class.php: debug var 16:42 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 16:45 < MrJeep> argu 16:45 < MrJeep> this is a pain in the ass... 16:45 < MrJeep> svn: Commit failed (details follow): 16:45 < MrJeep> and no details 16:47 < MrJeep> but with the console, I get this : 16:47 < MrJeep> svn: Commit failed (details follow): 16:47 < MrJeep> svn: Can't convert string from 'UTF-8' to native encoding: 16:47 < MrJeep> svn: /Volumes/Data/Web/Project/Web/Pokcom/docs/D?\195?\169finition.doc 16:53 < Xylakant> uh. charset issues 16:54 < Xylakant> renaming the file is the quickest solution 16:54 < Wombert> http://labs.flog.co.nz/raytracer/ 16:54 < MrJeep> ok. I think this has been done by my windows dump :S 16:54 < MrJeep> i'll try something 16:55 < Xylakant> or setting the proper charset/locale for svn and the shell 16:55 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 16:56 -!- codecop [n=moni___@88.118.198.35] has joined #agavi 16:56 < Xylakant> wombert: what an abuse of javascript 16:56 < Xylakant> but pretty cool 16:58 < Xylakant> it asked me like 10 times wether i'd like to debug that unresponsive script 17:01 < _cheerios> 2x5 renders quite snappy 17:03 < _cheerios> 1x1 and it's been 60 seconds with only half the sphere traced so far 17:08 < _cheerios> 7mins and still churnin' 17:11 < _cheerios> ~8½mins for best quality 1x1. can't wait for that adobe jit engine. 17:12 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:17 < MrJeep> Fatal error: Cannot access protected property AgaviConfigHandlersConfigHandler::$parameters in /Volumes/Data/Web/Project/Web/Pokcom/libs/agavi/util/AgaviParameterHolder.class.php on line 49 17:18 < MrJeep> the line 49 : $this->parameters = $parameters; 17:18 < Xylakant> MrJeep: disable eaccelerator 17:18 < MrJeep> is it an agavi bug or I scewed up something trying to figure out svnx ? 17:18 < MrJeep> ok :D 17:18 < Wombert> you're using that? 17:18 < Wombert> eww 17:18 < MrJeep> Mamp 17:18 < Wombert> use XCache or APC 17:19 < Wombert> ewww 17:19 < Wombert> OS X comes with apache 17:19 < Wombert> there are one-click php installers 17:19 < Wombert> and one-click mysql installers 17:19 < Wombert> http://www.entropy.ch/software/macosx/php/ 17:20 < Wombert> http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.37-osx10.4-i686.dmg/from/pick 17:20 < Zibi> question: do i have to call form populating in some different way in executeAjax then in executeHtml? 17:21 < Wombert> mmmh 17:21 < Wombert> form population and ajax... 17:21 < Wombert> that's probably not gonna work 17:21 < Wombert> the fpf needs a full html document 17:22 < Zibi> yea it isnt thats why im asking ;) 17:22 < Wombert> it can't really operate on a fragment 17:22 < Zibi> ok 17:22 < Wombert> plus you disabled it earlier 17:22 < Wombert> with that methods = html thing 17:22 < Wombert> remember? 17:22 < Zibi> so i need to populate it through js? 17:22 < Zibi> yup 17:22 < Wombert> well how you populate it... dunno 17:22 < Wombert> never thought about that 17:23 < Wombert> we might (very very maybe) have something in agavi 1.0 17:23 < MrJeep> i guess eAccelerator saves a cache somewhere ? 17:23 < Wombert> MrJeep: restart apache 17:23 < RossC0> Wombert: whats the problem with it? 17:23 < RossC0> hmm - can we override it so if ajax action get body contents and output? 17:23 < MrJeep> allready done, it says i need the propel database file... even if the use_database is set to false 17:24 < Xylakant> MrJeep: you must remove the loading of the eaccelerator php module 17:24 < Wombert> well it's gonna shout at you if it's not valid xml, RossC0 17:24 < MrJeep> yeah it's done 17:24 < Xylakant> ok... 17:24 < v-dogg> MrJeep: clear agavi cache, too 17:25 < Xylakant> and clear the agavi cache 17:25 < Wombert> for now, you can write a filter that removes the surrounding html stuff maybe? 17:25 < v-dogg> yeah. and remember to clear the agavi cache 17:25 < v-dogg> :) 17:25 < Xylakant> don't forget :) 17:25 < MrJeep> woot 17:25 < Xylakant> v-dogg you beat me to it just by the fraction of a second. 17:25 < MrJeep> done and it's working back 17:25 < RossC0> ok how'd we do custom filters? 17:26 < RossC0> any gotchas / hints? 17:26 < v-dogg> RossC0: check out fpf and exectimefilter 17:27 < Wombert> exectimefilter is good 17:27 < Wombert> place it in the chain before fpf 17:27 < Wombert> so that it runs after fpf on the way back 17:27 < Wombert> then strip the surrounding html if the output type is ajax (maybe read a flag in a request attribute, too) 17:27 < Xylakant> MrJeep: use something else than eaccelerator. it messes up with php5. we use XCache and are pretty happy, kaos recommends APC (says its faster). 17:28 < Xylakant> anything but ea. 17:28 < MrJeep> I don'T want to use this, or any accelerator at this time 17:28 < MrJeep> it just came with Mamp 17:28 < MrJeep> and zend stuff 17:28 < MrJeep> ( i just disabled it) 17:32 < Xylakant> you should use one in production use, especially if you plan to use propel 17:35 < Xylakant> so it's always good to use the same one on the development servers to keep the environements as similar as possible. 17:36 < MrJeep> ok, this is noted 17:36 < MrJeep> now for the agavi script 17:36 < MrJeep> i made a setenv script 17:37 < MrJeep> for the propel generator 17:37 < MrJeep> #! /usr/bin/env bash 17:37 < MrJeep> export BATDIR=$(pwd) 17:37 < MrJeep> export PATH=${BATDIR}libs\generator\bin\:%PATH% 17:37 < MrJeep> I'm wondering if this is "right" ? 17:37 < Xylakant> what are you trying to accomplish? 17:38 < MrJeep> add the path to the propel-generator to the path 17:38 < MrJeep> and this path is the current path 17:38 < MrJeep> in other words 17:38 < MrJeep> add the current path to the PATH env var 17:39 < Xylakant> export PATH=${PATH}:. 17:39 < Xylakant> . is always the current path 17:40 < Xylakant> if i understand you correctly 17:40 < MrJeep> i'll give you an example 17:40 < MrJeep> this script (for windows) by teh way, was given to me by... can'T remember the name 17:40 < MrJeep> anywa 17:40 < Wombert> forward slash :) 17:40 < MrJeep> lets say my projects is in : /MyProject 17:41 < Wombert> and "pwd" doesn't have a trailing slash 17:41 < Wombert> but what do you need? 17:41 < Wombert> I mean... the agavi script... mmmhm... you don't need that!? 17:41 < MrJeep> the propel generator is in /MyProject/libs/propel-generator/bin 17:41 < MrJeep> I think I'm ok with the agavi script 17:41 < MrJeep> do I have to chmod +x it ? 17:41 < MrJeep> or just ./agavi or sh agavi (I'm a little confused) 17:42 < Wombert> ./agavi 17:42 < Wombert> is agavi bundled with your project, yes? 17:42 < Wombert> then copy it from etc/agavi-dist 17:42 < Wombert> edit AGAVI_INSTALLATION 17:42 < MrJeep> yeah this is allready done 17:42 < Wombert> then it will work :) 17:42 < Wombert> and to generate your propel 17:42 < Wombert> run .../libs/propel-generator/bin/propel-gen `pwd` 17:42 < Wombert> in the project dir 17:43 < Wombert> i.e. where schema.xml is 17:43 < Wombert> or the full path to the current dir instead of `pwd` 17:43 < MrJeep> ok, just like good old time 17:43 < Wombert> those are backticks 17:44 < MrJeep> oh, almost forgot to reinstall phing 17:44 < Niacin> morning 17:47 -!- Whisller [n=test@217.97.146.67] has joined #agavi 17:48 < Whisller> hi 17:49 < Wombert> oh, MrJeep 17:49 < Wombert> propel-gen . 17:49 < Wombert> works too 17:50 < MrJeep> to re-execute the .bash_profile I just have to logout and login ? 17:50 < Wombert> no 17:50 < Wombert> opening a new terminal window is enough 17:50 < RossC0> Wombert: ok how'd I edit the filter chain ? 17:51 < MrJeep> ok thnx 17:51 < Wombert> global_filters.xml in this case 17:51 < Wombert> RossC0: I suggest a special layout for ajax actions that want population 17:51 < Niacin> woot 17:51 < Wombert> this layout would use a decorator 17:51 < Wombert> that does 17:51 < Niacin> i already got 2 data center commitments for my new control panel 17:51 < Niacin> :) 17:51 < Niacin> thats 5000+ servers 17:52 < Wombert> <html><!-- YAY REPLACE ME --><?=$inner?><!--YAY REPLACE ME --></html> 17:52 < Niacin> now if i could only finish agavifing it 17:52 < Wombert> (simplified) 17:52 < Wombert> then it's a matter of preg_replace 17:52 < Wombert> sounds good? 17:52 < RossC0> hmm 17:52 < RossC0> ah wait I'm returning json 17:52 < RossC0> so its {inner} 17:52 < RossC0> so thats easy 17:52 < Wombert> ehhhhh 17:52 < Wombert> uh? 17:52 < Wombert> eeeeh 17:53 < Wombert> how do you generate the json 17:53 < RossC0> <html><body> {MY AJAX CONTENT} </body></html> 17:53 < RossC0> would be what it outputs 17:53 < v-dogg> you use fpf with json? 17:53 < Wombert> err err err err 17:53 < Wombert> wwwwait a minute 17:54 < RossC0> no Zibi does :) 17:54 * v-dogg doesn't get it 17:54 < Wombert> so the json response _body_ contains html where you want population done? 17:54 < Wombert> creepy 17:54 < Wombert> don't do that 17:54 < RossC0> it also contains other information as well as some html 17:54 < Wombert> class MyResponse extends AgaviWebResponse 17:54 < Wombert> in send() 17:54 < Wombert> if the output type is ajax/json 17:55 < Wombert> call json_encode() on an array you build from the content and parameters you have set 17:55 < RossC0> what? 17:55 < Wombert> xD 17:55 < Wombert> like we do in ze chuckwalla 17:56 < RossC0> wait zibi pasting an example of a json template 17:56 < MrJeep> ah, damn phing : Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /Applications/MAMP/bin/phing/classes/phing/Phing.php 17:56 < Zibi> http://pastie.caboo.se/47410 17:56 < MrJeep> I downloaded 2.2.0 17:56 < Wombert> uh uh that's not good 17:56 < RossC0> why? 17:56 < Wombert> first, you're using strings for the hash keys :D 17:56 < Wombert> second, why not use json_encode 17:57 < Wombert> plus, what in that template do you want to have populated? :< 17:57 < RossC0> that was one example 17:57 < Wombert> ah okay so 17:57 < Wombert> well 17:57 < RossC0> wait 17:57 * Wombert waits 17:57 < RossC0> whats wrong with strings as hash keys? 17:57 < RossC0> thats the point of hashes 17:58 < Wombert> I don't think that's valid JS 17:58 < RossC0> yeah it is 17:58 < RossC0> infact { hello: 'blah'} is illegal JSON where as {"hello": 'blah'} is legal 17:59 < Xylakant> what? 17:59 < Wombert> oh yeah you're correct, RossC0 17:59 < Wombert> my bad 17:59 < RossC0> Xylakant: Javascript will allow either 18:00 < Wombert> but not json 18:00 < Wombert> he's right :) 18:00 < RossC0> second - why use a php function? to output text? 18:00 < RossC0> or will it validate my json ? 18:00 < Wombert> no, but 18:00 < Wombert> well 18:00 < Wombert> :) 18:00 < Wombert> json_encode(array('foo' => 'bar')); 18:01 < RossC0> that kills kittens surely 18:01 < Wombert> plus you're safe from "injection attacks" ;) 18:01 < Wombert> no, that's actually a lot better 18:01 < Wombert> UNLESS 18:01 < Wombert> you have html to return 18:01 < RossC0> hows that make you safe? 18:01 < Wombert> if it's just data, the recommended approach to send this data is to use $this->getResponse()->setContent(json_encode(...)); in the view executeJsonOrAjaxLala() 18:02 < Wombert> well assume comment_id was 18:02 < RossC0> ah it escapes its ok 18:02 < Wombert> \"><script>alert('yay injection');</script> 18:02 < Wombert> or so 18:02 < Wombert> yeah 18:02 < Wombert> I mean not in this case as it's coming from the db 18:02 < Wombert> but might happen with user input 18:03 < Wombert> plus 18:03 < Wombert> it's just data 18:03 < Wombert> no need for a template 18:03 < Wombert> you represent the data directly 18:03 < Wombert> without presentational transformation 18:03 < RossC0> Zibi: you getting this 18:03 < Wombert> it's just a different format 18:03 < RossC0> but still problematic when I'm sending html and data 18:03 < Wombert> but now you might argue (and with a point) that you might wanna return complx html 18:03 < Wombert> or json alongside html 18:03 < Wombert> yes 18:04 < Wombert> now let's assume case one, X-JSON header 18:04 < Wombert> you'd render a normal template and in the view you'd also do 18:04 < Wombert> $this->getResponse()->setHttpHeader('X-JSON', json_encode(array('status' => 'success'))); 18:04 < Wombert> that works, but not if your response _body_ is supposed to be json 18:05 < Wombert> for that, I recommend that you do this: 18:08 < RossC0> hmm with $this->getResponse()->setHttpHeader('X-JSON', json_encode(array('status' => 'success'))); you still output a template? 18:09 < MrJeep> woot propel works 18:09 < RossC0> or output just headers or both depending ! 18:09 < Wombert> ah yeah that's a special http header that is eval()ed automatically by prototype (and I think others) 18:09 < Wombert> you can use it to send json along with a normal html response 18:09 < MrJeep> i mean phing 18:10 < RossC0> so whats the best way for response body and json ? 18:10 < RossC0> put the json in the headers and the html in the template 18:10 < Wombert> if you like 18:10 < Wombert> payload is limited to 2kb or so tho 18:10 < Wombert> it's the way to go if you want to send few json data along 18:10 < RossC0> hmm then could have status => 'VIEWNAME' 18:11 < Wombert> in prototype, the second argument to your callback will contain the evaled json 18:11 < Wombert> I think mootools works th same 18:11 < RossC0> ok what was the other idea? 18:12 < RossC0> as that won't solve the FPF returning an error 18:12 < RossC0> or will it 18:12 < Wombert> that would, if your response is a full html document 18:13 < RossC0> hmm ok - will think it through 18:13 < RossC0> brb meeting! 18:13 < Wombert> yeah 18:14 < Wombert> RossC0: http://pastie.caboo.se/47412 18:15 < Wombert> so in the view, you then do this: 18:16 < Wombert> $this->getResponse()->setParameter('json', array('id' => 13, 'foo' => 'bar')); 18:16 < Wombert> and the ajax <output_type> has <parameter name="build_json_response">true</parameter> 18:17 < Wombert> the nice thing is that you can still selectively override that if you're so inclined 18:17 < Wombert> the rendered result of the template is in 'content' then 18:18 < Wombert> I think maybe agavi should support this out of the box 18:18 < Wombert> should it? anyone? 18:23 -!- JamieWolf [n=jamiewol@e177046239.adsl.alicedsl.de] has quit [] 18:28 < RossC0> Well I like it :-) 18:28 < RossC0> will have to review it in time and perhaps update our code - eh Zibi :) 18:29 < Wombert> the idea is that we would have 18:29 < Wombert> hmm 18:29 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:29 < Wombert> the output type could indicate a format 18:29 < Wombert> "text" would trigger no action 18:29 < Wombert> "json" would take the data and run json_encode on it 18:29 < Wombert> "xml" would call saveXml() on the data 18:30 < Wombert> just gotta make that pluggable somehow 18:30 < Wombert> I'll think about it when I have a minute 18:30 < RossC0> so from the view how'd you skip templates - just return $data ? 18:30 < Wombert> return nothing 18:30 < Wombert> hm well we could allow that... 18:31 < Wombert> yeah... that might be an idea 18:31 < Wombert> good one! 18:31 < RossC0> ;) 18:31 < Wombert> but it's getting complicated here, because of isMutable for instance 18:31 < Wombert> that then depends on the return type 18:31 < Wombert> might be something to tackle for 1.0 18:32 < Wombert> not sure 18:32 < RossC0> sure - I think we think on it 18:32 < RossC0> :) 18:32 < Wombert> we also need input types for 1.0 18:32 < Wombert> not sure how to do these either 18:32 < RossC0> I'll discuss plans for 1 over a beer later in the month :) 18:32 < Wombert> :) 18:33 < RossC0> look forward to hearing what we can do to help :) 18:34 < Wombert> <: 18:34 < Wombert> cool 18:47 -!- MrJeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [] 18:50 < RossC0> wtf - <a href="#main-content">Blah</a> doesn't work goes to a new page 18:50 < Wombert> yes 18:50 < Wombert> because of the base href 18:50 < RossC0> ah hmm 18:50 < _cheerios> It appeared that 10 of the detainees had swapped clothes with visitors and walked out of the prison, he said. 18:50 < _cheerios> heh heh 18:51 < Wombert> <a href="<?=$rq->getRequestUri()?>#main-content"> 18:51 < Wombert> or 18:51 < RossC0> I should update the base href 18:51 < Wombert> no, you can't 18:51 < RossC0> ah ok 18:51 < Wombert> <a href="<?=$ro->gen(null, array(), array('fragment' => 'main-content'))?>"> 18:52 < RossC0> whats the benefit of the base href? 18:53 < Wombert> you must use it :) 18:53 < Wombert> e.g. pub/products/13/ 18:53 < Wombert> the browser would then attempt to load images from there 18:53 < Wombert> you can of course specify images with /lala 18:53 < RossC0> ah ok 18:54 < RossC0> cool thanks 18:54 < Wombert> but that's not as portable when you're developing with the project somewhere below the docroot 18:54 < Wombert> use getRequestUri(), that's faster than the routing gen call 18:55 < Wombert> hm I could add that to routing gen... 18:55 < Wombert> lemme check 18:56 < _cheerios> 225-390e to watch the F1 race in Melbourne. o_O 18:57 < Wombert> yay can do! 18:57 < Wombert> cool 19:03 < CIA-11> david * r1854 /branches/0.11/src/routing/AgaviWebRouting.class.php: skip all the generating stuff when gen() is called with null as route and no parameters. good for attaching fragments to the current url or changing the hostname etc 19:03 < Wombert> there you go 19:03 < Wombert> now $ro->gen(null, array(), array('fragment' => 'woot')); skips the whole complicated code 19:04 < Wombert> and 'host', 'scheme' etc too 19:06 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 19:15 < RossC0> still more to type :) 19:18 < Wombert> then make a helper :) 19:40 < _cheerios> ^^ 19:46 < Xylakant> digitarald: want to know what was wrong with the Ajax request yesterday? 19:49 < digitarald> yeah, please 19:52 -!- Zibi [n=asd@80.4.120.163] has quit [] 19:53 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:55 < Xylakant> ok, i was trying to use async = false 19:55 < Xylakant> and firefox does not support that 19:55 < Xylakant> (which the docs fail to mention) 19:55 < Xylakant> and somehow, once you activate firebug 19:55 < Xylakant> firefox does support it 19:58 < Xylakant> all in all not a major problem just that all the code that is around that one ajax call now assumes that it is a syncronous call... 19:58 < Xylakant> because I had firebug installed and active while developing 20:06 < Wombert> Xylakant: you're not getting a onReadStateChange with async 20:07 < Wombert> send() and then just use status and responseLala 20:11 < Xylakant> Wombert: the problem is that mootools relies on onReadyStateChange to construct the response object 20:11 < Xylakant> which is null in that case 20:12 < Xylakant> at least that's what i gathered from digging through the code 20:12 < Xylakant> it's no problem that async = false is not supported in FF 20:13 < Xylakant> not mentioning that in the docs is somewhat bad 20:13 < Wombert> it is 20:13 < Wombert> it's a mootools issue then 20:13 < Xylakant> and what really made the day was that it behaves completely different once firebug is activated. 20:14 < Wombert> well it's a mootools problem 20:15 < Xylakant> took me a couple of hours to figure out why it works on my test computer and why not on some other 20:15 < Xylakant> that firebug obviously changes some behaviour? 20:15 < Wombert> it should call the callback manually for synchronous request 20:15 < Wombert> no, it's a mootools problem that sync dos not work 20:15 < Xylakant> yes. 20:15 < Xylakant> maybe 20:15 < Wombert> FF supports aysnc=false 20:16 < Wombert> mootools' implementation is broken 20:16 < Xylakant> still, the worst part was that the behaviour changes with firebug 20:16 < digitarald> sync requests need a fix, right 20:17 < digitarald> today or tomoorow its fixed 20:17 < Wombert> be careful not to register onreadystatechange for synced ones 20:17 < Wombert> just call manually 20:17 < Wombert> or else its run twice in ie 20:17 < Wombert> and safari 20:19 < Xylakant> digitarald: would you mind sending me a note? email or icq? 20:26 < _cheerios> yea, havent run into that w/proto 20:56 < Xylakant> cu guys 20:56 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"] 21:01 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 21:33 -!- codecop [n=moni___@88.118.198.35] has quit ["Have to go"] 21:55 < impl> How on Earth does TranslationManager::$availableConfigLocales get set? :\ 21:57 < Wombert> in the config 21:58 < impl> oomf 21:58 < impl> I see now 21:58 < impl> If I want to load locales from a database, then I should write a custom TranslationConfigHandler? 21:58 < kaos> no 21:58 < kaos> i think you already solved that ? 21:58 < impl> I did, but now I'm going back on myself 21:59 < kaos> the way you did it was the way to do it 21:59 < impl> I saw the sample app using TM::getAvailableLocales 21:59 < impl> And it seems like it would be a waste to query the DB every time 21:59 < kaos> didn't you overwrite loadAvailableLocales ? 22:00 < impl> oh 22:00 < impl> D: 22:00 < Wombert> :> 22:00 < impl> haha, you're right 22:00 < kaos> :] 22:00 * impl is off today, sorry :D 22:03 < kaos> hmm ... maybe someone should tell the ubuntu guys that doing a menu with images 22:04 < kaos> but w/o any hint which item you'r just hovering 22:04 < kaos> is kinda '98ish 22:04 < kaos> ah 22:04 < kaos> its even text 22:04 < impl> there's a name for that 22:04 < impl> it's like 22:04 < kaos> lol ... 22:04 < impl> mystery meat 22:05 < kaos> sometimes i wish links should not be styleable ;P 22:05 < kaos> i just can't understand why someone creates a link where you get no visual clue on hovering :< 22:06 < Wombert> that's why everyone is making them blue and underlined again these days 22:06 < Wombert> at least underlined 22:06 < Wombert> what's worse than non underlined links is underlined regular text 22:06 < Wombert> that makes me want to kick someone 22:06 < kaos> well, their cool menu at the top 22:06 < kaos> expands to outside of the site 22:06 < kaos> haha 22:06 < kaos> and the paddings are fixed 22:06 < kaos> omg 22:08 < kaos> http://talkback.zdnet.com/5208-12355-0.html?forumID=1&threadID=31199&messageID=579806&start=43 <-- and such ppl should not be allowed to use a computer at all ;D 22:30 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 22:45 -!- fastly [n=fast@81-178-226-158.dsl.pipex.com] has joined #agavi 22:56 < MikeSeth> wow haha 22:57 < MikeSeth> soft keyboards are so awesome 23:08 < CIA-11> david * r1855 /branches/0.11/src/config/AgaviXmlConfigParser.class.php: fixed ugly chars getting encoded during constants replacing and thus making DOM bark. also won't replace in fragment identifiers anymore, but that wouldn't make a difference I guess 23:23 < Jeep> Wombert: is it possible to update osx apache to apache 2 ? 23:24 < Wombert> certainly 23:24 < Wombert> never did it though 23:24 < impl> hmmh 23:24 < Wombert> I'm sure you'll find plenty of tutorials 23:24 < Wombert> shouldn't be hard 23:24 < Jeep> does it actually worth it ? 23:24 < impl> How would I go about setting the default locale if I'm reading them from a database? 23:24 < impl> I can't have a <available_locales> without children D: 23:24 < Wombert> wouldn't know why 23:33 -!- digitarald [n=Miranda@62-43-173-14.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] --- Day changed Sat Mar 17 2007 00:04 < Jeep> should I configure apache to run as my current "jeep" user ? 00:04 < Jeep> or root user ? 00:05 < Jeep> what do you think ? 00:07 < MikeSeth> start it as root and tell it to drop privs to another user 00:07 < MikeSeth> i dont think there is any other way really 00:08 < Jeep> i do that or set my document root chmod to 777 :S 00:08 < impl> www-data is always good 00:09 < MikeSeth> Which is why debian does that 00:13 -!- Niacin [n=cwade@static-71-97-126-90.dllstx.dsl-w.verizon.net] has quit ["Leaving"] 00:29 < CIA-11> david * r1856 /branches/0.11/src/config/AgaviXmlConfigParser.class.php: another fix :) 01:27 < _cheerios> hmm; firefox being cute. I type in http://agavi.org and it changes title+tab title to "Welcome to Agavi!" ... but nothing else, page doesn't show Agavi. I use http://www.agavi.org and the site loads too... 01:27 < impl> both working for me 01:28 < _cheerios> yeah, it's just firefox 2 being firefox :/ 01:28 < _cheerios> i sometimes have it forget that it's a web browser.. need to restart it so it starts loading shit again. 01:28 < impl> :P 01:49 < _cheerios> creepy how China watches it's citizens on the web http://www.wired.com/news/technology/0,72972-0.html 02:25 -!- fastly [n=fast@81-178-226-158.dsl.pipex.com] has quit [Read error: 110 (Connection timed out)] 02:57 < CIA-11> david * r1857 /branches/0.11/src/routing/AgaviWebRouting.class.php: replace '&' in gen() url if necessary, fix for issue introduced in [1854] 03:35 -!- kaos [n=kaos@ppp-82-135-83-164.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"] 03:55 -!- Wombert [n=Wombert@dslb-084-056-013-176.pools.arcor-ip.net] has quit [] 05:42 -!- Arme[0] is now known as Arme[N] 06:00 -!- Niacin [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has joined #agavi 06:00 < Niacin> evening all 07:30 -!- dsadas [i=dsadas@200.203.17.130] has joined #agavi 08:23 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 08:24 < dsadas> using FormPopulationFilter, how do i know where will be shown the action errors? i'm looking the sample app and there is nothing in the templates file... 08:34 < dsadas> i've found it 08:34 < dsadas> :D 08:46 -!- dsadas [i=dsadas@200.203.17.130] has quit [] 09:06 -!- digitarald [n=Miranda@62-43-163-16.user.ono.com] has joined #agavi 09:26 -!- dsadas [i=dsadas@200.203.17.130] has joined #agavi 09:35 < dsadas> is there a default method to implement some logic in the action to return the confirmation if the action can be accessed? for example... i want to let the logged user edit a record if he is the owner of the record otherwise the access is denied... to know that i would need to access my database 09:37 < dsadas> what i'm looking for is a method like validate (AgaviRequestDataHolder $params) for authorization 09:40 < digitarald> mmhh 09:41 < digitarald> i would check it initialize 09:41 < digitarald> or u just use credeintials and roles, so u don't need to check 09:42 < digitarald> i check if a record belongs to a user in validate 09:44 < dsadas> yepp... i thought doing this... but i dont think it is the best approach 09:49 < digitarald> u need the record to check the rights, so the input need to valid 09:49 < digitarald> so validate user rights in validate is ok, imho 09:57 < dsadas> the concept is the same... but... 09:57 < dsadas> another question... since i can get the the AgaviRequestDataHolder from wherever i want... why is it an argument of some methods? 09:57 < dsadas> like execute () 10:34 -!- JamieWolf [n=JamieWol@e177046239.adsl.alicedsl.de] has joined #agavi 10:34 < digitarald> fast access 10:34 -!- JamieWolf [n=JamieWol@e177046239.adsl.alicedsl.de] has quit [Remote closed the connection] 10:34 < digitarald> and in validate u can edit the data values 10:35 < dsadas> ok, tkz 10:37 -!- JamieWolf [n=JamieWol@e177046239.adsl.alicedsl.de] has joined #agavi 10:37 -!- JamieWolf [n=JamieWol@e177046239.adsl.alicedsl.de] has quit [Remote closed the connection] 10:55 < dsadas> i've changed one class of the framework to do what i want... without the method isAuthorized all works as well as before... and isAuthorized works combined with getCredentials 10:55 < dsadas> well 10:55 < dsadas> i'm going 10:55 < dsadas> bye 10:55 -!- dsadas [i=dsadas@200.203.17.130] has quit [] 11:02 < v-dogg> huomenta 11:04 < v-dogg> isAuthorized? 11:36 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 11:57 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 12:08 -!- Wombert [n=Wombert@dslb-084-056-006-081.pools.arcor-ip.net] has joined #agavi 12:12 < horros> Wombert: did you watch the qualifying laps?-) 12:13 < horros> groceries => 12:13 < Wombert> nope 12:19 < _cheerios> Cars \o/ 12:20 < _cheerios> Räikkönen took pole? hmm :) 12:25 -!- Whisller [n=test@217.97.146.67] has joined #agavi 12:35 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 13:12 -!- Whisller [n=test@217.97.146.67] has joined #agavi 13:13 < Whisller> Hi 13:26 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)] 14:04 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 14:21 < Wombert> btw 14:22 < Wombert> our commit count has exceeded symfony's for the last two months and is likely going to for march, again 14:22 < Wombert> december was a slow month for agavi, but we had more activity in november, too 14:23 < Wombert> symfony's activity is now rapidly going down 14:23 < Wombert> they're from 302 commits in september to 31 in march (projected) 14:24 < Wombert> disclaimer: I'm not counting commits to the plugins/ dir of symfony 14:24 < Wombert> just the framework itself 14:25 < v-dogg> hey, we (I) need a url validator :) 14:25 < v-dogg> I was going to build one 14:26 < v-dogg> any points I should remember? 14:26 < _cheerios> they had a major release recently, tho. plus the book. probably resting in tahiti on book sales money? :D 14:46 < _cheerios> "eliitin lapsi golfaa, rahvaan hiihtää ja ui" << nice title 14:48 < Wombert> hm someone wrote one the other day, v-dogg... 14:48 * Wombert ponders 14:49 < Wombert> and damn I just remembered an important thing I need to change before 0.11 and now I forgot 14:49 < Wombert> grr 14:49 < Wombert> ah 14:49 < Wombert> right 15:01 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 15:02 -!- Whisller [n=test@217.97.146.67] has joined #agavi 15:08 < Whisller> :) 15:53 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 131 (Connection reset by peer)] 15:59 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [] 16:14 < v-dogg> Wombert: what was that? 16:18 -!- shoan [n=shoan@59.92.160.202] has joined #agavi 16:19 < CIA-11> david * r1858 /branches/0.11/src/filter/AgaviExecutionFilter.class.php: allow 'container_parameter' source for caching groups, call toString() if a given group is an object 16:19 < Wombert> that :) 16:20 < Wombert> so if you set up caching for an action 16:20 < Wombert> and that is used as slot and normal 16:20 < Wombert> you can have different caches 16:20 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Client Quit] 16:25 < Wombert> I thought about always adding that... 16:25 < Wombert> i.e. always have the is_slot param as another source 16:25 < Wombert> err group 16:25 < ttj> Ugh. Sparkling wine might've not been such a brilliant idea. 16:32 -!- shoan_ [n=shoan@59.92.162.43] has quit [Read error: 110 (Connection timed out)] 16:51 -!- KD-Misafir014 [n=KD-Misaf@85.98.66.194] has joined #agavi 16:51 < KD-Misafir014> hwyyyy 16:52 < v-dogg> well put 17:27 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 17:39 -!- KD-Misafir014 [n=KD-Misaf@85.98.66.194] has quit ["Ya015fas0131n KD!"] 17:56 -!- JamieWolf [n=JamieWol@e177177184.adsl.alicedsl.de] has joined #agavi 18:18 < _cheerios> mmm *streches* 18:46 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 18:55 -!- Whisller [n=test@217.97.146.67] has joined #agavi 20:41 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 20:45 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] 21:01 -!- Whisller [n=test@217.97.146.67] has quit [] 21:11 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 21:11 < Jeep> good afternoon everybody 21:25 < Jeep> Wombert : are you there ? 21:27 < Jeep> anyone's good with bash script here ? 21:34 < v-dogg> ask away, no promises 21:35 < impl> ehm 21:36 < impl> Is there a way to actually get to the parameters stored in AgaviLocale? 21:36 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has joined #agavi 21:36 < Alystair> ayeeeee 21:36 < impl> oh, it extends ParameterHolder 21:36 < impl> Nevermind :D 21:37 < Alystair> Agavi pisses me off 21:37 < impl> haha, why? 21:37 < Alystair> It's too big for me to learn, yet I can't switch to a different framework because Wombert talked me into thinking that anything other than Agavi is crap 21:37 < impl> lol 21:37 < Alystair> at least Propel looks nice. 21:37 < v-dogg> and they are! :) 21:38 < v-dogg> but the very basic stuff that gets you going are simple 21:38 < v-dogg> and then you just keep asking for help whenever there's a problem or you are not sure which way to go 21:39 < Alystair> I just want to remember how to learn again haha 21:39 < Alystair> guess it just takes brute effort ;O 21:43 * Alystair just wants to make a password protected area for now and build on that ;[ 21:44 < v-dogg> you just want a pw protected playground or you want to learn user authentication w/ agavi? 21:45 < Alystair> second option! 21:46 < Alystair> also, does agavi have it's own functionality for DB access/control or does it simply work as a passthrough to Propel 21:46 < impl> It has adapters 21:47 < Alystair> ?_? 21:47 < _cheerios> hahaha 21:47 < _cheerios> @ "it's too big, yet..." 21:47 * Alystair totally breaks his AMP install by installing zend platform above it 21:47 < impl> You get to the database connection through Agavi, but then you use the native commands 21:48 < impl> getContext()->getDatabaseManager()->getDatabase() 21:48 < v-dogg> or context->getDatabaseConnection(); 21:48 < impl> oh srs 21:48 < impl> D: 21:48 < v-dogg> for mysql and postgresql it gives you the connection resource 21:49 < v-dogg> with pdo PDO object 21:49 < impl> It's the same as getContext()->getDatabaseManager()->getDatbase()->getConnection() right? 21:49 < v-dogg> yep 21:50 < impl> Convenient 21:50 < Alystair> >_< 21:51 * Alystair doesn't understand shit 21:52 < Alystair> and this Zend Developer Suite thing isn't a magic bullet either ;_; 21:52 < _cheerios> things take time to learn, no way around it :) 21:57 * Alystair broke his install 22:02 < Alystair> is there a master list of all agavi functions/etc? 22:03 < impl> http://www.agavi.org/docs/latest/apidocs/ 22:04 < Alystair> wow 22:04 < Alystair> that looks prettyy neat 22:04 < Alystair> documentation is generated automagically? D: 22:09 * Alystair is looking at the sample app 22:11 < Alystair> why would there be custom data inside a /lib/ directory \o/ 22:11 < Alystair> this makes no sense to me 22:14 < impl> For writing your own libraries that run on top of Agavi's libraries 22:14 < impl> for example, I've got a DatabaseTranslationManager and a DatabaseTranslator 22:14 < Alystair> @_@ 22:14 < Alystair> this is rediculous 22:15 < Alystair> if you're making your own libraries anyway, doesn't that go against MVC? I mean you could put it in the model then no? 22:15 < Alystair> LMVC 22:15 * Alystair is lost 22:15 < impl> Er 22:15 < impl> I don't think so 22:16 < impl> This is a replacement for Agavi's default translation stuff 22:16 < Alystair> oh. 22:16 < Alystair> ok 22:16 < Alystair> so anything you put in /lib/ replaces default agavi stuff, that makes sense 22:17 < impl> Well, it replaces it if you tell it to :P 22:17 < impl> You set up that stuff in your config 22:17 < impl> autoload.xml and soforth 22:18 < Alystair> everything is so confusing :\ 22:19 < Alystair> whatever happened to function blah(){dostuff;} 22:20 < impl> "doesn't that go against MVC?" :P 22:21 < Alystair> this whole MVC thing is overcomplicating everything for me 22:21 < Alystair> the days before MVC, XML, etc. 22:21 < Alystair> I'm only 22 and I already feel totally incompetent 22:22 < impl> I'll refrain from telling you my age then 22:24 < Alystair> ? 22:24 < Alystair> It's just that 22:24 < Alystair> I've stopped learning anything new for so long and it's all very hard now ;[ 22:25 < Alystair> 4 years of doing jack shit 22:25 < impl> Should've gone to college! :P 22:25 < Alystair> dropped out 3 times 22:25 < impl> D: 22:26 < Alystair> graphic design, computer programmer analyst, web design 22:26 < Alystair> every one after the first semester 22:26 < Alystair> got bored etc. 22:26 < Alystair> then ended up working at this startup and stopped learning ;[ 22:27 < impl> Maybe those aren't your fields then 22:27 < Alystair> they are 22:27 < impl> You think they are =P 22:27 < Alystair> they didn't teach properly 22:28 < impl> ah 22:28 < Alystair> CPA tried teaching me VB 22:28 < Alystair> after java 22:28 < impl> haha... 22:28 < Alystair> graphic design was antiquated, a whole course on drawing fonts and cursive... 22:28 < Alystair> web developement was simply boring because it taught me stuff I already knew 22:29 < Alystair> and it wasn't really development, more like management stuff 22:29 < Alystair> if there was a course somewhere dedicated to learning a specific language I'd take it 22:29 < Alystair> C/C++/PHP :p 22:30 < Alystair> I think agavi needs a better tutorial 22:30 < Alystair> I'm looking at the APIDOCs and things make more sense 22:31 < Alystair> eg. a document that shows you how to make a simple application step by step... eg. user authentication, connecting to a DB and pulling data, etc. 22:31 < Alystair> logging user activity, etc. 22:32 < Alystair> that would be the best method :) 22:33 < impl> Yeah 22:33 < impl> We know we need all sorts of documentation and stuff 22:33 < Alystair> that's agavi's problem right now... from the point of view of a new person 22:33 < impl> That's why we don't have a huge userbase like Symfony and Cake 22:33 < Alystair> who cares if there are minor bugs in the system, you can correct them slowly as it comes up. To increase the userbase you need better documentation! 22:34 < Alystair> and as you increase the userbase more knowledgable people can come on board and fix those small errors :) 22:34 < Alystair> should be #1 priority imho D: 22:34 < impl> It is now, in preparation for 0.11 and 1.0 22:34 < Alystair> impl: I'll pay you $40 right now to start a tutorial doc... lol 22:36 < Alystair> because right now I need to save my fathers company from doing a really stupid mistake 22:36 < Alystair> and going for a 1 year vendor lockin for a huge amount of money 22:37 < _cheerios> $40 pays for starting the coffee machine to actually start to do actual work :p 22:37 * Alystair just buys beans and eats them 22:37 < Alystair> skip the middle man! 22:38 < impl> Buys them from the farmer? :) 22:39 < Alystair> funny thing, I wanted to go out and buy fairtrade coffee 22:39 < Alystair> and for some reason the place was all out and suggested me to buy their house brand :| 22:41 * Alystair could bring in a lot of money to agavi if he actually knew how to do anything ;\ 22:42 < impl> Keep asking questions :D 22:43 < Alystair> but I don't want to be the harassing newbie though! 22:43 < impl> It's okay, really! 22:43 < Alystair> I guess that's what IRC is for, don't want to shit up the mailing list if you have one ;D 22:44 < impl> We've got them 22:49 * Alystair is the lone agavi newb D: 22:51 < impl> Alystair: You should see some of the questions that get posted to the list 22:51 < Alystair> maybe I shouldn't D: 22:52 < _cheerios> on page 25 of google results. this is something i don't do that often... 22:52 < impl> They'd make you feel good 22:52 < _cheerios> 1.3million results to go. 22:52 < impl> hi All 22:52 < impl> 22:52 < impl> The redirect works well .thanks all now i have made another customized menu page after login .i wanted to load that menu after login.how can i do that. what all i should do to make it 22:52 < impl> 22:52 < impl> regards 22:54 < Alystair> heh 22:55 < Alystair> I'm thinking a complex hello world project would be good for tutorial 22:56 < Alystair> or make it one of the actions a person can take 23:12 < _cheerios> lisää persettä rättipäille. i dont knowwhat's with me to actually like this song. couldnt believe it was 6th on singles chart. 23:12 < impl> Wombert: AgaviITranslator::localeChanged should take an AgaviLocale as an argument 23:12 < impl> Yes? 23:13 < impl> Actually, that should be more directed at kaos... wonder where he's at 23:17 < _cheerios> hunting meat, likely 23:28 < _cheerios> http://null.in/wp-content/uploads/2006/11/ruby_on_rails.jpg goes into the lame jokes of the day tag 23:29 * Alystair doesn't get it 23:29 < Alystair> ... 23:29 * Alystair gets struck by the obviousness oh god that's really lame 23:30 < Alystair> that's beyond lame 23:33 -!- digitarald [n=Miranda@62-43-163-16.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 23:39 < _cheerios> http://www.youtube.com/watch?v=Y6kd42jIaHk anothr beryl showcase vid 23:45 < Alystair> man fate's really teasing me 23:45 < Alystair> I was thinking about learning Symphony and now their site is down 23:45 < Alystair> all signs point to agavi *shake fist* 23:48 < _cheerios> http://superyay.com/wp-content/uploads/2007/03/Picture%201-16.jpg :) 23:51 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 23:54 < _cheerios> “Beware of bugs in the above code; I have only proved it correct, not tried it.” :o 23:59 < v-dogg> errr... 22:15 < Alystair> if you're making your own libraries anyway, doesn't that go against MVC? 23:59 < v-dogg> 1st, this has nothing to do with MVC 23:59 < v-dogg> 2nd, frameworks are designed so that they are easily extended --- Day changed Sun Mar 18 2007 00:00 < v-dogg> that's what makes it a framework 00:00 -!- JamieWolf [n=JamieWol@e177177184.adsl.alicedsl.de] has quit ["Had a nice day!"] 00:04 < impl> umf 00:04 < impl> Why don't translators get the full domain? 00:05 < impl> domainExtra isn't enough D: 00:06 < impl> in fact ... it doesn't make sense 00:06 < impl> otherwise you can't tell what larger domain you're in :\ 00:12 < impl> grrar 00:13 < _cheerios> hehe @ J2EE becoming JEE 00:13 < v-dogg> Alystair: we are aware that our documentation is crappy, we are working on it 00:13 < v-dogg> but: 00:13 < v-dogg> we are very few 00:14 < v-dogg> we prefer doing things well, not in a hurry and fuck them up 00:14 < v-dogg> we are offering help here and via the mailing list 00:15 < impl> I DUN LIEK THIS TRANSLATION STUFF D: 00:15 * impl slaps kaos 00:15 < v-dogg> :D 00:15 < impl> I'm gonna go off and fix stuff if he's not careful! 00:16 < impl> oh yes oh yes I am 00:16 < impl> :< 00:16 < v-dogg> Alystair: the sample app and the manual should get you started, build a project and play with it 00:16 < v-dogg> ASK! 00:16 < impl> v-dogg: Have you played with the translators any? 00:16 < impl> Writing your own and stuff 00:16 < v-dogg> a little 00:16 < v-dogg> no 00:17 < v-dogg> I've used the simpletranslator 00:17 < impl> Ah 00:18 < v-dogg> Alystair: you can pick any framework you like (symfony, cake, wahtever) and you still need to learn lots of new stuff 00:21 < impl> oho I know what I'll do 00:22 < impl> actually no, that'll break everything 00:22 < impl> :< 00:23 < v-dogg> bed time 00:23 < v-dogg> night 00:23 < impl> Night 00:24 < _cheerios> i have to ask horros when i see him next time if he is a JEE programmer *chuckles* 01:05 < _cheerios> "The best reason to always build out APIs for your product is that it makes it easier for the rest of the world to extend your product or service rather than start competitors" 01:19 < Alystair> hrm SmartClient looks nice 01:19 < Alystair> D: 01:21 < impl> http://www.smartclient.com/ ? 01:23 < Alystair> yeah 01:23 < Alystair> spotted it off of a google advert 01:25 < Alystair> trying to figure out what it runs on though 01:25 < _cheerios> hehe... UK's Eurovision song http://youtube.com/watch?v=8m-ngE570qg 01:25 < Alystair> ... ah... Java :\ 01:26 < impl> Validation 01:26 < impl> is 01:26 < impl> fucking 01:26 < impl> magic 01:26 < impl> MAGIC 01:26 < Alystair> ?? 01:26 < impl> It's liek zomg workzstjaslkdjMAGIC 01:26 < Alystair> impl: please explain yourself with more gravitas and detail ;O 01:26 < Alystair> where, with smartclient 01:26 < Alystair> ? 01:26 < impl> No, with Agavi 01:27 < impl> Have you played with validation configuration yet? 01:27 * Alystair glances 01:27 < Alystair> uhm, I haven't played period D: 01:27 < impl> See, that's what you've gotta start doing 01:27 < Alystair> I'm not even ON the ballpark 01:28 < impl> Just start writing stuff 01:28 < impl> Then you'll be like "wtf, how do I do this" 01:28 < impl> and ask us 01:28 < Alystair> life really bites sometimes, you gotta expend effort to really do something awesome D: 01:29 < Alystair> this smartclient thing looks really awesome though >_> 01:29 < impl> Too AJAXy for me 01:29 < Alystair> but .. but... 01:29 < _cheerios> having heard Finland's song I thought it's the worst, but UK sunk deeper... 01:31 < Alystair> smartclient looks way easier @_@ 01:31 < Alystair> but it uses java... so conflicted. 01:32 < _cheerios> Israeli entry.. *g* ... Push the button! http://youtube.com/watch?v=f_h_rLKTLvs 01:40 < _cheerios> LDK's song last year was a blast http://youtube.com/watch?v=T9qrO92xDpA 01:46 < Prometheus^> hmm 01:46 < Prometheus^> looks like I may finally have a project that could use agavi :) 01:48 < _cheerios> Eurovision fan website? 01:50 < Prometheus^> naw, something better ;) 01:50 < _cheerios> DJ BOBO FANCLUB?!!?! http://youtube.com/watch?v=9-dDxp8Cez0 01:52 < _cheerios> Bulgaria has a technoish (could be a suprise mover like Lordi last year) song http://youtube.com/watch?v=F9ytzgtLW1A 01:53 < Alystair> I think I'm just going to switch to the dark side 01:53 < Alystair> and go with smartclient, and make the site in java 01:53 < Alystair> it looks so easy :< 01:54 < impl> Are you sure it's not just a UI framework? 01:54 < impl> That's what it looks like to me 01:55 < Alystair> isn't that 99% of the work D: 01:55 < Alystair> making it look pretty and prevent user stupidity 01:56 < impl> You can prevent stupidity with Javascript, but not abuse 01:56 < _cheerios> hear hear 01:56 < Alystair> but it's ajax D: 01:56 * Alystair actually checks if the validation is done serverside 02:01 < impl> Alystair: You use it with Struts and/or JSF, it looks like 02:01 < Alystair> !_!? 02:02 < _cheerios> would be quite something to hook it into a MAGIC AJAX BOX FROM WONDERLAND :D 02:07 * Alystair blinks 02:11 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["I DREAM OF AJAX SHEEP THEY ARE SO WEB2.0 MY AJAX SHEEP"] 02:15 < Prometheus^> "but it's ajax"... 02:16 < Prometheus^> that's a good one ;) 02:16 < impl> hehe 02:17 < Prometheus^> I think that's the single most misused word on the web these days 02:17 < Prometheus^> or rather, abbreviation 02:22 < Alystair> "SmartClient implements the XML Schema set of validators on both client and server" 02:22 < Alystair> Booya 02:23 < Alystair> and come to think of it, java programmers are much easier to find D: 02:23 < impl> Well, I wish you luck in your future adventures in the Land of Java 02:24 < Alystair> yeah 02:24 * Alystair tries the demo 02:24 < impl> Don't come crying to us when you find enterprise development in Java is 50x more complicated :P 02:26 < Alystair> by that time we will be able to afford it 02:27 < Alystair> the biggest joke is that perfection is never reachable, and it's always easier to create an imperfect solution. 02:27 < Alystair> I wouldnsurvival of the laziest 02:27 < Alystair> er 02:27 < Alystair> I wouldn't call it survival of the laziest, however 03:08 < impl> !seen kaos 03:08 < um> impl: kaos was last seen in # 1 day, 4 hours, 59 minutes, and 53 seconds ago saying: <kaos> http://talkback.zdnet.com/5208-12355-0.html?forumID=1&threadID=31199&messageID=579806&start=43 <-- and such ppl should not be allowed to use a computer at all ;D 03:19 < impl> Is it a bad idea to use ValidationManager::setError in the action rather than the view? 03:20 < impl> oh it doesn't even exist until there's a container, does it? :P 03:24 < impl> pshh 03:24 < impl> WHAT AM I TALKING ABOUT 03:28 < impl> mm, but using TranslationManager in the action is a Bad Thing 03:28 < impl> better go with the View 03:32 < Alystair> you should have declared your TransparentThoughtProcess as private :P 03:33 < impl> Well I didn't intend to end up talking to myself 03:33 < impl> :| 03:33 < Alystair> haha :) 03:33 < Alystair> I'm horrible. 03:40 < impl> I can't decide whether I should use Propel or PDO :\ 03:46 < Alystair> pdo? 03:46 < Alystair> as a manager I suggest you use the one with the better sounding name. 03:52 < impl> My 'manager' is like 'just make it work' 03:52 < impl> I'm not sure which policy is better :P 04:19 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Client Quit] 05:27 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [] 05:37 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 05:38 < Jeep> hi 05:39 < Jeep> i tried the propel option propel.useDateTimeClass and , unfortunately, it seems it does not remove the use of the DateTime class :S 06:18 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has quit [Client Quit] 06:32 -!- Wombert [n=Wombert@dslb-084-056-006-081.pools.arcor-ip.net] has quit [] 06:49 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has quit [] 08:16 -!- digitarald [n=Miranda@62-43-163-16.user.ono.com] has joined #agavi 09:08 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 10:05 -!- _stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 10:09 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 145 (Connection timed out)] 10:35 -!- _stachu is now known as stachu 11:04 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 11:04 < _cheerios> Räikkönen \o/ 11:06 < v-dogg> Niinist \o/ 11:06 < v-dogg> oh, not yet time for that 11:07 < v-dogg> and I haven't even voted yet :0 11:07 < v-dogg> vote -> 11:14 < _cheerios> oh yeah, voting... 11:38 -!- digitarald [n=Miranda@62-43-163-16.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 11:42 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 11:49 < v-dogg> done 11:50 < _cheerios> that was quick 11:52 < v-dogg> voting itself took about 2 minutes, voting place was almost empty 11:56 -!- Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 11:57 < _cheerios> i checked it's about 200m's to the voting place. 11:57 < _cheerios> did you vote female or male? 11:58 < v-dogg> male 12:02 -!- Prometheus^_ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 12:02 < _cheerios> http://www.dailymail.co.uk/pages/live/articles/news/news.html?in_article_id=442730&in_page_id=1770 12:03 < _cheerios> brings to mind "the computer is my friend" posters 12:12 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Connection timed out] 12:14 -!- digitarald [n=Miranda@62-43-163-16.user.ono.com] has joined #agavi 12:14 -!- Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Connection timed out] 12:15 -!- digitarald [n=Miranda@62-43-163-16.user.ono.com] has quit [Client Quit] 12:39 -!- digitarald [n=Miranda@62-43-163-16.user.ono.com] has joined #agavi 12:45 < splatch> oi! :) 13:04 -!- Whisller [n=test@217.97.146.67] has joined #agavi 13:06 < Whisller> morning 13:13 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 13:27 -!- Prometheus^_ [n=Promethe@cs181170022.pp.htv.fi] has quit [Client Quit] 13:29 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 13:39 -!- digitarald [n=Miranda@62-43-163-16.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 13:45 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 13:51 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit [Read error: 110 (Connection timed out)] 14:21 < _cheerios> lol http://www.flickr.com/photos/laughingsquid/417312670/ 14:43 -!- kaos [n=kaos@ppp-82-135-83-164.dynamic.mnet-online.de] has joined #agavi 14:46 < kaos> computers ... ffs 14:46 < kaos> broken ram ... what a joy 14:47 < kaos> luckily its kingston (lifetime guaranty) 14:49 < _cheerios> see. you make an editor that uses too little ram. the ram doesnt get used. the ram goes rusty. THE RAM DIES. 14:49 < kaos> he 14:49 < kaos> the funny thing is 14:49 < kaos> it must be controller in the ram which died 14:50 < kaos> not even one of the ram chips itself 14:50 < kaos> and the problem was that i switched my pc off ... 14:50 < kaos> (which i didn't do for like ... 2 or 3 months) 14:51 < CIA-11> dominik * r1859 /branches/0.11/src/translation/AgaviITranslator.interface.php: fix wrong phpdoc 15:11 -!- JanK_ [n=jan@muedsl-82-207-200-224.citykom.de] has joined #agavi 15:25 < CIA-11> dominik * r1860 /branches/0.11/src/config/AgaviConfigCache.class.php: 15:25 < CIA-11> add missing return 15:25 < CIA-11> closes #489 15:31 -!- kaos [n=kaos@ppp-82-135-83-164.dynamic.mnet-online.de] has quit ["reboot"] 15:35 < _cheerios> Jorma Karlstedt, 137: faktori, golfammattilainen << jo on 15:37 -!- kaos [n=kaos@ppp-82-135-83-164.dynamic.mnet-online.de] has joined #agavi 15:37 < _cheerios> http://www.keskusta.fi/ << too bad 15:37 < _cheerios> Server Error in '/' Application. 15:38 < _cheerios> Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210 << should've used PHP! :p 15:53 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 15:59 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 16:04 < _cheerios> weather changed abruptly... well, voted \o/ v-dogg : i chose a woman, so the universal balance is restored. 16:14 < kaos> oh ... and i now have to reinstall windows as well 16:14 < kaos> because stuff like mmc.exe is gone now \o/ 16:16 < _cheerios> eew :| 16:17 < kaos> yeah, well, checkdisk after 2 bluescreens 16:17 < kaos> decided that some files are broken ;) 16:17 -!- shoan_ [n=shoan@59.92.176.195] has joined #agavi 16:32 -!- shoan [n=shoan@59.92.160.202] has quit [Read error: 110 (Connection timed out)] 16:38 -!- Xylakant [n=fgilcher@28.206.27.217.static.versanetonline.de] has joined #agavi 16:39 < Xylakant> hi 16:39 < Xylakant> i have a little problem, perhaps someone has an idea or maybe there is already a solution in agavi that i don't know of 16:40 < Xylakant> I have a lighttpd behind a proxy on the same server 16:40 < Xylakant> the lighttpd is running on port 58080 and so Routing::getBaseHref() returns http://server:58080/ 16:41 < Xylakant> which is not what i want 16:42 < Xylakant> it should return http://server/, so currently we use a statically defined base href 16:42 < Xylakant> which is annyoing if you switch between dev, staging, testing etc. 16:44 < kaos> use default_gen_options in the factories.xml specifying port as false 16:45 < kaos> should work 16:45 < Xylakant> ok, thanks. i'll try that 16:45 < Xylakant> could i specify a host there as well? 16:45 < kaos> yes 16:45 < Xylakant> k 16:45 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 16:52 < Xylakant> thanks and bye. have a nice weekend 16:52 -!- Xylakant [n=fgilcher@28.206.27.217.static.versanetonline.de] has quit ["Leaving"] 17:05 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 17:05 < Jeep> Hi 17:05 < Jeep> I have a suggestion 17:05 < Jeep> maybe it's done allready 17:05 < Jeep> since magic_quote_gpc can be a really pain in the ass 17:05 < Jeep> real* 17:06 < Jeep> i suggest to add a config to automatically addslashes / stripslashes all data from gpc 17:06 < Jeep> I mean, If I want GPC off and he's On, it stripslashes all GPC 17:07 < Jeep> if he's off and I want it on, it add the slashes 17:08 < kaos> wombert added that just a few weeks ago 17:08 < v-dogg> yep, http://trac.agavi.org/ticket/468 17:08 < kaos> grr v-dogg 17:08 < kaos> i just wanted to pasty that url 17:08 < kaos> :P 17:10 < Jeep> and it handles itself with a setting ? 17:10 -!- digitarald [n=Miranda@62-43-149-76.user.ono.com] has joined #agavi 17:10 < Jeep> or the gpc transition from on to off is automatic ? 17:13 < kaos> it does it automatically when its on 17:13 < kaos> (the php setting) 17:23 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [] 17:30 -!- kaos [n=kaos@ppp-82-135-83-164.dynamic.mnet-online.de] has quit [] 17:38 -!- Niacell [n=chrisw@m050e36d0.tmodns.net] has joined #agavi 17:38 < Niacell> morning guys 17:41 -!- kaos [n=kaos@ppp-82-135-83-164.dynamic.mnet-online.de] has joined #agavi 17:42 < Niacell> slow eh? 17:44 < kaos> me ? 17:45 < Niacell> no the chan 17:45 < kaos> well, ppl usually don't look at the chan every minute ;) 17:45 < kaos> (not me at least ;) 17:46 < Niacell> heh :) 17:46 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has left #agavi [] 17:46 < Niacell> ghey i put my tmobile sim card in my ux280 17:46 < Niacell> every port is open except 80 17:46 < Niacell> :( 17:46 -!- Wombert [n=Wombert@dslb-088-064-071-048.pools.arcor-ip.net] has joined #agavi 17:47 < Niacell> sup Wombert 17:47 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has joined #agavi 17:47 < Alystair> morning Mr. Wombert 18:17 -!- Niacell [n=chrisw@m050e36d0.tmodns.net] has quit [Read error: 110 (Connection timed out)] 18:27 -!- Wombert [n=Wombert@dslb-088-064-071-048.pools.arcor-ip.net] has quit [Nick collision from services.] 18:27 -!- Wombert_ [n=Wombert@dslb-084-056-038-117.pools.arcor-ip.net] has joined #agavi 18:54 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 18:54 < kaos> hey impl 18:54 < impl> Hey :O 18:54 < impl> Got a sec? 18:54 < kaos> sure 18:55 < kaos> why would you need the full domain in the translator ? 18:55 < kaos> a translator shouldn't be bothered in whihc domain it's defined 18:55 < impl> My database stores them as <beginning_domain>.<unmatched_part> 18:55 < impl> Otherwise I can't retrieve the records :< 18:56 * Alystair explodes into a furious rage... why must row based binary table designs be so hard to generate, arghhhh 18:56 < Alystair> vertical tables are dead easy 18:56 < kaos> hmm, then you can create a translator which is always defined for domain "db" 18:56 < Alystair> http://www.canadgroup.com/arghh.html 18:57 < kaos> and to translate you'd use db.foo 18:57 < Alystair> if you look at the source, the top table is very easy to generate using PHP... 18:57 < kaos> and let all the stuff be done in the formatter 18:57 < impl> Hmm 18:57 < Alystair> how the hell you would use php to generate the lower table is beyond me 18:57 < kaos> (when you wouldn't need to overwrite the translationmanager as well) 18:57 < Alystair> the iteration is so werid 18:57 < Alystair> *weird 18:57 < impl> That's kinda odd in terms of actual namespaces 18:58 -!- digitarald [n=Miranda@62-43-149-76.user.ono.com] has quit [Read error: 104 (Connection reset by peer)] 18:59 < kaos> Alystair: now that looks rather complicated to generate in _any_ language 18:59 < Alystair> it's a good mind bender :) 18:59 < impl> kaos: fwiw, how do actual translators get the data without knowing the rest of the domain? 18:59 < impl> Maybe I'm just designing this wrong 18:59 < kaos> they do get the rest of the domain 18:59 < kaos> (the right part) 19:00 < kaos> they shouldn't be bothered about the left part 19:00 < kaos> the tm uses that part to decide which translator to use 19:01 < Wombert_> for instance, frontend.layout has a gettext translator 19:01 < impl> Can translators only have one domain? 19:01 < Wombert_> so frontend.layout.foobar pulls data from, say, foobar.mo 19:01 < kaos> na, they can have as many as they want 19:02 < impl> So how would a translator know the difference between foo.bar.baz and bat.sh.baz, if it was defined for both foo.bar and bat.sh? 19:03 < kaos> it wouldn't 19:03 < kaos> and it would be 2 different instances 19:03 < kaos> one for foo 19:03 < kaos> and one for bat 19:03 < kaos> you could use an parameter in the config to identify it tho 19:04 < Wombert_> I just don't see how that's necessary 19:05 < kaos> bbiab, food time 19:07 < impl> I don't see how you can determine which data to pull unless you know the whole thing 19:07 < impl> unless it's stored already in an array somewhere 19:26 -!- JanK_ [n=jan@muedsl-82-207-200-224.citykom.de] has left #agavi ["Konversation terminated!"] 19:36 < _cheerios> gah. my 2ghz machine choked on a hq-video, ran out of buffer. 19:38 < _cheerios> EVE does look stunnin', tho 19:44 -!- Whisller [n=test@217.97.146.67] has joined #agavi 19:44 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 20:29 < kaos> impl: you would need to pull all data anyways as you wouldn't know which translators would be used 20:30 < impl> ack... true 21:03 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 21:03 < GMFlash> hola 21:45 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has quit ["Leaving"] 21:56 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 22:09 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 22:27 -!- Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 22:27 -!- Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Remote closed the connection] 22:29 < splatch> hello :) 22:38 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Success] 23:09 -!- stachu [n=stachu@enc170.internetdsl.tpnet.pl] has joined #agavi 23:10 < impl> Wombert_: What do you think about making ValidationManager available as $vm by default in templates? 23:10 < Wombert_> it is, as $valiation_manager 23:10 -!- Wombert_ is now known as Wombert 23:10 < impl> Oh, really? 23:10 < Wombert> yes, and you can change the name, too, of course 23:11 < Wombert> <parameter name="validation_manager">vm</parameter> in the assigns param 23:11 < impl> hah, and here I was thinking you had to use container->getValidationManager :X 23:11 < impl> Thanks 23:14 < impl> Oh, also: Do you know if there's an easy way to use multiple pgsql schemas in one Propel instance? 23:26 < v-dogg> yes 23:27 < v-dogg> but via search_path 23:27 < impl> mmm... that the only way? 23:27 < v-dogg> ie. propel itself doesn't know anything about schemas 23:27 < v-dogg> so you must set the search_path 23:27 < v-dogg> but that's easy to automate 23:28 < Wombert> I think at least 1.3 has something for that 23:28 < impl> I see some stuff in the builder for pgsql 23:29 < impl> $schema = $table->getVendorSpecificInfo(); 23:29 < impl> Maybe I can say schema="..." in the <table> 23:29 < v-dogg> I don't think you can 23:30 < impl> Oh, this stuff was written by horros! 23:30 < impl> I'll bug him about it next time I see hi 23:30 < impl> m 23:31 < v-dogg> if you want to set the search_path you can use this: http://pastebin.ca/400712 (runtime-conf.xml) 23:31 < Wombert> impl: you can have any object from the context as an "assign" in the template 23:31 < Wombert> just use lowercase and underscores 23:31 < Wombert> i.e. database_manager 23:31 < impl> v-dogg: Great, thanks 23:31 < Wombert> plus 23:31 < Wombert> these: http://trac.agavi.org/browser/branches/0.11/src/filter/AgaviExecutionFilter.class.php#L429 23:32 < impl> Wombert: Coolness 23:32 < Wombert> so you can actually change the name of $inner that way, too 23:32 < Wombert> note that unlike context's objects, these are always assigned even if you don't define a name for them in the config 23:33 < impl> ah 23:34 < Alystair> impl: I'm still working on my table generation thing... haha 23:35 < Alystair> it's such a challange, trying to find the algorithm :) 23:37 < Alystair> could accidently make an image compression algorithm with this... heh 23:53 < Alystair> btw don't try 0.7 yet, there's going to be a hot fix for 0.71 because they did something silly ;{ 23:58 < impl> 0.7 of what? 23:58 < Alystair> er 23:58 < Alystair> whoops 23:58 < Alystair> wrong room :D 23:58 < impl> :P 23:59 < Alystair> every time I move focus away from my irc application, and come back, the rooms shuffle around... 23:59 < impl> What client do you use? 23:59 < Alystair> mirc, dont' worry about it though 23:59 * impl hasn't used mIRC since ~2003 :P --- Day changed Mon Mar 19 2007 00:47 < Alystair> YAML is the sexiest thing since sliced cheese 00:47 < impl> Please 00:48 < impl> YAML is such a waste of processing power 00:48 < Alystair> .... 00:48 < Alystair> is it seriously so much harder to process than xml 00:48 < Wombert> yml 00:48 < Alystair> XML looks so messy 00:48 < impl> When the XML engine is built-in to PHP, yes 00:48 < Wombert> omg 00:48 < Wombert> yaml looks messy 00:48 < Wombert> it's ambiguous 00:48 < Alystair> .... 00:48 < Wombert> *, :, |, what else can I use 00:48 < Wombert> you cannot validate it 00:49 < Wombert> you cannot even determine well-formedness 00:49 < Wombert> you cannot use transformatins on it 00:49 < Wombert> or stuff like xincludes etc 00:49 < impl> You can cache it at least :P 00:49 < Wombert> with xml, we have xsl schemas, dtds, relaxng, schematron for validation 00:49 < Wombert> it can be machine processed easily 00:49 < Alystair> this is retarded 00:49 < Wombert> it can be transformed using xsl 00:50 < Wombert> it can be extended with xincludes etc 00:50 < Alystair> why must the industry go with such an ugly language 00:50 < Wombert> you can use any xml technology there is 00:50 < Wombert> xml is not ugly 00:50 < Wombert> it's a very simple language carefully designed to cater for every situation you could imagine 00:50 < impl> http://img145.imageshack.us/img145/9672/emacs200703020qo3.png 00:50 < impl> I say it looks purty 00:51 < Alystair> so this is your grudge against symfony then D: 00:51 < impl> Symfony is just stupid in general :P 00:51 < Wombert> yeah I was about to say :) 00:51 < Alystair> stop dissing everything other than agavi so I can actually learn something and get my work done. 00:51 < impl> haha 00:51 < Wombert> well you learnt something: yaml is useless 00:51 < Alystair> make it so I can actually learn and use Agavi then 00:51 < Wombert> it really is 00:51 < Wombert> you forget one char 00:52 < Wombert> and everything is broken 00:52 < Wombert> but you won't be told 00:53 < Alystair> drop everything and write me a tutorial that can then be put on the site *whip whip* 00:55 < Alystair> you're hogging all the awesome. 00:55 < impl> lawl 00:56 < impl> I really would like to write a tutorial, but 00:56 < impl> Milestone: 0.1 00:56 < impl> Due in 3 weeks (04/09/07) 00:56 < impl> D: 00:56 < Alystair> sadly I'm being serious 00:56 < Alystair> D: 00:56 < Wombert> I'll be busy for a couple more days 00:56 < Alystair> then again even if you did make a tutorial I couldn't possibly have a demonstration ready in time nor a person who can actually competantly code using the Agavi framework in time D: 00:56 < Wombert> then a week vacation 00:56 < Wombert> then I'll write docs 00:57 < Alystair> Wombert: why won't you do that project with me? D: 00:58 < Wombert> I told you why 00:58 < Wombert> because it's too complicated 00:58 < Alystair> too complicated for agavi? 00:58 < Wombert> you need someone in the area 00:58 < Alystair> oh right 00:58 < Wombert> not someone sitting on the other side of the globe 00:58 < Alystair> the company we will be going with otherwise is in California :P 01:11 < Alystair> Blech 01:35 -!- Wombert [n=Wombert@dslb-084-056-038-117.pools.arcor-ip.net] has quit [] 02:35 -!- fastly [n=fast@81-86-145-67.dsl.pipex.com] has joined #agavi 02:49 -!- fastly [n=fast@81-86-145-67.dsl.pipex.com] has quit [] 02:56 -!- CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit] 03:01 -!- CIA-2 [i=cia@cia.navi.cx] has joined #agavi 04:11 < Niacin> hi hi 04:42 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 04:42 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 04:44 -!- Niacin [n=Niacin@cpe-76-187-235-92.tx.res.rr.com] has quit [Read error: 60 (Operation timed out)] 06:08 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 07:20 -!- stachu [n=stachu@enc170.internetdsl.tpnet.pl] has left #agavi [] 07:27 -!- Alystair [i=Alystair@CPE001109c15241-CM00407b8794db.cpe.net.cable.rogers.com] has quit [] 07:28 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 08:01 -!- Wombert [n=Wombert@dslb-084-056-038-117.pools.arcor-ip.net] has joined #agavi 08:53 < v-dogg> huomenta 08:57 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has quit ["Lähdössä"] 09:18 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:18 < _cheerios> huomenta 09:23 < liutis> huomenta 09:24 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has quit [Remote closed the connection] 09:25 -!- liutis [n=liutis__@server.senoji.palanga.lm.lt] has joined #agavi 09:34 < _cheerios> http://tools.google.com/gapminder/ 09:35 < _cheerios> pretty darn sweet 09:45 < _cheerios> ah, "Google announced on a slow news Friday that is has bought Sweden-based statistics display software company Gapminder." 10:00 < _cheerios> o_O kottke is down 10:10 -!- RossC0 [n=lawleyr@80.4.120.163] has joined #agavi 10:13 < RossC0> huomenta 10:15 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 10:18 < Wombert> everyone please post a "yes please" reply to wez' anonymous function patch on internals! 10:19 < v-dogg> woot 10:19 < RossC0> eh? 10:20 < v-dogg> #propel? 10:20 < v-dogg> #symfony? 10:20 < Wombert> usort($data, function($a, $b) { return strcmp($a, $b); }); 10:20 < v-dogg> ;p 10:20 < Wombert> php internals mailing list 10:20 < v-dogg> ah 10:29 < RossC0> looks cool - would want it to keep the lexical scope to make a proper closure 10:32 < _cheerios> "If you're a first-mover, why should anybody need your new service, if you're a follower, why should anybody switch to your service?" 10:43 < _cheerios> "I am in a similar field, and a lot of wanna-bes try to rig up free services that do a similar task, but they never scale! Maintaining 99.9% etc uptime while throwing around tens, hundreds, or thousands of requests a second is not something Joe Average Programmer can run up in a month, let alone a weekend." ;) 10:47 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Read error: 110 (Connection timed out)] 10:59 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 11:04 -!- digitarald [n=Miranda@62-43-131-26.user.ono.com] has joined #agavi 11:05 < Wombert> what the hell 11:05 < Wombert> snow 11:05 < Wombert> ... 11:05 < Wombert> omg 11:06 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [] 11:28 < _cheerios> we had a sunny morning yesterday +10C that then turned into a wild snow storm :) 11:29 < _cheerios> digitarald, how does one update a nested set (the database data) after sorting a nested set using that ace mootools script? Delete everything, start from scratch? :) 11:38 < digitarald> mmhhh, i think its updating every row 11:39 < digitarald> i remember a script that outputted the used sql 11:39 < digitarald> its running through every row position 11:39 < digitarald> i want to have snow too! 11:39 < digitarald> brb, on the way to work 11:39 -!- digitarald [n=Miranda@62-43-131-26.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 11:39 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi 11:40 < Wombert> Xylakant: don't use gen options 11:40 < Wombert> tell WebRequest to read from X_FORWARDED_FOR or so 11:41 < Wombert> http://groups.google.com/group/agavi-users/browse_frm/thread/68bf16b821f75318 a little further down in that thread 11:41 < Wombert> msgs 8 to 15 11:42 < _cheerios> digitarald, ah you mean it would update on-the-fly whenever a user is changing the nested tree? That would work, but it's kind of ripe for abuse. 11:47 < Xylakant> wombert: thanks. i'll see wether the original server name is in a header. however, the problem is not the servername, but that the port is wrong 11:47 < Wombert> yes 11:47 < Wombert> the port will then be correct 11:47 < Wombert> just set the correct fields to read 11:47 < Wombert> the ticket has details, too 11:47 < Wombert> gotta run, bbl 11:47 < Xylakant> i don't know wethere the original port is available :) 12:09 -!- digitarald [n=Miranda@150.Red-83-55-71.dynamicIP.rima-tde.net] has joined #agavi 12:14 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 12:40 < RossC0> feck - why doesn't google reader have a search?? I saw an article on tabbed menu examples recently and forgot to delicious it :-( 12:49 < digitarald> yeah, its very simple 12:50 < digitarald> there are so many tabbed menu examples out there 12:50 < digitarald> damn, propel updates 12:50 < digitarald> why do i use trunk all the time 12:50 < Xylakant> isn't trunk supposed to be really unstable atm? 12:50 < v-dogg> don't use propel's trunk 12:51 < v-dogg> use branches 1.3 or 1.2 stable 12:51 < Xylakant> the 1.3 branch would be better 12:51 < v-dogg> yep 12:51 < RossC0> digitarald: I was an article on modern styles of the menu - more a design examples article 12:51 < digitarald> oh wait, it is 1.3 branch i think 12:51 -!- horros [n=mle@87-94-154-140.tampere.customers.dnainternet.fi] has joined #agavi 12:51 < digitarald> it is 1.3 branch 12:52 < digitarald> Warning: DateTime::format() ... The DateTime object has not been correctly initialized ... 12:52 < RossC0> ah found it 12:52 < digitarald> i see the error, thats ok 12:52 < digitarald> lets migrate 12:52 < RossC0> http://tinyurl.com/24sh7u 12:57 < digitarald> this comes from propel toArray, any ideas? The DateTime object has not been correctly initialized by its constructor 12:57 < digitarald> BaseUserModel->getCreated() 12:58 < Xylakant> i just love pdo 12:58 < digitarald> BaseUserModel->getCreated(null) works 12:59 < Xylakant> it tells me that there is still a statement open and it can't execute my next query. 12:59 < Xylakant> except that the query that happens before does not return a resultset, so there can't be any resultset open. 13:00 < digitarald> ah, Xylakant, sync requests are fixed 13:01 < Xylakant> thanks 13:02 < digitarald> :D fear the apple ... http://pics.livejournal.com/rzakhar/pic/00055akx 13:04 < _cheerios> :/ 13:06 < digitarald> _cheerios, does your treething work? 13:06 < _cheerios> im not implementing yet. going over possible kinks before i start working on it. 13:07 < _cheerios> i was thinking if someone really messes up with the tree it will be a pita to find out where the changes are needed 13:07 < _cheerios> however, if it's just 1-2 changes, you don't want to create whole new set (esp. if a big tree) 13:08 < digitarald> DAMN, in propel wiki says propel.useDateTimeClass is default off for backwards compatibility ... but its default true! 13:08 < digitarald> yeah, updating all sets is bad for a big tree 13:08 < digitarald> there should be another approach 13:24 < digitarald> propel does ignore my utf8 charset ... not nice 13:25 < v-dogg> how does it ignore it? 13:25 < v-dogg> I have no problems with wtf-8 13:28 < digitarald> i use the charset setting in the runtime 13:30 < Wombert> did that work for you, Xylakant 13:30 < Wombert> or can you show me a phpinfo 13:32 < digitarald> Wombert, me? 13:32 < Wombert> ?? 13:32 < Wombert> why would you have to show me a phpinfo 13:33 < digitarald> good question ... i'm used to show my phpinfo to everyone who want to see it ... don't know why u don't want to see it ... 13:33 < digitarald> nevermind 13:38 < horros> oh 13:38 < horros> al you finns... I hope you voted yesteday 13:38 < horros> all* 13:39 * v-dogg did 13:39 * horros too 13:40 < Wombert> did you vote for matti? 13:40 * Wombert <3 finnish names 13:41 < horros> Wombert: nossir 13:41 < horros> I actually voted for a female. 13:41 < v-dogg> in that case I won't ask did you vote for Alatalo :D 13:41 < horros> hah 13:41 < v-dogg> or Veltto 13:42 < horros> no, and not veltto virtanen either 13:42 < horros> he's such a fucking wanker 13:42 < Wombert> oh man 13:42 < Wombert> 23%? 13:42 < Wombert> 22%? 13:42 < Wombert> meh 13:42 < horros> eh? 13:42 < Wombert> that sounds like three-party coalitions 13:42 < Wombert> uncool 13:42 < horros> yeah 13:43 < horros> I wish they'd completely kick out the social democrats for once. 13:43 < v-dogg> oh yes! \o/ 13:43 < horros> the center + moderate right-wing + swedish people's party == 110 seats 13:43 < v-dogg> their campaign made me so mad 13:43 < horros> aye 13:44 < Wombert> horros: I'm hearing that's what's gonna happen 13:44 < horros> like they said yesterday... "Who needs enemies when you have friends like the SAK" 13:44 * _cheerios voted female too 13:44 < Wombert> center + conservatives + SFP 13:44 < horros> Wombert: nah, they'll get at least one ministry, that's for sure. 13:44 < Wombert> or center + socdems + SFP 13:44 < horros> It's impossible that they'd leave out the conservatives 13:45 < horros> as they increased their seats with +10 since the last election 13:46 < _cheerios> females upped their representation by +9 13:47 < horros> yeah, it was what now... 113 men vs 87 females? 13:47 < _cheerios> something like that 13:47 < horros> also, wtf is this, I though I was taught in school that we had 201 seats in the parliament and not 200 :) 13:47 < horros> so you'd avoid getting a deadlock if a bill vote goes 50-50 13:48 < _cheerios> joker spot left due Halmes boots are too big to fill *g* 13:48 < horros> heh, soini yesterday 13:48 < horros> "blablabla, the Halme-tragedy" 13:48 < horros> oh what a tragedy 13:48 < v-dogg> hmm... does propel cache objects? if I have fetched objects, then update the db (by-passing propel), and then do FooPeer::doSelect, should it get the new values from the db? 13:48 < horros> the bloke drives drunk, is high on speed, shoots with a pistol inside his aparmtnet etc etc etc 13:49 < horros> did what, 50-or-so appearances in the pleni, and then was away for the rest of the time 13:49 < horros> and now gets a 3000+ e pension 13:49 < horros> bloody wanker 13:49 < v-dogg> yeah... 13:50 < MikeSeth> shut up and go sign up for the pirate party 13:50 < horros> MikeSeth: You seem to be mistaking Sweden for Finland. 13:50 < MikeSeth> no, there are branches everywhere now 13:51 < Wombert> v-dogg: 1.3 has one instance per row 13:51 < Wombert> and caches that 13:51 < MikeSeth> it really is going global 13:51 < MikeSeth> Wombert: output types are an awesome, awesome feature 13:51 < v-dogg> Wombert: can I clear the cache? 13:51 < Wombert> thanks MikeSeth 13:51 < Wombert> v-dogg: check the dev mailing list 13:51 < _cheerios> image manipulations of the pic w/vanhanen celebrating were pretty good http://i15.tinypic.com/2ldc4mc.jpg 13:51 < _cheerios> chuckled when i saw the original 13:51 < Wombert> there was some taliking about that recently 13:51 < Wombert> BUT 13:51 < Wombert> if you update a row 13:51 < Wombert> and then do doselect 13:51 < Wombert> it will use that same row object 13:51 < Wombert> and not hydrate a new one 13:51 < Wombert> I think 13:52 < MikeSeth> Wombert: I laugh at the noobs who use "ajax helpers" and "json frontends" 13:52 < v-dogg> I need to refresh from the db as the rows are updated 13:52 < Wombert> MikeSeth: that's the spirit :) 13:52 < Wombert> v-dogg: because the db does updates via triggers or so? 13:52 < Wombert> I see 13:52 < v-dogg> Wombert: yep 13:52 < MikeSeth> I found sajax.php in an old bunch of scripts I used years ago 13:52 * MikeSeth blushed 13:53 < _cheerios> super ajax powers! 13:53 < v-dogg> I don't even want to see the stuff I did some 2-3 years ago... 13:53 < v-dogg> or even 1-2 years 13:54 < Wombert> hm v-dogg can't find the discussion right now 13:54 < Wombert> but there is now an option to force a rehydration from the db 13:55 < v-dogg> expelent 13:55 < v-dogg> how does it work?-) 13:55 < Wombert> I have no idea 14:01 < MikeSeth> Wombert: so what's the suggested way to produce JSON output? 14:01 < Wombert> make a new output type 14:01 < MikeSeth> cuz json_encode() in templates sounds.. wrong 14:01 < Wombert> not wrong :) 14:01 < Wombert> but 14:01 < Wombert> OF COURSE 14:01 < v-dogg> http://propel.tigris.org/servlets/ReadMsg?list=dev&msgNo=2407 <-- it would be so much easier to follow these postings if everybody wrote their reply under the quote... 14:01 < v-dogg> top-posting is evil! 14:02 < Wombert> there is another way 14:02 < Wombert> a more convenient one 14:02 < MikeSeth> Wombert: please let me know :D 14:02 < Wombert> we had a discussion about that here the other day 14:03 < Wombert> with RossC0 14:03 < MikeSeth> should I look it up? 14:03 < MikeSeth> also, is there even a point in using templates to produce machine-readable output? 14:03 < Wombert> no 14:03 < Wombert> ah 14:03 < Wombert> well 14:03 < Wombert> of course you wouldn't use a template 14:03 < RossC0> MikeSeth: well I write my own JSON - but I'm in a minority :) 14:03 < Wombert> you would use json_encode in the view 14:03 < Wombert> and set the response content directly that way 14:04 < RossC0> Wombert: Is that going to implemented before agavi 1 ? 14:04 < Wombert> I'll probably do it right now 14:04 < MikeSeth> bah 14:05 < Wombert> we could discuss this here and now if you like 14:05 < RossC0> cool - sure 14:05 < Wombert> just a second, gotta find the logs for him 14:05 < MikeSeth> this makes a lot of sense to me 14:05 < Wombert> (mh we need ze chuckwalla!) 14:05 < Wombert> MikeSeth: but there is an even better way 14:05 < MikeSeth> Wombert: filters? 14:05 < Wombert> no no 14:05 < MikeSeth> contained/singular response? 14:06 < MikeSeth> come on come on spill it :D 14:06 < RossC0> The idea was to return data from the view 14:06 < Wombert> MikeSeth: http://pastie.caboo.se/47923 14:06 < MikeSeth> Well, how do actions typically return data (not rendered output) to other views? the same mechanism may [and should] be used 14:06 < Wombert> you have one view 14:06 < Wombert> executeHtml() loads a layout, so templates are rendered 14:07 < Wombert> executeJson() just does $this->getResponse()->setContent(json_encode($data)); 14:07 < Wombert> but as I said 14:07 < Wombert> we could make this even cooler 14:07 < Wombert> see pastie 14:07 < MikeSeth> I am reading 14:07 < MikeSeth> And I'll catch that Niacin guy, I have interesting experience migrating 'legacy' software to Agavi 14:09 < Wombert> http://pastie.caboo.se/47923.txt wraps 14:09 < Wombert> probably better 14:10 < Wombert> 18:14 < Wombert> RossC0: http://pastie.caboo.se/47412 14:11 < MikeSeth> yes I am reading that 14:11 < MikeSeth> I think a more generic way is needed... what do view execute*() methods typically return? 14:11 < Wombert> nothing 14:12 < Wombert> they can return an execution container that will be used for forwarding 14:12 < Wombert> but we also talked about that once 14:12 < Wombert> and we thought about allowing to return anything 14:12 < Wombert> it would simply be set as the response content for you 14:12 < Wombert> so you could do return json_encode($data); 14:12 < Wombert> and even better 14:12 < Wombert> with the described changes 14:12 < MikeSeth> I think that is the best case scenario, assuming the [breaking] change is worth it 14:12 < Wombert> your json output type would be defined to be of "json" format 14:12 < RossC0> I like return $data and if I'm executeXML - it will convert to XML, if in executeJSON it would json_encode... 14:13 < Wombert> yes, RossC0, precisely 14:13 < Wombert> it would do it automatically 14:13 < MikeSeth> drops of sugar! 14:13 < Wombert> this is not a breaking change btw 14:14 < MikeSeth> I hate the idea of passing array('content' =>) or some other fixed structure to the response you proposed in the pastebin. So yeah, I think what you just said is best 14:14 < MikeSeth> when the view returns nothing, default handling occurs 14:14 < MikeSeth> right? 14:15 < Wombert> well 14:15 < Wombert> in that example... 14:15 < Wombert> you'll still have that issue 14:15 < Wombert> the problem here is that with what we just discussed, no rendering would occur 14:16 < RossC0> wouldn't itl go onto templates as normal 14:16 < Wombert> so if you want to render a template and have the resulting output as a member in the final json structure, that's gonna be difficult 14:19 < MikeSeth> Wouldn't you want a dummy/null renderer for the output type if you dont intend to use it? 14:19 < Wombert> no 14:19 < Wombert> if no layers are set, then no rendering occurs 14:19 < Wombert> hence 14:20 < Wombert> public function executeJson(AgaviRequestData $rd) { 14:20 < Wombert> $this->getResponse()->setContent(json_encode($this->getAttribute($data))); 14:20 < Wombert> } 14:20 < Wombert> is perfectly legal 14:20 < MikeSeth> yeah that is what I'm doing 14:20 < Wombert> public function executeJson(AgaviRequestData $rd) { 14:20 < Wombert> return $this->getAttribute($data); 14:20 < Wombert> } 14:20 < Wombert> would be the new approach 14:20 < Wombert> and the webresponse would know that for json, it must call json_encode 14:21 < Wombert> question is, how does it know that 14:21 < MikeSeth> What are the chances you would ever want to use a renderer to build response data? 14:21 < Wombert> ? 14:22 < Wombert> of course, the encoding would only be done if the response content is not a string 14:22 < MikeSeth> You just said that it is a concern that when view returns data, no rendering occurs 14:22 < Wombert> so you could easily use a template 14:22 < Wombert> no, it's no concern 14:22 < Wombert> why would it be a concern? :) 14:22 < MikeSeth> you said its a problem, although I dont see how it is ;) 14:23 < Wombert> no 14:23 < MikeSeth> I simply cant think of a scenario where a template is useful for anything other than generating web output 14:23 < Wombert> it's a problem if you want to render a template for the output AND return an array with json data 14:23 < Wombert> you can't have both 14:23 < Wombert> that's what the chuckwalla response does - it puts the rendered html into a json object with the key "content" 14:23 < Wombert> and if you set additional data to return within the json, it adds that 14:23 < MikeSeth> But you will in all likelihood defer to another action to render the output anyway 14:24 < Wombert> no 14:24 < Wombert> ajax search... 14:24 < Wombert> you return the result list as html 14:24 < Wombert> plus a status indicator for success or failure 14:24 < Wombert> so the client js code knows if there were results 14:25 < MikeSeth> oh catch 22 then 14:25 < RossC0> public function executeJson(AgaviRequestData $rd) { 14:25 < RossC0> parent::setHandler('json'); 14:25 < RossC0> return $data 14:25 < RossC0> } 14:25 < Wombert> RossC0: mh nah not that way 14:25 < Wombert> I would have done it like this: 14:25 < MikeSeth> why? its already executeJson().. 14:25 < Wombert> yeah 14:25 < Wombert> the response would have a method "encodeJson()" 14:25 < RossC0> sure - but then we set it so the responseHolder knows how to handle it 14:25 < Wombert> problem with that is 14:26 < Wombert> we force a naming scheme upon the user 14:26 < Wombert> not good 14:26 < Wombert> so 14:26 < MikeSeth> You do it already with executeXXXX 14:26 < RossC0> so if you wanted to you could have a template which produces your output 14:26 < Wombert> no no no 14:26 < Wombert> I don't mean that, MikeSeth 14:26 < Wombert> look 14:26 < RossC0> but executeXXXX is a choice 14:26 < RossC0> its user configurable 14:26 < RossC0> its just turning into convention :) 14:26 < MikeSeth> I never figured it out by the way, what happens if I define an output method named read or write? 14:27 < MikeSeth> output type* 14:27 < Wombert> <output_type name="json"> 14:27 < Wombert> <parameter name="http_headers"> 14:27 < Wombert> <parameter name="Content-Type">application/json; charset=UTF-8</parameter> 14:27 < Wombert> </parameter> 14:27 < Wombert> <parameter name="transform">json</parameter> 14:27 < Wombert> </output_type> 14:27 < MikeSeth> that's what I do 14:27 < Wombert> now since the output type has the "transform" parameter 14:27 < Wombert> then 14:27 < Wombert> when the response is sent 14:27 < Wombert> it will call WebResponse::transformJson() 14:27 < RossC0> bbl - grabbing some food ... 14:28 < MikeSeth> why an explicit attribute? so that you can generate raw json elsewhere? 14:28 < Wombert> no 14:28 < Wombert> what if your output type is called "ajax" 14:28 < Wombert> or "foobar"? 14:28 < Wombert> but you still want to call json_encode()? 14:28 < Wombert> (we would ship the WebResponse with a transformJson() method then) 14:29 < Wombert> we could of course let the user implement the transformation method themselves and always call the one with the same name as the output type 14:29 < Wombert> (if it exists) 14:29 < MikeSeth> you should have a separate table that maps declared output content types or output types to transformations (which may be performed as filters, but then you have an out-of-band delivery problem) 14:29 < Wombert> but that means that everyone who wants to serve json the cool way must extend WebResponse 14:29 < Wombert> MikeSeth: that's what it does! 14:29 < Wombert> <parameter name="transform">json</parameter> 14:29 < Wombert> that is the mapping 14:30 < MikeSeth> Yes, I'm just not sure it should be a part of output type configuration 14:30 < MikeSeth> though.. how many output types can an application have anywa? doesn't warrant own config file for mappings 14:32 < MikeSeth> can you look up & apply a transformation filter after the view has executed? this way we could also encode & move data between actions (dont know the practical usefulness of that) 14:37 < Wombert> no, the data would be encoded before it's sent back 14:39 < Wombert> v-dogg: http://propel.phpdb.org/trac/changeset/606 14:40 < Wombert> v-dogg: the discussion is on users@ not on dev@ 14:41 * horros picks his nose and installs Oracle 10g 14:42 < v-dogg> Wombert: thanks mate 14:44 < RossC0> back 14:44 < RossC0> so any outcome? 14:46 < Wombert> I'll let you guys point at something and say "I like that one" 14:46 < Wombert> maybe v-dogg, too 14:46 < Wombert> nice thing is you could extend the webresponse 14:46 < Wombert> so it creates an rss feed of the data returned from the view using your favorite rss library 14:46 < Wombert> or so 14:47 < MikeSeth> creepy idea 14:47 < Wombert> we'd ship with implementations for json (json_encode), xml ($dom->saveXml()) and maybe csv (fputcsv) 14:47 < Wombert> oh that's not creepy at all, MikeSeth 14:47 < Wombert> you could have a filter that adds an advertisement to each rss item 14:47 < MikeSeth> I see :D 14:48 < Wombert> much better to fiddle with an array instead of the resulting rss/atom/lala document 15:07 -!- Jeep [n=Jeep@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 15:11 < Jeep> morning everybody 15:17 < MikeSeth> yawn 15:17 < MikeSeth> morning! 15:21 < RossC0> oh html helpers - need help 15:21 < RossC0> whats the agavi way? 15:21 < RossC0> where'd they go? 15:23 < MikeSeth> as an autoload class, or even a filter 15:23 * v-dogg lurks behind the corner 15:23 < MikeSeth> Wombert even suggested to use the model facility for'em 15:23 < RossC0> I have a nested tree - so need to loop 15:23 < RossC0> recursively 15:24 < RossC0> and don't want to put a function in the template 15:25 < RossC0> anyone? 15:26 < RossC0> I should use a model class? 15:26 < horros> RossC0: that's what I do. 15:27 < RossC0> ok cool 15:29 < v-dogg> BUT 15:29 < RossC0> thats a big butt 15:30 < RossC0> ;) 15:30 < v-dogg> does my bum look big in this? 15:30 < RossC0> :) 15:30 < RossC0> sorry carry on.. 15:30 < v-dogg> anyway... :) 15:30 < v-dogg> when you pull data to the template you need to be sure there are no dependencies 15:31 < v-dogg> ie. the data you pull shouldn't depend on another data (computation of another data) and shouldn't modify the state of the model 15:32 < RossC0> sure 15:32 < RossC0> I will put a big warning a head of the model - in english for me and in polish for Zibi 15:35 < v-dogg> funny that I just yesterday wrote about this (pull and push strategies and their pitfalls) 15:35 < v-dogg> to my bachelor paper 15:35 < MikeSeth> RossC0: for recursive trickery, see Smarty's section statement 15:38 < RossC0> MikeSeth: got a url? 15:49 -!- codecop [n=moni___@85.206.205.58] has joined #agavi 15:57 < MikeSeth> smarty.php.net, look it up 15:58 < v-dogg> Notice: Undefined variable: _ENV in agavi/routing/AgaviRouting.class.php on line 127 Catchable fatal error: Argument 1 passed to AgaviRoutingArraySource::__construct() must be an array, null given, called in agavi/routing/AgaviRouting.class.php on line 127 and defined in agavi/routing/AgaviRoutingArraySource.class.php on line 45 15:58 < v-dogg> this happens with APC and auto_globals_jit = On 16:00 < RossC0> MikeSeth: ah ok - :-) thought there might be something specific 16:02 < Wombert> v-dogg: yup 16:02 < Wombert> disable auto_globals_jit 16:02 < Wombert> not an agavi problem btw 16:03 < Wombert> yeah the template engine from v-dogg's paper looks interesting in that it solves this recursion problem efficiently 16:03 < Wombert> not sure if ezc template can do recursion... 16:03 < Wombert> PHPTAL can do it 16:06 < MikeSeth> and LISP :P 16:17 -!- shoan [n=shoan@59.92.165.239] has joined #agavi 16:23 -!- shoan_ [n=shoan@59.92.176.195] has quit [Read error: 60 (Operation timed out)] 16:29 < _cheerios> does the agavi tool have syntax for adding more views to an existing action? 16:31 < v-dogg> just re-create the action, it doesn't overwrite existing files 16:31 < v-dogg> so "no", but you can still do it :) 16:31 < _cheerios> k. didn't want to try that before was sure :) 16:35 < v-dogg> hmph... 16:36 < v-dogg> pgsql.auto_reset_persistent = On doesn't seem to work with PDO 16:42 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 16:42 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 16:57 * Wombert slaps _cheerios around with a version control system that has revert functionality 17:08 * MikeSeth pets GMFlash 17:08 < _cheerios> im scared of the buttons! there's too many buttons! 17:08 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:08 < ttj> *yawn* 17:08 * MikeSeth rolls out another prerelease 17:14 < MikeSeth> er 17:14 -!- JamieWolf [n=JamieWol@e177034155.adsl.alicedsl.de] has joined #agavi 17:22 -!- codecop [n=moni___@85.206.205.58] has quit ["Have to go"] 17:27 < RossC0> is there a reason why Models don't extend parameter holders? 17:28 < RossC0> or was that just the way it is ? 17:28 < Wombert> the way it is :) 17:28 < Wombert> class MyBaseModel extends AgaviModel 17:29 < Wombert> create and store a parameter holder in initialize 17:29 < RossC0> yup thats what I'm doing :) 17:29 < Wombert> then create a __call() that proxies all methods with "parameter" in the name to the holder 17:29 < Wombert> or relays 17:29 < Wombert> that's the word I think 17:29 < Wombert> :) 17:30 < RossC0> cool - sounds good 17:31 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 17:31 < Xylakant> Wombert: delegates :) 18:12 * GMFlash purrs 18:12 < horros> haha 18:12 < horros> I hate intolerant people, and I hate people with too much tolerance. One is full of ignorance, the other is full of shit. 18:12 < horros> - Johnny Knoxville, Jackass 18:15 < GMFlash> hi i'm johnny knoxville. welcome to jackass.. /me jumps into a pile of elephant shit 18:23 -!- _cheerios [n=jacklo@cs78152089.pp.htv.fi] has joined #agavi 18:28 -!- Wombert [n=Wombert@dslb-084-056-038-117.pools.arcor-ip.net] has quit [Nick collision from services.] 18:28 -!- Wombert_ [n=Wombert@dslb-088-064-086-137.pools.arcor-ip.net] has joined #agavi 18:28 -!- Whisller [n=test@217.97.146.67] has joined #agavi 18:29 < Whisller> hi :) 18:29 < GMFlash> hola 18:35 -!- Whisller_ [n=test@217.97.146.67] has joined #agavi 18:35 -!- Whisller [n=test@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 18:37 -!- Whisller [n=test@217.97.146.67] has joined #agavi 18:41 -!- Whisller [n=test@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 18:41 -!- Whisller_ [n=test@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 19:14 < Wombert_> http://www.youtube.com/watch?v=OL2HF-sFLnc mmmh awesome 19:15 < Wombert_> I wish F1 was like that 19:15 -!- Wombert_ is now known as Wombert 19:32 < digitarald> does someone use the new NestedSet approach in propel 1.3? 19:40 -!- RossC0 [n=lawleyr@80.4.120.163] has left #agavi [] 19:45 < Xylakant> i do 19:47 -!- digitarald [n=Miranda@150.Red-83-55-71.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] 19:49 -!- Whisller [n=test@217.97.146.67] has joined #agavi 19:50 < Whisller> Good evening 20:00 -!- malax [n=malax@217.7.205.2] has joined #agavi 20:00 < malax> Hello :) 20:08 -!- malax [n=malax@unaffiliated/malax] has quit ["Lost terminal"] 20:17 < horros> :O 20:25 -!- Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit [Read error: 148 (No route to host)] 20:50 -!- Whisller [n=test@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 20:50 -!- Whisller_ [n=test@217.97.146.67] has joined