Is the following true: For something to be in the global scope means it can be accessed anywhere in all files. All global variables have global scope. Therefore, the global object (and its properties) is a type of global variable. P.s. This is a genuine question I find it useful getting terminology down and maybe it might help me be able to read the docs later.
What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally?
When we're dealing with problems in electrostatics (especially when we use Gauss' law) we often refer to the density of electric , which is inversely proportional to the radius in the case of a single point charge (all field lines are directed radially).   My question may sound dumb, despite the fact that this concept is quite intuitive, but if you think about it there is actually an infinite amount of field lines which we can draw everywhere (one through every point), so speaking of an area where field lines are more "dense" or "sparse" doesn't make much sense to me.  With this in mind, why can we still use such a concept? Why does it really work? how to make clean without any modification? I have a file with ANSI colors.  test.txt: \e[0;31mExample\e[0m  I would like to display the content of this file in a terminal, like cat does, but I would like to display the colors as well. Redirect stdin and stdout to ports I'd like to take a program P that reads from stdin &amp; writes to stdout, but connect it to nc or whatever such that it reads from a certain port and outputs to another port.  # The reading is easy, here P reads from port 50505 nc -l 50505 | P   How do I get it to write back to say port 60606? Extend x axis on graph? I'd like to extend my x axis a little longer. Is it possible to do that?  \centering     \begin{tikzpicture}[scale=1.5]      \begin{axis}[         xlabel=Reynolds Number,ylabel=Coefficient Discharge]     \addplot [color=blue,mark=*] coordinates {         (6485.41491,0.408143397)         (7927.942858,0.407370795)         (8663.115504,0.38550864)         (9219.462371,0.366953133)         (9537.374867,0.346531912)         (10491.11235,0.330115983)         (11087.19828,0.312041115)         (12219.76155,0.313951177)     };         \addlegendentry{1/4}     \addplot [color=red,mark=triangle] coordinates {         (6556.945221,   0.412644978)         (7868.334265,   0.404307857)         (8663.115504,   0.38550864)         (9187.671122,   0.365687778)         (9120.114717,   0.331371141)         (10443.42548,   0.328615455)         (11683.28421,   0.328817519)         (12875.45607,   0.330797337)     };         \addlegendentry{1/2 Lift}     \addplot [color=black,mark=*] coordinates {         (6843.066467,   0.430651305)         (8297.516134,   0.426361012)         (9203.566747,   0.40955872)         (8615.42863,    0.342911376)         (9298.940495,   0.337868614)         (10824.92047,   0.340619673)         (11683.28421,   0.328817519)         (12899.29951,   0.331409925)     };         \addlegendentry{3/4 Lift}     \addplot [color=yellow,mark=*] coordinates {         (6854.988186,   0.431401568)         (8398.850742,   0.431568008)         (9267.149246,   0.412388141)         (8567.741755,   0.341013343)         (9346.62737 ,   0.339601273)         (10753.39016,   0.338368882)         (11897.87515,   0.334857025)         (13030.43841,   0.334779157)     };         \addlegendentry{Full Lift}     \end{axis}% \end{tikzpicture}% Word for describing in a positive sense What is a word that means to say in a positive sense? For instance, when writers say that a person was sexually assaulted instead of saying raped.  Or people use let go instead of fired.  What is that called? Play a Sound with Python $GL_n(\mathbb F_q)$ has an element of order $q^n-1$ For fixed prime power $q$ show that the general linear group $GL_n(\mathbb F_q)$ of invertible matrices with entries in the finite field $\mathbb F_q$ has an element of order $q^n-1$.   I tried to show this question with showing diagonal matrix but i can't find element directly  competible with order i think i am on wrong way please give me clue ? Latest earned tag badge doesn't update when I earn a new one When you earn one tag badge, and then don't click "Track the next one" in the tag badge progress tracking box for a while, and then earn a second tag badge, that box continues to show "Congratulations, you earned [the same badge as before]", rather than updating to show that you've actually earned another tag badge since then.  For instance, right now  looks like this:    Even though I  a few weeks ago and then  yesterday, my profile hasn't updated to show the new achievement.  I also didn't get the "cipher" tag badge until after the 3am watershed, even though tag badges usually appear as soon as I visit my profile after earning them (for instance, I earned the "tags" tag badge on meta.SFF.SE today the very instant I clicked on my own profile there after having become eligible for the badge). Even when I went to look at the list of my progress towards different tag badges on Puzzling, which I thought would jog the system into realising I'd actually earned the badge, "cipher" still showed up as 99/100 score even after I'd gone well past 100, until last night when the badge was finally awarded and "cipher" disappeared from my list of badges to track.  TL;DR: if I don't click "Track the next one", my tag badges update slower than they should.  It's a very unimportant bug, but there must be more people than just me who like to see the "Congratulations" thing there for a while and rest on their laurels before moving on to track their progress towards the next milestone. p-value approach - clarify teacher's solution? So I have a question with my teacher's solution below and I'm confused about one of the steps in their solution. I would appreciate some clarification.  Two brands of coffee were compared. Two independent random samples of 50 people each were asked to taste either Brand A or Brand B coffee, and indicate whether they liked it or not. Eighty four percent of the people who tasted Brand A liked it; the analogous sample proportion for Brand B was ninety percent.   (A) At α = 0.01, is there a significant difference in the proportions of individuals who like the two coffees? Use the p-value approach.   So I circled in blue a step where I'm confused about in the teacher's solution. I don't understand why P(Z&lt;-0.89) = 0.2061.   On the z-score table -0.89 is equal to 0.1867 so shouldn't it be that value instead? where did 0.2061 come from? Is it possible that the teacher made an error or am I not understanding something? Ring of fractions of $R$ is integral over $R$ Let $R$ be a commutative ring and let $S\subseteq R$ be a multiplicative closed subset containing 1.     I need to show that if $S^{-1}R$ is integral over $R$, then $S^{-1}R=R$.   I don't see how to get started. Error :: You must put some 'source' URIs in your sources.list I'm trying to install PIL a python module on ubuntu   I first need to install a package called python-imaging using the following command    sudo apt-get build-dep python-imaging   When I try and do this I get the error   E: You must put some 'source' URIs in your sources.list   I saw  question whihc shows how to fix via the GUI but I'm using the command line. Does anyone know how I can fix this error..?    UPDATE: Based on the below answers I've updated my package list but I now get this error. Not sure if it is related, if not I'll start a new question as I can't find reference to the error anywhere.   E: Build-Depends dependency for python-imaging cannot be satisfied because candidate version of package python-all-dev can't satisfy version requirements Proving an entire, complex function with below bounded modulus is constant. How would I show that an entire function $f$ with the property $|f(z)| \geq 1$ must be constant?    I'm aware of Liouville's theorem, just not sure how to apply it here. Google Chrome: Is there a keyboard shortcut to open a link in a new tab? Is is possible to open a link in a new background tab in Google Chrome with a keyboard shortcut?  (I know it's possible with Ctrl+click and middle click, and I know that Shift+Enter opens the link in a new browser window.) Old post apocalyptic cartoon where the main character has red hair and lives with a nomadic group Applied modifiers are not visible I know that python has a len() function that is used to determine the size of a string, but I was wondering why it's not a method of the string object.  Update  Ok, I realized I was embarrassingly mistaken. __len__() is actually a method of a string object. It just seems weird to see object oriented code in Python using the len function on string objects. Furthermore, it's also weird to see __len__ as the name instead of just len. Automatic updates are not auto-downloading I have my Xbox One set up to automatically download and install updates, the rest of my settings are shown below:    Is there a reason my games will show an update symbol on their tile, but they still don't download the update until I start the game manually? Show that AB is singular if A is singular Actually I need to show that $\det(AB) = \det(A)\det(B)$ if $A$ is a singular matrix.  The determinant of $A$ is $0$ if $A$ is singular, so $\det(AB)$ has to be $0$ as well, but I have problems showing that $AB$ is singular if $A$ is singular. How can I show that? I have inserted an image in my LaTeX document and the image always displays with the file path of the image directly above it.  How can I prevent this file path from displaying?  I am inserting the image like this:  \begin{figure} \centering     \includegraphics{C:/Users/Name/Pictures/image1.png} \caption{a caption} \label{fig:reference} \end{figure}   Here is a working example of document that produces this behaviour:  \documentclass{article}  \usepackage{graphicx} \begin{document} \begin{figure} \includegraphics{C:/Users/Name/Pictures/image 1.png}  \end{figure}  \end{document}   The image was inserted using the TeXnicCenter Insert>Picture function.  When I generate the pdf document, directly above any image (I have inserted multiple images using this technique) the file path displays above the image, in the case above it would show: "file\path\of\image", how can I prevent this from displaying?