I'm unable to install PHP5 in Ubuntu 16.04 root@areeb-Inspiron-3420:/var/www/html# apt install php5 Reading package lists... Done Building dependency tree        Reading state information... Done Package php5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'php5' has no installation candidate root@areeb-Inspiron-3420:/var/www/html# apt-get install libapache2-mod-php5 Reading package lists... Done Building dependency tree... 50% Building dependency tree        Reading state information... Done Package libapache2-mod-php5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'libapache2-mod-php5' has no installation candidate   What should I do now?
Installing PHP 5.6 on Xenial (16.04) I need to use php5 (5.6) because I'm working on a Drupal 7 project which doesn't support php7. The problem is I recently updated to ubuntu 16.04 Xenial which seems to .   I tried to install it from , however when It try to install it with apt I always get similar errors.  $ sudo apt-get install php5-cli Cependant les paquets suivants le remplacent :   php7.0-cli:i386 php7.0-cli`   Which means it's obsolete. How can I install PHP 5.6 on Xenial?
I've begun cooking Asian food in the past year or so, and in many Korean and Chinese beef recipes, I see instructions to soak beef in water. Just plain water, not salt water or anything. And every recipe seems to have a different  time - from 5 minutes to like, multiple hours.  I inquired about this and was given various reasons for this step, including "to remove the blood (because it is simply undesirable", "To remove the blood, because it gives the meat a bad taste" or "To soften the beef".  I'm wondering:   Does soaking meat in water really remove that much blood? How much of a flavor component is blood and why would it give it a bad taste (especially since i've never soaked beef before and I've like the taste just fine)? What is the action of solute-free water on a piece of beef immersed in it? Can it really tenderise it to any degree, or is there any osmosis occurring or other such physical/chemical action? I have installed Ubuntu 14.04 LTS 64-Bit and have a Edimax EW-7811Un wifi adapter. I have tired to get it to work but have no luck.   when I run lsusb command I get:  Bus 001 Device 005: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]   iwconfig shows that nothing is being read or connected:  eth0      no wireless extensions. lo        no wireless extensions.   I have tired numerous forums and tutorials but cant get it to work, dont know what I am doing wrong.   Can someone give a clear step by step method to get this to work?  uname -r: (Kernel Version)  3.16.0-34-generic Prove that $A = B = C = D$ $A, B, C, D$ are sets, where $A \not = \emptyset$ and $B \not = \emptyset$. Equation $(A \times B) \cup (B \times A) = C \times D$ is true.  Prove that $A = B = C = D$.  I tried to find $A, B, C, D$ separately, but that didn't get me anywhere. Any ideas how to solve it? Lighter nuclei liberate energy when undergoing fusion, heavier nuclei when undergoing fission.  What is it about the nucleus of an Iron atom that makes it so stable?  Alternatively: Iron has the greatest nuclear binding energy - but why? Why does change in speed of a wave make it refract? When a light wave enters a medium with a higher refractive index (e.g. from air to standard glass) and its speed decreases, why does that make it refract/bend?  I understand that wavelength decreases and frequency stays the same and therefore its speed decreases, but I can't find anywhere whatsoever why the speed decrease cause the wave to refract. So could someone please explain this? Why is the charge naming convention wrong? Possible Duplicate:          I installed the IE10 beta on Windows 7. It has an annoying autocorrect feature like the one in MS Word that messes up everything I write. How do I disable it? Hide deleted answers with certain characteristics Today I exceeded 10K reputation on Stack Overflow, and I see deleted answers.  I am now faced with pages like  where half the answers are "deleted."    Among these are many non-answers deleted by diamond moderators, and a self-deleted answer deleted on Nov 25 '09.  I find this very distracting, especially in my chosen sort order of "oldest" where these deleted answers are NOT displayed at the bottom.  I wish to be able to hide deleted answers based on combinations of characteristics such as:   age since deletion deleted-by-owner deleted by diamond moderators zero undelete votes   This would be a setting every user could enable for himself.    Here are HTML excerpts that may be useful for userscript filtering.  This shows the code that appears for a moderator deletion, as well as the date stamp.  &lt;div class="deleted-answer-info"&gt;deleted by &lt;a href="/users/10936/dori"&gt;Dori&lt;/a&gt;&lt;span class="mod-flair" title="moderator"&gt;♦&lt;/span&gt; &lt;span title="2011-06-26 09:13:34Z" class="relativetime"&gt;Jun 26 at 9:13&lt;/span&gt;&lt;/div&gt;   Here is the same class for deleted by owner:  &lt;div class="deleted-answer-info"&gt;deleted by owner &lt;span title="2009-11-25 19:12:11Z" class="relativetime"&gt;Nov 25 '09 at 19:12&lt;/span&gt;&lt;/div&gt; Lie bracket for Lie algebra of $SO(n,m)$ How does one show that the bracket of elements in the Lie algebra of $SO(n,m)$ is given by  $$[J_{ab},J_{cd}]  ~=~ i(\eta_{ad} J_{bc} + \eta_{bc} J_{ad} - \eta_{ac} J_{bd} - \eta_{bd}J_{ac}),$$  where $\eta$ has is the definite symmetric form with signature $(n,m)$? A list of inconveniences between quantum mechanics and (general) relativity? Zero integral of measurable $f$ on every interval implies $f=0$? Let $f:\mathbb{R} \rightarrow \mathbb{R}$ be a Borel measurable function, such that $\displaystyle \int_{a}^{b}f(x)dx=0$ for every $a&lt;b$ in $\mathbb{R}.$ Is it true that $f(x)=0$ for every $x\in \mathbb{R}$?  Comments: the starting point of this is to prove that the (Borel measurable) density function $f$ (if exists) of a symmetric random variable $X$ (meaning that $X,~-X$ have common cdf's) is even. If my question has a positive answer, it follows easily.   Thanks a lot for any comments! Merging dictionaries in C# What's the best way to merge 2 or more dictionaries (Dictionary&lt;T1,T2&gt;) in C#? (3.0 features like LINQ are fine).  I'm thinking of a method signature along the lines of:  public static Dictionary&lt;TKey,TValue&gt;                  Merge&lt;TKey,TValue&gt;(Dictionary&lt;TKey,TValue&gt;[] dictionaries);   or  public static Dictionary&lt;TKey,TValue&gt;                  Merge&lt;TKey,TValue&gt;(IEnumerable&lt;Dictionary&lt;TKey,TValue&gt;&gt; dictionaries);   EDIT: Got a cool solution from JaredPar and Jon Skeet, but I was thinking of something that handles duplicate keys. In case of collision, it doesn't matter which value is saved to the dict as long as it's consistent. I'm trying to compute the shadow of 3D objects on the ground. To do this I'm assuming parallel rays from Sun origin.   Let's assume the Sun direction is given by azimuth $\varphi$ and elevation $\theta$ angles. So the direction unit vector is retrieved as:  $$ \hat{\mathbf{s}} = \mathbf{R}_y\left(\theta\right)\mathbf{R}_z\left(\varphi\right)\hat{\boldsymbol{\imath}}$$  where $\mathbf{R}_{x/y/z}$ are the rotation matrices along the $x, y, z$ axes given by, for example, Euler-Rodrigues equation, and $\hat{\boldsymbol{\imath}}$ is the unit vector along $x$-axis.  A point on a ray-line has the equation:  \begin{equation} \mathbf{r} = \mathbf{r}_p + \lambda\hat{\mathbf{s}}  \tag{1} \end{equation}  being $\mathbf{r}_p$ a point on that line.  A point on a general plane is given by the equation:  \begin{equation} \left(\mathbf{r} - \mathbf{r_0}\right)\cdot \hat{\mathbf{n}} = 0 \tag{2} \end{equation}  being $\mathbf{r}_0$ a point on the plane and $\hat{\mathbf{n}}$ the unit vector normal to that plane.   Ensuring the validity of both equations (1) and (2) allows to compute the $\lambda$ multiplier and retrieve the position vector of the projected point (writing $\tilde{\mathbf{r}} = \mathbf{r_p} - \mathbf{r_o}$)  \begin{gather} \lambda = - \left(\frac{\tilde{\mathbf{r}}\cdot \hat{\mathbf{n}}} {\hat{\mathbf{s}}\cdot\hat{\mathbf{n}}}\right) \\ \mathbf{r}_\text{proj} = \mathbf{r}_p - \left(\frac{\tilde{\mathbf{r}}\cdot \hat{\mathbf{n}}} {\hat{\mathbf{s}}\cdot\hat{\mathbf{n}}}\right)\hat{\mathbf{s}} \tag{3} \end{gather}  Applying eq. (3) to all the vertices of a mesh $\left\{\mathbf{r}_{p_i}\right\}$ .   A problem can be noted: $\hat{\mathbf{s}}\cdot \hat{\mathbf{n}}$ can be zero (e.g. Sun is horizontal, i.e. the ray is ortogonal to the normal of plane).   Are there some conceptual mistakes in my reasoning? Is there a way to rewrite the operation as a linear operator applied to the set of vertices position vectors?   $$ \left[\mathbf{A}\right]\left\{\mathbf{r}_{p_i}\right\} = \mathbf{r}_\text{proj}$$ Selecting ARIMA orders based on ACF-PACF vs. auto.arima We have previously determined that  or  can attune to magic items, but one of those is a sapient creature, and the other "always obeys your commands".  A paladin's steed (per the Find Steed spell) is also 'unusually intelligent' and falls within the score range for sapient creatures.  But what about a regular old animal? If my ranger has a wolf companion, can he make that wolf attune to, say, an Amulet of Health? According to the Beast Master archetype, a companion animal "obeys your commands as best it can".  Is spending an hour 'focused only on the item' (as required for attunement) something a beast can manage?  Or what if it's not an Animal Companion, but just a riding horse, a pet dog, a trained magpie?  I know, probably this is going to be down to the DM to determine, but is there any guidance we can use to help decide whether my cat can attune to an item, and whether rubbing it with catnip would help? Chrome: remove URL from autocomplete which doesn't show up in history? I accidentally visited gist.gihub.com (note the missing t), and now that URL auto completes each time I start typing gist.…. How can I remove this URL?  I've tried removing it from my history, but that doesn't help:     (note the empty search results) What's the simplest way to decrement a date in Javascript by 1 day? I need to decrement a Javascript date by 1 day, so that it rolls back across months/years correctly.  That is, if I have a date of 'Today', I want to get the date for 'Yesterday'.  It always seems to take more code than necessary when I do this, so I'm wondering if there's any simpler way.    What's the simplest way of doing this?  [Edit: Just to avoid confusion in an answer below, this is a JavaScript question, not a Java one.] What are good out of the box alternative geocoding solutions to Esri's services? Esri's  will retire at the end of the year, what are good GIS services that can replace the North American and US Streets geocoders?  I have totally excluded Esri's replacement, the  as it is a subscription service. What is the joint distribution of $Z=\min(X,Y)$ and $I_{Z=X}$? Assume that $X$ and $Y$ are independent random variables with $X \sim \exp(\lambda)$ and $Y \sim \exp(\mu)$. It is impossible to obtain direct observations of $X$ and $Y$. Instead, we observe the random variables $Z$ and $W$, where $Z = \min\{X,Y\}$ and $W =1$ if $Z=X$ and $W=0$ if $Z=Y$.  How to find the joint distribution of $Z$ and $W$? Converting a DC motor to a generator Can ANY DC motor become a generator if torque is applied to the shaft? example:   And by any, I mean the really cheap ones too.  Or is there a specific type of motor (of which I do not know the name) that can work in both directions (battery to power the shaft OR torque-on-shaft to create a voltage difference between the terminals).