Scheduled turn off & on on android 8.1
How can I schedule timer to power on and off device?
How to automatically fetch missing dependencies when installing software from .deb? I'm trying to install  on my Ubuntu box (11.04). The website has a Ubuntu .deb available for download (for 10.10 and 10.04 so I chose 10.10).   However,   sudo dpkg -i mysql-workbench-gpl-5.2.34-1ubu1010-amd64.deb   yields:  (Reading database ... 194069 files and directories currently installed.) Preparing to replace mysql-workbench-gpl 5.2.34-1ubu1010 (using mysql-workbench-gpl-5.2.34-1ubu1010-amd64.deb) ... Unpacking replacement mysql-workbench-gpl ... dpkg: dependency problems prevent configuration of mysql-workbench-gpl:  mysql-workbench-gpl depends on libctemplate0; however:   Package libctemplate0 is not installed.  mysql-workbench-gpl depends on libpython2.6 (&gt;= 2.6); however:   Package libpython2.6 is not installed.  mysql-workbench-gpl depends on libzip1 (&gt;= 0.8); however:   Package libzip1 is not installed.  mysql-workbench-gpl depends on python-paramiko; however:   Package python-paramiko is not installed.  mysql-workbench-gpl depends on python-pysqlite2; however:   Package python-pysqlite2 is not installed. dpkg: error processing mysql-workbench-gpl (--install):  dependency problems - leaving unconfigured Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for python-support ... Errors were encountered while processing:  mysql-workbench-gpl   My question is, is there a way to tell dpkg to automatically fetch missing dependencies, or do I need to manually apt-get install missing packages like libctemplate0 and  libpython2.6?   (Or alternatively, is there some other way to get MySQL Workbench easily up &amp; running?) Get latest Flash player on Ubuntu I know, it's been asked before but I couldn't really get a satisfying answer for some details/backgrounds and I guess it's an important question for many.    Some application seem only to be running with Adobe Flash 15 (or at least I know it does, because I have that version on my Windows Partition).  The official Adobe website says:     NOTE: Adobe Flash Player 11.2 will be the last version to target Linux as a supported platform. Adobe will continue to provide security backports to Flash Player 11.2 for Linux.   Some search on the web like "Ubuntu Adobe Flash 15" or similar does not return any good websites.  I found something that says   (using a "pepper-based version"), and  .   Is it impossible to use this for Firefox too? Would it be a privacy risk?  Are there no alternative projects (I know it's closed source but there are so many so very bright people out there using something similar to wine but just for the plugin....)?  How about the Mac-Version? Shouldn't someone be able to port that one to Linux? Essentially as the title suggests - in some commutative ring $K$ (with 0,1), if we have 2 distinct proper prime ideals $\mathfrak{p}_1 \neq \mathfrak{p}_2$, is it necessarily the case (or if not, when is it the case?) that $\mathfrak{p}_1 + \mathfrak{p}_2 = K$ ?  I ask because I'm working through some lecture notes which frequently take some $K$ complete with respect to a discrete valuation, a prime ideal in a valuation ring  $\mathfrak{p} \subset \mathcal{O}_K$, a finite extension $L/K$, and then use the fact $\mathfrak{p}\mathcal{O}_L$ factors uniquely as some $\mathcal{P}_1^{a_1} \ldots \mathcal{P}_r^{a_r}$ (where $\mathcal{O}_L$ is the integral closure of $\mathcal{O}_K$ in $L$). Then we say $\mathcal{P}_i + \mathcal{P}_j = \mathcal{O}_L$ $(\forall$ $ i \neq j)$.   However it isn't clear to me, because we've made so many different assumptions along the way, what the reason is that $\mathcal{P}_i + \mathcal{P}_j = \mathcal{O}_L$. Is it because these primes occur in the factorisation of $\mathfrak{p}$, is it because of some property of Dedekind domains or fields, or is it not really possible to say out of context? Many thanks, and if anything needs clarification please ask. Evaluation of $\sum_{n=0}^{\infty}\frac{1}{(n^4+n^2+1)n!}$ insert code keywords inline What is the command to insert inline code words into the text like this?   I know there are packages for inserting snippets into the code, but I need to insert keywords within the main text. I was wondering if there is a more convenient way to do that. Subset of $C[0,1]$ is nowhere dense Given an infinite set of cardinality $X$, is there a chain in $\mathcal P(X)$ of the same cardinalty of $\mathcal P(X)$? $P(\mathbb N)$ = power set of $\mathbb N$. $A \subset P(\mathbb N)$ is a chain if $a,b \in A \implies$ either $a \subseteq b$ or $ b \subseteq a$ That is, we have something like this: $$\cdots a \subseteq b \subseteq c \subseteq\cdots$$ where $a,b,c \in A$ are distinct. We can show easy enough that there is an uncountable chain - this is done by noting $\mathbb N\sim\mathbb Q$ then using Dedekind cuts in $\mathbb Q$ to define $\mathbb R$ we see that a family of (nearly arbitrary) cuts satisfy the condition. For instance the family $L_r=\{q \in \mathbb Q : q &lt; r \}$ for $r &gt; 0$ gives us the sets we need and obviously we can pick others. I tried doing this for $ \mathbb R$ and don't seem to be getting anywhere.  To be more specific, does there exist a chain in $P(\mathbb R)$ with cardinality $2^ \mathbb R$? Given a set of cardinality $X$ (necessarily non-finite), is there a chain in $P(X)$ of the same cardinalty of $P(X)$? Show $x^p-t$ has no root in the field $\mathbb{F}_p(t)$ I don't think I fully understand.  Let's say there is a root $x_0 \in K=\mathbb{F}_p(t)$, where $p$ is a prime number.  Then $x_0 = \frac{P(t)}{Q(t)}$ for some polynomials $P,Q \in \mathbb{F}_p[t]$. We can assume $\gcd(P,Q)=1$  and $x_0^p-t= \frac{(P(t))^p}{(Q(t))^p}-t= \frac{P(t)^p-tQ(t)^p}{Q(t)^p} =0$, so coefficients of $P(t)^p, tQ(t)^p$ must be identical, which contradicts $\gcd(P,Q)=1$,   hence such $x_0$ does not exist and the polynomial has no root in $K$.   am I about right?    anyway, I would appreciate an explanation about $\mathbb{F}_p(t)$, what is $t$? what is the meaning of a variable which does not belong to any specific "world"? I cannot use $t$ as if it was a member of $\mathbb{F}_p$ and hence cannot assume $t^{p-1} = 1 \pmod p$... When would you use a voltage regulator vs a resistor voltage divider?  Are there any uses for which a resistor divider is particularly bad? Playing a video in full screen after startup When I apply a glossy shader to the material of my text, the text becomes just black. Why?    I have lamp and everything, but the problem persists. The text is red before I add the glossy shader.  I'm using Cycles render.   Thanks! In the two following snippets, is the first one safe or must you do the second one?  By safe I mean is each thread guaranteed to call the method on the Foo from the same loop iteration in which the thread was created?  Or must you copy the reference to a new variable "local" to each iteration of the loop?  var threads = new List&lt;Thread&gt;(); foreach (Foo f in ListOfFoo) {           Thread thread = new Thread(() =&gt; f.DoSomething());     threads.Add(thread);     thread.Start(); }   -  var threads = new List&lt;Thread&gt;(); foreach (Foo f in ListOfFoo) {           Foo f2 = f;     Thread thread = new Thread(() =&gt; f2.DoSomething());     threads.Add(thread);     thread.Start(); }   Update: As pointed out in Jon Skeet's answer, this doesn't have anything specifically to do with threading. 1) a ten years old boy is sitting on the couch.      2) a ten year old boy is sitting on the couch.      3) a ten-years old boy is sitting on the couch.      4) a ten-year old boy is sitting on the couch.   Which is correct? Who was the colleague that Erik was going to contact for help? After S.H.I.E.L.D confiscates Jane's work in Thor, the researchers discuss what they'll do next.  Erik mentions two colleagues. The first is reasonably implied to be Bruce Banner, but who is the second colleague he mentions? Transcribed from the film:  Jane Who are these people? Erik I knew this scientist... a pioneer in gamma radiation. S.H.I.E.L.D showed up and... umm. He wasn't heard from again. Jane They're not going to do that to us. I'm going to get everything back. Erik mumbles Please. Let me contact one of my colleagues. He's had some dealings with these people before. I'll email him and maybe he can help. Darcy They took your laptop, too. In Heaviside-Lorentz units the Maxwell's equations are:  $$\nabla \cdot \vec{E} = \rho $$  $$ \nabla \times \vec{B} - \frac{\partial \vec{E}}{\partial t} = \vec{J}$$ $$ \nabla \times \vec{E} + \frac{\partial \vec{B}}{\partial t} = 0 $$ $$ \nabla \cdot \vec{B} = 0$$  From EM Lagrangian density: $$\mathcal{L} = \frac{-1}{4} F^{\mu \nu}F_{\mu\nu} - J^\mu A_\mu$$   I can derive the first two equations from the variation of the action integral: $S[A] = \int \mathcal{L} \, d^4x$. Is it possible to derive the last two equations from it? Proof of the following inequality $ \frac{x - y}{\log x - \log y} > \sqrt{xy} $, $x>y$. I have seen the following inequality  $$ \frac{x - y}{\log x - \log y} &gt; \sqrt{xy} \ , \quad \forall x&gt;y $$ be stated as a near "obvious" fact in another , on the site.  The inequality is very cute, but so far I have not been able to prove it.  It reminds me of the Lipschitz inequality, but has some minor differences. Also Jensens inequality comes to mind. Is there something obvious I am missing, or is this ineqality not as easy to prove as it looks? My attempt at value initialization is interpreted as a function declaration, and why doesn't A a(()); solve it? can I use same functions with the different type of argument inputs Why do wheels appear to revolve opposite to the direction they are rotating? When viewing cars that are driving along side of us, sometimes their wheels appear to be turning backwards even though they are traveling in the same direction as our car. Why do they look that way? For creating the graphics for my thesis (function graphs, flow charts, line art sketches) I've chosen to use the sans serif font by  \renewcommand\familydefault{\sfdefault}    However when I use mathematical symbols like $p_{s}$, they are still typeset in roman font and that looks weird:    So I wonder:   how could I force mathematical expressions also be typeset in \sfdefault if I do, are there any negative sideeffects to expect (with greek signs or other special symbols?) OR should I typeset all "mathematical" graphs (axis labels etc.) in roman font, and only make the other graphics like flow charts and sketches with sans serif font?