Transferring Windows XP Mode VM to Another Machine?
Can you transfer a Windows 7 XP-mode VHD to a new PC without the need for reactivation?
How can I automatically center an image? I use:  \documentclss{mwrep} ... \begin{figure}   \includegraphics{a.jpg} \caption[Long caption]{Caption} \label{pic-a} \end{figure}   How can I make images to be always visible on the center of page? (To be more specific: the center of the image should be between the left and right margin - I use different left and right margins). I don't want to put anything after every \begin{figure} in my document.  Important: I don't want to waste an entire page on a single image at the very center of the page. I want only horizontal alignment. (left &lt;-> right) I'm a first time Linux user. My laptop wasn't connecting to the wifi so I followed the instructions from .  On typing sudo apt-get update after that, I got this error:  E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list E: The list of sources could not be read.   What can I do? How to modify function argument? I'm trying to  when I run into this:     "You have already deleted 5 of your own posts today; further deletes are blocked"      I found conflicting information on this very annoying limit:   This post from May 25, 2010: . This is marked . If this is no longer the case, please edit that question and flag it as . Then , indicates that the problem has risen from the dead -- despite :     Each time that I've seen it (pruning subpar answers), it's been a user who is deleting their own redundant zero-upvote answers. Can you tweak the algorithm slightly so answers with less than one upvote don't count towards tripping this flag?     (Emphasis added.) :     I don't mind it when         cleaning up redundant answers on questions that have multiple alternate good answers   cleaning up old, "less awesome" answers that are no longer reflective of the user's current skill level         (Emphasis added.)     So why do we have barriers in place, to making SO answers less, "less awesome"?      Proposed Solution:  Please let us (¿once again?) delete an unlimited number of our own answers, when they have zero up-votes and are not marked as the answer.  Otherwise, please edit the linked questions to clear up the confusion. $x^y = y^x$ for integers $x$ and $y$ To my knowledge there are three types of acceleration when a body (e.g. a rod) is moving in a circle about an axis. These are:   Angular acceleration : this is the rate of change of angular velocity. Tangential acceleration : this is the linear acceleration of the system in a tangential direction to the circle and equals the radius times the angular acceleration. Radial/centripetal acceleration : this is the linear acceleration of the system that is directed inwards towards the center of the circle.   I also think there are two types of velocity:   Linear velocity: this is its velocity in the tangential direction and is constantly changing Angular velocity or angular frequency: this is the rate of change of angle.   Is the above correct? And have I missed anything? Yield return from a try/catch block $\mathbb Z[i]/ \langle 1+2i \rangle \cong \mathbb Z_5$ I am trying to prove that $\mathbb Z[i]/ \langle 1+2i \rangle$ is isomorphic to  $\mathbb  Z_5$.   The only thing that came to my mind was trying to apply the first isomorphism theorem using an appropiate function. If I consider the euclidean function $N: Z[i] \setminus \{0 \}  \to  \mathbb N$ defined as $N(a+bi)=a^2+b^2$, then I can express any element $z$ in $\mathbb Z[i]$ as $z=(1+2i)q+r$ with $N(r)=1,2,3,4$ or $r=0$.   If I define $f:\mathbb Z[i] \to \mathbb  Z_5$ as $f(x=(1+2i)q_x+r_x)=\overline{r_x}$, then it is clear that $f(x)=0$ if and only if $x \in  \langle 1+2i \rangle$. The problem with this function is that it doesn't satisfy $f(x+y)=f(x)+f(y)$ and it is not surjective for if $r_x=f(x)=3 (5)$, then if $r_x=a+bi$, we have $a^2+b^2=3$, which is absurd.  I don't know what else to do, any suggestions would be appreciated. How can I shorten my command line (bash) prompt? Currently, if you access a deleted question you will get a short message informing you that the question has been deleted. However, if you click on a direct link to a deleted answer or comment (which you can get via notifications), nothing is displayed.  This is naturally quite confusing as you will get the message about a new answer or comment via notifications, click on the link and simply see nothing.  Therefore, I propose to display some sort of message to the user, informing her/him that the answer or question has been deleted. Note that this is different from always showing a deleted answer/comment, as I specifically request it in case you access the specific URL.  One example for a comment would be:   One example for a deleted answer is:   This question is related to ,  but requests a feature to circumvent the problem altogether. Can I store all the content of my previous iPhone in a new iPhone using iTunes? Arrays, linked lists and other data structures in cmd.exe (batch) script Load external php library in custom module I’ve read a lot of topic on this but i can’t figure why it is not working for me.  I’ve built a custom module. It is working fine since return $output; in my controller class is working : I can see in front-end a page with my custom html.  I’ve written a script outside Drupal in order to test. Basically, i connect to a webervice and retrieve all the datas. It’s working fine.  Now, i want to execute that script inside the controller class.  I need to load an external php library to instantiate an object.  In my test php file (outside Drupal) a simple require_once is working.  require_once('nusoap.php');   But it is not working in my controller class.  So, i’ve activated the library module and do :  $path = libraries_get_path('nusoap') . DRUPAL_ROOT . '/modules/contrib/webservices_tr/webservices_dc/src/Controller/nusoap.php';  require($path);   It’s still not working.   Error message indiquactes :     Error: Class 'Drupal\webservices_dc\nusoap_client' not found   I’m sur the file path is correct because if i do this, i can see the content of the file.  echo file_get_contents(DRUPAL_ROOT . '/modules/contrib/webservices_tr/webservices_dc/src/Controller/nusoap.php'); die();   I’ve also tried this :  in nusoap.php (where there is the class i need to include),    namespace Drupal\webservices_dc;   and in module controller class :  use Drupal\webservices_dc\nusoap_client;   But it is still not working.  Finally, i’ve copied the content of the external php library inside the module controller and it is working.  So i’m nearly sure the issue is related to the loading of that external library.  What is the correct way to load external php library (and wait it is fully loaded) in order to use it in a custom module ? I would like to ask for some simple examples showing the uses of &lt;div&gt; and &lt;span&gt;.   I've seen them both used to mark a section of a page with an id or class, but I'm interested in knowing if there are times when one is preferred over the other. By looking at this picture:    The earth is near the center of the universe. I've read that the universe look the same no matter where the observer is located. It is the same distance everywhere.  So I understand that for general relativity the universe need to be homogeneous and isotropic, so it will look the same no matter where I am.  But what if I'm on one of the planets near the right or left of the image, then if I draw the same picture of the universe, but from my perspective, then I would be also located in the center? If that's not the case (I'm actually near an edge), then part of my sky would be completely dark, and all the sky that way won't be isotropic? I am using Windows 10. I am trying to install 1 open source software.  In the readme.txt of that software, it says it requires Visual C++ 2008 Redistributable. I found that my Windows already has Visual Studio 2012 Redistributable installed.  After I install the open source software, it seems that it is working, even though I haven't installed Visual C++ 2008 Redistributable.  Do I need to install Visual C++ 2008 Redistributable if my Windows already has Visual Studio 2012 Redistributable? Biblatex-apa style is missing a comma in the references. why? I have been trying to solve this problems for hours, but there is no solution in sight.  Until a few weeks ago, my biblatex-apa style was working like a charm. Although, after installing the updates and Biber, the reference section became a problem. It should display a journal article by two authors with a comma after the first author, but it doesn't:     Weber, M. &amp; Ruch, W. (2012). The role of character strengths in adolescent romantic relationships: An initial study on partner selection and mates’ life satisfaction. Journal of adolescence, 35(6), 1537–1546. doi:10.1016/j.adolescence.2012.06.002   it should look like this:     Weber, M., &amp; Ruch, W. (2012). The role of character strengths in adolescent romantic relationships: An initial study on partner selection and mates’ life satisfaction. Journal of adolescence, 35(6), 1537–1546. doi:10.1016/j.adolescence.2012.06.002   This is how my document looks like:   \documentclass[12pt, onecolumn]{apa6}   \usepackage[utf8]{inputenc} \usepackage[american]{babel} \usepackage{csquotes} \usepackage[style= apa, backend=biber]{biblatex} \bibliography{testbib} \DeclareLanguageMapping{american}{american-apa}   \begin{document}  Some text \parencite{Weber2012}.  \printbibliography \end{document}   And the BibTeX file:  @article{Weber2012, abstract = {}, author = {Weber, M. and Ruch, W.}, doi = {10.1016/j.adolescence.2012.06.002}, file = {}, issn = {1095-9254}, journal = {Journal of adolescence}, number = {6}, pages = {1537--1546}, pmid = {22749517}, publisher = {Elsevier Ltd}, title = {{The role of character strengths in adolescent romantic relationships: An initial        study on partner selection and mates' life satisfaction.}}, url = {http://www.ncbi.nlm.nih.gov/pubmed/22749517}, volume = {35}, year = {2012} }    I have tried various things so far, but none of it helped: e.g,   \renewcommand*{\finalnamedelim}{ \finalandcomma}   or  \renewcommand\finalandcomma{\addcomma}   Even in the biblatex manual, the reference examples of two authors is without the comma (it works for three or more authors). There should be a comma, according to . Why is that comma not there? And how could I insert that into my references? What is the limit of $n \sin (2 \pi \cdot e \cdot n!)$ as $n$ goes to infinity? Sharing Jupyter notebooks within a team I would like to set up a server which could support a data science team in the following way: be a central point for storing, versioning, sharing and possible also executing Jupyter notebooks.  Some desired properties:   Different users can access the server and open and execute notebooks that were stored by them or by other team members. The interesting question here is what would be the behavior if user X executes cells in a notebook authored by user Y. I guess the notebook should NOT be changed: Solution should be self-hosted. Notebooks should be stored either on the server or on Google drive or on self-hosted instance of owncloud. (Bonus) Notebooks will be under git versioning control (git may be self-hosted. Cannot be bounded to GitHub or something of that sort).   I looked into  and . With the former, I didn't understand how to allow cross users access. The latter seems to only support GitHub as the storage of the notebooks.  Do you have experience with either of the solutions? "Back" and "Install Now" buttons grayed out in 14.04 installer The "Back" and "Install Now" buttons are grayed out in the 14.04 installer. How do I restore them?