Log opened Fri Jun 01 00:00:11 2007
00:15 kaos|work_ [n=dominik@217.7.205.2] has quit []
00:25 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["nn"]
00:26 Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
00:28 Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Client Quit]
00:29 kaos|work [n=dominik@p50872784.dip0.t-ipconnect.de] has joined #agavi
00:32 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Success]
00:35 Wombert [n=Wombert@p50872784.dip0.t-ipconnect.de] has quit []
00:56 sean` [n=chatzill@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)]
00:59 kaos|work [n=dominik@p50872784.dip0.t-ipconnect.de] has quit []
01:34 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
02:03 impl [n=impl@adsl-144-190-86.rmo.bellsouth.net] has joined #agavi
02:59 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
03:00 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
04:11 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
04:30 impl [n=impl@httpcraft/php/impl] has joined #agavi
05:29 riah [n=zach@pool-72-77-252-166.tampfl.fios.verizon.net] has joined #agavi
05:37 methodz [n=methodz@66.29.160.170.static.utahbroadband.com] has joined #agavi
05:37 methodz supz
05:39 methodz so have there been any changes to 0.11 which would make 0.10's XSLView not work?
05:59 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
06:05 ttj [n=tjorri@kosh.hut.fi] has joined #agavi
06:05 Topic for #agavi: 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/ :: HUOMENTA!
06:05 Topic set by Wombert [] [Tue May 8 23:10:02 2007]
06:05 Irssi: #agavi: Total of 14 nicks [0 ops, 0 halfops, 0 voices, 14 normal]
06:05 Channel #agavi created Sun Nov 26 08:43:22 2006
06:05 Irssi: Join to #agavi was synced in 7 secs
06:05 [freenode-info] if you need to send private messages, please register: http://freenode.net/faq.shtml#privmsg
06:08 methodz [n=methodz@66.29.160.170.static.utahbroadband.com] has quit []
07:12 luke`_ [n=shoan@59.92.166.20] has quit [Read error: 110 (Connection timed out)]
07:18 riah [n=zach@pool-72-77-252-166.tampfl.fios.verizon.net] has left #agavi []
07:32 Wombert [n=Wombert@p50872B65.dip0.t-ipconnect.de] has joined #agavi
07:34 Wombert huomenta
08:40 v-dogg huomenta
09:18 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:21 _cheerios huomenta!
09:21 _cheerios ... i got nearly driven over TWICE this morning while on my way to work
09:21 _cheerios f*g summer drivers
09:23 _cheerios second one went past me at full speed (against red lights) while i was crossing the street (pedestrians had green).
10:00 digitarald [n=Miranda@62-43-141-189.user.ono.com] has joined #agavi
10:04 SunboX [n=Miranda@80.243.35.154] has joined #agavi
10:14 Wombert well
10:14 Wombert I can understand that
10:14 Wombert if I was living in Finland and could only afford a Lada because all other cars are subject to luxury tax and thus unaffordable
10:15 Wombert I'd hit the gas as much as I can, without caring about pedestrians, too, on the only day in the year where the sun shines more than 5 hrs :p
10:15 Wombert just dissed Finland big time
10:15 Wombert looks at the fin majority in here
10:15 Wombert runs
10:15 Wombert [n=Wombert@p50872B65.dip0.t-ipconnect.de] has quit []
10:20 v-dogg when he comes back, somebody please smack him
10:20 v-dogg and then tell him about the midnight sun :)
10:42 Wombert [n=Wombert@217.7.205.2] has joined #agavi
10:59 Wombert haha
10:59 Wombert hugs v-dogg
11:00 Wombert v-dogg: how bout coming to ze php conf this fall?
11:00 v-dogg where is it?
11:01 Wombert in frankfurt
11:01 Wombert but if you're still a student then
11:01 Wombert you only pay 90 euros per day
11:01 Wombert same for the hotel
11:01 Wombert flight should be 100 euros or so as well
11:01 Wombert it would be great fun
11:01 v-dogg frankfurt, germany? scary
11:01 codecop [n=codecop@85.206.220.65] has joined #agavi
11:02 Wombert :p
11:02 Wombert yu
11:02 Wombert p
11:03 Wombert 89 euros for both flights combined
11:03 Wombert (lufthansa)
11:03 Wombert do it!
11:03 v-dogg ryanair flights from tampere
11:03 Wombert do they fly to frankfurt? :p
11:04 Wombert ah hmh yeah helsinki is a little far isn't it
11:04 Wombert didn't think bout that
11:04 v-dogg tampere is just as far
11:04 E_mE huomenta!
11:04 v-dogg but ryanair is cheap and I'm poor :)
11:05 v-dogg when is the conference?
11:05 Wombert last one was in november
11:05 Wombert are you still an enlisted student in the winter semester?
11:05 v-dogg sure
11:05 v-dogg I'll never graduate :)
11:05 Wombert no worries bout being poor... food is included in the hotel price
11:06 Wombert and drinks are on me :>
11:06 E_mE PHP conference
11:06 E_mE cool!
11:06 Wombert you in too?
11:07 E_mE when is it?
11:07 Wombert last one was in november
11:07 Wombert http://phpconference.com/konferenzen/divers/psecom,id,327,nodeid,467,_language,d​e.html
11:07 Wombert sara's talks were coool (streams and such)
11:08 Wombert some IBM folks demoed kick ass web service stuff
11:08 Wombert but the nicest thing is meeting people
11:08 Wombert Hans Lellelid of Propel was there last year
11:08 Wombert and Dustin Whittle (symfony... but he is a cooool dude nontheless)
11:08 E_mE Wombert: i thought you wrote Propel
11:08 Wombert nah, I'm just one of the devs
11:08 Wombert it's essentially Hans' project
11:09 Wombert he founded it, he drives it
11:09 Wombert I don't have too much time for it anymore after taking over agavi leadership :<
11:09 Wombert I wish someone could pay me for open source dev work xD
11:09 E_mE hehehe! when agavi go world wide you will be asking people to stop paying you to dev for them =P
11:10 Wombert xD
11:10 Wombert let's hope so
11:10 E_mE how much are standard tickets for phpconf?
11:10 Wombert anyway, the conf really is very very very good
11:10 Wombert it's all so well organized
11:10 Wombert I think 1000 euros or so
11:10 E_mE :: Clapse ::
11:11 Wombert yeah...
11:11 Wombert http://phpconference.com/konferenzen/divers/psecom,id,441,nodeid,467,_language,d​e.html
11:11 Wombert ah okay 669
11:11 Wombert (the workshops aren't as interesting I guess)
11:11 E_mE thats Loads of money
11:12 E_mE :'(
11:12 Wombert yeah
11:12 Wombert students get the good prices...
11:12 E_mE can you pretend to be a student?
11:12 E_mE take my college library card along ;)
11:13 E_mE when you going to setup an Agavi stand at PhpConf then?
11:14 Wombert for the 2008 one probably ;)
11:14 E_mE do you have to pay for a stand?
11:14 E_mE im guessing yes
11:14 Wombert yeah
11:14 Wombert probably
11:14 Wombert not sure bout open source projects
11:16 Wombert ryanair flights are 65 euros for august (can't find any for november)
11:16 E_mE someone has asked me to create a website for them (well neighbours upstairs), i'll proberbly implement Agavi for there site too.. make the world agavi mad =P
11:16 Wombert did you ever fly with them?
11:16 E_mE yues i have
11:16 E_mE there cheap but simple
11:16 Wombert I imagine it to be, err, horrible
11:16 E_mE not horrible, just no luxury... just seat and arsey terms of conditions
11:17 E_mE but it works generally, we have ryanair flying from Cornwall to London
11:17 Wombert that's 20 minutes or so tho
11:17 E_mE 45-50mins
11:18 E_mE cornwall is about 250-300miles
11:18 E_mE from London
11:18 Wombert oh
11:18 Wombert k
11:18 E_mE train takes 5-6hours
11:18 v-dogg tampere - frankfurt can't be more than two hours or so, and it doesn't really matter what kind of a plane it is for a trip like that
11:18 E_mE but thats because the South west of england has an accient railway system
11:19 Wombert shouldn't be a plane that falls from the sky tho
11:19 Wombert :>
11:19 v-dogg heh
11:19 Wombert well, see if you can make it
11:19 Wombert it would sure be ace
11:19 E_mE i love flying ;) even falling planes get me going =P
11:19 Wombert ask the boss if he sponsors you
11:20 v-dogg I'm not going to pay it myself, no way :)
11:20 Wombert it's a bargain for him compared to the regular price and you learn something and you can sell your software to ze rest of yurop etc
11:20 E_mE my boss to sponsor me ha ha! they won't even send me on any training courses unless there free hehe
11:20 Wombert har
11:20 E_mE how much is a sponsored price?
11:21 Wombert aaahm
11:21 Wombert the regular one I reckon
11:21 Wombert I meant v-dogg since he qualifies as a student and thus gets the big ass discount
11:21 digitarald [n=Miranda@62-43-141-189.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
11:21 E_mE mugs v-dogg for his skin ;)
11:21 Wombert you don't want that
11:22 Wombert he is bald
11:22 Wombert :P
11:22 Wombert and not even 30
11:22 v-dogg well, I pretty much can make the decision myself but I'm also responsible for the budget
11:22 Wombert hugs v-dogg
11:22 Wombert v-dogg: errr?
11:22 Wombert don't get that
11:22 v-dogg decision about going and about the firm paying for the firm
11:22 Wombert did they make you a partner or sth?
11:22 v-dogg -firm
11:22 v-dogg +trip
11:23 Wombert firm for the firm ZOMG RECURSION^H^H^H^H^H^H^Hoh nevermind
11:23 Wombert :>>
11:23 Wombert speaking of work, if all goes well, impl is coming to cologne for an internship, isn't that kick ass
11:23 v-dogg nice
11:29 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
11:29 E_mE whats an intership?
11:29 Wombert internship?
11:29 Wombert uh
11:30 E_mE yes
11:30 Wombert http://en.wikipedia.org/wiki/Internship
11:34 Wombert ah
11:34 Wombert work experience?
11:34 Wombert seems to be the word in the UK
11:47 E_mE how old are you mr Wombert, if you dont mind me asking
11:47 Wombert 23
11:48 E_mE i honestly thought you where older then me
11:54 digitarald [n=Miranda@240.Red-83-55-69.dynamicIP.rima-tde.net] has joined #agavi
12:02 E_mE Wombert, did you go to university?
12:02 Wombert yeah
12:02 kaos|work [n=dominik@217.7.205.2] has joined #agavi
12:11 kaos|work huomenta!
12:16 E_mE why does Javascript have to be such a pain in the arse :S
12:17 Prometheus^ [n=Promethe@laj2.kyla.fi] has joined #agavi
12:26 E_mE :D my first Ajax response worked :D :D
12:34 Prometheus^^ [n=Promethe@laj2.kyla.fi] has joined #agavi
12:35 Prometheus^ [n=Promethe@laj2.kyla.fi] has quit [Connection reset by peer]
12:36 _cheerios Wombert, remember to take good notes... in english... for us whom won't attend!
12:38 Wombert why dontcha come too
12:38 Wombert it's half a year away
12:38 Wombert ask your boss :)
12:40 E_mE my executeJson() function is working in my registerSuccessView.php, it execute return json_encode($username);, but nothing dispalys on my response in the webbrowser
12:41 _cheerios i'll start prepping my german vocab straight away
12:42 E_mE the browser knows it recieving a text/json data... but its empty?
12:43 E_mE and $username defently has data in it too
12:45 _cheerios Wombert, they can't afford me, let alone fly me over to meet m8s in germany (er, visit a conf). :)
12:54 E_mE anyone got any ideas why my data is not gettign returned to the browser?
12:55 Wombert how do you trigger the json type?
12:56 Wombert or maybe you just don't see the data?
12:56 Wombert maybe the browser downlaods it due to the content type?
12:56 E_mE well, ive even tried: "return $username;" and nothing is returned
12:57 E_mE if i type the route directly into the addressbar, it ask me to download a text/json file which contains nothing
12:57 E_mE what do you mean trigger json type?
13:07 Wombert oh wait
13:07 Wombert is that RC4?
13:07 E_mE yes
13:07 Wombert then you have to do $this->getContainer()->getResponse()->setContent(json_encode($data)); instead of return ...;
13:07 Wombert sorry :/
13:08 E_mE thats cool :)
13:08 Wombert did I mention that we really really really have to roll RC5...
13:11 _cheerios lots to do, lots to do!
13:21 E_mE Wombert, thank you thats worked like charm!
13:21 E_mE Throws a beer at Wombert! NOW DRINK BITCH!
13:22 E_mE ;)
13:27 E_mE Wombert, would you say its good practice to put coniditon code into my executeJson() rather then the action?
13:27 E_mE im asking because there is no real communication between the Action adn executeJson()
13:28 E_mE unless there is a way to know its a Json request in the action
13:29 Wombert no, that's a key aspect
13:29 Wombert the action doesn't care about input and output form
14:02 _cheerios is confused by RoR folk whom compare RoR to PHP. Is #rubyonrails the new #php ?
14:12 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
15:00 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
15:00 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
15:01 epaulin [n=epaulin@221.221.21.150] has joined #agavi
15:10 E_mE shakes as MS Exchange goes potty!!!
15:13 E_mE does execute() always override executeRead()... or does it override executeRead() when no GET data is sent?
15:14 v-dogg always
15:15 E_mE so in a case where i want to display a default page and process a GET value, do i just use executeRead()
15:15 E_mE or just execute()
15:15 E_mE i mean i will be processing a GET in one situation
15:15 E_mE and not in another situation
15:16 E_mE so they are 2 sperate requests to the same action
15:17 v-dogg hmm.. I'm not sure about this anymore
15:17 v-dogg lemme check ze zource
15:23 Wombert no no
15:23 Wombert executeRead() has precedence over an execute()
15:24 Wombert but execute() indicates that your action serves all request methods
15:24 Wombert so there is a difference between having executeRead() only and having execute() only
15:25 E_mE so in this case i would use execute() and have $rd->hasParameter('username'); on weather to process the GET value
15:31 v-dogg yup, Wombert is correct
15:31 v-dogg apologizes
15:44 v-dogg E_mE: probably the more correct way would be to use executeRead and executeWrite and make the decision there
15:44 v-dogg or what do you say, Wombs?-)
16:02 E_mE v-dogg no need to apologize :) #
16:02 E_mE v-dogg: yeah but when i request registration form it sends no GET or POST values, it just wants to display the default template
16:45 Wombert yeah
16:45 Wombert technically it is a get request
16:45 Wombert but you should only have executeWrite() there
16:45 Wombert getDefaultViewName() determines the view to use in this case
16:45 Wombert probably "Input" for "RegistrationInputView"
16:49 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
16:59 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
17:07 codecop [n=codecop@85.206.220.65] has quit ["Leaving"]
17:28 v-dogg since when has zned fw had ldml locale definitions bundled in?
17:29 Wombert since they're parsing the XML without caching on each request and call that 1.0 RC1 xD
17:29 v-dogg what?! you serious? :D
17:29 Wombert yes
17:29 v-dogg haha
17:29 v-dogg awesome
17:29 Wombert I TOLD YOU THEY SUCK :>
17:30 Wombert plus it eats up like... 81923781636 bazillion megabytes of ram
17:30 v-dogg I'm using pdf and http_client parts of the "framework"
17:31 v-dogg just updated to rc1
17:32 epaulin_ [n=epaulin@221.222.229.92] has joined #agavi
17:52 epaulin [n=epaulin@221.221.21.150] has quit [Read error: 110 (Connection timed out)]
18:07 epaulin_ is now known as epaulin
18:20 digitarald [n=Miranda@240.Red-83-55-69.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
18:25 SunboX [n=Miranda@80.243.35.154] has quit [Read error: 104 (Connection reset by peer)]
18:57 Netsplit kubrick.freenode.net <-> irc.freenode.net quits: kaos|work, CIA-11, Prometheus^^
19:00 CIA-11 [n=CIA@208.69.182.149] has joined #agavi
19:01 kaos|work [n=dominik@217.7.205.2] has joined #agavi
19:03 Prometheus^ [n=Promethe@laj2.kyla.fi] has joined #agavi
20:46 E_mA [n=E_mE@91.84.10.29] has joined #agavi
21:50 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)]
22:18 kaos|work [n=dominik@217.7.205.2] has quit []
22:19 Wombert [n=Wombert@217.7.205.2] has quit []
22:48 Wombert [n=Wombert@p50872B65.dip0.t-ipconnect.de] has joined #agavi
22:49 Wombert oi
22:49 kaos|work [n=dominik@p50872B65.dip0.t-ipconnect.de] has joined #agavi
22:54 E_mA calm down Wombert!!! to much war in the world of oi's!! =P
23:03 Wombert [n=Wombert@p50872B65.dip0.t-ipconnect.de] has quit []
23:16 kaos|work [n=dominik@p50872B65.dip0.t-ipconnect.de] has quit []
23:35 v-dogg evening folks
23:36 v-dogg E_mA, don't mention The War
23:40 v-dogg what are my soap client options nowadays? nusoap, self-made client and what else?
23:43 v-dogg ah, and php
23:43 v-dogg 's own
23:43 v-dogg is it any good? anyone?
23:51 E_mA Seig hail =P
23:52 E_mA v-dogg: you used validators?
23:53 v-dogg sure do
23:53 E_mA whats a asparam used for?
23:55 v-dogg a what?
23:56 E_mA <validator class="equals" name="val_samepasses" error="passwords do not match">
23:56 E_mA <parameters>
23:56 E_mA <parameter name="value">password2</parameter>
23:56 E_mA <parameter name="asparam">1</parameter>
23:56 E_mA </parameters>
23:56 E_mA </validator>
23:57 v-dogg you have to check equals validator's source
23:57 v-dogg * The input is compared to a value and the validator fails if they differ.
23:57 v-dogg * When the parameter 'asparam' is true, the content in 'value' is taken as a
23:57 v-dogg * parameter name and the check is performed against it's value otherwise the
23:58 v-dogg * content in 'value' is taken.
23:58 v-dogg or I can do it for ya :)
Day changed Sat Jun 02 2007
00:01 E_mA hehe... i should read through the validator code to understand how it works really
00:04 E_mA that answer it alittle better then what i read
00:09 Prometheus^ [n=Promethe@laj2.kyla.fi] has quit []
00:23 v-dogg my first time using a soap service and I'm a bit lost
00:26 E_mA you should wash your hands of it =P hheehee
00:26 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
01:44 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
02:15 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit []
02:37 Wombert [n=Wombert@p50872B65.dip0.t-ipconnect.de] has joined #agavi
02:38 Wombert pokes v-dogg
02:38 Wombert still tackling soap?
02:48 E_mA Wombert: if you got a few minutes... can i pick your brain on validation?
02:48 Wombert probably not
02:48 Wombert I don't know much about it
02:48 E_mA did you write it?
02:49 E_mA didn't*
02:49 Wombert nope
02:49 E_mA the documentation seems to be more notes then a real explinations of the elements :(
02:50 E_mA doesn't mean any offense!
02:50 E_mA who wrote it?
02:50 Wombert some guy called uwe
02:50 Wombert and kaos has tried to fix it ever since
02:51 E_mA i thought it was completely rewritten in RC4
02:51 E_mA i read*
02:51 E_mA opps no im wrong
02:51 E_mA for 0.11
02:51 E_mA says sorry!
02:52 E_mA is there a plan to make it better or to leave it?
02:56 E_mA Wombert: would you recommend the validation or do you think its better to do it your self?
02:56 Wombert well it's much better than the old one
02:57 Wombert but there are still some oddities here and there
02:57 Wombert it's the way to go
02:57 E_mA when i;ve looked at it, i just doesn't seem to have much logic to it
02:57 E_mA i uses logical ideas.. but seems to be overcomplicated
02:58 E_mA it*
02:58 E_mA if you understand my approach on it... unless it makes sense to you ??
03:00 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
03:00 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
03:03 E_mA Wombert: did you write the fpf?
03:03 Wombert yes
03:14 E_mA Wombert: i don;t know if you know.. but can the validation query Database ti check (for example) if an e-mail address exists already?
03:23 E_mA Wombert: how can i pass parameters from RegRunAction.php into a RegisterSuccessView.php?
03:24 E_mA do i jsut setAttribute(), and the forgeign view can pick it up
03:24 E_mA or is it living in a seprate container?
04:05 kaos|work [n=dominik@p50872B65.dip0.t-ipconnect.de] has joined #agavi
04:06 kaos|work E_mA: yes, ofc you can query the database to check if an email exists in an validator
04:07 kaos|work would be quite bad for a framework to prevent that ;)
04:07 kaos|work and yes, passing stuff from action to view happens via setAttribute/getAttribute
04:19 methodz [n=methodz@66.29.160.170.static.utahbroadband.com] has joined #agavi
04:41 Wombert [n=Wombert@p50872B65.dip0.t-ipconnect.de] has quit [Nick collision from services.]
04:41 Wombert_ [n=Wombert@p508702a3.dip0.t-ipconnect.de] has joined #agavi
04:41 kaos|work_ [n=dominik@p508702A3.dip0.t-ipconnect.de] has joined #agavi
04:59 kaos|work [n=dominik@p50872B65.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)]
05:04 Wombert_ [n=Wombert@p508702a3.dip0.t-ipconnect.de] has quit []
05:11 methodz [n=methodz@66.29.160.170.static.utahbroadband.com] has quit []
05:17 kaos|work_ [n=dominik@p508702A3.dip0.t-ipconnect.de] has quit []
05:23 kaos|work [n=dominik@p508702a3.dip0.t-ipconnect.de] has joined #agavi
05:23 kaos|work [n=dominik@p508702a3.dip0.t-ipconnect.de] has quit [Remote closed the connection]
08:17 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:00 Arme[N] huomenta!
09:38 ShawnLocke [n=locke@70.88.51.126] has joined #agavi
10:08 digitarald [n=Miranda@62-43-128-163.user.ono.com] has joined #agavi
10:18 epaulin_ [n=epaulin@221.221.39.85] has joined #agavi
10:22 methodz [n=methodz@66.29.160.170.static.utahbroadband.com] has joined #agavi
10:25 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
10:28 methodz [n=methodz@66.29.160.170.static.utahbroadband.com] has quit []
10:37 epaulin [n=epaulin@221.222.229.92] has quit [Read error: 110 (Connection timed out)]
10:39 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:46 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi []
10:53 codecop [n=codecop@88.118.219.55] has joined #agavi
11:06 epaulin_ is now known as epaulin
11:39 v-dogg huomenta
11:45 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
11:45 _cheerios huomentaa!
12:24 splatch [n=splatch@s3.przytulski.net] has joined #agavi
12:24 splatch hello :)
12:35 Wombert [n=Wombert@p508702a3.dip0.t-ipconnect.de] has joined #agavi
12:42 splatch_ [n=splatch@s3.przytulski.net] has joined #agavi
13:34 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
13:35 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Client Quit]
14:11 _cheerios "The authors specifically say that the price of software is declining toward zero. It will be content, sense-making, and what IBM calls "services science" that will add value and be marketable."
14:47 kaos|work [n=dominik@p508702a3.dip0.t-ipconnect.de] has joined #agavi
15:00 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"]
15:00 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
15:00 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
15:06 E_mA hehe there an Agave plant on TV ;)
15:13 kaos|work hihi
15:20 E_mA morning
15:20 E_mA afternoon*
15:26 kaos|work morning is ok xD
15:26 kaos|work just got up
15:27 kaos|work you solved your validator issues ?
15:31 E_mA no, i was little too drunk last night to try too hard... I'm currently writinga qcSqlStatment() class
15:31 E_mA im kind of re-inventing the wheel for my database connection
15:33 E_mA kaos|work: the validator configuration file looks alittle strange... I'm not sure how things relate together...
15:34 kaos|work well, its hard packing the features of the validation into a proper configuration format
15:35 E_mA <validator class="string" name="val_username">
15:35 E_mA <parameters>
15:35 E_mA <parameter name="param">username</parameter>
15:35 E_mA <parameter name="min">5</parameter>
15:35 E_mA <parameter name="min_error">string is too short</parameter>
15:35 E_mA </parameters>
15:35 E_mA </validator>
15:35 E_mA that makes sense...
15:36 E_mA but this confuses me: http://www.pastebin.ca/531251
15:36 kaos|work heh, it may make sense, but its wrong ;)
15:37 E_mA :o
15:37 E_mA :'(
15:37 kaos|work this is some rather old version of the format
15:37 E_mA i got it from the trac
15:38 kaos|work yeah, where the page states: this information is most likely outdated ;)
15:38 kaos|work there is one small example in the sample app
15:38 E_mA peaks
15:38 kaos|work it works a little different now
15:39 kaos|work you define the arguments (what was the "param" parameter) in an extra tag
15:39 kaos|work the errors have their own tag as well
15:39 kaos|work and parameters are now really just parameters controlling the validator
15:40 kaos|work and what exactly puzzles you in the example you posted ?
15:40 E_mA translation_domain="default.errors.Login" --- im guessing thats only required with the translation manager
15:40 kaos|work this is to translate the error messages
15:40 kaos|work automatically
15:41 E_mA well, it saying you are allowed to have a username of admin, but password is ment to be at least 8 letters
15:41 E_mA i just little lost by the logic of adding them together
15:41 kaos|work its basicly just a list of different valdiators
15:41 kaos|work which all have to succeed
15:42 kaos|work (and they are executed in the order defined)
15:43 E_mA ok... ponderings for a moment
15:43 E_mA i'm guessing that vaildators is kind of the TRUE or FALSE returning factor
15:44 E_mA and if validator class="OR" then the validators return TRUE or FALSE depending on the OR condiion of the internal validators?
15:46 codecop [n=codecop@88.118.219.55] has quit ["Leaving"]
15:52 _cheerios guter Wein, kaltes Bier, warmer Suppe, süsser Kuchen
15:53 kaos|work E_mA: yes, they can either fail or succeed
15:53 kaos|work and you found the special type of validator, hehe, the "grouping" ones
15:54 kaos|work the or validator takes multiple (but at least 2 of course) validators as child
15:54 kaos|work and works exactly like the boolean or
15:54 kaos|work so when the first validator succeeds it signals success to its parent
15:55 kaos|work you can ofc nest or validators themselves
15:55 kaos|work _cheerios: almost ;)
15:55 kaos|work warme Suppe
15:55 kaos|work (:
15:56 _cheerios warme,warme,warmer,warmer
15:58 kaos|work warmer Regen would be ok
15:58 kaos|work but warmer Suppe not :P
15:58 _cheerios you don't know your German!:D
15:58 kaos|work its "die Suppe" (female)
15:58 kaos|work and "der Regen" (male)
15:59 kaos|work ;)
15:59 _cheerios Suppe=soup
15:59 kaos|work so, you'r practicing for your conference visit already ? ;)
16:00 _cheerios well, i studied german ages ago, and got this "hmmm.... i wonder how little i can remember, and if i could improve upon that little" -stupid idea, so I loaned the grammar basics 101 and will find out this summer
16:00 kaos|work eeek, you studied german ?
16:00 kaos|work crazy guy!
16:01 _cheerios i was bored
16:01 _cheerios needed to fill up missing credits, ended up studying german
16:03 kaos|work you couldn't have selected something easier, do you ? :D
16:03 _cheerios i always go the hardest path
16:04 kaos|work yeah
16:04 kaos|work i know :)
16:04 _cheerios :)
16:19 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
16:23 epaulin [n=epaulin@221.221.39.85] has quit ["You want something? You go get it"]
16:53 E_mA shrne apfel :D
16:53 E_mA kremic kerse
16:59 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
16:59 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
17:00 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 104 (Connection reset by peer)]
17:00 sean`` [n=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
17:18 lukoko [n=kosher@78.57.212.36] has joined #agavi
17:30 kaos|work [n=dominik@p508702a3.dip0.t-ipconnect.de] has quit []
17:30 Wombert [n=Wombert@p508702a3.dip0.t-ipconnect.de] has quit []
18:41 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
18:44 sean`` [n=sean@84-104-194-218.cable.quicknet.nl] has quit [Client Quit]
18:44 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
19:10 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:42 splatch_ how to subscribe an agavi mailing list? :)
19:44 ShawnLoc1e [n=locke@70.88.51.126] has joined #agavi
19:47 ShawnLoc1e [n=locke@70.88.51.126] has quit [Client Quit]
19:53 _cheerios there were links on the mainpage for it, i think. same as all other mailing lists.
19:58 ShawnLocke [n=locke@70.88.51.126] has quit [Read error: 110 (Connection timed out)]
20:44 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi
21:41 sean`` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
21:41 sean`` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Client Quit]
21:43 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)]
21:52 Whisller [n=example@217.97.146.67] has joined #agavi
21:53 Whisller Hello
22:08 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
22:09 _cheerios workworkworkwrokworkwowkrokworwr.w.rwr....
22:10 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
22:12 Arme[N] .net
22:12 um Arme[N]: I have received 212313 messages for a total of 16830992 bytes. I have sent 105553 messages for a total of 1905594 bytes. I have been connected to kubrick.freenode.net for 3 days, 16 hours, 44 minutes, and 27 seconds.
22:12 Arme[N] good work
22:18 kaos|work [n=dominik@p508702a3.dip0.t-ipconnect.de] has joined #agavi
22:21 Wombert [n=Wombert@p508702A3.dip0.t-ipconnect.de] has joined #agavi
22:25 _cheerios function runs for like an hour and then freaks out due a catchable php error. karma.
22:32 Arme[N] is now known as Arme[0]
22:33 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:55 E_mA whats the relationship between propel and creole?
23:00 splatch_ hello
23:01 splatch_ E_mE: creola are API for database access
23:06 v-dogg yep, database abstraction layer used by propel 1.2
23:07 v-dogg 1.3 uses PDO
23:11 digitarald [n=Miranda@62-43-128-163.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
23:17 Whisller [n=example@217.97.146.67] has left #agavi []
23:28 impl [n=impl@httpcraft/php/impl] has joined #agavi
23:31 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi []
23:32 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
23:38 lukoko [n=kosher@78.57.212.36] has quit ["He believes in beauty, he's Venus as a boy."]
Day changed Sun Jun 03 2007
00:40 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["Leaving"]
00:45 implement [n=impl@cpe-066-057-033-148.nc.res.rr.com] has joined #agavi
00:54 implement hfmfm
00:54 impl [n=impl@httpcraft/php/impl] has quit ["leaving"]
00:54 implement is now known as impl
01:06 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit []
01:07 Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
01:15 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Connection timed out]
01:22 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi
01:42 E_mA i guessing that 1.3 is compatible with Agavi
01:42 impl Apache 1.3?
01:43 E_mA propel
01:43 impl oh
01:43 impl Yes.
01:43 impl :)
01:43 impl And Apache too, for that matter
01:44 E_mA if apache wasn't i'd be rather worried heheh
01:50 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Connection timed out]
02:04 E_mA if i run $this->setAttribute('errormsg','my error message'); and return 'error' in my Action class so that the nameErrorView.php is executed. Then inside the nameErrorView.php i have a setRedirect('/register/'); Will the Register Action/view/Template be able tp read my Atrribute from the nameAction earlier in the process??
02:12 kaos|work no
02:13 kaos|work it does an external (http) redirect
02:13 kaos|work which ofc means that the new action will be in an entirely new php process, etc
02:13 impl (of course you can store whatever you need with the User)
02:14 impl but, er, why not just show the registration input view again and have it handle the error?
02:16 E_mA well, my form calls RegRunAction.php to perform the registration compared to RegisterAction.php
02:16 E_mA or is that a very retarded thing to do...
02:17 impl That is very retarded :P
02:17 impl You should have an executeWrite in your RegisterAction that handles when people click the submit button
02:18 impl executeWrite gets called for $_POST data
02:18 E_mA jah
02:18 E_mA feels stupid!
02:18 E_mA i've oviously had too much beer, wine and whisky :/
02:20 E_mA could i create a new view for my register such as registerCompleteView.php and call return 'complete'; if registration was successful?
02:20 impl Sure
02:20 impl That's exactly what you should do :)
02:20 E_mA :D
02:21 E_mA thanx.. throws some booze and smoke at impl!
02:21 impl haha, shame it's not legal for me to have it ;p
02:21 E_mA how old are you?
02:22 impl 17
02:22 E_mA its just illegal to buy it...
02:22 E_mA iin the UK i believe thats the rules
02:23 impl I can smoke, can't drink though
02:23 impl since I live in the US
02:23 E_mA well, might as well throw you some smoke(naughty smoke) since it illegal anyway
02:23 impl haha ;)
02:23 E_mA booze in USA is a stupid age
02:23 impl Yeah :\
02:24 E_mA how did you find out about agavi and the MVC paradigm at your age.. when i was 17 i was just fecking about with pascal
02:24 impl Iunno
02:25 impl I've been following Mojavi since I was like 13
02:25 impl because I knew the developer
02:26 E_mA ah... that make sense
02:26 E_mA :) well your certainly wiser then me :)
02:26 impl I'm not wise :P
02:26 E_mA well, you followed and use a very good framework, when i was 17 i didnt even know what a framework really was
02:27 E_mA just played with Pascal and occurionally encountered delphi
02:28 E_mA sorry im rabbiting :) .. damn beer :)
02:29 impl haha
02:31 Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Client Quit]
02:32 E_mA impl: where have you used/implemented agavi?
02:33 impl I don't have any public projects that use it right now
02:34 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)]
02:35 E_mA im creating www.quickchef.co.uk with it
02:47 kaos|work [n=dominik@p508702a3.dip0.t-ipconnect.de] has quit []
03:22 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
03:22 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 104 (Connection reset by peer)]
03:38 Wombert [n=Wombert@p508702A3.dip0.t-ipconnect.de] has quit []
05:10 CIA-11 [n=CIA@208.69.182.149] has quit []
05:15 CIA-11 [n=CIA@208.69.182.149] has joined #agavi
06:00 MugeSo [n=chatzill@FLH9Aab091.kng.mesh.ad.jp] has joined #agavi
06:15 MugeSo_ [n=chatzill@FLH9Aab091.kng.mesh.ad.jp] has joined #agavi
06:33 MugeSo [n=chatzill@FLH9Aab091.kng.mesh.ad.jp] has quit [Read error: 110 (Connection timed out)]
06:42 MugeSo_ [n=chatzill@FLH9Aab091.kng.mesh.ad.jp] has quit ["ChatZilla 0.9.78.1 [Firefox 2.0.0.4/2007051502]"]
08:38 MikeSeth huomenta
08:51 epaulin [n=epaulin@221.221.39.85] has joined #agavi
09:24 digitarald [n=Miranda@62-43-128-163.user.ono.com] has joined #agavi
10:36 v-dogg huomenta
10:45 digitarald hola :)
10:51 MikeSeth treason!
11:41 Whisller [n=example@217.97.146.67] has joined #agavi
11:41 Whisller [n=example@217.97.146.67] has left #agavi []
11:49 digitarald [n=Miranda@62-43-128-163.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
12:22 codecop [n=codecop@85.206.199.204] has joined #agavi
12:26 Wombert [n=Wombert@p508712CF.dip0.t-ipconnect.de] has joined #agavi
13:07 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
13:14 Wombert [n=Wombert@p508712CF.dip0.t-ipconnect.de] has quit []
13:53 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit []
13:56 codecop [n=codecop@85.206.199.204] has quit [Remote closed the connection]
13:57 codecop [n=codecop@85.206.199.204] has joined #agavi
13:58 codecop [n=codecop@85.206.199.204] has quit [Remote closed the connection]
13:58 codecop [n=codecop@85.206.199.204] has joined #agavi
14:00 codecop [n=codecop@85.206.199.204] has quit [Remote closed the connection]
14:01 codecop [n=codecop@85.206.199.204] has joined #agavi
14:04 codecop [n=codecop@85.206.199.204] has quit [Remote closed the connection]
14:04 codecop [n=codecop@85.206.199.204] has joined #agavi
14:10 MikeSeth awfux
14:10 MikeSeth Warning: DOMDocument::saveHTML() [function.DOMDocument-saveHTML]: output conversion failed due to conv error, bytes 0xAB 0x41 0x44 0x57 in /usr/local/src/agavi/src/filter/AgaviFormPopulationFilter.class.php on line 507
14:10 MikeSeth GOD DAMNIT
14:25 digitarald [n=Miranda@62-43-128-163.user.ono.com] has joined #agavi
15:01 splatch_ hello
15:02 digitarald [n=Miranda@62-43-128-163.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
15:45 Prometheus^ [n=Promethe@laf7.kyla.fi] has joined #agavi
15:45 MikeSeth ~huomenta
15:54 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
15:54 _cheerios waves
15:56 _cheerios managed to break my trac by upgrading packages :yawn:
16:04 MikeSeth IM IN UR PAKAGS
16:04 MikeSeth heh
16:06 MikeSeth what the f
16:07 _cheerios PythonHandler trac.web.modpython_frontend: ImportError: No module named trac
16:08 _cheerios googling says my PYTHONPATH is wrong for some reason, but, but...
16:09 _cheerios running trac-admin gives ImportError: No module named trac.scripts.admin
16:09 _cheerios joy
16:13 _cheerios i've set it and no go. anyone here use trac? :D
16:16 MikeSeth not me
16:16 MikeSeth i avoid it like plague
16:18 _cheerios ah. got it. python upgraded from 2.3 to 2.4
16:18 _cheerios paths point to 2.4, but trac is in 2.3 folder.
16:19 MikeSeth hahaha
16:21 _cheerios yay :p
16:21 _cheerios im hoping a simple symlink will solve this...
16:25 _cheerios seems not
16:46 _cheerios got it fixed. Google \o/
16:47 _cheerios Wasted Time /o\
16:47 _cheerios [Sun Jun 03 15:36:38 2007] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
16:47 _cheerios [Sun Jun 03 15:36:38 2007] [warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored.
16:47 _cheerios keep getting these with apache now. thing is, i can't find any [NC] or -f/-d in use in my virtualhosts.
16:53 codecop [n=codecop@85.206.199.204] has quit ["Leaving"]
17:04 _cheerios well, almost. Trac is up, but doesn't track changes anymore *g*
17:06 _cheerios resync. back in biz (for now).
17:44 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
17:50 lukoko [n=kosher@78.57.212.36] has joined #agavi
18:00 splatch_ hello :)
18:04 digitarald [n=Miranda@62-43-128-163.user.ono.com] has joined #agavi
18:11 MikeSeth god damnit
18:11 MikeSeth now I have to merge 3 branches
18:11 MikeSeth kills $luser
18:20 GMFlash heya MikeSeth whats up
18:20 MikeSeth oh hey GMFlash
18:20 MikeSeth about to run away home!
18:20 MikeSeth you?
18:20 GMFlash just waking up :)
18:21 MikeSeth bastard!
18:21 MikeSeth bus is waiting
18:21 MikeSeth ttyl
18:21 GMFlash k, ttyiab
18:41 epaulin [n=epaulin@221.221.39.85] has quit ["You want something? You go get it"]
19:32 splatch_ Agavi - First PHP Framework with IDE
19:33 _cheerios hmmk?
19:33 splatch_ Agavi can be this framework :)
19:39 codecop [n=codecop@88.118.219.151] has joined #agavi
19:45 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Connection timed out]
19:51 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
20:04 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:10 Wombert [n=Wombert@p508712CF.dip0.t-ipconnect.de] has joined #agavi
20:13 Prometheus^ [n=Promethe@laf7.kyla.fi] has quit []
20:22 Prometheus^ [n=Promethe@laf7.kyla.fi] has joined #agavi
20:22 Prometheus^ [n=Promethe@laf7.kyla.fi] has quit [Remote closed the connection]
20:44 lukoko [n=kosher@78.57.212.36] has left #agavi ["Leaving"]
20:51 codecop [n=codecop@88.118.219.151] has quit [Remote closed the connection]
21:17 CIA-11 david * r1971 /branches/0.11/ (2 files in 2 dirs): adapted olson task to latest changes
21:21 CIA-11 david * r1972 /branches/0.11/ (431 files in 2 dirs): updated zoneinfo database to 2007f, closes #524
21:22 CIA-11 david * r1973 /branches/0.11/tests2/config/ConfigHandlerTest.php: ze commit I forgot
21:25 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
21:36 impl [n=impl@cpe-066-057-033-148.nc.res.rr.com] has joined #agavi
21:36 CIA-11 david * r1974 /branches/0.11/src/config/xsd/config_handlers.xsd: removed 'parser' attribute for good
21:38 Wombert anyone here with apache 2.2
21:39 Netsplit kubrick.freenode.net <-> irc.freenode.net quits: E_mE, stachu, E_mA
21:40 impl Wombert: I'll be setting it up shortly x;
21:40 Wombert good :>
21:40 Wombert let me know when you're done
21:40 Wombert how shortly is shortly?
21:41 Netsplit over, joins: stachu, E_mA, E_mE
21:44 impl Wombert: uh maybe 10-15 minutes
21:44 Wombert oh
21:44 Wombert cool
21:44 impl I'm just getting things set up here
21:47 Netsplit kubrick.freenode.net <-> irc.freenode.net quits: E_mE, stachu, E_mA
21:47 Netsplit over, joins: E_mA
21:47 Netsplit over, joins: stachu
21:48 Netsplit kubrick.freenode.net <-> irc.freenode.net quits: stachu
22:07 Wombert [n=Wombert@p508712CF.dip0.t-ipconnect.de] has quit [Nick collision from services.]
22:07 Wombert_ [n=Wombert@p50870297.dip0.t-ipconnect.de] has joined #agavi
22:47 Wombert_ [n=Wombert@p50870297.dip0.t-ipconnect.de] has quit []
22:55 digitarald [n=Miranda@62-43-128-163.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
23:06 _cheerios "Mellakointi Makasiineilla (tai Berliinissä tai Göteborgissa) ei johdu siitä, että nuoriso voisi huonommin kuin ennen, tai siitä, että yhteiskunta olisi epäoikeudenmukaisempi kuin ennen, vaan yksinkertaisesti siitä, että ensimmäistä kertaa historiassa suvullisen lisääntymisen lieveilmiönä syntyviä, määrällisesti marginaalisia painovirheitä (eli panovirheitä) on ryhdytty pitämään kansalaisaktivisteina ja heidän kuuntelemi
23:06 _cheerios sestaan on tehty hyve. "
23:08 _cheerios that was a long 2hours of brainfucking.
23:16 _cheerios (looking into data structures for a change)
23:25 Wombert [n=Wombert@xdsl-81-173-224-10.netcologne.de] has joined #agavi
23:32 Wombert [n=Wombert@xdsl-81-173-224-10.netcologne.de] has quit [Nick collision from services.]
23:32 Wombert_ [n=Wombert@xdsl-81-173-224-10.netcologne.de] has joined #agavi
23:32 impl Wombert_: Sorry 'bout that, had to put these flooring things down
23:32 impl I have Apache 2.2 running now
23:33 Wombert_ cool
23:33 Wombert_ I have crappy wifi here at a friends place
23:33 Wombert_ will be back in 30 mins or so
23:33 impl alrighty
23:34 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
23:41 Wombert [n=Wombert@xdsl-81-173-224-10.netcologne.de] has joined #agavi
23:41 Wombert_ [n=Wombert@xdsl-81-173-224-10.netcologne.de] has quit [Read error: 104 (Connection reset by peer)]
23:43 Wombert [n=Wombert@xdsl-81-173-224-10.netcologne.de] has quit [Read error: 104 (Connection reset by peer)]
23:43 Wombert [n=Wombert@xdsl-81-173-224-10.netcologne.de] has joined #agavi
23:49 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
23:50 impl um: seen methodz
23:50 um impl: methodz was last seen in # 2 days, 18 hours, 11 minutes, and 3 seconds ago saying: <methodz> so have there been any changes to 0.11 which would make 0.10's XSLView not work?
Day changed Mon Jun 04 2007
00:03 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["nn"]
00:08 Wombert [n=Wombert@xdsl-81-173-224-10.netcologne.de] has quit [Read error: 110 (Connection timed out)]
00:35 Wombert [n=Wombert@p50870297.dip0.t-ipconnect.de] has joined #agavi
00:35 CIA-11 david * r1975 /branches/0.11/CHANGELOG: CHANGELOG update
00:36 Wombert re
00:36 Wombert you still around impl?
00:36 impl Yup
00:36 impl hi
00:36 impl Rolling RC5?
00:36 Wombert hope so
00:37 Wombert we gotta look at http://trac.agavi.org/ticket/502 tho
00:39 CIA-11 david * r1976 /branches/0.11/CHANGELOG: another one
00:39 Wombert need your help now, impl :)
00:39 impl ah
00:39 impl Lemme get the sample app running
00:40 Wombert no need for that
00:40 impl oh, I s'pose I could just do a quick mod_rewrite hack huh?
00:40 Wombert nope
00:40 Wombert :)
00:41 impl mmm okay
00:41 impl You tell me what to do :P
00:41 Wombert <?php echo "<pre>'_ENV' => ", str_replace(' ', ' ', var_export($_ENV, true)), ",\n'_GET' => ", str_replace(' ', ' ', var_export($_GET, true)), ",\n'_SERVER' => ", str_replace(' ', ' ', var_export($_SERVER, true)) . "\n </pre>";
00:41 Wombert make an index.php with that
00:41 Wombert do the tabs etc arrive properly?
00:41 impl nah, but it doesn't matter
00:41 impl I'll fix them
00:41 impl I assume you want the big spaces to be tabs, yes?
00:42 Wombert I believe so
00:42 Wombert yes
00:42 Wombert can you make that index.php publicly available?
00:42 impl If you have IPv6... :x
00:42 Wombert heh okay
00:42 impl actually yes, yes I can
00:42 Wombert no big deal tho
00:44 impl http://impl.user.compass.cynigram.com/tests/apache2.2-rewrite/index.php
00:45 Wombert cool
00:45 Wombert ty
00:45 Wombert I'll ask you to enable rewrites in a bit
00:45 impl alright
00:46 Wombert is that php as a module?
00:46 impl Yes
00:46 impl You can get to it without the /index.php now if that's any matter
00:55 Wombert yup it is
00:55 Wombert thanks
01:09 impl Wombert: I've gotta run, but I'll be bacak around 7:15-7:30
01:09 impl local time
01:09 impl which is an hour from now or so
01:09 Wombert mmmmh
01:09 Wombert okax
01:09 Wombert wait
01:09 Wombert can you install the rewrite now?
01:09 impl uuh okay
01:09 Wombert I'm done so far
01:09 Wombert RewriteRule ^$ index.php?/ [QSA,L]
01:09 Wombert RewriteCond %{REQUEST_FILENAME} !-f
01:09 Wombert RewriteCond %{REQUEST_FILENAME} !-d
01:09 Wombert RewriteRule (.*) index.php?/$1 [QSA,L]
01:10 Wombert before that
01:10 Wombert RewriteEngine On
01:10 Wombert and
01:10 Wombert RewriteBase /WEBSERVER/PATH/TO/pub/
01:10 Wombert i.e.
01:10 Wombert RewriteBase /tests/apache2.2-rewrite/
01:11 impl okay
01:11 impl done
01:12 Wombert thanks
01:12 impl back later
01:12 Wombert I'llprolly be inbed by then
01:12 Wombert laters
01:12 impl bai
01:12 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
01:15 lockes [n=locke@70.88.51.126] has joined #agavi
01:59 CIA-11 david * r1977 /branches/0.11/tests2/routing/cases/Apache22ModuleSubdir.case.php: added test case for #502
02:07 Wombert [n=Wombert@p50870297.dip0.t-ipconnect.de] has quit []
05:06 Netsplit kubrick.freenode.net <-> irc.freenode.net quits: stachu
05:06 Netsplit over, joins: stachu
05:22 lockes [n=locke@70.88.51.126] has quit ["leaving"]
05:27 impl [n=impl@adsl-221-7-222.rmo.bellsouth.net] has joined #agavi
05:28 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)]
05:43 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
05:43 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
08:47 codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi
09:31 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:32 _cheerios huomenta huomenta!
09:56 E_mA [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
10:13 Wombert [n=Wombert@217.7.205.2] has joined #agavi
10:14 Wombert oi
10:14 Wombert ^H^H
10:14 Wombert houmenta
10:14 Wombert :)
10:18 MikeSeth huomenta!
10:18 SunboX [n=Miranda@80.243.35.154] has joined #agavi
10:19 _cheerios http://krugle.com/ << code search
10:29 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:29 RossC0 /join#lrug
10:29 RossC0 opps
10:29 RossC0 morning all!
10:30 _cheerios morning :)
10:37 v-dogg huoemnta
10:38 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
10:40 Wombert morning
10:42 RossC0 whats the news?
10:48 _cheerios monday morning, not much.
10:52 Wombert will try to fix the apache 2.2 issue in a bit
11:00 RossC0 I already hacked round it in my index.php
11:01 E_mE [n=rabbits@host217-37-52-241.in-addr.btopenworld.com] has joined #agavi
11:01 RossC0 btw whats peoples thoughts on: eAccelerator and APC
11:02 RossC0 people here seem to think more highly on eAccelerator
11:02 E_mE huomenta!
11:04 Wombert I always thought eAccelerator sucks
11:05 E_mE APC UPS's aint bad...
11:05 v-dogg I had some problems with it sometime ago and moved to APC
11:05 E_mE ={
11:05 E_mE =P
11:05 v-dogg heh, yeah, I use them too :)
11:08 E_mE does eAccelerator create a cache like Agavi does or is it somewhat different
11:08 v-dogg it creates a byte code cache
11:09 v-dogg whereas agavi of course caches only php code
11:09 E_mE so i creates a binary cache
11:09 E_mE so there is no need to recompile each request
11:09 v-dogg yup
11:09 E_mE :)
11:12 Wombert SO IS EACCELERATOR BETTER THAN AGAVI THEN???????????
11:12 Wombert xD
11:14 RossC0 good I was under the impression eAcceleretor sucks
11:14 RossC0 mind you with my team it doesn't surprise me they picked it ;O
11:14 v-dogg haha
11:24 digitarald [n=Miranda@62-43-128-163.user.ono.com] has joined #agavi
11:35 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
11:35 Wombert Xylakant
11:35 Wombert hi
11:35 Xylakant moin
11:35 Wombert do you have your own config parsers?
11:36 Xylakant no need so far
11:36 Wombert asking because I saw http://trac.agavi.org/ticket/489
11:36 Wombert and we just did http://trac.agavi.org/ticket/519 ...
11:36 Xylakant uh.
11:36 Xylakant 519 would mean that i can't have a config parser
11:37 Wombert is this a problem?
11:37 Xylakant that reads a config from a database?
11:37 Wombert tell me about your use case
11:37 Wombert hmmm
11:37 Wombert no, that would still work
11:37 Xylakant right, then no problem
11:37 Wombert it's essentially about only allowing XML as input
11:37 Wombert I don't think that we can do database sourced configs right now but 1.0 will have the ability
11:38 Wombert right now, I believe we have AgaviXmlConfigParser hardcoded
11:38 Wombert but this is definitely on the list for 1.0
11:38 Xylakant it's possible at the moment. you'd just have write your own config parser
11:38 Wombert hmmm
11:38 Xylakant but as long as you can plug that in
11:38 Wombert okay then I have to think about this again
11:38 Wombert thing is
11:38 Xylakant the only problem is that reading a config requires reading a file
11:39 Wombert no!
11:39 Xylakant but you can use a 'fake' file
11:39 Wombert :)
11:39 Wombert we can make it streams based or so
11:39 Wombert right now it's not possible at all. it must be a file, and XML
11:39 Wombert that's good I think
11:39 Xylakant i'm talking about the current state
11:39 Wombert because it means we can do ANYTHING for 1.0
11:39 Wombert is this okay for you?
11:39 Xylakant fine for me
11:39 Wombert that we keep it hardcoded in 0.11 ?
11:39 Wombert and make it fully flexible for 1.0
11:39 Wombert I will test for you in a bit if streams work
11:40 Xylakant i currently have one config in the database but i use a stream wrapper to convert it to xml and xinclude it into a regular config
11:40 Wombert then you could write a stream wrapper to access the database
11:40 Wombert ah
11:42 Xylakant i just found that 489 when i was trying to figure out why one of my configs was not parsed.
11:48 codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"]
11:50 E_mE Wombert: sorry to hassle you with the same question as the other day... but instead of executing " return 'Success'; " .. how do you execute a custom output_layer ... i think it was something like $this->getContext()->getReponse()->setContent('json'); .. sorry to ask but i deleted the code by mistake!!
11:55 Xylakant E_mE
11:56 Xylakant a) you can always use the chatlogs
11:56 Xylakant b)
11:56 Xylakant you need to define an output type
11:56 Xylakant that handles json request
11:56 RossC0 votes for b
11:56 Xylakant and in the view, in the proper execute function for the output type
11:56 Xylakant you need
11:56 Xylakant $this->getContainer()->getResponse()->setContent(json_encode($return));
11:57 Xylakant where $return is the data you want to transmit
11:57 Xylakant thanks for your votes, polls are closed :)
11:57 RossC0 that way your action doesn't need to care about what its handling - its all up to your view! and you can add an executeJson method
11:57 E_mE ah yes.. i forgot the json_encode() :: feels embarressed... :: what is the URL for chatlogs.. last time i tried it, it didnt load
11:58 RossC0 dam - I missed the polls ;)
11:58 Xylakant E_mE that was the short rundown, is that enough or do you need any further details
11:58 E_mE :) thanx RessC0
11:58 E_mE no i think thats cleared it up for me :) thanx Xylakant :D
11:58 Xylakant E_mE the chatlogs are at http://users.tkk.fi/~tjorri/agavi/logs/
11:58 Xylakant it's in the topic, at the end
11:59 Xylakant the url mentioned in the channel message points to the wrong place
12:01 digitarald [n=Miranda@62-43-128-163.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
12:05 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
12:18 E_mE does anyone know if there is a open source PDF Destiller?
12:19 Wombert ghostscript?
12:19 Wombert pain to set up tho
12:19 Wombert or you buy a mac :D
12:19 Xylakant that's not open source :)
12:19 Wombert and then you can print everything straight to PDF out of the boy xD
12:19 Xylakant but it works just fine.
12:23 E_mE well we got a Mac at work
12:23 E_mE but one of my PC users want to be able to print of spreadsheets into PDF
12:23 E_mE becasue there proforma invoices for customers :/
12:24 E_mE think i found one though :D... ah the wonders of open source :D
12:28 RossC0 E_mE: OpenOffice can export to pdf
12:35 E_mE RossCo does that work with Excel though?
12:38 RossC0 OpenOffice can read xls
12:39 digitarald [n=Miranda@248.Red-83-55-68.dynamicIP.rima-tde.net] has joined #agavi
12:46 Whisller [n=example@217.97.146.67] has joined #agavi
12:50 Wombert RossC0: need your help
12:50 RossC0 shoot
12:51 Wombert cool
12:51 RossC0 benchmarking at the mo - so waiting a little
12:51 Wombert query
12:51 Wombert nais
12:51 Whisller Hi
12:51 RossC0 in return I need some caching help - or pointed to a log with info in ;)
12:51 Wombert deal
12:53 RossC0 hi Whisller
13:38 CIA-11 david * r1978 /branches/0.11/tests2/routing/cases/Apache22ModuleSubdir.case.php: fixed some of the tests for Apache 2.2's duplicate slash bug
13:38 Wombert thx ross
13:38 Wombert hugs RossC0
13:38 Wombert lemme know when you need caching help
13:40 RossC0 now?
13:40 RossC0 :D
13:43 Wombert shoot
13:44 RossC0 ok I have no clue about what caching capabilities Agavi has - so any usage examples and high level overview should be enough :p
13:45 RossC0 doesn't want much :D
13:45 Wombert I believe I write a mail once that explains the general capabilities
13:45 Wombert let me check
13:47 Wombert http://groups.google.com/group/agavi-users/browse_frm/thread/b40538716e2bbc3c
13:47 Wombert here
13:47 Wombert I suggest you read that first
13:47 Wombert feel free to ask any questions that remain!
13:48 RossC0 thanks :D
13:48 RossC0 will get back to you :D
13:48 Wombert roger
13:49 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [Read error: 104 (Connection reset by peer)]
13:49 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
13:53 _cheerios what is that apache 2.2 fix supposed to fix
13:55 _cheerios if i try http://site.com/sub//1 it breaks all my urls (well, they're there but none work -- loads same page infinitum). Do I need to use basehref?
13:57 _cheerios same with requesting //action it makes routing urls look like http://action/
13:57 Wombert apache reduces multiple slashes to one in PATH_INFO (doesn't affect us) and, with rewrites, in the QUERY_STRING
13:57 Wombert I have to do some nasty tricks to determine the input properly
13:58 Wombert all I have is REQUEST_URI, and I have to do some conversions and comparisons to find out the correct values
13:58 Wombert but I believe it can be done
13:58 Wombert I have other things on the agenda too for today I'm afraid so this might take some time
13:59 _cheerios the problem ain't burning my ass atm., i'm not that affected.
13:59 Wombert I believe relatively few people are
13:59 Wombert but it's not entirely trivial
14:00 Wombert e.g. /foo//bar?foo//bar results in "/foo/bar&foo//bar" in the query string
14:00 Wombert which means the original query string in QUERY_STRING remains unaffected
14:00 Wombert etc etc
14:02 _cheerios hmm
14:02 RossC0 I hack it ok - but I dont have a baseref
14:02 RossC0 I mean : RewriteBase
14:03 RossC0 hmm Wombert still having problems with AgaviILegacyConfigHandler
14:03 RossC0 I'll debug
14:05 _cheerios do you have those same problems above, that i do?
14:05 RossC0 hmm Wombert - loadConfigHandlers is killing my app - as it has requires in it
14:05 RossC0 when I'm redirecting via auto login it blows up
14:07 RossC0 hmm wierd
14:07 RossC0 ignore that - can't reproduce
14:25 codecop [n=codecop@88.118.173.250] has joined #agavi
14:49 Wombert can I bug you one last time RossC0
14:50 RossC0 sure
14:51 Whisller Is a good idea do "return $this->getDefaultViewName()" :>
14:51 Whisller In executeWrite etc
14:51 Whisller *without etc
14:55 Wombert star
14:56 Wombert thanks RossC0
14:56 Wombert I would return a string
14:56 Wombert what if your default view name changes
14:56 Wombert then your app breaks
14:56 Wombert default view name should really only be used if the action doesn't serve the request method
14:57 Whisller But in getDefaultViewName I have return 'template-name';
14:58 Whisller It isn't correct?
14:58 Whisller *Isn't it correct?
14:58 Wombert you return a view name
14:58 Whisller tfu yes
14:58 Wombert or actually just the variant part
14:58 Whisller sorry not template view :)
14:59 Wombert from ViewProductAction you return "Success", then "ViewProductSuccessView" is run
14:59 Whisller yes
15:17 digitarald [n=Miranda@248.Red-83-55-68.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)]
15:17 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Nick collision from services.]
15:18 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
15:22 digitarald [n=Miranda@248.Red-83-55-68.dynamicIP.rima-tde.net] has joined #agavi
15:46 epaulin [n=epaulin@221.221.36.233] has joined #agavi
16:02 impl mhh
16:02 impl My gateway/router/server just died
16:03 Wombert FAILURES!
16:03 Wombert Tests: 106, Failures: 8.
16:03 Wombert oh ffs :<
16:08 RossC0 whats that?
16:09 impl Unit tests
16:10 Xylakant well, at least you know something is broken.
16:11 RossC0 shakes his head
16:11 RossC0 what got broken?
16:11 v-dogg unit test, obviously :)
16:11 v-dogg tests
16:12 RossC0 rolls his eyes and slaps people!
16:12 Xylakant best way to fix it: tweak the test, so that they better hide the bugs
16:12 Xylakant 'hey, we tested it, it can't be broken'
16:13 impl How corporate of you. :P
16:14 RossC0 Xylakant you are so *right* - its the test thats broken - not the code!
16:16 _cheerios haha Xyla
16:17 Wombert well I'll commit this for now
16:17 Wombert I'm not 100% sure if that error doesn't occur in other situations as well
16:19 impl Are you still working on the // -> / stuff?
16:19 CIA-11 david * r1979 /branches/0.11/ (2 files in 2 dirs): fixes all but one problems with multiple slashes and apache 2.2, refs #502 (outstanding issue affects slashes in existing directories, not in path info)
16:19 impl guess so :P
16:20 impl Oh wow, that's a hack and a half
16:21 Wombert yeah
16:21 Wombert one test still failing
16:21 Wombert but I need to test how other servers etc behave in that case
16:21 Wombert there are no test cases for that situation
16:21 Wombert means I need to get lighty installed again
16:21 Wombert and test on IIS etc
16:21 Wombert which means it's all a huge pain in the arse
16:22 impl Supporting IIS for any app is a huge pain in the ass
16:22 Wombert I should really write a maketests.php that calls all URLs and produces the whole test data array
16:22 Wombert it's surprisingly smooth with agavi, and supporting it is a big plus
16:22 impl Were you still using my server? ;x
16:23 impl Oh, no
16:23 impl I see it was at zomglolkthxbai.com :P
16:24 Wombert made it anonymous :p
16:24 Wombert is that domain free?
16:24 Wombert it is, ace
16:24 Wombert gotta grab it
16:24 impl No match for "ZOMGLOLKTHXBAI.COM".
16:24 impl You should register it!
16:24 impl lawl
16:24 Wombert but kthxbai is gone!
16:24 Wombert mwhaha
16:25 Wombert and so is lolnoob
16:25 Wombert omg
16:25 Wombert wtf is wrong with ze propel lists
16:25 Wombert damn it
16:30 codecop [n=codecop@88.118.173.250] has quit ["Leaving"]
16:50 impl Propel needs a better server or something
16:50 impl always down D:
16:50 impl Even though the MLs aren't on it, are they? ;x
17:17 epaulin [n=epaulin@221.221.36.233] has quit ["You want something? You go get it"]
17:18 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["Leaving"]
17:40 Whisller [n=example@217.97.146.67] has left #agavi []
17:56 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
17:59 RossC0 ok anybody got a sample cache file I can look at?
18:00 Xylakant i do
18:01 RossC0 woot
18:03 Xylakant if i could just find it...
18:03 Xylakant hang on, it's only a matter of hours
18:04 RossC0 lol
18:05 RossC0 btw where do I turn caching on in settings.xml?
18:05 RossC0 use_caching?
18:09 Xylakant darn. it's way too long since i used that.
18:10 Xylakant ha. the sample app has one
18:10 RossC0 ah ok
18:12 Xylakant you just need to place a config file in the modules 'cache' directory for each action that you'd want to cache
18:12 Xylakant no need to change the settings.xml
18:12 Xylakant just like validation
18:13 RossC0 hmm ok - cool
18:13 RossC0 thanks
18:15 RossC0 hmm I'm not seeing a content dir in my cache ?
18:15 RossC0 nudges Wombert
18:16 Whisller [n=example@217.97.146.67] has joined #agavi
18:19 Wombert re
18:19 Wombert I'll help you in a bit
18:19 impl [n=impl@httpcraft/php/impl] has joined #agavi
18:19 RossC0 ok - I have it - but have found another problem
18:19 Xylakant RossC0: are you in dev mode?
18:19 RossC0 ping me in a bit
18:20 Wombert will asap
18:20 Wombert awfully busy right now sorry mate
18:20 RossC0 kk - or will sort tomorrow :D
18:20 RossC0 no worries
18:20 Wombert tomorrow is the same or worse, I guess ;) I'll be right there
18:22 RossC0 ah ok - I'll submit a bug
18:22 RossC0 / ticket
18:23 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
18:23 _cheerios sweet! it's like +30C and blazing sun. time to jog \o/
18:24 RossC0 _cheerios: join the hhh - they're a drinking club with a running problem ;)
18:24 _cheerios hehe
18:32 SunboX [n=Miranda@80.243.35.154] has quit [Read error: 104 (Connection reset by peer)]
19:08 _cheerios aaahhh, double distance for good weathers sake
19:13 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["This computer has gone to sleep"]
19:17 RossC0 _cheerios you running and typing?
19:17 _cheerios nah, that 40min silence was me out :D
19:18 RossC0 went and got an Ipod and an nike bluetooth pedometer thingy-majigg
19:18 Wombert my god
19:18 RossC0 now I have some woman talking to me when I run
19:18 Wombert I've been wanting to start jogging two months ago
19:18 Wombert ffs
19:19 RossC0 Wombert: I got it last year and then abruptly stopped jogging
19:19 Wombert I gained quite some kilos since I'm here
19:19 RossC0 weighs a hefty 16.5 stone
19:20 Wombert I have a slight paunch now
19:20 RossC0 104 kilos for you euro metrics
19:20 Wombert you know what I look like, RossC0 :p
19:20 Wombert but you're taller than me aren't you
19:20 RossC0 6'3"
19:20 Wombert mh me too
19:20 RossC0 well 6'4"
19:21 RossC0 thats 193cm for you metric lovers
19:21 RossC0 Wombert: get an nike thing for your Ipod and then we can have a competition
19:21 RossC0 quickest person to do 100k wins
19:22 RossC0 it'd take me about a year :D
19:23 Wombert haha :>
19:23 Wombert does a 4G ipod work?
19:25 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:26 RossC0 that would give your arms a good workout to :D
19:28 Wombert :p
19:28 _cheerios im 5'9" (?), you guys are like HUGE
19:29 Wombert OH SNAP
19:29 _cheerios typing along on your teeny laptops and fingering those ipods must look like gold
19:29 Wombert MOVING to thE NEW OFFICE
19:29 Wombert WOOT WOOT WOOT
19:29 Wombert laters ,>
19:29 _cheerios pics pics pics
19:32 Wombert [n=Wombert@217.7.205.2] has quit []
19:34 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
19:36 Whisller [n=example@217.97.146.67] has quit ["Siala baba mak nie wiedziala jak, a dziad wiedzial nie powiedzial i to bylo tak...."]
19:37 RossC0 ok laters all
19:38 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
20:06 digitarald [n=Miranda@248.Red-83-55-68.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
21:11 _cheerios suddenly i feel tired
21:20 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi
21:33 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
22:02 Wombert [n=Wombert@87.79.35.58] has joined #agavi
22:03 Wombert [n=Wombert@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
22:04 Wombert [n=Wombert@87.79.35.58] has joined #agavi
22:10 impl hmm
22:10 impl It appears I've become a Propel developer
22:14 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
22:15 impl Wombert: How's the new office?
22:23 Wombert [n=Wombert@87.79.35.58] has quit [Read error: 110 (Connection timed out)]
22:24 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit []
22:59 _cheerios Propel's future is bright then
23:00 impl :D
23:10 _cheerios "A Greek policeman has been arrested after allegedly shooting a man who had double-parked his car to buy breakfast." *g*
23:10 _cheerios the editor must've had fun typing that in
23:11 impl haha
23:11 Wombert [n=Wombert@87.79.35.58] has joined #agavi
23:15 Wombert [n=Wombert@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
23:16 Wombert [n=Wombert@87.79.35.58] has joined #agavi
23:17 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Connection timed out]
23:39 Wombert [n=Wombert@87.79.35.58] has quit [Nick collision from services.]
23:39 Wombert_ [n=Wombert@87.79.35.58] has joined #agavi
23:39 Wombert_ [n=Wombert@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
23:40 Wombert [n=Wombert@87.79.35.58] has joined #agavi
23:42 Wombert [n=Wombert@87.79.35.58] has quit [Nick collision from services.]
23:42 Wombert_ [n=Wombert@87.79.35.58] has joined #agavi
23:42 E_mE [n=rabbits@host217-37-52-241.in-addr.btopenworld.com] has quit [Read error: 110 (Connection timed out)]
23:43 impl ponders Wombert_'s connection
23:44 Wombert_ nah just had to put the wifi router into AP mode
23:44 Wombert_ wouldn't work with the network on the WAN port
23:44 impl ah
23:44 Wombert_ but now it's all fine
23:45 Wombert_ is now known as Wombert
Day changed Tue Jun 05 2007
00:07 Xylakant [n=fgilcher@i59F738A4.versanet.de] has joined #agavi
00:08 Xylakant [n=fgilcher@i59F738A4.versanet.de] has quit [Client Quit]
00:16 _cheerios hmm, there's some memory leak in unserialize(), tops at 64MB for a short string
00:16 Wombert mmmh ze new office is so relaxing :)
00:17 _cheerios pics or does not so!
00:21 _cheerios hmm, same code didn't error out via cli. *sigh*
00:22 impl _cheerios: Can you post an example?
00:23 _cheerios just reading a 42KB (ok, not so short) string, and unserialize threw a fatal error due taking over 64MB memory (limit) via apache
00:24 impl hmm
00:24 _cheerios i can send you the serialized file, but it should be the same on any data of that size, if it's that bad.
00:25 impl Yeah, I can generate a file myself
00:25 Wombert do you have a microwave, _cheerios
00:25 impl This PHP 5.2.2?
00:25 _cheerios if that is not the case, then the class handling the file had used tons of memory before
00:25 _cheerios yeah
00:25 impl okay, I'm going to give CVS a try
00:25 _cheerios Wombert, yeah, a really really old one.
00:25 Wombert can you be so kind and measure it for me quickly?
00:25 Wombert that's excellent
00:26 _cheerios i don't have a measurement stick, though
00:26 Wombert eww
00:26 impl You need the dimensions of a microwave? O_o
00:26 _cheerios i'm kinda, uh, short on supplies beyond the computer *g*
00:26 Wombert yeah impl
00:26 Wombert a standard one, they're all about the same size
00:27 Wombert I have room for 60x40cm (and no height limit)
00:27 Wombert I don't know how big the one in the new apartment is (there is one already)
00:27 Wombert and I'm just collecting a list of things to buy for the kitchen
00:28 impl This is one from target.com (I don't have a microwave :x)
00:29 impl • Estimated Ship Dimensions : 24.81 inches length x 21.25 inches width x 16.12 inches height
00:29 Wombert that's the box tho isn't it
00:29 impl yeah
00:29 impl so it's probably a bit smaller than that
00:29 Wombert okay the depth is a bit of an issue
00:29 Wombert (width here)
00:29 impl here's another, • Estimated Ship Dimensions : 24 inches length x 20 inches width x 15 inches height
00:29 Wombert I guess I have to hop over into the apartment and have a look
00:30 Wombert cool, so they're all pretty much the same
00:30 impl oo
00:30 impl This one's smaller
00:30 impl • 13.5Hx21.5Wx16.5D"
00:30 Wombert I'm doing my shopping list using PHP :D
00:30 Wombert this rocks actually
00:30 impl haha, nice
00:31 Wombert http://pastebin.ca/537850
00:31 Wombert 1.10 factor is for having it all assembled by IKEA workers
00:32 Wombert it would be a tad more expressive in python or ruby I guess but this is okay
00:32 impl Or a spreadsheet :X
00:32 Wombert (parse error here)
00:32 Wombert can't be bothered ^^
00:33 impl You didn't put a price for "BESTÅ Schiene für Schiebetür, 180cm" :P
00:33 Wombert "BESTÅ Schiene für Schiebetür, 180cm" => 1 * 20.51,
00:33 Wombert :>
00:33 Wombert rails for sliding doors
00:33 Wombert very ace
00:33 Wombert that's actually a series of shelves for books
00:33 Wombert can't be arsed to compile a proper kitchen
00:34 Wombert I'm haxoring it a little
00:34 impl O_o
00:34 impl haha
00:34 Wombert for instance one of the elements where I put the drawer for cutlery is 49 wide
00:34 Wombert the rest 40
00:35 Wombert so I'll just move the rest 40 cm from the wall
00:35 Wombert hope that works
00:35 Wombert shouldn't fall over or so :S
00:35 impl haha
00:35 Wombert but I have a plan because the element can be attached to the wall
00:35 Wombert and then to the other elements below it
00:35 Wombert ah that's gonna work
00:35 Wombert if not I'm totally freaking out I swear
00:36 Wombert spent two hours checking that BESTA stuff out and every time I walked up to the girl at the info desk (dude she was cute!) she found something that wouldn't work
00:36 Wombert depressing
00:36 impl haha
00:40 _cheerios impl, could be the class that was taking a lot of mem. I'll try again tomorrow. Using CLI on the same file only took 0.75MB.
00:40 impl _cheerios: hmm, okay
00:40 Wombert sliding doors or normal ones
00:40 Wombert ponders
00:44 Wombert and white
00:44 Wombert or glossy white
00:44 Wombert ponders
00:44 Wombert or with glass
00:44 Wombert or some glossy red in it
00:45 Wombert ponders
00:45 _cheerios yea, mem usage jumps from 1.5MB straight to 64MB at some point *eww*
00:47 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
00:53 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["dreaming of memory leaking sheep"]
01:08 E_mE [n=E_mE@91.84.10.29] has joined #agavi
01:10 E_mE hihi... if i want agavi to return content of an image, all i need to do is set up a route to an action which generates the image and return the data into the content of the container along with a output_type="image/png" ??
01:11 Wombert no
01:11 Wombert define an output type, e.g. "image_png"
01:11 Wombert then set the headers for it
01:11 E_mE ah... almost right ;)
01:11 Wombert then use executeImage_png (that name sucks as you can see)
01:12 E_mE so does agavi regonise the type of data you pass to it.. so if you pass PNG data to $this->getContainer()->getResponse()->setContent($imageData);
01:13 E_mE or where does it relise that its about to receieve PNG data
01:16 E_mE or is that complicated to explain?
01:18 Wombert you can set a content type header for the output type
01:18 Wombert if the image is on the file system, you can also set a pointer to that file into the response, agavi will then fpassthru() the file
01:18 Wombert much faster and memory efficient
01:19 E_mE well i want to generate a security image
01:19 E_mE like that has a word which people then have to copy into a text field
01:20 E_mE to prove its not a bot registering the account or so
01:20 impl Agavi doesn't care what you set the output content to
01:20 impl It's just a string
01:20 E_mE i can set the output_type in the routing.xml correct?
01:22 E_mE can i bypass registerAction.php and go streight to executeImage_png() function through the routing.xml statement i just mentioned?
01:23 impl No, and if you want to do something that doesn't require the register logic to run it probably doesn't belong in the register action
01:23 impl :)
01:24 E_mE well, where would i perform the image generation code?
01:24 E_mE would i need to create a whole other action for it?
01:24 impl That's what I'd do.
01:25 impl That way you can use it in other parts of the site if necessary too
01:25 E_mE very good point
01:25 E_mE :) thanx
01:25 impl Yup
01:25 E_mE that will require two agavi MVC requests wont it?
01:26 impl Yes
01:26 impl Well, sort of
01:26 impl You can embed image data in /some/ browsers
01:26 impl But it's more compatible to link to a separate URL
01:30 E_mE seprate url it will have to be
01:30 Wombert omg
01:30 Wombert I've been in the office for
01:30 Wombert err
01:30 Wombert dude
01:30 Wombert 15 hours
01:30 Wombert damn it
01:42 E_mE go HOME!
01:46 Wombert yeah
01:46 Wombert will do now
01:46 Wombert catch you guys tomorrow
01:46 impl Night
01:46 impl :)
01:47 Wombert [n=Wombert@87.79.35.58] has quit []
01:48 Whisller [n=example@217.97.146.67] has joined #agavi
02:06 E_mE do you need to recompile PHP to enable GD Image support?
02:06 impl Probably, yes
02:06 E_mE ah feck! :(
02:20 splatch [n=splatch@s3.przytulski.net] has quit [SendQ exceeded]
02:22 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
02:24 impl [n=impl@adsl-221-7-222.rmo.bellsouth.net] has joined #agavi
02:42 E_mE if my gdlib.so file is in /usr/lib and the gd.h is in /usr/include.. how can i compile PHP with GD... i keep getting error about libgd.so not being found though it is findin the head when i use --with-gd=/usr/include
02:44 impl --with-gd=/usr
02:44 E_mE pah! make is cleaver then i thought.. you just specify /usr
02:44 E_mE heheh... wow...
02:45 E_mE something are far to simple to be true at times :S
02:45 impl :P
02:48 E_mE i think next time i might miss out on hte make test
03:00 E_mE im getting this beauty of an error now :/ Warning: Cannot modify header information - headers already sent by (output started at /var/www/quickchef/app/modules/Default/views/ImageImageView.class.php:23) in /usr/local/lib/php/agavi/exception/templates/shiny.php on line 92
03:00 E_mE imagepng($imageData); seems to pass a header()
03:01 impl It shouldn't.
03:02 E_mE if i dont execute imagepng() the webpage displays "The image “http://192.168.0.8/genpng/” cannot be displayed, because it contains errors."
03:03 impl Yeah
03:03 impl How are you using imagepng? It returns a string
03:03 impl oh no it doesn't
03:03 impl It outputs directly
03:03 impl eww
03:04 E_mE so im thinking its trying to do header stuff hense it not being able to cange the header information
03:04 impl No
03:04 impl it's outputting the image
03:04 impl You need to use output buffering to capture it
03:04 E_mE how do i accomplish that?
03:05 impl Take a look at the example on http://php.net/ob_get_contents
03:07 E_mE headers already sent by (output started at /var/www/quickchef/app/modules/Default/views/ImageImageView.class.php:21) --- which is imagepng($im);
03:08 impl Did you use ob_start(); ?
03:08 impl ob_start();
03:08 impl imagepng(...);
03:08 impl $image = ob_get_contents();
03:08 impl ob_end_clean();
03:09 E_mE feel fecking stupid :S
03:09 impl Really it'd be better to save it to a file... that's ugly code :|
03:10 E_mE it worked :o ... saving files creates a whole mad jargon
03:10 E_mE because then you need to delete them afterwards
03:10 impl Yeah
03:11 E_mE and for a tempory file like a login test image is gonna be mad if suddenly there are loads of requests
03:11 E_mE i very much apprisate the ob_Start() code though... never thought such a concecpt existed thanx ever so much :D
03:13 E_mE anyway dude nite nite.. i got work in the morning :)
03:13 Whisller [n=example@217.97.146.67] has quit ["Goodnight my teletubbies ;)"]
03:14 E_mE [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
03:17 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
03:18 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
03:42 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
04:21 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi
04:23 impl [n=impl@adsl-221-7-222.rmo.bellsouth.net] has joined #agavi
04:41 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
05:11 splatch` [n=splatch@s3.przytulski.net] has quit [SendQ exceeded]
06:25 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
06:41 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
07:45 MrJeep anyone's alive ?
08:13 digitarald [n=Miranda@62-43-154-107.user.ono.com] has joined #agavi
08:33 v-dogg huomenta
08:35 digitarald [n=Miranda@62-43-154-107.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
08:57 codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi
09:00 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
09:17 SunboX [n=Miranda@80.243.35.154] has joined #agavi
09:24 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:25 _cheerios huomenta
09:25 codecop huomenta!
09:51 codecop if u creating some project do u checking every time svn of agavi or u freaze agavi source for that project?
09:55 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
09:55 digitarald [n=Miranda@62-43-154-107.user.ono.com] has joined #agavi
10:13 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:13 RossC0 Huo
10:14 RossC0 menta!
10:24 codecop if u creating some project do u checking every time svn of agavi or u freaze agavi source for that project?
10:26 RossC0 codecop I have agavi as an svn external
10:27 RossC0 if it every erm breaks I freeze it and report and problems - which never last for long
10:30 codecop never heard about svn external feuture
10:30 v-dogg I have my 3rd party libs bundled
10:31 v-dogg i.e. frozen but I updated them occasionally (or if there's a need to update)
10:31 RossC0 codecop - well it means my svn and any 3rd parties svn's are separate and I can freeze libs if needed
10:32 RossC0 but it also means that when I svn export I can export the app and 3rd party libs in one go!
10:32 v-dogg if propel's svn server is up
10:32 v-dogg :)
10:33 codecop need to read manuals for svn deeper
10:33 codecop now i am doing: svn co http://agavi..../0.11
10:33 Wombert [n=Wombert@87.79.35.58] has joined #agavi
10:34 v-dogg codecop: http://svnbook.red-bean.com/en/1.0/ch07s03.html
10:35 RossC0 v-dogg: I use doctrine
10:35 RossC0 -- don't tell Wombert
10:35 _cheerios hoho
10:35 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:35 codecop :)
10:35 RossC0 mind you doctrine svn seems to have gone mental - as he gets ready for google summer of code - so its frozen
10:36 Arme[N] Huomenta! _o/
10:36 RossC0 Huomenta!
10:39 RossC0 So anyone using Gears yet?
10:39 Wombert in ze car?
10:40 Wombert :
10:40 Wombert p
10:40 _cheerios RossC0, nope. If I find a use, maybe. But I'll stick with dojo storage for now.
10:41 _cheerios Does it always force a plugin download?
10:42 RossC0 I may be being behind here - but it seems like a pain in the buttocks to me
10:43 _cheerios well, considering many ajaxian.com commenters don't even understand the whole thing despite reading the articles, understandable :D
10:43 RossC0 will little benefit / actually no benefit to the apps I write
10:47 _cheerios yep, it's not something you just bolt in
10:53 v-dogg googles "Gears"
10:54 v-dogg Google Gears is what you are on 'bout?
10:57 _cheerios aye
11:04 Arme[N] is now known as Arme[0]
11:14 Whisller [n=example@217.97.146.67] has joined #agavi
11:17 Arme[0] is now known as Arme[N]
11:17 digitarald [n=Miranda@62-43-154-107.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
11:17 Whisller hi
11:20 RossC0 huomenta!
11:36 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
11:38 codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"]
11:44 digitarald [n=Miranda@248.Red-83-55-68.dynamicIP.rima-tde.net] has joined #agavi
11:59 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
12:00 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
12:05 kaos|work [n=dominik@87.79.35.58] has joined #agavi
12:12 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
12:12 Arme[N-1] is now known as Arme[N]
12:14 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["This computer has gone to sleep"]
12:15 E_mE [n=E_mE@81.168.18.2] has joined #agavi
12:16 E_mE huomenta
12:24 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
12:25 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
12:30 Arme[N-11 [n=Arme[N]@80.191.141.181] has joined #agavi
12:33 RossC0 anyone used httperf ? I cant get it to send POST data
12:36 RossC0 doing this: /account/login/ method=POST contents="email=test@test.com&password=password"
12:36 RossC0 its going throw executeWrite - but there is nothing in the $_POST array
12:40 RossC0 hmm no content type setting
12:42 Arme[N-11 [n=Arme[N]@80.191.141.181] has quit ["leaving"]
12:42 Arme[N-11 [n=Arme[N]@80.191.141.182] has joined #agavi
12:43 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
12:43 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
12:44 Arme[N-11 [n=Arme[N]@80.191.141.182] has quit [Client Quit]
12:44 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
12:51 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit []
13:06 _cheerios http://weblog.raganwald.com/2007/02/program-in-java-you-must-be-joking.html
13:06 _cheerios (there's a joke at the end)
13:06 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
13:22 codecop [n=codecop@193.219.155.52] has joined #agavi
13:37 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
13:38 Whisller [n=example@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)]
13:38 Whisller [n=example@217.97.146.67] has joined #agavi
13:38 Whisller [n=example@217.97.146.67] has quit [Remote closed the connection]
13:39 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
14:13 CIA-11 david * r1980 /branches/0.11/etc/phing/AgaviPackageTask.php: Add XSL extension to list of optional dependencies in AgaviPackageTask
14:49 RossC1 [n=lawleyr@80.4.120.163] has joined #agavi
14:50 RossC1 hehe
14:51 RossC1 I've hacked my first c file - got it compile and work :D
14:54 RossC2 [n=lawleyr@80.4.120.163] has joined #agavi
14:54 RossC2 [n=lawleyr@80.4.120.163] has left #agavi []
14:55 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection]
14:56 RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)]
14:56 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:59 RossC1 [n=lawleyr@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)]
15:06 digitarald [n=Miranda@248.Red-83-55-68.dynamicIP.rima-tde.net] has quit [Success]
15:06 RossC2 [n=lawleyr@80.4.120.163] has joined #agavi
15:07 RossC2 is now known as RossC0
15:36 digitarald [n=Miranda@248.Red-83-55-68.dynamicIP.rima-tde.net] has joined #agavi
15:56 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out]
16:00 codecop [n=codecop@193.219.155.52] has quit ["Leaving"]
16:03 digitarald when u use createExecutionContainer('Default', 'Tags', new AgaviRequestDataHolder(...));
16:03 digitarald where are my arguments i gave them
16:06 MikeSeth again?
16:14 kaos|work in the requestdataholder passed to your action
16:17 MikeSeth ah
16:17 MikeSeth digitarald: in $rd ;)
16:18 digitarald mh ... validated?
16:18 MikeSeth digitarald: unless it isSimple()
16:18 digitarald its not there :(
16:19 MikeSeth digitarald: but it has to be.
16:20 MikeSeth why are you using createExecutionContainer() though?
16:20 MikeSeth its untypical for Agavi apps to do that
16:21 digitarald filling slots
16:21 MikeSeth why not createSlotContainer then?
16:21 MikeSeth $slot = $this->createSlotContainer('Campaigns', 'ShowLookupTool', array('query' => $this->getAttribute('query')));
16:21 MikeSeth $layer->setSlot('lookuptool', $slot);
16:22 digitarald mh ... to quote G.W.Bush Jr: "Because!"
16:22 digitarald ... ok, i'll change that ;)
16:29 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:29 digitarald works
16:32 MikeSeth duh :D
16:33 MikeSeth createExecutionContainer is for deferred execution
16:51 digitarald is now known as m00fz
16:51 m00fz is now known as digitarald
16:59 Zibi [n=asd@80.4.120.163] has joined #agavi
16:59 Zibi elo
17:00 MikeSeth haha nice nick
17:01 MikeSeth means "fuck all chance" in Hebrew
17:01 MikeSeth hello!
17:15 Arme[N] MikeSeth: lol
17:16 MikeSeth rather, "/a/ fuck all chance"
17:20 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit [Remote closed the connection]
17:22 impl [n=impl@httpcraft/php/impl] has joined #agavi
17:23 impl pokes Wombert
17:24 MikeSeth he aint here
17:25 impl :|
17:52 RossC0 anybody know how to remove a read cache on write?
17:52 RossC0 I'll rephrase - is it possible to invalidate a cached Read Action if a user commits a write action on the cache
17:53 RossC0 ideally, I'd want that to be handled by cache.xml
17:53 RossC0 so the action doesn't know about it
17:53 digitarald in the next version
17:53 RossC0 next version?
17:53 RossC0 I need it now!
17:53 RossC0 :D
17:53 digitarald Xylakant asked this, i remember
17:53 RossC0 heads off to the logs
17:54 digitarald a looong time ago
17:56 RossC0 http://users.tkk.fi/~tjorri/agavi/logs/agavi-200704.log
17:59 RossC0 can't see a mention of expiring caches
18:00 Xylakant the answer was 'you can actively invalidate cache groups'
18:00 Xylakant but is
18:00 Xylakant but it won't happen automatically
18:01 digitarald http://users.tkk.fi/~tjorri/agavi/logs/agavi-200702.log
18:01 digitarald "what's more interesting for me:"
18:02 digitarald RossC0, found it?
18:03 RossC0 yeah - not sure where it goes: AgaviExecutionFilter::clearCache($groups);
18:03 RossC0 and what $groups is made up of
18:03 digitarald cache groups
18:04 Xylakant yeah, but what is a 'cache group'
18:04 digitarald the first parameter ... hey ... i used caching one time and never groups or clearing the cache
18:05 Xylakant ah
18:05 Xylakant you can name groups
18:06 RossC0 ah ok - but that goes in your action?
18:06 Xylakant hmm.
18:06 RossC0 AgaviExecutionFilter::clearCache(array('myGroup'));
18:06 Zibi [n=asd@80.4.120.163] has quit []
18:06 Xylakant but otoh, what if you have multiple groups with the same name
18:07 RossC0 dunno - I'm off hunting
18:07 RossC0 ideally I'd like my XML file to be able to invalidate a cache also
18:08 Xylakant how would that happen?
18:08 RossC0 sudo code coming up
18:09 RossC0 hmm - trying to think of a nice syntax
18:10 Xylakant it seems that the first group you need to pass is the module and the second one the action. but otoh, i never tried that
18:10 RossC0 http://pastie.caboo.se/67970
18:11 RossC0 Thats a sample caching - so on read I cache the group based on user attribute id - on Write I want to destroy that cache
18:12 RossC0 dunno if its possible - but ideally I'd like to leave the clear cache logic out of the action
18:13 Xylakant rails has something called cache sweepers which get called when appropriate and take that task
18:13 Xylakant maybe adapt that
18:13 Xylakant but i haven't used rails caching a lot, only played around a bit
18:14 Xylakant the problem is that it's quite possible that a write in action A results in multiple caches being invalid
18:14 Xylakant and that's kinda hard to configure
18:14 Xylakant those caches might be in completely unrelated modules or even in another application
18:15 Xylakant think CMS application/frontend application
18:15 Xylakant or distributed scenarios, where those caches might be on a different physical server
18:16 digitarald Xylakant, ever tried merb?
18:17 digitarald using it here for an app, pretty cool and lightweight
18:17 RossC0 its like rails without all the helpers
18:18 Xylakant no, not yet
18:18 E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection]
18:19 Xylakant i actually don't understand why people loathe rails helpers
18:19 Xylakant you don't like them? don't use them
18:20 Xylakant i like the form helpers and even hacked them so the create the html code i like
18:20 Xylakant it's not that hard.
18:20 RossC0 Xylakant: its just in rails there are alot of helpers - not just output helpers
18:21 Xylakant yes, i know
18:21 Xylakant which one do you dislike?
18:21 RossC0 so merb is streamlined somewhat - as people are starting to implement their own helpers
18:22 RossC0 its not a case of dislike - its a case of being lighter
18:22 Xylakant lighter is not always an advantage
18:22 Xylakant or better 'lighter is no advantage in itself'
18:23 Xylakant or why is agavi getting heavier and heavier on features?
18:24 RossC0 sure - its about using the right tool for the job
18:24 Arme[N] is now known as Arme[0]
18:24 Xylakant indeed.
18:26 Xylakant and things like 'And if you return a Proc object from your action, it will be called and the return value sent to the client. '
18:27 Xylakant i doubt that this is a good thing
18:27 Xylakant proc objects are dead slow IIRC
18:27 Xylakant but anyhow, it might be a cool framework, i'll have a look at it
18:28 Xylakant having to call render explicitly is pretty much a matter of taste i guess
18:29 Xylakant but the statement that you can't render more than one template in rails is wrong - you just have to render them to a string.
18:29 SunboX [n=Miranda@80.243.35.154] has quit [Read error: 104 (Connection reset by peer)]
18:30 Xylakant you can't render to the client more than once, but that's the same in merb - you can't return more than once from a method...
18:35 RossC0 ok re: caching
18:35 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
18:36 RossC0 can add a namespace to a group
18:36 RossC0 then in my action I put:
18:36 RossC0 AgaviExecutionFilter::clearCache(array('user.assessments'));
18:36 RossC0 and that seems to sort ti
18:37 RossC0 *it
18:38 Xylakant kk
18:49 Arme[0] is now known as Arme[N]
18:56 Wombert no
18:56 Wombert you want two groups
18:56 Wombert user
18:56 Wombert and assessments
18:57 Wombert then clearCache(array('user', 'assessments')); clears all user assessments
18:57 Wombert clearCache(array('user', 'details')); clears all user details
18:57 RossC0 how'd I name them?
18:57 Wombert clearCache(array('user')); clears all user related stuff, details, assessments, etc
18:57 Wombert you define the groups in teh config
18:57 Wombert you can use plain strings
18:57 Wombert or vars form the request
18:57 Wombert or the locale identifier, for example
18:58 Wombert if you app is multilang, your last group always is the locale, that way, all locale variants get cleared out on clearCache
18:58 Wombert example
18:58 RossC0 I've got my cache config set up - but what do I use to identify the group
18:58 RossC0 for clearCache
18:59 Wombert <group>products</group>
18:59 Wombert <group>details</group>
18:59 Wombert <group source="request_parameter">id</group>
18:59 Wombert <group source="locale" />
18:59 Wombert for ProductDetailsAction, right?
18:59 Wombert err wait
18:59 Wombert <group>products</group>
18:59 Wombert <group source="request_parameter">id</group>
18:59 Wombert <group>details</group>
18:59 Wombert <group source="locale" />
18:59 Wombert that way
18:59 Wombert if you modify a product with id $rd
18:59 Wombert $id
18:59 Wombert then you call clearCache(array('products', $id));
18:59 Wombert if you want to clear only the product details for that product
19:00 RossC0 sweet
19:00 Wombert you call clearCache(array('products', $id, 'details'))
19:00 RossC0 its somewhat strangely nested
19:00 Wombert if you want to invaliudate the cache for all products, you call clearCache(array('products'))
19:00 Wombert not really, it's just a dir structure basically
19:00 Wombert in smarty, you'd do "products|$id|details"
19:00 Wombert but pipes are for ze lose
19:00 RossC0 no - I mean the xml
19:01 RossC0 I would imagine source being apart of the name entity / element
19:05 RossC0 thanks - thats cleared it up a bit :D
19:08 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
19:09 BeanScene [n=fast@194.42.125.16] has joined #agavi
19:11 BeanScene guys, what's the agavi equivalent of $_SESSION in 0.11 please?
19:11 Wombert you use the user :)
19:11 Wombert $this->getContext()->getUser()->setAttribute('name', $value);
19:11 Wombert just remember to do that stuff in your views, not in actions
19:11 Xylakant cu guys, have a nice day.
19:12 Wombert bye Xylakant
19:12 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
19:12 BeanScene sweet thanks
19:12 Wombert welcome to agavi btw :)
19:15 BeanScene :-)
19:21 RossC0 <3 caching :D
19:23 v-dogg any soap gurus around?
19:24 Wombert yay
19:24 Wombert shoot, v-dogg
19:30 v-dogg just a sec, Erica is bored :)
19:30 Wombert :>>
19:35 sean`` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
19:40 v-dogg there
19:41 v-dogg Wombert: I need to use this service http://fortbildning.syh.fi/webservices/sydvast.asmx?WSDL
19:42 Wombert okay
19:42 v-dogg but what I get as a result from CourseDataFIResponse (for example) is stupid. it's two different xml structures as one
19:42 Wombert $c = new SoapClient('http://fortbildning.syh.fi/webservices/sydvast.asmx?WSDL');
19:43 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
19:43 v-dogg sure, that's all figured out
19:43 v-dogg but <s:complexType><s:sequence> <s:any ... /> <s:any ... /> </s:sequence> </s:complexType>
19:43 v-dogg is what confuses me
19:43 Wombert err wtf is going on with these fools
19:43 Wombert just a sec
19:44 v-dogg is this normal and what would be the best way parse it?
19:44 Wombert that's converted to a stdClass
19:44 Wombert instance
19:44 Wombert you can also map it to a class of your choice if you like
19:45 Wombert ah finally something with input :p
19:45 Wombert hang on
19:45 v-dogg the problem is (I think) that with two "any" in one, there's no way to map them into different classes :)
19:46 Wombert <wsdl:message name="CourseTypeNameSoapIn">
19:46 Wombert <wsdl:part name="parameters" element="tns:CourseTypeName" />
19:46 Wombert </wsdl:message>
19:46 v-dogg but I'm just a soap noob and I lack the respect to tell these people off :)
19:46 Wombert <s:element name="CourseTypeName">
19:46 Wombert <s:complexType>
19:46 Wombert <s:sequence>
19:46 Wombert <s:element minOccurs="1" maxOccurs="1" name="CourseTypeID" type="s:int" />
19:46 Wombert </s:sequence>
19:46 Wombert </s:complexType>
19:46 Wombert </s:element>
19:46 Wombert so stupid
19:46 Wombert you cannot pass in an int
19:46 Wombert you must do
19:46 Wombert $id = new stdClass();
19:46 Wombert $id->CourseTypeID = 14;
19:46 Wombert $c->CourseTypeName($id);
19:46 Wombert so weird
19:46 Wombert anyway
19:47 Wombert where is that?
19:47 v-dogg where is what?
19:49 Wombert the type thing
19:49 Wombert an there
19:49 v-dogg CourseDataFIResponse among others
19:49 Wombert what do you get if you make the call?
19:51 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)]
19:52 BeanScene [n=fast@194.42.125.16] has quit [Read error: 104 (Connection reset by peer)]
19:56 v-dogg <xs:schema ...> ..... </xs:schema> <diffgr:diffgram ...> .... </diffgr:diffgram>
19:58 v-dogg ie. two separate xml structures
19:58 v-dogg later being the actual data I need
19:59 v-dogg is it just me or isn't it rather stupid to have two "any"s in a sequence?
20:08 v-dogg it's not like I can't rip off the <xs:schema part and just deal with the second structure but it feels stupid
20:09 v-dogg and, like I said, I don't know enough soap to call these people and say "hey, noobs, code better web services" :)
20:18 Wombert re
20:19 Wombert I mean
20:19 Wombert the call result
20:20 Wombert i.e. var_dump($c->CourseDataFI());
20:34 v-dogg object(stdClass)#2 (1) { ["CourseDataSEResult"]=> object(stdClass)#3 (1) { ["any"]=> string(4211) " ...." } }
20:38 MrJeep is it possible to have a validatior wich uses no arguments ?
20:39 impl And validates against what?
20:39 v-dogg a custom validator? sure but why?
20:39 MrJeep validate if the user plan is expired
20:40 impl Well, you could do that, but validators are more for validating input
20:40 impl that's my understanding anyway
20:40 MrJeep a better way to do this ?
20:40 MrJeep it kinda validate an input ...
20:40 MrJeep a user session variable input ...
20:40 v-dogg I'd probably use MyAction::validate[Method](AgaviRequestDataHolder) for that
20:41 impl Yeah, that's what I was thinking
20:41 MrJeep I'd rather put in in a class, since I'll have to check that on several occasions
20:41 impl but it might be useful to have a validator for that since it's reusable
20:41 MrJeep :P
20:41 v-dogg sure why not
20:42 v-dogg although you can (yes you really can! take my word for it) use classes inside validate(), too :p
20:42 impl haha :)
20:42 MrJeep anyway, my problem is, the validate method does not seem to be called .. that's weird
20:42 MrJeep <validator class="AAUserExpiredValidator" name="expired" required="true">
20:42 MrJeep <errors>
20:42 MrJeep <error>Vous ne pouvez créer de départ puisque votre forfait est échu. Veuillez renouveler votre forfait.</error>
20:42 MrJeep </errors>
20:42 MrJeep </validator>
20:43 v-dogg MrJeep: you probably need to override the function that checks whether all the input variables are present
20:45 MrJeep v-dogg : checkAllArgumentsSet() ?
20:45 v-dogg yes, I think that's it
20:46 impl does <error> get passed to TM?
20:46 v-dogg if you define translation_domain for the validator
20:46 impl Cool
20:47 v-dogg very
20:47 v-dogg Wombert: any thoughts?
20:47 kaos|work you shouldn't need to overwrite checkAllArgumentsSet
20:47 Wombert re
20:47 Wombert sorry mate
20:47 kaos|work if there are no arguments it should always return true
20:47 E_mE [n=E_mE@91.84.10.29] has joined #agavi
20:47 Wombert it's a problem of the wsdl
20:48 Wombert is that xml in the "any" ?
20:48 v-dogg yes (both of them)
20:48 v-dogg schema and the actual data
20:48 Wombert ah
20:49 Wombert can you pastie it for me please
20:49 v-dogg the xml data?
20:49 Wombert the xml data!
20:49 Wombert :)
20:50 Wombert may I hug you v-dogg
20:50 Wombert it might make me feel better
20:50 Wombert zomg, *help me feel better
20:50 v-dogg sure go ahead
20:50 Wombert hugs v-dogg
20:50 Wombert mmmh again
20:50 Wombert hugs v-dogg
20:50 Wombert thank you buddy
20:50 v-dogg :)
20:51 v-dogg http://pastebin.ca/541955
20:51 MrJeep method="read write" still works ?
20:51 Wombert should
20:52 Wombert not sure if that is soap in the payload, v-dogg
20:52 Wombert it could be some custom xml format
20:52 Wombert ah yes definitely is
20:53 Wombert or
20:53 MrJeep hum, method="read" does not validate
20:53 Wombert erm
20:53 MrJeep ahh
20:53 MrJeep I remember why
20:54 MrJeep oh by the way
20:55 MrJeep some good new
20:55 MrJeep me and my gf bought a horse :D
20:55 Wombert oO
20:56 MrJeep not an expensive one of course
20:57 MrJeep http://mrjeep.dyndns.org:81/Temp/Horse/
20:57 v-dogg Wombert: it is custom xml format but way, oh way, must there be two separate xml structure in one any-object?
20:58 v-dogg haha, should stop working now :)
20:58 v-dogg s/way/why/ :D
20:58 Wombert mh?
21:00 v-dogg <xs:schema ...> ..... </xs:schema> <diffgr:diffgram ...> .... </diffgr:diffgram>
21:00 v-dogg no root element
21:04 v-dogg so still my question is: is this normal or just stupid
21:04 Wombert can you pastie me the complete response?
21:04 Wombert create the soap client
21:04 Wombert with
21:05 Wombert array('trace' => true)
21:05 Wombert as the second arg
21:05 v-dogg and what's the best way to handle this (calling the author is an option, so far no-one else uses this service and api changes are possible)
21:05 Wombert then call $client->__getLastResponse(); after the call
21:08 E_mE $userInstance = $this->getContext()->getUser(); -- if you are not signed in (authenticated) does te details get stored in the users userInstance?
21:08 E_mE because im setting $userInstance->setAttribute('secretword',$myWord);
21:08 E_mE thats int he action
21:08 E_mE and calling it again in view to getAttribute() ... but im not getting the data
21:10 E_mE because i want to store a secret word before they register
21:10 v-dogg Wombert: http://pastebin.ca/542018
21:10 v-dogg E_mE: yes, attributes are stored
21:10 v-dogg they have nothing to do with authentication status
21:11 v-dogg (so you sometimes want to clear them when the user logs out)
21:12 E_mE are user details only aviable to you in the Action?
21:12 E_mE because im calling $userInstance->getAttribute('secretword'); and not getting any data
21:12 v-dogg no
21:14 E_mE v-dogg: ignore me... one letter wasa not captilised :/
21:14 E_mE silly me.. thanx
21:15 digitarald [n=Miranda@248.Red-83-55-68.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
21:21 Wombert uh that's invalid XML
21:21 Wombert eh wtf is going on with the line breaks
21:21 Wombert you see that v-dogg?
21:22 Wombert http://pastebin.ca/raw/542018
21:22 Wombert can you fix that
21:22 Wombert plz
21:22 Wombert :>
21:24 v-dogg that's a copy from the dos prompt :)
21:24 sean`` modx
21:27 v-dogg there http://pastebin.ca/542085 :)
21:30 Wombert cool horse
21:31 MrJeep thnx :)
21:32 Wombert <s:sequence>
21:32 Wombert <s:any minOccurs="0" maxOccurs="unbounded" namespace="http://www.w3.org/2001/XMLSchema"; processContents="lax" />
21:32 Wombert <s:any minOccurs="1" namespace="urn:schemas-microsoft-com:xml-diffgram-v1" processContents="lax" />
21:32 Wombert </s:sequence>
21:32 MrJeep I don't know much about horses, so I just hope I will without getting badly injured
21:32 Wombert that defines that there may be an xml schema definition block
21:32 Wombert and that there must be a block from that microsoft namespace
21:33 Wombert you can create a DOMDocumentFragment
21:33 Wombert and call appendXML
21:33 Wombert that makes parsing it easier
21:33 Wombert if you want to parse it at all
21:34 v-dogg DOMDocumentFragment woot! didn't even know about such a class
21:34 Wombert or parseXML()
21:34 Wombert and <foo> plus the content plus </foo>
21:34 Wombert :p
21:35 v-dogg yeah, that's what I was going to do
22:28 MikeSeth oh god
22:28 MikeSeth that looked suspiciously like RDF
22:29 MikeSeth RDF hurts people, you know
22:29 MikeSeth innocent people
22:33 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:44 implement [n=impl@httpcraft/php/impl] has joined #agavi
Day changed Wed Jun 06 2007
01:03 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
01:46 Wombert [n=Wombert@87.79.35.58] has quit []
01:49 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)]
01:49 kaos|work [n=dominik@87.79.35.58] has quit []
02:03 E_mE how can you reload an image in javascript?
02:03 E_mE without putting a ?blah at the end of it
02:49 E_mE [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
02:50 implement [n=impl@httpcraft/php/impl] has quit ["Leaving"]
03:15 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
03:19 japerr [n=japerr@adsl-70-233-179-206.dsl.okcyok.sbcglobal.net] has joined #agavi
03:19 japerr In the configurations file "routing.xml" what is xmlns:yay ?
03:35 sean`` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)]
04:16 japerr [n=japerr@adsl-70-233-179-206.dsl.okcyok.sbcglobal.net] has quit []
04:53 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi
05:06 japerr [n=japerr@adsl-70-233-179-206.dsl.okcyok.sbcglobal.net] has joined #agavi
05:07 japerr HUOMENTA
05:07 japerr I keep getting
05:07 japerr Too many execution runs have been detected for this Context.
05:07 japerr Is there a way to get more information about the exception?
06:11 japerr [n=japerr@adsl-70-233-179-206.dsl.okcyok.sbcglobal.net] has quit []
06:43 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit []
07:08 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
07:08 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
08:01 v-dogg huomenta
08:43 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
08:50 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:00 Arme[N] Huomenta #Agavi
09:02 codecop [n=codecop@85.206.220.81] has joined #agavi
09:17 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:17 _cheerios huomenta!½
09:33 E_mE [n=E_mE@91.84.10.29] has joined #agavi
09:33 E_mE Huomenta!!! in a validator XML file what are the <argument> tags used for?
09:34 v-dogg input arguments
09:34 v-dogg $_GET['input1'] and so on
09:37 E_mE sorry? i dont understand why you would want to view GET values... i want to POST stuff on forms
09:37 E_mE or do you mean $_POST['name'] as well
09:37 v-dogg yup
09:38 E_mE ah nice :D thanx
09:38 v-dogg and you do want to validate GET parameters just as well :)
09:38 E_mE i noticed in your CMS you use page[somevalue] as your arguments... do you simply call your input fields page[somevalue]?
09:39 E_mE :)
09:39 E_mE im just wondering if there is any relavence to using the [] in your agument names
09:39 v-dogg there is
09:40 v-dogg lemme paste it for ya.. just a sec
09:41 v-dogg $values = $rd->getParameter('page');
09:41 v-dogg $page = PagePeer::retrieveByPK($rd->getParameter('id'));
09:41 v-dogg $page->fromArray($values);
09:41 v-dogg $page->save();
09:42 v-dogg page[everything in an array]
09:42 E_mE so you can create arrays of form items
09:42 v-dogg see?-)
09:42 v-dogg yes, that's how php works
09:42 E_mE so i can create loginform[username] ... loginform[password]
09:43 v-dogg yes, and php gives you $loginform = array ('username' => .. 'passwrod' => )
09:43 E_mE and i need to call my elements on the login form "loginform[username]" for the username text edit field?
09:43 v-dogg yes
09:43 E_mE i never knew that
09:44 E_mE that certainly makes everything little bit easier
09:44 E_mE thanx v-dogg.. ill have to update my registration form to adopt this method :)
09:45 E_mE anyway.. time for morning shower before full day of Sage MMS training :S
09:46 E_mE full accountancy enjoyment :: feels sick ::
09:50 codecop [n=codecop@85.206.220.81] has quit ["Leaving"]
09:52 codecop [n=codecop@85.206.220.81] has joined #agavi
09:52 _cheerios "Yup, I am a webdesigner! I got a computer for my birthday and it has Frontpage and everything. I can design any page you need! Just leave me your mail and I will write you!"
09:53 v-dogg _cheerios: you applying for a job?-)
09:53 v-dogg I'll hire you in a second with that resume!
09:53 _cheerios that's my cover letter
09:54 _cheerios who wouldn't?
09:58 E_mE check out www.rjwwebcreations.co.uk for a good laugh
09:58 E_mE this is a old friend of mine who know not very much about web design
09:58 E_mE nor does he know much about design
09:59 E_mE he uses ASP and says that web pages get compiled :o
10:00 SunboX [n=Miranda@80.243.35.154] has joined #agavi
10:01 E_mE compiled in the browser that is
10:08 E_mE [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
10:08 digitarald [n=Miranda@62-43-154-107.user.ono.com] has joined #agavi
10:13 v-dogg but he has two _awesome_ styles/designs I can choose from
10:18 _cheerios reminds of my designs back in 1996
10:19 _cheerios sheds a tear for the past
10:28 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:29 RossC0 huomenta!
10:32 digitarald mh ... cakephp takes jquery in there core ... and jquery guys try hard to get the same for symfony ... evangelism fanatics
10:33 _cheerios lol @ ask.com
10:33 _cheerios "We are currently experiencing an unusually large amount of Web searches.
10:33 _cheerios Please try your search again."
10:33 Fastly [n=fast@AC8DC90A.ipt.aol.com] has joined #agavi
10:40 _cheerios london2012 logo is wack http://www.london2012.com/
10:41 RossC0 yup - it sucks and we know it!
10:42 Fastly wow, the one they used for the bid was fine! that's disgusting
10:43 JamieWolf [n=JamieWol@e177186171.adsl.alicedsl.de] has joined #agavi
10:44 digitarald where is the logo?
10:49 RossC0 http://www.london2012.com/
10:50 RossC0 reminds me of the "Money for Nothing" video by Dire Straits
10:56 v-dogg heh, you are right :)
11:13 digitarald [n=Miranda@62-43-154-107.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
11:25 Wombert [n=Wombert@87.79.35.58] has joined #agavi
11:26 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
11:31 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [Read error: 104 (Connection reset by peer)]
11:32 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
11:43 Wombert [n=Wombert@87.79.35.58] has quit [Nick collision from services.]
11:43 Wombert_ [n=Wombert@87.79.35.58] has joined #agavi
11:49 Fastly [n=fast@AC8DC90A.ipt.aol.com] has quit []
11:50 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
11:50 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)]
11:52 Xylakant heya all
11:52 RossC0 heh
11:57 Arme[N-1] is now known as Arme[N]
12:08 digitarald [n=Miranda@145.Red-83-52-192.dynamicIP.rima-tde.net] has joined #agavi
12:21 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)]
12:28 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
12:33 kaos|work [n=dominik@87.79.35.58] has joined #agavi
12:52 v-dogg Line 349: Input is not proper UTF-8, indicate encoding !
12:52 v-dogg nothing has changed afaik
12:54 v-dogg uh.. fucking libxml and fucking idiot hosting company
12:54 v-dogg they promised to upgrade libxml several weeks ago
12:54 Wombert_ hah hah!
12:54 Wombert_ :p
12:55 Wombert_ is now known as Wombert
12:55 v-dogg god dammit I hate these morons
13:04 RossC0 heh Wombert can I cache a layout => content but not the slots inside it?
13:04 RossC0 nm - that doesn't make sense
13:04 Wombert you can cache the content layer only, without the decorator layer that has the slots
13:04 Wombert if you cache a layer that has slots, then... well... :p
13:05 RossC0 yup
13:05 RossC0 thats what I thought
13:10 Whisller [n=example@217.97.146.67] has joined #agavi
13:11 Whisller hi
13:21 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
13:21 Xylakant Wombert: does the agavi caching work with soap?
13:22 Wombert of course, mate, of course
13:23 Wombert one caveat
13:23 Wombert if you pass in objects
13:23 Wombert it must have a __toString()
13:23 Wombert method
13:23 Wombert which returns a cache identifier
13:24 Xylakant kk
13:30 codecop_ [n=codecop@88.118.232.181] has joined #agavi
13:31 Wombert remember, caching totally doesn't care about what you output etc
13:31 Wombert even if you set a file pointer as the response (to return an image or so), that will be cached
13:33 Xylakant i expected that answer, but confirmation is better than guessing :)
13:41 _cheerios anyone here box against a punching bag?
13:41 RossC0 yeah - when I did kickboxing
13:41 RossC0 its hard work
13:42 _cheerios i was wondering about gloves. is it just that i'm beginning, that my fingernails get pressured hard and hurt, or an indication of poor-fit gloves?
13:43 RossC0 _cheerios: you should be using heavy training gloves
13:43 digitarald take a sand bag, not your boss
13:43 RossC0 *heavier than match gloves
13:44 _cheerios http://www.hansraj-india.com/punching-gloves.html << the downstairs gym has gloves that look like these, worn out and older, ofc
13:45 _cheerios i can only do like 4-10 punches before i need to take a break due the pain on FINGERNAILS (of all places). I'll see if this goes away at all during next few weeks, or that I need to buy my own gloves.
13:45 RossC0 You tensing your hands?
13:46 _cheerios what's that?
13:46 RossC0 I'm wondering how it hurts your fingernails!
13:46 RossC0 you got long claws?
13:46 codecop [n=codecop@85.206.220.81] has quit [Read error: 110 (Connection timed out)]
13:47 _cheerios no. they rub against the end of the gloves on punches.
13:47 Wombert err
13:47 RossC0 ah ok - gloves are too small
13:47 Wombert cut them? :p
13:47 RossC0 I take it you have short nails
13:48 _cheerios ofc
13:48 _cheerios the gloves pressure around at the middle point of every fingernail
13:48 Wombert I AM NOT A NERD WHO GIVES A DAMN ABOUT PERSONAL HYGIENE KTHXBAI
13:49 RossC0 change gloves - or go for bag mitts
13:49 RossC0 which are lighter - so not as much work
13:49 _cheerios i'll go and shop. i picked up what was at the gym.
13:51 _cheerios only 2 weeks left till the free gym i go to closes. need to shell out cash if i want to train over the summer :/
13:51 RossC0 oh man
13:51 Wombert a free gym?
13:51 Wombert since when are things free in this world
13:51 RossC0 I load one page with the worlds longest fingernails on it an firefox crashes
13:52 Wombert hah
13:52 RossC0 I guess it finds them evil too :>
13:52 Wombert I read about that in the guinness book of records today
13:52 Wombert there is that dude from india with long nails but they're disgusting
13:52 Wombert and a women from I think the US which gives them a lot of attention so they aren't :p
13:53 RossC0 how do they wipe their ... - I don't wanna know!
13:54 Wombert good quest... I don't wanna know either
13:54 Wombert shudders
13:54 Wombert okay
13:54 Wombert err
13:54 Wombert where were we :p
13:54 Wombert caching?
13:54 Wombert anyon?
13:54 Wombert please? :p
13:54 digitarald gloves
13:54 Wombert right
13:55 digitarald long rubber gloves for people with long fingernailes
13:55 Wombert zomg
13:55 digitarald so they can wipe their ...
13:55 Wombert waaaaah
13:57 RossC0 hurls
13:57 RossC0 ZOMG How'd I pick up the chunks?
13:58 RossC0 makes hurl kebabs with his fingernail skewers
13:59 _cheerios *g*
14:40 E_mE [n=E_mE@81.168.18.2] has joined #agavi
14:44 Fastly [n=fast@194.42.125.16] has joined #agavi
14:49 E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection]
14:51 digitarald [n=Miranda@145.Red-83-52-192.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)]
14:54 Wombert no new "links for you" on delicious :<
14:55 Wombert I always like it when I get links :P
14:55 Wombert looks at RossC0
14:55 Wombert you got something cool?
14:56 Xylakant yeah. there are those boring days. nothing happens, no new posts in you favourite forum, your preferred blog author is on vacation and the internet is a dull place
14:56 digitarald [n=Miranda@145.Red-83-52-192.dynamicIP.rima-tde.net] has joined #agavi
14:57 RossC0 lol
14:57 RossC0 plenty here: http://del.icio.us/network/rozza
14:59 _cheerios i've been looking at my "network" more often now after rossc0 added me as his FRIEND
15:00 _cheerios Xylakant, the internet is wonderful, chock full of interestingness!
15:00 digitarald RossC0 has friends ... cool
15:00 digitarald a lot of friends
15:00 digitarald i'll be fan
15:00 _cheerios he's like the Don
15:01 digitarald mh, how can i become fan
15:02 _cheerios ooh, wombert is my fan
15:02 Wombert errrr
15:02 Wombert no! :p
15:03 Wombert I'm a fan of your delicious links only :D
15:03 RossC0 I'm a network ho
15:03 _cheerios DON'T BE SO MODEST
15:04 MikeSeth hahahahaha
15:04 _cheerios i've used like half day reading blogs so far
15:04 MikeSeth http://en.wikibooks.org/wiki/The_Mojavi_3_Book/Tutorials/Global_Templating_-_The​_Decorator_Pattern
15:04 MikeSeth AHAHAHAHA
15:04 MikeSeth "Decorator pattern"
15:04 Wombert mahahah
15:05 MikeSeth leave it to the wiki to help people misunderstand design patterns
15:05 MikeSeth btw mojavi.org is still broken
15:05 MikeSeth whatever happened to it
15:14 _cheerios on internet the joke never fades away
15:15 Whisller Can I show You our design project :> http://dev.whisnet.pl/jobfinder.pl/design.jpg What are you think? We want add some details to comics, and for design add pencils pens. But What you are think about concept?
15:17 Wombert not bad, but what's the point of the comic
15:18 _cheerios the car gets destroyed on this one too.
15:18 _cheerios driver survives!
15:19 _cheerios or is that some guy on a jetpack? hello Rocketeer?
15:20 _cheerios comic style reminds me a bit of Heroes comics. maybe i've just not read much comics lately.
15:22 _cheerios i'd work on focus/contrast. the page is a bit crowded.
15:23 _cheerios the point of the comic eludes me too
15:25 MikeSeth Whisller: too much whitespace. Casts an impression of site devoid of content
15:26 MikeSeth the comic is too tall, it should occupy less space
15:26 Wombert omg you know rocketeer
15:26 Wombert such an ace movie
15:26 MikeSeth if you remove it or compress the whitespace, you can fit your whole design in a single 1024x768 screen
15:27 Whisller The comics will be on all pages, it is about about it page. That comics what you can see will be on contact.
15:27 _cheerios Wombert, yeah, it's like my all time favorite alongside other Disney classics like Bambi and now White and the Seven Dwarfs
15:28 MikeSeth Whisller: also, the button that says "search for responses" should be more visible.
15:28 Whisller MikeSeth: yes, it is.
15:28 MikeSeth Whisller: you also prolly want to make the handshake image smaller and the search field bigger
15:29 MikeSeth also, on white background, its nice when links are underlined
15:29 MikeSeth intuitive
15:29 _cheerios Whisller, problem with comic (like Mike said) is that it takes too much space. Are people supposed to do something on that page? Like find a job? On laptop resolution 1280x800 I can't even see the Search button to actually find jobs.
15:29 MikeSeth and of course, the blank space to the right in the table is terrible
15:30 Whisller Hmm I must use dictionary... heh
15:31 MikeSeth Whisller: actually, the handshake image itself can be a nice search button, if you make it more obvious that one can click on it
15:31 Whisller _cheerios , MikeSeth So are you saying. The comics should be lower?
15:31 MikeSeth Whisller: not lower, shorter. And padding between elements that causes white space should be reduced too. You should be able to get your whole design in a 1024x768 screen
15:31 Whisller ok
15:32 _cheerios cut height of comic by 50%, or make reference to it (show 1st frame) and caption "see our jobfinder hero in action!" to view full comic in another page (like TV commercials), or something else
15:32 Whisller mhm
15:32 _cheerios and that 1st frame could be on the side, somewhere, where people that uh like to watch comics when searching for jobs can get their fetish satisfied
15:33 Whisller Now it is only a concept and your ideas are realy helpful
15:33 digitarald or zoom when with some js
15:33 digitarald so they are bigger when u hover them ;)
15:33 Whisller mhm
15:33 digitarald its the mootools developer in me writing here
15:35 Whisller Thanks, I'll say that ideas my friend - he are creating it.
15:37 MikeSeth Wombert, _cheerios, imagine the money we could make on consulting
15:37 Wombert I imagine it to be a big ass pile of it
15:37 Wombert when do we start? :p
15:37 Wombert actually I am doing that already :p
15:42 Arme[N] heh :)
15:42 Arme[N] time to fly
15:42 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"]
15:48 JamieWolf_ [n=JamieWol@e177184107.adsl.alicedsl.de] has joined #agavi
15:49 codecop_ why in sample cms in propel class is $result['username'] = $this->getUsername(); but in my project i got undefined error, os i have to use parent:: instead of $this->
15:50 codecop_ maybe config somwhere ?
15:52 v-dogg can't be that
15:52 v-dogg you can't configure OOP :)
15:56 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
16:00 MikeSeth codecop_: calling parent:: in static context is still static context
16:00 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
16:02 codecop_ eh propel newbee
16:05 JamieWolf [n=JamieWol@e177186171.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)]
16:20 Whisller Can I set a other login view to two others group? In settings.xml ?
16:20 Wombert eh?
16:21 Whisller I have two group and they have two other login form, so I can't set one by <system_action name="login"> I must set two login action,view for them.
16:21 Wombert ...
16:21 Wombert come on, think about this a little
16:21 Wombert how would agavi know which one to display?
16:22 Wombert you have to do this by hand somehow
16:22 Whisller Heh yes I'm stupid ;p
16:22 MikeSeth Whisller: you absolutely don't /have/ to make login action return HTML :D
16:23 Whisller :>
16:25 MikeSeth in fact, Login too can be a deferred action using the new barf lock :D
16:26 Wombert if just the forms are different
16:26 Wombert you can return different view names from the action
16:26 Wombert probably the easiest way
16:27 MikeSeth yeah
16:27 Wombert otherwise, redirect from the view depending on which group called the page
16:27 Wombert but you have to figure out a way to determine which group the client belongs to anyway, not sure how you'd do that
16:29 Fastly i'm trying to create a new execution container to generate an email:
16:29 Fastly $exec = $this->getContext()->getController()->createExecutionContainer('Email', 'UserRegister');
16:29 Fastly $body = $exec->execute();
16:29 MikeSeth execute() returns the response body?
16:29 Fastly getting the following error:
16:29 Fastly Access to request data is locked during Action and View execution, please use the local request data holder passed to your Action's or View's execute*() method to access request data.
16:29 Fastly You may disable the throwing of this exception by setting the 'request_lock_barf' parameter to false. Sorry for the name of that one, 'throw_exception_when_trying_to_access_request_data_while_request_is_locked' is just a little too long.
16:30 Wombert do as you're told, and it will work :)
16:30 MikeSeth Fastly: you do need to set the barf lock to false. Otherwise you can't execute other actions explicitly.
16:30 Wombert should we rename that "request_lock_bark"? :p
16:30 Wombert or something even better :p
16:30 MikeSeth Wombert: no, "set_me_to_false"
16:30 MikeSeth heh
16:30 Fastly where is this parameter?
16:31 RossC0 request_is_locked = false
16:31 RossC0 :D
16:32 Wombert that doesn't explain it exactly, RossC0
16:32 MikeSeth yeah
16:32 MikeSeth Fastly: any specific reason why you wrap mail sending as a module action and not a model?
16:32 Wombert the lock is removed, but you don't get access to the request data either, it just returns an empty holder
16:34 RossC0 allow_access_to_rd
16:34 RossC0 ?
16:34 Fastly i want to keep the email templates in separate files
16:34 Wombert that doesn't explain it either
16:34 RossC0 prevent_access_to_rd
16:34 RossC0 ah pants
16:35 RossC0 call it request_rave
16:35 RossC0 or make up a word :D
16:35 Fastly and want to have the same control over output as the web on highly customised emails.l
16:35 Fastly am i being stupid?
16:36 MikeSeth RossC0: its not rd, its the global request
16:36 RossC0 makes sense to me
16:36 RossC0 ah ok MikeSeth
16:36 MikeSeth Fastly: it does make sense if you also use it as an exposed action. Otherwise it's prolly cheaper to tuck it away into a model
16:38 Fastly ahh ok... and what would you recommend as the best way of separating the email template from the model?
16:41 Wombert an action is okay I guess
16:41 RossC0 +1 for action!
16:41 Wombert the obvious advantage is that you can leverage all the rendering features etc without doing it by hand
16:42 RossC0 its nicely separated
16:42 Wombert you could also build template layers and execute() them but it's a little more work to do
16:42 RossC0 in an agavi way
16:42 Wombert I'd have an EmailSenderModel
16:42 Wombert that internally uses an action
16:43 Fastly please can i take a look? :-)
16:45 Fastly brb
16:46 Fastly lunch
16:46 codecop_ [n=codecop@88.118.232.181] has quit [Remote closed the connection]
16:47 Fastly [n=fast@194.42.125.16] has quit []
16:47 epaulin [n=epaulin@221.222.230.145] has joined #agavi
16:53 Whisller Are using someone from you openoffice? Maybe you know which option must I disable because when I want openoffice chenge http://example.com to link. I wan't it in plain text :>
16:53 v-dogg Format -> Default formatting
16:54 v-dogg and Tools -> Auto correct
16:54 v-dogg iirc
16:56 Whisller Thanks :)
17:03 Wombert or press backspace after it formats it as a string
17:05 JamieWolf_ is now known as JamieWolf
17:09 RossC0 OMG http://www.theonion.com/content/video/j_k_rowling_hints_at_harry_potter?utm_sour​ce=slate_rss_1
17:12 _cheerios lol @ questions
17:14 Wombert my god harry potter is such a bs anyway
17:14 Wombert but it's funny :p
17:15 Wombert lolol
17:15 Xylakant yeah
17:15 Xylakant http://www.heise.de/newsticker/meldung/90743
17:15 Xylakant (for all those that understand german)
17:16 Wombert omg
17:16 Wombert if I could decide
17:16 Wombert I'd force
17:16 RossC0 http://www.games4work.com/games/swf/supercoolpic.swf
17:16 Wombert companyname.seattle.wa.us
17:16 Wombert companyname.koeln.nrw.de
17:16 Wombert etc
17:16 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["nn"]
17:16 Wombert and zomglolkthxbai.private.de
17:16 Wombert or so
17:17 Xylakant i want .feuerbachstrasse as tld.
17:17 Xylakant at least that would make my 'real' adress obsolete
17:18 Xylakant RossC0: click, drag the mouse all the way to the bottom and release the button while dragging
17:19 Xylakant or release the button while the pointer is outside the browser window
17:20 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:36 impl [n=impl@httpcraft/php/impl] has joined #agavi
17:43 Whisller [n=example@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)]
17:44 Whisller [n=example@217.97.146.67] has joined #agavi
17:55 Xylakant wombert, can i define per module settings in a modules config/module.xml and if yes, how can i access them?
17:58 Xylakant hmm. does not look so
17:58 Xylakant too bad
18:02 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
18:04 Whisller [n=example@217.97.146.67] has left #agavi []
18:08 Xylakant hmm. using shared memory blocks may crash php hard obviously
18:08 Xylakant no error log entry, nothing
18:09 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
18:19 Wombert [n=Wombert@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
18:20 Wombert [n=Wombert@87.79.35.58] has joined #agavi
18:31 SunboX [n=Miranda@80.243.35.154] has quit [Read error: 104 (Connection reset by peer)]
18:53 codecop [n=codecop@88.118.173.140] has joined #agavi
18:55 digitarald [n=Miranda@145.Red-83-52-192.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
18:57 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
18:57 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:03 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:03 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
19:03 Arme[N-1] is now known as Arme[N]
19:08 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
19:08 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
19:14 epaulin [n=epaulin@221.222.230.145] has quit ["Hmm... Upgrades."]
19:32 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
19:32 _cheerios sweatmaster cheerios in da channel
19:32 _cheerios i'm pouring like everywhere :sweat:
19:36 Wombert me too
19:36 Wombert no AC in the new office either
19:36 Wombert sucks :<
19:41 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:42 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
19:42 Arme[N-1] is now known as Arme[N]
19:43 _cheerios your old one had ac? oww
19:44 Wombert no
19:45 Wombert that would have been "no AC in the new office anymore" :P
19:45 _cheerios atleast you're not stuck in an ex-dark room with a neanderthal
19:46 _cheerios i have no idea if he's saying hello or just grunting something at times
19:46 Wombert are you?
19:46 _cheerios yeah, at work, daily :)
19:46 Wombert uncool
19:46 Fastly [n=fast@194.42.125.16] has joined #agavi
19:46 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:46 _cheerios i get to work with agavi, makes up for it
19:47 Fastly guys i had to leave earlier whilst discussing my email query
19:49 Wombert was that a non cynical praise of agavi from your mouth, _cheerios? oO
19:49 Wombert Fastly: carry on
19:50 Fastly i think we agreed that creating a new execution container to handle the body of the email wasn't the best solution?
19:50 Wombert I think we agreed that it was the best solution
19:50 Fastly [n=fast@194.42.125.16] has quit [Read error: 104 (Connection reset by peer)]
19:50 Fastly [n=fast@194.42.125.16] has joined #agavi
19:50 Fastly ahh
19:50 _cheerios i like agavi, even as little documentation there is and that things are slower to develop in due not having plugins to aid in a "full-stack" approach to web dev.
19:51 Wombert hugs _cheerios
19:51 Wombert [18:50] Fastly: i think we agreed that creating a new execution container to handle the body of the email wasn't the best solution?
19:51 Wombert [18:50] Wombert: I think we agreed that it was the best solution
19:51 Fastly ahh... ok, so i'll explain how i'll do this then:
19:52 Fastly create a global EmailModel that extends the AgaviModel for global sending functionality
19:53 Wombert exactly
19:53 Fastly for each custom email create another module-local model, say EmailRegistrationModel
19:53 Wombert hmm mwould you do that?
19:53 Fastly which extends the above
19:53 Wombert I wouldn't
19:53 Wombert you could write one EmailerAction
19:53 Fastly ok
19:54 Wombert it uses request data to know
19:54 Wombert a) which template to use
19:54 Wombert b) which variables to give to the template
19:54 Wombert does that make sense?
19:54 Fastly sure
19:54 Xylakant cu guys
19:54 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
19:54 Wombert you could give it more params to specify, for instance, the layout or so
19:56 Fastly cool... so no new execution container?
19:56 Wombert oh yes
19:56 Fastly in the EmailerAction....
19:56 Wombert eh
19:56 Wombert what does that do
19:56 Wombert no
19:56 Wombert well
19:56 Wombert look :)
19:56 Fastly oh... sorry
19:56 Wombert $em = $context->getModel('Emailer');
19:57 Wombert $em->setRecipients(array('foo@bar.com'));
19:57 Wombert $em->setTemplate('RegistrationSuccess');
19:57 Wombert $em->setVariables(array('username' => 'Wombert'));
19:57 Wombert $em->send();
19:58 Fastly thanks... and how would you call the chosen template from the model?
19:58 Wombert inside the model
19:58 Wombert you create a new exec container
19:58 Wombert which points to your EmailerAction
19:59 Wombert and sets the variables, the template etc as request data
19:59 Wombert *set
19:59 Wombert then you execute() the container
19:59 Wombert the response will have your email
19:59 Wombert then you send that using some third party library or using mail() or so
20:00 Wombert remember to create a new output type for these emails, too
20:00 Fastly nice one thanks... i'll give it a whirl
20:00 Fastly $exec = $this->getContext()->getController()->createExecutionContainer('Email', 'UserRegister');
20:00 Fastly $body = $exec->execute();
20:00 Wombert $body = $exec->execute()->getContent();
20:01 Wombert return value is an AgaviResponse
20:01 Fastly great, thanks
20:01 Wombert but!
20:01 Wombert it doesn't stop there
20:01 Wombert you could define two output types
20:01 Wombert email_text
20:01 Wombert and email_html
20:01 Fastly ahhh...
20:01 Wombert both have identical layouts etc, just different template extensions or base paths
20:01 Wombert then you create two containers, one with the text, one with the html output type
20:01 Wombert and execute both
20:01 Wombert to render two email variants
20:01 Wombert etc etc
20:02 Fastly you're a massive help - thanks Wombert :-)
20:02 Fastly i appreciate it
20:03 Wombert let me know if you're stuck and need help
20:03 Fastly ok, i'm off to implement this badboy!
20:03 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out]
20:05 Fastly i suppose i'd pass the module and action which generates the email to the model rather than the template..?
20:05 Fastly rather than the template name...
20:06 Wombert mh no
20:06 Wombert it would be one action that generates the email
20:06 Fastly and module and action name as params too.
20:06 Wombert they're all the same
20:06 Wombert only with different templates
20:06 Wombert know what I mean?
20:06 Wombert you hvae one EmailerAction
20:07 Fastly ok gotcha
20:07 Wombert and in the request data, you set the name of the template to use, which is the actual email
20:07 Wombert you then set that in the view on the content layer
20:07 Fastly thanks
20:09 codecop [n=codecop@88.118.173.140] has quit [Remote closed the connection]
20:11 E_mE [n=E_mE@91.84.10.29] has joined #agavi
20:12 E_mE can i put these two arguments into one validator since they both need to be at least 2 characters:
20:12 E_mE <argument>register[forname]</argument>
20:12 E_mE <argument>register[surname]</argument>
20:17 Wombert <arguments base="register">
20:17 Wombert <argument>forname</argument>
20:17 Wombert <argument>lastname</argument>
20:17 Wombert </arguments>
20:17 Wombert I think
20:17 Wombert not sure, never used validation
20:18 E_mE apprently PHP will put those 2 input name's into a array called register
20:37 Fastly [n=fast@194.42.125.16] has quit [Read error: 104 (Connection reset by peer)]
20:38 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has joined #agavi
20:38 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has quit [Remote closed the connection]
20:41 _cheerios i think i have foot problem :/ eww :/
20:41 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has joined #agavi
20:43 E_mE does this Regex pattern work in Agavi's XML documents? "\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b"
20:44 Wombert why not
20:44 E_mE because i normally see ^[a-z]$
20:45 E_mE i was just thinking ^ was the start and $ for the end
20:46 E_mE my knowledge of REGEX is minimal hehe
21:18 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has quit [Connection timed out]
21:34 Whisller [n=example@217.97.146.67] has joined #agavi
21:34 Whisller [n=example@217.97.146.67] has quit [Client Quit]
21:39 Arme[N-1] is now known as Arme[N]
21:40 Fastly [n=fast@194.42.125.16] has joined #agavi
21:46 Fastly [n=fast@194.42.125.16] has quit []
21:59 _cheerios hrr, i counted i have 13 books on loan from the library
22:03 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has joined #agavi
22:11 Wombert [n=Wombert@87.79.35.58] has quit []
22:18 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has quit []
22:24 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
22:24 MrJeep hi!
22:24 MrJeep anyone wanna see my lastest agavi website (almost completed)
22:25 MrJeep http://mrjeep.dyndns.org:81/Project/Web/AlternativAuto/pub/index.php/
22:25 MrJeep (works badly with IE6 however)
22:27 Wombert [n=Wombert@p508721E2.dip0.t-ipconnect.de] has joined #agavi
22:28 MrJeep hey wombert
22:28 _cheerios the car of death project!
22:28 MrJeep hell yeah
22:28 MrJeep I'm almost finished with my last project
22:28 MrJeep wanna take a look
22:28 MrJeep ?
22:28 Wombert yo
22:28 MrJeep http://mrjeep.dyndns.org:81/Project/Web/AlternativAuto/pub/index.php/
22:29 MrJeep username and password : test@test.com / test
22:29 _cheerios Départs recherchés gives 404
22:30 MrJeep i know
22:30 MrJeep there is a few thing that are not working yet
22:30 _cheerios i like the design, bar the pic + logo :p
22:31 MrJeep thnx :D
22:31 _cheerios pic is too gloomy/dark to my taste
22:33 _cheerios you're using slots, that means no possibility of caching ?
22:33 MrJeep which picture ?
22:33 MrJeep yeah I use a slots
22:33 MrJeep slots = no caching ?
22:33 _cheerios the top one with the road/scenery
22:34 _cheerios something i recall that wombert said, not implemented yet. might be old news by now or my memory totally off.
22:34 MrJeep oh this banner
22:34 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:37 E_mE MrJeep: that site looks great
22:37 MrJeep :)
22:40 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has joined #agavi
22:41 MrJeep I think i have a lot of work to make it IE6 capable, it looks so much like crap under it
22:41 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has quit [Client Quit]
22:44 kaos|work MrJeep: caching should work with slots as well
22:44 MrJeep oh great :)
22:44 Wombert of course
22:47 E_mE kaos|work: how can I get the validator to check weather two input fields match.. for example entering your e-mail address twice...
22:48 kaos|work that's easy ;)
22:48 E_mE :D
22:48 E_mE is there any examples of it?
22:48 kaos|work use a equals validator
22:48 kaos|work mom, i'll paste you one
22:49 E_mE :)
22:49 kaos|work <validator class="equals" ..>
22:49 kaos|work <argument>email1</argument>
22:49 kaos|work <argument>email2</argument>
22:49 kaos|work </validator>
22:49 kaos|work + your error definition, etc of course
22:50 kaos|work you could add as many arguments as you like
22:50 E_mE wow cool :D
22:50 E_mE thank you :D thats nice
22:50 kaos|work and you could compare all these fields to a static value by adding <parameter name="value">ze value</parameter>
22:52 E_mE kaos|work: is there a reference with all the parameter types, classes etc?
22:52 E_mE ah nice! i did want to know that actually ;)
22:52 kaos|work hehe
22:53 E_mE can you do <parameter name="greater">1982</parameter> <parameter name="less">2007</parameter> ???
22:54 kaos|work you could do that with the number validator
22:54 kaos|work parameters min and max
22:54 E_mE ah so class="numbers" or class="integer" ??
22:55 kaos|work class number
22:55 E_mE :D
22:55 kaos|work a list of the aliases is here: http://trac.agavi.org/browser/branches/0.11/src/config/AgaviValidatorConfigHandl​er.class.php?rev=1980#L60
22:55 E_mE wooo thanx
22:55 kaos|work and the parameters they accept are noted in the phpdocs for each validator
22:56 kaos|work like here: http://www.agavi.org/docs/latest/apidocs/agavi/validator/AgaviNumberValidator.ht​ml
22:56 kaos|work but thats errm
22:56 kaos|work unreadable
22:56 kaos|work so its better to check the source of the implementing classes
22:56 kaos|work (all in src/validator)
22:57 E_mE thank you loads :D does it explain anywhere how to read the validation results in the action?
22:57 kaos|work err, no :D
22:58 kaos|work thats more or less complex, depends on what you exactly want to do
22:58 E_mE i understand that it passes back an array
22:58 E_mE with the fields that failed with there comments etc
22:58 kaos|work you should check http://www.agavi.org/docs/latest/apidocs/agavi/validator/AgaviValidationManager.​html
22:59 kaos|work there are several retrieval methods for errors
22:59 kaos|work you should use the get*Incident methods for maximum flexibility
23:00 E_mE ill have a pick through once ive define my fields :)
23:00 kaos|work if you don't understand something there, just ask
23:00 kaos|work its quite complex partially
23:01 E_mE :) thanx.. im sure you will get nicely hassled by me =P
23:01 kaos|work :D
23:02 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
23:07 implement [n=impl@httpcraft/php/impl] has joined #agavi
23:13 implicate [n=impl@adsl-221-112-246.rmo.bellsouth.net] has joined #agavi
23:22 impl [n=impl@httpcraft/php/impl] has quit [No route to host]
23:22 implicate is now known as impl
23:27 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
23:28 implement [n=impl@httpcraft/php/impl] has quit [Read error: 110 (Connection timed out)]
23:30 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has joined #agavi
23:56 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has quit []
23:58 splatch_ http://www.ohloh.net/ < Is anyone use this site?
23:59 lukoko [n=kosher@78.57.212.36] has joined #agavi
Day changed Thu Jun 07 2007
00:25 E_mE something weird is started happening, my content slot is just return null and the page title is just labelled as "Register Action" ... seems like its not calling the view or so??
00:26 _cheerios programmer knows best o_O
00:30 E_mE i even wrote die(); in my executeWrite() and it doesn't die
00:30 E_mE routing is correct since ive not changed it
00:30 kaos|work maybe you made your action secure and it's redirecting to your login action now ?
00:31 E_mE no secure code in the action
00:31 E_mE all i added was getting user attributes
00:31 Wombert is it POST?
00:31 E_mE yes
00:33 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["gnight guys"]
00:34 E_mE can you see any errors here: http://www.pastebin.ca/545807
00:35 E_mE do you think i should try deleteing any PHP session data files
00:35 kaos|work can you check if your view gets called ?
00:35 kaos|work maybe your action isSimple() ?
00:36 Wombert that json is not good there
00:36 Wombert do that using output types and using the routing, in a dedicated action
00:37 E_mE ah.. ok wombert :)
00:37 Wombert you can use the routing to check an HTTP header sent by your ajax library
00:37 E_mE ill add note next to it
00:40 E_mE Wombert: i have this code: <!--route pattern="text/javascript" source="_SERVER[HTTP_ACCEPT]" output_type="html_ajax" stop="false" /--> but not using it
00:42 E_mE is that what you are referecing?
00:42 E_mE also kaos|work: check the pastebin i sent... thats the action
00:44 kaos|work hmm, maybe the validation is failing and its calling your error view ? :o
00:44 splatch_ hello :)
00:44 E_mE ah, will validation override my action data?
00:44 lukoko [n=kosher@78.57.212.36] has quit [Remote closed the connection]
00:44 E_mE hi splatch_
00:44 kaos|work no, but if it fails, your action won't be called ;9
00:45 E_mE ah :D ... so the view is called directly by the validator
00:45 kaos|work the error view, yes (or what you return in handle(Read|Write)Error
00:46 kaos|work anyways, brb in a bit
00:46 E_mE thanx :)
00:46 kaos|work [n=dominik@87.79.35.58] has quit []
00:48 E_mE Wombert: are you going to change the overriding ability of the validator over actions... :/
00:48 Wombert eh?
00:51 E_mE well, kaos says that the validator automatically calls the errorView when validation fails
00:51 Wombert no
00:52 E_mE im confused now :(
00:52 Wombert it runs handleError()
00:52 Wombert (or handleWriteError() first)
00:52 E_mE in the action
00:52 Wombert which by default returns "Error" for the view name
00:53 Wombert yes
00:53 E_mE ah ... so i need to add that to my action :)
00:53 E_mE thank you :D
00:53 Wombert if you want to override it, yes
00:53 Fastly [n=fast@AC8DC90A.ipt.aol.com] has joined #agavi
00:53 Wombert but after all, if validation fails, that means an error occured, so why would you still want to run the same fiew
00:53 Wombert view
00:53 E_mE i never relised that handleWriteError() was a function in actions
00:54 E_mE well, i want to show the Success (text input view) with the data that was entered and highlight the fields that had errors
00:54 Wombert nah
00:55 Wombert you should have an ErrorView
00:55 Wombert an InputView
00:55 Wombert and a SuccessView
00:55 Wombert InputView just shows the form
00:55 Wombert ErrorView uses the same template
00:55 Wombert SuccessView shows a success template
00:55 E_mE okay :)
00:56 E_mE thank you loads fr your help.. its alway apprisated :D ... throws shot of absoult vodka at you :D
00:57 Wombert sample app's login action does it this way
00:58 E_mE i still need to flow to the same rythum scheme
00:59 E_mE Wombert: you ever drank absoul vodka before?
01:00 E_mE Absoult
01:00 splatch_ vodka?
01:00 splatch_ where is vodka?
01:00 E_mE on my table next to me :)
01:00 E_mE Absoult Citron :)
01:01 splatch_ E_mE: where do you live?
01:01 E_mE UK, Cornwall... you?
01:01 splatch_ hm.. PL, Warsaw
01:01 splatch_ it's far a lot :)
01:01 E_mE nice .. i bet you get the good vodka in poland
01:02 E_mE you ever drank Gin?
01:02 splatch_ no, i don't like colour alkohols
01:02 splatch_ E_mE: maybe i'll go to London in this year, i can grab some vodka from Poland, special for us :)
01:02 E_mE Colour alcohol?
01:02 E_mE i live in Cornwall is far south west
01:02 E_mE of UK
01:03 E_mE hehehe, though that would be good ;)
01:03 splatch_ E_mE: color is for example Whisky
01:03 E_mE its colourless
01:04 splatch_ yes, but i preffer normal vodka, without bonuses :)
01:04 E_mE :) I didn;t use to like Gin, but now i love it...
01:05 E_mE you ever tried scotch malt whisky?
01:06 splatch_ E_mE: no, as i said - i don't drink colors :)
01:08 splatch_ is now known as splatch`
01:14 splatch` E_mE: but, i can try
01:14 splatch` E_mE: I'm not "pro" drinker like Polish in UK :)
01:15 splatch` btw E_mE are you saw an Polish in you region?
01:30 kaos|work [n=dominik@p508721E2.dip0.t-ipconnect.de] has joined #agavi
01:36 Fastly hey Wombert, i'm working on this EmailerModel at the moment and inside EmailerModel::send() i cannot do a $this->setParameter('request_lock_barf', false); in order to allow me to create a new execution container for the EmailerAction we discussed. any ideas?
01:44 japerr [n=japerr@adsl-70-233-146-232.dsl.okcyok.sbcglobal.net] has joined #agavi
02:04 kaos|work [n=dominik@p508721E2.dip0.t-ipconnect.de] has quit []
02:05 japerr [n=japerr@adsl-70-233-146-232.dsl.okcyok.sbcglobal.net] has quit []
02:22 Wombert it's a config parameter to the request
02:23 Wombert [n=Wombert@p508721E2.dip0.t-ipconnect.de] has quit []
03:01 Fastly so i'd still set it as $this->setParameter, but in the same Action that orignally instantiates the EmailerModel?
03:01 Fastly *set it using
03:03 JamieWolf [n=JamieWol@e177184107.adsl.alicedsl.de] has quit ["Gone for a Drink"]
03:14 Fastly ok, well the above works for now but do let me know if there is a more sensible way - thanks :-)
03:27 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
04:33 japerr [n=japerr@adsl-70-233-156-204.dsl.okcyok.sbcglobal.net] has joined #agavi
05:04 lockes [n=locke@70.88.51.126] has joined #agavi
05:14 lockes [n=locke@70.88.51.126] has quit ["Lost terminal"]
05:59 japerr Evening
05:59 japerr [n=japerr@adsl-70-233-156-204.dsl.okcyok.sbcglobal.net] has quit []
07:08 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
07:08 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
07:09 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
07:46 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
08:25 Arme[N] _o/ Huomenta!
08:26 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
09:17 SunboX [n=Miranda@80.243.35.154] has joined #agavi
09:23 codecop [n=codecop@88.118.219.141] has joined #agavi
09:27 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:27 _cheerios huomenta
09:40 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:02 E_mE [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
10:03 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)]
10:09 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:09 RossC0 HUOMENTA!
10:14 v-dogg huomenta
10:16 JamieWolf [n=JamieWol@e177184107.adsl.alicedsl.de] has joined #agavi
10:17 JamieWolf huomenta :)
10:17 codecop huomenta _o/
10:43 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:45 SunboX [n=Miranda@80.243.35.154] has quit [Read error: 104 (Connection reset by peer)]
10:50 _cheerios heh hugo chair http://www.newlaunches.com/archives/hubo_fx1_chair_bot.php
10:50 _cheerios forget those Aerons!
10:53 Arme[N] omg what's that
11:33 RossC0 Anybody running the latest from svn?
11:34 RossC0 r1980
11:35 v-dogg no but I was born 1980. does that count?
11:36 RossC0 v-dogg r1980 eh?
11:37 RossC0 hmm RossC0 r1977
11:38 RossC0 don't like that analogy!
11:38 RossC0 brb
11:38 digitarald [n=Miranda@151.Red-83-52-202.dynamicIP.rima-tde.net] has joined #agavi
11:46 _cheerios 1980 \o/
11:49 Whisller [n=example@217.97.146.67] has joined #agavi
11:50 Whisller Witam
11:56 Whisller [n=example@217.97.146.67] has quit []
11:56 Whisller [n=example@217.97.146.67] has joined #agavi
11:57 MikeSeth huomenta!
11:58 RossC0 huomenta Mike!
11:59 digitarald anybother ever used RESTful ...
11:59 Whisller Soundtrack from Twin Peaks is great
12:00 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
12:00 Whisller I' hearing it almost whole day
12:01 MikeSeth I loved twin peaks
12:01 MikeSeth did you know that it was considered one of the top shows of the century in Russia?
12:01 Xylakant ¡Ola!
12:02 Whisller I didn't know it.
12:02 MikeSeth well after the breakdown of USSR the "freedom" kicked in and russian TV started bulk buying shitty shows from US
12:02 MikeSeth like Santa Barbaba, Dallas, Sweney etc
12:03 MikeSeth they hauled Twin Peaks too
12:03 MikeSeth and since that was probably the first time they shown creepy killings on Russian TV..
12:06 Whisller But I never sought that movie :( I sought only first 5 part, not my TV repeat whole series. Yeasterday I sought how it will be finished ;p Good end for that movie. But soundtrack from it are really good, is that good like music from Requiem from the Dreams or Braveheart.
12:07 Whisller *not = now
12:07 Whisller Sorry for grammar :)
12:09 Whisller Ehh I don't have a time for learn language :/
12:10 MikeSeth well if you want a kick ass athmospheric OST, try the two OSTs from GitS SAC
12:16 RossC0 digitarald: RESTful as in applying REST ?
12:16 RossC0 or is it an app?
12:18 digitarald Jester like stuff ... http://thoughtbot.com/projects/jester
12:19 RossC0 looks more ORM
12:20 digitarald yes
12:20 digitarald Rails stuff
12:20 RossC0 Nope I did a REST style client in JS thou
12:21 digitarald but in rails its integrated
12:21 digitarald in merb too ... which i try
12:21 RossC0 yeah - but why ? its another layer of complexity
12:22 RossC0 I'd prefer to have a moorule that submits a form if its Ajaxable
12:22 RossC0 rather than writing lots of code in JS to do updates
12:22 RossC0 Gets etc..
12:23 digitarald i'll test it, since i write a degree work for ajax ... so implementing RESTfull pattern is a nice thing to write about
12:23 RossC0 If it means you have to write lots of client side code then, for me its not keeping things DRY
12:24 digitarald i don't think its a lot of client side code
12:24 RossC0 as I'd have code to handle without JS and lots of similar code for JS
12:24 digitarald and i also want to integrate Google Gears ... then its future code :)
12:26 RossC0 digitarald: You could make a pure js client to a Rails Restful app
12:27 digitarald combining RESTful and Google Gears ... yes
12:27 RossC0 hmm also it synchronous
12:28 RossC0 *its
12:34 _cheerios one grip about google gears that i read about is synchronisation. there is none. while you can get stuff for offline viewing, interacting with the content while offline will not reflect to what's online, when you return online.
12:34 _cheerios *gripe
12:34 Wombert [n=Wombert@p50872B5E.dip0.t-ipconnect.de] has joined #agavi
12:39 digitarald _cheerios, thats work for the developer
12:39 digitarald how should google know how to synchronize?
12:41 _cheerios there is no simple answer. ever done online/offline synchronization? not even Google couldn't hack it with all their PhD's.
12:43 RossC0 _cheerios: thats because its application specific!
12:43 RossC0 shakes his head
12:43 _cheerios hello obvious
12:44 RossC0 So you need to determine what counts as stale and what doesn't! Google can't automagically do that for you!
12:44 RossC0 or do you mean there is no hook for determining status is back online?
12:45 RossC0 / data has changed?
12:45 JamieWolf [n=JamieWol@e177184107.adsl.alicedsl.de] has quit ["Gone for a Drink"]
12:45 Whisller [n=example@217.97.146.67] has left #agavi []
12:49 kaos|work [n=dominik@p50872B5E.dip0.t-ipconnect.de] has joined #agavi
12:49 digitarald best thing, send the complete client database to server and check there there :)
12:50 digitarald or ... check inside the RESTful model code
12:50 _cheerios imagine what a pita that is. anycase, that's how it is with gg.
12:50 digitarald some simple flags can handle it
12:51 digitarald RESTful client code saves most of the data clientside
13:12 RossC0 digitarald: isn't it going to be slow?
13:13 digitarald depends on the app
13:13 RossC0 actually depends on the models
13:13 RossC0 don't want to update each user - wait for confirmation and then update the next
13:13 digitarald ... and the models and their data of course
13:13 RossC0 sure
13:16 JamieWolf [n=JamieWol@e177032028.adsl.alicedsl.de] has joined #agavi
13:21 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
13:21 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
13:21 Arme[N-1] is now known as Arme[N]
13:37 Xylakant how can I validate the $_SERVER['REMOTE_ADDR']?
13:40 Xylakant or rather: how can I specify $_SERVER['REMOTE_ADDR'] as the target in the validation XML
13:42 digitarald i saw it in the source some time ago ... but can't remember
13:43 v-dogg I asked the same question some time ago... but can't remember either :)
13:43 Xylakant eine runde calgon für alle.
13:44 RossC0 is it the same as in routing.xml ?i.e. source="_SERVER[REMOTE_ADDR]"
13:46 digitarald no
13:46 Xylakant according to the docs in the source, the validator does not accept a source parameter
13:46 digitarald just took a look at the xsl
13:46 digitarald xsd
13:46 Xylakant accourding to the source, the validator accepts a source parameter :)
13:48 Xylakant but SERVER is not a valid value for that parameter
13:50 Xylakant wombert/kaos?
13:57 v-dogg has there been some issues with recent revisions? do I dare to update?
13:58 RossC0 I've had to patch the core
13:58 splatch` hello RossC0 :)
13:59 RossC0 but other than #525 its all good :D
13:59 RossC0 he splatch`
13:59 kaos|work [n=dominik@p50872B5E.dip0.t-ipconnect.de] has quit []
14:00 v-dogg RossC0: that's related to caching only?
14:00 Wombert mh?
14:01 RossC0 and validate.xml files
14:01 RossC0 ah yeah - caching
14:02 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
14:05 Wombert we hvae some problems with that, yeah, RossC0
14:06 Wombert I changed the config cache code so all config handlers are only loaded and initialized the first time a config handler is used, and not each time
14:06 Wombert in production mode, that means chicken and egg issues
14:06 Wombert I will look into it asap
14:06 Wombert require_once is the simple solution, however, byte code caches cannot accelerate that
14:06 Wombert afaik
14:07 v-dogg I think some of the _once issues have been solved with APC and friends
14:09 RossC0 hmm is there a way to check if Interfaces exist / have been loaded?
14:12 Fastly [n=fast@AC8DC90A.ipt.aol.com] has quit [Read error: 110 (Connection timed out)]
14:12 Wombert [n=Wombert@p50872B5E.dip0.t-ipconnect.de] has quit []
14:16 RossC0 nm
14:17 Whisller [n=example@217.97.146.67] has joined #agavi
14:21 v-dogg I'm having troules with fpf and encodings (again)
14:22 v-dogg I want to stop using loadHTML but fpf won't parse my latin1 encoded data
14:24 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)]
14:24 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
14:26 Wombert [n=Wombert@87.79.35.58] has joined #agavi
14:27 Wombert sure, class_exists
14:28 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Connection timed out]
14:28 RossC0 interface_exists
14:32 v-dogg is someone using other encoding than utf-8 and parses XML (and not HTML)?
14:33 kaos|work [n=dominik@87.79.35.58] has joined #agavi
14:33 Wombert can you build a reproduce case, v-dogg
14:33 RossC0 hmm - Wombert - one solution would be to make AgaviConfigCache::loadConfigHandlers(); public and call it bootstrap and then set the autoload registering after it
14:34 Wombert yes but I don't want to do that, RossC0
14:34 Wombert I made a change that only loads the config handlers if something needs to be compiled
14:34 Wombert that boosts performance quite a bit I imagine
14:34 RossC0 ok - but autoload needs xml handling
14:34 Wombert before, on each request, even in non debug mode, all config handlers were loaded and initialized!
14:35 Wombert (IIRC)
14:35 Wombert now, it doesn't make instances, just loads definitions, which is more efficient
14:36 RossC0 yeah but it doesn't work :>
14:37 v-dogg Wombert: a test project? or just some files?
14:37 Wombert v-dogg: I guess pasting the html output that fails is enough
14:37 Wombert v-dogg: what's the error?
14:37 Wombert does it complain about invalid utf8?
14:37 v-dogg yup
14:37 Wombert if yes, then it cannot detect your char encding properly
14:37 Wombert okay paste it please
14:39 CIA-11 david * r1981 /branches/0.11/src/filter/AgaviFormPopulationFilter.class.php: docblock typo fix
14:39 v-dogg http://pastebin.ca/547416
14:40 Wombert okay
14:40 Wombert first of all
14:41 Wombert can you add
14:41 Wombert <?xml version="1.0" encoding="iso-8859-1"?>
14:41 Wombert to see if it goes away then
14:41 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
14:41 Wombert libxml does have a feature where even in xml parsing mode, it detects xhtml input, and then reads the charset from the meta tag. that doesn't work in your case, so we have to find out why, or if we need to incorporate a workaround
14:42 v-dogg xml prolog fixes the problem
14:42 Wombert k
14:43 v-dogg but does it make some browsers go bananas?
14:43 digitarald ie
14:43 digitarald looses his strict doctype
14:44 Wombert errr wtf
14:44 MikeSeth how can I skip validation for read method and only enable it for the write method?
14:45 MikeSeth better yet, two separate validations, one for read and one for write
14:45 Wombert <validators method="write">
14:45 Wombert I think
14:45 Wombert $this->getContext()->getRequest()->setAttribute('populate', true, 'org.agavi.filter.FormPopulationFilter');
14:45 Wombert eh?
14:45 MikeSeth sweeeeeeeeeet :D
14:47 Wombert v-dogg: I could add a fix that uses the content-type http_header param from the output type
14:47 Wombert but I can't even reproduce, wtf, FPF won't run
14:48 Wombert wtf
14:48 Wombert doesn't work with true
14:48 Wombert just with array()
14:48 Wombert wtf wtf
14:49 Wombert ah okay that seems intentional
15:02 E_mE [n=E_mE@81.168.18.2] has joined #agavi
15:03 E_mE hi, ive got small problem..
15:04 _cheerios so v-dogg stumbled on the same case as I with the charsets. solved also with prolog.
15:04 E_mE ive just copied my RegisterSuccessView.php to RegisterInputView.php and renamed the class to Default_RegisterInputView
15:04 E_mE and same for Default_RegisterSuccessView
15:05 E_mE but i'm now getting an exception saying: Could not find View "RegisterInput" for module "Default"
15:05 E_mE talk to you about it later :)
15:05 Fastly [n=fast@194.42.125.16] has joined #agavi
15:05 E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection]
15:08 v-dogg I think I can use xml prolog with out worries as our markup and styles are so simple
15:09 v-dogg the app is designed to be usable with any device so we keep fancy stuff to a minimum :)
15:10 MikeSeth v-dogg: you should be very careful about prologs and doctypes, many 3rd party libraries rely on them to detect the DOM implementation. I once spent a night debugging a Firefox bug someone filed: on his site, Firefox would display dynamic menus fine, except on some random pages at which the menu would be drawn offscreen. Turned out the script was probing the doctype to figure out how to calculate the viewport size
15:11 CIA-11 david * r1982 /branches/0.11/src/filter/AgaviFormPopulationFilter.class.php: some improvements for the FPF (charset detection based on output type's http_headers Content-Type param, better error checks for manual population)
15:11 Wombert that should help, v-dogg
15:11 digitarald MikeSeth, with YUI?
15:11 MikeSeth digitarald: no, just some random lame-ass script. The noob that wrote the site used a bunch of similar templates with different doctypes to generate pages.
15:12 Wombert and he didn't know that you can determine quirks or standards mode via JS :p
15:12 MikeSeth oh he DID. He just had a different piece of JS for every doctype :D
15:13 Wombert I mean like document.quirksMode or so
15:13 MikeSeth they were trying to convince me it was a real bug in Firefox until I went after the script, deobfuscated it, pwned it, and movde the bug to evang
15:13 MikeSeth donno if evang did anything about it since then
15:15 codecop [n=codecop@88.118.219.141] has quit ["Leaving"]
15:15 digitarald bad hacked js all over the world ... how saw
15:17 v-dogg Wombert: no help :(
15:17 Wombert woot?
15:17 Wombert do you have the charset in the output type?
15:17 v-dogg ah, lemme check...
15:17 Wombert <parameter name="http_headers">
15:17 Wombert <parameter name="Content-Type">text/html; charset=iso-8859-1</parameter>
15:17 Wombert </parameter>
15:18 Wombert I'm thinking about looking for the charset inside the file right now...
15:18 Wombert but that would be a preg
15:18 Wombert hmm
15:18 v-dogg fixed! thanks man
15:18 v-dogg I was still using some old <parameter name="Content-Type">text/html; charset=ISO-8859-1</parameter> format
15:19 v-dogg without <parameter name="http_headers">
15:19 Wombert wondrful
15:19 v-dogg now, s/&nbsp;/&#160;/g
15:21 Wombert RossC0: your configs problem is pretty much reproducible, right?
15:23 Wombert I know why that's happening, RossC0
15:23 Wombert you're using doctrine, right?
15:24 Wombert and in that DoctrineDatabase, you use AgaviConfigHandler::replaceConstants()
15:24 Wombert that triggers an autoload of AgaviConfigHandler, which loads the interface
15:24 Wombert it's now been moved to AgaviToolkit::expandDirectives()
15:24 Wombert but I'll do a fix nontheless
15:24 RossC0 hmm two ticks
15:25 Wombert RossC0: don't fix your doctrine handler yet :)
15:25 RossC0 I have and it didnt fix it
15:25 RossC0 :(
15:25 RossC0 let me revert agavu
15:26 Wombert you'Re probably using it somewhere else
15:26 RossC0 *agavi
15:26 Wombert e.g. to literalize() sth
15:26 Wombert okay revert and try again, should show the same error
15:27 Wombert now require_once only the legacy config handler interface, the base config handler, and the normal config handler
15:27 Wombert i.e. 276, 278 and 279
15:28 RossC0 now at r1980
15:28 Wombert getting errors?
15:29 RossC0 cool
15:29 Wombert it just works?
15:29 RossC0 found another instance
15:29 Wombert oO
15:29 RossC0 in DoctrineDB of AgaviConfigHandler::replaceConstants()
15:30 RossC0 and replaced and now it works!
15:30 Wombert okay
15:30 Wombert can you replace it back please
15:30 Wombert so it fails again
15:30 Wombert then in loadConfigHandlers(), _once only the three mentioned above
15:30 Wombert does that solve it
15:31 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out]
15:33 RossC0 yeah!
15:33 RossC0 it does
15:34 Wombert excellent
15:34 RossC0 cool - so no breaking change ;)
15:34 v-dogg Wombert is shooting down issues and bugs like crazy :)
15:35 RossC0 but I'll update my db handler so it uses the new method
15:36 CIA-11 david * r1983 /branches/0.11/src/config/AgaviConfigCache.class.php: fix for people who have calls to (deprecated) AgaviConfigHandler::*() in their custom code, closes #525
15:36 Wombert mh that means I deserve the daily fix of the Light of the Force song :p
15:36 RossC0 hugs Wombert
15:37 RossC0 cheers ears
15:38 Wombert hah
15:38 Wombert you're welcome
15:39 Whisller [n=example@217.97.146.67] has left #agavi []
15:42 RossC0 hmm I need to do a new post for my blog
15:43 CIA-11 david * r1984 /branches/0.11/CHANGELOG: ze recent changes
15:43 MikeSeth write about goatse winning yahoo bix contest? :D
15:44 RossC0 ?
15:44 MikeSeth *shrug*
15:44 MikeSeth you run agileweb right?
15:44 RossC0 yup
15:44 MikeSeth I always wanted to write a guest post there
15:45 RossC0 I'm still waiting
15:45 RossC0 :D
15:45 MikeSeth will you accept how-not-to-do-things and you-are-all-idiots type rants?
15:45 RossC0 if anyone wants to write a post then they can as long as it fits the theme
15:45 RossC0 maybe not you-are-all-idiots
15:45 Wombert speaking of blogging, MT4 is gonna be open source
15:46 RossC0 mt4 ?
15:46 MikeSeth Wombert: isnt that like admitting defeat?
15:46 MikeSeth I can see the excuses already
15:46 digitarald moveable type RossC0
15:47 MikeSeth "We are *NOT* out of the closet. We just feel the need to share!"
15:48 Wombert well, I never used it, but it seems to be rather ace
15:48 Wombert and seriously, there's no way it could be worse than WP
15:48 RossC0 WP is baddd
15:51 Wombert I'd say it's the definition of bad
15:51 _cheerios mt4 looked good on the screenie
15:54 digitarald Symphony for all blogs ;)
16:01 MikeSeth <digitarald> cancer to the bloggers!!
16:02 MikeSeth :D
16:03 splatch` hm
16:03 splatch` wheen Agavi site will be available? :)
16:04 MikeSeth Wombert: who wrote the build system?
16:04 MikeSeth Wombert: I cant figure out how to invoke its targets from a script so that one could create actions from emacs without typing things
16:12 Xylakant if agavi matches a route but can't find the module/action the route references it returns 404 page not found. i find that a little misleading, this should be an error imho
16:12 Xylakant does anyone agree?
16:13 _cheerios what kind of error? isn't 404 an error already?
16:13 Wombert Xylakant: you can find out if the URL was wrong
16:13 Wombert or if the module aciton was not found
16:14 Wombert http://trac.agavi.org/browser/branches/0.11/src/controller/AgaviExecutionContain​er.class.php#L219
16:30 Xylakant i'd have expected an exception as with most other config errors
16:31 Xylakant it's pretty obvious that there is a mistake on the server side
16:31 Xylakant and 4xx errors are client side errors
16:45 Fastly [n=fast@194.42.125.16] has quit []
16:47 impl [n=impl@httpcraft/php/impl] has joined #agavi
16:47 v-dogg can I rename an svn branch or should I just copy it and delete the old one?
16:47 MikeSeth yeah
16:47 MikeSeth branch is just a directory
16:48 impl svn mv
16:48 Wombert rename = copy, delete
16:48 MikeSeth svn mv $REPO/branches/foo $REPO/branches/bar
16:48 MikeSeth I want hpricot for PHP!!!
17:00 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
17:01 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
17:01 impl kicks whytheluckystiff
17:03 v-dogg ah, TortoiseSVN is so sweet
17:09 impl MikeSeth: Just looking at hpricot's code, there's no way given the insane amount of operator overloading and stuff that it makes use of it would be nearly as good in PHP
17:17 Xylakant wombert, how can i validate/access parameter from the $_SERVER/$_ENV arrays?
17:18 Wombert make your own request data holder
17:18 Wombert extend webrequest
17:18 Wombert populate new sources with the respective data
17:18 Wombert done :)
17:19 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [Connection timed out]
17:20 MikeSeth impl: yeah, but at least xpath imitation over ragel would be nice
17:20 impl ragel?
17:21 Xylakant the webrequest already reads some of the SERVER variables
17:21 Xylakant namely those that start with HTTP_
17:21 Wombert [n=Wombert@87.79.35.58] has quit []
17:23 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
17:44 Wombert [n=Wombert@xdsl-87-79-120-207.netcologne.de] has joined #agavi
17:55 digitarald [n=Miranda@151.Red-83-52-202.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)]
17:57 digitarald [n=Miranda@151.Red-83-52-202.dynamicIP.rima-tde.net] has joined #agavi
18:00 Xylakant any propel experts here?
18:01 splatch` hehe
18:01 splatch` not one! :)
18:02 MikeSeth impl: ragel PWNZ
18:02 MikeSeth Xylakant: Wombert is a propel maintainer
18:03 digitarald only propel victims here ;)
18:05 impl http://www.cs.queensu.ca/~thurston/ragel/ ... zis?
18:06 impl It looks like flex
18:08 Xylakant yeah, but he seems occupied :)
18:09 Xylakant wombert, is there a way to coerce propel to load references more than level deep? (ie table1 -> table2 -> table3 and load objects from table1 joined all the way down?
18:11 MikeSeth impl: weee
18:11 MikeSeth impl: Hpricot is a ruby html parsed written in Ragel
18:12 Wombert [n=Wombert@xdsl-87-79-120-207.netcologne.de] has quit []
18:13 impl 11 #define NO_WAY_SERIOUSLY "*** This should not happen, please send a bug report with the HTML you're parsing to why@whytheluckystiff.net. So sorry!"
18:13 RossC0 http://video.google.com/videoplay?docid=3166063496020415395
18:13 impl This guy shouldn't be allowed to write C
18:19 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
18:40 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
18:44 Whisller [n=example@217.97.146.67] has joined #agavi
18:56 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
19:25 codecop [n=codecop@88.118.173.196] has joined #agavi
19:32 digitarald [n=Miranda@151.Red-83-52-202.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
19:46 Whisller [n=example@217.97.146.67] has left #agavi []
19:46 Xylakant cu all
19:46 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
20:01 E_mE [n=E_mE@91.84.10.29] has joined #agavi
20:07 Arme[N] is now known as Arme[0]
20:28 E_mE will the following routing XML work?
20:28 E_mE <!--route pattern="text/javascript" source="_SERVER[HTTP_ACCEPT]" output_type="json" stop="false" /-->
20:28 E_mE <!--route pattern="(username:\S+?)/$" module="Default" action="Register" /-->
20:28 E_mE <!--/route-->
20:28 E_mE exluding the commenting ;)
20:30 Whisller [n=example@217.97.146.67] has joined #agavi
20:33 E_mE also how can i use a database check in the validator to see if an e-mail address exists? or must i write this code manually?
20:36 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
20:36 _cheerios mmm... salmiakki icecream
20:38 Arme[0] is now known as Arme[N]
20:41 E_mE _cheerios: salami ice cream :/ =P hehehe
20:48 _cheerios no, http://en.wikipedia.org/wiki/Salmiakki
20:59 E_mE can you do rollovers with CSS?
20:59 E_mE oh thanx _cheerios
21:00 E_mE interesting :)
21:01 v-dogg E_mE: :hover
21:03 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
21:08 E_mE :)
21:13 _cheerios v-dogg, like 80's rock?
21:24 codecop [n=codecop@88.118.173.196] has quit ["Leaving"]
21:45 E_mE _cheerios: do you like david hasselhoff ;)
21:52 JamieWolf [n=JamieWol@e177032028.adsl.alicedsl.de] has quit ["Gone for a Drink"]
21:53 _cheerios sometimes im in the mood for hoff
22:03 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has joined #agavi
22:15 E_mE are there any good PHP forum classes?
22:15 E_mE that will ingreate nicely into agavi
22:20 JamieWolf [n=JamieWol@e177037110.adsl.alicedsl.de] has joined #agavi
22:25 impl forum 'classes'?
22:27 _cheerios E_mE, there can be after you make it happen
22:30 E_mE im gonna write my own forum
22:30 E_mE just need to design it :S
22:39 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["the great gianna sisters have come for me"]
22:52 kaos|work [n=dominik@87.79.35.58] has quit []
22:52 v-dogg E_mE: you already have coded your own guest book and now you wanna code a forum?-)
22:52 impl I suspect some of that code will be reusable
22:53 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
22:55 v-dogg woot! AOL is still developing Netscape :D
22:56 v-dogg I thought we were done with that crap already
22:56 impl [n=impl@adsl-221-112-246.rmo.bellsouth.net] has joined #agavi
23:05 E_mE v-dogg: i aint coded a guestbook
23:05 E_mE v-dogg: where did you get that idea from?
23:37 JamieWolf [n=JamieWol@e177037110.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)]
23:37 v-dogg just a lame joke. every php+mysql tutorial and book (five years ago) taught you to do some simple guest book or a forum
23:38 v-dogg nowadays it's all blogs and such :)
23:42 E_mE oh hehehe.. sorry :) .. i do know what you mean :)
23:43 E_mE slaps forhead
23:43 splatch` hm
23:44 splatch` anyone drink desperado beer?
23:44 E_mE is drinking Holsten pils atm
23:45 splatch` E_mE: where from Holsten is?
23:45 E_mE Germany
23:45 E_mE guess is one of there more commercial beers, but its widely available over here
23:45 splatch` hm.. desperado from Mexico
23:46 E_mE Tequila ;)
23:46 splatch` yes! :)
23:46 splatch` is so sweet
23:46 splatch` like no other :)
23:47 splatch` but, i've next beer, tradidional polish beer
23:47 E_mE :/ that sounds wrong
23:47 E_mE mmm polish beer... zywicks ;)
23:47 splatch` E_mE: one is good, but next must be other
23:47 splatch` E_mE: no, ¯ubr :)
23:47 splatch` E_mE: i don't like zywiec
23:47 splatch` it's light
23:48 E_mE i love Zywiec... its fairly cheap over here too, like £1.60 and (thank god) its a 500ML bottle
23:48 E_mE for some reason in the UK there obessed at selling beer in 275ML bottles and crap
23:48 E_mE Who the fuck was 275ML of beer
23:48 E_mE sorry for my outburst... but 500ML it good for me
23:49 splatch` E_mE: 0.5 is normall :)
23:49 E_mE i know.. but not to british, we have stupid size bottles.. my holsten is 275ML
23:50 splatch` E_mE: damm, is so small
23:51 splatch` E_mE: have you ever drink other beer from Poland?
23:51 E_mE tyscke or some similar spelling
23:51 E_mE and budwizer
23:51 E_mE ah nah thats czech actaully
23:51 E_mE budwizer that is
23:51 splatch` E_mE: tyskie is hm.. is not bad
23:52 E_mE but thats about it on the polish side of things
23:52 splatch` E_mE: is budwizer are good?
23:52 E_mE well, the czech budwizer is yeah, strong tasting
23:52 E_mE the american budwiser is weak tasting, but quite sweetly crisp
23:53 splatch` E_mE: i must send ¯ubr to you, it's great, low price beer :)
23:54 E_mE wow thats cool :) how much does it cost?
23:54 splatch` E_mE: low price, price is lees than zywiec
23:54 splatch` E_mE: 2.50 zl peer 0.5 box or bottle
23:55 E_mE ???
23:55 splatch` E_mE: one moment :)
23:55 splatch` i'll give price in euro
23:55 E_mE :)
23:56 splatch` E_mE: 0.5l/0.65 EUR
23:57 splatch` E_mE: how Zywiec cost up in UK?
23:57 E_mE :o
23:57 E_mE thats like £0.40p
23:58 splatch` E_mE: in Polan zywiec is less than 0.8 EUR
23:58 E_mE our zywiec costs around €2.60/0.5l
23:59 E_mE at the pub zywiec costs €3.20
23:59 splatch` omfg, is so expensive!
23:59 splatch` E_mE: have you ever drink "Dog in the fog"?
Day changed Fri Jun 08 2007
00:00 E_mE no
00:00 splatch` heh, in Poland this is one UK beer :D
00:00 E_mE you ever drank some English Ale?
00:00 E_mE never heard of it hehe
00:01 splatch` E_mE: no, i never tase really English beer
00:01 E_mE you should.. some of it is amazing
00:01 E_mE where i live we have a brewery called Skinners
00:02 E_mE and there is a beer called "Doombar" by another brewery called Sharps
00:02 E_mE Doombar is amazing
00:02 E_mE and Heligans Honey is so nice
00:03 Whisller Pfff zywiec pfff dog in the fog comandos is the best ;p
00:03 splatch` Whisller: :D
00:03 splatch` E_mE: i must find some shop with imported beers
00:03 Whisller btw http://winka.net/ ;)
00:03 E_mE Skinners beer is quite rare.. maybe ill send you some sometime ;)
00:04 splatch` Whisller: hahaha
00:04 Whisller cheap wines ;)
00:04 Whisller http://www.winka.net/opis :P
00:06 splatch` E_mE: so, when we'll send beers? :)
00:07 Whisller Karpacz it is strong beer, 9% ;)
00:07 E_mE when i can offord too :)
00:07 splatch` Whisller: i drink Kiper, in 06', that was strong beer, 11% :)
00:08 Whisller huh
00:08 Whisller It isn't for me ;p
00:08 splatch` but, when it wasn't cold it was terrible
00:09 Whisller To many % isn't good for my head ;)
00:09 Whisller hehehe like karpacz ;p you first must drunk some beers and next you can open karpacz ;)
00:09 splatch` E_mE: what offord does minds?
00:11 Wombert [n=Wombert@p50872B5E.dip0.t-ipconnect.de] has joined #agavi
00:12 E_mE whe ive got enough money is what i mean splatch`
00:13 E_mE im not that rich
00:13 Whisller E_mE: you should try our wine ;)
00:14 E_mE i work for a wine importer Whisller
00:14 splatch` E_mE: you rich, but beers in UK are expensive :)
00:15 E_mE not if you live in england, then your poor
00:15 Whisller what weather do you have in england, are mostly fog?
00:16 E_mE Whisller: ill show you where i live
00:17 Whisller I never been ther...strange 30% of polish people are there ; p
00:17 Whisller E_mE: ok :)
00:17 E_mE http://www.cata.co.uk/images/pen4.jpg & http://www.bosunslockerchandlery.co.uk/html/images/Falmouth.jpg
00:18 Whisller beautiful place :)
00:18 E_mE one of our local beaches: http://www.westcountrycottages.co.uk/publicwcc/images/tamarisk.jpg
00:19 Whisller It's look nice
00:19 E_mE i lived here 4 months ago: http://www.les-stclair.co.uk/perranporth_03.jpg
00:19 splatch` E_mE: send cost from PL to UK is ~20 GBP
00:20 E_mE bloody hell
00:20 Whisller ohhh you are kidding :> why you move from there, it is a great plaec
00:20 Whisller I Always wanted leave on beach
00:20 E_mE Whisller: in the winter its completely DEAD
00:20 Whisller maybe yes but you still have a sea :)
00:21 E_mE i have the see down the road from me too :)
00:21 Whisller :)
00:21 E_mE and the beach about 30 minute walk
00:21 splatch` E_mE: great place
00:21 Whisller heh I have hmm ok. 200km ;)
00:21 E_mE look up cornwall on google
00:22 splatch` E_mE: is so clear!
00:22 E_mE yeah, its atlantic ocean
00:22 splatch` E_mE: you never saw our capital and our sea
00:22 Whisller I live in little city, we have only a 3 lakes. Ehh sea , i want sea heh maybe in future ...
00:22 E_mE where i live isnt atlanic, but its about 10 (16KM) miles away
00:23 splatch` capital is one vig dust, sea is cold
00:23 splatch` *big
00:23 Whisller splatch`: no :) our sea aren't so cold
00:23 splatch` Whisller: yes, it is!
00:24 Whisller pfff ;p
00:24 splatch` maximum 15-18C
00:24 Whisller Because you aren;t a hot guy ;)
00:24 Whisller when I see polish girls then sea is 35C :D
00:24 Whisller *has
00:25 splatch` Whisller: yes i am, but lakes near my home city are hottest
00:26 splatch` they're have 25C and more
00:26 Whisller Maybe beaches are litter(because many of polish are a stupid idiots :/)but sea is great for me
00:26 splatch` E_mE: i've small test, can you give answer for one question?
00:29 Whisller Ok my little teletubbies now I go :)
00:30 Whisller [n=example@217.97.146.67] has quit ["Good night :)"]
00:30 E_mE splatch`: whats that?
00:31 splatch` E_mE: tell me - how are you?
00:31 E_mE ?
00:32 splatch` E_mE: that's part of high idea
00:32 splatch` E_mE: give me answer for my question - how are you :)
00:33 E_mE tipsy :)
00:33 splatch` hehe
00:34 splatch` most Polish will gave anser: i'm not fine etc
00:34 splatch` in this country we have only sceptic people
00:34 splatch` that's sick
00:35 E_mE sceptics are a result of russian communisum =P
00:35 splatch` E_mE: maybe, i don't know where it is from
00:36 splatch` E_mE: communism are in our heads
00:36 splatch` i like russians and i hate Germany
00:37 E_mE splatch`: I'm German
00:37 splatch` ok, you're exception, i like you :)
00:38 E_mE brown nosing aint good =P
00:38 splatch` but in my head is idea german = enemy
00:38 E_mE everyone has control over there head
00:40 splatch` E_mE: i know and i fight with this
00:40 E_mE how old are u splatch?
00:40 E_mE if you dont mind me asking
00:41 splatch` E_mE: i'm still 21 (1985)
00:42 E_mE see see.. do you use agavi?
00:42 splatch` E_mE: of course
00:43 E_mE what do you implement with it?
00:43 splatch` for example http://sheep.dywicki.pl/
00:43 splatch` it's small shop
00:44 splatch` based on Agavi 0.11
00:45 splatch` E_mE: can i give you one more question on private message?
00:45 E_mE why?
00:46 splatch` E_mE: these are our matters :)
00:46 E_mE taht worries me :S
00:47 splatch` E_mE: noo, that isn't this matters!
00:47 splatch` E_mE: don't worry! :)
00:47 E_mE :)
00:48 E_mE don't mean to sound rude... just paranoid
00:48 splatch` so, can i? :)
00:49 splatch` E_mE?
00:51 E_mE sorry.. me programming
00:51 E_mE how did you find out about agavi?
00:52 splatch` E_mE: i'm Mojavi fan
00:53 E_mE ah mojavi vetrian :)
00:53 splatch` hehe, yes :)
00:53 E_mE so you a long time PHP developer
00:53 splatch` i had two projects on Mojavi with Propel
00:54 splatch` E_mE: hm.. that's difficult question
00:54 splatch` from two years i'm working as programmer
00:54 splatch` but i'm really programming from four or five years
00:55 splatch` i don't know this moment really because i was so young ;)
00:56 splatch` E_mE: why you are askin' me about my experience?
00:57 E_mE just interested, im not a programmer as job :'(
00:58 E_mE but i hope to be in the near future
00:59 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has quit []
01:00 splatch` E_mE: what are you currenly doing?
01:02 E_mE programming forum for quickchef
01:03 splatch` E_mE: you're on correct way!
01:03 splatch` i was 15 or 16 when i start learn php
01:03 splatch` E_mE: how old are you?
01:05 splatch` i dislocated next leg :|
01:05 E_mE 24, 25 next month :)
01:06 splatch` E_mE: my friend from school was quickchef, he's 29
01:06 Wombert [n=Wombert@p50872B5E.dip0.t-ipconnect.de] has quit []
01:07 splatch` currenly he's going to change line (?)
01:08 splatch` E_mE: sorry, but i must go sleep, today i'm going to work :|
01:08 E_mE okay.. have good sleep
01:09 splatch` E_mE: thank you and mutually :)
01:10 splatch` bye!
01:14 E_mE cya
02:16 Wombert [n=Wombert@p50872B5E.dip0.t-ipconnect.de] has joined #agavi
02:30 E_mE Wombert: how comes http://www.quickchef.co.uk:555/ doesn;t display properly??
02:38 E_mE fixed problem :D sorry to hassel
02:40 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
02:43 E_mE how does http://www.quickchef.co.uk:555/ look to everyone... is it show correctly??
03:06 RossC1 [n=lawleyr@80.4.120.163] has joined #agavi
03:06 MrJeep hehe, isnt you securiy word kinda overkill ?
03:06 MrJeep i mean, the security word length
04:43 Wombert [n=Wombert@p50872B5E.dip0.t-ipconnect.de] has quit [Nick collision from services.]
04:43 Wombert_ [n=Wombert@p50872B10.dip0.t-ipconnect.de] has joined #agavi
06:45 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
06:55 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
08:21 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
08:37 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
08:37 RossC1 [n=lawleyr@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)]
08:42 v-dogg huomenta
09:14 Wombert_ humenta
09:15 Wombert_ is now known as Wombert
09:19 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:19 _cheerios huomenta!
09:25 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:26 digitarald [n=Miranda@62-43-154-107.user.ono.com] has joined #agavi
09:32 _cheerios For example, a classic Microsoft interview question was: "Why is a manhole cover round?"
09:32 _cheerios The right answer, of course, is, "Who cares? Are we in the manhole business?"
09:36 Wombert [n=Wombert@p50872B10.dip0.t-ipconnect.de] has quit []
09:41 digitarald [n=Miranda@62-43-154-107.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
09:43 _cheerios http://blog.pmarca.com/2007/06/how_to_hire_the.html
09:44 _cheerios http://icanhascheezburger.com/2007/01/11/hay-guise-im-an-indian-lol/
09:47 JamieWolf [n=JamieWol@e177037110.adsl.alicedsl.de] has joined #agavi
09:58 digitarald [n=Miranda@62-43-154-107.user.ono.com] has joined #agavi
10:06 codecop [n=codecop@88.118.220.24] has joined #agavi
10:07 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
10:10 E_mE [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
10:17 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:19 RossC0 Huomenta!
10:22 JamieWolf hi RossC0
10:24 RossC0 heh JamieWolf - hows it going?
10:24 RossC0 starting Functional Testing / Mock Client Tests today :D
10:25 JamieWolf no so well
10:25 JamieWolf one of my server is having segment faults :/
10:25 RossC0 eek
10:25 JamieWolf so right now I'm backingup everything ... then I need to call the Hoster ...
10:26 RossC0 hmm not fun
10:26 RossC0 is it php segfaulting?
10:29 digitarald [n=Miranda@62-43-154-107.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
10:31 JamieWolf no the memory seems to be faulty
10:31 JamieWolf so every service is failing one adter another
10:34 RossC0 ah - easy for them to fix - bit apinta
10:34 RossC0 *but a pain in the ass
10:39 JamieWolf truely. Hope they'll do it right away
10:40 _cheerios a new formatted server, with a copy of your old data in two weeks?
10:52 _cheerios "Sex, Drugs and Updating Your Blog"
10:53 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
10:54 Xylakant moin
10:54 RossC0 right I'm pestering people to write blog articles for Agileweb
10:55 RossC0 MikeSeth: Wanna do one on ragel and hpricot
10:56 RossC0 ??
10:56 RossC0 anyone else? _cheerios Xylakant ?
10:56 RossC0 :D
10:56 RossC0 v-dogg ?
10:58 v-dogg wooty
10:58 _cheerios what would topics range on? would you want specifically crafted on some particular ones?
10:58 RossC0 technical / web dev related
10:59 RossC0 so pretty broad
11:09 Wombert [n=Wombert@87.79.35.58] has joined #agavi
11:09 _cheerios any preferred set of approach to writing style, like: anger management? vent? pragmatic? dreaming? religious worship? spiritually uplifting? thoughtful? plain codelisting?
11:16 RossC0 pragmatic / thoughtful / insightful
11:17 RossC0 are the aims
11:18 JamieWolf w00t. My Backup file is 20Gig big, but on the partition there are only 10Gig... :/
11:18 JamieWolf Guess the file backuped itself as well
11:34 kaos|work [n=dominik@87.79.35.58] has joined #agavi
11:44 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
11:44 Xylakant RossC0: i'll try to think of a topic, if i have one i'll send you an article :)
12:12 digitarald [n=Miranda@151.Red-83-52-202.dynamicIP.rima-tde.net] has joined #agavi
12:16 RossC0 cool thanks Xylakant
12:26 codecop [n=codecop@88.118.220.24] has quit [Read error: 104 (Connection reset by peer)]
12:27 codecop [n=codecop@88.118.220.24] has joined #agavi
12:49 codecop in template i can access variables only with $template['somevar'] and not as $somevar ?
12:50 codecop itis normal or i can somhow access withaut $template[...]
12:51 Xylakant you can use extract()
12:54 Xylakant try setting the parameter 'extract_vars' to true in your renderer configuration
12:54 Xylakant but i would not recommend doing that, it clutters your namespace for little added benefit
12:55 Xylakant you might get collisions if someone names a variable 'slots' or 'inner'
12:55 Xylakant or rather: you will get collisions in that case.
12:56 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
13:03 digitarald Muahaha ... we have a spanish telefonica guy here
13:03 digitarald ... want to sell us a new connection
13:03 digitarald ... and he does not know what upstream he can give us, needs to call another guy
13:04 digitarald spain ... tze tze
13:09 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
13:10 codecop Xylakant, thanx for info
13:10 Xylakant isn't that always the thing with sales people?
13:10 Xylakant when you ask technical questions, they need to ask someone.
13:11 codecop so best practice is use $template[...]
13:11 digitarald it was a question about the upstream in his product, not really a nerd question ;)
13:11 Xylakant or even worse, they promise 'everything you need will be done' and then it's up to us developers to make that statement reality...
13:12 _cheerios you're not a big enough customer to warrant praration to make a direct sale, digitarald :)
13:12 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
13:13 codecop [n=codecop@88.118.220.24] has quit ["Leaving"]
13:14 Xylakant codecop: best practice is perhaps a bit strong, but i would recommend using $template[]
13:32 RossC0 is there a config option to turn caching of content off?
13:32 RossC0 / don't use cached content
13:32 _cheerios stay in development mode
13:33 RossC0 does that mean debug on?
13:33 E_mE [n=rabbits@host217-37-52-241.in-addr.btopenworld.com] has joined #agavi
13:33 RossC0 I dont want to have to recompile the config xmls
13:33 E_mE hi all :)
13:33 RossC0 each request
13:34 _cheerios that's how i've done it so far. a caching flag would be welcome, too.
13:35 v-dogg caching flag? enabled="false"?
13:35 RossC0 no a global caching flag - I don't want to have to edit all Action.xml cache files
13:36 v-dogg but isn't there a global flag already?
13:36 RossC0 thats what I'm asking!
13:36 RossC0 is there??
13:36 RossC0 if so where!#
13:36 v-dogg namely enabled="false" :)
13:36 RossC0 in settings.xml ?
13:36 v-dogg hmm.. don't remember
13:37 RossC0 ok
13:38 _cheerios haha
13:38 RossC0 anyone remember ?
13:38 RossC0 :D
13:39 RossC0 nudges Wombert
13:40 v-dogg I bet he does :)
13:40 RossC0 :D
13:41 v-dogg isn't there config/caching.xml?
13:41 v-dogg I don't use caching so I don't know these things :)
13:42 RossC0 v-dogg - you're a real help at times!
13:42 _cheerios ~~ signs of friday in the air ~~
13:43 v-dogg RossC0: you serious or just being sarcastic?-)
13:45 RossC0 erm sarcastic - as it didn't work!
13:45 RossC0 ah caching
13:45 RossC0 hmm - maybe serious - testing
13:45 v-dogg :D
13:45 RossC0 woot
13:46 RossC0 hugs v-dogg
13:48 _cheerios worked? pastebin!
13:48 RossC0 http://pastie.caboo.se/68827
13:49 v-dogg environments are heaven
13:55 impl [n=impl@httpcraft/php/impl] has quit [Read error: 110 (Connection timed out)]
13:55 v-dogg isn't there anything about caching in the manual?
13:55 v-dogg dammit
13:56 v-dogg must read ze mail then
13:59 digitarald Xylakant, ever needed extended Dates ... http://digitarald.de/playground/js/Date.js
14:00 digitarald for my Jester/RESTfull stuff ... http://digitarald.de/playground/base.html
14:00 Xylakant thanks
14:00 Xylakant i've written pretty much the same thing
14:00 Xylakant it even looks api compatible :)
14:00 RossC0 http://groups.google.com/group/agavi-users/browse_frm/thread/b40538716e2bbc3c
14:00 RossC0 is the link to caching
14:01 RossC0 sorry ze link
14:01 v-dogg yeah, just reading that, thanks
14:01 Xylakant but i didn't add the parsing part
14:01 digitarald parsing part is the sugar ;)
14:02 RossC0 zeroise
14:02 RossC0 ?
14:02 RossC0 glad to see the British use of the 's' there!
14:02 digitarald prototype version: toPaddedString
14:02 RossC0 and not a 'z'
14:02 RossC0 :D
14:02 digitarald mootools always support bloody brit slang :)
14:03 digitarald i wanted a dirty scottish naming ... i'm Billy Connolly fan
14:03 digitarald :D
14:03 RossC0 lol
14:04 Xylakant is off grabbing some food
14:04 digitarald at least nothern england slang
14:04 digitarald Xylakant, new restaurants on the block?
14:09 v-dogg can somebody give me an example cache/Action.xml file?
14:09 RossC0 sure
14:10 _cheerios http://www.pastebin.ca/550221
14:10 RossC0 http://pastie.caboo.se/68834
14:11 RossC0 :D
14:11 RossC0 very similar!
14:16 v-dogg Notice: Undefined index: content in ..
14:17 RossC0 eh?
14:17 v-dogg <?= $slot['content']; ?> in my master template
14:18 v-dogg when the content is cached
14:18 RossC0 in the content layer?
14:18 RossC0 cache.xml ?
14:19 _cheerios i don't use slots. not sure if they need more syntax in the cache.xml
14:21 RossC0 should cache fine
14:21 RossC0 but need to see the cache.xml - I cache slots and dynamic slots with no worries
14:22 v-dogg http://pastie.caboo.se/68837
14:22 v-dogg doesn't differ that much from yours :)
14:24 RossC0 hm - hows the slot generated ? Have you looked at the cached data?
14:24 Wombert eh?
14:24 Wombert but that paste alone won't work, will it
14:24 Wombert I'd do
14:25 Wombert <configuration environment="development-ross production.*">
14:25 Wombert then put all caching stuff in there
14:25 Wombert or
14:25 Wombert <configuration environment="development-.*-withcaching"
14:25 Wombert or so
14:28 RossC0 wait
14:29 RossC0 ahh I hate rm * -rf in the app dir not app/cache
14:29 RossC0 hmm pants so no global setting?
14:30 RossC0 brb lunch
14:30 RossC0 sorry bbl
14:31 v-dogg menu slot caches without worries but caching the content doesn't
14:35 Wombert time to thunder down ze autobahn
14:35 Wombert munich here I come! :)
14:35 Wombert laters my favorite weirdos
14:35 Wombert hugs v-dogg
14:35 Wombert hugs RossC0
14:35 Wombert hugs MrJeep
14:35 Wombert hugs the rest of them
14:35 Wombert out
14:35 Wombert [n=Wombert@87.79.35.58] has quit []
14:42 digitarald fridays make people behave weird
14:47 kaos|work [n=dominik@87.79.35.58] has quit []
14:48 _cheerios yea, like go jogging after work! woohooo!!!
14:52 digitarald crazy
15:14 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)]
15:34 Xylakant like drinking beer after work.
15:34 Xylakant *skol*
15:41 digitarald ... i have only water
15:41 digitarald ... and delicious coffee
15:41 digitarald 32c in germany ... good luck that i'm in spain ... puh
15:42 E_mE Skol! Thats really weak isnt it?
15:42 E_mE 32c in Germany! :o wow
15:42 E_mE its 21c here
15:43 digitarald we have 29 ... the sea becomes warm ... great for swimming in the morning
15:47 v-dogg ah, 32 centigrade warm
15:47 v-dogg I thought the coffee costs 32 cents :)
15:48 v-dogg and that would be one cheap cup of coffee :)
15:57 _cheerios aye, costs 1e here :| i've been thinking of giving the habit up. puts me down 2e daily on weekdays.
16:00 RossC0 boo my global caching didn't work
16:00 RossC0 so can't turn it off
16:00 RossC0 without editing each cache.xml
16:01 RossC0 / but have created a patch to allow ti
16:01 RossC0 *it
16:08 RossC0 [#527]
16:08 v-dogg can't turn it off? how come?
16:10 RossC0 because otherwise - I'd have to set caching per environment
16:10 RossC0 in each cache.xml file
16:11 RossC0 but if I want to quickly test its a pita
16:11 RossC0 or set up another dev env - so duplicate other settings
16:12 epaulin [n=epaulin@221.222.228.147] has joined #agavi
16:13 RossC0 afaik - thats the way it works
16:15 v-dogg hmm..
16:16 RossC0 hence:
16:16 RossC0 Wombert: <configuration environment="development-ross production.*">
16:16 RossC0 Wombert: then put all caching stuff in there
16:22 v-dogg hmm.. but wtf is this for then: http://trac.agavi.org/browser/branches/0.11/src/config/AgaviCachingConfigHandler​.class.php#L59
16:24 RossC0 ah you can turn on and off individual caching
16:24 RossC0 rules
16:24 RossC0 but I want to be able to globally turn off caching
16:24 RossC0 and not have to edit each cache.xml to do so
16:25 v-dogg ah ok, this is per-module: <handler pattern="%core.module_dir%/*/config/caching.xml" validate="%core.agavi_dir%/config/xsd/caching.xsd" class="AgaviReturnArrayConfigHandler" />
16:26 v-dogg though it doesn't seem to have any effect either
16:26 v-dogg MyModule/config/caching.xml, that is
16:27 RossC0 shouldn't that be /myModule/cache/Action.xml
16:27 v-dogg but I'm sure there was some global switch for disabling caching altogether
16:28 RossC0 couldn't find one
16:28 RossC0 right back to functional tests and xpath
16:29 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
16:29 E_mE Thumps his hand on the table and declares.. NOW I'm HAVING A BREAK and eat an orange
16:30 RossC0 go crazy - have a banana as well!
16:33 v-dogg RossC0: http://trac.agavi.org/browser/branches/0.11/src/config/defaults/config_handlers.​xml#L57 says %core.module_dir%/*/config/caching.xml
16:34 E_mE RossC0 i had a banana instead actually
16:34 E_mE i can't find my knife for the orange :(
16:36 digitarald knife for an orange? wanne eat it or kill it?
16:36 v-dogg duh, surely you kill it before you eat it
16:36 E_mE its a large orange, i have a very easy way of getting into it, not gfighting with it
16:36 v-dogg anything else would just be cruel
16:37 E_mE i prod it a few times to give it little bit of pain before death
16:42 E_mE can anyone recommend any good Ipod software excluding itunes ;)
16:42 E_mE free ipod s/w that is
16:48 Netsplit kubrick.freenode.net <-> irc.freenode.net quits: E_mE, stachu, JamieWolf
16:48 Netsplit over, joins: E_mE, JamieWolf, stachu
16:51 JamieWolf_ [n=JamieWol@e177037110.adsl.alicedsl.de] has joined #agavi
17:09 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
17:17 JamieWolf_ [n=JamieWol@e177037110.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)]
17:28 digitarald E_mE, foobar ;)
17:47 E_mE [n=rabbits@host217-37-52-241.in-addr.btopenworld.com] has quit []
17:49 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
17:49 RossC0 have a good one all!
17:49 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
18:00 JamieWolf_ [n=JamieWol@e177037110.adsl.alicedsl.de] has joined #agavi
18:19 digitarald| [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has joined #agavi
18:21 impl [n=impl@adsl-221-112-246.rmo.bellsouth.net] has joined #agavi
18:31 digitarald [n=Miranda@151.Red-83-52-202.dynamicIP.rima-tde.net] has quit [Connection timed out]
19:02 digitarald| [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
19:07 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["going for a beer."]
19:21 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit []
19:21 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi
19:22 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
19:22 _cheerios mmm.... sweaty manbody \o/
19:23 Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [Client Quit]
19:24 v-dogg read "sweet manbody"
19:28 JamieWolf_ [n=JamieWol@e177037110.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)]
19:31 Arme[N] is now known as Arme[0]
19:34 _cheerios we see what we want to see
19:47 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:05 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
20:15 _cheerios Users never remark "Wow, this software may be buggy and hard to use, but at least there is a lot of code underneath."
20:47 v-dogg anyone awake?
20:57 splatch` i am
20:58 v-dogg was going to ask a mootools question but already found the answer :)
21:02 splatch` sorry, but i don't use mootools
21:04 _cheerios moo moo
21:31 kaos|work [n=dominik@ppp-88-217-1-239.dynamic.mnet-online.de] has joined #agavi
21:35 kaos|work weeee
21:48 MikeSeth hey dominik
21:48 MikeSeth evening all
21:56 Arme[N-1] evening
21:56 Arme[N-1] is now known as Arme[N]
22:05 MikeSeth haii
22:07 Wombert [n=Wombert@dslb-088-064-070-145.pools.arcor-ip.net] has joined #agavi
22:08 Wombert woot
22:08 Wombert :>
22:13 Wombert [n=Wombert@dslb-088-064-070-145.pools.arcor-ip.net] has quit [Nick collision from services.]
22:13 Wombert_ [n=Wombert@dslb-084-056-023-054.pools.arcor-ip.net] has joined #agavi
22:19 JamieWolf_ [n=JamieWol@e177034121.adsl.alicedsl.de] has joined #agavi
22:30 JamieWolf [n=JamieWol@e177037110.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)]
22:39 JamieWolf_ is now known as JamieWolf
22:50 Wombert_ is now known as Wombert
23:02 codecop [n=codecop@85.206.205.94] has joined #agavi
23:15 Arme[N] and, night
23:15 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
23:26 kaos|work_ [n=dominik@ppp-88-217-1-239.dynamic.mnet-online.de] has joined #agavi
23:31 kaos|work [n=dominik@ppp-88-217-1-239.dynamic.mnet-online.de] has quit [Read error: 110 (Connection timed out)]
23:32 RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi
23:32 RossC0 hola
23:33 RossC0 Wombert: yt?
23:35 Wombert yes dude
23:36 Wombert what's up
23:36 RossC0 ha - excited as started sorting out functional testing today :D
23:37 Wombert ace
23:37 Wombert how's that going
23:37 RossC0 copied symfony's sfBrowser
23:37 Wombert you didn't
23:37 Wombert zomg
23:37 RossC0 lol
23:37 Wombert dude do you realize this is now in the channel logs
23:37 Wombert ttj: help!
23:37 RossC0 ZMOGLOLKTHKBAI!
23:37 Wombert seriously, we can't admit defeat :p
23:37 RossC0 obviously it had to be agavified
23:38 RossC0 but can call route i.e. $browser->get('/account/login')
23:38 RossC0 can xpath the output to test results
23:39 RossC0 can post to actions etc test cookies etc..
23:39 impl sfBrowser is some cURL wrapper?
23:39 RossC0 no - it just generates the request
23:39 RossC0 so we spoof the _SERVER
23:40 impl It looks like a huge hack
23:40 Wombert well it works :p
23:40 RossC0 impl - you always say that about *everything*
23:40 Wombert no no
23:40 impl That's because everything is a huge hack!
23:40 Wombert sometimes he says "it looks like a huge hack and a half" :p
23:40 RossC0 :D
23:40 Wombert hugs impl
23:40 Wombert hugs RossC0
23:41 impl http://xkcd.com/c224.html
23:41 impl ^^
23:41 Wombert anyway, good work RossC0
23:41 RossC0 anyway I was excited
23:41 Wombert does it allow multiple requests?
23:41 RossC0 yup
23:41 Wombert agavi can't do that right now I believe
23:41 Wombert how
23:42 Wombert you bootstrap once and then dispatch() often?
23:42 RossC0 ahahhaha!
23:42 Wombert mh nah that won#t work
23:42 RossC0 nope
23:42 impl 00441 protected function newSession()
23:42 impl 00442 {
23:42 impl 00443 $_SERVER['session_id'] = md5(uniqid(rand(), true));
23:42 impl 00444 }
23:42 impl whhhhhhhhutt
23:42 impl :>
23:42 RossC0 yeah I haven't tested it all out yet - still had to learn some Agavi internals to see whats what
23:42 RossC0 so thats cool
23:43 JamieWolf [n=JamieWol@e177034121.adsl.alicedsl.de] has quit ["Gone for a Drink"]
23:43 RossC0 $context->initialize('test')
23:43 Wombert RossC0: I wanted to add a feature wrt that
23:43 Wombert it involves an AgaviIReinitializable interface
23:43 Wombert factories can implement that
23:44 RossC0 ah yeah - thing is Wombert - you know all about agavi internals
23:44 Wombert then you can reinitialize() the contect
23:44 Wombert context
23:44 Wombert which reinitialize()s the objects it has
23:44 Wombert sounds good?
23:44 impl Wouldn't that make the IRC problem so much easier too?
23:44 RossC0 I need something to cover my ass - so my dumb devs don't introduce bugs
23:44 impl s/so//
23:44 impl s/easier/simpler/
23:44 RossC0 so I can CI their commits :>
23:45 RossC0 :D
23:45 splatch` bye :)
23:45 Wombert yes, impl, that's right
23:45 RossC0 lets hope they dont read this
23:45 RossC0 but anyway I can do multiple requests
23:45 RossC0 already
23:45 Wombert good
23:45 Wombert impl: we could also build a SoapServer that runs in a loop and listens on a socket
23:45 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has joined #agavi
23:45 Wombert cuts down the http overhead
23:46 impl Cool :D
23:46 Wombert okay will build that as soon as I have the time :>
23:46 RossC0 lol
23:46 Wombert should be a piece of cake anyway
23:46 Wombert but now
23:46 Wombert beer
23:46 Wombert be back in, like, 2hrs
23:46 Wombert not sure if you#re still roundhere then RossC0
23:46 impl http://modualo.svn.sourceforge.net/viewvc/modualo/trunk/src/ is what happened to that IRC framework btw
23:46 RossC0 cool - I'm outta here - will post stuff on monday
23:46 RossC0 nope
23:46 Wombert k
23:46 Wombert impl: yours?
23:46 impl Yeah
23:46 Wombert nice
23:47 RossC0 laters all
23:47 JamieWolf [n=JamieWol@e177034121.adsl.alicedsl.de] has joined #agavi
23:47 Wombert sorry we didn't have the time to start the chuckwalla yet, but it's gonan happen
23:47 Wombert laters RossC0
23:47 impl Cya RossC0
23:47 RossC0 [n=RossC0@teamjr.plus.com] has left #agavi []
23:47 impl Wombert: That's okay, I'm not done making it good yet
23:47 impl :P
23:47 JamieWolf [n=JamieWol@e177034121.adsl.alicedsl.de] has quit [Client Quit]
23:47 Wombert it's prolly ace enough for us, but yeah, I bet you aren't :)
23:47 Wombert good work
23:48 impl :p thanks
23:49 Wombert beeer time
23:49 Wombert laters
23:49 Wombert [n=Wombert@dslb-084-056-023-054.pools.arcor-ip.net] has quit []
23:58 codecop [n=codecop@85.206.205.94] has quit ["Leaving"]
Day changed Sat Jun 09 2007
01:28 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["nn"]
01:30 Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has quit []
02:03 kaos|work [n=dominik@ppp-82-135-12-115.dynamic.mnet-online.de] has joined #agavi
02:12 kaos|work_ [n=dominik@ppp-88-217-1-239.dynamic.mnet-online.de] has quit [Read error: 110 (Connection timed out)]
02:13 Whisller [n=example@217.97.146.67] has joined #agavi
02:13 Whisller uuuu sialalalal
02:13 Whisller hi :)
02:35 kaos|work [n=dominik@ppp-82-135-12-115.dynamic.mnet-online.de] has quit []
02:41 E_mA [n=E_mE@91.84.10.29] has joined #agavi
03:10 Wombert [n=Wombert@dslb-084-056-023-054.pools.arcor-ip.net] has joined #agavi
03:11 impl Wombert! ;o
03:11 Wombert re
03:11 Wombert sup
03:11 impl How was the beer? :D
03:11 Wombert well I was driving so I only had one
03:12 impl hehe
03:12 Wombert but being bavarian beer, it was brilliant, of course
03:12 impl Is that a country or a province or ...?
03:12 impl <ignorant American>
03:12 Wombert bavaria is a state
03:12 Wombert heh
03:13 impl ah
03:13 impl okay
03:13 Wombert germany has 16
03:13 Wombert 13 normal ones, 3 city states
03:13 Wombert bavaria is the most kick ass one, of course ^^
03:13 impl hehe
03:13 impl I wonder why you think that ;)
03:14 impl Anyway, I founds a bug in Propel nested sets
03:14 Wombert http://en.wikipedia.org/wiki/States_of_Germany
03:14 Wombert you did?
03:14 impl yar
03:14 Wombert cool, because I found a million today too
03:14 Wombert did you see my mail on the list
03:14 impl Yeah
03:14 Wombert the current implementation is downright horrible
03:14 Wombert we should replace it
03:15 impl I think a lot of Propel's stuff is downright horrible :>
03:15 Wombert or haxor it so it becomes better
03:15 Wombert yes, and you're right
03:15 Wombert it didn't evolve cleanly
03:15 impl I want to put my framework into Propel somehow
03:15 impl but that's for another day
03:15 Wombert the whole builder system still is a mess metinks
03:15 Wombert +h
03:16 impl Whenever there's an UPDATE statement in pure SQL
03:16 impl in the NestedSetPeerBuilder
03:16 impl It uses SET full.column_name = full.column_name + X
03:16 impl which is wrong, it should be SET column_name = column_name + X
03:16 impl and PgSQL at least breaks on this
03:17 impl I think they need a damn Column class :|
03:18 impl Wombert: ...want to fork Propel? :X
03:19 Wombert ah yeah sqlite fails too
03:19 Wombert can you file a ticket?
03:19 impl yeah
03:20 Wombert ty
03:20 Wombert assign it to me
03:20 impl Okay
03:20 Wombert ty
03:20 impl I don't mind fixing it myself though if you want
03:20 Wombert oh, sure, that's cool
03:20 Wombert I do think though that we might need the full name here or there
03:20 Wombert can you, er, fix that in my branch plz
03:21 Wombert because it has that scope column, too
03:21 impl yeah, was going to
03:21 Wombert anyway, it stores table.field
03:21 Wombert so you need to store it twice
03:21 Wombert or dissect it at runtime
03:21 Wombert maybe the map builder has the variants
03:21 Wombert lemme check
03:21 impl The BasePeer::doUpdate does an strpos (strrpos with my patch)
03:21 Wombert ah okay
03:22 Wombert rpos is better for schemas, isn#t it
03:22 Wombert sure go ahead
03:22 Wombert do you ahve commit access?
03:22 impl Yeah
03:22 Wombert hans gave it to you I guess
03:22 Wombert cool
03:22 Wombert !"
03:22 um Wombert: Error: No closing quotation
03:22 Wombert zomg um
03:22 impl lawl
03:23 impl I hope Hans looks over my schemas patch soon
03:23 Wombert just remind him again if he forgets
03:24 Wombert he doesn#t do that on purpose :p
03:24 impl :P
03:24 Wombert he's just real busy and stuff
03:24 Wombert I wonder if he's married yet
03:24 impl Yeah, I got that impression, it's no big deal
03:24 impl is he engaged?
03:24 Wombert yeah well
03:24 Wombert first time he mentioned the SO it was his girlfriend
03:24 Wombert next time it was the fiancee
03:24 impl haha
03:25 Wombert so... :p
03:25 Wombert but he's a real nice guy
03:25 Wombert we should all meet at some conference
03:26 impl They had a big PHP conf in Germany last year I think
03:26 impl are they doing it again?
03:26 Wombert yeah
03:26 Wombert each year
03:26 Wombert you could come :)
03:26 Wombert it's cheap for students, just the flight... :S
03:27 Wombert I was there
03:27 Wombert met hans and dustin (symfony)
03:27 impl It's in the middle of the school year I think is the problem
03:27 Wombert ah right
03:27 Wombert november 7th or so
03:31 Whisller [n=example@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)]
03:34 impl rrr
03:34 impl there's more strpos in here
03:34 impl I'm going to slowly start converting all strpos's to strrpos's
03:34 impl :>
03:35 impl oof there's only one here, that's good
03:40 Wombert [n=Wombert@dslb-084-056-023-054.pools.arcor-ip.net] has quit []
04:02 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
05:48 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
05:48 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
07:09 japerr [n=japerr@adsl-70-233-137-122.dsl.okcyok.sbcglobal.net] has joined #agavi
07:09 japerr Evening
07:11 japerr Can the config_handlers.xml be per Module or is it global config to the application only
08:12 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:08 japerr [n=japerr@adsl-70-233-137-122.dsl.okcyok.sbcglobal.net] has quit []
09:19 v-dogg oh japerr japerr japerr... wait patiently and don't rush away always
09:21 JamieWolf [n=JamieWol@e177034121.adsl.alicedsl.de] has joined #agavi
09:27 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
10:35 codecop [n=codecop@85.206.216.137] has joined #agavi
10:59 epaulin [n=epaulin@221.222.228.147] has quit [Remote closed the connection]
12:00 codecop [n=codecop@85.206.216.137] has quit ["Leaving"]
12:19 Wombert [n=Wombert@dslb-084-056-005-228.pools.arcor-ip.net] has joined #agavi
12:27 Wombert [n=Wombert@dslb-084-056-005-228.pools.arcor-ip.net] has quit [Nick collision from services.]
12:27 Wombert_ [n=Wombert@dslb-084-056-001-189.pools.arcor-ip.net] has joined #agavi
12:28 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Read error: 110 (Connection timed out)]
13:32 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
13:49 splatch` hello
13:50 splatch` Wombert_: can you submit Agavi to http://www.ohloh.net/ ?
13:54 Wombert [n=Wombert@dslb-084-056-036-195.pools.arcor-ip.net] has joined #agavi
13:55 Wombert yes splatch`
13:55 Wombert it's on my list
13:55 Wombert I wanted to wait until a new website is ready, but I'll do it right after RC5
13:55 splatch` Wombert: when RC5 will be released?
13:55 Wombert soon
13:55 splatch` :)
13:55 Wombert I think there's only one bug left in the routing with double slashes
14:05 splatch` Wombert: you remember my "ide" proposal ?
14:05 Wombert no
14:06 splatch` Wombert: plugins for eclipse
14:06 splatch` integrated with agavi
14:09 splatch` Wombert: two or more wizzards to create actions, views etc from PHP IDE, not from console
14:09 Wombert k
14:09 Wombert_ [n=Wombert@dslb-084-056-001-189.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)]
14:10 JamieWolf An ecplise plugin would definitly be nice :)
14:10 splatch` Wombert: that's on start, next the community wi'll give us ideas
14:11 splatch` currenlty PHP framework's haven't support for PHP IDE
14:11 splatch` only templates in Text Mate etc
14:13 Wombert bah ohloh
14:13 Wombert I cannot submit branches/0.11
14:13 Wombert only trunk
14:13 Wombert ffs
14:14 Wombert god this sucks
14:24 CIA-11 david * r1985 /trunk/ (463 files in 16 dirs): merging in changes from branches/0.11
14:25 splatch` Wombert: so, we can add ide as feature in future :)
14:35 Wombert http://www.ohloh.net/projects/5907
14:35 Wombert whoever doesn't give a five star rating will be shot in the face!
14:41 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"]
14:45 Wombert changed the topic of #agavi to: Welcome to Agavi :: http://www.ohloh.net/projects/5907, please rate and review :: 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/ :: HUOM
14:46 Wombert changed the topic of #agavi to: Welcome to Agavi :: http://www.ohloh.net/projects/5907, please rate and review :: 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 :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ :: HUOMENTA
15:25 splatch` Wombert: we have two five stars :)
15:26 Wombert excellent!
15:27 splatch` Wombert: can i be Agavi contributor? :)
15:31 Wombert [n=Wombert@dslb-084-056-036-195.pools.arcor-ip.net] has quit [Nick collision from services.]
15:31 Wombert_ [n=Wombert@dslb-084-056-004-036.pools.arcor-ip.net] has joined #agavi
15:32 Wombert_ zomg my ISP
15:33 E_mA can you rename a table in MySQL?
15:40 v-dogg ohloh? what the heck is it?-)
15:40 v-dogg was going to rate agavi (0/5 of course) but you need to create an account for that
15:40 v-dogg is it worth it?
15:42 Wombert_ it's cool
15:42 Wombert_ is now known as Wombert
15:43 Wombert you can even claim that you're a contributor (once it has parsed the SVN logs, which it does only for trunk, which sucks ass)
15:45 splatch` v-dogg: "open source projects comunity"
15:53 Wombert [n=Wombert@dslb-084-056-004-036.pools.arcor-ip.net] has quit []
17:36 Whisller [n=example@217.97.146.67] has joined #agavi
17:36 Whisller Hi all
17:48 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
17:48 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
17:54 Whisller [n=example@217.97.146.67] has left #agavi []
18:13 japerr [n=japerr@adsl-70-233-170-160.dsl.okcyok.sbcglobal.net] has joined #agavi
18:22 japerr Morning
18:23 japerr Is it possible to import another schema with a different namespace and extend one of the complexTypes? XML schema
18:23 Wombert [n=Wombert@dslb-084-056-007-069.pools.arcor-ip.net] has joined #agavi
18:26 japerr Moring Wombert
18:29 Wombert hi
18:29 japerr Is it possible to import another schema with a different namespace and extend one of the complexTypes? XML schema
18:30 splatch` japerr: you can try, but what for?
18:31 Wombert of course
18:31 Wombert you mean you want to define extension poiints for certain namespaces?
18:31 japerr I was creating a configuration file for a model and imported the default_tagx.xsd, so I can extension base_configurtion
18:31 japerr Right
18:32 Wombert can you give a concrete example of what you're trying to accomplish?
18:32 japerr yeah one second
18:32 Wombert note that you can only read the values from the other namespace(s) if you use the new native xml config handlers
18:32 Wombert the API for those is not finished yet, it's experimental, and will be finished for 1.0, so you might see breaking changes there
18:34 japerr http://rafb.net/p/xbrMBb97.html
18:34 japerr XML schema for login_model.xsd
18:37 splatch` japerr: you use XSD for Domain Object definition?
18:37 CIA-11 david * r1986 /branches/0.11/CHANGELOG: Note 'bout native XML config handlers
18:37 Wombert yah that schemaLocation stuff is uncool, sorry about that, we cannot influence this :(
18:38 Wombert okay two things, japerr
18:38 Wombert first of all, you certainly know that you do not have to create an XSD, right? ;)
18:38 japerr shoot
18:38 Wombert second, do you want this
18:38 Wombert <configurations>
18:39 Wombert <configuration>
18:39 Wombert <login_model>
18:39 Wombert ?
18:39 Wombert then your targetNamespace must be http://agavi.org/agavi/1.0/config
18:39 Wombert you could use the AgaviReturnArrayConfigHandler, it returns your file as an array
18:40 japerr Ok
18:40 Wombert i.e. array('login_model' => array('login_attempts_notice' => 3))
18:40 Wombert or you write your own config handler
18:40 Wombert you could write an old style handler, and use the same target namespace
18:40 Wombert or you write a new style handler and use the same target namespace, or your own one
18:41 Wombert the problem about the xml handlers is that they'll almost definitely change, they're not final yet, they were introduced only a couple of days ago
18:41 Wombert that subsystem is experimental until 1.0
18:41 Wombert also if you use your own target namespace, your file must look like this
18:41 Wombert <configurations xmlns:trac="http://tracform.com/tracform/2.1/config">;
18:41 Wombert <configuration>
18:42 Wombert <trac:login_model>
18:42 Wombert not sure if that is what you want ;)
18:43 Wombert the purpose of the namespace support is so you can, for example, use RDF to describe a module in module.xml at some point in the future
18:43 Wombert or, as possible already, use wsdl/soap annotations to have a wsdl autogenerated from routing.xml
18:43 japerr Ok that make more sense, the last example you gave. Will that work with the ReturnArrayConfigHandler?
18:47 Wombert no
18:47 Wombert doesn't really make sense btw
18:47 Wombert I'd use it in the agavi namespace
18:47 Wombert but that's just me
18:48 japerr So any of configurtion XML that I add should use the agavi namespace, ok I;m just getting to know XML
18:55 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:00 Wombert not under all circumstances, but usually, that's the most convenient approach
19:03 japerr Ok, thanks.
19:13 Wombert did you vote for agavi yet on ohloh :p
19:13 Wombert go go go!
19:13 Wombert everyone!
19:18 splatch` yes, move! :)
19:22 Wombert here's an incentive for everyone to vote 5:
19:23 Wombert if the average rating drop below 5.0, I'll jump off a bridge :p
19:23 Wombert AND THEN AGAVI DIES WITH ME!!!!111111
19:23 splatch` Wombert: don't do that!
19:23 splatch` guys, move up!
19:24 Wombert someone from poland stacked it too
19:24 epaulin [n=epaulin@221.222.230.175] has joined #agavi
19:24 Wombert but didn't give a rating :S
19:24 Wombert anyway, I'm happy as long as we're doing better than symfony
19:24 splatch` Wombert: one moment, i'll find he!
19:27 japerr [n=japerr@adsl-70-233-170-160.dsl.okcyok.sbcglobal.net] has quit []
19:30 Wombert pokes impl
19:30 epaulin Wombert: you got my vote, :-)
19:30 Wombert you there dude?
19:32 splatch` Wombert: that was Whisller :)
19:32 Wombert stack it, too, epaulin
19:33 epaulin No prob, I'll do that.
19:33 Wombert coooooool <:
19:35 Wombert once the stats are processed, you can also give kudos to the developers
19:36 splatch` Wombert: Whissler was rated Agavi :)
19:36 Wombert cool <:
19:36 Arme[N] is now known as m_pahlevanzadeh
19:37 m_pahlevanzadeh is now known as Arme[N]
19:39 epaulin Wombert: I can't stack it, is this function works with firefox, otherwise how to do it correctly?
19:39 Wombert hm not sure
19:40 Wombert I usually just click the "stack it" link :p
19:45 epaulin OK, I got it, It use a "stack it" image in the icon, so search can't find it, am i too stupid or this UI wired. \o/
19:46 Wombert blame the UI! :)
19:47 Wombert I like the stacks map
19:47 Wombert shows where our users come from
19:48 Wombert very exciting
19:48 Wombert changed the topic of #agavi to: Welcome to Agavi :: http://www.ohloh.net/projects/5907, please rate, stack and maybe review :: 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 :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ :: HUOMEN
19:50 epaulin In this years, you just can't start a website without map, XD
19:50 Wombert yup :D
19:50 Wombert Arme[N]: you should vote and stack agavi on ohloh, too!
19:50 Wombert would be cool to have you on the map
19:50 Wombert and all the rest of you guys
19:51 Arme[N] scratches his head
19:51 Wombert http://www.ohloh.net/projects/5907 !
19:54 lukoko [n=kosher@78-57-212-36.ip.zebra.lt] has joined #agavi
20:12 splatch` epaulin: uuh, you're live in china?
20:12 epaulin yup
20:13 splatch` epaulin: it's so far..
20:13 splatch` epaulin: what do you think about China?
20:14 epaulin you mean what specifically?
20:14 epaulin politics? economy?
20:15 splatch` epaulin: yes
20:16 splatch` epaulin: China culture is so different (for me), you're hard worked nation
20:17 epaulin splatch`: well, I don't want to talk about politics too much, every time I think about it I want pure spew.
20:17 epaulin Yeah, mostly people like me are.
20:18 splatch` epaulin: in Poland we had "comunism" many years ago, i don't know it, but my parents described it me
20:19 splatch` older people still live in 80's
20:19 splatch` epaulin: politics can't stop evolution :)
20:19 epaulin splatch`: yeah, they are popular in those days.
20:20 splatch` epaulin: how old are you?
20:20 epaulin 26
20:20 splatch` epaulin: do you want flee from China?
20:21 epaulin actually i did think about it.
20:23 Wombert china will change
20:23 splatch` epaulin: Do you workin' as programmer?
20:23 Wombert it has to, or it will fail
20:23 epaulin splatch`: But now I don't want to do it, still it is my motherland, I love it.
20:23 epaulin splatch`: yup
20:24 epaulin And all my friends lived here.
20:24 splatch` epaulin: hm.. Poland it's my motherland, but my love to it's pathology
20:24 Wombert wtf oO
20:25 splatch` Wombert: "pathology" :)
20:25 Wombert uhm, yes, that's what my "wtf" was referring to :p
20:25 epaulin sorry, I don't get it.
20:25 splatch` taxes are 50% of my earnings
20:26 epaulin O_o
20:26 splatch` for example, i got in this month 1000$
20:26 splatch` but 1000$ are taxes
20:26 splatch` and you can't change it
20:27 splatch` the ;abour cost are terribly high
20:27 splatch` *labour
20:27 epaulin I thought we were overtaxed, now I'm much better, XD
20:27 splatch` politics get more and more
20:27 splatch` but gives none
20:27 splatch` he's talking - we haven't money
20:27 splatch` but where is my taxes? :)
20:28 splatch` they're gone :)
20:28 epaulin exactly, they only care about politics and tax.
20:30 splatch` epaulin: for example the helth fee is groving up with you earnings
20:30 splatch` but you've the same medics in hospital etc
20:31 splatch` currently young, working people working for old people who don't work for his pension
20:31 splatch` for example i working for 1,5 senior citizen
20:31 epaulin right, and just a couple of days ago i got to the hospital, I waste half day and paid by myself.
20:32 epaulin hug splatch`
20:32 splatch` higs epaulin
20:33 splatch` *hugs :)
20:33 epaulin :-)
20:33 splatch` but, we're fight! :)
20:33 epaulin yeah, life goes on, we must.
20:34 splatch` politicans can't take joy from the life away from us, right? :)
20:35 epaulin exactly, they can't
20:38 splatch` Wombert: Do you see problem in my love to my country? :)
20:39 Wombert well
20:39 Wombert it's not any different in germany
20:39 Wombert or most other countries
20:39 Wombert if you earn more, you pay more
20:40 Wombert that's the way it is
20:42 splatch` heh, maybe we'll leave politics and take a small beer? :)
20:43 splatch` hugs Wombert
20:43 splatch` hugs epaulin
20:43 splatch` :)
20:43 epaulin :-)
20:52 impl pokes Wombert
20:53 impl psssh I have to join to rate it
20:53 impl alrightttt
20:57 Wombert [n=Wombert@dslb-084-056-007-069.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)]
21:43 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:57 Arme[N] [n=Arme[N]@80.191.141.181] has quit [Read error: 110 (Connection timed out)]
22:15 Arme[N-1] ah ohloh.net is too slow
22:15 Arme[N-1] is now known as Arme[N]
22:19 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
22:21 JamieWolf_ [n=JamieWol@e177037141.adsl.alicedsl.de] has joined #agavi
22:22 lukoko [n=kosher@78-57-212-36.ip.zebra.lt] has quit [Remote closed the connection]
22:26 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
22:30 JamieWolf [n=JamieWol@e177034121.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)]
23:01 codecop [n=codecop@88.118.199.95] has joined #agavi
23:01 benny`work [n=benny@eclipse/developer/Technology/bennywork] has joined #agavi
23:03 splatch` benny`work: do you saw Agavi on ohloh site?
23:03 benny`work voted and stacked it already :)
23:05 codecop [n=codecop@88.118.199.95] has quit [Client Quit]
23:09 JamieWolf_ is now known as JamieWolf
23:09 splatch` yeah :)
23:11 splatch` benny`work: you're from Iran, right?
23:11 benny`work splatch`, no germany :)
23:12 splatch` "bmuskalla"?
23:12 benny`work jep
23:13 splatch` 4:2 for Germany :)
23:14 splatch` heh, normal - Poland lose with Germany :)
23:14 benny`work :)
23:36 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
23:42 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
23:42 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
23:43 Arme[N-1] is now known as Arme[N]
Day changed Sun Jun 10 2007
00:01 Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
00:01 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
00:06 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Connection timed out]
00:43 Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Client Quit]
02:36 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
02:39 Wombert [n=Wombert@dslb-084-056-007-069.pools.arcor-ip.net] has joined #agavi
02:50 Wombert ooooh ze ohloh stats rock :)
02:53 impl I see you're not going to commit suicide yet :>
03:07 Wombert true :>
03:07 Wombert well the most important thing is that symfony get their asses handed to them by our stats
03:07 Wombert I don't care too much about the rest xD
03:08 Wombert I really like the stack because it shows from where the users are
03:08 impl hah ;p
03:08 Wombert well not yet, and won't ever cover all users, but it gives an idea
03:08 Wombert many yuropeans, some asians, a lonesome dude from NZ if he ever shows up, and a weirdo from the US of A
03:08 Wombert mmmmh we need australian users
03:08 Wombert and more americans
03:09 Wombert maaany more
03:09 Wombert and south americans
03:09 Wombert didn't we have someone from brazil once
03:09 Wombert long time ago
03:09 Wombert oh and some japanese guy showed up again lately
03:09 impl don't remember
03:13 Wombert KUDOS!!!!!1!11111one
03:13 Wombert mh I need a gravatar
03:15 impl ponders what a gravatar is
03:17 Wombert oooh gravatars rock
03:17 Wombert a nice web 2.0 idea
03:18 Wombert http://site.gravatar.com/
03:18 impl That is quite 2.0
03:21 impl Wombert: How do you set your skills and stuff?
03:23 Wombert in ohloh?
03:23 impl Yah
03:26 impl Oh, I see
03:26 impl it figures it out for you
03:26 impl That's kinda neat :P
03:26 Wombert well
03:26 Wombert not entirely
03:26 Wombert the thing is that I can only add trunk
03:26 Wombert not branches/0.11 or so as a source for changes
03:27 Wombert or, rather, I should only add trunk, otherwise the LOC count is wrong
03:27 Wombert but that sucks imo
03:27 impl Yeah D:
03:27 impl Oh well
03:27 impl we'll move back to trunk/ for 2.0 stuff at some point I guess
03:27 Wombert yes but all those commits I made still won't show up
03:27 Wombert it's bloody retarded
03:28 Wombert same for propel
03:30 impl I bet that's something they'll fix eventually
03:31 Wombert I hope
03:31 Wombert guess it takes them some time to separate the two aspects
03:32 Wombert i.e. contributions/history and LOC/codebase stuff
03:33 impl yeah
03:36 Wombert listens to Rule Britannia
03:36 Wombert remembers the Austin Powers scene
03:36 Wombert giggles
03:36 splatch` *yawn*
04:23 benny`work [n=benny@eclipse/developer/Technology/bennywork] has quit [Read error: 110 (Connection timed out)]
04:33 Wombert [n=Wombert@dslb-084-056-007-069.pools.arcor-ip.net] has quit []
05:11 JamieWolf [n=JamieWol@e177037141.adsl.alicedsl.de] has quit ["Gone for a Drink"]
05:48 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
05:48 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
08:39 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
08:40 Arme[N] Houmenta Agavi \o/
09:15 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 54 (Connection reset by peer)]
09:32 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:38 MikeSeth huomenta
10:54 codecop [n=codecop@88.118.220.162] has joined #agavi
11:16 MikeSeth bah fucktits.. date validator breaks
11:16 MikeSeth investigates
11:25 epaulin_ [n=epaulin@221.221.20.118] has joined #agavi
11:41 epaulin [n=epaulin@221.222.230.175] has quit [Read error: 110 (Connection timed out)]
11:43 epaulin_ is now known as epaulin
12:12 v-dogg huomenta
12:18 MikeSeth huomenta
12:22 Arme[N] huomenta
12:45 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
13:03 splatch` oi! :)
13:04 Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
13:12 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Read error: 110 (Connection timed out)]
13:31 Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Client Quit]
13:31 MikeSeth Invalid locale identifier (y) specified
13:31 MikeSeth teh bugz!
13:37 MikeSeth GOD DAMNIT
13:47 v-dogg you code bugs? but why?
13:50 MikeSeth there's a bug in AgaviDateTimeValidator
13:52 v-dogg oh noez! :)
13:52 Whisller [n=example@217.97.146.67] has joined #agavi
13:52 Whisller hi
14:16 Wombert [n=Wombert@dslb-084-056-007-069.pools.arcor-ip.net] has joined #agavi
14:22 Wombert huomenta
14:26 Whisller [n=example@217.97.146.67] has left #agavi []
15:00 MikeSeth Wombert: a little problem in DateTimeValidator: it implies <parameter> tag surrounding each item in <parameter name="formats">
15:02 MikeSeth eg <parameter name="formats"><parameter name="format">YYYY-mm-dd</parameter></parameter> would cause exception, since DateTimeValidator would read contents of format as if it was an array: $item['locale'] => one character from YYYY-mm-ddd => locale can't be found => exception
15:07 Wombert yep
15:07 Wombert formats is an array
15:07 Wombert we could see if that could be simplified, yeah
15:07 Wombert hey did you vote for agavi yet on ohloh
15:08 Wombert and don't forget to stack it, so we have a map of our users!
15:08 MikeSeth o/! You've got something I need.. kinda dangerous
15:08 Wombert oh and you guys can now give me kudos too :p
15:09 MikeSeth {{{{{{{{{{{{{{{{{{{{{{{{ kudos }}}}}}}}}}}}}}}}}}}}}}}}}}}}}
15:10 Wombert I mean on ohloh :p
15:10 Wombert (see topic)
15:10 MikeSeth ohloh are retards, they disabled keyboard focus movement
15:11 Wombert doesn't matter
15:11 Wombert all that matters is that we stay at 5.0/5.0 :p
15:11 Wombert http://www.ohloh.net/projects/5907
15:11 Wombert changed the topic of #agavi to: Welcome to Agavi :: http://www.ohloh.net/projects/5907, please rate, stack and maybe review - AND GIVE KUDOS KTHXBAI :: 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 :: logs @ http://users.tkk.fi/~tjo
15:12 Wombert changed the topic of #agavi to: Welcome to Agavi :: http://www.ohloh.net/projects/5907, please rate, stack and maybe review - AND GIVE KUDOS KTHXBAI :: latest: 0.11.0RC4 :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 :: want SVN? http://svn.agavi.org/branches/0.11/ :: have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors :: logs @ http://users.tkk.fi/~tjorri/agavi/log
15:12 Wombert changed the topic of #agavi to: Welcome to Agavi :: http://www.ohloh.net/projects/5907, please rate, stack and maybe review - AND GIVE KUDOS KTHXBAI :: latest: 0.11RC4 :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 :: want SVN? http://svn.agavi.org/branches/0.11/ :: have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/
15:16 MikeSeth htf do I define my experience on ohloh
15:16 Wombert it's done automatically
15:16 Wombert from your project activity
15:16 MikeSeth oh
15:16 MikeSeth in other words, its bs ;)
15:19 Wombert more or less
15:19 Wombert the real problem about ohloh is that you canonly enter one repos URL
15:19 Wombert I now added trunk
15:20 Wombert but that sucks because all my commits to branches/0.11 aren't taken into account
15:20 Wombert they also don't show up in the history
15:31 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"]
15:34 MikeSeth Wombert: I wrote a review. :D
15:36 Wombert ooooh fantastic
15:36 Wombert thank you buddy
15:37 MikeSeth I'm good at this shit ;)
15:37 Wombert nicenice
15:37 Wombert hugs MikeSeth
15:37 MikeSeth I hope you dont mind "military quality"
15:37 Wombert not at all
15:38 Wombert more ratings, more stats, more LOC, higher cost, more reviews than symfony
15:38 Wombert couldn't be happier
15:46 MikeSeth symfony @lol
15:53 MikeSeth Wombert: I edited my review. Look now. :D
15:57 Wombert fabulous
15:57 Wombert thanks so much man
16:00 MikeSeth *shrug* Agavi saves time and makes me more productive, which means I get more money and more time, which means I get more drugs, which means I am more creative, so I dont mind sharing some of the creativity
16:00 MikeSeth I'd like you to eye through and make sure I didn't make factual mistakes though :)
16:03 MikeSeth nice, it shows on recent reviews. People will looky looky!
16:03 MikeSeth hahahahaha
16:03 MikeSeth symfony = 3.4
16:03 MikeSeth pwndzored
16:03 MikeSeth r4098: fixed culture problem in sfI18N
16:03 MikeSeth wtf does that even mean
16:05 MikeSeth oh nice, it added the "popular!" tag on US
16:06 MikeSeth err
16:06 MikeSeth Wombie
16:06 MikeSeth WHY CAN I EDIT IT?!
16:06 MikeSeth am i supposed to be able to edit the project details?
16:14 MikeSeth pokes Wombert
16:14 MikeSeth I just added branches/0.11 without any prob lem
16:15 Wombert [n=Wombert@dslb-084-056-007-069.pools.arcor-ip.net] has quit [Nick collision from services.]
16:15 Wombert_ [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has joined #agavi
16:16 MikeSeth you here?
16:16 MikeSeth pokes Wombert_
16:31 MikeSeth pokes Wombert some more
17:10 Whisller [n=example@217.97.146.67] has joined #agavi
17:20 Wombert_ re
17:20 MikeSeth Wombie!
17:20 Wombert_ is now known as Wombert
17:20 Wombert yeah I think everyone can edit things
17:20 MikeSeth http://www.ohloh.net/projects/5907/enlistments :D
17:21 Wombert odd, isn#t it
17:21 Wombert noooooo!
17:21 Wombert :<
17:21 MikeSeth what?
17:21 Wombert deleted it :p
17:21 Wombert well
17:21 MikeSeth okay
17:21 Wombert it is added to the overall codebase stats
17:21 Wombert which means our lines of code double
17:21 MikeSeth so kill the trunk and leave .11?
17:21 Wombert that's the prob lem about ohloh
17:21 Wombert nah I'll keep trunk
17:21 Wombert I hope they fix it this way:
17:22 Wombert - you define a complete repos for activity stats etc
17:22 MikeSeth well I can't claim patches because they're all in .11
17:22 Wombert - you define one path where LOC etc is pulled from
17:22 Wombert yeah I know
17:22 MikeSeth Or you could just open another project.
17:22 MikeSeth ;)
17:22 Wombert I'll write a message to the forums later
17:22 Wombert and suggest the above
17:22 Wombert you could chime in and +1 it if you like
17:24 Wombert * Nice
17:24 Wombert * 100% of PHP developers short of one person converted to Agavi by this author.
17:24 Wombert hah :>
17:24 Wombert Agavi is not recommended for PHP beginners other than as a source code primer.
17:25 Wombert maybe rephrase that a bit
17:25 Wombert to "I wouldn't recommend Agavi for PHP beginners" or so
17:25 MikeSeth You can't edit it?
17:25 MikeSeth its true btw.
17:25 Wombert it is our non-official policy to tell noobs to go elsewhere, but it sounds a lil too arrogant imo
17:25 Wombert yeah it is
17:26 MikeSeth 100% of PHP developers I know, except for 1 guy (f00li5h), converted :D
17:26 Wombert ace
17:26 MikeSeth that's about 5 people at the moment
17:26 MikeSeth (I have 30+ debian conversions and about 5 emacs conversions, and 2 ruby conversions) :D
17:36 MikeSeth Wombert: did you know that even now we beat Symfony in ranks?
17:40 Wombert what ranks
17:41 Wombert stacks? yeah
17:48 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
17:48 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
17:49 MikeSeth and score
17:49 MikeSeth they're at ~3 ;)
17:54 Fastly [n=fast@81.130.199.231] has joined #agavi
18:02 Wombert yup
18:02 Wombert :)
18:28 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
18:28 Fastly what's the best way of passing parameters into a new execution container?
18:29 Fastly $exec->setParameter() or passing the request data holder when the execution container is initialised?
18:30 Wombert nah, not on the container!
18:30 Wombert set the data on the request data holder
18:31 Wombert you can do
18:32 Wombert $controller->createExecutionContainer('Module', 'Action', new AgaviRequestDataHolder(array(
18:32 Wombert AgaviRequestDataHolder::SOURCE_PARAMETERS' => array(
18:32 Wombert 'foo' => 'bar'
18:32 Wombert )
18:32 Wombert )));
18:32 Wombert or
18:32 Wombert $c = $controller->createExecutionContainer('Module', 'Action');
18:33 Wombert $c->getRequestData()->setParameters(array('foo' => 'bar'));
18:33 Wombert or setParameter() of course
18:33 Wombert fourth arg to createExecutionContainer() lets you define the output type,but I guess you know that already ;)
18:34 Fastly yeah that's coming in useful - thanks
18:41 Fastly should i then find these parameters in the $rd of the actions in use by the new exec container?
18:43 Wombert yep
18:45 Fastly cool, the first method above worked
18:46 Wombert and the other one?
18:46 Fastly didn't :-) -- it's probably me... am testing it again
18:49 Fastly it falls over on $exec->getRequestData()->setParameters(array('email_template' => 'WhitePaperUserResponsePart1'));
18:54 Fastly no error...
18:59 Fastly any idea?
19:02 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has quit []
19:08 Fastly never mind - huge thank anyway
19:08 Fastly thanks
19:27 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has joined #agavi
19:29 Wombert oh sorry Fastly
19:29 Wombert you have to do
19:30 Wombert $c->setArguments(new AgaviRequestDataHolder(array(
19:30 Wombert AgaviRequestDataHolder::SOURCE_PARAMETERS' => array(
19:30 Wombert 'foo' => 'bar'
19:30 Wombert )
19:30 Wombert )));
19:31 Wombert "falls over", does that mean the script aborts or so?
19:31 Fastly yes
19:33 v-dogg and what the heck is a "stack" on ohloh?-)
19:40 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has quit []
19:56 splatch` hello
20:01 Fastly [n=fast@81.130.199.231] has quit []
20:01 Whisller [n=example@217.97.146.67] has left #agavi []
20:03 Whisller [n=example@217.97.146.67] has joined #agavi
20:03 Whisller [n=example@217.97.146.67] has left #agavi []
20:13 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
20:13 _cheerios hello
20:15 _cheerios too hot to code
20:18 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
20:26 epaulin [n=epaulin@221.221.20.118] has quit ["Hmm... Upgrades."]
20:31 Fastly [n=fast@81.130.199.231] has joined #agavi
20:33 Fastly hi, i'd like to specify a directory for a certain output type... e.g. in EmailerActio if the output_type = "html_email" i'd like to have
20:34 Fastly the templates stored in Emailer/templates/html
20:34 Fastly can i specify this in output_types.xml ?
20:34 v-dogg you sure can
20:35 _cheerios london2012 logo hahaha.. http://img.photobucket.com/albums/v37/wizardflake/london.gif
20:35 v-dogg <layer ... <parameter name="directory">%core.template_dir%</parameter>
20:36 Fastly is there a %module.template_dir% ?
20:42 _cheerios aaah... a cloud blocked the sun. thank god
20:43 v-dogg Fastly: http://trac.agavi.org/wiki/ConfigurationDirectives
20:44 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has joined #agavi
20:45 Wombert oh damn Kubica what are you doing...
20:45 Wombert heyyyy v-dogg give a rating will ya :pü
21:05 Fastly thanks v-dogg
21:07 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has quit []
21:11 Fastly [n=fast@81.130.199.231] has quit []
21:23 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has joined #agavi
21:25 codecop [n=codecop@88.118.220.162] has quit ["Leaving"]
21:42 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has quit []
22:08 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has joined #agavi
22:27 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has quit []
22:29 _cheerios <3 Internet
22:35 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has joined #agavi
23:03 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has quit []
23:07 stachu why in localhost $this->getContext()->getController()->getGlobalResponse()->setRedirect is working but when i change server it isnt?
23:16 _cheerios "Here is a city filled with every sin you can imagine" :comic love:
23:23 v-dogg stachu: don't know why that is but are you sure you need to use the global response? normally you'd do just $this->getResponse()->setRedirect($url);
23:43 Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
23:51 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Connection timed out]
Day changed Mon Jun 11 2007
00:17 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has joined #agavi
00:22 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["gonzo"]
00:37 Wombert [n=Wombert@dslb-084-056-007-016.pools.arcor-ip.net] has quit []
00:45 Whisller [n=example@217.97.146.67] has joined #agavi
00:45 Whisller hi
02:48 Whisller [n=example@217.97.146.67] has quit ["good night"]
02:52 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi
02:55 Prometheus^^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Connection timed out]
03:04 impl [n=impl@httpcraft/php/impl] has quit [Read error: 104 (Connection reset by peer)]
03:05 Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit []
03:13 impl [n=impl@httpcraft/php/impl] has joined #agavi
03:27 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
05:19 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
05:40 implement [n=impl@httpcraft/php/impl] has joined #agavi
05:47 v-dogg huomenta
05:59 impl [n=impl@httpcraft/php/impl] has quit [No route to host]
06:04 implement is now known as impl
07:46 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:12 implement [n=impl@httpcraft/php/impl] has joined #agavi
09:19 impl [n=impl@httpcraft/php/impl] has quit [Read error: 60 (Operation timed out)]
09:51 MikeSeth huomenta!
09:56 Arme[N] huomenta!
10:02 Arme[N] MikeSeth, nice review
10:05 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
10:08 JamieWolf [n=JamieWol@e177186009.adsl.alicedsl.de] has joined #agavi
10:08 codecop [n=codecop@88.118.220.248] has joined #agavi
10:09 E_mA [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
10:16 Wombert [n=Wombert@87.79.35.58] has joined #agavi
10:19 Wombert huomenta
10:20 digitarald [n=Miranda@62-43-154-107.user.ono.com] has joined #agavi
10:20 Wombert oi digitarald
10:20 digitarald Oi/Huomenta/Moin Wombert
10:20 Wombert http://www.ohloh.net/projects/5907 please rate and stack (w/ your location!) and maybe give kudos :)
10:21 Whisller [n=example@217.97.146.67] has joined #agavi
10:22 _cheerios and in your descriptions be less modest than mike
10:22 Wombert haha
10:22 Wombert as mentioned before, I'll jump off a bridge should the rating ever fall below 5.0 :p
10:22 Wombert hey you didn't bother yet either, _cheerios...!
10:22 Wombert go go go!
10:23 JamieWolf NO! Don't jump :) FLY!
10:23 Whisller hello
10:23 Wombert and JamieWolf!
10:23 Wombert see, Whisller did already
10:24 _cheerios you starting to drumroll agavi, or what's with ohloh
10:24 Wombert I thought I'd submit it before someone else would :p
10:25 Wombert guess it doesn't hurt, does it
10:27 _cheerios the bottle is out. the message is in. lets see how many pick it up.
10:28 MikeSeth ahaha I wonder I was stoned yesterday when I wrote this
10:28 MikeSeth ahaha
10:28 Wombert haha
10:32 MikeSeth yeah I'll tone it down
10:33 MikeSeth Wombert: what's the proper way to implement a fallback to html output type when exception occurs during execution in another output type?
10:34 MikeSeth basically I do this:
10:34 MikeSeth <route pattern="^/api/" cut="true" stop="false" output_type="json" />
10:35 Wombert well
10:35 Wombert last resort is the exception template
10:35 Wombert which you can define per output type
10:35 Wombert question is
10:35 Wombert would it make any sense to return html in case something goes wrong with the json?
10:35 MikeSeth I guess it would, with 40x/50x codes
10:36 Wombert you could also just change the output type "by hand" in the view and manually run the other executeHtml() method
10:36 MikeSeth also, what about other crash situations, e.g. no valid route for request -> 404
10:37 MikeSeth if I do /api/sldkfjsdlfjsdlfj I get output type set to text/json
10:37 MikeSeth shouldn't default error handlers fall back to html output type? or, well, configurable something type
10:37 digitarald rated!
10:39 Wombert stack it!
10:39 Wombert and enter your location so we have someone from spain ;>
10:39 Wombert you can also write reviews and give kudos to developers (hint, hint)
10:40 MikeSeth HEH HEH Symfony = 3.5
10:40 MikeSeth Wombert: so?
10:41 digitarald oh ... forgot to downrate Symfony ...
10:41 Wombert lol :>
10:41 MikeSeth digitarald: ummm I gave it a 4
10:41 Wombert are you nuts
10:41 MikeSeth yeah
10:41 MikeSeth why?
10:41 MikeSeth :D
10:41 Wombert they don't deserve to get a rating in the first place
10:41 Wombert but if you do it... well... :p
10:42 digitarald i wondered why ohloh making my browser slower and slower ... its prototype
10:42 MikeSeth probably not, but I'd rather not start interproject wars
10:42 Wombert that's why I rated mootools 5, digitarald ;)
10:42 Wombert MikeSeth: righto
10:42 digitarald already saw that? http://mootools.net/slickspeed/
10:42 MikeSeth Wombert: I also toned down the review
10:42 MikeSeth dunno I was angry yesterday or something ;)
10:43 MikeSeth Wombert: so, should default exception views force output type to HTML?
10:44 Wombert not sure, whatever you need
10:44 MikeSeth Wombert: okay.
10:44 Wombert digitarald: hmmm ext is fastest in almost every test and mootools are always slower than prototype :p
10:45 MikeSeth Wombert: I suppose you can't force output type in settings.xml system_action section?
10:45 Wombert nah
10:45 MikeSeth Wombert: so I would have to replace the exceptions' views?
10:45 _cheerios prototype > mootools in that test, digitarald ?
10:46 Wombert yeah same here
10:46 Wombert also, the test doesn't discard the scores for errors
10:47 Wombert so if ext fails with errors and 0ms, it is ranked as fastest
10:47 digitarald latest prototype is pretty fast
10:47 digitarald we can't and don't want to beat that
10:48 digitarald they copied pretty good from YUI
10:48 Wombert it misses quite a lot of errors
10:48 Wombert div:contains(CELIA) 207 ms | 22 found 1151 ms | 26 found 40 ms | 243 found 50 ms | 26 found 198 ms | 26 found
10:49 Wombert none marked black
10:49 digitarald which one u'll trust= ;)
10:49 digitarald ok, worse a fix
10:51 MikeSeth Wombert: whats preferred, just overwrite the response's content-type header or fully switch output type?
10:51 MikeSeth Wombert: ie for error handling
10:52 Wombert fully switch the output type
10:52 Wombert do it in initialize()
10:52 MikeSeth er.. in the view?
10:52 Wombert yes
10:53 Wombert Ranked 30 of 44781
10:53 Wombert ace
10:54 Wombert thanks for the kudos everyone ;)
10:54 Wombert (and keep them coming xD)
10:55 MikeSeth :D
10:57 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:59 RossC0 HUOMENTA!
10:59 Wombert hi ross
10:59 Wombert see topic!
11:05 MikeSeth Wombert: default 404 handler does not set HTTP response code to 404. Is this by design?
11:05 Wombert I thought it did
11:05 MikeSeth well apparently it doesn't, maybe I have a view instance from an older version
11:05 MikeSeth or maybe it was regenerated dunno
11:06 MikeSeth svn log
11:06 Wombert http://trac.agavi.org/browser/branches/0.11/src/buildtools/code_templates/defaul​ts/views/Error404SuccessView.class.php.tmpl
11:06 digitarald where is the Stack-It button?!
11:07 MikeSeth bah
11:07 Wombert top left, "stack this"
11:07 Wombert below the "12 stacks" thing
11:07 digitarald ah, this clumsy shadow
11:08 MikeSeth Wombert: yeah my fault.
11:10 MikeSeth Wombert: can you tell me a little bit about exception handling? e.g. where is the exception caught?
11:10 Wombert inside dispatch()
11:10 MikeSeth ah ok
11:10 Wombert you could also create a filter and then forward to your generic error action or so
11:11 digitarald [n=Miranda@62-43-154-107.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
11:18 MikeSeth oh, no, I just hooked up the shiny template to json output type
11:18 MikeSeth <3 Agavi ;)
11:19 MikeSeth Wombert: cut="true" removes the matched router part from subsequent evaluation right?
11:19 MikeSeth s/router/route/
11:19 Wombert yes
11:19 Wombert not needed for nested routes, of course
11:20 Arme[N] Ah you was jaws ticket manager MikeSeth
11:20 Arme[N] MikeSeth, do you know AmirMohammadSaied, not?
11:20 MikeSeth Arme[N]: still am!
11:21 Arme[N] ah yeah
11:21 MikeSeth Arme[N]: of course. I love Jaws. I just never found commercial use to it as I intended
11:21 Arme[N] hmm
11:21 MikeSeth its really awesome as a noob CMS (with all of the shortcomings)
11:21 Arme[N] Amir is my best freind :D
11:21 Arme[N] yes it is
11:21 MikeSeth speaking of which I still have a patch for Jaws that a friend wrote that I have to submit
11:24 MikeSeth god damnit my routes dont match
11:24 MikeSeth wtf
11:25 MikeSeth Wombert: got a clever way to debug routes? :)
11:30 Wombert mmmmmmmhno :p
11:31 Wombert well you could add callbacks that log things
11:31 MikeSeth does routing keep the list of decision it took for later interpretation?
11:33 Wombert it stores the routes that matched, yes
11:33 Wombert 'matched_routes' in 'org.agavi.routing'
11:33 Wombert it's an array, in matching order
11:34 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
11:35 Wombert morning Xylakant
11:35 Wombert ZE TOPIC MUST BE OBEYED AT ALL TIMES
11:35 MikeSeth so in theory one could write a debug filter that one could enable to prettyprint the matched route list? :)
11:35 Wombert RossC0: regarding your patch
11:35 Wombert you could set 'enable_caching' on the exec filter... isn't that the same thing
11:36 Wombert yes, MikeSeth
11:36 Wombert even though 1.0 will have a preprocessor thingie thing that results in a proper logfile with debug on
11:36 Wombert where you see the steps just like in an apache rewrite.log
11:36 MikeSeth oh shit, i could just look into the cache
11:37 MikeSeth what does imply do?
11:37 Wombert the route is then used in each gen() call
11:37 Wombert no matter if you specify it explicitly or not
11:37 Wombert useful for ze language routes or so
11:38 MikeSeth ah
11:38 MikeSeth awesome ;)
11:44 Xylakant good morning
11:45 lehavn [n=lehavn@210.245.33.146] has joined #agavi
11:45 MikeSeth btw, folks; its really comfortable to work with Agavi when you have api docs & svn url bookmarked in your browser ;)
11:47 Wombert hi lehavn
11:47 Wombert welcome to agavi :)
11:57 RossC0 back - company meeting YAWN
11:58 RossC0 Wombert: 2 things - wtf is ohloh.net
11:58 RossC0 nice to see the wombert hippo icon - I remember that from when Agavi had a forum!
11:58 RossC0 2) Exec filter - really?
11:59 Wombert ohloh is an open source directory thing
12:00 Wombert you can "stack" agavi (which means you dig/use it), give it a rating (5.0) and give kudos to developers (which makes me happy and feeds my ego)
12:00 Wombert and you can write a review to share with the world how kick ass (or not, but I dare you) you think it is
12:00 Wombert <:
12:00 Wombert and once they sort their crappy system all contributors will actually show up :p
12:00 RossC0 get MikeSeth - he's an Ambassador!
12:01 Wombert yeah we should name him Chief Awesomeness Evangelist
12:01 Wombert mmmmmh speaking of which
12:01 RossC0 Wombert: you could set 'enable_caching' on the exec filter...
12:01 Wombert how bout you guys come to this years php conf
12:01 Wombert yeah
12:02 Wombert isn't that the same thing
12:02 RossC0 where's that and why doesn't it have a global setting - it makes it nice :D
12:02 Wombert it's in your patch :P same line
12:02 Wombert it's a param for the exec filter
12:02 RossC0 ok its monday - I'm being slow
12:03 RossC0 how can I turn off all caching in on quick and easy move?
12:03 RossC0 which file
12:03 Wombert factories.xml
12:03 Wombert the exec filter
12:03 Wombert <parameter>
12:03 Wombert better? :)
12:03 RossC0 hmm - man
12:03 Wombert okay :p
12:03 RossC0 its not really helpful
12:04 RossC0 but cool
12:04 RossC0 I'll use that
12:04 Wombert <exeution_filter class="AgaviExecutionFilter">
12:04 Wombert <parameter name="enable_caching">false</parameter>
12:04 Wombert </execution_filter>
12:04 Wombert hugs RossC0
12:04 Wombert hugs RossC0
12:04 Wombert well would there be a difference?
12:04 Wombert we could introduce a setting... hmm...
12:05 RossC0 well I don't like that because
12:05 RossC0 AgaviExecutionFilter - doesn't say caching
12:05 Wombert but then, the nice thing is the caching itself is a standalone thing
12:05 Wombert right
12:05 Wombert hmm
12:06 RossC0 as we go to 1.0 - oddities like that should be cleaned up / simplified - for ze dumb masses :D
12:06 RossC0 so should it be:
12:07 RossC0 <execution_filters class="AgaviExecutionFilter">
12:07 RossC0 <excution filter class="AgaviCaching"><parameter name="enable_caching">false</parameter></execution_filter>
12:07 RossC0 </execution_filters>
12:07 RossC0 but that still isn't ideal
12:07 RossC0 well one to ponder me thinks :D
12:07 Wombert errr
12:08 RossC0 or make it more intuitive another way - I'm sudo coding there without knowledge of the internals
12:09 MikeSeth Wombert: what's the chance Agavi is adding doctype declaration to html output somewhere?
12:09 Wombert nil
12:09 Wombert libxml might
12:09 RossC0 brb - another meeting
12:09 MikeSeth well shit, what does then
12:09 Wombert do you parse as html?
12:09 MikeSeth no, I'm trying to render json output
12:09 Wombert MikeSeth: or an xml prolog? but that's stripped out again by default
12:09 MikeSeth and suddenly I get a primitive decorator template around json output which isnt either in agavi nor in my code
12:11 MikeSeth and I cant understand wtf does it come from
12:11 Wombert FPF?
12:11 Wombert did you set it to run only for "html" OT?
12:11 Wombert <parameter name="output_types">
12:11 Wombert <parameter>html</parameter>
12:11 Wombert </parameter>
12:11 MikeSeth mmmm where can FPF be triggered
12:11 MikeSeth okay lets see
12:11 Wombert is it POST?
12:11 Wombert then it might run by default
12:11 MikeSeth (thoudh I'd presume you wouldn't allow FPF to generate HTML 4.0 LOOSE prolog, right? ;)
12:11 Wombert well maybe libxml does that
12:12 Wombert you never know ;)
12:12 JamieWolf obeyed the topic and gave Wombert a cookie :)
12:12 Wombert munches
12:12 Wombert taaaasty
12:12 Wombert hugs JamieWolf
12:13 JamieWolf yeah my grandma's special, with an extra chocolate
12:16 digitarald [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has joined #agavi
12:18 MikeSeth Wombert: if I specify no layouts in an output type, what happens? are they inherited from the default output type by chance?
12:18 Wombert no
12:19 Wombert also, if you do not load a layout, no rendering occurs
12:20 MikeSeth then WTF IS GOING ON
12:20 Wombert but did you check the view again
12:20 MikeSeth I dont need rendering, the view returns content
12:20 Wombert the default ones construct layers and renderers by hand
12:20 MikeSeth well god damnit, wtf is up with this
12:20 MikeSeth hmm
12:20 MikeSeth maybe the browser is lying to me
12:21 Wombert maybe
12:34 MikeSeth Wombert: mea culpa. You are right again. I had some code in the view that was populating the filter.
12:36 Arme[N] kudos v-dogg and dominic
13:11 RossC0 back - man gotta love meetings
13:15 MikeSeth yah man! it wooooorks!
13:21 JamieWolf [n=JamieWol@e177186009.adsl.alicedsl.de] has quit ["Gone for a Drink"]
13:21 JamieWolf [n=JamieWol@e177186009.adsl.alicedsl.de] has joined #agavi
13:21 Whisller [n=example@217.97.146.67] has left #agavi []
13:23 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 60 (Operation timed out)]
13:24 RossC0 woot: Fatal error: Exception thrown without a stack frame in Unknown on line 0
13:24 RossC0 I <3 php
13:54 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
13:55 MikeSeth </3 php kthx
14:09 MikeSeth is there built in support for HTTP authentication?
14:09 MikeSeth i suppose not
14:11 digitarald [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
14:15 MikeSeth Wombert: poke
14:17 digitarald [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has joined #agavi
14:17 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:27 Wombert oi MikeSeth
14:30 MikeSeth Wombert: is there built in support for HTTP auth anywhere? I need to bypass my normal auth scheme for RPC api
14:31 Wombert sure, PHP can do it
14:31 MikeSeth I know *PHP* can, I'm asking if there's support in Agavi - I can't find traces of any :)
14:31 MikeSeth and anyway how do I get to the request headers?
14:33 Wombert write a custom user
14:33 Wombert that reads from $_SERVER in startup()
14:34 MikeSeth no problemo :)
14:34 MikeSeth I actually was thinking more about writing a global filter, but no need
14:35 MikeSeth wait, will this be performed before or after routing?
14:35 MikeSeth I only need to consider the override auth for certain set of routes
14:37 Wombert before the routing is executed
14:38 Wombert if you need it after, you can log the user in in a global filter
14:38 MikeSeth yeah, thought so
14:39 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 54 (Connection reset by peer)]
14:46 CIA-11 david * r1987 /branches/0.11/src/view/AgaviView.class.php: out with ze legacy RENDER_* doohickey
14:46 MikeSeth Wombert: shouldn't there be a framework facility to read HTTP auth?
14:48 Wombert awwwwmmmmppppfffhhhh
14:48 Wombert maybe in 1.0
14:51 MikeSeth where would be the proper place to capture it then? I suppose the same place where you handle cookies / uploads etc?
14:52 MikeSeth I mean in the framework
14:52 Wombert well
14:52 Wombert Xylakant needed to read REMOTE_ADDR the other day
14:52 Wombert we might want to consider adding _SERVER and _ENV as request sources
14:53 MikeSeth yeah, makes sense
14:53 Wombert on the other hand, $_SERVER and $_ENV remain untouched except for HTTP_* (HTTP headers) in $_SERVER
14:54 Wombert I don'T really regard those two as input
14:54 Wombert they're not user accessible
14:55 MikeSeth bows
14:55 Wombert not sure what the others think
14:55 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:56 MikeSeth Wombert: is _SERVER radically different in non-Web contexts? E.g. REMOTE_ADDR has no meaning in CLI, so code relying on it directly might break
14:56 Wombert that wouldn't be an issue, it contains (some) values in CGI mode, too
14:56 Wombert it's just that... dunno... I don't regard them as part of the request
14:57 Wombert sure, REMOTE_ADDR and all, but...
14:59 JamieWolf [n=JamieWol@e177186009.adsl.alicedsl.de] has quit ["Gone for a Drink"]
15:08 Xylakant Wombert: especially $_SERVER contains lots of useful information and parts of it is user-supplied
15:08 Wombert yes, HTTP_*
15:08 Wombert that's why that's put into "headers"
15:08 Xylakant $_SERVER['REMOTE_ADRESS']
15:08 Xylakant REMOTE_ADDR...
15:09 Wombert that's not user supplied!
15:09 Wombert it's set by the server
15:09 Xylakant it's not really user-supplied and can't be hacked, but it's sort of awkward if you need to access some information differently
15:09 Xylakant and it's a property of the request
15:10 Xylakant i agree that $_SERVER is somewhat split
15:11 Xylakant parts of it is request specific (and parts of that user supplied) and other parts are more environement specific
15:11 epaulin [n=epaulin@221.221.20.118] has joined #agavi
15:12 MikeSeth Wombert: ideally, Agavi should encapsulate application logic in tight isolation to the point it is literally hard to write code that breaks in alien contexts
15:12 MikeSeth that is, the developer should never [be able to] touch $_SERVER directly, and stuff like HTTP auth, remote address etc should be available via Agavi interface
15:13 MikeSeth if you really need the low level headers, like REQUEST_URI, you should do it outside your application logic or explicitly pierce it through, never access it directly
15:17 Xylakant especially things like the client IP should be available by default as a request attribute/parameter
15:18 Xylakant especially since this is sort of difficult to determine atm as the REMOTE_ADDR may point to a proxy and the other information in HTTP_FORWARDED_FOR is user-supplied and cleared from $_SERVER
15:19 Xylakant so atm you need to check a global variable first (not very clean agavi-style-wise) and then a request parameter
15:23 digitarald urgs ... "You cannot serialize or unserialize PDO instances"
15:24 MikeSeth digitarald: HAHA FAIL
15:24 digitarald session_start tries that???
15:24 MikeSeth breaks into tears
15:24 digitarald the last useful stack trace
15:25 Xylakant probably you stuffed a model in the session that has a propel connection as property
15:25 digitarald ... 0: Unknown file(Unknown line)
15:25 Xylakant pdo connection....
15:25 digitarald mh ... i added a new method to a propel peer class ...
15:25 digitarald i refreshed ...
15:25 digitarald ... weird
15:27 digitarald :D who had that today "Exception thrown without a stack frame in Unknown on line <i>0</i>"
15:27 digitarald count++
15:28 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"]
15:28 Xylakant sounds like a nice one
15:31 digitarald propel seems to be the problem for the pdo-session error
15:45 Whisller [n=example@217.97.146.67] has joined #agavi
15:46 Whisller Is so hot
15:46 Whisller nice :]
15:47 Xylakant when will the php fix their darned function signatures
15:51 Wombert still not sure whether we should treat $_SERVER and $_ENV info as "input"
15:51 Wombert or request data
15:51 Wombert hmmm maybe it should be available from the request directly
15:51 Wombert hmhm
15:51 Wombert hmmmh
15:54 RossC0 digitarald - I did :D
15:54 RossC0 fixed it - database and logging error
15:55 MikeSeth Wombert: thats immaterial, the point is, you should separate data that might be missing, misformatted or called differently in a different context and provide an Agavi interface to collect that data
15:56 digitarald RossC0, i refreshed and it was gone
15:56 lehavn [n=lehavn@210.245.33.146] has quit []
15:57 Whisller [n=example@217.97.146.67] has quit []
16:07 epaulin vote for treat as request data.
16:07 MikeSeth epaulin: treat what as request data? $_SERVER is not request data.
16:07 Wombert problem is... it's not consistent anymore
16:08 Wombert some machines will have data in ENV, others won't
16:08 Wombert etc
16:08 MikeSeth Wombert: ENV is actually barely relevant, people who need to define things in the envo typically do it explicitly anyway and write corresponding apache rules
16:11 Whisller [n=example@217.97.146.67] has joined #agavi
16:13 epaulin MikeSeth: Hmmm, but what else more appropriate to hold $_SERVER, not sure.
16:17 Xylakant Wombert: I decided to make REMOTE_ADDR available request property
16:29 MikeSeth Xylakant: but you do understand that in console/wap/cron/etc context that value is absent, so your request object should return 0.0.0.0 or throw an Exception, right?
16:30 MikeSeth though, never mind me, I have no doubt you know exactly what you're doing
16:30 Xylakant yes, i do
16:31 MikeSeth sorry :D
16:31 Xylakant it returns 0.0.0.0
16:31 Xylakant np
16:32 Xylakant but if an action specifically needs a client ip adress for anything other than logging purposes it will have to bail out in a cron context anyways, so throwing an exception may be an option
17:05 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
17:07 codecop [n=codecop@88.118.220.248] has quit ["Leaving"]
17:09 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:23 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:37 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
17:37 RossC0 why is xpath such a pita in php?
17:39 Arme[N-1] is now known as Arme[N]
17:41 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
17:42 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:47 RossC0 anybody see whats wrong here? http://pastie.caboo.se/69464
17:48 RossC0 I want to find the form element - based on the input with the value="Update Profile" => getting that works in xpath - just not the ancestor part
17:49 Wombert form[.//input[value="Update Profile"]]
17:49 Wombert form[.//input[@value="Update Profile"]]
17:52 RossC0 nope :(
17:57 RossC0 oww
17:57 RossC0 yeap
17:57 RossC0 //html:form[//html:input[@value="Update Profile"]]
17:57 MikeSeth no hpricot for PHP :|
17:59 RossC0 hmm
17:59 RossC0 MikeSeth - I'm waiting for your article on hpricot :D
18:19 digitarald why is there a PDO connection in my session variable
18:22 RossC0 whats your session storing?
18:23 digitarald AgaviSessionStorage
18:27 digitarald my problem is, that i have this PDO statement in a propel peer class
18:27 digitarald when i remove it, all works fine
18:29 digitarald ... http://p.caboo.se/private/nsyzbdq3pomdv8ojbf
18:31 digitarald RossC0, do u see something wrong?
18:31 RossC0 ah not a propel man
18:36 Whisller [n=example@217.97.146.67] has quit []
18:39 epaulin digitarald: $rs = $stmt->executeQuery($sql, ResultSet::FETCHMODE_NUM); parent::populateObjects($rs);
18:40 lukoko [n=kosher@78-57-212-36.ip.zebra.lt] has joined #agavi
18:44 codecop [n=codecop@85.206.199.63] has joined #agavi
18:44 digitarald epaulin: propel 1.3 with PDO
18:44 digitarald not Creole
19:00 Wombert eh wtf?
19:01 Wombert is it $con = self::$context->getDatabaseConnection(); ?
19:01 Wombert I guess it is
19:01 Wombert add a __sleep() that prevents the addition of the context
19:01 Wombert didn't know static props were serialized as well
19:02 Wombert and in __wakeup() restore the ctx
19:02 Wombert http://trac.agavi.org/browser/branches/0.11/src/view/AgaviTemplateLayer.class.ph​p#L83
19:02 digitarald k
19:03 digitarald sleep to the peer
19:03 Wombert do you serialize it?
19:03 Wombert well maybe it's stored in the rows
19:03 digitarald its never stored
19:03 Wombert this all seems very odd
19:04 digitarald its written directly to the template
19:04 Wombert can't you please var_dump() the thing you're serializing
19:04 Wombert with xdebug and a large depth
19:04 Wombert then you'll see where the PDO instance is
19:04 digitarald i don't even now where i serialise?
19:05 Wombert session does serialization
19:05 digitarald $models = $peer->doFilteredSelect($c);
19:05 digitarald $this->setAttribute('tags', $models);
19:05 digitarald and in the template some output with the models ...
19:05 digitarald nothing in the session
19:05 digitarald nothing saved in the user
19:06 Wombert well then var_dump() the session in shutdown()
19:06 Wombert *session contents
19:06 digitarald k
19:06 digitarald which shutdown?
19:06 digitarald context?
19:07 digitarald session storage
19:07 Wombert mmmh I think the user
19:07 Wombert it uses the session
19:07 Wombert lemme check
19:08 Wombert yah
19:22 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:25 digitarald again ... Fatal error: Exception thrown without a stack frame in Unknown on line <i>0</i>
19:25 digitarald he does not reach shutdown
19:25 Wombert that happens during autoloading or serialization
19:26 digitarald ok, i'll check at home
19:26 digitarald laters all
19:26 digitarald [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
19:30 CIA-11 david * r1988 /branches/0.11/src/ (2 files in 2 dirs): fixed a bunch of errors in XMLRPC request and response, closes #528
19:30 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
19:31 Arme[N-1] is now known as Arme[N]
19:33 CIA-11 david * r1989 /branches/0.11/CHANGELOG: logchange
19:34 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit [Read error: 110 (Connection timed out)]
19:34 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
19:36 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:53 Wombert [n=Wombert@87.79.35.58] has quit []
19:58 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
20:02 lukoko [n=kosher@78-57-212-36.ip.zebra.lt] has quit [Remote closed the connection]
20:04 epaulin [n=epaulin@221.221.20.118] has quit ["Hmm... Upgrades."]
20:11 Arme[N] lol, nf the ghost is here
20:11 Arme[N] implement: ;)
20:22 Wombert [n=Wombert@p508734BD.dip0.t-ipconnect.de] has joined #agavi
20:39 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
20:40 E_mE [n=E_mE@91.84.10.29] has joined #agavi
20:44 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:46 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
20:46 _cheerios yo
21:00 Wombert oi
21:12 codecop [n=codecop@85.206.199.63] has quit [Remote closed the connection]
21:16 E_mE does anyone have knowledge of SQL?
21:16 E_mE i want to know if something is possible
21:16 E_mE is it possible to run the following query:
21:18 E_mE select threads.topic, max(posts.creationDate), posts.username from threads INNER JOIN on theads.uid = posts.threadUid where thread.uid=1213
21:19 E_mE will that statement work, or will it error because of the MAX()
21:19 E_mE it sould be: "max(blah) as dateValue"
21:22 E_mE pokes people for any responses.. ::poke::
21:35 _cheerios know what thy do and thy need not ask! :D
22:05 Wombert why don't you just try :p
22:10 Whisller [n=example@217.97.146.67] has joined #agavi
22:24 Wombert [n=Wombert@p508734BD.dip0.t-ipconnect.de] has quit []
22:45 Whisller [n=example@217.97.146.67] has left #agavi []
22:47 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
22:48 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
23:13 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)]
23:13 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
23:14 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
23:15 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
23:15 Arme[N-1] is now known as Arme[N]
23:28 implement is now known as impl
23:45 MikeSeth ok who's here raise hands
23:45 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
23:47 noisewaterphd [n=noisewat@c-67-169-245-114.hsd1.ut.comcast.net] has joined #agavi
23:50 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
23:50 Arme[N-1] is now known as Arme[N]
23:50 MikeSeth so no one here?
23:51 impl hi
23:51 MikeSeth hey
23:52 MikeSeth im writing a long post about using Agavi for incremental refactoring
23:52 MikeSeth i wrote the first half, wanna peek?
23:52 impl Okay
23:53 MikeSeth http://pastebin.ca/559632
23:54 impl clicks
23:57 impl MikeSeth: You know Halliburton is a real company, right?
23:57 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
23:58 MikeSeth impl: that was very evil piece of software.
23:58 MikeSeth Especially evil
23:58 impl Like the company? :P
23:58 MikeSeth impl: I'm fully up to date on modern USA conspiracy theories
23:59 impl hehe
23:59 impl "If anyone is asking, the password is in the cookie jar." => ouch.
Day changed Tue Jun 12 2007
00:07 MikeSeth yeah...
00:08 impl MikeSeth: That's amazing, really
00:09 MikeSeth in a sick way, yes
00:09 impl It's a testament to Agavi, I think
00:09 impl And to you, for sure
00:09 MikeSeth now I'm gonna be writing *how* I used Agavi to unfuck this shit
00:10 impl :D
00:10 MikeSeth routing really helped. Without it I'd be editing HTML to this day
00:11 MikeSeth and the security filter, and FPF.. god bless FPF..
00:45 _cheerios MILITARY-GRADE MAKEOVER!!!
00:47 E_mE god this SQL is driving me NUTS!
00:50 _cheerios do simpler queries. :)
00:50 E_mE yeah im trying to figure it out, because i want to get the last poster, the count of posts and the the thread title in one
00:50 E_mE so im thinking of 3 queries now
00:51 implement [n=impl@httpcraft/php/impl] has joined #agavi
00:51 _cheerios start simple. make it "better" when you know how :)
00:51 E_mE ill manage it... if its the last thing i Do. mwwhahahahaha ::EVIL LAUGH::
00:52 _cheerios nothing wrong with doing 30-50 queries for a single webpage.
00:52 impl [n=impl@httpcraft/php/impl] has quit [Nick collision from services.]
00:52 implement is now known as impl
00:52 E_mE yeah, but ideally i would of liked one statement to get what i wanted hehe
00:52 MikeSeth _cheerios: are you poking fun at me? :D
00:52 MikeSeth well you prolly should
00:52 MikeSeth i tend to get overzealous
00:52 MikeSeth rightfully though :D
00:52 E_mE but im getting to the thought that it may not be possible
00:53 E_mE MikeSeth is a query king =P
00:53 MikeSeth I am?
00:54 E_mE yes.. yes you are...
00:54 E_mE no accept all the queries and dance with them
00:56 MikeSeth now im going to write in great detail how I used Agavi to save the day! :D
00:57 E_mE heeh lovely :) ... also can you create views/queries and save them in MySQL?
00:58 E_mE or do you just execute loads of different statements and match them togetehr in code?? i think this idea is somewhat stupid ]
00:59 _cheerios you can do views in mysql, sure.
00:59 MikeSeth well you actually _can_, very easily too
00:59 MikeSeth i use stored procs, triggers and views extensively for materialization
00:59 MikeSeth that is in fact how report zooming works
01:00 _cheerios though i need to check on something. i suspect a view i made a on 2 GB table makes the view take 2GB itself... doubling storage (hdd) for mysql.
01:00 E_mE so does MySQL have such features or are you refering to MSSQL?
01:01 MikeSeth mysql does, and they even work
01:01 MikeSeth and if it didnt there's always PostgreSQL which is the holy grail of free databases
01:01 _cheerios mysql does the job, ive had no complaints.
01:02 MikeSeth _cheerios: well except when fucking thing loses triggers if you drop a column in affected table
01:02 MikeSeth and like five another things that I really hate
01:02 _cheerios i don't use triggers/procs. i do it all in code.
01:02 MikeSeth good luck summarizing 5Gb of data in PHP every night
01:02 _cheerios but im kinda behind on the latest stuff too, though procs/trigs are still somewhat dubious.
01:03 E_mE where do views get saved?
01:03 MikeSeth well it works
01:03 E_mE in your main database view?
01:03 _cheerios IN THE MOON
01:03 MikeSeth E_mE: in mysql internal tables
01:03 E_mE WOW!!! the moooonnnn!
01:03 MikeSeth E_mE: you see them as tables.
01:03 E_mE ah see see
01:03 E_mE thanx
01:04 MikeSeth which is why its a good idea to name views with _v: my_bullshit_v
01:04 E_mE jah :)
01:05 MikeSeth _cheerios: I upload & screenscrape a shitload of data every night. It gets converted to csv and i insert int directly into mysql. Triggers do the breakdowns and materialization. Works.
01:05 _cheerios pfft. that's like going hungarian on interfaces to be inconsistent with everything else.
01:07 E_mE i hate how SQL statements give you such crap error message... "Its Near here somewhere! blah blah lbah!!"
01:07 _cheerios so, you're like doing statistics on STOLEN stuff, mike?
01:08 MikeSeth _cheerios: no, I have a bunch of vendors whose admin tools are written in perl back in 90s
01:08 MikeSeth there /are/ no 'exports' or 'services'
01:08 impl ha
01:09 MikeSeth worst case scenario: such a hax upgraded with ajax
01:09 MikeSeth you have to parse invalid HTML *and* javascript to get to the data
01:09 _cheerios and i thought my job sucked.
01:10 MikeSeth well mine really kicks ass, I turned a shitknob into a candy
01:10 impl The company I started working for is using Symfony
01:10 impl :(
01:10 MikeSeth though i cursed the names of the people who wrote this
01:10 MikeSeth impl: oh, so now we have a covert operative onboard! :D
01:11 impl It's okay, I'm not going to be touching their Web development stuff
01:11 impl Thank God :P
01:11 MikeSeth better to remain undercover until the main forces arrive, and then unlock the gates :D
01:11 impl haha
01:30 _cheerios what keeps you so motivated, MikeSeth ?
01:35 E_mE are Group By and Order By very bad friends?
01:36 E_mE because im executing: select posts.* from posts Group by threadUid ORDER BY posts.uid DESC; and from what you see, you expect the newest number to be ontop.. but hell no!
01:38 _cheerios there was a time, but im not sure this is the case anymore
01:38 E_mE fecking sqiruals!!
01:38 _cheerios sure your query works?
01:39 E_mE ill show you the ouput
01:39 E_mE +-----+-----------+---------+---------------------------------------------------​---+---------------------+----------+
01:39 E_mE | uid | threadUid | userUid | postText | creationDate | editDate |
01:39 E_mE +-----+-----------+---------+---------------------------------------------------​---+---------------------+----------+
01:39 E_mE | 1 | 1 | 1 | hello, this is a post reply to the first EVER thread | 2007-06-11 19:27:10 | NULL |
01:39 E_mE +-----+-----------+---------+---------------------------------------------------​---+---------------------+----------+
01:39 E_mE there is a uid of 2 in that table
01:40 _cheerios i tested, and group by+order by works fine together
01:40 E_mE yeah the query works... just doesnt perform the result i desire
01:41 E_mE it should be DESC ordering the list
01:41 E_mE meaning the uid should "ideally" be 2
01:41 E_mE not 1, because 1 is the lowerest value
01:41 _cheerios did you cut off the second row from that output?
01:41 E_mE no
01:41 _cheerios it would still be there, asc or desc
01:42 E_mE im grouping it by threadUid though
01:42 _cheerios then both are threadUid 1
01:42 E_mE and this is a post against hte thread
01:42 E_mE yes
01:42 _cheerios so you only have 1 result...
01:42 impl I don't think group by does what you think it does
01:43 E_mE it groups a common value, so threadUid all are 1's at the moment and uid are 1 and 2
01:43 E_mE unless it groups before it orders
01:43 _cheerios stay off the drugs and read what i said
01:44 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["sheep here i come, you bastards!!!!"]
01:45 E_mE :/ don't know if he understood what i was saying.. or vice versa :(
02:11 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
03:04 E_mE sits back in the happiness that it finally works :)...
03:48 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
03:48 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 104 (Connection reset by peer)]
04:41 E_mA [n=E_mE@91.84.10.29] has joined #agavi
04:54 E_mE [n=E_mE@91.84.10.29] has quit [Read error: 110 (Connection timed out)]
05:24 lockes [n=locke@70.88.51.126] has joined #agavi
05:55 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
05:55 MrJeep hi
08:17 impl [n=impl@httpcraft/php/impl] has quit ["Leaving"]
08:36 v-dogg huomenta
09:07 codecop [n=codecop@85.206.220.235] has joined #agavi
09:32 noisewaterphd [n=noisewat@c-67-169-245-114.hsd1.ut.comcast.net] has quit [Read error: 110 (Connection timed out)]
10:00 MikeSeth huomenta
10:08 digitarald [n=Miranda@62-43-154-107.user.ono.com] has joined #agavi
10:12 E_mA [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
10:22 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:23 um [n=um@noc.cavokintl.com] has quit [Nick collision from services.]
10:23 um [n=um@noc.cavokintl.com] has joined #agavi
10:41 RossC0 huomenta!
10:44 digitarald Moin :)
10:56 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
11:04 E_mE [n=rabbits@host217-37-52-241.in-addr.btopenworld.com] has joined #agavi
11:04 E_mE huomenta!!
11:06 MikeSeth bah it is so cool. 20 minutes of effort => fully blow audit trail
11:06 MikeSeth Agavi <3333
11:06 MikeSeth hey E_mE and folks
11:07 RossC0 heh MikeSeth
11:07 RossC0 ah Mike - quick question. Your graphing - how did you go about adding it?
11:12 MikeSeth jpgraph, but I would have to rip it out
11:12 MikeSeth turns out its non-free and I cant use it this way
11:15 Wombert [n=Wombert@87.79.35.58] has joined #agavi
11:19 MikeSeth ay Wombert
11:19 Wombert hi
11:19 MikeSeth http://pastebin.ca/559632 <- first part of Agavi case study I am writing
11:19 MikeSeth (dirty draft)
11:25 RossC0 ah ok Mike
11:25 RossC0 may go for a clientside graphing option
11:29 v-dogg MikeSeth: brilliant work
11:35 MikeSeth *bows&
11:37 MikeSeth ill release the first draft for the second part (the one with juisy agavi details) tomorrow
11:39 Wombert it's a lil fanboyish isn't it
11:39 Wombert I mean, you're bashing the old app rather heavily ;)
11:40 Wombert guess you need to strip it down a little, too, since it gets too long otherwise
11:40 Wombert but yet, great work dude
11:42 MikeSeth Wombert: I wont cut it for length (but for clarity), because the other part is -very- long
11:42 MikeSeth I will be describing in details
11:43 Wombert kk
11:43 MikeSeth and I am bashing the old app heavily for a reason
11:43 MikeSeth here is why
11:43 MikeSeth if ($selection) {
11:43 MikeSeth print " <select name=\"adv\" style=\"width: 350px\">\n";
11:43 MikeSeth $result = mysql_query("SELECT * FROM data WHERE deleted=0 GROUP BY company ORDER BY company");
11:43 MikeSeth if ((!$adv) || ($selection == 'no')) print " <option value=\"\">- Select -</option>\n";
11:43 MikeSeth while ($row = mysql_fetch_array($result)) {
11:44 MikeSeth extract($row);
11:44 MikeSeth that's the original source code.
11:44 MikeSeth print " <option value=\"$company\"";
11:45 v-dogg nice :)
11:47 MikeSeth it only looks nice /after/ emacs
11:50 v-dogg I take it that the DB design was bearable enough, though? incremental upgrade/rewrite would be quite hard otherwise
11:59 Xylakant does anyone with propel experience have a minute
12:00 Xylakant most beautiful error handling you found there, mikeseth
12:00 v-dogg I'm not that experienced but shoot
12:01 Xylakant [wrapped: Cannot fetch TableMap for undefined table: <table>. Make sure you have the static MapBuilder registration code after your peer stub class definition.]
12:01 Xylakant what is propel trying to tell me?
12:01 Xylakant the problem seems to be related to the fact that my schema is split in two parts
12:02 Xylakant and i use <external-schema> to get them together
12:02 Xylakant now i want to join from a table in schema1 to a table in the external schema and that's what i get...
12:04 Xylakant i know i had that problem before, but can't remember how i fixed it
12:06 MikeSeth v-dogg: it was not fatally flawed, if that's what you ask
12:07 MikeSeth but the way they set up relationships between things.. and duplication of data, and stale unused columns sitting around.. and magical status fields
12:09 JamieWolf [n=JamieWol@e177184165.adsl.alicedsl.de] has joined #agavi
12:11 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
12:13 Arme[N] Hi Agavi1
12:13 Arme[N] what meaning KTHXBAI?
12:15 RossC0 ZOMGLOL ^Arme[N] KTHXBAI
12:16 RossC0 :D
12:16 RossC0 its hacker speak
12:16 RossC0 Wombert does it best
12:17 Wombert zomgnoob getskillz kthxbai
12:19 RossC0 see :D
12:19 digitarald| [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has joined #agavi
12:20 digitarald [n=Miranda@62-43-154-107.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
12:21 digitarald| is now known as digitarald
12:24 v-dogg Xylakant: sorry, can't help you with that
12:25 Xylakant hmm. too bad
12:26 Xylakant seems that propel can't join across schemas
12:26 Arme[N] RossC0, I don't understand anyway, may be I'm not geek or hacker ;)
12:27 v-dogg = ok thanks bye
12:27 Arme[N] no problem guys \o/
12:27 Arme[N] :P
12:28 Xylakant Wombert?
12:50 digitarald still that session-pdo-serialise problem ... bloody php
12:50 digitarald i thought when i sleep one night and wake up its gone
12:53 MikeSeth digitarald: xdebug time :D
12:54 digitarald seems like serialize fails even before AgaviUser::shutdown is called
12:54 kaos|work [n=dominik@87.79.35.58] has joined #agavi
12:54 digitarald and ... Fatal error: Exception thrown without a stack frame in Unknown on line <i>0</i>
12:54 digitarald really helps
12:54 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
12:54 digitarald lets dig into it
12:55 _cheerios huomenta :)
12:55 MikeSeth digitarald: worst case scenario, you can use the sandbox to move serialize() away and plant a spy function instead ;)
12:57 digitarald i try some breakpoints for now
12:57 digitarald and then cry 10 minutes about the lost time ... then the hard way
12:57 _cheerios what happens w/ze bug, digitarald ?
13:00 digitarald something in serialisation goes wrong and next request "You cannot serialize or unserialize PDO instances"
13:23 v-dogg what are you serializing?
13:23 v-dogg sounds like something you shouldn't :)
13:23 digitarald thats it ... nothing ;)
13:24 digitarald it happens when i add that connection stuff to a peer model
13:24 digitarald http://p.caboo.se/private/nsyzbdq3pomdv8ojbf
13:24 digitarald but none of this is serialized, it goes directly to the view
13:24 digitarald which outputs it
13:24 digitarald nothing more
13:24 Wombert well apparently, something IS serialized somewhere
13:25 MikeSeth digitarald: uhhh.. are you sure you aren't placing a copy of the database connection (or something that refers to it) anywhere where it could be stepped upon by someone's sleep/wakeup methods?
13:25 Wombert are you using caching, digitarald?
13:25 digitarald i use the connection in there
13:25 digitarald no caching
13:25 digitarald no connection anywhere else
13:26 digitarald only working with the peers
13:27 digitarald i'll refactor a bit
13:27 v-dogg something in user::attributes?
13:28 MikeSeth digitarald: it is enough for an object that references anything that keeps a copy of the connection to slip into another object's serialization
13:28 digitarald i debugged in AgaviUser::shutdown, its not called, the error is before that
13:36 Wombert agavi only serializes when caching
13:36 Wombert and implicitly in the session handling
13:36 Wombert something else in your code is calling serialize()
13:47 digitarald now its gone, after moving some lines but without any real changes
13:48 MikeSeth digitarald: diff the bastard!!
14:14 RossC0 how'd I use the FPF on a get request ?
14:14 RossC0 I post to an Edit which redirects and may have some form errors - bit screwy
14:15 Wombert [n=Wombert@87.79.35.58] has quit [Remote closed the connection]
14:16 Wombert [n=Wombert@87.79.35.58] has joined #agavi
14:17 RossC0 Wombert any way to use FPF on a get request?
14:18 RossC0 i.e. add errors to it
14:19 Wombert errors
14:19 Wombert ehm
14:19 Wombert mh
14:19 Wombert well you could, er, set errors on the validation manager
14:19 Wombert then tell the FPF to run
14:19 RossC0 k how'd I tell FPF to run?
14:19 Wombert is that about what you're trying to do?
14:20 RossC0 yup - I've set the errors
14:20 Wombert set populate to... mh... well depends
14:20 Wombert array('formid' => new AgaviRequestDataHolder());
14:20 Wombert err
14:20 Wombert AgaviParameterHolder
14:20 Wombert or
14:20 Wombert if it's the same URI
14:20 Wombert you could just pass an empty parameter holder
14:20 Wombert that triggers it
14:21 Wombert I always thought you could set populate to true, but it seems that never was the case :p
14:21 RossC0 hmm confused - I already use it populate the form and I've set errors to it - but no inline errors or error classes
14:22 Wombert to populate the get form?
14:23 RossC0 wierd
14:23 Wombert it calls $vm->hasError('fieldname');
14:23 RossC0 I'm setting errors to the $vm and I'm adding data to view.
14:23 RossC0 hmm - I'll double check :D
14:24 Wombert re
14:24 Wombert sorr
14:24 Wombert y
14:24 Wombert hasError() internally checks the field results
14:24 Wombert I think via isFieldFailed() or so
14:24 Wombert yeah that's what it does
14:24 Wombert setting the errors by hand is not entirely trivial
14:25 Wombert you have to use addFieldResult
14:25 Wombert did you do that?
14:25 Wombert $vm->addFieldResult(null, 'fieldname', AgaviValidator::ERROR);
14:25 Wombert or so
14:25 Wombert that should work
14:25 Wombert kaos|work?
14:26 RossC0 ok - I'll check :D
14:28 kaos|work the old style api (setError(field, description) should still work
14:28 RossC0 yeah
14:28 RossC0 Its picking them up - in FPF - so I'm doing something wrong
14:30 RossC0 yeap - my xpath was invalid - sorry
14:31 Wombert okies
14:32 RossC0 cool
14:32 Wombert we'll refactor exec and fp filters for 1.0
14:32 Wombert so you have onAfterErrorFound() methods or whatever
14:33 Wombert right now, the only way to modify behavior is to overwrite all of execute()
14:33 Wombert but first things first :p
14:40 _cheerios gmail down? not sending meh mails
14:43 _cheerios up again *sigh*
14:51 epaulin [n=epaulin@221.221.16.56] has joined #agavi
15:51 Whisller [n=example@217.97.146.67] has joined #agavi
15:56 Whisller Hi my friends :) I have a problem (agavin). I'm using FPF to forms, and user can send a file(image), but when he send it I return form view and he can send another image etc. But I must set a ID of record in database in hidden field because when I don't set it app will be add new record. And my question is, how I can set it in action?
15:57 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
15:57 Whisller *not agavin, again
16:03 Whisller Oh I have it. splatch`helped me :)
16:05 RossC0 good work splatch` :D but can you remember to do it in this channel as the logs will become a searchable resource for new folk in the future :D
16:06 Whisller $rd->setParameter('rooms_id', $oRoom->getLatestAddedId());
16:06 Whisller $this->getContext()->getRequest()->setAttribute(
16:06 Whisller 'populate', $rd, 'org.agavi.filter.FormPopulationFilter'
16:06 Whisller );
16:07 Whisller good?
16:07 RossC0 thats Whisller
16:07 RossC0 *thanks - doh!
16:07 Whisller :)
16:07 RossC0 is hungover and my brain isn't in gear!
16:09 digitarald same here
16:10 Whisller I'm hungry
16:11 codecop [n=codecop@85.206.220.235] has quit [Remote closed the connection]
16:18 MikeSeth http://www.flickr.com/photos/29297284@N00/535350813/
16:26 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
16:42 _cheerios Whisller, don't add such id's to the form in the first place. Saves a lot of headaches :)
16:42 _cheerios MikeSeth *g*
16:42 MikeSeth :D
16:43 Whisller _cheerios: hmm I don't understand you. headaches?
16:48 MikeSeth Wombert: if I want the login action to proceed with the previously requested one, what's the proper way to invoke it?
17:04 RossC0 if($usr->hasAttribute('redirect', 'org.agavi.be.login')) {
17:04 RossC0 $this->getResponse()->setRedirect($usr->removeAttribute('redirect', 'org.agavi.be.login'));
17:04 RossC0 return;
17:04 RossC0 }
17:04 RossC0 in ze view
17:06 MikeSeth brrr
17:06 MikeSeth .be. ?
17:07 Wombert sample app does this, MikeSeth
17:07 MikeSeth Wombert: aha
17:07 MikeSeth RTFM time
17:07 Wombert RTFSampleAppCode time rather :p
17:07 Wombert look at LoginAction and all three Login*Views
17:08 MikeSeth already on it
17:08 _cheerios $this->getContext()->getRequest()->getUrlPath() is handy
17:08 Wombert note how the login action does not deal with any of the redirect stuff
17:08 RossC0 ah yes - I missed out the crucial input!
17:08 RossC0 where it gets set :D
17:08 kaos|work http://www.agavi.org/docs/latest/manuals/cookbook/ch02s05.html
17:08 Wombert login input view
17:08 Wombert if($this->getContext()->getRequest()->hasAttributeNamespace('org.agavi.controlle​r.forwards.login')) {
17:08 Wombert if that's true then the user was forwarded by the framework
17:08 kaos|work it actually IS in the "manual" ;)
17:08 Wombert then you remember the last url
17:08 Wombert oh
17:09 RossC0 lol kaos|work
17:09 MikeSeth Wombert: e.g. normal execution was diverted by filters etc?
17:09 MikeSeth thats when it's set?
17:09 RossC0 right b2w
17:09 Wombert yes, by the security filter, when an action is secure, but the user was not logged in
17:09 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
17:10 MikeSeth Wombert: is it also true for other system actions? or is it explicitly in the security filter?
17:10 Wombert remembers how you used to look at the action stack and poked around in it to check for this situation
17:10 Wombert also happens for the 404 action, for instance
17:10 MikeSeth gotcha
17:10 MikeSeth great
17:10 Wombert so you know if the 404 action was called directly (i.e. no route matched)
17:10 Wombert or, if the info is set, that internally, agavi could not find an action
17:50 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Connection timed out]
18:01 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
18:06 v-dogg it is all in ze manual! (redirecting stuff)
18:06 v-dogg Me wrote it :)
18:11 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
18:16 Xylakant good dogg ;)
18:18 Wombert xD
18:20 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
18:36 RossC0 laters all
18:36 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
18:48 lockes [n=locke@70.88.51.126] has quit ["Lost terminal"]
18:48 CIA-11 dominik * r1990 /branches/0.11/src/request/AgaviRequestDataHolder.class.php: Throw exception when trying to access non existant source
18:50 Xylakant cu all.
18:50 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
19:25 digitarald [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
19:26 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
19:31 CIA-11 dominik * r1991 /branches/0.11/src/config/AgaviConfig.class.php: docblock fixes
19:39 Fastly [n=fast@194.42.125.16] has joined #agavi
19:43 lockes [n=locke@70.88.51.126] has joined #agavi
19:43 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
19:44 Fastly any ideas on the following error:
19:44 Fastly XML Schema validation of configuration file "/var/www/vhosts/ths3/lib/agavi/config/defaults/config_handlers.xml" failed due to the following errors:
19:44 Fastly Line 4: Element 'handlers', [lax WC]: The namespace of the element is not allowed.
19:45 Fastly the code works fine locally
19:58 Wombert eh?
19:58 Wombert what libxml etc is that
19:58 Wombert maybe a bug in php
20:09 epaulin [n=epaulin@221.221.16.56] has quit ["Hmm... Upgrades."]
20:11 Fastly 2.6.16
20:11 Fastly according to phpinfo()
20:12 Wombert odd
20:12 Wombert same version here
20:12 Wombert and PHP?
20:16 codecop [n=codecop@88.118.199.191] has joined #agavi
20:17 Fastly 5.2.1
20:17 Fastly 5.2.2 on my dev box
20:18 Wombert weirdweirdweird
20:18 Wombert can you, mh, upgrade?
20:24 noisewaterphd [n=noisewat@c-67-169-245-114.hsd1.ut.comcast.net] has joined #agavi
20:26 Wombert Fastly: this seems to be an internal libxml/php dom error
20:31 Whisller [n=example@217.97.146.67] has left #agavi []
20:32 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
20:43 Wombert [n=Wombert@87.79.35.58] has quit []
20:49 kaos|work [n=dominik@87.79.35.58] has quit []
20:59 Whisller [n=example@217.97.146.67] has joined #agavi
21:36 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
21:36 MrJeep hi
21:36 MrJeep i have a weird one at this point..
21:36 MrJeep Failed to write cache file "/var/www/vhosts/alternativauto.ca/httpdocs/application/app/cache/config/_var_ww
21:36 MrJeep the directory is 777
21:36 MrJeep :S
21:43 kaos|work [n=dominik@p508737A0.dip0.t-ipconnect.de] has joined #agavi
21:50 MrJeep grrr
21:50 MrJeep why, even with 777 chmod, agavi could not write
22:00 MrJeep ah screw that I'm calling technical support
22:07 JamieWolf Does anyone know a script or a way to convert a whole DB from latin1 to UTF8?
22:13 JamieWolf_ [n=JamieWol@e177184200.adsl.alicedsl.de] has joined #agavi
22:17 MrJeep i do it manually
22:17 MrJeep it's a hell of a fun
22:26 kaos|work [n=dominik@p508737A0.dip0.t-ipconnect.de] has quit []
22:30 JamieWolf [n=JamieWol@e177184165.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)]
22:33 Fastly [n=fast@194.42.125.16] has quit [Read error: 104 (Connection reset by peer)]
22:44 JamieWolf_ [n=JamieWol@e177184200.adsl.alicedsl.de] has quit ["Gone for a Drink"]
22:48 kaos|work [n=dominik@p508737A0.dip0.t-ipconnect.de] has joined #agavi
23:08 splatch` Whisller: you welcome ;-)
23:16 Whisller ;p
23:19 Whisller kurwa today is night with code
23:19 Whisller i don't like it
23:20 codecop [n=codecop@88.118.199.191] has quit ["Leaving"]
23:38 MrJeep is it a good practice to have a formating class
23:38 MrJeep with public static function
23:38 MrJeep like Format::currency, Format::datetime
23:38 MrJeep etc...
23:40 v-dogg I use AgaviTranslationManager::_d() :)
23:41 v-dogg there's one for currency too, I think
23:41 MrJeep and for numbers in general ?
23:42 MrJeep i used a special class when the translation was off
23:42 v-dogg I have my own _f() for that
23:42 MrJeep but I think I'll just use the translation.. even when I only have one language
23:47 kaos|work _n for numbers
23:48 kaos|work you can use the number formatter w/o the translation as well
23:48 MrJeep even with use_translation = off ?
23:48 kaos|work yes
23:48 MrJeep :-o didn't know that
23:49 kaos|work $fmt = new AgaviDecimalFormatter('#.##');
23:49 kaos|work $fmt->formatNumber(2.34345);
23:50 kaos|work you just have to specify the format of course
Day changed Wed Jun 13 2007
00:40 Whisller [n=example@217.97.146.67] has left #agavi []
00:41 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
00:42 Whisller [n=example@217.97.146.67] has joined #agavi
00:45 impl [n=impl@adsl-221-33-34.rmo.bellsouth.net] has joined #agavi
00:50 Whisller [n=example@217.97.146.67] has left #agavi []
00:51 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
00:58 Whisller [n=example@217.97.146.67] has joined #agavi
01:02 Whisller [n=example@217.97.146.67] has left #agavi []
02:13 Whisller [n=example@217.97.146.67] has joined #agavi
02:14 Whisller hi
02:40 kaos|work [n=dominik@p508737A0.dip0.t-ipconnect.de] has quit []
03:25 impl [n=impl@adsl-221-33-34.rmo.bellsouth.net] has joined #agavi
03:32 Whisller [n=example@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)]
04:04 jordansjones [n=jordansj@13.241.sfcn.org] has joined #agavi
04:05 jordansjones [n=jordansj@13.241.sfcn.org] has quit [Client Quit]
06:20 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
06:20 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
08:30 v-dogg huomenta
08:30 v-dogg I think we can ditch the whole validation system and start using this only: http://www.howtoforge.com/remo_modsecurity_apache
08:31 v-dogg then we can start using stuff like system($_POST['command'], $retval) without worries
08:32 v-dogg what do you say? anyone?
08:38 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:25 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:26 _cheerios huomenta
09:27 Arme[N] huomenta
09:29 codecop [n=codecop@88.118.219.94] has joined #agavi
09:31 _cheerios v-dogg, was that morning humour?
09:37 v-dogg no no, I'm dead serious :p
09:44 _cheerios i need to place a check on wether something exists in the session for each action no matter what the route. should this be a filter, or?
09:52 _cheerios hmm, startup() in User might work too
10:12 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:13 RossC0 huomenta
10:23 _cheerios do i need to enable lock_barf if the model is to setAttribute, or am I trying to add it to the wrong object?
10:31 Whisller [n=example@217.97.146.67] has joined #agavi
10:34 MikeSeth _cheerios: you mean on the request object?
10:35 Whisller hi
10:35 _cheerios ye. i moved a piece of code from the action to a model and it had a single $this->setAttribute nested within some conditional code.
10:37 MikeSeth _cheerios: ah. We've invented the barf when I've run into the exact problem but I was doing the
10:37 MikeSeth uhm
10:37 MikeSeth I think what I was trying to say is
10:37 MikeSeth ...when I've run into a problem while I was doing the exact opposite
10:37 MikeSeth I was moving code from models to actions
10:39 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)]
10:40 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:45 _cheerios hmmk. i made a custom view to get around this.
10:57 Wombert [n=Wombert@87.79.35.58] has joined #agavi
11:03 E_mE huoementa
11:16 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
11:21 MikeSeth ahahahahahaha mp3 player in emacs = winner
11:35 Xylakant You know that there is a hidden feature in Emacs that will write any program you'll ever need for you?
11:36 Xylakant it's just that noone can remember the shortcut.
11:37 RossC0 C-x C-c
12:07 RossC0 can I set an rd variable in my routing.xml ?
12:08 MikeSeth RossC0: what do you mean? change the name the renderer assigns to it?
12:08 RossC0 ah - its a question from zibi
12:09 RossC0 basically he's doing an isAuthenticated check in routing and wants to set an rd variable as well
12:09 digitarald [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has joined #agavi
12:09 RossC0 hmm I'll test something
12:10 Zibi [n=asd@80.4.120.163] has joined #agavi
12:10 digitarald Huomenta
12:10 Zibi elo
12:10 RossC0 hmm defaults zibi?
12:10 MikeSeth isAuthenticated check in routing?
12:10 MikeSeth why?!
12:11 RossC0 to display different pages to a user or joe public
12:13 Xylakant you could abuse the routing callbacks to do
12:13 Xylakant that
12:13 Xylakant i just don't think it's worth it.
12:13 MikeSeth RossC0: what's the point? Make a forward action!
12:13 Xylakant why would you need a variable set if you route them differently?
12:14 RossC0 well - the authenticated check is fine
12:15 Xylakant yes, and that's rather easy
12:16 MikeSeth ...and implies that storage, session management, security and database is all initialized
12:16 MikeSeth ...not a good idea
12:16 RossC0 theres a dynamic action for static content saved in the database
12:17 Xylakant <route name="..." pattern="^1$" source="user[authenticated]" />
12:17 MikeSeth Xylakant: tell me you're making this up
12:17 Xylakant no
12:17 RossC0 yeah that works
12:17 MikeSeth guys...
12:17 MikeSeth wanna start a church?
12:17 MikeSeth heh
12:17 RossC0 MikeSeth - thats been there for ages
12:17 Xylakant it only requires that the session management is initialized
12:18 RossC0 that wasn't the question - the defaults work fine
12:18 Xylakant security checking will be performed later
12:18 MikeSeth Xylakant: session management is dependent on storage, which is oftend dependent on the database
12:18 Xylakant yeah, that's possible
12:19 RossC0 but so is memcaching or file based sessions
12:19 MikeSeth in order for isAuthenticated() to work, the User object needs to be awakened.
12:19 Xylakant and file based sessions are way more common
12:19 Xylakant yes
12:19 RossC0 MikeSeth - if the database fails then my dynamic site fails
12:19 RossC0 and I goto my exception template
12:20 Xylakant and i think that database based sessions are a bad bad idea
12:20 MikeSeth Xylakant: they damn right are
12:20 Xylakant it's a hack that sometimes is nessesary
12:20 Xylakant but i'd rather choose a shared memory block, a shared drive or a dedicated session server any time
12:20 MikeSeth RossC0: its merely a question of following Agavi logic
12:21 RossC0 MikeSeth it is Agavi logic - its built into routing
12:22 MikeSeth RossC0: I'd go with a forward action. There's some logic in this decision making, I don't feel it'd be a good idea to move it to the routing table
12:22 RossC0 routing is all about logic and decision making
12:23 RossC0 anyway its Zibi's call he's working on it
12:23 Xylakant puts on the flameproof suit.
12:23 kaos|work [n=dominik@p5087362B.dip0.t-ipconnect.de] has joined #agavi
12:28 RossC0 ok - we'll move it into the action :D
12:30 MikeSeth my god people I've just had a deja vu of this conversation
12:30 splatch` oi! :)
12:32 Xylakant ¡oi!
12:43 digitarald http://mootools.net/uploads/debugger/ :)
12:43 digitarald try $$('p')
12:47 _cheerios this is so funny http://www.hemmy.net/2007/06/13/japanese-human-tetris-on-tv-show/
12:48 kaos|work [n=dominik@p5087362B.dip0.t-ipconnect.de] has quit []
12:56 _cheerios damn that puzzled me for a mom., as i named a function initialize() in my model and all hell broke loose due a side-effect :)
12:57 MikeSeth _cheerios: Rails bites you. Rails bites you. You die.
12:57 MikeSeth :D
12:57 digitarald Merb ftw ;)
12:59 MikeSeth OMG
12:59 MikeSeth thank you man!!
12:59 MikeSeth this is exactly what I need!
13:01 digitarald merb?
13:02 RossC0 no! Japanese human tetris!
13:02 digitarald or human puzzles with japanese shmucks?
13:02 digitarald btw ... i love the word shmuck now more than scottish accent
13:07 RossC0 digitarald - all I can say to that is "Haud Taggie by the tail"
13:07 MikeSeth its a yiddishe word
13:08 MikeSeth yo merb completely rules
13:08 RossC0 its nice and thread safe too
13:08 digitarald i really like it ... especially that it does not include prototype in the first start page :D
13:08 Wombert [n=Wombert@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
13:08 _cheerios you guys turning into ruby fanatics?
13:08 kaos|work [n=dominik@87.79.35.58] has joined #agavi
13:08 Wombert [n=Wombert@87.79.35.58] has joined #agavi
13:09 digitarald and its so small and fast ... simple routing, simple activerecords ... real rapid development
13:09 digitarald u can't ignore ruby ;) because php is so fucked ....
13:09 RossC0 ruby does rule
13:09 digitarald when u try ruby one time, php looks even more like patchwork
13:11 _cheerios i downloaded a book on it earlier, havent had much time to read it yet
13:11 digitarald but with agavi php is a tamed beast :D
13:11 _cheerios i have like 15 books stacked next to my puter back home
13:12 digitarald i gave up reading books about coding ... the last book was Ajax-in-action ... was a bad idea.
13:13 RossC0 theres lots of good books :D
13:14 RossC0 Ajax-in-action doesn't sound like its a good one!
13:15 MikeSeth _cheerios: I've always been a ruby fanatic
13:16 _cheerios it's the Agile Web Development with Rails -book
13:16 MikeSeth underneath my PHP fanaticism, there's Ruby fanaticism
13:16 MikeSeth underneath that, there's Lisp fanaticism
13:16 MikeSeth and then there is, of course, god
13:16 RossC0 What about Erlang?
13:16 _cheerios then there is jerry
13:17 _cheerios then there is the paperbin
13:17 _cheerios ack, no, the laundry!
13:17 RossC0 right back to work :D
13:17 Wombert [n=Wombert@87.79.35.58] has quit [Nick collision from services.]
13:18 Wombert_ [n=Wombert@87.79.35.58] has joined #agavi
13:21 Xylakant digitarald: the agile development books written for rails are actually quite good.
13:21 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
13:21 Xylakant though a bit rails specific :)
13:22 digitarald thats the problem
13:22 digitarald rails fanatics ;)
13:23 digitarald i want pattern, about coding, how-to's ... not too much how-i-use-helpers
13:23 kaos|work_ [n=dominik@87.79.35.58] has joined #agavi
13:24 kaos|work [n=dominik@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
13:26 Xylakant it's more about the way to develop a rails app. agile methods etc, less about which helpers exists and how to use them
13:27 Xylakant if i need a list of helpers, i'll take the docs.
13:40 Wombert_ you can now define your coding experience by hand on ohloh
13:40 Wombert_ is now known as Wombert
14:07 digitarald nice
14:07 digitarald can i be Agavi contributor
14:07 digitarald "Describe your contributions": Asking questions
14:10 Xylakant does that include 'Stupid Questions'?
14:12 MikeSeth ohloh is bs hax
14:14 digitarald of course, any kind of questions, especially stupid questions ;)
14:25 epaulin [n=epaulin@221.221.16.56] has joined #agavi
14:28 Wombert impl: you there?
14:28 Wombert mh prolly not :S
14:33 MikeSeth 113139 <mikk36> is it possible to locate items in array ?
14:33 MikeSeth 113144 <SlashLife> Yes.
14:33 MikeSeth 113156 <MikeSeth> winner.
14:33 MikeSeth cries
14:35 Arme[N] heh
14:37 _cheerios :)
15:27 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
15:42 Whisller [n=example@217.97.146.67] has left #agavi []
15:49 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"]
16:10 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Read error: 60 (Operation timed out)]
16:30 RossC0 is there a way to check the URL to add an XML output type route for all urls that end in .xml ?
16:30 RossC0 if so what source do I have to pattern match again?
16:31 RossC0 *against
16:31 Wombert <route name="xml" pattern=".xml$" cut="true" stop="false" output_type="xml" />
16:31 Wombert then you can generate it like myroutename+xml
16:32 RossC0 sweet
16:32 RossC0 thanks Wombert
16:36 Whisller [n=example@217.97.146.67] has joined #agavi
16:46 codecop [n=codecop@88.118.219.94] has quit ["Leaving"]
16:49 RossC0 hmm if I return from a view it shouldn't load the template?
16:50 RossC0 want to just output xml like: http://tinyurl.com/297asq
16:50 RossC0 but it outputs the template
16:51 RossC0 ah ignore me
16:51 Xylakant we always do.
16:51 RossC0 tell me about it
16:51 RossC0 :D
16:51 Xylakant no, that would not be ignorant enough.
16:55 RossC0 ha but you'd ignore me :D
16:56 RossC0 hugs Xylakant
16:59 epaulin_ [n=epaulin@221.222.227.177] has joined #agavi
17:06 splatch` hello RossC0
17:11 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
17:13 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
17:19 Wombert [n=Wombert@87.79.35.58] has quit []
17:20 epaulin [n=epaulin@221.221.16.56] has quit [Read error: 110 (Connection timed out)]
17:22 RossC0 heh splatch` hows it going?
17:28 coredmp [n=fdidier@213.56.150.4] has joined #agavi
17:28 coredmp hello all
17:28 RossC0 hello coredmp
17:29 coredmp so ... i have a question about Agavi :)
17:29 coredmp i have one server, with 3 Agavi application, each application need to authenticate the user, and a user authenticated in application 1, must not access to application 2.
17:30 coredmp My question is : how do you change the auth cookie name .. i found a cookie_domain parameter but don't know where to fix it
17:33 Xylakant probably with the 'session_name' parameter for the sessionstorage in factories.xml
17:34 Xylakant something like this should work
17:34 Xylakant <storage class="AgaviSessionStorage">
17:34 Xylakant <parameters>
17:34 Xylakant <parameter name="session_name">dummyname</parameter>
17:34 Xylakant </parameters>
17:34 Xylakant </storage>
17:34 Xylakant warning: untested, this is from glancing at the cide
17:34 Xylakant code...
17:34 coredmp i wil try it :) thanks
17:36 Xylakant tell us wether it works so that the answer is in the logs ;)
17:37 coredmp Greeeatttttt .. it works :)
17:37 coredmp 2h i am searching .. and you find the solution in 2 minutes .. little .. frustating :)
17:43 coredmp and test with other app .. seems good .. really cool, thanks Xylakant
17:55 Xylakant coredmp: once you've been around for a while you'll know where to look.
17:55 Xylakant you just get used to how the developers tick
18:35 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
18:56 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:01 Zibi [n=asd@80.4.120.163] has quit []
19:37 Xylakant cu all
19:37 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
19:47 digitarald [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
20:01 Arme[N] is now known as Arme[0]
20:31 epaulin_ [n=epaulin@221.222.227.177] has quit ["Hmm... Upgrades."]
20:41 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
20:42 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:46 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
21:46 noisewaterphd [n=noisewat@c-67-169-245-114.hsd1.ut.comcast.net] has quit ["Leaving"]
21:59 Whisller [n=example@217.97.146.67] has left #agavi []
22:18 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)]
22:18 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
22:33 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
22:34 _cheerios j0
22:38 _cheerios anyone here wear a wrist-band? i've been using one now intermittently and there's this "nice" ghosting effect later on when you've taken it off, you still feel the grip, like someone was holding your hand :)
22:52 Whisller [n=example@217.97.146.67] has joined #agavi
23:16 kaos|work_ is now known as kaos|work
23:48 Whisller FPF is really great. Just btw ;)
Day changed Thu Jun 14 2007
00:07 impl [n=impl@adsl-221-33-34.rmo.bellsouth.net] has joined #agavi
00:31 _cheerios First Person Framework, starring Chuck, your local...
00:33 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["nn"]
01:08 kaos|work [n=dominik@87.79.35.58] has quit []
01:49 Whisller I have View it return array with module and view name. The view which is returned forward user to another page(from app), and my question is can I send a parameter from first view to last page?
01:49 Whisller *The view is execute forward to another page
01:50 Whisller I tryied with send parameters but it doesn't work
01:50 Whisller *tried
01:50 Whisller array('module', 'view', $rd)
01:51 Wombert [n=Wombert@213.23.132.146] has joined #agavi
01:53 Wombert errrr
01:53 Wombert my laptop just made a loud CLACK noise
01:53 Wombert and now the battery L
01:53 Wombert EDs are blinking constantly
01:53 Wombert not good
01:53 Wombert the creepy thing is
01:53 Wombert I removed the battery
01:54 Wombert but the LEDs on it (of course) continue to blink :p
01:54 Wombert what should I do with this thing
01:54 Wombert it might explode
01:54 Wombert burn down the hotel
01:54 Wombert and kill me and everyone else
01:54 Wombert zomg
01:54 impl D:
01:54 impl Throw it at someone who can afford to die!
02:08 coredmp_ [n=fdidier@213.56.150.4] has joined #agavi
02:11 Whisller uhhh I'm stupid I mistake forward with redirect ,uhhh
02:24 coredmp [n=fdidier@213.56.150.4] has quit [Read error: 110 (Connection timed out)]
02:37 Whisller [n=example@217.97.146.67] has quit []
02:49 Wombert [n=Wombert@213.23.132.146] has quit []
03:41 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
05:10 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
05:11 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
06:47 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection]
07:17 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
07:37 jordansjones [n=jordansj@13.241.sfcn.org] has joined #agavi
07:39 jordansjones Hey guys...
07:39 jordansjones I have a FormPopulationFilter question. I am getting "htmlParseEntityRef: no name" I know this is due to an & in an input field. Is there a common solution for this?
07:57 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 60 (Operation timed out)]
08:42 jordansjones [n=jordansj@13.241.sfcn.org] has quit []
08:58 v-dogg huomenta
08:58 v-dogg "ask, and wait patiently"...
09:18 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:21 _cheerios huomenta everyone
09:23 _cheerios Wombert turned his mac on party mode?
09:41 lockes [n=locke@70.88.51.126] has quit ["Lost terminal"]
09:50 _coredmp_ [n=fdidier@213.56.150.4] has joined #agavi
09:50 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
09:55 coredmp [n=fdidier@213.56.150.4] has joined #agavi
09:56 MikeSeth huomenta
09:58 coredmp_ [n=fdidier@213.56.150.4] has quit [Read error: 60 (Operation timed out)]
09:59 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:03 _coredmp_ [n=fdidier@213.56.150.4] has quit [Read error: 60 (Operation timed out)]
10:16 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:17 RossC0 huomenta!
10:17 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
10:17 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:29 _cheerios when you have a file input within a form, what's the "best" way to edit said form ?
10:31 MikeSeth I am not sure I understand the question. A file input isnt too different, it's just covered by special security arrangements
10:32 _cheerios what kind of measures do you go to show that a file has been uploaded previously? or has not. That you don't overwrite it, or that you will overwrite it, or that you edit the form, but leave the file intact?
10:33 MikeSeth well in the application im working on, there's a capacity of uploading multiple files per item
10:33 MikeSeth files are documents (basically invoices), they're tagged by date and are always displayed next to the form
10:34 MikeSeth there's no direct way to delete or overwrite a document, so that users don't disappear things without the administrator's knowledge
10:36 _cheerios so the whole file handling is separate to the form in your example?
10:42 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)]
10:45 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:47 Arme[N] you can put an icon linked to the file above of file input field
10:47 Arme[N] it will show user uploaded a file
10:47 Arme[N] that icon could be image tumbnil if the file is image
10:48 Arme[N] thumbnail*
10:57 _cheerios wrong channel for the easy questions
11:08 CIA-11 [n=CIA@208.69.182.149] has quit []
11:19 _cheerios Current solution: after initial form creation, show edit form using FPF and behaviour to [+]change/[-]overriding if upload exists [while showing preview of contents] to create file input dynamically, otherwise show file input normally (as none existed prior). End result should be that previous file does not get altered, unless user chooses to alter it, requiring no server-side logic nor hidden form variables to determine what's going on.
11:21 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
11:25 Xylakant salve.
11:27 E_mE [n=rabbits@host217-37-52-241.in-addr.btopenworld.com] has quit []
11:33 digitarald [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has joined #agavi
11:33 digitarald Huomenta!
11:46 kaos|work [n=dominik@87.79.35.58] has joined #agavi
12:10 kaos|work huomenta
12:19 Arme[N] Huomenta!
12:38 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
12:40 MikeSeth _cheerios: in my case, widgets that represent files are not form inputs, so FPF does not manage them
13:04 _cheerios Mike, was it you whom raved about Sara Goleman? Guess what? On the new books section at the library was her book Extending and Embedding PHP. \o/
13:08 splatch` hello
13:08 splatch` \o/
13:08 splatch` :)
13:09 Xylakant hello
13:41 MikeSeth _cheerios: god damnit, my copy never arrived.
13:41 MikeSeth That woman is goddess
14:53 _cheerios Can custom routines be setup for rbac credentials checks? So, in the action public function getCredentials() { return 'member.groupUploadRights; } would check that the $user has those rights, by checking against the database? What can I extend to have this behaviour?
14:55 v-dogg rbacuser::loadDefinitions, iirc
14:56 MikeSeth _cheerios: there's also a recent [brief] chapter on rbac in the manual
14:57 _cheerios i already use rbac. however, it's group-level in the .xml and that's fine. I'd like to add person-level checks against the database, while using the same syntax and the Agavi calls that are setup for the framework.
15:00 v-dogg my cms thingy extends rbac and load some extra stuff in addition to the xml config
15:01 _cheerios where did the code branch from an action's getCredentials() ?
15:01 MikeSeth _cheerios: you mean what calls it?
15:02 MikeSeth _cheerios: the security filter
15:03 _cheerios ah yes, been here before, just had a hard time grasping it last time too :)
15:03 MikeSeth _cheerios: but basically you shouldn't care. Anything that getCredentials() returns is passed verbatim to User's hasCredentials()
15:03 MikeSeth _cheerios: the security filter doesnt care if there's a single or multiple permission
15:04 _cheerios okay, and?
15:04 MikeSeth it basically does if ($user->hasCredentials($action->getCredentials())
15:04 MikeSeth so whatever you're looking for is in the RBAC user object, not the security filter
15:06 _cheerios right. i seem to need to extend hasCredentials(), to act on a set of rules (rbac), which i can have custom logic for, rather than being checks directly against rbac.
15:07 _cheerios so, instead of 'member.groupUploadRights' checking wether the user has that role, it notes it's a custom rule and passes execution to there.
15:07 _cheerios or, are there simpler ways?
15:11 MikeSeth I donno I havent played with it yet :)
15:12 _cheerios agavi is totally missing fine grained access control, thus i'm looking into the ways to put it in.
15:13 v-dogg my case is something like this: each page in the cms can have custom (per group) read and/or modify rights. rbacuser::loadDefiniotions loads the pages the current user has special rights to and adds page.read.(page_id) to the credential list
15:14 v-dogg and PageAction::getCredentials() returns 'page.read.(page_id)' if the page requested has special access control defined
15:14 _cheerios i notice you need to know where the user has rights to for it to work
15:14 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
15:15 v-dogg yes: "select id from page where read_group_id is not null or write_group_id is not null"
15:16 _cheerios gets a bit unwieldy to populate when there are multiple flags, and multiple "containers" which use these flags, to determine access.
15:16 v-dogg sure
15:16 _cheerios probably works fine for a few users on a closed system
15:16 v-dogg just giving an example how you can extend rbacuser
15:17 v-dogg overriding hasCredential is probably just as easy
15:23 _cheerios hopefully! <permission>"branchWhenYouSeeThisName".(...).(...).</permission> in rbac's to signal branching, should be a quick working change to get started. I'd hate to have "ACL" checks in the execute*'s themselves, and would like to use the rbac throughout agavi.
15:27 _cheerios ah, you modified agavi source directly. was wondering if i had the latest cms or not :()
15:28 _cheerios ah no, wrong row. couldnt find the loadDefinitions stuff at all.
15:28 v-dogg yup, I added it after I had released that version
15:29 v-dogg and no, I don't modify agavi source directly
15:29 _cheerios a quick code search found the term, but i didn't pay attention to the surroundings :)
15:31 RossC0 _cheerios I have all my role / credentials set up in the db - its easy :D
15:31 _cheerios how many thousands of users, RossC0 ?
15:32 RossC0 wrong question - how many thousands of roles / credentials
15:32 _cheerios how many ? :)
15:33 RossC0 well admins can create custom roles which have x number of credentials
15:33 RossC0 so currently there are 30 or so credentials and roles -well its up to the admin to create and assign to users
15:34 _cheerios different apps, different requirements.
15:35 RossC0 with you _cheerios there are always different requirements !
15:36 _cheerios i'm hard to please ? :D
15:36 _cheerios brb
15:36 RossC0 nope just illogical!
15:36 RossC0 :>
15:36 RossC0 laters
15:51 _cheerios me? illogical? umpossible!
16:53 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
16:54 epaulin [n=epaulin@221.222.227.177] has joined #agavi
17:10 splatch` hello RossC0
17:10 splatch` RossC0: when you'll post new note on you blog?
17:11 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
17:11 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
17:12 RossC0 when I get the time - or when MikeSeth or _cheerios or anyone writes one to be posted there! ;)
17:14 RossC0 you volunteering?
17:16 splatch` RossC0: no, i'm not! :)
17:19 MikeSeth im still writing
17:19 MikeSeth it'll take time
17:20 MikeSeth RossC0: and then I'll write about multiple inheritance in PHP :D
17:25 RossC0 cool
17:26 RossC0 you can write about merb if you want to - you seemed very keen the other day!
17:26 MikeSeth yeah, I'll make use of merb in an internal project hee and then we'll see
17:28 kaos|work MikeSeth: MI ? O_o
17:28 MikeSeth kaos|work: yeah.
17:28 MikeSeth kaos|work: with reflection and annotations :D
17:28 kaos|work i guess by using __call() ?
17:28 MikeSeth yep
17:28 kaos|work or some other magic way ?
17:28 kaos|work ah
17:29 kaos|work cool :)
17:29 MikeSeth you can do prototype inheritance and mixins too
17:29 MikeSeth you can enforce types
17:29 MikeSeth check call chains..
17:29 MikeSeth whatever you want, reflection gets you :D
17:29 kaos|work yeah, its probably just dog slow :]
17:29 kaos|work at least reflection was when i last tried such a thing :)
17:30 MikeSeth well we dont concern ourselves with IMPLEMENTATION DETAILS, do we ;)
17:30 MikeSeth though its a good idea - I'll run tests
17:30 kaos|work well, i have this overload helper built for the date package
17:30 kaos|work it doesn't even use reflection, only array definitions of the data types
17:30 kaos|work to find the right method
17:31 MikeSeth i never liked overload()
17:31 kaos|work i measured the difference between a plain method call and a call into an overloaded method
17:31 kaos|work the overloaded stuff is 100 times slower *g*
17:32 kaos|work it doesn't use the overload extension (if you were referring to that ... or did you mean overloading in general?)
17:37 MikeSeth you mean plain __call() magic?
17:37 kaos|work not even that ;)
17:38 kaos|work __call magic is not needed in that case
17:38 kaos|work http://trac.agavi.org/browser/branches/0.11/src/date/AgaviGregorianCalendar.clas​s.php#L48
17:44 MikeSeth kaos|work: ah uhm.
17:45 kaos|work hihi *g*
17:45 kaos|work i needed that for easy porting of ICU
17:46 MikeSeth you are the master of voodoo
17:46 kaos|work everything else would have been an maintenance nightmare :s
17:46 kaos|work (since ICU of course uses overloading extensivly ... its written in a proper language as well :D)
17:47 kaos|work but luckily they don't use MI (due to their java port)
17:48 MikeSeth well I dont think MI is a good idea for PHP
17:48 MikeSeth i just want to implement it cuz I can
17:49 kaos|work well, i would have "needed" it more then once for php
17:50 kaos|work (or mixins would have been enough most of the time i think)
17:50 kaos|work but i'm probably just doing to much c++ *g*
18:13 splatch` c++ sux
18:13 splatch` i must write project to school in c++
18:13 splatch` this language is dramma
18:13 splatch` when program crash you don't know really - why
18:22 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
18:24 _cheerios bought one of those powerballs. can't get the ball moving proper on first tries. harder than it seems :)
18:26 MikeSeth powerballs?
18:26 MikeSeth ahh
18:27 splatch` i've powerball :)
18:30 _cheerios got it. omg that felt GOOD
18:31 Xylakant man. what moron decided to assign the keyboard shortcut ctrl + w to 'use the current image as desktop image' in acdsee?
18:31 Xylakant instead of 'close this window'
18:31 Xylakant now i have a most beautiful screenshot of an agavi exception as desktop background.
18:32 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
18:32 _cheerios each to their own
18:50 MikeSeth Xylakant: hahaha pwned by the exception handler
18:54 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
19:06 Xylakant yeah, i would say so.
19:08 MikeSeth god damn lusers
19:08 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:09 MikeSeth one tells me on MSN that there's a "yellow page with numbers and some exc word"
19:09 MikeSeth I was like "STFU and GTFO my dev setup"
19:09 Xylakant i really like the agavi exception template
19:09 MikeSeth I'd copulate with it if it was physically possible
19:09 Xylakant (for dev, not for live apps where i have a different one)
19:10 Xylakant i already tried porting it to rails ;)
19:11 digitarald [n=Miranda@110.Red-83-55-27.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
19:14 Xylakant ok guys, cu all tomorrow.
19:14 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
19:21 RossC0 MikeSeth: I'd copulate with it if it was physically possible - mike you worry me
19:30 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:40 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
19:43 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out]
19:57 Arme[N-1] is now known as Arme[N]
20:24 Wombert [n=Wombert@p5087260F.dip0.t-ipconnect.de] has joined #agavi
20:32 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
20:32 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
20:50 epaulin [n=epaulin@221.222.227.177] has quit ["Hmm... Upgrades."]
20:55 CIA-11 [i=cia@208.69.182.149] has joined #agavi
21:01 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
21:01 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:01 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
21:01 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:03 CIA-11 [i=cia@208.69.182.149] has quit []
21:05 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
21:08 CIA-11 [i=cia@208.69.182.149] has joined #agavi
21:09 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:10 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
21:17 Whisller [n=example@217.97.146.67] has joined #agavi
21:17 Whisller hi
21:32 kaos|work [n=dominik@87.79.35.58] has quit []
21:41 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
21:42 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:54 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:13 Wombert [n=Wombert@p5087260F.dip0.t-ipconnect.de] has quit []
23:11 v-dogg fucking retarded video-on-demand services..
23:15 _cheerios what have you tried?
23:15 _cheerios my wrist feels funny
23:16 v-dogg cdon.com
23:21 _cheerios what happened?
23:22 v-dogg tests showed everything was ok, rented a vid and only got DRM-errors
23:23 v-dogg tried to send feedback using their flash-UI but the message didn't get sent and it told me to use support@cdon.com directly
23:23 _cheerios might be some custom codec meddling in-between? those videos need latest m$ video player?
23:23 v-dogg well, such an email address doesn't exist
23:23 _cheerios *g*
23:24 v-dogg I have updated all MS stuff (Media Player 11 and some DRM stuff from windowsupdate)
23:26 _cheerios how much are the vids?
23:34 Whisller [n=example@217.97.146.67] has left #agavi []
23:42 _cheerios i don't have enough cpu power to play hd quality content :| it looks nice and sharp, though.
23:52 Whisller [n=example@217.97.146.67] has joined #agavi
23:52 Whisller [n=example@217.97.146.67] has left #agavi []
23:54 impl [n=impl@adsl-221-33-34.rmo.bellsouth.net] has joined #agavi
Day changed Fri Jun 15 2007
00:18 kaos|work [n=dominik@p5087260F.dip0.t-ipconnect.de] has joined #agavi
00:18 _cheerios Judge Orders TorrentSpy to Turn Over RAM
00:18 _cheerios All your RAM are belong to us
00:21 impl rofl
00:33 _cheerios i looove my powerball
00:42 impl Can I do <validators method="write">?
00:42 impl (i.e., is that what the method attribute represents?)
00:45 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["nn"]
01:42 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
01:53 kaos|work impl: yes
01:58 kaos|work [n=dominik@p5087260F.dip0.t-ipconnect.de] has quit []
02:08 coredmp_ [n=fdidier@213.56.150.4] has joined #agavi
02:17 coredmp [n=fdidier@213.56.150.4] has quit [Read error: 60 (Operation timed out)]
05:50 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
05:50 impl [n=impl@adsl-221-33-34.rmo.bellsouth.net] has joined #agavi
06:16 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)]
07:34 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:07 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
09:23 v-dogg huomenta
09:24 codecop huomenta :)
09:24 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:24 _cheerios huomenta
09:37 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
10:10 coredmp_ [n=fdidier@213.56.150.4] has quit ["Quitte"]
10:14 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:14 RossC0 huomenta!
10:39 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
10:48 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
10:50 Arme[N] huomenta!
10:51 RossC0 Morning!
10:53 Xylakant moin moin.
10:54 v-dogg what's up guys
10:55 RossC0 norra lorra - integrated xml/swf graphs on my site yesterday
10:55 RossC0 and the site has started usability testing yesterday
10:55 RossC0 huzzah
10:56 RossC0 Oww I have some testing questions - currently formalizing a testing suite
10:56 RossC0 wanna help?
10:57 RossC0 wondering how to structure the directory layout
10:58 RossC0 currently I have an app folder in my testing directory and I can / will be able to Unit Test my Actions and Models
10:58 RossC0 not sure what to do about views - Unit test them as well?
10:59 v-dogg I suck at automated testing, don't ask me ;)
10:59 RossC0 Also where do functional tests fit in ? I'm chucking them into a new dir /tests/functional - or should I try and put them in with the /tests/app/modules structure
11:00 RossC0 v-dogg - well this is more to do with organising the tests in a sane dir structure
11:02 RossC0 so everyones thoughts welcome!
11:03 RossC0 also I haven't written any Unit Tests for modules / actions for my current project - but we are currently adding functional (Mock User Tests) - which is going weel
11:03 RossC0 *well
11:03 RossC0 So questions are:
11:03 v-dogg this is something you could explain in an agileweb.org article :)
11:06 RossC0 1) Can functional tests be formalised within the current agavi structure i.e. /tests/app/module/functional or should we separate functional tests out - i.e. /tests/function/.. /tests/unit/module
11:06 RossC0 The reason I ask is it would be nice to automate the build of the functional tests
11:07 RossC0 but I'm not sure its possible to logically accomplish this - as they will be based more on routes - I would have thought
11:07 RossC0 Xylakant, MikeSeth, _cheerios, splatch` any thoughts?
11:15 Xylakant i'd go for tests/functional/<module>/action.test.php or tests/functional/<module>/<actions>/actionname.test.php
11:16 Xylakant and tests/integration/<module>...
11:17 Xylakant you don't need the 'app' directory inbetween
11:17 Xylakant it's implicit that the application is being tested
11:18 Xylakant splitting it up in module directories helps preventing naming conflicts - how many IndexActions do you have ;)
11:18 RossC0 none
11:18 v-dogg heh
11:18 RossC0 maahhaah I lie
11:18 RossC0 lots
11:19 RossC0 with functional tests though - you don't necessarily test against an action
11:19 RossC0 or would you?
11:19 v-dogg what sort of functional test do you have? how do you plan to execute them?
11:20 Xylakant i don't think that tests/functional/<module>/<actions>/ is required if you name your tests properly
11:20 RossC0 v-dogg - login / logout / profile (tests viewing / editing / resetting password etc..)
11:20 Xylakant you'd probably test the models and the actions
11:20 RossC0 that would be unit tests thou
11:21 Xylakant the models would be the unit tests
11:21 RossC0 tests/unit/ module/action module/view model/
11:22 Xylakant i'd even have test/unit/<module>
11:22 Xylakant because a module can bring it's own models
11:23 RossC0 hmm - so we are talking about two types of functional tests - one to test action functionality and another to test the application functionality - i.e. what headers sent etc...
11:23 RossC0 *so are we talking about two ..
11:24 Arme[N] is now known as Arme[0]
11:30 Xylakant there is however one point to be made for a structure such as tests/module/functional/ etc.
11:32 Xylakant if you ever want to include a whole module and it's test vive svn:externals
11:34 RossC0 hmm yes - good point
11:54 Arme[0] is now known as Arme[N]
11:59 RossC0 something like http://pastie.caboo.se/private/urcj5mzoekmwewtkhs
12:02 splatch` hello RossC0, Xylakant and v-dogg
12:03 RossC0 heh splatch
12:03 RossC0 actually this might be better - http://pastie.caboo.se/private/8hlbuecufxsrr7ubwe
12:04 RossC0 then the All Tests can loop the dirs and grab all tests within the test suites
12:04 splatch` RossC0: why don't copy app structure?
12:05 splatch` modules/<modulename>/<actionname>Test.class.php ?
12:05 RossC0 I have but there are two types of tests Unit and functional
12:05 splatch` RossC0: where is a difference?
12:06 RossC0 one is micro - i.e. tests execute() or validate() in the action
12:07 RossC0 the other functional tests what is outputted to the browser i.e. Login redirects to the home page or going to a secure page without login redirects to the login page
12:07 splatch` acceptances tests?
12:08 RossC0 dunno there are many terms - mock client tests / functional tests
12:16 Arme[N] is now known as Arme[0]
12:17 kaos|work [n=dominik@87.79.35.58] has joined #agavi
12:31 Arme[0] is now known as Arme[N]
12:32 Xylakant grr. railsconf europe is so darned expensive.
12:33 Xylakant you could go on a one-week vacation for that price.
12:45 Wombert [n=Wombert@p50872AC7.dip0.t-ipconnect.de] has joined #agavi
12:45 splatch` hello Wombert!
12:48 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
12:54 RossC0 Heh Wombert / kaos|work any thoughts on the proposed layout for tests => http://pastie.caboo.se/private/8hlbuecufxsrr7ubwe
12:56 kaos|work hmm, the suite folders would always only contain 1 entry, right ?
13:01 kaos|work [n=dominik@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
13:01 kaos|work [n=dominik@87.79.35.58] has joined #agavi
13:01 RossC0 possibly - but could be broken up - i.e. for modules it there could be a unit test suite and a functional suite
13:02 RossC0 and then an all tests suite
13:03 RossC0 also for models - you might have a html helper suite, a database models suite, email model suite and then again an all tests suite
13:04 RossC0 just means you can run tests on swathes of related functionality with more granularity than running all the tests in one go
13:05 RossC0 but possibly could do that dynamically via phing ./agavi test all admin functional
13:06 RossC0 hmm - that would be cooler
13:07 kaos|work hmm, and one would ofc need to split the modules/* to modules/modulename/*
13:07 RossC0 yeap
13:07 kaos|work but looks good to me
13:20 kaos|work_ [n=dominik@87.79.35.58] has joined #agavi
13:21 kaos|work [n=dominik@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
13:38 Wombert yah looks good
13:46 kaos|work_ ey zomg ... the symfony guys are just SO retarded
13:46 kaos|work_ http://trac.symfony-project.com/trac/changeset/4170
13:46 kaos|work_ instead of patching propel in their tree
13:46 kaos|work_ they should maybe first notify propel about the problems
13:46 kaos|work_ arghs
13:49 Xylakant they should not even have propel as a vendor branch
13:49 Xylakant instead list it as an external dependency
13:49 kaos|work_ well, dustin made it a non externals
13:49 kaos|work_ the commit before
13:49 kaos|work_ anyway, lunch time
13:50 Xylakant and broke the $Revision$ and $Id$ keywords in the process...
13:51 Xylakant great move :)
13:51 Xylakant guten appetit
14:21 CIA-11 [i=cia@208.69.182.149] has quit []
14:37 Wombert [n=Wombert@p50872AC7.dip0.t-ipconnect.de] has quit []
14:54 Wombert [n=Wombert@87.79.35.58] has joined #agavi
14:57 Whisller [n=example@217.97.146.67] has joined #agavi
14:57 Whisller Hello
15:24 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
15:31 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
15:31 kaos|work [n=dominik@87.79.35.58] has joined #agavi
15:32 Wombert [n=Wombert@87.79.35.58] has quit [Nick collision from services.]
15:32 Wombert_ [n=Wombert@87.79.35.58] has joined #agavi
15:33 kaos|work_ [n=dominik@87.79.35.58] has quit [Read error: 110 (Connection timed out)]
15:36 Xylakant hi
15:37 Whisller yeastarday, love was such an easy game to play yeastarday mhmm mhmhm
15:37 Whisller good song
15:49 Wombert_ 42 years later... :p
15:49 Wombert_ is now known as WOmbert
15:49 WOmbert zomg
15:49 WOmbert is now known as Wombert
15:52 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)]
16:12 Whisller [n=example@217.97.146.67] has left #agavi []
16:36 Whisller [n=example@217.97.146.67] has joined #agavi
16:43 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["BBl"]
16:49 Wombert [n=Wombert@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
16:53 Wombert [n=Wombert@87.79.35.58] has joined #agavi
18:29 Whisller [n=example@217.97.146.67] has left #agavi []
18:33 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
18:52 Wombert aaah ze mr jeep is alive!
18:53 MrJeep hell yeah!
18:54 kaos|work alive and kickin
18:54 Wombert http://www.ohloh.net/projects/5907
18:54 Wombert vote!
18:54 Wombert stack!
18:54 Wombert and give me kudos :D
18:54 Wombert I dropped to #21 in the dev ranking, booh xD
18:54 MrJeep allready registered
18:55 MrJeep and I think i voted too
18:55 MrJeep not sure, I better do it again
18:55 Wombert oh?
18:55 Wombert well we need your stack, too
18:55 Wombert with your location in your profile, so you show up on the map
18:55 MrJeep ok 1 min
18:55 Wombert thanks
18:55 Wombert hugs MrJeep
18:55 MrJeep hugs back :D
18:56 MrJeep thinks, hum this is looking a little weird
18:56 splatch` Wombert: give me kodo too!
18:56 Xylakant kudus are quite tasty.
18:56 Xylakant the project cost estimator seems a bit off...
18:57 Xylakant it estimates 66 person years for agavi.
18:58 Wombert what for, splatch`?
18:58 Xylakant though i appreciate that outstanding effort has been put into this baby, i doubt kaos and wombert would manage to produce that much code in the time agavi exists...
18:58 Wombert remember, if you give a lot of kudos, they don't have any effect
18:58 splatch` Wombert: for article :)
18:59 Wombert Xylakant: there is some compiled stuff included in there I believe
18:59 Wombert code only is closer to the truth
18:59 Wombert and the compiled timezone data is a lot of code, too
19:00 Wombert I wish I could tell ohloh to ignore certain folders, but then, every project would have to be that honest :p
19:00 Xylakant even code only would still be 36 person years
19:00 Xylakant that's 12 persons working the last 3 years fulltime on this project
19:01 Wombert a person month is 300 LOC
19:01 Wombert in case of agavi, we usually produce a little more than that
19:02 Wombert ("a little", that is)
19:03 Xylakant yes, as i said - their estimate on loc is a bit off.
19:03 Wombert no, no, the LOC count is correct
19:04 Wombert but they use the "standard" 300 LOC/month factor to calculate the total effort
19:04 Xylakant yes, but the average loc/month does not fit
19:04 kaos|work the loc count is that high because of the generated timezone files
19:04 Xylakant it may be right for compiled languages stuff, but in web developement 300 loc/month is a bit conservative
19:05 Xylakant that's less than 20 lines/day
19:05 RossC0 STACKED IT!
19:05 RossC0 :D
19:05 Wombert awesome
19:05 Wombert and rated, too?
19:05 Wombert entered your location?
19:05 Wombert MrJeep: set your location in your profile so you show on the map!
19:05 Wombert :)
19:05 kaos|work yeah, 2 times the stacks of symfony xD
19:06 Wombert thanks for the kudos, RossC0 !
19:07 MrJeep done :D
19:08 RossC0 no worries
19:08 RossC0 don't like that site thou
19:09 Wombert mmmh power broke down :>
19:09 Wombert and I'm on a laptop
19:09 Wombert ace :D
19:25 Xylakant ok, i'm off for the traditional 'friday-evening-company-beer'.
19:25 Xylakant have nice weekend, cu monday
19:26 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
19:27 Whisller [n=example@217.97.146.67] has joined #agavi
19:42 RossC0 have a great weekend all!
19:42 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
20:15 Whisller is listening Pidzama Porno - Outsider
20:24 Whisller is now known as Whisller[a]
21:07 Whisller[a] [n=example@217.97.146.67] has left #agavi []
21:13 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
21:15 Wombert http://www.youtube.com/watch?v=RTX76btGqPs
21:18 CIA-11 [i=cia@208.69.182.149] has joined #agavi
21:31 splatch` Wombert: wow, nice cars :)
21:36 impl [n=impl@httpcraft/php/impl] has joined #agavi
21:36 impl Hey guys
21:36 impl :o
21:37 impl How do I validate an input array in the validation XML?
21:37 impl I can't figure out the syntax :P
21:38 Wombert the syntax is inconsistent
21:38 impl Whatcha mean?
21:38 Wombert <arguments base="foo">
21:38 Wombert <argument>bar</argument>
21:38 Wombert </arguments>
21:38 Wombert that validatges foo[bar] I think
21:38 impl supposing I want to validate everything in foo
21:38 Wombert <arguments base="foo[]">
21:38 Wombert </arguments>
21:39 Wombert validates all
21:39 Wombert afaik
21:39 impl ah
21:39 impl Line 17: Element '{http://agavi.org/agavi/1.0/config}arguments': Missing child element(s). Expected is ( {http://agavi.org/agavi/1.0/config}argument ).
21:39 impl Should I do an empty <argument> ?
21:40 Wombert yes, I think you have to
21:40 Wombert otherwise the weirdo syntax doesn't work at all
21:40 impl weird, it's still validating
21:40 Wombert if you'd like to fix that... please do :p
21:40 impl I'll have to fix it when I get home
21:41 impl but this shouldn't validate :S
21:41 Wombert what?
21:41 impl <input type="checkbox" name="bug[0]" value="string" />
21:41 Wombert an empty argument?
21:41 impl got that
21:41 impl then
21:41 impl <validator class="number" name="not_number" required="true" depends="bug_specification">
21:41 Wombert does it run the validation on the field?
21:41 impl <arguments base="bug[]">
21:41 impl <argument />
21:41 impl </arguments>
21:41 impl I dunno
21:41 impl The whole thing should be failing
21:41 impl but it's not
21:42 impl installs xdebug
21:42 impl because if that doesn't check the next query shouldn't even work
21:42 impl It's going to the success view though
21:46 impl yeah... wtf
21:50 Wombert it's a syntax weirdness thingie
21:50 Wombert probably not foo[] after all
21:50 Wombert not sure
21:51 Wombert I never used the validation stuff :p
21:51 kaos|work the validation is a general weirdness thingy
21:51 kaos|work and it's just base="bug" in that case
21:51 kaos|work i THINK *g*
21:53 impl no... then it doesn't validate at all
21:53 impl :X
21:53 impl weird, FPF isn't repopulating that checkbox though
21:54 Wombert it is not?
21:54 Wombert mmhm
21:55 Wombert if you had a reproduce case, that would be good
21:55 impl I can't release this code :\ I'll work on something when I get home
21:55 Wombert are you using agavi on your internship job?
21:55 impl yeah
21:55 Wombert oh awesome
21:55 impl they're using <SDFJSDFJSFDJSFDJFSSFD> though
21:55 impl NAME THAT SHALL NOT BE NAMED
21:55 impl etc
21:55 Wombert did you say symfony
21:55 Wombert dear god
21:55 impl no
21:55 impl did not
21:55 impl :>
21:56 Wombert oh god that must be horrible
22:00 impl ooooooomgggg
22:00 impl I PUT THE INPUT ABOVE THE FORM
22:00 Wombert what
22:00 impl gahhhhhh
22:00 Wombert YOU SUCK DUDE YOU REALLY DO
22:00 Wombert :>
22:00 Wombert hugs impl
22:01 impl hahah, works perfectly now
22:01 impl thanks guy
22:01 impl s
22:01 impl I'll be back in an hour or so from home ;p
22:01 impl [n=impl@httpcraft/php/impl] has quit ["leaving"]
22:26 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:37 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
22:46 Wombert [n=Wombert@87.79.35.58] has quit []
23:27 impl [n=impl@adsl-221-33-34.rmo.bellsouth.net] has joined #agavi
23:56 kaos|work [n=dominik@87.79.35.58] has quit []
Day changed Sat Jun 16 2007
00:04 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)]
00:37 Whisller[a] [n=example@217.97.146.67] has joined #agavi
00:38 Whisller[a] [n=example@217.97.146.67] has left #agavi []
00:41 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
01:40 Wombert [n=Wombert@p50872AC7.dip0.t-ipconnect.de] has joined #agavi
01:40 Wombert wtf is goingonhere
01:41 Wombert nine people in ze chan
02:42 impl [n=impl@cpe-075-182-067-177.nc.res.rr.com] has joined #agavi
02:52 Wombert [n=Wombert@p50872AC7.dip0.t-ipconnect.de] has quit []
07:46 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:36 impl [n=impl@httpcraft/php/impl] has quit [Read error: 60 (Operation timed out)]
09:55 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
10:05 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
10:06 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
10:59 epaulin [n=epaulin@221.221.22.38] has joined #agavi
11:18 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
11:18 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 54 (Connection reset by peer)]
11:18 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
11:40 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 110 (Connection timed out)]
11:46 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
11:46 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
11:47 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
11:54 Whisller[a] [n=example@217.97.146.67] has joined #agavi
11:54 Whisller[a] good morning
12:22 Wombert [n=Wombert@p508729D5.dip0.t-ipconnect.de] has joined #agavi
13:46 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Remote closed the connection]
13:52 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit ["Ex-Chat"]
14:21 v-dogg huomenta
14:42 Key [n=mail@87.79.35.58] has joined #agavi
14:46 Key is now known as Keyem
14:55 kaos|work [n=dominik@87.79.35.58] has joined #agavi
15:44 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
15:54 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"]
16:18 Whisller[a] [n=example@217.97.146.67] has left #agavi []
16:29 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
16:52 Whisller[a] [n=example@217.97.146.67] has joined #agavi
17:27 Wombert [n=Wombert@p508729D5.dip0.t-ipconnect.de] has quit []
17:40 Wombert [n=Wombert@87.79.35.58] has joined #agavi
17:42 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)]
17:44 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
17:45 splatch` oi boys! :)
18:18 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:08 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
19:12 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Remote closed the connection]
19:47 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
20:12 Whisller[a] [n=example@217.97.146.67] has left #agavi []
20:13 Keyem [n=mail@87.79.35.58] has quit [Read error: 110 (Connection timed out)]
20:18 callmebaby [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
20:18 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit ["Ex-Chat"]
20:51 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi []
20:53 Arme[N] is now known as Arme[0]
21:10 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
21:12 Wombert [n=Wombert@87.79.35.58] has quit []
21:12 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
21:12 kaos|work [n=dominik@87.79.35.58] has quit []
21:13 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
21:18 splatch` http://nlog.org/view.php?user=wroclaw&id=396795 < haha students :)
21:35 Whisller[a] [n=example@217.97.146.67] has joined #agavi
21:37 Wombert [n=Wombert@p508729D5.dip0.t-ipconnect.de] has joined #agavi
21:39 kaos|work [n=dominik@p508729D5.dip0.t-ipconnect.de] has joined #agavi
21:44 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
21:50 Whisller[a] [n=example@217.97.146.67] has left #agavi []
22:16 impl [n=impl@cpe-075-182-067-177.nc.res.rr.com] has joined #agavi
22:22 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:24 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Remote closed the connection]
22:32 Wombert [n=Wombert@p508729D5.dip0.t-ipconnect.de] has quit []
23:40 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
23:49 Whisller[a] [n=example@217.97.146.67] has joined #agavi
23:54 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)]
Day changed Sun Jun 17 2007
00:09 Whisller[a] [n=example@217.97.146.67] has left #agavi []
00:23 Whisller[a] [n=example@217.97.146.67] has joined #agavi
00:23 Whisller[a] [n=example@217.97.146.67] has quit [Client Quit]
00:25 Whisller[a] [n=example@217.97.146.67] has joined #agavi
00:26 Whisller[a] [n=example@217.97.146.67] has quit [Remote closed the connection]
00:40 kaos|work [n=dominik@p508729D5.dip0.t-ipconnect.de] has quit []
00:58 impl [n=impl@httpcraft/php/impl] has quit [Read error: 60 (Operation timed out)]
01:11 callmebaby [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Remote closed the connection]
01:18 impl [n=impl@cpe-075-182-083-146.nc.res.rr.com] has joined #agavi
01:32 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
01:44 impl [n=impl@httpcraft/php/impl] has quit [Read error: 60 (Operation timed out)]
01:50 impl [n=impl@cpe-075-182-083-146.nc.res.rr.com] has joined #agavi
03:26 E_mE [n=E_mE@91.84.10.29] has joined #agavi
03:44 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
03:44 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
05:01 Wombert [n=Wombert@p50873F08.dip0.t-ipconnect.de] has joined #agavi
05:42 Wombert [n=Wombert@p50873F08.dip0.t-ipconnect.de] has quit []
07:01 implement [n=impl@cpe-075-182-083-146.nc.res.rr.com] has joined #agavi
07:01 impl [n=impl@httpcraft/php/impl] has quit [Read error: 54 (Connection reset by peer)]
07:47 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
07:49 Arme[N] Huomenta!
08:55 implement [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
10:19 v-dogg huomenta
10:24 MikeSeth haiiiiiiiii
10:24 Arme[N] hihi
12:21 MikeSeth okay, time to write some unit testz
13:06 v-dogg testz rulez
13:10 v-dogg but I'm going to drink some cider and finish up ze cms project
13:10 MikeSeth oooh you're publishing it?
13:11 v-dogg the site is going to be published soon. I'll release the source after that
13:12 v-dogg finishing up means adding some documentation and handing over the project to the client (and getting my dough)
13:14 MikeSeth oh boy
13:14 MikeSeth rock on!
13:20 v-dogg why doesn't svn substitute my keywords?
13:20 MikeSeth you need to enable substitution by putting a property on the target file(s)
13:26 v-dogg thanks
13:56 E_mA [n=E_mE@91.84.10.29] has joined #agavi
13:59 Keyem [n=mail@87.79.35.58] has joined #agavi
14:06 Wombert [n=Wombert@p50873F08.dip0.t-ipconnect.de] has joined #agavi
14:07 MikeSeth okay what's the official place for app-level unit tests?
14:07 MikeSeth app/tests?
14:07 MikeSeth pets Wombert
14:09 v-dogg I'd keep only runtime stuff in app/
14:09 E_mE [n=E_mE@91.84.10.29] has quit [Read error: 110 (Connection timed out)]
14:10 v-dogg so tests/app/ maybe
14:10 MikeSeth wait, wtf, I have tests/ already
14:10 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 113 (No route to host)]
14:10 v-dogg yes, creted by agavi
14:10 v-dogg created, too
14:11 Wombert well
14:11 Wombert we don't have anything for tests yet
14:11 Wombert so you're on your own
14:11 v-dogg sure we do - tests directory :)
14:14 Wombert hey v-dogg
14:14 Wombert why didn't you sign up with ohloh yet!
14:14 MikeSeth wait, what's test_setup.php
14:14 Wombert and stack it with your position!
14:14 MikeSeth what do I do with it?
14:14 Wombert boooh!
14:14 Wombert MikeSeth: that's a lil older, isn't it
14:14 Wombert v-dogg: and rate it while you#re at it and give kudos to everyone and rate symfony and cake and all the noobs down :p
14:14 MikeSeth Wombert: I bet it is.
14:14 Wombert I have no idea :p
14:15 MikeSeth Wombert: hahahaha
14:15 Wombert it used to be generated
14:15 Wombert but I pulled it fromthe build process because it wasn't up to date
14:15 MikeSeth do you realize that we're about the only project that has a consistent 5/5 ration?
14:15 MikeSeth ratio*
14:15 Wombert yes, and my threat to jump off a bridge should it ever drop below is still valid
14:15 Wombert oh wait that's not enough of an incentive
14:15 Wombert better
14:16 Wombert should it ever drop below five, we're gonna hand the keys over to the symfony boys
14:16 Wombert so be careful, folks
14:16 Wombert and I dare you
14:16 Wombert double dare you
14:16 MikeSeth dude
14:16 Wombert don't vote it down right now just for kicks
14:16 Wombert I'm serious!!!!!11111one
14:16 Wombert :>>>
14:16 MikeSeth smacks Wombert
14:17 MikeSeth never ever do or say things like this, you're opening a strategic hole for noobs to come and take over
14:17 MikeSeth :D
14:17 MikeSeth oh noes, symfony has 2 times less stacks and 4.5 average score
14:17 MikeSeth WINNER
14:17 Wombert it's a trust thing I establish between the project and the user base
14:17 Wombert my life is in your hands
14:17 Wombert or so :>
14:18 Wombert 4.5?
14:18 Wombert what?
14:18 Wombert since when
14:18 Wombert it was 3something yesterday
14:18 Wombert aaaah
14:18 Wombert still is
14:18 Wombert good
14:18 Wombert man you got me there for a second
14:18 MikeSeth Wombert: this channel is logged. Means if they're spying on us, they will go and decrease our score right now, then you'll kill yourself and they'll take over the source
14:19 Wombert I love how 70% of the people who stacked symfony are too stupid to enter their location for the map xD
14:19 MikeSeth Observe the strategic imperatives please :D
14:19 Wombert oh fuck
14:19 Wombert ttj: HELP!
14:19 Wombert gooood
14:19 Wombert god
14:19 Wombert how could I be so stupid
14:19 Wombert cries
14:19 Wombert I messed it all up
14:19 Wombert cries
14:19 Wombert I'm so sorry
14:19 Wombert in tears
14:19 MikeSeth Withdraw your commitment NOW
14:20 MikeSeth We'll deal with the hostiles later
14:20 MikeSeth :D
14:20 MikeSeth Man I am good at this shit
14:20 MikeSeth heh
14:20 Wombert xD
14:30 MikeSeth okay
14:30 MikeSeth so, if I wanted to run unit tests...
14:30 MikeSeth I would need a Context wouldn't I
14:31 Wombert probably not
14:32 Wombert rather a "testing" environment
14:32 MikeSeth which I'm guessing is not presently implemented
14:32 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:32 Wombert uh
14:32 Wombert it's an environment
14:33 MikeSeth wait
14:33 Wombert just like "production", "development-mike" or "zomglolkthxbai"
14:33 Wombert :p
14:33 MikeSeth wait wait wait
14:33 MikeSeth *BULB!*
14:33 MikeSeth I hate reiterating myself, but you iz ze man
14:33 Wombert errr
14:33 Wombert what's going on this time :p
14:34 Wombert mind you, "testing" is just a name I picked. there is nothing special to it. configure it and then adjust settings specific to unit tests
14:34 Wombert like, mh, disable response sending if you want funcitonal testing, for instance
14:34 Wombert but remember, ross is already working on this stuff
14:35 Wombert he has several things implemented already
14:35 Wombert lemme show ya
14:36 Wombert (query)
14:57 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
14:59 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"]
15:02 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
15:17 epaulin_ [n=epaulin@221.222.227.82] has joined #agavi
15:35 epaulin [n=epaulin@221.221.22.38] has quit [Read error: 110 (Connection timed out)]
15:44 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
15:44 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
15:56 epaulin__ [n=epaulin@221.222.235.38] has joined #agavi
15:56 epaulin__ is now known as epaulin
15:59 epaulin_ [n=epaulin@221.222.227.82] has quit [Read error: 60 (Operation timed out)]
16:57 epaulin_ [n=epaulin@221.222.231.16] has joined #agavi
17:05 codecop_ [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
17:05 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
17:13 epaulin [n=epaulin@221.222.235.38] has quit [Read error: 110 (Connection timed out)]
17:36 v-dogg Wombert: ping
17:41 epaulin_ [n=epaulin@221.222.231.16] has quit [Read error: 110 (Connection timed out)]
18:20 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
18:26 Wombert v-dogg: pong
18:37 impl [n=impl@cpe-075-182-083-146.nc.res.rr.com] has joined #agavi
19:07 v-dogg Wombert: I was going to ask what license files I should bundle when I hand the project over to the client
19:07 v-dogg but I took them all
19:08 v-dogg I was thinking that there might be something online that I could just refer to
19:09 impl mmf
19:09 impl Anyone think an Is<type>Validator would be useful?
19:09 v-dogg "Agavi is LGPL but includes libraries with other open source licenses. For more info see http://agavi.org/LICENSE";
19:10 v-dogg or something
19:10 impl v-dogg: that's probably fine
19:13 v-dogg it would be, yes
19:14 v-dogg but http://agavi.org/LICENSE doesn't exist
19:14 v-dogg man that baby farts loud :D
19:24 codecop_ [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
19:27 impl v-dogg: You could just link to svn.agavi.org/trunk/LICENSE ;x
19:28 Wombert re
19:31 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Remote closed the connection]
19:35 Wombert bundling the license is okay I guess
19:36 Wombert the obvious problem is that the license files are in /
19:36 Wombert we could change that for 1.0 maybe
19:36 Wombert or move them to src/
19:41 impl licenses don't really belong in src/
20:20 v-dogg Wombert: would it be possible to have agavi.org/LICENSE (and from that links to other licenses)?
20:21 v-dogg or agavi.org/0.11/LICENSE maybe
20:21 v-dogg (if we ever want to change it)
20:38 Keyem [n=mail@87.79.35.58] has quit [Read error: 110 (Connection timed out)]
21:17 Wombert yah prolly a good idea
21:59 E_mA [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
22:39 JamieWolf [n=JamieWol@e177183154.adsl.alicedsl.de] has joined #agavi
23:08 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi []
23:08 CIA-11 david * r1993 /branches/0.11/CHANGELOG: for RC5
23:11 ttj Wombert: What's up?
23:11 Wombert forgot
23:12 ttj (Sorry, sailing in the UK.)
23:12 Wombert ah maybe you need to clear up evidence from the logs :p
23:12 Wombert oh nice
23:12 Wombert was it ace?
23:12 Wombert hey obey the topic!
23:12 ttj Still here.
23:12 Wombert oh
23:12 Wombert ace
23:12 Wombert :>
23:13 ttj GPRS + laptop in the middle of, well, a river.
23:13 ttj Near Plymouth or somewhere.
23:13 Wombert no, no, plymouth is a car brand
23:13 Wombert mh
23:13 Wombert okay
23:13 Wombert disregard me
23:14 ttj Ok, need to wash the dishes. :-)
23:14 ttj Later.
23:14 Wombert hf
23:14 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
23:28 CIA-11 david * r1994 /branches/0.11/ (CHANGELOG etc/phing/AgaviPackageTask.php): for RC5
23:29 impl Wombert: don't forget to update version stuff
23:30 Wombert what version stuff
23:30 impl version.php
23:30 impl so it doesn't say -dev
23:30 Wombert right
23:30 Wombert star
23:30 Wombert hugs impl
23:30 impl ;p
23:32 CIA-11 david * r1995 /branches/0.11/src/version.php: for RC5, take 190237176
23:36 Wombert god I hate my computer
23:36 Wombert I found out the other day
23:36 Wombert that a latest generation macbook pro is FOUR TIMES faster than my powerbook
23:39 Wombert and since it takes 20 minutes or so to build a pear release
23:39 Wombert I can't be bothered to sit down and automate it properly
23:39 Wombert gah
23:41 splatch` http://youtube.com/watch?v=59ZX5qdIEB0 :)
23:55 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
Day changed Mon Jun 18 2007
00:21 JamieWolf [n=JamieWol@e177183154.adsl.alicedsl.de] has quit ["KVIrc 3.2.5 Anomalies http://www.kvirc.net/"]
00:29 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
01:23 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)]
01:30 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
01:43 CIA-11 david * r1996 /branches/0.11/CHANGELOG: mmmmmkay
01:45 CIA-11 david * r1997 /tags/0.11.0RC5/: tagging 0.11.0 RC5 for release
01:45 impl whee
01:45 impl you should have done an extra three commits to make it 2000 :X
01:46 Wombert heh
01:52 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
01:53 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
02:21 Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11RC5 :: http://www.ohloh.net/projects/5907, please rate, stack and maybe review - AND GIVE KUDOS KTHXBAI :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 :: want SVN? http://svn.agavi.org/branches/0.11/ :: have a question? Just ask, and wait patiently, because patience is the key to happiness :: We're looking for documentation contributors :: logs @ http://users.tkk.fi/~tjorri/agavi/logs/ :: HUOMEN
02:22 Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11RC5 :: http://www.ohloh.net/projects/5907, please rate, stack and maybe review - AND GIVE KUDOS KTHXBAI :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 :: want SVN? http://svn.agavi.org/branches/0.11/ :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: We're looking for documentation contributors :: logs at http://users.tkk.fi/~tjorri/agavi/logs/ :: HUOMENTA!
02:23 Wombert enjoy
02:23 Wombert good night :p
02:26 CIA-11 david * r1998 /branches/0.11/ (etc/phing/AgaviPackageTask.php src/version.php): version nfo
02:28 CIA-11 david * r1999 /trunk/ (8 files in 7 dirs): merging in changes from 0.11 branch
02:28 Wombert [n=Wombert@p50873F08.dip0.t-ipconnect.de] has quit []
02:45 impl [n=impl@adsl-221-33-34.rmo.bellsouth.net] has joined #agavi
03:44 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
03:44 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
07:35 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
07:41 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
07:43 Arme[N] hihi RC5 is out :D
07:44 Arme[N] Huomenta!
07:47 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)]
07:49 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
07:50 Arme[N] is now known as Arme[0]
08:04 v-dogg huomenta
08:04 v-dogg and congrats
08:05 Arme[0] is now known as Arme[N]
08:23 Arme[N] hi hi, yeah :D
08:25 Arme[N] is now known as Arme[0]
09:48 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
09:51 _cheerios huomenta
09:52 _cheerios oi, RC5
10:21 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
10:23 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
10:40 _cheerios my my. that instantjs does about the one big thing i've seen flash used for on webpages. good catch RossC0
10:43 RossC0 :D
10:47 v-dogg woot?
10:51 MikeSeth huomenta
10:51 RossC0 v-dogg _cheerios has been trawling my delicious links
10:51 MikeSeth weeee RC5 is out WEEEEEEEEEEE
10:53 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
10:58 Xylakant heya.
11:06 MikeSeth halo
11:23 SunboX [n=Miranda@80.243.35.154] has joined #agavi
11:32 Wombert [n=Wombert@87.79.35.58] has joined #agavi
11:55 Whisller[a] [n=example@217.97.146.67] has joined #agavi
11:55 Whisller[a] czesc
11:56 Wombert RossC0: can I close that ticket wrt the caching flag
11:56 Whisller[a] Maybe you will know, mysql has function similar to strrchr?
11:56 Wombert for searching? :p
11:57 Wombert WHERE field LIKE "%fubar"
11:57 Wombert ? :p
11:57 Whisller[a] hmm I must get a extension of file "dupadupadupa.jpg_t.jpg"
11:57 Whisller[a] ;p
11:57 Whisller[a] no
11:57 Whisller[a] *an
11:58 Wombert use a regular expression?
11:59 Wombert http://dev.mysql.com/doc/refman/5.1/en/regexp.html
11:59 Whisller[a] hmm yes I'll do it, but I thought mysql has that function.
11:59 MikeSeth MySQL. Regexps. Pain.
11:59 Whisller[a] yes I know that page, thanks
12:00 RossC0 Wombert: You mean your'e not adding it to settings??
12:00 Wombert well you can use the filter parameter, right?
12:01 Wombert the thing is, caching is not some system wide thing. the exec filter does it all alone
12:01 RossC0 cool #527
12:01 RossC0 I'll update and close
12:01 Wombert just wanted to ask if that's fine by you
12:01 Wombert if one day the caching affects multiple parts of the system, then we can introduce a global switch
12:02 Wombert sounds good?
12:02 RossC0 sure - no probs - I'll add a note to the ticket for others :D
12:02 Wombert cool
12:03 Whisller[a] hmm
12:05 Whisller[a] I can't use regexp. SELECT id, rooms_id, name, sequence, index_page, name REGEXP '\.[a-z]+$' AS extension I must find another way
12:06 Whisller[a] I thought I can use regexp here also.
12:15 Whisller[a] hmm mysql has to find the firs occurrency but not last hmm ok I'm searching
12:19 Whisller[a] kurwa :/
12:19 Whisller[a] heh
12:20 Xylakant Wombert: Grats for finally rolling RC5
12:20 Xylakant are there any rough estimates for the 1.0 release date?
12:21 Xylakant i'd love to switch over a coupe of projects to a 'stable' version :)
12:21 Wombert 0.11 is stable
12:21 Wombert that's what we've been saying for months :p
12:21 Xylakant hmm. indeed, still there are api changes
12:21 Wombert 1.0 = 0.11 plus docs plus tests
12:22 Xylakant fewer and fewer i admit, but still they are there.
12:22 RossC0 Wombert: closed #527
12:22 Wombert where
12:23 Xylakant and the other point is 'marketing' - it's easier to sell a 1.0 than 0.11 RC5
12:23 Xylakant well, in your changelog
12:24 Xylakant I know, it's a deprecation notice and the old stuff will still work
12:27 Wombert RossC0: thx
12:27 Wombert about the double slashes problem
12:27 Wombert I really like to see this as an apache bug :/
12:28 Wombert it's awfully difficult to fix, unfortunately
12:30 RossC0 that not fixed?
12:30 RossC0 well I can test if you need me to
12:32 Wombert it's not fixed completely yet, no
12:32 RossC0 whats the test case for: outstanding issue affects slashes in existing directories, not in path info
12:33 Wombert yes, that's the one
12:33 Wombert well imagine a user calls /path//to/your/app/theroute
12:33 Wombert can happen
12:33 Wombert and that messes everything up
12:34 Wombert it does right now, too, even for non-apache2.2
12:34 RossC0 ah ok - so is that a non fixable bug ?
12:34 Wombert but to fix that is an effort and a half and THEN combining it with the huge hackery needed to work around apaches problem is next to impossible
12:34 Wombert it's borderline unfixable
12:34 Wombert I need to sit down again but I spent a couple of hours the other day and didn't find an approach
12:35 Xylakant we made an attempt at fixing this in mojavi
12:35 Wombert it would be tremendously helpful if the apache folks could fix the double slashes thingie because then I can locate dupe slashes in the directory part much more easily
12:35 Xylakant we found no reasonable approach either
12:36 Xylakant the problem is that the information gets lost pretty much completely before you ever have a chance to handle it.
12:36 Wombert not quite, it's still in REQUEST_URI
12:37 Wombert but getting it from there in a reliable manner requires that I can be sure about at least one part of the URL
12:37 Wombert which is not the case for apache 2.2 where both directories AND the path info are modified
12:37 Xylakant yes, but matching request uri against the rewitten part is pretty much impossible
12:37 Wombert nah, that's not what I'd be doing
12:37 Wombert I know what the "path info" portion is
12:37 Wombert and I have the request uri
12:38 Wombert so I can pretty much remove the path info from the request URI and that's it
12:38 Wombert but that only works if the path info doesn't get double slashes stripped either :p
12:38 Wombert we should really consider filing a bug with the apache guys
12:39 Wombert or at least shoot a mail to the mailing lists
12:39 Wombert any volunteers? :p
12:40 RossC0 yeah why not
12:41 Xylakant Wombert: so you could solve the problem if you had one part of the url?
12:43 Xylakant would it be possible to introduce a config setting that gives you one part of the url?
12:44 Wombert eww
12:44 Wombert RossC0: can you do that?
12:44 Wombert hugs RossC0
12:46 Xylakant i don't have an apache server with rewriting right now, os i can't test that but if you have a request uri such as /test/TEST//Dummy and a config setting telling you that '/test/' is the directory where the dispatcher file is located
12:47 Xylakant you'd get what you need, or am I missing something?
12:47 Wombert yup, you are ;)
12:47 Wombert if the user calls //test
12:47 Wombert but as I said, I think I could work around that
12:48 Xylakant if the user calls //test/TEST//Dummy he'd get a 404 not found
12:48 Xylakant at least with a reasonable rewriting
12:48 Wombert mmmh
12:48 Xylakant and that's fine with me
12:49 Wombert well webservers ignore that
12:49 Xylakant mine doesn't
12:49 Xylakant it's an apache, but no rewriting here..
12:50 Wombert http://127.0.0.1//phpMyAdmin/ works for me
12:50 Xylakant interesting
12:50 Xylakant ah
12:50 Xylakant yes, shure
12:51 Xylakant for me <host>//index.php works
12:51 Xylakant but not <host>//test/index.php
12:52 Wombert either way, the web servers collapse multiple slashes, and we need to detect that situation
12:52 Xylakant and lighty indeed ignores the leading slashes
12:52 Wombert RossC0: are you writing a mail to the list?
12:53 Xylakant lighty indeed collapses all multiple slashes in urls
12:54 Xylakant but not all apache versions do
12:55 Xylakant 2.0.55 does
12:55 Xylakant but shows some interesting misbehaviour
12:55 RossC0 Wombert: yes
12:56 RossC0 In the process of doing - still want me to post?
12:57 MikeSeth isnt it a little bit immaterial? If idiots post malformed requests, let them be..
12:57 MikeSeth heh I'm bitter
12:59 _cheerios MikeSeth, problem is that after such a malformed uri it breaks all other uri's in your service, leading only to errors (atleast once when i tested).
12:59 MikeSeth _cheerios: how? Unless routing generates malformed URLs, which it never should..
13:00 kaos|work [n=dominik@87.79.35.58] has joined #agavi
13:01 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
13:01 _cheerios aye, that's what was happening back in the days. wombert seems to have fixed some issues.
13:02 Whisller[a] I have it!
13:02 Whisller[a] SUBSTRING(name,CONCAT('-',INSTR(REVERSE(name),'.')))
13:02 Whisller[a] hehe
13:02 Whisller[a] great :P
13:02 RossC0 but still my users may be idiots and I want my site to look munged if they put in a bad url and the basehref gets screwed
13:04 Wombert RossC0: please
13:04 RossC0 http://issues.apache.org/bugzilla/show_bug.cgi?id=42686
13:04 um Apache httpd-2 bug #42686: mod_rewrite converting double slashes to single slash in QUERY_STRING Product: Apache httpd-2, Component: mod_rewrite, Severity: normal, Assigned to: bugs@httpd.apache.org, Status: NEW
13:05 RossC0 Can add more detail if you want
13:05 Wombert please do
13:05 Wombert first of all, I don't think it's query string related
13:05 Wombert remember the rewrite log you attached to the agavi ticket?
13:06 Wombert the slashes were missing there, too
13:06 Wombert so it seems that apache internally collapses them before it continues
13:07 Wombert also, it happens for path info
13:07 Wombert i.e. index.php/foo//bar
13:07 Wombert also, your bug report does not contain the rewrite rules we use, but as I said, I don't think they are relevant
13:07 Whisller[a] [n=example@217.97.146.67] has left #agavi []
13:07 Whisller[a] [n=example@217.97.146.67] has joined #agavi
13:08 Wombert does that help, RossC0
13:09 Keyem [n=mail@87.79.35.58] has joined #agavi
13:10 MikeSeth Wombert: doesn't mod_dir fuck it up?
13:10 MikeSeth tries hard to recall
13:10 MikeSeth I remember running into it
13:11 RossC0 well index.php/foo//bar worked ok for me
13:11 RossC0 which adds confusion
13:11 Wombert yeah, RossC0, but if you look at the PATH_INFO there, you'll notice that the slashes are missing
13:11 Wombert or aren't they?
13:13 RossC0 ah ok - yeap cleaned for path_info
13:16 Wombert don't think it's mod_rewrite related really
13:16 Wombert since the rewrite log shows that the URL has the slashes collapsed already by the time mod_rewrite kicks in
13:18 RossC0 yeap
13:18 Wombert so how about "multiple slashes collapsed to one in path info portion of request URI" as summary?
13:19 RossC0 tried to attach the log - but it kept timing out
13:19 RossC0 have updated with path_info
13:19 RossC0 http://issues.apache.org/bugzilla/show_bug.cgi?id=42686
13:19 um Apache httpd-2 bug #42686: Apache converting double slashes to single slash Product: Apache httpd-2, Component: Core, Severity: normal, Assigned to: bugs@httpd.apache.org, Status: NEW
13:20 RossC0 that ok? or do I still need more?
13:24 RossC0 ok attached the log - and now we'll leave it to their devs to reply :D
13:25 RossC0 right testing
13:35 _cheerios testing testing
13:54 MikeSeth speaking of testing
13:55 MikeSeth I just wrote simple unit tests that exposed 3 bugs in one of my models
13:55 MikeSeth Agavi <3 :D
13:55 MikeSeth <?php
13:55 MikeSeth ob_start();
13:55 MikeSeth require('/usr/share/php/agavi/agavi.php');
13:55 MikeSeth require('../app/config.php');
13:55 MikeSeth Agavi::bootstrap('development');
13:55 MikeSeth $ctx = AgaviContext::getInstance('tests');
13:55 MikeSeth $model = $ctx->getModel('Campaign', 'Campaigns');
14:10 MikeSeth hrrr
14:11 MikeSeth FPF doesn't automagically encode data to HTML entities does it
14:17 MikeSeth well I'll be damned! It friggin' does!
14:19 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:22 Arme[N-1] is now known as Arme[N]
14:22 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
14:29 Wombert sure it does MikeSeth
14:29 Wombert come on :p
14:35 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
14:38 MikeSeth I swear to god, I spend more time in Agavi sources every day than I do actual work
14:43 Wombert why's that
14:46 MikeSeth undocumented stuff like FPF's dom_encode_entities parameter ;)
14:46 MikeSeth speaking of DOM\
14:46 Wombert eh?
14:46 Wombert eh
14:46 Wombert errr
14:46 MikeSeth I often break the shiny exception page because legacy code causes malformatted output
14:47 MikeSeth so I have turned $svg off in it, otherwise I get firefox XML parse errors
14:47 Wombert I had
14:47 Wombert while (@ob_end_clean());
14:47 Wombert in the template but everyone whined about it
14:47 MikeSeth *shrug*
14:47 MikeSeth can't have it both ways I guess ;)
14:48 MikeSeth I dont suppose it can be rewritten in loose HTML without losing the SVG picture.. can it?
14:49 Wombert svg requires that we send applicationxhtml+xml
14:49 Wombert it reads that from firefox' Accept header
14:50 MikeSeth yep.
14:50 Wombert anyway
14:50 Wombert what are you doing with entities there
14:51 MikeSeth actually, nothing, it was a stupid mistake on my part, I accidentally left <input value="<?php print... in a template that comes from legacy
14:56 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:59 _cheerios :)
15:05 RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 54 (Connection reset by peer)]
15:05 RossC1 [n=lawleyr@80.4.120.163] has joined #agavi
15:14 _cheerios that was shit. deployed site, but the xml parsing of agavi configs b0rked, and took the site down with a nice headers sent by routing.xml error
15:20 MikeSeth well
15:21 MikeSeth michael@deathwish:~/public_html/buying/v2/app$ cat config/pretty
15:21 MikeSeth #!/bin/sh
15:21 MikeSeth [ "$1" == "" ] && exit 1
15:21 MikeSeth tidy -xml -i -m -wrap 132 $1
15:21 MikeSeth this is how I solve that problem ;)
15:36 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
15:37 epaulin [n=epaulin@221.221.22.193] has joined #agavi
15:40 _cheerios lovely IE. no errors. but nothing happens. how to debug?
15:40 _cheerios (javascript)
15:43 RossC1 _cheerios: install the developer toolbar?
15:44 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
15:44 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
15:58 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
16:00 _cheerios there's one? hmmk, i'll google
16:00 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
16:06 _cheerios ie web developer toolbar, rossc0?
16:09 RossC1 yup
16:09 RossC1 has a debugger mode - that helps spot JS errors
16:14 Wombert do you guys agree that the collapsing of slashes is an apache bug and should not be handled by agavi as a fix is likely
16:15 _cheerios if it's an agavi bug and they'll fix it, shouldn't waste time on it
16:15 _cheerios *apache :p
16:16 Wombert RossC1: can you add me as a cc on both tickets?
16:16 Wombert dzuelke@gmail.com plz kthxbai
16:16 Wombert xD
16:16 Wombert or can I add myself without a login
16:28 RossC1 is now known as RossC0
16:29 RossC0 Wombert - you need to register :(
16:29 RossC0 CC: dzuelke@gmail.com did not match anything
16:29 Wombert beh
16:29 Wombert well let me know if there are news then ;)
16:29 Wombert -if+when
16:29 RossC0 wilco
16:30 Wombert ace
16:30 Wombert hugs RossC0
16:31 RossC0 :D
16:31 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi []
16:37 RossC0 omg phing does its checking inline and ordering of targets is important
16:37 RossC0 so things have to be in chronological order - nice
16:37 RossC0 slaps phing
16:54 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
16:55 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
16:56 _cheerios RossC0, problem with IE was a few unclosed tags in the end.
17:00 Wombert [n=Wombert@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
17:00 kaos|work [n=dominik@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
17:00 kaos|work [n=dominik@87.79.35.58] has joined #agavi
17:00 Wombert [n=Wombert@87.79.35.58] has joined #agavi
17:03 kaos|work [n=dominik@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
17:03 Wombert [n=Wombert@87.79.35.58] has quit [Nick collision from services.]
17:04 Wombert_ [n=Wombert@87.79.35.58] has joined #agavi
17:04 kaos|work [n=dominik@87.79.35.58] has joined #agavi
17:21 RossC0 is there a configuration handler that can set up path information?
17:21 RossC0 i.e. an xml handler to do things like: AgaviConfig::set("tests.dir", realpath($agaviRoot.'/tests2'));
17:24 MikeSeth uhm
17:24 MikeSeth AgaviConfig::Get('%core.agavi_dir%' etc?
17:26 RossC0 ah no - I was wondering if there was something like:
17:26 RossC0 <configurations environment="test">
17:26 RossC0 <parameter name="tests.dir">/tests</parameter>
17:26 RossC0 or similar
17:26 MikeSeth umm
17:27 MikeSeth im sure there is but I dont know how to ;)
17:28 Xylakant Rossc0: in settings.xml
17:29 RossC0 ah so if I use the same handler that should work
17:29 Xylakant <settings prefix="tests."><setting name="dir">/tests</setting></settings>
17:29 Xylakant put that straight into settings.xml
17:29 RossC0 cool - thanks Xylakant
17:30 Xylakant or if you don't want that, use an xinclude directive
17:30 Xylakant and then you can read that directive with agaviconfig::get('tests.dir');
17:30 RossC0 cool
17:41 v-dogg magic
17:51 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
17:55 v-dogg MikeSeth: is there a reason you don't use the plain text exception template if you have issues with the SVG?
17:55 Wombert_ I believe he likes the SVG candy
17:55 MikeSeth v-dogg: yes. Shiny is cute :D
17:55 Wombert_ that's what I understood at least
17:55 Wombert_ see :)
17:58 v-dogg oh you weirdos
17:58 MikeSeth duh :D
18:00 v-dogg home ->
18:05 Wombert_ is now known as Wombert
18:19 Wombert folks
18:20 Wombert this case
18:20 Wombert $mdl = $ctx->getModel('MyCoolSomething', 'Zemodule');
18:20 Wombert now I want a constant of that class
18:20 Wombert $mdl->setType(Zemodule_MyCoolSomething::TYPE_ROFL); sux
18:20 Wombert because I need to know the name
18:21 Wombert so how about
18:21 Wombert $mdl->_getConstant('TYPE_ROFL');
18:21 Wombert that good?
18:21 RossC0 _ ?
18:21 Wombert I realize it's haxorish
18:21 Wombert well you might have a getConstant() in your own model already
18:21 Wombert (I want to add the method to AgaviModel)
18:23 Wombert or just _constant
18:24 RossC0 _getConstant
18:24 Xylakant $mdl->setType(constant(get_class($mdl).'::TYPE_ROFL')) would do that job :)
18:25 SunboX [n=Miranda@80.243.35.154] has quit [Read error: 104 (Connection reset by peer)]
18:25 Wombert right
18:25 Wombert which is ugly :p
18:25 RossC0 php is ugly
18:25 Xylakant and when you do $ctx->getModel('MyCoolSomething', 'Zemodule'); you already know the classname, don't you?
18:25 Wombert right
18:25 Wombert not necessarily, Xylakant
18:26 Wombert it could be Zemodule_MyCoolSomething
18:26 Wombert or
18:26 Wombert Zemodule_MyCoolSomethingModel
18:26 Wombert or
18:26 Wombert MyCoolSomethingModel
18:26 Wombert etc
18:26 MikeSeth Wombert: why aren't there shortcut getModel methods in saction/views?
18:26 Wombert MikeSeth: DIY
18:26 Xylakant do it yourself?
18:26 Wombert i.e. give your CustomBaseActionFromWhichAllActionsExtend extends AgaviAction a method getModel() ;)
18:27 MikeSeth I have. I think it makes sense to standardize it.
18:27 Wombert nah, because then folks become zombies and want the method everywhere and... you know the rest
18:27 Wombert too symfony-ish
18:28 Wombert it's not a big deal is it
18:30 MikeSeth point taken.
18:30 RossC0 pants - phing outputs which means that I get session_start() errors
18:31 RossC0 any ideas / ways round that ?
18:32 Wombert phing -q
18:32 Wombert ? ;)
18:32 Wombert and what about that method thing
18:33 RossC0 -q no help
18:33 RossC0 :p
18:34 MikeSeth btw ill ask again
18:34 MikeSeth htf do I feed phing parameters so that it doesnt input them from console?
18:34 MikeSeth i need to automate creation of actions
18:34 RossC0 not sure how - as each param it thinks is a task
18:34 RossC0 / target
18:34 MikeSeth god damn phing
18:35 Wombert phing -Dname=value
18:35 MikeSeth Wombert: but will it shut up?
18:36 Wombert probably not
18:37 Wombert should we create a Better Phing?
18:37 RossC0 what Rake ?
18:37 Wombert YOU DID NOT JUST MENTION RAKE DID YOU SIR
18:38 RossC0 Capistrano 2
18:38 MikeSeth just write a godfriggin shell script
18:38 MikeSeth thats all
18:38 RossC0 or the php version Papistrano
18:38 RossC0 <3 Papistrano :D
18:41 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
18:45 Xylakant RossC0: do you have experience with Capistrano?
18:47 RossC0 yeah - its what I'm using on my current project to deploy to testing / staging and live servers
18:49 Xylakant and what's your opinion?
18:49 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
18:49 RossC0 it works well - has the same problem as phing with passing in vars - but you can set ENV vars.
18:50 RossC0 But has made it easy to update servers - it svn exports, changes the permissions for cache etc.. rebuilds Xapian indexes etc..
18:52 RossC0 Also Capistrano 2 is back inline with Rake (i.e. namespaces) - so the syntax for some of the Xapian indexing looks the same - as they are Rake scripts (as opposed to Perl). Which has meant our sys admin scripts are all the same language, easy to read and do the job
18:53 RossC0 Wombert thanks <php function="ob_clean" /> has fixed the headers issue
18:54 Xylakant ok
18:55 Xylakant thanks RossC0, i'll try that
18:57 RossC0 Also theres lots of generic recipes out there now: http://devthatweb.com/view/introducing-capistrano-bells
19:13 Xylakant ok, guys, cu all. have a nice evening
19:13 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
19:19 Wombert RossC0: hax0r
19:22 RossC0 zomg hax0r me l33t hax0r skillz
19:23 v-dogg haha, papistrano
19:24 Wombert falls over
19:24 Wombert falls over
19:24 Wombert hugs v-dogg
19:24 Wombert we should call it Papistranotits tho :p
19:24 Wombert just to crack you up
19:25 Wombert :)
19:25 v-dogg tits *giggle*
19:26 RossC0 lol
19:37 epaulin [n=epaulin@221.221.22.193] has quit ["Hmm... Upgrades."]
19:40 RossC0 laters all
19:40 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
19:40 Whisller[a] How I can set error to field in FPF?
19:41 Whisller[a] In action :)
19:54 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
20:00 Whisller[a] So is it possible? I know we can set it by ->setError but how we can set error for field :>
20:00 v-dogg it is
20:01 v-dogg $this->container->getValidationManager()->setError('login', $e->getMessage());
20:02 v-dogg (Wombert will tell you if this is depreciated and replaced by some better way :)
20:02 Whisller[a] ohh yes I'm stupid ohh I'm
20:03 Whisller[a] heh I has got errorName fileExists and field was image
20:03 Whisller[a] fuck
20:03 Whisller[a] thanks
20:04 Whisller[a] heh ok Thanks very much
20:08 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
20:17 Keyem [n=mail@87.79.35.58] has quit ["Client Exiting"]
20:22 E_mE [n=E_mE@91.84.10.29] has joined #agavi
20:22 Whisller[a] [n=example@217.97.146.67] has quit [Read error: 54 (Connection reset by peer)]
20:22 E_mE evening all :)
Log opened Tue Jun 19 19:41:30 2007
19:41 logzog [n=chuckwal@static.88-198-118-14.clients.your-server.de] has joined #agavi
19:41 Irssi: #agavi: Total of 15 nicks [0 ops, 0 halfops, 0 voices, 15 normal]
19:41 Irssi: Join to #agavi was synced in 3 secs
19:42 You're now known as chuckwalla
19:42 You're now known as Chuckwalla
19:42 Wombert good boy
19:42 v-dogg oh-hoy Chuckwalla _o/
19:42 Wombert it's irssi
19:42 v-dogg is it really you?
19:42 Wombert don't tell anyone :)
19:42 Wombert nah :p
19:42 v-dogg ah :)
19:42 v-dogg but irssi is good
19:42 v-dogg use it myself
19:43 Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11RC5 :: http://www.ohloh.net/projects/5907, please rate, stack and maybe review - AND GIVE KUDOS KTHXBAI :: http://www.agavi.org :: http://trac.agavi.org/milestone/0.11 :: want SVN? http://svn.agavi.org/branches/0.11/ :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: We're looking for documentation contributors :: logs at http://agavi.org/irclogs/ :: HUOMENTA!
19:43 kaos|work hmm, well, the documentation is a little bad
19:43 kaos|work but its ok :)
19:43 kaos|work but bitchx is quite nice as well (and looks like exactly the same *g*)
19:49 kaos|work hmm, now mod_deflate so you can get the files fast with slow lines as well
19:49 kaos|work and i'm happy
19:50 kaos|work hmm, should we use irc.agavi.org/logs instead ?
19:50 Wombert nah this is fine
19:52 kaos|work ümlaut test
19:55 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)]
19:58 v-dogg äöå
20:02 kaos|work works
20:02 kaos|work fine (:
20:02 kaos|work even seems to be gzipped
20:03 kaos|work so that was enough sysadmin work for the next 2 months xD
20:05 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has quit [Connection timed out]
20:25 Wombert changed the topic of #agavi to: Welcome to Agavi :: latest: 0.11RC5 :: http://ohloh.net/projects/5907, please rate, stack and maybe review - AND GIVE KUDOS KTHXBAI :: http://agavi.org :: http://trac.agavi.org/milestone/0.11 :: want SVN? http://svn.agavi.org/branches/0.11/ :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: We're looking for documentation contributors :: logs at http://agavi.org/irclogs/ :: HUOMENTA!
20:50 Wombert [n=Wombert@87.79.35.58] has quit []
20:54 impl [n=impl@adsl-221-39-153.rmo.bellsouth.net] has joined #agavi
20:58 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
21:00 kaos|work [n=dominik@87.79.35.58] has quit []
21:27 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Remote closed the connection]
21:29 Wombert [n=Wombert@p508735CF.dip0.t-ipconnect.de] has joined #agavi
22:07 E_mE [n=E_mE@91.84.10.29] has joined #agavi
22:07 E_mE wombert you there?!?!
22:07 E_mE hihi all :D
22:28 E_mE does anyone else live in Germany here??
22:57 Whisller[a] [n=example@217.97.146.67] has joined #agavi
22:57 Whisller[a] hello
23:59 Whisller[a] For what Is isSimple return true? I know when we set it, action don't use validation etc. But has it other functions? I don't see for what is it :)
Day changed Wed Jun 20 2007
00:23 Whisller[a] [n=example@217.97.146.67] has quit [Read error: 113 (No route to host)]
00:36 impl E_mE: kaos does
01:06 Wombert [n=Wombert@p508735CF.dip0.t-ipconnect.de] has quit [Nick collision from services.]
01:06 Wombert_ [n=Wombert@p508738F1.dip0.t-ipconnect.de] has joined #agavi
02:15 v-dogg huomenta
02:16 v-dogg E_mE: and xylant, eremit and wombert
02:19 impl I'm going to start working on new features in impl-caching
02:19 impl i.e., no longer having a stable API
02:19 impl hope you guys don't mind
02:19 impl :P
02:20 v-dogg go grazy!
02:20 v-dogg or crazy, if you like
02:21 v-dogg but there are no guarantees your crazyness is ever going to be merged :)
02:22 impl of course =P
02:23 v-dogg but now: breakfast and a jog
02:23 impl :D
02:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
02:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
03:16 simoncpu uh... hello
03:17 simoncpu i can't seem to find the list of developers in trac.agavi.org
03:17 simoncpu likes to know the people behind the frameworks that he's currently exploring
03:18 simoncpu what the... whoa... our chat is automatically logged
03:18 simoncpu lemme try
03:19 simoncpu <script>alert('w00t!');</script>
03:19 impl haha, it's logged as a text file :P
03:19 simoncpu darn, didn't work
03:19 simoncpu :p
03:20 impl The developers include Wombert, kaos, v-dogg, MikeSeth, and me, at the moment (iirc)
03:20 simoncpu oh coool....
03:21 simoncpu i'm currently looking for a framework that i can use to make RESTful apps
03:21 simoncpu i have this feeling that i can use agavi
03:23 impl I'm not sure how Agavi handles PUT and DELETE
03:23 impl that's something I've been meaning to look into
03:24 simoncpu MikeSeth told me that PUT is mapped to executeCreate() and DELETE is mapped executeRemove() :)
03:25 impl Oh, awesome
03:25 simoncpu but i haven't tried it yet
03:26 simoncpu and i haven't understood agavi's concept of url routing yet
03:27 simoncpu does agavi map methods to url too?
03:27 impl No
03:27 simoncpu ex., foobar(a,b) becomes http://example.org/foo/a/b
03:27 simoncpu http://example.org/foobar/a/b
03:27 simoncpu hmmmm
03:27 impl You map whatever you want to SomeModule::SomeAction::execute<Method> (AgaviRequestDataHolder $rd)
03:28 simoncpu downloads 0.11 RC 5 to find out
03:28 impl (that's how it'd look in namespaces anyway)
03:28 impl so for example
03:28 simoncpu btw, is it possible to use agavi without views?
03:28 simoncpu my views will be taken of by flash or a unix or linux app
03:29 simoncpu i dunno... i want to make my views as flexible as possible
03:29 impl <route name="foobar" pattern="^/foobar/(a:{\w+})/(b:{\w+})$" module="FooModule" action="FooBar" />
03:29 impl actually I don't think you need those {}s
03:29 impl Then you use $rd->getParameter('a') and $rd->getParameter('b')
03:29 impl What do you mean by 'without views'?
03:30 impl Agavi separates the view into two separate entities, technically
03:30 impl view classes and templates
03:30 impl You don't have to use templates
03:30 simoncpu uhm... it seems to me that agavi has been designed with MVC in mind
03:30 simoncpu however, i may or may not use an html-based front-end
03:30 impl ah. okay.
03:30 simoncpu hmmm... coool, i don't have to use templates
03:30 impl that's easy enough.
03:30 simoncpu i was exploring tonic (a rest-based framework), but it's kindda tied-in to smarty
03:31 impl Just define an output type for whatever you want to use (flash, ajax/xml, whatever)
03:31 simoncpu yepp, my output would be in XML
03:31 simoncpu oh cool... so it's possible to do this in agavi
03:31 simoncpu very cooooool
03:31 impl define executeOutputType (...) { ... } in your view
03:31 simoncpu cringes with nerdish delight
03:32 impl return $xmlDoc->saveXml(); (the string form, or you could create a custom response that handles XML input, however you want)
03:32 impl $xmlDoc being an instance of DOMDocument
03:33 simoncpu btw, you're using pear, right?
03:34 impl For what? Distribution?
03:34 simoncpu can i also use pear for an update framework or something?
03:34 impl What do you mean?
03:34 simoncpu for example, box 1 contains my bare website
03:34 simoncpu and then the user wants to contact my central server for an add-in module,
03:34 simoncpu can i also use pear framework?
03:35 impl er, well, sure
03:35 impl Agavi doesn't restrict what you can use
03:35 impl Just include the PEAR class and start using it
03:35 simoncpu hmmmm... this is getting coool
03:36 simoncpu goes off to explore agavi
03:36 impl :)
04:01 simoncpu yikes... agavi-dist uses bash... most bsd systems have only sh and csh installed by default
04:02 simoncpu anyway, the script runs beautifully
04:04 impl Yeah, should use sh eventually
04:13 v-dogg puuh
04:15 v-dogg brilliant weather for a long walk/jog
04:26 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
04:35 simoncpu uh...
04:35 simoncpu Buildfile: /usr/home/simoncpu/soulfury/agavi/build.xml
04:35 simoncpu BUILD FAILED
04:35 simoncpu Target 'project' does not exist in this project.
04:35 simoncpu Total time: 0.2278 seconds
04:35 simoncpu uhm...
04:36 simoncpu 'agavi project' doesn't work
04:38 v-dogg is /usr/home/simoncpu/soulfury/agavi the agavi src directory?
04:38 v-dogg or the root (with src in it)?
04:38 simoncpu yepp yepp
04:39 simoncpu /usr/home/simoncpu/soulfury/agavi
04:39 v-dogg which one?
04:40 simoncpu hmmm....
04:40 simoncpu i guess there's /usr/home/simoncpu/soulfury/agavi/src/build.xml too....
04:40 simoncpu oops
04:40 v-dogg yes
04:40 v-dogg that's why I asked
04:40 simoncpu yikes
04:40 simoncpu i've modified the agavi script
04:41 simoncpu it now runs the wizard
04:41 simoncpu hehehe
04:41 simoncpu sorry, got confused as to which build.xml to use
04:43 simoncpu Fatal error: Class 'RecursiveIteratorIterator' not found in /usr/home/simoncpu/soulfury/agavi/src/buildtools/phing/AgaviListActionsTask.php on line 64
04:44 v-dogg RecursiveIteratorIterator is SPL class
04:45 v-dogg what's your php version?
04:46 v-dogg and have you compiled it yourself or installed from some package?
04:46 simoncpu i'm using PHP 5.2.1
04:46 simoncpu i installed it via FreeBSD Ports
04:47 simoncpu hmmm... I guess i need to install spl extension, right?
04:47 v-dogg it should be there by default but apparently your vendor knows better what should be there and what not :P
04:48 simoncpu FreeBSD PHP port has minimum extensions enabled by default :)
04:48 simoncpu ei, brb... have to eat lunch
04:48 v-dogg breakfast ->
04:48 v-dogg #2
05:27 simoncpu okidoki, installing php5-spl fixed it
05:27 simoncpu :)
05:36 MikeSeth simoncpu: how's it going?
05:37 MikeSeth huomenta!
05:39 MikeSeth if I manage to convert f00lish to Agavi, I'll hit my 100% developer conversion goal ;)
05:43 simoncpu i'm planning to use this for the UI for a server appliance, btw
05:44 simoncpu it will run on FreeBSD =)
06:11 simoncpu Fatal error: Configuration file "/usr/local/www/data/agavi/app/config/autoload.xml" does not have a registered handler in /usr/home/simoncpu/soulfury/agavi/src/core/Agavi.class.php on line 63
06:11 simoncpu uh...
06:27 simoncpu yikes
06:27 simoncpu i think i need to install DOM and Reflection
06:31 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
06:36 _cheerios 02:15 < v-dogg> huomenta << lol
06:36 simoncpu hmmm... i just installed php5-dom
06:37 simoncpu now, i get a nice page
06:37 simoncpu saying that there's an AgaviParseException
06:37 simoncpu :)
06:37 simoncpu hmmmm... iconv
06:37 simoncpu waaaaaaaaaah
06:37 simoncpu why does agavi need sooooooo many extensions?
06:37 simoncpu :p
06:37 simoncpu hehehe
06:38 v-dogg agavi needs only the default extensions
06:41 simoncpu w00000t
06:41 simoncpu at last!
06:41 simoncpu i got a "welcome to agavi"
06:41 simoncpu uh... that flower looks disturbingly similar to a Mac
06:41 simoncpu :p
06:42 v-dogg macs causes anxiety?
06:42 v-dogg you should consider some other framework then ;)
06:42 simoncpu nope
06:42 simoncpu mac causes arousal
06:42 v-dogg *cause
06:43 simoncpu mac is sexy
06:43 v-dogg haha
06:43 simoncpu i've only had a one-day stand with a mac
06:43 v-dogg shiny plastic turns you on?
06:43 simoncpu never got to own one...
06:43 simoncpu yeah, i guess so
06:49 v-dogg you got the sample app up & running?
06:51 simoncpu yepp yepp
07:10 E_mE [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
07:11 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
07:12 RossC0 huomenta!
07:12 v-dogg huomenta RossC0
07:13 simoncpu uhm,
07:13 simoncpu what's huomenta?
07:14 simoncpu is it irish or german or something?
07:14 v-dogg official agavi greeting :)
07:14 v-dogg morning in Finnish
07:14 simoncpu uhm,
07:14 simoncpu what's afternoon and evening?
07:17 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
07:22 RossC0 simoncpu - its always morning ! :D
07:24 simoncpu houmenta, everyone!!!
07:24 simoncpu :p
07:24 simoncpu magandang umaga - good morning in Filipino
08:05 Wombert_ oO
08:05 Wombert_ agavi needs iconv by default?
08:06 Wombert_ wtf
08:06 Wombert_ is now known as Wombert
08:07 Wombert btw, installing via PEAR checks against extension dependencies
08:07 v-dogg really? since when?
08:12 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
08:13 Xylakant salute
08:13 simoncpu oooh... the routing system seems to be cool
08:14 MikeSeth simoncpu: you're from .ph?
08:14 simoncpu yepp yepp
08:14 simoncpu from sunny cebu, philippines
08:14 simoncpu where the sun shines all year round
08:14 MikeSeth saschac is from there. She is the goddess of emacs same as Pollita is goddes of PH{
08:14 simoncpu and where beer is cheap
08:14 MikeSeth PHP*
08:14 simoncpu sacha chua?
08:14 simoncpu yepp, she used to work here
08:15 simoncpu but she resigned when he went to canada
08:15 simoncpu to finish her masters
08:15 simoncpu ei... is Pollita pretty?
08:16 MikeSeth I never bothered to find out. Whatever she looks like, she's still a goddess
08:16 simoncpu waaaaah... when i searched pollita in google images,
08:16 simoncpu the results gave me... uhm.... x-rated files
08:16 MikeSeth amazon fucked me over, I ordered Pollita's book and it never arrived.
08:16 simoncpu my boss is at my back
08:16 simoncpu waaaaaaaaah
08:16 simoncpu try typing "pollita" in google images
08:16 simoncpu hehehe
08:17 v-dogg our company policy is that if you don't watch porn occasionally there's something wrong with you
08:18 MikeSeth i take on my self to enforce the sexual harassment policy: if you feel you're sexually harassed, you're a moron
08:18 v-dogg eewww... but I didn't want to see some guys wrinkly penis
08:18 simoncpu what the... routes also applies to HTTP headers?
08:18 simoncpu coooool
08:18 v-dogg yup
08:18 simoncpu this is getting cooler by the minute
08:18 simoncpu niceeeeee
08:19 v-dogg simoncpu: you can also use the user class (e.g. isAuthenticated) with routes
08:19 MikeSeth simoncpu: ahahahahahaha
08:19 MikeSeth simoncpu: every time I drag a guy into here, I get to watch him slowly discovering the power
08:19 simoncpu MikeSeth is giving me drug samples
08:19 MikeSeth simoncpu: wait till you discover the FPF, and figure out the configuration engine
08:20 simoncpu in order to hook me up
08:20 simoncpu :p
08:20 MikeSeth :D
08:20 v-dogg simoncpu: but this drug is still free even after the first time :)
08:20 simoncpu but addicting, nevertheless
08:20 MikeSeth simoncpu: and I assure you, before the week's end, you WILL sign up to ohloh, vote up Agavi and vote down everything else ;)
08:20 simoncpu anyway, i just realize that i can set my output format via HTTP headers
08:21 MikeSeth simoncpu: yes. And output format is mapped to views' execute*() methods :D
08:21 v-dogg yup, very handy for ajax stuff
08:21 simoncpu yepp yepp
08:21 v-dogg some framework have AjaxActions
08:21 v-dogg we just have Actions
08:22 MikeSeth v-dogg: "some frameworks" hahaha.
08:22 MikeSeth Content-Type: lol/plain
08:22 simoncpu agavi's lack of ajax support is actually appealing
08:22 simoncpu because i get to choose the front-end framework
08:22 MikeSeth simoncpu: rather, Agavi thinks its not its business
08:22 simoncpu lol
08:23 MikeSeth simoncpu: people here use Agavi with Moo, prototype and YUI, with Propel, MDB2, Doctrine, Smarty, jpgraph, and any number of third party libs that are nowhere near as easy to integrate in, er, um, 'other frameworks'
08:23 MikeSeth simoncpu: I've just killed a $10k Java project to replace it with Agavi
08:24 simoncpu and the thing is... agavi makes it easy _not_ to use html-based frameworks
08:24 simoncpu i'm planning to also use it for my CLI apps
08:24 simoncpu :p
08:24 MikeSeth ho ho ho :D
08:24 MikeSeth I think the console implementation is about to be checked in
08:25 simoncpu i was looking for a framework that will make it easy to have the same code base for WebGUI and CLI
08:25 simoncpu very c0000l
08:25 MikeSeth simoncpu: and that's where I caught you red handed and subverted you before the bakers and musicians could get to you :D
08:26 simoncpu yepp yepp
08:26 simoncpu i was actually doing research for an appropriate framework... cakephp, ci, kohana, etc...
08:26 v-dogg what a nice story
08:26 MikeSeth and your research didn't turn up anything did it ;)
08:26 simoncpu hihi
08:26 simoncpu yepp
08:26 v-dogg I hear Cake is pretty cool.. :p
08:27 MikeSeth for a website construction kit
08:28 MikeSeth much as I hate to diss other fellow developers.. they have very little idea about frameworks
08:28 Xylakant MikeSeth: you enjoy dissing other frameworks ;)
08:28 MikeSeth v-dogg: ever played with AWSP?
08:29 MikeSeth Xylakant: frameworks, yes, developers, no
08:29 MikeSeth I bet its insulting to hear that what you worked so hard on is a joke in other people's eyes. But opinions are opinions. As long as you dont make it personal
08:31 v-dogg MikeSeth: nope
08:32 MikeSeth v-dogg: you should. Everyone should.
08:34 Xylakant be insulted? why?
08:34 simoncpu constructive criticisms are seen as compliments by programmers, imho
08:34 simoncpu programmers != politicians
08:34 v-dogg MikeSeth: url plz kthx. google return multiple different AWSPs :)
08:35 MikeSeth http://aws.amazon.com/
08:35 v-dogg aah
08:43 MikeSeth yeah :D
08:43 MikeSeth I use it to spy on competitors :D
08:56 SunboX [n=Miranda@80.243.35.154] has joined #agavi
09:00 digitarald [n=Miranda@200.Red-83-52-197.dynamicIP.rima-tde.net] has joined #agavi
09:06 Wombert [n=Wombert@p508738F1.dip0.t-ipconnect.de] has quit []
09:14 Wombert [n=Wombert@87.79.35.58] has joined #agavi
09:18 Whisller[a] [n=example@217.97.146.67] has joined #agavi
09:18 Whisller[a] Good Morning
09:19 simoncpu hi... do you guys know where i can define executeRead(), executeWrite(), etc?
09:19 Whisller[a] In action
09:19 v-dogg YourAction
09:19 v-dogg use the agavi cli utility and it'll create class skeletons for you
09:19 simoncpu hmmm... let me check
09:19 simoncpu :)
09:21 simoncpu uhm, what parameter(s) does the functions accept?
09:21 simoncpu i think i'll join the Agavi doc team once I learn how to use it... =)
09:21 v-dogg (AgaviRequestDataHolder $rd)
09:21 simoncpu cool
09:21 simoncpu thanks
09:22 v-dogg see the sample app :)
09:27 simoncpu i created a route with pattern "^/w00t/" for action w00t
09:27 simoncpu now, how can i read "a, b, and c," when i enter http://xx.xx.x.xx/agavi/pub/index.php/w00t/a/b/c?
09:27 simoncpu :)
09:27 Whisller[a] $ro->getParameter
09:28 Whisller[a] tfu
09:28 Whisller[a] $rd
09:29 Whisller[a] hehe
09:29 Whisller[a] $ro is in template ;)
09:30 simoncpu it only returns an array containing "module" and "action
09:30 simoncpu :(
09:30 Whisller[a] pattern="^,edit,({id:[0-9]+})$"
09:30 Whisller[a] $rd->getParameter('id')
09:30 Whisller[a] You should see how it is in sample app
09:31 simoncpu oki...
09:37 Wombert pattern="^/woot/(a:[a-z]+)/(b:[a-z]+)/(c:[a-z]+)$"
09:37 Wombert don't forget to anchor your patterns at the end
09:37 Wombert now you have three vars in the request data, "a", "b" and "c"
09:37 Wombert of course you can make parts of the url optional etc
09:38 Wombert the one above matches /woot/foo/bar/baz
09:38 Wombert but not /woot/foo/bar/baz2 or so
09:39 Wombert pattern="^/woot/(a:[a-z]+)/(b:[0-9]+)/(c:[a-z]+)$"
09:39 Wombert matches /woot/foo/23/baz
09:39 Wombert if oyu want to make the number optional
09:39 Wombert pattern="^/woot/(a:[a-z]+)/(b:[0-9]+)?/(c:[a-z]+)$"
09:39 Wombert but then you need two slashes, so the slash must be part of the subpattern, but not part of the match
09:40 Wombert pattern="^/woot/(a:[a-z]+)(/{b:[0-9]+})?/(c:[a-z]+)$"
09:40 Wombert does the trick then
09:40 Wombert basic syntax:
09:40 Wombert (prefix{varname:pattern}postfix)
09:43 simoncpu oh coooool
09:43 simoncpu one of the advantages that i see with your regex approach
09:43 simoncpu is that it pre-filters all input
09:44 simoncpu less worry about xss and injection attacks
09:44 simoncpu coool
09:44 simoncpu i'm stuck with agavi
09:45 simoncpu IT'S YOUR FAULT
09:45 Wombert :>
09:45 simoncpu WHY DID YOU LURE ME INTO AGAVI?
09:45 simoncpu WHHHHHY? OH WHYYYYY???
09:45 simoncpu nyahahahaha
09:45 simoncpu :p
09:45 Wombert glad you like it
09:45 simoncpu yepp
09:45 Wombert you didn't even see the i18n yet :p
09:45 simoncpu your approach is kindda unique
09:45 Wombert or how to write an app once and then have a web interface and a soap interface :>
09:45 Wombert or our validation approach
09:46 simoncpu yepp... my plan is to write an app once
09:46 Wombert if you validate, only the data you have validated is available in the action
09:46 simoncpu and have both web and cli interfaces
09:46 Wombert no room for mistake
09:46 simoncpu and other future interfaces
09:46 Wombert cool
09:46 simoncpu yepp yepp... regex is cool
09:46 v-dogg simoncpu: http://www.ohloh.net/projects/5907 " please rate, stack and maybe review - AND GIVE KUDOS KTHXBAI " --topic
09:46 simoncpu oki
09:46 simoncpu goes to oholoh
09:47 v-dogg lunch ->
09:49 kaos|work [n=dominik@87.79.35.58] has joined #agavi
10:33 RossC0 are environment and context bound?
10:33 RossC0 how'd I set up my test env to be in the web context ?
10:39 Wombert bootstrap test, get context web
10:39 Wombert easy
10:39 Wombert you can define configs specific to that combo of course
10:40 Wombert <configuration environment="test" context="web">
10:42 RossC0 yup
10:42 RossC0 cool
10:42 RossC0 getContext is the one :D
10:42 RossC0 being stupid
10:42 Wombert I beg to differ
10:44 MikeSeth simoncpu: MUAHAHAHAHAHAHAHAHAHAHA
10:45 MikeSeth Wombert: I think you misunderstand a thing about Agavi because you work on it so much. People who discover it as it is now do not "like" it. They are literally stuck with it.
10:45 MikeSeth There /is/ no alternative
10:47 MikeSeth 081925 <MikeSeth> simoncpu: and I assure you, before the week's end, you WILL sign up to ohloh, vote up Agavi and vote down everything else ;)
10:47 MikeSeth 094503 <v-dogg> simoncpu: http://www.ohloh.net/projects/5907 " please rate, stack and maybe review - AND GIVE
10:47 MikeSeth KUDOS KTHXBAI " --topic
10:47 MikeSeth 094511 <simoncpu> oki
10:47 MikeSeth it's before the end of the god damn DAY! :D
10:47 v-dogg :)
10:48 v-dogg and still 5/5
10:48 MikeSeth one day someone will put in 4.5.. and god, I don't want to be that guy
10:49 MikeSeth assuming average is rounded down.. of course ;D
10:51 RossC0 MikeSeth - will you hunt him down?
10:52 MikeSeth Wouldn't everyone?
10:52 MikeSeth That is the guy who has to pay for the suffering of all these people who read his code
10:52 MikeSeth it's kind of a circular metaphor, but I think very expressive
10:54 MikeSeth You know, I think I would like it very much to clear the misconception that I am a contributor to Agavi
10:54 MikeSeth I am a very outspoken and loud and nasty advocate
10:54 MikeSeth Every time I drag someone in here I watch them undergo the same thing I went through: a big fucking WOW! Can't be!
10:55 MikeSeth And every time this happens, I am affirmed more that I am right in that there are some people who just cant write code, and that the pain that I feel when working on it is justified
10:56 MikeSeth http://www.scottberkun.com/blog/2007/asshole-driven-development/
10:57 v-dogg haha
10:57 MikeSeth look ath the comments of this post
10:57 MikeSeth its everywhere
10:57 MikeSeth I am terrified of it
10:58 v-dogg hear hear
10:58 MikeSeth RossC0: and I know you think I'm crazy, but I consider what I do art and I'm emotional about it
10:58 MikeSeth and this shows me every time that I do have the right
11:01 v-dogg it is simply unbelievable how much crappy software devs there are actually getting paid write code
11:01 MikeSeth often more than you or I do
11:02 v-dogg (some words missing there, don't let it bother you :)
11:02 MikeSeth the point is valid anyway :)
11:03 v-dogg I've had to work with a few systems produced by one of the biggest software supplier here in Finland, and the shit they come up with... huh...
11:03 RossC0 MikeSeth - lol - some good names for common development patterns there!
11:03 MikeSeth RossC0: see? COMMON DEVELOPMENT PATTERNS
11:04 RossC0 yup
11:04 MikeSeth most of the programmers today have no idea whatsoever
11:04 RossC0 I'm getting you Mik
11:04 RossC0 +e
11:04 RossC0 MikeSeth: most of the programmers today have no idea whatsoever
11:04 MikeSeth imagine a blind neurosurgeon..
11:04 RossC0 looks over his monitor and peers round the room
11:04 RossC0 thank god I got my way
11:04 v-dogg lol
11:05 MikeSeth ok curse pain that begins now... i had to walk away from work because of this, day gonna suck
11:05 MikeSeth &
11:08 RossC0 right curry time!
11:13 _cheerios all the pizza made me immobile
11:16 simoncpu ei... nyt2x everyone
11:16 simoncpu (it's nightime here in my part of the world)
11:16 simoncpu off to play Warcraft DOTA
11:21 Wombert no no no
11:21 Wombert you didn't rate agavi yet on ohloh
11:21 Wombert you're not gonna get away!
11:21 Wombert :)
11:40 epaulin [n=epaulin@221.221.38.24] has joined #agavi
11:57 Xylakant daily wtf
11:57 Xylakant $results = & $this->_db->fetchRows($query);
11:57 Xylakant
11:57 Xylakant if (empty($results))
11:57 Xylakant {
11:57 Xylakant return NULL;
11:57 Xylakant }
11:57 Xylakant
11:57 Xylakant $count = array();
11:57 Xylakant foreach ($results as $row)
11:57 Xylakant {
11:57 Xylakant $count[] = $row;
11:57 Xylakant }
11:57 Xylakant
11:57 Xylakant return count($count);
11:57 Xylakant if i catch the developer who commited that...
11:57 Wombert ROFL
11:57 Wombert :>
11:58 Xylakant svn blame to the rescue.
11:59 Wombert please tell me that was an intern from middle school
12:00 digitarald that one is real good ...
12:00 Xylakant i hope so. otherwise i'll send him back to middle school
12:00 Xylakant yeah. it fails in two amazing ways.
12:01 MikeSeth dear god
12:02 Xylakant exactly my first thought.
12:03 MikeSeth uh it fails in at least three amazing ways
12:03 MikeSeth and probably more when the control leaves is
12:04 MikeSeth i has a sandwich!
12:04 Xylakant what's the third way?
12:04 MikeSeth inconsistency of return values
12:04 Wombert null vs 1
12:04 Xylakant it does no error checking, and returns null intead 0f 0.
12:04 Wombert fire that guy :p
12:04 MikeSeth but thats probably a side effect of previous two
12:05 Wombert the other two?
12:05 MikeSeth reading the query result row by row and trying to count them like that instead of using aggregate count()
12:05 MikeSeth ...and failing at it
12:06 kaos|work and he is using a reference in $results w/o ever modifying $results
12:06 Xylakant it swallows any error code returned from the fetchRows method
12:06 Xylakant which will return false in an error case, but array() if no results were found
12:06 Wombert well yes but that's not failure. that's just uber crappy implementation, but the counting itself works
12:06 MikeSeth Xylakant: oh. Thats why it checks if $results is empty()
12:07 MikeSeth Xylakant: someone took the manual LITERALLY
12:07 Wombert mehehe
12:07 Wombert what's that, creole?
12:07 Xylakant using the reference is ok here, because of php4s braindead memory management
12:07 Wombert not creole then
12:07 Wombert :p
12:07 Xylakant no, this is code from one of our legacy projects
12:08 Wombert shudders
12:08 Xylakant and now that i know who wrote it i'm even more amazed to see that code.
12:08 Wombert I am so sorry for the poor souls that haven't seen the light of Agavi yet :>
12:08 Xylakant because the guy is actually quite competent. i guess we all have our blind moments.
12:08 _cheerios commit: 02am, Xylanank "hecku*hic* party, now this last bug..." ;-)
12:08 Wombert yah
12:09 Xylakant it was not me :)
12:09 MikeSeth i had people reverse two year old commits as a part of something they were doing elsewhere
12:09 SunboX [n=Miranda@80.243.35.154] has quit [Read error: 104 (Connection reset by peer)]
12:10 Xylakant but i admit that i've written code like that on more than one occasion.
12:10 Xylakant i didn't know any better back then.
12:10 MikeSeth i really have to remove that error checking to pass that parameter so I'll just not pass zero to avoid division by zero, ever
12:10 kaos|work Xylakant: using the reference is ok here, because of php4s braindead memory management <-- i tested references against "values" in php4 as funktion parameters
12:10 kaos|work values (which are internally done as reference with copy on write) was actually faster
12:10 kaos|work *were*
12:11 Xylakant depends on what you pass.
12:11 Wombert plus as he doesn't modify the set
12:11 Wombert a copy is never made
12:11 Xylakant strings use reference counting
12:11 MikeSeth Xylakant: technical shortcomings are forgivable, they are a matter of experience, but ignorance of COUNT() cant be
12:11 Wombert even php4 copied on change, not on assign
12:11 Xylakant not for arrays in all cases, afaik.
12:11 MikeSeth yeah sticky refs and shaodw copying confuse a lot of people
12:12 MikeSeth it makes sense, but its so counterintuitive some times
12:12 Xylakant and the method signature returns a reference, so you should use it to stay coherent
12:12 kaos|work uhm ... no xD
12:13 Xylakant and i did test passing arrays as copies/references just recently
12:13 MikeSeth wouldnt it fall off scope and resolve?
12:13 MikeSeth i mean in php4, w/o stickiness
12:13 kaos|work i would regard using a reference there as a declaration of intent to change the reference
12:13 Xylakant and it brought memory usage down to 3megs from 30megs
12:13 kaos|work but that may just be me ;)
12:14 MikeSeth kaos|work: most people do not express intent in their code. They write code that returns results.
12:14 Xylakant kaos: i'd say the same in a method signature.
12:14 MikeSeth except PHP's hinting is.. liberal, so to speak
12:14 Xylakant but returning a reference from a method is just saving a copy
12:15 MikeSeth Xylakant: imagine the chaos if someone declares the result var as static during a rewrite
12:15 Xylakant and believe me, at least php4.3 does copy the array.
12:15 Xylakant you would not return a reference in php5
12:15 kaos|work well, i believe you, i haven't used php4 for ages
12:15 kaos|work and i'm really glad i don't have to do that :)
12:16 Wombert what does "copy the array" mean
12:16 Xylakant you return an array from a function and it gets copied on assignement
12:16 Wombert yes
12:16 MikeSeth most people still write in PHP3, and a bit of new API like file_get_contents()
12:16 Wombert what do you mean by "it gets copied"
12:16 Xylakant bit by bit.
12:16 Wombert does it, literally, get copied, or is the returned one a copied representation
12:17 Xylakant literally
12:17 Wombert so you mean the copy is made on assign there?
12:17 Xylakant yes
12:17 Wombert how did you check
12:17 Xylakant for arrays
12:17 Xylakant using a tight loop assigning arrays returned from a method
12:17 Wombert I mean how do you know the array got copied
12:18 Wombert what I mean is
12:18 Wombert $a = $b;
12:18 Wombert $a is now a copy of $b
12:18 Wombert but internally, no copy was made
12:18 Xylakant checking the memory usage
12:18 Wombert ah okay
12:18 Wombert that's what I wanted to hear
12:18 Wombert :)
12:18 Xylakant which is true for strings, ints, all primitives
12:18 Xylakant but not objects and not arrays
12:18 Xylakant in php4 that is
12:19 Xylakant php5 is a completly different story.
12:19 kaos|work iirc i tested it for arrays and it didn't do a deep copy, but i may be wrong
12:19 Xylakant it might be ok in php4.4 even, but i'm shure php4.3 misbehaves
12:19 kaos|work well, i tested it in 4.2 or earlier
12:19 kaos|work it's some years ago ;)
12:20 kaos|work *was*
12:20 kaos|work omg
12:20 kaos|work can't speak today
12:22 Xylakant but the part i like best about the code snippet is that instead of doing count($results) he even goes on to assing each array element to a new array. that's the cherry topping.
12:25 Whisller[a] http://cpaste.com/1205 what is that error means?
12:26 RossC0 phew - I'm curried!
12:27 Whisller[a] http://dev.whisnet.pl/kalendarz/, http://pc-box.xon.pl/test/ - phpinfo
12:28 RossC0 Whisller[a] - can you paste: config_handlers.xml
12:28 Wombert oh god not again :(
12:28 Wombert RossC0: it's the agavi default one
12:29 Wombert I believe it's a libxml error
12:29 Whisller[a] http://cpaste.com/1206
12:29 RossC0 eek
12:29 RossC0 yeap what Wombert said!
12:29 Whisller[a] hmm So what I can do with it?
12:30 Wombert Fastly had this problem before
12:32 Whisller[a] hmm but is there any ideas what can I do to eliminate that error?
12:32 Whisller[a] *this
12:32 Wombert not really
12:32 Wombert but we have to solve it now
12:32 Whisller[a] uhh
12:32 Wombert did this happen before?
12:32 Wombert on other platforms?
12:32 Whisller[a] On localhost it works fine, wait I check what php I have.
12:32 Wombert yes and libxml version
12:33 Wombert 2.6.16 is two and a half years old :p
12:34 RossC0 I have PHP 5.2.1 and have libxml: 2.6.24
12:34 Whisller[a] Server: PHP Version 5.2.3 and 2.6.16 libxml Localhost: PHP 5.2.2 and 2.6.26 libxml
12:35 RossC0 so Wombert can we add a LIBXML_VERSION check?
12:35 Whisller[a] Maybe really it's problem with libxml hmm I must write to my admin to upgrade libxml
12:36 Wombert guess not, RossC0
12:36 Wombert because I have 2.6.16 and it works without hiccups
12:36 Wombert that's the lovely thing about libxml
12:36 RossC0 noo
12:36 Wombert it's so unpredictable
12:36 RossC0 really?
12:36 RossC0 hmm
12:36 RossC0 what php version?
12:37 Wombert 5.2.2
12:38 Wombert 2.6.21 fixed xsd <-> namespace bugs, for example
12:38 Wombert so did 2.6.18
12:38 Wombert Whisller[a]: can you get that upgraded and then please (important!) let us know if that fixed the problem
12:39 Whisller[a] ok
12:39 Wombert that would be great
12:39 Wombert thank you
12:44 MikeSeth http://blog.vagueware.com/2007/6/18/introducing-chaos-to-development
12:44 Whisller[a] Ok I send email Now i'm waiting for upgrade.
13:03 _cheerios http://pixel-apes.com/safehtml/ is safehtml still king, or what's hot in 2007?
13:08 RossC0 There you go v-dogg - that is better than nothing if you can't use tidy
13:10 v-dogg RossC0: ok, have to check it out even though I got the impression that the data is actually cleaned up by tinymce
13:10 v-dogg I went thru all the pages and everything looked ok
13:20 RossC0 ah cool
13:21 RossC0 XPATH question:
13:21 RossC0 Does this make sense: //html:div[@id="content"]//html:h2="Logout Successful"
13:22 RossC0 DomXPATH seems to be dumb - and I'm trying to get the h2 element inside the <div id="content"
13:22 RossC0 but does that just get the first h2 - which so happens to be inside #content
13:22 RossC0 Wombert - you're an xpath man - what you reckon?
13:23 Wombert don't get it
13:24 RossC0 no neither do I :(
13:25 RossC0 nm - it works
13:25 RossC0 I can test it out later
13:28 v-dogg hey, english people, what's the word when you want to rearrange a meeting or set a new date for it
13:28 MikeSeth reschedule appointment?
13:28 v-dogg "we have to take ... on that"
13:28 MikeSeth a raincheck?
13:28 v-dogg that's it, thanks
13:28 MikeSeth heh, it took just 2 tries.
13:29 v-dogg I tried to search for re*
13:30 v-dogg didn't understand that it actually was phrase, not a word
13:32 MikeSeth yeah it confused me too for some time
13:32 MikeSeth you know, like Londoners saying 'it rains cats and dogs'
13:36 RossC0 ^ he's not lying
13:37 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Remote closed the connection]
13:37 Wombert raincheck?
13:37 Wombert wtf?
13:37 Wombert isn
13:37 v-dogg "take a rain check on smth"
13:37 Wombert 't that colloquial
13:37 v-dogg sure
13:38 v-dogg (what a weird word - colloquial :)
13:38 Wombert rain check
13:38 Wombert One entry found for rain check.
13:38 Wombert Main Entry: rain check
13:38 Wombert Function: noun
13:38 Wombert 1 : a ticket stub good for a later performance when the scheduled one is rained out
13:38 Wombert 2 : an assurance of a deferred extension of an offer; especially : a document assuring that a customer can take advantage of a sale later if the item or service offered is not available (as by being sold out)
13:38 Wombert hm
13:40 v-dogg m-w.com doesn't know about it, apparently :)
13:40 v-dogg (I see your screen from here)
13:40 Wombert HOW
13:41 v-dogg (just kidding, I'm reading your mind)
13:41 Wombert OH YOU WICKED FINNS
13:41 Wombert ah
13:41 Wombert well that's more like the weirdo way
13:41 Wombert hugs v-dogg
13:41 v-dogg haha
13:41 Wombert is everyone in finland weird?
13:41 Wombert :)
13:41 Wombert certainly not as weird as you, but I mean in general
13:42 Wombert btw I saw a dish with "tits" in it earlier when I grabbed something from the chinese take away
13:44 v-dogg haha
13:44 v-dogg you noticed this and call me weird :)
13:45 Wombert word :p
13:45 Wombert it was some vietnamese thing I believe
13:45 Wombert they are the weirdos!
13:45 v-dogg deep fried dog tits on a stick
13:46 v-dogg yummy
13:46 Wombert wrapped in a pancake
13:46 Wombert </daily show>
13:47 v-dogg <subject change>
13:47 v-dogg any of you use vmware?
13:48 Wombert no no
13:48 Wombert IT'S NOT THE MAC WAY KTHXBAI
13:48 Wombert okay actually
13:48 Wombert what should I emulate on my crappy powerpc :p
13:48 Wombert needs a macbook pro
13:50 epaulin http://www.phpclasses.org/blog/post/67-PHP-security-exploit-with-GIF-images.html
13:50 epaulin http://isc.sans.org/diary.html?storyid=3003
13:51 Wombert WHAT?
13:51 v-dogg goddammit that design makes my eyes bleed
13:51 epaulin :-)
13:52 epaulin PHP-security-exploit-with-GIF-images, pretty serious.
13:52 Wombert WHAT THE FUCK
13:52 Wombert this is not a vulnerability
13:52 Wombert this is not a php problem
13:52 Wombert omfg
13:53 CIA-11 ross * r2002 /branches/ross-testing/ (92 files in 24 dirs):
13:53 CIA-11 Added test generation phing commands to build.xml,
13:53 CIA-11 Added test code templates in buildtools.
13:53 CIA-11 Added some Sample Application Test files - mostly marked incomplete, however check out the Login functional test for an example of how to use AgaviBrowser
13:53 CIA-11 run /agavi/tests/phing - to see what options there are.
13:53 CIA-11 More information here: http://trac.agavi.org/wiki/testing#Ross-TestingBranch
13:53 epaulin yeah, I know. I'm not to blame the PHP.
13:53 Wombert oh ross baby
13:53 Wombert teh awesomeness
13:55 RossC0 2 things I have learn't
13:55 RossC0 1) I hate Phing
13:56 RossC0 2) PHP's XPath is bad for ones mental health
13:57 Wombert is it really
13:57 Wombert I don't find it particularily buggy or anything
13:57 Wombert it's libxml, again, anyway, but still
13:57 RossC0 It just doesn't work like: http://www.w3.org/TR/xpath#location-paths
13:58 Wombert /html:div[@id="content"]//html:h2="Logout Successful"
13:58 Wombert should that be a true/false?
13:58 Wombert or select something
13:58 RossC0 I evaluate so should be true
13:59 RossC0 or should return a node
13:59 RossC0 or something
13:59 RossC0 if the h2 doesn't have Logout Successful it fails
14:00 RossC0 anyway that can be cleaned up
14:00 Wombert yah
14:00 Wombert hugs RossC0
14:00 RossC0 also phing has really annoyed me as the information it returns is weak
14:00 Wombert zis is so ace
14:00 RossC0 so may have to do our own formatter - to at least tell me the name of the test that errors
14:02 RossC0 also markedIncomplete - means the phing "build" fails
14:02 Wombert pants
14:02 Wombert but we'll sort that
14:02 RossC0 yup
14:02 Wombert it's good to see that you got it running and all
14:02 Wombert as I said, I'll try to get sebastian to help us with this whole testing stuff, too
14:02 Wombert and your experience helps a lot, of course
14:02 MikeSeth folks
14:02 Wombert the polish comes later
14:03 MikeSeth what's the actual purpose of phing except instantiating files?
14:03 Wombert annoying people?
14:03 Wombert :)
14:03 Xylakant hey. that's my job.
14:03 Xylakant i don't want that automated.
14:03 MikeSeth I mean
14:04 MikeSeth can we give it up on it?
14:04 MikeSeth its heavy and useless
14:04 RossC0 MikeSeth - I wanted to keep it inline, with agavi, but basically in tests it includes the core files and then the tests / runs the tests
14:05 RossC0 MikeSeth - you forgot painful to develop with and randomly illogical
14:05 RossC0 But as there isn't any PHP replacement immediately available then what can we do?
14:06 MikeSeth RossC0: write one?
14:06 MikeSeth I'd be glad to, because I want an emacs extension that can enumerate Agavi objects
14:06 RossC0 I vote write a cli agavi app to handle it all - but would there be a clash running two instances at once?
14:06 MikeSeth then we have a real native IDE
14:06 RossC0 bbr
14:06 RossC0 *brb
14:07 MikeSeth I dont think there would be a clash, I dont see how build system shares code with the application that's outside of Agavi distro
14:08 MikeSeth and project's config is not interesting for the build system either, except for XML validity maybe, so its a non-issue either
14:08 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
14:10 Wombert not really
14:10 Wombert the "agavi" script could use the pear installed version when installed as pear
14:10 Wombert either way you hand it the agavi dir as it is now
14:11 Wombert only thing is that you then cannot work with src/ only anymore
14:11 Wombert (we should also move the buildtools out of src/ then)
14:11 MikeSeth Wombert: thats exactly what I mean. There's virtually no way to break the build system when working on an application
14:11 MikeSeth at least, I cant think of one
14:12 Wombert the cli runner is an app itself
14:12 Wombert sitting in etc/ or so
14:12 Wombert mhmmmm
14:12 Wombert it would be fucking ace actually
14:12 Wombert with web... and cli... and soap interfaces :>>>
14:12 Wombert but it's also a challenge
14:12 MikeSeth Wombert: "ace"? Perhaps you missed the part where I mentioned a development *toolbar* for Agavi. In-browser debugging.
14:13 Wombert due to the exec flow
14:13 MikeSeth Fuck me, I wanna do this!
14:13 Wombert remember, currently the script is asking questions
14:13 Wombert there's not really a place for this right now in agavi
14:13 MikeSeth True, but you can pierce the limitation by interacting via a third party library like PEAR console
14:13 Wombert wifi is borked
14:13 Wombert hold that thought
14:13 Wombert brb
14:15 RossC0 right I gotta catch up on some work :D
14:15 kaos|work [n=dominik@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
14:16 kaos|work [n=dominik@87.79.35.58] has joined #agavi
14:16 Wombert [n=Wombert@87.79.35.58] has quit [Nick collision from services.]
14:16 Wombert_ [n=Wombert@87.79.35.58] has joined #agavi
14:18 Wombert_ is now known as Wombert
14:22 Whisller[a] I send app with agavi to another server with 2.6.14 libxml and there is this same error. So as you said it must be libxml
14:22 Wombert well that doesn't mean it's libxml, but it hints to it ;)
14:26 Whisller[a] 2.6.16 has 2 years?
14:26 Wombert 2.5
14:26 Wombert it's from nov 2004
14:27 Whisller[a] so then 2.6.16 must has greater like 3
14:27 Whisller[a] hmm
14:27 Whisller[a] tfu
14:27 Whisller[a] 2.6.14
14:27 Whisller[a] *greater than 3
14:35 MikeSeth Wombert: it just dawned on me that even the execution flow is not a problem for a native build system. You can just replace the execution filter or the action ;)
14:36 MikeSeth Wombert: in fact, I can think of a way to fake actions completely, rip out autoloading and store all the actions in the database
14:36 MikeSeth its creepy but a fun idea
14:37 Xylakant i've seen that. an app where the logic for a page was stored in the database
14:37 Xylakant sort of hard to work with :/
14:37 Wombert sort of retarded as well
14:37 MikeSeth Xylakant: yes. But how about this: you have a browser based IDE that works on the actions in the database.
14:37 MikeSeth Then when you click deploy it WRITES CODE
14:38 Xylakant especially since they didn't store full pages but 'blocks' that could be combined
14:38 MikeSeth you get a zipped up application tarball
14:38 MikeSeth you can even manage versioning in a way that is semantically meaningful in Agavi
14:38 Xylakant MikeSeth: gives me creepy feelings up my spine.
14:38 MikeSeth Xylakant: yes, but it can be done right
14:38 Xylakant no version control server
14:38 Xylakant no svn diff
14:38 Xylakant no tagging
14:38 Xylakant no branching
14:39 Xylakant why can't a browser based ide work on those old fashioned things called 'file'?
14:39 MikeSeth Xylakant: it can, but that's a lot of plaintext interaction
14:40 Xylakant no recursive php -l before a checkin.
14:40 MikeSeth why not? all of this is possible
14:40 Xylakant i agree. it can be done right.
14:40 Xylakant but the effort to do it...
14:40 Xylakant do you know typo3?
14:41 Xylakant large parts of the system are configured with a scripting language called typoscript.
14:41 Xylakant and there is a browser based editor for that and it's stored in the database
14:42 Xylakant the people that do typo3 projects here started using a regular texteditor, pasting the code from the browser in the texteditor, modifiy, check in the textfile and paste the code back
14:42 Xylakant the effort to pull such a thing of is way beyond using textfiles.
14:43 MikeSeth yes
14:43 Xylakant just imagine how much time you need to emulate subversions featureset.
14:43 MikeSeth you don't :D
14:43 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:43 MikeSeth specifically with subversion, you can use metadata to store Agavi specific stuff
14:43 MikeSeth you dont need to hack it or anything
14:44 MikeSeth now what I am trying to say is
14:44 MikeSeth Agavi is very likely to be the platform all of us are going to work with in foreseeable feature
14:44 MikeSeth future*
14:45 MikeSeth so it makes sense to make ourselves productive, since we will be working in the same idioms for a long time
14:45 MikeSeth Agavi notions of Actions, Views and Models are now my daily job
14:45 MikeSeth so if we were to write development tools for Agavi - of any kind - we better let these tools cooperate with Agavi idioms
14:45 Xylakant i do agree.
14:46 Xylakant my point is: don't reinvent the wheel.
14:46 Xylakant i doubt a browser based IDE would be a thing that's worth building, but i might be wrong.
14:47 Xylakant it's better to integrate with an existing IDE, or maybe write an eclipse plugin.
14:47 MikeSeth I want to do exactly that in emacs! And the problems are -still- the same
14:47 v-dogg wasn't splatch` already doing this?
14:47 v-dogg (ecplise plugin)
14:47 RossC0 I vote for Keeping It Simple - I have an IDE I like and use already :D
14:48 Wombert everyone does
14:48 MikeSeth I need to have a foo to be able to create, edit and delete Agavi objects
14:48 Wombert so a cli solution is going to be the way to go till kingdom come
14:48 MikeSeth I dont care if the foo is an IDE, or a shell script, it doesnt matter
14:48 Xylakant slightly off-topic: Wombert, do you have time for a propel question (nested set)
14:48 Wombert or till everyone uses eclipse (god forbid)
14:48 Wombert oh, nested sets :p
14:49 Wombert sure
14:49 RossC0 shudders
14:49 Wombert in #propel if you can
14:49 MikeSeth Wombert: yeah, all that's really needed is proper IO redirection and minimal IPC e.g. exit codes
14:50 MikeSeth Xylakant: e.g. in emacs I wanna be able to zoom in to a module, quickly jump to an action, and edit its particular execute() method, without seeing the security callbacks etc
14:50 MikeSeth just concentrate on the code I'm working on
14:56 MikeSeth Wombert: I think console can be implemented easily with a substitute routing implementation, am I right?
14:57 MikeSeth actually, you dont even need that
14:57 Wombert I don't think so
14:57 Wombert well you can haxor it
14:57 Wombert I'd have to sit down and think it through
14:57 MikeSeth just a way to translate cli requests into Agavi request objects
14:57 Wombert but essentially, agavi is built around a web centric request/response flow model
14:57 MikeSeth yes
14:58 Wombert I was thinking about special responses that can contain instructions for the controller
14:58 Wombert which then dispatch()es again
14:58 Xylakant MikeSeth: there is a ticket with a working patch in the bugtracker. far from perfect but the best i could come up with in the middle of the night.
14:58 MikeSeth why not reinitialize it every time?
14:58 MikeSeth Xylakant: for what, console?
14:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
14:58 Xylakant yes
14:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
14:58 Wombert good question, I'm not sure if that works without side effects
14:58 Wombert we wanted to check that for 1.0
14:58 Xylakant well, cli
14:58 Wombert specifically for such purposes
14:58 Xylakant no real console
14:59 Wombert oh so much to do
14:59 Wombert Xylakant's one runs an action
14:59 Wombert it's not with user interaction
14:59 Xylakant that's it
14:59 Wombert which is what we would need for a cmdline iface
14:59 MikeSeth Wombert: I think its reasonable
14:59 MikeSeth you generally dont wanna let your PHP script run for arbitrary periods of time
15:00 MikeSeth the interpreter is nasty with memory management
15:00 Xylakant the way php leaks memory sometimes i'd rather not have it run for a longer period
15:01 MikeSeth also, even in cli, integration is easy and nice
15:01 MikeSeth you can pipe things, sed things, etc ;)
15:02 MikeSeth I'd really like doing something this in crontab: my-agavi-project users.update_all -d `date ....` -k $SOME_ENVO_VAR
15:02 MikeSeth etc
15:02 MikeSeth other than this you dont need much
15:03 MikeSeth duh, translating options to action parameters is easy.
15:03 MikeSeth You hook up a separate map via XML configuration fo revery action that's exposed to the cli
15:03 MikeSeth or even in routing
15:09 kaos|work you can (sort of) build a complete command line option parser in the routing
15:10 MikeSeth man
15:10 kaos|work and bringing REAL console support to agavi is quite high on my agenda (i always envisioned agavi to be able to handle everything ... web, gui, console, stuff i wouldn't even know exists ;)
15:10 MikeSeth how about web ajax command line
15:10 MikeSeth :D
15:11 MikeSeth in short
15:11 kaos|work hehe
15:11 MikeSeth I will try to kill the build system over the weekend and replace it with something more.. cooperative
15:11 MikeSeth any reason not to?
15:11 RossC0 MikeSeth go go go
15:12 kaos|work yeah, do that
15:12 kaos|work was on my agenda as well, but i still didn't find a place where the day has 100 hours or so ;)
15:13 MikeSeth heh
15:13 MikeSeth i still have to finish that post :(
15:14 kaos|work http://blog.milkfarmsoft.com/?p=51 <-- cool, another thing i can take off my agenda *g*
15:14 kaos|work i think you can drastically speed stuff like soap up by building an (php written :eek:) daemon, which handles the requests and keeps agavi initialized
15:15 kaos|work since that's eating most perfomance there
15:21 MikeSeth ahaha
15:21 MikeSeth I know what you really think
15:21 MikeSeth you want Agavi as a PHP extension
15:21 MikeSeth you cant deny that
15:21 MikeSeth if PHP wasnt so horribly broken inside, you'd have a real application server with productivity of compiled C++ code
15:22 MikeSeth s/productivity/performance/
15:22 MikeSeth then again, you might wanna hack something on top of fastcgi instead
15:22 MikeSeth actually
15:23 MikeSeth if the memory leaks could be meaningfully contained, I'd make a barebone linux distro preconfigured to be an Agavi appserver
15:23 MikeSeth think of *that*!
15:24 kaos|work hah, very cool
15:24 kaos|work well, when doing that phpthrowdown stuff we found the leaks to be minimal
15:24 kaos|work ze chuckwalla ran w/ constant memory usage for quite some time
15:24 MikeSeth I worked with php5.0 extensively on very intensive operations
15:25 MikeSeth web spidering, text classification, etc
15:25 MikeSeth it leaked terrible
15:25 MikeSeth if preg_* or curl is involved, there's a hole right there
15:25 MikeSeth if there is even a tiny chance that memory leaks, you need to whip it into obedience
15:25 kaos|work yeah, if you work with different patterns there is
15:25 kaos|work they get cached on the first preg_ call
15:26 MikeSeth well.. and anonymous functions
15:26 MikeSeth and a bunch of other stuff that PHP mishandles almost criminally
15:26 kaos|work RossC0: very nice stuff you do there with that AgaviBrowser
15:27 MikeSeth WHAT WHAT WHAT
15:27 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:27 kaos|work in his branch
15:27 kaos|work he is completely simulating a web request while running in the same instance
15:27 kaos|work so you can access the context as it was after the request
15:27 kaos|work and stuff like that
15:27 kaos|work very very nice :)
15:27 RossC0 kaos|work - not original I'm afriad
15:28 RossC0 check out the authors
15:28 RossC0 nice for them to give something back ;)
15:28 MikeSeth oh
15:28 MikeSeth nice
15:28 MikeSeth then you can hook up watir on the other end and have a fully automated testing chain
15:30 MikeSeth kaos|work: are there compile time options to disable preg_* caching? If one were to make their own application server, might as well kill those off
15:30 MikeSeth or expire the cache or something
15:30 MikeSeth Why PHP doesnt have Rubyesque regexps
15:30 MikeSeth *sniff*
15:31 kaos|work MikeSeth: oh, i don't think so, i just noticed it when i was looking thru the code
15:32 kaos|work RossC0: EEEEEEEEEEEEEK *g*
15:32 RossC0 I know
15:32 kaos|work how much did directly copy ? ;)
15:32 RossC0 OMFG - who'd have thought
15:33 RossC0 yeap - its *all* theirs - only modded to work with Agavi
15:33 kaos|work ah, k *g*
15:33 kaos|work i think we need to discuss with them if we can relicense it as LGPL
15:34 kaos|work or lemme just check their exact wording in the license
15:34 kaos|work maybe we're allowed to publish it under the lgpl anyways
15:34 kaos|work (i wouldn't really want to have 2 licenses in our codebase)
15:34 MikeSeth showmeplz :D
15:35 kaos|work http://trac.agavi.org/changeset/2002
15:35 kaos|work http://trac.agavi.org/browser/branches/ross-testing/samples/tests/libs/AgaviBrow​ser.class.php?rev=2002
15:35 RossC0 sure - well I'm not 100% sure if it 100 % what we need
15:35 RossC0 ah that makes no sense
15:36 RossC0 but you know - I'm not sure how much of the testing stuff will stay, its more to open the conversations
15:36 RossC0 ah g2g - I got to pick my little one up from Nursery :D
15:36 kaos|work :))
15:37 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
15:41 Whisller[a] kurwa is it everywhere 2.6.16 ehh
15:43 Wombert 425 public function shutdown()
15:43 Wombert 426 {
15:43 Wombert 427 // we remove all session data
15:43 Wombert 428 $_SESSION = '';
15:43 Wombert 429 }
15:43 Wombert 430
15:43 Wombert eww
15:45 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
15:50 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:51 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
15:55 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:55 digitarald [n=Miranda@200.Red-83-52-197.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
16:02 epaulin [n=epaulin@221.221.38.24] has quit ["Hmm... Upgrades."]
16:03 MikeSeth bah that's gotta bomb
16:13 Arme[N-1] shit whats wrong with my ISP
16:14 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
16:14 Arme[N-1] is now known as Arme[N]
16:19 Arme[N] ah I just lost kaos|work discussion with MikeSeth :(
16:19 Arme[N] may be one you send the log for me, start at
16:19 Arme[N] discussion
16:19 Arme[N] opps
16:19 kaos|work Arme[N]: www.agavi.org/irclogs
16:19 kaos|work :)
16:20 Arme[N] oO
16:20 Arme[N] but
16:20 Arme[N] let me check that
16:20 Arme[N] hehe thanks, kaos|work :)
16:21 Arme[N] ttj was not aroun and I...you know :P
16:21 kaos|work hehe, i was trying to find some logs yesterday
16:21 kaos|work which obviously didn't work, since ttj was not here
16:21 Arme[N] yup
16:22 kaos|work so i went to create the logs on the server ;)
16:24 Arme[N] kaos|work rocks
16:30 kaos|work oh, thanks :))
16:34 Whisller[a] [n=example@217.97.146.67] has left #agavi []
16:43 Wombert [n=Wombert@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
16:43 kaos|work [n=dominik@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
16:43 kaos|work [n=dominik@87.79.35.58] has joined #agavi
16:44 Wombert [n=Wombert@87.79.35.58] has joined #agavi
17:04 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
17:13 Whisller[a] [n=example@217.97.146.67] has joined #agavi
18:58 Whisller[a] [n=example@217.97.146.67] has left #agavi []
19:00 Wombert [n=Wombert@87.79.35.58] has quit []
19:15 splatch` v-dogg?
19:15 splatch` v-dogg: ach, plugin, yes, i'll do it :)
19:24 E_mE [n=E_mE@91.84.10.29] has joined #agavi
19:56 Wombert [n=Wombert@xdsl-213-196-226-22.netcologne.de] has joined #agavi
20:08 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
20:24 Whisller[a] [n=example@217.97.146.67] has joined #agavi
20:45 impl [n=impl@adsl-221-39-153.rmo.bellsouth.net] has joined #agavi
21:43 Wombert [n=Wombert@xdsl-213-196-226-22.netcologne.de] has quit [Nick collision from services.]
21:43 Wombert_ [n=Wombert@xdsl-213-196-226-22.netcologne.de] has joined #agavi
21:50 Whisller[a] [n=example@217.97.146.67] has left #agavi []
21:52 Wombert_ [n=Wombert@xdsl-213-196-226-22.netcologne.de] has quit []
22:05 Whisller[a] [n=example@217.97.146.67] has joined #agavi
22:05 Wombert [n=Wombert@87.79.35.58] has joined #agavi
22:14 Whisller[a] [n=example@217.97.146.67] has left #agavi []
23:21 implement [n=impl@adsl-221-39-153.rmo.bellsouth.net] has joined #agavi
23:22 E_mE [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
23:22 impl [n=impl@httpcraft/php/impl] has quit [Nick collision from services.]
23:22 implement is now known as impl
Day changed Thu Jun 21 2007
00:07 kaos|work [n=dominik@87.79.35.58] has quit []
00:07 Wombert [n=Wombert@87.79.35.58] has quit []
00:49 implement [n=impl@adsl-221-39-153.rmo.bellsouth.net] has joined #agavi
00:50 impl [n=impl@httpcraft/php/impl] has quit [Nick collision from services.]
00:50 implement is now known as impl
02:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
02:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
04:13 simoncpu question....
04:13 simoncpu is agavi's logging infrastruction only specific to agavi logs
04:13 simoncpu or can i use it for my own apps?
04:13 simoncpu :)
04:15 impl a request was to be able to pull it out of the Agavi core at some point
04:15 impl that hasn't been realized as of yet
04:44 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
06:11 v-dogg huomenta
06:16 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi
06:19 simoncpu huomenta (^^,)v
06:21 _cheerios huomenta
06:48 _cheerios is it possible to sort a table in mysql, so results by default are in some order; and that it wouldn't do the sorting in the background, but actually keep the table sorted via some index?
06:49 _cheerios i noticed a bit of performance problems on a table with 2M+ rows, where the resultset is 5000-35000 rows, and then it needs to ORDER BY x DESC... *cringe*
06:51 Whisller[a] [n=example@217.97.146.67] has joined #agavi
06:51 Whisller[a] hi
06:51 Whisller[a] is now known as Whisller
06:54 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
07:00 simoncpu _cheerios: i dunno... it's been a while since i've last used mysql
07:00 simoncpu but as far as i can remember, there was this index
07:01 simoncpu that you can create that will speed up sorting
07:01 simoncpu forgot the details
07:01 simoncpu is using sqlite
07:01 simoncpu used postgresql before sqlite
07:02 v-dogg postgresql & sqlite here too
07:02 v-dogg love them both
07:07 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
07:12 MikeSeth huomenta!
07:12 MikeSeth simoncpu: of course you can use the logging
07:12 MikeSeth _cheerios: that's called index clustering
07:13 _cheerios what's it do?
07:13 _cheerios ah, what i wanted
07:14 _cheerios this is a bit of a problem for me as the table is bigger than the machines RAM and wills stay so
07:18 _cheerios going bigtime = headache
07:20 MikeSeth uhh
07:21 MikeSeth you can tune up the server, move some of the data to ram tables..
07:25 _cheerios i asked the same in #mysql and i partly agree with the answer. the table is just getting too big to handle. if i can't keep it in memory im fscked.
07:27 _cheerios things are so easy when you have money to throw at the problem. could just equip the server w/32GB RAM and be done with it.
07:27 _cheerios now it seems i need to partition, compress and what else o_O
07:30 Arme[N] huomenta!
07:34 luke` [n=shoan@122.166.1.164] has joined #agavi
07:34 luke` huomenta ppl
07:50 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
07:50 luke` [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)]
07:50 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
07:50 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
07:52 MikeSeth _cheerios: switch to postgres
07:54 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
07:55 luke` [n=shoan@122.166.1.164] has joined #agavi
08:07 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
08:15 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
08:15 RossC0 HUO
08:15 RossC0 MENTA!
08:18 _cheerios MikeSeth, what would that help?
08:19 Xylakant hi
08:19 MikeSeth _cheerios: PostgreSQL is far superior at handling large and complicated data sets because it has an actual query planner
08:20 MikeSeth also, there is actual index ordering
08:20 MikeSeth plus, you have way more things to tickle when tuning
08:21 _cheerios i don't have the time to learn it all, tho :)
08:22 v-dogg I've ran tests with table with 10+M records and result sets with 10k-100+k rows (ordered) without worries
08:23 v-dogg of course it depends on your table/index structure
08:23 _cheerios did the table fit in memory?
08:23 _cheerios my guess, it probably did :)
08:23 MikeSeth in postgres you can do things to influence the planner's qurey strategy
08:23 MikeSeth it actually calculates the weight of every action
08:24 simoncpu so you must define every action as onDiet = true
08:24 v-dogg _cheerios: no, the table was about 2-3 times RAM
08:25 _cheerios i've only benched mysql/postgres once, and it did show a big difference when you had a (really) complex table and 1M+ rows.
08:26 simoncpu uhm, all long i had the impression that mysql was faster than postgresql
08:26 simoncpu although postgresql is more stable
08:26 _cheerios but i can still solve this by stickin' to mysql, just needs a bit of work. I don't have the time to learn postgres + postgres replication (including troubleshooting) just right now.
08:30 RossC0 _cheerios - I would advise to make time at some point - from all I've heard you won't regret it
08:30 _cheerios the benchmark was http://phpgacl.sourceforge.net/
08:30 RossC0 I'm having to do the same btw - so my next project will be postgres based
08:31 RossC0 phpgacl - haven't used that for a while!
08:31 _cheerios RossC0, yeah, I hear good things about postgres. It's just that I haven't really had any problems with mysql, that would have me jump ship outright.
08:32 _cheerios phpgacl is niceish, but i wouldn't recommend running it on mysql :)
08:32 RossC0 its alright - just index correctly
08:33 _cheerios in the beginning, sure :)
08:36 _cheerios only thing missing in my current replication setup is a secondary master that would pick up, when the master dies.
08:37 _cheerios http://www.mysql.com/common/images/scaleout/scaleout_diagram.png
08:37 _cheerios like that, i'm missing the heart :)
08:46 Whisller [n=example@217.97.146.67] has left #agavi []
08:56 simoncpu ei,
08:56 simoncpu it's been a few months since i've last shut down my pc
08:56 simoncpu hmmmmm
08:56 simoncpu need to move my cubicle
08:56 simoncpu <-- a cubicle peon
08:56 simoncpu [n=soulfury@58.71.34.138] has quit ["whoa.... it's been a few months since i've last shut down my pc"]
09:01 luke` is there support for custom config files(xml) in agavi now?
09:02 v-dogg kinda
09:02 v-dogg you have two options:
09:03 v-dogg 1. use <settings prefix="com.myapp."> <setting ... in settings.xml (or via xinclude)
09:03 v-dogg 2. use ReturnArrayConfigHandler
09:04 luke` i am looking for ideas to integrate emailing into my app. The email messages need to be seperate templates and should be rendered via smarty. so I was thinking...
09:04 v-dogg + bonus: code your own handler and just plug it in :)
09:04 MikeSeth mmmmm my money making machine works
09:04 luke` store from address, subject and template to a config file
09:04 MikeSeth luke`: you can write a deferred action that renders mails, then use its output in another action to send the rendered content
09:05 luke` MikeSeth: huh? :)
09:05 v-dogg hehe, go MikeSeth go :)
09:05 luke` :)
09:05 MikeSeth luke`: you make an action that returns a rendered email
09:06 MikeSeth luke`: then another action calls it to obtain the email, and sends it
09:06 RossC0 luke`: I have a custom Mail.xml - that holds that information as well as a flag to send_emails and add BCC for testing purposes
09:06 luke` :-/
09:06 luke` how do I get an action to render the email?
09:06 v-dogg MikeSeth: ever asked if that's possible with symfony or cake?
09:07 RossC0 i.e. if send_emails is false it just sends it to BCC - so I can test output :D
09:07 MikeSeth v-dogg: whats the point? I know the answer.
09:07 v-dogg :)
09:07 MikeSeth luke`: just in case you didn't know.. you can execute actions inside actions or instead of actions :)
09:08 MikeSeth by the way that's what the barf lock does
09:08 MikeSeth it allows you to execute a subaction
09:08 luke` barf lock?
09:08 MikeSeth luke`: yeah, it's an option in Agavi
09:09 MikeSeth luke`: normally, Agavi protects the global Request during action execution
09:09 MikeSeth luke`: this makes it impossible to run actions from actions. Barf lock disables the protection.
09:10 luke` MikeSeth: wow, I really think I need an example. Could you whip up a simple one for me?
09:10 MikeSeth sure, hold on
09:12 luke` gotta run for a meeting... be back in about 40 mins
09:12 MikeSeth shit I cant remember where I had one now
09:13 MikeSeth here's a snippet
09:13 MikeSeth if (@ $q['granularity'] && $q['advertiser'] && $q['granularity'] != 'all')
09:13 MikeSeth $layer->setSlot('graphs', $this->createSlotContainer('Campaigns', 'RPU_CTRWidget', $q));
09:13 MikeSeth basically, this is a deferred action. this is how you assign one to a slot
09:14 MikeSeth your you can get one directly, by creating an execution container (slot container is a subtype of it) and running the action in the container
09:16 kaos|work [n=dominik@87.79.35.58] has joined #agavi
09:16 codecop MikeSeth, u using linux or windows, in linux i have super bash search function
09:19 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Remote closed the connection]
09:22 MikeSeth i think his super bash search function killed his shell
09:23 v-dogg heh
09:28 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi []
09:28 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
09:42 RossC0 codecop - shoot
09:43 RossC0 I have: function cgrep () { grep -r "$1" . | grep -vE 'svn|~'; }
09:43 RossC0 but always looking out for better :D
09:43 RossC0 my bash skillz are limited!
09:44 MikeSeth hah
09:44 MikeSeth i never thought of that, great idea
09:44 RossC0 heh kaos|work - was the license compatible?
09:45 MikeSeth RossC0: man you are lagged
09:45 MikeSeth or not
09:45 RossC0 wow - I've been pinged
09:58 digitarald [n=Miranda@200.Red-83-52-197.dynamicIP.rima-tde.net] has joined #agavi
10:00 digitarald Huomenta!
10:00 RossC0 Huomenta digitarald
10:00 luke` back
10:01 digitarald building sql queries for related tags ... what a fun
10:01 luke` MikeSeth: just read your snippet. What about the barfing business?
10:08 MikeSeth luke`: you dont need it here. That's defered execution, the action isnt executed while another one is running
10:09 MikeSeth luke`: if you want to execute an action inside another action directly, then you need to flip the lock, because while any one action is running, the global request object is locked, so another action cant run because it has to collect data from the request
10:10 MikeSeth digitarald: oh I hate proximity calculations
10:10 MikeSeth luke`: you use an action directly by calling createExecutionContainer which gets you back a container
10:10 MikeSeth then you execute it in the container
10:14 luke` ok
10:17 luke` MikeSeth: How do I flip the lock?
10:23 _cheerios digitarald, tags are fun!
10:23 luke` [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)]
10:26 _cheerios what kind of stuff related to tags are you cooking up?
10:26 luke` [n=shoan@122.166.1.164] has joined #agavi
10:30 Whisller [n=example@217.97.146.67] has joined #agavi
10:32 MikeSeth http://trac.agavi.org/ticket/512
10:32 MikeSeth luke`: ^^^^^^^^^^^
10:33 luke` MikeSeth: thanks
10:35 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:35 Whisller Hi
10:50 luke` v-dogg: how do I use <settings prefix="com.myapp."> as a custom config file?
10:53 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out]
10:53 Arme[N-1] is now known as Arme[N]
10:54 v-dogg <settings prefix="com.myapp"> <setting name="foo">value</setting> </settings> in settings.xml (or include it from another file with xinclude) and then just AgaviConfig::get('com.myapp.foo');
10:55 v-dogg prefix="com.myapp."
10:58 luke` v-dogg: will <settings prefix="com.myapp"> <setting
10:59 luke` name="foo"><type>boolean</type></setting></settings> also work?
10:59 v-dogg yup, it just adds whatever prefix you have to the configuration directive name
11:00 v-dogg so you'd have 'com.myappfoo'
11:00 v-dogg oh, and yes, values are converted
11:00 Whisller RC5 of agavi when was realeased?
11:00 v-dogg couple of days ago
11:01 Whisller Can you precise a date ?
11:01 v-dogg http://trac.agavi.org/timeline can
11:01 Whisller hmm
11:02 v-dogg 2007-06-17
11:03 Whisller thanks :)
11:06 Whisller ohhh I'm stupid heh here is a changelog :)
11:07 Whisller hihi
11:11 v-dogg RossC0: I'm browsing through your branch and, man, I'm really looking forward to seeing this in action
11:11 v-dogg brilliant work
11:11 luke` whats he been working on?
11:11 v-dogg functional testing
11:11 v-dogg and testing in general, I think
11:12 luke` yummy
11:12 RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)]
11:13 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
11:13 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
11:16 RossC0 v-dogg thanks dude
11:23 Whisller Hmm I have another problem :/
11:23 Arme[N-11 [n=Arme[N]@80.191.141.181] has joined #agavi
11:24 Whisller http://cpaste.com/1216
11:24 Whisller site: http://pq8i28fexemi.az.pl/ phpinfo: http://pq8i28fexemi.az.pl/phpinfo.php
11:26 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
11:26 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
11:27 Arme[N-11 is now known as Arme[N]
11:32 RossC0 Whisller: You need to change you're max allowable execution time in php.ini
11:32 RossC0 hmm
11:33 RossC0 maybe not - mines set to 30
11:33 v-dogg I had that with some older version of libxml
11:33 RossC0 ah ok
11:33 v-dogg it shouldn't take more than 30 to parse the configs
11:33 v-dogg not even with i18n on
11:33 Whisller But on localhost I also have 30 s and that error doesn't display :)
11:34 Whisller On that server libxml is 2.6.22
11:34 Whisller http://pq8i28fexemi.az.pl/phpinfo.php
11:34 v-dogg what php version?
11:34 Whisller v-dogg: phpinfo ^
11:35 v-dogg k
11:35 Whisller 5.2.2
11:35 MikeSeth http://lolcats2.com/Integrated.html
11:36 Whisller apache log from cpanel return only time execution errors
11:37 RossC0 Whisller: can you up exec time? to see if that fixes it ?
11:37 Whisller ok wait
11:39 Whisller ini_set('max_execution_time', 60);
11:39 Whisller And still this same...
11:40 Whisller Maximum execution time of 60 seconds exceeded
11:41 RossC0 Whisller - what configs do you have any custom ones?
11:42 Whisller hmm no
11:42 Wombert [n=Wombert@87.79.35.58] has joined #agavi
11:42 v-dogg I had the exact same problem some time ago and it vanished when I either upgraded php or libxml (don't remember which one)
11:42 Whisller some class in autoload little change in setting but nothing else
11:43 Whisller and routing
11:43 RossC0 Whisller - sure and you already updated libxml?
11:43 Whisller but I don't change a structure
11:43 Whisller Not it is other server
11:43 Whisller but here libxml is't old :>
11:44 Whisller I delete that folder and send it again
11:45 Whisller Ehh it's waiting...ehh
11:45 MikeSeth Whisller: what's your libxml problem?
11:46 Whisller On the first server (I said it yesterday) I have old libxml, now I don't know where is the problem.
11:46 Whisller It just don't work :)
11:46 Whisller It's waiting max execution time and end.
11:47 Whisller I send the app again
11:48 MikeSeth hmm
11:48 MikeSeth big document?
11:48 Whisller What document? What I'll send?
11:51 MikeSeth whatever libxml is working on
11:52 kaos|work RossC0: well, it definitly is compatible, that's not the issue, but i'm not sure if we can relicense it as lgpl
11:52 kaos|work we probably need to dual license that part
11:54 kaos|work Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions
11:54 kaos|work the interesting part there is sublicense
11:54 kaos|work and i don't know how "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software." would conflict with the lgpl
11:54 kaos|work -how -whether
11:54 kaos|work +whether ofc
11:57 Whisller I'm sending app. We Will see what will be happen now :/
11:58 RossC0 kaos|work: want me to ping him and see if we can go lgpl ?
11:59 MikeSeth kaos|work: donno about lgpl but it probably will conflict with gpl, because gpl is way narrower than that so I dont think you can sublicense a derivative work. IANAL.
11:59 kaos|work MikeSeth: its not gpl, its bsd
11:59 kaos|work RossC0: yeah, would be cool if you'd do that .)
11:59 kaos|work :)
11:59 MikeSeth kaos|work: no, I mean bsd would conflict with gpl, so the original authors need to dual-license, not you
11:59 MikeSeth donno about lgpl
12:03 kaos|work yeah, we can definitly include it in the source, that's not the question
12:03 kaos|work (you could do that with a gpl base as well i think, you would just need to dual license that part)
12:05 _cheerios someone use tidy? is it possible to validate the html input, without having it make it a html document by adding html,head etc.
12:06 digitarald no
12:06 digitarald because then its not a valid document
12:06 digitarald maybe add and remove them
12:08 RossC0 kaos|work: So what am I asking?
12:08 _cheerios digitarald, right. It's input that i'm looking to "tidy", that are part of a page
12:08 _cheerios I don't need added syntax there at all, just to tidy up whatever is input.
12:08 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
12:09 kaos|work if we can relicense that part as lgpl
12:09 RossC0 ok
12:09 kaos|work keeping is as author, but not having to license it as bsd
12:10 RossC0 MIT license isn't it?
12:11 RossC0 anyway - I'll email
12:12 kaos|work yeah, but that's under the bsd style license category ;)
12:20 MikeSeth _cheerios: tidy the extension or tidy the cli too?
12:20 MikeSeth tool*
12:20 _cheerios tidy lib that is packaged with php
12:20 MikeSeth ah, donno. I use rxp for well formedness checks
12:21 RossC0 _cheerios: I use tidy to enforce html fragments are valid xhtml
12:21 _cheerios i need this for form inputs that accept html, and i need to make the (often) invalid html valid, add those missing </table> or whatever
12:22 RossC0 sure - tidy will work
12:22 _cheerios yeah, works fine. just need to remove the html page tags.
12:23 RossC0 regex
12:24 RossC0 tidy_get_body()
12:25 RossC0 lunch!
12:27 _cheerios ace, yep. things should get better now.
12:29 Whisller kurwa jebana pierdolona w dupe mac chuj by to zajebal ja pierdole co za gowno jebane
12:29 Whisller It doesn't work :/
12:30 Whisller First when on cache was chmod 755 it return "Cant write" when I set to 777 it doesn't work "time execution"
12:30 MikeSeth Whisller: you dirty dirty person ;)
12:31 Wombert update libxml, problem will be gone
12:31 Whisller Wombert: I have 2.6.22
12:31 MikeSeth Wombert: I do agree with him though, libxml is, well, gowno jebane ;)
12:31 Whisller http://pq8i28fexemi.az.pl/phpinfo.php
12:31 Whisller MikeSeth: :P
12:31 Whisller It is other server
12:32 Wombert and still getting the errors?
12:32 Whisller All servers don't like me
12:32 Whisller Only my localhost ; p
12:32 Wombert it seems to me the php there is borked
12:32 Whisller No now I have other problem
12:32 Wombert the phpinfo page doesn't finish loading ever
12:32 Whisller With another server
12:32 Whisller 13:24 Whisller http://cpaste.com/1216
12:32 Whisller Whisller site: http://pq8i28fexemi.az.pl/ phpinfo: http://pq8i28fexemi.az.pl/phpinfo.php
12:33 Whisller dinner brb
12:33 Wombert call the phpinfo()
12:33 Wombert it doesn't load
12:33 Wombert it's a server problem
12:37 luke` v-dogg: http://pastebin.ca/581213
12:38 Wombert shoan!
12:38 Wombert check the topic!
12:38 luke` Hey Wombert! Long time no see :)
12:38 Wombert we need you on the map, so enter your location and stack agavi!
12:38 Wombert and rate it five stars :)
12:39 Wombert and give me kudos :D
12:39 Wombert long time no see indeed, you seem busy lately
12:39 luke` already did
12:39 Wombert oh, fantastic
12:39 luke` been offline... no internet access at the new residence
12:39 luke` should hopefully have wimax next week
12:40 Wombert can you set your locaiton in your profile? :)
12:40 luke` sure
12:40 Wombert thanks mate
12:41 Whisller Wombert: ?
12:41 Whisller Wombert: but what problem on server?
12:41 Wombert if I call the phpinfo page
12:41 Wombert it doesn't finish loading
12:41 Wombert no idea, but something is broken
12:42 Whisller http://pq8i28fexemi.az.pl/phpinfo.php
12:42 Whisller now
12:42 Wombert yah
12:42 luke` v-dogg: ping
12:42 Wombert better
12:42 Whisller without .htaccess ; p
12:42 luke` Wombert: profile updated. Now you get a pin from IN :)
12:43 _cheerios tidy only runs in utf8?
12:43 Wombert fabulous, luke`
12:43 luke` Wombert: now help me :p
12:43 v-dogg luke`: uhmm.. yeah.. you are trying to include xml data to a configuration directive?
12:43 Whisller Ehh then I don't know what is bad. libxml is ok, php is ok so why it don't parse it
12:44 v-dogg do you use xinclude?
12:44 luke` v-dogg: ehm... so what should I be doing?
12:44 Whisller v-dogg: I have only a configs files like in sample app
12:46 Whisller I will send a sample app
12:51 v-dogg Whisller: so you do you xinclude (the sample app does)?
12:52 v-dogg remove all xinclude stuff and give it a go
12:52 v-dogg I'll put my money on it fixing your problem :)
12:52 Whisller hmm from config files?
12:52 v-dogg luke`: not sure if that works. settings.xml is for simple name=value pairs
12:57 Wombert sample app uses xincludes in output_types.xml
12:57 Wombert maybe that helps
12:59 Whisller ok first I will send sample then in my app change (remove) xinclude in output_types and will see :) If it will be not work, v-dogg must give me money ;)
13:02 epaulin [n=epaulin@221.221.33.175] has joined #agavi
13:02 CIA-11 ross * r2003 /branches/ross-testing/ (3 files in 3 dirs):
13:02 CIA-11 Ammended AgaviBrowser - included more origin information
13:02 CIA-11 Removed erroneous log file
13:06 _cheerios <table><BR/><tr><BR/><td>...</td><BR/></tr><BR/></table> becomes <BR/><BR/><BR/><BR/><table/>. Interesting shift, would've thought it'd discard the entries if it shuffles 'em around.
13:08 luke` [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)]
13:11 luke` [n=shoan@122.166.1.164] has joined #agavi
13:17 Whisller ok I have it
13:17 Whisller http://pq8i28fexemi.az.pl/0.11/samples/pub/
13:17 Whisller now I'm changing chmod
13:18 Whisller ok it's time to remove xinclude ; p
13:21 Whisller xinclude is only in output_types?
13:23 Whisller Then I don't know where is the problem.
13:23 Whisller *Where the problem is
13:29 luke` How do I use the ReturnArrayConfigHandler?
13:32 RossC0 2 tics - pastie coming up:
13:35 RossC0 http://pastie.caboo.se/private/lqehzloxiq2dsyx7ub
13:36 RossC0 luke`: that help ?
13:36 Wombert damn
13:36 Wombert we got to get that feckin libxml issues sorted
13:36 luke` RossC0: checking... slow connectivity
13:36 RossC0 k
13:36 Wombert has an idea
13:36 RossC0 Whisller: did you remove the xinclude ?
13:37 Whisller hmm I delete all files from config, and send one refresh, send one refres... and I send setting, autoload, factories and when I send routing it crash
13:37 luke` RossC0: its perfect. I was intending to use ez too :)
13:37 luke` thanks
13:37 Whisller mhm
13:38 Whisller yes from output_types
13:39 Whisller But when It want routing.xml and I send it, it destory everyting
13:39 Whisller (maximum execution time)
13:39 Whisller wait i disable routing
13:41 Whisller hmm this same
13:41 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
13:42 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
13:44 Whisller without routing.xml it work(no exacly wor but it don't return max execution time)http://pq8i28fexemi.az.pl/0.11/samples/pub/
13:45 luke` RossC0: some questions ...
13:45 luke` how do I define a per email based setting? I need to be able to specify the template to be rendered for the body of the registration email
13:46 Wombert Whisller: show your routing.xml and your output_types.xml
13:46 Whisller http://pq8i28fexemi.az.pl/0.11/samples/app/config/
13:46 Wombert pass it to the exec container as a request arg
13:47 luke` Wombert: thats what I intend to do after I retrieve it from the config file :)
13:47 luke` can I have multiple <configuration> to use with ReturnArrayConfigHandler?
13:48 Wombert yep
13:48 luke` <configuration type="regisration">?
13:50 Whisller zw
13:50 Whisller [n=example@217.97.146.67] has quit []
13:51 Wombert ehhhh
13:51 Whisller [n=example@217.97.146.67] has joined #agavi
13:51 Wombert <configuration> is only for per-env and per-context blocks
13:52 luke` i was looking at RossC0'
13:52 _cheerios v-dogg, you used tinyMCE right? It seems to have wordwrap on by default, which messes up eg. youtube embeds :|
13:52 luke` s pastie
13:58 luke` RossC0: what does the config_handlers.xml look like?
14:00 RossC0 sorry back
14:00 RossC0 luke`: <handler pattern="%core.config_dir%/xapian.xml" class="AgaviReturnArrayConfigHandler" />
14:01 _cheerios v-dogg, scratch that. It's tidy wrapping, I hope I can set that off.
14:01 Whisller Something is wrong with routing :> I think, because with routing.xml it crash it.
14:02 RossC0 Whisller: simply your routing.xml
14:02 RossC0 * simplify
14:02 RossC0 luke`: http://pastie.caboo.se/72381
14:03 Whisller RossC0: I have disable routing, my routing.xml http://pq8i28fexemi.az.pl/0.11/samples/app/config/routing.xml is simple :P
14:03 _cheerios (ok, found 'wrap' option)
14:03 Whisller But with that file it doesnt work
14:03 Whisller hmm
14:04 RossC0 Whisller: can you try: http://pastie.caboo.se/72383
14:05 RossC0 crosses his fingers
14:05 Wombert maybe try a blank project first
14:05 Wombert much easier to work down from there
14:05 RossC0 Wombert: I have a feeling it may be:
14:05 RossC0 <configurations xmlns="http://agavi.org/agavi/1.0/config"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:yay="http://agavi.org/sampleapp"; targetNamespace="http://agavi.org/sampleapp">;
14:05 Wombert if we find that it's the xml namespaces
14:05 Wombert then we can add a config flag
14:06 Wombert that causes the compiler to load the xsd first
14:06 Wombert remove all namespace related stuff
14:06 Wombert then validate again
14:07 Whisller RossC0: Your file is not good :P It return errors
14:07 Whisller Wait I will delete it
14:08 Wombert Whisller: can you please please please with a cherry on top create a new, blank agavi project and run that
14:08 Wombert before you have something complicated with 1000 xincludes etc
14:09 Whisller zebym to ja cie rozumial
14:09 Whisller heh
14:13 luke` RossC0: Is this a good config? http://pastebin.ca/581365
14:14 luke` I am getting an AgaviParseException
14:14 Wombert you need <configurations><configuration> as in all configs
14:14 Wombert that way, you can do
14:15 Wombert <configurations>
14:15 Wombert <configuration environment="development">
14:15 Wombert <mailer>...</mailer>
14:15 Wombert </configuration>
14:15 Wombert <configuration environment="production">
14:15 Wombert <mailer>...</mailer>
14:15 Wombert </configuration>
14:15 Wombert </configurations>
14:18 _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"]
14:22 JamieWolf [n=JamieWol@e177039120.adsl.alicedsl.de] has joined #agavi
14:23 luke` thanks Wombert
14:23 luke` that worked for me
14:24 Wombert cool
14:27 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)]
14:28 luke` [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)]
14:32 luke` [n=shoan@122.166.1.164] has joined #agavi
14:47 NET||abuse [n=lab@ip-83-147-187-216.dub-3rk2.metro.digiweb.ie] has joined #agavi
14:47 MikeSeth welcome. Prepare to be converted.
14:47 NET||abuse :P haha
14:47 NET||abuse ok,, what's your product and how many refugees do i have to shelter?
14:48 MikeSeth read the ohloh url in topic for my feature review
14:48 MikeSeth then come back and begin regretting the time you spent on other "frameworks" :D
14:48 v-dogg lol @ MikeSeth
14:48 MikeSeth v-dogg: 100% conversion rate.
14:48 v-dogg f00li5h too?
14:48 MikeSeth no, he's a perlist
14:49 MikeSeth so it's imaginary 100% :)
14:49 v-dogg :)
14:51 NET||abuse MikeSeth, i've never spent any time on frameworks before this last month.
14:51 MikeSeth well then this would obviously gonna be a long road for you
14:51 NET||abuse i've only ever used the "NET||abuse::" framework
14:51 MikeSeth you might wanna try cake, symfony and seagull just to get the right feeling
14:51 MikeSeth er
14:51 NET||abuse i just build my own tools :)
14:51 MikeSeth i mean the wrong feeling :D
14:52 MikeSeth NET||abuse: sooner or later, a programmer decides that its better to join forces and share experience
14:52 NET||abuse i've looked at cack.. i mean cake.. didn't like it.. was thinking about symfony for templates,, but i like smarty just fine...
14:52 MikeSeth In short, look through available docs and the sample application in source repo
14:52 Wombert thou shalt see the light here
14:52 NET||abuse i'll certainly keep an eye on the agavi,,, maybe try it and zend and see what i like.
14:52 MikeSeth NET||abuse: zend is a big library. It is not a framework.
14:53 Wombert zend is uber hopeless
14:53 Wombert just compare ohloh ratings :p
14:53 MikeSeth Wombert: totally monkey business
14:53 NET||abuse why?
14:53 NET||abuse :) come on .. sell to me ;)
14:53 Wombert with a focus on "monkey" :p
14:53 Wombert can you do that, MikeSeth
14:53 MikeSeth NET||abuse: cause there's no single idea behind it
14:53 MikeSeth NET||abuse: I've seen most of the pre-releases and each time they broke something
14:54 NET||abuse hmm,
14:54 NET||abuse is agavi useable at present?
14:54 MikeSeth it wasnt production ready a year ago and I suspect its still where it was, just more code
14:54 NET||abuse or will it be dodgy till 0.11
14:54 Wombert no dodginess
14:54 MikeSeth well. I use it instead of a $10k java frontend. Does that help? ;)
14:54 Wombert we here all rely on it in produciton usw
14:54 Wombert fan of web services, NET||abuse ?
14:55 MikeSeth Wombert: that's just low. Keep the dessert for the evening ;)
14:55 NET||abuse Wombert, when i get a chance to try them i find them satisfying :)
14:55 NET||abuse :) well, i'll go have a play with the svn and see how i find it
14:55 MikeSeth oh yeah.. what was that thing that you needed to do in cake to implement web services
14:55 NET||abuse read the manual,,
14:55 MikeSeth umm
14:55 MikeSeth lemme think
14:55 MikeSeth WRITE MORE CODE
14:55 MikeSeth muahahaha
14:56 Wombert NET||abuse: install via pear
14:56 NET||abuse we need a feature chart of all the popular|| well known frameworks..
14:56 MikeSeth NET||abuse: if you have no issues with PHP core and syntax, you would *love* this shit
14:56 Wombert rc5 was released just days ago
14:56 Wombert pear install is easiest
14:56 NET||abuse MikeSeth, :) i'm a fan of php's core syntax
14:56 MikeSeth No we don't, we only need a number of talented people converted and everyone else would get sucked in sooner or later
14:57 NET||abuse hmm, megalomaniac!
14:57 MikeSeth RossC0: do you think I'm megalomaniac, or do you think Agavi pwns everything else on PHP market?
14:57 NET||abuse or zealot , not sure which to attribute to you..
14:57 NET||abuse ;P
14:57 NET||abuse only kidding
14:57 MikeSeth NET||abuse: everyone here feels this way
14:57 MikeSeth seriously
14:58 MikeSeth I know what RossC0 will say
14:58 MikeSeth "Agavi pwns everything on PHP market, but you're a megalomaniac"
14:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
14:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
14:59 MikeSeth NET||abuse: just yesterday some guy I dragged in literally said this: "why did you lure me into Agavi"
14:59 MikeSeth now he's stuck and can't go back to stock frameworks because they feel ugly and wrong
14:59 MikeSeth ;D
15:00 MikeSeth NET||abuse: to clarify, I hunt down people on individual basis and bring them here if I think they have a chance to appreciate it
15:00 MikeSeth You're in elite society now, son :D
15:00 v-dogg haha
15:00 v-dogg go MikeSeth go :D
15:00 NET||abuse at least your site is lynx readable
15:01 MikeSeth NET||abuse: now, all jokes aside; ask how to do X in Agavi and the answer may surprise you
15:01 Wombert we really need a "staff" wiki page now
15:01 NET||abuse i don't get what you mean?
15:02 Wombert MikeSeth is going to be "Chief Awesomeness Evangelist"
15:02 NET||abuse "ask how to do X in Agavi"
15:02 Wombert "how do I do ajax"
15:02 NET||abuse ok...
15:02 NET||abuse how do you do ajax?
15:02 Wombert "can I send RSS or PDF versions of the same stuff without duplicating code"
15:02 Wombert :p
15:02 NET||abuse ok....
15:02 NET||abuse always nice :)
15:03 NET||abuse can i encode uploaded mpeg's to flv?
15:03 MikeSeth NET||abuse: write one function to convert your actions output into json; add one line to the routing table; all your actions are now Ajax-enabled ;D
15:03 MikeSeth with ffmpeg you can, thats not something Agavi does for you
15:03 Wombert of course not with agavi tools :p
15:03 NET||abuse pah... not so awsome!
15:03 Wombert but to get back to your first statement, agavi does support smarty
15:03 Wombert it will not tell you which rendering engine to use
15:03 NET||abuse ok.. nice
15:03 Wombert nor will it enforce a database layer
15:03 NET||abuse well i'm a smarty kinda guy.
15:03 MikeSeth NET||abuse: but you can make Agavi do that by wrapping ffmpeg invocation in Agavi action, and THEN do the above and expose it to Ajax :)
15:04 MikeSeth NET||abuse: smarty is by and at large counterproductive
15:04 NET||abuse MikeSeth, oh?#
15:04 MikeSeth it's a waste of developer time and CPU time
15:04 Wombert MikeSeth: focus on selling him to agavi first :p
15:04 NET||abuse how do i use a productive templating then?
15:04 MikeSeth only if you have monkey designers, you really need smarty
15:04 MikeSeth NET||abuse: well plain PHP, surprisingly
15:04 NET||abuse well... i kinda do have monkey designer
15:04 NET||abuse blah blah blah..
15:05 NET||abuse better spam this out, he's sittin here
15:05 MikeSeth NET||abuse: we dont care, you can use smarty if you want to
15:05 MikeSeth there's even a ready adapter class for it
15:05 MikeSeth you can hook any templating system to Agavi
15:05 MikeSeth it really doesn't give a crap :)
15:05 NET||abuse what do you do for templating then? how do you give a file to your designers?
15:05 MikeSeth I personally?
15:06 NET||abuse yeh :) i'm always interested in how other people approach these problems
15:06 MikeSeth well I dont do public websites, but if I did, then my designers would supply me with a cut-up HTML layout that I would allocate to templates, and my webmaster monkey would embed needed dynamic code into it
15:06 NET||abuse I like smarty cause i can point my designer at http://smarty.php.net/docs.php
15:07 MikeSeth well you STILL can
15:07 MikeSeth try hooking up any third party templating system to Cake
15:07 Whisller [n=example@217.97.146.67] has left #agavi []
15:07 MikeSeth that's like trying to rip AR out of Rails
15:08 NET||abuse hmm, ok.
15:08 NET||abuse right.. gonna try out some of the agavi api docus
15:08 Wombert look at the sample app
15:08 Wombert for instance, how the login form works
15:08 MikeSeth as I said, Smarty only makes sense when you do have a monkey that can screw up templates
15:08 Wombert (the validation is done by hand there, not the best example)
15:09 MikeSeth if your monkey is a PHP coder you can trust, then plain PHP is WAY more productive
15:10 MikeSeth anyway back on propaganda track
15:10 MikeSeth the manual is incomplete, so whenever it doesnt answer your question, ask here
15:10 MikeSeth most of the times someone is around to answer
15:11 NET||abuse ok,,, well i'll see how I get on.
15:11 MikeSeth Wombert: do you think we should get some ZFW class adapters just to poke fun at ZFW people? ;)
15:13 f00li5h v-dogg: hrm?
15:13 MikeSeth f00li5h: bah, yet here you are
15:13 f00li5h hrm?
15:13 MikeSeth the dirty spot on my pope reputation :D
15:13 f00li5h you have a pope reputation?
15:14 MikeSeth well
15:14 MikeSeth I convert people. You're the only one who managed to resist
15:14 f00li5h ah, i understand
15:14 f00li5h mst is my master now
15:15 MikeSeth woe to perl! woe to Larry Wall!
15:15 f00li5h pff, talk to me when you can slice a hash
15:16 MikeSeth in how many useless ways?
15:16 MikeSeth :D
15:16 f00li5h in any useful ways, actually
15:17 f00li5h there is exactly one syntax for slicing hashes in perl
15:17 MikeSeth whoah
15:18 MikeSeth doesnt it make perl imploed? :)
15:18 MikeSeth implode*
15:18 f00li5h what?
15:18 MikeSeth well the much touted many way to do the same thing philosophy
15:19 MikeSeth when its violated, doesn't god kill a coder?
15:19 MikeSeth ok no more poking fun
15:19 MikeSeth i have to go home
15:19 f00li5h no, that's many ways to solve a problem, not many ways to do exactly the same thing in syntax
15:19 f00li5h which would be bad, and confusing... see also, ereg, preg and str functions
15:20 MikeSeth ereg* should be killed ASAP
15:20 f00li5h .oO{ i know i want 100 ways to check for substrings }
15:35 Xylakant cu, till monday
15:35 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
15:58 MikeSeth HAHAHAHAHA
15:58 MikeSeth http://dev.rubyonrails.org/ticket/8681
15:58 MikeSeth AHAHAHAHA
15:58 MikeSeth go go go rails people
15:59 luke` [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)]
15:59 Wombert harrr
16:03 digitarald can we add that to agavi?
16:03 MikeSeth ask Ross, he's working with unit tests ;)
16:04 luke` [n=shoan@122.166.1.164] has joined #agavi
16:16 Wombert how do I select a MAX(COUNT()) again?
16:22 v-dogg max(count())?
16:22 Wombert well
16:22 Wombert SELECT COUNT(*)+1 AS foo FROM test AS tree1, test AS tree2 WHERE tree1.left_id < NEW.left_id AND tree1.right_id > NEW.right_id AND tree1.left_id BETWEEN tree2.left_id AND tree2.right_id GROUP BY tree1.left_id ORDER BY foo DESC LIMIT 1
16:22 Wombert :p
16:26 Wombert I'm seriously embarassed by that and I just don't dare to EXPLAIN it :p
16:28 Wombert BUT WHO CARES!
16:28 Wombert IT WORKS BOOHOOO
16:28 Wombert :)
16:29 digitarald [n=Miranda@200.Red-83-52-197.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
16:34 Whisller [n=example@217.97.146.67] has joined #agavi
16:47 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
16:52 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
16:52 MrJeep hi
16:53 MrJeep I'm wondering if there is some function php to transform a string like "bonjour comme ça t'as mangé du toffu" into "bonjour-comme-ca-ta-mange-du-toffu"
16:53 epaulin [n=epaulin@221.221.33.175] has quit ["Hmm... Upgrades."]
16:59 Wombert iconv, MrJeep
16:59 Wombert I think it can transliterate
16:59 Wombert transliterate to ASCII, then replace [^0-9a-zA-Z] with a hyphen
16:59 MrJeep ok i'll look at it :) thanks
16:59 MrJeep noted :)
17:00 Wombert yep
17:00 Wombert http://de.php.net/manual/en/function.iconv.php
17:00 Wombert first comment
17:00 Wombert ASCII//TRANSLIT
17:00 Wombert awesome :)
17:00 Wombert but note the locale awareness
17:04 Whisller Can you tell me which program show formated docbook files? I don't remember the name :/
17:04 Wombert xmlmind xmleditor has a wysiwyg mode
17:04 Wombert but agavi.org has the latest docs online
17:05 Whisller heh ok
17:19 Whisller buildtools with build.xml is for create new project, yes?
17:19 Wombert eh?
17:19 Wombert to create a project, type "agavi project" on the command line
17:19 Wombert inside the folder where you want the project to be created
17:19 Wombert (if you installed via PEAR)
17:20 Wombert if you didn't install via PEAR, copy "agavi-dist" and adjust the AGAVI_INSTALLATION setting inside, then use it
17:20 Whisller ok I try
17:21 Whisller But as I know It will be not work...I always have a problems ;)
17:24 Whisller OK then We take src and agavi.bat and past it into a folder where I want to create new project ?
17:26 Wombert ?
17:26 Wombert ...
17:26 Wombert no
17:26 Wombert http://www.agavi.org/docs/latest/manuals/manual/ch02s02.html#c1-installation-by_​hand
17:26 Wombert 2.2
17:26 Whisller Then I don't understand "By hand" from manual
17:26 Whisller heh
17:28 Wombert put src/ somewhere
17:28 Wombert copy etc/agavi.bat-dist somewhere
17:28 Wombert edit it and point AGAVI_INSTALLATION to src/
17:28 Wombert make a new folder somewhere
17:28 Wombert change to it
17:29 Wombert then call agavi.bat project
18:09 Wombert [n=Wombert@87.79.35.58] has quit []
18:11 kaos|work [n=dominik@87.79.35.58] has quit []
18:43 impl [n=impl@httpcraft/php/impl] has joined #agavi
18:44 impl Hey guys
18:49 impl [n=impl@httpcraft/php/impl] has quit ["Lost terminal"]
19:04 Wombert [n=Wombert@p50873827.dip0.t-ipconnect.de] has joined #agavi
19:09 kaos|work [n=dominik@p50873827.dip0.t-ipconnect.de] has joined #agavi
19:31 JamieWolf [n=JamieWol@e177039120.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)]
19:32 JamieWolf [n=JamieWol@e177184128.adsl.alicedsl.de] has joined #agavi
19:55 luke` [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)]
19:56 Whisller shit
19:58 Whisller I set in include_path "d:\Programy\VertrigoServ\www\phing\classes\phing" and it is correct path but still function (require) reutrn error :/
19:58 luke` [n=shoan@122.166.1.164] has joined #agavi
20:06 Whisller ok work :)
20:07 Whisller in require i has also /phing/phing.php :)
20:09 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
20:19 Whisller hehe I was created first project with phing. It's a little step for agavi but big step for me ;)
20:20 kaos|work [n=dominik@p50873827.dip0.t-ipconnect.de] has quit []
20:22 Whisller hehe I'm really happy :]
20:23 Whisller btw it should add autoload.xml for module
20:28 Whisller and lib
20:41 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
20:42 kaos|work [n=dominik@p50873827.dip0.t-ipconnect.de] has joined #agavi
20:45 impl [n=impl@adsl-221-39-153.rmo.bellsouth.net] has joined #agavi
21:00 Whisller http://pq8i28fexemi.az.pl/agavi/pub/
21:00 Whisller this same ;p
21:00 Whisller with project from "agavi project"
21:01 Whisller without routing.xml works ;p
21:01 kaos|work [n=dominik@p50873827.dip0.t-ipconnect.de] has quit []
21:16 impl O_o
21:17 JamieWolf [n=JamieWol@e177184128.adsl.alicedsl.de] has quit ["KVIrc 3.2.5 Anomalies http://www.kvirc.net/"]
21:21 Whisller [n=example@217.97.146.67] has left #agavi []
21:26 Wombert [n=Wombert@p50873827.dip0.t-ipconnect.de] has quit []
21:37 kaos|work [n=dominik@p50873827.dip0.t-ipconnect.de] has joined #agavi
21:38 kaos|work [n=dominik@p50873827.dip0.t-ipconnect.de] has quit [Client Quit]
21:44 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
22:09 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
22:32 Wombert [n=Wombert@p50873827.dip0.t-ipconnect.de] has joined #agavi
22:36 Wombert [n=Wombert@p50873827.dip0.t-ipconnect.de] has quit [Client Quit]
23:35 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
Day changed Fri Jun 22 2007
02:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
02:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
03:31 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
03:48 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
03:49 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
03:49 Arme[N-1] is now known as Arme[N]
04:53 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
06:05 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
06:05 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
06:25 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
07:14 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
07:14 RossC0 huomenta!
07:14 Arme[N] huomenta!
07:15 luke` huomenta!
07:22 simoncpu [n=soulfury@58.71.34.138] has joined #agavi
07:23 simoncpu houmentai!
07:37 JamieWolf [n=JamieWol@e177184128.adsl.alicedsl.de] has joined #agavi
07:45 RossC0 hehehe http://tinyurl.com/ypp5c6 - big ass table!
07:51 CIA-11 [i=cia@208.69.182.149] has quit []
07:55 Wombert [n=Wombert@p50872929.dip0.t-ipconnect.de] has joined #agavi
08:01 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
08:13 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has joined #agavi
08:18 nagaozen [n=nagaozen@189-19-68-179.dsl.telesp.net.br] has quit [Client Quit]
08:51 E_mE [n=rabbits@81.168.18.2] has joined #agavi
08:51 E_mE huomenta
08:56 v-dogg huomenta
09:06 RossC0 anyone help me out with a SQL question
09:07 RossC0 I have a table with questions and answers - questions have a parent_id of 0 and answers have the parent_id of the question they answer.
09:08 RossC0 I want to get the recent questions that have activity either, new questions or new answers
09:09 RossC0 any thoughts?
09:11 digitarald [n=Miranda@200.Red-83-52-197.dynamicIP.rima-tde.net] has joined #agavi
09:18 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:18 simoncpu you could add a new column
09:18 simoncpu then put a timestamp when they were last accessed
09:19 simoncpu i think you could do it automatically using triggers or something
09:23 RossC0 hmm - liking it
09:25 RossC0 its a winner
09:27 simoncpu w00t
09:27 simoncpu houmenta!
09:37 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
09:39 Whisller [n=example@217.97.146.67] has joined #agavi
09:39 Whisller hi
09:54 Whisller Did you thought something about my problem? What i can do, because I don't have any idea :/
09:57 Whisller Maybe something wrong is with extensions of php on this serwer (Zend Extension Manager, ionCube PHP Loader)
10:00 Whisller :(
10:05 Wombert [n=Wombert@p50872929.dip0.t-ipconnect.de] has quit []
10:11 RossC0 heh Whisller
10:11 RossC0 pastie your latest routing.xml
10:11 Whisller RossC0: wait
10:11 RossC0 I'm correct in thinking that it was that that caused the error?
10:12 Whisller http://pq8i28fexemi.az.pl/agavi/pub/
10:12 Whisller http://pq8i28fexemi.az.pl/agavi/app/config/
10:13 Whisller It is an empty project
10:13 Whisller with WelcomeInAgavi action ;)
10:13 Whisller http://pq8i28fexemi.az.pl/phpinfo.php phpinfo
10:15 Wombert [n=Wombert@87.79.35.58] has joined #agavi
10:18 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
10:20 Whisller RossC0: any idea?
10:21 RossC0 Whisller: would you be able to backup and try a new xsd for me?
10:21 Whisller hmm sorry but I don't udnerstand :/ Which new xsd? It is a new project :)
10:22 RossC0 ok - Ill talk you through it
10:23 RossC0 in your agavi source code
10:23 Whisller wait
10:23 Whisller a second
10:24 RossC0 can you backup up: /agavi/config/xsd/caching.xsd
10:24 Whisller from trac?
10:24 RossC0 no on your server
10:25 Whisller ok
10:25 RossC0 I want to see if a different caching.xsd will fix it for you
10:26 Whisller ok
10:26 RossC0 http://pastie.caboo.se/private/19k9l0v6wamaqzz98b
10:26 RossC0 can you use that caching.xsd and see if it works
10:26 Whisller ok
10:26 RossC0 / gets past the error: AgaviXmlConfigParser.class.php on line 420
10:27 RossC0 brb
10:27 Whisller :/
10:27 Whisller no
10:28 Whisller https://europa.az.pl:2083 user: rzg44507 pass: NKNzlhC8 If you want to see how it look like
10:29 RossC0 ??
10:29 Whisller Your fix doesn't work :)
10:29 RossC0 not http://pq8i28fexemi.az.pl/agavi/pub/
10:30 Whisller yes it is for www but first is for cpanel if you want to see how it look
10:30 Whisller It is test server so i can show pass ;)
10:31 RossC0 ah ok - I thought it was your website!
10:31 RossC0 / web app
10:31 Whisller yes it is my site but on test server.
10:32 Whisller Add add another account on this server
10:32 Whisller *admin
10:32 Whisller And now I'm testing it
10:32 RossC0 ok can undo the changes to /agavi/config/xsd/caching.xsd
10:32 Whisller ok
10:32 RossC0 rules out : http://bugs.php.net/bug.php?id=31076
10:33 Whisller hmm you think is it ?
10:33 Whisller *is it, it?
10:34 RossC0 well its dying on schema validate
10:34 RossC0 so thought it might be - but that is an old bug
10:35 Whisller :/
10:35 Whisller But on this server php has 5.2.2 :/
10:36 RossC0 yup
10:37 RossC0 ok - so you've narrowed it down to routing?
10:38 Whisller hmm what? When i remove routing.xml it work, it return file routing.xml doesn't exist but it donesn't return max execution time
10:39 Whisller *works
10:39 RossC0 ok - so I'm thinking its not liking something in routing.xsd
10:40 Whisller hmm
10:41 RossC0 ok wanna try a custom routing.xsd?
10:41 Whisller ok
10:41 Whisller surely
10:43 RossC0 right give me a couple of mins
10:43 Whisller no problem :)
10:43 Whisller Thanks for help :)
10:43 RossC0 can you try a simple one: http://pastie.caboo.se/private/pav9hlg03uqv3p7t0a
10:44 Whisller ok
10:45 Whisller http://pq8i28fexemi.az.pl/agavi/pub/
10:45 RossC0 cool :D
10:45 Whisller :]
10:45 Whisller brb
10:46 Whisller I'm back
10:46 Zibi [n=asd@80.4.120.163] has joined #agavi
10:46 Zibi hello
10:47 RossC0 Whisller: try http://pastie.caboo.se/private/u5pdkbgb7wl5kjxwn3
10:48 Whisller Warning: DOMDocument::schemaValidate()
10:48 RossC0 hmm bad news is I can't see why it would error - I can't see anything different
10:48 Whisller :(
10:51 RossC0 ok Whisller can you return routing.xsd to normal
10:51 Whisller ok
10:51 RossC0 and then change : output_types.xsd to:
10:51 RossC0 the invalid : http://pastie.caboo.se/private/pav9hlg03uqv3p7t0a
10:52 RossC0 it should timeout again
10:52 Whisller ok
10:53 Zibi can somebody tell me if i can mask routing attribute with some other value
10:53 Whisller yes max execution time
10:53 NET||abuse [n=lab@ip-83-147-187-216.dub-3rk2.metro.digiweb.ie] has quit ["Leaving"]
10:53 Zibi i have something like this <route name=".edit" pattern="^/edit(/{content_id:(-1|\d+)})(/{id:\d+})(/)?$" action=".Edit" />
10:53 luke` [n=shoan@122.166.1.164] has quit [Read error: 104 (Connection reset by peer)]
10:53 Zibi and i want to change -1 to 'all' but in actions etc i want to see it as -1 still
10:54 RossC0 Wombert - you there?
10:55 RossC0 Can you think of anything in routing.xsd that would cause problems for schemavalidate?
10:55 Whisller brb
10:55 RossC0 Whisller: you can return output_types.xsd back
10:57 luke` [n=shoan@122.166.1.164] has joined #agavi
10:58 Wombert re
10:58 Wombert Zibi: you could use a validator that changes the value
10:59 Wombert so what is it
10:59 Wombert routing.xsd?
10:59 Wombert then disable it for a moment please
10:59 JamieWolf [n=JamieWol@e177184128.adsl.alicedsl.de] has quit ["KVIrc 3.2.5 Anomalies http://www.kvirc.net/"]
10:59 RossC0 Wombert - how?
11:00 Wombert in config_handlers.xml
11:00 Wombert remove the validate attrib
11:00 RossC0 ah ok
11:01 RossC0 Whisller: will be back
11:01 kaos|work [n=dominik@87.79.35.58] has joined #agavi
11:03 Zibi Wombert: validator where? you mean that .xml files in validate dir? is it mean that i have to create validator file for each action that gonna use this routing?
11:04 Wombert you can also use a routing callback
11:04 Wombert but it's all hakc
11:04 Wombert y
11:04 Wombert what's so bad about -1
11:04 Wombert or reading "all" in your code
11:05 Zibi pokes RossC0
11:05 Zibi what is bad about -1?
11:05 Zibi ;P
11:05 Zibi i have -1 atm
11:06 RossC0 it looks bad in the url
11:06 Zibi and its in pleeenty of places
11:06 RossC0 so change it in the actions
11:06 Wombert check for "all" in the actions
11:06 Wombert or define a validator that changes the value
11:06 Wombert or use a routing callback, but that _really_ sucks
11:06 Wombert I mean
11:06 Wombert you have to validate that field anyway!?
11:06 Wombert or don't you use validation, or lax validation mode?
11:07 luke` lax validation?
11:09 Whisller ok I'm
11:09 Whisller So what I must remove?
11:11 Whisller in config_handlers
11:13 Whisller ahh validate attribute
11:13 Whisller ok
11:14 RossC0 or zibi add a route with all that sets the parameter to -1
11:14 RossC0 Whisller - did it work ?
11:14 Whisller http://pq8i28fexemi.az.pl/agavi/pub/
11:14 Whisller error
11:14 Whisller with validator
11:16 Whisller What I can do?
11:17 RossC0 Whisller - can you remove the handler for routinf.xml
11:17 RossC0 routing
11:18 Whisller from config_handlers yes?
11:18 Wombert wtf?
11:18 Whisller no ; p
11:18 Wombert ...
11:18 Wombert no
11:18 Wombert you changed the xsd
11:18 Wombert gnnnnhhhhhhhhhhhhh
11:18 Wombert okay
11:18 Wombert config_handlers.xml
11:18 Whisller "remove the validate attrib"
11:18 Wombert for routing.xml
11:19 Wombert remove the validate attribute
11:19 Whisller So I removed it
11:19 RossC0 all xsd's should be back to normal
11:19 Whisller ok
11:19 Wombert no you didn't
11:19 Wombert you removed the attribute declaration for "validate" from config_handlers.xsd
11:20 Wombert change defaults/config_handlers.xml
11:21 Whisller heh what I must change now?
11:21 Wombert ...
11:22 Wombert agavi/defaults/config_handlers.xml
11:22 Wombert for routing.xml
11:22 Whisller yes
11:22 Wombert remove the validate attribute
11:22 Whisller in /config/config_handlers.xml? here isn't exist validate atribute :>
11:23 Wombert zomg
11:23 Wombert noooooooooo
11:23 Wombert in agavi's config/ folder
11:23 Wombert defaults/
11:23 Whisller ahh
11:23 Wombert config_handlers.xml
11:23 Whisller ok
11:23 Wombert cool
11:23 Whisller yes yes ok wait
11:24 RossC0 go go go
11:25 Whisller ok ; p
11:25 Whisller http://pq8i28fexemi.az.pl/agavi/pub/
11:25 Whisller works
11:25 Whisller uhhhh
11:25 Whisller ahhh
11:25 Whisller :D
11:25 Wombert okay
11:25 Wombert now change it back
11:25 Whisller ok
11:26 Wombert and then in xsd/routing.xsd
11:26 Wombert remove line 76
11:26 Wombert <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
11:26 Whisller ok
11:27 Whisller ok
11:27 Whisller It is
11:28 Wombert and you added validate="..." again?
11:28 Whisller yes
11:28 Wombert okay
11:28 Wombert you got error messages before
11:28 Wombert with 2.6.16
11:28 RossC0 clear cache?
11:28 Wombert let me check
11:29 Wombert yeah is that devel mode?
11:29 Whisller http://pq8i28fexemi.az.pl/agavi/app/lib/src/config/defaults/config_handlers.xml
11:29 Whisller brb
11:30 Whisller [n=example@217.97.146.67] has left #agavi []
11:31 Wombert okay so now we know the problem for that libxml version
11:31 Wombert what's that, 22?
11:32 Wombert 16 works fine for me, but breaks on other cases for others (config_handlers <handlers> element)
11:32 Wombert god this is retarded
11:32 RossC0 yeap
11:32 RossC0 very
11:32 RossC0 but did Whisller clear the cache and check ?
12:32 Whisller [n=example@217.97.146.67] has joined #agavi
12:33 Whisller I'm back
12:33 Arme[N-1] is now known as Arme[N]
12:34 Whisller When I'm remove that attribute routing will be able?
12:34 Whisller And where was the problem? Something with libxml?
12:35 Whisller thanks for solution :)
12:46 digitarald [n=Miranda@200.Red-83-52-197.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
13:07 Whisller [n=example@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)]
13:17 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
14:13 Whisller [n=example@217.97.146.67] has joined #agavi
14:13 Whisller hi :)
14:30 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 104 (Connection reset by peer)]
14:39 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
14:46 codecop what a trick i dont know for benchmarking agavi framework?
14:46 codecop http://pastie.caboo.se/72647
14:48 codecop agavi in testing is too slow, just 0.25 fetches per second
14:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
14:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
15:10 E_mA [n=rabbits@81.130.177.245] has joined #agavi
15:10 E_mA hihi,
15:10 E_mA how must do you think a project should cost that requires: login, register, polls, members logon feature, paypal donation chart, users to have 1 logon for all feature, chatroom, shoutbox, poll, guestbook, dj panel, admin panel, events where our users can submit there own events
15:19 E_mE [n=rabbits@81.168.18.2] has quit [Read error: 110 (Connection timed out)]
15:19 RossC0 E_mA - how long would it take you to build it?
15:20 RossC0 Are you supplying hosting? Are you doing the design work or outsourcing and what is your hourly rate
15:31 MikeSeth [n=mst@unaffiliated/mikeseth] has quit [Nick collision from services.]
15:31 MikeSeth [n=mst@207.230.28.36] has joined #agavi
15:32 MikeSeth [n=mst@207.230.28.36] has quit [Nick collision from services.]
15:36 MikeSeth_ [n=mst@207.230.28.36] has joined #agavi
15:37 Whisller RossC0: so when was the problem? SOmething wrong with my server?
15:37 Whisller *where
15:40 E_mA RossC0: no hosting, its a upgrade to kunninmindz.com
15:40 E_mA RossC0: not sure how long it will take but i want to use agavi
15:42 RossC0 libxml and php
15:43 RossC0 E_mA: well you need to estimate how long it will take and how much you want to be paid per hour. Once you have that information you can estimate a cost.
15:44 RossC0 but keep in mind - there an CMS's that will offer such functionality off the shelf for free and they will be your competitors
15:47 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
15:49 Whisller RossC0: but now routing will be work?
15:49 RossC0 try it out
15:50 RossC0 I'm not 100% sure what <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" /> does :D
15:51 Whisller hehe
15:59 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
16:16 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:19 Whisller [n=example@217.97.146.67] has left #agavi []
16:33 RossC0 woot nearly ze weekend
16:37 Wombert codecop: that's because debug is on
16:37 Wombert everything is recompiled on every page load
16:37 RossC0 have a good weekend all
16:37 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
16:38 codecop Wombert, no debug == false in settings.xml
16:38 Wombert show your settings.xml
16:39 codecop one mm
16:40 codecop http://pastie.caboo.se/72684
16:42 codecop in firefox app going very fast with debug set to false, just benchmarking app showing slow results
16:43 codecop i see what benchamrking is lieing to me :)
16:43 codecop it works better
16:44 codecop maybe router and output types is diff when benchmarking
16:44 codecop in console
16:50 E_mE [n=E_mE@91.84.10.29] has joined #agavi
16:53 Zibi [n=asd@80.4.120.163] has quit []
17:00 CIA-11 [n=CIA@208.69.182.149] has joined #agavi
17:20 kaos|work [n=dominik@87.79.35.58] has left #agavi []
17:43 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Remote closed the connection]
17:50 Wombert [n=Wombert@87.79.35.58] has quit [Nick collision from services.]
17:50 Wombert_ [n=Wombert@87.79.35.58] has joined #agavi
17:50 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Remote closed the connection]
18:07 Wombert_ [n=Wombert@87.79.35.58] has quit [Connection timed out]
18:10 Wombert [n=Wombert@87.79.35.58] has joined #agavi
18:21 Wombert [n=Wombert@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
18:22 Wombert [n=Wombert@87.79.35.58] has joined #agavi
18:35 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
18:55 E_mE is there a function in PHP where you can read a segment of an array.. for example, elements 10 to 15
18:55 Wombert array_slice
18:55 Wombert much cooler in python, ain't it
18:55 E_mE ah thanx :D
18:55 E_mE never used python
18:56 Wombert slice = arr[10:15]
18:57 Wombert slicereversed = arr[10:15:-1]
18:57 Wombert :)
19:08 E_mE im sure pascal is fairly easy
19:08 E_mE or maybe im just thinking about declaring arrays
19:08 E_mE name : array[0..15] of interger;
19:09 Wombert that's a declaration
19:22 E_mE aye
19:26 E_mE Wombert: if an array is 5 elements wide, can you splice 2..7? does it cause and error or return the last 3 elements instead?
19:27 Wombert not sure
19:27 Wombert the docs will tell you
19:28 E_mE ill test ;)
19:32 kn11px [i=knoopx@55.Red-88-11-108.dynamicIP.rima-tde.net] has joined #agavi
20:00 kn11px [i=knoopx@55.Red-88-11-108.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)]
20:16 Whisller [n=example@217.97.146.67] has joined #agavi
20:16 Whisller czesc :)
20:37 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
20:40 impl [n=impl@adsl-221-39-153.rmo.bellsouth.net] has joined #agavi
20:45 MikeSethOnEmacs [n=user@line21-134.adsl.actcom.net.il] has joined #agavi
20:46 MikeSethOnEmacs huomenta
21:52 MikeSethOnEmacs [n=user@line21-134.adsl.actcom.net.il] has quit [Read error: 110 (Connection timed out)]
22:05 Whisller [n=example@217.97.146.67] has left #agavi []
22:10 MikeSethOnEmacs [n=user@line21-134.adsl.actcom.net.il] has joined #agavi
22:10 MikeSethOnEmacs mmp
22:10 MikeSethOnEmacs who is here?
22:10 MikeSethOnEmacs I have a crazy idea and I need someone to stop me
22:10 impl smoking some emacs?
22:10 MikeSethOnEmacs Agavi application exposed as a DOM tree
22:10 impl DO IT
22:10 MikeSethOnEmacs How would you use it?
22:10 impl beats me
22:11 impl Why would you want to do it? =)
22:11 MikeSethOnEmacs I want to kill the build system and replace it with something non-suck
22:12 impl Can we make a build system that is independent of Agavi itself but can be used with this implementation?
22:12 MikeSethOnEmacs I suppose you could abstract the notion of project structure away
22:12 MikeSethOnEmacs What I wanna achieve is basically this
22:13 MikeSethOnEmacs the build system is just a frontend that translates CLI commands to DOM interaction
22:13 MikeSethOnEmacs the DOM tree hides away the manipulation of source files, stacks it in a nice transaction which can then be unrolled completely
22:13 impl Can you do a sample XML file of what Agavi's DOM might look like?
22:14 impl unless there's an easier way to represent it
22:14 MikeSethOnEmacs wait
22:14 MikeSethOnEmacs You want to dump the whole application in a big XML file?! :D
22:14 impl Noooo
22:14 impl Just so I can see what the tree will look like
22:14 impl =P
22:14 MikeSethOnEmacs oh
22:15 MikeSethOnEmacs <project>
22:15 MikeSethOnEmacs <modules>
22:15 MikeSethOnEmacs <module name="Users">
22:15 MikeSethOnEmacs <actions>
22:15 MikeSethOnEmacs <action name="Users">
22:15 MikeSethOnEmacs <request method="read">
22:15 MikeSethOnEmacs <execute>
22:15 MikeSethOnEmacs ... code ..
22:15 MikeSethOnEmacs
22:15 MikeSethOnEmacs something like this :D
22:15 impl hmmmmmm
22:16 impl ponders
22:16 MikeSethOnEmacs you can probably dump the whole application as a document. Don't see what'd be the use for that though.
22:17 impl So Agavi would have a build handler
22:17 impl that takes some DOMNode
22:17 impl figures out what to do with it
22:17 impl and builds the respective source file?
22:18 impl file(s)
22:18 MikeSethOnEmacs or changes, yes
22:18 MikeSethOnEmacs Again it doesnt have to be an actual DOM tree, just an interface close enough to appear as DOM
22:19 impl an actual dom tree would probably be easiest
22:19 impl easy to store, easy to redistribute, easy to load from an external source, and Agavi uses DOM everywhere
22:19 MikeSethOnEmacs mmmm[
22:19 MikeSethOnEmacs xpath! mmmmm!
22:19 MikeSethOnEmacs and then I can add Agavi-style controls on top of this
22:20 impl I think this could be quite cool
22:21 MikeSethOnEmacs $action = $project->createAction('FreezeExpired');
22:21 MikeSethOnEmacs $action->addMethod($action->createMethod('read'));
22:21 MikeSethOnEmacs $project->getModule('Users')->addAction($action);
22:21 MikeSethOnEmacs something like this?
22:22 impl Yeah, those should be Agavi addons to the base project though
22:22 MikeSethOnEmacs though it should probably do $action = $project->getModule('Users')->createAction()
22:22 impl here's what I think the base should do
22:22 impl - define a handler interface
22:22 MikeSethOnEmacs now every level of the tree can have its own templates
22:22 impl - revision control
22:22 impl - import/export data
22:22 MikeSethOnEmacs svn integration?
22:22 impl however
22:23 impl You could have file-based VC, or integration with svn, cvs, hg, whatever
22:23 MikeSethOnEmacs import/export = take a 3rd party package and a XML descriptor file and integrate into the project?
22:24 impl import/export = take DOM model of xpath-selected part of project and save it to a file
22:24 impl that way it can be re-generated on the fly
22:24 impl export = *
22:24 MikeSethOnEmacs ohhh dangerous games
22:24 MikeSethOnEmacs hmmmmm
22:24 MikeSethOnEmacs lemme grab some juice and ponder this
22:24 impl You could also do it with a third-party package
22:24 impl as long as your project's handler knows what to do with it
22:31 MikeSethOnEmacs well
22:32 MikeSethOnEmacs agavi integrate /tmp/libfoo /tmp/foo.xml
22:32 MikeSethOnEmacs :D
22:34 impl :D
22:48 MikeSethOnEmacs hmmmmm
22:48 MikeSethOnEmacs am I overcomplicating the matters?
22:55 impl it depends on how much effort you want to put into this =P
22:55 impl Essentially
22:55 impl you'd be writing a package manager
22:55 impl with agavi as the filesystem
22:57 MikeSethOnEmacs ok, I'll lay off the pipe and go back to the stated goal
22:57 MikeSethOnEmacs which is to make emacs agavi mode work ;)
23:12 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Remote closed the connection]
Day changed Sat Jun 23 2007
00:36 Wombert [n=Wombert@87.79.35.58] has quit []
02:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
02:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
05:40 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
06:28 epaulin [n=epaulin@221.221.33.175] has joined #agavi
06:44 Arme[N] Huomenta!
06:44 Arme[N] he he, Mike on Emacs _o/
07:18 epaulin [n=epaulin@221.221.33.175] has quit ["Hmm... Upgrades."]
07:36 epaulin [n=epaulin@221.221.33.175] has joined #agavi
08:20 Whisller [n=example@217.97.146.67] has joined #agavi
08:36 MikeSethOnEmacs wakes up
08:37 MikeSethOnEmacs man
08:37 MikeSethOnEmacs my DOM-based build system idea really was an overkill
08:49 luke` huomenta!
08:58 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
09:19 Whisller [n=example@217.97.146.67] has left #agavi []
09:31 MikeSeth` [n=user@line21-134.adsl.actcom.net.il] has joined #agavi
09:34 simoncpu is now known as simoncpu_on_vi
09:34 simoncpu_on_vi wewekwek
09:34 simoncpu_on_vi slaps MikeSethOnEmacs with a large vim
09:34 simoncpu_on_vi :p
09:35 simoncpu_on_vi is now known as simoncpu
09:41 MikeSethOnEmacs [n=user@line21-134.adsl.actcom.net.il] has quit [Read error: 110 (Connection timed out)]
09:45 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
09:46 splatch` hello
10:10 epaulin_ [n=epaulin@221.221.21.148] has joined #agavi
10:10 epaulin [n=epaulin@221.221.33.175] has quit [Read error: 104 (Connection reset by peer)]
10:51 luke` anybody awake/alive?
10:51 splatch` i am
10:52 luke` splatch`: ever used ez components?
10:52 splatch` luke`: no i'm not
10:52 MikeSeth` simoncpu: how's it going?
10:53 luke` MikeSeth`: ezc question
10:53 MikeSeth` luke`: I don't use it
10:54 luke` ah... must have been Rossc0 then :)
11:11 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
11:13 Whisller [n=example@217.97.146.67] has joined #agavi
11:16 Whisller hi
11:17 MikeSeth` hello
11:20 luke` how can I log all exceptions instead of displaying them? is the agavi logger available in index.php?
11:24 MikeSeth` all exceptions of what?
11:24 MikeSeth` and, what do you do after you've logged an exception?
11:24 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has joined #agavi
11:25 MikeSeth` the loggers are available as soon as the logger manager is available
11:25 MikeSeth` now it really depends on what kind of expections are you targeting
11:25 luke` MikeSeth`: after putting the app into production, I don't want exceptions splashing around and want to log the messages instead
11:26 MikeSeth` well you can do that indeed, but the question I am asking you is what are you doing -after- you've caught an exception?
11:26 MikeSeth` maybe the exception template is what you're after
11:27 splatch` http://trac.agavi.org/ticket/359 is it done ?
11:27 MikeSeth` it says it is closed
11:28 MikeSeth` so I presume yes
11:28 MikeSeth` that was half a year ago too
11:28 MikeSeth` ;)
11:29 splatch` where is information about i18n usage with validators?
11:29 luke` MikeSeth`: not really sure what answer your expecting. I'd like to be able to record the log so that it can be fixed.
11:29 luke` i mean record the exception
11:29 MikeSeth` luke`: yes, and you can do that in the exception template
11:30 MikeSeth` ask the logger manager for an appropriate logger and log into it
11:30 luke` from the template itself?
11:30 MikeSeth` yes
11:31 MikeSeth` of course, you can log specific exceptions in respective exception handlers
11:32 Wombert [n=Wombert@p50870168.dip0.t-ipconnect.de] has joined #agavi
11:32 luke` i was wondering if I could put a try...catch around the dispatch() in index.php
11:32 MikeSeth` luke`: you could, but what would be the point of that?
11:33 MikeSeth` if you only need to log an exception and display a nice sorry error page, then you want the exception template
11:33 MikeSeth` like this:
11:33 luke` ok
11:34 MikeSeth` $context->getLoggerManager()->getLogger('exceptions')->log(new AgaviLoggerMessage("OH NOES!! EXCEPSHUSN: " . $exc->getMessage()));
11:35 luke` ok
11:36 MikeSeth` and of course you can define a separate exception page for the production environment :D
11:52 Wombert [n=Wombert@p50870168.dip0.t-ipconnect.de] has quit []
11:56 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
11:57 E_mE huoementa!! :D
12:15 Wombert [n=Wombert@87.79.35.58] has joined #agavi
12:20 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
12:21 MikeSeth` [n=user@line21-134.adsl.actcom.net.il] has quit [Remote closed the connection]
12:39 epaulin_ is now known as epaulin
12:39 Whisller [n=example@217.97.146.67] has left #agavi []
12:42 CIA-11 [n=CIA@208.69.182.149] has quit []
12:45 splatch [n=splatch@s3.przytulski.net] has joined #agavi
13:03 Whisller [n=example@217.97.146.67] has joined #agavi
13:22 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
13:23 E_mE what is the point of having the View when you can process everything in Action?? or can you only request redirects in Views???
13:23 E_mE i just need correcting on the subject!
13:34 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
14:33 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
14:58 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
14:59 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
15:07 E_mE [n=E_mE@91.84.10.29] has quit [Read error: 110 (Connection timed out)]
15:15 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:23 Whisller [n=example@217.97.146.67] has left #agavi []
15:25 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:28 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
15:44 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
15:51 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit ["Ex-Chat"]
16:33 Whisller [n=example@217.97.146.67] has joined #agavi
16:56 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
17:00 Whisller [n=example@217.97.146.67] has left #agavi []
17:43 Whisller [n=example@217.97.146.67] has joined #agavi
17:56 Whisller [n=example@217.97.146.67] has quit []
17:56 Whisller [n=example@217.97.146.67] has joined #agavi
18:24 impl splatch`: specify a translation_domain="..." in the <validator> and it'll look up your text using the TranslationManager
18:24 impl splatch`: as in http://trac.agavi.org/browser/branches/0.11/samples/app/modules/Default/validate​/Login.xml
18:33 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has joined #agavi
18:44 Whisller What a fucking server. First max execution time now memory size ;p
18:45 Whisller http://cpaste.com/1260 heh
18:48 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
19:47 ttj [n=tjorri@kosh.hut.fi] has joined #agavi
19:48 ttj Hmm... Apparently dropped from freenode at some point. :-/
20:04 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
20:19 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
20:29 CIA-11 [n=CIA@208.69.182.149] has joined #agavi
20:49 Wombert ttj: you quit with msg "changing servers"
20:50 splatch hello
20:50 ttj Hmm...
20:51 ttj Wombert: Do you have the time when that happened?
20:51 Wombert can look it up in a bit
20:52 ttj Must've been Monday evening or something.
20:53 splatch when Agavi site will be available?
20:53 splatch my article is published
20:53 ttj Ah, right. I was having trouble with irc.cs.hut.fi and was fighting with irssi. I must've kicked off the connection to freenode during the battle.
20:54 splatch Here is litte information http://phpsolmag.org/pl/phpsolmag/issues/4_2007.html
20:54 ttj Yay, flying back to Helsinki tomorrow evening. Then one more week of vacation until I can officially get back to work. :-)
21:09 Wombert splatch: wooot! nice :)
21:09 Wombert congratulations
21:09 Wombert nice work
21:09 Wombert regarding the site... no idea
21:09 Wombert so busy :/
21:25 splatch Wombert: hm.. you don't saw the article, i don't know is it good :)
21:26 impl wishes he could speak Polish now
21:28 ttj Read Polish, more likely. :-)
21:29 Wombert OWNED!
21:29 Wombert ...
21:29 Wombert zomg
21:29 impl :>
21:30 ttj Well, I can speak Norwegian every Friday night after a bar round in Kallio, but I still can never seem to be able to make any sense of Norwegian afterwards. Spoken or written.
21:30 Wombert lol
21:30 Wombert :>
21:31 Wombert [n=Wombert@87.79.35.58] has quit []
21:34 Whisller ohh
21:34 Whisller splatch: you must help me :P
21:43 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)]
21:45 splatch Whisller: not today, i so tired
21:48 Whisller ok then We will do it tomorrow :)
21:59 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
22:04 Whisller [n=example@217.97.146.67] has left #agavi []
22:06 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
22:14 Whisller [n=example@217.97.146.67] has joined #agavi
22:14 Whisller [n=example@217.97.146.67] has left #agavi []
22:22 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit ["Ex-Chat"]
23:49 Wombert [n=Wombert@p50870168.dip0.t-ipconnect.de] has joined #agavi
Day changed Sun Jun 24 2007
01:08 Wombert [n=Wombert@p50870168.dip0.t-ipconnect.de] has quit []
02:03 epaulin_ [n=epaulin@221.221.38.177] has joined #agavi
02:25 epaulin [n=epaulin@221.221.21.148] has quit [Read error: 110 (Connection timed out)]
05:32 implement [n=impl@adsl-77-239-35.rmo.bellsouth.net] has joined #agavi
05:33 impl [n=impl@httpcraft/php/impl] has quit [Nick collision from services.]
05:34 implement is now known as impl
06:10 MikeSeth_ okay, who's here?
06:11 impl Did you have a crazy idea again?
06:11 MikeSeth_ Well
06:12 MikeSeth_ I was thinking of writing a "low level" virtual filesystem that allows programmatic access to Agavi source objects, and the build system on top of it
06:12 MikeSeth_ i played a little with the DOM idea, and it turns out too convoluted
06:12 impl mmm
06:12 impl filesystems are difficult
06:12 MikeSeth_ well you are not writing a real filesystem
06:13 MikeSeth_ just an interface through which you can request an object, set it contents, delete it or create a new one
06:13 MikeSeth_ an object can be a "method" in a "class", to which the FS would look up the source file
06:14 impl nods
06:15 MikeSeth_ you can make Agavi application configuration writeable to the build system too
06:15 MikeSeth_ this is way more down to the ground ;)
06:28 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
07:28 MikeSeth [n=mikeseth@unaffiliated/mikeseth] has joined #agavi
07:32 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
07:33 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
07:38 MikeSeth [n=mikeseth@unaffiliated/mikeseth] has quit [Read error: 104 (Connection reset by peer)]
07:45 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)]
08:04 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
08:04 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
08:32 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
09:30 Whisller [n=example@217.97.146.67] has joined #agavi
09:30 Whisller Hi
09:30 Whisller [n=example@217.97.146.67] has left #agavi []
09:30 Whisller [n=example@217.97.146.67] has joined #agavi
09:30 Whisller heh hi ;)
10:39 Wombert [n=Wombert@p5087301E.dip0.t-ipconnect.de] has joined #agavi
10:51 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit ["Ex-Chat"]
12:11 epaulin__ [n=epaulin@221.222.235.68] has joined #agavi
12:14 epaulin_ [n=epaulin@221.221.38.177] has quit [Read error: 110 (Connection timed out)]
12:16 epaulin__ is now known as epaulin
12:19 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has joined #agavi
12:50 MikeSeth_ Wombert: <MikeSeth_> I was thinking of writing a "low level" virtual filesystem that allows programmatic access to Agavi source objects, and the build system on top of it
12:50 Wombert wicked
12:52 Wombert office ->
12:52 Wombert [n=Wombert@p5087301E.dip0.t-ipconnect.de] has quit []
13:10 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
13:44 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
13:45 epaulin [n=epaulin@221.222.235.68] has quit ["Hmm... Upgrades."]
13:50 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
13:55 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
13:56 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
13:57 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Remote closed the connection]
14:07 Wombert [n=Wombert@87.79.35.58] has joined #agavi
14:12 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
14:59 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Remote closed the connection]
15:27 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection]
15:28 Whisller [n=example@217.97.146.67] has left #agavi []
15:38 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:01 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
16:03 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
16:10 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has joined #agavi
16:19 eremit [n=eremit@p5490EB5A.dip.t-dialin.net] has joined #agavi
16:21 eremit [n=eremit@p5490EB5A.dip.t-dialin.net] has quit [Client Quit]
16:21 eremit [n=eremit@p5490EB5A.dip.t-dialin.net] has joined #agavi
16:58 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
17:13 luke` [n=shoan@122.166.1.164] has quit [Read error: 110 (Connection timed out)]
18:05 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
19:05 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
19:59 v-dogg huomenta
20:00 Whisller [n=example@217.97.146.67] has joined #agavi
20:00 Whisller czesc chlopaki
20:02 Whisller albo dziewczeta jesli takowe sa
20:02 Wombert hi
20:03 Whisller or something like that
20:04 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
20:04 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
20:06 Whisller :D
20:06 Whisller hehe
20:09 Whisller what;s up
20:09 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has joined #agavi
20:27 Whisller ohh my stomach
20:29 Whisller [n=example@217.97.146.67] has left #agavi []
20:30 Wombert zomg
20:30 Wombert john mclane is on tv
20:30 Wombert for 15 minutes already!
20:30 Wombert gotta get going
20:30 v-dogg haha
20:30 Wombert home ->
20:31 Wombert did you know that die hard 2 was produced by a different studio than 1 and 3
20:31 Wombert that's why there's no box set so far
20:31 Wombert and that's why many channels don't show all three
20:31 Wombert but a box set is coming now
20:31 Wombert aaaand of course... thursday.... LIVE FREE OR DIE HARD KTHXBAI
20:32 Wombert with the mac guy from the HELLO LOLZ IM A MAC AND THIS IS ZE PC NOOB apple ads
20:33 callmebaby [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
20:33 callmebaby [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Read error: 104 (Connection reset by peer)]
20:34 impl Wombert: O_o
20:34 Wombert I know you suck and don't watch TV
20:34 Wombert but please tell me you've seen all three Die Hard movies so far
20:34 impl No
20:34 impl What's Die Hard?
20:35 Wombert my goodness
20:35 Wombert v-dogg: can you tell him
20:35 Wombert you have to practice this
20:35 Wombert you're a parent now
20:35 impl Cultural ignorance rocks so much.
20:35 Wombert no, no, it's ignorant
20:36 impl yes ... but ... awesomely
20:36 Wombert shakes head
20:36 Wombert bbiab
20:36 Wombert [n=Wombert@87.79.35.58] has quit []
20:40 v-dogg impl: how old were you again?
20:40 impl I'm 17
20:40 v-dogg so hmm.. were even born when the first die hard came out.. :p
20:40 impl :P
20:42 v-dogg haha, you weren't :D
20:42 v-dogg 1988
20:42 v-dogg http://en.wikipedia.org/wiki/Die_Hard
20:42 impl was born 1990
20:43 impl cool
20:44 v-dogg the sequel was directed by a Finn \o/
20:44 v-dogg (it wasn't really that good :)
20:45 impl lol :P
20:48 v-dogg most of his films are average (or below) action stuff
20:49 v-dogg Ford Fairline I did enjoy
20:49 v-dogg (when I was about 12 :)
20:49 impl Never heard of it
20:51 v-dogg http://en.wikipedia.org/wiki/The_Adventures_of_Ford_Fairlane
20:51 v-dogg wiki to ze rescue :)
20:51 v-dogg off to bed ->
20:51 v-dogg night
20:51 impl rofl
20:51 impl Night
20:51 impl I like the 'Reception' section
20:53 Wombert [n=Wombert@p5087301E.dip0.t-ipconnect.de] has joined #agavi
20:53 impl welcome back, Wombert
20:56 Wombert <:
20:59 Whisller [n=example@217.97.146.67] has joined #agavi
21:03 splatch hello :)
21:03 Whisller hi
21:03 Whisller spatchu :P
21:41 Whisller splatch: are you there?
22:45 Wombert [n=Wombert@p5087301E.dip0.t-ipconnect.de] has quit []
22:55 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
22:58 Whisller [n=example@217.97.146.67] has quit ["good night"]
Day changed Mon Jun 25 2007
00:04 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Remote closed the connection]
05:19 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
05:20 v-dogg huomenta
05:22 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
05:23 Arme[N] huomenta!
05:23 simoncpu hello
05:24 simoncpu does agavi have an Error object or something?
05:25 v-dogg not as such. what do you need?
05:25 v-dogg it has a validator manager for validation errors
05:27 v-dogg though, I think, vm (validator manager) deals with incident objects
05:28 simoncpu i'm currently writing a validation class for my web app
05:29 simoncpu and i want to throw an error object if the input is invalid :)
05:29 v-dogg extending AgaviValidator?
05:30 simoncpu nope... right now, my web app is a bit messy-- i inherited it from a previous dev :)
05:31 simoncpu i'm currently refactoring the code so that i can migrate most of them to agavi
05:33 simoncpu oooooh
05:34 simoncpu whacks himself for not reading AgaviValidator.class.php
06:13 Wombert [n=Wombert@p508730BC.dip0.t-ipconnect.de] has joined #agavi
06:14 Wombert huomenta
06:16 Wombert oh crap
06:16 Wombert it's so raining cats and dogs
06:16 Wombert mooooh
07:02 simoncpu ___________________
07:02 simoncpu ( Mooo... Houmenta! )
07:02 simoncpu -------------------
07:02 simoncpu o ^__^
07:02 simoncpu o (oo)\_______
07:02 simoncpu (__)\ )\/\
07:02 simoncpu ||----w |
07:02 simoncpu || ||
07:14 simoncpu hi
07:14 simoncpu do you guys use simpletest or phpunit? :)
07:14 v-dogg phpunit
07:15 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
07:16 simoncpu oki
07:16 simoncpu uhm, AgaviTestCase.class.php extends php unit
07:16 RossC0 huomenta
07:16 simoncpu but some test scripts use simpletest
07:17 simoncpu u guys used simpletest before, right? :)
07:17 v-dogg yup
07:17 simoncpu oki
07:29 Wombert morn RossC0
07:30 RossC0 hows it going?
07:35 Wombert not good
07:35 Wombert today is a shave-and-then-every-inch-of-your-face-bleeds day
07:35 Wombert and it's raining cats and dogs
07:38 RossC0 nice - you using blunt razors? been raining them here to :-/
07:39 Wombert mh not really
07:39 Wombert unless these feckin blades wear out after two or three uses :p
07:39 simoncpu i dunno why girls like newly-shaved men
07:40 simoncpu i really have trouble convincing my (ex?) gf to let my beard grow
07:40 simoncpu as long as richard stallman's
07:40 simoncpu wants to look like a prophet
07:40 Wombert oh god
07:40 Wombert please don't look like RS
07:40 Wombert and more importantly
07:40 Wombert don't talk like him
07:40 Wombert don't think like him
07:40 Wombert don't act like him
07:40 Wombert don't smell like him
07:40 Wombert what else
07:40 simoncpu i'm a bsd person though
07:41 simoncpu but i like having long beard
07:41 Wombert don't be a bloody retard like him
07:41 Wombert hmmm
07:41 simoncpu although i'm not as fat as him
07:41 simoncpu :p
07:42 RossC0 simoncpu - you'll get wombert stressing about long dirty finger nails
07:42 Wombert oh yes
07:42 Wombert and that
07:45 simoncpu but still... i can't convince my gf to let me have a long beard
07:45 simoncpu she wants it rough... only God knows why
07:45 simoncpu ;)
07:49 Wombert is she the gf or the ex gf
07:56 v-dogg codes Hello World with Java
07:57 Wombert wonders why v-dogg is doing that
07:58 Wombert teaching erica to code? :>
07:58 v-dogg I want to learn Java (again)
07:58 v-dogg it's been so many years that I've forgotten pretty much everything :)
07:59 Wombert <:
07:59 Wombert you're not turning ze back on agavi are you :<
07:59 Wombert -> office, brb
07:59 Wombert [n=Wombert@p508730BC.dip0.t-ipconnect.de] has quit []
08:04 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
08:04 v-dogg uhmm.. jdk 1.4... java 5... java 6...
08:04 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
08:04 v-dogg is lost ;)
08:13 E_mA hueomenta
08:15 RossC0 v-dogg - use JRuby
08:15 v-dogg stop confusing me! :)
08:15 v-dogg what's that?-)
08:19 v-dogg Hello World!
08:19 v-dogg it's alive!
08:19 Wombert [n=Wombert@87.79.35.58] has joined #agavi
08:19 RossC0 lol
08:20 Wombert jdk 1.4 = java 4
08:20 Wombert 1.5 = java5
08:20 Wombert and so on
08:20 simoncpu System.out.println("<?php echo 'Hi world!'; ?>");
08:20 simoncpu wekwekwek
08:20 simoncpu :p
08:22 v-dogg ok, it didn't take this long to get it to say Hello World but I'm trying to learn Eclipse too
08:22 v-dogg it seems to be pretty slick nowadays
08:23 RossC0 rolls his eyes
08:23 Wombert tunes in
08:23 RossC0 checks v-dogg's temperature and decides its sleep deprivation that is the cause
08:23 Wombert err
08:23 Wombert joins in
08:24 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
08:24 v-dogg woot woot woot
08:24 v-dogg it isn't?
08:25 Whisller [n=example@217.97.146.67] has joined #agavi
08:25 RossC0 ok woot! good work v-dogg!
08:25 v-dogg with all it's refactoring stuff and everything
08:26 RossC0 this for fun or work or both?
08:26 Wombert crosses fingers
08:26 v-dogg fun for now
08:26 Wombert zomg
08:26 Wombert for now?
08:26 RossC0 zomg
08:26 Wombert zomg
08:26 RossC0 fun?
08:26 RossC0 ruby is fun!
08:26 Wombert java is fun
08:26 Wombert compared to php
08:27 RossC0 v-dogg - is a reversing the trend!
08:27 RossC0 -a
08:27 RossC0 php sucks
08:27 RossC0 jAgavi ?
08:27 Wombert it has it's sweet spots
08:27 Wombert for instance, PHP's syntax is the best IMO
08:28 Wombert besides java
08:28 Wombert so clean
08:28 RossC0 rolls his eyes
08:28 Wombert I get serious headaches from looking at ruby code
08:28 v-dogg I'm not looking for a replacement for php
08:28 Wombert and python gives you lots of wtf moments as well
08:28 Wombert ooooooooh
08:28 Wombert good
08:28 Wombert hugs v-dogg
08:28 Wombert hugs v-dogg again
08:28 v-dogg :)
08:28 Wombert couldn't do without you buddy!
08:28 RossC0 brb
08:29 v-dogg I want to check out the gui development possibilities of Java today
08:30 Whisller Czesc
08:32 ttj Ugh, another week of vacation. :-/
08:33 digitarald [n=Miranda@200.Red-83-52-197.dynamicIP.rima-tde.net] has joined #agavi
08:33 ttj This vacation has been especially fatal. I'm now starting to look respectable; for the first time in a couple of years I shaved everything off and now I'm thinking of having a haircut. :-(
08:33 Wombert PHOTOS
08:33 Wombert :p
08:33 Wombert don't you like vacations
08:33 E_mA why is it when i've created a form with the action="/reply/post" and i click submit the address bar contains /reply/post/?threaduid=&submit=Post+Reply ??? :S
08:34 simoncpu adfadfasdfasdf waaaaaaaaaaaaaaaah
08:34 simoncpu i'm going insane
08:34 simoncpu CVS is making me insaaaaaaaaaaaaaaane
08:34 v-dogg E_mA: method="POST"
08:34 v-dogg for <form
08:34 E_mA ive included that
08:34 ttj Nah, not especially.
08:34 Wombert method="post" ? :p
08:34 E_mA ive got it like Wombert describes
08:35 Wombert here's betting a fiver you don't :p
08:35 E_mA does it need to be Captilaised?
08:35 Wombert xhtml requires lowercase
08:35 Wombert it doesn't really matter tho
08:35 Wombert show code!
08:35 E_mA ok... loads laptop
08:35 Wombert oooooooh dude
08:35 Wombert this coffee tastes horrible
08:35 Wombert hates that supermarket
08:35 Xylakant good mornung
08:36 ttj Haha.
08:36 Wombert lots of the goods look like they've been kicked through the entire shop before put in the shelf
08:36 ttj We had some trainee cleaning girl a couple of weeks back at work. Got to the office, made coffee and she came and dumped the entire pan away before I could interfere. :P
08:36 Wombert it smells
08:36 Wombert it's dirty
08:36 Wombert most of the good stuff is N/A each time I go there
08:37 Wombert cashiers are dumb and slow
08:37 ttj Cashiers typically are.
08:37 simoncpu gives Wombert a cup of brewed coffee made from the finest excrement of civet cats from the Philippine mountains
08:37 Wombert checkout wait times are 81263 minutes
08:37 Wombert zomg
08:37 Wombert hahaha simoncpu
08:37 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out]
08:38 E_mA i had zinbar coffee on saturday... god it was strong
08:38 Wombert well this "coffee"
08:38 Wombert is Emmi Caffee Latte Espresso
08:38 Wombert here's the thing about it
08:38 ttj Wombert: In Finland we have a word for that sort of coffee...
08:38 Wombert it says it's indian coffee
08:38 ttj Real coffee = kahvi, the one you described = akhvi.
08:38 Wombert that's exposed to five days of monsun rain after the harvest
08:38 Wombert then dried seven weeks in monsun wind
08:38 Wombert I don't believe them
08:38 ttj It's sort of like kahvi, except that it quite isn't. The chemical structure is the same, however.
08:38 E_mA though i did brew the coffee in an espresso machine and only allowed it to fill the pot for the first minute so it was ULTRA consintrated coffee ;)
08:38 Wombert monsoon, whatever
08:39 E_mE [n=E_mE@81.168.18.2] has joined #agavi
08:39 Wombert mahahaha @ finland
08:39 Wombert hugs ttj
08:39 Wombert anyway, how do the morons that make this crappy coffee make sure that it rains for five days in a row
08:39 Wombert I think they're lying to me
08:40 ttj Or I don't know how widespread the term is, but at least on campus they only serve akhvi.
08:40 E_mA Wombert & v-dogg , found the error... Fecking idiot me had type="post" ...
08:40 E_mA thats what happens when you are on the bus programming
08:40 Wombert SEE, I CALLED IT, YOU SUCK :>
08:40 E_mA feel like a sucker
08:40 E_mA ;)
08:52 RossC0 morning Xylakant!
08:53 E_mA RossC0: how can i evaluate how much time the works going to take me? this relates to my question last week?
08:57 RossC0 A=(cos(PI + x )*2) + [y-x]^2
08:57 Wombert harhar
08:57 Wombert E_mA: experience
08:57 RossC0 E_mA: you need to guestimate
08:57 E_mA :'( thats to complicated
08:57 E_mA ;)
08:57 Wombert then multiply the estimate by two
08:57 RossC0 and like anything the more you do it the better / more accurate you will become
08:58 RossC0 but don't fall into the trap, my hax0r sk1llz are #1 it will take me 15 mins to write a blog!
08:58 Wombert my advice
08:58 E_mA hehe
08:58 Wombert don't calculate hours
08:58 Wombert always use whole days
08:58 Wombert if you want to build a comment feature
08:58 Wombert make it one day
08:59 Wombert you'll need at least half a day, and you don't do more than four or five hours of actual work a day anyway
08:59 E_mA okay, can i paste you the spec and could you estimate roughly wat i should be looking at?
08:59 RossC0 and styling always takes longer than you think
08:59 Wombert no
08:59 Wombert you write down what you think
08:59 RossC0 Wombert: ... you don't do more than four or five hours of actual work a day anyway
08:59 Wombert then we can say yes or no
08:59 RossC0 wants Wombert's job!
09:00 Wombert RossC0: you sure?
09:00 Wombert if you're in the office for, say, 9 hours
09:00 E_mA styling makes me sick, my current site is ugly, but it will look good :)
09:00 Wombert you do maybe five hours of actual work
09:00 E_mA Wombert, i like you style of teaching thanx :D
09:00 Wombert the rest of the time is "wasted" in phone calls
09:00 RossC0 me I do 7 :D
09:00 Wombert really?
09:00 RossC0 the rest is del.icio.us'ing links
09:00 Wombert enviable
09:00 RossC0 or reading my rss feeds
09:01 Wombert no time wasted in meetings
09:01 Wombert phone calls
09:01 Wombert talking to colleagues
09:01 Wombert wrestling with the network
09:01 RossC0 I have 1 scrum and follow up meetings a day
09:01 E_mA phone calls are annoying, because i've got to deal with dim-wits!
09:01 RossC0 I lie 2 hours is wasted on IRC :D
09:01 Wombert :>
09:01 RossC0 but doesn't mean I'm not working, I let my sub conscious mull it over before I attack
09:02 E_mA i once had a question if we could seprate the F5 and F6 key, because someone kept deleteing records by mistake because there too close together :/
09:03 E_mA even though you have to press F5 twice and then CR to confirm
09:04 RossC0 right my aim today is refactor a class! I have let my subconscious mull it over - alright! I'm really just trying to justify my procrastinations!!
09:04 RossC0 :D
09:05 RossC0 bbl
09:06 E_mA am i the only one that finds the F5 and F6 key thing somewhat amusing :S
09:11 MikeSeth_ not if its in emacs :D
09:12 E_mA emacs fiend =P
09:15 MikeSeth_ ftw
09:24 simoncpu goes wild
09:24 simoncpu hits everyone in the room with broken CVS branches
09:25 simoncpu prays to Mercurial for deliverance
09:26 MikeSeth_ o/~ Medicated
09:26 MikeSeth_ o/~ Drama queen
09:26 MikeSeth_ o/~ Picture perfect non-belligerence
09:26 MikeSeth_ listens to A Perfect Circle :D
09:27 MikeSeth_ Wombert: did ya hear that E_mA is gonna make $$$ off Agavi already? ;)
09:27 MikeSeth_ simoncpu: I bet you too, rather soon
09:28 Wombert simoncpu: use SVN!
09:28 Wombert MikeSeth_: O RLY?
09:28 MikeSeth_ Wombert: YA RLY
09:36 E_mE [n=E_mE@81.168.18.2] has quit [Read error: 110 (Connection timed out)]
09:43 JamieWolf [n=JamieWol@e177180125.adsl.alicedsl.de] has joined #agavi
09:46 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
09:46 _cheerios huomenta
09:50 _cheerios v-dogg going enterprise? cool :D
09:52 _cheerios on the naming, iirc, after java 1.2 came out the marketing dept. decided to call it "Java 2" (hence J2EE,J2ME etc.), and I hear now after java 1.5 (Java "5.0")/1.6 they're going back to Java again
09:55 RossC0 _cheerios: v-dogg going enterprise?
09:55 RossC0 lol - only java is 'enterprise' ?
09:55 _cheerios ... which is pretty funny now, that all those books with "Java2" on their name, on bookshelves became instantly "old". It's one way to re-sell everything again.
09:56 _cheerios RossC0 *g*
09:57 RossC0 :>
09:58 _cheerios i got so much done over the weekend. i did the db schema tweak (that nightmare 2G+ table I was talking about... trashing my disk, locking it all up), splitting it up. Performs ace now.
09:58 SunboX [n=Miranda@80.243.35.154] has joined #agavi
09:58 _cheerios Also, i noticed views in mysql are dead slow. Got rid off them too.
09:59 Wombert yawns
09:59 Wombert so tired todaxy
09:59 _cheerios sleep on the job. great test to see if you're valued.
10:09 MikeSeth_ _cheerios: told you to switch to postgres :D
10:10 _cheerios when i see some tutorials on postgres for replication setup, troubleshooting etc., i'd run tests atleast.
10:10 _cheerios all works good now, tho. so no worries for now.
10:16 _cheerios btw. how can i add logic to a cached page, that should run always (cached or not) ? A simple session check and a db call (counter).
10:18 simoncpu simoncpu: I bet you too, rather soon <-- we're still a startup with no profits yet
10:19 simoncpu *sigh*... such is life....
10:19 simoncpu :)
10:21 MikeSeth_ simoncpu: want a free idea? ;)
10:21 MikeSeth_ lolcats banner network!
10:21 MikeSeth_ then sell the clicks for ppc
10:22 Xylakant wombert: good news and bad news.
10:22 Xylakant good news first?
10:22 Wombert please
10:22 MikeSeth_ never
10:22 Xylakant wdwip.tv is agavi based.
10:23 Wombert with flash
10:23 Wombert ace
10:23 Xylakant livedate was on sunday, seems all went good
10:23 Wombert hope the actual good news is that you write up a detailed case study :)
10:23 Wombert now for the bad news...
10:23 Xylakant bad news: i could not get the sample app with soap support working
10:23 Xylakant the generated wsdl file is invalid
10:23 Wombert ah, that's not bad news at all :D
10:24 Wombert oh that's Welt der Wunder?
10:24 Wombert cool
10:24 Wombert :>
10:24 Wombert hugs Xylakant
10:24 MikeSeth_ Xylakant: neat!
10:24 Wombert let's sort your SOAP issues then
10:24 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
10:24 _cheerios cool looking site
10:25 Wombert very ace indeed!
10:27 _cheerios Wombert, can you answer my caching Q? Do I need to add a slot to the action, which is never cached, or how could this be accomplished?
10:27 Wombert oh sorry missed that
10:27 Wombert you can cache individual layers, for example
10:28 Wombert if you do that, then of course, all slots output in that layer are cached too (they're never run)
10:28 Wombert for example, you could cache the content layer, but not the outer decorator
10:28 Wombert you could also tell agavi to cache the content layer, and slots x and y on the decorator layer, but not the decorator layer itself
10:28 Wombert then the output of the slots is stored in the same cache as the other layers of the page
10:29 Wombert as an alternative, you can also set up caching rules for the actual slot action
10:29 Wombert then, agavi runs the slot as it stumbles across it, but then, once it's about to be executed, the response is pulled from it's own cache
10:29 Wombert that's slightly slower, of course, but sometimes desirable
10:29 _cheerios I'm not using caching yet for this action, but would like to use it later on (as its one of the most trafficed ones), and the feature to implement here is "recent visitors" -- which should work on the action, cached or not.
10:30 Wombert then put that information into a slot, and don't cache the whole page, just the content layer
10:30 Wombert and set the slot on a decorator
10:30 Wombert if you can't do that, use a special layout with an intermediate wrapper layer
10:31 Wombert or you use placeholders in the output and replace them when echoing the content
10:31 _cheerios ok, thanks for the tips. Needed some ways to work this in.
10:31 Wombert keep in mind though that once you define any caching rule, no matter for which layer, that the view is not run anymore
10:31 Xylakant the reason i'd love to use agavi soap support is the caching support
10:32 Wombert so what exactly is your problem, Xylakant
10:32 _cheerios Otherwise I might go as far as hack the sessionHandler with conditional action-specific logic :)
10:35 Xylakant the problem is that the wsdl-file generated from the routing.xml is invalid
10:38 Wombert oh?
10:39 Xylakant http://pastebin.ca/588104
10:39 Xylakant this is the generated wsdl file
10:39 Xylakant the problem is that it contains an item 'Response' where it should be getItemPriceResponse
10:40 Wombert can you show me the routing file
10:40 Wombert or is that with the sample app?
10:40 Xylakant it's the one from the sample app
10:40 Xylakant no changes
10:41 Wombert odd, it's perfectly fine here!?
10:41 Wombert latest agavi?
10:41 Wombert php version, libxml version?
10:41 Xylakant rev 1999
10:42 Xylakant only change is that i added a '$doc->formatOutput = true;' in the wsdlconfighandler
10:42 Xylakant to make the output more readable, but the error occurs with and without
10:43 Xylakant PHP Version 5.2.2
10:43 Xylakant libxml Version 2.6.28
10:47 Wombert interesting, formatOutput never worked for me :p
10:48 Wombert wait I have the problem
10:49 CIA-11 david * r2004 /branches/0.11/src/routing/soap/wsdl.xsl: added missing param declaration
10:49 Wombert can you try again now please
10:51 Xylakant the wsdl is fine
10:51 Xylakant it's nice to know that you're working in http://localhost/~dzuelke/_projects/agavi/branches/0.11/samples/
10:52 Wombert :p
10:52 Xylakant somehow the endpoint is hardcoded
10:52 Wombert factories.xml
10:52 Wombert I think
10:52 Wombert has to be that way IIRC
10:53 Xylakant hmm. the way you do it, yes
10:54 Xylakant you're generating the wsdl without using php code.
10:54 Xylakant some postprocessing might insert a valid location there
10:54 Wombert I do, actually
10:54 Wombert the wsdl handler does
10:55 Wombert but as we're not using the web routing there, I cannot figure out the location
10:55 Wombert remember, SOAP can be over HTTP, but doesn't have to
10:55 Xylakant it's rather rare to have soap over other channels
10:56 Xylakant it *can* be done, but i've never seen an implementation.
10:56 Xylakant anyway, the more interesting question
10:57 Xylakant how do i generate a wsdl for a complex type :)
10:57 Xylakant such as an array or an object
11:00 CIA-11 david * r2005 /branches/0.11/CHANGELOG: changelog update
11:02 CIA-11 david * r2006 /branches/0.11/CHANGELOG: fixed newlines and one ticket description (refs #526)
11:02 Wombert Xylakant: you define the complex type in your routing.xml
11:02 Wombert and then use it as usual
11:03 Xylakant ieks. that's a lot of typing.
11:03 Wombert you can have the xml schema declaration defined by a tool
11:04 Xylakant yes, indeed. too bad there are few good tools for php out there.
11:04 Wombert simply embed
11:04 Xylakant not to say 'none that i know of'
11:04 Wombert <wsdl:types>
11:04 Wombert <xsd:schema xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:tns="uri:com.myapp.wsdl.types" targetNamespace="uri:com.myapp.wsdl.types">
11:05 Wombert put that inside <configurations>
11:05 Wombert oh and
11:05 Wombert if you don't want PHP to crash all the time :p
11:05 Xylakant no recursive references...
11:05 Wombert use different prefixes for types and wsdl declarations
11:05 Wombert AND
11:05 Wombert use different namespaces
11:05 Wombert nah that works
11:05 Wombert but
11:06 Wombert targetNamespace="uri:com.myapp.wsdl" and xml:wns="uri:com.myapp.wsdl" for <configurations>
11:06 Wombert then in wsdl:types
11:06 Wombert targetNamespace="uri:com.myapp.wsdl.types" and xmlns:tns="uri:com.myapp.wsdl.types"
11:06 Wombert not same prefix, not same namespace
11:06 Wombert first one has a typo, xmlns:wns of course
11:06 Wombert then <wsdl:part name="item" type="tns:Item" /> or so
11:07 Wombert the important thing is that your wsdl declarations and your xml schema declarations are not in the same NS
11:07 Xylakant ok
11:07 Xylakant what tool do you use to generate the type information?
11:08 Wombert I write it by hand
11:08 Wombert pretty easy
11:08 Wombert oh wait
11:08 Wombert I think we used eclipse
11:08 Wombert it has an xml schema editor
11:08 Xylakant i've seen that
11:08 Xylakant hmm. my models are propel generated. maybe i could write a phing task to translate the schema
11:10 Xylakant anyway. off for food.
11:11 CIA-11 david * r2007 /branches/0.11/CHANGELOG: 'notha fix
12:03 _cheerios http://www.iunknown.com/2007/06/steve-yegge-por.html Rails ported to JavaScript
12:08 Wombert wahaha
12:08 Wombert Whenever I gave even a moment's thought to whether I needed to learn compilers, I'd think: I would need to know how compilers work in one of two scenarios. The first scenario is that I go work at Microsoft and somehow wind up in the Visual C++ group. Then I'd need to know how compilers work. The second scenario is that the urge suddenly comes upon me to grow a long beard and stop showering and make a pilgrimage to MIT where I beg Richard Stallman to let me li
12:08 Wombert http://steve-yegge.blogspot.com/2007/06/rich-programmer-food.html
12:09 _cheerios yea, that guy can write & interesting++
12:14 _cheerios i have 0.0 knowledge on inner workings of compilers.
12:15 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi []
12:15 stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi
12:17 _cheerios Situation 6: your company's projects are starting to slip. The engineers are all smart, and they are all using the latest and greatest state-of-the-art Agile Object-Oriented Software Engineering Principles and programming languages. They are utterly blameless.
12:18 _cheerios *chuckle*
12:19 Whisller [n=example@217.97.146.67] has quit []
12:20 Whisller [n=example@217.97.146.67] has joined #agavi
12:33 eremit [n=eremit@p5490EB5A.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
12:35 CIA-11 david * r2008 /branches/0.11/src/ (3 files in 3 dirs): phpdoc block fixes
12:40 _cheerios 30mins reading a single blog entry... huh huh.
12:45 simoncpu hmmm, you're a stalker, eh?
12:45 simoncpu ei, nyt nyt
12:45 simoncpu (nyt nyt here in this side of the planet
12:56 MikeSeth_ _cheerios: start with finite state machines!
12:57 Wombert anyone have the grep line to find all func declarations that do not have a preceding doc block? :p
12:59 MikeSeth_ no, but maybe I have an elisp function that does that
12:59 MikeSeth_ looks in .emacs
12:59 MikeSeth_ nope, sorry
13:02 Wombert I'll wait for impl :p
13:03 Wombert or if someone else is bored
13:04 Wombert find me all undocumented functions, vars, constants in agavi :p
13:04 Wombert functions are most important
13:07 MikeSeth_ cant phpdoc do that?
13:08 Wombert haha
13:08 Wombert good one
13:10 Xylakant ?
13:10 Whisller [n=example@217.97.146.67] has left #agavi []
13:11 Xylakant what's the problem with phpdoc? there is a flag that makes phpdoc generate an 'errror' page listing all undocumented elements.
13:22 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit ["Ex-Chat"]
13:30 Whisller [n=example@217.97.146.67] has joined #agavi
13:40 MikeSeth_ phew
13:40 MikeSeth_ completely ripped out the legacy "logic" for tagging items to a hierarchy and wrote a new model
13:41 MikeSeth_ it feels so much better when the code is shineh
13:42 ttj http://www.podtech.net/home/3290/entrepreneurs-vs-vcs-in-epic-dodgeball-showdown
13:54 Whisller [n=example@217.97.146.67] has left #agavi []
14:18 MikeSeth_ hahahahahaha
14:18 MikeSeth_ i've just found a bot account in the database
14:18 MikeSeth_ the pass on it is bukkakke
14:19 Xylakant lekker
14:26 Wombert aaah the japs
14:45 CIA-11 david * r2009 /branches/0.11/src/config/AgaviXmlConfigParser.class.php: Allow relative paths to xsd files in XML Schema Instance *schemaLocation attributes, closes #530, refs #517
14:46 eremit [n=eremit@p5490C339.dip.t-dialin.net] has joined #agavi
14:50 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
15:05 CIA-11 david * r2010 /branches/0.11/CHANGELOG: change, log, up, date
15:23 Wombert guys
15:23 Wombert I'd like to up the min PHP version to 5.1.3
15:23 RossC0 girls
15:23 Wombert is that okay with everyone
15:23 RossC0 says sure :D
15:23 RossC0 why?
15:23 Wombert well I'm asking :p
15:23 Wombert I know the usual suspects here
15:23 Wombert pokes digitarald
15:23 Wombert pokes Xylakant
15:23 Wombert pokes Xylakant
15:24 Wombert anyone still on 5.1.2 or so?
15:31 _cheerios nobody that keeps up with ze times o_O
15:31 digitarald 5.2.1
15:32 digitarald libxml Version 2.6.26
15:32 _cheerios even debian ships with 5.2.0, debian !
15:32 digitarald pokes Wombert
15:32 Wombert alrighty
15:32 _cheerios i mean, if you're behind debian stable on versions, you're... behind :p
15:32 Wombert I love it when I can justify to sit down all day and improve agavi :)
15:33 digitarald we all love that :D
15:40 Xylakant Wombert: we banned everything < php 5.2
15:41 MikeSeth_ Wombert: roger that.
15:43 Wombert kay then
15:43 Wombert will do that later
15:51 Whisller [n=example@217.97.146.67] has joined #agavi
15:52 Wombert is now known as Wombert_
15:53 Wombert_ is now known as Wombert
15:57 Wombert is now known as Wombert_
15:57 Wombert_ is now known as Wombert
15:58 SunboX [n=Miranda@80.243.35.154] has quit [Read error: 110 (Connection timed out)]
16:04 Whisller [n=example@217.97.146.67] has left #agavi []
16:10 Whisller [n=example@217.97.146.67] has joined #agavi
16:10 Whisller [n=example@217.97.146.67] has quit [Client Quit]
16:11 Whisller [n=example@217.97.146.67] has joined #agavi
16:13 Xylakant ok guys, cu
16:13 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
16:16 E_mA [n=rabbits@81.130.177.245] has quit []
16:39 digitarald [n=Miranda@200.Red-83-52-197.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
16:44 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
16:49 Wombert [n=Wombert@87.79.35.58] has quit []
16:49 Wombert [n=Wombert@87.79.35.58] has joined #agavi
17:05 eremit [n=eremit@p5490C339.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <-"]
17:21 Whisller [n=example@217.97.146.67] has left #agavi []
17:39 Whisller [n=example@217.97.146.67] has joined #agavi
17:42 CIA-11 david * r2011 /branches/0.11/src/ (2 files in 2 dirs): added support for SOAP response headers, closes #531
17:43 CIA-11 david * r2012 /branches/0.11/CHANGELOG: chglog upd
17:47 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
17:50 luke` [n=shoan@124.125.224.254] has joined #agavi
18:05 Wombert [n=Wombert@87.79.35.58] has quit []
18:11 luke` [n=shoan@124.125.224.254] has quit [Read error: 110 (Connection timed out)]
18:20 Whisller [n=example@217.97.146.67] has left #agavi []
18:58 MikeSeth [n=user@line21-134.adsl.actcom.net.il] has joined #agavi
19:14 JamieWolf_ [n=JamieWol@e177182202.adsl.alicedsl.de] has joined #agavi
19:18 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection]
19:20 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:31 JamieWolf [n=JamieWol@e177180125.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)]
19:44 Whisller [n=example@217.97.146.67] has joined #agavi
19:45 JamieWolf_ is now known as jamiewolf
19:51 kaos|work [n=dominik@xdsl-213-196-226-30.netcologne.de] has joined #agavi
19:52 kaos|work Whisller: wombert will come to help you shortly, he is eating atm
19:52 kaos|work he'll be here in 30 minutes
19:52 Whisller kaos|work: thanks
20:00 Arme[N] Ah I'm hungry
20:04 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Client Quit]
20:04 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
20:18 kaos|work is now known as Wombert
20:18 Wombert mmh
20:18 Wombert fu colloquy
20:18 Wombert is now known as Wombert_
20:19 Wombert_ is now known as kaos|work
20:27 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
20:30 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
20:30 Wombert [n=Wombert@87.79.35.58] has joined #agavi
20:36 Whisller [n=example@217.97.146.67] has left #agavi []
20:51 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
21:02 sean` [n=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
21:09 impl [n=impl@adsl-77-239-35.rmo.bellsouth.net] has joined #agavi
21:10 jamiewolf [n=JamieWol@e177182202.adsl.alicedsl.de] has quit ["Gone for a Drink"]
21:12 E_mE [n=E_mE@91.84.10.29] has joined #agavi
21:22 Wombert aaah teh impl
21:22 impl afternoon
21:22 Wombert you sure know the grep line that finds me all methods in agavi that don't have a doc block :p
21:23 impl hold onz
21:27 Wombert or if you have a way to search for that :p
21:27 Wombert I distinctively remember seeing at least one undocumented method
21:27 Wombert I gave up after textmate had spent 20 minutes searching the project
21:27 impl I'm going to use awk
21:27 Wombert probably didn't use the most optimized regex :p
21:27 Wombert wtf is awk oO
21:28 Wombert well see that's why I asked you
21:28 Wombert you're ace at these things :)
21:28 Wombert hugs impl
21:28 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["nn"]
21:31 impl lessee, what things are supposed to be docblocked
21:31 impl public/private/protected/const/function?
21:31 impl is that it?
21:32 Wombert final
21:32 Wombert static
21:32 impl I'm just going to check the next line for an instance of one of public/private/protected/const/function
21:33 Wombert remember, those that DON't have doc blocks
21:33 Wombert I was going to use a lookbehind assertion but couldn't be bothered
21:33 Wombert textmate probably doesn't support them anyway
21:33 impl like which?
21:33 Wombert mh
21:34 Wombert (?!<\A\s+\*\/\s*\n)
21:34 Wombert or so
21:34 Wombert not sure if that is a negative lookbehind
21:34 impl ?<!
21:34 Wombert right :p
21:34 impl awk doesn't support that anyway, it's POSIX
21:34 impl what's \A?
21:36 Wombert firstline
21:36 Wombert skfdjsdf
21:36 Wombert yawns
21:36 Wombert beginning of line
21:36 Wombert firstiine, zomg
21:36 Wombert shoots self
21:36 impl haha
21:36 impl okay
21:37 Wombert mh no
21:37 Wombert actually \A is beginning of subject
21:37 Wombert and doesn't give a crap about multiline
21:37 Wombert so it would be ^
21:40 impl slaps awk
21:49 MikeSeth [n=user@unaffiliated/mikeseth] has quit [Remote closed the connection]
21:55 impl Wombert: maybe I should use the tokenizer, this is getting way too many false positives
21:56 Wombert impl: settle down :p
21:56 Wombert it's not that important
21:56 Wombert don't waste your time ;)
21:56 impl 'twould be easy
21:57 impl while I'm being anti-settling, do you have any suggestions for making a SOAP layer (client) and a database layer act the same? :P
21:58 impl I'm working with this godawful thing called SugarCRM, and it exposes its database entirely via SOAP
21:58 Wombert ah
21:58 Wombert err
21:58 Wombert thing
21:58 Wombert errr
21:58 Wombert SDO
21:58 Wombert !
21:58 impl $client->get_entry_list(<session_id>, $where_clause, $order_clause, ...)
21:59 Wombert sdo sdo sdo
21:59 Wombert :>
21:59 Wombert or write your own wrapper API
21:59 impl SDO is ... Java?
21:59 Wombert http://php.net/sdo
21:59 impl Oh, stolen from Java.
22:00 impl I don't think that's going to work, the results from this API are too complex
22:00 impl :(
22:00 impl They're awful and the system barely works
22:00 impl I can either specify one field to select, or all of them, but not two
22:01 Wombert select all and filter the results? :D
22:01 impl It's soooo slowwwww
22:02 impl + I have nfc how their 'modules' are organized
22:02 impl they have one module for several tables, but somehow you only specify the module when you do the get_entry stuff
22:02 impl so it magically maps to one of the tables
22:02 impl sdjsdklfj
22:02 impl I HATE IT
22:02 impl </rant>
22:03 Wombert got it
22:03 Wombert (?<!\*/$)^\s+(public|private|protected|final|static|const)
22:03 Wombert ace
22:03 Wombert works in textmate
22:04 Wombert and quick!
22:05 impl nice
22:05 Wombert mh but I get all of AgaviAction.class.php as positive
22:05 Wombert ponders
22:06 Wombert I get EVERYTHING :p
22:06 Wombert foooo
22:06 impl continues working on tokenizer
22:07 Wombert (?<!\*\/)\n\s*(public|private|protected|final|static|const)
22:08 Wombert better
22:18 CIA-11 david * r2013 /branches/0.11/src/ (3 files in 2 dirs): missing method docs
22:22 kaos|work_ [n=dominik@xdsl-213-196-241-230.netcologne.de] has joined #agavi
22:33 Wombert [n=Wombert@87.79.35.58] has quit []
22:38 kaos|work [n=dominik@xdsl-213-196-226-30.netcologne.de] has quit [Read error: 110 (Connection timed out)]
22:47 kaos|work_ [n=dominik@xdsl-213-196-241-230.netcologne.de] has quit []
22:50 impl slaps Wombert
23:17 kaos|work [n=dominik@p508730BC.dip0.t-ipconnect.de] has joined #agavi
23:20 kaos|work [n=dominik@p508730BC.dip0.t-ipconnect.de] has quit [Client Quit]
23:59 Whisller [n=example@217.97.146.67] has joined #agavi
23:59 Whisller uhh
Day changed Tue Jun 26 2007
00:26 Whisller [n=example@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)]
00:32 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
01:30 RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)]
01:30 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
04:39 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
05:31 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
05:32 Arme[N] Huomenta!
05:33 simoncpu w00t! houmenta!
07:07 E_mE [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
07:09 RossC0 [n=lawleyr@80.4.120.163] has quit [Read error: 104 (Connection reset by peer)]
07:11 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
07:15 MikeSeth_ huomenta
07:15 RossC0 [n=lawleyr@80.4.120.163] has joined #agavi
07:15 RossC0 huomenta!
07:26 Whisller [n=example@217.97.146.67] has joined #agavi
07:26 Whisller czesc
07:28 RossC0 huomenta
07:31 v-dogg huomenta
07:42 codecop huomenta
07:44 _cheerios [i=jussiava@cs78156106.pp.htv.fi] has joined #agavi
07:44 _cheerios huomenta
07:51 f00li5h [n=f00li5h@c211-31-61-236.thorn1.nsw.optusnet.com.au] has quit ["power off"]
07:57 Wombert [n=Wombert@87.79.35.58] has joined #agavi
08:04 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Client Quit]
08:04 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
08:30 E_mE [n=rabbits@81.130.177.245] has joined #agavi
08:30 E_mE hueomenta
08:42 E_mA [n=E_mE@81.168.18.2] has joined #agavi
08:47 digitarald [n=Miranda@200.Red-83-52-197.dynamicIP.rima-tde.net] has joined #agavi
08:50 E_mE is it required to put the $ro-gen() function in the following code? <form action="<?php echo $ro->gen('login'); ?>" method="post">
08:51 E_mE because i;ve just updated to 0.11 RC5 and its broken my login
08:51 Wombert uh?
08:51 Wombert oO
08:51 Wombert how did it break
08:52 E_mE the base URL in the HTML contains http://192.168.0.8/login/
08:52 E_mE then its sending the request http://192.168.0.8/login?
08:52 E_mE incluiding the ?
08:52 Wombert does a route with the name "login" exist?
08:52 E_mE most likely im doing something wrong... but im little confused
08:52 E_mE yes
08:53 E_mE one momoent
08:53 E_mA <route pattern="^/login$" module="Default" action="Login" />
08:53 JamieWolf [n=JamieWol@e177182202.adsl.alicedsl.de] has joined #agavi
08:53 Whisller name?
08:54 E_mE ?
08:54 Wombert yeah
08:54 Wombert it needs a name!
08:54 Wombert you generate routes by their names
08:54 Whisller name="login"
08:54 E_mE oh...
08:54 E_mE i never knwe taht
08:54 E_mE :S
08:54 E_mE thank you :)
08:55 Whisller http://192.168.0.8/login/ is it your page?
08:56 Wombert does it work now
08:56 E_mE one moment
08:57 E_mE so just for clarity, when i say $ro->gen('login'); that generates a URL from the route named "login"
08:57 E_mE yay it worked :D
08:58 E_mE should i always use $ro->gen() to create my URL's for forms??
08:58 Wombert yes
08:58 Wombert you should always use gen() to generate _all_ links
08:58 E_mE what if my URL look like http://192.168.0.8/forum/viewthread/1/ .. how do i insert the 1
08:59 E_mE run a $ro->gen('viewthread')."1/"; ??
08:59 Whisller $ro->gen('name_of_route', array('param1'=>1))
08:59 Wombert using the name of the param
08:59 E_mE oh baby!! :D
08:59 E_mE what haven't you guys thought of ;)
09:00 Wombert <route name="viewthread" pattern="^/forum/viewthread/(id:\d+)/$" ... />
09:00 Wombert $ro->gen('viewthread', array('id' => 1));
09:01 Wombert of course, that sucks a bit
09:01 Wombert so
09:01 E_mA why's that?
09:02 Wombert <route name="forum" pattern="^/forum" module="Forum">
09:02 Wombert <route name=".index" pattern="^/$" action="Index" />
09:02 Wombert <route name=".thread" pattern="^/thread/(id:\d+)$" action="Viewthread" />
09:02 Wombert </route>
09:02 Wombert note the leading dots
09:02 Wombert $ro->gen('forum.thread', array('id' => 1));
09:02 E_mA ah so forum.index will gen my path
09:02 E_mA :)
09:02 E_mA following naming conventions
09:02 Wombert the important thing is that you don't have action="Index" in the first route
09:02 Wombert because you cannot anchor that route at the end, as it has children
09:03 Wombert and then you could call /forumZOMGLOLKTHXBAI and it would match
09:03 Wombert that's why the .index pattern is there
09:03 Wombert as you can also see, the module attribute is inherited from parents, no need to specify it again
09:04 RossC0 I do: <route name=".index" pattern="^(/)?$" action=".Index" />
09:04 RossC0 so that /forum and /forum/ matches to the same route
09:04 Wombert yeah
09:04 Wombert I personally don't like that, but that's just me
09:04 Wombert I rather have one and only one URL
09:04 Wombert but I can see how it's desirable
09:04 Wombert given how webservers nowadays append the slash for you
09:05 RossC0 yeah but my users may be doppers
09:05 Wombert haha
09:05 Wombert hugs RossC0
09:05 RossC0 and I can't force them to see 404's - even with ze hidden easter egg :D
09:05 E_mA thanks you too.. ive learnt something new to my array of knowledge on agavi :D
09:05 E_mA also, i think this may fix another one of my problems too ;)
09:05 E_mA if not im sure you will be pested hehe
09:07 MikeSeth_ Wombert: actually, in Apache case, it's not the webserver itself that's appending the slash, it's mod_dir or something
09:07 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Nick collision from services.]
09:07 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
09:07 Wombert MikeSeth_: DON'T PATRONIZE ME KTHXBAI
09:07 Wombert ;)
09:07 Wombert yeah you're right
09:08 RossC0 yeah Wombert
09:08 MikeSeth_ well the point is.. overrelianze on webserver magic is not good ;)
09:08 RossC0 waves a pitchfork!
09:08 Wombert WORD
09:09 MikeSeth_ I'm getting better at elisp!
09:09 RossC0 ZOMG U R SOOO DOWN MIT ZE KIDS
09:09 RossC0 elisp?
09:09 CIA-11 david * r2014 /branches/0.11/samples/pub/soap-test.php: minor fix
09:10 MikeSeth_ RossC0: emacs lisp. Every day I am one step closer to full Agavi IDE
09:10 RossC0 ah cool - don't forget your essay for agileweb
09:10 RossC0 :D
09:10 MikeSeth_ oh no i wont
09:10 MikeSeth_ but you prolly wont see it in weeks..
09:10 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
09:10 RossC0 I'm rewritting the blog next week
09:10 Xylakant hi
09:10 MikeSeth_ btw
09:10 MikeSeth_ recommended way to define global constants?
09:13 RossC0 in agavi?
09:13 MikeSeth_ yeah
09:13 RossC0 humm - xml config file?
09:13 MikeSeth_ ant then AgaviConfig::Get?
09:14 RossC0 could do - whats the use case?
09:15 MikeSeth_ data type constant exported from a model
09:15 MikeSeth_ basically Model::DATA_TYPE_FOO
09:16 RossC0 ah ok probably simplest to define it and keep it within the model
09:17 MikeSeth_ yes, but then how do I invoke it in the action code without referring to the model by class name?
09:17 MikeSeth_ doesn't like long range coupling
09:18 codecop hmm, cant get it work: i got 2 Input slots outputed in main IndexAction (defined in output_types like existing Menu), if i enter valid data in these inputs all ok i redirect to secure, but if data bad i got: Too many execution runs have been detected for this Context. I want to be able to show invalid entered datas and errors with FPF, possible?
09:18 MikeSeth_ oh screw the class constants
09:18 MikeSeth_ I'll just define()
09:20 v-dogg codecop: you have infinitely nesting layers somewhere
09:20 MikeSeth_ codecop: you probably are loading the global layout in a slotted action
09:21 codecop checking thanx
09:23 codecop by loading global layout i am changing Master.tpl to NotLoginded.tpl and output these 2 slots: Login and register in it
09:23 codecop in baseView i do $this->loadLayout('not_logined');
09:24 codecop for every action
09:26 MikeSeth_ but but but
09:26 E_mE [n=rabbits@81.130.177.245] has quit [Read error: 110 (Connection timed out)]
09:26 MikeSeth_ this isnt how you're supposed to do that at all!
09:27 CIA-11 david * r2015 /branches/0.11/ (4 files in 4 dirs): bumped minimum required PHP version to 5.1.3, closes #456.
09:28 MikeSeth_ RossC0: what's the recommended publishing format for PHP articles that include code?
09:28 v-dogg MS Word 95/97
09:28 MikeSeth_ RossC0: I'm thinking that it might be way more productive if I write short Agavi tutorials througout the day
09:28 MikeSeth_ v-dogg: you're kidding right
09:28 v-dogg :)
09:29 MikeSeth_ I was thinking something XMLish, but too much pain
09:29 Wombert Tex!
09:29 Wombert :)
09:29 codecop but what the proper way of changing Master template to say NotLogined.php template while user is not registered
09:30 Wombert [11:17] MikeSeth_: yes, but then how do I invoke it in the action code without referring to the model by class name?
09:30 Wombert fantastic question
09:30 MikeSeth_ Wombert: actually I always wanted to play with links
09:30 Wombert we had that discussion the other day
09:30 MikeSeth_ s/links/lyx/
09:30 MikeSeth_ Wombert: I went with define()s in the model
09:30 Wombert I asked if I should add _constant() or getConstant() or so to AgaviModel
09:31 Wombert so you could do $model->getConstant('NAME');
09:31 Wombert we decided not to since it's too ugly
09:31 Wombert but you can do it in your own BaseModel
09:31 MikeSeth_ too ugly
09:31 MikeSeth_ oh
09:31 MikeSeth_ ;)
09:31 Wombert right
09:31 Wombert :p
09:31 MikeSeth_ well. Yes.
09:31 MikeSeth_ I won't.
09:31 MikeSeth_ I went with defines because whenever you use a constant you've purchased a model from getModel() before, which means the defines are loaded
09:32 MikeSeth_ it's still coupling, but way lesser than if you were to bind by the class name
09:32 MikeSeth_ i wonder if there's a way to cause a fatal error if defines are not loaded.
09:32 MikeSeth_ (one could probably do that with reflection, but screw that)
09:33 kaos|work [n=dominik@87.79.35.58] has joined #agavi
09:36 MikeSeth_ holy shit
09:37 MikeSeth_ emacs tags facility works!!
09:37 MikeSeth_ wooooohoo
09:41 RossC0 MikeSeth_: RossC0: what's the recommended publishing format for PHP articles that include code?
09:41 RossC0 for blogging?
09:42 MikeSeth_ well, yeah, though I'd rather choose one format to write in
09:42 MikeSeth_ other than lyx, I cant think of anything
09:44 RossC0 hmm
09:44 Wombert haha
09:44 Wombert a colleague told me about a preprocessor directive in the StarOffice source
09:44 Wombert #define private public
09:44 Whisller [n=example@217.97.146.67] has left #agavi []
09:44 Wombert xD
09:45 MikeSeth_ uh
09:45 MikeSeth_ I once knew a guy who was very proud of himself
09:45 MikeSeth_ 'my team is prohibited from using private declarations'
09:46 Wombert wahaha
09:47 digitarald any propel Criteria specialist here?
09:48 digitarald can i make that with Criteria methods? http://pastie.caboo.se/73556
09:48 Wombert no
09:50 kaos|work MikeSeth_: you still have your agavi "abstraction layer" (for the build tool) plan ?
09:50 MikeSeth_ kaos|work: yes. I have two options on the table: dom-like and VFS-like
09:50 MikeSeth_ so far, DOM isn't looking too good
09:51 kaos|work i think the vfs plan is quite nice
09:51 codecop just how to change Master.php to say NotLogined.php in baseView while user not logined smthg like that? : $this->getLayer('decorator')->getAttribute('template', 'NotLogined');
09:51 MikeSeth_ kaos|work: yeah, but then it makes sense to write it as a standalone library and integrate it into agavi
09:51 MikeSeth_ codecop: why don't you use login action/secure action?
09:52 kaos|work i was thinking about if one could integrate that into the php streams stuff, but sadly that doesn't seem to work
09:52 MikeSeth_ why npt?
09:52 MikeSeth_ not*
09:52 codecop emm, i want on one page got Login and Register forms thats why
09:52 MikeSeth_ codecop: but if the user isnt logged in, you are not allowing them to do anything other than login/register right?
09:53 kaos|work i would like the api like this: $agavi->getModule('foo')->listActions()
09:53 kaos|work or something similar
09:53 codecop the site would have more slots outpudet i dont want to show them while user not logined
09:53 kaos|work but mapping that to fread and friends would get quite complex and difficult to read imho
09:54 MikeSeth_ kaos|work: I'll look into it in detail. Sounds like a good idea. I actually wanted a low level VFS and Agavi specific project layout over it
09:54 MikeSeth_ codecop: oh. Well, then yeah it does make sense to switch layouts
09:55 kaos|work i think it would work with the files just giving their content and everything else (the action name, supported execute* methods, etc with meta data)
09:55 codecop MikeSeth_, just if action got invalid then i got too many action execution error :/
09:55 MikeSeth_ codecop: do you have a separate 'blank' layout for slotted actions?
09:55 codecop yes
09:56 MikeSeth_ hmmm
09:56 MikeSeth_ so you want to switch *templates* not layouts?
09:56 MikeSeth_ cause basically, you should be switching layouts, removing the slots that are only available to the secure users
09:57 codecop yes just main template
09:57 MikeSeth_ (and your main decorator template action shouldn't be secure, which means you should'nt use $us->hasCredentials() in it
09:58 MikeSeth_ create another layout, switch to that. maybe even in a filter.
09:58 MikeSeth_ Wombert: you prolly can help him better than I can
09:58 Wombert mmmmmh busy atm sorry
09:58 codecop ok
09:59 MikeSeth_ is now known as MikeSeth
10:20 kaos|work MikeSeth: i just checked the streams stuff again, and one could really make it work ... by using something along the lines of stat('agavi://app_dir/module/foo'); which would return all the info about the module ... stat('agavi://app_dir/module/foo/action/Index'); would return the meta data about the action , fopen on it would just return the files contents
10:21 kaos|work listing actions/modules etc could work with dir('agavi://app_dir/module'); or dir('agavi://app_dir/module/foo/action');
10:21 MikeSeth kaos|work: kickass.
10:21 MikeSeth kaos|work: I will look into it
10:22 MikeSeth imagine how this would piss off the other frameworks ;)
10:22 Wombert subject to the usual limitations tho as it's a userland stream wrapper
10:22 kaos|work Wombert: yeah, but that's ok since that would only be local anyways
10:22 Wombert not really a problem since the default only applies to includes, not fopens
10:23 kaos|work but i think we should do a layer which is explicitly written for agavi
10:23 kaos|work and build the stream stuff on top of it
10:28 kaos|work Class-qualified method call
10:28 kaos|work $obj.::Class::meth
10:28 kaos|work wtf
10:28 kaos|work i wonder who is responsible for all that crazy stuff in perl 6
10:30 MikeSeth christians
10:30 MikeSeth :D
10:30 kaos|work haha :D
10:30 kaos|work -« (1,2,3); # (-1, -2, -3)
10:30 kaos|work (1,1,2,3,5) »+« (1,2,3,5,8); # (2,3,5,8,13)
10:31 kaos|work now thats quite cool :D
10:31 kaos|work and
10:31 kaos|work user-definable operators (from the full Unicode set) <--!
10:31 kaos|work so one could write code which only consist of strange chinese characters
10:32 Wombert how "cool"
10:32 MikeSeth dude
10:32 kaos|work doing fancy stuff (nobody understands :D)
10:32 Wombert perl is retarded on a biblical scale
10:32 MikeSeth Wombert: Larry Wall is a church goer!
10:32 MikeSeth anyhow what I wanted to say is
10:32 Wombert ZOMG RUN FOR YOUR LIVES
10:32 MikeSeth this is all a big joke, because in the end, everything is Lisp ;)
10:33 _cheerios haha @ chinese
10:34 Wombert ponders if he has lunch first, or powns soap faults first
10:34 kaos|work (MikeSeth: (you (mean (lisp is (cool)))))
10:34 Wombert something just doesn't feel right today
10:34 kaos|work or what ? :D
10:34 Wombert I think I'll go for a walk :>
10:35 kaos|work have fun getting wet then Wombert ;)
10:35 Wombert yes
10:35 Wombert bbiab
10:38 kaos|work YAY ... perl 6 supports MI
10:39 kaos|work and with that unicode operator overloading one could probably even make it look not that ugly :D
10:43 kaos|work hah, cool, with my mac i can even type all those strange characters like «» easily :D
11:21 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)]
11:22 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
11:26 Wombert yawns
11:36 RossC0 passes the coffee
11:37 RossC0 passes the custard creams
11:37 Wombert oooh lovely
11:37 Wombert hugs RossC0
11:38 RossC0 don't eat them all!
11:38 RossC0 I hope kaos|work got some
11:38 RossC0 :D
11:39 kaos|work ;)
11:42 Arme[N] hmm
11:49 Arme[N] is now known as Arme[0]
11:54 MikeSeth okay
11:54 MikeSeth trick question
11:54 Wombert gets ready
11:54 MikeSeth anything in the routing that can substitute parameter values from the request to other values?
11:54 MikeSeth e.g.
11:54 MikeSeth I have /action/?some=1&someelse=2
11:55 epaulin [n=epaulin@221.221.22.186] has joined #agavi
11:55 MikeSeth Ideally I'd like /action/foo/ and /actio/bar/ for different values of some
11:55 Wombert like pattern="^/list/(page:(\d+|all))$"
11:55 Wombert and "all" arrives as -1 ?
11:55 MikeSeth Wombert: yeah, but what I want to achieve is routing being aware of aliasing
11:55 MikeSeth e.g.
11:56 MikeSeth when I do gen(..., array('some' => 2)) the request URL contains /action/foo; and the action itself gets 2 and not bar from the routing
11:56 Wombert sure, that's possible
11:56 Wombert but you have to write a callback
11:57 MikeSeth this of course asserts that there's a final number of possible argument values.
11:57 MikeSeth Okay, will look into it :D
11:58 Wombert you can, of course, implement code that looks at a map to translate the values or so
11:58 Wombert let me know if you need any help
12:03 E_mA outlook and exchange kindly need to be SHOT!! GRR
12:04 E_mA in views, what is the equivalnt to $ro->gen()?
12:06 _cheerios ro=Routing, fetch it like eg. User
12:08 E_mA so $this->context->getRouting()
12:08 Wombert ALDKASLDJASLDJASLDKJ
12:09 Wombert I have symfony
12:09 Wombert symfony drives assholes and retards to the propel mailing list
12:09 Wombert who call themselves "admin" and insult my mother
12:09 Wombert goddamnit
12:09 Wombert changed the topic of #agavi to: Welcome to Agavi :: NOT FOR RETARDS :: latest: 0.11RC5 :: http://ohloh.net/projects/5907, please rate, stack and maybe review - AND GIVE KUDOS KTHXBAI :: http://agavi.org :: http://trac.agavi.org/milestone/0.11 :: want SVN? http://svn.agavi.org/branches/0.11/ :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: We're looking for documentation contributors :: logs at http://agavi.org/irclogs/ :: HUOMENTA!
12:09 E_mA make propel not complient with symfony =P
12:11 Wombert -have +hate
12:12 Xylakant :)
12:12 RossC0 in #propel ?
12:12 Wombert on the users list
12:13 Xylakant for every query search the whole box for an installed symphony version and forcefully delete it.
12:14 Wombert seriously, I hate it how PHP in general and symfony in special attracts teenagers and dumbasses
12:14 RossC0 Wombert - its the same in #doctrine most the q's are symfony related
12:14 Wombert uncool if you ask me
12:15 Wombert symfony guys don't clearly say "hey we're using propel and doctrine, cool projects"
12:15 Xylakant the general problem with web development is that everyone and his brother thinks he can do it.
12:15 Wombert but when it comes to support, they just tell people to go elsewhere
12:15 Xylakant well, at least me and my brother think so ;)
12:15 Wombert well that "admin" clearly thinks he's the brightest
12:16 Xylakant he is. he found a confirmed bug without searching the bugtracker.
12:16 RossC0 SYMFONY IN UR PROPEL STEALIN UR FIZZ
12:17 RossC0 <3 noob speak
12:17 Xylakant i need some food.
12:17 RossC0 sorry hax0r sp3ak
12:17 Wombert Xylakant: me too
12:17 Xylakant l33t
12:17 Wombert shall we meet for lunch
12:17 Wombert xD
12:17 Xylakant shure.
12:17 Arme[0] leaved the symfony
12:17 Xylakant meet you at the main station in about 5 hours.
12:17 Wombert nah, you come to cologne dude
12:18 Xylakant that's even closer
12:18 Wombert or is there any place that doesn't suck in between
12:18 Xylakant just that i think that cologne is about the worst town in germany
12:18 Xylakant by a large margin.
12:18 Wombert really?
12:18 Xylakant yes i do.
12:18 Wombert I like it
12:18 Xylakant sorry
12:18 Wombert not as much as Munich, but I still like it
12:18 Wombert and seriously, Berlin sucks
12:18 Xylakant yeah, i agree.
12:19 Wombert every other corner looks like a ghetto
12:19 Xylakant i only work here, i live in potsdam
12:19 Wombert it's such an ugly, poor, dirty city
12:19 Wombert well potsdam is ace
12:19 Xylakant it is.
12:19 Wombert never been there, but it's a very shiny place
12:19 Xylakant i have a nice place like 2 minutes to walk from sanssouci
12:22 Xylakant it's just that about every person i knew that liked cologne was a complete genetic failure.
12:22 Wombert ...
12:22 Xylakant you might be the exception.
12:22 Wombert swings an axe
12:22 Wombert doesn't like the "might"
12:22 Wombert swings the axe again
12:22 Xylakant did you move or are you going back to munich.
12:23 Wombert I'm going back
12:23 Wombert now quick...
12:23 Wombert quick!
12:23 Xylakant the 'might' stems from the fact that i don't really know you :)
12:23 Xylakant munich is far better than cologne.
12:23 Wombert puts the axe down
12:23 Wombert you owe me a beer
12:23 Xylakant i do.
12:23 Wombert okay then
12:23 Wombert puts the axe away
12:23 Xylakant i'll be around munic somewhere at the end of july.
12:24 Wombert I won't :p
12:24 Wombert likely ;)
12:25 E_mA im getting some strange behaviour... i've got these two routes:
12:26 E_mA <route pattern="^/reply/(threaduid:\S+?)/$" name=".createReply" module="forum" action="CreateReply" /> <!-- displays a reply input page -->
12:26 E_mA <route pattern="^/reply/post/$" module="forum" name=".reply" action="Reply" />
12:26 E_mA and in my thread view, ive got a quite reply box which has the following source code on the form:
12:26 Wombert what's the second route
12:26 E_mA <form name="replydata" action="<?php echo $ro->gen('forum.reply'); ?>" method="post">
12:27 E_mA second route actually inserts the data into the database
12:27 Wombert not good!
12:27 E_mA and then it redirects back to the thread view
12:27 E_mA ???
12:27 Wombert nah, nah, not good
12:27 Wombert create a ReplyAction
12:27 Wombert it has three views
12:27 Wombert Input, shows the initial form
12:27 Wombert Error, shows the form again on error
12:27 Wombert Success, redirects
12:28 Wombert the action only runs on post, i.e. only has an executeWrite()
12:28 Wombert where you insert the data
12:28 E_mA well on my threadSuccess.class.php i have a quick reply field
12:28 E_mA which calls replyAction.php, and if it success then it fires off to redirect
12:29 E_mA but the weird problem is that when ever i submit a quickreply, it somehow goes to the CreateReply action instead of Reply
12:29 Wombert you can nest more levels btw
12:30 E_mA what in the routing?
12:30 Wombert <route pattern="^/forum" name="forum">
12:30 Wombert <route pattern="^/reply" name=".reply">
12:30 Wombert <route pattern="^/(tid:\d+)$" name=".form" />
12:30 Wombert or so
12:30 Wombert anyway, you should really reorganize your actions
12:31 Wombert the LoginAction in the sample app works exactly the way I described
12:31 Wombert having separate actions and routes for showing the form and submitting the form is not good
12:31 Wombert because then agavi cannot know that is should refill the form, you'll have to tell it to
12:31 Wombert etc etc
12:32 E_mA ah okay.. i'll reorganise my routes
12:32 Wombert yes but also use just one ReplyAction
12:32 Wombert did you understand what I described?
12:32 E_mA but im still concerned that it found its why to createReplyAction instead of replyAction
12:32 Wombert ReplyInputVIew
12:32 Wombert ReplySuccessView
12:32 Wombert ReplyErrorView
12:33 E_mA yes, that will be fine for my main reply Input
12:33 Wombert Input shows the form
12:33 E_mA but on the bottom of my thead of posts ive got a input form too which links to the reply system
12:33 Wombert getDefaultViewName() returns "Input" if the request method is not served
12:33 Wombert which is the case on GET as you'd only have executeWrite()
12:34 Wombert well sort that action and route stuff first and then we'll look into that issue
12:34 Wombert maybe it's related
12:34 E_mA ok :)
12:34 Wombert it's much easier to fix an issue if you have a clean base to work on
12:34 E_mA ok :D thanx you
12:34 E_mA shouldn't take too long :)
12:36 _cheerios heh @ topic
12:42 RossC0 changed the topic of #agavi to: Welcome to Agavi :: NOT FOR LOUD RETARDS :: latest: 0.11RC5 :: http://ohloh.net/projects/5907, please rate, stack and maybe review - AND GIVE KUDOS KTHXBAI :: http://agavi.org :: http://trac.agavi.org/milestone/0.11 :: want SVN? http://svn.agavi.org/branches/0.11/ :: have a question? Just ask, and wait patiently, as patience is the key to happiness :: We're looking for documentation contributors :: logs at http://agavi.org/irclogs/ :: HUOMENTA!
12:42 RossC0 that better _cheerios ?
12:43 RossC0 quiet ones are welcome
12:43 E_mA Wombert: if want to have a forum.reply.delete route, i should ideally create a new action for that?
12:43 E_mA whispers previous comment!
12:45 RossC0 E_mA: delete a reply?
12:45 RossC0 or delete a post that happens to be a reply?
12:48 E_mA yes... but ive moved it into a <route name=".posts"> </route> now :)
12:50 E_mA can Actions get the route's name?
12:55 Wombert no
12:55 Wombert but you can organize actions into folders
12:55 Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"]
12:55 Wombert so the action is "Posts.Delete"
12:55 Wombert in modules/Forum/actions/Posts/DeleteAction.class.php
12:56 Wombert simply run "agavi action" and use a dot in the name
12:57 _cheerios RossC0, that "Build Scalable Web 2.0 Sites with Ubuntu, Symfony, and Lighttpd" article was a bit oddish at times. I wonder if they ever bencharmerker their choices, or just went with "this is probably faster" gut feeling, esp. putting something on /tmpfs.
13:00 E_mA Wombert: so i could create Posts.Delete in agavi action and it creates the folder kindly for me?
13:00 RossC0 _cheerios: don't be daft its a classic piece of no brains writing
13:00 _cheerios why is it in your favorites then! :D
13:00 RossC0 I've got an idea about how to scale, cause I read about it. Now I'm going to spread my ignorance and tell all other noobs how to scale
13:01 RossC0 _cheerios: why? cause I wrote it
13:01 RossC0 nah - I dunno, must have got trigger happy
13:01 _cheerios your name is Isaac Saldana? :D
13:01 RossC0 if I told you I'd have to kill you
13:02 Wombert E_mA: sure
13:02 RossC0 I'm thinking about writing an small app that auto bookmarks my delicious network links
13:02 _cheerios i read someting else on "performance" a few days back, and it was benchmarking Java vs PHP as "apples to apples".
13:03 RossC0 yeah its a miss understood area
13:03 _cheerios umm, what's the point
13:03 RossC0 people here keep asking - have I done any benchmarks
13:03 RossC0 (they were worried about using a framework)
13:04 RossC0 (retards)
13:04 RossC0 anyway, I eventually did some unscientific ones to see what effects APC and caching would have and drew a nice graph
13:05 Wombert bahaa
13:05 _cheerios agileweb article in the making?
13:05 RossC0 and you know what that ended all worries on benchmarking - no one cared about the figures it was just seeing an upward trend on a graph
13:06 RossC0 _cheerios I'm rewriting agileweb, adding some areas for fun - like my delicious network code and maybe some search stuff
13:06 MikeSeth uhh
13:07 MikeSeth what could change between RC1 and RC5 that suddenly my model can't obtain a logger manager instance?
13:07 RossC0 I need to write another article - but I read more stuff on others blogs (dzone) and think should the quality is often soo bad
13:07 MikeSeth RossC0: dzone is basically some guy hunting for links
13:08 MikeSeth every time I see Java mentioned on dzone I get nausea
13:08 RossC0 its motivated me as I don't want to churn out some more crap
13:08 RossC0 *demotivated me
13:08 Wombert MikeSeth: I think the method name changed
13:08 Wombert LoggingManager
13:08 Wombert or LoggerManager
13:08 MikeSeth Wombert: no, the method returns null
13:09 RossC0 so I thought I'd ask intelligent people - MikeSeth has volunteered so far, then I'll push for kaos|work, Wombert, Xylakant and even you _cheerios to publish something :D
13:09 Wombert use_logging false?
13:09 MikeSeth RossC0: we can make $$$ that way too
13:09 MikeSeth Wombert: no.
13:09 Wombert eww
13:10 E_mA wombert: Its working now... ;) THANK YOU EVERRRRR SO MUCH!
13:10 _cheerios pretty graphs instill faith. like agavi.org site won't, which keeps the channel here in order :)
13:10 E_mA Wombert: i didn't dought you, just wanted to understand why my problem was occuring
13:10 MikeSeth Wombert: any chance the initialization order changed ad I am running into issues because the logger manager is not initialized yet?
13:10 MikeSeth s/ad/and/
13:11 RossC0 MikeSeth: talking about $$$ - you know about links and ppc's
13:11 Wombert E_mA: :)))
13:11 MikeSeth among other things ;D
13:11 Wombert wtf is a ppc
13:11 RossC0 is there anything out there that will unobtrusively replace links with affiliate links?
13:11 Wombert MikeSeth: yes can happen
13:11 RossC0 pay per click
13:11 Wombert where do you get the LM?
13:11 Wombert in a model?
13:12 Wombert where do you get the model?
13:12 Wombert incaseofdoubt, move your stuff from initialize() to startup()
13:12 MikeSeth Wombert: oh. A global model. Lemme see.
13:12 Wombert yah but where is it used
13:12 Wombert is it used during, say, user initialization?
13:13 MikeSeth yea
13:13 MikeSeth it's a logging model
13:13 Wombert move it to user::startup()
13:13 Wombert move all from user::initialize() to user::startup :p
13:13 MikeSeth aha!
13:13 MikeSeth lemme see..
13:14 MikeSeth uhhh no it doesnt crash there
13:14 MikeSeth where is the LM initialized?
13:15 Wombert look at the compiled factories.xml
13:16 E_mA in a view the correct code for getting Routing rules is: $ro = $this->context->getRouting();
13:17 MikeSeth E_mA: the Routing object, yes, not its rules
13:17 Wombert what exactly do you need, E_mA
13:17 RossC0 E_mA: what you trying to do?
13:17 RossC0 ah Wombert - fingers faster than light!
13:17 E_mA i want to execute: $req->setRedirect($ro->gen('forum.thread.index', array('threaduid' => $threadUid)));
13:18 E_mA so it returns to the thread where it was posted
13:18 Wombert yup
13:18 Wombert now here's a tip for you :)
13:18 Wombert "agavi project" generated a base view for your project
13:18 Wombert views have an initialize() method
13:18 Wombert in there, do
13:19 Wombert $this->ro = $this->getContext()->getRouting();
13:19 Wombert and call parent::initialize() before of course
13:19 Wombert that way, you can do $this->response->setRedirect($this->ro->gen());
13:20 E_mA one mo.. boss needs help
13:22 E_mA when i execute my $req->setRedirect($ro->gen('forum.thread.index', array('threaduid' => $threadUid))); ... the address bar says: http://192.168.0.8/forum.thread.index?threaduid=2
13:22 E_mA eekk..
13:23 E_mA ignore me :D
13:23 E_mA thanks for the tip :D
13:24 _cheerios is there anything out there that will unobtrusively replace links with affiliate links? << hmmm, i'll be scared to enter any website made by RossC0 soon :)
13:24 MikeSeth _cheerios: there are hot text link services
13:24 _cheerios don't go the Snap! popup route, or any similar route, atleast. :)
13:25 MikeSeth err
13:25 MikeSeth RossC0: there are hot text link services. But they are hella annoyign.
13:26 _cheerios you should put one under some new obscure term, and instead of explaining what the term is (you can even invent the term, so everyone WILL check it), and have ads hover from there; "It seems you would like to buy a waashing machine! $599!"
13:27 RossC0 MikeSeth - well theres this site which is cool http://www.moneysavingexpert.com
13:28 RossC0 it makes all its money from replacing links with affiliate links that go to the same place - and they have no advertising
13:28 RossC0 I was thinking its a cool business model - have some unobtrusive way of doing that and inject it into the page
13:29 MikeSeth RossC0: affiliate links do exactly that. E.g. look at any porn/gambling site
13:29 MikeSeth all the exit links are affiliate links
13:29 MikeSeth every click is counted
13:29 RossC0 so all you do to monetise your site is signup to a service and add some js (like analytics.google) and then take a cut
13:29 E_mA RossC0: i use that alot.. great site :)
13:30 RossC0 brb
13:30 E_mA RossC0: that site i ment
13:31 Wombert MikeSeth: ah
13:31 Wombert did you figure it out or what
13:31 Wombert ze logger thing
13:32 MikeSeth yeah. I never realized I didnt erase the config cache
13:32 MikeSeth when I did a whole lot of other stuff showed up
13:34 RossC0 so MikeSeth - is something like that out there already?
13:48 RossC0 http://www.doolwind.com/index.php?page=11
13:48 RossC0 I'm a Doer!
13:51 Wombert Question 7:
13:51 Wombert If something needs to be done properly:
13:51 Wombert wahaha
13:52 kaos|work Your programmer personality type is:
13:52 kaos|work DLSB
13:52 Wombert DHSB
13:53 RossC0 DLTB
13:53 RossC0 not sure about the Low level
13:54 Wombert You like coding at a High level.
13:54 Wombert The world is made up of objects and components, you should create your programs in the same way.
13:54 Wombert !
13:54 Wombert :>
13:54 RossC0 hah did you put: Allow anybody in the world to program.
13:54 Wombert no
13:54 MikeSeth RossC0: pardoin, exactly what?
13:54 Wombert god please not
13:55 MikeSeth my god too much coding
13:55 RossC0 few
13:55 MikeSeth I was making coffee right now and I picked up jar of Nescafe
13:55 Wombert the instant coffee junk?
13:55 Wombert poor soul
13:55 MikeSeth and I read on the label that the cofee was "instantiated and cached"
13:56 Wombert :>>>>
13:56 RossC0 boycotting nestcafe
13:56 MikeSeth Wombert: our water cooler doesnt make water hot enough for actual coffee, and there's no other way to make it
13:56 Wombert I boycot nestle wherever I can
13:56 MikeSeth why?
13:56 Wombert ehm
13:56 MikeSeth Nestle HQ is 3 floors above me
13:56 Wombert buy a coffee machine? :p
13:56 Wombert it makes the water hot, you know
13:56 Wombert nestle rules the world
13:57 _cheerios PHSC o_O
13:57 RossC0 because they are unethical in their promotion of milk for babies in the 3rd world
13:57 Wombert they have too much power
13:57 MikeSeth Wombert: yeah, but this is the monkey office ;)
13:57 RossC0 MikeSeth: because my mrs told me to :D
13:57 Wombert hrhr
13:57 MikeSeth RossC0: I bet you think Remedia, it's Remedia who killed babies
13:57 RossC0 maybe someone should stop her?
13:57 MikeSeth Wombert: my god you must be -really- mad at Bush & CHeney then ;)
13:57 Wombert bwhahaha :>
13:57 Wombert no actually... not
13:57 Wombert well they are dicks and... mhm
13:57 Wombert but
13:57 RossC0 I'm gonna burn for that one!
14:00 Wombert gawd
14:00 Wombert should have added soap faults back when I wrote the XSL
14:00 MikeSeth adds another bot with 'bukkakke' as password to the user database
14:01 MikeSeth I wrote a cute User hack that allows API requests to authenticate with HTTP auth instead of normal authorization
14:02 MikeSeth http://bash.org/?777054
14:13 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
14:18 Xylakant bash is pure gold.
14:22 MikeSeth man
14:22 MikeSeth I threw out so much old code today
14:22 MikeSeth this was like one of the most productive days ever
14:23 Xylakant i chased down flash bug. most unproductive.
14:24 RossC0 flash bug?
14:24 Xylakant if you do a soap request from flash for a method with no parameter, it passes a wrong namespace
14:25 _cheerios when using credentials, how do you guys set custom error templates depending on what the credentials (or action) required were?
14:25 Wombert http://wdwip.tv/
14:25 Wombert powered by Agavi, RossC0
14:25 kaos|work_ [n=dominik@87.79.35.58] has joined #agavi
14:25 Xylakant so you never get to call the method
14:25 kaos|work_ [n=dominik@87.79.35.58] has quit [Remote closed the connection]
14:25 kaos|work [n=dominik@87.79.35.58] has quit [Read error: 104 (Connection reset by peer)]
14:25 Xylakant to figure that out, we needed a network trace, because you can't just dump the response from flash...
14:26 kaos|work [n=dominik@87.79.35.58] has joined #agavi
14:26 Wombert sure it's flash?
14:26 Xylakant yes.
14:26 Wombert maybe agavi generates borked WSDLs
14:26 Xylakant the request xml is borked
14:26 Wombert okay
14:26 RossC0 cool nice
14:26 Xylakant contains 'xmlns="undefined"'
14:27 Xylakant adding a dummy parameter with a default value to the method solves the problem
14:27 Xylakant you don't even have to pass the param, the fact that it exists is sufficient.
14:28 Whisller [n=example@217.97.146.67] has joined #agavi
14:28 Xylakant http://blog.elinc.ca/rod/
14:28 Xylakant for all the commodore lovers around.
14:29 Whisller hi
14:29 _cheerios oooooooooooh
14:31 Xylakant amazing piece of work. uses all modern technologies to simulate a 20+ year old interface.
14:36 _cheerios Wombert, tips on how to set different unauthorized messages when credentials returns false?
14:36 Wombert HEY _cheerios DON'T TALK TO ME LIKE THAT
14:36 Wombert :p
14:36 Wombert mh what?
14:37 E_mA I;m a programmer type: "DLTB"
14:37 _cheerios when getCredentials() returns false, it directs to default/securesuccess by default
14:38 Wombert yup
14:38 Wombert what behavior are you looking for exactly?
14:38 _cheerios add a message on what can be done about the situation, that relates to the action/credentials
14:38 Wombert to the specific situation?
14:38 Wombert wlel
14:38 Wombert hmm
14:39 _cheerios one size doesn't fit all etc. :)
14:39 Wombert hasCredentials() just returns false
14:39 Wombert so you can't know which are not existant
14:39 Wombert you could overwrite SecurityFilter
14:39 Wombert and overwrite hasCredentials()
14:39 Wombert to achieve that
14:40 Wombert i.e. then set the info on the request attribute
14:40 Wombert or you change the sec filter so it grabs that info from the action
14:40 Wombert you could even tell the security filter to ask the action which page to show
14:40 Wombert instead of always going to SecureAction
14:41 _cheerios right, forgot about the filter process. i need some UML to keep my head around agavi ;)
14:42 _cheerios maybe i should plot that down while i remember this *plots*
14:42 Wombert sec filter is the first action filter
14:42 Wombert look at the source to see what exactly it does
14:45 _cheerios i've been there many times, but i forget it just as often :)
14:46 _cheerios was there a graph on agavi internal call logic for, uh, the main things?
14:51 _cheerios i remember there was one for mojavi, but darned if i could still find it on the vast webs of the InterNet
14:52 Wombert noo no no
14:52 Wombert the internets is not a web
14:52 Wombert it's more a series of tubes
14:52 RossC0 anyway to determine what failed in secure Action ?
14:53 Wombert you mean the action that failed?
14:53 RossC0 nm - ignore me
14:53 RossC0 yeah
14:53 Wombert $request->setAttributes(array(
14:53 Wombert 'requested_module' => $container->getModuleName(),
14:53 Wombert 'requested_action' => $container->getActionName()
14:53 Wombert ), 'org.agavi.controller.forwards.secure');
14:53 Wombert that's what the security filter does
14:53 RossC0 _cheerios - use that
14:53 RossC0 :p
14:53 Wombert before forwarding to the secure action
14:54 RossC0 lovely
14:54 Wombert it does the same thing for logins (.login), so you can display a message in the login form if the user was forwarded there
14:54 RossC0 yup
14:54 RossC0 gotya
14:54 _cheerios i just forget the main things, so i forget where to look for stuff browsing /src, wasting time
14:54 Wombert the thing is
14:54 Wombert heh
14:55 Wombert when I wrote that, we didn't have containers yet
14:55 Wombert I think I'll add that
14:55 Wombert i.e. make agavi set that info on the container, too
15:02 E_mE [n=E_mE@81.168.18.2] has joined #agavi
15:13 E_mA [n=E_mE@81.168.18.2] has quit [Read error: 110 (Connection timed out)]
15:27 _cheerios Thanks, test code is working.
15:28 JamieWolf [n=JamieWol@e177182202.adsl.alicedsl.de] has quit ["Gone for a Drink"]
15:29 JamieWolf [n=JamieWol@e177182202.adsl.alicedsl.de] has joined #agavi
15:36 RossC0 [n=lawleyr@80.4.120.163] has left #agavi []
15:37 Xylakant has anyone seen this 'Notice: No file uploaded in Unknown on line 0'
15:38 Xylakant especially 'in Unknown on line 0' is particularly helpful as an error message...
15:43 Wombert session handler
15:43 Wombert or serialization
15:44 Xylakant nope. found it. php debug symbols
15:45 Xylakant how braindead can one be.
15:45 Xylakant switching error_reporting to 'all without notices' does not suprress this notice.
15:48 digitarald [n=Miranda@200.Red-83-52-197.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
15:54 _cheerios [i=jussiava@cs78156106.pp.htv.fi] has quit [Read error: 110 (Connection timed out)]
15:54 E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection]
16:48 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
16:53 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["This computer has gone to sleep"]
17:01 epaulin [n=epaulin@221.221.22.186] has quit ["Hmm... Upgrades."]
17:04 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
17:05 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Remote closed the connection]
17:06 E_mE [n=E_mE@91.84.10.29] has joined #agavi
17:22 selloso [n=sel@p54B2104E.dip0.t-ipconnect.de] has joined #agavi
17:24 splatch hello
17:25 selloso Hello everbody, I'm currently trying to use the new SOAP-Controllers and want to send not just one value with the response. I edited the rturn value of the executeSoap method in SearchEngineSpamSuccessView.class.php and also add on more value to the factories.xml. I guessed I could return an array in the vie class, but this ssems to be not correct. Could you give me a hint?
17:26 Wombert you have to define a type then
17:26 Wombert and use for the response message
17:26 selloso Hi splatch, what's goin' on? :)
17:26 Wombert or do you mean multiple return values?
17:26 Wombert good question, I never tried that ;)
17:26 Wombert let me check
17:26 selloso And i guess i have to define it in the factories.xml?!
17:27 selloso I mean both
17:27 Wombert factories?
17:27 Wombert oO
17:27 Wombert you mean routing?
17:28 selloso for instance i want to return some cd information, i request with an id and want to return artist, title and so, and i also want to return mutliple values, e.g. more than one cd.
17:28 selloso yeah, you're right, routing.xml
17:28 Wombert ah okay
17:28 Wombert well first things first
17:29 Wombert let me try multiple values
17:29 Wombert (that's not what you need if you want to return a list, but I want to test that first anyway)
17:29 Wombert have you used SOAP before?
17:29 selloso I used a quite a liitle bit ;) in connection with java an XFire
17:30 Wombert okay so you know about WSDLs, too
17:30 Wombert check app/cache/config for a file that has "wsdl" in the name
17:30 Wombert that is the WSDL agavi generated for you
17:30 selloso yeah
17:30 Wombert you'll have to run it through tidy first though :p
17:31 selloso without my changes it works fine, also with soapui :-D
17:31 Wombert ;)
17:31 Wombert okay
17:31 Wombert booh
17:32 Wombert I'm working on soap faults right now
17:32 Wombert and I messed something up
17:32 Wombert give me a couple of minutes
17:32 Wombert in the meantime, tell me how you found agavi and all
17:32 Wombert or have you been here before
17:32 selloso I give you as much as time you need. :-D
17:36 selloso Well, I develoved a software to mange your cd collections in php without any frameworks. I started this project to increase my knowledge. But than I was curious about frameworks because I made pretty good experiences with the Spring Framework. I heard about a lot frameworks, like CakePHP, symfony and so on. I surfed on the web and found also Mojavi and on the German Wikipedia there is a link to agavi in the Mojavi article.
17:37 Wombert oh :)
17:37 Wombert cool
17:37 Wombert when was that?
17:37 selloso Oh my, i guess for a couple of months, could be november 06
17:38 selloso I think Agavi is the right choice because of the community and xml for the configurations.
17:38 Wombert wow nice
17:38 Wombert :)
17:38 Wombert glad you like it
17:38 Wombert you're german, eh?
17:39 Wombert whereabouts
17:39 selloso yeah, i am
17:39 splatch selloso: oh, nothing, i readin' book
17:39 Wombert I wonder how many users don't frequent IRC or the mailing lists
17:40 selloso well, i can't tell
17:40 selloso I don't know someone else who knows agavi
17:41 selloso many people knows symfony, of course :)
17:41 Wombert eww
17:41 Wombert ;)
17:41 Wombert okay uhm
17:41 selloso As I understand, you are in the development team, Wombert?
17:42 Wombert if I add a part to the <output>, no more input arrives
17:42 Wombert wtf
17:42 Wombert yeah I am, er, well the project leader, I guess
17:42 selloso oh, I see sorry, i don't know the names, yet :)
17:43 Wombert please feel free to hang around here
17:43 Wombert we have many users from europe, and it's evening, so the channel is not too busy right now
17:43 Wombert but during the day, it is
17:43 selloso yeah, i also add one more output element and the an SoapFault exception was thrown
17:43 Wombert everyone comes here instead of doing work :p
17:44 Wombert this is very strange, I have to find out what causes this
17:44 splatch i'm from Poland :)
17:44 Wombert ah I think I know
17:44 Wombert let me check that
17:45 selloso did you mean with a news type to add another element or did you mean to add a new schema?
17:45 Wombert found the problem
17:45 selloso Hey, my mother is on holiday in poland :)
17:45 Wombert fix coming
17:45 Wombert where are you from exactly
17:46 selloso what caused the issue?
17:46 selloso I'm from Kelkheim, this is near Frankfurt
17:46 selloso what about you?
17:46 Wombert you coming to this years PHP conference?
17:46 Wombert I'm from Munich, but working in Cologne right now
17:47 splatch Wombert: when you'll have some time for site? :)
17:47 Wombert splatch: mmmh not today :p
17:47 Wombert haven't heard from darek in ages either
17:47 Wombert selloso: well I have to haxor a bit
17:47 Wombert PHP just calls the method you call remotely on the class you tell it
17:47 selloso I don't think, im' coming to the conference. is it worth to go?
17:47 Wombert that menas if you call getItemPrice, it calls Zeclass::getItemPrice
17:47 Wombert with the arguments you specified
17:48 Wombert but that means the argument names get lost
17:48 Wombert so I construct a SoapClient on the server, and call getFunctions() which gives me a list of signatures
17:48 Wombert list(float $price, float $price2) getItemPrice(string $name)
17:48 splatch Wombert: yes i know, but when you don't move he, he don't do work ;)
17:48 Wombert is the signature for multi return values
17:48 Wombert the preg doesn't catch that
17:48 Wombert selloso: if you're a student, it's cheap
17:49 selloso this is in the CallHandler, isn't it?
17:49 selloso i'm not a stundet :-D
17:49 selloso student
17:50 splatch i'm student :(
17:50 Wombert yep, exactly selloso
17:50 Wombert then you have to ask your boss to pay it :p
17:50 selloso How are you goin to fix the bug, Wombert? Could I help? :-D
17:51 Wombert nah, I got it already, thanks a lot :)
17:51 splatch school is so boredom
17:51 selloso he will certainly not pay it, becuase my php development is private only. :-D
17:51 splatch i don't know german schools but polish are sux ;)
17:51 selloso I guess you extended the preg?
17:51 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
17:53 selloso In german there is a saying: "You don't learn for school, you learn for life"
17:53 selloso :-D
17:53 selloso How many time you spend for agavi, Wombert?
17:54 Wombert oh dear
17:54 Wombert so much
17:54 splatch selloso: in poland we say - if you don't learin for schools you'll learn in army!
17:54 Wombert been part of the dev team for two years
17:54 Wombert took over leadership in late 2005
17:54 splatch from Mojavi 3 :)
17:55 Wombert nah :p
17:55 selloso did you commited the changes into svn so i could check it out or is there another possibility to get the new class?
17:55 splatch btw anyone have contact with Tyler?
17:55 Wombert illusina?
17:55 Wombert nah
17:55 selloso wtf is tyler? :)
17:55 Wombert he's been here sometimes, but I think he abandoned the project
17:56 splatch blah, Mojavi.org is up, but framework isn't done
17:56 selloso yeah, the mojavi site sucks at all... :)
17:56 splatch selloso: Tyler was lead Mojavi 4 developer
17:56 Wombert it's been like that for more than half a year
17:57 splatch selloso: yes site sux, but Mojavi 4 was great job
17:57 selloso Wombert, was the nah form "no, selloso, you have to wait for the next rc to getting the update" ;)
17:57 selloso I donno mojavi at all
17:58 splatch but Agavi some time ago got my "top PHP framework" reward
17:58 Wombert :D thanks
17:58 Wombert nah was regarding mojavi 3
17:58 Wombert I'm checking in right away
17:58 Wombert just writing a ticket for it
17:58 Wombert you know, german gruendlichkeit ;)
17:58 selloso cooool
17:58 splatch Wombert: you're doing great work, you're my master :)
17:59 splatch we need site and some additional stuff like documentation
17:59 splatch and Agavi wi'll be primier PHP framework
18:00 Wombert there you go
18:00 CIA-11 david * r2016 /branches/0.11/src/controller/AgaviSoapControllerCallHandler.class.php: fixed multi-part output messages breaking SOAP completely, closes #533
18:00 Wombert yup, splatch, definitely
18:00 Wombert okay
18:01 Wombert so that works now
18:01 selloso it's crazy, maybe i won't need the soap thing becaus i wanna use it to communicate with an rich client, based on Java, but I just wanntedt to test how it works :) i'm glad to account for bug fixing :)
18:01 Wombert but you, selloso, have to define an XML Schema type for an array
18:01 Wombert thanks for the report ;)
18:01 splatch selloso: you're writing in Java?
18:01 Wombert to return the values, return an array, without indexes
18:02 selloso okay, no problem
18:02 selloso you mean to add an schema like this example of wikipedia?
18:02 Wombert first of all, did you figure out how to return that object yet
18:02 selloso <types> <schema targetNamespace="http://example.com/stockquote.xsd"; xmlns="http://www.w3.org/2000/10/XMLSchema">; <element name="TradePriceRequest"> <complexType> <all> <element name="tickerSymbol" type="string"/> </all> </complexType> </element> <element name="TradePrice"> <complexType>
18:02 Wombert you want the CD to be an object, right?
18:02 Wombert yeah, along these lines
18:02 Wombert let me quickly write an example for you
18:03 selloso it would be great if i could return an object :)
18:03 Wombert no problem at all
18:03 selloso but i guessed that it has to be an array
18:03 Wombert I'll make a fresh routing.xml here
18:03 selloso cool thing, thanks a lot
18:03 splatch Wombert: does agavi config handlers currently supports namespaces?
18:03 Wombert splatch: yep
18:03 Wombert well
18:04 Wombert the handlers only deal with agavi namespace eleents
18:04 Wombert but
18:04 Wombert there are new AgaviXmlConfigHandlers
18:04 Wombert those get DOMDocuments
18:04 Wombert instead of ConfigValueHolders
18:04 selloso boy, i would be gald if there where a support like this for every software product
18:05 selloso man, an my english is not as good as it used to be :)
18:05 splatch Wombert: only XML configuration
18:05 splatch selloso: it's better than my ;)
18:06 Wombert this takes some time, selloso
18:06 Wombert a minute r two
18:06 Wombert *or
18:06 selloso i'm just typing to slow, i know my keyboard on work much better than this here at home :)
18:07 selloso oh, to answer the question from above: yes, i'm writing in Java
18:07 selloso and that gets me to antother question: Do you know the JAXB specification?
18:08 splatch selloso: i don't know specification but i used JAXB 2 some time ago
18:08 splatch to read Agavi configs in Java :)
18:08 selloso do you mean JaxMe?
18:08 splatch selloso: no, reference implementation from Sun
18:08 selloso ah, yeah, you'r right
18:09 selloso any,way, I wonder why there's no xml binding library for php
18:09 selloso or do you know one?
18:09 splatch selloso: i don't know but in future i want do it
18:09 splatch with php.pl members
18:09 selloso php.pl?
18:09 splatch yes, Polish PHP Community
18:10 splatch http://php.pl
18:10 selloso ah, i see
18:10 splatch i can be a lead of this organization
18:10 splatch if i'll won the election
18:11 splatch and i don't know, start or not start?
18:12 selloso yes, it's like i'm visiting a spanish website, i don't understand anything
18:12 splatch hehe
18:12 selloso but it looks great
18:13 Wombert http://cpaste.com/1304
18:13 splatch selloso: http://www.zend.com/forums/index.php?t=msg&goto=4741&S=0d30b5590cd3ef07bc84c003e​12d7c17
18:13 splatch` [n=splatch@s3.przytulski.net] has quit [SendQ exceeded]
18:13 splatch is now known as splatch`
18:13 Wombert selloso: very important here
18:13 Wombert the targetNamespace on the root element
18:13 Wombert defines in which namespace your wsdl and soap stuff is defined
18:13 selloso I just get a visit, i'll be back in 10 min.
18:14 Wombert for example, the getDiscRequest is defined in that namespace
18:14 Wombert xmlns:wns has the same value, that way, the prefix is tied to that namespace
18:14 Wombert xmlns:tns is the same as targetNamespace on <xsd:schema>
18:14 Wombert this must be different, otherwise, the SOAP extension crashes (yay PHP)
18:15 Wombert then in your code, you do
18:16 Wombert $disc = new stdClass();
18:16 Wombert $disc->name = "Queen: Greatest Hits";
18:16 Wombert $disc->label = "EMI";
18:16 Wombert $disc->year = 1984;
18:16 Wombert return $disc;
18:16 Wombert your SoapClient call then gets that object back
18:16 Wombert you can also use your own classes via the classmap, let me know when you're back, then I'll show you how
18:16 Wombert hm I'll grab dinner
18:17 Wombert brb
18:17 splatch` selloso: maybe you can write some tool for Eclipse?
18:17 splatch` blah
18:17 splatch` sorry for my english
18:19 splatch` selloso: i mean some simple plugins for Eclipse and integrate it with PHP IDE
18:19 splatch` and support Agavi integration
18:27 selloso i'm back
18:30 Wombert me too
18:31 Wombert mmmmmh chicken teriyaki
18:31 selloso guten abbo :)
18:33 selloso okay, i got the routing conf
18:34 selloso what do you mean with "xmlns:wns has the same value"? same as what?
18:34 Wombert targetnamespace
18:34 selloso ah, of course
18:35 selloso is this a bug that the soap extension crashes? just asking...
18:35 splatch` Wombert: does validators can use namespaces for i18n?
18:37 Wombert the crashing is a bug, definitely
18:37 Wombert it should at least complain
18:38 Wombert a lot of tutorials use the same target namespace for schema and wsdl definitions
18:38 Wombert but I'm not 100% if that's allowed
18:40 selloso splatch, to your question. Yeah, maybe i could write plugins for eclipse, but i don't got the time... unfortunatelly :)
18:40 Wombert splatch`: you mean namespaces to define messages per locale?
18:40 Wombert no, that's not the point of xml namespaces ;)
18:41 Wombert but of course, you can tell agavi to translate validation messages
18:42 Wombert does it work, selloso ?
18:42 Wombert I didn't test :p
18:42 selloso me, too... not yet :)
18:43 selloso but if i understood it's also possible to return models, right?
18:43 selloso or model objects?
18:43 Wombert you shouldn't do that
18:43 selloso why not?
18:43 Wombert well models carry other information besides the payload data
18:43 Wombert or
18:43 Wombert hmm
18:43 Wombert well you _could_ do it, yeah...
18:44 Wombert not sure what PHP does when it comes across properties that aren't defined in the WSDL
18:44 selloso oh, i unterstand your reasons
18:44 Wombert (otherwise, you'd be passing back the context, too!)
18:44 Wombert I think an intermediate layer for data representation is cleaner
18:45 selloso yeah, in java i would be a new POJO
18:45 Wombert also, our beloved php, in all its crappiness, doesn't bother to call __sleep() or so to figure out WHAT to return as the response
18:45 Wombert neither does it call __wakeup when it makes an instance of a class for you
18:46 Wombert and it won't call the ctor either (which is okay IMO, it's just that it doesn't call _anything_ so you can't really init the object)
18:46 Wombert sorry, should explain what I'm talking about
18:46 Wombert when you now use a classmap to map type "Disc" to "MyDiscClass"
18:47 Wombert and then on the client you make a call, and get a disc back
18:47 Wombert you don't get an stdClass, but a MyDiscClass instance
18:48 selloso yes, that's clear
18:49 selloso ah, okay, i dion#t know th stdClass
18:49 Wombert built into php
18:51 selloso ah, okay, and if you write a new class and create a new object it does have certain methods, like __call, __wakeup or__get
18:51 selloso i did'nt know, that there is a possibility to create an object without these magic methods
18:51 Wombert mmmh no
18:52 Wombert if you serialize() and object
18:52 selloso could you explain it to me, please?
18:52 Wombert and that object has __sleep()
18:52 Wombert that method can return a list of object properties that should be serialized
18:52 Wombert for example, some agavi classes are serializable
18:52 Wombert but sleep() makes sure that the context is NOT serialized as well
18:52 selloso okay
18:52 Wombert because the context holds a bazillion other objects and, well, that's stupid
18:53 Wombert likewise, when the object is unserialize()d, __wakeup is called
18:53 E_mE [n=E_mE@91.84.10.29] has quit [Read error: 110 (Connection timed out)]
18:53 selloso okay
18:53 Wombert where in agavi's case, the special contextName property is read, the context of that name is grabbed from the factory, and set again
18:54 Wombert if you want magic getter/setter features via __get(), you have to define that method on your custom class as well
18:54 Wombert by default, all complex types from soap are mapped to objects in php
18:54 Wombert but as PHP doesn't know which class to use, it uses stdClass
18:54 Wombert unless you tell it a different class via the classmap
18:54 Wombert now the problem is that when it creates an instance for oyu, it doesn't call the constructor
18:55 Wombert or __wakeup
18:55 Wombert which is bad if your objects need initialization, for example
18:55 selloso ah!!!
18:56 selloso okay, but if I write a class like CD which got the properties artist and title
18:56 Wombert yup
18:56 selloso or let's say it's amodel
18:57 selloso *a model
18:57 Wombert then you hvae to use the classmap to tell PHP to map the defined type "Disc" to class "CD"
18:57 Wombert otherwise, you get an stdClass
18:57 Wombert (which for starters isn't a problem really, but maybe you have methods on the CD class you want to use)
18:59 selloso okay, I understood it all but i donno hwere the classmap is. Do you mean the schema in the routing conf?
18:59 selloso i don#t know how tell php
18:59 selloso or where tell php
19:00 Wombert right
19:00 Wombert on the client, you do it in the new SoapClient() command
19:00 Wombert the second arg is an array of options
19:00 Wombert array('classmap' => array('Disc' => 'MyDiscClass'))
19:00 Wombert for the server, you can
19:00 Wombert a) let agavi do it for you automatically
19:00 Wombert b) define by hand
19:01 selloso yeah, i could set it in the client, but i will use a java client, so i have to set it in the sever
19:01 Wombert mmmh well
19:01 selloso but i thought agavi also takes a stdClass?
19:01 Wombert then you don't need to use it at all ;)
19:01 selloso :-D
19:01 Wombert the server doesn't really need it
19:01 Wombert not to return data
19:02 Wombert only if you accept classes for input
19:02 selloso ah, yeah, of course
19:02 Wombert you can return a FooBar instance, as long as it has the same properties as the Disc type defined
19:02 selloso but this could also be possible
19:02 Wombert yes sure, you could
19:02 Wombert a) works if your types and class names are the same, or if the class names just hav ea prefix
19:03 Wombert for instance, if type Disc maps to MyCustomDisc
19:03 Wombert and so on
19:03 selloso and how can i tell agavi to map the input to a class?
19:03 Wombert then you do this
19:03 Wombert well to do that
19:03 Wombert you have to define a complex type in the <input>
19:03 Wombert but not sure if you want that
19:03 selloso okay, the answer comes before the question, you're great, man!
19:04 Wombert all you need is a name or id for the disc, that's why it just uses xsd:string or something right now (see routing.xml I sent you)
19:04 Wombert but of course, you might want to have an addDisc method, okay?
19:04 Wombert then you define an input part, and the type is tns:Disc
19:04 Wombert easy :)
19:04 selloso yeah, of course
19:04 Wombert to get a Disc (or whatever) class on the server then
19:04 Wombert and not an stdClass
19:04 Wombert you do this in factories.xml
19:05 selloso could you give an example?
19:05 Wombert <controller class="AgaviSoapController">
19:05 Wombert <parameter name="auto_classmap">true</parameter>
19:05 Wombert <parameter name="auto_classmap_prefix">MyPrefix</parameter>
19:05 Wombert </controller>
19:06 Wombert then for type Disc, it tries to create a MyPrefixDisc object
19:06 Wombert don't use AgaviModels though, you will not be able to use the context there!
19:06 Wombert (of course you can, if you like)
19:06 Wombert you don't have to use a prefix of course
19:06 Wombert or you do
19:06 selloso mmh, cool thing!
19:07 JamieWolf [n=JamieWol@e177182202.adsl.alicedsl.de] has quit ["Gone for a Drink"]
19:07 Wombert <controller class="AgaviSoapController">
19:07 Wombert <parameter name="classmap">
19:07 Wombert <parameter name="Disc">MyDisc</parameter>
19:07 Wombert </parameter>
19:07 Wombert </controller>
19:07 selloso ahh!
19:08 Wombert agavi also supports soap headers by the way
19:08 Wombert if you need them :p
19:08 Wombert <parameter name="auto_headers">true</parameter>
19:08 Wombert will create interceptor methods automatically and set them on the request for you
19:08 selloso so the models stores also the context?
19:08 Wombert if it's an AgaviModel, yes
19:08 Wombert a model can also just implement the AgaviIModel interface
19:09 Wombert instead of extending AgaviModel
19:09 Wombert if it then has an initialize() method, that will be called, with the context as the first argument, when you call getModel() on the context
19:09 selloso so i could also use a normale object, created of a normal class to return?
19:10 Wombert sure
19:10 selloso so where is the main reason to use stdClass?
19:10 selloso i mean, the class stdClass?
19:10 selloso sorry if i'm too slow to get it :(
19:11 Wombert uh
19:11 Wombert well
19:11 Wombert scratches head
19:11 Wombert PHP's soap client creates stdClass instances for you
19:12 Wombert if it gets an object back
19:12 Wombert (soap does not carry class information)
19:12 Wombert when returning a CD on the server
19:12 Wombert then you can do
19:12 Wombert $disc = new stdClass() and so on
19:12 selloso okay, let's say i use propel
19:12 Wombert but you can also do $disc = new MyDisc()
19:13 Wombert you use propel?
19:13 Wombert oO
19:13 Wombert hugs selloso
19:13 selloso so what? ;)
19:13 Wombert okay let me test how php behaves with unknown properties
19:13 Wombert ah well nothing
19:13 Wombert I'm just a propel project lead, too :P
19:14 selloso hehe, cool
19:15 selloso so, let's say i retrieve a cd object
19:15 Wombert just a second
19:15 Wombert testing
19:15 selloso or like in the example $firstBook = BookPeer::retrieveByPK(1);
19:16 selloso it's nothing wrong to return these firstBook object in the view, rigt?
19:17 Wombert that's what I'm testing
19:17 selloso AAHH :)
19:17 Wombert yes, you can do that
19:18 Wombert or
19:18 Wombert hm hang on
19:18 Wombert yes, works
19:18 selloso another question, i've update my soapcallhander class and it still doesn't work
19:19 Wombert PHP ignores properties on the object that are not defined in the type
19:19 selloso okay
19:19 selloso thanks
19:19 Wombert do you run in debug mode or so maybe?
19:19 selloso do i have to update something else?
19:19 Wombert or in "production"
19:19 selloso i run in debug mode
19:19 Wombert if yes, switch to development or something with debug on
19:19 Wombert hmmm
19:19 Wombert what's the error?
19:19 selloso same as before
19:20 Wombert unknown product '' ?
19:20 selloso does it help if i send you the result of the soap-test-php?
19:20 selloso yeah
19:20 Wombert what change did you make to the sample app routing.xml?
19:20 selloso <configuration context="soap">
19:20 selloso <routes>
19:20 selloso <!-- SOAP calls include the name of a remote method to call. The WebserviceRouting applies patterns to this method name, not to the URL of the request. We set the request method to "read" here so executeRead() is run in the Action. -->
19:20 selloso <route pattern="^getItemPrice$" module="Default" action="SearchEngineSpam" method="read">
19:20 selloso <wsdl:input>
19:20 selloso <wsdl:part name="name" type="xsd:string" />
19:20 selloso </wsdl:input>
19:21 selloso <wsdl:output>
19:21 selloso <wsdl:part name="price" type="xsd:float" />
19:21 selloso <wsdl:part name="temp" type="xsd:float" />
19:21 selloso </wsdl:output>
19:21 selloso </route>
19:21 selloso </routes>
19:21 selloso </configuration>
19:21 Wombert careful, some IRC servers kick you if you "flood" like that
19:21 Wombert hm okay
19:21 Wombert do you have agavi installed via pear or so?
19:21 Wombert something like that?
19:21 Wombert hmm
19:21 selloso okay, thanks for your hint :)
19:22 selloso no, via zip package
19:22 Wombert and you're sure the call handler is updated? (sorry to ask :p)
19:22 selloso and i just copied the content of the file: http://svn.agavi.org/trunk/src/controller/AgaviSoapControllerCallHandler.class.p​hp
19:23 selloso myabe i should check it out completely
19:24 Wombert ah!
19:24 Wombert that's trunk
19:24 Wombert see channel topic ;)
19:24 Wombert use branches/0.11
19:24 selloso :-D
19:24 selloso okay
19:25 selloso wait a second, i check it out new
19:26 Wombert just copy the file from branches/0.11, that's fine
19:31 selloso yeah, man, it work's
19:31 selloso works
19:32 selloso have you ever tried to comine a php soap server with an soap java client?
19:33 selloso ah, now I rember your Name. It's David, right?
19:34 Wombert yup
19:34 Wombert :)
19:34 Wombert does it not work with java? :(
19:34 selloso i donno, i didn't test it?
19:34 selloso *test it!
19:36 Wombert ah okay
19:36 Wombert well given that SOAP is platform independent... :p it should work just fine
19:36 selloso but i don't have an idea why i shouldn't work
19:36 Wombert yeah
19:36 selloso exactly
19:37 selloso in the example you wrote action="Discs.Info"
19:37 selloso is there any meaning of the . ?
19:39 Wombert yup
19:39 Wombert that would run module/Blah/actions/Discs/InfoAction.class.php
19:39 Wombert helps you organize things ;)
19:39 selloso ah, i see
19:39 Wombert simply use the dot in "agavi action" (you use the command line, right?) and it does it for you
19:40 selloso okay, now i have to try if i'm able to return an object :)
19:41 selloso i use both
19:41 selloso i got an windows desktop, but i'm working on a linux server
19:41 selloso could you also explain what xmlns:yay means?
19:42 selloso this yay?
19:42 Wombert oh just a random prefix
19:42 Wombert :p
19:42 selloso ah, i see
19:43 selloso do you use an IDE for coding?
19:44 Wombert www.macromates.com
19:44 selloso aahhh, you are a maci ;)
19:45 selloso i also want to buy a mac, a macbook :)
19:45 Wombert do it
19:45 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has joined #agavi
19:45 Wombert you won't regret it, I promis
19:45 Wombert e
19:45 selloso but it's not cheap!
19:45 Wombert switching to mac was the best decision I ever made regarding computers
19:46 Wombert oh actually, it is
19:46 Wombert the macbook has a great value/money ratio
19:46 Wombert costs... what... 1100 euros?
19:46 selloso 995 in mactrade.de
19:48 selloso on mactrade.de
19:51 Wombert http://www.heise.de/resale/o/foren/go.shtml?read=1&msg_id=13008141&forum_id=1194​27
19:51 selloso oh, there is another question, but it's not concerning soap. If i wohl like to provide an API for my application, how would you solve it. For instance, it should be possible to include one php class, which you can use to say $cds->getCdsByArtist($artistId)
19:51 Wombert SOAP? :p
19:51 Wombert seriously, that's the easiest approach :p
19:52 selloso yeah, but soap is XML, and XML is... i donno the english word for "geschwätzig" ;)
19:52 Wombert $client = new SoapClent('http://yourservice.com/service.wsdl');
19:52 Wombert $cds = $client->getCdsByArtist($artistid);
19:52 Wombert verbose
19:52 Wombert well yeah but... it works :p
19:52 Wombert you want to hvae it remotely, right?
19:52 Wombert not on the same machine
19:53 selloso no, not remotely
19:53 Wombert locally?
19:53 Wombert oO
19:53 selloso the soap thing is for the communication with the java client
19:53 Wombert and you want a web interface, too?
19:54 selloso but if somone would say. Hey, the application is great, but i want to integrate in my aplication with different templates and so on
19:54 selloso yeah, the java client is only the bonus :)
19:55 selloso the java client should be used to get possibilities like "put your cd in the drive, click a button and get the cd information from musicbrainz or freedb"
19:56 Wombert k
19:56 Wombert well you saw the sample app, right?
19:56 Wombert the item price blah thing
19:56 Wombert works with the same code, on the web, and via soap
19:56 Wombert that's one of the core principles of agavi
19:57 Wombert that stuff like that works
19:57 Wombert so that would be one way to do it
19:57 Wombert just have two contexts, a "web" and a "soap"
19:58 selloso okay, i did'nt make myself clear
19:59 selloso if some still gots an php application and want to use the function of my software, but don't want to use the power of agavi
19:59 selloso maybe you'r right
19:59 selloso soap :)
19:59 Wombert ah okay
20:00 Wombert well then he has to make api calls, yeah
20:00 Wombert soap is probably the easiest because
20:00 Wombert a) you wrote it already anyway
20:00 Wombert b) php supports it
20:00 Wombert c) it requries two lines to make a call
20:00 Wombert you could write a RESTful interface or so
20:00 selloso do you have another idea?
20:00 Wombert or use xmlrpc (agavi supports that, too)
20:00 Wombert there are many possibilities, but from an ease of use standpoint, SOAP is best
20:01 selloso but it would be nice, if we would stay within php
20:01 selloso just to use php objects
20:01 selloso no xml
20:02 Wombert that also means you have to publish your entire source code
20:02 selloso yeah, that's the object
20:02 selloso the software should not run on my server
20:02 Wombert ah I see
20:03 selloso maybe this another possibility, but first of all it should work like an forum board
20:03 selloso a forum board
20:05 selloso do you have any ideas?
20:11 selloso oh, did i asked a wrong question? :)
20:11 Wombert re
20:11 Wombert no
20:11 Wombert it just...
20:11 selloso wow, splatch, are you still there?
20:12 Wombert I think you don't know exactly what you want to achieve either :p
20:12 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit ["Ex-Chat"]
20:13 selloso why do you think this?
20:14 selloso do you think it's not worth to write such an api?
20:17 Wombert nah bu
20:17 Wombert t
20:17 Wombert what exactly do you want to do
20:17 Wombert do you want to offer a software
20:17 Wombert or a library
20:17 Wombert you shouldn't try to do both
20:18 selloso yeah, iyou'r write
20:19 selloso that's all possibilities
20:19 selloso the first goal is to offer a software, that evrybody with an php5 webspace could run
20:21 selloso and maybe i will run the same software on my server, so people can regsiter and use the service
20:22 selloso i think to offer html snippets, wich someone coul include is a good idea
20:23 selloso as i read in a comment in the smarty renderer you don't love smarty at all, hu?
20:24 Wombert heh
20:24 Wombert well I actually contributed to smarty, a long time ago
20:24 selloso what happened?
20:25 Wombert uh
20:25 Wombert nothing ;)
20:25 Wombert I just realized one day that plain PHP is just as good for templates
20:25 Wombert plus smarty wasn't always as PHP5 friendly as it is today
20:26 selloso PHPTAL is a great thing, i think, especially for users whoch just know HTML
20:26 selloso or use an WYSIWYG-Editor
20:27 Wombert oh yes PHPTAL rocks
20:28 selloso it's like tapestry for Java
20:28 selloso Dou you write in Java?
20:30 digitarald [n=Miranda@62.43.145.191.dyn.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
20:31 Wombert not very often, no ;)
20:31 Wombert PHPTAL is based on TAL
20:31 Wombert http://de.wikipedia.org/wiki/Template_Attribute_Language
20:32 selloso yeah, right, there is a difference betweten tal ind tapestry
20:32 selloso okay, it's time for me to go. I thnak you very much for your support
20:34 selloso Maybe it's possible for me to integrate my knowledge for Agavi to return the favor
20:34 Wombert mh yeah I'm still sitting in ze office as well :p
20:34 Wombert sure
20:34 Wombert for example, if you have time to write docs :D
20:34 Wombert no seriously... thanks for using agavi
20:34 selloso ze?
20:35 Wombert german version of "the" :p
20:35 Wombert don't spread the word just yet, we still have to build a proper website and write excellent documentation
20:35 selloso LOL
20:35 Wombert www.djangoproject.com and www.djangobook.com are the benchmark here
20:35 Wombert and of course, feel free to come back to this channel whenever you can or want
20:35 Wombert there's a lot to learn from the conversations in here
20:36 selloso well, I hope you could learn somethin, too
20:36 selloso :-D
20:36 Wombert always!
20:37 selloso hehe, also, viel Spaß noch und man sieht sich :-D
20:37 selloso ciao, bye, whatever :-D
20:37 Wombert catch ya soon
20:38 Wombert bye :)
20:38 selloso [n=sel@p54B2104E.dip0.t-ipconnect.de] has left #agavi []
20:38 impl [n=impl@adsl-77-239-35.rmo.bellsouth.net] has joined #agavi
20:56 kaos|work [n=dominik@87.79.35.58] has quit []
20:57 Wombert [n=Wombert@87.79.35.58] has quit []
20:58 MikeSeth [n=mst@unaffiliated/mikeseth] has quit [Nick collision from services.]
20:59 MikeSeth [n=user@unaffiliated/mikeseth] has joined #agavi
20:59 MikeSeth I move that "Not for loud retards" becomes the official tag line for 1.0
21:07 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Client Quit]
21:07 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
21:07 impl Where'd that come from?
21:07 impl Or, rather, what caused you to suggest that? :p
21:08 MikeSeth the topic
21:08 impl oh, haha
21:24 Wombert [n=Wombert@p508732ED.dip0.t-ipconnect.de] has joined #agavi
21:25 impl Wombert: Did you get my memo?
21:26 Wombert yup
21:27 impl 8)
22:01 MikeSeth Uhhh
22:01 MikeSeth Wombert: poke?
22:01 MikeSeth the stuff in execution container still kinda bothers me
22:02 Wombert re
22:02 Wombert mh?
22:02 MikeSeth Wombert: I think there's some confusion over the Request object, and that's why the barf lock has to exist
22:03 Wombert what are you talking about oO
22:03 MikeSeth of course, I assert that the execution container should be completely independent of its external environment
22:03 MikeSeth was that your original vision?
22:04 Wombert mhyes
22:04 MikeSeth well maybe I am missing something here
22:05 MikeSeth why is Request used to communicate things between components? e.g. stuff sent to FPF, or controller forwarding?
22:05 Wombert eh okay
22:05 Wombert well
22:05 Wombert what does that have to do with the request data locking
22:07 MikeSeth well first of all, the Execution Container itself modifies the global Request object
22:07 MikeSeth this means that, all in all, you can't have an arbitrary number of execution containers
22:08 Wombert it modifies it?
22:08 Wombert oO
22:08 MikeSeth it is enough for one container to fail for the global request object to become corrupt
22:08 Wombert where does it do that
22:08 MikeSeth well in cases of emergency, it does
22:08 Wombert you mean that error info?
22:08 MikeSeth wait a minute
22:08 Wombert yeah that's from back when we didn't have exec containers yet
22:08 MikeSeth hmmmm
22:09 MikeSeth yep
22:09 MikeSeth so, if you have 5 nested actions, theoretically speaking
22:10 MikeSeth if action 3 fails in the container (e.g. module unavailable), then the global request object is polluted by the fail instruction to the controller
22:10 MikeSeth which means that the rest of actions would, too, fail
22:10 MikeSeth now I haven't tried this myself but this is the conclusion I make from the code
22:11 MikeSeth now that I think of it, it'll probably be the case with slots too?
22:11 MikeSeth if one slot gets a container failure, what happens to the rest of them? mmmmm
22:11 Wombert nah
22:11 Wombert it's just the info that something failed that is set
22:12 Wombert it's not used anywhere
22:12 Wombert it is just so people can pull info about what is going on
22:12 Wombert but as I said earlier today, I'll extend this so the information is set on the exec containers as well
22:12 MikeSeth but you can't! I mean, it would not make sense when you have multiple actions because you dont know which one failed
22:12 MikeSeth aha
22:13 Wombert if I have multiple _failed_ actions, then you're right, yes
22:13 MikeSeth yep.
22:13 Wombert that was essentially the problem with the old exec flow, with the action stack
22:13 Wombert see how retarded that was?
22:13 Wombert and symfony still has it
22:13 Wombert mwhaha
22:13 Wombert anyway
22:13 Wombert your suggestions, sir
22:14 MikeSeth cut off any relationship between EC and the global Request object
22:15 MikeSeth as soon as you do that, you can have Actions and Views rely on the locally passed RequestDataHolder only
22:16 MikeSeth the lock and the lock barf arent needed anymore
22:16 MikeSeth rather, the global Request object becomes the *initial* request
22:16 MikeSeth only things pertaining to that initial request (e.g. cookies) are retained in it
22:17 Wombert it doesn't work that waxy
22:17 Wombert way
22:17 MikeSeth I'm all ears
22:17 Wombert because, for instance, the FPF cannot work anymore then
22:17 Wombert container's request data is affected by validation
22:17 Wombert the global one is never touched
22:18 MikeSeth then what's the point of the lock?
22:18 Wombert also, there is a lot of sense in having the request on one side and the individual executions on the other side
22:18 Wombert the request holds what happened from outside the "black box"
22:18 MikeSeth oh, then I simply mispercieve the blurry border between the Request and its data holder
22:19 MikeSeth then again, it would still break if you would, let's say, stick another filter into the local filterchain that unconditionally executes some action
22:20 Wombert the containers that are run as a result of the dispatch() use their own request information, derived from the global one
22:20 MikeSeth strike my last. I'm wrong.
22:20 MikeSeth yeah.
22:20 MikeSeth but.. what is the point of the Request lock?
22:20 Wombert the purpose of the lock is that you cannot access the original, unfiltered, unvalidated, tainted request data from inside an action, where you should only use the request data of your container so your code is safe
22:21 MikeSeth why not just cut access to it, period?
22:21 Wombert but how
22:21 Wombert each container must pull the data before it is run
22:23 MikeSeth It doesnt happen inside the container does it?
22:23 Wombert it does
22:23 MikeSeth the container must be completely agnostic to its environment
22:23 MikeSeth at least I think so
22:23 MikeSeth but then again, this might be the very example of overdesigning
22:24 MikeSeth I mean that'd probably be a valid point in C++, but I'm not certain I'm right in case with PHP
22:24 Wombert the current system certainly isn't perfect
22:24 Wombert we can keep all these things in mind for 2.0
22:24 MikeSeth and overhauling it would break a lot of things?
22:25 MikeSeth I'm digging this all because I am writing the Request & Routing manual chapter
22:26 impl [n=impl@httpcraft/php/impl] has quit []
22:47 MikeSeth god dammit the docbook renderer is SLOW
23:43 selloso [n=sel@p54B20868.dip0.t-ipconnect.de] has joined #agavi
23:48 Whisller good night :)
23:48 Whisller [n=example@217.97.146.67] has left #agavi []
23:49 selloso [n=sel@p54B20868.dip0.t-ipconnect.de] has left #agavi []
23:55 MikeSeth [n=user@unaffiliated/mikeseth] has quit [Remote closed the connection]
Day changed Wed Jun 27 2007
00:24 impl [n=impl@adsl-77-239-35.rmo.bellsouth.net] has joined #agavi
00:26 Wombert kicks ext/soap
00:27 impl too
00:46 impl Wombert: That guy yelling at you on the Propel list is lulz
00:48 Wombert mh?
00:49 Wombert he's from azerbaijan :p that's all I know
01:15 Wombert [n=Wombert@p508732ED.dip0.t-ipconnect.de] has quit [Nick collision from services.]
01:15 Wombert_ [n=Wombert@p50873467.dip0.t-ipconnect.de] has joined #agavi
01:33 Wombert_ [n=Wombert@p50873467.dip0.t-ipconnect.de] has quit []
02:52 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Connection timed out]
04:16 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Nick collision from services.]
04:16 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
04:42 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
05:14 v-dogg huomenta
06:28 v-dogg haha, NOT FOR LOUD RETARDS
06:59 stachu it is possible to validate array of files in agavi?
07:09 _cheerios [i=jussiava@cs78156106.pp.htv.fi] has joined #agavi
07:09 _cheerios huomenia
07:50 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
08:10 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
08:21 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
08:21 MikeSeth huomenta!
08:24 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
08:35 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
08:40 _cheerios [i=jussiava@cs78156106.pp.htv.fi] has quit [Read error: 104 (Connection reset by peer)]
08:47 Wombert [n=Wombert@p50873467.dip0.t-ipconnect.de] has joined #agavi
08:53 digitarald [n=Miranda@186.Red-83-55-78.dynamicIP.rima-tde.net] has joined #agavi
09:08 _cheerios [i=jussiava@cs78156106.pp.htv.fi] has joined #agavi
09:17 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
09:18 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
09:19 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
09:23 Xylakant good morning
09:25 digitarald Good Moorning :)
09:25 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
09:25 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
09:25 MikeSeth wtf
09:25 MikeSeth why do I get dropped all the time
09:30 Xylakant the world hates you.
09:30 Xylakant sorry mate.
09:32 _cheerios how does one load a config <configuration/> into an array, by given context?
09:32 digitarald damn, php json_encode seems to ignore the specs
09:33 v-dogg php ignores specs?! can't be!1!
09:34 digitarald for real ;) ... Objects should be skipped ... but they become "[object Object]" ...
09:34 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
09:36 digitarald or is that inbetween ... weird day, i should go to bed again
09:39 _cheerios i'd like to add another rbac_extensions.xml, or a new <configuration context="y"/> within the original, but I can't find a way to load this "y" configuration.
09:40 v-dogg afaik that's done automatically
09:47 Xylakant _cheerios: when you call Agavi::bootstrap('y'); all configs with the context 'y' get loaded (and all that have no explizit context)
09:48 Xylakant sorry, wrong
09:48 v-dogg yup, those are environments
09:48 Xylakant AgaviContext::getInstance('y')
09:48 v-dogg yeah
09:48 Xylakant wrong line
09:50 Wombert agavi does that automatically, yes
09:54 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
09:57 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
10:02 Wombert [n=Wombert@p50873467.dip0.t-ipconnect.de] has quit []
10:08 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
10:12 kaos|work [n=dominik@87.79.35.58] has joined #agavi
10:13 kaos|work [n=dominik@87.79.35.58] has quit [Client Quit]
10:14 kaos|work [n=dominik@87.79.35.58] has joined #agavi
10:14 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
10:37 Wombert [n=Wombert@87.79.35.58] has joined #agavi
10:38 kaos|work < stachu> it is possible to validate array of files in agavi? <-- yes
10:58 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
12:00 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
12:00 Wombert gnnnnh
12:01 Wombert must
12:01 Wombert kill
12:01 Wombert php
12:01 v-dogg go go go
12:01 v-dogg kill the bastard
12:01 v-dogg kill'm goood!
12:01 Wombert ze soap is teh sux
12:02 Wombert sighs
12:02 Wombert why, oh why
12:07 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
12:08 Xylakant what's your problem?
12:21 digitarald can i apply number validation too an array?
12:22 digitarald ... input: photoversions[0][credits]=1&photoversions[1][credits]=2&photoversions[2][credits​]
12:22 um digitarald: You've given me 5 invalid commands within the last minute; I'm now ignoring you for 10 minutes.
12:24 v-dogg (haha)
12:24 digitarald ... ok ...
12:24 v-dogg but yes, you can iirc
12:25 digitarald ... who is um?
12:26 digitarald or ... what?
12:26 v-dogg a bot
12:26 digitarald i thought of that ...
12:27 digitarald so ... validation, group/base/provide/depends ... how?
12:28 v-dogg base="photoversion[]or_something_not_sure_you_have_to_test" + argument="something_here_too"
12:28 v-dogg :)
12:32 digitarald not sure why, he seems to change the array
12:32 digitarald because the sub array is not validated, he is not in params
12:33 E_mE [n=E_mE@81.168.18.2] has joined #agavi
12:35 E_mE good'day! :)
12:37 digitarald now i have <validator class="array" name="photoversions" required="false">
12:37 digitarald ...<argument>photoversions</argument>...</validator>
12:37 epaulin [n=epaulin@221.221.22.186] has joined #agavi
12:38 digitarald and my array has the old length afterwards but all values inside are empty arrays
12:38 Wombert wahahaha @ um vs digitarald
12:38 digitarald he ignores me ... mean bot
12:39 digitarald AgaviValidationManager is on conditional ... i try to change
12:39 Wombert you have to set the base on <arguments>
12:39 Wombert <arguments base="photoversions">
12:39 Wombert <argument>credits</argument>
12:39 Wombert I think that works
12:39 Wombert or
12:39 Wombert <arguments base="photoversions[]">
12:39 Wombert <argument>credits</argument>
12:39 Wombert the syntax is totally inconsistent and messed up and not very logical
12:39 digitarald ok, i try
12:43 digitarald works, great ...
12:43 digitarald every day a new thing to learn ... :)
12:49 Xylakant i hate project managers.
12:49 Xylakant they give tasks to the first available person, not to the one who can do it.
12:50 Xylakant and then show up with 'hey, we have a problem here, could you fix it'.
12:50 Xylakant and you're like 'wow, lets rewrite that from line one'.
12:51 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
12:57 E_mE sounds like a crap project manager Xylakant
12:57 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
12:58 Xylakant somehow they all seem to be like that.
12:59 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
13:01 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
13:02 MikeSeth damnit
13:02 MikeSeth Wombert: told you soap sux :D
13:04 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
13:04 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
13:06 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
13:06 MikeSeth crap
13:25 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Lost terminal"]
13:25 Xylakant wombert?
13:25 Wombert busy
13:25 Wombert but go ahead
13:25 Xylakant soap support and complex types - where do i place the <wsdl:types> element?
13:25 Xylakant in the routing xml
13:26 Wombert inside <configurations>
13:26 Wombert look at the logs
13:26 Wombert I wrote a tutorial for another dude lsat evening
13:26 Wombert it will help you
13:26 Xylakant Line 70: Element '{http://schemas.xmlsoap.org/wsdl/}types': This element is not expected. Expected is ( {http://agavi.org/agavi/1.0/config}configuration ).
13:30 Xylakant wombert: the problem is that i get a validation error
13:31 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Connection timed out]
13:31 Wombert it must be at the top
13:32 Xylakant interesting, thanks
13:33 Wombert xml schema cannot express an arbitrary order of elements
13:33 Wombert and xml is also not order agnostic
13:38 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
13:38 Xylakant but you can allow something like 'configuration|wsdl:types' +
13:39 Xylakant but that would allow multiple wsdl:types elements
13:39 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
13:39 MikeSeth oh dear
13:39 Wombert it allows multiple wsdl:types elements
13:39 MikeSeth earplugs are a -bliss-
13:39 Xylakant *ignorance is bliss* :)
13:40 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
13:41 _cheerios watched a video where someone mentioned "ignorance is bliss" today.
13:42 Xylakant it's a clavin & hobbes quote.
13:45 _cheerios As the method name implies you can require more than one credential or even complex combinations of credentials (eg. 'a' OR 'b' AND 'c') but this is explained in detail in another chapter (a link is going to be added later). << does this work in agavi?
13:45 E_mE Wombert: did i read somewhere that you are writing a IRC chat client in Agavi?
13:45 Wombert maybe ;)
13:45 Wombert a bot, not a client
13:46 Wombert I wrote one some time ago, but we're writing a new one once we have the time
13:46 Wombert will be an open source app for everyone to admire ;)
13:46 E_mE ah okay... looks like the kunninmindz project needs a chat service
13:47 E_mE so i was thinking of setting up an IRC server on there server and linking agavi to irc via some form ajax interface
13:47 Wombert mh might be overkill...
13:47 _cheerios Wombert, is there truth in that rbac -part from the manual? That it supports OR and AND?
13:47 Wombert eh?
13:47 Wombert for credential?
13:47 Wombert s
13:47 Wombert yeah
13:47 _cheerios ye
13:48 Wombert return array('cred1', 'cred2')
13:48 E_mE well, i was thinkin that the Client would be apart of a website/agavi project
13:48 Wombert either cred1 or cred2 required
13:48 E_mE not just for the chat
13:48 Wombert return array('cred1', array('cred2', 'cred3'))
13:48 Wombert cred1 or (cred2 and cred3) required
13:48 Wombert it could be the ohter way round tho
13:48 Wombert i.e. first level is and and second is or
13:48 Wombert but
13:48 Wombert headache
13:48 _cheerios does that make any sense
13:48 Wombert nap =>
13:49 _cheerios i'll test. oddish oddities.
13:51 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
14:00 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
14:04 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
14:06 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
14:08 _cheerios is it me, or is "a OR b" not possible; only "a AND b", or "a OR (b AND c)"?
14:10 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
14:20 Xylakant wombert: soap support: can i enforce a binding style that is different from 'rpc'?
14:20 Xylakant ie: document/wrapped
14:24 _cheerios feels hasCredentials() is a few checks too short for AND/OR support
14:32 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
14:34 kaos|work Xylakant: yes
14:35 kaos|work <routing class="AgaviSoapRouting">
14:35 kaos|work <parameter name="wsdl_generator">
14:35 kaos|work <parameter name="body">
14:35 kaos|work <parameter name="use">encoded</parameter>
14:35 kaos|work <parameter name="encoding_style">...</parameter>
14:35 kaos|work </parameter>
14:35 kaos|work in your factories.xml
14:36 kaos|work err
14:36 Xylakant ok, thanks
14:36 kaos|work binding->style
14:36 kaos|work needs to be used as well
14:36 kaos|work (binding is on the same level as body)
14:37 kaos|work i don't think you need to change the encoding style at all
14:37 kaos|work just the binding style
14:37 kaos|work and the use parameter
14:38 Xylakant changes nothing
14:39 kaos|work hmm, then you need to wait for wombert :<
14:39 Xylakant seems this is hardcoded in the xsl file
14:41 kaos|work <routing class="AgaviSoapRouting">
14:41 kaos|work <parameter name="wsdl_generator">
14:41 kaos|work <parameter name="soap">
14:41 kaos|work <parameter name="binding">
14:41 kaos|work <parameter name="style">document</parameter>
14:41 kaos|work </parameter>
14:41 kaos|work works fine here
14:42 kaos|work <binding name="..." type="wns:...">
14:42 kaos|work <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>;
14:42 kaos|work is the resulting part in the wsdl here
14:44 Xylakant figured that out too.
14:44 kaos|work i have no clue about the encoding types, isn't that enough ?
14:44 Xylakant you need to place the <parameter name="body"> and <parameter name="binding"> tags inside the <parameter name="soap"> to have any effect
14:45 kaos|work uh, yeah, sorry, my fault
14:45 Xylakant that's why your first example didn't work.
14:45 kaos|work removed one line to much
14:45 Xylakant np, it pointed me to the right location
14:45 kaos|work we definitly need some kind of documentation so urgently :s
14:46 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
14:46 MikeSeth _cheerios: hasCredentials() is quite agnostic to the type of checks you perform. It's primary design purpose is to be fed whatever getCredentials() returns
14:48 Xylakant kaos: once i figured that out i'll write a basic chapter about soap support. i just need to get this done and quite frankly, i'm wrestling with php's soap support
14:49 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
14:49 Xylakant it just allows for the most basic stuff, relies on encoding literally noone uses any more (rpc/literal) and has no standard way of wsdl autogeneration
14:49 Xylakant it's a royal pita.
14:52 kaos|work yeah, i know
14:54 Xylakant i know that wsdl autogeneration is hard in loosely typed languages, but as much as i hate to say it, even rails has found a way.
14:54 kaos|work yeah, but even pear:soap has such a thing
14:54 Xylakant there are like 5 different solutions for php out there, none of them complete
14:55 Xylakant pear:soap borks on document/wrapped as well.
14:56 Xylakant instead of finishing one thing, everybody starts his own. welcome to the php world.
14:56 _cheerios don't code with strangers *g*
14:56 Xylakant NIH
14:57 Xylakant writing a webservice with xfire is so easy and fast, even though i need to compile that stuff for every iteration.
14:58 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
15:01 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
15:02 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
15:04 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
15:11 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
15:11 MikeSeth whats my quit message?
15:11 MikeSeth god damnit
15:13 kaos|work (Read error: 104 (Connection reset by peer))
15:13 kaos|work you need more beer for your connection ;)
15:14 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
15:14 Xylakant lol
15:16 digitarald [n=Miranda@186.Red-83-55-78.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
15:18 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
15:18 MikeSeth WHY AM I GETTING KILLED?!
15:20 Xylakant i told you, the world hates you.
15:20 Xylakant accumulated too much bad karma during the last week.
15:21 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
15:21 Xylakant wombert?
15:27 _cheerios quit bbiab
15:27 _cheerios [i=jussiava@cs78156106.pp.htv.fi] has quit ["bbiab 4 reeeeel"]
15:27 kaos|work Xylakant: he's still napping
15:28 kaos|work what do you need ? :)
15:30 Xylakant returning a complex type does not work for me
15:31 kaos|work what exactly doesn't work
15:31 Xylakant actually, returning a simple type does not work either.
15:31 kaos|work O_o
15:32 Xylakant strange enough, the sample app is just fine,
15:33 Xylakant somehow i always get the result cast to an int
15:33 Xylakant that's weird
15:34 Xylakant this is my route: http://pastebin.ca/592063
15:35 Xylakant this is the view: public function executeSoap(AgaviRequestDataHolder $rd)
15:35 Xylakant {
15:35 Xylakant return 'test';
15:35 Xylakant }
15:36 Xylakant and the result is http://pastebin.ca/592070
15:36 Xylakant which is sort of unexpected.
15:37 kaos|work hu O_o
15:37 kaos|work is that document/literal ?
15:38 Xylakant no, i went back to the most basic config
15:39 Xylakant http://pastebin.ca/592076
15:40 kaos|work can you show me the result of soapClient->__getFunctions
15:40 Xylakant hang on, wsdl caching on php's side maybe.
15:40 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
15:41 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
15:43 Xylakant yeah. much better.
15:43 Xylakant sigh, sorry for the confusion
15:57 E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection]
15:58 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:00 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
16:00 Arme[N-1] is now known as Arme[N]
16:02 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Client Quit]
16:02 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:04 Xylakant cu guys
16:04 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
16:10 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
16:12 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:16 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Client Quit]
16:16 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
16:20 Whisller [n=example@217.97.146.67] has joined #agavi
16:20 Whisller czesc
16:50 Whisller Can you tell me something about request headers in soap - in Agavi? Wombert said me we can set a config flag, but where?
16:52 Wombert ah no need to do that
16:52 Wombert "auto_headers" defaults to true
16:53 Wombert if your WSDL defines headers for a SOAP operation, Agavi will process them automatically
16:53 Wombert they are then availalbe in the request, just like http headers are for normal web requests
16:53 Wombert i.e. $rd->getHeader('name');
16:54 Whisller ok :)
16:54 Whisller I must write about it
16:56 Whisller So after created wsdl agavi will automatically add headers(to request) defined in wsdl?
16:57 Wombert yes, but remember that agavi generates the wsdl for you
16:57 Whisller mhm yes
16:57 Wombert basically, all you have to do is add
16:58 Whisller then if I want use soap in agavi I just must add route in routing and class in module :> else will do agavi
16:59 Wombert <soap:header message="myprefix:headerMessage" part="theheader" /> to <wsdl:input>
16:59 Wombert no need for a class
16:59 Wombert you define a route
16:59 Wombert where the pattern is the name of the soap method
16:59 Wombert like getProductPrice
16:59 Wombert then inside <route> you add annotations for the wsdl generation
16:59 Wombert like in the sample app
16:59 Wombert from that, agavi generates a wsdl
17:01 Whisller ok
17:09 Whisller "Support XML namespaces" - I can add one config to other config file in xml?
17:11 Whisller ok i have it
17:12 Whisller But is it in rc5?
17:12 Wombert xml namespaces?
17:12 Wombert yes
17:13 Whisller ok
17:13 Wombert http://trac.agavi.org/browser/tags/0.11.0RC5/CHANGELOG
17:13 Whisller mhm
17:13 Whisller :)
17:20 epaulin [n=epaulin@221.221.22.186] has quit ["Hmm... Upgrades."]
Log closed Wed Jun 27 17:28:39 2007
Log opened Wed Jun 27 17:28:53 2007
17:28 Chuckwalla [n=chuckwal@static.88-198-118-14.clients.your-server.de] has joined #agavi
17:28 Irssi: #agavi: Total of 14 nicks [0 ops, 0 halfops, 0 voices, 14 normal]
17:28 Irssi: Join to #agavi was synced in 3 secs
17:28 kaos|work test
17:44 Arme[N] it works! cheeeeeerrrrrrssssss
17:44 Arme[N] :P
17:44 kaos|work :p
17:45 Arme[N] oops http://www.wired.com/techbiz/people/magazine/15-07/ff_hansreiser
17:50 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
17:57 stachu kaos|work: how? how i should configure validators file?
17:57 Whisller I send news! heh We will see what they will do with them ;)
17:59 stachu now i have 5 validators http://phpfi.com/245313
18:04 kaos|work <arguments base="photo[]">
18:04 kaos|work <argument></argument>
18:04 kaos|work </arguments>
18:04 kaos|work then the photos parameter needs to be an array
18:08 stachu thanks
18:09 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
18:13 stachu now it looks better
18:19 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
18:39 digitarald [n=Miranda@62.43.136.232.dyn.user.ono.com] has joined #agavi
18:42 Whisller [n=example@217.97.146.67] has left #agavi []
19:16 splatch` hello
19:54 JamieWolf [n=JamieWol@e177186226.adsl.alicedsl.de] has joined #agavi
20:03 Whisller [n=example@217.97.146.67] has joined #agavi
20:16 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit [Read error: 110 (Connection timed out)]
20:28 Wombert [n=Wombert@87.79.35.58] has quit [Read error: 110 (Connection timed out)]
20:30 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi
20:33 JamieWolf [n=JamieWol@e177186226.adsl.alicedsl.de] has quit ["Gone for a Drink"]
20:34 Wombert [n=Wombert@87.79.35.58] has joined #agavi
20:38 selloso [n=sel@p54B20626.dip0.t-ipconnect.de] has joined #agavi
20:38 selloso hey what's up?
20:39 Wombert evening
20:39 v-dogg good evening
20:39 v-dogg first time here?
20:40 Wombert he was yesterday
20:40 Wombert walked him through soap
20:40 Wombert imagine that
20:40 Wombert he drops by
20:40 Wombert says how cool agavi is
20:40 Wombert and that he's playing with soap support
20:40 selloso yeah, that's right
20:40 Wombert I wonder how many of our users don't frequent IRC or the lists
20:41 selloso and i'm goin to develop a little website in connection with agavi to getting familiar with
20:41 Wombert kicks ext/soap
20:42 v-dogg Wombert: do you have any idea how many people subscribes agavi-users?
20:42 Wombert let me see
20:42 v-dogg selloso: good good
20:42 v-dogg and welcome
20:42 Wombert to be honest v-dogg
20:42 Wombert I get notification mails
20:42 MrJeep I'm wondering something...
20:42 Wombert and I'm not 100% sure but
20:42 MrJeep by the way, hi everyone
20:42 Wombert I think the number of unsubscribers exceeds that of the subscibers
20:42 Wombert but that's mainly because I carried all old subscribers over
20:43 Wombert some of which probably don't use agavi anymore, so they eventually unsubscribe
20:43 v-dogg ok
20:43 Wombert 68 for users@
20:43 Wombert 66 dev@
20:44 Wombert 33 announce@
20:44 Wombert 21 tickets@
20:44 Wombert 28 commits@
20:44 Wombert but
20:44 Wombert got to grab pizza
20:44 Wombert be right back
20:44 Wombert shoot, MrJeep
20:45 Wombert and stay around, v-dogg, so I can talk to you :p
20:45 MrJeep when I load a list of record using let's say, SomethingPeer::doSelect(..) is it better to transform each records into an array using toArray, or just pass the "normal" array to the template
20:45 selloso have you ever thougt about a message board?
20:45 v-dogg Wombert: something important?
20:45 Wombert nope
20:45 v-dogg I'm on my way to bed :)
20:45 Wombert just want to enjoy some weirdness
20:45 v-dogg hah
20:45 Wombert care to explain to selloso why we don't have forums
20:45 Wombert :)
20:46 MrJeep i guess I'm not very clear hehe
20:46 v-dogg selloso: agavi used to have a forum but we (almost) all agreed that it does us no good
20:47 MrJeep $this->setAttribute('users', UserPeer::doSelect($c)) VS foreach (UserPeer::doSelect()) { $array[] = $user->toArray())} and then this->setAttribute
20:47 selloso okay, and then you formed the chat?
20:48 v-dogg selloso: most forums suffer from noobs-answering-noobs -syndrome when the more active people use mailing lists and IRC
20:48 kaos|work MrJeep: passing the propel objects to the view is perfectly ok
20:48 MrJeep ok :)
20:48 kaos|work v-dogg: selloso: most forums suffer from noobs-answering-noobs -syndrome when the more active people use mailing lists and IRC <-- and it would mean another "channel" each of us needs to check for new questions, etc
20:49 v-dogg yup
20:49 kaos|work the mailing lists are a perfect forum replacement
20:49 kaos|work they solve exactly the same problem, everyone gets to read your question and can possibly answer
20:51 selloso but i think, that people are kinda quenched to submit an email list coz the most people know board and how to use it... just thinking...
20:52 v-dogg selloso: if someone really really really wants to use a web forum instead of the mailing list (i.e. can't be bothered) there's always http://www.symfony-project.com/forum/ :p
20:53 selloso hehe, great answer
20:53 E_mE [n=E_mE@91.84.10.29] has joined #agavi
20:54 E_mE whats this forward() function i see mentioned from time to time?
20:54 v-dogg we'd like to think that agavi is a framework for professionals so we don't feel we should cater for lazy-ass noobs ;)
20:55 kaos|work E_mE: forward has been removed some (long) time ago
20:55 E_mE ?!?!!??!?!
20:55 E_mE im just reading the atrical about FPF and it mentioned it
20:56 v-dogg where?
20:56 E_mE trac
20:56 v-dogg is there a big red text saying the info might be out-dated?-)
20:56 selloso okay, okay, i'm very postive about the mailing list, okay? ;)
20:57 kaos|work v-dogg: CAN'T BE !
20:57 kaos|work And How Do I Install It?
20:57 kaos|work Just make sure you have these two lines in filters.ini:
20:57 kaos|work [FormPopulationFilter]
20:57 kaos|work class = "FormPopulationFilter"
20:57 kaos|work xD
20:57 v-dogg muahaha
20:57 _cheerios heh
20:57 kaos|work E_mE: forward did an internal redirect to another action
20:58 selloso i'm not ver familiar to the IRC syntax. How can I speak to one person, you know... i mean this prefix
20:58 v-dogg selloso: good boy, have a biscuit :)
20:58 E_mE kaos|work: ah okay.. :) ... does the FPF automatically work?
20:58 kaos|work E_mE: if its enabled, yes
20:58 v-dogg selloso: it's just normal text but most irc clients autocomplete the nick when you press TAB
20:58 kaos|work selloso: which client do you use ? usually its /query nick
20:58 E_mE kaos|work: woooo too easy :D ... me will test
20:59 selloso i'm using pidgin
20:59 v-dogg /query is for private messages
20:59 kaos|work How can I speak to one person, you know <-- would qualify as a query for me
21:00 v-dogg me too, without "i mean this prefix" :)
21:00 Whisller [n=example@217.97.146.67] has quit [Read error: 113 (No route to host)]
21:00 kaos|work eh, ah, uh, oh, maybe ... :D
21:00 v-dogg :)
21:01 kaos|work hmm, we definitly need to clean up the wiki
21:01 v-dogg hear hear
21:01 kaos|work or rather just erase it complete :D
21:01 kaos|work -ly
21:02 kaos|work it'd just that neither wom or me have any time for such stuff atm :<
21:02 _cheerios put a proper wiki up, rather :)
21:02 v-dogg it's just that wiki is such a crappy way to write documentation
21:02 _cheerios and closed wikis, i wouldnt call them very useful wikis at all.
21:03 kaos|work could we have another use for a wiki except documentation (i'm trying to find one atm, but can't think of any reason to keep it at all)
21:04 kaos|work except chinese spam bots
21:04 Wombert re
21:04 impl [n=impl@adsl-77-239-35.rmo.bellsouth.net] has joined #agavi
21:04 v-dogg hey mate, wanna share your pizza?
21:05 E_mE my FPF is creating an exception
21:05 E_mE here is one of the errors:
21:05 E_mE Form Population Filter could not parse the document due to the following errors:
21:05 E_mE Line 41: Entity 'nbsp' not defined
21:05 v-dogg E_mE: &nbsp; is not xml
21:05 v-dogg use &#160; instead
21:06 E_mE i don't know which XML file its refering too
21:06 _cheerios funny
21:06 E_mE An exception of type AgaviParseException 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.
21:07 E_mE im trying to send a POST request and just switched on FPF and its hurting
21:07 impl bling bling
21:07 v-dogg grep -R -e 'nbsp' *.php
21:07 E_mE ah
21:07 impl E_mE: You can also use dom_resolve_externals
21:07 impl but that is slowcat
21:07 impl as it has to fetch the DTD for every request
21:08 v-dogg or parse_xhtml_as_xml=false
21:08 v-dogg but it also has downsides
21:09 Wombert hugs v-dogg
21:09 Wombert still eting pizza
21:09 Wombert impl: need you
21:09 impl yessir
21:09 Wombert selloso: will explain forums in a bit
21:09 Wombert but first
21:09 Wombert finish pizza
21:09 Wombert hugs impl
21:09 E_mE v-dogg: why would you want to parse the pages as XML??
21:10 impl You're missing an awful lot of pronouns and articles
21:10 impl =D
21:10 v-dogg E_mE: first time using fpf, aren't you?-)
21:11 E_mE yes
21:11 v-dogg that's exactly what it does - it parses the page as xml (or as html if you tell it to, but xml is better)
21:12 E_mE v-dogg: do you place the parse_xhtml_as_xml in <parameters> in the global_filters.xml ?
21:12 v-dogg yup
21:13 v-dogg <parameter name="parse_xhtml_as_xml">false</parameter>
21:13 E_mE :D yay... lets see what happens now :o
21:13 v-dogg for <filter name="FormPopulationFilter" class="AgaviFormPopulationFilter" enabled="true" >
21:13 v-dogg you need to have valid (x)(ht)ml of it to parse
21:14 v-dogg otherwise it'll barf
21:14 impl (good way to validate your syntax as you go :P)
21:14 E_mE BLOODY hell.... WOW!
21:14 E_mE it works perfectly :D
21:15 v-dogg WOW
21:15 v-dogg MOM
21:15 E_mE what if in a project you wanted to have FPF for both XML and XHTML..
21:15 E_mE im guessing you can manual alter the setting at runtime..
21:16 v-dogg you might but there's no need to really
21:16 v-dogg just use valid xhtml without umlauts or other html entities
21:16 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["nn"]
21:16 v-dogg and it can be parsed as xml
21:17 v-dogg I gotta hit the sack now (or an hour ago)
21:17 impl Night
21:17 E_mE so im not allopwed to use &nbsp; at all to be true XML
21:18 impl It's XML, you just need to definite it as an entity using a DTD
21:18 v-dogg laterz omg lolz kthxbai
21:18 v-dogg E_mE: you can use &#160;
21:18 impl [I guess it was an hour ago]
21:18 E_mE bye night birds :)
21:18 E_mE thanx for your help :)
21:18 E_mE time for a game of risk :)
21:20 Wombert E_mE: XHTML is XML
21:23 E_mE Wombert: really?? i must read some more on such subjects
21:24 E_mE so does the DTD kind of define variables for you such as &nbsp;
21:24 splatch` well...
21:24 splatch` i try to hack PHP IDE
21:24 Wombert yes, those entities are defined in xhtml
21:24 selloso hey, great to see you again splatch
21:24 splatch` and it isn't hard
21:24 Wombert essentially, xhtml is html, but as well-formed xml
21:25 splatch` hello selloso :)
21:25 Wombert being xml, it can be machine parsed more easily
21:25 impl PHP IDE, for Eclipse?
21:25 splatch` yes
21:25 Wombert about the forums, selloso
21:25 selloso what do you wanna hack, splatch?
21:25 impl Eclipse is pretty extensible
21:25 splatch` i can add my extension to project builder
21:25 Wombert the reason is simple
21:25 selloso yes, wombert?
21:25 Wombert if you need help, you go to the forums
21:25 E_mE learn something everyday, thanx Wombert :D
21:25 splatch` and get all Agavi actions
21:25 splatch` etc
21:26 Wombert as your knowledge increases, you go to the forums less and less often, until you eventually don't use it anymore
21:26 Wombert except for a couple examples, i.e. those who have the time and dedication to help newbies on the forums, this means as a consequence that the quality of support on a forum is relatively low
21:26 splatch` selloso: i want add my indexer to check references between actions and views
21:26 splatch` to made Agavi development easier :)
21:26 Wombert because many newbies without a clue help other newbies without a clue
21:27 Wombert many answers a wrong, and many questions remain unanswered
21:27 selloso okay, the consequnce si to increase the quality of the documentation
21:27 Wombert a mailing list, in contrast, requires sign-up, and after that, it's a passive process
21:27 Wombert the email comes to you, automatically
21:27 Wombert which means even the skilled people get the mails, and might answer
21:27 impl plus
21:27 impl our forums were always getting spammed with Cialis ads
21:27 Wombert because I have to take action myself and go to the forums
21:28 Wombert and look through all threads to see if I can help
21:28 splatch` selloso: we can add some support for Propel etc
21:28 Wombert and then write areply
21:28 splatch` but this maybe in future
21:28 Wombert I don't have time for that, and many others don't either
21:28 selloso yeah, but the sum of emails might grow and grow
21:28 Wombert yes, that's why there's that thing called threads :p
21:28 Wombert we've made the same experience for propel
21:28 splatch` Agavi forum?
21:30 Wombert not to mention it keeps the idiots away
21:30 selloso okay, i'm up to accept this :-D
21:30 Wombert I really don't care about people who are too stupid to sign up for a mailing list :p
21:30 impl Or use their real name :PP
21:30 splatch` hm.. Eclipse have mailing lists
21:31 splatch` there isn't official forum
21:31 Wombert anyway
21:31 Wombert slashquote impl
21:31 Wombert err
21:31 Wombert query
21:31 Wombert sdfsdfsdf
21:32 selloso splatch, I'd really like to hack the PHP Ide, but at the moment i don't got the time...
21:33 splatch` selloso: i currently only check abilities
21:35 selloso you mean possibilities?
21:36 splatch` yeah, possib.. bla bla ;)
21:36 splatch` i can't say this word :)
21:36 selloso no problem :)
21:37 selloso what would be the benefit of hacking the IDE so that the indexer checks the references?
21:38 splatch` add proposals in content assistant, when you specify return value for any Action you got information what views are available
21:40 E_mE [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
21:40 splatch` when you get database from DatabaseManager->getDatabase(name) we can check configuration for given value
21:41 selloso i thought agavi woul automatically choose the, e.g. TestSuccessView for an TestAction? But let me guess, you can tell agavi to choose another view, right? :-D
21:41 splatch` right
21:41 splatch` returning array
21:41 splatch` array (module, view name)
21:41 splatch` Wombert: right?
21:42 Wombert yes
21:42 Wombert well
21:42 Wombert if you return a string
21:42 Wombert then it makes that "ActionNameWithoutAction" plus "Zestring" plus "View"
21:42 Wombert for instance, getDefaultViewName() (run if your action doesn't serve that request method) by default returns "Input"
21:42 Wombert and handleError() returns "Error"
21:45 selloso yeah, I remember
21:45 CIA-11 david * r2017 /branches/0.11/src/ (2 files in 2 dirs): first attempt at support for SOAP faults, refs #532
21:45 selloso yeah, this is a nice idea, splatch
21:47 selloso to everybody, who's in studivz.net. I formed a group classed Agavi (MVC-PHP5-Framework). wanna join? :-D
21:48 CIA-11 david * r2018 /branches/0.11/src/controller/AgaviSoapController.class.php: use soap_version value from server options for client too if present
21:49 splatch` selloso: http://www.studentix.pl/ ? :D
21:50 selloso yeah, i didn't know it also exists in polish
21:51 splatch` g8 :)
21:51 selloso g8
21:52 splatch` selloso: what category?
21:53 selloso Gemeinsame Interessen, i don't know if there's a pendant
21:54 selloso okay, time to go to bed
21:54 selloso that's al folks
21:54 selloso cya
21:55 splatch` cu
21:56 selloso [n=sel@p54B20626.dip0.t-ipconnect.de] has left #agavi []
21:56 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
21:56 Wombert how's it going over in the land of ze canucks, MrJeep
21:56 Wombert busy?
21:56 Wombert :)
21:57 splatch` Wombert: does integration with PDT will got own branch?
21:57 MrJeep land of ze canucks ? hehe
21:58 MrJeep it's pretty hot here right now
21:58 MrJeep but overall, things are going well
21:58 Wombert cool
21:58 Wombert FedEx uses Propel
21:58 Wombert wonder if we should sell them to Agavi ;)
21:58 MrJeep hehe
21:58 MrJeep why not :D
21:59 Wombert in two years I want to say "95% of Fortune 500 companies rely on Agavi for their business" xD
22:00 splatch` and Agavi tool for Eclipse! ;)
22:00 MrJeep that would be nice
22:01 Wombert it WILL BE!
22:01 Wombert :)
22:04 MrJeep i guess this would help to cover the "$3,607,653" project cost :PO
22:04 Wombert hrhr
22:04 impl someone been playing with sloccount again?
22:04 impl :>
22:30 Yuffster [n=m@ip70-160-37-125.hr.hr.cox.net] has joined #agavi
22:31 Wombert http://www.hans-wurst.de/buchstabier_champion_3981_media.html oO
22:31 Wombert he seems a lil autistic
22:33 digitarald hey Wombert ... do u have a agavi recruitment speech? :)
22:33 Wombert no :p
22:33 Wombert ah for Yuffster?
22:33 Wombert I'm sooooooo busy right now
22:34 Yuffster Dangit.
22:34 Yuffster I was lurking. :(
22:34 Yuffster digitarald blew my cover.
22:37 kaos|work [n=dominik@87.79.35.58] has quit [Read error: 110 (Connection timed out)]
22:37 digitarald ... sorry ... u can back undercover
22:40 kaos|work [n=dominik@p50873467.dip0.t-ipconnect.de] has joined #agavi
23:36 digitarald [n=Miranda@62.43.136.232.dyn.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
23:47 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
Day changed Thu Jun 28 2007
00:01 kaos|work [n=dominik@p50873467.dip0.t-ipconnect.de] has quit []
00:48 CIA-11 david * r2019 /branches/0.11/src/ (2 files in 2 dirs): fixed support for soap faults, closes #532
00:48 impl :D
00:48 impl DEFEATED
00:49 Wombert oh fuck
00:49 Wombert ...
00:49 Wombert I'm too tired, 3am
00:49 Wombert wanted to add a kudos to you in the commit message
00:49 Wombert ah well, changelog then :p
00:49 impl don't worry about it =P
00:51 CIA-11 david * r2020 /branches/0.11/src/routing/soap/wsdl.xsl: copy/paste fix
01:02 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
01:02 impl [n=impl@adsl-77-239-35.rmo.bellsouth.net] has joined #agavi
01:06 CIA-11 david * r2021 /branches/0.11/src/routing/soap/wsdl.xsl: some optimizations. forgot to say it last time, but Noah Fontes rocks. kudos to him for helping me with the soap fault encoding problem, we eventually figured out that I'm an idiot :)
01:06 impl haha
01:14 Wombert no, really
01:14 Wombert it works :)
01:14 Wombert throw $e->detail->fault->enc_value;
01:15 Wombert ace
01:15 Wombert ace
01:15 Wombert ace ace ace ace
01:15 Wombert hugs impl
01:15 CIA-11 david * r2022 /branches/0.11/src/routing/soap/wsdl.xsl: more cleanup
01:15 Wombert the best thing is
01:16 Wombert I can overwrite __soapCall()
01:16 Wombert moooha
01:16 impl =D
01:24 Wombert oh dude :)
01:24 Wombert http://cpaste.com/1331
01:24 Wombert so ace ace ace
01:24 Wombert :)
01:25 Wombert hugs impl
01:25 impl Nice! :D
01:25 Wombert well not really
01:25 Wombert I have no clue why __call() internally doesn't use __soapCall()
01:26 Wombert so typical of PHP...
01:26 impl pssh
01:26 impl that would make sense =)
01:53 CIA-11 david * r2023 /branches/0.11/CHANGELOG: changelog update
01:53 Wombert [n=Wombert@87.79.35.58] has quit []
04:14 Netsplit anthony.freenode.net <-> irc.freenode.net quits: v-dogg, ttj
04:14 Netsplit over, joins: v-dogg, ttj
04:16 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit []
04:16 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
04:39 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
05:43 Yuffster [n=m@ip70-160-37-125.hr.hr.cox.net] has quit []
05:44 Yuffster [n=m@ip70-160-37-125.hr.hr.cox.net] has joined #agavi
06:12 v-dogg_ [i=vmakinen@shell.daug.net] has joined #agavi
06:12 v-dogg [i=vmakinen@shell.daug.net] has quit [Read error: 104 (Connection reset by peer)]
06:18 v-dogg_ huomenta
06:19 _cheerios [i=jussiava@cs78156106.pp.htv.fi] has joined #agavi
06:23 JamieWolf [n=JamieWol@e177186226.adsl.alicedsl.de] has joined #agavi
06:25 _cheerios huomenta
06:31 JamieWolf Grüß Gott :)
06:47 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
07:26 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
07:27 MikeSeth huomenta
07:29 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
07:32 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has joined #agavi
07:35 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
07:35 Xylakant good morning
07:37 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 104 (Connection reset by peer)]
07:51 Wombert [n=Wombert@87.79.35.58] has joined #agavi
07:54 v-dogg_ is now known as v-dogg
07:59 Whisller [n=example@217.97.146.67] has joined #agavi
08:00 Whisller [n=example@217.97.146.67] has left #agavi []
08:03 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
08:04 _cheerios tinymce+tidy = <br/>'s everywhere
08:05 v-dogg MikeSeth: you here?
08:07 MikeSeth I am but please dont try talking to me because I am getting killed every other minute, hold on looking for a better server
08:07 MikeSeth [n=mikeseth@62.90.159.110] has quit ["ERC Version 5.2 (IRC client for Emacs)"]
08:07 Wombert well there you hvae it
08:07 Wombert who in their right mind uses emacs for irc
08:09 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
08:09 MikeSeth let's hope now I won't get crushed by the ping
08:09 MikeSeth v-dogg: I'm here
08:09 MikeSeth if I die off, then I'm not
08:11 v-dogg I was trying to lure a php user for you to convert but he vanished
08:12 v-dogg after pasting this to #sqlite http://www.turnofthecrank.com/2006/09/11/php-5-sqlite-and-windows/
08:12 v-dogg I just hope he didn't believe that moron...
08:12 MikeSeth [n=mikeseth@62.90.159.110] has quit [Read error: 131 (Connection reset by peer)]
08:17 MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit []
08:18 MikeSeth [n=mikeseth@62.90.159.110] has joined #agavi
08:18 MikeSeth [n=mikeseth@62.90.159.110] has quit [Remote closed the connection]
08:18 Xylakant reading docs can be hard sometimes...
08:21 RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi
08:23 RossC0 huomenta!@
08:23 v-dogg huomenta RossC0
08:24 RossC0 has day off today :D and gonna spend it programming :D
08:24 Xylakant hi
08:24 Xylakant good plan.
08:24 RossC0 for the love!
08:24 v-dogg you are a bunch of sad sad people :D
08:24 v-dogg s/you/we/
08:25 Xylakant why? because we do at work what we like best?
08:25 RossC0 my company put this on yesterday: http://www.libraryhouse.net/web07/
08:25 Xylakant or because we like programming?
08:26 RossC0 Xylakant I get paid to do my hobby !
08:26 v-dogg what is wrong with ze inter net! pages take forever to load and every fifth load gives me Bad Request :)
08:26 Xylakant that's what i say
08:26 v-dogg :)
08:26 Wombert maybe one of the tubes is leaking
08:26 v-dogg I don't think other see it like that
08:26 MikeSeth [n=ohnoes@unaffiliated/mikeseth] has joined #agavi
08:26 Xylakant i hate the rounded-corners-bubblegum-style, but otherwise nice, rossc0
08:26 MikeSeth phew.
08:27 Wombert MikeSeth: it's because you're using emacs as an IRC client. it's not gonna work, ever. give up.
08:27 RossC0 Xylakant the site style sucks - I dont work on that
08:27 MikeSeth no, it's because the connection in my office goes on and off
08:27 RossC0 and I agree its a pizza dressing website
08:27 MikeSeth ssh sessions dont time out
08:27 MikeSeth and irc sessions do
08:27 MikeSeth emacs > *
08:27 Wombert [n=Wombert@87.79.35.58] has quit [Remote closed the connection]
08:28 Wombert [n=Wombert@87.79.35.58] has joined #agavi
08:28 _cheerios RossC0, it looks like what you'd expect I guess, so not all bad :)
08:35 RossC0 [n=RossC0@teamjr.plus.com] has quit []
08:38 Xylakant man. i hate it if customers have access to their own website and do minor changes themselves.
08:39 Xylakant customer: 'why does this not work?' me: 'Don't know, you built that.'
08:40 Wombert charge them
08:40 v-dogg smack them
08:40 Wombert and remind them that they are not allowed to make changes without your permission
08:40 MikeSeth exactly.
08:40 MikeSeth The only free work a programmer should ever do is fixing his/her own bugs
08:41 Xylakant we do charge them. still it's annoying.
08:41 RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi
08:41 MikeSeth whenever annoying appears, you are under strain. Charge more!
08:43 Xylakant :)
08:58 MikeSeth okay I guess its time for me to explore caching
08:59 MikeSeth action-level caching: just caches the output?
09:00 Whisller [n=example@217.97.146.67] has joined #agavi
09:04 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)]
09:05 RossC0 heh - any ideas what I need to do to get a local site to available in vmware ?
09:05 RossC0 I tried changing /drivers/hosts in vmware - just not sure what to change it to?
09:05 Whisller hello :)
09:05 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
09:16 digitarald [n=Miranda@186.Red-83-55-78.dynamicIP.rima-tde.net] has joined #agavi
09:17 E_mE [n=E_mE@81.168.18.2] has joined #agavi
09:17 RossC0 sorted it
09:17 E_mE huomenta!
09:18 digitarald Huomenta
09:19 RossC0 huomenta!
09:27 MikeSeth cometh the dreaded time at which I now need to write HTML output helpers
09:27 MikeSeth sighs and ponders a name for the model
09:27 RossC0 Haml?
09:27 RossC0 ;p
09:30 MikeSeth whoah cute, is there a filter? :D
09:33 Netsplit anthony.freenode.net <-> irc.freenode.net quits: simoncpu
09:37 Netsplit over, joins: simoncpu
09:44 _cheerios if you're writing helpers, write this while at it: read database, make crud actions, hook them to Agavi models + validation, and template forms. One call to modify anything. OK?
09:46 v-dogg piece of cake :p
09:50 _cheerios still time before 1.0!
09:50 ttj When's 0.11 coming out? :P
09:55 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
10:02 v-dogg how do I clear a cache based on groups?
10:02 v-dogg no, it's not in ze mail :)
10:05 v-dogg AgaviExecutionFilter::clearCache(array('groupId1', 'groupId2')); ?
10:06 v-dogg hmm...
10:09 _cheerios RossC0, you said you'd used phpgacl. What do you use these days?
10:10 MikeSeth _cheerios: why does this sound painfully like scaffolding? ;)
10:10 _cheerios it's more than scaffolding
10:11 RossC0 _cheerios: rbacSecurityUser
10:12 RossC0 its simple and elegant
10:12 _cheerios ok, you haven't had the need for fine grained controls since
10:15 Xylakant MikeSeth: what's wrong about scaffolding?
10:16 Xylakant coming on up next: rails flamewar.
10:16 MikeSeth _cheerios: it only works once ;)
10:16 Xylakant MikeSeth: what did you do to make your irc connection stable?
10:17 Xylakant you haven't been droppung for like an hour.
10:17 MikeSeth Jumped to a server in US
10:18 _cheerios must be the govt stopped launching missiles to gaza that were interrupting his wlan signal...
10:18 Xylakant USA saved the world once again.
10:18 MikeSeth _cheerios: the government isnt firing missiles into Gaza. Gaza is firing missiles on Sderot.
10:19 E_mE was the app/ directory previously called webapp/??
10:19 Xylakant E_mE yes
10:19 v-dogg yup
10:19 MikeSeth wanna guess why they changed it? :D
10:19 E_mE and pub was www/ ?
10:19 v-dogg yup
10:19 E_mE mmmm... because it works with more then just web..
10:19 Xylakant MikeSeth: for improved rails conformance :)
10:19 v-dogg haha
10:20 _cheerios cuz webapp devs get no respect, it's all in ze apps!
10:21 E_mE Really |8-o
10:21 E_mE =P
10:21 kaos|work [n=dominik@87.79.35.58] has joined #agavi
10:23 _cheerios btw. would it make sense to change this:
10:23 _cheerios * @param mixed Credential data. Either a string or an array of
10:23 _cheerios * credentials which are all required. If these individual
10:23 _cheerios * credentials are again an array of credentials, one or
10:23 _cheerios * more of these sub-credentials will be required.
10:23 E_mE where is project.dir defined?
10:24 E_mE or does the project work it out automatically?
10:24 v-dogg E_mE: agavi cli helper (or phing actually) figures it out automatically
10:24 _cheerios to check if the subcred array only holds a single var. this way return array('a'=>array('b')); works (that is a OR b)
10:25 E_mE v-dogg: okay because ive got a some templates setup, but when i execute agavi action, it doesn use wats in my build.properties
10:25 _cheerios currently only array('a','b') (that is: "a AND B") and array('a'=>array('b') (that is: "a OR (AND B)")
10:26 E_mE v-dogg: i tink i found the error, it needs to be in app/build.properties correct
10:26 v-dogg no, myprj/build.properties
10:27 v-dogg and you need to be in that directory when you call the agavi helper (iirc)
10:27 _cheerios Wombert/kaos/v-dogg ^^ hasCredentials()
10:27 E_mE v-dogg: ah see see
10:28 E_mE thank you :)
10:34 RossC0 _cheerios: that too confusing for you?
10:34 _cheerios you mean there is a way to accomplish the OR already, or?
10:36 RossC0 I dunno - the more I read it the less it makes sense!
10:37 v-dogg //require one of the two
10:37 v-dogg return array(array('admin.page.new.restricted','admin.page.new'));
10:37 v-dogg works for me
10:39 v-dogg but yes, took awhile to figure out (and iirc kaos|work had to clarify the syntax in the end :)
10:40 RossC0 ah cool
10:41 _cheerios thanks dogg!
10:41 Xylakant wombert: agavi soap - is it possible to enforce a servicename? currently agavi uses the projectname, i'd like to change that.
10:42 JamieWolf is now known as someoneelse
10:43 Wombert no
10:43 Wombert will fix
10:43 someoneelse is now known as JamieWolf
10:43 v-dogg Wombert: how do I clear a cache based on groups?
10:44 Wombert clearCache(array('your', 'groups', 'here'));
10:44 Wombert busy ->
10:46 v-dogg AgaviExecutionFilter::clearCache?
10:47 v-dogg it has issues unless I'm mistaken
10:49 v-dogg $path = AgaviConfig::get('core.cache_dir') . DIRECTORY_SEPARATOR . self::CACHE_SUBDIR . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR, $groups) . '.cefcache';
10:49 Wombert you are ;)
10:50 Wombert check the else
10:50 Wombert now if you have three groups for, say, viewproduct
10:50 Wombert first is plain string, "product"
10:50 Wombert second is the id from the request
10:51 Wombert third is the locale
10:51 Wombert and you edit product 25
10:51 v-dogg it removes the second group and doesn't prefix the path with AgaviConfig::get('core.cache_dir')
10:51 Wombert and thus want to clear the cache for that
10:51 Wombert you do
10:51 Wombert clearCache(array('product', 25));
10:51 Wombert err
10:51 Wombert :p
10:51 Wombert friggen, you're right xD
10:51 Wombert err
10:51 Wombert err
10:51 Wombert err
10:51 Wombert runs
10:52 Wombert the array_slice has a purpose tho
10:52 Wombert or
10:52 Wombert mh no it doesn't
10:52 Wombert aww god
10:52 Wombert okay I will fix this ASAP
10:52 Wombert but must go to another meeting
10:52 Wombert catch you in a bit
10:52 Wombert hugs v-dogg
10:52 Wombert [n=Wombert@87.79.35.58] has quit []
10:52 v-dogg sure
10:52 v-dogg bah, use a screen or a bouncer, don't quit!
10:53 v-dogg anyway, should you check the logs, I'm in no hurry with this
10:55 _cheerios i've been using irc for ages and i havent learned either of those yet
10:55 kaos|work v-dogg: screen doesn't help when the laptop goes to sleep because it's closed ;)
10:55 kaos|work and screen doesn't work for gui apps either ;)
10:56 v-dogg well the screen obviously runs on some 24/7/365 server
10:56 kaos|work we don't have such a thing :rolleyes:
10:56 v-dogg then you suck :)
10:56 kaos|work we run the agavi website from our macbooks
10:56 kaos|work xD
10:56 v-dogg :P
10:57 kaos|work ze Chuckwalla is running in screen
11:02 v-dogg clearCache has more issues
11:03 v-dogg both AgaviExecutionFilter::clearCache and AgaviToolkit::clearCache prefix the path with AgaviConfig::get('core.cache_dir')
11:08 Whisller [n=example@217.97.146.67] has left #agavi []
11:09 Xylakant off for food.
11:21 Whisller [n=example@217.97.146.67] has joined #agavi
11:27 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
11:31 epaulin [n=epaulin@221.221.22.186] has joined #agavi
11:39 E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection]
11:40 Whisller [n=example@217.97.146.67] has left #agavi []
11:44 RossC0 [n=RossC0@teamjr.plus.com] has left #agavi []
11:45 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out]
11:47 Wombert [n=Wombert@87.79.35.58] has joined #agavi
11:48 Wombert re
11:48 Wombert hugs v-dogg
11:48 Wombert sorry mate
11:48 Wombert so, v-dogg...
11:49 Wombert that would mean that the .cefcache command is incorrect, aye?
11:49 v-dogg http://pastebin.ca/593528
11:50 v-dogg or a bit more simplified even
11:51 v-dogg http://pastebin.ca/593530
11:53 v-dogg can I commit, can I, can I plz? ;)
12:06 v-dogg was there a way to disable caching globally? I remember asking this before and ross had the same issue but I don't remember what the answer was
12:19 Xylakant v-dogg: irc logs?
12:28 E_mE [n=E_mE@81.168.18.2] has joined #agavi
12:28 E_mE when you make a project go live, do exceptions get display elsewhere instead of the web browser?
12:28 E_mE and an error view appears
12:29 Xylakant not unless you create your own exception template
12:29 v-dogg E_mE: you can configure a different exception template for production environment
12:29 Xylakant which you should do
12:30 v-dogg exactly
12:30 E_mE oh ive just been using agaviException
12:30 v-dogg and in that template log and/or mail the error to the admin
12:30 Wombert http://trac.agavi.org/ticket/527
12:30 Wombert for v-dogg
12:31 v-dogg YES! I was right
12:31 Xylakant don't forget to set an error status header as well.
12:31 v-dogg I was sure there was a setting for it when Ross asked for it :)
12:31 v-dogg but then we couldn't find it :)
12:32 v-dogg thanks Wombs
12:32 E_mE so in agaviException i could then redirect errors people get to a new Action/View?
12:32 E_mE which has the feel/look of the current site
12:32 Fastly [n=fast@194.42.125.16] has joined #agavi
12:32 Wombert Fastly!
12:33 Xylakant E_mE i don't get what you're doing.
12:33 Fastly hey Wombert
12:33 Wombert did you solve your config compilation problem
12:33 Wombert you have to update libxml
12:33 Wombert then the error is gone
12:33 v-dogg E_mE: check the templates available now (shiny and plaintext)
12:33 v-dogg you'll get the idea :)
12:33 E_mE thanx guys :)
12:33 Wombert v-dogg: let me check the clearCache patch
12:34 v-dogg E_mE: and then http://trac.agavi.org/browser/branches/0.11/samples/app/config/settings.xml lines 53 .. 56
12:35 Wombert also, you can define an exception template per output type in output_types.xml
12:35 v-dogg (the templates: http://trac.agavi.org/browser/branches/0.11/src/exception/templates)
12:35 v-dogg oh, didn't know that
12:35 Wombert <output_type name="html" exception_template="zomglol.php">
12:36 v-dogg Wombert: can you use config directives in there?
12:36 v-dogg exception_template="%core.templates_dir%/zmogolol.php" ?
12:40 Whisller [n=example@217.97.146.67] has joined #agavi
12:41 Wombert you know the answer, v-dogg :p
12:41 Whisller Where I should get data from database? In action or in view?
12:41 Whisller It is for template
12:41 Wombert so you only display the data, Whisller ?
12:41 Wombert you won't get a definitive answer here
12:42 Wombert some people say: make an executeRead(), read the data in there
12:42 Wombert others say it's presentation, not business logic, and will advise you to pull the data in the view
12:42 Whisller No I just want to get them. And add for ->setAttribute, but which method is correct? Because really I don't know, many people get data in view other in action :/
12:42 Whisller hmm
12:43 Whisller What are you think?
12:43 v-dogg hugs Wombs :)
12:44 Wombert your patch is okay, v-dogg
12:44 Wombert don't forget the ticket plz kthxbai
12:44 v-dogg roger
12:51 E_mE Wombert: can an exception template run inside a slot at all? or does it just freak out too much to continue on with processing the containers?
12:51 E_mE im hoping my terminology is correct there :)
12:51 Wombert yes, it's entirely freaked out :p
12:51 E_mE and shakes about ;)
12:52 Wombert but
12:52 Wombert dispatch()
12:52 Wombert uses the output type exception template if you have that
12:52 Wombert or
12:52 Wombert wel
12:52 Wombert l
12:52 Wombert agavi catches exceptions at three points
12:52 Wombert in bootstrap()
12:52 Wombert in initialize() of the context
12:52 Wombert and in dispatch()
12:52 Wombert in the dispatch() one, you can just call $controller->dispatch() again and show a 404 page if you want
12:53 Wombert but you should be careful not to create an infinite loop
12:53 E_mE so if an error has occured in a model from getting data from a database.. im assuming the exception was raised in dispatch()
12:53 Wombert yes
12:53 Wombert now here is the trick
12:54 E_mE waits for a rabbit
12:54 Wombert in the template, $context is available
12:55 Wombert if it's not null, then it's an AgaviContext
12:55 Wombert and it is only not null if the exception was caught in dispatch()
12:55 Wombert therefor you can assume that this context is safe to use
12:55 Wombert so in your template, you can do
12:55 Wombert $context->getController()->dispatch()
12:55 Wombert that, per se, doesn't work :p
12:55 Wombert so
12:56 E_mE per so?!?!? sorry
12:56 Wombert per se = as is
12:56 E_mE ah sorry, carry on
12:57 v-dogg perse = arse in Finnish
12:57 Wombert rofl
12:57 Wombert hugs v-dogg
12:58 Wombert $context->getController()->dispatch(
12:58 Wombert new AgaviRequestDataHolder(array(
12:58 Wombert AgaviRequestDataHolder::SOURCE_PARAMETERS => array(
12:58 Wombert $context->getController()->getRequest()->getParameter('module_accessor') => AgaviConfig::get('actions.404_module',
12:58 Wombert $context->getController()->getRequest()->getParameter('action_accessor') => AgaviConfig::get('core.404_action'))));
12:59 Wombert that's the uber clean and flexible version :p
12:59 Wombert $context->getController()->dispatch(
12:59 Wombert new AgaviRequestDataHolder(array(
12:59 Wombert AgaviRequestDataHolder::SOURCE_PARAMETERS => array(
12:59 Wombert 'module' => 'Default',
12:59 Wombert 'action' => 'Error404')))));
12:59 Xylakant Wombert: have you tried agavi soap with document/literal?
13:00 Wombert Xylakant: tbh, I still don't know what exactly document style is
13:01 E_mE so if i created a module called ErrorHandling, then had an action called DBErrorAction
13:01 E_mE it would then fire DBErrorAction.class.php
13:01 Wombert I'd just use one action for all error situations
13:01 Wombert don't tell the user too much
13:01 Wombert maybe you should use UnavailableAction isntead
13:02 Xylakant http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/
13:02 E_mE so would that error display inside my main template of the site?
13:02 v-dogg E_mE: in my opinion if something already went so horribly wrong that an uncaught exception was thrown, you shouldn't do anything anymore but show a friendly error message and die quietly
13:02 Xylakant but anyways, i always get a 'procedure not present' error
13:03 E_mE v-dogg: maybe i using exceptions in the wrong way :S -- im using them when no data is passed from the database
13:03 E_mE no rows shall i say
13:04 v-dogg but then something should catch the exception before agavi does
13:04 E_mE and display a nice error :D
13:05 E_mE thanx Wombert and v-dogg i shall revise my systems :D
13:11 MikeSeth god damn PHP needs preprocessor or something
13:11 MikeSeth these long calls fucking suck
13:12 MikeSeth speaking of suck
13:12 MikeSeth kicks Firefox in the nuts
13:12 MikeSeth if you run JS code from onClick() and there's an exception or a JS error, the whole of onClick handler evaluates to true
13:12 MikeSeth I spent a hour trying to figure out why the fuck a link that's supposed to pop up a window instead redirects me to a login window
13:13 MikeSeth god damnit
13:13 Wombert ah
13:13 Wombert E_mE: you need a better approach
13:14 Wombert what you must do is use validation
13:14 Wombert and validate, for instance, if the requested product exists
13:14 MikeSeth Wombert: $context is exported to templates?
13:14 MikeSeth damnit.
13:15 Wombert if the exception occured in dispatch(), yes
13:15 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit [Remote closed the connection]
13:15 Wombert the try/catch in bootstrap() obviously can't do that :p
13:16 Wombert and the one in AgaviContext::getInstance() doesn't because if an exception occured during initialize(), that means the context is not in a usable state
13:16 Wombert but if you dispatch(), remember to have a static $beenThere = true;
13:16 Wombert and check that
13:16 Wombert so you don't have an infinite loop
13:22 E_mE Wombert: i was checking for error if someone manually entered the address http://blah/forum/threads/11/ and 11 didn't exist that it would return threadsError.php with a friendly but firm message of .. no thread in database
13:22 Wombert yes
13:22 Wombert so
13:22 Wombert set up a validator that checks the database to make sure the thread exists
13:23 Wombert if not, the validator fails, and then the action isn't run
13:23 Wombert instead, handleError() is called
13:23 E_mE Wombert: huh! that sounds prettty cool
13:23 Wombert :p
13:23 E_mE Wombert: i got try {} catch {} and if_arrays() all over because of this
13:24 E_mE runs to find how to validate databases
13:25 kaos|work [n=dominik@87.79.35.58] has quit []
13:25 E_mE Wombert: do you have example of database validation in samples?
13:26 v-dogg no
13:29 E_mE do i have to write my own Databsae validator?
13:29 E_mE which is a child of validationManager
13:30 v-dogg you can write a validator (extend AgaviValidator, not -Manager) but you don't have to
13:31 v-dogg you can also use MyAction::validate(AgaviRequestDataHolder $rd) {... return true/false; }
13:32 Wombert yes yes but but
13:32 Wombert :)
13:32 Wombert proper validation in xml with proper validators is much better
13:32 Wombert you use the validator in more than one place anyway
13:32 v-dogg of course
13:32 Wombert and there is more
13:32 Wombert the validator could also not just check if the record exists
13:33 E_mE how do i call upon't database vaildation, i can see any classes that relate
13:33 Wombert but also set the infomration into the request already
13:33 E_mE can't
13:34 RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi
13:34 Wombert http://trac.agavi.org/browser/branches/0.11/samples/app/modules/Default/validate​/Login.xml sample validate.xml
13:35 Wombert http://trac.agavi.org/browser/branches/0.11/src/validator/AgaviStringValidator.c​lass.php
13:39 CIA-11 v-dogg * r2024 /branches/0.11/src/filter/AgaviExecutionFilter.class.php: Fixed clearCache. closes #534.
13:41 E_mE Wombert: so you presuming that i should amend AgaviStringValidator with Database communication??
13:47 MikeSeth ahahaha
13:48 MikeSeth some guy blogged about how Rails is written in the wrong language
13:48 MikeSeth he says Rails should've been done in Python
13:48 MikeSeth and i'm like.. "Python.. don't you mean Common Lisp?"
13:48 MikeSeth ahahaha
13:48 RossC0 hmm wtf - my colloquy isn't letting me see messages in certain channels ?!
13:49 MikeSeth RossC0: huh?
13:49 RossC0 #doctrine - I can see or send any messages!
13:49 RossC0 *can't
13:49 RossC0 wierd
14:04 MikeSeth oh fun
14:05 MikeSeth WASHINGTON (AP) - The Senate Judiciary Committee subpoenaed the White House and Vice President Dick Cheney's office Wednesday for documents relating to President Bush's warrantless eavesdropping program.
14:05 MikeSeth I'd be more like
14:05 MikeSeth WASHINGTON (AP) - Shit is going to hit the fan as the Senate...
14:09 Xylakant well MikeSeth you know what just happened here as the Bundestag asked the Bundeswehr about some data about secret missions?
14:10 v-dogg E_mE: did you sort it out?
14:11 Xylakant the bundeswehr had to admit that all the data from missions between 2001 and 2004 was lost beyond recovery.
14:11 Xylakant same is bound to happen in that case :)
14:11 kaos|work [n=dominik@87.79.35.58] has joined #agavi
14:12 v-dogg heh
14:16 digitarald happens to me too all the time
14:17 MikeSeth Xylakant: except that they aren't
14:20 Wombert RossC0: /reload style
14:21 Wombert the bug was there before, but Safari 3 beta has made it worse
14:21 Wombert it's some kind of webkit problem
14:21 Wombert or colloquy
14:21 Wombert not sure
14:21 Wombert imagine that
14:21 Wombert all the data
14:21 Wombert gone
14:21 Wombert without backups
14:22 Wombert but only the confidential data about secret operations
14:22 Wombert ...
14:22 _cheerios [i=jussiava@cs78156106.pp.htv.fi] has quit ["bbl"]
14:25 Xylakant and only in the timeframe that would have been interesting.
14:25 Xylakant yeah, what a coincidence.
14:26 Wombert I wonder what they have to hide
14:30 E_mE v-dogg: ive only looked at those two files, and i can't see a reference to Database communication.. my guess is that i must modify the StringValidator to include usch conditions
14:31 Xylakant Wombert: blatant incompetence.
14:32 Xylakant they don't even manage to hide that.
14:32 Wombert Xylakant: rrright
14:33 Wombert for document/literal
14:33 Wombert you have to use <part name="name" element="tns:zeElement" />
14:33 Wombert i.e. element isntead of type
14:33 Wombert did you do that?
14:33 Wombert ah
14:33 Wombert heh
14:33 Wombert well
14:33 Wombert okay
14:34 Wombert The operation name in the SOAP message is lost. Without the name, dispatching can be difficult, and sometimes impossible.
14:34 Wombert :p
14:34 Xylakant same problem
14:35 Wombert yes
14:35 Wombert well
14:35 Wombert of course :p
14:35 Xylakant the error message indicates that the soapserver indeed know what it should handle
14:35 Wombert if there is no method name in the request, we cannot find out what to do
14:35 Wombert Xylakant: send me a patch for the sample app as it is in svn so it uses document style etc
14:35 Wombert then I can reproduce
14:36 Xylakant it "Procedure 'getCategories' not present" where getCategories is the right procedure
14:36 Xylakant maybe the message is misleading
14:40 Xylakant hmm. the eclipse validator says the wsdl file is invalid, while my soapclient says it's ok
14:40 Wombert show it to me
14:40 Wombert (if you can)
14:41 Xylakant i can
14:41 Xylakant http://pastebin.ca/593737
14:42 Xylakant eclipse complains that the line '<wsdl:part xmlns="http://agavi.org/agavi/1.0/config"; name="parameters" type="types:getCategoryResponse"/>' is invalid
14:45 Xylakant hmm. typo in that line, i fixed that but still errors out
14:45 CIA-11 david * r2025 /branches/0.11/src/config/AgaviWsdlConfigHandler.class.php: allow setting application name for <wsdl:definitions> and all related names (bindings, ports etc) via wsdl_generator[wsdl][definitions][name]
14:45 Wombert enjoy, Xylakant
14:45 Wombert wsdl cache?
14:45 Xylakant disabled
14:46 Xylakant ini_set('soap.wsdl_cache_enabled', 0);
14:46 Xylakant eclipse still complains that the line is invalid
14:47 Wombert scratches head
14:47 Xylakant "Severity and Description Path Resource Location Creation Time Id
14:47 Xylakant The part 'parameters' has an invalid value 'getCategoriesResponse' defined for its type. Type declarations must refer to valid values defined in a schema. wsdltest NewWSDLFile.wsdl line 60 1183041898089 8549
14:47 Xylakant "
14:47 Xylakant but types:getCategoriesResponse is defined in the schema
14:48 Xylakant thanks for 2025
14:48 Wombert you must do
14:48 Wombert well
14:49 Xylakant i hate soap.
14:49 Xylakant did i mention that.
14:49 Wombert well
14:49 Wombert you use document style
14:49 Wombert so you cannot use <part ... type="..."
14:49 Wombert you must use <part...element=""
14:49 Wombert as the link you sent me says
14:52 Xylakant changes pretty much nothing...
14:54 Xylakant i'm too stupit for that kind of stuff...
14:54 digitarald damn that gmaps ...
14:54 digitarald it uses document.write
14:55 Wombert any reason why you want to use document style, Xylakant
14:55 Xylakant i'd be using plain old prc style wsdl files, but xfire can't handle that.
14:55 Xylakant and the target client is xfire...
14:55 Xylakant i don't *want* to, i *have* to.
14:56 Wombert sure?
14:56 Wombert or does it just only support WS-I compliant ways
14:56 Xylakant that's what the docs said when we last checked.
14:56 Wombert what
14:56 Xylakant and we tried, it does not seem to work
14:57 digitarald any idea how i can document.write in an document served as xml in firefox?
14:57 Wombert you can't
14:58 digitarald mootools to the rescue ... i can :)
15:03 digitarald override document.write with something nicer
15:10 JamieWolf [n=JamieWol@e177186226.adsl.alicedsl.de] has quit ["Gone for a Drink"]
15:11 digitarald works like charme
15:13 Wombert Xylakant: works here
15:14 Wombert as document/encoded
15:14 Wombert will try document/literal next
15:15 Wombert btw, Xylakant, I think the action info is in an HTTP header
15:15 Wombert SOAPAction: "http://agavi.org/sampleapp#getItemPrice";
15:22 Wombert document/literal works, too
15:22 Wombert curiously, it even works without element="..." :p
15:32 Xylakant Wombert: do you have an example that might look at?
15:32 Xylakant do you return a complex type?
15:33 Xylakant and yes, the action is an http header, the incoming data seems all fine
15:38 Xylakant anyway, off for now, will be looking in later
15:38 Xylakant have a nice weekend
15:38 Xylakant [n=fgilcher@obc-r22-325-217-66-62-6.exozet.com] has quit ["Leaving"]
15:47 digitarald gmaps and xml served documents are a real problems
15:47 RossC0 http://www.apple.com/iphone/usingiphone/keyboard_medium.html
15:47 RossC0 cool
15:47 Wombert RossC0: read about /reload style
15:47 Wombert and ze iphone sucks
15:48 Wombert you don't have dot or comma on the keyboard :p
15:48 RossC0 Wombert: yeah saw it - had to google what you ment!
15:48 Wombert oh sorry
15:48 Wombert just type it :p
15:48 RossC0 yeah I did but in the irc.freenode.net window :D
15:48 RossC0 but now sorted! Thanks
15:49 RossC0 hugs Wombert
15:54 Wombert <:
15:57 Netsplit anthony.freenode.net <-> irc.freenode.net quits: v-dogg, ttj, MikeSeth
15:59 Netsplit over, joins: MikeSeth, v-dogg, ttj
16:02 Wombert http://groups.google.com/group/symfony-devs/browse_frm/thread/56ea4d0e58c7fa21
16:02 Wombert where, oh where, do they get all these great ideas
16:11 digitarald [n=Miranda@186.Red-83-55-78.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
16:16 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Client Quit]
16:16 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
16:17 RossC0 Wombert: you should add that to Agavi!
16:18 E_mE iphone keybaord is amazing
16:18 Wombert yeah we could fall behind in terms of technology :p
16:18 RossC0 :>
16:19 RossC0 "The View system is also one of the sub-framework I want to refactor for
16:19 RossC0 1.1 or 1.2. I want to create 2 distinct layers: a view layer and a
16:19 RossC0 template layer. This distinction will allow easier integration of
16:19 RossC0 templating systems like phptal or smarty. "
16:20 RossC0 man that would be good - being able to choose between templating systems
16:22 E_mE cya later peepz :)
16:24 Wombert bai
16:26 Whisller [n=example@217.97.146.67] has left #agavi []
16:28 E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection]
16:48 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
16:52 epaulin [n=epaulin@221.221.22.186] has quit ["Hmm... Upgrades."]
17:20 MikeSeth ahahahaha
17:20 MikeSeth wombie
17:20 MikeSeth I opened the link you pasted
17:21 MikeSeth and my default web browser for the shell is some sort of native gnome browser
17:21 MikeSeth so it displays in the title bar:
17:21 MikeSeth opening "symfony developers"
17:21 MikeSeth right like that, with quotes :D
17:21 MikeSeth One of main "problem" with the current symfony 1.0 design is the use of
17:21 MikeSeth a lot of singleton objects and static classes/methods.
17:21 MikeSeth HAHAHAHAHA
17:21 MikeSeth no shit!
17:22 MikeSeth ahahah switching contexts
17:22 MikeSeth how cute.
17:22 MikeSeth and kudos to Symfony peeps for inventing a "multi-singleton"
17:22 MikeSeth shit Im gonna giggle over this all the way to ~
17:22 MikeSeth speaking of which, &
17:27 Fastly [n=fast@194.42.125.16] has quit []
17:31 Wombert ponders MikeSeth's sanity
17:32 splatch` oi! :)
17:39 Whisller [n=example@217.97.146.67] has joined #agavi
17:39 Whisller czesc i czolem ;p
17:50 stachu dzien dobry
17:51 Whisller zalezy dla kogo
17:54 Arme[N-1] is now known as Arme[N]
17:55 Whisller again storm...:/
18:00 Whisller btw di.fm great trance radio
18:03 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
18:04 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
18:07 RossC0 laters all
18:07 _cheerios bye :)
18:27 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)]
18:28 RossC0 [n=RossC0@teamjr.plus.com] has quit []
18:41 JamieWolf [n=JamieWol@e177186226.adsl.alicedsl.de] has joined #agavi
18:48 Wombert yawns
18:49 ttj *yawn*
18:50 ttj Love Actually <3<3<3
18:59 Wombert [n=Wombert@87.79.35.58] has quit [Nick collision from services.]
18:59 Wombert_ [n=Wombert@p50873843.dip0.t-ipconnect.de] has joined #agavi
19:00 Wombert_ is now known as Wombert
19:00 _cheerios great movie, if im thinking of the correct one
19:01 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit ["Ex-Chat"]
19:01 ttj Hugh Grant as the Prime Minister.
19:02 _cheerios i think i was all in tears by the end :D:D
19:03 eremit [n=eremit@p5490FC0A.dip.t-dialin.net] has joined #agavi
19:12 Arme[N-1] is now known as Arme[N]
19:14 JamieWolf_ [n=JamieWol@e177187186.adsl.alicedsl.de] has joined #agavi
19:26 JamieWolf [n=JamieWol@e177186226.adsl.alicedsl.de] has quit [Nick collision from services.]
19:26 JamieWolf_ is now known as JamieWolf
19:37 _cheerios http://no2google.wordpress.com/2007/06/24/life-at-google-the-microsoftie-perspec​tive/
20:27 Whisller [n=example@217.97.146.67] has quit []
20:28 JamieWolf [n=JamieWol@e177187186.adsl.alicedsl.de] has quit ["Gone for a Drink"]
20:46 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)]
20:49 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
21:03 impl [n=impl@adsl-77-239-35.rmo.bellsouth.net] has joined #agavi
21:11 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
21:13 Yuffster [n=m@ip70-160-37-125.hr.hr.cox.net] has quit []
21:17 kaos|work_ [n=dominik@87.79.35.58] has joined #agavi
21:17 kaos|work_ [n=dominik@87.79.35.58] has quit [Client Quit]
21:29 Wombert [n=Wombert@p50873843.dip0.t-ipconnect.de] has quit []
21:30 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["nn"]
21:30 kaos|work_ [n=dominik@p50873843.dip0.t-ipconnect.de] has joined #agavi
21:34 kaos|work [n=dominik@87.79.35.58] has quit [Read error: 110 (Connection timed out)]
21:39 Wombert [n=Wombert@p50873843.dip0.t-ipconnect.de] has joined #agavi
21:42 Wombert [n=Wombert@p50873843.dip0.t-ipconnect.de] has quit [Client Quit]
21:42 Whisller [n=example@217.97.146.67] has joined #agavi
22:23 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
22:36 E_mE [n=E_mE@91.84.10.29] has joined #agavi
22:36 E_mE huomenta!
22:36 E_mE in the routing rules where you state /forum/(uid:\S+?)/ etc... what is the \? letter for numbers?
23:36 kaos|work_ [n=dominik@p50873843.dip0.t-ipconnect.de] has quit []
23:53 E_mE is it normal for SVN to reset folder permissions?
23:53 Whisller yawn hmm It's time to bed
23:54 E_mE nite nite
23:55 Whisller ?
Day changed Fri Jun 29 2007
00:05 Whisller [n=example@217.97.146.67] has quit ["good night"]
00:17 impl [n=impl@adsl-77-239-35.rmo.bellsouth.net] has joined #agavi
00:22 E_mE [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
03:12 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
03:12 Arme[N] huomenta!
03:45 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Nick collision from services.]
03:45 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
04:16 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
04:32 v-dogg huomenta
04:53 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
04:54 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
04:54 Arme[N-1] is now known as Arme[N]
05:00 eremit [n=eremit@p5490FC0A.dip.t-dialin.net] has quit [" HydraIRC -> http://www.hydrairc.com <- Po-ta-to, boil em, mash em, stick em in a stew."]
05:19 Netsplit anthony.freenode.net <-> irc.freenode.net quits: stachu
05:23 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
05:24 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
05:24 Arme[N-1] is now known as Arme[N]
05:32 Netsplit over, joins: stachu
05:51 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
05:54 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
05:54 Arme[N-1] is now known as Arme[N]
06:06 v-dogg uh.. how did I insert a new section in xmlmind again?
06:06 v-dogg docbook section
06:08 v-dogg ah, got it
06:12 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
06:14 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
06:16 Arme[N-1] is now known as Arme[N]
06:18 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
06:19 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
06:19 Arme[N-1] is now known as Arme[N]
06:21 CIA-11 v-dogg * r2026 /branches/0.11/docs/docbook/manual.xml: A small contribution to the Validation chapter (plus some accidental word wrap changes :)
06:23 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
06:24 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
06:24 Arme[N-1] is now known as Arme[N]
06:43 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
06:48 Arme[N-11 [n=Arme[N]@80.191.141.180] has joined #agavi
06:49 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
06:49 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
06:50 Arme[N-11 is now known as Arme[N]
06:55 JamieWolf [n=JamieWol@e177187186.adsl.alicedsl.de] has joined #agavi
07:07 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
07:24 _cheerios [i=jussiava@cs78136166.pp.htv.fi] has joined #agavi
07:24 _cheerios hyvää huomenta
07:25 CIA-11 v-dogg * r2027 /branches/0.11/docs/docbook/manual.xml: About databases
08:01 Wombert [n=Wombert@87.79.35.58] has joined #agavi
08:08 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
08:08 v-dogg Wombert \o/
08:14 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
08:29 E_mE [n=E_mE@81.168.18.2] has joined #agavi
08:29 E_mE huomenta!
08:29 v-dogg huomenta
08:30 v-dogg 01:36 < E_mE> in the routing rules where you state /forum/(uid:\S+?)/ etc... what is the \? letter for numbers?
08:30 v-dogg \d
08:30 E_mE ah thank you :)
08:30 v-dogg standard regural expression syntax
08:30 E_mE i found a resoultion, my routing rule didn't include a / at the end.. so it was taken the 10/ as a value into my varaible
08:31 E_mE but i shall try the \d now, as it is a UID not a word
08:32 E_mE has anyone here ever worked with "Feature Driven Deveoplement" project management??
08:32 v-dogg you must be careful with \S
08:32 E_mE i know it is "greedy" which im still coming to grips with
08:33 v-dogg no, we use only Ass-hole-Driven Development methodologies
08:33 E_mE i think it takes everything it can instead of the first sequance found...
08:33 E_mE v-dogg: cool! can i be first to stick my head in and have a look at the problems =P
08:37 digitarald [n=Miranda@186.Red-83-55-78.dynamicIP.rima-tde.net] has joined #agavi
08:44 E_mE v-dogg: you frightened hehehe ;)
08:47 v-dogg :)
09:23 kaos|work [n=dominik@87.79.35.58] has joined #agavi
09:28 JamieWolf [n=JamieWol@e177187186.adsl.alicedsl.de] has quit ["Gone for a Drink"]
09:29 JamieWolf [n=JamieWol@e177187186.adsl.alicedsl.de] has joined #agavi
09:46 _cheerios http://www.sugarbushsquirrel.com/image/14772279.jpg
10:07 MikeSeth v-dogg: you read reddit? :D
10:07 MikeSeth huomenta
10:09 v-dogg I read links pasted to this channel :)
10:10 MikeSeth ah.
10:10 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
10:10 MikeSeth ;)
10:27 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Connection timed out]
10:40 Whisller [n=example@217.97.146.67] has joined #agavi
10:41 Whisller hello :)
10:41 E_mE Whisller: when i said nite nite last night i ment in a nice way :) .. nite nite is just my way of saying it :)
10:41 Whisller ;p
10:41 E_mE fine take that back now =P
10:41 E_mE NITE!!!
10:44 JamieWolf [n=JamieWol@e177187186.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)]
10:44 Whisller http://de.fishki.net/pics9/fotok.jpg
10:51 E_mE ho ho!
10:51 E_mE maybe she wanted to take a picture of her retinea
10:57 _cheerios if the flash went on in that situation, comedy would've followed
10:58 _cheerios i wonder how much damage it could do at that distance
11:27 Whisller [n=example@217.97.146.67] has quit [Read error: 113 (No route to host)]
11:30 E_mE since ive put in a validator for my ReplyAction.class.php called Reply.xml ... every time i call upon http://blah/forum/reply/10/ (which is to request the input form) it goes streight to Error!!
11:33 E_mE ive got 3 views with my ReplyAction.... ErrorView, InputView and SuccessView
11:33 MikeSethOnEmacs [n=user@line21-134.adsl.actcom.net.il] has joined #agavi
11:34 E_mE is there a way i can purhapse force the validator to only fire when http://blah/forum/reply/post is executed?
11:34 kaos|work you probably want to set the method of the validator to "write"
11:34 E_mE yo MikeSeth
11:35 E_mE is that specified in validators or configuration?
11:35 kaos|work <validator method="write">
11:36 E_mE thank you :D:D:D .. i knew there was a logical reason :)
11:37 kaos|work this causes the validator to be only executed on write (http post)
11:37 E_mE so if ive got two <validator> statements or more i need to specify in each one
11:38 kaos|work yes
11:38 E_mE then have handleWriteError() in my ReplyAction.class.php to capture the event
11:43 v-dogg hmm?
11:43 v-dogg <validators method="write"> <validator> ...
11:44 v-dogg right?
11:45 E_mE i was wondering if it would work like that but ive taken kaos word for it and placed it in validator
11:46 v-dogg well, that's how I use it so it does work :)
11:47 E_mE ah even better :D
11:48 E_mE do i use $result = $this->context->getValidatorManager()->getErrorMessage(); to get the information
11:50 v-dogg foreach($container->getValidationManager()->getErrorMessages() as $error)
11:50 v-dogg in the template
11:50 v-dogg or what do you want to do?-)
11:50 E_mE ah
11:50 E_mE i was going to place it in action and pass the error down to a $this->setAttribute('errormsg', $blah);
11:51 v-dogg yeah, no need for that
11:51 E_mE wooo :D
11:51 E_mE thanks :)
11:51 stachu imo FPF should add error messages automatically after label tag
11:51 stachu s
11:52 v-dogg imo it shouldn't (by default at least)
11:53 v-dogg I think ross implemented such a feature (inline error messages)
11:53 E_mE how can you check weather the validator has been invoked? or do you set a attribute in the action to notify the template that it has occured?
11:53 v-dogg <?php if($container->getValidationManager()->hasErrors()): foreach($container->getValidationManager()->getErrorMessages() as $error): ?> <p class="error"><?= $error['message']; ?></p>
11:53 v-dogg <?php endforeach; endif; ?>
11:54 E_mE wicked :)
11:55 E_mE v-dogg i read why you where called v-dogg, nice little story hehe
11:57 Whisller [n=example@217.97.146.67] has joined #agavi
11:58 v-dogg hmm.. where did you read it from?-)
12:02 v-dogg ah, trac
12:05 _cheerios btw. lock_barf is there to stop against tampering of data?
12:06 _cheerios is there something else, because shouldnt reading be OK, just any modifications would throw the exception?
12:26 Wombert lock_barf is something else
12:26 Wombert if it's set to false
12:26 Wombert agaviwon't throw an exception
12:26 Wombert but you also don't get the data back
12:26 Wombert you get an empty request data holder
12:27 kaos|work v-dogg: woot, nice style you put on our docs :))
12:28 v-dogg thanks :)
12:34 Wombert http://www.it-eye.nl/weblog/2007/06/29/amazon-and-soa/
12:35 _cheerios Wombert, even reading the data shouldn't work?
12:35 Wombert no, of course not
12:35 Wombert it has the unfiltered, unvalidated, malicios, full-of-xss request data that wasn't validated
12:36 _cheerios and, access to it beyond an action is wrong, because?
12:37 v-dogg full of porn pics and dirty needles
12:40 _cheerios do you mean AgaviRequestDataHolder $rd is not the same as $this->getContext()->getRequest()->getRequestData() ?
12:47 E_mE why is it my getErrorMessages() function is returning all the error messages when in my test only the first rule should be invoked as i;ve entered no text into the input field.. here is the XML: http://pastebin.ca/595279
12:49 v-dogg you can combine those two validators
12:51 epaulin [n=epaulin@221.221.27.200] has joined #agavi
12:51 E_mE v-dogg: does that mean i will only get one error message?
12:51 E_mE i want an error message that relates to the problem
12:51 v-dogg http://pastebin.ca/595282
12:53 v-dogg cool eh?-)
12:54 E_mE yeah ... though its not parsing atm.. just looking for the error..
12:59 E_mE doesn't work now...
12:59 E_mE no messages are returned at all
13:07 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
13:21 Wombert autobahn ->
13:23 kaos|work [n=dominik@87.79.35.58] has quit []
13:32 _cheerios <route pattern="text/javascript" source="_SERVER[HTTP_ACCEPT]" output_type="json" stop="false" /> + output_types <configuration context="json"> ... </configuration>
13:33 _cheerios what am I missing to setup json support?
13:33 _cheerios the post works, routing picks up json as output_type, but executeWrite() never gets called
13:36 _cheerios "Output Type "json" has not been configured"
13:37 _cheerios ah, two places
13:39 _cheerios yeppers, works fine.
13:42 Wombert [n=Wombert@87.79.35.58] has quit [Read error: 110 (Connection timed out)]
13:45 _cheerios FPF gets run on writes, can I set output types for the filter (!json) ?
13:46 _cheerios yes i can, all good <3
13:51 v-dogg why the hell does Tidy turn this:
13:51 v-dogg <emphasis role="bold">It takes the pain out of HTML forms.</emphasis> Agavi features ...
13:51 v-dogg into this:
13:51 v-dogg <emphasis role="bold">It takes the pain out of HTML forms.</emphasis>Agavi features ...
13:57 v-dogg our brilliant plan to tidy docbooks is going to fail if that can't be avoided
14:01 _cheerios i've not mastered tidy myself, but could add more to the "why"'s.
14:02 MikeSethOnEmacs v-dogg: its trying to wrap
14:03 v-dogg I have wrapping disabled
14:03 v-dogg 'wrap'=>0, (http://tidy.sourceforge.net/docs/quickref.html#wrap)
14:04 v-dogg setting it to 160 doesn't help
14:04 _cheerios hmm, ihave to try that 0 thingy. i set mine to 100000000000000 earlier :p
14:28 v-dogg feck.. can't make it work
14:46 digitarald [n=Miranda@186.Red-83-55-78.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
14:59 digitarald [n=Miranda@186.Red-83-55-78.dynamicIP.rima-tde.net] has joined #agavi
15:45 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Client Quit]
15:45 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
15:55 MikeSethOnEmacs [n=user@line21-134.adsl.actcom.net.il] has quit [Remote closed the connection]
15:57 E_mE cya laters :)
15:58 E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection]
16:02 digitarald [n=Miranda@186.Red-83-55-78.dynamicIP.rima-tde.net] has quit ["digitarald.de"]
16:19 _cheerios [i=jussiava@cs78136166.pp.htv.fi] has quit ["bbl"]
16:55 E_mE [n=E_mE@91.84.10.29] has joined #agavi
17:10 Arme[N-1] is now known as Arme[N]
17:25 splatch` oi!
17:39 Whisller shit
17:39 Whisller I forgot how in mysql can I check amount of sign in string
17:46 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi
18:24 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has joined #agavi
19:50 impl [n=impl@adsl-77-239-35.rmo.bellsouth.net] has joined #agavi
20:05 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
20:11 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Client Quit]
20:34 impl [n=impl@httpcraft/php/impl] has quit [Remote closed the connection]
20:35 digitarald [n=Miranda@62.43.142.69.dyn.user.ono.com] has joined #agavi
20:40 lukoko [n=kosher@78-57-183-39.ip.zebra.lt] has quit ["Ex-Chat"]
21:29 Whisller [n=example@217.97.146.67] has left #agavi []
21:59 digitarald [n=Miranda@62.43.142.69.dyn.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
22:09 E_mE huomenta!
22:29 Whisller [n=example@217.97.146.67] has joined #agavi
22:47 kaos|work [n=dominik@ppp-82-135-12-115.dynamic.mnet-online.de] has joined #agavi
23:07 impl [n=impl@adsl-77-239-35.rmo.bellsouth.net] has joined #agavi
23:08 sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"]
23:09 kaos|work [n=dominik@ppp-82-135-12-115.dynamic.mnet-online.de] has quit []
Day changed Sat Jun 30 2007
00:27 Whisller [n=example@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)]
05:37 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
05:51 v-dogg huomenta
05:53 Arme[N] huomenta
06:12 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"]
06:18 v-dogg sailing for the weekend ->
06:18 v-dogg laters
06:30 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
06:49 impl [n=impl@httpcraft/php/impl] has quit []
08:25 Arme[N] lol http://technocrat.net/d/2007/6/28/22333
09:18 digitarald [n=Miranda@62.43.142.69.dyn.user.ono.com] has joined #agavi
09:48 Wombert [n=Wombert@dslb-084-056-023-124.pools.arcor-ip.net] has joined #agavi
09:50 Wombert oomph oomph oomph
09:50 Wombert sup
10:56 E_mE [n=E_mE@91.84.10.29] has quit [Remote closed the connection]
11:01 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has joined #agavi
11:01 _cheerios hello
11:02 ttj Yo.
11:05 _cheerios i'm moving one codebase from mojavi to agavi. should i make this a branch in svn, or make a totally new repo?
11:06 Arme[N] it depends, I have this situation too, I'll make a branch for old one and I'll try to migrate in trunk
11:08 _cheerios ah, that's probably better. moving the old to a branch, and moving the new to /trunk immediately (instead of when "it's atleast beta")
11:08 _cheerios in my case it's a rewrite, no migration needed.
11:08 Arme[N] first steps should be done in a branch, if you don't want to make trunk too unstable
11:09 Arme[N] yeah same here
11:09 Arme[N] I think 70% of it should be rewrite :)
11:14 _cheerios it's only six months since i wrote it, but you can learn quite a lot of new tricks in that time :)
11:15 _cheerios now that i think of it, it's been already 8+. memory problems :)
11:38 Wombert [n=Wombert@dslb-084-056-023-124.pools.arcor-ip.net] has quit []
11:40 Wombert [n=Wombert@dslb-084-056-023-124.pools.arcor-ip.net] has joined #agavi
11:56 _cheerios mmm... finally somewhat good weather = jogging \o/
12:14 digitarald anybody maybe still with safari 2 here? just to check perfomance :)
12:14 digitarald http://digitarald.de/playground/remooz.html
12:14 digitarald cant really see a smooth animation in my browsercam :)
12:30 Arme[N] nice photos :P
12:30 Arme[N] works fine in Fx, btw
12:39 digitarald k
12:44 stachu also licensedd under MIT-License ?
12:51 digitarald guten Morgen, Antje ist da
12:54 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"]
12:55 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has joined #agavi
12:57 E_mE [n=E_mE@91.84.10.29] has joined #agavi
12:58 E_mE huomenta!
14:10 RossC0 [n=RossC0@teamjr.plus.com] has joined #agavi
14:11 RossC0 huomenta
14:27 codecop huomenta
14:29 simoncpu [n=soulfury@58.71.34.138] has quit [Read error: 110 (Connection timed out)]
14:32 _cheerios *sigh* made shiteloads of modifications just to notice 1½hrs later that the files were in the wrong encoding beyond repair. oh well, try deux.
14:32 _cheerios -> jog
14:36 Wombert ikea ->
14:37 E_mE wooo ikea! ...
14:54 simoncpu [n=soulfury@58.71.34.137] has joined #agavi
15:11 _cheerios proper jogging music with TUSKA metal air festival beind held alongside my regular route
15:12 _cheerios *open-air -even, (tuska=pain)
15:13 RossC0 [n=RossC0@teamjr.plus.com] has quit []
15:27 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
16:20 codecop can fpf to set data when is GET not POST? i want to set some value in InputView
16:22 codecop now it works only when is POST http://pastebin.ca/597399
16:24 codecop i solved it in filters.xml need read parameter
16:28 codecop nice
16:48 codecop [n=codecop@78-61-128-127.ip.zebra.lt] has quit ["Leaving"]
17:07 Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
17:13 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.]
17:13 Arme[N-1] is now known as Arme[N]
17:38 impl [n=impl@adsl-77-239-35.rmo.bellsouth.net] has joined #agavi
17:43 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
18:17 GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi
19:01 NET||abuse [n=lab@ip-83-147-187-216.dub-3rk2.metro.digiweb.ie] has joined #agavi
19:05 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
19:32 digitarald [n=Miranda@62.43.142.69.dyn.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"]
19:33 impl pokes Chuckwalla
19:34 Yuffster [n=m@ip70-160-37-125.hr.hr.cox.net] has joined #agavi
19:46 Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"]
20:26 Wombert [n=Wombert@dslb-084-056-023-124.pools.arcor-ip.net] has quit [Nick collision from services.]
20:26 Wombert_ [n=Wombert@dslb-084-056-005-195.pools.arcor-ip.net] has joined #agavi
20:37 impl Wombert_: Can I merge in changes from branches/0.11 into my branch, or should I merge 0.11 -> trunk -> my branch?
20:37 Wombert_ I'll sync everything up for you right away
20:37 Wombert_ okay?
20:37 Wombert_ is now known as Wombert
20:37 impl sure :D
20:37 impl you're the best :D
20:45 Wombert wtf, why do I get a conflict
20:45 impl O_o
20:45 impl `svn merge -r 1999:2027 ../branches/0.11` from trunk/?
20:45 Wombert yup
20:46 impl :s
20:47 impl on CHANGELOG?
20:50 impl Wombert: something it doesn't like about that line with Experimental support for native XML config handlers
20:50 Wombert yup
20:55 impl Weird.
20:55 impl I don't see why that's a conflict at all
20:57 Wombert svn merge http://svn.agavi.org/trunk@HEAD http://svn.agavi.org/branches/0.11@HEAD works much better
20:58 impl bet it's much slower too though ;x
20:58 impl oh well
20:59 CIA-11 david * r2028 /trunk/ (18 files in 13 dirs): merging in changes from branches/0.11
20:59 impl yay, thanks
21:01 Wombert hm works for your branch
21:01 Wombert oddodooodoodododo
21:02 Wombert :>
21:02 impl I really wish I'd get around to things more often
21:02 impl had this branch for a month now and I haven't done anything :s
21:03 Wombert don't worry
21:04 CIA-11 david * r2029 /branches/impl-caching/ (482 files in 26 dirs): merging in changes from trunk
21:04 impl :DD
21:04 impl yay, thanks
21:05 impl oer
21:05 impl I thought exactly the same thing as I did 5 minutes ago
21:05 impl haha
21:05 CIA-11 david * r2030 /branches/ross-testing/ (18 files in 13 dirs): merging in changes from trunk
21:05 Wombert hm?
21:06 impl [17:04:56] <impl> yay, thanks
21:06 impl [16:59:47] <impl> yay, thanks
21:06 impl =P
21:06 Wombert :p
21:06 Wombert I would never notice such a think
21:06 Wombert I have a goldfish like short memory
21:06 Wombert I can easily remember things in the long term
21:06 Wombert but I often walk to the fridge to get a drink and by the time I arrive, I have forgotten what the fuck I was on about
21:07 impl oh, I do that all the time
21:07 impl sometimes I forget I'm getting up to go to the bathroom
21:07 Wombert or I think "remember to take the umbrella" while I put my jacket on, ten seconds later, I'm out the door
21:08 Wombert another 30 I'm outside and of course it's fucking raining
21:08 Wombert but!
21:08 impl haha
21:08 Wombert I have to take advantage of being in munich
21:08 Wombert so
21:08 Wombert I'll have to go clubbing today
21:09 Wombert http://www.it-eye.nl/weblog/2007/06/29/amazon-and-soa/
21:09 Wombert http://blogs.zdnet.com/storage/?p=152
21:09 Wombert http://www.acmqueue.com/modules.php?name=Content&pa=showpage&pid=388&page=5
21:09 Wombert http://storagemojo.com/?p=249
21:09 Wombert intrrresting
21:09 impl o_O
21:09 Wombert <3 SOA
21:09 Wombert it's so cool
21:09 Wombert - you work with black boxes, don't give a shit about the inner workings
21:10 Wombert - things work like magic with one line of code
21:10 Wombert - if performance sucks, blame the service on the other end :p
21:10 Wombert been doing a lot of web service stuff recently, mostly SOAP, and it's ffffantastic
21:10 Wombert but
21:10 Wombert wow
21:11 Wombert it's friggen 11
21:11 Wombert must go
21:11 impl Have fun
21:11 impl :D
21:11 Wombert h-h-hope so
21:11 impl and try not to stutter at the girls, hmm :p
21:11 Wombert I d-d-d-don't stutter!
21:12 Wombert (I really don't :p)
21:12 Wombert anyway
21:12 Wombert ->
21:12 impl :P
21:12 Wombert hugs impl
21:12 Wombert [n=Wombert@dslb-084-056-005-195.pools.arcor-ip.net] has quit [Client Quit]
21:20 _cheerios [i=jussiava@cs78148121.pp.htv.fi] has quit ["nn"]
21:26 splatch` hello
21:27 impl g'day
21:27 splatch` day? :)
21:27 splatch` i've 11:30 PM
21:27 splatch` impl: what's time you have?
21:28 impl 17:30
21:29 splatch` impl: what's country?
21:29 impl United States
21:29 impl east coast
21:31 splatch` for me it's time to sleep
21:31 impl =)
21:31 impl Night
21:31 splatch` just after this beer i going to bed ;)
23:04 epaulin_ [n=epaulin@221.221.27.110] has joined #agavi
23:11 impl ponders why AgaviToolkit::isNotArray exists
23:22 epaulin [n=epaulin@221.221.27.200] has quit [Read error: 110 (Connection timed out)]
Log closed Sun Jul 01 00:00:02 2007