html – How can I scale down a website without changing every single font-size, image-size, button, etc

So I’m working on a website for training purposes and just expanding my skill in general. I’ve got a fully fleshed out site, looks fantastic, however — a few people have noted that it seems just a little too….big. Not sure how else to put it other than this: It looks like it’s SUPPOSED to look like when the browser is at 80% zoom. But at 100% zoom it looks a little too big. Is there anyway to kind of just scale down the site as a whole?

I’ve tried using transform: scale(x); in the body but that is just absolutely terrible and not what I wanted, and I honestly don’t know a whole lot about HTML/CSS to know what to look for / what to use and how to use it to really tackle this problem.

And when I say that going through the website and manually resizing all the fonts, images, buttons, and literally anything else is NOT possible, I mean that it is seriously not possible with the time given to me to do.

Anyone have any ideas?

web server – Understanding and changing of TCP priority

There is a busy web-server that has too many visitors, most of the time, it takes lot of time to place my order in that website.
First of all, it is not clear for me that how the web-server decides what packet to process first and in what order the others would be processed?

and my other question is that ,is it some how possible to manipulate packets with some tools like Scapy to have a better priority ?

plotting – BarChart – Maintain ChartElementFunction when changing PlotRange

Here is a BarChart of some data

data = {90, 91, 95, 103, 107, 102, 107, 105, 98, 96}

{90, 91, 95, 103, 107, 102, 107, 105, 98, 96}

BarChart[data, ChartElementFunction -> "GradientScaleRectangle"]

enter image description here

When I add PlotRange the color goes away.

BarChart[data, ChartElementFunction -> "GradientScaleRectangle", 
 PlotRange -> {80, 120}]

enter image description here

Is it possible to work around this?

plotting – Changing colors of functions in plot/manipulate

I would like to illustrate the functions with gray for initial values and colors for manipulated values. I know how to change ColorThemes but not how to specify colors/line properties for specific functions.

Ideal would be f(5,x) and g(5,) in gray (potentially dashed) and then the standard color theme (blue, orange – solid).

Clear("Global`*")
f(a_, x_) := a + x^2;
g(b_, x_) := b + x;

Manipulate(
 Plot({f(5, x), g(5, x), f(a, x), g(b, x)}, {x, 0, 100}, 
  PlotRange -> {25, 500} ), {{a, 5}, 0, 100}, {{b, 5}, 0, 100}, 
 Button("Reset", {a = 5, b = 5}))

Thank you!

Gimp insists on changing Epson SC-P800 black to photo black on plain paper

I’m trying to print an image on plain paper with an Epson SC-P800 printer using GIMP 2.10 on MacOS 10.14.6 (Mojave). I can find no setting in the print or page-setup dialogs to set which black ink is used. When I attempt to print the printer is prompting me to switch to Photo Black.

Has anyone made this work?

Changing variable outside the loop in python

I want to ask if there is a possibility to make num variable change itself with every next iteration? Function digits_product(num) multiplies number’s digits, and I would like it to do that until product is equal to 0 or is only 1 digit long. (Oh, and I used num variable in different loops in this code before)

for num in numbers:
    power = 0
    while digits_product(num) != 0 and len(str(digits_product(num))) != 1:
        num = digits_product(num)
        power += 1

oracle – How to dynamically transpose data into with changing column headers with or without pivot/pivot xml?

I have 2 scenarios for dynamic pivoting.

Scenario 1:

In the first case,I i need to pivot the data where data source is same table. However the pivot needs to be dynamic as the columns header would keep changing as per column app_id. So if app_id=1. The column header would be A,B,C,D, If app_id=2, column would be CDEF and so on. Also each set of value has an id. So for id, 120 and app_id=1 , column A,B,C,D, would display the values and so on.

The current sample data has only 2 app_ids, but there could be many more, so app_id and labels would kepe changing thus i need to write a dynamic query.

Table is DATA_1
enter image description here
User: “image.png”
And expected output would be something like this.

P.S. Data is dummy and app_ids, and ids would keep getting inserted and removed with changing column headers,so a dynamic solution is needed.

enter image description here

Scenario 2:

Here were had the data in one table. Now we have separate table containing the labels and current table with values.

SO in table from scenario one we will focus on id, app_id and value columns only.

Select app_id,id,value from data_1;

The labels will come from another table DATA_Labels in column Header_Name:

User: "image.png"
So, for labels we would use header_names. And Data_1 and Data_Labels could be joined on basis of app_id.

In case the values exceed column headers, we can assume that the headers would reach say maximum 20. And in case the header/name is not available, it could put some default header name like COL11,COL12 if the value stretches upto there.

I did lot of research but most solutions are too complex and confusing. Any leads would be appreciated.

The solution could be with/without pivot or we can also use collections/arrays if possible. ANything that helps in changing the headers dynamically.

nt.number theory – Is finite field version kakeya conjecture still true when changing the line of every direction with only 2(or several but not the full line)element?

The classical finite field Kakeya conjecture state as following (for conveinent, all version of kakeya conjecture is state in hasdorff dimension version):
$mathrm{Finite Field Kakeya Conjecture}$: Let $mathrm{F}=mathrm{F}/mathrm{qF}$ be a finite field, let $K subseteq mathrm{F}^{mathrm{n}}$ be a Kakeya set, i.e. for each vector $y in mathbf{F}^{n}$ there exists $x in mathbf{F}^{n}$ such that $K$ contains a line ${x+t y: t in mathbf{F}}$. Then the set $K$ has size at least $c_{n}q^{n}$ where $c_{n}>0$ is a constant that only depends on $n$.

…………………(*)

The Drir’s proof to finite field version of Kakeya conjecture is elegant and influential.
On the other hand, it seems the corresponding version of (*) in $mathrm{R^n}$ is that,

a set $K$ if satisfied, for every $theta in S^{n-1}$ $K$ contain a line $l_{theta, a_{theta}}$ and $l$ has direction $theta$ , then the haussdorff dimension of $K$ is $n$.

But this version in Euclidean space is not essential difficult, in particuler because every line in $R^n$ is not compact and a suitable infinite sequence of line shall group a set which has hausdroff dimension $n$. The original version of Kakeya conjecture in $R^n$ change line to a segement with length 1. So, is there a possibility that a more subtle version of finite field analoge of Kalaya conjecture maybe true? i.e.:

$mathrm{Version 1}$: Fix a sequence ${a_n}_{n=1}^{infty}$, $a_{n} to infty$ as $n to infty$ and we define a set $K$ in $F_{p_n}^m= (Z/Z_{p_n})^m $ to be a Kakeya set iff for every vector $vin F_{p_n}^m, vneq 0 $, such that $K$ contain consecutively(or not) at least $a_n$ point in a line ${x+t v: t in mathbf{F}}$ for some $xin F_{p_n}^m$, i.e. contain every direction line with
at least $a_n$ elements, then exist $c>0$ only depend on $m$ such that $|K|geq cp_n^m$?

or more easier problem(compare with version 1) but the directly use of polynominal method
Invalidation is a following:

$mathrm{Version 2}$: we define a set $K$ in $F_{p_n}^m= (Z/Z_{p_n})^m $ to be a Kakeya set iff for every vector $vin F_{p_n}^m, vneq 0 $, such that $K$ contain consecutive(or not) at least $p_n^{frac{1}{2}}$ point in a line ${x+t v: t in mathbf{F}}$ for some $xin F_{p_n}^m$, i.e. contain every direction line with
at least $p_n^{frac{1}{2}}$ elements, then exist $c>0$ only depend on $m$ such that $|K|geq cp_n^m$?

for $mathrm{Version 2}$, the polynomial argument gain a bound $O(p^{frac{n}{2}})$ which coincide with the combinatorics argument two point depending a line. And it is esay to show if take $a_n=2, forall n in N^*$ in $mathrm{Version 1}$, then this set $K $ in general do not have full dimension, this corresponde to the situation in $R^n$ when we have a scale $delta$ kakeya set but instead of $T^{delta}_{a_{theta},theta}$ is a $1times delta^{n-1}$ tube, we only have a $O(delta) timesdelta^{n-1}$ tube.

unity – UI Button sprite not changing on click

I’m trying to make the sprite of my button change on click, and i used this script to achieve it:

public Button botonPlayMaster; //i assign the button on the inspector
Image imagenBoton; 
public Sprite botonPlay; // same with the sprites, i send them on the inspector
public Sprite botonStop; 
    
    
    // Start is called before the first frame update
    void Start()
    {
        imagenBoton = botonPlayMaster.GetComponent<Image>(); // i get the component from the button
    
    }


public void cambiaSprite (){
        if (imagenBoton.sprite == botonPlay) {
            imagenBoton.sprite = botonStop;
        }
        else 
            {
                imagenBoton.sprite = botonPlay;
            }
    }

This script is attached to a GameManager GameObject. I assign the sprites and the GameObject Button on the inspector, and then send the GameManager object to the OnClick() function on the button’s inspector and select the cambiaSprite() function. But when i click, nothing happens. Any help would be appreciated. Thanks!