I don't understand how scoping works in this case
What is the scope of variables in JavaScript?
Can we define flat connection on any given smooth manifold? For example, a sphere $S^2$ in $\mathbf{R}^3$ is apparently not flat with respect to the Euclidean connection, but can we define a flat connection and thus with affine charts on $S^2$? Why does sizeof(x++) not increment x? I try to understand why for a connected Lie group $G$ the first fundamental group $\pi_1(G)$ is abelian, and mainly why the second fundamental group is trivial $\pi_2(G)=0$?  Thanks for anyone who give me references for a 'simple proof' of these results TikZ 3.0.0 (release) produces strange shadings if used with XeLaTeX and standalone I would like to use shadings in my TikZ graphics together with the standalone package and XeLaTeX, but for some reason it is broken if I try with the new 3.0.0 release (). Any other combination I tried works for me (use for example article class/pdflatex/lualatex/TikZ 2.10). (I'm using a fully updated TeX Live 2013.) MWE \documentclass{standalone} %\documentclass{article} % would work  \usepackage{tikz} \usetikzlibrary{shadings}  \begin{document} \tikz \draw[top color=red] (0,0) rectangle (2,1); \end{document}  Output  Expected Output  Question How can I avoid the problem and which package/class is causing it? I am looking for easy(!) counterexamples that the product of two quotient maps is not necessarily a quotient map and that the quotient space of a Hausdorff space is not necessarily Hausdorff. Which metric to use to evaluate highly imbalance classification model performance I have to do classification model to predict the possibilities of person getting cancer based on certain attributes. The data is highly imbalanced. As per client requirement I have to report model performance based on any one of these 4 metrics AUC_Weighted normalized root mean square log loss Accuracy  Can you suggest me which one should I use? how to extend a basis Eclipse error: "The import XXX cannot be resolved" When to use single quotes, double quotes, and backticks in MySQL For a lot of questions here on TeX.SE and on other fora regarding MiKTeX, it turns out that the underlying problem actually lies in the not understood distinction between administrative and user modes. So let me ask these questions:  What’s the difference between administrative and user mode in MiKTeX, and in which situation should I use either one of these modes? I am trying to make a custom food recipe. I'm using spawn eggs with /replaceitem because spawn eggs are not obtainable in survival. This works fine when the player crafts only one spawn egg, but when I scroll over multiple spawn eggs, I receive only 1 of the custom food. BTW this food uses custommodeldata, so I can't simply add it into the crafting recipe. I cannot seem to find a way around this. If I make the item non-stackable, such as a piece of armor, mass crafting would be impossible. If I make an item.dropped scoreboard, the player could keep the item and use it to spawn mobs (griefing or for own profit.)  My command:    execute as @a[nbt={SelectedItem:{id:"minecraft:villager_spawn_egg"}}] run replaceitem entity @s weapon  minecraft:melon_slice{CustomModelData:10000101,display:{ Name:"{\"text\":\"Blue Melon Slice\",\"italic\":\"false\"}"}}     My problem is that the command does not see item count, as it is often used for weapons and armor only.    One way I thought to fix this issue is by storing the amount of custom food crafted in a scoreboard item and then giving the player that same count of the custom food, but I do not know how to do this; consequently, I don't know if this works.    Is there a way to do this method, or is there another, simpler method possible? Is it possible to recover an email that has been clicked "delete forever" in the trash folder? Is the claim that functions of independent random variables are themselves independent, true?   I have seen that result often used implicitly in some proofs, for example in the proof of independence between the sample mean and the sample variance of a normal distribution, but I have not been able to find justification for it. It seems that some authors take it as given but I am not certain that this is always the case. Сanonical form of a quadratic form by Lagrange's method This is just an eg. to understand how to solve it.  There is a quadratic form as below we need to bring to canonical form using Lagrange's method and find the coordinate transformation.   Then find the positive &amp; negative indexes, rank of the quadratic form. Finnally, to investigate sign-definiteness of the quadratic form by two ways: according to it's canonical form and the criterion of Sylvester: $4x_{1}^2+2x_{2}^2+10x_{3}^2-4x_{1}x_{2}-12x_{1}x_{3}-8x_{2}x_{3}$  Any clarification on how to do it are very welcomed. I have secured a visa for the US, be it an ESTA or another visa requiring me to go for an interview. My understanding is that obtaining a visa for the US does not guarantee me entry into the country. Rather, :  Entering the United States A visa allows a foreign citizen to travel to a U.S. port-of-entry (generally an airport) and request permission to enter the United States. A visa does not guarantee entry into the United States. The Department of Homeland Security (DHS), U.S. Customs and Border Protection (CBP) officials at the port-of-entry have authority to permit or deny admission to the United States. If you are allowed to enter the United States, the CBP official will provide an admission stamp or a paper Form I-94, Arrival/Departure Record.  What happens once I arrive in one such port-of-entry? Will I have to go through customs checks? Will I have to talk to an immigration officer explaining my reasons for visiting the US? What documentation, if any, should I bring? Is the documentation I brought for the interview enough? What if I did not attend an interview since it was not required (for example if I obtained an ESTA online)? Is there something like Linux console in Mac OS X? Like "terminal", but without running graphics environment. How to hide password input from terminal in ruby script How to show setCustomValidity message/tooltip without submit event Explicit example of a compact manifold of dimension $>2$ with strictly negative sectional curvature I am looking for examples of compact manifold of dimension $&gt;2$ with strictly negative sectional curvature (for dimension 2 it is well-known). Can anybody please help? jquery selector not working with [ ]