/home is on its own disk. Can I move that disk to a new install?
Re-install Ubuntu without losing data in home folder
Can "Wow!" be a sentence? The question is clear. Can "Wow!" be a sentence?  Imagine a hypothetical context where I'd utter something like this:     Wow! What an amazing idea! I should think about a way to push this fix.   We see "wow" in casual speech often. It bears punctuation marks (typically an exclamation mark, denoting the rising intonation) and a capital letter &mdash; just like all "regular" sentences.  On the other hand, neither Wow! nor What an amazing idea! contain any verbs. These certainly don't have any parts of speech in the other sentence, so what are they? Are they sentences or clauses? In other words, can "Wow!" be a sentence despite its lack of [any implied] verbs, and subsequently lack of any distinguishable predicates?  Please back up your answers with references. How do I select text nodes with jQuery? I would like to get all descendant text nodes of an element, as a jQuery collection. What is the best way to do that? I noticed that the paper size invoked by a4paper is not working right in my examples:  \documentclass[a4paper,11pt,oneside]{article} \begin{document} Test \end{document}   I checked with Preview.app and it tells me the paper size is 21.59 cm × 27.94 cm. A4 should be 21.0 cm × 29.7 cm.  When I use \usepackage[a4paper]{geometry} I notice a different size of the paper (it gets narrower) and Preview.app says: 21.01 cm × 29.71 cm, which seems right. I can reproduce this exact behavior with every class: article, book etc., scrartcl, scrreprt, etc., g-brief2 except memoir which gives me 21.01 cm x 29.71 cm    Is there something wrong or am I missing something? I have this file:  sometext1{ string1 }  sometext2{ string2 string3 }  sometext3{ string4 string5 string6 }   I want to search this file for a specific string and print everything before this string up to the opening { and everything after this string up to the closing }. I tried to achieve this with sed but if I try to print everything in the range /{/,/string2/ for example sed prints this:  sometext1{ string1 }  sometext2{ string2 sometext3{ string4 string5 string6 }   If I search for the string "string2" I need the output to be:   sometext2{ string2 string3 }   Thanks. How to play blu ray .mkv files on ubuntu 20.04 LTS? How to play blu ray .mkv files on Linux? e.g:1080p.BluRay.DD5.1.x264-NTb.mkv An idempotent operator is compact if and only if it is of finite rank In Visual Studio, How do I show all classes inherited from a base class?    For example, in ASP.NET MVC there are several '' types -- and they all inherit from / implement the base class ActionResult.    It looks like unless you just 'know' that View and Json are valid ActionResult types, there is no way you can easily find this information out.    Please prove me wrong.  Is there something in the object browser that makes this easy to find out?  I'm even up for suggestions of tools outside of Visual Studio to discover this information about various classes.  For example: is there something in Resharper that will help me out? Wikipedia introduces the vector product for two vectors $\vec a$ and  $\vec b$ as $$ \vec a \times\vec b=(\| \vec a\| \|\vec b\|\sin\Theta)\vec n $$ It then mentions that $\vec n$ is the vector normal to the plane made by $\vec a$ and  $\vec b$, implying that $\vec a$ and  $\vec b$ are 3D vectors. Wikipedia mentions something about a 7D cross product, but I'm not going to pretend I understand that.  My idea, which remains unconfirmed with any source, is that a cross product can be thought of a vector which is orthogonal to all vectors which you are crossing.  If, and that's a big IF, this is right over all dimensions, we know that for a set of $n-1$ $n$-dimensional vectors, there exists a vector which is orthogonal to all of them.  The magnitude would have something to do with the area/volume/hypervolume/etc. made by the vectors we are crossing.  Am I right to guess that this multidimensional aspect of cross vectors exists or is that last part utter rubbish? Terminal only shows up as a black window Number of ring homomorphisms from $\mathbb Z_{12}$ to $\mathbb Z_{28}$. Question:      Find the number of non trivial ring homomorphisms from $\mathbb Z_{12}$ to $\mathbb Z_{28}$. ($f$ is not necessarily unitary, i.e., $f(1)$ need not be $1$.)    Suppose $f$ is a ring homomorphism from $\mathbb Z_{12}$ to $\mathbb Z_{28}$.  Consider $f$ as a additive group homomorphism.  Let $k= |\ker f|$ and  $ t = |\operatorname{im}(f)|$. Then $k\mid 12$ and $t\mid 24$ and $kt=12$, by first isomorphism  theorem of groups.  There are two possibilities $k=3$, $t=4$   and $k=6$, $t=2$.  For the first case $f$ should map $1$ to an element of the subgroup generated by $7$ as there is a unique subgroup of $\mathbb Z_{28}$ of order $4$ generated by $7$. For the second case $1$ has to map to $14$, for the same reasoning.  So there are at most two ring homomorphisms from $\mathbb Z_{12}$ to $\mathbb Z_{28}$. Question is how to check the possible maps which are ring homomorphisms.  Thanks. Chapter 5: Are there multiple Endings? I just finished Episode 5 and wondered, if there were alternative endings or game branches. I brought the whole group with me, and am wondering what would have changed if different people accompined me, and if the episode is possible to play out differenly.      On my playthrough, Lee killed the stranger, and on the run back to Christa and Omid, was to weak to continue. Clementine shot him. Kenny died along with Ben after he fell off the building. And Lee was cut off Christa and Omid after they went over the "bridge" first. Story about lost colonized planet sent into orbit around "free" star MySQL strip non-numeric characters to compare I'm looking to find records in a table that match a specific number that the user enters.  So, the user may enter 12345, but this could be 123zz4-5 in the database. I imagine something like this would work, if PHP functions worked in MySQL. SELECT * FROM foo WHERE preg_replace(&quot;/[^0-9]/&quot;,&quot;&quot;,bar) = '12345'  What's the equivalent function or way to do this with just MySQL? Speed is not important. What is this shell/Bash syntax: someVariable=someValue someCommand One of my coworkers has provided me with a Bash syntax that I am unfamiliar with.  My Google foo has failed me on figuring out what it does and why/when I should use it.    The command that he sent me was of this form:  someVariable=something command   Initially, I thought that this was equivalent to the following:   someVariable=something ; command   Or  someVariable=something  command   But this doesn't appear to the be case.  Examples:   [Jan-03 11:26][~]$ # Look at the environment variable BAZ. It is currently empty [Jan-03 11:26][~]$ echo $BAZ  [Jan-03 11:27][~]$ # Try running a command of the same format     [Jan-03 11:27][~]$ BAZ=jake echo $BAZ  [Jan-03 11:27][~]$     [Jan-03 11:27][~]$ # Now, echo BAZ again. It is still empty:     [Jan-03 11:27][~]$ echo $BAZ  [Jan-03 11:27][~]$     [Jan-03 11:28][~]$     [Jan-03 11:28][~]$ # If we add a semi-colon to the command, we get dramatically different results: [Jan-03 11:28][~]$ BAZ=jake ; echo $BAZ jake [Jan-03 11:28][~]$ [Jan-03 11:28][~]$ # And we can see that the variable is actually set: [Jan-03 11:29][~]$ echo $BAZ jake [Jan-03 11:29][~]$   What does this syntax do?  What happens to the variable that has been set?  Why does this work? How do you convert a matrix to a cell array of equivalent size? Out-of-control starship results in some crew members landing in a rebirthed universe? Delete an old Facebook account Two years ago somebody made a fanpage for our company, but that person doesn't work here anymore. We don't have any login or password. We like to see that account be deleted, please. In the Landau theory of phase transitions, is the order parameter a thermodynamic variable of state? In the Landau theory of phase transitions, one typically considers a "free energy" $F$ as a function of the temperature $T$ and the "order parameter" $\psi$: $F(T, \psi)$.  For the sake of clarity, let's consider the liquid-gas transition, in which the order parameter is usually taken to be the difference of densities between the ordered phase and the disordered phase.  In this case, it looks that the order parameter $\psi$ is closely related to the the volume $V$, a global variable of state.  What is the correct interpretation of $\psi$ as a thermodynamic variable?   I consider several logical possibilities, but all interpretations look troublesome to me:    $\psi$ is a variable of state replacing the volume. In this case I have a few related concerns:   Is the "free energy" $F$ the Helmholtz or the Gibbs free energy?    If $F$ is the Gibbs free energy, $F$ should depend on the temperature $T$ and the pressure $p$ (the conjugate variable of the volume), so it shouldn't depend on $\psi$.  If it is the Helmholtz free energy, it's ok that it depends on $\psi$, but the experiments are usually carried out at constant pressure, not constant volume.  Usually, state variables are something one can select at will [for instance, think of the phase diagram $(p, T)$]. However, the order parameter $\psi$ is not selected at will, but it is selected by the system as a result of the minimization process according to the Landau theory.  $\psi$ is yet another variable of state in addition to volume and temperature.    Why the pressure is not usually taken into account as a variable of state, and only the temperature is considered? What is the conjugate variable to $\psi$? Can really $\psi$ and $V$ be taken as independent?  $\psi$ is not a variable of state, is something else.   What else can $\psi$ be from the thermodynamic point of view? Same question as above, why is pressure not usually taken into account in Landau theory? Consider I've set variable site and needs to be printed by echo or printf, but If I use single quote to write something and want to use variable then how?  Example:  $ site=unix.stackexchange.com $ echo "visit:$site" visit:unix.stackexchange.com   But If I use single quote:  $ echo 'visit:$site' visit:$site   Then we know that '' is strong quote and will not expand the variable   I've tried something:  $ echo 'visit:"$site"' visit:"$site"   but do not succeed. So, I am looking for way to print value inside variable while using single quote. Pointer to class data member "::*"