calculus – Is there a way to link the value of the fractal dimension of a coastline with perimeter or area?

Thanks for contributing an answer to Mathematics Stack Exchange!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.

To learn more, see our tips on writing great answers.

computational geometry – An algorithm to split an area into multiple polygons based on other polygons intersection

I have a list of n polygons (A,B,C,D,E,...) which possibly intersect each other.

I need to find a new list of polygons (or multi-polygons) which looks like this:

(
Area only in A (A difference from the rest)
Area only in B
Area only in C
...

Area only in A and B (A intersection with B and difference from the rest)
Area only in A and C
Area only in B and C
...

Area only in A,B and C (A intersection with B and C and difference from the rest)
Area only in A,B and D 
Area only in A,B and E 
....

)```

The only way I can find is to iterate all the combinations and run a simple intersection/difference algorithms but the number rapidly increases. 

dnd 5e – Does Strahd von Zarovich’s Move legendary action trigger damage if he moves through an area of sunlight?

Rules as Written, Strahd (CoS, p. 239) won’t take any damage from moving through sunlight as a legendary action. He also won’t take damage from moving through an area of sunlight during his turn. He (and other vampires) only take damage if they start their turn in sunlight, per the following entry under “Vampire Weaknesses” (bold for emphasis mine):

Sunlight Hypersensitivity. While in sunlight, Strahd takes 20 radiant damage at the start of his turn, and he has disadvantage on attack rolls and ability checks.

In the context of a round in D&D 5th edition (which is 6 seconds long), this makes sense – if he starts his turn in sunlight, he’s spent at least a couple of seconds exposed to the sun. If he’s just running through, then it’s not long enough to cause damage.

Note that he will still suffer disadvantage on attack rolls and ability checks during this brief exposure.

Definite integral area problem

How can area of an odd be equal to zero as it’s clearly visible there area is twice time the area in first quadrant?

algorithms – Finding the area of a rectangle in python

Q: Standard input consists of exactly four integers, first x1 and y1, the coordinates of the bottom-left corner of a rectangle, then x2 and y2, the coordinates of the top-right corner.
Write a Python script named area-of-rectangle.py which outputs the rectangle’s area.

I’m SO stuck and have no clue what I’m doing. I wrote this

x1 = int(input())
y1 = int(input())
x2 = int(input())
y2 = int(input())
bottom_left = (x1 + y1)
top_right = (x2 + y2)
area = bottom_left * top_right
print(area)

IT’S ALWAYS WRONG. Please help 🙁

freedom of movement – I’m an Australian resident with a UK residence permit. Can I stay in the Schengen area for more than 90 days?

I assume that you’re actually a citizen of Australia, not just a resident, since that seems to be the interpretation under which the rest of the question makes the most sense. If that assumption is incorrect, please leave a comment on this answer, and I will change it as appropriate.

The UK residence permit has no bearing on your ability to spend time in the Schengen area. (Indeed, holders of residence permits for Schengen countries are technically limited by the 90/180 rule when it comes to spending time in other Schengen countries.)

Does anyone actually check? Sometimes they do. They maybe more likely to check when you leave than when you enter, since that will be their first opportunity to catch you if you overstay.

I suppose they don’t count all of everyone’s Schengen stamps every time they cross the border because that would be too labor intensive, but neither do they have a policy of routinely ignoring the issue. The potential negative consequences are severe, so you should think very carefully about whether you’re willing to risk it.

If you want to spend more than 90 days in the Schengen area, you should either plan to spread them out sufficiently or look very seriously at whether you can get a working holiday visa or other long-stay visa for your desired destination. This will give you 90 days out of 180 in the rest of the area.

uk – What do non-EU/Schengen citizens need to do when travelling within the Common Travel Area (CTA)?

Basic facts:

The Common Travel Area (henceforth CTA) consists of the UK, Guernsey, Jersey, the Isle of Man and Ireland.

Between the UK, Guernsey, Jersey and the Isle of Man, the border is fully open with no immigration checks. In addition, Guernsey, Jersey and the Isle of Man apply UK entry regulations and issue UK entry stamps in passports. Consequently, the UK is henceforth taken to include these territories.

With Ireland the situation becomes more complicated, as Ireland is not fully compliant with the open-borders concept of the CTA.

Specifically, non-EU/Schengen citizens are to receive an Irish entry stamp, even if arriving from the UK. For visa-free nationals, this lets them stay in Ireland for max 3 months, while for Irish visa holders the conditions of the visa apply.

On the contrary, those arriving in the UK from Ireland are not normally checked and are not to receive a UK entry stamp. Instead, non-visa nationals who entered the CTA through Ireland are allowed to stay in the whole CTA (incl. the UK) for the period authorised on entry to Ireland (usually 3 months), while UK visa holders are subject to the conditions of the visa regarding their stay in the UK.

Travel Ireland-UK

If entering the CTA through Ireland, non-EU/Schengen citizens receive an Irish entry stamp. If also holding a UK visa (or being exempt) they can then continue on to the UK without any formalities. Though spot checks happen at UK air/seaports and the Irish land border, no UK entry stamp is issued, nor is one required.

On the downside, this means the time those without a UK visa are allowed in Ireland also includes the rest of the CTA. For travellers visa-exempt for both the UK and Ireland, the visa exemption is 6 months in the UK but only 3 months in Ireland, meaning if e.g. a US-citizen visitor enters the CTA through Ireland, they’ll only be allowed 3 months in the whole CTA.

Legal residents of Ireland are conferred a 3-month deemed leave when entering the UK from Ireland.

Travel UK-Ireland

By air

At Irish airports, all international arrivals will clear Irish border control, so passengers arriving from the UK needing an entry stamp will receive one with no hassle.

By sea

When arriving by sea from the UK, border checks are often carried out, but not universally. If there isn’t a check, pedestrians and car passengers should seek out the INIS (in Dublin) or Garda (in Rosslare) to receive an entry stamp. If travelling by bus, you should contact border control in advance (for Dublin, BMU@Justice.ie; for Rosslare, +353 539 133 204), inform them of what bus you’ll be on and that you need an entry stamp.

By land from Northern Ireland

As stated on the INIS website, non-EU/Schengen citizens entering Ireland via the land border have to visit the INIS (in Dublin) or local Garda station (elsewhere) as soon as possible to obtain an entry stamp.

It is not known to the undersigned whether all Garda stations handle foreign entrants, or only dedicated ones – this is being verified with the Garda.

magento2.3 – Error filtering template: Area code is not set

I already create a custom email templates for magento. Everything works fine then this error appear in the email header.

enter image description here

here is my cli code

<?php

namespace  TestPaymentReminderConsoleCommand;
 
use MagentoFrameworkAppObjectManagerConfigLoader;
use MagentoStoreModelStoreManager;
use SymfonyComponentConsoleCommandCommand;
use SymfonyComponentConsoleInputInputInterface;
use SymfonyComponentConsoleOutputOutputInterface;
 
class CancelPendingOrder extends Command
{
    protected $objectManager;
    protected $cancelorder;
    protected $orderInterface;
    protected $creditmemoService;
 
    public function __construct(
        MagentoFrameworkAppObjectManagerFactory $objectManagerFactory,
        MagentoFrameworkAppState $state,
        MagentoSalesApiDataOrderInterfaceFactory $orderInterfaceFactory, // <-- this
        MagentoSalesModelServiceCreditmemoServiceFactory $creditmemoServiceFactory, // <-- and this
        IcubePaymentReminderHelperCancelOrder $cancelorder
    ){
        $this->state = $state;
        $params = $_SERVER;
        $params(StoreManager::PARAM_RUN_CODE) = 'admin';
        $params(StoreManager::PARAM_RUN_TYPE) = 'store';
        $this->objectManager = $objectManagerFactory->create($params);
        $this->cancelorder = $cancelorder;
        $this->orderInterface = $orderInterfaceFactory->create(); // <-- here
        $this->creditmemoService = $creditmemoServiceFactory->create(); // <-- and here
        parent::__construct();
    }
 
    protected function configure()
    {
        $this->setName('icube:paymentreminder:cancel')
            ->setDescription('Cancel all expired pending order');
        parent::configure();
    }
 
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->state->setAreaCode(MagentoFrameworkAppArea::AREA_ADMINHTML);
        $output->writeln('<info>Getting All Pending Order</info>');
        $registry = $this->objectManager->get('MagentoFrameworkRegistry');
        $registry->register('isSecureArea', true);
        $this->cancelorder->checkPendingOrder();
        $output->writeln('<info>Finish</info>');
        return 0;
    }
}

driving – As a Hungarian national, can I enter the Schengen area through Austria, while traveling from Tanzania?

I plan on traveling to Zanzibar, Tanzania. I would drive from Budapest to Vienna, then fly from there though either Doha or Dubai. As far as I know, this part of my itinerary would be difficulty-free, at least when it comes to coronavirus-related border closures and travel restrictions.

However, I’m not sure whether the same can be said about the return journey. I have been browsing this site for general information about the restrictions. I haven’t found the answer.

The question: is it possible for me to travel to Austria from Tanzania? The site doesn’t list my African destination in either the “open borders” or the “high-risk countries”, so I’m not sure whether it’s possible at all.

Thanks.

driving – As a Hungarian national, can I enter the Schengen area through Austria without a test, while traveling from Tanzania?

I plan on traveling to Zanzibar, Tanzania. I would drive from Budapest to Vienna, then fly from there though either Doha or Dubai. As far as I know, this part of my itinerary would be difficulty-free, at least when it comes to coronavirus-related border closures and travel restrictions.

However, I’m not sure whether the same can be said about the return journey. I have been browsing this site for general information about the restrictions.

The first part of my question: is it possible for me to travel to Austria from Tanzania? The site doesn’t list my African destination in either the “open borders” or the “high-risk countries”, so I’m not sure whether it’s possible at all.

The second part: The above site confirms it is possible to skip the testing/quarantine in Austria if you are only transiting through the country. Since I plan on driving back to Budapest immediately after arriving from Zanzibar, this condition will be met. However, the form I will have to fill clearly says that I will need to produce some evidence, such as ticket, taxi booking, etc., to prove that I actually intend to leave the country. Since I will be driving my own car, there will be no such document. Could it be a problem?

Thanks.