IRC logs of #tryton for Wednesday, 2011-05-11

chat.freenode.net #tryton log beginning Wed May 11 00:00:02 CEST 2011
2011-05-11 00:04 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-11 00:11 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-11 01:01 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-11 01:40 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2011-05-11 02:13 -!- alimon(~alimon@187.156.35.147) has joined #tryton
2011-05-11 02:25 -!- curlynostrill(~curlynost@96.57.28.108) has joined #tryton
2011-05-11 02:45 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-11 02:45 -!- FWiesing(~franz@mail.tryton.at) has left #tryton
2011-05-11 02:47 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-11 03:25 -!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-05-11 03:36 -!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-05-11 04:15 -!- effenber1(~chlu@pD9E9BD28.dip.t-dialin.net) has joined #tryton
2011-05-11 05:02 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-05-11 05:19 -!- yangoon(~mathiasb@p54B4E816.dip.t-dialin.net) has joined #tryton
2011-05-11 05:30 -!- trifon_(~trifon@79.100.218.193) has joined #tryton
2011-05-11 06:30 -!- trifon__(~trifon@95-42-32-225.btc-net.bg) has joined #tryton
2011-05-11 06:53 -!- alimon_(~alimon@187.156.92.183) has joined #tryton
2011-05-11 07:05 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-05-11 07:51 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-05-11 07:54 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-05-11 08:26 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-05-11 09:05 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2011-05-11 09:22 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-05-11 09:27 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-11 09:41 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-11 09:42 -!- nicoe(~nicoe@62.58.29.41) has joined #tryton
2011-05-11 09:46 -!- elbenfreund(~elbenfreu@f055253090.adsl.alicedsl.de) has joined #tryton
2011-05-11 10:01 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-05-11 10:36 -!- helmor(~helmor@92.116.251.139) has joined #tryton
2011-05-11 10:40 -!- elbenfreund(~elbenfreu@wlan0281.rz.uni-leipzig.de) has joined #tryton
2011-05-11 10:42 -!- tshepang(~wena@dsl-185-70-35.dynamic.wa.co.za) has joined #tryton
2011-05-11 10:59 -!- elbenfreund1(~elbenfreu@wlan0281.rz.uni-leipzig.de) has joined #tryton
2011-05-11 11:02 -!- elbenfreund(~elbenfreu@wlan0281.rz.uni-leipzig.de) has joined #tryton
2011-05-11 11:03 -!- vincentvdl(~Gebruiker@62.58.29.41) has joined #tryton
2011-05-11 11:03 -!- vincentvdl(~Gebruiker@62.58.29.41) has left #tryton
2011-05-11 11:17 -!- helmor(~helmor@92.116.251.139) has joined #tryton
2011-05-11 11:39 -!- helmor(~helmor@92.116.251.139) has joined #tryton
2011-05-11 11:58 -!- helmor(~helmor@92.116.251.139) has joined #tryton
2011-05-11 12:25 -!- helmor(~helmor@46.114.65.143) has joined #tryton
2011-05-11 13:02 -!- elbenfreund(~elbenfreu@p54B94E50.dip.t-dialin.net) has joined #tryton
2011-05-11 13:19 -!- helmor(~helmor@92.116.168.15) has joined #tryton
2011-05-11 14:18 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-05-11 14:27 -!- elbenfreund1(~elbenfreu@p54B94E50.dip.t-dialin.net) has joined #tryton
2011-05-11 15:15 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-05-11 15:34 -!- tshepang(~wena@dsl-185-70-35.dynamic.wa.co.za) has joined #tryton
2011-05-11 15:42 -!- helmor(~helmor@46.115.4.251) has joined #tryton
2011-05-11 15:52 -!- GasbaKid(~GasbaKid@41.96.5.250) has joined #tryton
2011-05-11 15:55 -!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-05-11 16:37 -!- woakas(~woakas@200.106.202.91) has joined #tryton
2011-05-11 16:41 -!- cheche(cheche@46.25.80.67) has joined #tryton
2011-05-11 16:57 -!- pepeu(~manuel@189.209.218.28) has joined #tryton
2011-05-11 16:59 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-05-11 17:44 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2011-05-11 18:07 -!- alimon(~alimon@187-177-187-129.dynamic.axtel.net) has joined #tryton
2011-05-11 18:13 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-11 18:20 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-11 18:33 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton
2011-05-11 19:02 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton
2011-05-11 19:19 -!- uranus(~uranus@96.57.28.108) has joined #tryton
2011-05-11 19:35 -!- elbenfreund(~elbenfreu@f055253090.adsl.alicedsl.de) has joined #tryton
2011-05-11 19:41 -!- uranus(~uranus@96.57.28.108) has joined #tryton
2011-05-11 20:03 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-11 20:07 <sharoon> cedk: ping
2011-05-11 20:08 <cedk> sharoon: pong
2011-05-11 20:09 <sharoon> cedk: http://hg2.tryton.org/trytond/file/1c4a5ecc6081/trytond/ir/rule.py#l113
2011-05-11 20:09 <sharoon> cedk: the call of fields_get seems to be very expensive (its natural) but its called for every single request the client side makes
2011-05-11 20:10 <cedk> sharoon: the ir.rule should be cached
2011-05-11 20:11 <sharoon> cedk: so after the rules are cached this will not be called ?
2011-05-11 20:11 <cedk> sharoon: normally not
2011-05-11 20:12 <sharoon> cedk: wont it be reconstructed everytime since its used by a selection field and it needs to get its available values ?
2011-05-11 20:12 <cedk> sharoon: normally you don't edit rules often
2011-05-11 20:14 <sharoon> cedk: you are right, it doesnt call hte method once its cached
2011-05-11 20:15 <sharoon> cedk: also if pyson could try to import simplejson (written in c) and then fallback to json standard module i think it will help perfrmance gains
2011-05-11 20:15 <sharoon> cedk: http://hg2.tryton.org/trytond/file/1c4a5ecc6081/trytond/pyson.py#l4
2011-05-11 20:15 <cedk> sharoon: but I think we could cache it and also call it with root user
2011-05-11 20:16 <sharoon> cedk: so the rules are precached ?
2011-05-11 20:16 -!- elbenfreund1(~elbenfreu@f055253090.adsl.alicedsl.de) has joined #tryton
2011-05-11 20:16 <cedk> sharoon: json is the same as simplejson
2011-05-11 20:17 <cedk> sharoon: not the rule the call to _operand_get
2011-05-11 20:17 <cedk> sharoon: _operand_get should return the same for everybody
2011-05-11 20:17 <sharoon> cedk: yes
2011-05-11 20:17 <cedk> sharoon: and as it is called always for res.user
2011-05-11 20:18 <cedk> sharoon: we could then call it only once
2011-05-11 20:19 <sharoon> cedk: got it
2011-05-11 20:19 <sharoon> cedk: simplejson != json
2011-05-11 20:19 <sharoon> cedk: simplejson has c speedups
2011-05-11 20:19 <cedk> sharoon: json also
2011-05-11 20:19 <cedk> sharoon: it is the same module
2011-05-11 20:20 <sharoon> cedk: do you know how to enable the c speedups for the std json module? thats probably what i am missing
2011-05-11 20:21 <cedk> sharoon: it is there by default
2011-05-11 20:22 <cedk> sharoon: it is in lib-dynload/_json.so
2011-05-11 20:23 <sharoon> cedk: somehow i find the performance of stdlib json too slow compared to simplejson
2011-05-11 20:23 <sharoon> cedk: i will do a benchmark with the pyson tests itself and send you
2011-05-11 21:10 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-11 21:26 -!- lem0na(~lem0na@95.87.233.210) has joined #tryton
2011-05-11 21:48 -!- elbenfreund(~elbenfreu@f055253090.adsl.alicedsl.de) has joined #tryton
2011-05-11 21:53 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-11 21:58 -!- lem0na(~lem0na@95.87.233.207) has joined #tryton
2011-05-11 22:06 -!- lemona(~lem0na@95.87.233.210) has joined #tryton
2011-05-11 22:12 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-11 22:19 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-11 22:30 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-11 22:40 -!- elbenfreund(~elbenfreu@f055253090.adsl.alicedsl.de) has joined #tryton
2011-05-11 23:03 -!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!