Why isn't this function returning anything?
How do I return the response from an asynchronous call?
I'm using wordpress multiste 3.3.1 I'm not gonna update it in the future. So I disabled all upgrade functions.  I want to remove the wordpress admin bar from both frontend as well as dashboard.  I can remove it from frontend using this code.  add_action( 'init', 'disable_admin_bar', 1 ); function disable_admin_bar() {     add_filter( 'show_admin_bar', '__return_false' ); }   But i couldn't find any solution to remove it from dashboard.   I don't want to use css solution to hide admin bar and I'm ready to edit the core files to remove it  Can anyone help me to remove it completely?. Thanks How to prove $\lim\limits_{n \to \infty} (1+\frac1n)^n = e$? What is a good criterion or rule-of-thumb for determining when a control should be greyed-out and when should it be completely invisible? When we push a box, the box applies an opposite force on my hand, but why does my hand move with the box as I push the box if the net force of my hand is 0? What is happening? I have the need to synchronize the data in certain Salesforce tables (user, account, opportunity, lead, task, contact, etc.) to a local database. For reasons that I won't go into here, I can't use the streaming API. I want to kick off a local process every X minutes that will:   Go through each of the tables on my list Insert any new records Update any existing records that were updated Delete any records locally that were deleted on the server (either deleted directly or indirectly (e.g. through a foreign key relationship, like when an account is deleted its associated tasks are deleted as well).   Can you please offer advice on what API's might be good to use here, and whether one stands out more than the others? Are there any specific design recommendations that might be useful for achieving this goal? Or is there really no practical difference between what REST vs SOAP can do?  It comes down to what is the easiest to maintain/implement? Is there some other route that might be beneficial to use (example: bulk data load to start out followed by outbound messaging tied to all of the objects in question to get updates/inserts/deletes)?   I am using C#/.net. evaluate $\int_{0}^{\infty}\cos(t) t^{z-1}dt=\Gamma(z)\cos(\frac{\pi z}{2})$ Could someone please tell me what the symbol ringed in red represents?     I know it has ON Switch pointing to it, but the symbol has other lables in different parts of the document. Why would Antimatter behave differently via Gravity? Totally ordering the power set of a well ordered set. Let's say I take a set $S$, where $S$ can be well ordered. From what I understand, one can use that well ordering to totally order $\mathscr{P}(S)$.  How does a body actually use the well ordering of $S$ to construct a total ordering of $\mathscr{P}(S)$?  Perhaps construct is too strong a word. Is there a way to prove that a total ordering of $\mathscr{P}(S)$ just exists, no need to explicitly state what it is, since that might be very difficult. 16.04 VirtualBox VM (from vhd file) hangs at "non blocking pool is initialized" I'm trying to boot Canonical's Azure 16.04 .vhd file in a VirtualBox VM and it hangs at "non blocking pool is initialized".  It works in Hyper-V, so it may only be a bug in virtual box (5.0.20). Every Christmas, Harry receives a mediocre gift from the Dursleys. In Harry Potter and the Chamber of Secrets he gets a toothpick.     At that moment, Hedwig swooped into the room, carrying a very small package in her beak.     “Hello,” said Harry happily as she landed on his bed. “Are you speaking to me again?”     She nibbled his ear in an affectionate sort of way, which was a far better present than the one that    she had brought him, which turned out to be from the Dursleys. They had sent Harry a toothpick    and a note telling him to find out whether he’d be able to stay at Hogwarts for the summer    vacation, too.    They hate owls, but obviously use them to contact Harry at school? In .NET, the  is used in a lot of places throughout the .NET base class libraries. Implementing it properly is especially important to find items quickly in a collection or when determining equality.  Is there a standard algorithm or best practice on how to implement GetHashCode for my custom classes so I don't degrade performance? Which set is unwell-orderable? In textbook it says that every well-orderable set is equipotent to an initial ordinal number. However, of course unwell-orderable cannot equipotent to any ordinal number, but is there any set is unwell-orderable? By axiom of regularity we know that every set is well-founded, so can we conclude that every set is well-orderable? If not, which set is unwell-orderable? My professor was lecturing today and he made this statement which I was unable to verify.  (I worded it nicer)  There is no map which is both smooth and onto from $S^1$ to $S^1$$\times$ $S^1$.  When he said this he included the original "one can clearly see" statement which is usually when the most people seem to be confused in his class.  Thus, I was hesitant to ask why.  So, please no one lecture me on the fact that I should have asked anyway.  If it is really that obvious, I would rather look stupid here than in class :) Do web designers need to know how to code? As a web developer, both front-end and back end architect, I work with many different designers and sometimes find it frustrating working with design comps where no thought was put into how to accomplish the design in basic CSS and HTML.  On the other hand as a developer I'm expected to be able to produce code from any design.  Do web designers need to know basic modern CSS and HTML techniques?  Why or why not is this important for a well rounded web designer?  Some general thoughts:   Front end web developers should be skilled enough to code up any design. Web designers should have an understanding of how users will actually interact with their design. Design shops would rather have designers design and leave all the coding up to the developers. Background: One of my co-authors faced problem of compiling the paper that I had built using TexStudio and MikteX 2.9 on his Mac Machine running TexLive.   ShareLaTeX Role: So, one solution is to use ShareLaTeX. But the first problem pops in mind is how safe is uploading unpublished article to a publicly accessible portal?  What I did: I googled security and data breach of ShareLaTex and found nothing except some words from the ShareLaTex community about their word to ensure that our data are safe; perhaps this would not be enough.  My 1st Question: To what extent can I trust ShareLaTeX and put my ready-to-publish content there?   My 2nd Question: Is there any alternate way of sharing LaTeX with others around the globe without changing the underlying platform? What is the expected value of the number of die rolls necessary to get a specific number? Given a discrete random number generator, such as a six-sided die, what is the expected value of the number of rolls necessary to roll a specific number (e.g. a six)?   I think the result should be given by E$\langle$rolls$\rangle$ = $\frac{1}{6}\sum_{n=0}^\infty{(\frac{5}{6})^n(n+1)}$, but I don't know how to calculate the convergence of that sum.  Also, how do I calculate the variance? To tell about a guess about a case in the past, why use "would+have+past participle" instead of "must+have+past participle? I have seen this sentence in an article on bbc, which is about how people lived thousands of years ago. &quot;When this Neolithic home was built, it would have had a cosy roof of turf..&quot; When I read it, I got confused. Because the fact seems as a simple past situation or guessing/assumption about something in the past. it simply gives information about a past event, eg &quot;when I was a child, I had a blue toy car. I have been making a lot of research on whether or not this structure &quot;would+have+past participle&quot; could be used instead of the simple past or &quot;must+have+past participle&quot;, but I could not find any satisfying explanation. Almost all grammer contents cover this structure is used when we imagine the opposite of what actually happened in the past eg. &quot;referring to a missed opportunity&quot; (eg. &quot;if you had come to the party, you would have seen Tom.&quot;), But, in this case of this sentence, &quot;type 3 conditional&quot; is irrelevant. It is not an if sentence,  It simply gives information about how this house was like or was probably like when it was built long ago. Just like it would be If and old lady would want to tell about &quot;how she was like when she was a child years ago. she would simply say &quot;when I was a child, I had long curly hair.**. So &quot;when I was a child, I would have had long curly hair.&quot; would be wrong. So, my question is: 1-Does this structure &quot;would+have+past participle&quot; completely replace simple past sentences? or can be it be used instead of simple past? 2- If this structure was simply used because the author was not %100 sure about the fact as it was a long long time ago -so he wanted to make a guess or assumption, why did he not simply use &quot;must+have+past participle&quot; or &quot;it was likely that blah blah&quot; which must be used for guessing or assumptions about past happenings. Would it not have made more sense if it was like: &quot;When this Neolithic home was built, it must have had a cosy roof of turf. How to diagnose a search engine ranking drop? There has been a significant drop (90%) in traffic from Google to one of my well-established sites (6+ years) in the last week. Searches show that the top 3 wide keywords all dropped 4 spots. Searches for other keywords do not show ANY results in the first 10 to 25 pages of results, while previously one 1st or 2nd page at most.  Since there are , the question really is:  What steps are necessary to figure out what caused such a drop?  There have been no major changes during this period or the last month on the site and certainly not in the homepage which has dropped in rank. Over all the years of running this site and plenty of others, I have never experienced this. There are is duplicate content on my site and I have rigorously used canonical links for the last few years to ensure it is not misinterpreted as such. Why don't we add a question with the same tag on multiple Stack Exchange sites?