How does the 180 rule work for UK tourist visas?

I’m not an expert but I wouldn’t advise doing any of this. There are lots of stories on this site of people applying for a visa for, say, a three week visit, seeing that their visa is valid for six months and deciding to stay that long. Then they’re refused entry at the border because what they said on their visa application was wildly different to what they tried to do.

Your scenario has the same feel to it, except that the planned visit was longer so the extension isn’t as extreme. But, basically, you’re saying “Oh, wow, it says six months so I can stay that long! Cooooool!!”

You’re not allowed to use repeated trips on a visitor visa to effectively live in the UK. You’re proposing that your parents will spend approximately nine months out of a nine-and-a-half month period in the UK with you: that looks a lot like living in the UK. You’re then proposing that they return to India for a couple of weeks and then come back yet again, which sounds even more like living in the UK.

  1. Does their 180 days period gets reset when they left UK for Europe tour?

The six-month period applies to each admission to the UK, unless the immigration officer decides to admit them for a shorter period – or even not to admit them at all.

  1. Can I postpone their return travel to India by 6 months (Approx. Mid Sep 2019) after their return to UK on 26th March 2019?

You can but it would be a bad idea. It’s a real possibility that they will not be given a six-month entry when they return to the UK after their European trip.

  1. Is the 180 days criteria is Max. stay criteria in one year ? OR are they eligible to return to UK after spending 5 Months in UK within one year?

Six months is the maximum length of a single entry. There is no formal restriction on how many visits can be made or how long there has to be between them, but you are not allowed to live in the UK by making repeated visits on a visitor visa and, if they suspect you’re doing that, they won’t allow you to enter the UK.

  1. Lastly, can I re-book their return travel to UK from India in End Sep 2019?

You can do but that would be an extremely bad idea. By that time, they will have spent more than eight out of the last nine months in the UK and coming straight back again will look like they’re living in the UK and just leaving every now and again to reset the counter.

Multiple passports and the 90 / 180 rule

It may depend on the country you’re visiting, but in general the answer is no. Immigration rules typically apply to each traveler as a person, not to the document. Using different documents may make it more difficult for authorities to identify someone who has overstayed or entered improperly, but the fact that the traveler’s periods of stay may be difficult to link does not imply that the traveler’s stays in the country comply with its rules.

In addition to passport numbers, passports may be matched by other data, such as name, date of birth, and place of birth. Furthermore, passports lately include biometric information such as fingerprints, which almost always includes a digitized copy of the traveler’s image. Immigration authorities can also use these biometrics to match different passports to one another.

NGINX URL redirect matching a specific rule

I am not new to nginx but unfortunately never understood well the redirect/rewrite rules.
I have a dilemma and already tried what I know with no success.

What I want is a simple URL rewrite/redirect, when I type in browser bar:
the URL to automatically transform into the following and ofc showing the same content as original:

I already tried in many ways ex:

location /chart/{
      rewrite ^chart/((0-9)+)/?$ chart.php?id=$1 break;
      proxy_pass  _to_apache;

Many thanks in advance!

Quarantine Rule in New York

I am planning to visit New York from Dubai (UAE) in two weeks’ time. What is the Quarantine Rule in NY at the moment? Are tourist attractions open in NY?


Modify Apache rewrite rule for Nginx

How to rewrite this Apache rewrite rule for Nginx?

  RewriteCond %{REQUEST_URI} ^/api
  RewriteRule (.*) index.php (L)

I tried this but it doesn’t work, I’m getting HTTP 404 in /var/log/nginx/access.log

location ^/api/(.*)${
rewrite ^/api/(.*)$ /index.php last;

Htaccess redirect rule adds an unwanted variable

I’m trying to redirect logged-in users that land on a page to another page, but the redirect keeps adding the logged-in user’s name to the path / URL.

Say I’m logged in as Mario. The redirect includes that username into the redirected path, throwing up a 404 error.

Below is the content of the .htaccess file (without the redirect):

Options +FollowSymLinks
RewriteEngine On
AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch ".(js.gz|js.gzip)$">
  ForceType text/javascript
<FilesMatch ".(css.gz|css.gzip)$">
  ForceType text/css

RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run.php
RewriteCond %{REQUEST_URI} !/e500.php
RewriteCond %{REQUEST_URI} !/captcha.php
#RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.xml|.feed|robots.txt|.raw|/(^.)*)$  (NC)
RewriteCond %{REQUEST_FILENAME} (/|.php|.htm|.feed|robots.txt|sitemap.xml|.raw|/(^.)*)$  (NC)
RewriteRule (.*) index.php

This is my redirect:

Redirect /photo/useralbums /my-profile

The result is that the user ends up at: /my-profile/Mario

dnd 5e – Does the “Changing a Skill” optional rule from Tasha’s allow me to change a skill proficiency from the background for one offered by the class?

It’s up to the DM, but the language does not contain an explicit restriction.

The Changing a Skill section is actually quite short:

Sometimes you pick a skill proficiency that ends up not being very useful in the campaign or that no longer fits your character’s story. In those cases, talk to your DM about replacing that skill proficiency with another skill proficiency offered by your class at 1st level.

That this is entirely up to the DM is hard coded into this rule. That said, the language does not contain any restriction on which skills may be replaced, it simply says “sometimes you pick a skill”.

So this isn’t like an ability score improvement where I just pick what I want. I don’t have to talk to my DM when making a decision about an ability score improvement. Working with your DM on this is just part of the process.

Personally, I see no reason whatsoever to not allow you to change any skill proficiency you want. But your DM may see a reason, and that is okay too.

It should be noted that the Basic Rules encourage Customizing a Background:

To customize a background, you can replace one feature with any other one, choose any two skills, and choose a total of two tool proficiencies or languages from the sample backgrounds.

This further supports the idea that customizing your character is something that should be encouraged, including changing skills from your background.

dnd 5e – When using the Template variant rule from Xanathar’s Guide to Everything, do 5 foot wide Lines actually affect a 10 foot wide row of grid squares?

Xanathar’s Guide to Everything has a few variant options for playing on a Grid.

XGtE, Page 86:

… Choose an intersection of squares as the point of origin of an area of effect …

… If any part of a square is under the template, that square is included in the area of effect. …

Diagrams 2.1 & 2.2 show this, with the Cone’s origin being on the intersection. Its shadow clearly covers small sections of both squares just after the intersection.

PHB, Page 205:

A line extends from its point of origin in a straight path up to its length and covers an area defined by its width.

My interpretation is that this means using templates on grids increases the average Area of Effect size notably for Cones & Lines particularly.

Does that seem correct?

Visual example:
enter image description here

Which would affect all 4 enemies labeled 1 if the caster is the one labeled 2.

syntax – Partial derivative with chain rule

Given the problem

If $z=f(x,y)$, $x(s,t)=2s+3t$, $y(s,t)=3s-2t$, calculate $frac{partial^2z}{partial s^2}$.

how do I do type the command(s) to get to the answer
4frac{partial^2 f}{partial x^2}+12frac{partial^2f}{partial xpartial y}+9frac{partial^2f}{partial y^2}

I’ve tried various ways but to no success. TIA

packages – Get notation rule list so far

One can get list of every variable name so far by


Likewise, is there a code to get list of every user-defined notation rule(using notation package) so far? like


In that list, can I distinguish whether a notation rule is effective at present /or not?