Measuring a rectangle length and width from a data table

For a table with x, y, z data points:

{{0.9999, 0.9999, 1000}, {0.9999, 0.99991, 1000}, {0.9999, 0.99992, 
  1000},...., {1.0001, 1.00008, 50}, {1.0001, 1.00009, 50}, {1.0001, 1.0001, 
  1000}}

The z-value at x = y = 1 has a value equal to x in a rectangular pattern and equal to y centered on x = y = 1. Is there a way to determine the length and width for this rectangle? Or the number of x and y points that have the same z value for this rectangle? Here is the code that shows the central rectangle with a length of 9 points and a width of 5 points:

collatzStuffC = 
  Compile({{c1, _Real}, {c2, _Real}, {nStart, _Integer}, {nStop, 
_Integer}, {maxStepsToCheck, _Integer}}, 
   Module({stepsForEachN = Table(-1, {i, nStop - nStart}), 
     stepsForEachNIndex = Table(-1, {i, nStop - nStart}), n = -1, 
     m = -1}, Table(n = x;
     Table(
      If(n < 2 && i > 1, {-1, -1, -1}, 
       If(EvenQ(n), n = Round((n/2)*c1), n = Round((3*n + 1)*c2));
       m = i;
       {x, m, n}), {i, maxStepsToCheck}), {x, nStart, nStop})));
Options(collatzData) = {"Coefficient1" -> 1, "Coefficient2" -> 1, 
   "Start" -> 1, "Stop" -> 10, "MaxIterations" -> 100};
collatzData(OptionsPattern()) := 
  collatzStuffC @@ 
   OptionValue({"Coefficient1", "Coefficient2", "Start", "Stop", 
     "MaxIterations"});
collatzStuff(ops : OptionsPattern()) := 
 With({cd = 
    collatzData(
     ops)},(*this is just a bunch of vectorized junk to pull the last 
position before the {-1,-1,-1}*)
  Extract(cd, 
   Developer`ToPackedArray@
    Join(ArrayReshape(Range(Length@cd), {Length@cd, 1}), 
     Pick(ConstantArray(Range(Length@cd((1))), Length@cd), 
       UnitStep(cd((All, All, 1))), 1)((All, {-1})), 2)))

plots3Dlist = {};
startN = 2002;
stopN = 2002;
c1min = 0.9999;
c1max = 1.0001;
c2min = 0.9999;
c2max = 1.0001;
c1step = 0.00001;
c2step = 0.00001;
maxIterations = 1000;
For(abc = startN, abc <= stopN, abc++, 
 Print(StringForm("loop counter `` of ``", abc - startN, 
   stopN - startN));
 thisIsATable = 
  Table({c1, c2, 
     collatzStuff("Coefficient1" -> c1, "Coefficient2" -> c2, 
       "Start" -> abc, "Stop" -> abc, 
       "MaxIterations" -> maxIterations)((1, 2))}, {c1, c1min, c1max, 
     c1step}, {c2, c2min, c2max, c2step}) // Flatten(#, 1) &;
 AppendTo(plots3Dlist, 
  ListPointPlot3D(thisIsATable, PlotRange -> All)))
plots3Dlist
thisIsATable

This code comes from the other question here:

solve for two variables for each n related to the Collatz conjecture

I want to find the length and width of the rectangle for multiple charts, and then compare the length and width to see if a pattern exists.

css – Bring the Hero element to full width

I'm trying to learn a few new designs.

Consider this sample website:

Home

* please do not do that Not My design, I show it because that's the effect I'm aiming for.

The image of the boy actually sits in the hero element and somehow the designers have managed to design the element in full width (on all devices). On my side:

https://pb-gutenburg-tester.cloudaccess.host/

Although I coded it as:

.hero {
  height: 1334px;
    Width: 1110px;
    background-image: url("wp-content/uploads/2019/09/hpimage-2.jpg");
  color: transparent;
  background: #000000;
  padding: 0px;
    background-size: contain;
}

The container does not reach the pages of the pages (I marked the background in yellow to highlight it). Does anyone know how I can achieve the effect that I see on parkviewministries.org on my website?

Thank you very much,

Paul

css – adjust size (width) in input and list

I try to make one and a list are the same size within a page.

For control I have both values ​​at 100%, but when I create the result list, this is larger.

He I have it in one

When I make the list, it is left out and I understand that for this reason I do not get the right size.

These are the values ​​that I have in each of the elements:

.form-control {
  width: 100%;

.dropdown-menu {
  min-width: 100%;

Is there a way to control the size in this case?
I leave that so you can see the content CSS and a picture of what happens.

Enter image description here

https://139.162.206.138/bootstrap/autocomplete_v2/

Thanks!

Responsive Design – Is there browser width statistics versus monitor size?

Our analysis across multiple sites all show a significant increase in monitor size of 1440px +. Has anyone seen statistics about what browser size people are using?

Do people really go full width, or do they use larger screens for multitasking?

Does anyone know of a reliable method to measure this in Google Analytics?

images – ffmpeg cropping: & # 39; Invalid size too large or not positive for width & # 39;

I try to generate thumbnails of images with ffmpeg. The folder contains various JPEG files with different resolutions.

ffmpeg -y -i input1.jpg -filter_complex "scale=(iw*sar)*max(238/(iw*sar),358/ih):ih*max(238/(iw*sar),358/ih), crop=238:358" thumbnail.jpg

It works with most pictures in the folder though crop=238:358 will fail depending on certain image resolutions:

input1.jpg: 500x800 Resize and successfully crop

https://i.stack.imgur.com/vmNdT.jpg

input2.jpg: 470x800 Resizing and cropping fails:

https://i.stack.imgur.com/DP8E8.jpg

Invalid size too large or not positive for width & # 39; 238 & # 39; or height & # 39; 358 & # 39;

Since this is a script that processes a bunch of files, I'm looking for a solution that can handle all the images with customizations to the command

Diagrams – Limited tree width implies limited clique width

We have a graph G of tree width $ operatorname {tw} (G) leq k $, for some $ k in mathbb {N} $, I have seen an assertion that states that the clique width of the same graph is at most $ k cdot 2 ^ k $, This implies that in a tree decomposition of the graph we can construct a correct expression tree by using at most $ k cdot 2 ^ k $ Labels.

I suspect that $ k $ in decomposition we can "construct" a node of decomposition of the tree, i. H. no matter how the corner points are connected in a bag, we can easily connect them as we have $ k + 1 $-ish labels available. However, I do not fully understand how we can use that fact to construct the complete expression tree (and thus the $ k cdot 2 ^ k $-Expression).

How can we construct the right expression and prove that bound-width graphs are a subclass of finite clipped graphs?