I've read a lot of threads about gksu being removed from many Linux flavours, including Ubuntu 18.04.  Many state that gksu is an abomination and no user should ever need to use anything like it.  I have 2 examples where, as far as I know, I must have something that allows me to run as root (not just for editing files).    First, I have a need to start mysql only after an encrypted folder is opened on (GUI) command.  This means having a script run by the encryption system that starts the mysql service.  That has to be done as root, so I use gksu in that startup script which asks me for a password.  How else can I start a service from a GUI system?  I also run Ubuntu system backups as root, otherwise many system files can't be backed up.  So the desktop file uses gksu to start the backup.  pkexec looks complicated, needing policy files.  Is that the only alternative, and if so, why is it any safer?  Other answers to similar questions don't seem to address individual issues that people have now that gksu is no more (or harder to find...).  I think such questions from non-expert users would benefit from more detailed answers.  I now have some, and so would like to answer my own question.
I have always recommended pressing ALT+F2 and typing for example gksu nautilus or gksudo nautilus both are equivalent; to run graphical programs with root privileges.  However, I have just installed raring on a test system and this no longer works.  gksu and gksudo are not installed as part of a default raring install; though they are in the repositories. In 12.04 at least gksudo was just a symbolic link to gksu  The reasons I have always done this are because while it is often safe to use sudo under some circumstances it can cause problems with graphical applications because gksu has you running the program as root while with sudo you are running as yourself but with elevated privileges.  This can mean you inadvertently change the owner of critical system files.  This can cause problems.  This reasoning is explained better here:         Why was command removed from a fresh install and what should we be using instead?
Evaluate $\lim\limits_{n\to\infty}\frac{\sum_{k=1}^n k^m}{n^{m+1}}$ Where is Jon going? At the end of S08E06 of Game of Thrones, Jon Snow along with Tormund and others of the Night's Watch      leave the Night's Watch.   and go into the woods.  Where are they going? And why? Can I use the Google font 'Lato' for a logo design? I am creating a logo and would like to use the Google Font 'Lato', can I use this font in my logo design or are there copyright/limitations I need to worry about? I can't find anything online other than that it is an open source font that can be used in anyway you want (maybe that's my answer but I just want to make sure). Also, is it a bad idea to use a web-based font for a logo? Shear transform a "box" Using the graphicx package, I can make any arbitrary box rotated using the \rotatebox{...}{...} command. Is there a comparable command in any package that lets me shear a box, i.e., producing a kind of general slanting? How do I compare strings in Java? I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference? Is it true that a subset that is closed in a closed subspace of a topological space is closed in the whole space? I have a non homework related question from a text and require a nice clear proof/disproof please  Is it true that a subset that is closed in a closed subspace of a topological space is closed in the whole space?  my ideas:  if $H$ is the subset of the topological space $X$  if the subset is closed in the closed subspace, the complement is open in the subspace, which means the complement is of form $U\cap H$ for some $U$ open in $X$  if the subspace is closed the complement is open which means complement of $H=U$ for some open $U$ in $X$  kind thanks I'm currently using  but it sometimes falls over when the RSS or Atom feed isn't well formed. Are there any other options for parsing RSS and Atom feeds with PHP? This is a  about IPv6 Subnetting.      Related:               I know a lot about , and as I prepare to (deploy|work on) an IPv6 network I need to know how much of this knowledge is transferable and what I still need to learn. IPv6 seems at first glance to be much more complex than IPv4. So I would like to know:   IPv6 is 128 bits, so why is /64 the smallest recommended subnet for hosts? Related to this:   Why is it recommended to use /127 for point to point links between routers, and why was it recommended against in the past? Should I change existing router links to use /127? Why would virtual machines be provisioned with less than a /64 worth of addresses? Are there other situations in which I would use a subnet smaller than /64?  Can I map directly from IPv4 subnets to IPv6 subnets? For instance, does an IPv4 /24 correspond directly to an IPv6 /56 or /120? My interfaces have several IPv6 addresses. Must the subnet be the same for all of them? Why do I sometimes see a % rather than a / in an IPv6 address and what does it mean? Am I wasting too many subnets? Aren't we just going to run out again? In what other major ways is IPv6 subnetting different from IPv4 subnetting? As we know, the tactical downvoting (I'm talking especially about SO, as I don't know about other sites) is more and more becoming a serious problem, as I see, the community can't stop this behavior without some sacrificing.  As a suggestion, I think it makes sense to prevent an answerer from downvoting any answer on the same question, this -sure- has a harm, but IMO, it's less harmful than the tactical downvoting issue, and to make the things a bit more easier, we can prevent an answerer from downvoting a question without posting a comment to that answer before.  And vice versa, if a user downvoted an answer, he shouldn't be able to post another one unless he posted a comment first, to prevent working-around that system, so a user can't downvote other answers before posting his own to avoid posting comments.  EDIT, more clarification: I don't say wrong answers shouldn't be downvoted, BUT if you want to downvote an answer and post your own, you'll have to post a comment, so we make sure you're not just downvoting right answers tactically. Sum of indepedent random variables and a constant Let $X_1$ and $X_2$ be independent Normal random variables with mean $\mu_1$ and $\mu_2$, and variances $\sigma_1$ and $\sigma_2$. Let $Y = X_2-X_1 + c$, where $c$ is a constant. For notational simplicity, let $Y = X' + c$, where $X' = X_2-X_1$ The moment generating function of a Normal random variable $X_n\sim N(μ_n,σ_n^2)$ is $$M_{X_n } (t)=\text{exp}\Big(μ_n t+\frac{σ_n^2 t^2}{2}\Big)$$ Then, $$M_{X'} (t)=\text{exp}\Big[t(\mu_1+\mu_2)+\frac{t^2}{2}(\sigma^2_1+\sigma^2_2)\Big]$$ Thus, by the uniqueness property of moment generating function, $X'$ is said to follow a Normal distribution with mean $(\mu_1+\mu_2)$ and variance $(\sigma^2_1+\sigma^2_2)$. How do I proceed from here to derive the following:  First, I want to establish that $Y$ is also a Normal random variable using the moment generating function. The constant $c$ bugs me, but I cannot ignore it. As per my understanding, $Y\sim N\big(c+\mu_1+\mu_2,\sigma^2_1+\sigma^2_2\big)$ (and I could be completely wrong). But I don't understand how to apply the moment generating function to prove that.  Secondly, I want to derive $P(Y \leq a)$, where $a$ is a constant. If I am not mistaken, $P(Y \leq a)$ can be written as $$P(Y \leq a)=\Phi\Bigg(\frac{a-X_2-X_1 + c}{\sqrt{2(\sigma^2_1+\sigma^2_2)}}\Bigg).$$ But how do I arrive at that.   Any help is high solicited and appreciated. Force LaTeX image to appear in the section in which it's declared Possible Duplicates:           How can I force an image in a LaTeX documents to appear in the section in which I declared it?  I don't want that an image about "Section A" to appear in "Section F". :(  I actually include an image with  \begin{figure}[ht] \begin{center} \includegraphics[scale=0.7]{./img/RobotManipulator3D_WorkSpace.png} \end{center} \caption{3D View of the robotic workspace (in red).} \label{Img:3DRobotWorkspace} \end{figure} Can't find Corruption Where the property "__proto_" is stored? What's the difference between the following sentences?      (a) I wish they wouldn't make so much noise.   (b) I wish they were not making so much noise.    (c) I wish they did not make so much noise.   I'd appreciate your help. Wiener Process $dB^2=dt$ Why is $dB^2=dt$? Every online source I've come across lists this as an exercise or just states it, but why isn't this ever explicitly proved? I know that $dB=\sqrt{dt}Z$, but I don't know what squaring a Gaussian random variable means. I recall Asimov had a character who was The autoc of , clearly based on the word “autokrat” but I don’t recall the exact spelling.  This stumped Google, which would rather correct the spelling to some other word than find a unique word.  In the story, he had gone undercover and the reader did not know either that some other character was in fact the Autoc, until it had been revealed to the main character. Prove that $\lim_{x \to \infty} \frac{\log(1+e^x)}{x} = 1$ Show that $$\lim_{x \to \infty} \frac{\log(1 + e^x)}{x} = 1$$ How do I prove this? Or how do we get this result? Here $\log$ is the natural logarithm. I found this very amusing comic on the internet the other day:   The last frame seems to claim that the harmonic series converges if you throw out all the terms with a $9$ in the denominator. Is this true? Where could I find a proof? Is it only true for terms with a $9$ or is it true for any number? If it's only true for $9$, why is that? From what I understand, midi-chlorian count is a strong indicator of ability in the Force (though there are other factors as well). So it seems like when Anakin loses his arm or Luke loses his hand, their midi-chlorian counts (and thus their Force ability) should slightly diminish.  Is this the case? Old Budrys(?) end-of-world/alien invasion of NYC story This one, from the late 1950s or early 60s (I think), features the last girl in NYC, who drives her jeep up the stairs of the main library (with the lions). She feels bad about breaking the lock, but what's a girl to do, if she wants something to read? In summertime, she drives topless and, the author writes, her bosom dances enchantingly on the steps. She lives in the boathouse on the lake in Central Park. Mysterious insect-like aliens are eating the buildings in the City.... I didn't recognize a title in Budrys or Bester's isfdb bibliogs, so I may be wrong about the author. But not about the story details: it's a memorable one. Thanks in advance for helping ID this one!