## 12.1.1 “Part” functionality having issues with Dataset

I made some large datasets of SEM micrograph images and metadata in 12.0 and they have been working no problem for several weeks. but now when I run the notebook in 12.1.1, it seems that it fails to define the Part of the dataset I need. I just reinstalled 12.0 and the problem is still happening now, so maybe I’m just an idiot.

## Is SEO effected by having a forward slash for the homepage? [duplicate]

Im refactoring how URLs work on my site. Is there an SEO difference when you have a forward slash or not for the homepage?

Eg

website.com?xxx 

Vs

website.com/?xxx 

## i do not have a passphrase for Kleopatra unless I forgot having one… how can i apply one or recover one [closed]

I am sure I was never asked to create a passphrase in Kleopatra.

In any case, I can’t find a forgot passphrase prompt.

## Having trouble plotting $y=\ln\left(T^{3/2}\right)$ and $y=\dfrac{1}{k_B T}$ on the same graph

Originally, I simply wanted a way to plot $$\ln(T^{3/2})$$ versus $$\dfrac{1}{k_B T}$$

But all that appeared was this:

In[20]:=Plot[ln[T^{3/2}], 1/{1.38 10^{-23} T} {T, 0, 10}, PlotLabels -> "Expressions"] Thread::tdlen: Objects of unequal length in {{7.24638*10^22/T}} {T,0,10} cannot be combined. Plot::pllim: Range specification {T,0,10}/{1.38 10^{-23} T} is not of the form {x, xmin, xmax}. 

So, I’m trying to plot a graph of $$y=\ln(T^{3/2})$$ and $$y=\frac{1}{k_B T}$$, where $$k_B\approx 1.38 \times 10^{-23}$$ and is the Boltzmann constant. $$T$$ is the thermodynamic (absolute) temperature.

In[17]:= Plot[y = ln (T^{3/2}), y = frac {1} {1.38  10^{-23}  T}, {T, 0.0001, 1000}, {y, 0, 100000}  PlotLabels -> "Expressions"] Plot::nonopt: Options expected (instead of {y,0,100000} PlotLabels->Expressions)  beyond position 2 in Plot[y=ln T^{3/2},y=frac {1} {1.38 10^{-23} T}, {T,0.0001,1000},{y,0,100000} PlotLabels->Expressions].  An option must be a rule or a list of rules. Out[17]=Plot[y = ln \!$$\*SuperscriptBox[\(T$$, $${\*FractionBox[\(3$$, $$2$$]}\)]\),  y = frac {1} {1.38 \!$$\*SuperscriptBox[\(10$$, $${\(-23$$}\)]\) T}, {T, 0.0001,    1000}, {y, 0, 100000} PlotLabels -> "Expressions"] 

I’m really stuck and don’t know what to do, I would prefer if the first method (by not letting $$y=…$$) would work but since it didn’t I tried the second way and that didn’t either.

Any hints or tips will be appreciated.

## Having a backdoor password for each user to allow impersonation

For some context, I want my api to be able to ‘impersonate’ (or connect as) a user on my ldap database as most of the api’s access controls are on the ldap database and tied to the user you are connected as.

In order to do this I have an idea where I will generate a random password for each user. The random password will then be encrypted with a key only the api has access to. The encrypted string will then be stored under the user’s entry. Now when the api wants to impersonate a user, it will get the encrypted string, decrypt it and then connect as that user.

How bad of an idea is this?

## Having problems with SQL injection with mysqli extension PHP

I am new to SQL injections, and people on Reddit asked me do the portswigger labs. Which I did up till before 2nd order ones. So I am pretty comfortable with usual SQL injections.

Now I have myself made a PHP website using mysqli extensions instead of mysql. So for example, a basic Query execution looks like:

//mysqli// $result = mysqli_query($ conn, $qry); instead of$ result = mysql_query(\$ qry);

========================================================================

So I asked others and found out that without proper sanitization or separate query builders, mysqli extension is as vulnerable as mysql extension. So, the app I made is too basic. It’s just querying the DB and spitting out results. It’s that simple. No sanitization is done.

But executing basic payloads like ‘+or+1=1–+ or anything basic, gives me the error:

mysqli_error() expects exactly 1 parameter, 0 given

So I tried a lot and can’t get past this error for anything I try. I simply can’t execute injections with mysqli extension. Any help is highly appreciated.

Thank You.

## What is the risk of having a 2FA key permanently plugged into my device?

Yubico offers the YubiKey Nano, a 2FA key designed to be left inside the device more or less permanently.

While it does add comfort to be able to just leave it plugged in, what risks would there be if the device was stolen?

From what I could gather, local device accounts would have the same level of protection as a regular passphrase would provide. Online accounts, depending on the setup, would either have no protection at all (e.g. through a “Remember me on this device” function), or the same protection as a regular passphrase.

Is there anything I am missing?

## How much should I adjust the CR of encounters to compensate for PCs having very little GP?

I’m planning on running a Pathfinder campaign in which the PCs have very little gold. How much should I adjust the CR of encounters to compensate? (If it’s important, the gp will be probably about 25%-50% normal)

## Having trouble with an assignment about sorting, the toilet stall problem

I’m in programming 2 and my professor is both unhelpful and a harsh grader. So I don’t want to take any chances so i wont get another F.

I’m sure this assignment is common enough that someone here has heard of it, Given a number of stalls, each stall should be filled in the midpoint of unfilled stalls. Currently, my code works for around 4-5 iterations, however it has to work for at least 30.

   {         for(int i=1;i<Stalls.length;i++)       {           if(Stalls[i]==false)           {             freeStallRange++;              i++;             }        }             Stalls[freeStallRange/2]=occupant;     }  

It looks blindingly simple right now, because I’m quite stumped at the moment, any assistance?

## Having trouble understanding a proof of Mahaney’s theorem

I was reading this blog post: https://blog.computationalcomplexity.org/2011/09/mahaneys-theorem.html?m=1, but I am not sure why a’ cannot be in between w_i and w_j in the case 1, and also why a’ cannot be in between w_0 and w_1 in the case 2. Can anyone give me some explanation?