Print without a newline between two strings
How to print without newline or space?
Currently, when flagging an off-topic question, the following choices are offered.   Questions about general computing hardware and software are off-topic for Stack Overflow. Questions concerning problems with code you've written must describe the specific problem and include valid code to reproduce it. Questions must demonstrate a minimal understanding of the problem being solved. Questions on professional server, networking, or related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. This question belongs on another site in the Stack Exchange network   However, there are some questions that fit in none of these categories.  For example, career advice questions are off-topic here (and on programmers.SE), questions like  are off-topic on pretty much any SE site.    Some questions might also be relevant on another SE site not listed when the "belongs on another site" option is selected.  How should those questions be flagged?  Why isn't there a "it's off-topic because it is" option?  EDIT: just to be clear, I don't have the "Other" option under Off-Topic. I'm working on a small game and i'd like to know how can i write/read a user settings file in ubuntu touch? Convert object string to JSON Blocking comment spam without using captcha cp -r is meant to copy files recursively, and cp -R for copying directories recursively. But I've checked, and both appear to copy both files and directories, the same thing. So, what's the difference actually? ASP.NET MVC Relative Paths In my applications, I often have to use relative paths. For example, when I reference JQuery, I usually do so like this:  &lt;script type="text/javascript" src="../Scripts/jquery-1.2.6.js"&gt;&lt;/script&gt;   Now that I'm making the transition to MVC, I need to account for the different paths a page might have, relative to the root. This was of course an issue with URL rewriting in the past, but I managed to work around it by using consistent paths.  I'm aware that the standard solution is to use absolute paths such as:  &lt;script type="text/javascript" src="/Scripts/jquery-1.2.6.js"&gt;&lt;/script&gt;   but this will not work for me as during the development cycle, I have to deploy to a test machine on which the app will run in a virtual directory. Root relative paths don't work when the root changes. Also, for maintenance reasons, I cannot simply change out all the paths for the duration of deploying the test - that would be a nightmare in itself.  So what's the best solution?  Edit:  Since this question is still receiving views and answers, I thought it might be prudent to update it to note that as of Razor V2, support for root-relative urls is baked in, so you can use   &lt;img src="~/Content/MyImage.jpg"&gt;   without any server-side syntax, and the view engine automatically replaces ~/ with whatever the current site root is. How to get the list of IP addresses in a LAN? Why might right aligned field labels be better? For the longest time, I've used left-aligned labels in my forms, like this:    I did this because I thought having the labels left aligned made it easier for readers to scan the list of labels.  However, I found my axiom challenged recently while watching  from , in which Billy asserts that right-aligned labels are simply better, like this:    I've done a bunch of research and found a lot of discussion, including , which compares and contrasts the approaches, but nothing definitive.  In particular, I haven't been able to find anything to indicate why Billy Hollis changed his opinion from left- to right- alignment for labels (apparently he switched around 2007).   I figure Billy's too smart to have made the change without evidence - so I'm interested in seeing that evidence for myself. How to add a gif file to my LaTeX file? Related:          I have an image file -- a gif file, which is the graph of a function. How do I add it to a LaTeX file? Will it come out OK in the subsequent pdf file? Make it clearer when looking at a question if I've already voted to close it Since "" we now have the possibility to retract close votes.   However, as mentioned in "" there is no indication when looking at a question to see if I have already cast such a close vote.  Therefore, could we have a UI improvement to show this? Adding some image with freehand circles to improve visibility. In the Stack Exchange Android App v1.0.7 1.0.33 (with a HTC One running Android 4.4.2), the answer count for a question you're viewing is displayed in two places:   In the label of the answer tab:   At the bottom of the question tab:    I've noticed that these counts don't reliably update when new answers arrive.   If you refresh the question tab, neither count updates. If you refresh the answer tab, the second count will be updated, but the answer tab's count will not, leaving the two out of sync.   Refreshing either tab should probably update both counts!    Screenshots of the bug in action:    I waited for it to be answered. A while later, the question now has an answer.    The tab still says 0 answers though. Switching back to the question tab, , but the tab count still doesn't. How strong is Superman on Krypton? When Superman goes back to visit his home planet (using his ability to travel through time, I guess), is he:    an exceptionally strong and athletic Kryptonian? just an average Kryptonian male? a weakling on account of spending a lifetime in the comparative microgravity of Earth?   A possibly related question: why is Superman so muscular? What kind of weights does he lift to stay in shape?  The answers to  are all about Superman's superpowers on Earth compared with other visitors from Krypton; I'm asking about Kal El without his superpowers.  Clarification: I'm asking about the "classic"  Superman, say late Golden to early Silver Age, roughly 1945-1960. (Yes, I know the concept evolved during those years.) I'm not sure what that would be in terms of "numbered Earths", those came along after my time. I'm pretty sure the Kryptonians of that era had no superpowers in their native milieu, nor would Kal El if he were deported in space-time to his native world. Story of lost tech but magic manifests I'm looking for this novel (or maybe a series of books?). I remember that technology began failing all over the world. Some people began transforming into different types of mythical creatures, like sprites, demons, etc. There was a band of about four travelers that were trying to make it to Chicago, since that seemed to be at the center of the issue. The story line frequently shifted the point of view in each new chapter. I vaguely recall a final battle in Chicago with an enormous and powerful demon creature. I think this demon used to be a corporate lawyer or big business guy before his transformation. I believe I read this in the early/mid 2000s, and was likely published around that time because of the types of tech used and failing in the story. Although it bears some surface similarity to the TV show, Revolution, they aren’t comparable in plot or characters. Calculate which day of the week a date falls in using modular arithmetic In  the main character (he is a mathematician) calculates the day of the week of someone's birthday (19/07/1992 is Sunday). I know (very) basic modular arithmetic but I can't figure out how to do it. Can someone point me to the right direction? It seems fun to do. Determinant of a rank $1$ update of a scalar matrix, or characteristic polynomial of a rank $1$ matrix This question aims to create an &quot;&quot;  of numerous questions that ask about determinants of specific matrices (I may have missed a few):              The general question of this type is  Let $A$ be a square matrix of rank$~1$, let $I$ the identity matrix of the same size, and $\lambda$ a scalar. What is the determinant of $A+\lambda I$?  A clearly very closely related question is  What is the characteristic polynomial of a matrix $A$ of rank$~1$? Design review - RGB LED color mixer using PWM How can I prove $\lim_{n \to \infty} \frac{n^2}{2^n}=0$ How can I prove $\lim_{n \to \infty} \frac{n^2}{2^n}=0$  I tried to use $\mid \frac{n^2}{2^n} - 0 \mid &lt;\epsilon $ However, because of $n^2$ I cannot use it. Also, I tried to use ratio test and I got $\lim_{n-&gt;\infty}\frac{(n+1)^2}{2}\frac{1}{n^2}$, but after that one, I dont know how to get limit &lt; 0  I have no idea to solve this problem.   I can also use a squeez lemma, but dont know how to apply to this question. $\gcd(a,b)=1, x^a = y^b\Rightarrow x = n^b$, $ y = n^a$ for an integer $n$. If $ a$, $ b$, $ x$, $ y$ are integers greater than $1$ such that $ a$ and $ b$ have no common factor except $1$ and $ x^a = y^b$ show that $ x = n^b$, $ y = n^a$ for some integer $ n$ greater than $1$.  I started this way: $x^a=y^b$ $=&gt;$ $x=y^{b/a}=(y^{1/a})^b$. Thus $x$ is an integer, and so is $y^{1/a}$, so $y=n^a$ for some integer $n$ greater than $1$. Then from the given relation, we get $x=n^b$.   I am not very convinced with my solution, as I feel I did some mistake. Can anyone point out where the mistake is? Any other solution is also welcome :) How do I change fonts and adjust their size? I've been finding fonts on the internet and  on my system.   What's the easiest way to change my fonts? I would prefer an easy to use graphical way, but answers with command line recommendations are also welcome. Best way to compare 2 XML documents in Java I'm trying to write an automated test of an application that basically translates a custom message format into an XML message and sends it out the other end.  I've got a good set of input/output message pairs so all I need to do is send the input messages in and listen for the XML message to come out the other end.  When it comes time to compare the actual output to the expected output I'm running into some problems.  My first thought was just to do string comparisons on the expected and actual messages.  This doens't work very well because the example data we have isn't always formatted consistently and there are often times different aliases used for the XML namespace (and sometimes namespaces aren't used at all.)  I know I can parse both strings and then walk through each element and compare them myself and this wouldn't be too difficult to do, but I get the feeling there's a better way or a library I could leverage.   So, boiled down, the question is:  Given two Java Strings which both contain valid XML how would you go about determining if they are semantically equivalent?  Bonus points if you have a way to determine what the differences are.