--- Log opened Sun Mar 01 00:00:23 2009
--- Day changed Sun Mar 01 2009
00:00 -!- Wombert [n=Wombert@83.105.10.2] has joined #agavi
00:10 < Wombert> [19:32] matbtt: ...txh. Mmh, that's what I intended, but I'm not sure how this will behave if the request comes from a html client and does not contain any xml. We'll see...
00:10 < Wombert> oh he's gone
00:10 < Wombert> :<
00:31 -!- Whisller [n=Whisller@chello089079255102.chello.pl] has quit []
00:49 -!- Rayne [n=Rayne3@pD9E37C21.dip.t-dialin.net] has quit ["EOL through Alma Wade."]
01:03 < nfq> Wombert: ping
01:43 -!- impl [n=impl@atheme/member/impl] has joined #agavi
01:57 < Ox42> Hey, im browsing the agavi sample app...
01:58 < Ox42> $this->getContext()->getUser()->login($rd->getParameter('username'), $rd->getParameter('password'));
01:58 < Ox42> is that... a built in thing or.... just an example?
02:03 < saracen> An example
02:03 < saracen> You'll see a user class in lib/user
02:03 < saracen> which extends the built in class AgaviSecurityUser
02:03 < saracen> So when you make your own project, you'll probably want to do something similar
02:41 -!- Wombert [n=Wombert@pdpc/supporter/professional/wombert] has quit []
02:46 -!- everplays [n=prince@94.182.4.207] has joined #agavi
03:03 -!- everplayZzz [n=prince@94.182.24.18] has quit [Read error: 110 (Connection timed out)]
03:05 -!- everplays [n=prince@94.182.4.207] has quit [Read error: 110 (Connection timed out)]
03:06 -!- everplays [n=prince@94.182.0.225] has joined #agavi
04:29 -!- nfq [n=nfq@90-247.1-85.cust.bluewin.ch] has quit []
06:01 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi
06:16 -!- everplays [n=prince@94.182.0.225] has left #agavi []
07:26 -!- everplays [n=prince@94.182.0.225] has joined #agavi
07:29 < v-dogg> huomenta
07:40 < horros> I really do wonder who has time to sit around analysing geographical and continuity errors in movies and report them to IMDB :)
07:43 < Rick> there are thousands if not millions of movie watchers, all it takes is one person to notice it and report it to imdb
07:44 -!- macen_ [n=macen@host86-174-136-71.range86-174.btcentralplus.com] has joined #agavi
07:45 -!- SasanRose [n=SasanRos@91.184.77.231] has joined #agavi
07:47 -!- macen_ [n=macen@host86-174-136-71.range86-174.btcentralplus.com] has quit [Client Quit]
07:53 -!- eremit [n=Miranda@p5B237094.dip.t-dialin.net] has joined #agavi
08:48 -!- liutis [n=codecop@78.56.139.154] has joined #agavi
08:52 < liutis> huomenta
09:02 -!- matbtt [n=matbtt@ings-4dbf5939.pool.einsundeins.de] has joined #agavi
09:08 -!- _cheerios [n=Jack@dsl-hkibrasgw3-fe74fb00-140.dhcp.inet.fi] has joined #agavi
09:08 < _cheerios> huomenta
09:52 -!- Wombert [n=Wombert@83.105.10.2] has joined #agavi
10:03 < Wombert> huomenta
10:03 * Wombert yawns
10:07 < v-dogg> hai
10:07 < v-dogg> how was london?
10:16 < MikeSeth> oh hai
10:48 -!- benschi [n=benjamin@s0627.vpn.hrz.tu-darmstadt.de] has joined #agavi
10:53 -!- marioprudhomme [i=4a38ea03@gateway/web/ajax/mibbit.com/x-1aa8e6d3d1db3a96] has joined #agavi
10:59 -!- reza [n=chatzill@85.15.40.233] has joined #agavi
11:00 < reza> How to create a Calendar for PersianCalendar
11:08 < Wombert> v-dogg: still there
11:08 < Wombert> :>
11:08 < Wombert> reza: ummmmmmm
11:08 < Wombert> good question
11:09 < marioprudhomme> editing a few hundred lines of xml should do he trick ;)
11:10 < Wombert> nah, it's a calendar implementation thing
11:10 < Wombert> I think there is only one for gregorian calendars at the moment
11:10 < Wombert> does ICU even have a persian (iranian, actually, right?) one?
11:14 < reza> yes
11:14 < marioprudhomme> hey wombert, agavi is maintained by a company of 4 employees and youre one of them, correct?
11:21 < everplays> hmm, Wombert i want to know about "Date and translation services" like reza but i could not find any document for it!
11:22 < everplays> give us a way to know about Date and translation
11:32 < reza> :-(
11:33 < Wombert> marioprudhomme: five
11:33 < Wombert> but basically, yes
11:33 < Wombert> marioprudhomme: why?
11:35 < marioprudhomme> do you get outside contributers?
11:36 < Wombert> yes, sure, it's not just us
11:36 < Wombert> why?
11:36 < horros> hai Wombert
11:36 < horros> Good trip?
11:36 < Wombert> I er
11:36 < Wombert> need to shower
11:36 < Wombert> and pack
11:36 < Wombert> and check out
11:36 < marioprudhomme> Just trying to learn more about agavi
11:36 < horros> Wombert: Ah.
11:37 < Wombert> marioprudhomme: you know it's been around for ~4 years, right?
11:37 < marioprudhomme> NO, lol
11:37 < marioprudhomme> i heard about it like, 3 days ago
11:37 < marioprudhomme> from a reddits post, i thought it was a new framework
11:37 < horros> I'ma call Börs tomorrow to make sure the room reservation has gone through and is confirmed and everything is settled.
11:37 < Wombert> nono. just recently hit 1.0
11:37 < Wombert> horros: ask about mine, too
11:37 < Wombert> horros: and yell at them for not sending out confirm mails
11:38 < horros> Wombert: Sure thing, plz 2 msg confirmation number kthx
11:44 -!- benschi [n=benjamin@s0627.vpn.hrz.tu-darmstadt.de] has quit []
11:44 < reza> hmm, Wombert i want to know about "Date and translation services"
11:50 < everplays> guys no one can help us? ^
11:56 < Wombert> guys
11:56 < Wombert> it's sunday
11:56 < Wombert> ...
11:56 < Wombert> try the users mailing list
11:56 < Wombert> for instance
11:56 < Wombert> and be a little patient
11:56 < Wombert> I don't have time right now, sorry
11:57 < reza> Ok
12:02 -!- benschi [n=benjamin@s0512.vpn.hrz.tu-darmstadt.de] has joined #agavi
12:25 < Wombert> bai
12:25 -!- Wombert [n=Wombert@pdpc/supporter/professional/wombert] has quit []
12:34 -!- icyt is now known as IcyT
12:39 -!- graste [n=graste@f053013179.adsl.alicedsl.de] has joined #agavi
12:41 -!- SasanRose [n=SasanRos@91.184.77.231] has quit ["leaving"]
12:51 -!- Arme[N] is now known as Arme[0]
13:00 < graste> huomenta
13:03 -!- reza [n=chatzill@85.15.40.233] has left #agavi []
13:08 < _cheerios> performance headaches suck. :< still trying to figure out if mptt is workable w/mysql
13:12 -!- benschi is now known as benschi_
13:13 -!- benschi` [n=benschi@echo134.server4you.de] has joined #agavi
13:14 -!- benschi` is now known as benschi
13:14 -!- benschi [n=benschi@echo134.server4you.de] has quit [Client Quit]
13:16 -!- benschi` [n=benschi@echo134.server4you.de] has joined #agavi
13:16 -!- benschi [n=benschi@s0891.vpn.hrz.tu-darmstadt.de] has joined #agavi
13:17 -!- benschi [n=benschi@s0891.vpn.hrz.tu-darmstadt.de] has quit [Client Quit]
13:18 -!- benschi` is now known as benschi
13:19 -!- benschi is now known as benschi`
13:20 -!- benschi_ [n=benjamin@s0512.vpn.hrz.tu-darmstadt.de] has quit []
13:20 -!- Rayne [n=Rayne3@pD9E37F50.dip.t-dialin.net] has joined #agavi
13:25 < marioprudhomme> use a "left-right node strategy"
13:32 < saracen> nested set!
13:32 * saracen smacks marioprudhomme
13:43 < marioprudhomme> lol
13:48 -!- matbtt [n=matbtt@ings-4dbf5939.pool.einsundeins.de] has left #agavi []
13:55 < v-dogg> :)
13:59 < _cheerios> a better choice of index (3 keys) brought the query to ~ 2 sec, will do.
14:07 -!- benschi` [n=benschi@echo134.server4you.de] has quit ["Coyote finally caught me"]
14:07 -!- benschi [n=benschi@echo134.server4you.de] has joined #agavi
14:12 -!- Zeelot3k [n=zeelot@adsl-233-53-142.mia.bellsouth.net] has joined #agavi
14:13 < trophaeum> _cheerios, 2secs is acceptable? ^_~
14:13 < v-dogg> prolly not a query executed on every request :)
14:14 < _cheerios> not really. but it won't go much faster than that (4000 nodes).
14:14 -!- benschi [n=benschi@echo134.server4you.de] has left #agavi []
14:15 -!- benschi [n=benschi@echo134.server4you.de] has joined #agavi
14:17 < _cheerios> if postgres is much faster it'll deffo score points w/me :)
14:21 < trophaeum> postgres if it requires a table scan with multiple threads hitn it at once will do one scan and feed all the threads the data they need at once :P
14:21 < trophaeum> scalability ftw
14:21 -!- everplays [n=prince@94.182.0.225] has left #agavi []
14:22 -!- digitarald [n=digitara@62.43.141.82.dyn.user.ono.com] has joined #agavi
14:22 -!- digitarald [n=digitara@62.43.141.82.dyn.user.ono.com] has quit [Client Quit]
14:22 < trophaeum> screw this no fulltext search unless your a table type that cant update and select at the same time (granted, i use sphinx) and screw this having to pick the suitable table type for your data, give me a nice stable db that scales and can do insanly complex queries and do them fast any day of the week
14:22 -!- digitarald [n=digitara@62.43.141.82.dyn.user.ono.com] has joined #agavi
14:23 < trophaeum> postgres's builtin ftss also supports synonym tables and a few other things including you setting how you want it to score the ranking for the order by in multiple different ways
14:23 < trophaeum> the list goes on :)
14:24 < trophaeum> if your queries are complex enough it'll even enable geqo (genetic query optimizer)
14:25 < _cheerios> does postgres have good master-master and master-slave replication solutions by now?
14:25 < trophaeum> hmmmm, theres multiple solutions, each have their strong/weak points, i couldnt tell u a list of names but i can tell you that i have done async master slave before and it was GREAT
14:26 < trophaeum> you can also do warm standby with using PITR (point in time recovery) stuff
14:27 < trophaeum> btw, my purpose for master slave was 2 fold, 1 backup 2 statistical analysis on the slave box so as not to kill the master
14:28 < trophaeum> oh and if you use myisam tables regularly, how many times have you had to do repair table blah? :) with postgres iv NEVER had it not just come online and have the tables fully intact
14:28 < trophaeum> and trust me, i tried
14:29 < trophaeum> pulling hdd power plugs/data cables/psu cable/kill -9/force a kernel panic
14:29 < trophaeum> it survived every time without having to do anything by hand to repair it
14:34 < trophaeum> oh and then you can write functions/triggers in perl, php, tcl, pl/sql (postgres stored proc lang, pretty odd for me personally, havnt used mssql or oracle much before so it hurts my head), cascading foreign key updates/deletes... i could go on but as u can see, im sick of mysql blowing up on me, postgres ftw
14:36 -!- liutis [n=codecop@78.56.139.154] has quit ["Leaving"]
14:36 < v-dogg> I have never used mysql for anything serious so I can't say anything about it
14:36 < v-dogg> but I can say: PostgreSQL ftw :)
14:38 < MikeSeth> o/
14:38 < MikeSeth> yes
14:39 < MikeSeth> PostgreSQL is Serious Business
14:39 < MikeSeth> o/~ IF YOU HAVE A WHITE FRIEND
14:39 < MikeSeth> o/~ THEY BE CLAPPIN LIKE THIS YO
14:39 < MikeSeth> lol @ rev. wright!
14:42 -!- graste [n=graste@f053013179.adsl.alicedsl.de] has quit ["Leaving."]
14:47 < trophaeum> i used mysql for a 'serious' site once, 800 queries/sec, quad xeon 450, 4gig of ram, 6 disk array, it kept blowing tables out every few days and i would get 2am phone calls zomg the db is down
14:47 < trophaeum> and as you can see, there are more than a couple in here who agree
14:48 < _cheerios> sure. i just need more than a standalone single server setup (hence the m:m+m:s question).
14:49 < trophaeum> m s iv done with success and since it was async it was great when there were connection problems, i actually did m s s with the last s being a local db at home
14:50 < trophaeum> that was long ago too so better solutions will exist these days
14:50 < _cheerios> settings those up with mysql is almost a breeze. with postgres, i find random links from 2007 to different solutions and that's about it. doesn't inspire much trust to look deeper.
14:51 < trophaeum> shrug upto you, i just know what experience iv had with it all, mysql needs to die already
14:52 < trophaeum> http://bucardo.org/ looks fun
14:54 < _cheerios> so much fun you need to program perl to have it work proper :)
14:54 < trophaeum> PostgreSQL offers multiple solutions for multi-master replication, including solutions based on two phase commit. There's Bucardo, PgPool and PgPool-II, PgCluster and Sequoia as well as some proprietary solutions. Another promising approach, implementing eager (synchronous) replication is Postgres-R, however it is still in development.
14:54 < trophaeum> so says wikipedia
14:56 < _cheerios> if there was a solution in active development, proven track record, and backed by postgres itself -- that'd be nice.
14:57 < trophaeum> postgres doesnt do them itself at this point, its on the todo list, they are working on other fun stuff for performance and scalability though
15:07 -!- graste [n=graste@f053013179.adsl.alicedsl.de] has joined #agavi
15:20 -!- nfq [n=nfq@134-105.3-85.cust.bluewin.ch] has joined #agavi
15:22 -!- cln [i=579f6e08@gateway/web/ajax/mibbit.com/x-6375b8edc34f76ce] has joined #agavi
15:23 < cln> hello, i have a problem regarding submitting a form
15:23 < cln> method is set to post but there is no data transferred to the action
15:24 < cln> can anyone help me, pls?
15:24 < macen> all fields need to be validated
15:24 < macen> otherwise they won't appear
15:25 < macen> see app/modules/Products/validate/Product/view.xml in the sample app for examples
15:26 < MikeSeth> cln: Agavi has strict validation mode on by default
15:26 < MikeSeth> cln: which means that nothing passes to the action until it's validated
15:26 < MikeSeth> cln: you can a) write validation directives or b) disable strict validation
15:27 < macen> indeed
15:27 < macen> http://trac.agavi.org/browser/branches/1.0/samples/app/modules/Products/validate/Product/View.xml <<
15:27 < cln> ah ok, thx both of you
15:28 < graste> for some basic skeleton examples have a look at the validation related topics under http://www.mivesto.de/agavi/agavi-faq.html
15:28 < MikeSeth> if you are writing a production application i highly suggest the former
15:28 < graste> yes
15:28 < cln> is the xmlns entry still valid?
15:28 < graste> the sample application gives some nice examples
15:29 < MikeSeth> cln: it should be
15:29 < cln> ok
15:38 < cln> is it enough to write what´s given under http://www.mivesto.de/agavi/agavi-faq.html#validation_0 or do i also have to write certain validators additionally?
15:38 < cln> the data is still NULL
15:39 < cln> we´re testing here and used relaxed as param
15:41 < graste> better get used to strict mode
15:42 < graste> do you have a validator?
15:43 < graste> even in relaxed mode that would be used
15:43 < cln> yeah i know and we definitely want to use it later, but at first we want to get the action run properly the simplest way
15:43 < cln> no, atm no validator
15:44 < graste> and you really use relaxed mode?
15:45 < MikeSeth> cln: in relaxed mode, it will let everything through if no specific validator applies
15:45 < MikeSeth> cln: how did you switch to relaxed?
15:45 < graste> you can define the validation mode per context and environment - make sure you edited the correct part of you factories.xml file
15:47 < MikeSeth> relaxed
15:47 < MikeSeth> etc
15:51 < graste> sometimes it helps to delete the config cache ;)
15:51 < MikeSeth> are you running in production?
15:51 < MikeSeth> in development mode caches are cleared automatically
15:52 < cln> our validator for one input is: title 255
15:52 < macen> when debug=true caches are cleared
15:53 < cln> error message is: unknown validator found: string
15:53 < graste> parent="" is missing
15:53 < v-dogg> yup
15:53 < graste> http://trac.agavi.org/browser/branches/1.0/samples/app/modules/Products/validate/Product/View.xml#L5
15:54 < graste> like this - validators specify "parent" validators until you get to the topmost (which is the one that makes it possible to use shortnames like"string" "and" etc. for validators)
15:54 < graste> otherwise you'd have to use full class names
15:54 < graste> AgaviStringValidator etc
15:55 < cln> ok, tyvm it works :)
15:55 < graste> :)
15:56 < v-dogg> I'd actually recommend full class names. less confusing
15:57 < v-dogg> I don't think those aliases actually give anything
15:57 * macen agrees
15:57 < macen> took me ages to figure what was doin off in there :s
15:58 < macen> s/doin/goin
15:58 < macen> i must be stupid
15:58 < macen> where are the aliases defined?
15:59 < macen> I thought it just stripped Agavi* and *Validator then strtolowercase'ed it
15:59 < v-dogg> http://trac.agavi.org/browser/branches/1.0/samples/app/config/validators.xml
15:59 < macen> doh.
15:59 < v-dogg> ^ see parent=".."
15:59 < v-dogg> there
15:59 < macen> ahk
16:02 < graste> so it should be easily possible to define own shortnames, I'd guess :)
16:03 < macen> may as well change the class name heh
16:03 < MikeSeth> graste: in the new versions you can actually define validation templates to be reused in actual validation config
16:03 < graste> ^^
16:03 < graste> validations templates?
16:04 < MikeSeth> yeah
16:04 < graste> like some sort of nested validators to be reused?
16:04 < MikeSeth> just validation configuration that you can invoke
16:05 * graste likes to see an example, as he doesn't get teh point
16:07 < MikeSeth> I dont have one ready i havent even looked at it myself yet
16:07 < MikeSeth> it should be in release announcements of the last 1.0 prebetas
16:09 < graste> hm, don't remember something, but thanks for the tip anyways :)
16:09 < graste> may come in handy one time
16:11 < MikeSeth> where's mark
16:12 -!- Strzalek [n=Strzalek@axp100.neoplus.adsl.tpnet.pl] has joined #agavi
16:12 < Strzalek> Huomenta
16:13 < Strzalek> anybody here?
16:13 < MikeSeth> no :D
16:13 < Strzalek> Hi Mike! ;0
16:13 < Strzalek> ;)
16:13 < Strzalek> I have some problems with config after a couple moths of break with agavi
16:14 < Strzalek> MikeSeth: http://pastie.org/403825
16:17 < MikeSeth> Strzalek: umm you upgraded from which to which version?
16:17 < Strzalek> MikeSeth: I'm porting old 0.10 app to 1.0
16:17 < Strzalek> starting with clean config
16:18 < MikeSeth> 0.10?!
16:18 < Strzalek> MikeSeth: sure ;) Oldschool
16:18 < Strzalek> MikeSeth: nahh, 0.11
16:18 < Strzalek> But databases I written new
16:18 < MikeSeth> well a LOT changed between 0.11 and 1.0
16:19 < Strzalek> MikeSeth: yes i know
16:19 < Strzalek> and my job i to port it
16:19 < Strzalek> but I told you - i have now clean 1.0 app
16:19 < Strzalek> and want to run first query with propel
16:19 < Strzalek> and have this databases config error
16:20 < MikeSeth> Strzalek: and also get ae: prefix
16:20 -!- cln [i=579f6e08@gateway/web/ajax/mibbit.com/x-6375b8edc34f76ce] has quit ["http://www.mibbit.com ajax IRC Client"]
16:20 < MikeSeth> other than this
16:20 < MikeSeth> clear your cache
16:21 < MikeSeth> make sure you updated system config files in app/config
16:21 -!- cln [i=579f6e08@gateway/web/ajax/mibbit.com/x-6d35513c0f91797a] has joined #agavi
16:21 < MikeSeth> especially config_handlers.xml and compile.xml
16:22 < Strzalek> Huh
16:22 < Strzalek> in 1.0 i can't use single ...
16:22 < MikeSeth> yes
16:22 < Strzalek> without putting it into ...
16:22 < MikeSeth>
16:22 < Strzalek> Aaaaa
16:22 < MikeSeth> this is how it should go
16:22 < Strzalek> Ok
16:22 < cln> how are errors transferred to an error page?
16:23 < cln> validation errors*
16:25 < Strzalek> Ok
16:25 < Strzalek> it still don't work
16:25 < Strzalek> but must go now ;/
16:25 < Strzalek> brb 40 minutes
16:25 < cln> did some1 answer me? i think, i had a disconnect ...
16:27 < graste> cln: you can display errors using your errorview and manually outputting them by iterating over errors (uncool) or use the form population filter (cool)
16:28 < cln> ah yes, i think i read that once
16:28 < cln> gtg now, ty for ur support
16:28 < graste> form population filter is configured in global_fliters.xml
16:28 < graste> good luck
16:29 < cln> cu
16:30 < MikeSeth> graste: there's actually a new pretty API that retrieves the error messages from validation manager in an ordered fashion
16:30 < MikeSeth> cln: form population filter can do this and more
16:30 < graste> yep, never used that api
16:30 < graste> and FAQ example is old
16:31 < graste> already in an unfinished faq
16:31 < graste> haha
16:32 -!- cln [i=579f6e08@gateway/web/ajax/mibbit.com/x-6d35513c0f91797a] has quit ["http://www.mibbit.com ajax IRC Client"]
16:34 < Strzalek> MikeSeth: huh, could you repair config for me?
16:34 < Strzalek> I can't fix it
16:35 < saracen> MikeSeth: http://www.fiveturns.org/meet_the_bottle/ - Because I know you play TF2 :P
16:36 < MikeSeth> Strzalek: same validation errors?
16:36 < Strzalek> Yes
16:36 < MikeSeth> 18:22 make sure you updated system config files in app/config
16:37 < MikeSeth> 18:22 especially config_handlers.xml and compile.xml
16:37 < MikeSeth> in most cases you should copy these from Agavi config templates when migrating
16:38 < Strzalek> MikeSeth: I told you - all of the "new 1.0" is pure agavi structued application with default configs proviaded by generator
16:39 < MikeSeth> and yet you still get this?
16:39 < MikeSeth> pastebin the file as it is now
16:39 < MikeSeth> saracen: mmmm
16:40 < Strzalek> MikeSeth: http://pastie.org/403840
16:40 < saracen> nom
16:41 < MikeSeth> Strzalek: the file looks completely valid to me
16:41 < Strzalek> MikeSeth: for me too ;}
16:41 < Strzalek> Ahhhhh
16:41 < MikeSeth> Strzalek: are you *sure* there's no mistake? paste your config_handlers.xml
16:41 < Strzalek> MikeSeth: I have 2 sections
16:42 < Strzalek> one for me, and one for my partner
16:42 < Strzalek> I updated first
16:42 < Strzalek> and second was withous ns's
16:42 < Strzalek> ;]
16:42 < Strzalek> No I have PHP error and I'm happy to finally see another error ;)
16:43 < MikeSeth> ahaha
16:43 < MikeSeth> old port
16:43 < MikeSeth> brb smoke
16:44 -!- SasanRose [n=SasanRos@92.50.2.42] has joined #agavi
16:58 -!- Zeelot [n=zeelot@98.64.56.222] has joined #agavi
17:09 -!- marioprudhomme [i=4a38ea03@gateway/web/ajax/mibbit.com/x-1aa8e6d3d1db3a96] has quit ["http://www.mibbit.com ajax IRC Client"]
17:11 -!- Zeelot3k [n=zeelot@adsl-233-53-142.mia.bellsouth.net] has quit [Read error: 110 (Connection timed out)]
17:16 < macen> woah the FAW grew huh
17:16 < macen> FAQ*
17:30 -!- Sasan_Rose [n=SasanRos@92.50.2.42] has joined #agavi
17:37 < nfq> yo MikeSeth
17:39 < MikeSeth> hey
17:42 -!- SasanRose [n=SasanRos@92.50.2.42] has quit [Connection timed out]
17:51 -!- Sasan_Rose is now known as SasanRose
18:12 -!- liutis [n=codecop@78.56.139.154] has joined #agavi
18:24 < Rayne> i have a weird problem:i have the following routing and validator: http://pastie.org/private/zf0dikw53hxbuhfcdbdhbw - but only the second "rewrite" route calls ShowPost, while the first route calls the 404 action. any clue?
18:28 < asonge> Rayne: try and use a different name?
18:38 -!- nfq [n=nfq@134-105.3-85.cust.bluewin.ch] has quit []
18:42 < ttj> Hmm... If I have a form with input fields evaluation[foo] and evaluation[bar], how would I go about validating these?
18:42 < ttj> Or: is there a manual on validators anywhere?
18:45 < saracen> You should just be able to validate them like any other input
18:45 < Rayne> asonge, oups
18:45 < Rayne> thanks
18:45 < saracen> evaluation[foo]
18:46 -!- matbtt [n=matbtt@BAAd449.baa.pppool.de] has joined #agavi
18:47 < ttj> Hmm... Is there any easy way to turn validation off. I think I should dig into this in more detail a bit later, but I have to get this demo done by tomorrow morning and I really can't be arsed to fight with validation right now... :D
18:48 < matbtt> http://www.mivesto.de/agavi/agavi-faq.html#validation_0
18:48 < Ox42> So, can you guys make an AgaviSimple ?
18:49 < Ox42> Or maybe just a book - Agaivi For Retards.
18:49 < ttj> matbtt: Thanks. :)
18:49 < matbtt> :) You're welcome
18:53 < Rayne> if i want to add a new action should i use agavi-dist or can i just create an action, view, validation, and template?
18:54 < matbtt> ttj: you may be interested in this http://blog.veikko.fi/post/68983308/agavi-tip-validation-gotchas, v-dogg collected some very useful hints
18:55 < ttj> Thanks. That looks really useful. Gonna bookmark these and implement them properly after tomorrow. (Dangerous last words... :D)
18:55 < matbtt> very dangerous, indeed
18:57 < matbtt> Rayne: ..it's up to you. Manual creation is error prone if you have typos...
18:57 -!- IcyT is now known as icyt
18:58 < saracen> Plus you dont get the benefit of it creating the validation and cache xml files.
18:58 < saracen> If you do: agavi action-wizard it will also ask you what views to automatically create
19:00 -!- everplays [n=prince@94.182.0.225] has joined #agavi
19:01 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Remote closed the connection]
19:01 < Rayne> i used the wizard, thanks
19:01 < Ox42> God, As much as I dont get Agavi, I want to use it.
19:37 < macen> lol Ox42 I know the feeling well
19:38 < macen> what are you getting stuck on?
19:53 -!- Sasan_Rose [n=SasanRos@92.50.2.42] has joined #agavi
19:56 -!- SasanRose [n=SasanRos@92.50.2.42] has quit [Read error: 110 (Connection timed out)]
19:56 < Rayne> how do you call your validators? my current validator is named »AppPublicPageValidator«.
19:57 < Rayne> (for validating the requested page id, like /blog/3)
19:59 < Rayne> hm... i placed its information into the autoload.xml but i think it should be placed inside validators.xml, am i right?
20:01 < matbtt> It needs to be placed in autoload.xml for autoload purpose, otherwise you get an error.
20:01 < matbtt> Then you have a xml file with the name of the action
20:01 < matbtt> there you can add this validator.
20:02 < Rayne> great
20:02 < Rayne> thanks
20:02 < Rayne> where can i define the modul's default error view (if this is possible)?
20:03 < matbtt> ...see http://www.mivesto.de/agavi/agavi-faq.html and http://blog.veikko.fi/post/68983308/agavi-tip-validation-gotchas for further details
20:03 < Rayne> i do not want to create for every action an error view
20:05 < matbtt> ...mhh, don't know
20:06 -!- Sasan_Rose [n=SasanRos@92.50.2.42] has quit ["leaving"]
20:09 < matbtt> ...I think one error view per action is the desired solution...
20:10 < Rayne> hm
20:13 < Rayne> matbtt, handleXXXError() @ action
20:14 < Rayne> damn
20:14 < matbtt> ...what?
20:15 < matbtt> ...the returned view name can also be an array containing Module/View.
20:15 < Rayne> this allows only to change the view from XXXError to XXXFoobar
20:15 < Rayne> it can?
20:15 < Rayne> maybe an internal forwarding would be cleaner?
20:16 < matbtt> ...don't think so
20:17 < matbtt> ...try to return an array pointing to your generic error view
20:18 < Rayne> matbtt, this works but i do not think that this is clean
20:18 < asonge> "For a few dollars more."
20:18 < Rayne> but i'll use it
20:18 < asonge> fucking awesome.
20:18 < Rayne> asonge, ?
20:18 -!- matbtt [n=matbtt@BAAd449.baa.pppool.de] has left #agavi []
20:18 < asonge> oh, wrong channel
20:18 < saracen> I havent felt like programming all week
20:19 < saracen> I hate these, "dry spells" ;x
20:19 < asonge> but it's a Clint Eastwood movie
20:19 < asonge> and clint eastwood is the man.
20:19 < graste> word
20:23 < macen> quote of the day "you are barking up the wrong tree" :x
20:25 < Rayne> i have the route /archive/(page_id:\d+) and it works quite well but i want if the page_id is "1" that the app http-redirects to route "/" (like example.com/archive/1 => example.com/). how can this be done? and where should this be done (i could place it in my page validator)?
20:26 < graste> :)
20:28 < Rayne> i know how but where would this be clean?
20:31 < graste> I'd say the view - perhaps send another http status code with it
20:32 < graste> something liek "moved permanently" or whatever your requirements are
20:32 < Rayne> inside the validator should not work (netbeans does not show the getResponse object inside the validator object)
20:33 < Rayne> graste, yes i would send "moved permanently"
20:34 < graste> thent he view is the best place where it belongs
20:36 < Rayne> now i have to check where the http code will be set
20:38 < graste> same place: $this->getResponse()->setHttpStatusCode('301'); $this->getResponse()->setRedirect($this->getContext()->getRouting()->gen('route.to.somewhere')));
20:40 < Rayne> i trust netbeans to much (it does not display all methods/objects/variables in most cases because they are added dynamic - maybe)
20:40 -!- Rick [i=rick@unaffiliated/rick] has quit [Connection reset by peer]
20:40 -!- liutis [n=codecop@78.56.139.154] has quit ["Leaving"]
20:41 -!- Zeelot3k [n=zeelot@adsl-233-119-121.mia.bellsouth.net] has joined #agavi
20:41 < graste> I use 6.5 myself at work and am quite happy with it, but sometimes it seems to choke on some things - but there are a lot of improvements in the line for 7.0 (according to netbeans php blog)
20:41 < graste> looking forward to that release
20:41 -!- everplays is now known as everplayZzz
20:42 < Rayne> this setRedirect() does not redirect immediately (because it's only a setter) - but when does the redirect got initiated?
20:42 < graste> when the view returns
20:42 < Rayne> it is quite nice
20:42 < Rayne> so the view will be send to the browser too?
20:42 < Rayne> as fallback for browser which ignores the http redirect?
20:42 < Rayne> (if this is possible)
20:42 < graste> don't think so
20:43 < Rayne> will it render the template, too?
20:43 < graste> don't think so
20:43 < Rayne> hm
20:43 < saracen> It wouldnt really happen, but yeah, I believe you can send the header + content, if you setup the layer
20:43 < saracen> It would render it if you setup the layout I'd imagine
20:43 < saracen> Just dont call setupHtml()
20:43 < saracen> in the view
20:43 < saracen> just set the redirect and then return;
20:44 -!- Rick [i=rick@pool-71-189-11-199.lsanca.dsl-w.verizon.net] has joined #agavi
20:44 < Rayne> i wrote for testing if ($page == '1') { /* redirect stuff */ return false } so i have not to create an else tree. is this "clean" or just stupid?
20:45 < graste> yep, but not return false or AgaviView::NONE
20:45 < Rayne> void not, too?
20:45 < Rayne> then i have to create an else tree (or it would load the model and would talk to the database)
20:46 < graste> someone did the same thing (if () redirect; return false;) and after removing that return false, the code worked ;)
20:46 < saracen> I just return nothing
20:46 < Rayne> default value, okay :)
20:47 < saracen> I dont really know what you're doing, but in a lot of cases you might want to return a different view name from your action, rather than doing some if statement in the view
20:47 < saracen> but it really depends
20:51 < Rayne> saracen, i want to redirect example.com/archive/1 to example.com/ because /archive/1 shows the equal content as example.com/ does
20:51 < Ox42> meh
20:51 < Rayne> Ox42, ?
20:51 < Ox42> <3 Agavi, but Agavi 3
20:52 < saracen> Rayne: Yeah, if statement seems valid then
20:52 < Rayne> therefor i use this if with (now) "return;"
20:52 < saracen> yeah
20:53 < graste> perfectly SEO'd your app's now :P
20:53 < saracen> dont bother doing setupHtml before the if statement though, do it afterwards
20:53 < Rayne> hehe
20:54 < saracen> Does google not like multiple links pointing to the same page then
20:54 < Ox42> hey, which is better in SEO, /blog/my-post-name or /blog/my-post-name.html ?
20:54 < saracen> ?
20:54 < Rayne> in fact i am no seo but i do not have content twice ;-)
20:54 < Rayne> Ox42, html is so web 1.0
20:54 < graste> it's bad practice to have multiple URLs pointing to the same resource
20:54 -!- Zeelot [n=zeelot@98.64.56.222] has quit [Read error: 110 (Connection timed out)]
20:54 < Rayne> Ox42, as far as i know as non-seo it does not matter
20:54 < graste> it's not that much of a problem usually
20:55 < graste> BUT
20:55 < Ox42> Rayne: Your ... text makes no sense to me.
20:55 < Rayne> Ox42, :P
20:55 < Ox42> :D
20:55 < graste> there've been times where search engines throw things out of their indices when such techniques are used to get a lot of links to all the same pages
20:55 < Ox42> Man, agavi makes me happy and sad at the same time
20:56 < Ox42> why $this->context->getUser()
20:56 < Ox42> not Context::User ?
20:56 < saracen> Ox42: do you watch BSG?
20:56 < saracen> Ox42: There can be multiple contexts, this->getContext() just uses the default one
21:07 < Rayne> saracen, what is bsg?
21:07 < saracen> Battlestar Galactica
21:08 < saracen> The last episode, starbuck mentioned music making her 'happy and sad at the same time'. I thought Ox42 was making a reference to it :P
21:13 -!- Strzalek [n=Strzalek@axp100.neoplus.adsl.tpnet.pl] has quit [Read error: 113 (No route to host)]
21:21 < macen> Ox42: wrong sort of time to be asking such questions, although i bet someone magically turns up now i say that ;)
21:22 < macen> the context is a major part of Agavi but i don't think it's a class....and calling Context::User doesn't really make sense...
21:23 < macen> also i use getContext(), i think context-> is set through some wrapper..tend not to see it so much
21:23 < digitarald> Ox42: if you really, *really* want you can AgaviContext::getInstance()->getUser(), but if you need that think about redesigning your approach
21:24 < digitarald> I also usually use ->context ... I avoid the getters when there are public properties
21:24 < saracen> Yeah, like i previously mentioned, you can have multiple contexts, so it can't be treated as a singleton
21:24 < digitarald> it can ;)
21:25 < digitarald> since the context does not change during one process
21:25 < digitarald> only problem is, that it uses the default context during getInstance
21:25 < digitarald> not the "current" one
21:26 < digitarald> ergo: if you use the console and web is default, it fails
21:26 < saracen> What do you mean it doesn't change? You could probably have two different contexts running at the same time, no?
21:26 < digitarald> for example?
21:26 -!- Strzalek [n=Strzalek@axp100.neoplus.adsl.tpnet.pl] has joined #agavi
21:27 < digitarald> I usually think in console vs. web
21:27 < Ox42> No, i was just wondering...
21:27 < Ox42> Because... user should be stored in a session, so Session::user or whatever..
21:27 < macen> sample app uses both ->context and getContext-> according to grep
21:27 < saracen> Well, it would be a weird case, but you could have an email context, so email handling has it's own controller.
21:28 < macen> heh :)
21:28 < macen> they say User Object isn't a session.... :) but i think of it as one atm...
21:28 < digitarald> Ox42: not everything is session based
21:28 < digitarald> console calls are not a session
21:28 < Ox42> ...
21:28 < digitarald> user is a user, session is just a data holder and can be everything
21:29 < Ox42> yes
21:29 < gigi> I got an unusual error today. It was in the cache directory so I just removed all cached files and the error went away.
21:29 < digitarald> session::get('authenticated') ... that could be a "user" too
21:29 < Ox42> but, most people would use $_SESSION['user_id'] = $user->id;
21:30 < gigi> it was supposedly a "syntax error"
21:30 < digitarald> Ox42: what framework did u use before?
21:30 < Ox42> But, build that into a framework, Session::User = $user;
21:30 < Ox42> digitarald: my own
21:30 < digitarald> agavi does not use singletons, every toolbox knows the context and is therefore attached to it
21:30 < digitarald> or is attached to the action container
21:30 < Ox42> What do you guys normally call your views?
21:30 < Ox42> like, for a signup
21:31 < digitarald> SignupView ;)
21:31 < macen> $this->getContext()->getUser()->setAttribute('user_id','foobar','org.foobar.etc') maybe
21:31 < Ox42> I should have Success and... Form? Input?
21:31 < macen> yes SignupInput as well
21:32 < digitarald> Ox42: if you want an easy access use something like ... *pasting*
21:33 < Ox42> _clean slate_ http://lolbook.net/
21:33 < digitarald> Ox42: http://paste.mootools.net/m7c021783
21:34 < Ox42> hmmmmm
21:34 < macen> Ox42: what IDE do you use? have you got code completion running?
21:34 < digitarald> see what I mean?
21:34 < Ox42> macen: nope
21:34 < Ox42> I use e
21:35 < macen> e?
21:35 < Ox42> mmh
21:35 < Ox42> m
21:36 < Ox42> http://impoll.org/damn.PNG
21:37 < digitarald> lolbook?
21:37 < Ox42> :)
21:39 < aka> hahaha
21:40 < digitarald> active code completition and a baseview/action like I pasted, and it works great. saves a lot of time
21:41 < Ox42> i dont have code completion
21:41 < Ox42> i have yet to find a good a.) framework and b.) IDE
21:41 < digitarald> I use eclipse, it does the job ... that means its not the perfect solution
21:42 < aka> PDT 2.0 is so much better than 1.x
21:42 < digitarald> agavi is the best solution, it does the job and more :)
21:42 < aka> I switched to PDT once 2.0 was released
21:42 < digitarald> oh, do I have it?
21:42 < digitarald> ok, 1.03
21:42 < _cheerios> Q: how to control the actual filename given for the View when using the agavi tool? I've modified the templates, but I need the name to follow the custom template naming conventions too.
21:42 < aka> man PDT2 is so much better, it was released like a month ago
21:43 < macen> http://downloads.zend.com/studio-eclipse/6.1.1/ZendStudioForEclipse-6.1.1.dmg
21:43 < macen> "cleaner" eclipse pdt
21:43 < macen> but zend :)
21:43 < aka> how so?
21:43 < aka> haha yeah
21:43 < macen> well...nice logos...etc
21:43 < aka> it is PDT though?
21:43 < macen> yes
21:43 < aka> like same code or it is their version?
21:43 < macen> different plugins
21:43 < digitarald> 2.0 sounds great
21:43 < aka> ahh
21:44 < digitarald> *click*
21:44 < macen> generally it's configuration mostly
21:44 < macen> javascript stuff as well
21:44 < macen> and phpdoc, stuff like that
21:44 < aka> yeah
21:44 < digitarald> redracer will be done in 1 some days with pdt 2.0
21:45 < aka> man IE is once again sucking hours of my life :(
21:47 < MikeSeth> yarr
21:47 < MikeSeth> hello all the new people
21:48 < graste> Netbeans!
21:48 < graste> <:
21:50 < aka> sup MikeSeth
21:50 < MikeSeth> did I walk into a flamewar?
21:50 < MikeSeth> and BTW PDT 2.0 is excellent
21:50 < MikeSeth> a little unpolished and inconsistent
21:50 < MikeSeth> but overall fine
21:51 < digitarald> running Update Manager
21:53 < aka> Mike it kinda looked like it but this is one of the few times we all talked in a civilized manner about the IDE of our choice
21:54 < aka> I feel like a pussy for not attacking anyone... but hey it's Sunday
21:54 < MikeSeth> well this is more or less civilised society here
21:55 < digitarald> MikeSeth: how can you comment on all those reddit comments without having the urgent feeling to stab them in the eye?
21:55 < MikeSeth> digitarald: because reddit is the world capital of anal retentive
21:55 < asonge> don't you guys know? xml is dead.
21:55 < asonge> get with the program!
21:56 < MikeSeth> i dont get the yaml craze
21:56 < MikeSeth> it's really an useless format
21:56 < digitarald> its like humans think
21:56 < digitarald> ... unstructured
21:56 < asonge> well, if it was standardized to tabs only or something
21:56 < asonge> then it might be usable
21:56 < MikeSeth> dont take it personally rald
21:57 < MikeSeth> reddit is shit to everyone
21:57 < Ox42> For a slot, can you name it anything?
21:57 < MikeSeth> all the time
21:57 < Ox42> like, the action
21:57 < Ox42> the default says Widgets.Navigation
21:57 < MikeSeth> Ox42: whatever the array allows as index
21:57 < digitarald> is rald me? ... oh
21:57 < asonge> Ox42: that's the action name for the slot
21:57 < MikeSeth> your name isn't really rald? O_O
21:57 < MikeSeth> i somehow thought it was
21:57 < Ox42> asonge: but, for my sidebar, it should just be... Sidebar? and return isSimple ?
21:57 < digitarald> mh ... no
21:58 < MikeSeth> Ox42: isSimple is really intended for static content, because simple actions dont have validation or security checks applied to them
21:58 < asonge> Ox42: yeah, if your action is in actions/SidebarAction.class.php
21:58 < Ox42> MikeSeth: well, my sidebar is either Links to nav stuff, or a login box
21:58 < digitarald> I don't use reddit/digg/myspace/reddit ... I'm very unsocial :(
21:59 < Ox42> depending on fi you are logged in
21:59 < MikeSeth> Ox42: then you don't want it to be a simple action
21:59 < asonge> anyone know of a WKB parser for php that's worth a damn?
22:00 < MikeSeth> wkb = ?
22:00 < impl> what's WKB?
22:00 < asonge> well known binary...it's a format for geospatial data
22:00 < aka> me also wonders
22:01 < MikeSeth> never heard of it
22:01 < asonge> it's the binary storage of postgis
22:01 < impl> asonge: why are you working with geospatial data now
22:02 < impl> it seems like your job changes every week
22:02 < asonge> impl: for fun.
22:02 < impl> oh. :P
22:02 < asonge> geospatial shit is so challenging sometimes
22:02 < aka> now taht is a job I would love
22:02 < aka> You ahve 40 hours a week to have fun
22:02 < aka> $100k/yr
22:02 < asonge> oh man, i wish
22:04 < Ox42> ohmygod
22:04 < Ox42> it worked???
22:04 < impl> work for LEGO
22:04 < impl> that would be such an awesome job
22:04 < aka> what about Lego Land?
22:04 < aka> you ever heard of that joint
22:04 < asonge> impl: toying with making a combo strategy/mmorpg with a GIST backend
22:04 < impl> aka: of course
22:04 < Ox42> so, for a sidebar... I should have my function be execute() right?
22:04 < impl> I hear it's crap
22:04 < impl> the US one anyway
22:05 < aka> my nephew and nieces would whoop that ass if they heard that
22:05 < impl> lawl
22:05 < aka> and my lil brother got his drivers license that he swears it leagal in all states
22:05 < aka> there
22:05 < aka> It is right here in Cali
22:05 < aka> I drove by it today when i went to the ebach
22:05 < impl> Nice
22:05 < aka> For little kids it is sweet
22:05 < aka> for 18 year old college students... not so much
22:05 < aka> wait you are 18 right?
22:06 < impl> We don't have any amusement parks here, just huge research buildings :(
22:06 < impl> yeah
22:06 < aka> k
22:06 < asonge> impl: dollywood and that bibleland are right across in tennessee :P
22:06 < aka> hahaha
22:06 < impl> D:
22:06 < aka> I used to live less than amile from Dollyy's house
22:06 < aka> never saw her :(
22:06 < aka> but I drove by her house a lot and everytime looked for some mounds
22:07 < asonge> lol
22:07 < impl> :D
22:08 < aka> the closest I have been to seeing Dolly's rack is here in cali driving by San Onofre power plant
22:08 < Ox42> I wish agavi came with an ORM
22:08 < Ox42> then it would be awesome
22:08 * asonge hits Ox42 on the head 5 times
22:08 < aka> hahaha
22:08 < aka> hahahahaha
22:08 < aka> i am seriously lol'n harder than Stalin
22:08 < aka> that was awesome asonge
22:09 < asonge> i almost typed /kb because i thought i was in the other channel
22:09 < aka> ;)
22:09 < Ox42> :( What did I doooo?
22:09 < asonge> said something stupid
22:09 < digitarald> btw MikeSeth, it's "Harald"
22:09 < impl> if our topic weren't so full of shit
22:09 < MikeSeth> digitarald: Harald it is, sir! :D
22:09 < impl> I would topic that
22:09 < digitarald> g'nite, folks
22:10 < impl> but Wombert is a topic whoar
22:10 -!- digitarald [n=digitara@62.43.141.82.dyn.user.ono.com] has quit ["DO NOT CLICK HERE: http://digitarald.de"]
22:10 < MikeSeth> Ox42: we all oppose including ORM into the framework
22:10 < Ox42> O.o why?
22:10 < Ox42> i meant... some type of DB support
22:10 < impl> Because nobody agrees what the best ORM is, or whether an ORM should be used at all
22:10 < MikeSeth> you have enough support to do whatever you want
22:10 < MikeSeth> Agavi manages configuration & connections for you
22:11 < MikeSeth> everything else is application specific - not a framework problem
22:12 < graste> Ox42: you can use whatever ORM you like
22:12 < graste> Agavi supports all of them (I'd say)
22:13 * graste wonders if someone tried to use Agavi with something like Hibernate as an ORM :D
22:13 < Ox42> mmhm
22:13 < impl> Ox42: Whenever you're feeling smart, just remember the NY Times article
22:14 < aka> Ox42: You need to just figure out how to use your favorite ORM (which I don't think you have one yet) with agavi once and you will see how easy it is
22:14 < aka> hahaha impl
22:14 < aka> hahaha
22:14 < aka> I need to make a link with a shorter url and when someone is acting liek that write on a piece of paper and fold it up and hand it to that person
22:14 < aka> and say this site will really help you
22:14 < MikeSeth> wat
22:14 < aka> understand yourself
22:15 < impl> MikeSeth: http://www.nytimes.com/library/national/science/health/011800hth-behavior-incompetents.html
22:16 < Ox42> Ok, so... to use a slot I have to... define the slot in my view?
22:16 < graste> hehe
22:17 < graste> most probably
22:17 < graste> $this->getLayer('content')->setSlot('slotname', $this->createSlotContainer('ModuleName', 'Some.Action', array('param' => 'value'), 'html'));
22:17 < Ox42> graste: yeah, I saw that
22:17 < Ox42> But, I dont need params right now.
22:17 < graste> you don't need to specify them
22:18 < Ox42> Shouldnt I just be able to set a template in the View and hav eit...
22:18 < Ox42> do it?
22:18 < graste> you can set different templates in your view of course
22:18 < Rayne> has agavi an paginator feature?
22:18 < aka> I can't wait till I start diving head first into agavi in a month or two and Ox42 is helping me... it will be the saddest part of my life :(
22:18 < impl> haha.
22:18 < Ox42> lol aka
22:18 < Ox42> :)
22:18 < impl> Rayne: No, not built-in
22:19 < Ox42> *headdesk*
22:19 < MikeSeth> oh
22:19 < MikeSeth> dear
22:20 < MikeSeth> i remember THAT article
22:20 < graste> Rayne: no, but you could define a reusable slot (takes some params) for outputting pagination links and get those current page etc thingys from PropelPager or similar ;)
22:20 < Ox42>
22:20 < Ox42> getDefaultView returns 'NotLoggedIn'
22:20 < Ox42> SidebarNotLoggedInView.class.php
22:20 < Ox42> Sets template to "SignupLogin";
22:21 < Ox42> *SidebarLogin
22:21 < Ox42> But nothing happens :|
22:21 < graste> define nothing
22:21 < graste> ^^
22:21 < Ox42> Ah, http://lolbook.net
22:21 < Ox42> "nothing in the sidebar"
22:22 -!- nfq [n=nfq@134-105.3-85.cust.bluewin.ch] has joined #agavi
22:23 < Ox42> and in my Master template I have
22:24 < aka> why not just echo it? Not saying that is wrong but what is the advantage to that check?
22:24 < Ox42> aka: just... what I saw in the docs
22:24 < aka> ahh... for notices I bet
22:24 < graste> exactly aka
22:25 < Ox42> well, either way it does nothing
22:25 < aka> var dump slots :D
22:25 < aka> I var dump the shit out of stuff!
22:25 < graste> can break your layout if it happens in slots somewhere in your nice page design when you don't notice the error ;)
22:25 < Ox42> array(0) { }
22:26 < aka> so your aren't getting $slots
22:26 < Ox42> so, slots not getting assigned...
22:26 < aka> how are you setting $slots ?
22:26 < graste> you sure your views etc get called like you expect them to be called?
22:26 < aka> right
22:26 < Ox42> graste: I guess not.
22:26 < Ox42> Agavi is messing with my head
22:27 < Ox42>
22:27 < Ox42> its like its never getting executed...
22:27 < saracen> die('executed') in the action?
22:27 -!- nfq [n=nfq@134-105.3-85.cust.bluewin.ch] has quit []
22:27 < graste> getDefaultView is not used by default when you have execute* methods with return values
22:28 -!- nfq [n=nfq@134-105.3-85.cust.bluewin.ch] has joined #agavi
22:28 < Ox42> graste: I dont...
22:28 < graste> then die() somewhere :P
22:28 < Ox42> I removed them from SidebarAction.class.php
22:28 < Ox42> yeah, its not getting called
22:28 < saracen> impl: Do you speak to lucas at all elsewhere?
22:28 < impl> saracen: No :(
22:28 < Ox42> die("got there"); in defaultView doesnt do anything :|
22:29 < saracen> impl: His mum died on wednesday =(
22:29 < impl> saracen: Yeah, I know, god told me
22:29 < graste> do you have an execute* method?
22:29 < impl> Euthanized, though
22:29 < saracen> Ah =(. First time I've seen him in the channel for a bit, he just told me. And yeah
22:29 < saracen> Just thought maybe nobody had told you :P
22:30 < impl> :>
22:30 < Ox42> graste: nope
22:34 < Ox42> That is the right way to define a slot, correct?
22:37 < graste> just pastie.org your code or whatever
22:37 < graste> return 'Success' in getDefaultView() and create SidebarSuccessView.class.php in Default module with correct Default_SidebarSuccessView class name etc. should help usually
22:38 < Ox42> hmm
22:38 < aka> I kinda want a high contrast color theme for PDT, anyone know if there are color scheme packs for Eclipse (or more specifically for PDT2) ?
22:38 < aka> I can't seem to find any
22:38 < impl> dunno, you should use emacs though
22:38 < graste> hahahaha
22:38 < graste> VI!
22:38 < graste> <:
22:39 < Ox42> graste: Yeah, I tried that. It never even gets to SidebarAction
22:39 < impl> http://cynigram.com/~nfontes/emacs-20081207-0.png wats that you say, emacs?
22:39 < impl> look at that high-contrast excellence
22:39 < aka> hahaha
22:40 < graste> nice theme
22:40 < impl> thanks, it's the default
22:40 < aka> hahaha
22:40 < aka> nice ass
22:40 < graste> ^^
22:40 < impl> (well, okay, the default has a white background)
22:40 < aka> hey impl I been meaning to talk to you about a joint venture
22:40 < aka> LET'S WRITE A CHILDREN'S FAIRYTALE!
22:41 < impl> like, with penis pumps?
22:41 < saracen> I can get it published
22:41 < aka> yeah... I want these books to teach children stuff they don't know
22:41 < aka> I know when I was a kid I didn't, err wouldn't have known about them
22:41 < aka> thanks dad ;(
22:41 < aka> he called them "Experiments"
22:42 < impl> lawl
22:42 < impl> I wouldn't have known about them, either
22:42 < impl> ...thanks #php
22:42 < aka> hahaha
22:42 < saracen> My dad told me everything, too much infact
22:42 * aka wonders if horros, asonge, you and me being in here is going to toxify this channel
22:43 < aka> ohh and saracen
22:43 < saracen> fuck you
22:43 < impl> I didn't learn anything about sex from my parents. All from #php.
22:43 < saracen> sorry, thats a reaction to somebody i dont know mentioning my name as if they know me
22:43 < aka> saracen: my dad knew I didn't learn by sight... I am more a person that learns by smell and fell
22:43 < impl> aka: well, saracen was here first :P
22:43 < aka> feel
22:43 < aka> I mean people from #php all being in here
22:43 < impl> yeah, saracen was here before he was in #php
22:44 < aka> ahhh
22:44 < saracen> Yeah, I'm new to php
22:44 < aka> well he wanted to publish the book... soooo
22:44 < saracen> I would have left, but you've got a female in the channel
22:44 < aka> I figured he was a vetrine
22:44 < saracen> I just cant get that here
22:44 < impl> he's from my crew of trolls, aka
22:44 < aka> saracen: Ox42 pretty damn close
22:44 < saracen> If you hadn't noticed =)
22:44 < aka> impl you know how I feel about trolls
22:44 < impl> You want to bang them?
22:44 < aka> go on
22:44 < saracen> We're awesome, we know.
22:45 < aka> yeah saracen cause I have never trolled ever
22:45 < impl> Harder, better, faster, stronger
22:45 < aka> lets get something straight I invented the double reverse backhand troll
22:45 < aka> DO IT!
22:45 < saracen> If you were a troll, impl would have recruited you
22:45 < saracen> I havnt seen you at maincon
22:45 < aka> god damnit I hate how the beach leave sand in my hair... now I ahve to shower (something I try to avoid at all costs) :(
22:46 < aka> so impl is the only troller?
22:46 < aka> troll camp
22:46 < impl> I don't recruit people
22:46 < impl> fuck that
22:46 < impl> that's effort
22:46 < saracen> WHAT? As if
22:46 < aka> impl you don't think I can troll :(
22:46 < saracen> The place if now full of #phpers
22:46 < saracen> I didnt realise it until I joined
22:46 < aka> fuck groceries are here and I am the big man in teh house
22:46 < aka> fuck this
22:46 < saracen> BUt i know half the channel
22:46 < aka> brb
22:46 < impl> omg
22:47 < impl> you are so full of shit
22:47 < saracen> How so?!
22:47 < impl> I didn't even invite infralite, another guy did
22:47 < saracen> "another guy"
22:47 < impl> yeah
22:47 < impl> his name was Hexagram
22:47 < impl> and he smoked a lot of weed
22:47 < impl> like A LOT.
22:47 < saracen> Oh, Hexagram
22:47 < saracen> Wait, who invited Hexagram?
22:47 < saracen> He was the worst recruit ever
22:47 < impl> Aegeon
22:47 < saracen> You responsible for that?
22:47 < impl> lawl
22:47 < saracen> WHAT
22:48 < impl> yeah they were like neighbors
22:48 < impl> or something
22:48 < saracen> So who invited you?!
22:48 < impl> I came with the Christians4Gentoo troll
22:48 < Ox42> (*sigh*)
22:49 < saracen> impl: But who invited you? =(
22:49 < impl> Nobody
22:49 < impl> The Christians4Gentoo site had a link to the IRC channel
22:49 < saracen> I mean, I was there since the beginning of time. I'm not technically a troll, although Jewbuntu was a good name...
22:49 < impl> does anyone monitor the Jewbuntu site?
22:50 < impl> I wonder how many downloads of Jewbuntu 7.10 we've had
22:50 < saracen> No idea
22:50 < saracen> is it even hosted @ derrida?
22:51 < impl> yeah it is
22:52 < saracen> cat: /var/log/apache2/access.log: Permission denied
22:52 < saracen> =(
22:58 < aka> you guys are pussy ass trolls
22:58 < aka> I used to hang with timecop
23:00 < aka> "The Gay Nigger Association of America is probably the most obscure trolling organization on Earth. Their mission is to defend the civil rights of all men of both African and homosexual..."
23:01 < impl> I know Jmax fairly well, aka
23:02 < Rayne> lol
23:02 -!- graste [n=graste@f053013179.adsl.alicedsl.de] has quit ["Leaving."]
23:02 -!- nfq_ [n=nfq@dyn.83-228-207-026.dsl.vtx.ch] has joined #agavi
23:08 < Rayne> n8 guys
23:08 -!- Rayne [n=Rayne3@pD9E37F50.dip.t-dialin.net] has quit ["EOL through Alma Wade."]
23:23 -!- nfq [n=nfq@134-105.3-85.cust.bluewin.ch] has quit [Read error: 110 (Connection timed out)]
23:25 -!- _cheerios [n=Jack@dsl-hkibrasgw3-fe74fb00-140.dhcp.inet.fi] has quit ["nn"]
23:29 -!- nfq_ is now known as nfq
23:53 -!- Wombert [n=Wombert@ip-90-186-172-227.web.vodafone.de] has joined #agavi
23:54 < Wombert> nom
23:54 < nfq> Wombert: yo
23:55 < nfq> Wombert: I got a guy here in MooTools.. he's a good dev. And he's saying why he thinks Symfony's form validation are so much better than Agavi's
23:56 < Wombert> funny
23:56 < Wombert> :>
--- Day changed Mon Mar 02 2009
00:01 < Ox42> where?
00:04 < Wombert> don't bother
00:04 < Wombert> he's annoying
00:04 -!- nfq [n=nfq@dyn.83-228-207-026.dsl.vtx.ch] has quit [Remote closed the connection]
00:04 -!- nfq [n=nfq@dyn.83-228-207-026.dsl.vtx.ch] has joined #agavi
00:06 < Ox42> lol
00:17 < impl> nfq: why is it?
00:17 < impl> I've never used Symfony's, so
00:18 < nfq> impl: well, there was a discussion going on why this one dev thinks agavi's way of dealing with forms sucks
00:18 < nfq> and I can only argue so far
00:18 < nfq> But Wombert told him.. I also think this dev, who's actually great, didn't research Agavi well enough
00:19 < Wombert> it doesn't really matter
00:24 < impl> I'm just curious what the argument is
00:31 < Ox42> sooo, back to agavi
00:32 < saracen> back to your mums place
00:32 < saracen> Wombert: http://www.fiveturns.org/meet_the_bottle/
00:32 < saracen> because I found it funny =(
00:35 < Ox42> Anyone new here want to diagnose why my slot is never getting called
00:35 < Ox42> ?
00:36 < Wombert> you have ~60s before I hit the sack
00:37 < Ox42> http://pastie.org/404196
00:37 < Ox42> but Sidebar action is never called.
00:40 < Ox42> no?
00:41 < saracen> And you've put a die() in the action to make sure it isnt being executed?
00:44 < Wombert> are you loading the "wrapped" layout?
00:44 < Wombert> are you outputting the slot content in your decorator template?
00:47 < Ox42> sure.
00:47 < saracen> Youre def. loading the wrapped layout, and not just the default?
00:48 < Ox42> im not sure. I just used Master as my template, put $inner in it and it just worked
00:48 -!- MrJeep_ [n=mrjeep@modemcable150.63-37-24.mc.videotron.ca] has joined #agavi
00:48 < Ox42> OHHH
00:48 < Ox42> <_< I get it
00:49 < saracen> The standard one is probably being loaded, if youve edited nothing else :P
00:49 < Ox42> but, now I get unknown layout "slot"
00:49 < saracen> You see the one called simple? Just duplicate it can call it slot
00:50 < saracen> as you can see, you havent got one called slot, thats where layouts are defined
00:51 < asonge> saracen: is #php going to corrupt you?
00:52 -!- nfq [n=nfq@dyn.83-228-207-026.dsl.vtx.ch] has quit [Read error: 101 (Network is unreachable)]
00:52 < Ox42> uh, saracen: why was I ignoring you??
00:52 < saracen> asonge: How so?
00:53 < asonge> saracen: it's a huge waste of time there full of preverts and their preversions.
00:54 < saracen> asonge: I dont know why I'm not banned yet, I've been trying pretty hard.
00:54 < asonge> i can fix that
00:54 < saracen> no, dont
00:54 < asonge> but that's what you want
00:54 < asonge> so
00:54 < saracen> Well, it appears to have led to one decent thing
00:54 < asonge> what's that?
00:55 < saracen> Talking to somebody about graphic design. I need an informal designer I can chuck work at
00:55 < asonge> ah
00:56 -!- nfq [n=nfq@191-32.3-85.cust.bluewin.ch] has joined #agavi
00:56 < saracen> Ox42: I was on ignore?
00:56 < saracen> =(
00:56 < Ox42> saracen: you were...
00:56 < asonge> you know, agavi doesn't really have the highest adoption out of the list of frameworks, but i like how this channel is active enough
00:56 < saracen> I don't know why. I might have abused you in #php, I should keep a list.
00:56 < Ox42> hey asonge!
00:56 < Ox42> saracen: probably ;)
00:56 < Ox42> But... Why is 'slot' undefined?
00:57 < Ox42> http://lolbook.net shows the error
00:57 < asonge> Ox42: because it is.
00:57 < Ox42>
00:57 < saracen> Maybe so we could have this conversation, which would lead to you understanding how slots are defined.
00:57 < saracen> No. 'slot' as in the layout isnt defined.
00:57 < Ox42> oh
00:57 < Ox42> Ok, lets converse :)
00:57 < asonge> ugh. why does this system have to give the option on if it's big-endian or little-endian to the first 2 bytes on the system
00:57 < saracen> You can see the 'simple' _layout_ is defined.
00:57 < Ox42> mmhm
00:58 < saracen> just copy it and change its name to slot :P
00:58 < Ox42> heh really?
00:58 < asonge> i have to have 2 versions of this reader now
00:58 < asonge> one for little endian and one for big endian
00:58 < Ox42> ohgawd saracen: it blew up
00:58 < saracen> My work here is done!
00:59 < Ox42> wait, i fixed it :P
01:00 < Ox42> HOLY crap
01:00 < asonge> is there some type of function to reverse the endian-ness of an integer dynamically?
01:00 < Ox42> ohmygod ohmygod
01:00 < Ox42> I did it :)
01:00 < saracen> asonge: In what?
01:00 < saracen> What is it youre doing? =(
01:01 < asonge> parsing "well known binary"...it's the vector format postgis uses
01:01 < aka> man Ox42 you should stop mentioning Agavi in #php, it will turn people off to it
01:01 < asonge> aka: plus, we have to be selective to the audience, man.
01:01 < saracen> asonge: Abd I assume you're doing this in PHP? ;x
01:01 < saracen> and*
01:01 < asonge> saracen: yes
01:01 < saracen> asonge: How are you reading the data at the moment?
01:01 < Ox42> aka: yeah, i will do
01:01 < aka> For example: * Ox40 holds out his hand, a large "AGAVI" ring encircles his finger
01:01 < aka> wtf
01:01 < asonge> saracen: i'm making a massively multiplayer real time strategy game for idiots who donate $20/mo to these types of sites.
01:01 < aka> hahaha
01:02 < asonge> saracen: right now? i'm editing layers in QGis
01:02 < MrJeep_> anyone knows a good way in javascript to make a 'onValueChanged' event on a textbox ?
01:02 < saracen> No, but how are you reading it in PHP? unpack() or wut?
01:02 < aka> MrJeep_: you want on anytime someone presses a key?
01:02 < asonge> MrJeep_: you've got to keydown/keyup/keypress for that, honestly
01:02 < aka> yeah
01:03 < asonge> MrJeep_: onchange only works when you lose focus
01:03 < MrJeep_> does not work very well with right-click -> paste
01:03 < aka> unless you are talking about change when they lose focus
01:03 * asonge > aka
01:03 < asonge> saracen: i'll probably be using unpack for that, yeah
01:03 < MrJeep_> this is the keypress problem
01:03 < asonge> saracen: i recently wrote something that ripped the address book off the blackberry backup data format.
01:03 < saracen> asonge: Youre not making sense =(
01:03 < aka> asonge: f u
01:04 < asonge> saracen: but yeah, the endian-ness is determined by the first byte on the bit of data
01:04 < asonge> i swapped my bits and bytes
01:04 < saracen> Oh i see, that was their fix for having it on multiple systems lol?
01:04 < asonge> yeah
01:04 < asonge> http://edndoc.esri.com/arcsde/9.1/general_topics/wkb_representation.htm
01:05 < saracen> Thats bad, usually they check the endianness and keep to one specific format, but converting it on some systems
01:05 < asonge> right
01:05 < asonge> like "assume all values are little-endian"
01:05 < asonge> but no
01:05 < saracen> asonge: I'd just make my own bytebuffer in PHP, tbh
01:05 < asonge> you've got to look at the starting *bit* of every batch of data
01:05 < asonge> i think i can do some binary ops to swap endianness, no?
01:07 < asonge> i could just make a php class for every enum
01:07 < saracen> Err, pretty sure you can't. I mean, of course you only need to do one swapBytes function to deal with all 4-byte scenarios
01:07 < saracen> floats, ints etc.
01:07 < asonge> there's only 2 datatypes used
01:07 < saracen> which are?
01:07 < asonge> though, i think i overflow php with the uint32
01:07 < asonge> 32-bit unsigned
01:08 < asonge> php is 32-bit signed
01:08 < saracen> This stuff is so much easier in C++ =)
01:08 < asonge> but i'll just avoid having more than that many vertices in any particular polygon
01:08 < asonge> then it won't be a problem
01:09 < aka> asonge: stop doing advanced shit... way less problems
01:09 < saracen> Whats the other datatype it uses?
01:09 < asonge> double
01:09 < asonge> which is php's standard float
01:09 < asonge> so that one's fine
01:09 < saracen> Yeah, so you'll only need the one byte swap function
01:09 < asonge> as long as i launch on a 64-bit system, i'll be good then too
01:10 < saracen> Just wrap it in custom read methods
01:10 < asonge> yeah
01:10 < asonge> or just ternary the unpack's
01:10 < asonge> i think i might be able to just strtoupper them
01:11 < asonge> i can detect overflow by $int<0, right?
01:12 < asonge> since it's still 32-bit, the really high numbers *should* just show up negative
01:12 < saracen> yeah, as long as all the values from the format are signed :P
01:12 < asonge> (all these polygons will be drawn by hand anyway...and i don't see using *that* many vertices.
01:12 < saracen> Although, how does PHP handle integers when compiled on x64 machines?
01:12 < saracen> Are they still all 32-bit?
01:12 < asonge> they're 64-bit
01:12 < saracen> =(
01:13 < saracen> Oh, wait, thats a good thing. Thats the one time it will work properly :P
01:13 < saracen> on large numbers
01:13 < asonge> lol
01:13 < saracen> you seem to know everything you need to do :P
01:14 < saracen> Ask questions you need an answer for :P
01:14 < asonge> i just have to do it
01:14 < asonge> this is the worst part of programming
01:14 < asonge> actually writing it.
01:14 < saracen> yup =(
01:14 < saracen> Although, when reverse engineers file formats / protocols I generally have fun programming -- as long as its in C++ :P
01:14 < saracen> engineering*
01:15 < asonge> oh, here's one i don't know: i need to run AsBinary() around the field in postgresql but i'm using doctrine...how do you call native funcs in doctrine
01:16 < asonge> also, the origin for WKT/WKB is the bottom left...and then i'll be drawing all these polygons.
01:16 < asonge> where the origin is top left.
01:16 < saracen> Can you not just do AsBinary(?) in the query? ;x
01:20 < saracen> and that sounds like a math problem
01:20 < saracen> and I suck at math
01:21 < saracen> I need to sleep, got to be up at 6, it's already 1:21
01:21 < saracen> =(
01:21 < saracen> NN!
01:45 -!- Wombert [n=Wombert@pdpc/supporter/professional/wombert] has quit [Read error: 110 (Connection timed out)]
01:46 -!- everplays [n=prince@94.182.18.117] has joined #agavi
02:03 -!- everplayZzz [n=prince@94.182.0.225] has quit [Read error: 110 (Connection timed out)]
02:40 -!- nfq [n=nfq@191-32.3-85.cust.bluewin.ch] has quit []
02:40 -!- eremit [n=Miranda@p5B237094.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
02:51 < Ox42> meh
02:51 < Ox42> Why does this not work now _-_
02:53 < Ox42> oh nevarmind
04:44 -!- eremit [n=Miranda@p5B234CB4.dip.t-dialin.net] has joined #agavi
05:53 < v-dogg> huomenta
05:56 < Ox42> what does that mena?
05:56 < Ox42> *mean
05:56 < Ox42> I heard you say it a couple of times before
05:58 -!- digitarald [n=digitara@62.43.141.82.dyn.user.ono.com] has joined #agavi
05:59 < v-dogg> Ox42: topic ^
06:00 < Ox42> doesnt.. help.
06:02 < Ox42> huomenta Suomi?
06:02 -!- eremit [n=Miranda@p5B234CB4.dip.t-dialin.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
06:03 < v-dogg> Ox42: http://trac.agavi.org/wiki/IRC
06:03 -!- SasanRose [n=SasanRos@91.184.77.231] has joined #agavi
06:06 -!- everplays [n=prince@94.182.18.117] has left #agavi []
06:07 < Ox42> Ahhhh
06:07 < Ox42> Huomenta... But im leaving now.
06:07 < Ox42> atnemouH I guess...
06:31 -!- reza [n=chatzill@85.15.40.233] has joined #agavi
06:32 -!- digitarald [n=digitara@62.43.141.82.dyn.user.ono.com] has quit [Read error: 104 (Connection reset by peer)]
06:58 -!- digitarald [n=digitara@234.Red-79-155-98.dynamicIP.rima-tde.net] has joined #agavi
06:59 -!- liutis [n=codecop@88-119-253-245.static.zebra.lt] has joined #agavi
07:04 < liutis> huomenta
07:24 < aka> huomenta
07:34 < horros> Huomenta.
07:48 < digitarald> Huomenta
07:59 < MikeSeth> huomenta
08:02 -!- Zeelot [n=zeelot@adsl-233-53-105.mia.bellsouth.net] has joined #agavi
08:10 -!- graste_ [n=graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi
08:19 -!- Zeelot3k [n=zeelot@adsl-233-119-121.mia.bellsouth.net] has quit [Read error: 110 (Connection timed out)]
08:20 < digitarald> poll: what is the best svn plugin for eclipse?
08:21 < digitarald> I used subclipse for a long time
08:23 < digitarald> MikeSeth?
08:24 < graste_> huomenta
08:24 < digitarald> stackoverflow solved it
08:25 < graste_> what did stackoverflow say?
08:30 < MikeSeth> digitarald: umm
08:30 < digitarald> subversive
08:31 < MikeSeth> digitarald: one sec
08:31 < MikeSeth> uh i dont have it set up on this box
08:31 < MikeSeth> but basically
08:32 < MikeSeth> the latest subversive via its update url *and* you have to choose an svn connector library - the default one is broken
08:32 < MikeSeth> if you only have one in the dropdown list, you gotta install the package with the provider classes
08:32 < MikeSeth> IIRC the only one that works is the native java client (if you want to work with ssh and latest 1.5+ svn repos)
08:36 < digitarald> ok, I installed the java client
08:36 < digitarald> used it with subclipse too
08:36 < digitarald> installation page is outdated, kinda messy to install
08:37 < digitarald> and the svn team provider is not in the ganymed update site
08:37 < digitarald> ok. Mate time
08:37 < digitarald> lost 1 hour updating eclipse ...
08:40 < benschi> yeah, eclipse can be a pain in the arse.
08:41 < benschi> But as subversion client subversive is okay.
08:41 < digitarald> eeek, second "Updated available" today with 30+ items ... they develop damn fast
08:41 < benschi> as much as i noticed there are not big differences between subversive and subclipse
08:41 < digitarald> Saw that too in the screenshots
08:42 < digitarald> Tried ti figure out any differences
08:42 < benschi> there ain't in my opinion. But it seems like subversive integrates a litte better
08:47 < digitarald> lets see if Aptana works nice with 3.4
08:49 < digitarald> mh, PDT JS editor isn't as good as promised
08:52 -!- Wombert [n=Wombert@87.79.35.60] has joined #agavi
08:54 -!- malax [n=malax@unaffiliated/malax] has joined #agavi
08:55 < malax> Ohai everyone! :)
08:55 -!- Macen_ [n=leopard@78-105-114-66.zone3.bethere.co.uk] has joined #agavi
08:57 < digitarald> Huomenta! ;)
08:58 < MikeSeth> PDT still needs some licking tbh
08:58 < MikeSeth> but its already useful
08:59 < digitarald> I'm using it for years already
08:59 < digitarald> there are no real alternatives
09:00 -!- fnordfish [n=fnordfis@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi
09:00 < MikeSeth> emacs
09:00 < MikeSeth> ;D
09:00 < MikeSeth> also huomenta minna-san
09:00 < benschi> domo argigatoo MikeSeth-sama!
09:00 < Macen_> huomenta !
09:01 < Macen_> ya eclipse only real IDE for me too
09:01 < Macen_> daren't surrender my soul to emacs....
09:02 < benschi> but if you have learned to get along with PDT, emacs, Textmate etc. you should not change, since you'll only put time into it and then notice, hey my old editor did the same thing
09:02 < Macen_> you see TextMate.....liek...ihave it, i use it for xml files, but i don't get it
09:02 < Macen_> how can it replace eclipse o.O
09:03 * graste_ is using netbeans with eclipse shortcuts :P
09:03 < Macen_> eclipse is a little thrown together and does produce random errors when it feels like it
09:04 < Macen_> i tried netbeans briefly...very similar to eclipse
09:04 -!- _cheerios [n=Jack@195.197.209.254] has joined #agavi
09:04 < Macen_> except its very much a Java prog
09:04 < Macen_> to my eye....
09:04 < Macen_> very different from what you usually get on os x
09:04 < MikeSeth> and my nose
09:08 < Macen_> indeed
09:09 < hZilla> chaps. does anyone have any advice on best techniques for collecting user behaviour analytics? such as visited pages, downloads, comments general activity, etc.
09:11 < _cheerios> hZilla, google analytics
09:11 < Macen_> I do use www.google.com/analytics
09:11 < MikeSeth> hZilla: google analytics.. or if you absolutely have to have a custom tool, Agavi filters :D
09:11 < Macen_> but i'd prefer to do it myself, the stats monitoring, which i am trying to do with one site, as i have time to spend on it
09:11 < hZilla> yeh i got that but i want more specific user information. i think filters sounds more like it
09:12 < MikeSeth> oh digitarald *now* I see the eclipse updates you were talking about
09:12 < _cheerios> hmm, user-specific, not sure how that'd work out -- everything else you can do
09:13 < _cheerios> had to google to be sure, not possible in GA
09:13 < Macen_> personal details cannot be tracked through google analytics, i've tried. if you append their email for example from an emarketing campaign, then you can see who visited but it obviously brakes a lot of tools graphs (or the url just won't appear)
09:14 < hZilla> yeh i want to do data collection of specfic user behaviour, and also media access frequencies and geoloc etc
09:14 < hZilla> the nprocess the data and produce 'analytics'
09:14 < hZilla> but specific to my site
09:15 < Macen_> "media access frequencies"...this means the browser connection speed? GA does that. Geoloc, you should be able to get that presuming there's an API.
09:15 < hZilla> no i mean like how many times a stream is listened to and for how long
09:16 < Macen_> page times are calculated too :)
09:16 < Macen_> but you clearly want a custom solution,,
09:16 < hZilla> i was thinking about using an ad serving tool and creating a whole load of 'secret zones' for different areas of the site. then i can offload the anlaytics to that
09:17 < hZilla> and then use its api to pull data back when required
09:17 < Macen_> well there isn't an Analyitcs API so :)
09:17 < Macen_> http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55561
09:17 < hZilla> openx?
09:17 * Macen_ shrug, i just google'd it then
09:17 < Macen_> what's that? *interested*
09:17 < hZilla> openx? php ad serving
09:17 < Macen_> ahk
09:17 < Macen_> brb
09:17 -!- Macen_ [n=leopard@78-105-114-66.zone3.bethere.co.uk] has quit []
09:19 < macen> .
09:21 < graste_> hZilla: if you don't want to use google, you could try Piwik (alternative, that you install to your site) - haven't used it yet and can't tell you the state of the project, but at least it looks not that bad from their demos...
09:22 < graste_> http://piwik.org/
09:30 < _cheerios> i wouln't use anything that hits the db directly for loggin'
09:32 < graste_> yeah, as always it depends on your requirements (and you could always use another box for the stats logging)
09:34 < MikeSeth> digitarald: hey, sqlexplorer > eclipse data tools
09:34 < MikeSeth> you can actually edit triggers!
09:35 < v-dogg> "Piwik is a PHP MySQL software program that..."
09:35 < v-dogg> fail
09:36 < v-dogg> when do people learn that no everybody uses müesliql
09:36 < v-dogg> *not
09:37 < macen> surely you have it installed?
09:37 < hZilla> cool. looks like it has an api too
09:38 < hZilla> and it appears to be based on openx or something so they must have had the same idea some time back
09:41 -!- impl [n=impl@atheme/member/impl] has quit [Read error: 113 (No route to host)]
09:41 < v-dogg> macen: no, I do not
09:41 < macen> rly wow
09:42 < macen> and you use PHP obviously
09:42 < macen> that's odd
09:42 < v-dogg> well ok, a few projects are running on shared hosts and there mysql is of course available
09:42 < v-dogg> but no, on my server I do not have mysql
09:42 < v-dogg> why would I?
09:43 < macen> don't you have roundcube? squirrelmail ?
09:43 -!- reza [n=chatzill@85.15.40.233] has quit [Remote closed the connection]
09:43 < v-dogg> macen: eh. no. why would I have?
09:44 < macen> webmail
09:44 < v-dogg> webmails... suck
09:44 < v-dogg> madly
09:44 < macen> o.O
09:44 < macen> what about when you are on the road with your laptop and it refuses to send an email?
09:44 < macen> because the host is weird
09:44 < v-dogg> imap
09:44 < macen> imap doesn't send email :p
09:44 < v-dogg> secure smtp
09:44 < macen> ya.. :)
09:45 < macen> i run both the above
09:45 < macen> and atmailopen
09:46 < macen> i agree though, if they included their own ORM, you could choose what backend to use
09:46 < macen> but meh
09:46 < macen> most changes you are going to make are to the templates and so on
09:47 < v-dogg> ORM or not, you can either abstract with PDO or use adapters
09:55 -!- Rendez [n=Rendez@149.Red-79-155-132.dynamicIP.rima-tde.net] has joined #agavi
09:55 < horros> v-dogg: Aren't you supposed to be on your winter vacation?!
09:55 < horros> GO ON, GIT!
09:55 < v-dogg> :)
09:55 < v-dogg> I am!
09:57 < v-dogg> I've spent a good hour outside with Erica riding sledge and walking in the snow
09:57 < v-dogg> had to come inside to rest for a while
10:02 -!- Rayne [n=Rayne@p5B073D88.dip.t-dialin.net] has joined #agavi
10:03 -!- E_mE [n=jeramy@mail.spiritusgroup.com] has joined #agavi
10:04 < E_mE> huomenta!!!
10:04 < Rayne> huh
10:04 < Rayne> hai guys
10:08 < Wombert> winter vacation?
10:08 < Wombert> <3
10:10 < E_mE> morning Wombert ... get back all okay?
10:10 < E_mE> you tried ze Doooomm?
10:14 -!- PyroBilly [n=pyrobill@217.18.21.194] has joined #agavi
10:19 -!- Wombert [n=Wombert@pdpc/supporter/professional/wombert] has quit []
10:33 < MikeSeth> actually imap CAN send email
10:33 < MikeSeth> I don't suggest to do that
10:34 < MikeSeth> merely pointing out ;D
10:34 -!- E_mE [n=jeramy@mail.spiritusgroup.com] has quit [Read error: 110 (Connection timed out)]
10:36 -!- pookey [n=pookey@emo.two-pebbles.com] has joined #agavi
10:36 * pookey moos
10:36 < pookey> morning all!
10:36 < v-dogg> someone might also argue that running a mailserver (especially with some webmail stuff) on the same server as critical web services might not be a good idea
10:36 < pookey> can someone give me David's email address?
10:36 < v-dogg> david a bitxtender dot com
10:36 -!- E_mE [n=jeramy@mail.spiritusgroup.com] has joined #agavi
10:36 < pookey> v-dogg: some might also argue that almost all peopel running a mail server shoulnd't :)
10:36 < pookey> thanks v-dogg
10:36 < pookey> hi E_mE
10:37 < E_mE> yo pookey .... Agavi > Synfomy ;)
10:37 < pookey> pfft ;)
10:37 < pookey> not what your t-shirt said
10:37 < v-dogg> pookey: sorry, david.zulke@...
10:37 < v-dogg> err..
10:37 < v-dogg> .zuelke@
10:37 < pookey> ok, you'resure? ;)
10:38 < v-dogg> weird germys...
10:38 < v-dogg> yes. david.zuelke@...
10:38 < pookey> MikeSeth: have you seen me in the t-shirt?
10:39 < v-dogg> pookey: and regarding running mail servers: I agree and that's why I'm not running one :)
10:42 -!- Wombert [n=Wombert@87.79.35.60] has joined #agavi
10:42 < v-dogg> and there he is
10:42 * pookey moos at Wombert
10:43 -!- Strzalek___ [n=Strzalek@aazx219.neoplus.adsl.tpnet.pl] has joined #agavi
10:43 < pookey> Peter was after your mail address, so I gave it to him - I assume that's not a problem?
10:43 < v-dogg> Wombert: why on earth do you use "ue" in your mail address?
10:43 < Wombert> wat hapen, pookey
10:43 < Wombert> v-dogg: ?
10:43 < Wombert> pookey: that's cool
10:44 < v-dogg> Wombert: david.zuelke
10:44 < Wombert> v-dogg: ü = ue in german
10:44 < Wombert> ä = ae
10:44 < Wombert> and so forth
10:44 < v-dogg> no-one converts them like that in mail addresses! :D
10:44 < v-dogg> mäkinen = makinen
10:44 < Wombert> I am german, so I do :p
10:44 < horros> maekinen!
10:44 < v-dogg> zülke => zulke
10:44 < Wombert> yeah, that's the rule in finnish ;) not in german
10:45 < MikeSeth> pookey: no. Lookink sexy? :D
10:45 < v-dogg> and you keep calling us weirdos...
10:45 < Wombert> but good point there. I shall register those
10:45 < MikeSeth> also hay guise
10:46 < pookey> Wombert: you uploaded the picture yet?
10:46 < v-dogg> horros: you don't seriously mean that, do you?!
10:46 < pookey> MikeSeth: I always look sexy! *cough*
10:48 -!- Wombert_ [n=Wombert@87.79.35.60] has joined #agavi
10:48 -!- Wombert [n=Wombert@pdpc/supporter/professional/wombert] has quit [Read error: 104 (Connection reset by peer)]
10:50 < horros> v-dogg: mækinen!
10:50 -!- Strzalek [n=Strzalek@axp100.neoplus.adsl.tpnet.pl] has quit [Read error: 110 (Connection timed out)]
10:50 < E_mE> Wombert_: you seen your picture of flickr yet??
10:52 < Wombert_> sure
10:52 * Wombert_ &
10:52 -!- Wombert_ is now known as Wombert
10:54 < MikeSeth> URLS
10:54 < MikeSeth> NAO
10:57 < E_mE> one sec michalc
10:57 < E_mE> MikeSeth:
10:57 < E_mE> sorry michalc
10:57 < E_mE> http://www.flickr.com/photos/tags/phpuk2009/
11:06 < macen> http://www.flickr.com/photos/mamchenkov/3320054075/ <-- lols
11:08 < macen> i think everybody here has to resign to the fact that at *some* point they have contributed to the 90% statistic...unless they learnt another language first....
11:12 < macen> maybe not Wombert ;)
11:12 < _cheerios> what "90% statistic" ?
11:12 < macen> see the image
11:12 < _cheerios> it didn't make sense, and there was some ugly douchebag on it too, closed it kwik
11:13 < Wombert> it's Stefan Koopmanschap
11:13 < Wombert> a very nice guy
11:13 < Wombert> and he's wearing an Agavi t-shirt, if you watch closely
11:13 < macen> " PHP is a fucking filthy horrible language in 90% of usecases."
11:13 * Wombert &
11:14 < _cheerios> faster loops and arrays and i'd be happier
11:19 < ttj> Ooh... Where can we get Agavi shirts?
11:29 < MikeSeth> i swear to god
11:29 < MikeSeth> next year im going to phpuk to TROLL
11:29 < MikeSeth> (also there's no god)
11:35 < E_mE> why you say that MikeSeth
11:35 < E_mE> ?
11:35 < E_mE> =P
11:37 < horros> I should troll the agile development conf
11:39 -!- waldohreule [n=heidi@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi
11:39 -!- Rendez [n=Rendez@149.Red-79-155-132.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)]
11:39 -!- Rendez [n=Rendez@149.Red-79-155-132.dynamicIP.rima-tde.net] has joined #agavi
11:43 < Wombert> MikeSeth: they actually tried to track you down
11:43 < Wombert> but didn't manage to
11:43 < Wombert> as a PR stunt
11:43 < Wombert> "THE HECKLER IS BACK"
11:45 < MikeSeth> Wombert: they who?
11:45 < MikeSeth> E_mE: because I can :D
11:45 < E_mE> people did ask after you
11:46 < E_mE> where is the crazy guy hehe
11:46 < E_mE> though Wombert did some hecklering heheh
11:46 < Wombert> no not really
11:46 < Wombert> I actually supported stefan
11:47 < Wombert> well and the sebastian bergmann talk thing
11:47 < MikeSeth> Wombert: did you do a promo for 1.0 on the conf?
11:47 < Wombert> I really have no idea why you brits think of this as heckling
11:47 < Wombert> in germany, it's normal and okay to do
11:47 < Wombert> it's basically discussing things
11:47 < Wombert> really no clue what all that is about tbh
11:47 < Wombert> MikeSeth: you bet
11:47 < Wombert> MikeSeth: symfony people were wearing agavi tshirts and stuffs
11:48 < Wombert> I will post some blog thing or so tonight
11:48 < Wombert> when I have time
11:48 < Wombert> not now
11:48 * Wombert &
11:48 < E_mE> hehe :)
11:51 < macen> it's rude
11:51 < macen> obvioussslllyyy
11:51 < macen> hence they give it a name called heckling :)
11:52 -!- Rendez [n=Rendez@149.Red-79-155-132.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)]
11:52 -!- Rendez [n=Rendez@149.Red-79-155-132.dynamicIP.rima-tde.net] has joined #agavi
11:53 < macen> personally i feel the direct approach is always best
11:53 < macen> but hey ho
11:53 * macen lunch
11:56 < digitarald> oh, Wombert in business outfit without agavi shirt ... you should make one with "developer" on the back
11:57 < Wombert> it's not rude
11:57 < digitarald> good idea to make them red, very easy to find them on flick
11:58 < Wombert> someone next to me (nik) asked the question if building traits support wouldn't make it easy to add a generic preprocessor to agavi
11:58 < Wombert> err, php
11:58 < Wombert> and then he said "maybe"
11:58 < Wombert> and I took the mic and offered him beer
11:59 < PyroBilly> traits implementation baffling tbh
11:59 < digitarald> oh I *love* it ... http://virtualwolf.org/images/ars/helpdeskwarning.png
12:00 < PyroBilly> Would have been more useful if it had arrived prior to LSB
12:00 -!- Rayne|aedion [n=Rayne@p5B073D02.dip.t-dialin.net] has joined #agavi
12:01 < Wombert> lunch
12:01 -!- Wombert [n=Wombert@pdpc/supporter/professional/wombert] has quit []
12:17 -!- Rayne [n=Rayne@p5B073D88.dip.t-dialin.net] has quit [Read error: 101 (Network is unreachable)]
12:28 -!- Rayne|aedion [n=Rayne@p5B073D02.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
12:33 < E_mE> yo PyroBilly :) was great to meet you :)
12:45 -!- SasanRose [n=SasanRos@91.184.77.231] has quit ["leaving"]
12:48 -!- liutis [n=codecop@88-119-253-245.static.zebra.lt] has quit [Read error: 110 (Connection timed out)]
13:05 < PyroBilly> I've been having burge withdrawals
13:05 < PyroBilly> Let me know how you get on with that hot sauce too
13:07 < _cheerios> has anyone setup lucene before for search?
13:15 < trophaeum> _cheerios, use sphinx, iv used zend lucene, it gets slow at times, sphinx just blows it to shreds on both index and search performance
13:15 -!- hZilla [n=hz@KD125054166014.ppp-bb.dion.ne.jp] has quit [Read error: 110 (Connection timed out)]
13:16 -!- hZilla [n=hz@KD125054166014.ppp-bb.dion.ne.jp] has joined #agavi
13:17 < _cheerios> that's a zend lucene problem
13:20 < trophaeum> put it this way, index time for sphinx on 238k records of text with an attribute, 2mins, index time for zend lucene on 50k records of very simple titles, over 20mins
13:21 < trophaeum> search time on 238k records in sphinx, 2ms
13:21 < trophaeum> search time in lucene with zend on 50k records, seconds
13:22 < trophaeum> decide for yourself but sphinx is the best option by a LOT
13:22 < _cheerios> sure, but you don't need to use zend's code to work with lucene, what i was aiming at :)
13:22 < trophaeum> java? lol
13:23 < trophaeum> argue all u like but its php vs c
13:24 < trophaeum> sphinx is insane, i love it
13:24 < MikeSeth> in soviet russia databases search you
13:25 < _cheerios> trophaeum, have you tried solr, or xapian?
13:26 < trophaeum> no, no, sphinx has a pecl module
13:32 -!- Wombert [n=Wombert@87.79.35.60] has joined #agavi
13:34 < horros> GAH
13:34 * horros goes insane with AgaviXmlConfigHandler
13:35 * horros storms out for a smoke
13:38 -!- hZilla [n=hz@KD125054166014.ppp-bb.dion.ne.jp] has quit [Read error: 110 (Connection timed out)]
13:38 -!- hZilla [n=hz@KD125054166014.ppp-bb.dion.ne.jp] has joined #agavi
13:39 < aka> Huomenta
13:39 < aka> sup horros
13:41 * horros makes 'tard sounds at self
13:42 < aka> MFer!
13:48 < horros> WHY IS MY DOMNODELIST EMPTY?!?
13:48 * horros breaks down and cries
13:49 < _cheerios> trophaeum, sphinx does sound ok; has the live updates worked out fine?
13:49 < trophaeum> yea, had no issues with updates as yet
13:49 < trophaeum> and since your using mysql the delta stuff with the replace into query will work well for u
13:58 < Wombert> horros: right namespace?
13:58 -!- Wombert [n=Wombert@pdpc/supporter/professional/wombert] has quit ["bai"]
14:02 -!- nfq [n=nfq@123-18.107-92.cust.bluewin.ch] has joined #agavi
14:07 < MrJeep> having a weird bug here
14:08 < MrJeep> I have a slot which only gets executed on development environment
14:10 < MrJeep> I looked for the "validation strict mode"
14:10 < MrJeep> the mode is still strict in both prod and dev env
14:11 < MrJeep> as for the action class
14:11 < MrJeep> only initialize is called
14:11 < MrJeep> but not execute() as well as both handle*Error
14:11 < MrJeep> rings a bell ?
14:14 -!- Xylakant [n=Xylakant@87.79.35.60] has joined #agavi
14:14 < Xylakant> huomenta
14:14 * horros slaps xinclude
14:14 * horros slaps xpointer
14:14 -!- Wombert [n=Wombert@87.79.35.60] has joined #agavi
14:16 < MrJeep> Wombert: do you have a min ?
14:16 < Wombert> nope MrJeep
14:16 < Wombert> sorry
14:16 < MrJeep> :S
14:18 < MrJeep> could a slot be skipped on production env ?
14:18 < MrJeep> anyone ...
14:19 < MrJeep> I have a slot and execute() never gets called on production env
14:19 < MrJeep> as well as handle*Error()
14:19 -!- liutis [n=codecop@78.56.139.154] has joined #agavi
14:21 < bleachy1> MrJeep: Sounds like the slot is cached on the prod environment, and therefore never executed
14:21 < MrJeep> :o
14:25 * horros grumbles and curses
14:27 < E_mE> Wombert: did you tastie the doombar?
14:28 < Wombert> ja. was quite good. not so bitter and stuff
14:28 < Wombert> MrJeep: strict validation mode? fails? something like that?
14:28 < MrJeep> thought it could be validation mode
14:28 < MrJeep> but it's now
14:28 < MrJeep> however
14:29 < MrJeep> execute() on the slot didn't return anything
14:29 < MrJeep> no view name
14:29 < MrJeep> what's bugging me is, it was still working in dev mode
14:29 < MrJeep> even if no view were returned
14:33 < MrJeep> was a cache problem
14:33 < MrJeep> good call bleachy1
14:33 < bleachy1> :) no probs
14:36 -!- Ox40Work [n=KevinK@68-117-29-62.static.fdul.wi.charter.com] has joined #agavi
14:42 * horros headdesks repeatedly
14:43 < horros> I'm too stupid for xpointers :(
14:44 < Ox40Work> O.o
14:44 < Ox40Work> Im so stupid I dont know what xpointers are
14:45 < _cheerios> x marks the spot, xpointers... well...
14:45 < aka> Ox40Work: google is sooo smart... you should ask him
14:45 < horros> AHAHAHHAEHTY)¤%(/=)¤ &/(_¤)&
14:45 < horros> I GOT IT!
14:46 < horros> <- Smart after all
14:47 < aka> well lets not get ahead of ourselves
14:47 < Ox40Work> aka: you said you were leaving!
14:47 < Ox40Work> You bastard :P
14:47 < aka> I am working
14:47 < aka> me and horros work together
14:47 < Ox40Work> suuuuure
14:49 -!- digitarald [n=digitara@234.Red-79-155-98.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)]
14:50 < aka> svn up
14:50 < aka> errr nm
14:50 < aka> god I hate havign 4 putty windows open
14:54 < horros> aka: You were right. I was rejoicing too soon :(
14:54 < aka> I am sure Ox40Work will help you... he took over my help to someone in #css
14:54 < aka> and he is doing a great job
14:54 < Ox40Work> you think so?
15:05 < MikeSeth> yarrr
15:06 < Ox40Work> im a pirate too.... :)
15:07 < MikeSeth> xi:include href="production.xml" xpointer="xmlns(ae=http://agavi.org/agavi/config/global/envelope/1.0) xpointer(/ae:configurations/*)" />
15:07 < MikeSeth> that's all the xpointer math you need
15:07 < MikeSeth> :D
15:08 -!- hZilla [n=hz@KD125054166014.ppp-bb.dion.ne.jp] has quit []
15:08 -!- hZilla [n=hz@KD125054166014.ppp-bb.dion.ne.jp] has joined #agavi
15:12 -!- Rayne [n=Rayne3@pD9E378B3.dip.t-dialin.net] has joined #agavi
15:38 -!- _cheerios [n=Jack@195.197.209.254] has quit ["bbl"]
15:58 -!- digitarald [n=digitara@92.Red-79-148-193.dynamicIP.rima-tde.net] has joined #agavi
16:08 -!- digitarald| [n=digitara@92.Red-79-148-193.dynamicIP.rima-tde.net] has joined #agavi
16:27 -!- digitarald [n=digitara@92.Red-79-148-193.dynamicIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)]
16:29 -!- liutis [n=codecop@78.56.139.154] has quit [Remote closed the connection]
16:37 -!- liutis [n=codecop@78.56.139.154] has joined #agavi
16:38 < Ox40Work> hey, can I define a slot that runs on all 'pages' but one?
16:40 < saracen> Not sure if its the best way to do it, but for that one specific page you could use a different layout.
16:41 < Ox40Work> meh...
16:41 < Ox40Work> I was thinking I could make an action and just check the action
16:42 < saracen> Dunno, but making a new layout is easy enough, to load a different layout just do $this->setupHtml($rd, 'different_layout');
16:42 < saracen> from your view
16:42 < Ox40Work> yeah, but... oh.
16:42 < Ox40Work> Well.... it seems like a bad idea, no?
16:42 < saracen> Erm, maybe.
16:43 < saracen> I just thought, in order to do that other actions have to load first, so maybe you can diable it on that specific page ;x
16:44 < Ox40Work> hmm
16:44 < Ox40Work> Hey, do slots or the main action run first?
16:45 < saracen> thats what I was thinking, if you can change the layout via the main action, the main action must be ran first... I think.
16:45 < saracen> I'm really guessing here
16:45 < Ox40Work> hmm
16:45 < Ox40Work> I was really wondering about my login box
16:45 < Ox40Work> because, its a slot. It should show information based on if the ACTION validates the user...
16:46 < saracen> $this->getLayer('content')->removeSlot('slots_name');
16:46 < saracen> In the view of the page you want to disable the slot
16:46 < saracen> This is a guess, just looked up a bunch of API calls
16:46 < Ox40Work> awesome. :)
16:46 < Ox40Work> ok, that should work for that
16:46 < saracen> Say that when it works :P
16:47 < saracen> You can also getSlot('name') and maybe from there disable it, i dont know =)
16:48 < asonge> man, i love postgis
16:51 < Xylakant> the main action runs first, but the slots are rendered before the main template is rendered
16:51 < asonge> so between the action and the decorators
16:51 < Xylakant> no
16:51 < Xylakant> after the view of the main action has run
16:52 < Xylakant> then the slots are rendered
16:52 < Xylakant> and then the template of the main action
16:52 < saracen> makes sense
16:52 < Xylakant> and then all the decorators
16:52 < Xylakant> so you can change the layout in the the main actions view
16:52 < Xylakant> add slots or remove slots as much as you like
16:52 < Ox40Work> heh awesome
16:52 < Ox40Work> :)
16:56 -!- impl [n=impl@atheme/member/impl] has joined #agavi
16:59 -!- _cheerios [n=Jack@dsl-hkibrasgw3-fe74fb00-140.dhcp.inet.fi] has joined #agavi
17:10 -!- digitarald| [n=digitara@92.Red-79-148-193.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)]
17:16 -!- SasanRose [n=SasanRos@92.50.2.42] has joined #agavi
17:25 -!- benschi [n=benschi@echo134.server4you.de] has left #agavi []
17:34 < E_mE> bye!!
17:34 -!- E_mE [n=jeramy@mail.spiritusgroup.com] has quit ["Bai4now!"]
17:37 < Ox40Work> Huomenta
17:37 -!- reza [n=reza@87.117.217.5] has joined #agavi
17:38 < reza> hi every budy
17:38 < Ox40Work> well hello
17:38 < reza> is there any kind of document or Tutorial released?
17:38 < Ox40Work> on what?
17:38 < reza> on agavi 1-0-0
17:39 < Ox40Work> not that I know of, not yet at least.
17:39 < Ox40Work> I know it is in the works
17:40 < reza> do you when it will be published?
17:40 < Xylakant> well, I'm writing on it
17:40 < Xylakant> and I don't know
17:40 < Xylakant> it depends on how much I need to work in the next couple of weeks
17:41 < reza> i am work with agavi
17:41 < reza> and found it so wonderful
17:41 < reza> but i need some documentation
17:41 < Xylakant> we all know that
17:41 < Xylakant> but we all need to earn our living
17:41 < reza> it is so important for agavi to be pupular
17:42 < Xylakant> yes, we all agree
17:42 < reza> we choos this framework for our project
17:42 -!- fnordfish [n=fnordfis@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has quit []
17:43 < reza> our project tie to your document
17:43 < Xylakant> but still, we all need to pay the bills
17:43 < reza> :)
17:43 < Xylakant> if you have any questions, feel free to ask
17:43 < Xylakant> write a mail on the mailing list
17:43 < Xylakant> drop in here
17:43 < reza> surely i will do
17:43 < Xylakant> we'll do our best to leave no question unanswered
17:44 < reza> i think it is not a bad idea to donate for money on you site
17:44 -!- Rendez [n=Rendez@149.Red-79-155-132.dynamicIP.rima-tde.net] has quit [" (going back to the Real World)."]
17:44 < reza> i am so apprisiate for you time and kind reply
17:45 -!- malax [n=malax@unaffiliated/malax] has quit [Remote closed the connection]
17:45 -!- reza [n=reza@87.117.217.5] has left #agavi []
17:57 -!- matbtt [n=matbtt@BAE715c.bae.pppool.de] has joined #agavi
18:01 -!- graste_ [n=graste@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has left #agavi []
18:03 < v-dogg> but but but
18:04 < v-dogg> there _is_ a tutorial. granted, it has its issues but it's still worth reading
18:04 < v-dogg> so Ox40Work, go to agavi.org and click Docs
18:10 -!- Wombert [n=Wombert@pdpc/supporter/professional/wombert] has quit []
18:14 < Ox40Work> why is agavi.org so slow
18:14 < Ox40Work> ok, I clicked it
18:16 < v-dogg> I'm surfing with 3G and it's now slow here
18:16 < v-dogg> but you're in the US, right?
18:17 < v-dogg> maybe so many others are also downloading wisdom from overseas that your pan-atlantic tube is getting tight
18:20 < Seldaek> Xylakant: heya
18:20 < Xylakant> hi
18:21 < Seldaek> is it normal the parse error in /agavi/tests2/validator/ValidatorTest.php:64 ?
18:21 < Xylakant> errm
18:21 < Seldaek> even without the parse error, the params seem completely wrong
18:21 < Xylakant> no, but those are the old tests
18:21 < Seldaek> given the targetted constructor
18:22 < Seldaek> ok then
18:22 < Xylakant> i'll have a look into it
18:22 < Xylakant> thanks for the notice
18:22 < Seldaek> well np.. I just installed PDT2 and it bitches about lots of things
18:23 < Xylakant> ok
18:24 < Seldaek> "No grammar constraints (DTD or XML schema) detected for the document"
18:24 < Seldaek> that one is annoying
18:24 < Xylakant> hmmm
18:24 < asonge> eclipse errors you're looking at?
18:24 < Seldaek> just a warning not an error but well
18:24 < Seldaek> yes asonge
18:25 < v-dogg> what's new in pdt2?
18:25 < Xylakant> all right, i'm off
18:25 < Xylakant> bai
18:26 -!- Xylakant [n=Xylakant@87.79.35.60] has quit []
18:26 < Seldaek> cy
18:26 < Seldaek> a
18:26 < v-dogg> worth mentioning, that is. I'm reading the release notes
18:26 < Ox40Work> v-dogg: what do you need to know?
18:26 < Seldaek> v-dogg: I don't know, it sucks less apparently
18:26 < Seldaek> it actually seems usable
18:26 < Seldaek> while I couldn't stand PDT1 for more than10mins
18:33 -!- benschi [n=benschi@echo134.server4you.de] has joined #agavi
18:36 < v-dogg> Ox40Work: wat?
18:38 < v-dogg> I was just referring to 19:39 < Ox40Work> not that I know of, not yet at least.
18:38 < v-dogg> regarding an agavi tutorial
18:57 < _cheerios> trophaeum, I got that mptt-query i talked about to be faster from 2s->0.09, if I discard calculating the depth of each node while retrieving the query
18:58 < aka> what db you using?
18:58 < aka> postgres?
18:58 < _cheerios> (which somewhat defeats the purpose for using mptt in the first place, but, atleast there's possibilities)
18:58 < aka> err sorry
18:58 < _cheerios> mysql
18:58 < trophaeum> no he's using the devil
18:58 < asonge> _cheerios: that is why i use the dual method...i record either depth or parent_id *and* lft/rgt
18:58 < aka> I thought I was in my Im window
18:59 < _cheerios> aka, maybe you mentioned it, but i didn't grok it at the given time
18:59 < trophaeum> trigger to record the level could work nicely
18:59 < trophaeum> i dunno how good mysql triggers are though?
18:59 < _cheerios> they should be fine, but i'd prefer to keep everything code, outside the db.
18:59 < asonge> easier to audit ^^^
19:00 < asonge> anyone know any good ways to *version* database schemata?
19:00 < aka> what does grok mean?
19:00 < asonge> find
19:00 < asonge> or understand
19:00 < aka> ahh ok
19:01 < trophaeum> im a fan of triggers, really simple way to work with various things that would take multiple ugly queries, same with denormalized tables (trigger updates the denormalized data for the common purposes of the site)
19:01 < _cheerios> asonge, we use a custom solution at work, which only goes forward. works ok, given how simple it is.
19:02 < asonge> _cheerios: yeah, i wouldn't need to go backwards.
19:02 < _cheerios> asonge, in our case, just a bunch of numbered sql files, and record the added versions to a table.
19:02 -!- graste [n=graste@f053002043.adsl.alicedsl.de] has joined #agavi
19:02 < trophaeum> asonge, if i have a need for it i make a table with schema_revision with a single row and make scripts to auto update
19:05 < _cheerios> trophaeum, i'll lookup on how it'd work with a trigger -- i haven't used them, gives me a reason to test something in a use-case i'm facing, atleast.
19:06 < trophaeum> _cheerios, they can be a very powerful tool when used right, it also offloads that work to the db in a format the db knows well rather than a mishmash of frontend backend code to do the same work
19:06 < _cheerios> asonge, do you use triggers or what to record the depth?
19:08 < asonge> _cheerios: i look at the parent and then calculate lft/rgt from that...and the parent has depth
19:08 < asonge> (in the application)
19:16 -!- Sasan_Rose [n=SasanRos@92.50.2.42] has joined #agavi
19:21 -!- Sasan_Rose [n=SasanRos@92.50.2.42] has quit ["leaving"]
19:29 -!- SasanRose [n=SasanRos@92.50.2.42] has quit [Connection timed out]
19:33 -!- MrJeep [n=mrjeep@modemcable086.163-70-69.static.videotron.ca] has quit []
19:35 -!- nfq [n=nfq@123-18.107-92.cust.bluewin.ch] has quit []
19:43 < Strzalek___> Anybody uses agavi with propel?
19:43 < Strzalek___> (1.3)
19:43 -!- Strzalek___ is now known as Strzalek
19:45 < Ox40Work> I tried
19:45 < Ox40Work> but couldnt get propel installed *shrug*
19:45 < saracen> NOOB
19:45 < Strzalek> http://pastie.org/405002
19:46 < Ox40Work> jup, noob
19:56 < graste> Strzalek: agavi does work with propel - you should make sure you configured everything correctly
19:56 < v-dogg> Ox40Work: http://blog.veikko.fi/post/82466126/installing-a-project-local-propel
19:57 < v-dogg> use the suggested directory structure and the build.properties
19:58 < v-dogg> copy myproject-conf.php from dev/db/conf/ to app/config/
19:58 < Ox40Work> v-dogg: save that, ill need it when I get home
19:58 < Ox40Work> ;)
19:58 < v-dogg> set include_path in app/config.php
19:58 < Strzalek> graste: found mistake
19:59 < Strzalek> Hmm
19:59 < graste> nice post v-dogg :)
19:59 < Strzalek> hi v-dogg
19:59 < v-dogg> fix databases.xml (propel is there ready, just modify the config file name and remove every other db)
19:59 < Strzalek> I yes, yes, everything's ok
19:59 < Strzalek> now
19:59 < v-dogg> Ox40Work: and that is it. then just use it
20:00 < Strzalek> i have myproj-conf.php in model/conf/
20:02 < v-dogg> well, that sounds like a wrong place for anything (a) configuration or (b) ORM related but you can keep it anywhere you like :)
20:03 < Ox40Work> v-dogg: hmmm
20:03 < Ox40Work> but I have to run the propel-cfg or whatever command from my project root?
20:04 < v-dogg> propel-gen. don't think it matters where you run it as long as the path to your propel dir (the on with schema.xml and friends) is correcto
20:05 < Strzalek> wooo
20:05 < Strzalek> v-dogg: you blog is alive
20:05 < Strzalek> :D
20:05 < Ox40Work> v-dogg: meh
20:05 < Ox40Work> I just dont like how propel makes you have.... 3 config files to get up and running
20:05 < Strzalek> I remember it with only 2 notes ;]
20:05 < v-dogg> Ox40Work: me neither
20:05 < Ox40Work> two of which are the EXACT same and have the same contents, in different formats.
20:05 < v-dogg> that's not true
20:06 < v-dogg> schema, runtime configuration and build.properties
20:06 < horros> v-dogg: http://kuvaton.com/bshit/panttivanki.jpg
20:06 < horros> lol apua!
20:06 < v-dogg> hahaha
20:06 < horros> (sorry you non-finns, I can't be bothered to translate)
20:07 < Strzalek> Yeaaahhh
20:07 < v-dogg> I can translate: "lol help"
20:07 < v-dogg> :)
20:07 < Strzalek> v-dogg: I'm looking at ADT
20:07 < Strzalek> great work!
20:07 < horros> v-dogg: That should be the new official Agavi request for comment!
20:07 < horros> +s
20:07 < Strzalek> lot of good changes in agavi world after I was active
20:08 < horros> Wombie can send out mails with "LOL APUA" in the subject!
20:08 < horros> BRILLIANT!
20:08 < v-dogg> +1
20:08 < v-dogg> +1*10^1000
20:09 < Ox40Work> wombie?
20:09 < v-dogg> but now: lol dog out and then lol bed time
20:09 < horros> lol
20:09 < v-dogg> Ox40Work: Womkraut
20:09 < horros> lol I'ma watch an episode of ST:TNG lol
20:09 < horros> -->
20:09 < Ox40Work> ... I feel like such an english-failtard.
20:09 < v-dogg> a.k.a. David "Wombert" Zülke
20:09 < v-dogg> (or Zuelke *sigh* :)
20:10 < Ox40Work> heh, still lost.
20:10 < horros> a.k.a. David "Lapinpolttaja" Zülke
20:10 < v-dogg> we're all friends nau
20:11 < v-dogg> Ox40Work: lead dev
20:11 < Ox40Work> ah
20:12 < v-dogg> über pedant german
20:12 < horros> Also, I'd just like to state for the record:
20:12 < horros> Geschwindigkeitsübertretunggeldstrafe.
20:12 < graste> ^^
20:12 < v-dogg> lol
20:12 < v-dogg> apua
20:12 < Ox40Work> ...
20:12 < graste> pff :)
20:12 < horros> v-dogg: :D
20:13 < v-dogg> ->
20:13 < v-dogg> bai bai
20:13 * horros too ->
20:14 < Strzalek> Wooo
20:14 < Strzalek> widgets
20:14 < Strzalek> huh, lots of changes
20:14 < Ox40Work> damn it
20:14 < Ox40Work> #php on efnet is so sad...
20:14 < Ox40Work> PUBENLEISEN
20:14 < Ox40Work> STOLENSPIEL
20:14 < Ox40Work> yall niggerz are good
20:14 < Ox40Work> god...
20:15 < asonge> Ox40Work: language.
20:15 < Ox40Work> sorry ;)
20:16 -!- Zeelot [n=zeelot@adsl-233-53-105.mia.bellsouth.net] has quit [Remote closed the connection]
20:16 -!- marioprudhomme [i=4a38ea03@gateway/web/ajax/mibbit.com/x-40ac97cbac269432] has joined #agavi
20:18 < marioprudhomme> o_O
20:19 < Ox40Work> yep,
20:19 < Ox40Work> So, you guys will be happy to know that I am slowly getting the hang of agavi :)
20:20 < graste> best choice
20:22 < saracen> Ox40Work: Don't speak so soon =)
20:22 < _cheerios> you'll be saying the same thing in 2010
20:22 < saracen> Theres plenty left to be learnt
20:25 < Strzalek> graste: rails is better choice
20:25 < Strzalek> Hehehe ;)
20:25 < graste> haha
20:25 < graste> been there :p
20:26 < Strzalek> me too
20:26 < Strzalek> ;]
20:26 < graste> there are a lot of frameworks and they all have some nice things (well almost)
20:26 < graste> but the downsides are the big thing to look after when choosing one ;)
20:27 < asonge> graste: there's something wrong with all of them.
20:27 < asonge> with agavi, it's the fact that php is a shitty language to begin with, hehehe
20:27 < graste> yeah
20:27 < graste> unfortunately :)
20:27 < horros> I had high hopes for PHP 6 :(
20:28 < asonge> i hope merb doesn't let too many of the rails idiots kill their efforts and i can look at ruby again in a year
20:28 < asonge> imho, the language is beautiful
20:30 < graste> yeah, I like the syntax (even though closures are a beast sometimes ;) and that everything's an object and you get some mini-DSLs so fast :)
20:31 < graste> just nice, but didn't like the magic in rails sometimes - drove me crazy to find out what it tried to do instead of just letting me do what I wanted to do :)
20:31 < asonge> the community wasn't a big help either with their "it just works!"
20:31 < graste> yeah
20:32 < graste> all these todo-applications drove me crazy :D
20:32 < asonge> and there really wasn't much out there on how to solve scaling issues.
20:32 < graste> yep
20:32 < asonge> these come with time
20:32 < asonge> and there are plenty of merits there...just needs more time
20:33 < graste> it hides a lot of the complexity and then kills ppl who don't know what happens in the background with complicated model structures etc
20:34 < graste> and there are many bad designed beginners examples that badly needed some refactoring
20:34 < graste> on the other hand there's this 500 lines forum which just impresses you with some fine hacks ;)
20:34 < Ox40Work> Ox40Work: Don't speak so soon =)
20:34 < asonge> hehe
20:34 < Ox40Work> I said slowly :)
20:41 < _cheerios> switching between php, py, ruby -- little to gain, unless there's some lib you really, really need to use.
20:43 < graste> yep
20:44 -!- sean` [n=Sean@s5590c924.adsl.wanadoo.nl] has joined #agavi
20:44 < graste> and for most apps out there it doesn't matter what languages it's written in or what database it uses
20:44 < graste> I just wonder why everyone uses mysql when there's postgresql - but usually it's not my decision, what to use ;)
20:44 < graste> ^^
20:45 < Ox40Work> graste: whats the difference tho?
20:45 < marioprudhomme> graste, mysql took the market first
20:45 < Ox40Work> I mean, I know they are differnt, But I have always used mysql
20:45 < graste> for most apps it's probably not important Ox40Work
20:45 -!- sean` [n=Sean@s5590c924.adsl.wanadoo.nl] has left #agavi ["Ik ga weg"]
20:45 < marioprudhomme> early postgre was a bitch when mysql was easy
20:46 < Ox40Work> mmhm
20:46 < Strzalek> Is there sth like core.root_dir?
20:46 < Strzalek> pre defined?
20:46 < Ox40Work> Just wondering if I should change for lolbook :)
20:46 < graste> most probably not worth it Ox40Work :)
20:46 < graste> just write a nice agavi app
20:46 < graste> and then you can switch anytime :p
20:46 < asonge> graste: and postgis...mmm...you ever even look at mysql's GIS functions? until 5.1, they all used bounding box no matter what.
20:47 < Ox40Work> heh graste
20:47 < graste> never had a look at it asonge
20:47 < graste> but I know postgis by name ;)
20:47 < asonge> it's the same c library they link against
20:47 < asonge> but mysql couldn't properly expose it
20:48 < asonge> and of course, indexes are only available on myisam for their GIS
20:48 < graste> hehe, that's why mysql and php just go together so well :D
20:48 < graste> haha
20:48 < Ox40Work> meh...
20:49 < graste> I'm always impressed how mysql uses temp files for even the simplest queries when I let them describe to me ;)
20:49 -!- everplays [n=prince@94.182.9.136] has joined #agavi
20:49 < graste> so many pitfalls :D
20:49 < asonge> lol
20:50 < asonge> or how you can make a temporary table, but unless you index it it somehow goes obscenely slow.
20:50 < graste> :>
20:50 < asonge> the entire table is in memory ffs
20:51 < graste> I tried to use federated tables but gave up after all these caveeats and not implemented features
20:51 < graste> it felt like mysql just stole hours of my life by proposing a feature that's not at all production ready ;(
20:52 < graste> like count() after getting all remote records and counting them locally
20:52 < graste> instead of counting them remotely
20:53 < everplays> MikeSeth: ping
20:53 < graste> who the fuck came to the conclusion, that getting all records over network and then counting them on localhost is such a good idea
20:57 -!- Goleo[66] [n=master@91.98.70.158] has joined #agavi
21:08 -!- liutis [n=codecop@78.56.139.154] has quit [Remote closed the connection]
21:11 < macen> Strzalek: nop, asked this of mailing list last week
21:11 < _cheerios> "Thanks for your order!" ... amazon ate my monies again
21:11 < macen> basename on core_app best solution
21:13 < Strzalek> v-dogg: can I set logging options for propel in databases.xml?
21:20 -!- Wombert [n=Wombert@ip-77-25-216-73.web.vodafone.de] has joined #agavi
21:22 < graste> you can set connection settings like charset - dunno for logging - DebugPDO or something should be set for query logging I think, doesn't it?
21:23 < Wombert> nom?
21:23 < graste> hi
21:24 < Wombert> how have you been, graste
21:24 < graste> fine, thx
21:25 < Wombert> glad
21:25 < graste> did you promote agavi at that conference?
21:25 < graste> ^^
21:27 < impl> like nuts
21:28 < Ox40Work> hey, how can agavi parse all those files so fast?
21:28 < graste> it's magic ^^
21:28 < impl> Ox40Work: it caches them
21:28 < Ox40Work> the XML, the configs, the database stuff... the contexts, the layouts...
21:28 < impl> as PHP files
21:28 < impl> then it just includes the PHP
21:28 < Ox40Work> impl: but when I change them, it ... doesnt slow down
21:29 < impl> well, that's because parsing XML isn't as slow as some people like to make it out to be
21:29 < Ox40Work> heh
21:29 < Ox40Work> do you have FF3?
21:29 < impl> Yes
21:30 < Ox40Work> does http://lolbook.net look fucked up to you?
21:30 < impl> um... not really
21:31 < impl> it still looks like facebook.
21:31 < Ox40Work> the sidebar isnt floating weird?
21:31 -!- Goleo[66] [n=master@91.98.70.158] has quit ["Leaving"]
21:31 < impl> I don't think so
21:31 < Ox40Work> GAH
21:31 < Ox40Work> wtF?
21:31 < Ox40Work> It was messed up this morning -_-
21:32 < Strzalek> I hate propel
21:32 < Strzalek> this is shit
21:33 < Strzalek> 3h fighting to proper configure it with agavi and still not satisfaced
21:33 < macen> http://temp.youds.com/Picture%201.png
21:33 < macen> Ox40Work...^
21:33 < Ox40Work> macen: hmm cool
21:33 < Ox40Work> works then...
21:33 < macen> looks like it
21:34 < macen> nice and clean :)
21:34 < Ox40Work> I like it. heh, THANKS macen
21:34 < Ox40Work> everyone else either says "blah look like facebook" or "blah its not funny enough to be lolbook"
21:35 < macen> maybe some padding-right on div#footer :p
21:35 < impl> well... it does look like facebook
21:42 < _cheerios> mmm... good-night beer
21:45 < everplays> help. people give me a resource about "date & translation" in agavi! i used mailing list but still no one answered me!
21:45 < everplays> Wombert: ^
21:46 < _cheerios> how to create folders in svn w/netbeans? i only know how to checkout..
21:50 < graste> everplays: basicly you need to use AGaviTranslationManager and the app/config/translation.xml file
21:50 < graste> there you define translations (ha!) and then can do things like _('Select', 'some.namespace.defined.in.translation.xml'); ?>
21:50 < graste> or currency and date formatting
21:52 < impl> hmm, where does sending an email confirmation message belong?
21:53 < impl> I feel like it's wrong to put it in the action
21:53 < everplays> graste: tnx, but what about date? i'm not using Gregorian time format so i need to convert it to my local time format
21:54 < graste> perhaps something like this help? http://pastie.org/405175
21:56 < graste> $tm->_d(time(), null, '@timezone=Europe/London'); $tm->_c(1200, null, '@currency=GBP');
21:56 * graste is the wrong person to ask for translation related things :D
21:59 < everplays> graste: hmm! tnx. i think if i can create a date type maybe i got everything i need > datetime
21:59 < graste> good luck :)
22:08 -!- Rayne [n=Rayne3@pD9E378B3.dip.t-dialin.net] has quit [Read error: 101 (Network is unreachable)]
22:12 -!- Rendez [n=Rendez@149.Red-79-155-132.dynamicIP.rima-tde.net] has joined #agavi
22:14 < asonge> impl: perhaps use some type of general notification abstracted in the user object?
22:15 < asonge> some notifications in the model maybe
22:15 < impl> well, the notifications would have to be aware of the output type is the issue I'm having. because maybe for instance I don't want to send an email if I'm using an automated API, I want to provide some other way of doing things
22:16 < impl> I feel like it belongs in the view more than anything
22:16 < graste> appoint view 'ConfirmationSuccess' on mail sent success in action :P
22:17 -!- Strzalek [n=Strzalek@aazx219.neoplus.adsl.tpnet.pl] has quit [Read error: 60 (Operation timed out)]
22:17 < aka> hahahah meritt I am watching this run away video again
22:17 < graste> you could always add that json confirmation after that, I guess
22:18 < aka> when that lady tries to say "Maybe she met up with someone" and the guy cuts her off "No that is not ver likely" and leads into she is addicted to crystal meth
22:18 < aka> ohh shit wrong channel
22:18 < aka> mfer
22:18 < aka> sorry
22:21 -!- Strzalek [n=Strzalek@axn33.neoplus.adsl.tpnet.pl] has joined #agavi
22:30 < _cheerios> how do you get patch to add new files?
22:37 -!- marioprudhomme [i=4a38ea03@gateway/web/ajax/mibbit.com/x-40ac97cbac269432] has quit ["http://www.mibbit.com ajax IRC Client"]
22:38 < Ox40Work> So, I think I like freenode best
22:46 -!- matbtt [n=matbtt@BAE715c.bae.pppool.de] has left #agavi []
22:56 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: MikeSeth, Ox42, MrJeep_, Spica, saracen, pookey, @ChanServ, benschi, graste, Wombert, (+24 more, use /NETSPLIT to show all of them)
22:59 -!- Netsplit over, joins: @ChanServ, Rendez, Wombert, everplays, graste, benschi, _cheerios, impl, hZilla, Ox40Work (+23 more)
23:01 -!- Rendez [n=Rendez@149.Red-79-155-132.dynamicIP.rima-tde.net] has quit [Read error: 104 (Connection reset by peer)]
23:01 -!- Rendez [n=Rendez@149.Red-79-155-132.dynamicIP.rima-tde.net] has joined #agavi
23:02 -!- _cheerios [n=Jack@dsl-hkibrasgw3-fe74fb00-140.dhcp.inet.fi] has quit ["nn"]
23:02 -!- PyroBilly1 [n=pyrobill@217.18.21.194] has joined #agavi
23:02 -!- horros_ [i=horros@punk.sux.di.cx] has joined #agavi
23:03 -!- saracen_ [n=saracen@goto.fiveturns.org] has joined #agavi
23:03 -!- horros [i=horros@punk.sux.di.cx] has quit [Remote closed the connection]
23:03 -!- saracen [n=saracen@goto.fiveturns.org] has quit [Remote closed the connection]
23:04 -!- nfq [n=nfq@95-189.3-85.cust.bluewin.ch] has joined #agavi
23:05 -!- Netsplit calvino.freenode.net <-> irc.freenode.net quits: Ox40Work, Spica, MrJeep_, @ChanServ, trophaeum, waldohreule, macen, nfq, PyroBilly1, um, (+9 more, use /NETSPLIT to show all of them)
23:05 < impl> FUCKING FREENODE
23:06 -!- Netsplit over, joins: @ChanServ, nfq, saracen_, PyroBilly1, Ox40Work, waldohreule, PyroBilly, MrJeep_, macen, Ox42 (+9 more)
23:06 -!- Ox40Work [n=KevinK@68-117-29-62.static.fdul.wi.charter.com] has quit ["User pushed the X - because it's Xtra, baby"]
23:14 -!- PyroBilly [n=pyrobill@217.18.21.194] has quit [Read error: 110 (Connection timed out)]
23:17 -!- Zeelot3k [n=zeelot@adsl-233-53-105.mia.bellsouth.net] has joined #agavi
23:25 -!- everplays is now known as everplayZzz
23:30 -!- nfq_ [n=nfq@dyn.144-85-201-126.dsl.vtx.ch] has joined #agavi
23:48 -!- nfq [n=nfq@95-189.3-85.cust.bluewin.ch] has quit [Read error: 110 (Connection timed out)]
23:59 -!- graste [n=graste@f053002043.adsl.alicedsl.de] has quit ["Leaving."]
--- Day changed Tue Mar 03 2009
00:15 -!- Rendez [n=Rendez@149.Red-79-155-132.dynamicIP.rima-tde.net] has quit [" (going back to the Real World)."]
00:34 -!- Wombert [n=Wombert@pdpc/supporter/professional/wombert] has quit [Read error: 110 (Connection timed out)]
00:37 -!- fd [n=heidi@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has joined #agavi
00:49 -!- waldohreule [n=heidi@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net] has quit [Read error: 110 (Connection timed out)]
01:18 -!- nfq_ [n=nfq@dyn.144-85-201-126.dsl.vtx.ch] has quit [Read error: 110 (Connection timed out)]
02:23 -!- nfq [n=nfq@212-35.3-85.cust.bluewin.ch] has joined #agavi
02:36 -!- Zeelot3k [n=zeelot@adsl-233-53-105.mia.bellsouth.net] has quit [Remote closed the connection]
03:16 < Ox42> yo!
03:16 < Ox42> Huomenta
03:29 < Ox42> So, who pasted that link to installing propel?
03:31 < macen> why propel
03:31 < Ox42> Why not? :)
03:31 < macen> look at the others you are new dude :p
03:31 < Ox42> I have yet to find something better.
03:31 < macen> now is the good time to check out the viable competition
03:31 < Ox42> Well, what do you use?
03:32 < macen> it's down to personal preference only, and, my choice was made based on the fact that the models are generated in PHP by default (also, yaml etc)
03:32 < macen> this not case on Propel
03:32 < macen> !google doctrine
03:32 < um> macen: Search took 0.13 seconds: Doctrine - Wikipedia, the free encyclopedia:
03:32 < Ox42> ah, doctrine.
03:32 < Ox42> I read their docs... It didnt give a straight forward "how to use" thing
03:32 < Ox42> It just says "Hey, we made a new SQL! "
03:32 < Ox42> ya know?
03:32 < macen> yeah i know
03:33 < macen> i needed MrJeep to get me going
03:33 < macen> i can give you the chanlog of this conversation and the associated screenies
03:33 < macen> it' at the office though...
03:34 < Ox42> what did he basically say?
03:34 < macen> i'll get the transcript, links are in there, if they expired then well i have them
03:34 < macen> how to get started with Agavi
03:34 < Ox42> oh...
03:34 < Ox42> I have Agavi working
03:34 < Ox42> now I need DB support tho
03:34 < macen> are you sure you do?
03:34 < macen> oh yes
03:34 < macen> well Agavi handles the DB PDO
03:34 < macen> luckily for you :)
03:35 < macen> I could try to help myself...meantime will try to get the log
03:35 < Ox42> what do you mean "Agavi handles the DB PDO"?
03:36 < impl> databases.xml, sir
03:36 < impl> it has examples
03:37 < Ox42> hmmmm
03:37 < Ox42> Im just trying to figure out... if I add my DB stuff to database.xml in the propel section
03:37 < Ox42> and add a php reference or whatever to eh propel runtime... I can just add the classes it generated to /models and use it?
03:38 < Ox42> Because its 'installed'
03:42 < macen> here you go
03:42 < macen> http://paste2.org/p/157280
03:43 < macen> i cleaned the first few paragraphs to get you hooked
03:43 < macen> and then you'll just have to ignore other peoples comments and my noobish questions :P
03:43 < macen> ha
03:44 < macen> like i say, you get to edit the models in php
03:44 < macen> so if you have any ideas about basing anything in your php code on the ORM then you will already have it there in PHP to interpret
03:44 < macen> this is my reason why i choose it
03:45 < macen> _read this_
03:45 < macen> http://codeutopia.net/blog/2008/03/02/doctrine-vs-propel/
03:46 < Ox42> hmmmmm
03:46 < macen> _doctrine_
03:46 < macen> :D
03:47 < Ox42> oh dear god
03:47 < Ox42> $items = Doctrine_Query::create()
03:47 < Ox42> ->from('Example e')...
03:47 < Ox42> *barf* hell no
03:49 < macen> SEZY
03:49 < macen> i promise :>
03:49 < Ox42> SEZY?
03:49 < Ox42> seriously, I will use my own Model before I do that.
03:49 < macen> $doctrineProject = Doctrine_Query::create()
03:49 < impl> Ox42: Doctrine isn't a model
03:49 < impl> you use Doctrine in your models
03:49 < macen> $doctrineProject->from('Table tb');
03:50 < Ox42> yeah, no...
03:50 < Ox42> $items = Item::getBySomething();
03:50 < macen> nono
03:50 < impl> That's how YOUR model should look, but how that method works internally doesn't really matter.
03:50 < Ox42> impl: so...
03:50 < impl> So you can use Doctrine under the covers just fine
03:50 < Ox42> doctrine is a method between my model and my DB?
03:50 < impl> yes
03:51 < impl> it's a DAL
03:51 < Ox42> oh gah...
03:51 < macen> $this->getContext()->getModel('foobar')->getByYourModel();
03:51 < impl> ^
03:51 < Ox42> whats wrong with just using SQL?
03:51 < impl> Nothing
03:51 < macen> you can still
03:51 < macen> access the PDO
03:51 < Ox42> But, whats the advantage of doctrine then?
03:52 < macen> i haven't used propel, v-dogg come save propel here, but *apparently* it falls over in complex scenario
03:52 < macen> my *world* is complex
03:52 < impl> yeah it does
03:52 < Ox42> But...
03:52 < impl> but I think v-dogg and I both agree that Propel is nice for doing simple stuff
03:52 < impl> (e.g., getting all Foos)
03:52 < Ox42> I mean, $user = new User($idFromSomewhere);
03:52 < Ox42> $friends = $user->getFriends(); and it all jsut works
03:52 < impl> when you need to do something complicated, you just switch back to SQL
03:53 < Ox42> getFriends() { return Friend::getByUserId($this->id); }
03:53 < impl> Ox42: Look, here's the fundamental, the very fundamental problem
03:53 < impl> Ox42: The problem is that there isn't a clear, distinct mapping between tables in a database and objects in an object-oriented program
03:53 < impl> It would be nice if there WERE one, but there isn't
03:53 < Ox42> how so?
03:53 < Ox42> Uh, with mine there is...
03:53 < impl> No, there's not, because of the very fact of relations
03:54 < macen> purpose of ORM is to make code that works in both mysql and postgresql
03:54 < impl> No it's not
03:54 < macen> for me^^^^
03:54 < macen> sorry to interrupt :)
03:54 < impl> heh
03:54 < macen> well yes it is for me because I don't want to rely on MySQL
03:54 < impl> I think people put way too much effort into writing database-agnostic applications than they should
03:54 < impl> then write it for pgsql
03:55 < macen> i'm one of those OCD types
03:55 < macen> yeah maybe it won't work out as i expect...
03:55 < impl> You're limited to a very poor subset of features if you attempt to be database-agnostic
03:55 < impl> for example, postgresql has datatypes for UUIDs and IP addresses
03:55 < Ox42> which makes no sense
03:56 < impl> (which are very cool)
03:56 < Ox42> its SQL for a reason... and database implementations shoudl follow it strictly
03:56 < impl> Ox42: Have you ever read the SQL standard?
03:56 < impl> It's in 11 parts. The main part is over 1000 pages long.
03:56 < Ox42> cool
03:56 < Ox42> perfect.
03:57 < impl> It's amazing that things follow the SQL standard as well as they do, honestly
03:57 < macen> too late for this
03:57 < macen> night :)
03:58 < macen> ...4am :/
03:58 < macen> bai
03:58 < impl> heh, night :<
03:58 < Ox42> Meh I need mountain dew
04:03 < Ox42> So, Getting Agavi Config data from databases.xml?
04:04 < impl> it's done /for you/
04:04 < impl> that's the point
04:04 < impl> there are adapters that run, then you just get an object via $context->getDatabaseConnection()
04:04 < impl> (see also AgaviDatabaseManager)
04:04 < Ox42> wait...
04:05 < Ox42> if I set it up, there is a DB implementation to use?
04:08 < impl> Ox42: why don't you spend a day browsing through the Agavi source tree and see if you can find something that would make you not sound like an idiot
04:08 < aka> hahaha
04:08 < Ox42> heh... because I was told Agavi didnt do any database stuff
04:09 < Ox42> or maybe I misunderstood
04:09 < aka> wtf I have told you that is does like 5 times
04:09 < Ox42> <_<
04:09 < impl> Ox42: then you tell me what is the fucking src/database directory for
04:09 < Ox42> impl: hmmmmmmmmm
05:42 -!- Rick [i=rick@unaffiliated/rick] has quit [Read error: 104 (Connection reset by peer)]
05:43 -!- Rick [n=rick@pool-71-189-11-199.lsanca.dsl-w.verizon.net] has joined #agavi
06:13 -!- SasanRose [n=SasanRos@91.184.77.231] has joined #agavi
06:59 < v-dogg> Ox42: no, you were told you can use whatever db solution you want and agavi provides many adapters out of the box
07:00 < v-dogg> Ox42: just follow my instructions from last night, set the correct propel config path to databases.xml and start using your propel classes
07:01 < v-dogg> $this->context->getDatabaseConnection gives you the PDO handle from propel
07:01 < v-dogg> huomenta
07:05 -!- everplayZzz is now known as everplayz
07:06 -!- everplayz is now known as everplays
07:06 < everplays> Strict Standards: Declaration of AgaviXmlConfigXsltProcessor::importStylesheet() should be compatible with that of XSLTProcessor::importStylesheet() in /usr/share/php/agavi/config/util/xsl/AgaviXmlConfigXsltProcessor.class.php on line 117
07:07 < everplays> working with sample application, agavi version: 1.0.0, php: 5.2.8
07:16 < impl> Have you guys ever had FPF add arbitrary text that contains tags to your textareas?
07:17 < v-dogg> impl: no
07:17 < v-dogg> everplays: are you sure you not running 5.3?
07:18 < v-dogg> because that sounds a lot like the API change they made to 5.3
07:19 < impl> I think that it's a problem in 5.2.8 too
07:19 < impl> The API was never supposed to be that
07:19 < v-dogg> yeah, I read the bug list
07:19 < impl> it was only that way for 5.2.6
07:19 < everplays> v-dogg: $ php -v
07:19 < everplays> PHP 5.2.8-0.dotdeb.2 with Suhosin-Patch 0.9.6.3 (cli) (built: Feb 26 2009 07:51:59)
07:19 < v-dogg> -list -report
07:19 < impl> yeah
07:20 < everplays> wow!
07:20 < impl> everplays: for now, you can either modify your Agavi to not contain the type hints
07:20 < impl> in that file
07:20 < impl> or you can just ignore it ;p
07:20 * impl tries to figure out why FPF is adding CDATA tags to his forms.
07:21 < impl> the fock.
07:22 < impl> If I have this in my : , I get inside