Finding a friend on Overwatch by in game name
How do you become friends with someone?
Marketing Cloud Mobile Push SDK - Switching app user I'm currently building a clienteling app that integrated the Mobile Push SDK on both iOS and Android and encountered some issue on switching the account.  I found that when I login to user A, and set contact key to A, the Inbox Messages will be send to this device. However, I logout user A and switch to a user B, I should set the contact key to B. But seems the inbox messages are associated with the Device instead of Contact, I can still see the inbox messages that were sent to contact A previously.  My question is, how should we deal with this situation, to prevent from seeing the previous inbox messages if the contact key has been changed? Sort a set of multidimensional arrays by array elements Send data from Lightning Web Component (LWC) to a Visualforce page I am adding an LWC component in visualforce and need to add a handler for an event fired in the LWC component on the visualforce page. When googling all I can find is examples of how to do this with aura component using application events. LWC controller: handleSearchClick() {              const searchinfo = {          shipper: this.shipper,         system: this.system,         product: this.product,         status: this.template.querySelector('c-lwc-multi-select').value(),         period: this.period       };     this.dispatchEvent(new CustomEvent(         'dosearch',          {             detail: { data:  searchinfo},             bubbles: true,             composed: true,         }     ));     console.log({ 'lwcNominationSearch searchinfo': searchinfo }); }  AURA app: &lt;aura:application extends=&quot;ltng:outApp&quot; access=&quot;GLOBAL&quot;&gt; &lt;aura:dependency resource=&quot;c:lwcNominationSearch&quot; /&gt; &lt;aura:dependency resource=&quot;markup://force:*&quot; type=&quot;EVENT&quot;/&gt; &lt;/aura:application&gt;  Visualforce: &lt;div id=&quot;rcontainer&quot;&gt; &lt;/div&gt;  &lt;script&gt;     $Lightning.use(&quot;c:NotificationSearch_ltngoutApp&quot;, function()     {         $Lightning.createComponent(         &quot;c:lwcNominationSearch&quot;,         {},         &quot;rcontainer&quot;,         function(cmp)         {             console.log('component created');              //$A.eventService.addHandler({ &quot;event&quot;: &quot;c:myEvent&quot;, &quot;handler&quot; : visualForceFunction})               $A.eventService.addHandler({                 event: 'dosearch',                 handler: function (event) {                          console.log(&quot;vf event success&quot;);                 }             });          });     }); &lt;/script&gt; Why is \[ ... \] preferable to $$ ... $$? Transfer subtype Descriptions form long integer value into a string at new diffrent field I'm having some difficulty with understanding why KVL (Kirchhoff voltage law) is valid when considering an AC circuit. I mean, the system is by definition not in steady state, right? That in turn means that the change in current causes a change in the magnetic field, which is manifested within the electric potential. I realize the potential is still defined and thus a line integral over a crossed curve of ALL of it's component should be zero.   However, what I often see (for, say, RLC circuits with an AC emf) is total disregard to the time varying components of the electric potential. Only the emf of the different components are considered and their sum is said to be zero. How can that be? What about the "second" part of the potentials? How is the recommended next badge determined exactly? According to , the     "Progress to next badge" bar automatically selects the badge you're closest to earning (or that's most logical to go for next)   While "the badge you're closest to earning" is pretty easy to determine: it's the bar with the most progress, I'm wondering what "most logical to go for next" means. Because right now on Meta Stack Exchange, I can track two badges: Illuminator and Legendary. My progress for Illuminator is 66.40% and for Legendary it's 66.67%, yet Illuminator is shown as the recommended next badge:    On some child metas where I barely have any activity, Student is shown as recommended next badge with a progress of 0/1, but I do have cast some votes so I have a small progress towards e.g. Civic Duty. So obviously there is some other logic at work, but what? How do camera body motors compare to in-lens motors for focusing? What is the difference between using a motor on the camera body and the motor built into lenses?   Aside from how both compare in terms of speed, what differences would I notice if I use a body with a motor and motor-less lens, and a lens with motor on a body that lacked one?  A comparison chart outlining the various lens motor types would be a great help as high end USM motors for Sigma lenses are faster then their regular versions. How to make the measuring grid larger? When starting the blender, there is always a cube on the floor. The floor is actually a grid. My question is how to make this grid bigger so that we can measure big stuff? Was Voldemort allowed to visit Hogsmeade while in school? We know that in order for third-years and up to be allowed to visit the village of Hogsmeade, they must present a form duly signed by their parent or guardian. When Harry’s guardians, the Dursleys, miss their opportunity (!) to sign his, he is not allowed to go to Hogsmeade. Both Cornelius Fudge (as Minister for Magic) and Professor McGonagall (as head of Gryffindor House) refuse to sign the form on his guardians’ behalf—probably at least in part because they think there’s a mad killer on the loose looking for Harry, but also, as McGonagall specifically states, simply because:  “You heard what I said. No form, no visiting the village. That’s the rule. […] The form clearly states that the parent or guardian must give permission.” Prisoner of Azkaban, Bloomsbury/UK paperback, p. 113  Obviously, Tom Riddle did not have any parents or guardians ready to sign his form for him: his mother was dead, his father likely did not even wish to know of his existence, and if he did have a legal guardian at all (I don’t know how orphanages worked in Britain in the 1930s), it was likely to be  (warning: Wikia link) as the matron of Wool’s Orphanage where Riddle grew up. As Mrs. Cole was perfectly Muggle in every way and was never told by Dumbledore—nor, we must assume, by the boy himself—that Riddle was a wizard attending a wizardry school, it seems unlikely in the extreme that she ever signed Riddle’s form to visit Hogsmeade.1 I don’t recall any incidents in the books where Voldemort speaks specifically of him visiting Hogsmeade as a school boy (then again, why would he?); but being content to remain at the castle while his classmates have fun in the village seems quite out of character for him, too. Are there any (canonical) indications whether special provisions were made for orphans with no legal guardians to sign, so that they were allowed to visit Hogsmeade after all? Or, oppositely, whether such cases were played strictly by the book and unguardianed orphans, and thereby Riddle, were not allowed to visit Hogsmeade?    1 One might of course easily envision that Riddle simply Confounded Mrs. Cole to sign the form; but that would lead to detection of underage magic (assuming this was even a thing in 1940). Riddle may of course have forged Mrs. Cole’s signature, but that would be rather likely to be discovered as a forgery, since at least Dumbledore was aware that Mrs. Cole did not know of Riddle’s magical abilities. If $n = 51! +1$, then find number of primes among $n+1,n+2,\ldots, n+50$ If $n = 51! +1$, Then find no of primes among $n+1,n+2,\ldots, n+50$  Really speaking, I don't have any clue ... In my family we have a DNA contradiction – two cousins (at about the 4th cousin level) took a Y-DNA test, but did not match and had two completely different haplogroups.   Since then, I have traced living cousins with the same surname – the only ones left living that I am aware of – and I would love to pay to have them tested to see if we can figure out where the non-paternity event (NPE) or other event happened (i.e. this new cousin could help us determine which line the NPE occurred in depending on which cousin he matches).   Does anyone have a sample letter, or know the best way to go about asking a distant cousin for DNA?   I have their address and am planning to write a letter, but I can't imagine receiving such a letter, so I am not quite sure how to ask without scaring them off. On exactly what criteria is the Electorate badge awarded? There is a badge named Electorate which is going to be awarded on "Voted on 600 questions and 25% or more of total votes are on questions". Can somebody explain this to me?  Voted on 600 Question and 25% are on Question? is this  means   Voted on 600 Posts and 25% are on Question  Can't SO place some easy text or Definitions for average users? Sci-Fi book female fighter pilot All I remember about the book is that the protagonist was a human female fighter pilot, she has short hair, not sure if it was blond or auburn and she was involved in making peace with the alien race.  The alien race was invading Earth, but because of her they stopped, surrendered and because of her helped Earth improve its technology. I remember that she melded with something and was starting to sort of think like them and lose a bit of her humanity.  It was set in the not too distant future. I believe I read it in the 90s. Cauchy-Riemann equations in polar form. Show that in polar coordinates, the Cauchy-Riemann equations take the form   $\dfrac{\partial u}{\partial r} = \dfrac{1}r \dfrac{\partial v}{\partial \theta}$ and $\dfrac{1}r \dfrac{\partial u}{\partial \theta} = −\dfrac{\partial v}{\partial r}$.      Use these equations to show that the logarithm function defined by   $\log z = \log r + i\theta$ where $z=re^{i\theta}$ with $-\pi&lt;\theta&lt;\pi$ is holomorphic in the region $r &gt; 0$ and $-\pi&lt;\theta&lt;\pi$.   What I have so far:   Cauchy-Riemann Equations: Let $f(z)$ = $u(x, y)$ +$iv(x, y)$ be a function on an open domain with continuous partial derivatives in the underlying real variables. Then f is differentiable at $z = x+iy$ if and only if $\frac{∂u}{∂ x}(x, y)$ = $\frac{∂ v}{∂ y}(x, y)$ and $\frac{∂u}{∂ y}(x, y)$ = −$\frac{∂ v}{∂ x}(x, y)$. So we have $f'(z)= \frac{∂u}{∂ x}(z) +i \frac{∂ v}{∂ x}(z)$. Let $f(z)$ = $f(re^{iθ})$= $u(r,θ)$ +$iv(r,θ)$ be a function on an open domain that does not contain zero and with continuous partial derivatives in the underlying real variables. Then f is differentiable at $z$ = $re^{iθ}$ if and only if $r \frac{∂u}{∂r}=\frac{∂ v}{∂θ}$ and $\frac{∂u}{∂θ}$ = $−r \frac{∂v}{∂ r}$.  Sorry, if this is not very good. I just decided to start learning complex analysis today... Why are so many different types of objects white, yet appear gray when they are wet? There are many things with different textures that appear white – salt, beer foam, paper, shaving cream, snow, talcum powder, white paint, etc. The most common answer is all of the frequencies must be reflected in order for us to perceive white, which I already know. There must be more underlining details why such a huge variety of things are white. Furthermore, if you wet paper, snow or talcum powder, they appear off-white or gray. Why is this? How can I display the current branch and folder path in terminal? What is the black thing on the circuit What is the black thing on the below circuit?   Is it used to hide the IC (or other components) that is used on the circuit?   What material is it? Check if macro is fully expandable Question  Is there a way to check whether a macro is fully expandable (or rather "safe in an expansion-only context" )?    Consider this code:  \def\a{Just a string} \def\b{\a} \def\c{\def\unsafe} \def\d{\c}   How could I check which of the macros (a-d) are safe in an expansion-only context? By looking at them I know that a and b are whereas c and d are not but if I wanted to know the same for a macro I haven't written myself this could get quite useful.      Background  I am working on a way to detect whether some input is a valid number in PGF. For this I developed  which makes use of passing the input into \pgfmathfloatparsenumber. The problem I have run into is that said macro appears to somehow manages to expand the input until there is an error (if the input is in fact not safe in an expansion-only-context). I tried using protected, noexpand and similar but somehow PGF manages to circumvent those.    So the idea is to check whether the input is safe before actually passing it to PGF. The problem is: I don't know how I'd go about that... What is the easiest way to highlight the difference between two strings in PHP?  I'm thinking along the lines of the Stack Overflow edit history page, where new text is in green and removed text is in red. If there are any pre-written functions or classes available, that would be ideal.