IRC logs of #tryton for Saturday, 2015-03-07

chat.freenode.net #tryton log beginning Sat Mar 7 00:00:01 CET 2015
-!- alimon(alimon@nat/intel/x-idpshjsrkioidbez) has joined #tryton00:26
-!- gremly(~gremly@190.85.36.58) has joined #tryton01:21
-!- smarro(~sebastian@190.105.93.196) has joined #tryton01:30
-!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton02:00
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton02:07
-!- TheCowboy(~TheCowboy@ip68-98-183-236.dc.dc.cox.net) has joined #tryton03:00
-!- alimon1(~alimon@187-176-43-14.dynamic.axtel.net) has joined #tryton03:06
-!- gremly(~gremly@190.85.36.58) has joined #tryton04:14
-!- smarro(~sebastian@190.105.93.196) has joined #tryton05:30
-!- yangoon(~mathiasb@p549F0840.dip0.t-ipconnect.de) has joined #tryton06:02
-!- VaticanCameos(~pritishc@182.68.132.77) has joined #tryton06:35
-!- frispete_(~frispete@p54A90EFB.dip0.t-ipconnect.de) has joined #tryton06:40
-!- VaticanCameos(~pritishc@182.68.111.167) has joined #tryton07:56
-!- jitesh(~jitesh@116.68.98.20) has joined #tryton07:59
-!- cedk_(~ced@82-212-130-50.teledisnet.be) has joined #tryton09:22
-!- cedk_(~ced@82-212-130-50.teledisnet.be) has joined #tryton09:34
-!- cedk_(~ced@gentoo/developer/cedk) has joined #tryton09:35
-!- VaticanCameos(~pritishc@182.68.111.167) has joined #tryton10:09
-!- marc0s(~marcos@unaffiliated/marc0s) has joined #tryton10:46
-!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton11:02
-!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton11:20
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton11:27
-!- kstenger(~karla@200.124.209.158) has joined #tryton11:44
-!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton12:15
meanmicioGood saturday everyone.12:37
meanmicioI'm starting to work on a general canvas for GNU Health on the Tryton client, that I think the Tryton community could find it useful too12:38
meanmicioThe idea is to be able to annotate on graphical models from the Tryton client itself12:38
meanmicioSo, models such as odontograms, surgery, forensics can be annotated directly, without the need of a third party application.12:40
meanmicioI see this functionality embedded on the GTK client12:40
meanmicioIf anyone is interested in collaborating on this, please let me know. As I said, I believe there will be other scenarios aside the medical field that will find it useful12:42
cedkmeanmicio: I think it could be implemented as a plugin for the client12:45
cedkmeanmicio: what tools do you plan to use?12:45
cedkmeanmicio: and what will you store, a bitmap?12:46
meanmiciocedk : It would be great if we can work on it as a plugin.12:48
meanmiciocedk: I started to look at pygoocanvas, but I'm sure there are other options too12:49
cedkmeanmicio: when I saw your bug report, I discussed briefly with nicoe and I get (maybe crazy) idea to use gis fields12:50
meanmiciocedk: The idea is to have pre-defined "background models" (eg, odontogram) stored at server level, and then we can have them displayed on different scenarios for different tasks12:51
cedkmeanmicio: in some way, it is still geographical information with referencial being the body12:51
meanmiciocedk: I think we need two type of  tasks. One is to map a specific region of the bitmap into a meaningful value related to that position (eg odontogram, on a specific tooth). The other is being able to stketch in a more free way on a diagram (eg, forensic diagrams)12:55
meanmiciocedk: The first one can use the concept of "gis" or something to referenciate. The second scenario won't need it.12:55
cedkmeanmicio: is it something link "Paint" https://en.wikipedia.org/wiki/GNU_Paint12:56
cedkmeanmicio: http://www.pygtk.org/pygtk2tutorial/sec-DrawingMethods.html#drawingareafig12:58
meanmiciocedk: For the sketch part, yes. Even simpler. We would have a pre-defined background image in most cases.12:59
cedkmeanmicio: I don't think goocanvas is the right tool because it is embed into canvas "objects"13:02
meanmiciocedk : What do you think about the https://people.gnome.org/~gianmt/pygoocanvas/ ?13:02
cedkmeanmicio: for free drawing, I think you should use a GTK DrawingArea13:02
meanmiciocedk : Ah, ok You just answered :)13:02
meanmiciocedk: I guess we can start with a PoC with the idea of plugin .13:04
meanmiciocedk: I am looking now at http://www.pygtk.org/pygtk2tutorial/sec-DrawingMethods.html#drawingareafig13:05
meanmiciocedk: It seems like it has what we need, at least for the sketch :)13:05
cedkmeanmicio: here is a tutorial: http://www.pygtk.org/pygtk2tutorial/ch-Scribble.html#sec-ScribbleOverview13:06
cedkmeanmicio: the ending example seems a good starting point13:06
cedkso it means it will be a widget to edit binary field which will contain a bitmap (or png) of drawing + a ref to a background image13:07
cedkit will also requires a size in pixel13:08
cedkmeanmicio: normally, current version of Tryton has all the tools to allow the definition of such plugin: client and server side13:09
-!- alimon(alimon@nat/intel/x-imvqwkmatqvbtvdw) has joined #tryton13:53
meanmiciocedk: That's great. I guess we can have different models with the pre-defined background image, that we can reference and do the annotations . That by itself will be a great start !13:54
-!- smarro(~sebastian@190.105.93.196) has joined #tryton13:59
-!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton14:28
-!- udono(~udono@ip-37-201-196-116.hsi13.unitymediagroup.de) has joined #tryton14:34
-!- munron(~AndChat68@197.211.216.214) has joined #tryton15:08
-!- smarro(~sebastian@190.105.93.196) has joined #tryton15:31
-!- alimon(~alimon@192.55.55.37) has joined #tryton16:28
-!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton16:53
-!- smarro(~sebastian@190.105.93.196) has joined #tryton16:58
-!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton17:05
-!- jcros1(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton17:36
-!- duesenfranz(~jona@chello213047255061.tirol.surfer.at) has joined #tryton18:00
-!- mathsniper(1b6d80cd@gateway/web/freenode/ip.27.109.128.205) has joined #tryton18:11
mathsniperHi, everyone18:11
mathsniperIs there any tutorial about developing tryton webapp?18:11
mathsniperI found that "Nereid" project is the only one web framework of tryton, and it is open source.18:12
cedkmathsniper: there is also flask-tryton18:24
cedkhttps://code.google.com/p/flask-tryton/18:24
mathsniperIs it up to date?18:26
cedkmathsniper: don't understand18:28
mathsniperIs it still maintained by the author?18:29
cedkmathsniper: I'm the author18:31
mathsniperThanks! I will take a look at it18:34
mathsniperStill playing around it. Just bootstrap the db only18:34
mathsniperIs there any example about building webapp with flask-tryton?18:57
cedkmathsniper: there is an example on the website18:59
mathsniperlike building model, passing logic to controller and then render it18:59
cedkmathsniper: read the Flask tutorial19:00
mathsniperThanks19:00
-!- sunny_dealmeida(~quassel@210.89.32.125) has joined #tryton19:15
-!- munron(~AndChat68@197.211.216.214) has joined #tryton20:27
-!- smarro(~sebastian@190.105.93.196) has joined #tryton20:38
-!- jcros(~Thunderbi@187.176.125.78.rev.sfr.net) has joined #tryton21:08

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!