What is the meaning of [ ][[ ]]?
What are the most common pitfalls awaiting new users?
I noticed that if I run ls -F on a directory, some of the entries have a * or a @ after them.   spuder@ubuntu:~$ ls -F /sbin acpi_available*   getpcaps*           lvmconf*                 ntfscp*        start-stop-daemon* agetty*           getty*              lvmdiskscan@             ntfslabel*     status@ alsa*             halt@               lvmdump*                 ntfsresize*    stop@ alsactl*          hdparm*             lvmsadc@      spuder@ubuntu:~$ ls -F ~ daq-0.6.1/  examples.desktop       noname-cache.lib  snort-2.9.1/   Templates/ Desktop/    jpgraph-1.27.1/        noname.sch        snortfiles/    Ubuntu One/ Documents/     According to the ls man pages   spuder@ubuntu:~$ man ls ... -F, --classify   append indicator (one of */=&gt;@|) to entries ...   I'm guessing that @ means symbolic link,     What do these other indicators mean ( */=&gt;@| )  ? Sort arrays of primitive types in descending order I've got a large array of primitive types (double). How do I sort the elements in descending order?  Unfortunately the Java API doesn't support sorting of primitive types with a Comparator.  The first approach that probably comes to mind is to convert it to a list of objects (boxing):  double[] array = new double[1048576];     Arrays.stream(array).boxed().sorted(Collections.reverseOrder())…   However, boxing each primitive in the array is too slow and causes a lot of GC pressure!  Another approach would be to sort and then reverse:  double[] array = new double[1048576]; ... Arrays.sort(array); // reverse the array for (int i = 0; i &lt; array.length / 2; i++) {      // swap the elements      double temp = array[i];      array[i] = array[array.length - (i + 1)];      array[array.length - (i + 1)] = temp; }   This approach is also slow - particularly if the array is already sorted quite well.  What's a better alternative? Differences in meaning when the verb tense changes (headlines) How can I add an item to the 'new' context menu? When I right click anywhere I get an option to add a new file with a specified extension. I would like to add some custom files into this menu, so I can right click and create a new PHP file for instance.  How can I do this? Prove that $(x^2 + x+2)$ ideal is a maximal ideal in $F_3[x]$ ring.  I know the theorem about factor rings and fields     B ideal from A ring is maximal iff A/B factor-ring is a field   How can I use the theorem here? ... and why ?  Assuming $X_1$,$X_2$ are independent random-variables with mean $\mu_1,\mu_2$ and variance $\sigma^2_1,\sigma^2_2$ respectively. My basic statistics book tells me that the distribution of the $X_1-X_2$ has the following properties:    $E(X_1-X_2)=\mu_1-\mu_2$ $Var(X_1-X_2)=\sigma^2_1 +\sigma^2_2$   Now let's say $X_1$, $X_2$  are t-distributions with $n_1-1$, $n_2-2$ degrees of freedom. What is the distribution of $X_1-X_2$ ?   This question has been edited: The original question was "What are the degrees of freedom of the difference of two t-distributions ?". mpiktas has already pointed out that this makes no sense since $X_1-X_2$ is not t-distributed, no matter how approximately normal $X_1,X_2$ (i.e. high df) may be. How to compute moments of log normal distribution? The computed moments of log normal distribution can be found . How to compute them? Character of the subobject classifier in the topos of $\mathbf{M}$-sets. Fact  The intersection of a closed set $A$ and a compact set $B$ is closed.  Background  I wanted to prove that the intersection of closed and compact sets is compact. There might be other ways, but I am not interested in them for now and am looking to prove the above statement.  Relevant Facts  I don't have much idea what to use. $A^c$ is open. Every cover $\cup_{i\ge1}U_i$ of $B$ contains a subcover $\cup_{i=1}^kU_i$. I might want to prove $A\cap B^c$ is open. Limit points may be another points to consider but I don't get any idea in that direction.  I also don't have that $B$ is closed otherwise it would be trivial.  Some Clarification  I am aware that compact sets are not closed in arbitrary topological spaces. The reason why I was motivated to believe tha intersection of closed and compact set is compact is true is: See Matt E.'s Answer      So if $K$ is compact in an arbitrary topological space (which is just to say that   it is a compact topological space when given its induced topology) and     $L$ is closed then $K \cap L$ is a closed subset of $K$ in its induced topology   Is it true if $A$ and $B$ are not whole spaces?  I would appreciate any hints. My Area51 account crossed 200 rep today, but still other accounts don't reflect the change in reputation. When will the changes be applied? or is there no association bonus for Area51 account? Calculating path sinuosity in postgis is a fairly straightforward concept. How can this be calculated in postgis given a series of linestrings that represent the path? Whenever I try to Get then Install any app from the App Store, I get this message:     We could not complete your purchase.  cancelled   I did some searching online, but barely found any useful hits. What is this about?! Proving $\lim_{x\to 1} x^3=1$ with $\epsilon$-$\delta$ definition Problem: I need to formally prove that $$\lim_{x\to 1} x^3 = 1.$$ My work: This is what I have so far and I'm generally a bit stuck with these proofs from here onwards. Because$$-\epsilon &lt; x^3-1 &lt; \epsilon  =  | x^3-1 | &lt; \epsilon,$$ then $$ -\epsilon &lt; x^3-1 &lt; \epsilon$$ $$-\epsilon+1 &lt; x^3 &lt; \epsilon +1$$ $$ \sqrt[3]{-\epsilon+1}&lt; x &lt; \sqrt[3]{\epsilon+1}.$$ Hoping that what I have done so far is correct. Am I right in thinking that $$ \sqrt[3]{-\epsilon+1}&lt; x &lt; \sqrt[3]{\epsilon+1}$$ is giving me an interval where $x$ is going to give me a $f(x)$ value that falls within the distance $\epsilon$ from the limit on the $y$-axis ? Or is this interval smaller than the $\epsilon$-distance on the $y$-axis? How can I check the SMART status of a SSD or HDD on current versions of Ubuntu 14.04 through 20.04? Does Professor X have any responsibility for the state of the world? Throughout the course of Logan, it's obvious that Professor Xavier is having issues controlling his powers, and at the end of the movie, just before      X-24 kills him   he claims to "remember" what he did and expresses regret. We also hear about an incident in Westchester that killed several mutants, that sounds like Xavier may have been involved. Is Xaiver the reason there are no more mutants? Is that why he's sorry, because he knows he killed them all? Does a Nikon DX lens on a FX camera get subjected to the 1.5X crop factor? For random variable $X$ that follows some distribution, $f(x)$ is the probability density function of that distribution if and only if $$\mathbb{E}[\phi(X)] = \int_{-\infty}^\infty \phi(x) f(x)dx$$ for all functions $\phi$.  Context: My professor used this in lecture to demonstrate a way to find the distribution of $cX$ given random variable $X$ that follows a specific distribution.   What is the name of this theorem? Have I missed any qualifications/caveats? I am in particular curious about whether "for all functions" is correct. My professor mentioned "positive, bounded, deterministic functions," but I am not sure what he meant by that. Where can I find a proof of this theorem? I noticed that Synonymizer is only a bronze badge. Yet in order to obtain this badge you need to have 2500 reputation or more to even create tag synonyms. Then, on top of that you also need to be able to find a tag synonym.  Only 514 of these have been awarded... This makes the BRONZE badge Synonymizer rarer to have than most the gold medal badges. So my question is, why is this a bronze badge? Pokemon Go: Can't log in? Are everyone unable to log in right now? 2016 July 16. Where I live none can log in to the servers at the moment, and it all happened after the sudden release of the game in my country.   As I understand the game was recently released in 26 countries, so I guess they have problems and had the servers go offline in order to fix the issues. When using \textsc, LaTeX issues warning: Font shape `OT1/cmr/bx/sc' undefined