Mac terminal strange output on return Using the Mac terminal whenever I hit enter, regardless of shell it outputs the line with square brackets. The issue doesn't occur in iTerm2.   Dan@Mac ~                                                            [10:32:55]  [&gt; $                                                                            ]  Dan@Mac ~                                                            [10:36:11]  [&gt; $                                                                            ]  Dan@Mac ~                                                            [10:36:11]  &gt; $        So above is what there term looks like, input goes at > $ however on enter it shows with [> $.  Any advice appreciated, let me know if you need any other details.   edit: To clarify as this was marked duplicate of another thread which asks the functionality/purpose of mark, when posting this I did not know what mark was or that it existed.
What functionality do 'marks' offer in the El Capitan Terminal? Since upgrading to OS X El Capitan, I've noticed a change in the Terminal: Executed lines show an opening bracket on the left, and a closing bracket on the right, as shown in this screenshot:    Similar questions have been asked here:          Some of the questions are referring to these brackets as marks, and the Terminal's Edit menu has a couple of entries related to marks, for example:   Edit > Marks > Mark as Prompt and Send Return Edit > Clear to Previous Mark Edit > Navigate > Jump to Previous Mark     Is there a summary of what these marks can be used for? I have not seen any reference to this new feature in any of the El Capitan feature overviews.
I have noticed that some questions get a lot of responses quickly, and the cool fact is that most of the time these initial responses are correct.  I see users are motivated to accept answers. Because many questions take less than 24h to get an acceptable response, I'm unsure what to do when I have a question that takes more than 24h to get a response that I feel is complete enough to warrant being marked as accepted.  And even for acceptable responses, I often hesitate to accept them out of concern that posters will pass my question by if it already has an accepted answer (unless it has lots of upvotes). Does this really deter the higher-quality posters, though? I would like to install  chat platform on my Ubuntu 12.04 LTS system. Please, could anyone provide me the steps to successfully install this software?. I've been trying to install this software using wine but I couldn't succeed it. What is cool about generics, why use them? I thought I'd offer this softball to whomever would like to hit it out of the park. What are generics, what are the advantages of generics, why, where, how should I use them? Please keep it fairly basic. Thanks. Let $X, Y$ be independent standard normal random variables.  We already know that $X+Y$ is normal with mean 0 and variance 2. However, I am trying to prove this result in a slightly different way than usual, i.e., using convolutions.  We can address the problem in the following way: the sum of the two variables has a density $h(x)$ given by the convolution product of the densities of the two variables, say $f$ and $g$, so that   $$ h(x) = \int_{-\infty}^{\infty} f(x-y)g(y)dy. $$  However,  $$ f(y) = g(y) = \frac{1}{\sqrt {2\pi}}\exp(-y^2/2). $$  Hence now the integral becomes:  $$ h(x) =\frac{1}{2\pi}\int_{-\infty}^{\infty}\exp(-(x-y)^2/2)\exp(-y^2/2)dy. $$  However, I am puzzled here. How should we go on from here? I cannot see how to transform this integral into the integral of a normal r.v of type $N(0,2)$. Thanks in advance for your help. Some applications simulate a virtual USB or CD Rom drive as if a USB drive is attached to the computer.  Is there any configuration or application that provides a virtual USB drive, not for the the operating system itself, but for other equipments which accept USB drive, through a USB port.  So I'll have a virtual hard disk (e.g. a *.vdi file) in the computer, which is connected, through a USB socket, as a USB drive to some other equipment (e.g. a cell phone or a laptop). I have recently submitted a paper to arXiv, but the arXiv moderators put my paper in status "on hold", because they have to make a decision on the right classification for the paper.   To those who have experienced a similar situation, how long did it take before they made a decision and published the paper on the arXiv? I just want to have an idea of how long I will have to wait. Finding $\lim\limits_{x\to1^-}\Bigl(\prod\limits_{n=0}^{\infty}\Bigl(\frac{1+x^{n+1}}{1+x^n}\Bigr)^{x^n}\Bigr)$ Compute : $$L=\lim_{x\to 1^-} \left(\prod_{n=0}^{\infty} \left(\frac {1+x^{n+1}}{1+x^n}\right)^{x^n}\right)$$   My try:   Writing out the first few terms I noticed that the limit can be expressed as $$L=\lim_{x\to 1^-} \frac 12\left(\prod_{n=1}^{\infty} (1+x^n)^{x^{n-1} -x^n}\right)$$ $$L=\frac 12\lim_{x\to 1^-} \left(\prod_{n=1}^{\infty} (1+x^n)^{x^{n-1}}\right)^{1-x}$$  Converting to exponential form I get $$L=\frac 12 \exp {\left(\lim_{x\to 1^-} (1-x)\sum_{n=1}^{\infty} \left(x^{n-1}\ln(1+x^n)\right)\right)}$$  And got stuck here. I did try to use approximation $\ln x\sim x$ hereon to get final answer as $\frac {\sqrt e}{2}$ but I think it was improper to use approximation and hence I believe that the answer I got is flawed. I also noticed that the form I obtained is quite similar to be used for a Riemann Sum but I didn't get a way to tackle the problem using that way.  Can someone please help me with this problem.... Is there a law that you can add or multiply to both sides of an equation? Is there a way to add a timer to a Beamer presentation? When are "if" and "whether" equivalent? Are if and whether equivalent in sentences like the ones below?     How to determine if my saddle is too high?   How to determine whether my saddle is too high?         We should check if everything is okay now.   We should check whether everything is okay now. Names of close-voters are not visible in the post notice but in the revision history and timeline I am not a user with close/reopen votes privileges on Travel Stack Exchange, therefore I can't see the names of the close voters :    However, they are visible when going to the revision history:    or the timeline of the post:    This also happens when I am not logged in: I cannot see the banner (and so if the question has been closed), but from the revision history/timeline of the post I can get that information.  Shouldn't names of close-voters be completely hidden from people without close/reopen privileges (even if the revision history is a little hard to find)? Although elements like &lt;div&gt;s normally grow to fit their contents, using the float property can cause a startling problem for CSS newbies: If floated elements have non-floated parent elements, the parent will collapse. For example:   &lt;div&gt;   &lt;div style="float: left;"&gt;Div 1&lt;/div&gt;   &lt;div style="float: left;"&gt;Div 2&lt;/div&gt; &lt;/div&gt;    The parent div in this example will not expand to contain its floated children - it will appear to have height: 0. How do you solve this problem? I would like to create an exhaustive list of solutions here. If you're aware of cross-browser compatibility issues, please point them out. Solution 1 Float the parent.   &lt;div style="float: left;"&gt;   &lt;div style="float: left;"&gt;Div 1&lt;/div&gt;   &lt;div style="float: left;"&gt;Div 2&lt;/div&gt; &lt;/div&gt;    Pros: Semantic code. Cons: You may not always want the parent floated. Even if you do, do you float the parents' parent, and so on? Must you float every ancestor element? Solution 2 Give the parent an explicit height.   &lt;div style="height: 300px;"&gt;   &lt;div style="float: left;"&gt;Div 1&lt;/div&gt;   &lt;div style="float: left;"&gt;Div 2&lt;/div&gt; &lt;/div&gt;    Pros: Semantic code. Cons: Not flexible - if the content changes or the browser is resized, the layout will break. Solution 3 Append a &quot;spacer&quot; element inside the parent element, like this:   &lt;div&gt;   &lt;div style="float: left;"&gt;Div 1&lt;/div&gt;   &lt;div style="float: left;"&gt;Div 2&lt;/div&gt;   &lt;div class="spacer" style="clear: both;"&gt;&lt;/div&gt; &lt;/div&gt;    Pros: Straightforward to code. Cons: Not semantic; the spacer div exists only as a layout hack. Solution 4 Set parent to overflow: auto.   &lt;div style="overflow: auto;"&gt;   &lt;div style="float: left;"&gt;Div 1&lt;/div&gt;   &lt;div style="float: left;"&gt;Div 2&lt;/div&gt; &lt;/div&gt;    Pros: Doesn't require extra div. Cons: Seems like a hack - that's not the overflow property's stated purpose. Comments? Other suggestions? How could the human race be saved in Interstellar? In  (2014) the human race seemed to be facing pretty poor odds until they discovered a convenient wormhole placed by an unknown entity expressed as "they". Later in the movie, we discover that       "they" are actually the human race in the future, reaching back in  time to save itself.   The end of the movie gets a little wild on the physics end, and I'm happy to take that ending as is - no need for it to make sense - but one very basic detail does bother me:  How could the human race have gone back in time to save itself from circumstances that would have caused us to go extinct without our own help (the convenient wormhole)? \includegraphics PDF, color problem I'm using pdflatex, and use \includegraphics to include content of figures from PDF. PDF are exported from InkScape.  \begin{figure} [!h]     \centering     \includegraphics[height=3cm]{fig/SUSAN.pdf} \end{figure}   Included PDF or source SVG has same colors. Green has always RGB value (0, 255, 0). Problem occurs when I include this files from LaTeX. In output PDF on some pages colorspace is darker. Even same image on other page has different colourity.  My PDF  . As you can see on page 7 (11 in PDF) USAN areas are bright green, but then on page 5 (9 in PDF) are green points on corners more darker. How to use fakeslant as slanted but not italic font with fontspec? Using fontspec with Luatex it is possible to create a fake slant and use that as italic should no italics be around:  \setmainfont[ AutoFakeSlant=0.15 ]             {FontName}   However, also if an italic version exist this faked slant will be used both for \itshape and \slshape. How can I keep using the shipped italic font defined by the ItalicFont= parameter to \setmainfont but use fake slant for \slshape? How does electricity propagate in a conductor? The strange thing is that opened scripts or newly opened ones are working fine. It's the new created C# scripts that are not working.  With not working, I mean the MonoBehaviour is not in light blue color it's in black color. In this screenshot I took, I marked it with a red circle.    What have I tried so far? I have closed Visual Studio and started over again.  Since it didn't solve it, I closed the unity editor and started it over again, to no avail.  I pressed 'clean solution', I pressed 'rebuild solution', I pressed 'build solution'.  What else can I do ? And why are the other scripts working fine? If I type gameo...it will auto complete it to GameObject but in this specific script it's just not working.  This is a screenshot of the editor. I have in the Hierarchy a Ladder object.  In the Assets I created a folder name Ladder and a script name Ladder. But this Ladder script is not working.    This is the Ladder script and this script was working before but once I created another script inside the ladder folder name Raise empty script the Raise script didn't work and now the Ladder is not working either. But other scripts are working fine.  using System.Collections; using System.Collections.Generic; using UnityEngine;  public class Ladder : MonoBehaviour {     public Transform charcontroller;      private bool inside = false;     private float heightFactor = 3.2f;      private void OnTriggerEnter(Collider other)     {             inside = true;     }      private void OnTriggerExit(Collider other)     {             inside = false;     }      private void Update()     {         if (inside == true &amp;&amp; Input.GetKey("w"))             charcontroller.transform.position += Vector3.up / heightFactor;     } } Joint distribution of a Normal and Truncated Normal I have a random variable $X\sim \text{Normal}(\mu,\sigma)$ and have the transformation $Y=\max\{0,X\}$.  Is the distribution of $Y$ a truncated normal where it is truncated to live on the positive half of the real line?  Secondly, is there a closed form solution for the joint distribution of a Normal random variable and a truncated Normal random variable? Morphing only a part of a full path in tikz This might be a tikz newbie question but I have some trouble solving this.  I want to draw and fill a rectangular path where path morphing should be applied only to the upper side of the shape, more specifically I want to have an upper part with random steps. The rest of the path (left, lower and right sides) should just be straight lines. The shape should be closed and filled with one color.   My problem is that I cannot figure out how to apply the morphing only to the upper side and I suppose I cannot break up the path into different subpaths since I want to fill the final shape. Is there a way to use the morphing only on a part of the full path? Another problem is that the cycle command does not really close the shape at the upper left corner.  I tried to find a solution in the tikz manual but there was nothing that really helped me.  Here is some example code:  \documentclass[tikz, border=10pt]{standalone} \usepackage{tikz}  \begin{document}  \usetikzlibrary{decorations.pathmorphing} \begin{tikzpicture}  \draw[decorate, decoration={random steps,segment length=3.0mm, amplitude=2.0mm}, thick, rounded corners=1ex, fill=brown!70] (0,0) -- (4,0) -- ++(0, -1) -- ++(-4,0) -- cycle;   \end{tikzpicture} \end{document} In iOS, I only need to be asked once whether I want to allow a website to share my location data. Is it possible to permanently do this in OS X version of Safari as well?