Wake up the system without having to enter a user password on Kubuntu
Disable password request from suspend - 18.04
How can I execute a function on pressing the enter key in an  field? Using $\text{n}^{\text{th}}$ root of unity  $$\large\left(e^{\frac{2ki\pi}{n}}\right)^{n} = 1$$  Prove that   $$\prod_{k=1}^{n-1}\sin\frac{k \pi}{n} = \frac{n}{2^{n-1}}$$ What's the difference between STDIN and arguments passed to command? Name "Chapter" is not showed in the table of the content Is symmetric group on natural numbers countable? What should I do when my neural network doesn't learn? Change edit approval/rejection I accidentally clicked reject on the suggested edit on this question(). I can't find the button to change it to Approve? I am not able to sum all the opportunities under the account ?  How will I do that?  What I have to use in this to run the trigger? Is it possible to create because opp. is child and account is parent ?  trigger sumAllopptyAmtAccount on Account(before insert) {     Set &lt; ID &gt; AccID = New Set &lt; ID &gt; ();     if (Trigger.isInsert)         for (Account oppAc: trigger.New) {             AccID.add(oppAc.AccountID);         }     List &lt; Account &gt; acc = [select id, SumAll_Opprty__c from Account where id in: a.AccID];     List &lt; Opportunity &gt; opp = [selece id from Opportunity where AccountID in: a.AccID];     for (Account a: acc) {         a.SumAll_Opprty__c = con.size();     } } Example of non-flat modules Let $R = \mathbb{C}[t]$ be a ring of polynomials in variable $t$ with coefficients in the field of complex numbers $\mathbb{C}$ and let $$N = R[x]/(tx-t).$$  I claim that $N$ is not a flat $R$- module. If we consider the exact sequence $$0 \rightarrow(t) \rightarrow R$$ such that the ideal $(t)$ is viewed as an $R$-module.   We know that the above sequence exact iff the map $(t) \rightarrow R$ is injective. Let us assume that N is flat then this means that $N \otimes  (t) \rightarrow N \otimes R$ has to be injective. How do I go from here?   Thanks. I am a US citizen and have recently visted the UK  with simply a passport which allowed me to vist for 6months I have heard rumors that I am obligated to stay in the US for a Equal amount of time that I have visited the UK before I am able to return, but I am struggling tour no any proof of this obligation .. Am I missing somthing or is it simply not true We have more than one content management system (eCommerce) running on our site and we want to know would it be wise to separate these systems and run on their own server for better performance, easier to manage and better for security, but our concern is the SEO impact.  Is it better to run site.com/this-is-our-other-platform/ or this-is-our-other-platform.site.com? prove inequality through mean value theorem How do I execute PHP that is stored in a MySQL database? I'm trying to write a page that calls PHP that's stored in a MySQL database. The page that is stored in the MySQL database contains PHP (and HTML) code which I want to run on page load.  How could I go about doing this? Why were the villagers and the axe-wielding hitman brothers crawling towards a shrine? At the start of Season 3 Breaking Bad, we see a bunch of villagers and Tuco's cousins crawling on their bellies towards some shrine where they put a drawing of Walter White as some kind of "offering".  Why were the villagers and the cousins crawling towards this shrine? Changing url of exposed filter When I used an exposed filter the filter selection is passed as name/value pair in the url, for example:  members?field_a=valuea&amp;field_b=valueb   How can I set it up to use more of a "pathauto" style url:  members/valuea/valueb Generate uniformly distributed weights that sum to unity? It is common to use weights in applications like mixture modeling and to linearly combine basis functions. Weights $w_i$ must often obey $w_i ≥$ 0 and $\sum_{i} w_i=1$. I'd like to randomly choose a weight vector $\mathbf{w} = (w_1, w_2, …)$ from a uniform distribution of such vectors.  It may be tempting to use $w_i = \frac{\omega_i}{\sum_{j} \omega_j}$ where $\omega_i \sim$ U(0, 1), however as discussed in the comments below, the distribution of $\mathbf{w}$ is not uniform.  However, given the constraint $\sum_{i} w_i=1$, it seems that the underlying dimensionality of the problem is $n-1$, and that it should be possible to choose a $\mathbf{w}$ by choosing $n-1$ parameters according to some distribution and then computing the corresponding $\mathbf{w}$ from those parameters (because once $n-1$ of the weights are specified, the remaining weight is fully determined).  The problem appears to be similar to the  (but, rather than picking 3-vectors whose $ℓ_2$ norm is unity, I want to pick $n$-vectors whose $ℓ_1$ norm is unity).  Thanks! QM and Renormalization (layman) I was reading Michio Kaku's Beyond Einstein. In it, I think, he explains that when physicsts treat a particle as a geometric point they end up with infinity when calculating the strength of the particle's field as you approach the particle.  First, did I get that part right?  Second, how does (in very simple terms) renormalization try to fix this in Quantum Mechanics? If you can include some type of word picture that would be great. Accepted answer will go to the clearest explanation.  Update  I got a little further in the book (lol) and Kaku talks about using symmetry to remove the divergences in the math. I'd appreciate an answer that incorporates this also. Thanks guys! Two Circles and Tangents from Their Centers Problem Let $\Gamma_1$ and $\Gamma_2$ be two non overlapping circles with centers $O_1$ and $O_2$ respectively. From $O_1$, draw the two tangents to $\Gamma_2$ and let them intersect $\Gamma_1$ at points $A$ and $B$. Similarly, from $O_2$, draw the two tangents to $\Gamma_1$ and let them intersect $\Gamma_2$ at points $C$ and $D$.  Prove that $AB=CD$.  I've done some extensive angle chasing on this but have been unable to make any real progress. Can't decide whether $ABCD$ is supposed to be rectangle (as in my diagrams), a parallelogram or even a trapezium. There is a homothety taking one circle to the other but as far as I can see this doesn't help as we don't have a clearly defined center to this.  Any help/hints would be greatly appreciated. Is there such a thing as a line/vertices symbology? If not a workaround? In some situations, particularly when editing, I would like to see my lines as well as all the vertices similar to the effect I get when using the Edit Vertices tool but on all features in the feature class not just the selected feature.  The solution should be dynamic, without having to create a separate point layer but having one line features class loaded twice in the TOC is acceptable.  Programmatic solution using an example (addin, ArcObjects &amp; VB.Net) is acceptable.  I have the ArcEditor license in case there is a trick to use with representations. Quote unquote (or end-quote), unseparated by the actual quotation In spoken English, people often say "quote-unquote" (or "quote-endquote") to indicate that part of what they are saying is a quotation (scare or otherwise). Sometimes the quoted material will go between quote and unquote, and occasionaly it will precede the quote-unquote. Often, though, "quote unquote" introduces the quoted material.  Why does quote unquote precede the quotation?  It would seem that quote opens the quoted text and that unquote closes it, but then why would we close the quotation before actually providing it. It would be the equivalent of writing your quotation marks together, "", rather than around the quoted text.  What are the origins of this construction?  Three years ago ChrisR asked  on whether it is correct to use quote, unquote. The answers did not deal with origins, but one commenter suggested that quote-unquote is a corruption of quote-on-quote, but he provided no evidence, nor any real explanation.