How to delete all emails at once
How do I delete all my mail from my Gmail account?
Why is the automatic login disabled for users with encrypted home? I've tried to setup an autologin, but that isn't possible, because my home is encrypted. What are the reasons for this?  PS. Here I have described my problem: . Is there an issue tracker for already reported Mathematica bugs? Why do we need both using namespace and include directives in C++ programs?  For example,   #include &lt;iostream&gt;  using namespace std;  int main() {  cout &lt;&lt; "Hello world"; }   Why is it not enough to just have #include &lt;iostream&gt; or just have using namespace std and get rid of the other?  (I am thinking of an analogy with Java, where import java.net.* will import everything from java.net, you don't need to do anything else.) Java: GUI - JButton opening new JPanel and reading the JTextFields Let $P\in\mathbb{R}[X]$ be a positive polynomial.  I want to show that there exists $A,B\in\mathbb{R}[X]$ so that $P=A^2+B^2$    $\displaystyle P=a\prod_{k=0}^q(x-a_k)\prod_{k=0}^{2p}(x-b_k)=a\prod_{k=0}^q(x-a_k)\prod_{k=0}^p(x^2-2\Re(b_k)+|b_k|^2)$ where $a$ is the leading coefficient, $a_k$ are the real rooks, $b_k$ are the complex roots.  What can i do now ? I know that the identity $(a^2+b^2)(c^2+d^2)=(ac-bd)^2+(ad+bc)^2$ should come in handy, but I can't figure out :  1) How to show that the product real roots is a square  2) How to use the above identity for the complex roots.  If I can solve those two points, then I can solve the problem. How to install X11/xorg? My 12.04 x64 system won't boot into GUI, but I can still use virtual console with my own account, so apparently it's the Windows Management System that's causing it, how can I reinstall it from tty, what's the apt-get command? Upon the risk of being down voted as no MWE is present, but at the moment just trying to get some pointers. I updated my MiKTeX installation to the newest available version at the moment (MiKTeX-pdfTeX 4.1 (MiKTeX 20.12)) and now I get an error while building my documentation: Appendix D. (../html/examples/group/latex/refman_doc.tex (../html/examples/group/latex//gro up__group1.tex) [243] ! I can't write on file `../html/examples/group/latex//group__group2.aux'. \@include ...mmediate \openout \@partaux &quot;#1.aux&quot;                                                   \immediate \write \@partau... l.3 \include{group__group2}  Please type another output file name ! Emergency stop. \@include ...mmediate \openout \@partaux &quot;#1.aux&quot;                                                   \immediate \write \@partau... l.3 \include{group__group2}  *** (job aborted, file error in nonstop mode)  some small background:  Started normally with pdflatex doxygen_manual.tex in here is the statement: \subinputfrom{../html/examples/group/latex/}{refman_doc} and in this file again: \include{group__group2} as far as I know the disk is not full and the protections of the files and directories are OK as well  It looks like that now an attempt is made to write to the directory ../html/examples/group/latex/ whilst in the past the file was written to the current directory. I already tried -shell-escape and -enable-write18 (as well as --shell-escape and --enable-write18) but to no avail.  Any known changes in respect to writing the aux file? Any hints  edit I asked another question () with the details and MWE but that was closed with the reason that it was a duplicate of this one ... So I'm adding the information now here: In the question  asked about the problems I encountered due to an update of my MiKTeX distribution, but didn't take the time (at that moment) to create a MWE, so it didn't attract much response. I have the directory structure:  main  manual.tex   group  group__group2.tex refman_doc.tex    manual.tex \documentclass{book} \usepackage{import} \usepackage{hyperref}  \begin{document} \subinputfrom{../group}{refman_doc} \end{document}  group__group2.tex \hypertarget{group__group2}{}{The Second Group}  refman_doc.tex {Module Documentation} \include{group__group2}  When running in the directory main the command pdflatex manual.tex I get the error: ... (../group/../group/refman_doc.tex [1{C:/Users/User/AppData/Local/MiKTeX/2.9/pdf tex/config/pdftex.map}] ! I can't write on file `../group//group__group2.aux'. \@include ...mmediate \openout \@partaux &quot;#1.aux&quot;                                                   \immediate \write \@partau... l.2 \include{group__group2}  Please type another output file name:  but in a non interactive mode (the usual way to run. i.e. with \batchmode) one doesn't get an opportunity to specify the file and the generation crashes. As written in the original question adding options like -shell-escape and / or -enable-write18 didn't help.  Is there a solution for this problem?  edit 2 I did some further test. I replaced the \subinputfrom with an \input statement, although this worked for the limited example above it didn't work for my larger codebase as here (again just a limited view) we have in the refman_doc.tex {Module Documentation} \input{group__group1} \include{group__group2}  with the contents of group_group1.tex similar to group__group2.tex and the file is also parallel to group__group2.tex. This results in the error: (manual.out) (manual.out) (../group/refman_doc.tex  ! LaTeX Error: File `group__group1.tex' not found.  Type X to quit or &lt;RETURN&gt; to proceed, or enter new name. (Default extension: tex)  Enter file name: ! Emergency stop. &lt;read *&gt;  l.2 \input{group__group1}  !  ==&gt; Fatal error occurred, no output PDF file produced! Must an uncountable subset of R have uncountably many accumulation points? iSight cable for mid 2009 macbook pro 13" help If my iSight camera no longer works and neither does my bluetooth, should my wifi still technically be working? Aren't they all co-dependent(if that makes sense) or can the fact that my wifi is still functional mean that the iSight camera still works and it's a software problem. What is the "continue" keyword and how does it work in Java? I saw this keyword for the first time and I was wondering if someone could explain to me what it does.   What is the continue keyword? How does it work? When is it used? Declaring variables inside or outside of a loop I have a requirement to create triggers dynamically after a managed package is installed. I have read that the tooling API can be used to create triggers dynamically however it cannot be used in production. Is it possible to create triggers from a managed package in an org? I want to be able to create the trigger based on some user inputs. How does Linux handle multiple consecutive path separators (/home////username///file)? If a maximal subgroup is normal, it has prime index I'm having trouble with an exercise in "Introduce to the theory of group" book. This is problem:  Let $M$ be a maximal subgroup of $G$. Prove that if $M$ is a normal subgroup of $G$, then $[G: M]$ is finite and equal to a prime. How do I find the package that provides a file? How does one attack a two-time pad (i.e. one time pad with key reuse)? My question might appear the same as the question , but actually I did read all the answers and none of them helped me with the details I need.  I am new to cryptography and my problem is with two time pad attacks on OTP. The problem I had in my course was that I have 10 ciphertexts encrypted with the same key $K$. I am then given another ciphertext that I should decrypt.  I know that XOR-ing two ciphers gives me the XOR of their original messages.  My question is what is the correct thing to do after that?  I tried to take 3 ciphertexts $C_1, C_2$ and $C_3$.  Then get $S_1 = C_1 \oplus C_2  \oplus $' ', also get $S_2 = C_1 \oplus C_3 \oplus$ ' '.  After that I compared all corresponding characters in $S_1$ and $S_2$,  and if $S_1[i] = S_2[i]$ then I calculate $S_1[i] \oplus C_2[i]$ to get $K[i]$.  I tried this on paper before coding and it worked, but I might be missing something.  Is this the right approach? Why does it work? How to add chips from Material Components library to input field in android? I know this question is someway similar to  where they recommend using 404, but after reading  where they suggest to use 301 when changing site URLs (in the specific case was due to redesign/re factoring) I get a bit of confused and I hope someone could clarify for this specific example:   Let's say I have an eCommerce site, let's also say the final user inserted some interesting items in the site and the eCommerce webapp created the item pages at the URLs: http://...?id=20, http://...?id=30 etc. Now let's say some of these interesting items got many external links toward them from many other sites because some people found those items very interesting and linked to them. After some years the final user deletes those items, so obviously the pages and URLs http://...?id=20, http://...?id=30, etc. now do not exist anymore, but still many pages on the web are linking toward them.   What should the eCommerce site do now, just show a 404 page for those items?  But, I'm confused, wouldn't this lose all the Google PR passed by the external links to the items pages? So isn't it better to use 301 redirect to HOME PAGE that at least passes the PR to the HOME PAGE?    EDIT:  Well, according to answers the best thing to do so far is to do a 404/410.  In order to make this question more complete, I would like to talk about a special case, just to make sure I understood. properly.  Let's say the user creates those items again (the ones he previously deleted at point 4), maybe he changes a bit their names and description, but they are basically the same items. The webapp has no way to know these new added items were the old items so it obviously create them as new items with new URLs http://...?id=100, http://...?id=101, does it makes sense at this point to redirect 301 the old urls to the new ones?    ANOTHER EDIT (It would be VERY IMPORTANT TO UNDERSTAND):  Well according to the clever answers received so far it seems for the special case, explained in my last EDIT, I could use 301, since it's something of not deceptive cause basically the new pages is a replacement for the old page in term of contents. This is basically done to keep the PR passed from external link and also for better user experience.  But beside the user experience, that is debatable (*1), in order to preserve PR from external broken links why not just always use 301, In my understanding Google dislikes duplicated contents, but are we sure that 301 redirect to HOME PAGE is seen as duplicated contents for Google?!   Google itself  so if they consider 301 as duplicated contents wouldn't that be considered duplicated contents too? Why do they suggest it?  Let me provoke you: “why not just add a 301 to HOME PAGE for every not found page?”   (*1) as a user, when I follow a broken URL from some external link to some website's page I would stick more on this website if I get redirected to HOME PAGE rather than seeing a 404 page where I would think the website does not even exist anymore and maybe I don't even try to go to HOME PAGE of the website. Word for resembling the truth How do we refer to the act of resembling the truth, regardless if it is indeed the truth?  Some context: suppose you are watching a film and the story bears a striking resemblance to "real life". Perhaps you remember similar events from your own background or the story has a strong internal coherence. So you feel that the story could be true, even though you know it is fictional. Or, as the legend has it, when Michelangelo finished his "Pietà" and the sculpture seemed so "real" and "natural" to him, that he was amazed that the sculpture couldn't talk. One last example: you hear the promises of a politician in election campaign and he seems to be telling the truth, but of course you have no way to figure out, beforehand, if he is being honest or not.  The word "likelihood" comes to mind, but this word suggests some kind of numerical (even statistical) evaluation, which is akin to "probability". The word I am looking for describes the feeling you get, which leads to a subjective "binary" judgement (either it resembles the truth or not).  In Portuguese, such word is "verossimilhança" (from Latin verum, truth + similis, similar). Why is the Earth so fat? I made a naive calculation of the height of Earth's equatorial bulge and found that it should be about 10km.  The true height is about 20km.  My question is: why is there this discrepancy?  The calculation I did was to imagine placing a ball down on the spinning Earth.  Wherever I place it, it shouldn't move.  The gravitational potential per unit mass of the ball is $hg$, with $h$ the height above the pole-to-center distance of the Earth (call that $R$) and $g$ gravitational acceleration.  Gravity wants to pull the ball towards the poles, away from the bulge.  It is balanced by the centrifugal force, which has a potential $-\omega^2R^2\sin^2\theta/2$ per unit mass, with $\omega$ Earth's angular velocity and $\theta$ the angle from the north pole.  This comes taking what in an inertial frame would be the ball's kinetic energy and making it a potential in the accelerating frame.  If the ball doesn't move, this potential must be constant, so  $$U = hg - \frac{(\omega R \sin\theta)^2}{2} = \textrm{const}$$  we might as well let the constant be zero and write  $$h = \frac{(\omega R \sin\theta)^2}{2g}$$  For the Earth,   $$R = 6.4*10^6m$$  $$\omega = \frac{2\pi}{24\ \textrm{hours}}$$  $$g = 9.8\ m/s^2$$  This gives 10.8 km when $\theta = \pi/2$, so the equatorial bulge should be roughly that large.    , the Earth is 42.72 km wider in diameter at the equator than pole-to-pole, meaning the bulge is about twice as large as I expected.  (Wikipedia cites diameter; I estimated radius.)  Where is the extra bulge coming from?  My simple calculation uses $g$ and $R$ as constants, but neither varies more than a percent or so.  It's true the Earth does not have uniform density, but it's not clear to me how this should affect the calculation, so long as the density distribution is still spherically-symmetric (or nearly so).  (Wikipedia also includes , without derivation, that agrees with mine.)