When I sleep, I don't want to hear any notifications from my phone, unless I get a phone call. In case it's an emergency from a family member, etc.  Is there a way to set it to silent on every app but phone calls easily?
I work sometimes till 4 am and my friends and the rest of the world obviously don't know in advance that I don't want to be called at 8 am.  Is there an app or setting that can allow me to have an emergency override list of people I need to be woken up for if a possible emergency arises but ignore all other calls until I wake up?    I'm familiar with the Do Not Disturb option, but it has limitations that it blocks all calls. What if there is an emergency at night?  What if I want to allow certain callers during the Do not Disturb time? Is there a way to have an emergency list that allows calls during silent?
Unable to locate package There are many  about Unable to locate package.  For example : if user try to install package by using apt-get then the following error shown. (Here package is used only as example for displaying error message):  sudo apt-get install package Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package package   What does this error mean? How do I solve it?    provided General solution to understand and how to solve such type of error (which is helpful for new users that may unaware of repository-apt install mechanism)  Note : For resolving unmet-dependencies, visit: . Email searches in Outlook 2013 work as expected. I am trying to refine it by excluding certain folders by default. I was hoping I could uncheck certain folders in Control Panel > Indexing Options > Outlook. Unfortunately, the checkbox is for Outlook itself. I can either search Outlook or not. There is no refinement beyond that. Is there another way to exclude searching of specific folders? Unicode filenames on Windows with Python & subprocess.Popen() subideals of an ideal If $R$ is a ring, J is an ideal in $R$, and $I$ is an ideal of $J$ (with $J$ considered as a ring), does it follow that $I$ is an ideal of $R$?  That is, is $I$ necessarily closed under multiplication by elements of $R$?  Surely $I$ is closed under multiplication by elements of $J$ (since $I$ is an ideal of $J$).  The "obvious" approach to proof fails so quickly that it must be false, that "an ideal of an ideal is not necessarily an ideal of the big ring".  Please provide a counterexample.  (Or a proof?) The full question: suppose N is normal in G and $[G:N]=p$ is a prime. Prove that for any $K \leq G$, either (1) $K \leq N$ or (2)$KN=G$ and $[K:K \cap N]=p$.  Since $N,K \leq G$, it is of course possible that $K \leq N$ could happen.  but for (2), we can show $KN \subseteq G$  but how can we show $KN=G$?  And what information does "$[G:N]=p$" give us? In which situations is it OK to omit articles in short sentences? Recently, in many new online software I often see that developers omit articles in short sentences, especially on action buttons or tooltips.     For instance: "Add new task" (not "Add a new task"), "Create project" (not "Create a project"), but often in the same software I can see "Make a copy". What are situations it can be justified? "My wife and I's seafood collaboration dinner" I just stumbled upon a :     My wife and I's seafood collaboration dinner. How does it look?   Sure enough, the top comment immediately points out that it should be "my wife's and my". However, a cross-post to the Grammar subreddit produced :     It's fine as it is written. "my wife and I" is a noun phrase, functioning as a subjective pronoun in the singular and made possessive with the apostrophe. It is exactly the same as "our".      It seems weird because you would never use "I's" on its own but it is not on its own here - it is part of a noun phrase.   That's a rather intriguing argument. Does it hold any water? Usage of -n and -z in test built in - Bash Why are local variables not initialized in Java? Continuity of Integration for a measurable function I am having difficulties with this problem:  Let $f$ be a measurable function on $R$. Show that $\lim\limits_{n \to \infty} \int\limits_{-n}^{n} | f | = \int\limits_{R} | f | $  My idea is to use Continuity of integration: We need an ascending collection of measurable sets. These are $E_n = R \cap [-n, n]$ $R = \bigcup E_n$ Now if we apply Continuity of Integration we have:  $\lim_{R} |f| = \lim\limits_{n \to \infty} \int_{E_n} =\lim\limits \int_{-n}^{n} |f |$. My problem is Continuity requires f to be intergrable and all i know is that f is measurable.  Another way i was thinking to use monotone convergence theorem, but i am not sure how to create the sequences.  Any Ideas? thanks I'm looking for some sample code that will sort the list items in an HTML list by alphabetical order.  Can anyone help?  Here is a sample list for people to work with:  &lt;ul class="alphaList"&gt;     &lt;li&gt;apples&lt;/li&gt;     &lt;li&gt;cats&lt;/li&gt;     &lt;li&gt;bears&lt;/li&gt; &lt;/ul&gt; Let $A$ be a square matrix of order $n$ such that $A^2 = I$.  Prove that if $1$ is the only eigenvalue of $A$, then $A = I$. Prove that $A$ is diagonalizable.   For  (1), I know that there are two eigenvalues which are $1$ and $-1$, how do I go about proving what the question asks me? I am trying to solve a variation on the .  In this scenario, someone is selecting coupons at random with replacement from n different possible coupons. However, the person is not selecting coupons one at a time, but instead, in batches.  Here's an example problem formulation: There are 100 distinct coupons. A person makes selections in 10-coupon batches at random (each coupon with replacement). What is the expected number of batches necessary to have selected 80 unique coupons?  I have been able to determine the expected number of selections necessary to have selected k unique coupons when selecting one at a time (much like Henry's ), but I'm a bit stumped as to how to go about solving it with this particular wrinkle.  Any tips/guidance would be greatly appreciated. How to prove Vandermonde's Identity: $\sum_{k=0}^{n}\binom{R}{k}\binom{M}{n-k}=\binom{R+M}{n}$? How can we prove that     $$\sum_{k=0}^{n}\binom{R}{k}\binom{M}{n-k}=\binom{R+M}{n}?$$   (Presumptive) Source: Theoretical Exercise 8, Ch 1, A First Course in Probability, 8th ed by Sheldon Ross. Show image in panel I'd like to show an image (png, preferably) in my panel. Does anyone know if this is supported through labels or template_XX UIPanels? "Hot" tab in is badly skewed and misleading - time to replace it with actual hot questions? Each site got a &quot;hot&quot; tab, where its contents are calculated based on . However take a look on the screenshots below and see for yourself that &quot;hot&quot; got nothing to do with many of the questions listed there. :    :    As you can see, there are questions with negative score, no answers, and even closed. I won't be surprised to see spam in there as well. This can't be any worse. What I suggest, instead of fixing the formula or patching it, simply have the hot tab show the same questions as the Hot Network Questions sidebar. (from the specific site only, of course.) Since the hot questions &quot;pool&quot; (as seen ) is limited to 100 for the whole network, either expand it or have the per-site list show questions with less hotness points - it would still be better than what we have now. What is the difference between Newtonian and Lagrangian mechanics in a nutshell? Load R package from character string SharePoint 2013 REST display lookup fields? I am using SharePoint 2013 REST to show data from my list,  one of my field in announce list is AnnouncedBy which is a user packer field  or is a lookup field   how can I display it or get it using SharePoint 2013 REST?   var app = angular.module('SmartphoneOSList', ['ngSanitize']);    app.controller('ListController', function ($scope, $http) {    $http({       method: 'GET',       url: "https://myserver/_api/web/lists/getByTitle('announce')/items?$top=2&amp;$orderby=Modified desc",       headers: { "Accept": "application/json;odata=verbose" }      }).success(function (data, status, headers, config) {        $scope.items = data.d.results;       }).error(function (data, status, headers, config) {       //...     });   }); How to replace text in the body of an incoming message with a hyperlink in Outlook 2010?