## sharepoint online – Get Display names of Direct reportees in Office 365

I need to get display names for all the direct reportees under a manager. I am using below code to get direct reporteees using rest in SPFx using react.

``````getReportees = () => {
var reportees = ();
var reactHandler = this;
var drReportess = ();
\$.ajax({
url: this.siteUrl+"/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='" + encodeURIComponent(accountName) + "'&\$select=DirectReports",
method: "GET",
headers: { "Accept": "application/json; odata=verbose" },
crossDomain: true
}).done((data)=>{
let length: Number = data.d.DirectReports.results.length > 0 ? data.d.DirectReports.results.length : 0;
if(length>0){
\$.each(data.d.DirectReports.results, function (i, value: string) {
reportees.push(value);
});
\$.each(reportees,function(i,value){
\$.ajax({
url:  this.siteUrl+"/_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName='PreferredName')?@v='" + encodeURIComponent(value) + "'",
method: "GET",
headers: { "Accept": "application/json; odata=verbose" }
}).done((data)=>{
drReportess.push({
Title: data.d.GetUserProfilePropertyFor,
})
})
})
reactHandler.setState({
directReportees: drReportess
})
console.log(reactHandler.state.directReportees);
}
})
}
``````

problem with this code is the render function is loading first before completing the rest call so DOM is empty.

## modules – Is \$frac{bigcap_{k=1}^infty M_k}{bigcup_{k=1}^infty N_k}\$ a direct limit?

Suppose we have a sequence of $$R$$-modules $$N_1subseteq N_2subseteqcdots subseteq N_ksubseteq N_{k+1}subseteq cdotssubseteq M_{k+1}subseteq M_ksubseteq cdotssubseteq M_2subseteq M_1.$$

My question is is it possible to make the following set $$bigg{P_k:=frac{M_k}{N_k}bigg|kgeq 1bigg}$$ with some $$R$$-modules homomorphsims to a directed set so that $$frac{bigcap_{k=1}^infty M_k}{bigcup_{k=1}^infty N_k}$$ is direct limit.

Of course, if all $$M_k$$ are equals to some fixed $$M$$, then for $$i,jin Bbb N$$ with $$ileq j (text{ordering w.r.t. natural order of }Bbb N)$$ we have a $$R$$-module homomorphism $$varphi^i_j:P_ilongrightarrow P_j$$ defined by $$varphi^i_j:x+N_ilongmapsto x+N_jtext{ for all }xin M.$$ And in this case, $$frac{bigcap_{k=1}^infty M_k}{bigcup_{k=1}^infty N_k}=frac{M}{bigcup_{k=1}^infty N_k}$$ is obviously the direct limit of $${P_i,varphi^i_j|ileq j}$$.

Any help will be appreciated.

## networking – Discover IPMI IP address by scanning all possible direct LAN addresses

I have a Supermicro server board that powers on but wont post.

I have connected a LAN cable to the dedicated IPMI LAN port on the board and am trying to discover what the IPMI IP address of the board is.

I have tried scanning the local network via:

`nmap -n -sP 192.168.1.1/24`

However I as the server is not connected to anything other than a laptop via IPMI it does not know it’s on the local network, and I have seen SuperMicro IPMI addresses around 172.17.x.x.

I have not been able to find a list of all possible IPMI addresses to narrow down. How can I scan the entire 172.x.x.x address range using nmap? or any other ideas for finding this server via direct connection to an IPMI port.

## Lightning LND gRPC send direct payment returns invalid_key_length error

I’m trying to send a direct payment on testnet from my node A to my node B. Both have only channels with public nodes, not between themselves, so that a route contains multiple hops.

I followed the Bidirectional-streaming RPC example from https://dev.lightning.community/guides/javascript-grpc/

``````//var dest_pubkey = <RECEIVER_ID_PUBKEY>;
var dest_pubkey = '033d4933c29885ab84cc5eacbcf3cd3bc87d3c36b36e81d9b09a0691946dfa3493';

var dest_pubkey_bytes = ByteBuffer.fromHex(dest_pubkey);

var call = lightning.sendPayment();
call.on('data', function(payment) {
console.log("Payment sent:");
console.log(payment);
});

call.write({ dest: dest_pubkey_bytes, amt: 11 });
``````

I get the response

``````Payment sent:
{
payment_error: 'invalid key length',
payment_preimage: <Buffer >,
payment_route: null,
payment_hash: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>
}
``````

from which I get the impression that I am providing the wrong pub key. Is my nodes’ public identifier the pubkey which can be obtained by the identity_pubkey property from getinfo command?

When I use a Buffer instead of ByteBuffer:

``````var dest_pubkey_bytes = Buffer.from(dest_pubkey, 'hex');
``````

``````var dest_pubkey_bytes = ByteBuffer.fromHex(dest_pubkey);
``````

I don’t get the invalid_key_length error but an incorrect_payment_details error:

``````Payment sent:
{
payment_error: 'incorrect_payment_details',
payment_preimage: <Buffer >,
payment_route: null,
payment_hash: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>
}
``````

from which I get the impression that I need provide other data in the request besides dest and amt. Do I need to add something more to the request? e.g. a keysend flag or something similar to lncli sendpayment —keysend

sending direct payment via cli works:

``````tlncli2 sendpayment --keysend --dest 033d4933c29885ab84cc5eacbcf3cd3bc87d3c36b36e81d9b09a0691946dfa3493 --amt 11
``````

response:

``````Amount + fee:   11 + 2.001 sat
Payment hash:   644beaa4aafbaa2c1c4bace2735c038446bfdaae6942e4900f511f1a0fbec1b1
Payment status: SUCCEEDED, preimage: 92a304c1c5b47afe887faf3e0e137d618c014a9d27edd6897b49411121c5d2e9
``````

My nodes have version

``````lnd version 0.10.0-beta commit=v0.10.0-beta
``````

## lightning network – What parameters should I provide to make a direct payment with RPC?

I’m trying to send a direct payment on testnet from my node A to my node B. Both have only channels with public nodes, not between themselves, so that a route contains multiple hops.

I followed the Bidirectional-streaming RPC example from https://dev.lightning.community/guides/javascript-grpc/

``````//var dest_pubkey = <RECEIVER_ID_PUBKEY>;
var dest_pubkey = '03b4e78b999c4ff29508c5889f51852d9d5f04eae1e829e54010d26b49628b953f';

var dest_pubkey_bytes = ByteBuffer.fromHex(dest_pubkey);

var call = lightning.sendPayment();
call.on('data', function(payment) {
console.log("Payment sent:");
console.log(payment);
});

call.write({ dest: dest_pubkey_bytes, amt: 11 });
``````

I get the response

``````Payment sent:
{
payment_error: 'invalid key length',
payment_preimage: <Buffer >,
payment_route: null,
payment_hash: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>
}
``````

from which I get the impression that I am providing the wrong pub key. Is my nodes public identifier which can be obtained by the identity_pubkey property from getinfo command?

When I use a Buffer instead of ByteBuffer:

``````var dest_pubkey_bytes = Buffer.from(dest_pubkey, 'hex');
``````

``````var dest_pubkey_bytes = ByteBuffer.fromHex(dest_pubkey);
``````

I don’t get the invalid_key_length error but an incorrect_payment_details error:

``````Payment sent:
{
payment_error: 'incorrect_payment_details',
payment_preimage: <Buffer >,
payment_route: null,
payment_hash: <Buffer 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>
}
``````

from which I get the impression that I need provide other data in the request besides dest and amt. Do I need to add something more to the request? e.g. a keysend flag or something similar to lncli sendpayment —keysend

sending direct payment via cli works:

``````tlncli2 sendpayment --keysend --dest 033d4933c29885ab84cc5eacbcf3cd3bc87d3c36b36e81d9b09a0691946dfa3493 --amt 11
``````

response:

``````Amount + fee:   11 + 2.001 sat
Payment hash:   644beaa4aafbaa2c1c4bace2735c038446bfdaae6942e4900f511f1a0fbec1b1
Payment status: SUCCEEDED, preimage: 92a304c1c5b47afe887faf3e0e137d618c014a9d27edd6897b49411121c5d2e9
``````

My nodes have version

``````lnd version 0.10.0-beta commit=v0.10.0-beta
``````

I tried it with few campaigns. Some passed and some does not. What is your experience with them?

## \$G_1*…*G_n be a external direct product. \$

$$G_1,…, G_n$$ be a finite cyclic group. Then $$G_1times…times G_n$$ is cyclic iff $$gcd(lG_il,lG_jl)=1, forall ineq j$$.
I learned this theorem but i don’t know how to prove it can you help me?

## [Adcdata] – Hong Kong Dedicated Server – with Direct China Route

We are introducing our new line of servers to support your business. Best suited if you are looking for servers in Asia/pacific region! The following details should be of your interest:

Location

Hong Kong, China

Tier3+ Datacenter

* 24-hour network monitoring

* Wide ranges of servers, HPE, Dell, Supermicro etc

* Dedicated backup node provided

* Easy-to-access support service, whatsapp, wechat, phone call, direct support

* Top Tier-3+ datacenter structure, such as fire suppression, electrical and mechanical power *

* Direct China Access network

______________________________________________

Xeon E3-1280 (4-core)

8GB DDR3 ECC RAM

Intel S1200 series Serverboard (IPMI available)

256GB SSD storage + 1TB SATA storage

______________________________________________

\$ 120 USD /month

______________________________________________

Xeon E3-1280 (4-core)

16GB DDR3 ECC RAM

Supermicro series Serverboard (IPMI available)

256GB SSD storage x 2 (Hardware RAID) + 1TB SATA storage

______________________________________________

\$ 165 USD /month

______________________________________________

Xeon E5-2670 Dual (16-core)

64GB DDR3 ECC RAM

Supermicro series Serverboard (IPMI available)

500GB SSD storage x 2 (Hardware RAID) + 2TB SATA storage

______________________________________________

\$ 240 USD /month

______________________________________________

Xeon E5-2683v3 Dual (28-core)

64GB DDR4 ECC RAM

Intel series Serverboard (IPMI available)

500GB SSD storage x 2 (Hardware RAID) + 3TB SATA storage

______________________________________________

\$ 317 USD /month

If you have any interest, feel free contact sales department:

On our website

We can send you a complete product/service list through email

Best regards,

## ag.algebraic geometry – Direct proof that \$mathbb{P}^n\$ is rationally connected

Let $$mathbb{P}^n$$ denote projective $$n$$-space over $$mathbb{C}$$. I am almost certain that this question is well-known to algebraic geometers, but I cannot find a reference.

Q: Is there a direct proof of the fact that $$mathbb{P}^n$$ is rationally connected?

Of course, a result of Kóllar-Miyaoka-Mori tells us that something more general is true, namely, that any Fano variety is rationally connected. The proof seems quite long, however, so I am naturally interested in whether a simpler, more direct, proof can be given for $$mathbb{P}^n$$.

## termux: running termux via adb without *any* direct interaction with the device?

I know how to open the `termux` app, run (for example) `sv up sshd`, and then interact with the Android device via `ssh`, `rsync`, etc. This is just an example, and the same is also true for any other `termux` initiated procedures.

However, to do this, it’s necessary to perform that manual open and manual `sv up sshd` command in `termux` on the device itself.

I want to be able to perform that initial termux interaction from my desktop computer via `adb` without any direct interaction with the device itself, aside from plugging in the USB cable.

I have looked for solutions, but it seems like no one has come up with any way to interact with `termux` except by first actually manually opening that app on the device, which I do not want to do.

However, could I have overlooked something? I’m hoping that I indeed missed something, and that somehow I can start `termux`-initiated procedures via `adb`.

Does anyone know how that might be done?