If statement is unexpectedly running. How do I debug this?
Scanner issue when using nextLine after nextXXX
How to dismiss the Windows 8.1 Upgrade banner? How to factor numbers that are the product of two primes Why rationalize the denominator? In grade school we learn to rationalize denominators of fractions when possible. We are taught that $\frac{\sqrt{2}}{2}$ is simpler than $\frac{1}{\sqrt{2}}$.  says that "there is a bias against roots in the denominator of a fraction". But such fractions are well-defined and I'm failing to see anything wrong with $\frac{1}{\sqrt{2}}$ - in fact, IMO it is simpler than $\frac{\sqrt{2}}{2}$ because 1 is simpler than 2 (or similarly, because the former can trivially be rewritten without a fraction).  So why does this bias against roots in the denominator exist and what is its justification? The only reason I can think of is that the bias is a relic of a time before the reals were understood well enough for mathematicians to be comfortable dividing by irrationals, but I have been unable to find a source to corroborate or contradict this guess. Apparently, my linux ubuntu setup of QGIS doesn't contain grass gis, although when I initially installed it last week I added grass gis to the command line. Anyway, I typed in once again and installed grass gis 7.0, however while GRASS starts, the plugin QGIS for it doesn't show up. Any ideas? How do you declare an interface in C++? ToC numbering problem If I have a Type C visa from the Norwegian embassy valid for February 9-28, and my Type D national visa from the German embassy valid from March 1 - August 31, 2017, do I need to leave/fly out of the Schengen area on the 28th and fly back on the 1st day of March? What is the advantage of using wp_mail? What is the advantage of using wp_mail() over mail(). Codex says they're similar, but they seem to be very similar. Variables losing their values Can truesight see through a druid's Wild Shape? The rules for truesight state:     A creature with truesight can (..) perceive the original form of a shapechanger or a creature that is transformed by magic   A druid player argued that since the druid is still a "humanoid" (not a "shapechanger"), and since , a creature with truesight should not see through it.  As the DM, I ruled against it because I believed the intent of truesight is to see through all kinds of shapechanging effects but I was still left wondering if I missed anything. I couldn't find anything about this in the errata either.  So, going by strict RAW, should a creature with truesight be able to see the druid's true form while a druid is using wild shape? What is the symbol on the supply voltage that looks like a shaded-in capacitor? I am looking at  (dual low-voltage power amplifier). On the fourth page, there is a sample circuit; right at the V+ input there is a symbol that looks like a capacitor. However, it looks like it is shaded in. What is that? Building a matrix by merging the same row vector multiple times ArcGIS ModelBuilder iterator reports only last input shapefile? Using Arc 10.3.1, if I manually enter the names of multiple shapefiles (all from the same folder) into the Check Geometry tool, the (single) output table lists the errors that exist in all of the shapefiles.    That is, only one output table is created, even if multiple input shapefiles have errors.  For example, if two shapefiles have errors, both will be listed in the single output table. Here's a screen print of the input:    However, if I iterate those same shapefiles (using the Feature Classes option), the output table only lists the last shapefile that went through the iteration.  Here's a screenshot of the model:     I suspect that the iterator is running Check Geometry not once, but three times, with a single input shapefile going through each iteration, overwriting the previous output.    How do I get the iterator to list all of the shapefiles with errors, either in separate output tables or aggregated in a single output table? Find out which application listens to specific key bindings? Suppose $f$ and $g$ are entire functions, and $|f(z)| \leq |g(z)|$ for all $z \in \mathbb{C}$, Prove that $f(z)=cg(z)$. Suppose $f$ and $g$ are entire functions, and $|f(z)| \leq |g(z)|$ for all $z \in \mathbb{C}$, Prove that $f(z)=cg(z)$.   My try :  I consider $h(z)=\frac{f(z)}{g(z)}$. If I prove that $h(z)$ is entire, using the fact that $|h(z)|\leq 1$, the result follows immediately from Liouville's theorem.  To prove that $h(z)$ is entire, I have to prove that $h(z)$ has removable singularities at possible zeros of $g(z)$.  Suppose $g(z_0)=0 \Rightarrow |g(z_0)|=0 \Rightarrow |f(z_0)|=0$, BUT what if $z_0$ be a root of of order $k$ of $g(z)$ (i.e. $f^{(n)}(z_0) = 0 $ for all $ 0 \leq n \leq k-1$) and be a zero of order $m$ of $f(z)$ and $k&gt;m$ ?  And if that's not the case, how to rigorously show that $z_0$ is a removable singularity ?  Thank you all in advance. Transforms moving around the 3D cursor? I think I accidentally pressed something to make it like this:    See how the XYZ arrows are at the 3D cursor instead of those vertexes I've selected?  How do I fix that? Whenever I select on a vertex or something, those blue, red, green arrows would always be where I selected, now it just keeps going to the 3D cursor. Mathematica Sec and Csc $\mathbb{Q}^{\times}$ is the group of rational number without $0$ under multiplication, and $\mathbb{Z}^{n}$ is the free abelian group of rank $n$. Show that $\mathbb{Q}^{\times}$ not isomorphic to $\mathbb{Z}^{n}$. I tried to assume that there is an isomorphism and to get a contradiction.. didn't succeed I tried to follow the new Blender 2.8 tutorial from Blender Guru.   When entering "Sculpting" with the icing there were suddenly alot of holes in it. Why is this? I'm using classicthesis to write my document. I don't use the option drafting but I can see on the bottom of the page the date (there is a part of the date that is not readable, but when I copy and paste this part I obtain [ December 1, 2011 at 20:50 ]). This is my code:  \documentclass[a4paper]{scrreprt}   % classe report di KOMA-Script  \usepackage[english]{babel}     % Per scrivere in inglese \usepackage[T1]{fontenc}        % Imposta la codifica dei font \usepackage[utf8]{inputenc}     % Lettere accentate da tastiera \usepackage{classicthesis-preamble} % Preambolo classicthesis \usepackage{classicthesis}      % Classicthesis  \begin{document}  \input{Chapters/0_Introduction} [...]  \end{document}   I would like to avoid this little issue.  I use TeXworks in Windows7 x64.