basic list operation longest lace
hi, i am a gh user, now i am a new player of dynamo :),

my problem is that how i can add two groups of list by longest rule in dynamo getting the result as it in gh i showed in the left picture. [[微信截图\_20210830142511]](https://aws1.discourse-cdn.com/business6/uploads/dynamobim/original/3x/6/b/6ba0953cc4a8480c67ac01132d6e77c673274646.png "微信截图_20210830142511")
:roll\_eyes:

[[image]](https://aws1.discourse-cdn.com/business6/uploads/dynamobim/original/3x/6/3/6393f7d9277c8a0ff2b48f07b1e2352f69f463b0.png "image")

t1 = [9, 9, 99, 9, 6, 7, 8];

t9 = dscore.list.chop(t1, 3);

a = t9;

t2 = get.valueatindex(a, 0);

t4 = [3, 2];

t10 = dscore.list.ofrepeateditem(t4, 3);

a1 = t10;

t3 = get.valueatindex(a1, 0);

t11 = t2<1l> + t3<1l>;

a2 = t9;

t5 = get.valueatindex(a2, 1);

a3 = t10;

t6 = get.valuea…
In the end, I found this query, which groups the way it should:  
  

```
SELECT 
 FROM_UNIXTIME( TRUNCATE( UNIX_TIMESTAMP( tstamp )/900, 0 ) * 900 ) as h,
 AVG( amount ) as v
FROM 
transactions
GROUP BY 
h
ORDER BY 
 h desc
LIMIT
 24
``` <https://docs.glideapps.com/all/reference/components/lists/inline-list#only-show-a-few-items> ok, in that case replace these two lines
 last = lastrow(destsh)
 shlast = lastrow(sh)

with
 last = destsh.range("a" & rows.count).end(xlup).row
 shlast = sh.range("a" & rows.count).end(xlup).row If your loading the items into array list then sort the array to group the items. Thank you for your long list. It is really helpful. your link leads to an inactive developer message btw.

rest does not yet provide a way to list tags except by id. you can use the standard api with the same oauth2 access key that you would use for rest… using the data object you would want to query on the group table using the groupname field. Add friends using the long division method: maybe by using the [token length filter](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-length-tokenfilter.html) in an analyzer config? loopback basically applies user policy as a computer policy.
merge vs replace is how the policy gets applied.
merge mode
in this mode, when the user logs on, the user's list of gpos is typically gathered by using the getgpolist function. the getgpolist function is then called again by using the computer's location in active directory. the list of gpos for the computer is then added to the end of the gpos for the user. this causes the computer's gpos to have higher precedence than the user's gpos. in this example, the list of gpos for the computer is added to the user's list.
replace mode
in this mode, the user's list of gpos is not gathered. only the list of gpos based on the computer object is used.