Math – Align TextureRegion after rotating 180 degrees LibGDX

I'm trying to rotate a textured region 180 degrees and align it with the other half, but I couldn't do it successfully because after the rotation I got confused with the coordinates.
Then I draw the first half with this code:

batch.draw(pitchTexture,w/4f-pitchTexture.width/4f,h/2.5f-pitchTexture.height/2.5f,pitchTexture.width.toFloat()/2f,pitchTexture.height.toFloat()/2f)

I did this completely with trial and error and it looks like this, which is fine for me:
enter the description of the image here

So, with this code, I'm trying to draw the second half turned and align it with the first one so that it looks like a complete field. But I could not calculate the correct origin x, y y originX X. It proved complete trial and error and I suppose it is an incorrect way to do that.

        batch.draw(pitchTextureRegion,?,?,pitchTexture.width/2f ,pitchTexture.height/2f,pitchTexture.width.toFloat()/2f,pitchTexture.height.toFloat()/2f,1f,1f,180f);
// not sure about originX and originY

Lens – How to approach 180 degrees with a minimum fisheye look on iPhone X or 11?

I am trying to film my rugby practices with my iPhone and I wonder what is the best lens to capture the whole field without so much fish look.

I noticed that the new iPhone 11 (Pro) has an ultra-wide-angle lens of 120 degrees and, it seems, does not look fisheye. Can I buy a new iPhone Pro and add a lens to get a view of 120 to 170/180 degrees with a limited fisheye?

I really have no idea if the lenses are additive; If you add the same wide-angle lens to a 60-degree field of view lens and compare it with the addition to a 120-degree field of view lens, 120 will be incrementally wider than 60 based on the lens attributes ?

Or should I consider an anamorphic type lens, e.g.
https://www.shopmoment.com/shop/anamorphic-lens
Would this give me the desired look, where I can see almost the entire field assuming that the camera is not so far from the side of the field?

Sorry for the ignorance about the lenses, I really don't know much about how they work or if physics will simply make impossible what I am trying to do, but your help is greatly appreciated.

query performance: accelerate more than 180 rows returned with simple SELECT with PostgreSQL

I have performance issues in a SELECT statement that returns more than 180 of more than 220 million rows in my managed PostgreSQL. The structure of the table is as follows:

CREATE TABLE members (
    id bigserial NOT NULL,
    customer varchar(64) NOT NULL,
    group varchar(64) NOT NULL,
    member varchar(64) NOT NULL,
    has_connected bool NULL DEFAULT false,
    CONSTRAINT members_customer_group_members_key UNIQUE (customer, group, member),
    CONSTRAINT members_pkey PRIMARY KEY (id)
);

The "guilty" SELECT query is:

SELECT
    group,
    member,
    has_connected
FROM
    members
WHERE
    customer = :customer;

I already indicated the table:

CREATE INDEX members_idx ON members USING btree (customer, group, has_connected, member);

and the query behaves well for most of the customer value. However, I have a client, let's call it 1234, which represents 80% of the table, so the query planner prefers to scan the entire table according to the following result ̀explain analyze`:

Seq Scan on public.members  (cost=0.00..5674710.80 rows=202271234 width=55) (actual time=0.018..165612.655 rows=202279274 loops=1)
  Output: community, member, has_connected
  Filter: ((members.customer)::text = '1234'::text)
  Rows Removed by Filter: 5676072
Planning time: 0.106 ms
Execution time: 175174.714 ms

As I said earlier, my PostgreSQL is a managed instance of PostgreSQL 9.6.14 hosted on Google Cloud Platform with 10 vCPU and 30 GB of RAM. I am quite limited to the available indicators, so the only PostgreSQL options set in this instance are:

max_connections: 1000
work_mem: 131072 KB
maintenance_work_mem: 2000000 KB

What are my options to solve this problem and reduce the consultation time considerably, preferably below 30 seconds if possible?

limits – Calculate $ pi $ using $ pi = lim_ {n to infty} n sin frac {180 ^ circ} {n} $

How can the fact that
$$ pi = displaystyle lim_ {n to infty} n sin frac {180 ^ circ} {n} $$
be useful when calculating $ pi $? I mean, $ 180 ^ circ = pi $Isn't that a circular reasoning?

I came up with the idea that Lagrange interpolation could help, since each argument is divided by $ pi $, thus avoiding circularity when we choose to interpolate
$$ 0 a 0, , frac { pi} {2} a 1, , pi a 0, , frac {3 pi} {2} a -1, , 2 pi a 0. $$
This interpolation produces
$$ sin x approx dfrac {8x ^ 3} {3 pi ^ 3} – dfrac {8x ^ 2} { pi ^ 2} + dfrac {16x} {3 pi}. $$
But this is problematic since it is a polynomial and its behavior in $ infty $ it's very different from $ without $ to $ infty $, so that cannot be used. Using
$$ sin x = displaystyle sum_ {n = 0} ^ infty dfrac {(- 1) ^ n , x ^ {2n + 1}} {(2n + 1)!} $$
or
$$ sin x = x displaystyle prod_ {n = 1} ^ infty left (1- dfrac {x ^ 2} {n ^ 2 pi ^ 2} right) $$
it doesn't help, since the $ x $they are not divided by the corresponding powers of $ pi $; using such series or products to calculate $ pi $ It would be circular. So how can the question formula be used to calculate $ pi $?

HP proliant – DL 180 G6 high IOH temperatures

Currently I have been fighting noise coming from my server recently and I discovered that some fans were 100% all the time. He found that the IOH temperatures shown in the BIOS were higher than 92 ° with the enclosure closed and were only reduced to 81.5 ° with the service panel and covers removed. I have relentlessly searched for a solution for this, but I can't find one anywhere. I have replaced all thermal compounds as well. The only time the fans fall to approximately 50% is when it is completely started but nothing is plugged in except power. But as soon as the data flows through any of the ports, they increase to 100%. Only in fan 3, which is supposed to cool the IOH. I may be wrong, but I think 92 and 82 are too tall. I couldn't find anything that said it was normal.

Austria – I have two internship offers in Vienna, can I apply for more than 180 days in total?

I received two internship offers from different organizations at the UN in Vienna. One is 4 months and another is 2.5 months. The point is that the verbal note will be strictly awarded to my internship agreements. I will request the first visa-d first and then I will request the second visa. Is it possible to have two consecutive visas at the same time? If possible, is it okay to stay more than 180 days with two consecutive visas? Thank you very much for your help.

How is the United Kingdom 180 visa calculated?

Ok then i have a
5 years of multi visa entry United Kingdom

Valid as of May 2018.
May 2023

I have a stamp on (the visa page)
August 18, 2018

And other entry stamps on the opposite page.

How do I calculate 180 days per year?

It is from January to December

Or from August to August

Or what

And if I have entered the United Kingdom
From August 2018 to August 2019.
170 days total

In October the count is restored or what

It's very confusing since I have my sister studying here and my younger brother also started studying here
So I go and go a lot to review them
But calculating days is very confusing

Please advise

Modem Manager GUI – USSD does not work on Ubuntu 18.0

While running USSD using the Modem Manager GUI, I received the error message: "GDBusError free desktop ModemManager".

How did I save $ 180?

I found internet services where I recently brought spectrum services. I am satisfied.

Visa denials – Japan – More than 180 days in 1 year as temporary visitor

I am a US citizen with a US passport that enters Japan with a temporary 90-day visitor exemption. I usually stay between 85 and 87 days for every 90 days of temporary visitor exemption. I have many savings, I do not work in Japan and I mainly go to see the country and visit my girlfriend, so I do not do anything illegal.

I have been to Japan 4 times:

Year 1
1: October 26, 2017-20 January 2018 (A couple of days less than 90 days)

2nd: April 2, 2018 to July 2, 2018 (A couple of days less than 90 days
Total: around 175 days

Year 2
3: October 26, 2018 to January 20, 2019 (A couple of days less than 90 days)

4: March 10, 2019 – June 6, 2019 (A couple of days less than 90 days)
Total: around 175 days

Note: Immigration never said anything to me even though I stayed almost 90 full days per visit these 4 times.

I left Japan on June 6, 2019 to go to my home in the USA. UU For exactly one month and I will return to Japan within 10 days of July 7, 2019. I am concerned that I will be denied entry and not given another 90-day temporary visitor visa permit when I return because in the last year and I was 175 days and the year would "restart" on October 26, 2019.

I heard that the 180-day limit is not an official rule, but I'm not sure how strictly it applies.

Is it likely to be rejected by immigration or interrogated? What information / documents should I bring to improve my chances of being allowed? Would a letter of invitation from my girlfriend help?

I'm really worried about being on a US flight UU To Tokyo (around 20 hours) only to be rejected.