Python variable scope in if-statements
What's the scope of a variable initialized in an if statement?
HTML code for an apostrophe Seemingly simple, but I cannot find anything relevant on the web.  What is the correct HTML code for an apostrophe? Is it &amp;#8217;? Is there a way to add a timer to a Beamer presentation? Does infinity exist in physical systems? Inline image alignment issue for app and mobile web How can I open a cmd window in a specific location? How can I open a cmd window in a specific location without having to navigate all the way to the directory I want? Why are random walks intercorrelated? Why cant we replace diode connected BJTs by simple diodes in a current mirror circuit? When your 10-year old boy says “It’s meta,” what does it mean? In what situation and of what sort of object they use this phrase? I asked about  a few days ago, quoting Maureen Dowd’s review of the movie, “J. Edgar” in New York Times.   I received six answers. But I still don’t get a clear idea of what “It’s meta” means because I don't understand (or have a total inability to comprehend) the concept of “self-referential.”   An answerer : “Meta in this fairly recent, casual context is supposed to mean self-referential, or recursive in some way. This is the sense in which my teenagers would use this term.”  So let me resubmit the question on “meta” in simpler format. When your teenager boy says “It’s (or this is) meta,” what does it mean? In what situation and of what sort of object they use this phrase?  I’m sorry for many users who lent me kind answers to my previous question. But I would like to get it fully on the meaning and usage of “it’s meta,” as a colloquial expression, not the meaning of meta as a prefix. What is the difference in meaning of "frustrated at" and "frustrated with" used in sentences like     He is frustrated with me   or      He is frustrated at me   When is each of these sentences above are used? Need to proof by induction (calculus1 n and n+1) How to remove "phone style" Gnome swipe to unlock I need to remove the annoying new "locking" screen that shows a giant clock: I can't remove it with just moving the mouse (as with any other desktop environment), the animation is slow, and it isn't asking me for a password!  I managed to disable it, just to discover that now I can't lock my screen on purpose, so I can't go away from the computer.  Just to clarify, I want to:   After some time the screen could go black, but if I move the mouse or press any key then I can use it directly (like a normal screensaver). If I press super-L then it is locked, and I must type the password to unlock (like a normal lock screen).   I found several "solutions", but none seems to work: Deleted posts should not influence reputation Isometric  Left Inverse Adjoint Is it true that: $$T\text{ isometric}\iff T^*\text{ left inverse}$$ Obviously: $$\text{"}\Rightarrow\text{": }\langle x,\tilde{x}\rangle=\langle Tx,T\tilde{x}\rangle=\langle x,T^*T\tilde{x}\rangle$$ $$\text{"}\Leftarrow\text{": }\langle Tx,T\tilde{x}\rangle=\langle x,T^*T\tilde{x}\rangle=\langle x,\tilde{x}\rangle$$ My problem is that I'm not sure about if the adjoint is left inverse then the operator necessarily is bounded so that domain issues might come into play... I am running k-fold cross validation on my training data, and then choosing the best set of hyper parameters, re-training on the training data and testing on a new (unseen) testing data. I am getting the following testing results (results on the unseen data):  R^2: 1.000 Adj R^2: 1.000 RMSE: 0.081 MSE: 0.007 MAE: 0.045 MAPE: 0.058   Can $R^2$ have a value of 1.00 but RMSE have a  value of 0.081? Doesn't an $R^2$ of value 1 indicate no errors at all? I am trying to create an spritz app. Everything was working fine, but since yesterday I keep getting this error:     ./spritz: line 176: syntax error: unexpected end of file   I have checked the script file and everything seems perfect. I am confused, I have an if statement at last and it looks correct! Here is the last portion:  #checks if speed is 150 157 if [[ $2 -eq 150 ]]; 158 then 159 starttime=$SECONDS 160      FS=$'\n' 161      for j in `grep --color=always -iP '\b[^aeiou\s]*[aeiou][^aeiou\s]*\K[aeiou]' $1`; 162      do 163            #Reads the text file in the centre of the screen 164            echo "                                                    ___________________" 165            echo "                                                             $j"; 166            echo "                                                    ___________________" 167            echo "                                                                               Speed 150 wpm" 168            sleep  0.9; 169            clear; 170       done 171 endtime=$(($SECONDS - $starttime)) 172            echo "You read $words_read words in $endtime seconds!" 173       exit 8 174 fi   What could cause that error? Ubuntu can't be installed on my system because of what the title says. This is because support Intel HD Graphics 530 was only just added in Linux kernel 4.3 and all versions of Ubuntu only have kernel versions up to 4.2 as of 15.10. My computer's processor is the new Intel Skylake 6600K if you need to know, everything else is generic. It has a UEFI BIOS motherboard. Help? Is there a word for “not greedy”? The antonym of “greedy” is “generous”. Is there a word for “not greedy” (one who is content with what he has)? How to show that $\lim\limits_{x \to \infty} f'(x) = 0$ implies $\lim\limits_{x \to \infty} \frac{f(x)}{x} = 0$? Eclemma not offering report exportation option Standard error of regression coefficient without raw data