How do I add an electrical switch to a series of lights from an additional doorway? My basement shop has been fully wired to operate by one power switch.  I would like to add another switch to power up the shop by entering from another door.
How do I convert a light circuit with a single pole switch to use two 3-way switches? I have a box in the hall which includes a 3-way switch (with another switch at the other end of the hall), a single pole switch to the garage lights and a single pole switch to the exterior lights on the garage.  The single pole switch to the garage is wired with a 3 wire plus ground. The white and black wires feed the garage lights from the switch and the red wire feeds the garage ceiling outlets and is hot all the time.  In the garage I would like to add a 3-way switch for the garage lights and another 3-way switch for the exterior garage lights.  In other words I would like to be able to turn on both of those light locations from both the inside hall and the garage as well. I know that I will of course have to replace the existing single pole switches in the hall with 3-way switches and add a junction box in the garage with 2 3-way switches in it.  The thing that I don't know is what wiring connections I need to make.  Can you help?
XML attribute vs XML element Xbox Game bar after uninstalling UWP and disabling UAC It looks like the  update  from Microsoft.  I have  and  UWPs as much as I can, along with Cortana and Edge.  Yet today I saw a weird green bar popup saying something about "Press Win + G to bring up the game bar".  I figured it would have to do with the Xbox UWP app, which I have previously uninstalled.  I presume this is UWP functionality, but I'm not sure how to find out for certain.  Can this app or program exist outside of the UWP ecosystem?  Is it a part of the Xbox app?  What method(s) are there to remove it?  Is there a prophylactic to prevent such things in the future?  I'm currently stuck in Windows Home, even though I  (not me, but gives you context).  I will be fixing that sometime soon. What is the fastest algorithm for finding the natural logarithm of a big number? One server with multiple desktops "heads" with VNC I am managing a system of kiosks.  Each kiosk currently is running a web browser with the application for the kiosk running in the browser.  Each kiosk needs to be able to display separate content.  At times, the application running in the web browser freezes.  Thus, I have to go out to the site to refresh the page.  I want to see if there is a way to have one central server that has multiple browser heads.  Then each kiosk would run a program like VNC to display one of the heads.  This way when the program freezes, I just have to login to the central server and refresh the page.  Getting VNC or another remote desktop software installed on the clients is no problem.  What I am looking for is a way to have VNC remote into a specific head of a head of a web browser.  Does such a thing exist?  Or do I have to run a VM for each kiosk to remote into?  Any advice, pointers, or solutions would be helpful. I keep on seeing a fair number of questions (such as ) which get marked as answered within 5-10 minutes of being posted. Sometimes the questions like this are insanely popular and actually see some proper discussion, however often I see questions have few views and only 1 answer. The trouble with these questions is that very few people have scrutinised the answer for correctness, or possibly a better solution. I always make a point of not accepting my answers until a day or so has passed — would it not be a good idea to put a short (1 hour or so) time limit on accepting answers on new questions with few views or votes, or perhaps just an additional confirmation dialog, something along the lines of:  Your question is new and not many people have had a chance to look at it yet.  Are you sure you don't want to wait to see if anyone else has a better suggestion? Why (in relatively non-technical terms) are Calabi-Yau manifolds favored for compactified dimensions in string theory? Here $p$ and $q$ are co-prime integers. Is it necessarily an algebraic number? Convergence in Probability Is either "can" or "could" more polite? Calculation of pressure from flow rate of water Anybody kindly help me to find how to calculate pressure in bar from flow rate. I have a pipe and from that I am transferring water at a constant flow rate of 5ml/min. At this flow rate, with a 0.5 cm diameter pipe, what will be the pressure generated by water? I'd really like your help proving:  $(A\rightarrow B),(A\rightarrow C)\rightarrow B,  \mapsto_{HPC} B $  Where $HPC$ is the Hilbert's system proof which contains the following relevant axioms:   $A\rightarrow(B \rightarrow A)$ $(A\rightarrow(B\rightarrow C)) \to ((A\rightarrow B)\rightarrow(A\rightarrow C))$ $(A\rightarrow B)\rightarrow ((A\rightarrow\bar{B})\rightarrow \bar{A})$ $\bar{\bar{A}} \rightarrow A$   In addition tried to use these following lemmas: $\bar{A} \rightarrow (A \rightarrow C) $ and $(A\rightarrow B)\rightarrow (\bar{B} \rightarrow \bar{A})$.  Any suggestions? Is a bool read/write atomic in C# Is accessing a bool field atomic in C#? In particular, do I need to put a lock around:  class Foo {    private bool _bar;     //... in some function on any thread (or many threads)    _bar = true;     //... same for a read    if (_bar) { ... } } Agreement in "[Singular Noun] Is/Are [Plural Noun]"? My fish's native habitat is rice fields. My fish's native habitat are rice fields.   Which one is correct? I'm pretty sure it's the first, since 'is' modifies 'habitat,' but it still sounds weird... Running junit tests in parallel in a Maven build? I'm using JUnit 4.4 and Maven and I have a large number of long-running integration tests.  When it comes to parallelizing test suites there are a few solutions that allow me to run each test method in a single test-class in parallel. But all of these require that I change the tests in one way or another.  I really think it would be a much cleaner solution to run X different test classes in X threads in parallel. I have hundreds of tests so I don't really care about threading individual test-classes.  Is there any way to do this? Understanding linear regression In class we've seen that $a$ (the weights) must satisfy $$X^T (y-Xa) =0$$  Here $X$ is a $(n\times d)$ matrix (so we have $n$ samples in $\mathbb R^d$)  let's denote the residuals $r = y-Xa$. In our class notes, it is written that     The normal equations require the residuals to be orthogonal to each of the columns of $X$.   Why?     Therefore, the solution of the linear regression is a projection of $y$ onto the subspace spanned by $v_1 , \ldots , v_d$ (the columns of $X$)   Can you please explain this? Direct Proof that $1 + 3 + 5 + \cdots+ (2n - 1) = n\cdot n$ Find the area where dog can roam A dog is tied to circular pillar by a rope. Radius of this pillar is $1m$ and length of rope is $\pi m$. What is an area where dog can roam?   I tried to find the area of all semicircles and then to find its sum. It is easy to find an area at front side of the pillar. It is $\displaystyle\frac12\pi^2\pi=\frac{\pi^3}{2}$. Problem is how to find remaining area. I tried to write this area using compass and straightedge, but I couldn't. Then I wrote this in AutoCAD and it looks like this: Is it possible to find the exact value of this area? 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! For what real values of $a$ does $\sum_{n=1}^{\infty}{(\frac{an}{n +1})^n}$ converge? For what real values of $a$ does the series $$\sum_{n=1}^{\infty}\left(\frac{an}{n +1}\right)^n$$ converge?  At first, I wanted to do the root test, but the problem is that $a$ could be negative.  If I take it out of the fraction to get $$\left(\frac{a}{n+1}\right)^n$$ it doesn't meet the criteria of either the Dirichlet or the Abel tests. Can't save settings after copying site to new server