I have a development setup of subdomains with apache/wamp, everything is working as I need with the "regular" setup and separately with the "xyz" setup, but I have to change the configuration and restart the server everytime I need a different setup.  Is there a way to have both setups working at the same time?  I'm looking for answer that allows me to access both setups at the same time without changing the urls or ports I use to access them.  this is my regular setup  &lt;VirtualHost *:9090&gt;     ServerName localhost.com     ServerAlias *.localhost.com     VirtualDocumentRoot u:\wamp\www\subdomains\%1     &lt;directory "u:\wamp\www\subdomains\%1"&gt;         Options Indexes FollowSymLinks         AllowOverride all         Order Deny,Allow         Deny from all         Allow from all     &lt;/directory&gt; &lt;/VirtualHost&gt;   This is my secondary (xyz) setup  &lt;VirtualHost *:9090&gt;     ServerName localhost.com     ServerAlias *.xyz.localhost.com     VirtualDocumentRoot u:\wamp\www\subdomains\xyz     &lt;directory "u:\wamp\www\subdomains\xyz"&gt;         Options Indexes FollowSymLinks         AllowOverride all         Order Deny,Allow         Deny from all         Allow from all     &lt;/directory&gt; &lt;/VirtualHost&gt;
This is a  about  the use of a *AMPP's stack.    I recently had a talk with some experienced people and they suggested to me not to use a WAMP stack, and instead install apache, mysql and php separately.  I don't understand why they have suggested this, though, so can anyone tell me?  Is there a particular disadvantage of WAMP, or a particular advantage to installing all of them separately?  Since a WAMP stack itself is composed of apache, mysql and php, then what's the difference between using the WAMP stack and installing them all separately?
I'd like to emulate HTML's infinite page height using LaTeX/XeTeX, i.e. have the PDF pages grow higher until a manual \newpage is issued.  This could be emulated by setting a very large page height and using pdfcrop on the output (or just setting the page height manually), but I'd like a pure TeX variant and if possible support for footnotes etc at the bottom of the cropped page. "Repository doesn't support architecture" when trying to update on Landscape client How to disable Mac OS X's autocorrect but still show spelling suggestions? I welcome popup spelling suggestions, but I dislike the OS replacing text as I type without any real confirmation from me.   I'm aware both behaviors can be enabled/disabled together as one option in System Prefs &gt; Keyboard &gt; Text, but would anyone know a way to disable the autocorrect while leaving the tooltip-style suggestions intact…perhaps via the Terminal? Thank you.   Mac OS X 9.4 (Mavericks) How do you serialize an object in C++? I have a small hierarchy of objects that I need to serialize and transmit via a socket connection.  I need to both serialize the object, then deserialize it based on what type it is.  Is there an easy way to do this in C++ (as there is in Java)?  Are there any C++ serialization online code samples or tutorials?  EDIT: Just to be clear, I'm looking for methods on converting an object into an array of bytes, then back into an object.  I can handle the socket transmission. No such file or directory? But the file exists! I've downloaded a game (Shank) but the bin file doesn't run. The error that is shown when I try to launch the executable is:  bash: ./shank-linux-120720110-1-bin: No such file or directory interior points and limit points of $\{(x,y): x^2+2y^2 < 1\}$ Find out all interior points and limit points of $ A =\{(x,y): x^2+2y^2 &lt; 1\}$  I understand this problem graphically, but i'm not quite sure how to prove the answer rigorously using mathematical word.  My try : Let k be an element of A, and suppose t is an element of $\{(x,y):x^2+2y^2 =1\}$, which makes minimum $||t-k||$. Then $N(k,\delta)\subset A$ when $\delta = \||t-k||$.  I suppose this will work, but I want more clear and detailed proof.  Thank you in advance. How do I separate hydraulic disc brake pads after pulling the brake while the wheel is off? Negative y value in polar plot I'm having some trouble with polar plots. I have to plot negative values, but without changing direction. I tried to set the ymin value to be negative, but it doesn't work.  \documentclass[10pt,border=10pt]{standalone} \usepackage{pgfplots} \usepgfplotslibrary{polar}  \begin{document} \begin{tikzpicture} \begin{polaraxis}[    xticklabel=$\pgfmathprintnumber{\tick}^\circ$,    ymin=-10,    xtick={0,30,...,330}] \addplot table{    0  -1     30 -2    45 -3    60 -4    75 -5    }; \end{polaraxis} \end{tikzpicture} \end{document}   Any suggestion?  For clarity, this is what I expected. How do you write a case insensitive query for both MySQL and Postgres? I'm running a MySQL database locally for development, but deploying to Heroku which uses Postgres. Heroku handles almost everything, but my case-insensitive Like statements become case sensitive. I could use iLike statements, but my local MySQL database can't handle that.  What is the best way to write a case insensitive query that is compatible with both MySQL and Postgres? Or do I need to write separate Like and iLike statements depending on the DB my app is talking to? I'm trying to convert some LaTeX into HTML but my code listings don't preserve their code coloring. Why is that and how do I fix it?  This is what it looks like:    Side note: I'm also wondering why the caption on the table was removed.  Edit  Here is an example listing with colors:  \documentclass{article} \usepackage{color} \usepackage{listings} \lstset{     basicstyle=\footnotesize\ttfamily,     language=[Sharp]C,      keywordstyle=\color[rgb]{0,0,1.0}\bfseries,       commentstyle=\color[rgb]{0.133,0.545,0.133}\bfseries, }  \begin{document} \begin{lstlisting} int x = 10;  // This is a comment string str = "hello"; \end{lstlisting} \end{document}   This produces the following HTML when doing: htlatex myfile.tex:  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"     "http://www.w3.org/TR/html4/loose.dtd"&gt;   &lt;html &gt;  &lt;head&gt;&lt;title&gt;&lt;/title&gt;  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;  &lt;meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"&gt;  &lt;meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"&gt;  &lt;!-- html --&gt;  &lt;meta name="src" content="LaTeX4.tex"&gt;  &lt;meta name="date" content="2012-07-20 12:30:00"&gt;  &lt;link rel="stylesheet" type="text/css" href="LaTeX4.css"&gt;  &lt;/head&gt;&lt;body  &gt;    &lt;!--l. 12--&gt;    &lt;div class="lstlisting" id="listing-1"&gt;&lt;span class="label"&gt;&lt;a   id="x1-2r1"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;int&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;x&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;=&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;10;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;br /&gt;&lt;span class="label"&gt;&lt;a   id="x1-3r2"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;br /&gt;&lt;span class="label"&gt;&lt;a   id="x1-4r3"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;//&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;This&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;is&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;a&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;comment&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;br /&gt;&lt;span class="label"&gt;&lt;a   id="x1-5r4"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;string&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;str&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;=&lt;/span&gt;&lt;span  class="cmtt-8"&gt;&amp;#x00A0;&lt;/span&gt;&lt;span  class="cmtt-8"&gt;"&lt;/span&gt;&lt;span  class="cmtt-8"&gt;hello&lt;/span&gt;&lt;span  class="cmtt-8"&gt;"&lt;/span&gt;&lt;span  class="cmtt-8"&gt;;&lt;/span&gt;     &lt;/div&gt;  &lt;/body&gt;&lt;/html&gt;   Which looks like this:    I would want the HTML result to look like this: Multivariate multiple regression validation Is there a term for when just by saying that something is broken and showing it to someone fixes the issue? This seems to be a common enough occurrence that it would merit its own phrase. I imagine it might be some sort of subset of Murphy's Law. But it's specific enough that Murphy's Law doesn't quite address it.  Do you know when you are banging your head against a wall for hours trying to fix something? And then when you finally give up and try to get someone else to come fix it (or even just look at it to see that it's broken), it's working perfectly as if nothing had ever happened? And at this point, you're just trying to convince the other person that it was broken in the first place.  It'd at least take some of the frustration out of the experience if you could both just laugh about &lt;insert the phrase for it here&gt;. But as it is now, I basically have to go through the whole paragraph above to say it, and at that point the joke is kind of lost. Is it possible to scale specific apps on Windows 10? Run a program X times Coefficients change signs I have a dataset where there is a high degree of multicollinearity, with all variables correlating positively with each other and the dependent variable. However, on some of the models I run I get a couple of significant negative coefficients. Basically there are two coefficients that depending on what variables I include in the model, I can manipulate their signs.  My understanding is that if the variance-covariance matrix only contain positive values, then all coefficients should also be positive. Is this correct? I can see that this works for any integer $n$, but I can't figure out why this works, or why the number $42$ has this property. I'd like to "add to" an existing command by writing something like  \renewcommand{\somecommand}{\begin{something}\somecommand\end{something}}   but (not surprisingly) I get errors about being "too deeply nested".  Is there a way to take an existing command, add to it (by appending or prepending additional commands or text), and then have that "augmented" command replace the existing command? Explain briefly What is meant by interpolation.How is it related to the concept of regression?  interpolation is art of reading between the lines of a table and in elementary mathematics the term usually denotes the process of computing the intermediate values of a function from a set of given or tabular values of that function.  I can't give the answer of second question. Possible Duplicate:    I am using 10.04 LTS - Lucid Lynx. I shutdown the computer while a software update was running. Then after I restarted my computer and while the update manager was running, I got this error:  Could not download all repository indexes The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct. GPG error: http://toolbelt.herokuapp.com ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C927EBE00F1B0520 Failed to fetch  http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu/dists/**DISTRIBUTION**/main/binary-i386/Packages.gz 404  Not Found   I went through the answers to  and I tried this $ sudo launchpad-getkeys  Please wait... launchpad-getkeys is running an update so it can detect the missing GPG keys Trying to import all the missing keys gpg: requesting key 0F1B0520 from hkp server keyserver.ubuntu.com gpgkeys: key C927EBE00F1B0520 not found on keyserver gpg: no valid OpenPGP data found. gpg: Total number processed: 0 launchpad-getkeys has finished importing all missing GPG keys.  Try running sudo apt-get update - you shouldn't see any key  errors anymore  But when I run sudo apt-get update again, it again shows that the key was not found on the keyserver. How to solve this problem? Identify a story about a teen boy who learns to use magic with his lizard companion