I have a image difference from ArcGIS, which i have performed a remap function on. The layer is a temporary layer and does not have an attribute table, i need all the pixel values to do a frequency distribution on but cannot find a way to do it. Pixel inspector doesn't give me a large enough area to cover the entire layer.   It seems like a really simple thing to do but I can't figure it out. Basically just get all the data from the raster, there is only 2 values, 1 and 2. I just need to know how many times each one appears
While using the Pixel Inspector, whenever I click "copy all values" it only copies values that you can see on the screen. Anyone know a solution? I need all the values to count the number of times 1, 2, and 0 appear on the graph.
Primes dividing $11, 111, 1111, ...$ How was the baby born in the start? Lightning Community Does Not Support pubsub for Lightning Web Components? Has anyone successfully used the pubsub module from lwc-recipes to enable inter-component communication in a Lightning Community?  The registerListener function in the pubsub module throws an error because the pageRef property is undefined.  Or is pubsub designed for Lightning Experience only? I know that there is a simple way to shutdown the computer in command prompt, but is it possible to do system updates and then shutdown the computer in command prompt?   For example, when Vista needs to install updates, it will let me install them and shut down by clicking the Shut Down button (while relegating the normal shut down button into the menu). So is there a command to do this in command prompt? When two accounts are merged, all the posts/votes are moved over to the "master" account, and the other account ("slave"?) is deleted. The merge is propagated network-wide, so a similar thing happens on each site.  But, this does not happen to the chat user. The "slave" chat user is kept, with a 404 parent profile link. I feel that the chat user should be merged as well, re attributing all the chat messages.  Thoughts? Render result is completely blank A scene I made is not rendering, at all. This grey screen stays the same and nothing changes.  Here are my settings:  [ Neural networks output probability estimates? Suppose my training data contains ~100 variables, and each example is tagged as "success" or "failure".  I understand how a neural network can be used to try and predict success vs failure based on the variables.  However I am interested in the neural network outputting the posterior probability rather than success or failure. In fact, I evaluate the efficacy of the NN based on how accurate the probabilities are (eg. AUROC over the entire dataset) rather than % of cases with correct prediction.  Are NN's the right tool for the job here and if so how do you structure the NN to output this?  (NOTE: I'm a ML newbie!) Git SSH error: "Connect to host: Bad file number" Add a time limit before you can vote on a post There is this famous example about the order difference between gravitational force and EM force. All the gravitational force of Earth is just countered by the electromagnetic force between the electrons on the surface of my feet and the ground.  But also wave-function of electrons(fermions) do not overlap each other due to Pauli exclusion principle.  So which one is the true reason of me not flopping inside the earth forever? Is it only one of them(my guess is Pauli exclusion) or is it both? User’s Guide vs Users’ Guide I’ve been looking over what has been posted regarding the use of ’s.   I used to be a Technical Writer (years ago). The title of one of our training documents was Users’ Guide.  Once, a coworker said every time he saw that title he expected users to start coming.    Never made any sense to me, but I have to admit that the majority of us didn't understand the use of s’ in place of ’s.  What is the difference? 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 can I deploy a connected app from my sandbox environment to my production environment? I built a changeset and I was able to include all my classes, but it was a surprise that salesforce has not provided any option to deploy a connected app.  So how do I go about deploying a connected app? Do I need to create it in every other environment? Ubuntu on a USB stick - boot in both BIOS and UEFI modes Are both try to save the file and try saving the file grammatically correct? If so, is there any difference in meaning? Use the definition of derivative to prove $\lim_{x\to 0}\ln(x+1)/x =1$ How would I use the definition of derivative to prove  $$\lim_{x\to 0} \frac{\ln(1+x)}{x} = 1$$  I got to $$\frac{\frac{\ln(1+x+h)}{(x+h)} - \frac{\ln(1+x)}{x}}{h}$$ but have no idea where to go from here.   On another site I found someones answer where they stated the following: $$ \lim_{x\to 0} \frac{\ln(1+x) - \ln(1+0)}{x-0}  = [\ln(1+x)]'\rvert_x = 0 $$ but I am unsure why the $x$ in the $x-0$ is removed. Can someone please explain? $\max(\{n: n+5 | n^5 + 5\})$ What is the maximum value of $n$ if $n + 5$ divides $n^5 + 5$, $n$ being a natural number? I tried to solve by binomial theorem but it failed. I was wondering about generic installations of all applications in linux. And what that means? Well, when I was using windows I knew that if I want to install an application I am double-clicking the .exe file and then next,next,next.  In linux, I have understood that maybe there is a common (not generic) way to install any application. Installing from source maybe? Well is there any step by step method that can be used to install  application like in windows or not?  I am asking because I do not want to keep asking the google, how to? So, I have managed to install recently from source freecad from  and I think that it would be a very nice start as common method, right?  But the thing then is where to find the right source and when an application has a very unique method of installation! Is the CMB rest frame special? Where does it come from? It seems that we are . This is the speed of our galaxy relative to the cosmic microwave background. Where does this rest frame come from? Is this special in any way (i.e., an absolute frame)? EDIT: I think the more important question is &quot;where does the CMB rest frame come from?&quot;. After hitting 80% LTV, my mortgage lender refuses to remove PMI. Any recourse? I recently refinanced my home. At the time based on the appraisal vs. amortization I found I would be stuck with PMI (private mortgage insurance) for about 9 months.  I've paid extra on the mortgage each month and after 7 months I got my LTV (loan-to-value ratio) to be 79%. Yay! So I called Pacific Union and asked for PMI to be removed.  The woman said I'd need to fax in a written request. Then she added that my written request would likely be denied because my account had not been in good standing the last 12 months. I pointed out that I'd only had the loan for 7 months and had never been late, but that didn't seem to matter to her.  So I faxed in my written request. Then I read through all my documentation on my loan. Nowhere did it say that I needed to have the loan for 12 months.  After a week I called them back and they said it would be another week for a decision.  So, I waited another week and called. They now just had a recording saying they were too busy to take a call and I could leave a callback number. I did this and never heard back. I've now tried twice more to call them. Each time I leave a number and each time I don't hear back. So I've fired off a written request again.  At this point we've gone around the horn to the next month and in two short days I'll be paying PMI on March's payment.  Do they have any grounds to not remove PMI? Isn't it federally mandated that PMI must be removed at 80%? Any recourse anyone can think of?  [EDIT] - I heard back from Pacific Union. They state that I did not sign anything agreeing to these terms which is what I was certain of. They state these terms are simply automatic with Fannie Mai backed loans and it doesn't matter if I was informed or not about these terms. They also chose not to hide behind the "no late payments" clause and instead said they were requiring an appraisal to remove PMI. Of course an appraisal is $400 and I'll hit 78% LTV before I would pay that much extra in PMI. I have now contacted a lawyer. I'll update again with whatever opinion the lawyer has and whether I proceed or not.  [EDIT] - I filed a BBB complaint. They waited 30+ days to respond. In their response they indicate that the first woman (and some SE users below) are wrong. The loan does NOT have to be in good standing for 12 months. The loan simply needs no late payments within 12 months. They then hide behind the request for another appraisal as the sole reason to not remove it. I checked with Fannie Mae who backs the loan and was told this is optional per the lender, however the lender can force it and I have no recourse. Additionally, they could have asked for a Broker's Price Option (BPO) or a certificate of value which would cost me hundreds less.   At this point I cannot continue to fight them because the amount of PMI I'll pay until 78% LTV is equal to or less than the appraisal cost of $400.  [EDIT] As of August 2015 I've hit 78% LTV. I called Pacific Union to ensure that the automatic cancellation of PMI had happened. They said no, I'd need to request that in writing. This is a violation of federal law as it's supposed to be automatic. They also said they would still deny it because now they want 24 months of good history. I've sent a threatening letter off and am waiting for a reply. If any lawyers come along and read this I'd sure like to hire you.  [EDIT] After my letter they said they would remove PMI. They did not and I was charged again in September. I called them yet again and complained. They said PMI was going to be removed. They then charged my again in October! I called again. I called again and went berserk on the phone. PMI was finally removed for November 2015. First month without it.