Are the hotel staff happy when a customer stays in a hotel for a long time?

Often depends on the location and what they are aiming for.

For example, cheap hostels often have the rule that locals are not allowed to stay longer than about 2 weeks (to prevent people who use cheap accommodations from ruining the mood of the travelers who are looking for the hostel).

Also saw a similar limit for actual travelers – they want travelers, not backpackers on their work vacation, to use them as a base only. This can be for the mood or also because they can rely on the commissioning of activities that they receive, for example, from frequent different travelers.

A friend lived in a hostel in London for 18 months while working. I spent a few weeks in a single hostel in Argentina, Vancouver and Melbourne, Australia and got to know the staff, shared BBQs, drinks and the like.

2d – Enemy doesn't switch to jumping and falling animation and stays idle all the time

I want my enemy to switch to jump animation after he has finished his idle animation. So I called my motion script "void motion ()" and created an event that refers to motion () at the end of the idle animation. And then I created a jumping and falling animation and dragged it into the animator. I created 2 boolean values ​​in the parameter, jump and fall. Then I made transitions from idle to jump, jump to case and case to idle. If jumping is idle, the jumping is true and falling is false and so on. Everything should work properly, but somehow the enemy stays idle in his animation, even if he jumps. It could be the problem of the code, here is the code:

(SerializeField) private float leftCap;
(SerializeField) private float rightCap;
(SerializeField) private float jumpLength = 10f;
(SerializeField) private float jumpHeight = 10f;

(SerializeField) private LayerMask platformsLayerMask;

private Collider2D coll;
private Rigidbody2D rb;
private Animator anim;

private bool facingLeft = true;

void Awake()
{
    coll = transform.GetComponent();
    rb = transform.GetComponent();
    anim = transform.GetComponent();
}

void Update()
{
    if (anim.GetBool("Jumping"))
    {
        if (rb.velocity.y < 0.1)
        {
            anim.SetBool("Falling", true);
            anim.SetBool("Jumping", false);
        }
    }
    else if (coll.IsTouchingLayers(platformsLayerMask) && anim.GetBool("Falling"))
    {
        anim.SetBool("Falling", false);
        anim.SetBool("Jumping", false);
    }
}

private void Movement()
{
    if (facingLeft)
    {
        //test whether the froggo is beyond the leftCap
        //if it is not, then face right
        if (transform.position.x > leftCap)
        {
            if (transform.localScale.x != 1 && coll.IsTouchingLayers(platformsLayerMask))
            {
                transform.localScale = new Vector3(1, 1);
            }
            //check whether froggo on ground, if yes, then jump
            if (coll.IsTouchingLayers(platformsLayerMask))
            {
                //jump
                rb.velocity = new Vector2(-jumpLength, jumpHeight);
                anim.SetBool("Jumping", true);
            }
        }
        else
        {
            facingLeft = false;
        }
    }
    else
    {
        //test whether the froggo is beyond the rightCap
        //if it is not, then face left
        if (transform.position.x < rightCap)
        {
            if (transform.localScale.x != -1 && coll.IsTouchingLayers(platformsLayerMask))
            {
                transform.localScale = new Vector3(-1, 1);
            }
            //check whether froggo on ground, if yes, then jump
            if (coll.IsTouchingLayers(platformsLayerMask))
            {
                //jump
                rb.velocity = new Vector2(jumpLength, jumpHeight);
                anim.SetBool("Jumping", true);
            }
        }
        else
        {
            facingLeft = true;
        }
    }
}

}}

context free – CFG to CNF, but stays with the last steps

I learned about the conversion recently, but I seem to be stuck.

I need to convert the following CFG to CNF:

$ S → XY $

$ X → fig | aXb | e $

$ Y → c | cY $

  1. There's no S on the right, so I didn't have to add another one
  2. I have removed the zero productions $ X → e $

$ S → XY | Y $

$ X → fig | aXb | from | $

$ Y → c | cY | $

  1. I removed the piece production
    $ S → Y $ $ Y → c $ With $ S → c $

  2. There are no production rules with more than 2 variables

  3. I fight here. I am not allowed to have a terminal symbol and a variable together, but I am not sure how to get rid of them.

New grammar after step 4:

$ S → XY | c $

$ X → fig | aXb | from $

$ Y → ZY $

$ Z → c $

I managed to replace the c symbol with Z and added the new rule so this seems to be fixed. However, I'm not sure what to do with it $ aXb $.

Is that okay? If so, what should I do next?

Thank you in advance!

amazon web services – attempt to transfer domain from Area 53 to AWS: Namecheap stays on & # 39; waiting for approval by previous registrar & # 39;

The domains are .com and .org and I have both unlocked in AWS.

I have already used Area 53 to start the transfer, but as the title suggests: Namecheap is still waiting for AWS after about 24 hours with the message "Waiting for approval from previous registrar".

What am I doing? I have already paid a nameless amount for the transfer and am making the transfer special because I have so many problems with amazon.

Please help! If necessary, I can enter a picture description here.

Namecheap
Domain 1
Domain 2

sharepoint online – Flow stays stuck up

Troubleshooting Flow is a bit tricky because the UI does not show which step each item came from. So, your idea of ​​getting an item in the loop is good, but I expect you to do so until the check-out condition uses the checked-out field of the original "When creating a file" step. (The get element does not update these values.)

Instead, create a variable before the loop and initialize it to the current value of Checked out from the original trigger. Use the variable for the condition until until, and after the Retrieve item in the loop, set the value of the variable based on the result of the get item action.

Transit visa in Abu Dhabi for stays of more than 8 hours

We are two people traveling with Etihad Airways from Germany via Abu Dhabi to New Delhi, India. I am an Indian passport holder while my friend is a German passport holder. On the journey from Frankfurt to India our stay in Abu Dhabi is 8 hours and 15 minutes, while we return 15 hours.

Do we need transit visas, even if we are in the airport? I received two conflicting answers when I called Etihad's customer service number. One said that if we do not plan to drive outside the airport, we do not need one and another person said we need transit visas because the waiting time is more than 8 hours.

When I tried to apply for a transit visa through the Etihad Airways website, there is a mandatory field on the third page of the application, asking for "Guest Location in the UAE" and "Detailed Address".

My first confusion, do we need or do not we need transit visas? Second, if we do that, what do I specify as a local address?

Thanks in advance for any help!