Moving the cursor and printing characters in console doesn't work with sleep
Why does printf() not print anything before sleep()?
How to install Ubuntu on VirtualBox? I would like to know if anyone can help me with installing Ubuntu on VirtualBox Showing that $f$ is linear function if $\forall z \in \mathbb{C}$, $|f(z)| \leq 1 + |z|$. Let $f$ be an entire function that satisfies $|f(z)| \leq 1 + |z|$ for all $z\in \mathbb{C}$. Show that $f(z) = az +b$ for fixed complex numbers $a,b$.    The hint tells us to try and use Cauchy's Integral Formula on an arbitrary circle.    This is my attempt: Consider an arbitrary large circle with centre $0$ and let $\Upsilon$ be the contour around this circle.    Then $$\int_{\Upsilon} \frac{f(z)}{z^{n+1}} \mathrm{d}z = \frac{2\pi i}{n!}f^{(n)}(0).$$    Note that $$\int_{\Upsilon}\frac{f(z)}{z^{n+1}} \leq \int_{\Upsilon}\left|\frac{f(z)}{z^{n+1}} \right|\leq \int_{\Upsilon} \frac{1}{|z^{n+1}|} + \frac{1}{|z|^n}$$ and the right hand side is $0$ by Cauchy's Integral Formula. I'm not sure if the first equality is valid, and not sure where to go from here. Is it possible to show a screensaver on a secondary monitor while using the primary monitor? I have an iMac with a large format display set up as a secondary monitor that we use as a television for watching movies.  When I am just using the iMac, I would like for the secondary display to display something interesting rather than just the wallpaper.  Is it possible to set up a screensaver that appears on the second monitor (I really like the iPhoto slideshow) while allowing me to use the primary iMac monitor?  I would even be happy if it wasn't technically a screen saver, but just any sort of slideshow that could be displayed on one monitor while I work on the other.  Currently if I play a slideshow in iPhoto, the other monitor goes blank. :( When will my device get the Android 4.1 update (Jelly Bean)? Android 4.1 (Jelly Bean) was announced at Google I|O 2012 on June 27, 2012.  (You can review  at the official Android Developer's site.)  Of course, not all devices will get this update right away and others won't get it at all. Each manufacturer and carrier often choose to add their custom modifications which tend to delay the official release.  When will each device get Android 4.1, either officially or unofficially, if ever?  See also: How do I calculate areas of an area shapefile in square meters (m²) or in acres (ha)? I didn't find that functionality in the Vector Tools. Ignoring programming style and design, is it "safe" to call delete on a variable allocated on the stack?  For example:     int nAmount;    delete &amp;nAmount;   or  class sample { public:     sample();     ~sample() { delete &amp;nAmount;}     int nAmount; } Add title uniqueness to the heuristics for detecting low-quality questions This feature request is a response to  Two days ago,  suggested that we . However, given that  (hat tip ) as well as ...  262  103   ... I suggest that we take it a step further. Let's extend the heuristics for detecting—and blocking—low-quality questions to enforce unique titles, or at least flag new questions with duplicate titles automatically. We can leave the precise heuristics of detecting a duplicate title up to the Stack Overflow development team. I have no delusions about the fact that a few questions will &quot;slip through the cracks.&quot; The goal here is to be proactive about minimizing the number of duplicates, and I think that the best place to start is the existing heuristics for detecting low-quality questions. After all, duplicate question titles are bad for a number of reasons: They often indicate a question that is itself a duplicate, but perhaps just as importantly, they decrease the signal-to-noise ratio when searching for questions. I honestly can't think of any reason that duplicate question titles are helpful, unless you are asking for a solution to the same problem in a different programming language. Even then, I think that it would be acceptable to rephrase the question to say &quot;How do I do X in (insert programming language here)?&quot;  makes a good point about the potential problems with this solution:  I have a hunch that if we do that, people will find ways to circumvent it (changing case or punctuation, adding random spam), and we'll end up stuck in a an arms race.  We may get stuck in an arms race with some users, but I honestly think that many people new to Stack Overflow just don't understand the etiquette of asking questions here. If we could even convince people to rephrase their question more clearly 20% of the time, I think that it would be a tremendous boon to the community. Furthermore, remember that heuristics for low-quality questions already exist, arms race or no. 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. I have been wanting to understand how to find the sum of this series.   $$1^p + 2^p + 3^p +{\dots} + n^p$$  I am familiar with Gauss' diagonalised adding trick for the sum of the first $n$ natural numbers.  I can prove the formulas for  $$\begin{align}   \sum_{1}^{n} k^2 &amp;= \frac{n(n+1)(2n+1)}{6}\\  \sum_{1}^{n} k^3 &amp;= \frac{n^2(n+1)^2}{4}\\ \sum_{1}^{n} k^4 &amp;= \frac{n(n+1)(2n+1)(3n^2+3n-1)}{30} \\ \end{align}$$  With mathematical induction. But, beyond that even proofs with mathematical induction are difficult.  I'm interested in learning the theory and the proof behind Faulhaber's formula. What is the knowledge required to understand this proof ? What are the origins of the word orientated?  As far as I know, the correct spelling is oriented and orientated is not an alternative spelling but an error that is in common use.  Is it for example more commonly used in a certain country or by a certain people? Is there a reason for people choosing to say or write orientated instead of oriented? Trying to find a story about an unborn telepathic baby who can save a spaceship from doom There's a spaceship, nearing the end of its journey. Everybody on board is in cryosleep. For some reason the wake-up system malfunctions, and the ship will fly on indefinitely. The people at the space port realise this, and try to wake someone up. Their last resort is finding someone on board who is telepathic, and wake this person up. They find one, but it turns out to be an unborn baby. What's the standard "roadmap" to learning quantum physics? I'm really interested in quantum physics and would like to learn more. However, I don't know where to start and in what order I should learn things. So, ideally I'm looking for some sort of roadmap of what to learn. What physics topics do I need to know to start learning about quantum mechanics? (In addition to the mathematical topics mentioned at )  My current knowledge is mostly popular science stuff, like tv shows on Discovery Science and National Geographic Channel. So I have a basic understanding of some basic principals. There's also a recent lecture from Brian Cox that I have watched which gave a bit more in-depth information. The word or phrase I am looking for is quite opposite to that of the situation when people, such as students or sports players, sing their national anthem with the same tone and words.  I want a single word or even phrase that can describe the situation when two or more people speak at the same time with different tone and words . . . and at the end, the listener cannot get what they are saying. This situation can be found while debating, telling a news about any incident or even while complaining.     Due to _____ , the teacher could not get what they are saying.   If it's not feasible to find a noun or phrase for such situation, then here I request to have an adverb standing alone to describe how they are speaking, for instance, what is the adverb for "at the same time"?.  Here is how, I want to convert sentence 1 into sentence 2.        They spoke at the same time, and the teacher could not get what they are saying.   They spoke _____ , and the teacher could not get what they are saying. At a movie theater, the whimsical manager announces that a free ticket will be given to the first person in line whose birthday is the same as someone in line who has already bought a ticket.  You have the option of choosing any position in the line. Assuming that you don't know anyone else's birthday, and that birthdays are uniformly distributed throughout the year (365 days year), what position in line gives you the best chance of getting free ticket? "Requires 50 reputation" to comment on deleted posts So I recently saw add comment (requires 50 reputation) on a deleted answer. After looking around a bit, it seems to be on all deleted posts now (only deleted posts, normal posts still say just add comment).  I'm sure it wasn't there before (I think it just said add comment (unclickable) or possible nothing).  It is also on , presumably the root cause is the same.  And yes, I do have more than 50 reputation (in case anyone was wondering).  Just to clarify, requires 50 reputation obviously shouldn't be there for users with 50 or more reputation. Choices:   Display nothing Unclickable add comment - probably not ideal Unclickable add comment (disabled for deleted posts) or something along those lines   FYI - You may be somewhat confused right about now if you can't  yet. How can I determine whether a 2D Point is within a Polygon? Table:   UserId, Value, Date.   I want to get the UserId, Value for the max(Date) for each UserId. That is, the Value for each UserId that has the latest date. Is there a way to do this simply in SQL? (Preferably Oracle)  Update: Apologies for any ambiguity: I need to get ALL the UserIds. But for each UserId, only that row where that user has the latest date. Can I use the Stack Exchange concept in my own sites? I am thinking of making a site which will have a forum. I already have a lot of users (in an old forum, which I want to renew).  I like the Stack Exchange concept (voting, reputation, etc).  Can I build one of my own on my site? (I don't intend to copy any source code, just the concept itself.)  Is the concept patented or otherwise legally protected, or is it free to use? What is the exact $SU(2)$ representation to which these Hermitian generators belong? \begin{equation} t_a=\{t_1,t_2,t_3\}=\left\{\frac{1}{\sqrt{2}}\begin{pmatrix}  0 &amp; 1 &amp; 0 \\ 1 &amp; 0 &amp; 1 \\ 0 &amp; 1 &amp; 0 \end{pmatrix},\,\frac{1}{\sqrt{2}}\begin{pmatrix}  0 &amp; -i &amp; 0 \\ i &amp; 0  &amp; -i \\ 0 &amp; i &amp; 0 \end{pmatrix},\,\begin{pmatrix}  1 &amp; 0 &amp; 0 \\ 0 &amp; 0 &amp; 0 \\ 0 &amp; 0 &amp; -1  \end{pmatrix} \right\} \end{equation}  I'm a bit puzzled with this, these are not the generators of the triplet representation of $SU(2)$ (the triplet in $SU(2)$ is the adjoint rep which is real and constructed with the structure constants), nevertheless they are used as if they were in much literature. What are really these generators? They seem like the extension to 3 dimensions of the Pauli matrices. The 3 dimensional fundamental rep (this does not make sense to me)? some kind of non-irreducible representation? I am trying to understand the permission usage for the cp command in unix.   What are the permissions required for copying a file into a directory What are the permissions required for copying out of a directory?   I'm assuming for my first question, the directory will need execute permissions to perform the operation and the file will need read permissions to read the binary of the file and then the output file will need write permissions.  For the second the directory itself would need execute permissions to perform the copy operation and the file would need read permissions to extract the data from the file.  Can anyone tell me if my logic is flawed?