I have a player GameObject. There is a character attached to it and a camera (both are children of the player GameObject).  The over-shoulder camera is positioned nicely.  The player should appear on the left edge of the screen.  Now when I change the viewport / screen size and make it larger, the camera doesn't keep it's view. I can see in the Inspector that the camera's view changes.   I don't understand in which way it does that.   What would I need to do to keep the player always on the left edge, no matter what the screen resolution is?   Thank you.   The upper image shows how I have planned / developed the camera view. This is what the camera view should look like. The lower image shows how the camera changes at larger viewport.
My background and gameobjects are 2d sprites not UI images ,I want to know how to make my background scale with screen size and positions of 2d sprits on it don't change after building game (webGl) like scale canvas with screen size and anchor points in UI elements .  Before building the game   After building
Some days ago I realized that  (as well as ) never throw an IOException when writing, flushing or closing.  Instead it sets an internal flag (trouble=true) when an error occurs. It's not possible to get the exact exception, but only if there was some exception ().  My question is: why would one want to have such behavior? Isn't that bad API design? The wavefunction $\Psi(x,t)$ for a free particle is given by  $$\Psi(x,t) = A e^{i(kx-\frac{\hbar k}{2m}t)}$$  This wavefunction is non-normalisable. Does this mean that free particles do not exist in nature?  Why then do we use free particles $\psi(\vec{x}) = e^{ikz}$, for example, in scattering theory? Fisher Information of a function of a parameter Problems with # inside a verbatim that's inside a note I'm trying to use a # character inside a verbatim that's inside a note :   \begin{frame}[fragile]  \note{\begin{verbatim}  # \end{verbatim} }  \end{frame}   This produces the following errror :   >   ! Illegal parameter number in definition of \beamer@todo. >    to be read again>  >                     >   l.5 }   How can I write the # character in a way that doesn't break the latex compilation ?  Thanks in advanced,  PS : This is related to the following problem in pandoc : Who is the Lord, as referred to in the title? Frodo? Sauron? Someone else? Or is it more of an abstract title, not referring to a single person, like "He who wields the One Ring"? How is using a transformer for isolation safer than directly connecting to the power grid? How is using a 1:1 transformer safer than using the mains straight off? Is it because you can limit the current coming from the transformer whereas straight from the mains its not current limited? I fail to see how its "safer" when playing with electricity is dangerous. Could someone please explain why it is considered safer to be isolated by a transformer. What is the best way to level up in Clash of Clans Explicitly calling a default method in Java Making a logic circuit with only NAND GATES? How to check if a point is inside a rectangle? There is a point $(x,y)$, and a rectangle $a(x_1,y_1),b(x_2,y_2),c(x_3,y_3),d(x_4,y_4)$, how can one check if the point inside the rectangle? How can I run a Minecraft Server on multiple CPU cores? I am working on setting up a Minecraft server on a machine I have at home. This particular machine has two quad-core CPUs running at 2.0Ghz so I would like to take advantage of the number of cores and run a server with 4 or 6 of the cores. My server of choice is CraftBukkit, the latest version of which is craftbukkit-1.4.7-R1.0 and launched with a start-up script of:  "C:\Program Files\Java\jre7\bin\java.exe" -Xms1G -Xmx8G -jar craftbukkit-1.4.7-R1.0.jar"   The  says:     Minecraft servers, as of 1.1.0, can use multiple cores, so now they will not sit idle.   but does not really expand on this.  My questions, then:   Is it possible to set the number of cores the server uses? How do I do it - via start-up options, or other methods? Is it really worth it and would it make that much of a difference with a lot of players? Indefinite integral of secant cubed I need to calculate the following indefinite integral:  $$I=\int \frac{1}{\cos^3(x)}dx$$  I know what the result is (from Mathematica):  $$I=\tanh^{-1}(\tan(x/2))+(1/2)\sec(x)\tan(x)$$  but I don't know how to integrate it myself. I have been trying some substitutions to no avail.   Equivalently, I need to know how to compute:  $$I=\int \sqrt{1+z^2}dz$$  which follows after making the change of variables $z=\tan x$. What blocks can Endermen pick up and what blocks they can't? Having links relative to root? How can I center a too wide table? I have a document containing a table which is slightly too wide for the page. But instead of growing to the right side only, I would like to have it centered on the page.  I have tried to use the center environment but this doesn't seem to help. What is the cause of this sudden drop in CV queue size? If "I'm thinking" is correct, why isn't "I'm knowing" correct in formal English?  think+ing = thinking is correct know+ing  = knowing isn't correct   Why? Why is WebDriver instance declared static in Page Object model structure in Selenium? I am a complete newbie in Selenium and java in general. I am trying to use the Page object model with Page factory to create Page object class for the Login page of an application. I am reading lot of sample code on the web tutorials and there the "Webdriver"  reference is delared as "static". Is it that other classes can use the Base class driver instance?  package com.test.login;  import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy;  public class LoginPage {      **public static WebDriver driver = null;**      public LoginPage(WebDriver driver) {         this.driver = driver;            PageFactory.initelements(driver, this);     }      @FindBy(xpath = "//input[contains(@id,'username')]")     public WebElement User_ID      @FindBy(xpath = "//input[contains(@id,'password')]")     public WebElement Password;      @FindBy(xpath = "//input[contains(@id,'login')]")     public WebElement Login_Button;   LoginTestClass.java  public class LoginPageTest{     WebDriver driver;     LoginPage loginpage = PageFactory.initElements(Login.class); When induction proofs need a choice function Reading the comment to  the user makes the argument that one can pick a dense subset of a separable vector spaces without relying the axiom of countable choices. Since the comment got a lot of up votes, I guess it's correct, but to me this seems very strange. My rule of thumb was/is the following: We can get by without a choice function if   There is a canonical choice at each iteration. The proof doesn't actually require the iteration process to terminate.   None of these seem to be satisfied in the present case, unless there is a canonical choice for the dense subset, or the set is dense at some finite iteration, so my question is:   When can I tell if an induction arguments relies on the existence of a countable choice function? Upgrade to the specific php 7.1/7.2 from php 7.0 in Ubuntu 16.04 How can I upgrade to php 7.1 from php 7.0 in ubuntu 16.04 ?  If I do a php -v I get this message:  PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies     with Zend OPcache v7.0.8-0ubuntu0.16.04.3, Copyright (c) 1999-2016, by Zend Technologies