--- Log opened Fri Dec 01 00:00:20 2006
01:49 -!- Wombert [n=Wombert@dslb-088-064-011-071.pools.arcor-ip.net] has quit [Nick collision from services.]
01:49 -!- Wombert [n=Wombert@dslb-088-064-002-213.pools.arcor-ip.net] has joined #agavi
02:52 -!- luke` [n=luke`@59.92.163.113] has joined #agavi
03:26 -!- Wombert [n=Wombert@dslb-088-064-002-213.pools.arcor-ip.net] has quit []
03:49 -!- Fastly [n=alex@81-86-145-67.dsl.pipex.com] has joined #agavi
04:45 -!- luke` [n=luke`@59.92.163.113] has quit [Read error: 60 (Operation timed out)]
05:00 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi
07:50 -!- luke` [n=luke`@61.95.206.107] has joined #agavi
08:31 < v-dogg> huomenta
09:06 < luke`> huomenta
09:06 < v-dogg> friday \o/
09:06 < luke`> yay
09:06 < luke`> i will probably be happier in the evening
09:07 < v-dogg> week's last monday
09:09 < v-dogg> is today update-agavi-to-the-latest-from-svn day
09:09 < v-dogg> (and break the project day)
09:10 < v-dogg> it could be, yeah
09:13 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
09:14 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:24 < luke`> :)
09:31 -!- codecop [n=codecop@85.206.199.138] has joined #agavi
09:44 < Arme[N]> morning
09:50 -!- codecop_ [n=codecop@85.206.199.108] has joined #agavi
09:52 -!- codecop [n=codecop@85.206.199.138] has quit [Read error: 110 (Connection timed out)]
10:13 -!- codecop_ is now known as codecop
10:14 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
10:14 < Whisller> hi
10:20 < codecop> hi
10:23 < Whisller> can someone help mi with mod rewrite :> , i can't (don't know how) change \index.php5 to \index.html :/
10:25 < Whisller> this is my .htaccess file http://phpfi.com/180296
10:29 -!- digitarald [n=Miranda@196.Red-213-98-245.dynamicIP.rima-tde.net] has joined #agavi
10:36 < splatch`> oi!
10:39 < Whisller> hmm
10:43 * Whisller is listening to 3. Archive - Again
10:51 -!- digitarald [n=Miranda@196.Red-213-98-245.dynamicIP.rima-tde.net] has quit [Read error: 60 (Operation timed out)]
10:59 -!- Kador [n=koen@d54C1EEC6.access.telenet.be] has joined #agavi
11:00 < codecop> i looked at ircLogs, cant find example of usage registerValidators and how register for eg. emailValidator thanx
11:01 < codecop> someone can post in phpfi.com example?
11:16 -!- epaulin [n=epaulin@61.191.26.228] has quit ["Fake it till make it"]
11:19 < v-dogg> codecop: just a sec, I'll write an example
11:19 < codecop> ok
11:35 < v-dogg> clients keep bothering me, sorry... :)
11:37 < codecop> all ok, just when u have time
11:45 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- Try something fresh"]
11:49 -!- toby_swe[a] [n=Miranda@PB111.EBC.uu.se] has joined #agavi
12:04 -!- digitarald [n=Miranda@160.Red-83-50-114.dynamicIP.rima-tde.net] has joined #agavi
12:08 < digitarald> morning agavi fellows
12:10 < toby_swe[a]> can anyone give me an example of what the configuration for a AgaviSimpleTranslator should look like? I don't seem to get it right...
12:40 < digitarald> i have validatorquestion, too ... what is the difference between conditional and strict mode ... my answer: in strict only validated parameters are avaible when no errors occured?!
12:48 -!- foresth [i=foresth@local.hide-forest.net] has joined #agavi
12:53 < v-dogg> digitarald: hmm.. what's the problem?
12:53 < v-dogg> strict = "Only validated request variables are available."
12:54 < v-dogg> conditional = "All request variables are available when no validation defined else only validated request variables are available."
12:54 < v-dogg> does it not work this way or what's the problem?
12:57 < digitarald> conditional ... no xml -> all parameters avaible, with xml -> only validated parameters avaible
13:02 < v-dogg> yep
13:20 < digitarald> i love code igniter ... look at comment_insert() ;)
13:20 < digitarald> http://www.bitwisemag.com/images/scrshots/prog/php/dev/code_igniter_tutorial.gif
13:22 < v-dogg> uh.. wtf?
13:22 < v-dogg> it set's values from $_POST?
13:22 < v-dogg> -'
13:25 < digitarald> hope the $_POST validation is good ;)
13:26 < digitarald> so they can make a blog in 30min ;)
14:09 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
14:13 < Whisller> I've got a little question about routing and imply parrameter. I must add to all URLs '.html', how I can do it?
14:14 < v-dogg> foo.com/products/5.html?
14:14 < v-dogg> I'd leave that to mod_rewrite perhaps
14:14 < v-dogg> ah but you need to generate them too :)
14:15 < Whisller> yes yes but can i add '.html' to all routes global?
14:15 < Whisller> using parameter imply?
14:15 < Whisller> in htacces i have RewriteRule ^(.+)\.(html|pdf|js)$ index.php5?$1 [L] :)
14:16 < Whisller> otherhands i can add '.html' to route by hand but maybe is another (simply) idea?
14:19 < Whisller> in sample application i seen it. and i tried but that was bad idea
14:19 < v-dogg> howcome?
14:21 < Whisller> howcome? this means why?
14:22 < v-dogg> yes
14:22 < Whisller> because this does't work :)
14:23 < digitarald> mh, agavi needs an arrayvalidator :)
14:25 < v-dogg> Whisller:
14:25 < v-dogg> and put it as the first route, otherwise it won't work
14:26 < v-dogg> tried it and it works
14:26 < Whisller> o
14:26 < Whisller> yes :)
14:26 < Whisller> great
14:26 < Whisller> thanks
14:27 < v-dogg> np
14:36 < Whisller> hmm now i have somethig wrong with htaccess, heh google will help me ;)
14:48 < Whisller> nice, everythink working good :)
15:00 -!- codecop [n=codecop@85.206.199.108] has quit ["Leaving"]
15:03 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
15:03 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:07 < Whisller> I have another question, why url like this example.com/index.php5/parameter/parameter-432.html work fine but example.comparameter/parameter-423.html not. in htaccess i have RewriteRule ^(.+)\.html$ index.php5 [L]
15:07 < Whisller> *example.com/
15:07 < Whisller> in second example agavi display module default and action 404
15:08 < Whisller> *Error404
15:08 < Whisller> maybe i have something wrong in htaccess
15:29 -!- luke` [n=luke`@61.95.206.107] has quit []
15:31 < v-dogg> Whisller: you don't need that rule in the .htaccess, agavi already handles that (because of the route we just sorted out)
15:31 < v-dogg> just take the default .htaccess and use it
15:32 -!- Arme[N] is now known as Arme[morizer]
15:33 < Whisller> so i don't nide RewriteRule ^(.+)\.html$ index.php5 [L] ?
15:33 < v-dogg> not for agavi, no
15:33 < Whisller> ok i check it
15:35 -!- Kador [n=koen@d54C1EEC6.access.telenet.be] has quit ["Ex-Chat"]
15:36 < Whisller> v-dogg, oo you have a right(next case :]), great :) ahh i love agavi :]
15:38 < v-dogg> good good :)
16:15 -!- codecop [n=codecop@85.206.199.108] has joined #agavi
16:24 -!- Wombert [n=Wombert@dslb-088-064-002-213.pools.arcor-ip.net] has joined #agavi
16:28 -!- codecop [n=codecop@85.206.199.108] has quit ["Leaving"]
16:28 -!- eremit_ [n=eremit@p5490E86F.dip.t-dialin.net] has joined #agavi
16:38 -!- eremit [n=eremit@p5490EF94.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
16:47 -!- kaos [n=kaos@ppp-82-135-13-98.dynamic.mnet-online.de] has joined #agavi
16:48 < kaos> digitarald: array validator ? care to explain what you need what doesn't work yet ?
16:48 -!- Arme[morizer] is now known as Arme[N]
16:52 < Wombert> 14:25 < v-dogg> Whisller:
16:53 < Wombert> put it behind the ^/$ rule otherwise you end up with stupid urls like http://foo.com/.index.html ;)
16:53 < Wombert> -.index
16:53 < Wombert> :p
16:53 < Wombert> slaps digitarald
16:53 < Wombert> tell us tell us tell us
16:54 < Whisller> Wombert, yes. You have a right.
16:55 < Whisller> someone use a google sitemaps?
16:55 < v-dogg> hmm...
16:56 < v-dogg> Wombert: ^/$ should then be the first route and .html route right after that, right?
16:56 < Wombert> precisely
16:56 < Wombert> the thing is
16:56 < Wombert> you might have stuff like /products/list/
16:57 < Wombert> which doesn't need .html either
16:57 < Wombert> but that's not possible atm
16:57 < Wombert> I think about this issue about twice a day but I can't come up with a solution
16:57 < Wombert> example
16:58 < Wombert> how do you tie to only those routes that actually CAN handle json
16:58 < Wombert> mmmh
16:58 < Wombert> brb
17:30 < digitarald> ok ... validating an array input for length (please select at least 5 options from this select ... bla bla) ... it's no problem to write an own validator for that, was just an idea for a standard implementation.
17:32 < digitarald> validators: when i use a numbervalidator, would it be cool that he converts the parameter type correctly, so i don't have to use (int) in the action
17:35 < v-dogg> I'm using a number validator of my own and it does that
17:35 < v-dogg> I could add it to AgaviNumberValidator too
17:35 < v-dogg> Wombert: ok?
17:36 < v-dogg> (home ->)
17:39 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC with a difference"]
17:56 < Wombert> that's an excellent idea
17:56 < Wombert> we need an option to disable the casting, though
17:56 < Wombert> false
17:57 < Wombert> and, of course, it must be possible to
17:57 < Wombert> a) specify only integer, only float or both
17:57 < Wombert> b) cast to int or cast to float
17:57 < Wombert> c) integrate with i18n so germans can enter "5,14" instead of "5.14"
18:10 < Wombert> http://money.cnn.com/2006/11/30/magazines/fortune/obrienseagate.fortune/
18:17 < digitarald> very nice ideas, i love them all
18:18 < Wombert> also we should consider tuning the date validator
18:18 < Wombert> so it
18:18 < digitarald> supporting splitted fields i.e.?
18:19 < Wombert> a) can normalize values to unix timestamp, DateTime object, Calendar object, standard formatted string
18:19 < Wombert> yes
18:19 < Wombert> well the mktimestamp validator does that already
18:19 < Wombert> b) it should, again, use the locale to parse dates
18:19 -!- toby_swe[a] [n=Miranda@PB111.EBC.uu.se] has quit [Read error: 104 (Connection reset by peer)]
18:19 < Wombert> c) of course, like number validator, it should be possible to override the locale
18:19 < Wombert> etc etc
18:20 < Wombert> actually
18:20 < Wombert> that's a blocker for 0.11
18:20 < Wombert> we need htat
19:04 -!- benny`work [n=benny@p54AC2C30.dip0.t-ipconnect.de] has joined #agavi
19:19 -!- digitarald [n=Miranda@160.Red-83-50-114.dynamicIP.rima-tde.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
19:30 -!- JamieWolf [n=JamieWol@Xafb5.x.pppool.de] has joined #agavi
19:40 < v-dogg> Wombert: I have absolutely no idea how agavi's locales work so it's better that I don't even try to fix numvalidator to use them :)
19:42 < Wombert> sure :)
19:46 < Wombert> http://trac.agavi.org/ticket/359
19:56 < v-dogg> how would numvalidator work with locales if I wanted it to parse both 1,2 and 1.2?
19:56 < Wombert> good question
19:56 < v-dogg> that's essential for me, that's why I'm interested :)
19:57 < v-dogg> and that's why I have my own validator now
19:57 < Wombert> http://trac.agavi.org/wiki/Validation/RegisteringValidatorsManually thanks for that
20:00 < v-dogg> np
20:00 < Wombert> why the heck is registerValidators given the vm as an argument?
20:00 < Wombert> mmmmmh this is veeeery
20:01 < Wombert> unnecesssaaaaaarrryyyyy
20:01 < Wombert> *sings*
20:01 < Wombert> should we change that?
20:01 < v-dogg> dead weight from mojavi times
20:01 < Wombert> no worries, you could fix it with some preg replace
20:01 < Wombert> anyone against it?
20:01 < v-dogg> will be shot
20:01 < Wombert> xD
20:01 < Wombert> kaos?
20:03 < kaos> np with me
20:03 < Wombert> could you do it?
20:03 < Wombert> I can't be arsed to revert my caching changes from ExecutionFilter
20:04 < Wombert> change AEF::runAction and the declaration and phpdoc in AgaviAction
20:04 < Wombert> and don't forget to add BREAKING CHANGE in the commit msg
20:04 < Wombert> or maybe v-dogg can do it
20:04 < v-dogg> maybe
20:04 < Wombert> haha
20:04 < v-dogg> but I ain't gonna do no coding tonight :)
20:05 < Wombert> awww
20:05 * Wombert kicks v-dogg
20:05 < Wombert> :<
20:05 < v-dogg> mad week (several weeks) behind, I have earned my night off :)
20:05 < Wombert> sure thing
20:06 < Wombert> btw you can change your svn/trac pass in trac now
20:06 < Wombert> fyi
20:07 < v-dogg> ok
20:11 -!- codecop [n=codecop@85.206.199.108] has joined #agavi
20:43 -!- luke` [n=luke`@59.92.130.107] has joined #agavi
20:48 -!- codecop [n=codecop@85.206.199.108] has quit ["Leaving"]
22:30 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:57 -!- benny`work [n=benny@p54AC2C30.dip0.t-ipconnect.de] has quit [Read error: 60 (Operation timed out)]
23:07 -!- foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:08 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi
--- Day changed Sat Dec 02 2006
00:05 -!- benny`work [n=benny@p54AC3C7A.dip0.t-ipconnect.de] has joined #agavi
00:11 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
00:12 < MrJeep> hi
00:12 < MrJeep> I have quesiton about the prototype library.. I have a weird problem with it
00:12 < MrJeep> maybe someone could help
00:12 < MrJeep> I have 3 class
00:13 < MrJeep> DocumentObject class, DocumentMap class and a DocumentZone class.
00:13 < MrJeep> DocumentMap and DocumentZone extends the DocumentObject class
00:14 < MrJeep> The 3 classes a included in my svg document
00:14 < MrJeep> in this order
00:14 < MrJeep> DocumentObject, DocumentMap, DocumentZone
00:15 < MrJeep> now I create an instance of DocumentObject and I alert the content of the initialize method. The content is the DocumentZone method
00:15 < MrJeep> if I don't include the DocumentZone, The initialize method will of the DocumentObject class is the DocumentMap method
00:15 < MrJeep> weird huh ?
00:16 < MrJeep> sounds like the extending has been done in reverse
00:47 -!- benny`work [n=benny@p54AC3C7A.dip0.t-ipconnect.de] has quit ["unset($this);"]
01:57 -!- Wombert [n=Wombert@dslb-088-064-002-213.pools.arcor-ip.net] has quit [Nick collision from services.]
01:57 -!- Wombert [n=Wombert@dslb-088-064-014-012.pools.arcor-ip.net] has joined #agavi
03:26 < Wombert> re
03:26 < Wombert> MrJeep: I need to see the code for that
03:26 < Wombert> OO and extending stuff in JS is not trivial
03:58 * Wombert slaps impl
03:58 * Wombert pokes impl
03:58 < impl> OW
03:58 * Wombert drags impl by the ear
03:58 < impl> I'm here I'm here!
03:58 < Wombert> what are you doing in #symfony :<
03:58 < Wombert> please don't tell me you're using that crap :<
03:58 < impl> Waiting to catch fabien and tell him to stop stealing Agavi's code
03:58 < Wombert> stay with us :<
03:58 < Wombert> lolmao
03:59 < Wombert> you're not lying to me are you?
03:59 < impl> Hell no
03:59 < Wombert> promise!
03:59 < impl> If you want the truth, I've been looking into feti's new procedural framework, redline
03:59 < Wombert> oh?
03:59 < Wombert> show me!
03:59 < Wombert> procedural? eww
04:00 < Wombert> show show show show!
04:07 < MrJeep> procedural ?
04:07 < MrJeep> function whatever() ?
04:08 < Wombert> yea
04:08 < Wombert> impl!
04:08 < impl> What, sorry
04:08 < impl> I'm installing OpenBSD and it's misbehaving
04:08 < impl> Let me fetch you the link
04:10 < impl> Wombert: http://dev.code-box.org/browse/redline-0.1.3.zip
04:15 < Wombert> mmmmh
04:16 < Wombert> aight
04:16 < Wombert> let's move it where it belongs
04:16 < Wombert> into htdocs
04:16 * Wombert fires up safari
04:17 < Wombert> okay
04:17 < Wombert> it's a pile of crap
04:17 < Wombert> Not Found
04:17 < Wombert> The requested URL /~dzuelke/redline-php/public_html/welcome.php was not found on this server.
04:17 < Wombert> Apache/1.3.33 Server at 127.0.0.1 Port 80
04:17 < Wombert> let's move it where it belongs
04:17 < Wombert> to the trash!
04:18 < Wombert> come on this is not
04:18 < Wombert> at all
04:19 < Wombert> any good
04:19 < Wombert> or am I missing something
04:19 < Wombert> impl?
04:19 < Wombert> MrJeep... what about your JS issues
04:20 < kaos> function rule_alpha_numeric (&$value)
04:20 < kaos> he still hasn't learnt
04:20 < kaos> that passing values by ref doesn't buy you anything in php
04:22 < Wombert> MrJeep: first, create a class
04:22 < impl> Wombert: Try making it index.php/default/welcome
04:22 < impl> Or something like that
04:22 < Wombert> DocumentObject = Class.create();
04:22 < impl> I haven't looked at how it parses URLs yet
04:22 < Wombert> DocumentObject.prototype = {
04:22 < Wombert> code here
04:22 < Wombert> }
04:23 < Wombert> DocumentMap = Class.create();
04:23 < Wombert> Object.extend(Object.extend(DocumentMap.prototype, DocumentObject.prototype), {
04:23 < Wombert> code here
04:23 < Wombert> }
04:23 < kaos> // | Parse the PATH_INFO string and add key/value pairs as parameters. |
04:23 < kaos> function & rl_parse_path_info ()
04:24 < kaos> $path_info = explode('/', $path_info);
04:24 < kaos> ...
04:25 < Wombert> MrJeep: also note that you can declare a method "initialize" that will then serve as the constructor
04:26 < kaos> tbh, this is crap
04:26 < Wombert> not necessarily
04:26 < Wombert> but definitely redundant
04:26 < Wombert> totally even
04:26 < kaos> no
04:26 < kaos> not that js stuff
04:28 < Wombert> yes
04:29 < Wombert> I'm afraid feti suffers from borderline fatal NIH syndrome
04:29 < Wombert> ( http://en.wikipedia.org/wiki/Not_Invented_Here )
04:31 < impl> hehe
04:31 < impl> I'm willing to give it a whirl
04:32 < Wombert> I am, obviously, biased
04:32 < Wombert> so forgive my ignorance
04:35 < kaos> well, from a quick look at the code, i would say: no, thanks
04:35 < Wombert> kicks CIA-11
04:35 < Wombert> wait
04:35 * Wombert kicks CIA-11
04:35 < CIA-11> ow
04:36 < kaos> but i'm back to my c++ stuff ;)
04:36 < Wombert> don't say ow, do your job you retard
04:36 * Wombert kicks CIA-11 again
04:57 < MrJeep> am I drunk or what
04:57 < MrJeep> but
04:57 < MrJeep> how -72.073 be smaller than -72.083
04:57 < MrJeep> this is what JS tells me :S
04:59 < Wombert> javascript:alert(-72.073 < -72.083)
04:59 < Wombert> => false
04:59 < MrJeep> arg, my number are badly parsed
04:59 < MrJeep> still considered a string
05:00 < MrJeep> you know what, I hate those stupid mistakes
05:03 < CIA-11> dominik * r1408 /branches/0.11/src/ (2 files in 2 dirs):
05:03 < CIA-11> BREAKING CHANGE!
05:03 < CIA-11> removed validatormanager argument from register*Validators()
05:03 < CIA-11> closes #360
05:03 < kaos> yay
05:05 < Wombert> hours later...
05:20 < MrJeep> no more manual registerValidator ?
05:23 < Wombert> http://trac.agavi.org/changeset/1408
05:23 < Wombert> http://trac.agavi.org/wiki/Validation/RegisteringValidatorsManually
05:25 < MrJeep> i c
05:52 < MrJeep> hey wombert, what time is it right now where you are ?
05:52 < JamieWolf> 5am :)
05:53 < Wombert> yep
05:53 < Wombert> where are you from btw JamieWolf
05:53 < JamieWolf> german time ;)
05:53 < JamieWolf> germany
05:53 < Wombert> yeah I know that :p
05:53 < JamieWolf> Hessen, near frankfurt
05:53 < Wombert> did you attend intl php conference?
05:53 < MrJeep> 5 am, not tired ?
05:54 < Wombert> not really
05:54 < JamieWolf> No ... Since coding is just a hobby for me. I also have to work the hole day
05:54 < Wombert> concentration levels sinking but not yet at the point where teh brain refuses to complete simple task
05:54 < Wombert> oh I thought you had some sort of programming job :)
05:54 < JamieWolf> MrJeep after 1 Bottle reb bull - no way of being tired
05:55 < JamieWolf> Wombert why u thought that?
05:55 < Wombert> I'm immune to caffeine
05:55 < Wombert> well
05:55 < Wombert> most people here code for a living
05:56 < Wombert> I think
05:56 < JamieWolf> no I work as a tax consultant
05:56 < Wombert> :)
05:56 < JamieWolf> but it is like coding ... somehow
05:56 < Wombert> do you like agavi?
05:56 < Wombert> will you do our taxes for free? ;o)
05:57 < Wombert> yeah it is
05:57 < Wombert> like coding, taxes are a fucking pain in the ass
05:57 < Wombert> kind of
05:57 < JamieWolf> yeap I do ... I'm checking the website every day ... cant wait to see the homepage
05:57 < JamieWolf> true
05:57 < Wombert> the designer is veeeeeery busy
05:57 < Wombert> so don't expect it tooo soon
05:57 < Wombert> I hope it'll be this year
05:57 < Wombert> or, rather, in time for christmas
05:58 < Wombert> we also finally found a good (but commercial :S) font for the logo
05:59 < Wombert> mmmmmmkay I need some music that helps with concentrating
05:59 < JamieWolf> btw. I can do Ur taxes stuff :)
05:59 < JamieWolf> try some classic stuff
05:59 < Wombert> just put some on :)
06:00 < JamieWolf> put some what?
06:00 < Wombert> classic music
06:00 < JamieWolf> ;) Concentration is sinking rapidly over here
06:01 < JamieWolf> btw were are u from Wombert?
06:01 < Wombert> munich
06:02 * Wombert yawns
06:02 < Wombert> I guess I _am_ tired
06:02 < impl> I'M CODING IN PERL
06:02 < JamieWolf> nice place, but way to expensive to live there
06:02 < impl> SOMEONE _SHOOT_ ME
06:02 * Wombert packs a gun
06:03 * JamieWolf shots impl
06:03 < Wombert> where the hell did I put the full metal jacket ammo
06:03 * JamieWolf misses ... too bad ;)
06:03 < Wombert> aaaaah there it is
06:03 * Wombert loads a clip
06:03 * Wombert aims for the arse
06:03 < Wombert> you still doing perl mate?
06:03 < Wombert> I'll have to shoot you
06:03 < Wombert> or kill a kitten
06:03 < Wombert> you decide
06:04 < impl> my $nul = shift; @_ ? ($_->{'opt'} = shift) : $_->{'opt'};
06:04 < MrJeep> wombert, you said something about "NIH" syndrome
06:04 < MrJeep> i look at the wikipedia definition
06:05 < MrJeep> sounds like the NIH def is more proper for the invented here def.
06:05 < MrJeep> there is something wrong ?
06:05 < Wombert> "NIH syndrome" means that people build their own stuff just to have their own stuff
06:05 < Wombert> because they don't want to use existing solutions
06:06 < Wombert> think about a project leader at ACME Inc
06:06 < impl> Maybe all the existing solutions are written in Perl
06:06 < Wombert> a smart coder walks up to him and says "hey for that upcoming project, I found a nice framework, Agavi!"
06:06 < MrJeep> yeah this is what the def says
06:06 < Wombert> and the project manager will say "mmmh no that was Not Invented Here, we'll build our own"
06:06 < Wombert> because he is a pathetic moron
06:06 < Wombert> and will, hopefully, get fired
06:06 < MrJeep> ahh in that sense!
06:07 < Wombert> yep
06:07 < Wombert> :)
06:07 < MrJeep> now I understand :D, thnx
06:07 < MrJeep> well, now I'll go to sleep
06:07 < MrJeep> it's 11:07 here ;P
06:07 < Wombert> oO
06:07 < MrJeep> not that late but i'm tired
06:07 < Wombert> heh
06:07 < MrJeep> so gnight everyone!
06:07 < Wombert> good night
06:07 < JamieWolf> good night
06:08 < Wombert> so, impl, what about that perl thing
06:08 < JamieWolf> think i'll get some sleep too ...
06:08 * Wombert removes the tips from the bullets
06:08 < Wombert> this will hurt, mind you
06:08 < impl> Wombert: 'tis called SlimServer
06:08 < impl> and it's not pretty
06:08 < Wombert> I'm counting down from three
06:08 < Wombert> then, I'll shoot
06:09 < Wombert> or kill a kitten
06:09 < Wombert> you decide
06:09 < impl> I have a quote about kittens
06:09 < impl> <+Shadda> Everytime a script written in 1995 loses compatibility, a Derick kills a kitten <+nforbes> Which is good. We have too many fucking kittens anyway.
06:09 < impl> However, I'd prefer you shoot me
06:09 < Wombert> right
06:09 < Wombert> I finished counting anyway
06:09 * Wombert aims
06:09 * Wombert shoots
06:10 * impl dies.
06:10 < Wombert> you still there?
06:10 * Wombert shoots again
06:10 < Wombert> aaah that serves you right
06:14 < Wombert> http://hello.eboy.com/eboy/product-detail/?token=FOO&pic=0&%2338;
06:26 -!- CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
06:31 -!- CIA-11 [i=cia@cia.navi.cx] has joined #agavi
06:45 -!- JamieWolf [n=JamieWol@Xafb5.x.pppool.de] has quit []
06:49 -!- CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
07:07 -!- CIA-11 [i=cia@cia.navi.cx] has joined #agavi
07:24 -!- CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
07:44 -!- Wombert [n=Wombert@dslb-088-064-014-012.pools.arcor-ip.net] has quit []
07:48 -!- kaos [n=kaos@ppp-82-135-13-98.dynamic.mnet-online.de] has quit ["[1]+ Stopped /usr/share/bin/brain"]
08:54 < v-dogg> huomenta
09:11 -!- foresth [i=foresth@local.hide-forest.net] has joined #agavi
09:33 -!- CIA-11 [i=cia@cia.navi.cx] has joined #agavi
09:58 -!- CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
10:25 -!- digitarald [n=Miranda@196.Red-213-98-245.dynamicIP.rima-tde.net] has joined #agavi
10:51 -!- CIA-11 [i=cia@cia.navi.cx] has joined #agavi
11:06 -!- Netsplit zelazny.freenode.net <-> irc.freenode.net quits: splatch`, Kubicek
11:07 -!- Netsplit over, joins: splatch`, Kubicek
11:11 -!- codecop [n=codecop@85.206.199.108] has joined #agavi
11:27 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
11:27 < Whisller> Hi
11:35 -!- CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
11:38 -!- CIA-11 [i=cia@cia.navi.cx] has joined #agavi
11:48 -!- digitarald [n=Miranda@196.Red-213-98-245.dynamicIP.rima-tde.net] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
12:08 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" HydraIRC -> http://www.hydrairc.com <- 100,000+ downloads can't be wrong"]
12:33 -!- codecop [n=codecop@85.206.199.108] has quit [Read error: 145 (Connection timed out)]
12:42 -!- codecop [n=codecop@85.206.199.108] has joined #agavi
12:57 -!- eremit_ [n=eremit@p5490E86F.dip.t-dialin.net] has quit [Remote closed the connection]
12:59 -!- eremit [n=eremit@p5490E86F.dip.t-dialin.net] has joined #agavi
13:56 -!- raidman|Away [n=raidman@85-18-14-9.fastres.net] has quit [Read error: 110 (Connection timed out)]
14:17 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:46 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:47 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
14:47 -!- Arme[N-1] is now known as Arme[morizer]
15:28 -!- Wombert [n=Wombert@dslb-088-064-014-012.pools.arcor-ip.net] has joined #agavi
15:29 -!- digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
15:38 -!- codecop [n=codecop@85.206.199.108] has quit ["Leaving"]
15:40 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:51 -!- Arme[morizer] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 113 (No route to host)]
15:52 -!- Arme[N-1] is now known as Arme[morizer]
16:02 -!- Arme[morizer] is now known as Arme[N]
16:28 -!- eremit_ [n=eremit@p5490E70F.dip.t-dialin.net] has joined #agavi
16:34 -!- Arme[N] is now known as Arme[morizer]
16:36 -!- eremit [n=eremit@p5490E86F.dip.t-dialin.net] has quit [Connection timed out]
16:43 -!- digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
16:44 < MrJeep> allready up !
16:44 < MrJeep> well, i guess it'S 4 pm
16:44 < v-dogg> almost 5 pm
16:46 < MrJeep> lol
17:09 < Wombert> 4pm!
17:10 < v-dogg> weirdo
17:18 < Wombert> :<
17:19 < v-dogg> need a hug?-)
17:22 -!- benny`work [n=benny@p54AC2609.dip0.t-ipconnect.de] has joined #agavi
17:22 < Wombert> :D
17:23 < Wombert> not necessary
17:23 < Wombert> I live in the cooler time zone
17:23 < Wombert> if any, then you need one
17:23 * Wombert hugs v-dogg
17:23 < v-dogg> :p
17:25 -!- kaos [n=kaos@ppp-82-135-13-98.dynamic.mnet-online.de] has joined #agavi
18:08 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
18:20 < CIA-11> david * r1409 /branches/0.11/ (2 files in 2 dirs): (log message trimmed)
18:20 < CIA-11> added 'store_calls' configuration parameter to AgaviGettextTranslator that
18:20 < CIA-11> allows to set a base directory to which _() (and thus __()) calls will be
18:20 < CIA-11> 'logged' so they can be parsed by xgettext. will just append, so items will be
18:20 < CIA-11> duplicate over time. xgettext has an option to filter these out. will
18:20 < CIA-11> automatically create one file per domain since most xgettext implementations
18:20 < CIA-11> cannot detect domains from dgettext calls. the sample app writes to the cache
19:10 -!- Arme[morizer] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
19:14 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:34 < Wombert> Arme[N]: ping
19:56 < Arme[N]> Wombert: pong
20:35 < Wombert> is the date and time information in the sample app displayed correctly?
20:35 < Wombert> for rtl
20:45 < Arme[N]> Wombert: let me see....
20:45 < Arme[N]> Wombert: from trunk or branch?
20:45 < Wombert> 0.11 branch
20:46 < Arme[N]> okey letmesee
20:49 < Arme[N]> hmm I havn't installed PHP5 in this box, it will take several minutes, please wait
20:58 -!- luke`_ [n=luke`@59.92.136.233] has joined #agavi
21:00 < Arme[N]> Wombert: no
21:00 < Arme[N]> Wombert: position of time is wrong
21:01 < Arme[N]> it should be at left side
21:03 -!- luke` [n=luke`@59.92.130.107] has quit [Read error: 110 (Connection timed out)]
21:11 < Arme[N]> Wombert: http://tinypic.com/view/?pic=35n0v90
21:26 < Wombert> k
21:26 < Wombert> I gotta runnow
21:26 < Wombert> let's look into thgat tomorrow
21:27 < Arme[N]> Wombert: :)
22:50 -!- digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
22:55 -!- foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
23:26 -!- Arme[N] is now known as Arme[0]
23:53 -!- raidman|Away [n=raidman@85-18-14-9.fastres.net] has joined #agavi
--- Day changed Sun Dec 03 2006
00:04 -!- raidman|Away [n=raidman@85-18-14-9.fastres.net] has quit [Remote closed the connection]
00:45 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has joined #agavi
00:45 < Whisller> hi
01:28 -!- luke` [n=luke`@59.92.138.81] has joined #agavi
01:29 -!- luke`_ [n=luke`@59.92.136.233] has quit [Read error: 110 (Connection timed out)]
01:49 -!- Wombert [n=Wombert@dslb-088-064-014-012.pools.arcor-ip.net] has quit [Nick collision from services.]
01:49 -!- Wombert [n=Wombert@dslb-088-064-009-133.pools.arcor-ip.net] has joined #agavi
02:01 -!- luke` [n=luke`@59.92.138.81] has quit [Read error: 110 (Connection timed out)]
02:46 -!- Whisller [n=Whisller@ase178.internetdsl.tpnet.pl] has quit [" Good Night"]
02:56 -!- digitarald [n=Miranda@62-43-134-247.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
04:15 -!- CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
04:28 -!- CIA-11 [i=cia@cia.navi.cx] has joined #agavi
04:39 -!- benny`work [n=benny@p54AC2609.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)]
04:50 -!- luke` [n=luke`@59.92.156.200] has joined #agavi
05:44 -!- CIA-11 [i=cia@cia.navi.cx] has quit [Client Quit]
05:50 -!- CIA-11 [i=cia@cia.navi.cx] has joined #agavi
06:01 -!- luke`_ [n=luke`@59.92.163.236] has joined #agavi
06:19 -!- luke` [n=luke`@59.92.156.200] has quit [Read error: 110 (Connection timed out)]
06:26 < CIA-11> david * r1410 /branches/0.11/src/ (4 files in 3 dirs): (log message trimmed)
06:26 < CIA-11> implemented options 'scheme', 'host', 'port', 'authority' and 'fragment' for
06:26 < CIA-11> WebRouting::gen(). For example, pass array('scheme' => 'https') and you'll get a
06:26 < CIA-11> https:// url. It tries to be as smart as possible about omitting ports etc. As a
06:26 < CIA-11> rule of thumb, if you link to some external stuff, use 'authority'. If you want
06:26 < CIA-11> to redirect to another internal site, use 'host', because that will leave some
06:26 < CIA-11> non-standard port (e.g. 81) in place. 'fragment' is for the fragment identifier
07:06 -!- Arme[0] is now known as Arme[N]
07:10 -!- Arme[N] is now known as Arme[0]
07:11 -!- Wombert [n=Wombert@dslb-088-064-009-133.pools.arcor-ip.net] has quit [Nick collision from services.]
07:11 -!- Wombert [n=Wombert@dslb-088-064-027-190.pools.arcor-ip.net] has joined #agavi
08:10 -!- impl [n=impl@httpcraft/php/impl] has quit [Excess Flood]
08:14 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi
09:59 -!- Arme[0] is now known as Arme[N]
10:11 < v-dogg> huomenta
10:12 < v-dogg> time to learn agavi's i18n...
10:12 < v-dogg> anyone awake to help me?-)
10:25 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
11:07 -!- eremit_ [n=eremit@p5490E70F.dip.t-dialin.net] has quit []
11:10 -!- eremit [n=eremit@p5490E70F.dip.t-dialin.net] has joined #agavi
11:23 < v-dogg> I seriously need help with this :)
11:29 < kaos> yup
11:29 < kaos> v-dogg: i'm here to your rescue :D
11:30 < v-dogg> \o/
11:30 -!- codecop [n=codecop@85.206.207.52] has joined #agavi
11:30 < v-dogg> I took routing (with the callback) from the sample app
11:31 < v-dogg> I have fi_FI and sv_SE locales defined in transalation.xml
11:31 < v-dogg> default_locale="fi_FI@currency=EUR
11:32 < v-dogg> and output_types.xml, i18n : postfix.
11:33 < v-dogg> transalation.xml defines gettexttranslator but I don't need that (for now), can I do this without translator?
11:33 < v-dogg> using only localized templates?
11:33 < kaos> hmm, yes
11:33 < kaos> but i'm not sure right now if we allow leaving the translator out
11:36 < v-dogg> seems to work
11:36 < v-dogg> but now
11:37 < v-dogg> localhost/ works
11:37 < v-dogg> localhost/fi returns 404
11:37 < v-dogg> and it doesn't even find the localized 404
11:38 < kaos> hm
11:41 < kaos> have you enabled use_translation in the config ? ;)
11:41 < v-dogg> yes :)
11:42 < kaos> ah
11:42 < v-dogg> IndexSuccess.fi.php wouldn't work otherwise
11:42 < kaos> i think i see the problem
11:43 < kaos> omg, all that text is so blurry *g*
11:43 < kaos> i really should sleep now i think
11:43 < v-dogg> nah, no you shouldn't
11:43 < kaos> *g*
11:44 < kaos> hmmm
11:46 < v-dogg> I got it
11:46 < kaos> what was it ?
11:46 < kaos> (and i had just created a new project to test :)
11:47 < v-dogg> pattern="/({locale: ..." cut="true" cut the slash too
11:47 < v-dogg> so pattern="^/$" didn't match
11:47 < v-dogg>
11:47 < v-dogg> works
11:48 < kaos> still doesn't explain why the 404 view hasn't selected the right template
11:48 < v-dogg> true
11:50 < kaos> how did you name your files ?
11:51 < kaos> (because the system itself should work, as its used in the sampleapp)
11:51 < v-dogg> Error404Success.fi.php
11:52 < v-dogg> on 404 AgaviRenderer::preRenderCheck doesn't even try to find anything else than Error404Success.php
11:54 < kaos> well, i think you need to update then
11:54 < v-dogg> ?
11:54 < kaos> you using the latest svn version ?
11:54 < v-dogg> yep, 1410 exported this morning
11:56 < kaos> hmm, the code is there http://trac.agavi.org/browser/branches/0.11/src/renderer/AgaviRenderer.class.php#L315
11:56 -!- digitarald [n=Miranda@62-43-134-247.user.ono.com] has joined #agavi
11:56 < kaos> and when i try it with the sample app it works
11:58 < v-dogg> here too...
11:58 < kaos> strange
12:05 < kaos> but i'm really in my bed now, awake way to long now \o/
12:05 < kaos> sorry v-dogg :/
12:05 < v-dogg> no problem
12:26 -!- foresth [i=foresth@local.hide-forest.net] has joined #agavi
12:29 < codecop> strange, why when i try to use $controller->forward('Default', 'Index'); i got exception:
12:29 < codecop> For security reasons, Request Parameters cannot be acces.......
12:32 -!- foresth [i=foresth@local.hide-forest.net] has quit ["Every being in the universe knows right from wrong."]
12:37 -!- foresth [i=foresth@local.hide-forest.net] has joined #agavi
13:01 -!- epaulin [n=epaulin@218.22.2.93] has joined #agavi
14:16 -!- luke` [n=luke`@59.92.163.236] has joined #agavi
14:16 -!- luke`_ [n=luke`@59.92.163.236] has quit [Read error: 54 (Connection reset by peer)]
14:30 -!- epaulin [n=epaulin@218.22.2.93] has quit ["Fake it till you make it."]
15:11 < digitarald> codecop?
15:11 < v-dogg> codecop: you are not supposed to use that
15:12 < v-dogg> you forward by returning array('MyModule', 'MyAction') from the view::execute
15:15 -!- Arme[N] is now known as Arme[0]
15:46 < codecop> digitarald, v-dogg now i see thanx ( in mojavi was forward )
15:46 < v-dogg> yep
15:48 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
15:56 < Wombert> v-dogg: you gotta tell the renderer that you want to use localized templates
15:57 < Wombert> http://trac.agavi.org/browser/branches/0.11/samples/app/config/output_types.xml#L31
15:57 < digitarald> u can even return the forward array in actions ... ;)
15:57 < Wombert> no!
16:06 < foresth> Wombert, how is it going with the new webpage? :)
16:06 < Wombert> haven't heard from the designer ;) he's busy ;)
16:06 < Wombert> we'll have to wait :)
16:11 < v-dogg> Wombert: I have and it works, I just (a) messed up routing.xml and (b) didn't think straight
16:12 < v-dogg> localhost/fi ofcourse doesn't work, but localhost/fi/ works
16:12 < Wombert> yeah that's a BIT of an issue unfortunately
16:12 < Wombert> but not really anything we can do about it
16:13 < v-dogg> doesn't bother me
16:13 < v-dogg> but now I'm trying to figure out simple translator
16:14 < Wombert> need help?
16:14 < Wombert> put a parameter with a domain name
16:14 < Wombert> in that, one param for each locale
16:14 < v-dogg> according to my var_dumps my translation.xml is almost correct
16:15 < Wombert> in that, translated version
16:15 < Wombert> or
16:15 < Wombert>
16:15 < Wombert> text to translate
16:15 < Wombert> translated version
16:15 < Wombert>
16:15 < v-dogg> I'm not sure I understand domains
16:16 < Wombert>
16:17 < Wombert>
16:17 < Wombert>
16:17 < Wombert>
16:17 < Wombert> houmenta
16:17 < Wombert> $tm->_('hello', 'foo.domainname');
16:17 < Wombert> these "inner" domains are just for the translators to determine where to pull the info from
16:18 < Wombert> for instance for the gettext translator, domainname would be pulled from domainname/fi.po
16:18 < Wombert> btw you can safely use "fi" even though you defined fi_FI
16:18 < Wombert> note that you may omit and other plural tags since mmmh a couple of days ago
16:18 < Wombert> makes that stuff a little less painful
16:18 < Wombert> the simpletranslator is jus tfor quick prototyping
16:19 < Wombert> or for translating date format defintions
16:19 < v-dogg> yey \o/ it works
16:23 < codecop> what the main things to do to use translators ? in short
16:25 < v-dogg> use_transalation=true (settings.xml), copy translation.xml from the sample app
16:25 < v-dogg> and transalate :)
16:25 < codecop> :)
16:26 < digitarald> Wombert, fpf does not refill a selectbox right ... everything is right except this selectbox. Maybe its a problem with type (string/integer)?
16:26 < Wombert> everything arrives as strings at the client
16:26 < Wombert> reproducible test case please
16:27 -!- eremit [n=eremit@p5490E70F.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)]
16:27 < digitarald> mmhh ... i'll try a workaround first, don't have much time now
16:27 -!- toby_swe[a] [n=Miranda@nl109-140-176.student.uu.se] has joined #agavi
16:27 < Wombert> ...
16:27 < Wombert> if you don't want me to go totally beserk
16:28 < Wombert> you please please please with a sugar topping better create a damn test case for me
16:28 < Wombert> because your workarounds don't help ANYONE
16:28 < Wombert> and a test case takes no more than two minutes
16:28 < Wombert> you create one html file I can use as a template
16:28 < Wombert> and one line of code that populates data
16:28 < Wombert> that's all I need
16:28 < Wombert> ...
16:28 < digitarald> i know ... only my clients ;) ... if it works i know the problem and will create a test case ... i did say no to a test case
16:29 < digitarald> i did NOT say no .. ups
16:29 < Wombert> yes, yes, yes
16:29 < Wombert> and still
16:29 -!- eremit [n=eremit@p5490C42F.dip.t-dialin.net] has joined #agavi
16:29 < Wombert> in case of doubt it's one select box I can throw into sample app's LoginInput.php
16:31 < digitarald> problem is: the given population value is an integer value (0, 1, 2 or 3 ;) ). when i cast it first to a string its ok and the selectbox is populated right
16:32 < Wombert> yeah
16:32 < digitarald> $option->getAttribute('value') === $value
16:32 < Wombert> there was some reason why this wasn't possible
16:32 < Wombert> hmm
16:32 < digitarald> thats it
16:32 < Wombert> yes but that is there for a reason
16:32 < Wombert> I just don't remember which
16:32 < digitarald> fpf#358
16:33 < Wombert> probably