enterprise sharepoint – Editing page content using the Content Inquiry web part

Whether it is content query or content search web part, the original data is kept through the data source, so we cannot change the data of the web part itself.

If you are using the SharePoint 2013 version, you can use the content search web part as the content query web part that has a performance problem.

I cannot understand part of the Schoofs algorithm.

I have been trying to understand the Schools algorithm. It is well described by http://www-users.math.umn.edu/~musiker/schoof.pdf but I still don't understand your statement on page 7 where it says the following:

We will soon use the following fact: yes $ x ′ = x _ { overline {t}} ^ q $ for a point $ P $ in $ E (l) setminus {P _ { infty} } $, then $ overline {t} $ satisfies
begin {equation *}
tau ^ 2 (P) ominus overline {t} tau (P) oplus qP = P _ { infty}
end {equation *}

In the above $ tau $ is the map of Frobenius, $ P _ { infty} $ the point at infinity and as far as I understand it well,$ x $ Being the $ x $-coordinate from one point $ P & # 39; $. Then it would be the $ x $-coordinated from $ ( overline {t} P & # 39;) ^ q = tau ( overline {t} P & # 39;) = overline {t} tau (P & # 39;) $

Can anyone tell me why the above is valid or does anyone have any clues?

I would be very grateful

New to the community.

Hi everyone !

I’m Mike. This is my first post here. It is good to be part of this community. I hope everyone welcomes me.

You have a good day!


Form web part ribbon disabled

I need to write a custom script on one of my Sharepoint lists.
The web part ribbon for my form is disabled. I have verified it as a Site Administrator and my settings were already enabled. Please help.

Performance – Estimating Block Bootstrap in Java – Part 2

The following is my attempt at parallelization (I learned about parallel computing last weekend, so I'm very new to it) and making the code more efficient in my previous question Block Bootstrap Estimation using Java. The text.txt text file can be found at https://drive.google.com/open?id=1vLBoNmFyh4alDZt1eoJpavuEwWlPZSKX (download the file directly if you want to try it out – there are some weird things you won't select) above even via Notepad notes). This is a small 10×10 data set with maxBlockSize = 10, but this needs to scale up to twenty 5000 x 3000 data sets with maxBlockSize = 3000, just to get an idea of ​​the scale.

import java.io.FileInputStream;
import java.lang.Math;
import java.util.Scanner;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.FileOutputStream;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import java.util.stream.DoubleStream;

public class BlockBootstrapTestParallel {

    // Sum of a subarray, based on B(x, i, L) -- i is one-indexing
    public static double sum(double() x, int i, int L) {
        return IntStream.range(i, i + L)
                        .mapToDouble(idx -> x(idx - 1))

    // Mean of a subarray, based on B(x, i, L) -- i is one-indexing
    public static double mean(double() x, int i, int L) {
        return IntStream.range(i, i + L)
                        .mapToDouble(idx -> x(idx - 1))

    // Compute MBB mean
    public static double mbbMu(double() x, int L) {     
        return IntStream.range(0, x.length - L + 1)
                        .mapToDouble(idx -> mean(x, idx + 1, L))

    // Compute MBB variance
    public static double mbbVariance(double() x, int L, double alpha) {
        return IntStream.range(0, x.length - L + 1)
                        .mapToDouble(idx -> (Math.pow(L, alpha) * Math.pow(mean(x, idx + 1, L) - mbbMu(x, L), 2)))

    // Compute NBB mean
    public static double nbbMu(double() x, int L) {
        return IntStream.range(0, x.length / L)
                        .mapToDouble(idx -> (mean(x, 1 + ((idx + 1) - 1) * L, L)))

    // Compute NBB variance
    public static double nbbVariance(double() x, int L, double alpha) {

        double varSum = IntStream.range(0, x.length / L)
                                 .mapToDouble(idx -> (Math.pow(mean(x, 1 + ((idx + 1) - 1) * L, L) - nbbMu(x, L), 2)))

        return Math.pow((double) L, alpha) * varSum;


    // factorial implementation
    public static double factorial(int x) {
        double() fact = {1.0, 1.0, 2.0, 6.0, 24.0, 120.0, 720.0, 5040.0, 40320.0, 362880.0, 3628800.0};
        return fact(x);

    // Hermite polynomial
    public static double H(double x, int p) {
        double out = 0;
        for (int i = 0; i < (p / 2) + 1; i++) {
            out += Math.pow(-1, i) * Math.pow(x, p - (2 * i)) / 
                ((factorial(i) * factorial(p - (2 * i))) * (1L << i));
        out *= factorial(p);
        return out;

    // Row means
    public static double() rowMeans(double()() x, int nrows, int ncols) {
        double() means = new double(nrows);
        for (int i = 0; i < nrows; i++) {
            means(i) = mean(x(i), 1, ncols);
        return means;

    public static void duration(long start, long end) {
        System.out.println("Total execution time: " + (((double)(end - start))/60000) + " minutes");

    public static void main(String() argv) throws IOException {
        final long start = System.currentTimeMillis();
        FileInputStream fileIn = new FileInputStream("test.txt");
        FileOutputStream fileOutMBB = new FileOutputStream("MBB_test.txt");
        FileOutputStream fileOutNBB = new FileOutputStream("NBB_test.txt");
        FileOutputStream fileOutMean = new FileOutputStream("means_test.txt");

        Scanner scnr = new Scanner(fileIn);
        PrintWriter outFSMBB = new PrintWriter(fileOutMBB);
        PrintWriter outFSNBB = new PrintWriter(fileOutNBB);
        PrintWriter outFSmean = new PrintWriter(fileOutMean);

        // These variables are taken from the command line, but are inputted here for ease of use.
        int rows = 10;
        int cols = 10;
        int maxBlockSize = 10; // this could potentially be any value <= cols
        int p = 1;
        double alpha = 0.1;
        double()() timeSeries = new double(rows)(cols);

        // read in the file, and perform the H_p(x) transformation
        for (int i = 0; i < rows; i++) {
            for (int j = 0; j < cols; j++) {
                timeSeries(i)(j) = H(scnr.nextDouble(), p);
            scnr.next(); // skip null terminator

        // row means
        double() sampleMeans = rowMeans(timeSeries, rows, cols);
        for (int i = 0; i < rows; i++) {
            outFSmean.print(sampleMeans(i) + " ");

        new Thread(() -> {
            for (int j = 0; j < rows; j++) {
                for (int m = 0; m < maxBlockSize; m++) {
                    outFSMBB.print(mbbVariance(timeSeries(j), m + 1, alpha) + " ");

        new Thread(() -> {
            for (int j = 0; j < rows; j++) {
                for (int m = 0; m < maxBlockSize; m++) {
                    outFSNBB.print(nbbVariance(timeSeries(j), m + 1, alpha) + " ");
        duration(start, System.currentTimeMillis());

If it's useful, I have 8 cores available with 64GB of RAM, as well as two GPUs that I have no idea how to use (Intel UHD Graphics 630, NVIDIA Quadro P620). I will see how to use them in the coming days if necessary.

web part – error using RSS feed web part in SP 2013

I am using the RSS web part to display an RSS feed. It worked fine for 2 years, but a couple of months ago it stopped working and displays the error message & # 39; The requested RSS feed could not be displayed. Check the settings and URL of this feed. If this problem persists, contact your administrator. I have used other RSS readers to test the feed and it shows fine.

I am the site administrator in the & # 39; form I am responsible for this website & # 39 ;, not in the form & # 39; I am the server administrator in the IT department & # 39 ;, so I cannot verify logs or doing anything on the server side, which is frustrating. The RSS feed is hosted in the same top level domain as the Sharepoint site and both URLs force HTTPS. Googling the error, I have a hunch that it has something to do with a proxy server or certificate related security issues. I have sent links to the server administrator but they are dragging their feet and I am starting to wonder if they don't know what is wrong and I want to find something I can send to the server administrator because if I don't t, this will become a "ignore it and hope it goes away" problem on your part.

python: understand how to structure the instant messaging / chat part of the application

I've read quite a bit about XMPP and I'm still not sure I fully understand how XMPP works and therefore how it would build the instant messaging part of my Python application.

Am I correct in thinking that I need to use something like sleekxmpp or aioxmpp to pass the messages to a server like IoT Broker / ejabberd / open fire (the recommendations for a good free one would be great), that I need to install on my computer?

As the amount of user messages increases, won't I need a better server than my computer? Is it possible to use a cloud server and how would this work with IoT Broker or ejabberd ….. or am I wrong?

I am also planning to store the chat history in a mysql database, imagine this should be hosted on a server (AWS or something like that?).

web part: mobile design Sharepoint SPFX react / typecript

So I created a Sharepoint SPFx React Typescript app that works perfectly.

Using this guide here, I design a mobile version of the web part app: https://goshakkk.name/different-mobile-desktop-tablet-layouts-react/

I was using the developer tools in Google Chrome to view the site on a mobile device (screen size less than 760 px).

However, when I load the Sharepoint page on my mobile phone, it shows the desktop version. It appears that when I view the SharePoint site in my mobile browser or the SharePoint application it is loading the full desktop version of the site. When i change const isMobile = width <= 1200; at 1200 it shows the mobile version, but everything is dimensioned for desktop.

Is this because I turned off mobile browser view : https://gauravmahajan.net/2016/07/15/sharepoint-turn-off-mobile-view/

I turned it off because I was redirecting the site to a touch app link that was not working.

How do I get my sharepoint site to open on the mobile side on a mobile phone?

blue ad – How to get AccessToken using MSAL library inside Sharepoint web part?

I have developed a Sharepoint web part where I need to get the accessToken. To get the token, I have used an MSAL library.

My problem is the following: I am connected to my Sharepoint but when the web part tries to regain access, something fails in authentication and I get this error:

xxxx-web-part.js: 1838 ClientAuthError: User login required. in ClientAuthError.AuthError (as constructor) (https: // localhost: 4321 / dist / xxx-web-part.js: 2057: 28) in the new ClientAuthError (https: // localhost: 4321 / dist / xxxx-web- part .js: 630: 28) in Function.7ZR7.ClientAuthError.createUserLoginRequiredError (https: // localhost: 4321 / dist / xxxx-web-part.js: 682: 16) at https: // localhost: 4321 / dist / xxx -web-part.js: 2916: 103 in new Promise () in UserAgentApplication.ZES5.UserAgentApplication.acquireTokenSilent (https: // localhost: 4321 / dist / xxxx-web-part.js: 2905: 16) in UserAgentApplication. descriptor .value (how to acquireTokenSilent) (https: // localhost: 4321 / dist / xxxx-web-part.js: 2543: 38) at xxxWebPart.PlTk.xxxxWebPart.render (https: // localhost: 4321 / dist / xxxx -web-part.js: 1828: 19) at xxxxWebPart.t._renderWithAccessibleTitle (https://spoprod-a.akamaihd.net/files/sp-client/sp-webpart-workbench-assembly_en-us_27e01b6941bde5b3b95b3b95b3b95d95b95 at https: //spoprod-a.akamaihd.n et / files / sp-client / sp-webpart-workbench-assembly_en-us_27e01b6941bf5cdddecc695bd3bdbb95.js: 21: 585352

How can I solve this problem? I would like if I am connected to Sharepoint I get the accessToken without logging in to the system again.

This is my code:

    export default class MyWebPart extends BaseClientSideWebPart  {

     public render(): void {

     const config = {
         auth: {
            clientId: "xxxxxxxxxxxxxxx",
            authority: "https://login.microsoftonline.com/yyyyyyyyyyyyyyyyyyy"

    const myMSALObj = new UserAgentApplication(config);

      let accessTokenRequest = {
          scopes: ("user.read")

      myMSALObj.acquireTokenSilent(accessTokenRequest).then(function(accessTokenResponse) {
          // Acquire token silent success
          // call API with token
          let accessToken = accessTokenResponse.accessToken;
          let scopes = accessTokenResponse.scopes;
      }).catch(function (error) {
              //Acquire token silent failure, and send an interactive request
              if (error.errorMessage.indexOf("interaction_required") !== -1) {

Windows 10 – Excel How to return a text result from part of a number

I have 2 columns The first will be a BSB number and the second will be the bank name. How can I create a formula or macro where the first 2 or 3 digits in column 1 will determine the bank name in column 2. For example, if I enter 063215 in column 1, column 2 will show & # 39; Commonwealth & # 39; or if I enter 114879, it would return a result of & # 39; St George & # 39 ;, only the first 2 or 3 digits. I am fairly new to VBA and macros in Excel so please be kind. Any help would be highly appreciated.