How to Triple Boot Windows 10 Windows 10 Insider and Ubuntu?
How can I install Windows after I've installed Ubuntu?
How and when is old-releases.ubuntu.com updated? Require v8 only contrib module with v9 patch How does the reparameterization trick for VAEs work and why is it important? How does the  for variational autoencoders (VAE) work? Is there an intuitive and easy explanation without simplifying the underlying math? And why do we need the 'trick'? android - out of memory exception when creating bitmap How to determine the direction of a wave propagation? In the textbook, it said a wave in the form $y(x, t) = A\cos(\omega t + \beta x + \varphi)$ propagates along negative $x$ direction and $y(x, t) = A\cos(\omega t - \beta x + \varphi)$ propagates along positive $x$ direction. This statement looks really confusing because when it says the wave is propagating along $\pm$ x direction, to my understanding, we can drop the time term and ignore the initial phase $\varphi$ while analyzing the direction, i.e. $y(x, 0) = A\cos(\pm\beta x)$, however, because of the symmetry of the cosine function, $\cos(\beta x)\equiv \cos(-\beta x)$, so how can we determine the direction of propagation from that?  I know my reasoning must be incorrect but I don't know how to determine the direction. So if we don't go over the math, how to figure out the direction of propagation from the physical point of view? Why $-\beta x$ corresponding to the propagation on positive x direction but not the opposite? What do you call someone that believes he is the only living being? What do you call someone that believes he is actually the only living being and that everyone and everything that exist (besides him self) is a state of his own mind? I am not referring to a How to create local total counters? I would like to write page numbers like this '7/9' in all minted environments of my document. The first number ('7') is the current page and the second number ('9') is the maximum number of page breaks the source file has been split into.  I was planning to use the package totcount but I realized that it was only considering the last value of the counter at the end of the document and it couldn't manage counters locally to an environment.  Here is a totally stupid example, but it illustrate the problem:  \documentclass{report}  \usepackage{totcount} \newtotcounter{sectnum}  \let\oldsection\section \renewcommand{\section}{%   \setcounter{sectnum}{0}%   \regtotcounter{sectnum}%   \oldsection% }  \let\oldsubsection\subsection \renewcommand{\subsection}{%   \stepcounter{sectnum}%   \oldsubsection% }  \begin{document}  \section*{One}  \subsection*{SectionOne} \thesectnum / \total{sectnum}  \subsection*{SectionTwo} \thesectnum / \total{sectnum}  \subsection*{SectionThree} \thesectnum / \total{sectnum}  \subsection*{SectionFour} \thesectnum / \total{sectnum}   \section*{Two}  \subsection*{SectionOne} \thesectnum / \total{sectnum}  \subsection*{SectionTwo} \thesectnum / \total{sectnum}  \end{document}   Gives:    Where we would have liked to have: '1/4', '2/4', '3/4', '4/4' and '1/2', '2/2'.  So, is there a way to get this kind of feature ? Hot and Week tabs not shown to non-logged in users (except on SO) Visiting a SE site without logging in, one can no longer access the tabs Hot and Week (except on StackOverflow). I believe this change hides the feature from those most likely to use it: casual, but repeated, visitors. A number of people visit SE sites such as Travel or Mathematics just to read the content. They have no intention to post, and consequently, no reason to register. It makes little sense to hide the Hot and Week lists from them.   I propose that the tabs  ... Hot | Week | Month should again be made visible to anonymous visitors on SE sites, as they are on StackOverflow. How do I create a dd IMAGE from LVM for recovery purposes Definition of electric charge and proper explanation FIELD_INTEGRITY_EXCEPTION: field integrity exception: unknown (invalid user or group: 005XXXXXXXXXXXX) I've a object called myobject__c. This object is private in OWD Setting.  Now when admin create a new record of this object then I want to share this record with a user(community user). For this I've written a code in trigger to create a sharing record of this object (myobject__Share).  But I am getting a problem of :-      FIELD_INTEGRITY_EXCEPTION: field integrity exception: unknown (invalid   user or group: 005XXXXXXXXXXXXX).   how can I solve this problem and second doubt is can we create share record for community user or not. Is it possible to connect two monitors on a laptop, one through HDMI and the other through DisplayPort? For example the Alienware m17x offers 3 connections, HDMI, DisplayPort, and VGA. Is it possible to connect two independent external monitors, one through the DisplayPort and one through the HDMI port? YA novel about dystopian future with non-human overlords and teenage heroes Convert a line drawing from raster to vector Why does a Lipschitz function $f:\mathbb{R}^d\to\mathbb{R}^d$ map measure zero sets to measure zero sets? Why does a Lipschitz function $f:\mathbb{R}^d\to\mathbb{R}^d$ map measure zero sets to measure zero sets?   It is easy to prove this statement if the domain is bounded. Is there any way to extend the argument to unbounded domains? Can anyone give me some hint, or show me a simple proof sketch? I want to return two objects from a Java method and was wondering what could be a good way of doing so?  The possible ways I can think of are: return a HashMap (since the two Objects are related) or return an ArrayList of Object objects.  To be more precise, the two objects I want to return are (a) List of objects and (b) comma separated names of the same.  I want to return these two Objects from one method because I dont want to iterate through the list of objects to get the comma separated names (which I can do in the same loop in this method).  Somehow, returning a HashMap does not look a very elegant way of doing so. How to find the square root of a permutation Observe that  $$\begin{pmatrix} 1 &amp; 2 &amp; 3 &amp; 4 &amp; 5 \\  2 &amp; 4 &amp; 1 &amp; 5 &amp; 3 \end{pmatrix} \begin{pmatrix} 1 &amp; 2 &amp; 3 &amp; 4 &amp; 5 \\  2 &amp; 4 &amp; 1 &amp; 5 &amp; 3 \end{pmatrix} =  \begin{pmatrix} 1 &amp; 2 &amp; 3 &amp; 4 &amp; 5 \\  4 &amp; 5 &amp; 2 &amp; 3 &amp; 1 \end{pmatrix},$$  so $\begin{pmatrix} 1 &amp; 2 &amp; 3 &amp; 4 &amp; 5 \\  4 &amp; 5 &amp; 2 &amp; 3 &amp; 1 \end{pmatrix}$ is the square of a permutation. More generally, how do I check if a permutation is square and how can I find its root? Any way to sync directory structure when the files are already on both sides? I have two drives with the same files, but the directory structure is totally different.  Is there any way to 'move' all the files on the destination side so that they match the structure of the source side? With a script perhaps?    For example, drive A has:    /foo/bar/123.txt /foo/bar/234.txt /foo/bar/dir/567.txt   Whereas drive B has:  /some/other/path/123.txt /bar/doo2/wow/234.txt /bar/doo/567.txt   The files in question are huge (800GB), so I don't want to re-copy them; I just want to sync the structure by creating the necessary directories and moving the files.  I was thinking of a recursive script that would find each source file on the destination, then move it to a matching directory, creating it if necessary. But -- that's beyond my abilities!  Another elegant solution was given here: I've grown quite fond of HTTP reverse proxies in our development environment and found the DNS based virtual host reverse proxy quite useful. Having only one port (and the standard one) open on the firewall makes it much easier for management.  I'd like to find something similar to do SSH connections but haven't had much luck. I'd prefer not to simply use SSH tunneling since that requires opening port ranges other than the standard. Is there anything out there that can do this?  Could HAProxy do this? How can I prevent spam on sites which I control? This is a general, community wiki question to address all non-specific spam prevention questions.  If your question was closed as a duplicate of this question and you feel that the information provided here does not provide a sufficient answer, please open a discussion on .    For purposes of this question, spam will include:   Any automated post Manually-posted content which includes links to spammers' sites Manually-posted content which includes instructions to visit a spammer's site