sharepoint online – Why on some lists i can do item-level edit while on others i can not

I am working on custom lists inside 2 site collections on the same tenant. On the first site >> when i click on a list item >> a popup will open >>where i can do an item level edit without clicking on the “Edit all” link, as follow (where i can edit the title):-
enter image description here

While on the second site >> the item level seems disabled and to edit the item i need to click on the “Edit all” link:-
enter image description here

so can anyone advice why we get different behaviors on different sites? is this a feature that is not rolled out for all sites? or there is a setting which we can control this behavior?

Thanks

recursion – Time complexity of a recursive algorithm with two lists as parameters

The goal is to find the function T which describes the time complexity of an algorithm who merges two lists (but the lists are given inversely sorted). The problem is that recursive calls depend on an external factor other than the input size, so , how may one construct a piecewise recursive function T on such an algorithm? How can a piecewise function T(n1,n2) (n1,n2 are the lengths of the lists) be defined when recursive calls do not depend on n1 or n2?

combinatorics – Finding number of permutations to form lists.

Want to know how to find number of arrangements for selecting a $5$ member list from $12$ teachers and $14$ students, such that least one student and one teacher must be included?

I find solving it difficult as that would include cases where second person in a category ( two categories: student, teacher) is selected before the first. So, for that reason the strategy of first finding combinations is not applicable, as cannot simply multiply by $5!$.

For illustration, have taken smaller example to form $3$-person list from $4$ teachers and $4$ students.


My solution is stated below. Request vetting. Also, is there any other approach to solve the original problem, apart from an extension of the below solution.

Let S1 be the first student selected, T1 be the first teacher selected. Similarly, for S2, T2.

Let, $a_1 = $#ways S1 can be selected,
$b_1 = $#ways T1 can be selected,
$a_2 = $#ways S2 can be selected,
$b_2 = $#ways T2 can be selected.
Note that if $a_2$ is greater than one, then $b_2=1$, and vice-versa.

The lists of size three can be formed by always having the first person in each category selected first. So, need arrangements with S1 before S2, & T1 before T2.

So, the possible ways are:

  1. $a_1a_2b_1times 2!$, as there can be swap between S2, T1
  2. $a_1b_1b_2times 2!$, as there can
    be swap between S1, T1

Sum of above is :
$(a_1a_2b_1 + a_1b_1b_2)times 2!= (4C1times3C1times4C1 + 4C1times4C1times3C1)times 2!$
$(4times3times4+4times4times3)times 2 =96times 2 = 192$.

barcodes – Get bar code value from c# for SharePoint lists

SharePoint generates a classic Code 128 Barcode

Modern list example
enter image description here

The same SharePoint barcode when we click on it:

enter image description here

To read the Code 128 in Xamarin, use any of the C# Barcode reading library. For example, ZXing

Small example decoding a barcode inside a bitmap (.Net 2.0/3.5/4.x). Source

// create a barcode reader instance
IBarcodeReader reader = new BarcodeReader();
// load a bitmap
var barcodeBitmap = (Bitmap)Image.LoadFrom("C:\sample-barcode-image.png");
// detect and decode the barcode inside the bitmap
var result = reader.Decode(barcodeBitmap);
// do something with the result
if (result != null)
{
   txtDecoderType.Text = result.BarcodeFormat.ToString();
   txtDecoderContent.Text = result.Text;
}

python – information retrieval project! help in converting dictionary to postings lists

I have done preprocessing on the data (input_corpus.txt) and converted the list to dictionary

preprocessing steps:-

a. Convert document text to lowercase

b. Remove special characters. Only alphabets, numbers and whitespaces
should be present in the document.

c. Remove excess whitespaces. There should be only 1 whitespace between tokens, and no whitespace at the starting or ending of the document.

d. Tokenize the document into terms using white space tokenizer.

e. Remove stopwords from the document.

f. Perform Porter’s stemming on the tokens.

import re
import pandas as pd
from nltk import word_tokenize
from nltk.corpus import stopwords
from nltk.stem import PorterStemmer 
from nltk.tokenize import word_tokenize 
from collections import defaultdict
ps = PorterStemmer()
stop = set(stopwords.words('english'))
file = open('input_corpus.txt','r')
for line in file.readlines():
    col= line.split('t')
    #print(col)
    ID=col(0)
    tokens= col(1)
    tokens=re.sub(r"(^a-zA-Z0-9 )+", ' ', tokens.lower())
    tokens=re.sub("s+"," ",tokens.lower())
    tokens=(i for i in tokens.split() if i not in stop)
    #print(tokens)
    t1 = list()
    for x in tokens:
        t1.append(ps.stem(x))
    tokens=t1
    t=t1
    #print(tokens)
    tokens= ID,tokens
    #print(tokens)
    final = {}
    for y in tokens:
        key, value =ID,t 
        final(key) = value
    print(final)
file.close()

the current output I have is:

enter image description here

After preprocessing, For each token, i need to create a postings list. Postings list must be stored as ​linked lists​. Postings of each term should be ordered by increasing document ids. Can someone help me out how to do this?

enter image description here

Using Table to iterate over two lists element by element instead of as a matrix

So I have two lists generated in the following fashion, I don’t know if it’s the most efficent way to get these, but that’s beside the point right now.

Nlayer = 6;
n = 0;
layernumber = Table(n = n + (Mod(i, 2)), {i, 1, 2*Nlayer})
n = 1;
interfacenumber = Table(n = n + (Mod(i, 2)), {i, 0, 2*Nlayer-1})

Which returns:

{1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6}

{1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7}

And I’m trying to get the Table function to apply the i-th value of each list to two different functions X and Y, getting a list of the same length as above. What I have right now is the following (which is incorrect, it returns a 12×12 matrix instead of a 1×12 table):

Table(X(i)*Y(j), {i,layernumber}, {j,interfacenumber});

In other words, I want it to return the 12 values that would be computed below into a list. Later, this will be expanded well beyond 12 values and I want to just expand the initial list instead of typing this out many more times.

X(1)*Y(1)
X(1)*Y(2)
X(2)*Y(2)
X(2)*Y(3)
X(3)*Y(3)
X(3)*Y(4)
X(4)*Y(4)
X(4)*Y(5)
X(5)*Y(5)
X(5)*Y(6)
X(6)*Y(6)
X(6)*Y(7)

Thank you in advance for answers, I’m headed to bed and will respond in the morning.

Different SharePoint Lists with same Columns spaced differently?

I have created lists among 8 different sites which have all of the same columns, views, settings, etc. For some reason, one list looks exactly how I want it to spacing/padding wise. All of the others are a lot less spaced apart and I cannot seem to figure out why they are doing so.

I have tried altering the CSS

.ms-vb2 {
    padding: 4px 8px 4px 4px;
}

and that doesn’t do anything. (That styling is how it is on the list that looks how it should.

Here is how they both look:

How its supposed to look:
enter image description here

How it actually looks:
enter image description here

Lists – Where is the "Edit Item" dropdown

I made some updates to columns and it removed the "edit item" option; says that it was attached the "Title"; is there a way to add it to the new column I created?

email – How to workaround Thunderbird 78’s lack of support for encrypted mailing lists?

As of Thunderbird 78, the support for PGP plugins such as Enigmail has been dropped in favour of a native implementation of pgp in Thunderbird’s core.

As Thunderbird currently only supports a smaller subset, some features of Enigmail are missing. One of those features is to create something akin to Enigmail’s per-recipent rules.(1)

Although people seem to be working on creating a patch for this, it seems unclear when this will be available in mainline given that it is being worked on for over 4 months. Hence, people with an up-to-date Thunderbird will not be able to write to the list, and I read on the Thunderbird blog that the old Thunderbird 68 will not receive further security updates.

So, I’m trying to come up with a workaround.

One idea I have is to create a new key-pair specifically for the mailing list address and distribute both private and public keys to all subscribers of the list. Assuming that there are no removals from the mailing list in the near future, are there any security problems with this scheme? Intuitively it seems wrong to give several people access to a private key but I cannot think of a new attack that would be possible compared to the old scheme.

Or is there perhaps a better workaround?


(1): This allows the subscribers of a mailing list to create a rule for the address of the mailing list and instruct Enigmail to encrypt any mail for a specific list of people on the list. It requires all users to maintain a copy of the subscriber list, adding and removing keys if the (managed) subscribers of the list proper change but it works reasonably well for small lists that don’t change too often.

How to increase a number of daily links and LPM with global site lists?

Hello,
i have a question.
Is there any way to increase a number of daily links that GSA SER creates from global site lists? I use lists from https://www.serpowerlists.com/ and they are great. But usually i have only about 200-300 verified links per day and LPM is 0,81. I do not set any limits on daily links in settings:
https://prnt.sc/uz9uon
All filtering options are unchecked:
https://prnt.sc/uz9w8p
I connected dropbox folders to GSA SER:
Identified – Contextual_URLs
Submitted – Top_Tier_URLs
Failed – Verified_URLs
https://prnt.sc/uz9y63
Checked Identified, Submitted and Failed and Use URLs from global site lists if enabled:
https://prnt.sc/uz96tm
I run GSA SER on Windows VPS with 4 core and 8 GB RAM at 40 threads with rotating dedicated proxies from https://stormproxies.com/rotating_reverse_proxies.html (40 threads proxy package), 1 catcha-ll e-mail from catchallboxes.com and Xevil for captcha recognition.
For some reason GSA SER runs mostly at 7-10 threads instead of 40 in settings:
https://prnt.sc/uz99pq
CPU and RAM are not higher than 50%.
I decided to check how it will change the situation and directly uploaded target URLs into the project (Import target URLs – From site lists – Identified, Submitted and Failed). GSA speeds up to 40 threads, LPM is still low:
https://prnt.sc/uz9ejj
In total its a big number of targeted URLs (713K URLs), but i still have about 200-300 daily links from uploading targeted URLs.
Sometimes i see message “No targets to post to (no search engines chosen, no url extraction chosen, no scheduled posting)” in my projects:
https://prnt.sc/uz9q76
At the same time dropbox folders with site lists are updating every few hours.
If i click “Show URls – Show remaining target URLs”, it usually shows 0 URLs, or 8-10 URLs.
Is it possible to solve this problem? Am i doing something wrong?
Thank you!