I have an android phone and normally use the Google Messages app for sending and receiving SMS. Yesterday, I used the macOS Messages.app app for the first time to send a friend a link.  I guess they have an iPhone, because now when they text me it comes to Messages.app instead of to my phone.  I'm assuming this will be the same for all other iOS users. How do I prevent all Messages.app and iOS Messages users from sending me NON-SMS messages?  Thinks I have tried:  Closing Messages.app.  I still get macOS notifications of messages. In Messages &gt; Preferences… &gt; Accounts &gt; [my email address], untick &quot;Enable this account&quot;.  Then my friends messages disappear and I never see them at all, at least until I reenable in Messages.app. Looking in System Preferences and on icloud.com and appleid.apple.com to see if there is some setting I can disable—but I've not found anything relevant. Using  to unregister my mobile number.  When I attempted this it gave me the message &quot;Your phone number is not registered with iMessage.&quot;  This question was closed as a duplicate of , but as noted my phone number is not registered with iMessage, so that question is not relevant. Am I doomed to never receive SMS from iPhone users ever again?
I'd like to remove my phone number from my iMessage account, but still have my phone enabled to receive messages sent to my email address (also used on iPad, Mac). Is there a way of doing this?
Every countably generated sigma algebra is generated by a random variable Ban "What have you tried?" links in comments Recently on SO, I've been noticing a lot of link-only comments on (admittedly bad) questions.  The typical comment looks like this:        Now, my first instinct is to flag the comment as "not constructive" or "too chatty", but the fact is that the blog post linked to is actually good advice.  On the whole though, the way it is being wielded like a blunt instrument comes across as—at best—lazy arrogance in my opinion and is not adding anything to the network.  Can we ban "What have you tried?" links like we did with ?  An example:    To be clear, I'm not proposing that we stop people asking for clarification or expecting askers to explain themselves properly. I just don't think comments like these are particularly constructive. For $x$ and $\lambda$ complex, if $|x| \gt \frac{1}{2} + \sqrt{\frac{5}{4} + |\lambda|}$ then $|x^2+\lambda| \gt |x| +1$ Define $f(z) = z \ ^ 2 + \lambda$ and $V = \left\{x \in \Bbb C : |x| \gt \frac{1}{2} + \sqrt{\frac{5}{4} + |\lambda|} \right\}$, for some $\lambda \in \Bbb C$.   Then, if $x \in V$ then $|f(x)| \gt |x| +1$.   I tried the following :   Let $x\in V$ then $|f(x)| = |x \  ^ 2 +\lambda | \ge |x |  \ ^ 2 - | \lambda| \gt (\frac{1}{2} + \sqrt{\frac{5}{4} + |\lambda|}) \  ^ 2 - |\lambda| = 1.5 + \sqrt{\frac{5}{4} + |\lambda|} $.  But this doesn't get me anywhere. Finding $ \int^1_0 \frac{\ln(1+x)}{x}dx$ There is supposed to be a clean solution to the integral below, maybe involving some symmetry $$ \int^1_0 \frac{\ln(1+x)}{x}dx$$ I have tried integration by parts as followed: $\ln(x+1)=u$ ,$\frac{1}{x+1} dx = du$ and also $\frac{1}{x}dx=dv$, $\ln(x)=v$. Then, the integral becomes $$\int^1_0 \frac{\ln(1+x)}{x}dx=- \int^1_0 \frac{\ln x}{1+x}dx$$ which does not make this easier. I have also tried using the identity $\int_a^bf(x)~dx=\int_a^bf(a+b-x)~dx$. So let $I = \int^1_0 \frac{\ln(1+x)}{x}dx$ and also $I = \int^1_0 \frac{\ln(2-x)}{1-x}  $. Then $$2I= \int^1_0 \ln(1+x)+\ln(2-x)$$ which is not any easier, either. Any ideas? :) Drupal 7. Custom module. I have a content type 'RFI' with a handful of fields I created with Drupal UI. I want a user to: fill out a form &amp; click submit while drupal: saves fields to database, creates a new node of 'RFI' and populates the fields of the node with the content provided by the form's corresponding fields.  From what I understand:  Build a form with fields (taking from the 'DBTNG examples' module just for clarity):  function rfi_build_form($form, &amp;$form_state) { $form = array();  $form['add'] = array( '#type'  =&gt; 'fieldset', '#title' =&gt; t('Add a person entry'), ); $form['add']['name'] = array( '#type'  =&gt; 'textfield', '#title' =&gt; t('Name'), '#size'  =&gt; 15, ); $form['add']['surname'] = array( '#type'  =&gt; 'textfield', '#title' =&gt; t('Surname'), '#size'  =&gt; 15, ); $form['add']['age'] = array( '#type'  =&gt; 'textfield', '#title' =&gt; t('Age'), '#size'  =&gt; 5, '#description' =&gt; t("Values greater than 127 will cause an exception. Try it - it's a    great example why exception handling is needed with DTBNG."), ); $form['add']['submit'] = array( '#type'  =&gt; 'submit', '#value' =&gt; t('Add'), ); return $form; }   Here the form fields are saved to database with database API.  function rfi_build_submit($form, &amp;$form_state) { global $user;  // Save the submitted entry. $entry = array( 'name'    =&gt; $form_state['values']['name'], 'surname' =&gt; $form_state['values']['surname'], 'age'     =&gt; $form_state['values']['age'], 'uid'     =&gt; $user-&gt;uid, ); $return = dbtng_example_entry_insert($entry); if ($return) { drupal_set_message(t("Created entry @entry", array('@entry' =&gt; print_r($entry, TRUE)))); } }   Now here is how I know how to create a node of RFI type. How do I take the values of the fields above [name], [surname], [age] and have them related to corresponding fields in my content type?  function rfi_build_type($form, &amp;$form_state){ $node = new stdClass(); $node-&gt;type = 'rfi'; $node-&gt;name = ''; $node-&gt;surname = ''; $node-&gt;age = ''; $node-&gt;language = 'en'; $node-&gt;uid = 1; node_save($node); }   I was thinking that since the fields have been saved already, that I could use a database query to get these values, but intuition tells me I'm overlooking something.  Thank you! Fourier Series for $|\cos(x)|$ Is there any tool available for extracting the X, Y and Z coordinates from a .las file and exporting them to a .csv or similar file? Generating values from a multivariate Gaussian distribution I am currently trying to simulate values of a $N$-dimensional random variable $X$ that has a multivariate normal distribution with mean vector $\mu = (\mu_1,...,\mu_N)^T$ and covariance matrix $S$.  I am hoping to use a procedure similar to the inverse CDF method, meaning that I want to first generate a $N$-dimensional uniform random variable $U$ and then plug that into the inverse CDF of this distribution, so to generate value $X$.  I am having issues because the procedure is not well documented and there are slight differences between the  and a .  In my case, I am also choosing the parameters of the distribution randomly. In particular, I generate each of the means, $\mu_i$, from a uniform distribution $U(20,40)$. I then build the covariance matrix $S$ using the following procedure:   Create a lower triangular matrix $L$ where $L(i,i) = 1$ for $i=1..N$ and $L(i,j)  = U(-1,1)$ for  $i &lt; j$ Let $S = LL^T$ where $L^T$ denotes the transpose of $L$.   This procedure allows me to ensure that $S$ is symmetric and positive definite. It also provides a lower triangular matrix $L$ so that $S = LL^T$, which I believe is required to generate values from the distribution.  Using the guidelines on Wikipedia, I should be able to generate values of $X$ using a $N$-dimensional uniform as follows:   $X = \mu + L * \Phi^{-1}(U)$   According to the MATLAB function however, this is typically done as:   $X = \mu + L^T * \Phi^{-1}(U)$   Where $\Phi^{-1}$ is the inverse CDF of a $N$-dimensional, separable, normal distribution, and the only difference between both methods is simply whether to use $L$ or $L^T$.  Is MATLAB or Wikipedia the way to go? Or are both wrong? I noticed that after joining a table to a shapefile the headers of each fields in the table used for the join are changed by QGIS and they are attributed to a different name.  For instance, I had a shapefile with vegetation_codes and a table with vegetation_codes and veg_definition (these were the headers). After joining the table to the shapefile and also saving the shapefile and creating a new one, the vegetation_classes header was changed into vegetati_1.  Is there a way to keep the original headers?  I am using QGIS Dufour on Windows 7 and the table that I join to the shapefile is CSV (tried with dbf as well and the problem is the same). Set the location in iPhone Simulator How can I set the location (as it's picked up in CoreLocation services) in the iPhone Simulator? Let $f:\mathbb{C} \rightarrow \mathbb{C}$ be a entire function. Suppose that there are $M$, $r&gt;0$ and $n\in \mathbb{N}$ such that $\left|f(z)\right|&lt;M\left|z\right|^n$ for all $z \in \mathbb{C}$ with $\left|z\right|\geq r$.  Show that $f$  polynomial of degree at most $n$.  Remark: I tried to follow the proof of Liuville's Theorem but I have complications with the condition  $\left|z\right|\geq r$.. Ways to eliminate switch in code Is there a word for the sadness over "What might have been"? Context: You made the decision not to see a person any more. The relationship was good, you were both happy with one another but the one main stumbling block (for you) in the relationship was never dealt with. It remained, a permanent fixture, that forced you to make that sad, and final decision.   Is there a word, an idiom, or a famous line that expresses the sadness for something that might have been; e.g. a rich and fulfilling relationship. It's not nostalgia, because that expresses a wistfulness for the past.   Instead, you are wistful for the future. I am using PHP and JavaScript. My JavaScript code contains a function, get_data():  function get_Data(){     var name;     var job;     .....      return buffer; }   Now I have PHP code with the following.  &lt;?php     $i=0;     $buffer_data;      /* Here I need to get the value from JavaScript get_data() of buffer;        and assign to variable $buffer_data. */ ?&gt;   How do I assign the JavaScript function data into the PHP variable? Stopping to eat is tedious, is there any way to automate the process? While I've managed to optimize and automate almost everything, constantly having to stop and eat is annoying (I run around a lot, so I get hungry quickly). Is there any device or tool that will keep me well fed at all times without having to stop and feed? Attempting to create a tag wiki when a user has hit the suggested edit limit should alert the user that no more edits can be suggested at this time I ran into an issue on Gaming.SE where I attempted to create a tag wiki and wiki excerpt for a tag which did not have one already while I already have the maximum of five suggested edits in the queue.  Navigating to the tag page for the  provides a link to  for this tag. This link redirects to the  for this tag, without telling me that I can't submit an edit because I've reached the maximum number of suggested edits. Instead of silently redirecting, the page should alert me that I can't suggest any more edits until my suggestions are reviewed. I know there is a ton of questions and answers about this topic, but none answers my question sufficiently.  Let's say I have a viewport view that I want to render in Cycles. Pressing ALT CTRL Numpad 0 aligns the camera to this view, but it does not solve the whole problem. The thing is, I want PRECISELY this view on the render, preferably in one click, without manually moving the camera back-and-forth, changing sensor sizes etc. fiddling that will remove the unwanted border that appears and blocks the viewport partially. This whole activity wastes a lot of precious time especially if you do this 10 times a day.  What this dream action should do:   match the render resolution (proportions) to the resolution of the current view (can the resolution of current view be read by a Python script?) make the entire view the camera view, without any borders, passe-partout etc. by automatically maneuvering sensor sizes etc. whatever is necessary to make it exactly the same view, the same camera lens angle.   Is it possible to write such a script that would do it all in one click? Sarrus Rule with LaTeX Is there a way to create a new command with 9 arguments ({a_{11}},{a_{12}},{a_{13}},{a_{21}},{a_{22}},{a_{23}},{a_{31}},{a_{32}},{a_{33}}) that has as output a matrix with the Sarrus Rule? For instance: to obtain     just use the command that we will call sarrus:  \sarrus{-k}{k-1}{1}{0}{k-1}{k}{2}{0}{1}.   If it is possible i want to use the command sarrus in math mode just like matrix for istance. Whenever Ubuntu boots up, a dialogue pops up asking me to unlock my default keyring. Is there some way this can unlock automatically through PAM or some other magical way? My random variable $X$ is normally distributed with mean $b$ and variance $p$. I defined a new RV, $Y$, such that $Y=1/X$. Does anyone know how to find the mean of $Y$ and $Y^2$?