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

chat.freenode.net #tryton log beginning Wed May 18 00:00:01 CEST 2011
2011-05-18 00:38 -!- trifon_(~trifon@p548C43D1.dip.t-dialin.net) has joined #tryton
2011-05-18 03:11 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-05-18 04:15 -!- effenber1(~chlu@pD9E9C34B.dip.t-dialin.net) has joined #tryton
2011-05-18 05:18 -!- yangoon(~mathiasb@p549F3A83.dip.t-dialin.net) has joined #tryton
2011-05-18 05:50 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-05-18 06:12 -!- haso(~haso@17.79-161-33.customer.lyse.net) has joined #tryton
2011-05-18 06:29 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-18 06:55 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-05-18 07:06 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-05-18 08:04 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-05-18 08:18 -!- mhi1(~mhi@pd95b104a.dip0.t-ipconnect.de) has joined #tryton
2011-05-18 08:35 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-05-18 08:57 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2011-05-18 09:33 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-05-18 09:41 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-18 09:49 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-05-18 10:06 -!- udono(~udono@ip-95-222-129-145.unitymediagroup.de) has joined #tryton
2011-05-18 10:33 -!- helmor(~helmor@46.115.4.226) has joined #tryton
2011-05-18 11:14 -!- paepke(~paepke@gate.paepke.net) has joined #tryton
2011-05-18 11:22 -!- nicoe(~nicoe@ced.homedns.org) has joined #tryton
2011-05-18 14:01 -!- trifon(~trifon@p548C3CF9.dip.t-dialin.net) has joined #tryton
2011-05-18 15:00 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-05-18 15:10 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-05-18 15:27 -!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-05-18 15:27 <sharoon> what is pound
2011-05-18 15:27 <sharoon> sorry wrong IRC
2011-05-18 15:31 -!- trifon_(~trifon@p548C7C99.dip.t-dialin.net) has joined #tryton
2011-05-18 15:53 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton
2011-05-18 16:11 -!- ecarreras(~under@81.184.3.75.static.user.ono.com) has joined #tryton
2011-05-18 16:11 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton
2011-05-18 16:16 -!- trifon__(~trifon@p548C5663.dip.t-dialin.net) has joined #tryton
2011-05-18 16:22 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-05-18 16:36 -!- cedk_(~ced@ced.homedns.org) has joined #tryton
2011-05-18 16:37 -!- cedk_(~ced@ced.homedns.org) has joined #tryton
2011-05-18 16:43 -!- zodman(~andres-va@foresight/developer/zodman) has joined #tryton
2011-05-18 16:53 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-05-18 16:56 -!- cedk_(~ced@ced.homedns.org) has joined #tryton
2011-05-18 17:06 -!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has left #tryton
2011-05-18 17:13 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-18 17:36 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2011-05-18 17:59 -!- trifon(~trifon@p548C5663.dip.t-dialin.net) has joined #tryton
2011-05-18 19:14 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton
2011-05-18 19:37 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-05-18 19:42 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton
2011-05-18 21:03 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-18 21:04 <dfamorato> cedk: ping
2011-05-18 21:05 <cedk> dfamorato: pong
2011-05-18 21:05 <dfamorato> cedk: Hey there. I have some questions about my GSOC project on full-text search
2011-05-18 21:06 <dfamorato> cedk: I've been doing some research on the sphinx search server
2011-05-18 21:06 <dfamorato> cedk: and we have mainly 2 ways to index data: Real-Time and Delta(batch) indexing at a constant time
2011-05-18 21:07 <dfamorato> cedk: So, since there are major differences on implementation details between these two
2011-05-18 21:08 <dfamorato> cedk: I would like your opinion on how the data should be index for tryton... Real-Time or Batch
2011-05-18 21:09 <cedk> dfamorato: of course Real-Time is better but what will be the overload of this?
2011-05-18 21:10 <dfamorato> cedk: regarding index database ... it says we should expect something from 40% to 70% of the size of the database being indexed
2011-05-18 21:11 <dfamorato> cedk; regaring memory, so far I haven't found much information expect the fact that we can declare how much memory can be used by the indexer and the indexer will consume UP TO that limit
2011-05-18 21:11 <dfamorato> cedk: then will start writing on the disk
2011-05-18 21:12 <dfamorato> cedk; It is also possible with Sphinx to have multiple indexes....
2011-05-18 21:12 <cedk> dfamorato: I think you need to have one index per language
2011-05-18 21:12 <dfamorato> cedk: example: one index for products.... 1 for invoices, 1 for party and so on
2011-05-18 21:13 <dfamorato> cedk: and when we want to query the index, they are queried in parallel
2011-05-18 21:13 <cedk> dfamorato: yes, but I think this should be configured
2011-05-18 21:13 <cedk> dfamorato: how do you see how the update of the index will be done in RT?
2011-05-18 21:14 <dfamorato> cedk: well... last time I spoke with bertrand... we discussed that ideally we would make a tryton "driver" to be used by sphinx indexer
2011-05-18 21:15 <dfamorato> that means, any changes it happens on tryton should be PUSHED to the indexer in order for it to be indexed
2011-05-18 21:15 <dfamorato> that's the main difference between the batch indexing and RT
2011-05-18 21:16 <dfamorato> cedk: batch processing = we can query for the data we want and then we index it
2011-05-18 21:16 <cedk> dfamorato: ok but what will be the cost of the push? Could it be done in separate thread?
2011-05-18 21:16 <dfamorato> cedk: RT = the tryton server pushes the data to us
2011-05-18 21:17 <dfamorato> cedk: yes, i believe we can do it asynchronously... that way the tryton server does not need to way for saving/pushing any info
2011-05-18 21:18 <cedk> dfamorato: so if async is possible, I will prefer the RT way
2011-05-18 21:18 -!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-05-18 21:19 <dfamorato> cedk: ok... so we use RT indexing the... point 1 decided..
2011-05-18 21:20 <dfamorato> cedk: now... in order to implement asynchronous, I think i should use queue ... what do you think
2011-05-18 21:21 <cedk> dfamorato: why not
2011-05-18 21:22 <cedk> dfamorato: but try to keep simple
2011-05-18 21:23 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-05-18 21:23 <dfamorato> ok... I will do some research for what we can use to glue tryton server messages and sphinx indexer....
2011-05-18 21:23 <dfamorato> cedk: now... regarding multiple languages.....
2011-05-18 21:24 <dfamorato> cedk: sphinx uses a process call stemming
2011-05-18 21:25 <dfamorato> cedk: which reduces the words to their "root" form
2011-05-18 21:25 <dfamorato> cedk: example: happinness = happy lawfull = law and so on
2011-05-18 21:26 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-05-18 21:27 <dfamorato> cedk: using the default sphinx installation packages... it only supports english, czech and russian by default
2011-05-18 21:27 <cedk> dfamorato: no other language?
2011-05-18 21:28 <dfamorato> cedk: if we need to support additional languages on the stemming process, we need to compile sphinx from source and use the snowball libstemmer library
2011-05-18 21:28 <dfamorato> cedk: which then adds support for 13 languages: Danish, Dutch, Finish, French, German, Hungarian, Italia, Norwegian, Portuguese, Romanina, Spanish, Swedish and Turkisg
2011-05-18 21:29 <dfamorato> cedk: so I guess i should base my development using the libstemmer then... so it supports the additional languages right ?
2011-05-18 21:29 <cedk> dfamorato: yes
2011-05-18 21:31 <dfamorato> cedk: ok, now regarding the "tryton-driver" for sphinx... which will "expose" the objects used by the tryton model to be indexed
2011-05-18 21:33 <dfamorato> cedk: As it was suggested to me, I was think about using the same concept that the current modules use.. searchable = 1 or 2, so we make the searchable = 1 to be full-text indexes and searchable =2 to be attributes. Attributes can be used for sorting
2011-05-18 21:33 <dfamorato> cedk: Attributes are not used as full-text index.
2011-05-18 21:34 <dfamorato> cedk: example: let's say we sell books..... author name and book title should be full text... as well as the id/code ... all other data is attribute...
2011-05-18 21:35 <cedk> dfamorato: I don't understand the searchable stuff?
2011-05-18 21:35 <dfamorato> cedk: so, we can group and sort based on the publication date, cost, and so on
2011-05-18 21:36 <cedk> dfamorato: what do you mean by grouping/sorting ?
2011-05-18 21:36 <dfamorato> cedk: sorry.. i meant select.... select = 1 creates an index on the current backend.....
2011-05-18 21:37 <dfamorato> cedk: i believe we can extend the view of the search fields in order to query only a specific range of dates for example
2011-05-18 21:39 <cedk> dfamorato: there is a new GUI interface by bechamel to get just a textbox
2011-05-18 21:40 <dfamorato> cedk: on 2.0 ?
2011-05-18 21:40 <dfamorato> cedk: speaking about bechamel, when he will be back ?
2011-05-18 21:41 <cedk> dfamorato: don't know, he is there most of the time during office time in Europe
2011-05-18 21:43 <dfamorato> cedk: must be the timezon difference that i haven't seen him
2011-05-18 21:44 <dfamorato> cedk: so I will do more research then about my idea of the tryton-driver for sphix and then I get back to you guys again
2011-05-18 21:44 <cedk> dfamorato: yes, you can also send emails
2011-05-18 21:44 <cedk> dfamorato: ask bechamel about the new search view in progress
2011-05-18 21:44 <dfamorato> cedk: I will
2011-05-18 21:45 <dfamorato> cedk: Also... I shoudl focus this development on version 2.0 right
2011-05-18 21:53 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-05-18 22:16 -!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has left #tryton
2011-05-18 22:16 -!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-05-18 22:16 -!- vladimirek(~vladimire@bband-dyn166.178-41-220.t-com.sk) has joined #tryton
2011-05-18 22:30 -!- hoRn(~jan@dslb-188-106-171-149.pools.arcor-ip.net) has joined #tryton
2011-05-18 22:30 <hoRn> hi
2011-05-18 22:33 <hoRn> I'm searching for an example to define a tree of a One2Many in the form - i don't need all the fields and i have seen such a example in an other model. Anybody has a hint?
2011-05-18 22:41 <udono> hoRn: hi, take a look at party/party.xml. There is the included address tree defined.
2011-05-18 22:41 <udono> hoRn: <tree string="Addresses" sequence="sequence" ...
2011-05-18 22:53 <hoRn> thank you
2011-05-18 22:54 <hoRn> ok - nice
2011-05-18 22:59 <udono> hoRn: welcome
2011-05-18 23:00 <hoRn> udono: and nice to have you in my contacts at xing ;)
2011-05-18 23:07 <udono> hoRn: yes
2011-05-18 23:13 <hoRn> Yesterday a client asked me, if it is possible to cut the seconds of datetime fields. So I was looking arround and find the code where it is defined in the code of the client. changing this ends in errors, because there are other places where the datetimefields are accesed in tuples with the length of the field with seconds. now I think about a solution for this ....
2011-05-18 23:44 -!- trifon_(~trifon@p548C6E73.dip.t-dialin.net) has joined #tryton

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