Log message #1034012

# At Username Text
# Sep 13th 2009, 13:53 cewi thats true thx
# Sep 13th 2009, 13:53 burzum depending on your needs i would benchmark each way and choose the fastest, if time and processing power doesnt matter just make it work :)
# Sep 13th 2009, 13:52 cewi yeah i thought to do it in "steps" and them merge the parts. an other idea i had was to make a txt of the big pdf anlyze that page by page and then with fpdi extract singel pages in the order i need
# Sep 13th 2009, 13:49 burzum to reduce the amount of pages, can you just pick the pages needed for each search term? This might reduce it, 2000 is a lot
# Sep 13th 2009, 13:49 cewi burzum: with pdttotext i make txt-files, anlayze the content, build an array with inexes of the pages an then use tcpdf to merge them
# Sep 13th 2009, 13:47 Phally NoReGreT: it is
# Sep 13th 2009, 13:47 burzum sorting them by content: how? depending on this i would just extract the needed pages and process them for each content step
# Sep 13th 2009, 13:47 NoReGreT isn't bake with the cakephp package?
# Sep 13th 2009, 13:47 GustavoRamos usually the amount of opened files in x86 systems is 1024
# Sep 13th 2009, 13:46 GustavoRamos mmm
# Sep 13th 2009, 13:46 cewi oh waht i'm doing is splitting a very large pdf in single pages, sorting them by content and then rebuilding one single file.
# Sep 13th 2009, 13:45 GustavoRamos what is it about ?
# Sep 13th 2009, 13:45 GustavoRamos but a system that opens >2000 files is not so good
# Sep 13th 2009, 13:44 GreaterCoreQuad how do i use generatetreelist from TreeBehavior? i would like to find all the descendants of a particular node
# Sep 13th 2009, 13:44 GustavoRamos mm,
# Sep 13th 2009, 13:44 cewi i agree, but unfortunately it's not my decision...
# Sep 13th 2009, 13:43 GustavoRamos think it is better to switch OS, nah? lol
# Sep 13th 2009, 13:43 cewi thank you, so i'll have to rewrite my code ;-(
# Sep 13th 2009, 13:41 GustavoRamos but at windows dunno how
# Sep 13th 2009, 13:41 GustavoRamos on linux you can specify how many files to open
# Sep 13th 2009, 13:41 GustavoRamos •cewi• that is OS fault
# Sep 13th 2009, 13:39 cewi hi everybody. don't know if it is a problem of cake(1.2.5), php, apache or the underlying OS (XP). I got he following error: "Warning: fopen(C:\xampp\htdocs\vpa4\app\tmp\cache\persistent\cake_core_core_paths) [function.fopen]: failed to open stream: Too many open files in C:\xampp\htdocs\vpa4\cake\libs\file.php on line 156". My application opens really al lot of files (>2000). Any Ideas?
# Sep 13th 2009, 13:19 Laureano Is this the right way to reconnect to the database from a child process? http://bin.cakephp.org/view/100472415
# Sep 13th 2009, 13:18 abdelm some milk with that?
# Sep 13th 2009, 13:08 abdelm Thank you ;p
# Sep 13th 2009, 13:08 ionas ACTION hands some cookies.
# Sep 13th 2009, 13:08 abdelm I'd like to have some cake, please
# Sep 13th 2009, 12:41 ionas I think its a controller job in your case
# Sep 13th 2009, 12:40 ionas though I think its a bad idea because it will allow empty passwords on user creation
# Sep 13th 2009, 12:40 ionas NoReGreT, http://bin.cakephp.org/view/1548628194
# Sep 13th 2009, 12:39 TehTreag NoReGreT: Or in the manual - http://book.cakephp.org/view/73/Retrieving-Your-Data
# Sep 13th 2009, 12:38 TehTreag NoReGreT: http://api.cakephp.org/class/model#method-Modelfind
# Sep 13th 2009, 12:38 TehTreag NoReGreT: You can get the details in the api or cookbook - find($conditions,$fields)
# Sep 13th 2009, 12:38 ionas ~bin
# Sep 13th 2009, 12:37 NoReGreT TehTreag: so find(x, y) finds x in y ?
# Sep 13th 2009, 12:37 ionas but you can do it in model space/domain too
# Sep 13th 2009, 12:37 ionas justskills, that code above was in controller space
# Sep 13th 2009, 12:37 kahwee thanks guys, i reported it here: http://code.cakephp.org/tickets/view/85
# Sep 13th 2009, 12:37 ionas i'd rather put it in beforeValidate
# Sep 13th 2009, 12:36 TehTreag justskills: See the beforeSave() here in his user model. http://tr.im/yACt
# Sep 13th 2009, 12:35 justskills ionas: in the beforeFilter of the controller?