I just bought a new late 2013 iMac and a new late 2013 Macbook Pro retina. Also bought an Apple thunderbolt cable.  Pressing CMD+F2 (enabling Apples "Target Display Mode") on my iMac lets me use the iMac as external monitor for the MB Pro, but I'd like it the other way around (which doesn't seem to work).  Does anyone know how I through Thunderbolt (for speed, am aware that apps like  and Screen Recycler can do it through WiFi) so that my MB Pro becomes an extra external monitor for my iMac?  While  addresses this problem for earlier hardware and software, I'm looking for a solution that supports using a thunderbolt cable and works with late 2013 Macs with OS X Mavericks.
Is it possible to use a MacBook Pro as a second monitor for my iMac? Both of them have a Thunderbolt port.  If not, is there any other way?
Prefer composition over inheritance? Why prefer composition over inheritance?  What trade-offs are there for each approach?  When should you choose inheritance over composition? Select multiple faces at once I have a .STL file and all of the faces have been converted to triangles so there are hundreds of long thin triangles.  Is there a effective way to select all of the faces in a small area? Something like a circle and when you click every face under that circle is selected. $n &gt; 2$ and $n$ is a prime number then $n$ is odd.  Prove by contradiction assume $n$ is even then there is some $k\in\Bbb N, n = 2k$ then $n &gt;2, 2k &gt; 2 , k &gt; 1$  Is this  a sufficient proof? How do I tell which point-and-shoot cameras take good low light photos? Determining the characteristic of a field If $\mathbb{F}=\{ 0,1,x,y\}$ is a field with four elements, why is the characteristic 2?   In a field with four elements, the characteristic is 2 or 3(since it has to be a prime). Is there any way to determine precisely the characteristic of this field, and in general any finite field? Hierarchical clustering with mixed type data - what distance/similarity to use? In my dataset we have both continuous and naturally discrete variables. I want to know whether we can do hierarchical clustering using both type of variables. And if yes, what distance measure is appropriate? I have an image with a woman, and I need to make an ad (size 260mmx125mm). I want to put the woman to the left side, but then right side becomes empty. So, how I should solve the problem? I have picked the color from image, but it is definitely different than in the actual picture.  Should I use the Clone Stamp Tool in Photoshop, or there is a better way to do this?  By the way, it will be used in print, so I need a good quality. Let p be a prime. Consider the equation $\frac1x+\frac1y=\frac1p$. What are the solutions? Write down the set of distinct solutions and prove your list is complete. $x$ and $y$ are positive integers.  I have rewritten it as $\frac{(x+y)}{xy} = \frac1p$, but I don't understand where to go from here? Command to append line to a text file without opening an editor Assuming i have a line that i want to add to a file without opening an editor.  How could i append this line  alias list='ls -cl --group-directories-first'   to this file  config.fish So I've been thinking through some test cases. If $a_n = n$ then $\sum_n \frac{a_{n+1} - a_n}{a_n}$ is the harmonic series which diverges. And if $a_n = \sum_{k=1}^n 1/k$ then $\sum_n \frac{a_{n+1} - a_n}{a_n}$ diverges like $\sum_n 1/(n \log n)$. So that got me thinking, if $a_n$ is a strictly increasing unbounded sequence, does $\sum_n \frac{a_{n+1} - a_n}{a_n}$ necessarily diverge? Too many of your edits were rejected, try again in 7 days First time I've got the following message on SO:     Too many of your edits were rejected,   try again in 7 days.   Although, I have made ~50 accepted edits this day.  I'm sure that should outweigh the ~5 rejected edits, right?    My suggestion:  bool allowEdit(USER u) {     if(u.rejected * 5 &gt; u.accepted)         return(false);     else         return(true); }   Think of it this way: if I do a 1000 accepted edits, and mess up on 5 [rejected], does that mean I should get banned for 7 days?    Hmmm... There seems to be a bug; the message only appears when clicking edit from review.  But otherwise, I can't edit , even when going to it from the homepage. I have $k$ pairs of samples from different distributions. For each pair of samples I want to check if the samples are taken from a normal distribution with the same mean and variance. I assume the normal distributions for each pair is different and independent of other pairs. I do not know the mean and variance of any of the distributions.  I am doing a two sample t-test for each of the pairs. I want to combine the $k$ resulting p-values.   I could use Fisher's method but I am wondering about the distribution of the average t-value. If these were z-values rather than t-values I would use Stouffer's z-test. I could also approximate the t-distribution with a z-distribution and than use Stouffer's z-test, but I am not sure if that is a good approximation.  Is there a test like Stouffer's z-test for t-values?  Is there a better way to combine the t-values? Facing an error "*** glibc detected *** free(): invalid next size (fast)" I still do not understand what a  precisely is. Is it exactly the same as a particle? Or only an excited state?  And why does it make a peak in some diagrams? And which diagrams? Escaping regex string I want to use input from a user as a regex pattern for a search over some text.  It works, but how I can handle cases where user puts characters that have meaning in regex? For example, the user wants to search for Word (s): regex engine will take the (s) as a group.  I want it to treat it like a string &quot;(s)&quot; .  I can run replace on user input and replace the ( with \( and the ) with \) but the problem is I will need to do replace for every possible regex symbol. Do you know some better way ? show that  $$\int_{0}^{\infty} \frac {\sin^3(x)}{x^3}dx=\frac{3\pi}{8}$$  using different ways  thanks for all Can .exe and .msi files (Windows software) be installed in Ubuntu? Two columns with different background color and height of whole page I want to create page with two columns with different background color and height of whole page. What I was able to do is two columns with different background color but I can't set proper height and there is small gap between two columns and another gap between top of the page and top of the columns. I want to remove these gaps. Also I want to create vertical line between two columns. Right now I have minipages packed inside \colorbox which allows me to create all four borders but I only want one.   Final effect should look like this:    This is what I figured out for now:  \documentclass{article} \usepackage{blindtext} \usepackage{xcolor} \usepackage{geometry} \geometry{margin=0in}  \begin{document} \noindent \fcolorbox{black}{red}{ \begin{minipage}{.3\textwidth}   test \end{minipage} } \fcolorbox{yellow}{yellow}{ \begin{minipage}{.7\textwidth}   test \end{minipage} } \end{document} What are some alternative launchers that can be used to launch programs in Ubuntu's default Unity desktop? Using special auto start servlet to initialize on startup and share application data