IRC logs of #tryton for Friday, 2021-02-19

chat.freenode.net #tryton log beginning Fri Feb 19 12:00:01 AM CET 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:02
-!- thaneor(~ldlc6@r167-61-103-70.dialup.adsl.anteldata.net.uy) has joined #tryton01:02
-!- thaneor1(~acer8@r167-61-103-70.dialup.adsl.anteldata.net.uy) has joined #tryton01:02
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton07:02
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton07:02
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:02
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton09:02
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton09:02
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton10:02
-!- Hirschbeutel(janmittelw@gateway/shell/matrix.org/x-jgrqcridqunwrgwt) has joined #tryton10:02
cedkACTION wish that complaining takers, just leave us10:02
-!- thaneor1(~acer8@r167-61-103-70.dialup.adsl.anteldata.net.uy) has joined #tryton11:02
-!- mariomop(~quassel@181.29.189.235) has joined #tryton12:02
Hirschbeutelcedk: we should do a virtual unconference by videochat - not talking, only drink some beers and eating good food watching each other :)12:02
pokoliHirschbeutel: I completly agree12:02
pokoliHirschbeutel: I was thinking in organizing some virtual unconference on a single day12:02
pokoliSo community can share their toughts and progresses.12:02
Hirschbeutelinteresting that at fosdem there where a couple of talks how to handle annoyance while building communities and how to handle when you you are tired :)12:02
pokoliHirschbeutel: wow, are the recorded?12:02
HirschbeutelI think so12:02
HirschbeutelAnd I chatted with a guy from postgres - he had a talk about democracy in postgres and it was very interesting12:02
Hirschbeutelimpressive how they are handling this stuff ...12:02
Hirschbeutelhere is the talk: https://fosdem.org/2021/schedule/event/database_democratization/ - but he starts with a general view12:02
cedkHirschbeutel: will look at it but I doubt that democracy is the way to go12:02
HirschbeutelI prefer dictatorship if I'm the leader :)12:02
cedkwe always targeted meritocracy but some think they do not need to merit12:02
Hirschbeutelcedk: I don't know - but the interesting is, that this topics are discussed more often on open source conferences12:02
pokoliIndeed we all asumed that we are under Benevolent Dicattator for life12:02
pokoliMaybe we should add ours into the wikipedia page: https://en.wikipedia.org/wiki/Benevolent_dictator_for_life12:02
Hirschbeutel:)12:02
HirschbeutelJa!12:02
pokoliOr at least document our structure somewhere like done on dolibar12:02
pokoliI guess we will need such reference to be included in wikipedia12:02
HirschbeutelIs there something like a court fool in our community?12:02
HirschbeutelI would candidate ..12:02
pokoliHirschbeutel: and which will be the task of the court fool?12:02
HirschbeutelKeep fun in everything and don't take it too hard12:02
cedkHirschbeutel: hard to keep it fun when you have annoying takers complaining always12:02
HirschbeutelLife time is too valuable to spend it sourly - so see it as a other view on the same thing. and I think there is always a reason in a complaint - sometimes it is not visible at first view12:02
pokoliHirschbeutel: it will be great if you can manage to convert complaints into funny facts12:02
Hirschbeuteland even it is wrong it shows a way to have a view from an other point12:02
cedkHirschbeutel: yes it is another view but most of the time just selfish12:02
cedkthe problem is not really having different views, it is good and enriching (most of improvements come from there)12:02
cedkthe problem is that some are always fighting for the same thing and without any compromising12:02
cedkand on top of that they do not contribute12:02
Hirschbeutelif you are convinced, you should also fight without attacking12:02
Hirschbeutelnot you - each12:02
cedkalways finding fake pretext to not contribute12:02
HirschbeutelI can say from my own: if I start an idea it will be in the core when I'm finsihed :)12:02
cedkHirschbeutel: at some point if you do not agree with the way the project is going, you just have to start your own not being a minority complaining12:02
HirschbeutelI dont think so - it's like a family - you will hate them from time to time, but you cant leave without a broken heart12:02
udono:-)12:02
udonoHirschbeutel: prrrr, so sweet.12:02
cedkwell some are not part of my family since a long time12:02
Hirschbeutelfamily is a bit over the top :)12:02
Hirschbeutelcedk: they are - wicked mother in law12:02
Hirschbeutelcedk: and this for years without leaving - so this a bit like a unbalanced love affair12:02
cedkHirschbeutel: well at least on discourse you can mute them :-)12:02
Hirschbeutelbut on christmas you must give them a present as well12:02
HirschbeutelI want a dop widget for binaries12:02
Hirschbeutel:)12:02
cedkHirschbeutel: ?12:02
HirschbeutelI was talking with pokoli how they are handling shop images13:02
Hirschbeutelhe uses the ir.attachment - i use a binary with setter and getter in a own model13:02
Hirschbeutelthe good in attachment is the possibility to drop more than one13:02
cedkHirschbeutel: Binary and Image widgets are DnD aware13:02
Hirschbeutelsince which version?13:02
cedkbut I guess you would like to have it on One2Many to create a new record with the binary filled13:02
HirschbeutelI was asked - did'nt know13:02
cedkHirschbeutel: a long time ago13:02
Hirschbeutelcedk: yes - I think its not in teh scope of tryton - I think about a webview for this usecase13:02
Hirschbeutelcedk: its very particular - but when starting a new season in our case its first only pushing data - after that you refine them step by step13:02
cedkI think we could manage like the avatar but using a One2Many with some meta data like format/ratio, usage etc.13:02
cedkso having DnD on such One2Many will be nice13:02
Hirschbeutelyes13:02
Hirschbeuteli have sequence and caption - ratio I will add :)13:02
Hirschbeutelonly for google and core vitals, the new pain13:02
HirschbeutelDND on one2many would be realy nice - but so we are on the start of this: contribution :)13:02
Hirschbeutelstill migrating and separate to  smaller modules13:02
-!- kwmiebach(sid16855@gateway/web/irccloud.com/x-ioeyprfvzcozhtxf) has joined #tryton13:02
Hirschbeutelmy shop  is a monolithic monster13:02
-!- kwmiebach(sid16855@gateway/web/irccloud.com/x-hxinomjerftobber) has joined #tryton13:02
-!- thaneor2(~ldlc6@r167-61-35-121.dialup.adsl.anteldata.net.uy) has joined #tryton13:02
-!- thaneor3(~acer8@r167-61-35-121.dialup.adsl.anteldata.net.uy) has joined #tryton13:02
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton14:02
-!- ludo3(~Thunderbi@236-17-127-151.dsl.ovh.fr) has joined #tryton14:02
pokoliHirschbeutel: I agree that the avatar desing can be used for webshop images15:02
pokoliIt's on my list of work to be done on the future15:02
pokolibut I find myself moderating the forum more than often and which removes my time to work on interesting features15:02
cedkpokoli: indeed a small portion of the community is draining down a lot of enthusiasm15:02
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton15:02
pokolicedk: I had same feeling some days ago but know I see there is much people joining efforts to keep improving Tryton15:02
pokoliso we just need to forget about draning people and focus on the ones that are putting efforts in the right way15:02
cedkpokoli: of course thanks to "silent" feature15:02
cedkbut it is not always enough and also we need sometimes to fix their bad behavior to not affect the others15:02
cedkand that is time consuming15:02
-!- rpit1(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton16:02
Hirschbeutelpokoli: gimme link to the avatar stuff - I missed it somehow? What, where, can I help? 🙂 I just migrating my image module - possibly I should base it on something new17:02
-!- lucascastro(~lucascast@45-167-143-6.netfacil.inf.br) has joined #tryton17:02
pokoliHirschbeutel: search is your friend: https://bugs.tryton.org/issue?%40columns=id%2Cactivity%2Ctitle%2Cnosy%2Cstatus&%40sort=-activity&%40group=priority&%40filter=status&%40search_text=avatar&submit=Search&status=-1%2C1%2C2%2C3%2C4%2C5%2C6%2C717:02
Hirschbeutelpokoli: I always fail searching on bugs :)17:02
Hirschbeutelmuchas gracias - if you need a link I will search it or you next time17:02
HirschbeutelI saw this as headline - but I thought its only using gravatar - ok17:02
pokoliHirschbeutel: there was a future work on the blueprint to allow to manage image18:02
Hirschbeutelcedk: I see - a bit smilar to my implemenation - ist has also parameters for size18:02
Hirschbeutel * cedk: I see - a bit smilar to my implemenation - it has also parameters for size18:02
Hirschbeuteloh sorry pokoli18:02
Hirschbeutelok - will follow18:02
cedkHirschbeutel: for me with such cache, same design is usable for webshop as long as it is coupled with a CDN or a reverse-proxy doing cache18:02
cedkbut the hard part is to get good flexible metadata schema that is easy to use on webshop (or other)18:02
Hirschbeutelminimal set  - extensible as custom module like always. I have caption (talking name for SEO) and a sequence to sort them18:02
Hirschbeutelyou mentioned dimensions - this is good for weboptimzing, but a ratio should be enough18:02
HirschbeutelI have a setting in shop where you can define imagesizes18:02
Hirschbeutelthey are generated on upload and accessible with a marker18:02
cedkHirschbeutel: I do not think caption is needed or usefull because we will serve only the binary image18:02
Hirschbeutelcedk: yes - but I need this for SEO reasons18:02
cedkHirschbeutel: indeed the idea is to resize on request (and store in cache) but we should be able to request for example the first square image of a product or the second 16x9 etc.18:02
cedkHirschbeutel: the caption is the job of the website framework (usually it should be the product name)18:02
Hirschbeutelcedk: you are right - I would not expect it in core18:02
Hirschbeutelcedk: but real SEO-Freaks are working a lot with captions to rank in image searches18:02
-!- pokoli_(~pokoli@mail.koolpi.com) has joined #tryton18:02
cedkHirschbeutel: OK maybe we could have a description field and provide a API to get the description using the same parameter as the URL18:02
Hirschbeutelcedk: resizing on upload I choosed because I save a big (mostly original) one - than i generate the sizes, converting them to webp and other imageoptimizations - its nice to have them in one function an I can rerun them on all images18:02
HirschbeutelI return [(name, caption)] - in future [(name, caption, ratio]18:02
-!- pokoli_(~pokoli@mail.koolpi.com) has left #tryton18:02
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton18:02
pokoliACTION had connection issues and lost the conversation :(18:02
Hirschbeutelonly the name - the frontend than can decide which size by asking the settings loaded on startup18:02
-!- thaneor2(~ldlc6@r167-61-35-121.dialup.adsl.anteldata.net.uy) has joined #tryton18:02
-!- yangoon(~mathiasb@p5dd08abd.dip0.t-ipconnect.de) has joined #tryton18:02
cedkHirschbeutel: for me the same image could be used in different cases with different sizes18:02
Hirschbeutellike url/++name18:02
cedkfor example you will use the <picture/> with different <source/> depending on the screen size18:02
cedkand as trytond will be agnostic about the website, it can not do the sizing in advance18:02
Hirschbeutelyes - I do the same - on upload a folder is created and all the sizes are placed in it - eg: ++name.jpg, name.jpg, +name.jpg18:02
HirschbeutelI pass only the name in the product dictionary and the frontend decides which to use18:02
Hirschbeutelwhich size18:02
cedkHirschbeutel: look how I did for avatar, I really think it can be done the same but adding the format18:02
Hirschbeutelyes - the format could be a additional - but I think as ratio18:02
Hirschbeutel(16:9)18:02
Hirschbeutelno - the image size setting knows it already18:02
Hirschbeutelwhy I dont use it by my own :D18:02
Hirschbeuteli'm so stupid - hihi18:02
Hirschbeutelso the name is enough and a possible caption18:02
Hirschbeutelwhat do you mean as format? content-type?18:02
cedkHirschbeutel: There is a solution to find to manage ratio. For example you want a square image in thumbnails so it should returns you the best option18:02
Hirschbeutelyes - this all is defined in my settings18:02
Hirschbeutellike "scale to width", scale to height, scale both18:02
Hirschbeutelscale to square than is a setting in one of the general imagesettings18:02
HirschbeutelI generate them all on upload and do not care if they are needed in a special case - and if the image is deleted, I delete the folder18:02
Hirschbeutelfor example webp is generated for all sizes automaticly, but there is also a jpeg/png for older browsers/other devices18:02
Hirschbeutelthe good in this design is simply to have one entry in tryton - user don't know what happens in the setter function18:02
cedkHirschbeutel: indeed we could also resize/crop for the requested size18:02
cedkso I guess what will be needed is tags to define in which case the image can be used18:02
cedkand a sequence for the order18:02
Hirschbeutelyes - you can do everything you want if you have a setter funktion18:02
Hirschbeutelwatermarks, color manipulation or what strange idea we can have - and this is handled by the setter of one binary18:02
-!- ludo2(~Thunderbi@221.114.141.88.rev.sfr.net) has joined #tryton18:02
Hirschbeutelnow I need to think what to extract first - my image handling or the attributes by category :)18:02
Hirschbeutelmy image has caption/sequence/reference18:02
Hirschbeutelreference is mostly a template and banners for category18:02
Hirschbeutelsometimes my users are uploading an image without a reference to use it somewhere at the page  - because is more easy than uploading them in the frontend :)18:02
Hirschbeutelmisused as imageserver :)18:02
Hirschbeuteland next question is enabling tryton as a headless cms18:02
Hirschbeutel🙂 so tryton will become mediaserver, contentprovider and erp finally - a moloch like zope was on its end :)18:02
HirschbeutelMissing question: can I use tryton as an email client :D18:02
Hirschbeutelcedk: ok - the avatar review is more or less the one for images :)19:02
-!- lucascastro(~lucascast@45-167-143-6.netfacil.inf.br) has joined #tryton19:02
Hirschbeutelcedk: I checked today the sale_point - if you find the time, can you explain what you are missing? I would add a webfrontend to add some ux - but I do not missing function on first test19:02
cedkHirschbeutel: check the TODO comments19:02
Hirschbeutelcedk: ok19:02
Hirschbeutelcedk: checked19:02
-!- jani-matti(~quassel@93-90-53-6.welcomnet.fi) has joined #tryton20:02
-!- plaes(~plaes@unaffiliated/amd) has joined #tryton20:02
-!- lucascastro(~lucascast@45-167-143-6.netfacil.inf.br) has joined #tryton21:02

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