Failure to start MySQL on Ubuntu 18.04 LTS using terminal
mysql doesn't ask for root password when installing
Reconfiguring TexStudio after upgrade to OS X El Capitan Texstudio doesn't work for me anymore after updating to Mac OS X 10.11 El Capitan. I have the latest version of TexStudio installed (2.10.2). As pointed out by , this is due to a change in the places OS X allows files to be saved. When I started TexStudio, I received a message "PDFLatex could not be launched". In the settings, I had to change the folder of the compiler from user/texbin/ to /Library/Tex/texbin, as shown in the screenshot below:    Can anybody tell me if I have to make further changes in order to make TexStudio fully working (bibliography and the like), and if yes, which?   I hope TexStudio are very soon going to release an update (there is an issue for this on their issue queue.  Thank you for your help. This is my first post here, so please apologize any imprecisions. Density of states for arbitrary dispersion relation If I have a 3D dispersion relation   $E=E(k_x, k_y, k_z)$ I have an equation for the density of states, which is   $D(E)=\frac{1}{\nabla_k E}\int\frac{dS}{(2\pi)^3}$  1) I am confused about the integral. What am I integrating over, exactly? It must have units of the $k$ vector, so it's a k-space integral, but what is the surface that is relevant?  3) Where does that equation come from, how is it derived? Number of bitstrings with $000$ as substring I have $F_n$ number of bitstrings that have $000$, How would I prove that for $n \ge 4$ , $a_n = a_{n-1} +a_{n-2}+a_{n-3}+ 2^{n-3}$?  Now there are many  ways to go about this but if I choose starting a $n-3$ bit string and append it with $000$ how would I show that? I tried for a while to classifiy the singularities of $\frac{1}{z}-\frac{1}{\sin z}$ at the origin, but I am stucked. Is there someone who is able to help me at this point? on the premise that it "wasn't getting any attention" and now it has gotten a bunch of helpful answers which all help me in some ways making it impossible for me to decide which one to award the bounty to.  Shouldn't there be an option to award the bounty equally among selected answerers, especially in this case where was getting no answers whatsoever before the bounty, or am I overthinking it and should award it to the first answer? Maximum and minimum distance of two points Consider six distinct points in a plane. Let $m$ and $M$ denote respectively the minimum and the maximum distance between any pair of points.  Show that $M/m \geqslant \sqrt{3}$. Let $k$ be a finite field of order $q$ in characteristic $p$, let $n$ be a positive integer not divisible by $p$, and let $K$ be the splitting field of $X^n-1$ over $k$. Prove that $[K:k]$ equals the smallest positive integer $d$ such that $n\mid q^d-1$.  My approach: It's easy to show that if $k$ is a finite field of order $q$ with $\text{char} \ k=p$ then $k=\mathbb{F}_{q}$ with $q=p^m$ with $m\geq 1$. If $K$ is the splitting field of $X^n-1$ over $k$ then $K=\mathbb{F}_{q^r}$ for some suitable $r\geq 1$.  Let $\alpha \in K=\mathbb{F}_{q^r}$ be a root of $X^n-1$ then $\alpha^n-1=0$ and $\alpha\neq 0$.   Thus, $\alpha^n=1$ and $\alpha \in \mathbb{F}^{\times}_{q^r}$ where $\mathbb{F}^{\times}_{q^r}$ is the cyclic group of order $q^r-1$.  But I have some difficulties:  1) From $\alpha^n=1$ it follows that $o(\alpha)\mid n$. How to show that $o(\alpha)=n$? I was trying to show it using that $(n,p)=1$ but I failed.  Remark: Because if we can show that $o(\alpha)=n$ then the desired result follows immediately from cyclicity of multiplicative group of field $\mathbb{F}_{q^r}$.  I have spent one day in order to come up with this approach. So please do not duplicate this question and can anyone show how to answer my question, please.  Detailed explanation would be great! My reputation rating on SO took this hit an hour ago, and it is due to what appears to be the simultaneous deletion of multiple questions.  I am uncertain why it happened, am concerned, and would appreciate an explanation.  Going to  shows that it was removed due to moderation.  Was a script run deliberately, or were we hit with a question deletion attack; what happened?  -12     today -2  1 hour ago  removed     How to send a 2d Vector over UDP in c++ -2  1 hour ago  removed     How do I use the Eclipse debugger to debug a Java application? -2  1 hour ago  removed     PHP string error; inconsistency with local and server -2  1 hour ago  removed     Unable to start the MySQL service after a server migration -2  1 hour ago  removed     How to use Java to print a text file on a ticket printer? -2  1 hour ago  removed     How can all of the ZBrush Obj files be imported to make a complete model? $n!+1$ being a perfect square I am working on parameter estimation and one of the estimators involves a summation of $_nC_k$ ($n$ choose $k$) expressions. For some iterations, I need to compute expressions like $_0C_1$, $_0C_2$, etc.  In general how do we compute $_nC_k$ when $n$ is less than $k$? Do we still use the formula $\frac{n!}{(n-k)!k!}$ and use the gamma function to compute the negative factorial?  Thanks! Using "utilize" instead of "use"? I know this question is someway similar to  where they recommend using 404, but after reading  where they suggest to use 301 when changing site URLs (in the specific case was due to redesign/re factoring) I get a bit of confused and I hope someone could clarify for this specific example:   Let's say I have an eCommerce site, let's also say the final user inserted some interesting items in the site and the eCommerce webapp created the item pages at the URLs: http://...?id=20, http://...?id=30 etc. Now let's say some of these interesting items got many external links toward them from many other sites because some people found those items very interesting and linked to them. After some years the final user deletes those items, so obviously the pages and URLs http://...?id=20, http://...?id=30, etc. now do not exist anymore, but still many pages on the web are linking toward them.   What should the eCommerce site do now, just show a 404 page for those items?  But, I'm confused, wouldn't this lose all the Google PR passed by the external links to the items pages? So isn't it better to use 301 redirect to HOME PAGE that at least passes the PR to the HOME PAGE?    EDIT:  Well, according to answers the best thing to do so far is to do a 404/410.  In order to make this question more complete, I would like to talk about a special case, just to make sure I understood. properly.  Let's say the user creates those items again (the ones he previously deleted at point 4), maybe he changes a bit their names and description, but they are basically the same items. The webapp has no way to know these new added items were the old items so it obviously create them as new items with new URLs http://...?id=100, http://...?id=101, does it makes sense at this point to redirect 301 the old urls to the new ones?    ANOTHER EDIT (It would be VERY IMPORTANT TO UNDERSTAND):  Well according to the clever answers received so far it seems for the special case, explained in my last EDIT, I could use 301, since it's something of not deceptive cause basically the new pages is a replacement for the old page in term of contents. This is basically done to keep the PR passed from external link and also for better user experience.  But beside the user experience, that is debatable (*1), in order to preserve PR from external broken links why not just always use 301, In my understanding Google dislikes duplicated contents, but are we sure that 301 redirect to HOME PAGE is seen as duplicated contents for Google?!   Google itself  so if they consider 301 as duplicated contents wouldn't that be considered duplicated contents too? Why do they suggest it?  Let me provoke you: “why not just add a 301 to HOME PAGE for every not found page?”   (*1) as a user, when I follow a broken URL from some external link to some website's page I would stick more on this website if I get redirected to HOME PAGE rather than seeing a 404 page where I would think the website does not even exist anymore and maybe I don't even try to go to HOME PAGE of the website. Cannot get onto Apple Developer Forums Every time I attempt to log on to the apple developer forums it tells me I need to create a new user account (even though I already have one), and when I try to sign up it gives me an error:   Anyone else have this issue and/or know how to fix it? Thanks! Can someone pgfplots the following picture concerning confidence intervals? I've been trying to use the following code to produce it, but have no idea how to shade in the tails I am interested in. By the way, the line pointing the (100-C/2)% can be an arrow, does not have to be squiggly as depicted in the picture.   \begin{tikzpicture}[ every pin edge/.style={&lt;-}, every pin/.style={fill=yellow!50,rectangle,rounded corners=3pt,font=\small}] \begin{axis}[every axis plot post/.append style={   mark=none,domain=-3:3,samples=50,smooth}, clip=false, axis y line=none, axis x line*=bottom, ymin=0, xtick=\empty, ] \addplot {\gauss{0}{0.5}}; \addplot {\gauss{0}{1}}; \node[pin=70:{$\hat{\theta}_1$}] at (axis cs:0.57,0.5) {}; \node[pin=270:{$E(\hat{\theta} = 0$}] at (axis cs:0,0) {}; \draw[dashed] (axis description cs:0.5,0) -- (axis description cs:0.5,0.92); \end{axis} \end{tikzpicture} Should 'Hi', 'thanks', taglines, and salutations be removed from posts? The comment with the Flagged Posts that seems to be new as of today states there are posts with flags awaiting my attention but the counter shows zero and when I go into flagged posts there is nothing waiting for me. Determine if Term has Grandparent/Great-Grandparent A shell tool to "tablify" input data A long time ago I remember using a command that makes its input into a nicely formatted table.  For example, for this input,  apple 1 100 orange 20 19 pineapple 1000 87 avocado 4 30   The output will be similar to this:  apple     1    100 orange    20   19 pineapple 1000 87 avocado   4    30   I'd like to know the name of this tool. How to restore original size and unboot my bootable USB pendrive I recently made my pen-drive bootable with Ubuntu 14.04. But I need to unboot my pen-drive now. I formatted my pen-drive once,But the size of the pen-drive still shows 2.25 MB. Whereas,this is an 8GB pen-drive. How can I get rid of this problem. I'm still using Windows 7. What happens to net acceleration in a non-inertial reference frame with cenripetal force? In a non-inertial reference frame, the centripetal force is balanced by a centrifugal force. Therefore, shouldn't the net acceleration be zero? Yet, you still feel an acceleration outwards? Why is that?