How to get a string from a Reader?
From io.Reader to string in Go
ALTER table - adding AUTOINCREMENT in MySQL Why my tweet is not appearing on the timeline of the person I am following? I have tried tweeting someone I follow couple of times.  My tweets appear on my profile but when I look at the other person's timeline, my tweet is not there. I am following him but he is not following me. How to install Eclipse? I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version.  Is there a PPA or some other way to install latest Eclipse? Please describe the steps for full installation. What is the closure of an open ball $B_X(\mathbf{a},r)$ in $X=\mathbb{R}^n$? Suppose we have the open ball $B_{X}(\mathbf{a},r)$ and the closed ball $\bar{B}_{X}(\mathbf{a},r)$ of radius $r$ about $\mathbf{a}\in\mathbb{R}^n=X$ with the Euclidean metric $d_2$.  What is the closure of an open ball $B_{X}(\mathbf{a},r)$ in $(\mathbb{R}^n,d_2)$?  First, I have defined the sets like this:  $$B_X(\mathbf{a},r)=\{\mathbf{y}\in\mathbb{R}^n:d_2(\mathbf{a},\mathbf{y})&lt;r\}$$ $$\bar{B}_X(\mathbf{a},r)=\{\mathbf{y}\in\mathbb{R}^n:d_2(\mathbf{a},\mathbf{y})\le r\}$$  Then, let $U=B_X(\mathbf{a},r)$ and claim the closure is $$\bar{U}=\{\mathbf{x}\in\mathbb{R}^n:\exists (\mathbf{x}_n)\in U\text{s.t}~\mathbf{x}_n\to \mathbf{x}\}=\bar{B}_X(\mathbf{a},r).$$  Since closed balls are closed then we have $$\bar{U}\subset\bar{B}_X(\mathbf{a},r).$$  But, how can I prove the other direction $\bar{B}_X(\mathbf{a},r)\subset\bar{U}$?  Since it's a containment argument I know that I have to take any element from $\bar{B}_X(\mathbf{a},r)$ and show it is in $\bar{U}=\{\mathbf{x}\in\mathbb{R}^n:\exists (\mathbf{x}_n)\in U\text{s.t}~\mathbf{x}_n\to \mathbf{x}\}$.  But I do not know how to get an expression for $\mathbf{x}_n$.  I would appreciate any help. Why are the longer edges being beveled more? I am having trouble getting a basic example of a matrix of notes to show up in my beamer presentation. I am using the code copied from the pgf manual. Here is a complete working example. The error I get upon compilation is:  "Package pgfbasematrix Error: Single ampersand used with wrong catcode."  \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,fit,petri,positioning,matrix}  \begin{document}  \begin{frame}  \begin{tikzpicture} \matrix (magic) [matrix of nodes] { 8 &amp; 1 &amp; 6 \\ 3 &amp; 5 &amp; 7 \\ 4 &amp; 9 &amp; 2 \\ }; \draw[thick,red,-&gt;] (magic-1-1) |- (magic-2-3); \end{tikzpicture}  \end{frame} \end{document} Let $a,b$ be positive integers.  When $$k = \frac{a^2 + b^2}{ab+1}$$ is an integer, it is a square.    Proof 1: (Ngô Bảo Châu): Rearrange to get $a^2-akb+b^2-k=0$, as a quadratic in $a$ this has two values: $a$ and $kb - a = (b^2-k)/a$. (The second root is determined in two different ways from the expansion $(x-r_1)(x-r_2) = x^2 - (r_1 + r_2)x + r_1 r_2$.)  Now suppose we have $a,b$ such that $k$ is an integer but not a square, by the investigation about roots we have that the second root is a nonzero integer since $k,b,a$ are integers and $k \not = b^2$, futhermore it is positive which is easily seen from its defining equation.  WLOG assume $a \ge b$ so that the second root is strictly smaller than $a$. This leads to a decent, replacing $a$ with the second root.    Proof 2 (Don Zagier): Apply reduction theory (specifically, Sätze 1 and 2 of Section 13 of my book on quadratic fields) to the quadratic form $x^2 + kxy + y^2$, which is the unique reduced quadratic form in its equivalence class.    Note that Proof 2 is pretty much the same as Proof 1 when written out in explicit detail, but I could not read Zagier's book because I cannot read German.  I would like to know more approaches to this and other alternative proofs of this result if possible! Thanks in advance.  I would also be interested in related problems (especially easier ones of a similar nature) and texts which cover the reduction theory in English. What does the Canonical Commutation Relation (CCR) tell me about the overlap between Position and Momentum bases? Can I partition a HDD for playing Xbox 360 games? I am planning to buy an xbox 360 console. my budget permits me acess to only the 4 GB one which needs extra space for many games' install. I have an external HDD of size 40GB. My question is can I divide it into partitions such thet I can use one for gaming on xbox and the other for data storage. In Star Wars: "The Force Awakens," how could this lightsaber have turned up where it did? In The Force Awakens:      Maz Kanata tells Rey that the lightsaber she just picked up and had visions from belonged to Anakin and Luke and now it's hers.   The lightsaber that Luke got from Obi-Wan Kenobi in A New Hope was lost/destroyed when Luke fought Darth Vader in Star Wars: The Empire Strikes Back.  In Return of the Jedi Darth Vader compliments Luke on building a new lightsaber and tells Luke that his skills are now complete.   How could that possibly be the lightsaber that Anakin used originally, and that was then passed on to Luke, when that lightsaber no longer exists?  Writers notes, director's notes, interviews, cast interviews, etc. are welcome. Thanks. The add comment link and comment box overlaps bounty box The following you could have seen in  (sorry, I've commented there, so you won't see it anymore) in Chrome 35.0.1916.153 m (current version). Notice how the add comment link overlaps the bounty box:    The same you can observe with a comment box on other sites, e.g. at this time in :    Could you shift it a bit down ?  It seems that it happens on more than just Stack Overflow (maybe all sites ?). In what sense is a scalar field observable in QFT? Consider a QFT consisting of a single, hermitian scalar field $\Phi$ on spacetime (say $\mathbb R^{3,1}$ for simplicity).  At each point $x$ in spacetime, $\Phi(x)$ is an observable in the sense that it is a hermitian operator (operator-valued distribution) on the Hilbert space of the theory, but is each such operator observable in a stronger, more physical sense?  Is there an experiment one could hypothetically perform to measure the value of such a field at a given spacetime point? This is one of those questions I glossed over while learning QFT, but now it's bugging me.  In particular, I think this point is central in preventing me from understanding certain basic assumptions in QFT such as microcausality which I also never really think about anymore. How reliable is validating email domain by reverse DNS MX record checking Erlang server, Java client - TCP messages get split? Last months I have lots of referrer spammers in my GA statistics. Their count is ~10x higher than count of legit visitors (my site is not very popular yet). I've turned on an option to hide known spammers in GA settings, but it didn't help at all. It seems these spammers are using scripts to spam directly to GA (i.e. they are not logged in my IIS).  Is there anything I can do to stop these spammers?    UPD 10 months later, and they started spamming using fake target page names... and Google is still doing nothing about it. How is a pitch supporting fast bowlers or spin bowlers? I know empirically that is the case.  I have just developed models that run into this conundrum.  I also suspect it is not necessarily a yes/no answer. I mean by that if both A and B are correlated with C, this may have some implication regarding the correlation between A and B.  But, this implication may be weak.  It may be just a sign direction and nothing else.    Here is what I mean...  Let's say A and B both have a 0.5 correlation with C.  Given that, the correlation between A and B could well be 1.0.  I think it also could be 0.5 or even lower.  But, I think it is unlikely that it would be negative.  Do you agree with that?    Also, is there an implication if you are considering the standard Pearson Correlation Coefficient or instead the Spearman (rank) Correlation Coefficient?  My recent empirical observations were associated with the Spearman Correlation Coefficient. What are some good tips on how to extrude text in Adobe Illustrator? I'm bit of a newbie in Adobe Illustrator and have been learning the application by trying to follow some tutorials and recreating some cool stuff I come across on the web.   That being said, I'm having trouble replicating the effect found in the following image using the standard 'Extrude &amp; Bevel' options. I've also tried copying + pasting the text in front, back, in place and that came out even more horrendous. 'Extrude &amp; Bevel' gives me a nice approximation but nothing that pops out like in the example.   Any tips on how to fine tune my 'Extrude &amp; Bevel' settings or an entirely different method of achieving a similar effect would be very much appreciated. Thanks for your time and help!  How can I create a 3D effect on my text similar to the one in the following image, using Illustrator's Extrude and Bevel tools? Provide an easily discoverable way to get the full URL to an answer , clicking &quot;link&quot; &quot;share&quot; for anwers yields a short (traceable) URL in the &quot;share a link to this answer&quot; dialog, such as †:  These short URLs show no clue about the linked question whatsoever. Also, when different people use a short URL for the very same post, then the user id suffix makes those be different URLs for a browser. Such links will then not be shown as visited‡. I know how to get URLs that have a proper slug. But as I see  pop up on these sites (where referrals ), I assume many others just don't realize full URLs would be better for use on these sites themselves? Or many don't want to do the little effort to get the full URL? So: can we please have an easy way to get the full URL as well, in a way that is easily found for those who don't know about the different links? (Currently for questions, clicking &quot;link&quot; has the same effect. But then one can also right-click the title, or take the URL from the location bar, to get the full human-readable URL. Once, Jeff .)  † The short links for answers are not (yet) [automatically converted][6] into a clickable question title either, unlike links such as `https://meta.stackexchange.com/questions/74274/privacy-leak-in-permalink#75963`, which renders as https://meta.stackexchange.com/questions/74274/privacy-leak-in-permalink#75963 But I guess that will change soon.  ‡ On Meta the CSS for posts doesn't indicate such difference anyway, which is a different issue. Can an integrity check be run against a USB boot disk?