I have just run into . As comment below states, this question fits perfectly to the Programmers and in the same time is a nearly perfect example of an off-topic question at SO (chit-chat discussion like question). However, I can't flag it to be migrated to Programmes. It is too old.  How to handle such questions? I don't think, it should remain at SO only cause it's to old for migration.
I was looking for a possible duplicated question about  in , then looked using the Big G! since the integrated search didn't give me any useful result (laugs) then I found the , but in Stackoverflow! Then, I proceed to flag as off-topic, but since "It's too old to migrate" I don't have the option to do so...  So, my question is, should I leave it like that? Or the question is better in UL (also on topic, just read the question)? Any guidance to this young pada-wan is greatly appreciated.
Let $A = \{ 1,2,3,4 \}$ Let $F$ be a set of all functions from $A \to A$.  Let $S$ be a relation defined by : $\forall f,g \in F$ $fSg \iff f(i) = g(i)$ for some $i \in A$  Let $h: A \to A$ be the function $h(x) = 1 $ for all $x \in A$.   How many functions $g \in F$ are there so that $gSh$ ?  My solution : $gSh$ means that $g(i) = h(i)$ for some $i \in A$. So $g(i) = 1$.  So number 1 always needs to connect to some x - 4 choices.  Then we have $3$ left-over numbers that can connect to $4$ numbers each.  So solution is $4 \cdot 4 \cdot 4 \cdot 4$. Is this correct at all? Thanks in advance !! :) How do you keep user.config settings across different assembly versions in .net? I tried the following code to replace QQ with ZZ, but it doesn't do what I want:  var1=QQ sed -i 's/$var1/ZZ/g' $file   However, this code does what I want:  sed -i 's/QQ/ZZ/g' $file   How do I use variables in sed? I am quite new to DSLRs and one of the first things I noticed was the incredible focus points and appearance of depth that you can achieve. That is great in a lot of scenarios, but not in all. When filming a landscape as a whole, I do not want to have the focus on that single tree, but on the whole skyline.  Is there a way by which you can sort-of "disable" the focus, so that the raw image is recorded without any added blur? I suppose something as simple as this is only a small function you can turn off, but I can't seem to find it in the manual of my camera. Get and Set Screen Resolution Defer SP.RequestExecutor.executeAsync I'm working on a SharePoint app where I need to run SP.RequestExecutor.executeAsync() in order to grab some information from one of the Host Web's lists. Depending on what method is calling the oData call I want to do something different.   Unfortuntely, executor.executeAsync() isn't playing as nice as $.ajax() does in terms of using $.when().done() and executing code after an async call is made. Below is some code if you'd like to see:      load = function (){         $.when(getEntries()).done(function () {             ViewModels.Calendar.addEventSource(ko.utils.unwrapObservable(eventList));         });     }      getEntries = function () {         return executor.executeAsync({             url: appweburl                 + "/_api/SP.AppContextSite(@target)/web/lists/getbytitle('" + LIST + "')/items?@target='" + hostweburl                 + "'&amp;$select=Title,OData__x006e_ot5,qnlu,OData__x0066_x20"                 + "&amp;$filter=OData__x0066_x20 eq '" + ViewModels.Person.user.userName() + "' "                 + "and qnlu ge DateTime'" + startDate().toString("yyyy-MM-dd") + "T00:00:00' "                 + "and qnlu le DateTime'" + endDate().toString("yyyy-MM-dd") + "T00:00:00' ",             method: "GET",             headers: { "Accept": "application/json; odata=verbose" },             success: onGetEntriesSuccess,             error: onoDataCallFailure          });     },      onGetEntriesSuccess = function (data) {         var jsonObject = JSON.parse(data.body);         $.each(jsonObject.d.results, function (index, item) {             eventList.push(new Event(item.qnlu, item.OData__x006e_ot5));         });     },      onoDataCallFailure = function (data, errorCode, errorMessage) {         alert('Failed to get host site. Error:' + errorMessage);     };   Any ideas/suggestions would be appreciated. How do Natures work? In at least some Pokemon games there are modifiers called "Natures" which affect pokemon stats. What do they do and how do it work? Also, what specific games possess it? Cycle Normal Pass in Camera Space Encouraging users to create an account (and keep it) I know SO's policy is &quot;you don't have to register to ask questions,&quot; but there are so many new members and so many hit-and-runs... The majority of the questions I see now are coming from new users (i.e., it's their first question). Although unregistered users should still be able to ask questions, I think we should encourage users to create an account. Here is a couple of ways we could do that:  Explicitly encourage people to get an account: there's currently nothing telling people to do that. Maybe tell people something like &quot;Get an account, it's easy!&quot; and maybe show some of the perks of having an account (and having rep).  Maybe give a few bonus points for registering; and have that enable a basic privilege. It could be taken from one of the , for example.   Of course getting people to register is just half of the battle. I don't know what the stats are on this, but I think there's a number of users who create multiple accounts anyways. We could curb that by:  Having smart(er)? duplicate account detection systems, alerting someone who is about to create a new account and possibly has an account already. Give them a message like &quot;Hey, it looks like you already have  account, are you sure you want to create a new one?&quot;  Create a new privilege (10k? 20k?) that gives users tools to detect possible duplicate accounts, eg: &quot;List users with the same e-mail,&quot; &quot;List users with the same IP addresses,&quot;  etc. (without revealing said emails and IPs). Then the 10k/20k can look at other stuff (e.g.: posts) and refer the new user to a moderator for a possible merge. I am trying to show that if for a group $G$ we have $Z(G)=1$, then $Z(\operatorname{Aut}(G))=1$.  I have tried everything I can think of, but to no avail.  The first part of the problem was to show that $\operatorname{Inn}(G) \triangleleft  \operatorname{Aut}(G)$ - does this have any connection?  I couldn't find one.  I know that $\operatorname{Inn}(G) \cong G/Z(G)$, so in this case $\operatorname{Inn}(G) \cong G$ and $Z(\operatorname{Inn}(G))=1$.  Is there any way to get from this to $Z(\operatorname{Aut}(G))=1$?  How do we go about showing this?  Thanks. Proof that $\bigcap_{a\in A} \bigg(\, \bigcup_{b\in B} F_{a,b} \, \bigg) = \bigcup_{f\in ^AB} \bigg(\, \bigcap_{a \in A} F_{a,f(a)}\,\bigg) $ Allow an edit to notify downvoters: "I think I've fixed the issue now - please check" Should I be worried about electro-static discharge? Doing mostly micro-controller work, I have never bothered with grounding myself with a wrist-strap or any other implementation. Should I be worried about this? How serious is ESD when working at my workbench on projects? I'm trying to solve    So far I've done the first part, evaluating the summation ;  where a is just n. I'm not sure where to go from here or what it even means deduce the second summation. I understand that the summation of simply $$\sum\limits_{k=0}^n\cos(kx)$$ is derived from looking at the real part of  $$\sum_{k=0}^n{\rm e}^{ikx} $$I'm guessing they want me to see how the second summation in the question is defined by 'playing around' with the original? This might be a duplicate of  but that question is 5 years old and unanswered.  When I'm in drive.google.com and I open a G Suite file (either double-click or select &amp; press enter) in Firefox it opens in a new window whereas in Chrome it opens in a new tab.   Why do they do that? Is this a browser-specific quirk or a Google setting (that I haven't found)? Is there a way to control the behavior? I'd like them both to open in tabs, but presumably the same answer would be relevant in the opposite direction too. Problem: Evaluate $$ L=\displaystyle \lim_{n \to \infty} \frac{1}{n} \sum_{k=1}^{n} \left(  \left\lfloor \frac{2n}{k} \right\rfloor -2\left\lfloor \frac{n}{k}\right \rfloor \right).$$  Please help me with this one.  I tried using the sandwich theorem by first constructing the following  $$ 2 \geq \left\lfloor \frac{2n}{k} \right\rfloor -2\left\lfloor \frac{n}{k} \right\rfloor \geq -1 $$ and then summing over. But the limit of the two bounds are different so sandwich theorem doesn't help!. Is it possible to construct sharper bounds?  Also I observed that if we ignore question of continuity, etc. then we can write,  $L= \displaystyle \int ^{1}_{0}\left\lfloor \frac{2}{x} \right\rfloor -2\left\lfloor \frac{1}{x} \right\rfloor dx$  Now I am able to compute the above integral. But is the above process correct? If then how can make it rigorous? Or if any other approach is possible, please tell. Log out button illogical placement In the previous version the logout button is under your username, which it can be found by clicking the down arrow. However, in the new version, after a couple minutes of searching, it is under the "site-switcher" button:        This is really illogical since the logout button is usually under your username, including Google and Yahoo! services.  I suggest bringing back the  which will definitely benefit new users and even old users. Why is $a^{-1}$ mod $p$ equal to $a^{p-2}$ mod $p$ in modular arithmetic? What does 5' and 3' mean in DNA and RNA strands? What are 5' and 3' in DNA and RNA strands? Please clarify with some images and please use simple English. Nautilus not generating thumbnails in 13.10