How can I run a script on keyboard power key press with systemd?
How to change Power button shutdown action to run a script under systemd
System file windows open behind Unity launcher I'm on Ubuntu 16.04.1 at the moment, and system windows like the Files window, Terminal or System Software open behind the Unity launcher, which means they are partially hidden behind it. I can move them with Alt+F7, but I'd like a more permanent solution to this problem. Why does the $\sum_{n>1}(\zeta(n)-1)=1?$ While I was looking at the values of the zeta function for the first natural numbers, I noticed that the sum of the values minus $1$, converge to $1$. Better put: $$\sum_{n=2}^{\infty} \left(\zeta(n)-1\right) = 1 $$ Furthermore, if you use only the even numbers for the zeta function, the sum will converge to $\frac{3}{4}$, or $$\sum_{n=1}^{\infty} \left(\zeta(2n)-1\right) = \frac{3}{4}$$  Leaving $$\sum_{n=2}^{\infty} \left(\zeta(2n-1)-1 \right)= \frac{1}{4}$$  This is probably common knowledge among mathematicians, but I couldn't find much about it on the internet. Is there a proof of this or perhaps even a simple explanation why this is so? Can wizards really cast spells in armor? Show that if $f: \mathbb{R} \to \mathbb{R}$ is a continuous injective map, then it is strictly monotonic.    Could someone give me a proof for this? I have the intuition for why it's true - I'm just having trouble expressing that intuition in a rigorous manner. Basically consider two points $x_1, x_2 \in \mathbb{R}$. By the problem statement, $f$ is continuous on $[x_1, \, x_2]$. WLOG, assume that $f$ is strictly increasing. It there exists a point where it is not increasing, then $f$ hits a value twice, and it's not injective. How to edit Parameters for an Object after it is created? After startup for 5 minutes my system is very slow. The Task Manager shows that the disk usage is at 100%. (Later this number is around 2-4 %, but sometimes for 1-2 minutes go up again at 100%.)  I searched a lot on Google. For example I read , and also other pages. I opened two topic on Microsoft answer.  and one in Hungarian.  But I didn't found the solution yet. So I would like to ask Community's help. :)  Here the steps I already done:   I disabled everything at startups (including services) and the issue is the same.  I disabled Prefetch and Superfetch, the Baground Intellingent Transmission, Windows Search and Windows Defender but the issue is still persists. I made a health check on HDD, I made defrag and file system error check, but there are no errors. Also I tried to reinstall the HDD's driver. I made a full hardware check up, with no errors. The Windows and all the drivers are up-to-date. I tried a clean start. The issue is the same. I deleted Dropbox and all antivirus. I turned of the MSI mode.      I using also Linux, where this error is not occurs. Good to know, that Windows had 4 partitions, but I deleted 2 of them for the Linux. I don't know what partitions was these but both was only 10 - 20 MB.  I using a Dell Inspiron 15R SE 7520 with Windows 10 Home.  Personally I think it can be the Intel Rapid Store Technology "driver", because the problem started around when I installed it. (However I'm not sure.) And my hardware not supported yet by Intel, so I have no the newest driver. However I deleted Intel's software and driver and the issue is the same.    Thank you in advance for your assistance! macOS Catalina File Structure: Cannot remove &gt; sudo rmdir /sw rmdir: /sw: Read-only file system  &gt; mount | grep read /dev/disk1s5 on / (apfs, local, read-only, journaled)  &gt; sudo mount -o rw / &gt; mount /dev/disk1s5 on / (apfs, local, journaled) &gt; sudo rmdir /sw rmdir: /sw: Operation not permitted     root /&gt;$ mkdir a root /&gt;$ rmdir a root /&gt;$ rmdir sw &lt;b&gt;rmdir: sw: Operation not permitted&lt;/b&gt; root /&gt;$ rmdir opt &lt;b&gt;rmdir: opt: Operation not permitted&lt;/b&gt; root /&gt;$ rmdir mnt &lt;b&gt;rmdir: mnt: Operation not permitted&lt;/b&gt; root /&gt;$ rmdir home &lt;b&gt;rmdir: home: Operation not permitted&lt;/b&gt;   What exactly is preventing me from removing these directories even with SIP disabled? Cannot get 2 raster files of same cell size to align ArcMap 10.2 One of us is wrong, aren't we? I have just learned from what I consider a reliable source, that the following sentence is correct:     One of us is wrong, aren't we?   I would never in my life have written this, but I am assured that   As I realize comments don't live forever I will quote the relevant parts:     oerkelens : So you  would really write One of us is wrong, aren't we? I guess by analogy you would not bat an eyelid at One of these balls is blue, aren't they?   Matt Эллен : yes, "Then one of us is wrong, aren't we?" is exactly how it would be written. Same for the balls.   Could someone please enlighten me how it is possible that the number in a question tag supposedly has to be in discordance with the subject of the main clause?  I admit that I am not the youngest any more, and my school days are long gone, but back in the days, I was taught that  1. a verb and its subject concord in number 2. a question tag concords with the subject of the main clause  I was given examples like:     It is warm today, isn't it?   We will be on time, won't we?   Mary is pretty, isn't she?   John isn't the brightest, is he?   Some people may notice that the subject of the main clause seems to determine every time the subject of the question tag. When the main clause subject is singular, so are verb and subject in the question tag.  I was under the impression that a) this made sense and b) this would be a general rule.  I fully realize that grammar does not have to make sense, so a) is immaterial. As for b), today I learned I was wrong :)  So when (and possibly why?) do we form question tags that are different in number from their main clause?   To exemplify, also the other example sentence that I used and was corrected on:     One of these balls is blue, isn't it? (so this is wrong)   One of these balls is blue, aren't they? (and this is correct)   As an afterthought, does this strange grammatical number mix-up only appear in question-tags, or should I always refer to singular subjects in the plural if certain conditions are met? And what are those conditions?  Which versions are correct?     One of the cars is broken, aren't they? They (the car(s?) that is(are?) broken) should be fixed.   One of the cars is broken, aren't they? It (the car that is broken) should be fixed.   One of us must be wrong, mustn't we? We (the one(s?) that is (are?) wrong) should make amends.   One of us must be wrong, mustn't we? He (the one that is wrong) should make amends.   (In the last one, they could of course be used as the singular they, but that would avoid the issue...) How can I have an SPF record longer than 255 characters? Consider the IVP $$y'(t)=f(y(t)), \ \ \ \ y(0)=a \in \mathbb{R}$$ $$f : \mathbb{R} \rightarrow \mathbb{R}$$ Which of the following is/are true $(A)$  There exists a continuous function $f : \mathbb{R} \rightarrow \mathbb{R}$ and $a \in \mathbb{R}$ such that the above problem does not have a solution in any nbd of $0$. $(B)$  The problem has unique solution for every $a \in \mathbb{R}$ when $f$ is Lipschitz continuous $(C)$ When $f$ is twice continuously differentiable the maximal interval of existence for the above IVP is $\mathbb{R}$ $(D)$ The maximum interval of existence  for the IVP is $\mathbb{R}$ when $f$ is bounded and continuously differentiable.  It is obvious to me that $A \ \&amp; \ B$ are false from traditional existance and uniqueness theorems (viz Picards Theorem). I am not sure about $C \ \&amp; \ D$ and this is really bugging me. Please could anyone shed light on this. PS: Multiple correct options are allowed. I just uninstalled TeX Live 2016 and installed TeX Live 2017 and I noticed that the vertical alignment of author and title in any beamer presentation with Warsaw theme has been disrupted. In this example the author is JESTIN and the title is Beamer Intro. How can I vertical center them?  Moreover, I just found the same bug in the beamer guide obtained writing texdoc beamer in the command prompt, in the part of a warsaw presentation.    Here is my code:  \documentclass{beamer}  \usetheme{warsaw}  \title[Beamer Intro]{Beamer - Introduction to \LaTeX{} presentation making} \author[JESTIN]{Jestin Joy}  \begin{document}  \begin{frame}   \titlepage \end{frame}  \end{document} Python "extend" for a dictionary Prove the definitions of $e$ to be equivalent How to prove that the following definitions of $e^x$ are equivalent, with as simple tools as possible and without any knowledge of $e$ or logarithms ?  $$\sum_{n=0}^{\infty} \frac{x^n}{n!}=\lim_{n\to\infty}\left(1+\frac{x}{n}\right)^n$$  Also preferably, prove that this is $a^x$ for some real number $a&gt;0$. Why is the set of commutators not a subgroup? Need help understanding "getbits()" method in Chapter 2 of K&R C In chapter 2, the section on bitwise operators (section 2.9), I'm having trouble understanding how one of the sample methods works.  Here's the method provided:  unsigned int getbits(unsigned int x, int p, int n) {     return (x &gt;&gt; (p + 1 - n)) &amp; ~(~0 &lt;&lt; n); }   The idea is that, for the given number x, it will return the n bits starting at position p, counting from the right (with the farthest right bit being position 0). Given the following main() method:  int main(void) {     int x = 0xF994, p = 4, n = 3;     int z = getbits(x, p, n);     printf("getbits(%u (%x), %d, %d) = %u (%X)\n", x, x, p, n, z, z);      return 0; }   The output is:     getbits(63892 (f994), 4, 3) = 5 (5)   I get portions of this, but am having trouble with the "big picture," mostly because of the bits (no pun intended) that I don't understand.  The part I'm specifically having issues with is the complements piece: ~(~0 &lt;&lt; n). I think I get the first part, dealing with x; it's this part (and then the mask) that I'm struggling with -- and how it all comes together to actually retrieve those bits. (Which I've verified it is doing, both with code and checking my results using calc.exe -- thank God it has a binary view!)  Any help? If Durmstrang and Beauxbatons were hidden from common knowledge, how did people from other schools go to them for the Triwizard tournament? So in GoF, they state that Beauxbatons and Durmstrang are hidden from view and don't have their locations public.     “Durmstrang’s another wizarding school?” said Harry      “Yes,” said Hermione sniffily, “and it’s got a horrible reputation.      According to An Appraisal of Magical Education in Europe, it puts a   lot of emphasis on the Dark Arts.”      “I think I’ve heard of it,” said Ron vaguely. “Where is it? What   country?”      “Well, nobody knows, do they?” said Hermione, raising her   eyebrows.      “Er — why not?” said Harry.      “There’s traditionally been a lot of rivalry between all the magic   schools. Durmstrang and Beauxbatons like to conceal their whereabouts   so nobody can steal their secrets,” said Hermione matter-offactly.   So how do students get to the other school for the Triwizard tournament? Purely "algebraic" proof of Young's Inequality states that if $a, b \geq 0$, $p, q &gt; 0$, and $\frac{1}{p} + \frac{1}{q} = 1$, then $$ab\leq \frac{a^p}{p} + \frac{b^q}{q}$$ (with equality only when $a^p = b^q$).  Back when I was in my first course in real analysis, I was assigned this as homework, but I couldn't figure it out.  I kept trying to manipulate the expressions algebraically, and I couldn't get anywhere.  But every proof that I've seen since uses calculus in some way to prove this.  For example, a common proof is based on this  and integration.  The proof on Wikipedia uses the fact that $\log$ is concave, which I believe requires the analytic definition of the logarithm to prove (correct me if I'm wrong).  Can this be proven using just algebraic manipulations?  I know that that is a somewhat vague question, because "algebraic" is not well-defined, but I'm not sure how to make it more rigorous. But for example, the proof when $p = q = 2$ is something I would consider to be "purely algebraic":  $$0 \leq (a - b)^2 = a^2 + b^2 - 2ab,$$ so $$ab \leq \frac{a^2}{2} + \frac{b^2}{2}.$$ How to upload an mp3 to Facebook? I know it's possible to upload videos to Facebook. Is it possible to upload an mp3 to Facebook using their user interface? Determine if the convergence of $f_n(x) = \sqrt{x^2 + \frac{1}{n^2}}$ is uniform. $f_n(x) = \sqrt{x^2 + \frac{1}{n^2}}$ converges pointwise in a set $E = [0, \infty)$ to $f(x) = x$.   This problem reminds me a lot of how $\frac{x}{n}$ fails to converge uniformly to $f=0$ on $[0,\infty]$, but does converge uniformly on $[0,a]$. However, when we proved that we used the definition of uniform convergence. I do not wish to do that here.  I wish to use the Weierstrass test here. And that is where I'm stuck. I cannot find $M_n = \sup\limits_{x \in E} |f_n(x)-f(x)|$. Can someone help me out here?