Potential Difference across an ideal short circuited cell
What happens in a circuit, when the wire and the battery are superconducting. And shorted
Computing: $\int_0^1 \sqrt[3]{x\log{\frac{1}x}} \, \mathrm dx$ Here is a DOM-based XSS flaw reported by SalesForce Security Review team in our code:   RootComponent  &lt;aura:component extensible="true" abstract="true" access="global"                 description="Root template component"&gt;     &lt;!-- ... lot of other code ... --&gt;     &lt;aura:attribute name="label"                     type="String"                     access="global"                     description="Label of the form input element" /&gt;     &lt;!-- ... lot of other code ... --&gt;  &lt;/aura:component&gt;   SubComponent  &lt;aura:component access="global" extends="c:RootComponent"                  description="Child extension of RootComponent"&gt;     &lt;!-- ... lot of other code ... --&gt;     &lt;label&gt;{!v.label}&lt;/label&gt;     &lt;!-- ... lot of other code --&gt;  &lt;/aura:component&gt;   According to SFDC, "any app can extend SubComponent component and pass in  as a label and trigger a DOM-based XSS attack." The solution would be to "sanitize" label global attribute to avoid such attack. What is meant by sanitization of global attribute?  I tried to reproduce the so-called security flaw , but as label attribute is of type "String" , when we send it HTML, it is displayed as a string, not as interpreted HTML ... so I don't see where the security flaw could be :/  &lt;aura:application &gt;     &lt;aura:handler name="init" value="{!this}" action="{!c.doInit}" /&gt;      &lt;c:SubComponent aura:id="TestXSS" label="DOM-based XSS attacks" /&gt;  &lt;/aura:application &gt;   JS Controller  ({     doInit: function(component, event, helper) {         var XssAttack = '&lt;img src=x onerror=alert(1) /&gt;';        component.find('TestXSS').set('v.label',XssAttack);     } })   Output    We have global attributes everywhere. Our components are packaged and meant to be extended by client implementation. Do we actually need to sanitize them? Does kinetic friction increase as speed increases? Possible Duplicate:          Layman alert...I last did physics in high school, and am just trying to understand something my son is working on.   To keep a box moving across the floor at a constant velocity I need to apply a force equal and opposite to that of the  force working on it.  If I start applying a force greater than the kinetic friction force, the box will speed up. Will it keep speeding up indefinitely, or will the kinetic friction force I need to overcome increase as the box gets faster? Prove that $(p+q)^m \leq p^m+q^m$ I'm using Ubuntu 13.04 on a Lenovo X220.  Why do I have so many .Xauthority.* files in my home directory? I.e  .Xauthority .Xauthority.0JW6UW .Xauthority.2HWRVW .Xauthority.2TA6VW .Xauthority.49F8VW .Xauthority.4E27UW .Xauthority.7CLTVW .Xauthority.8JGGXW .Xauthority.96SAVW .Xauthority.AOUFVW .Xauthority.ASDOVW .Xauthority.CGVJXW .Xauthority.E0ZSVW .Xauthority.E5VZWW .Xauthority.FE64UW .Xauthority.FIHDWW .Xauthority.HL45VW .Xauthority.HYCCVW .Xauthority.ILUEWW .Xauthority.JXJHVW .Xauthority.K1QJXW .Xauthority.KXSOVW .Xauthority.LEKEVW .Xauthority.M48WVW .Xauthority.M6QTVW .Xauthority.MW6NWW .Xauthority.N57TWW .Xauthority.O5HAWW .Xauthority.OIC5VW .Xauthority.P2RPVW .Xauthority.Q0FRVW .Xauthority.QW01WW .Xauthority.RDW5WW .Xauthority.T0TLWW .Xauthority.TSO4WW .Xauthority.U6R9VW .Xauthority.V3KAWW .Xauthority.W8Z1WW .Xauthority.XDLGVW .Xauthority.XOOHWW.Xauthority.XUICVW  They are all zero bytes except the first, with timestamps all over the place.  What are these, and are they safe to delete? Using NPN transistor as switch Why doesn't a bike/bicycle fall if going with a high speed? Why does a bike/bicycle fall when its speed is very low or close to zero and is balanced when going with a high speed? How can I display "recent folders" in the sidebar of "Save as" dialogue? I was using 14.04 and upgraded to 16.04 yesterday.   In 14.04 I had recent folders on top of the sidebar of the Save as dialogue when I saved something from the net (Firefox if that helps). But that feature disappeared in 16.04 and I really want to have it back.   Here is a picture of what I'm trying to explain:  (the save as dialogue in 16.04 without the recent folders on top) Upgrading from Yosemite to El Capitan, but not Sierra We have an older iMac (Model A1311, Mid 2011). It has been running Yosemite. We have run into some of the WIFI issues associated with Yosemite.   Is it possible to upgrade to El Capitan but not Sierra?   El Cap has been out longer. Its my wife's computer, its older, and I really don't want to be debugging Sierra until a few  more "dot" releases come out. Product of two random variables that has exponential distribution Is there a way to have coloured hyperref hyperlinks in the PDF, but have them print "as if" they were black? I like having my hyperref hyperlinks a different colour, so it's obvious that they are links. But when I print a copy of the PDF, I don't want the links to be coloured, because you can't click them, so it doesn't matter and it's distracting.  Other than just having a separate "for printing" version of the PDF where I turn off the hyperlinks, is there a way to have the printed version come out without the coloured links? Why Negative refractive index is negative Are bicategories and lax 2-categories the same? example:   Does Chocolatey run the native program installer? If I prefer simplicity, should I avoid packages with (Install) in their name? Noun form of "affected", meaning things that are affected by X Is sum of two orthogonal matrices singular? I am trying to solve following problem.      Let $A, B \in \mathbb{R}^{n\times n}$ be an orthogonal matrices and $\det(A) = -\det(B)$. How can it be proven that $A+B$ is singular?   I could start with implication:  $\det(A)=-\det(B) \Rightarrow B$ is created from $A$ by swapping two lines or columns.   But I am not sure if this implication is correct. SHOWPLAN permission denied when including execution plan in Data Explorer If I select the "Include execution plan" checkbox in the Data Explorer, the query fails:     SHOWPLAN permission denied in database 'StackOverflow'.     I see that  following maintenance. I don't know whether there was any recent maintenance. It's been several days since the data was updated and longer since an update was deployed, if that's related. What is inverse CDF Normal Distribution Formula I have a dataset with a large number of Yes/No responses. Can I use principal components (PCA) or any other data reduction analyses (such as factor analysis) for this type of data? Please advise how I go about doing this using SPSS. Does the new finding on "reversing a quantum jump mid-flight" rule out any interpretations of QM? new finding by Minev et al. seems to suggest that transitions between atomic states are not instantaneous, but continuous processes wherein a superposition smoothly adjusts from favoring one state to another (if I understand it correctly). The authors also claim to be able to catch a system "mid-jump" and reverse it. Popular articles are  and .  I am curious if this finding rules out any interpretations of QM. It seems to generally go against the Copenhagen attitude, which describes measurements as collapsing physical systems into a definite classical state. The popular articles indeed claim that the founders of QM would have been surprised by the new finding.  The link with the asterisk mentions that something called "quantum trajectories theory" predicts what was observed. Is this an interpretation, or a theory? And are they implying that other interpretations/theories don't work?