Player going out of boundaries

So, I been following up the Space shooter tutorial on Unity, I had an issue where the project was acting up with an alpha version, so I was able to get a version that worked on a old release and applied all the new things I developed

But suddenly, my ship is acting up when getting closer to the boundary of its movement

This is the player movement code

public class playerMovement : MonoBehaviour { public float speed = 0.0f; public float tilt; public Boundary boundary;  void FixedUpdate () {     float moveHorizontal = Input.GetAxis("Horizontal");     float moveVertical = Input.GetAxis("Vertical");      var movement = new Vector3(moveHorizontal, 0.0f, moveVertical);     var rigidBody = GetComponent<Rigidbody>();     rigidBody.velocity = movement * speed;      rigidBody.position = new Vector3         (             Mathf.Clamp(rigidBody.position.x, boundary.xMin, boundary.xMax),             0.0f,             Mathf.Clamp(rigidBody.position.z, boundary.zMin, boundary.zMax)         );      rigidBody.rotation = Quaternion.Euler(0.0f, 0.0f, rigidBody.velocity.x * -tilt); }   }  [System.Serializable] public class Boundary {     public float xMin, xMax, zMin, zMax; } 

And this is the player boundary properties

enter image description here

It used to work previously moving forward to the alpha, now I’m working on 2019.2.0f1, but since working on the alpha this is the behaviour I’m having

enter image description here

As you can see, getting closer to the player boundary, takes the player out of the play area, and I can’t determine why this might be happening.

I already tried removing the Math.Clamp, as I though there migth be bug with the function in this version, but even without it, the problem is present.

Installations going to folder with less space

Whenever I install any software, it goes to shlok-Lenovo-Legion-Y530-15ICH and soon the free memory becomes so low that I cancel installation.Storage Screenshot

However when I check the storage of my home directory from files Properties , it shows over 73GB free memory , so I tried to install softwares in home\documents but still shlok-Lenovo-Legion-Y530-15ICH is used up.

How can I utilize the free space and install softwares at my desired directory

Magento 2.3.2 – Switch Website (store) without going to base URL

I’m using the following code to switch websites.


<?php /** @var \Magento\Store\Block\Switcher $  block */ $  viewModel = $  block->getData('view_model'); $  websites = $  viewModel->getWebsites(); $  websiteid = $  viewModel->getWebsite()->getWebsiteId(); ?> <div class="switcher store switcher-store" id="switcher-store">     <strong class="label switcher-label"><span><?php echo __('Choose your Country') ?></span></strong>     <div class="actions dropdown options switcher-options">         <?php foreach ($  websites as $  website): ?>             <?php if ($  websiteid == $  website->getId()): ?>                 <div class="action toggle switcher-trigger"                      role="button"                      tabindex="0"                      data-mage-init='{"dropdown":{}}'                      data-toggle="dropdown"                      data-trigger-keypress-button="true"                      id="switcher-store-trigger">                     <strong>                         <span class="<?php echo str_replace(' ', '-', $  block->escapeHtml($  website->getName())) ?>">                             <strong><a><?php echo $  block->escapeHtml($  website->getName()) ?></a></strong>                         </span>                     </strong>                 </div>             <?php endif; ?>         <?php endforeach; ?>         <ul class="dropdown switcher-dropdown" data-target="dropdown">             <?php foreach ($  websites as $  website): ?>                 <?php if (!($  websiteid == $  website->getId())): ?>                     <li class="switcher-option view">                         <span class="flag-icon <?php echo str_replace(' ', '-', $  block->escapeHtml($  website->getName())) ?>">                             <a href='<?php echo $  website->getDefaultStore()->getBaseUrl() ?>'>                             <?php echo $  block->escapeHtml($  website->getName()) ?>                         </a>                         </span>                     </li>                 <?php endif; ?>             <?php endforeach; ?>         </ul>     </div> </div> 

However, when a product page is accessed on a particular website and then the website is switched it goes back to the base url of the website switched to.

For example

Different websites are


URL that is accessed is and say you switch to the US website, it goes to instead of

How can I get it to switch to the same page but on the other website.

After Logging going to black screen

I recently tried to update my graphics cards without fully knowing what I was doing, and then after getting the updates for Ubuntu downloaded and installed I restarted my HP EliteBook 8440P laptop. Now, when I try to log back in(and I’ve tried on both of my accounts), it goes to a black screen, and sits there indefinitely. I’ve scrolled through several threads on this forum and others on problems that are similar to mine, such as the Login loop thing, which I don’t seem to have a loop like that. I tried doing Control+Alt+F2 as well to attempt to restore my graphics cards, but the text in the terminal is just off the screen, at the top, so that I can’t tell what is there or if I logged in or what. I’ve gone into the BIOS and looked around but I’m an amateur at this, obviously, so I didn’t see anything that would help. Any help would be appreciated on how I can fix this, or if it is fixable.

If I haven’t given enough info about my computer(HP laptop with Ubuntu Linux OS, obviously, installed, and Nvidia graphics card.) please tell me what else I need to post because I’m not sure what all information I need to share to have help getting this fixed.

What do I lose by going Paladin 17 / Warlock 3


I have a 9th Level Oath of Redemption Scourge Aasimar Paladin. My intention was to take levels 10, 11 and 12 into 3 Levels of Warlock and pick up the Celestial Patron with Pact of the Blade.

This character is the only divine member of the party. As such, he is the primary tank and primary support.


I know that I’ll be losing the Paladin’s Aura buff, but beyond that I see most people suggest Paladin 18 / Warlock 2 or Paladin 16 / Warlock 4. Why is this? What am I losing by only taking 3 levels of Warlock instead of 2 or 4?

Primarily I’m valuing the Paladin’s 5th level spell list as the reason to only take exactly 3 levels in Warlock.

Is super paranoid use of HaveIBeenPawned password API going to help?

They way I understand HaveIBeenPawned password API is that it’s a safe system because the site “can’t do much with my partial hash even if they wanted to”. But is that really true? Is the following scenario feasible?

  1. My password is thisisnotsecureanymore
  2. It’s SHA1 is 37cbd1e930b737e4bcbd149c2fcaccbe066ce9c4

  3. I submit (no match)

  4. HaveIBeenPawned turns to the dark side and starts recording my IP + request.
  5. I submit (no match)
  6. I submit (no match)
  7. I submit (no match)
  8. Over time HaveIBeenPawned gets more lists and there are 100 new 37cbd entries in it. Mine isn’t in there yet. Periodically they keep trying to brute force with all ~500 entries against login portal at the IP I’m running the API from (although they could probably just check the 100 new ones because if there was a match, I would soon change my password and stop hitting their API. The fact I keep checking is also a singnal for them)
  9. I submit (no match)
  10. I submit (no match)
  11. I submit (no match)
  12. HaveIBeenPawned gets 101st entry 37cbd1e930b737e4bcbd149c2fcaccbe066ce9c4 hash and doesn’t tell me about it.
  13. HaveIBeenPawned goes to my IP address and logs in with the clear text password.

The key to the vulnerability is that I keep coming to check the same hash (revealing that it has some value to me), but because HaveIBeenPawned sits on knowledge that I don’t have (news about my recently leaked password), they can use that against me. It’s a long game requiring patience, but I think it would be effective way to reduce search space.

I have two ideas how to thwart this vulnerability:

  • Use Tor to randomize my IP somewhat
  • Send 100 fake request for each real one. The signal is still in the noise it’s just little bit more burried now .. is it burried enough?
  • Is there a better way?

If your answer, is “HaveIBeenPawned would never do that, If you don’t trust HaveIBeenPawned, then just don’t use them” I already know that. My question is “Can I use HaveIBeenPawned more safely even though I don’t fully trust them”