How do I combine the congruences $p=\pm 1\mod 8$ and $p=\pm 1\mod 5$
Find all solutions to $x^2\equiv 1\pmod {91},\ 91 = 7\cdot 13$
Pumpkin Noodles is a thing or are a thing? Which of the following is correct?  How come pumpkin noodles is not a thing?  or  How come pumpkin noodles are not a thing?  I want to post one of the above statements to Twitter with a picture of a bowl of pumpkin noodles i.e. the stuff that comes out of a hollowed out pumpkin. Should a function have only one return statement? How do I iterate over the words of a string? I'm trying to iterate over the words of a string.  The string can be assumed to be composed of words separated by whitespace.  Note that I'm not interested in C string functions or that kind of character manipulation/access. Also, please give precedence to elegance over efficiency in your answer.  The best solution I have right now is:  #include &lt;iostream&gt; #include &lt;sstream&gt; #include &lt;string&gt;  using namespace std;  int main() {     string s = "Somewhere down the road";     istringstream iss(s);      do     {         string subs;         iss &gt;&gt; subs;         cout &lt;&lt; "Substring: " &lt;&lt; subs &lt;&lt; endl;     } while (iss); }   Is there a more elegant way to do this? C# Unsafe/Fixed Code Statement of Purpose Template I am trying, loosely based on  to make a template for my Statement of Purpose. How could I remove the empty extra line between the horizontal rule and the text? Moreover, how could be the first letter be of larger font in the title?  Any other suggestion is more than welcomed.  \documentclass{article}  \usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry}  \newcommand{\HRule}{\rule{\linewidth}{0.5mm}} \newcommand{\Hrule}{\rule{\linewidth}{0.3mm}}  \makeatletter% since there's an at-sign (@) in the command name \renewcommand{\@maketitle}{   \parindent=0pt% don't indent paragraphs in the title block   \begin{center}     \MakeUppercase{\Large \bf \@title}     \HRule%   \end{center}%   \textit{\@author \hfill \@date}   \par } \makeatother% resets the meaning of the at-sign (@)  \title{Statement of Purpose} \author{name} \date{Ph.D. Applicant}  \begin{document}  \maketitle% prints the title block  Emergency medicine has always been a passion of mine\ldots  \end{document} DES-X , computation load and storage How to re-install http windows service I replaced apache webserver with http(WINHTTP windows service) for use virtual hosts feature. But I was missing  http(WINHTTP windows service) which I previously removed.I  now want to  reinstall this service for use print spooler. I need to know a word which means:     "negligence shown by a person in performing a duty, or a responsibility, or any given task."   or,      "A person who is negligent in performing their duties/responsibilities."   One possible choice is the use of word "delinquent". Is there any other word?  Please provide the usage of suggested word in a sentence also. My Android device screen got broken and I can't see what I'm doing. That's the only wrong thing with my device, the rest is apparently working OK. Is there any way to send my device screen to my computer? I don't want to work blindly anymore! How do I handle the window close event in Tkinter? Non-existence of a bijective analytic function between annulus and punctured disk Is "laic" an alternative word to the word "layperson"? I want to put a link to my SO profile on my homepage. I remember a codesnippet i saw somewhere that would basically display my Username and my reputation. Where was that? $\mathbb{F}_p[X]/(X^2+X+1)$ is a field iff $p \equiv 2 \bmod 3$ Users below 15 reputation can't effectively vote. It says:     Votes cast by those with less than 15 reputation are recorded, but do not change the publicly displayed post score   Does it mean that they will take effect after I reach 15 reputation or because they were cast before, they're recorded but ignored? Where is the dimensions option? Self-explanatory title really! A student today asked me why they were called integral domains -- and I realised that the word "integral" seems to be being used in a way totally unlike any other way I hear it used in mathematics. The student suggested that "integral" was used because the integers were an example -- but I didn't buy this because by that logic they could have been called "rational domains" or "real domains".  Any ideas anyone? Prove Inverses not need be Unique if Associativity fails Let $M=\{x, y, z\}$ be a set and let $\circ$ be a binary operation on $M$ such that the identity element is $x$ and $y \circ y = x = y \circ z$. Prove that inverses need not be unique if associativity fails given the multiplication table below.  $x \circ x = x, x \circ y = y, x \circ z = z$  $y \circ x = y, y \circ y = x, y \circ z = x$  $z \circ x = z, z \circ y = x, z \circ z = x$ Resolve build errors due to circular dependency amongst classes I often find myself in a situation where I am facing multiple compilation/linker errors in a C++ project due to some bad design decisions (made by someone else :) ) which lead to circular dependencies between C++ classes in different header files (can happen also in the same file). But fortunately(?) this doesn't happen often enough for me to remember the solution to this problem for the next time it happens again.  So for the purposes of easy recall in the future I am going to post a representative problem and a solution along with it. Better solutions are of-course welcome.     A.h  class B; class A {     int _val;     B *_b; public:      A(int val)         :_val(val)     {     }      void SetB(B *b)     {         _b = b;         _b-&gt;Print(); // COMPILER ERROR: C2027: use of undefined type 'B'     }      void Print()     {         cout&lt;&lt;"Type:A val="&lt;&lt;_val&lt;&lt;endl;     } };       B.h  #include "A.h" class B {     double _val;     A* _a; public:      B(double val)         :_val(val)     {     }      void SetA(A *a)     {         _a = a;         _a-&gt;Print();     }      void Print()     {         cout&lt;&lt;"Type:B val="&lt;&lt;_val&lt;&lt;endl;     } };       main.cpp  #include "B.h" #include &lt;iostream&gt;  int main(int argc, char* argv[]) {     A a(10);     B b(3.14);     a.Print();     a.SetB(&amp;b);     b.Print();     b.SetA(&amp;a);     return 0; } If two coins are flipped and one gets head, what is the probability that both get head?