apt install
How to install a list of packages using apt-get?
Print out elements from an array with a comma between elements except the last word Where to ask Question that can be flagged too broad or opinion based I came across the following question:    This can be easily flagged for too broad or opinion based, but I wonder on which stack-exchange site can one ask answers for such a question? Why does the version of Java verified by Oracle differ from the version shown at the command line? Question:      Let $p$ be any prime and $n \geq 3$. Show that there exists a non-abelian group of order $p^n$.    Attempt:   Take $n = 3$. Writing $\mathbb Z_p \times \mathbb Z_p = \{e, \alpha_1, \ldots, \alpha_{p^2 - 1}\}$ and considering $$\begin{align}\tau_{jk} : \mathbb Z_p \times \mathbb Z_p&amp;\to \mathrm {Aut} (\mathbb Z_p)\,\\e &amp;\mapsto id\\\alpha_j &amp;\mapsto id \\\alpha_i &amp;\mapsto \rho_k  \end{align}$$  $\forall i \neq j$ where $\rho_k : \mathbb Z_p \to \mathbb Z_p$ is such that $\rho_k (1) = k$, with $k \in \{2, \ldots, p-1\}$. Then we take the group $(\mathbb Z_p \times \mathbb Z_p) \ltimes_{\tau_{jk}} \mathbb Z_p$.   Then $$(\alpha_i , 2) \ltimes_{\tau_{jk}} (\alpha_i, 1) = (2\alpha_i, 1  + \tau_{jk} (\alpha_i)(2)) = (2\alpha_i , 1  +2 k)$$  and $$(\alpha_i , 1) \ltimes_{\tau_{jk}} (\alpha_i, 2) = (2\alpha_i, 1  + \tau_{jk} (\alpha_i)(2)) = (2\alpha_i , 1  +k)$$  taking $k = 1$ for example we have that the group $(\mathbb Z_p \times \mathbb Z_p) \ltimes_{\tau_{jk}} \mathbb Z_p$ is not abelian.    I was wondering if this is a good aproach. If not, is there an easier way to reach the result?  If this is the "best" way then would the higher cases ($n &gt; 3$) be more of a notation play game? Which one is correct to say: "It's me" or "It's I"? I was taught at school that the following expression is not grammatically correct:  Who is there? It's me.  The correct one is:  Who is there? It's I.  Can you let me know which one is accurate? Are there any tools in Blender that take irregular polygons and make them regular (approximate a circle)? I'm specifically looking for a solution that works with preexisting polygons. Also, it would be nice if it keeps the overall position after making it regular.    Irregular Polygons    Regular Polygons How to create csv files in controller method from list Expected value in an urn problem In an urn there are $n$ red balls and $m$ blue balls. I extract them without replacement. Let $X$=time of first blue. What is $E(X)$?  I found PMF of $X$ and it is, if $k &gt; n+1$  $$P(X=k) =\frac{n(n-1) \dots (n-k+1)m}{(m+n)(m+n-1) \dots (n+m-k+1)}$$  How could I evaluate $E(X)$?  Edit: I'm looking for an explicit form of $E(X)$ I have a hard time finding a how-to.  I would like to set up a simple ESD mat and wrist wrap, but I am not sure about is the the 1 MOhm resistor should be, if at all.  Several options:   1 MOhm from ground outlet to the mat, wire from the common earthing on the mat to the wrist wrap. 1 MOhm from ground outlet to the mat, wire from another contact on the mat to the wrist wrap. 1 MOhm from ground outlet to the mat, 1 MOhm from the same mat contact to the wrist wrap. wire from ground outlet to the mat, 1 MOhm from the same mat contact to the wrist wrap. wire from ground outlet to the mat, wire from another mat contact to the wrist wrap.   I am not sure why the 1 MOhm wire is needed since the mat itself already has that kind of resistance (as long as the wrist wrap does not connect to ground directly, but through the mat).  Which solutions above are ok? Which is best? Should I do something else instead? Travel grant for undergraduate researcher for attending conference I am an undergraduate student doing independent research. My research work is selected for presentation at a very reputed conference in the US. I am from India. I cannot afford to attend the conference at all. How should I fund my trip? The travel grant for students available from the conference is very low. It can hardly buy me a one way ticket. What are my options? I am looking for a clean and fast method to force GNOME in Ubuntu 14.04 to switch between active apps only on the current workspace when pressing the shortcut alt + tab. I've been thinking about switching to Ubuntu full time, but there are still some programs left behind that I haven't found any equivalent to yet. Does anyone know of a music player similar to Foobar2000 (I've read it doesn't handle well in WINE)? Getting key with maximum value in dictionary? Why is there no article in "We are Family"? ...on Finnis's view all distinct instances of basic goods are incommensurable — none is of more, less, or equal value with any other. &mdash;    I expect to see more or less than any other, but then equal shows up, and is followed by with. But since with any other cannot replace than any other, do you think this sentence illegitimately omits something? Is there a way of conditionally triggering a compile-time error in verilog? The probability that an initial quantum state $|\psi_i\rangle$ becomes the final quantum state $|\psi_f\rangle$ is given by  \begin{eqnarray} P(i \rightarrow f) &amp;=&amp; |\langle\psi_f|\psi_i\rangle|^2 \tag{1}\\ &amp;=&amp; \langle\psi_f|\psi_i\rangle^*\langle\psi_f|\psi_i\rangle \\ &amp;=&amp; \langle\psi_i|\psi_f\rangle\langle\psi_f|\psi_i\rangle. \end{eqnarray}  Equation (1) seems to show that the probability for the transition ($i\rightarrow f$) can be interpreted as the system both moving forward in time ($i\rightarrow f$) with amplitude $\langle\psi_f|\psi_i\rangle$ and backward in time ($f\rightarrow i$) with amplitude $\langle\psi_i|\psi_f\rangle$ simultaneously.  Does this reasoning help to explain the Born rule? (Is it like the Transactional Interpretation of QM?)  I guess we must experience the macroscopic direction of time ($i\rightarrow f$) in accord with increasing entropy in an expanding universe whereas microscopically QM works both forwards and backwards in time.  Addition  This is an improved version of the argument including time-evolution operators.  The probability that an initial quantum state $|\psi_i\rangle$ evolves to become the final quantum state $|\psi_f\rangle$ is given by  \begin{eqnarray} P_{i \rightarrow f} &amp;=&amp; |\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle|^2 \tag{2}\\ &amp;=&amp; \langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle^*\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle \\ &amp;=&amp; \langle\psi_i|U^\dagger_{i \rightarrow f}|\psi_f\rangle\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle \\ &amp;=&amp; \langle\psi_i|U_{f \rightarrow i}|\psi_f\rangle\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle \end{eqnarray} where $U_{i \rightarrow f}$ is the forward-time evolution operator and $U_{f \rightarrow i}=U^\dagger_{i \rightarrow f}$ is the corresponding backward-time evolution operator.  Equation (2) seems to show that the probability $P_{i\rightarrow j}$ can be interpreted as the system first evolving forwards in time and then evolving backwards in time.  Perhaps this is an example of Murray Gell-Mann's  that "Everything not forbidden is compulsory"? At the quantum level, below observable probabilities, there is nothing to stop time flowing both forwards and backwards. Redirect console output to textbox in separate program What is `^M` and how do I get rid of it? When I open the file in Vim, I see strange ^M characters.  Unfortunately, the world's favorite search engine does not do well with special characters in queries, so I'm asking here:   What is this ^M character? How could it have got there? How do I get rid of it? Mac mini Mac OS 10.6 server migration to new hardware I have a Mac Mini with Mac OS X 10.6 Server installed. It has two external drives attached to it. One is for Time Machine and other contains data. I have bought the latest Mac Mini with Mac OS X 10.7 and two new hard drives. I want to migrate to the new hardware (the new Mac Mini and the new hard disks). Can Migration Assistant do that for me or do I have to transfer the data in the external drive manually?