Re: [PATCH] Filter: picking community elements and finding min/max element

2021-12-27 Thread Ondrej Zajicek
On Tue, Dec 28, 2021 at 02:11:12AM +0100, Alexander Zubkov wrote: > And some docs for it. Thanks, merged. Also thanks for the docs! -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "

Re: [PATCH] Filter: picking community elements and finding min/max element

2021-12-27 Thread Alexander Zubkov
And some docs for it. On Tue, Dec 28, 2021 at 12:12 AM Alexander Zubkov wrote: > > Updated both patches. The first one now adds/modifies operators > .asn/.data/.data1/.data2 instead of '@'. And the second one is only > changed because of patch conflicts. > > On Fri, Dec 17, 2021 at 8:38 PM Alexan

Re: [PATCH] Filter: picking community elements and finding min/max element

2021-12-27 Thread Alexander Zubkov
Updated both patches. The first one now adds/modifies operators .asn/.data/.data1/.data2 instead of '@'. And the second one is only changed because of patch conflicts. On Fri, Dec 17, 2021 at 8:38 PM Alexander Zubkov wrote: > > I like the second variant a bit more. > > On Fri, Dec 17, 2021, 18:13

Re: [PATCH] Filter: picking community elements and finding min/max element

2021-12-17 Thread Alexander Zubkov
I like the second variant a bit more. On Fri, Dec 17, 2021, 18:13 Ondrej Zajicek wrote: > On Fri, Dec 17, 2021 at 04:38:11PM +0100, Alexander Zubkov wrote: > > I can adapt the patch if you wish, just write which variant you want to > use. > > I am thinking about two variants: > > global / loca

Re: [PATCH] Filter: picking community elements and finding min/max element

2021-12-17 Thread Ondrej Zajicek
On Fri, Dec 17, 2021 at 04:38:11PM +0100, Alexander Zubkov wrote: > I can adapt the patch if you wish, just write which variant you want to use. I am thinking about two variants: global / local (for standard community), global / local1 / local2 (for large one). asn / data (for standard comm

Re: [PATCH] Filter: picking community elements and finding min/max element

2021-12-17 Thread Alexander Zubkov
I can adapt the patch if you wish, just write which variant you want to use. On Thu, Dec 16, 2021 at 7:12 PM Alexander Zubkov wrote: > > I suspected, that the syntax may raise questions, but some syntax > should have been chosen to make a working patch. :) It does not matter > much to me, of cour

Re: [PATCH] Filter: picking community elements and finding min/max element

2021-12-16 Thread Alexander Zubkov
I suspected, that the syntax may raise questions, but some syntax should have been chosen to make a working patch. :) It does not matter much to me, of course it could be changed in the way you prefer to see it your product. Yes, communities are not arrays, but on the other hand positional addressi

Re: [PATCH] Filter: picking community elements and finding min/max element

2021-12-16 Thread Ondrej Zajicek
On Thu, Dec 16, 2021 at 02:41:28PM +0100, Alexander Zubkov wrote: > Hi everyone! > > I made a couple of patches to do some interesting stuff with communities. > The first patch allows to pick a component from a standard or a large > community: > > (10, 20, 30) @ 2 --> 20 > > And the second patc

Re: [PATCH] Filter: picking community elements and finding min/max element

2021-12-16 Thread Alexander Zubkov
Of course I forgot to attach the patches. :) On Thu, Dec 16, 2021 at 2:41 PM Alexander Zubkov wrote: > > Hi everyone! > > I made a couple of patches to do some interesting stuff with communities. > The first patch allows to pick a component from a standard or a large > community: > > (10, 20, 30

[PATCH] Filter: picking community elements and finding min/max element

2021-12-16 Thread Alexander Zubkov
Hi everyone! I made a couple of patches to do some interesting stuff with communities. The first patch allows to pick a component from a standard or a large community: (10, 20, 30) @ 2 --> 20 And the second patch allows to search for minimum or maximum element in a community list. This combined