I’m new to this Linux stuff… I may have a fundamental misunderstanding, but I need some clarification on why getting the Ubuntu app on windows and using that terminal is so inferior (according to other Linux developers) than actually dual booting or solely using the Ubuntu distribution. Thanks.

# Tag: distribution

## Distribution of number of references to other object in an object

I been thinking about an improvement to a garbage collector (details not important for this question) and wished to know how often does a object have no reference to other objects. Clearly this will depend on the language.

Many people must have research this and published the data, yet I can’t come up with the correct words to type into Google.

## Approximating a discrete distribution

I have a discrete distribution of reference. For the example let’s say:

- P(X=1)=0.2
- P(X=2)=0.7
- P(X=3)=0.1

Now I am given `n`

numbers, and I want to group (sum) those numbers into 3 bins and approximate as close as possible the above distribution in the sense of minimizing the sum of squared error. So let’s say I have those numbers: 10, 25, 25 50 (total sum =100). So I want to group them into 3 bins, and ideally the sum of each bin would be 20, 70, 10 and that would perfectly match the distribution. Unfortunately that’s not possible and the best here would be 25, 75 (50+25), 10. The error here is (25-20)²+(75-70)²+(10-10)²=50

What is the algorithm solving the general problem?

## Linux distribution for gaming laptops

I have an HP Omen(I7-8th gen, NVIDIA GTX 1070). I have dual booted ubuntu 18.04 alongside windows 10, but I have been facing a lot of issues. For instance I couldn’t increase the brightness using the function keys, and now going to the settings menu takes me back to the login screen. Through some searching, I came to know that all most of the gaming laptops have this issue with ubuntu. So, I want to know if there is any linux distribution that runs smoothly when dual booted alongside windows in a gaming laptop?

## VBA to Update Individual Distribution List from Shared Distribution List?

I have a situation where I need to automatically update an Outlook distribution list with the current members. Here’s how it breaks down:

- Team SharePoint site with Contact List is source of truth
- Contact list constantly updates
- Site Owner/Team Point Person updates her individual distribution lists in Outlook
- SO/TPP then emails updated DLs to 3 other team members so they can drag-and-drop to update their personal DLs

We want to streamline this process. Because there are so many updates to the Contact List, the steps of sending/dragging/dropping eats up too much time.

I can connect the Contact List to Outlook, but I still need to get the updates from the shared Outlook contacts to each admin’s personal Outlook contacts. I’m wondering if I can do that with a macro.

Here’s what I would like to do:

- Write a macro that runs automatically when Outlook is opened
- Macro will copy contacts from shared account and paste them in the individual DL list
- Macro will copy contacts by Category and update individual account DL based on name (DL Name = Category)

Is this possible?

If this solution isn’t the best solution, what do you recommend? FYI, we will be transitioning to O365 and PowerApps, so if PowerApps can solve the problem, we are happy to wait.

## How can I decide which element is not following Poisson distribution in r?

i have a dataset which records the items and how many times the particular item is touched. Since each item is independent and the pick is randomly, shall be okay to see it follow the poisson distribution.

`DT <- data.frame(X = c(paste0("A", 1:78)), Y = c(rep(6, 13), rep(7, 17 ), rep(8, 9), rep(9, 8), rep(10, 8), rep(12,2), rep(14,2), rep(17, 18), 23)) `

by hist, it seems obviously not always following the poisson shape as expected.

`hist(DT$ Y) hist(dpois(DT$ Y, lambda = mean(DT$ Y))) `

My question is, there must be some items, say the far right two items, are “unPoissonly” touched. How can I decide each of the item is “unusual”?

## Integrability of certain distribution associated to a connection form on the total space of principal bundle

Let $ P\to M$ be a $ G$ -principal bundle where $ P,M$ are smooth manifolds and $ G$ is a Lie group with Lie algebra $ \mathfrak{g}$ whose center is denoted by $ C(\mathfrak{g})$ .

Let $ \omega$ be the connection form of a connection for our principal bundle.

We define a distribution on total space $ P$ as follows: $ $ \{v\in T_xP\mid \omega(v)\in C(\mathfrak{g}),\quad x\in P\}$ $

This defines a $ G$ -invariant distribution on $ P$ .

Under what algebraic conditions on $ \omega$ , this is an integrable distribution? What is a precise example of a foliation which can be generated in this way and the lie algebra $ \mathfrak{g}$ is not commutative? Is there an example of this situation such that we have a leaf with non trivial holonomy?

As a second question, is there a geometric interpretation for the following algebraic condition:$ $ (\omega \wedge d\omega)(X,Y,Z)\in C(\mathfrak{g}),\quad \forall X,Y,Z\in T_x P,\quad x\in P$ $

## Kaczorowski’s Paper on Distribution of Primes

I am looking for a digital copy of the following paper by Jerzy Kaczorowski: ON THE DISTRIBUTION OF PRIMES (mod4) https://www.degruyter.com/view/j/anly.1995.15.issue-2/anly.1995.15.2.159/anly.1995.15.2.159.xml

The above link is the only place where I could find it (which is behind a paywall). Thus, if anyone has a digital copy I would very much appreciate the help.

Apologies if this is not the correct forum for this question. Please let me know and I can move it.

## Difference distribution table for DES

This is my DDT (for DES) code. I just wonder how to be more efficient… I’ve just started cryptography and I’m not good enough.

`def SboxProcess_hex(self, r_exp): sub_blocks = separate(r_exp, 6) result = list() for i in range(len(sub_blocks)): block = sub_blocks[i] row = int(str(block[0]) + str(block[5]), 2) column = int(''.join([str(x) for x in block[1:][:-1]]), 2) value = Sbox[i][row][column] binary = hex_char_to_binary(value) result += [int(x) for x in binary] return result `

This is my SboxProcess code. This is in the class.

`input_length = 6 output_length = 4 def DDT_search(start1, start2, num): for i in range(64): a = bin(start1)[2:].zfill(6) for j in range(64): b = bin(start2)[2:].zfill(6) row = int(str(a[0]) + str(a[5]), 2) column = int(''.join([str(x) for x in a[1:][:-1]]), 2) a_out_1 = Sbox[num][row][column] a_out = bin(a_out_1)[2:].zfill(6) row = int(str(b[0]) + str(b[5]), 2) column = int(''.join([str(x) for x in b[1:][:-1]]), 2) b_out_1 = Sbox[num][row][column] b_out = bin(b_out_1)[2:].zfill(6) a_xor_b_out = int(a_out, 2) ^ int(b_out, 2) #output XOR 계산 DDT[i^j][a_xor_b_out] += 1 b = int(b,2) start2 += 1 start2 = 0 a = int(a,2) start1 += 1 DDTs =[] for i in range(8): DDT = [[0 for x in range(pow(2,output_length))] for x in range(pow(2,input_length))] print(DDT) a=0 b=0 DDT_search(a, b, i) print(DDT) DDTs.append(DDT) print(DDTs) `

## Is there a better linux distribution for wordpress?

I wonder if the linux distribution has role in performance and security of a wordpress site. What do you think?

I know that many us… | Read the rest of http://www.webhostingtalk.com/showthread.php?t=1769650&goto=newpost