Showing multi list and drop down hierachy on page

We are dealing with Roles and assigning users to the Roles. Some of Roles which are Admin are not dependant on Context ( Environment – Production, Demo, Developement ), and some ( portal roles) are dependant on Context. So in the flow, we chose a Role and assign Users as below :

Flow : 1. User selects a role from left 2. Then selects a context 3. Select Users from Available users list and assign to Role

enter image description here

Portal Role having single context

enter image description here

Portal Role having multiple Contexts ,you can select from dropdown and then assign Users

enter image description here

So any advice or suggestions to make it more understandable the flow to users? This was created by other designer and I have to modify it to make it better.

Heap down – What is math logic and intuition behind $\sum_{i=1}^{log(n)}(logn – i).2^i $

In heap (bubble down) we have the formula : $ \sum_{i=1}^{log(n)}(logn – i).2^i = logn\sum_{i=1}^{log(n)}2^i -logn\sum_{i=1}^{log(n)}i.2^i = log𝑛.2^{log𝑛+1}-(log𝑛.2^{log𝑛+1}-(2^{log𝑛+1}−2))=2𝑛−2∈Θ(𝑛) $

  1. Why we have $ \sum_{i=1}^{log(n)}(logn – i).2^i$ ?
  2. How we get to $ 2𝑛−2∈Θ(𝑛)$ ?

Please explain details!

When and how to generate parse tree while top down parsing

I am trying to build a parser that will eventually output a 3 address code.

My question is, how do I build the parser to go from parsing in a table driven top down parsing to then give me a parse tree?

I am looking for more psudo code than anything. Not anything concrete. For example, I have a table with the first and follow sets of all non-terminal. I take this non terminal and do the standard parsing technique for table driven parsing.

When and how do I take those choices for the parsing to create the parse tree?

Below is the grammar I am trying to parse out, I take the corresponding first and follow sets to the grammar and the parse out the input using the table driven parsing technique.

Grammar

expr ::= term {addop term}
term ::= factor {mulop factor}
factor ::= variable| unsigned-number| ( expr)
variable ::= identifier
addop ::= + | –
mulop ::= * | /

[ Politics ] Open Question : Isn’t it strange that the same intelligence agencies Trump hailed as heroes for tracking down Baghdadi are the ones he calls …?

part of the “deep state” and whom White House press secretary, Stephanie Grisham, smeared as “radical unelected bureaucrats’’?

What are alternatives to a large drop down select list?

I am adding a single selection drop-down containing a list of all countries (around 200+ items).

In Windows it works fine as it displays 10-15 countries at a time and the scroll bar shows up. On the Mac, the drop-down shows all the items at once. The users have to scroll down through all items to look for their desired item.

I am not using a text-field as it may require spell check.

What are alternatives to a large drop-down select list that will work similarly across computers?

Divine Fury static damage round up or down?

I have a new level 3 Zealot Barbarian and I am wondering about the wording of the feature Divine Fury.

Divine Fury (XGtE, page 11)

Starting when you choose this path at 3rd level, you can channel divine fury into your weapon strikes. While you’re raging, the first creature you hit on each of your turns with a weapon attack takes extra damage equal to 1d6 + half your barbarian level. The extra damage is necrotic or radiant; you choose the type of damage when you gain this feature.

Would the static “half your barbarian level” round down as most things do that are not specified when at an odd level?

I suspect it does but I would like some clarification per RAW.

Divine Fury static damage round up or down?

I have a new level 3 Zealot Barbarian and I am wondering about the wording of the feature Divine Fury.

Divine Fury (XGtE, page 11)

Starting when you choose this path at 3rd level, you can channel divine fury into your weapon strikes. While you’re raging, the first creature you hit on each of your turns with a weapon attack takes extra damage equal to 1d6 + half your barbarian level. The extra damage is necrotic or radiant; you choose the type of damage when you gain this feature.

Would the static “half your barbarian level” round down as most things do that are not specified when at an odd level?

I suspect it does but I would like some clarification per RAW.

Drop Down Menu on Genesis

Hi,

I would like to have a dropdown menu for the categories on my blog's homepage, I tried but didn't find any option for the theme. (I'm using Genesis with Magazine Pro child) If any developer is here who can help me adding the menu with some additional code it would be a great help.

Thanks in Advance.