My prompt in Terminal currently looks like:  Dzulhelmis-MacBook-Pro:~ myusername$   I want it to be as short as possible, maybe at least no hostname there. How do I change my bash prompt?
How can I hide username and computer in terminal command prompt?   In Terminal it says  Last login: Mon Jan 13 00:00:14 on ttys000 Whatever:~ UserName$    Is it possible to show just the current folder and $ sign?
Is the double-slit experiment typically carried out in a vacuum? It is my understanding of the double-slit experiment that when a measuring device is activated, to measure which of the two slits a particle is travelling through, this measuring is responsible for a different outcome than when the device is left off. When the device is left off particles leave an interference pattern, suggesting a single particle (or its wave) interferes with itself; when the device is activated no interference pattern is left, and particles are observed to travel through a single slit.  Now, does all this imply that this experiment is typically carried out in a vacuum? If not, how is it that interaction with other particles in the environment of the experiment's set-up are not already influencing the outcome, regardless of whether the measuring device is on or left off?  This question may very well be a very naive one, due to my very limited understanding of particle interaction, vacuums and/or physics in general. If so, I would appreciate a brief, layman's, overview of where my understanding of the different subjects at play here is likely to be lacking. I have looked up various sites online. They only explain it in a very basic arithmetic way. Would someone explain to me why is $\displaystyle\frac{x}{\frac{1}{2}}$ is $\displaystyle\frac{2x}{1}$? Why is causality preserved in special relativity? PART 1: I was reading the article  Wikipedia. I couldn't understand this line:       "if the two events are causally connected ("event A causes event B"), the causal order is preserved (i.e., "event A precedes event B") in all frames of reference."     Is this an assumption or a consequence of STR? Please explain.       Note: My question consists of 2 parts this is the 2nd part. Below is a genral version of my previous question question:.   PART 2: Let there be three events $A$,$B$ and $C$ s.t: $C$ is the result of Simultaneous occurrence of $A$ and $B$. In other words $C$ occurs iff $A$ and $B$ are simultaneous. Now as we know in STR any two events separated in space are not simultaneous in different frames. So In some frames $C$ will occur and in some $C$ will not occur which will cause paradox. I tried many thought experiments to make such a paradox but i failed. In all the experiments that i thought i could not break the causality even by breaking the simultaneity because everytime the fact: "all signals move slower than light" preserved the causality.    So why causlity remains preserved always? Is it due to the fact that nothing can move faster than light? I'm writing a mildly dystopian scenario where competition is taken to vicious extremes, and I was wondering if there was a word that I could use (specifically a noun that was a synonym of "competition") to describe the sort of vicious, cutthroat ... _________ (the word that I want) that was going on.  I'm specifically looking for a word that doesn't refer to a one-off event (like "contest" or "tug-of-war"), but rather is more about the state of things. Action to crop a photo with user input. The batch processing I'm stumped.  All I need to do is open my photo, have the action stop to wait for me to decide where the crop should be (to center the important part of the photo), then close that photo so the batch processing can go get the next photo.  I see the "inset stop" is the key, but it never allows me to crop, it just moves on to the next photo. ASP.NET MVC: Weird characters in error page More options when flagging for migration How can I make an X-Y scatter plot with histograms next to the X-Y axes? Why is chi square used when creating a confidence interval for the variance? This is a very basic question. Why do we use a chi square distribution? What is the meaning of this distribution? Why is this the distribution used for creating a confidence interval for the variance?   Every place I google for an explanation just presents this a fact, explaining when to use chi, but not explaining why to use chi, and why it look the way it does.  Many thanks to anyone that can point me towards the right direction and that is - really understanding why I am using chi when I am creating a confidence interval for the variance. When does a reaction happen if the trigger is movement? Evaluating string "3*(4+2)" yield int 18 Solutions for INSERT OR UPDATE on SQL Server Assume a table structure of MyTable(KEY, datafield1, datafield2...).  Often I want to either update an existing record, or insert a new record if it doesn't exist.  Essentially:  IF (key exists)   run update command ELSE   run insert command   What's the best performing way to write this? How does $e^{i x}$ produce rotation around the imaginary unit circle? Euler’s formula states that $e^{i  x} = \cos(x) + i \sin(x)$.  I can see from the MacLaurin Expansion that this is indeed true; however, I don’t intuitively understand how raising $e$ to the power of $ix$ produces rotation.  Can anyone give me an intuitive understanding? Do tag edits count for Archaeologist? Syntax to add multiple commands to a single command block I am looking to try and set multiple commands in a single command block, but so far everything I have tried just returns "Unknown Command".  What is the format for writing multiple commands in a single command block in Minecraft 1.8?  Can I use either of the following:  Command:(command here) Command:(command here)     /command here; /command here;   Or is there another format? Finder: keep sort-by per-directory This seems to be quite a trivial problem, but after some searching I can't stil figure out the answer. One can run tcpdump using "any" as the interface description, ie:   # tcpdump -i any -n host 192.168.0.1   Is there any way to force tcpdump to show on which interface displayed packet was captured?  Update:  As more people confirmed this is probably not possible with vanilla tcpdump, can someone propose a solution to mentioned problem? Perhaps different sniffer?   General issue is as follows: On a system with 50 interfaces determine what is inbound interface for packets coming from specific ip address. Is this proof of $\liminf E_k \subset \limsup E_k $ correct? I am wondering if my proof is correct? Thank you for whoever willing to take a look at it for me.     Proof $\liminf E_k \subset \limsup E_k $   If $\{E_k\}_{k=1}^\infty$ is a sequence of sets, we define \begin{align*} \limsup E_k &amp; = \bigcap_{j=1}^\infty\left(\bigcup_{k=j}^\infty E_k\right)\\ &amp;= \bigcap_{j=1}^\infty(E_j \cup E_{j+1} \cup \cdots)\\ &amp;= (E_1 \cup E_2 \cup \cdots) \cap (E_2 \cup E_3 \cup \cdots) \cap \cdots. \end{align*}  Therefore, $\limsup E_k$ consists of those points in $\mathbb{R}^n$ which belong to infinitely many $E_k$. \begin{align*} \liminf E_k &amp; = \bigcup_{j=1}^\infty\left(\bigcap_{k=j}^\infty E_k\right)\\ &amp;= \bigcup_{j=1}^\infty(E_j \cap E_{j+1} \cap \cdots)\\ &amp;= (E_1 \cap E_2 \cap \cdots) \cup (E_2 \cap E_3 \cap \cdots) \cup \cdots. \end{align*} Therefore, $\liminf E_k$ consists of those points in $\mathbb{R}^n$ which belong to all $E_k$ for $k \geq k_0$.  Now consider $x \in \liminf E_k$, then $x \in E_1 \cap E_2 \cap \cdots$, or $x \in E_2 \cap E_3 \cap \cdots$ and so on, that is to say, $x \in E_{k_0} \cup E_{k_0+1} \cup \dots$ for some $k_0$. More specifically, $x \in E_k \forall k \geq k_0$. Therefore, $x \in (E_1 \cup E_2 \cup \cdots) \cap (E_2 \cup E_3 \cup \cdots) \cap \cdots$, so we showed $x \in \limsup E_k$. Minecraft item right/left click detection Setting proxy for apt from terminal