When I have a giant Thunderbolt monitor plugged into my MacBook, I want windows arranged a certain way.  No full-screen apps, some apps are shown on my small laptop screen, other apps are shown on my Thunderbolt display.  When I unplug the Thunderbolt display, I would like programs arranged differently, e.g., the browser is a full-screen app.  Is there any program that will let me "save" my window state when I have an external monitor plugged in, and save another layout when I don't have any external display, and automatically switch between the two when it detects that external display has been plugged in or unplugged?  I'm on Mountain Lion on a MacBook Pro.
Here’s something that sucks:   Plug in external monitor to laptop (Mac OS X Leopard in my case). Arrange your windows to have the IDE on one screen and browser on another. (Etc etc.  Resize, rearrange, fuss, fuss, fuss.) Unplug monitor to run to a meeting, or whatever. Goto 1.   I’d like to replace step 2 with “computer remembers exactly how I had it and just puts it back that way”.  (I personally only need a solution for Mac but collecting solutions for other systems here might be useful to others.  I’m sure it’s a common problem.)
What's this? What is it? but not What's it? - Why? Can anyone give a cogent, simply described explanation of why the verb BE in:  What is it?  ... doesn't seem to be able to be contracted with the subject:  What's it? *  Compare the sentences above with:  What's this? What's that?  These are perfectly fine. In fact, the contractions here should be expected in almost all examples of spoken English. Answers with references to authoritative vetted sources would be greatly appreciated. Git - how to force merge conflict and manual merge on selected file Why are my sauces splitting? $a,b,c$ are real numbers $>0$. If $a+b+c=1$, show that $(a+\frac{1}{a})^2+(b+\frac{1}{b})^2+(c+\frac{1}{c})^2\ge\frac{100}{3}$ Aligning multiple points to line in QGIS? I would like to align multiple points to a line, or lines within a layer, using a specified tolerance or buffer around the line objects. Please refer to the sample sketch attached.  For the sake of this example, the points closest to the line in the BEFORE picture are within 5 map units of the line, while the outermost points are over 10 map units away. I would like to snap the closest points onto the nearest line, using a tolerance of 5 map units to achieve the result in the AFTER picture. What is the best method of re-rendering a web page on orientation change? Why is 24.0000 not equal to 24.0000 in MATLAB? I am writing a program where I need to delete duplicate points stored in a matrix. The problem is that when it comes to check whether those points are in the matrix, MATLAB can't recognize them in the matrix although they exist.  In the following code, intersections function gets the intersection points:  [points(:,1), points(:,2)] = intersections(...     obj.modifiedVGVertices(1,:), obj.modifiedVGVertices(2,:), ...     [vertex1(1) vertex2(1)], [vertex1(2) vertex2(2)]);   The result:  &gt;&gt; points points =    12.0000   15.0000    33.0000   24.0000    33.0000   24.0000  &gt;&gt; vertex1 vertex1 =     12     15  &gt;&gt; vertex2     vertex2 =     33     24   Two points (vertex1 and vertex2) should be eliminated from the result. It should be done by the below commands:  points = points((points(:,1) ~= vertex1(1)) | (points(:,2) ~= vertex1(2)), :); points = points((points(:,1) ~= vertex2(1)) | (points(:,2) ~= vertex2(2)), :);   After doing that, we have this unexpected outcome:  &gt;&gt; points points =    33.0000   24.0000   The outcome should be an empty matrix. As you can see, the first (or second?) pair of [33.0000 24.0000] has been eliminated, but not the second one.  Then I checked these two expressions:  &gt;&gt; points(1) ~= vertex2(1) ans =      0 &gt;&gt; points(2) ~= vertex2(2) ans =      1   % &lt;-- It means 24.0000 is not equal to 24.0000?   What is the problem?    More surprisingly, I made a new script that has only these commands:  points = [12.0000   15.0000           33.0000   24.0000           33.0000   24.0000];  vertex1 = [12 ;  15]; vertex2 = [33 ;  24];  points = points((points(:,1) ~= vertex1(1)) | (points(:,2) ~= vertex1(2)), :); points = points((points(:,1) ~= vertex2(1)) | (points(:,2) ~= vertex2(2)), :);   The result as expected:  &gt;&gt; points points =      Empty matrix: 0-by-2 Code: \documentclass[12pt]{article} \usepackage{pgfplots} \usepackage{float} \pgfplotsset{compat=1.17} \usepackage{tikz} \usetikzlibrary{shapes, arrows.meta, automata, positioning, matrix, calc} \usepackage[RPvoltages, american,siunitx]{circuitikz} \usepackage[margin=1in]{geometry}  \usepackage{steinmetz} \begin{document}         \begin{figure}[H]         \centering         \begin{circuitikz}             \draw(0,0) to[V = $\vec{V}_g$] ++(0, 3) to[R = 50 &lt;\ohm&gt;] ++(3, 0) to[C = 1&lt;\micro\farad&gt;, v = $\vec{V}_o$] ++(0, -3) to[short] ++(-3, 0);         \end{circuitikz}     \end{figure} \end{document}  Output:  As we can see, $\vec{V}_o$ is almost touching the capacitor. How to adjust the spacing for the voltage label? Actually, can  potentially solve the problem? Note that what I am trying to draw is based off of this: Why should the "H" option not be used in floats? Why are all of Mr. Shirley's gifts the same? Update  appear to have been updated recently (as of writing this the last update appears to have taken place on 3rd of June) to include the following statement:  The -d switch is necessary to upgrade from Ubuntu 18.04 LTS as upgrades have not yet been enabled and will only be enabled after the first point release of 20.04 LTS.  Also note that .  TLDR (as of 15 Aug 2020):   is the canonical tracking document for the first Focal Fossa point-release (20.04.1). It’s a live document. The Ubuntu release team will be updating it as we work on releasing 20.04.1. […] Upgrades from 18.04 to 20.04.1 are still disabled as we are working through a few upgrade blockers   Edit The answers (so far) do not answer the question. The question is pretty simple. Ubuntu.com points to a &quot;FinalRelease&quot;, which turns out to be a &quot;Development Release&quot;, see evidence below. I'm not asking how and when to upgrade. I'm pointing out what seems to me to be an apparent inconcistency (in semantics, linguistics, logic) in the way Ubuntu names or labels its releases. From an answer to the question I'd except someone to pick up and acknowledge this inconsistency. An answer could start with a &quot;Yes, ...&quot; or a &quot;No, ...&quot;, for starters. (Moreover, a good answer could distinguish between the release being in dev stage and/or the upgrade process (e.g. from LTS to LTS) being in dev stage, if appropriate.) This question, as I see it, is not a duplicate. Futher, I think it is a question which deserves a non-patronizing answer. Thanks.   indicates that today (23rd April 2020) the new Ubuntu 20.04 LTS is to be released.  See &quot;condensed screenshot&quot; here:  Indeed, it seems that that's what happened, see  and :  However, when following the instructions to upgrade (from 18.04 LTS to 20.04 LTS) found  and elsewhere (edit: actually , too!), even prior to the July point release, I'm a bit confused to see that the instruction is to use update-manager -d which also points to the &quot;Development Release&quot; (see screenshot below) rather than the &quot;FinalRelease&quot; (see screenshot and link above). Is the &quot;Final Release&quot; (which I'm after) the/a &quot;Development Release&quot;? Why isn't it called something like &quot;Production Release&quot; or &quot;Final Release&quot;? When will it no longer be referred to as &quot;Development Release&quot;? In July? I'm confused :( Why did the quality of terminators increase from movies 1 to 3? I have seen only the first three movies, so I don't know whether the other movies/TV series deal with this question or not. My main point is that in the movies, the terminator that travels back furthest in time is of the worst quality, and the quality increases with the time travel (meaning they travelled from a later time). What is a good explanation for this?  Note: I am not interested in the obvious not-in-universe explanation that they wanted something better and bigger for each new movie. Almost all standard sources on the existence of Majorana spinors (e.g. Appendix B.1 to Polchinski's "String Theory", Vol. 2) do so in a way I consider inherently ugly:   A priori, we are dealing with an irreducible complex representation $(V,\rho)$ of the Clifford algebra of signature $(p,q)$, i.e. generalized Dirac spinors. That Majorana spinors exist means abstractly that there is a  on $V$, i.e. a conjugate-linear map $\phi : V\to V$ with $\phi^2 = \mathrm{id}_V$ that commutes at least with the $\mathfrak{so}(p,q)$ action.  Every single source I can find for Majorana spinors uses operations like the transpose, complex conjugation and Hermitian adjoint on the $\Gamma$-matrices to obtain matrices acting on the same space. This is abstractly wrong, the transpose acts on the dual, the complex conjugation on the conjugate, and the Hermitian adjoint needs an inner product we have no reason for choosing. Of course, since $V$ is finite-dimensional, one can pick a basis and define the uncanonical isomorphisms to its dual and its conjugate, but I find this inelegant, particularly since the standard derivations require us to make a particular such choice with respect to the signs the $\Gamma$-matrices have under e.g. ${}^\dagger$. Finally, the Majorana spinors are usually defined by some equation involving an unnatural and arbitrary-looking product of $\Gamma$-matrices, which varies from source to source according to different sign conventions and sign choices made in the course of the derivation.  It's inelegant because the rest of the theory of spinors can be developed without making such uncanonical choices. Both the uniqueness of the dimension of the irreducible Dirac representations (there are two of them in odd dimensions) and the existence of the Weyl spinors in even dimensions can be derived purely from the abstract properties of the Clifford algebra, no choices made, no transpose, adjoint or conjugate occuring. The (admittedly slightly subjective question) is: Is there a way to show in which dimensions Majorana spinors exist that neither requires an uncanonical choice of basis nor arbitrary choices of signs?  Some partial results:   In even dimensions, the Dirac representation is necessarily self-conjugate since it is the only irreducible representation of the Clifford algebra, so all that is left to show is that a conjugate-linear $\mathfrak{so}$-equivariant map on it squares to $\mathrm{id}_V$ and not to $-\mathrm{id}_V$. However, I can't seem to exhibit any particular equivariant map on it that one could simply check for its square. In odd dimensions, one first needs to figure out whether the two inequivalent Dirac representations are conjugate to each other or self-conjugate.     As further motivation that a clear proof using only canonical properties of the Clifford algebra itself is required, consider the confusing and contradictory claims in the literature:   Polchinski, "String Theory", Vol. 2, p.434: $\mathrm{SO}(d-1,1)$ has Majoranas for $d = 0,1,2,3,4 \mod 8$, corresponding to a special case of $p-q = d-1-1 = 6,7,0,1,2 \mod 8$. Fecko, "Differential Geometry and Lie Groups for Physicists", pp. 651: $\mathrm{Cliff}(p,q)$ has Majoranas for $p-q = 0,2\mod 8$.  This clearly conflicts with Polchinski's claims e.g. for $d=3$. Figueroa-O'Farrill, , pp. 18: We have Majoranas for $p-q = 0,6,7\mod 8$ and "symplectic Majoranas" for $p-q = 2,3,4\mod 8$.   Note that these results conflict simply by the number of possible $p-q$ regardless of whether I've correctly taken care of the differing conventions of whether $p$ or $q$ denotes timelike dimensions. I have QGIS 1.8.0 installed via OSGeo Installer and work on win 7. All I need is to upload the shapefile to the database via this plugin. Unfortunately I am receiving an error:  Something's wrong: ["'shp2pgsql' is not recognized as an internal or external command,\n", 'operable program or batch file.\n']   How to install and configure shp2pgsql to make this plugin work fine? I am a total newbie to Ubuntu, and I'm not sure what to do here. I have a Toshiba Chromebook. I had a friend install the latest version of Ubuntu on it for me. For a while, the audio in Ubuntu was working fine, but now I can't hear any audio whatsoever.  How can I fix this? Why is the gap between the translation and the last line of the gloss so wide in my interlinear gloss? Java method dispatch with null argument Signature/date line with fixed width How does body fat leave your body? So I know that it’s not from tears or sweat because they are composed of mainly water and sodium, it’s not from going poo or pee as poo and pee are made of the parts of food that supply your body with no nutrients and your body also doesn’t “burn body fat” because there is a theory that no matter is ever destroyed so it’s none of those but another thing is it’s not your hair, ear wax, finger nails or anything of that sort because people can lose over 17 pounds in 3 months but you can’t build up that amount of hair , ear wax or whatever else in three months so how does body fat leave your body Best Practice for Forcing Garbage Collection in C#