## unity – How to use Texture2DArray with Normal map and Normal Unpack node in Shader Graph

Problem was, Normal Unpacking only works with non-SRGB textures.

In order to generate non-SRGB `Texture2DArray` you’d need to provide last parameter(Set texture to be linear):

`Texture2DArray(int width, int height, int depth, TextureFormat textureFormat, bool mipChain, bool linear = true)`

But since my Texture array includes both normal maps and albedo maps, all other textures look flatter and uglier(Since they’re linear now).

There are 2 ways of solving this issue:

1. Use 2 texture arrays, one for normal maps(non-srgb) and another for albedo maps(srgb)

2. Use non-srgb texture array, but convert albedo maps to srgb inside the shader. Either using cheap approximation: `pow(col.rgb, 2.0)` or built-in `GammaToLinearSpace(col.rgb)`

## move 1 site from digitalocean to normal hosting

y u no do it?

Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

Starts at just \$1 per CPM or \$0.10 per CPC.

## statistics – Fisher information of joint distribution of transformed Normal distribution

Suppose $$X_1=theta+epsilon_1$$ and $$X_i=sqrt{gamma}X_{i-1}+sqrt{1-gamma}epsilon_i+theta(1-sqrt{gamma})$$
Where $$gamma in (0,1)$$ and $$theta$$ is the parameter of the model. Also $$epsilon_1,epsilon_2,…epsilon_n$$ are iid $$N(0,1)$$.

What is the Fisher information of this model and for what values of $$gamma$$ does it tensorise. I’ve tried using the Jacobian to find the joint distribution but I’m not sure, especially when determining for which values we have tensorisation. Any help would be much appreaciated.

## pr.probability – Finding the K-means of the normal distribution

Let $$Kinmathbb N^+$$ be a parameter.

Given a distribution $$q$$ over the real numbers, K-means clustering aims to find $$K$$ centroids $$c_1,ldots,c_kinmathbb R$$ that minimize
$$int_{-infty}^infty q(x)cdot min{(x-c_i)^2mid iin{1,ldots,k}}dx.$$

We can, without loss of generality, assume that $$c_1le c_2leldotsle c_k$$.

What are the resulting centroids for the standard normal distribution $$q=N(0,1)$$?

The solution for $$K=2$$ is given by $$c_1=-sqrt{2/pi}$$ and $$c_2=sqrt{2/pi}$$. The reason is that the distribution is symmetric around $$0$$ and the expected value given that the variable is positive equals the mean of a half-normal random variable.
I am interested in computing the result for a larger $$K$$, e.g.,

• What are the centroids for $$K=4$$?

Using WolframAlpha, after some simplifications, it seems that the solution is approximately $$c_1approx -1.51, c_2approx-0.453,c_3approx 0.453, c_4approx1.51$$.

## pathfinder 1e – Can a spellcaster use spell slots above their normal limit if their ability scores allow bonus spells of that level?

This question is inspired by discussion here, about how Heighten Spell works with Reserve Feats. The question that I am asking here deals with whether or not players can cast spells using spell slots for spell levels that they don’t have access to yet.

I feel like an example would explain this concept best.

Take Xylitol, the first-level wizard with an intelligence of 18. He has 5 0th-level spells per day and 3 1st level spells per day from his class. He also has 1 bonus 1st level spell per day from his high intelligence. The Ability Modifiers and Bonus Spells table says that he also has 1 bonus spell of each 2nd, 3rd, and 4th levels.

The question is this: Can Xylitol cast 1st level spells using the bonus slots for his 2nd, 3rd, and 4th level spells? He clearly can’t cast spells that are inherently higher level than 1st, since he can’t learn them, but can he cast 1st level spells using bonus 2nd, 3rd, and 4th level slots?

This has come up on these boards before, here. What I’m looking for here is a clear rules citation that clarifies this one way or the other. The wording in the section on ability scores makes it quite clear that characters cannot cast spells that are actually higher level than their class allows them to cast, but it is not clear that these higher level slots are barred until the appropriate spell level is unlocked. If a character has access to a spell level that they can’t use because their ability score isn’t high enough, they can freely use those slots for lower level spells, so why can’t they use their bonus spell slots for lower level spells?

As KRyan’s answer says, the Basics section covers this. Based on questions and comments both here and elsewhere, that section seems to be worded ambiguously enough that it’s caused confusion. I’d like to find another, more clear wording to this rule if at all possible.

N.B. I’d like to note that I personally don’t feel that players should have access to higher level slots like this. There are a large number of locations where it’s heavily implied that this is not the case, but I feel that finding a clear rules citation here would be helpful. I can’t find one that is clear for either interpretation here.

## network – Nmap Scan Shows Filtered Ports for VNC, RDP, SAMBA & SSH on iOS – is this normal?

This can’t be normal, right?

Wrong, it can be normal.

Your scan shows that there is only one open port, on port 62078.

The results will be similar for other iDevices. For example, an iPhone 11 Pro on my network shows 985 closed ports, 14 filtered ports, and one open port (port 62078).

## network – NMAP Scan Shows Ports for VNC, RDP, SAMBA & SSH on iOS – is this normal?

I ran an nmap scan on my iPad’s IP address and the results showed the following ports listed below available in a filtered state. See screenshot for the actual terminal results. This can’t be normal, right? There are no apps installed that would explain these ports and the device is not jailbroken.

SSH
Netbios-ssn
ms-wbt-server (Remote Desktop)
4 different VNC ports
And an iPhone Sync port

## Context free grammar to chomsky normal form bruh

I’ve had this question bugging me for so long but i cant seem to solve the question can anyone help?

S 🡪 [ R ]

R 🡪 [ Q ] | T

T 🡪 j R | ε

Q 🡪 i k | ε

## automata – Context Free Grammar to Chomsky Normal Form Help

I am trying to convert the following CFG to CNF:

``````S -> ABS | ε
A -> BSBa | a
B -> Ba | a
``````

The finally result looks like this:

``````S -> AS’ | AB
S’ -> BS
A -> S’B’ |BB’ | X
B’ -> BX
X -> a
Y -> b
B -> BX | XY
``````

I am fairly new to chomsky normal form, so can anyone verify that I did this right?

## php – WordPress permalink, show a product catagory page on a normal WP page

I’m not sure if I’m having a bad brain day but I am going round in circles with something I know is so simple. As a note, I am pretty new to developing in WordPress so apologies if it genuinely is something so simple.

Essentially I am needing to have a page (example.com/gear) show the exact same page as the category page for gear (example.com/product_catagory/gear).

Is there a way for the permalink to show the product category page without changing the permalink? Would it be better practice to use something like is_page( ‘gear’ ); and then create a partial to show category products? Or is there something so much simpler than I can look into using?

I am not wanting to change the permalinks for product_catagoy I just want a new page to show a product category page (gear).