## sharepoint online – Get the user's photo, name and title of an office 365 group with the help of SPfx

I'm trying to get the details of the user, namely the user name, title and profile picture of the users belonging to an Office 365 distribution group.

I've tried this sample code, but I get an undefined error, that is, msGraphClientFactory is undefined.

``````export default class HelloWorldWebPart extends BaseClientSideWebPart {
public render(): void {
// ...

this.context.msGraphClientFactory
.getClient()
.then((client: MSGraphClient): void => {
// use MSGraphClient here
});
}

// ...
}`
``````

Anyone can suggest what I could do wrong or suggest an alternative to get group members and their user profile information like photo, name a title.

## abstract algebra – explicit example of non-abelian order group \$ pq \$ where \$ p mid q-1 \$

I want to show the groups a semi-direct order product $$pq$$ or $$p mid q-1$$ is non-abelian.

I know $$Z_p rtimes _ phi Z_q$$ is a group of non trivial group homomorphism $$phi: Z_p to text {Aut} (Z_q)$$and they are all the same. Many texts claim that this group is not abelian, but how do we know that it is non-abelian?

Consider $$Z_3 rtimes _ phi Z_7$$ or $$Z_3 = {0,1,2 }$$ Defined by $$phi (1_ {Z_3}) = 2 _ { text {Aut} (Z_7)}$$. So $$phi (2) = 4$$ and $$x _ { text {Aut} (Z_7)} (y_ {Z_7}) = xy_ {Z_7}$$. I just connected random values ​​and found
$$(3,1) cdot_ rtimes (4,2) = (3 phi (1) (4), 2) = (3 cdot4 cdot2,2) = (3,2) \ (4,2) cdot_ rtimes (3,1) = (4 phi (2) (3), 2) = (4 cdot3 cdot4,2) = (6,2)$$

So $$Z_3 rtimes _ phi Z_7$$ is non-abelian. Is there a way to generalize this to show that all groups generated by non-trivial homomorphism to automorphism are non-abelian? Or am I missing out on a simpler basic argument?

(Note: I am not quite sure if my notation is correct, correct it in case of error)

## abstract algebra – Problem of group theory from old GRE questions

assume $$G$$ is a group and $$g in G$$ to be such that $${g ^ 6, g ^ {10}, g ^ {15} }$$ generates all $$G$$. Which of the following is not a possible order of $$G$$:

$$(a) 1$$

$$b) 7$$

$$(c) 12$$

$$(d) 30$$

Clearly choose $$g = e$$, $$(a)$$ is possible. And since $$7$$ so is prime $$(b)$$ is also possible. Since lcm$$(6,10,15) = 30$$, I suppose $$(d)$$ is also possible but I'm not sure. Any suggestions for doing it correctly?

## 5th dnd – What's a reasonable reward that a captain would offer to a group for a single mission?

So, I create a campaign and the hook is going to be the players recruited by a king knight captain to help him destroy a warlock invoking beasts of emptiness (my version of hell / chaos / abyss, etc.) and hiding in a ruined keep on the northern border of the country. The captain thinks the warlock is a bit dangerous but is not a serious threat, but he wants to destroy it before he can become one. So he hired professionals (the players, hopefully) on behalf of the kingdom, instead of pranking his soldiers on it.

How much money should the captain offer them to help defeat the warlock? Thinking that it is a relatively simple and easy quest, what would he reasonably propose at the party?

## Can not clone a group of custom fields in CPT

I have my CPT and I'm trying to clone the group of custom fields of my metabox named as `Credits`.

I have these fields to clone each time, when the user clicks on `+ Add Group` button:

1. Text field
2. TextArea field

I followed this link for reference -> Clone a group of custom fields

Now, I believe the code is correct, but anyway, I can only see that `textfield` come. I did my best to make it work, but I failed. I need your help for that. The Metabox Group extension is a paid extension, and I do not want to use it

Code:

``````function gallery_credit_section( \$meta_boxes ) {
\$prefix = 'prefix-';

\$meta_boxes() = array(
'id' => \$prefix . 'gallery-credits',
'title' => esc_html__( 'Credits', 'metabox-online-generator' ),
'post_types' => 'gallery',
'priority' => 'default',
'autosave' => 'false',
'fields' => array(
array(
'type' => 'group',
'clone' => true,
'fields' => array(
array(
'type' => 'text',
'name' => esc_html__( 'Advisors', 'metabox-online-generator' ),
'placeholder' => esc_html('Author Name', 'metabox-online-generator')
),
array(
'type' => 'textarea',
)
)
)
)
);

return \$meta_boxes;
}
``````

Result:

As you can see, there is no name for the field, anymore `textarea` domain too. Please help. Thank you 🙂

## How to group the PivotTable in laravel?

I have three tables,

``````     User                   cities             user_cities

id  name    title           id   name        user_id   city_id
1    aaa   designer         1   cityA          2         1
2    bbb   developer        2   cityB          2         2
3    ccc   designer         3   cityC          1         2
1         1
2         3
3         2
``````

After joining and interrogating the database, my result is,

``````data: {
0: {
id: 1
name: aaa,
title: designer,
cities :[
0: {
id: 1,
name: cityA
}
1: {
id: 2,
name: cityB
}
2: {
id: 3,
name: cityC
}
]
},
1: {
id: 2
name: bbb,
title: developer,
cities :[
0: {
id: 1,
name: cityA
}
1: {
id: 2,
name: cityB
}
]
}
1: {
id: 3
name: ccc,
title: designer,
cities :[
0: {
id: 2,
name: cityB
}
]
}
}
``````

Everything is fine until here. But I want `groupBy` by cities and take into account. I'm stuck here and I can not do a group by and count the number of cities.

If I filter by `title=designer` the filtered data will be displayed and I want to make a group by cities and count the number.

So, my final result will be,

``````cityA = 1 counts
cityC = 2 counts
``````

Help me solve the problem.

## unit – Need help simulating combat between different group sizes and units

(Board)
The plateau is composed of hexagons with mountains and houses occupying a single hexagon. Do I have to keep it like this or can I add more?

(Turns)
I think I have a turn-based game where each battle would take a few turns to allow the players to see the battle slowly. But I think being a live match where you're just going to go where each player goes at a time could be a good choice too.

(Size of purchase units)
I think I have the option to buy a device size and if you buy this size, it can range from 12 to 20 units depending on the size you purchased.

(Infantry vs Infantry)
My idea is that there will be a percentage of favor for each side in the battle. Different group sizes already have a percentage range for the wounded and the dead and if they lose the favor of fighting, the dead and wounded will be chosen in this range. But if the battle was favorable to them, the percentage of wounded and dead would be halved.

(Tanks vs Infantry)
The idea is generally the same as above, but it would only remain favored (no dead or wounded) on the side of the tanks if there was only one tank but if there was another tank added, how could I increase favors on the tank side and how could I simulate the tank losses in a battle.

(AT Teams)
Should I add AT teams because I feel that AT teams should be part of the infantry, but if I had to add AT teams, how do I change the favors of each team and the death of AT teams?

(Money)
How should I add money, should it act by turn, a total amount from getgo or ways to make money?

All comments, including a way to code a section, what's good, what's bad and what I can change, are welcome. Let me know.

## ultrafilters – Ultrapower of Amenable Group

Let $$Gamma$$ to be an inclined group. Consider his ultrapower $$^ * Gamma$$. It is known that $$^ * Gamma$$ must not be available. In fact, there is a stronger notion of uniformity of availability for $$Gamma$$ (defined using a uniform Folner convergence condition) and it is known that $$^ * Gamma$$ is available if and if $$Gamma$$ is uniformly docile.

My question is: if $$Gamma$$ lends itself, is $$^ * Gamma$$ susceptible at least in a weaker sense?

For example, is there a finished additive? $$^ * Gamma$$ invariant measure defined on internal subsets of $$^ * Gamma$$ (as opposed to all subsets needed for availability)? An attempt to build this would consist of taking an internal subset $$A = (A_n) _ {n in mathcal {U}}$$ and take the limit (in relation to the ultrafilter) measurements of each subset. Similarly, can we also build an invariant average for internal related functionalities using ultralimit?

However, I do not know if the right notion should imply a measure that takes into account the values $$^ * mathbb {R}$$ or just $$mathbb {R}$$. Has this been studied before? Thank you.

## migration – Export a Yahoo group to Drupal 7?

Yahoo has just announced that it was removing all content ever published in Yahoo groups. I co-manage a group of thousands of messages dating back 20 years and manage a D7 website related to the group. Has anyone ever had the habit of extracting messages from a Yahoo group and importing them into a D7 site as forum posts or posting them in a forum? Drupal in another way?

## gr.group theory – Some problems with group presentation

Let $$G$$ to be a group with group presentation ,or $$S$$ is a set of generators and $$R$$ is a set of relationships. As we all know, all of the subgroups of group G can form a network. Let $$G1 =$$ and $$G2 =$$ to be two subgroups of $$G$$ , or $$S1$$ and $$S2$$ is a subset of $$S$$. My question is:

1. $$G1∧G2 = G1∩G2 =$$?
2. $$G1∨G2 ==$$?