What's the difference between "have" and "have got" to express possession?  examples:   I have a pen. I have got a pen.
I have looked through several questions and answers on EL&amp;U, and often there is an indication that American English prefers "have" while British English prefers "have got". In addition, there are several references to "have got" being more informal than "have" (e.g.: , ). But where is it considered more informal? In American English alone or both American and British English?   This point may seem obvious to those who made the above mentioned references, but the fact is that even the most fluent users of English in my country will say without a doubt that 'have got' is the preferred usage in the UK and, therefore, it must also be more formal. Why? Because in an academic environment, the more informal structures are generally frowned upon, outside some specific spoken exercises. And if the teachers insist on using "have got", it follows it isn't informal.  So, is the teaching of (British) English in our schools transmitting the wrong idea?  EDIT: I'm adding some information in answer to the comments.  I'm mainly concerned with the idea of possession:      I have got a cat vs. I have a cat and She has got a dog vs. She has a dog   As mentioned in the comments, every (Portuguese) student will be told that "have" and "have got", when it comes to the idea of possession, are absolute synonyms, the only two differences being:    "have got" is preferred by British English, "have" is preferred by American English   the negative and interrogative structures differ    I have never heard of any distinction in formality. In fact, I was rather surprised when I went through the EL&amp;U archives and read about it.  So, would "I have got a cat" be as formal/informal as "I have a cat"?   And how do British and American English look at its formality/informality? Is it the same?
How Do Dementors Communicate with Wizards? What are the differences between $$, \[, align, equation and displaymath? If we map every integer to a string that represents a rational number, and produce a number different from all the ones listed, we are essentially following Cantor's algorithm. But why does it not apply? Is it because we can't be certain that the number produced is a rational number? I just bought a house. Now I'm getting ads in the mail every day or two trying to get me to sign up to pay my mortgage bi-weekly (every two weeks) or weekly instead of monthly. In their words I could cut seven years and thousands of dollars off what I pay in long term. It seems like I would be paying the exact same amount of money, also.  I know "if something sounds too good to be true then probably it is". But I cannot figure out why in this case. What is the catch? Or is this something I should be signing up for ASAP? I have made a script that will sort files according to their extension and place them in the proper folder. For example, place abc.jpg in the directory jpg.  #!/bin/bash #this script sorts files according to their extensions oldIFS=$IFS IFS=$'\n' (find . -type f) &gt; /tmp/temp for var in `cat /tmp/temp` do name=`basename "$var"` ext=`echo $name | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2-` mkdir -p $ext mv "$var" $ext/ 2&gt; /dev/null done IFS=$oldIFS   problem with this script:    it involves use of IFS, it is said to avoid use of IFS, as much as possible it does not sorts file without file extensions  it will sort files like abc.tar.bz in folder named bz, but however such a file should go in tar.bz folder see line 9 of my script; if any file contain more no. of dots(in its name) than no. of cut -d'.' -f2- in the script than if will result in file name taken in extension part. for example, a file named i.am.live.in.india.and.i.study.computer.science.txt will be placed in folder named study.computer.science.txt   you may also suggest any tweaks to make this script more smaller and neat. Edits on closed posts Should questions or answers on questions that are closed be edited, even if the question is closed and the edit does not change anything about the reason it's closed? Example:  was just edited, which I saw in the review queue. It certainly improves the answer, but since the answer doesn't really have to exist on SE at all (because the question is off-topic), should this edit be made? In my understanding, the only reason that the edit option for a closed question is not greyed out is so that it can be edited to make it comply with the SE rules. Homework - set theory infinite union A question from my homework I'm having trouble understanding. We are given:  $A(1) = \{\varnothing\}$, $A(n+1) = A(n)\cup (A(n)\times A(n))$  $A=A(1)\cup A(2)\cup A(3)\cup \cdots \cup A(n)\cup A(n+1) \cup \cdots$ to infinity  The questions are:  1) show that $A\times A \subseteq A$  2) Is $A \times A = A$?  Thank you for your help.  I've tried writing $A(2)$ but it gets really complicated and I'm having trouble understanding what the sets are. Let alone solve the question. I frequently cross this issue, and always have to google for an answer. Does anyone have a permanent fix for BADSIG errors from apt-get?     W: GPG error:    lucid   Release: The following signatures were   invalid: BADSIG 54422A4B98AB5139   Oracle Corporation (VirtualBox archive   signing key) Strange difference between pwd and /bin/pwd I added a symlink to the current directory with ln -s . aa. If I execute cd aa, and after that I executed pwd, the response is /home/sim/aa.  But if I execute /bin/pwd it prints /home/sim (the current directory hasn't changed).  Where does this difference come from? Alignment issue for the last modified information in the "Top Questions" page In the  (homepage), the asked/modified X mins ago text was left-aligned next to the tags. Previously the text was right-aligned. Seems some alignment issue introduced on that page recently. Screenshot for reference:      Configuration Version     Operating System Windows 10 Pro   Mozilla Firefox 89.0 (64-bit)   Google Chrome 91.0.4472.101 (Official Build) (64-bit)     Update: I see the same alignment issue in all other Stack Exchange site's &quot;Top Questions&quot; page too. For $X$ and $Y$ random variables; $X$ follows the uniform distribution.  (1): if $Y=-\log X$  (2): then it can be shown that $-\log X$ is distributed as $\exp(1)$ {i.e. exponential with mean 1}.  Why is this so? Intuitively statement (2) make sense to me. But i'd like a mathematical proof.  -Probably wrong working:  (1) seems to imply $\exp(-Y) = X$ (which is like saying $X$ is exponentially distributed, which is a contradiction, since its actually uniform!); or is it incorrect for me to do this since $X$ and $Y$ are random variables?  Ultimately how do I prove (2)?  Thanks Let f(x) be a  polynomial satisfying $\lim_{x \to\infty} \frac{x^4f(x)}{x^8+1}=3,$  $f(2)=5 $ and $f(3)=10$, $f(-1)=2$ and $f(-6)=37$ . And then there are some question related to this. In the solution it is given that according to the given information, $f(x)$ is a polynomial of degree 4 with leading coefficient 3. $f(x)=3(x-2)(x-3)(x+1)(x+6)+(x^2+1)$ Now what i think is that he got the coefficient 3 using the limits and the rest of the terms$[(x-2)(x-3)(x+1)(x+6)]$ from the respective $f(x)$ values from what was given and also the $(x^2+1)$ was added for the remainders, as they satisfy all the values that have been given to us in the question. I just wanted to know if my approach is right? or is there another elegant way to do it?. I wasn't aware of a difference, but a coworker says there is, although he can't back it up. What's the difference if any? In the answer , the parser breaks my URL link.  The URL was with __word__:      http://www.open-mpi.de/projects/hwloc/doc/v1.2/group__hwlocality__membinding.php#gade5e2c28ea8475a479bf2b1df36c6ccd   After parsing, it becomes (&lt;a href is broken; no clickable link):  hwlocality_membinding.php#gade5e2c28ea8475a479bf2b1df36c6ccd"&gt;http://www.open-mpi.de/projects/hwloc/doc/v1.2/group_hwlocality_membinding.php#gade5e2c28ea8475a479bf2b1df36c6ccd   Short test:  http://example.com/_test_ -> test"&gt;http://example.com/test  Or if I put in a naked URL with _test_ just here: I want to start working on a web map at work to map some of our statistics by city.    I have an idea, but I'm not exactly sure where to start.   Are there any definitive resources that provide step by step guidance on how to do this? Why was Dumbledore worried by the cut in Harry's arm? In the Goblet of Fire, Harry is cut in the arm by Pettigrew. When Dumbledore learns it, he's extremely worried and wants to check Harry's arm.  Why?     When Harry told of Wormtail piercing his arm with the dagger, however, Sirius let out a vehement exclamation and Dumbledore stood up so quickly that Harry   started. Dumbledore walked around the desk and told Harry to stretch out his arm.   Harry showed them both the place where his robes were torn and the cut beneath   them.      "He said my blood would make him stronger than if he'd used someone else's,"   Harry told Dumbledore. "He said the protection my - my mother left in me - he'd   have it too. And he was right - he could touch me without hurting himself, he   touched my face."      For a fleeting instant, Harry thought he saw a gleam of something like triumph in   Dumbledore's eyes. But next second. Harry was sure he had imagined it, for when   Dumbledore had returned to his seat behind the desk, he looked as old and weary   as Harry had ever seen him.      "Very well," he said, sitting down again. "Voldemort has overcome that particular   barrier. Harry, continue, please.     Edit:  Plz explain this sentence specifically:     "Dumbledore walked around the desk and told Harry to stretch out his   arm." Inequality between $\ell^p$-norms How to perform Stream functions on an Iterable? Conjugacy classes in $A_n$. Suppose $n$ is a non negative integer $\geq 4$ and $\sigma\in S_n$ a permutation. Conjugacy classes in $S_n$ are completley determined by the cycle structure of $\sigma$. If we let the alternating group $A_n$.act on $S_n$ by conjugation, the orbits coincide with the conjugacy classes in $S_n$ except for those (even) permutations whose cycle structure is composed of even cycles (which corresponds to cycles of uneven length) of distinct order (fixed points are treated as cycles of length $1$.) See   For instance a $3$-cycle in $A_4$ has cycle structure $[3,1]$ which fits the bill, and a $5$-cycle in $A_5$ or $A_6$ works too, since the cycle structure is $[5]$ and $[5,1]$ respectively. On the other hand, a $3$-cycle in $A_5$ will does not satisfy the criteria as it has cycle structure $[3,1,1]$ with two fixed points.  In this case, the conjugacy class of $\sigma$ inside $S_n$ splits in $2$ orbits of the conjugation action of $A_n$, and if $\tau$ is any odd permutation, for instance $(12)$, then we have $$\mathrm{Conj}_{S_n}(\sigma)=\mathcal{O}(\sigma)\coprod\mathcal{O}(\tau\sigma\tau^{-1})$$  My question is How can we differentiate between the two orbits? Does it have geometric meaning?    I can see that this information can be useful when looking at representations of the alternating groups, since there are as many irreducible representations as conjugacy classes. As for some geometric interpretation, I ask because there is one for the three cycles in $A_4$. If $S_4$ is understood as the group of symmetries of a regular tetrahedron, then $A_4$ is the subgroup of direct symmetries, and a $3$-cycle corresponds to a rotation of angle $\frac{2\pi}{3}$ or $\frac{4\pi}{3}$ with axis passing through one of the vertices. Conjugacy classes inside $A_n$ preserve the angle, and that's how we can tell them apart. In this case the computations are so simple we don't really need this picture, but I think it is a nice way to understand the fact $3$-cycles in are not all conjugate inside $A_4$... In the standard PrintDialog there are four values associated with a selected printer: Status, Type, Where, and Comment.  If I know a printer's name, how can I get these values in C# 2.0?