Different sized subplot in tex file

I am looking for a way to create subplot like following

enter image description here

I have created a fig_subplot.tex file

begin{subfigure}[b]{.48linewidth}
    centering
    includegraphics[width=.99textwidth]{1.eps}
  end{subfigure}%   
  begin{subfigure}[b]{.48linewidth}
    centering
    includegraphics[width=.99textwidth]{2.eps}
  end{subfigure}\%  
  begin{subfigure}[b]{.48linewidth}
    centering
    includegraphics[width=.99textwidth]{3.eps}
  end{subfigure}%
  begin{subfigure}[b]{.48linewidth}
    centering
    includegraphics[width=.99textwidth]{4.eps}
  end{subfigure}%

and addede it to my main.tex file

begin{figure}[htb]
centering
input{fig_subplot}
caption{4x4 grid}label{fig:3}
end{figure}

But how do I add tall rectangular box labeled “5” in my fig_subplot.tex.

Encryption key split into parts and stored in different places

Say, I have encrypted data in a database. How wise is it to break a secret encryption key into several parts and save each one in a different place?

Namely:

key1 = get_key1_from_remote_server()
key2 = get_key2_from_env_variable()
key3 = get_key3_from_some_protected_storage()

full_key = key1 + key2 + key3
enc_data = encrypt(data, full_key)

Thus a hacker will have to gain access to all those locations to decrypt data.

Is this more secure than to have a whole key stored in one place?

Different values of the numeric integral evaluated by using different methods

Consider the space of three variables $x,y,z$ defined in the ranges
$$
tag 1 x in (0,pi), quad y in (0,pi), quad zin (0,2pi),
$$

and the following UnitStep “projector”:

Cos[Alpha][x_, y_, z_] = Cos[z]*Sin[x]*Sin[y] + Cos[x]*Cos[y];
E1crit[m1_, m2_] = (m1^2 + m2^2)/(2*m2);
Cos[Alpha]crit[E1_, m1_, m2_] = 
  If[E1 < E1crit[m1, m2], -1, 
   1/(2*m2) Sqrt[4 E1^2 m2^2 - m2^4 - 2 m2^2 m1^2 - m1^4]/Sqrt[
    E1^2 - m1^2]];
Projector[E1_, m1_, m2_, x_, y_, z_] = 
  UnitStep[Cos[Alpha][x, y, z] - Cos[Alpha]crit[E1, m1, m2]];

Here $E_{1},m_{1},m_{2}$ are parameters. It turns out that for values $E_{1} the projector is simply identity for the whole domain $(1)$.

Now I define the integrals of some function function with the projector evaluated above using two different evaluation methods (using UnitStep and using ImplicitRegion):

M2=6.3;

IntegratedProjector1[E1_, m1_, function_, method_] := 
 NIntegrate[
      function*Projector[E1, m1, M2, x, y, z], {x, 0, Pi}, {y, 0, Pi}, {z,
        0, 2*Pi}, Method -> method]
RegionOfIntegration[E1_, m1_, m2_] := 
 ImplicitRegion[
  Cos[Alpha][x, y, z] - Cos[Alpha]crit[E1, m1, m2] > 
   0, {{x, 0, Pi}, {y, 0, Pi}, {z, 0, 2*Pi}}]
IntegratedProjector2[E1_, m1_, function_, method_] := 
 NIntegrate[
  function, {x, y, z} [Element] RegionOfIntegration[E1, m1, M2], 
  Method -> method]

I have two questions

1) Let's compare the values of IntegratedProjector1 and IntegrationProjector 2 for unit function, QuasiMonteCarlo method and particular values of $E_{1},m_{1}$:

IntegratedProjector1[0.5*E1crit[2, M2], 2, 1, QuasiMonteCarlo]
IntegratedProjector2[0.5*E1crit[2, M2], 2, 1, QuasiMonteCarlo]

The first integral gives reasonable value, while the second evaluates to 0. If I, however, change the method to Automatic in the second integral, it gives similar values for $E_{1} < E_{1text{ crit}}$. What can be a reason for this?

2) For $E_{1}gg E_{1text{ crit}}$ the first integral gives zero for Automatic method and non-zero for QuasiMonteCarlo, while the second integral gives zero for QuasiMonteCarlo and not zero for Automatic:

IntegratedProjector1[50*E1crit[2, M2], 2, 1, Automatic]
IntegratedProjector2[50*E1crit[2, M2], 2, 1, Automatic]

What can be a reason for this?

Different number of dispensers activated depending on orientation of redstone dust

I have a column of 4 dispensers, all facing the same direction (to the right). For demonstration purposes, each is loaded with a different color of shulker box.

redstone setup

In the above screenshot, the dispensers are situated next to a 1-tick pulse generator, but not connected to it. By placing redstone dust on either the diamond block or the gold block, the dispensers are connected to the circuit so that the button causes them to activate.

If redstone dust is placed on the diamond block, all 4 dispensers activate.

redstone on diamond, all 4 shulker boxes spawned

If redstone is instead placed on the gold block, only the top 3 dispensers activate.

redstone on gold, only top 3 shulker boxes spawned

Since the redstone dust is not powering the dispensers, I’m guessing this is some kind of block update issue, but I don’t understand exactly how it’s working. What explains this behavior and how can I predict how the dispensers will behave inside of more complex circuits?

I’m using 1.13.1 Java edition.

Different candle positions in coins with same OCHL values

Why do candles sometimes have different positions and sizes even when the open-close-high-low are all of the same value?

For instance in one coin I saw: DigitalNote(XDN) the price has been consistent at 0.00000030 for a while, yet the candles are of different sizes.

enter image description here

In this image, the last two candles both have O=0.00000030 C=0.0000030 H=0.0000030 L=0.0000030

Yet somehow the candles are of different sizes.

What’s going on?

Different transparency and colors stockings Halachic status

This is a follow-up question to Knee-high-skirts-become-the-standard-of-haredi-women:

I walked thru the Meah Shearim – Geulah neighborhoods this Shabbos and noticed that women of different Haredi communities wear stockings of different colors and transparencies: From Toldoys Aharon’s black and thick to Litvakes’ and Modern Orthodox’s see-thru. I assume that Halachicly they all should have similar levels of strictness, and nevertheless the huge difference.

What is the Halachic status of [different types of] transparent or body-color stockings for Haredi women? What is considered Mutar and what is only a Chumrah, so to speak?

PS: THis question (halachik-source-for-wearing-stockings) asks about wearing stockings and covering the calf part of the leg in general.

How to get k2 item and category to use different templates?

This is a very old problem, I asked it before but never got a satisfying answer.

By default, on a “k2 category” page, when you click one of the items, the “k2 item” page will keep using the current template that “k2 category” page is using. However, in most occasions, I’d want it to use its own template.

There are some workarounds, like setting hidden menu items for each k2 items(huge workload), or hacking some K2 file to change the way it builds item link(too rude). So my question was and still is, has there been any elegant way to do this?