Where has my 24922 rep gone?
Meta sites in "Your Communities" display different reputation
So basically , we all know the direction outside the magnet its from NORTH to SOUTH. but what i don't understand is that what is the direction inside is it the same ?? Redirect parent window from an iframe action What JavaScript do I need to use to redirect a parent window from an iframe?  I want them to click a hyperlink which, using JavaScript or any other method, would redirect the parent window to a new URL. Can anyone make me understand in simple language why the second condition for being an Euclidean domain is superfluous ?  Why $v(a)  \leq v(ab)$ is not needed?  How we can deduce from the first one? Lets say I have something like:   \[ Let x = number of cats \]   (This is a contrived example, but pretend we are actually inside a long align environment block...) "Let" and "number of cats" need to be written like normal text, while x= needs to be math type text.  I've seen this:  \[ \mbox{Let } x = \mbox{ number of cats} \]   and this:  \[ \textrm{Let } x = \textrm{ number of cats} \]   They seem to produce equivalent output, but I'm not sure which is the "correct" one. Also, they are not ideal in that the extra space needs to be placed inside the text mode block, otherwise it is ignored as math mode and butts the text right up against the math.  Ideally there would be some command which allowed embedding text into an equation, which correctly inserted leading and trailing space around the block as required without adding space inside the text block.  How does one do that "correctly"? Pass Blob through ajax to generate a file test class with Batch and Callout I have a problem with FeedItems in my Test class, it's very weird behaviour Does someone explain to me why this happens?  Callout Class  public with sharing class Callout {  public static void runProccess(Case[] records) {     Database.executeBatch(new CalloutBatch(records), 10); }  public static void send(Case[] records) {     Case[] toUpdate = new Case[]{};       for (case record : records) {         HttpRequest req = new HttpRequest();         req.setEndpoint('callout:test/SOME_URL');         req.setMethod('POST');         req.setHeader('Content-Type', 'application/json');         req.setBody('');         Http http = new Http();         HTTPResponse res = http.send(req);          Map&lt;String, Object&gt; response = (Map&lt;String, Object&gt;) JSON.deserializeUntyped(res.getBody());          toUpdate.add(new Case(Id = (Id) response.get('Id'), Status = (String) response.get('Status')));     }      update toUpdate;  } }   CalloutBatch Class  global with sharing class CalloutBatch implements Database.Batchable&lt;Case&gt;, Database.AllowsCallouts{  private final Case[] records;  global CalloutBatch (Case[] records) {     this.records = records; }  global Iterable&lt;Case&gt; start(Database.BatchableContext BC) {     return records; }  global void execute(Database.BatchableContext BC, Case[] scope) {     Callout.send(scope); }  global void finish(Database.BatchableContext BC) { } }   Test Class  @IsTest  private class CalloutTest { @IsTest static void shouldReaciveData() {     String status = 'Closed';     Case caseRecord = new Case(Type = 'Web', Status = 'New');     insert caseRecord;      //insert new FeedItem(ParentId = caseRecord.Id, Visibility='AllUsers', Type = 'TextPost', Body = '');      System.assertEquals(0, [SELECT Count() FROM Case WHERE Id = :caseRecord.Id AND Status = :status]);      Test.startTest();     Test.setMock(HttpCalloutMock.class, new CalloutTestMock(caseRecord.Id, status));     Callout.runProccess(new Case[]{caseRecord});     Test.stopTest();      System.assertEquals(1, [SELECT Count() FROM Case WHERE Id = :caseRecord.Id AND Status = :status]); } }   Mock Class  public with sharing class CalloutTestMock implements HttpCalloutMock {  private Id recordId; private String status;  public CalloutTestMock(Id recordId, String status) {     this.recordId = recordId;     this.status = status; }  public HTTPResponse respond(HTTPRequest req) {     HttpResponse response = new HttpResponse();      response.setStatusCode(200);     response.setBody('{"Id": "' + recordId + '", "Status": "' + status + '"}');      return response; } }   This code works, but when I uncomment insert FeedItem in Test Class I receive an error message:     System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out   Class.Callout.send: line 23, column 1   Class.CalloutBatch.execute: line 20, column 1   FeedItem doesn't have an impact on this functionality, (I don't have any Process Builders, triggers etc. on FeedItem object) Relativity and Galaxy Rotation Speed If time travels slower nearer gravity wells, why can't the galaxy rotation speeds being faster on the outer edges than the inner areas be explained by relativity? What necessitates dark matter? Can anyone explain how we choose one sock from each of finitely many pairs without the axiom of choice?  I mean : To choose one sock from each of infinitely many pairs of socks requires the Axiom of Choice, but for shoes the Axiom is not needed.  The idea is that the two socks in a pair are identical in appearance, and so we must make an arbitrary choice if we wish to choose one of them. For shoes, we can use an explicit algorithm -- e.g., "always choose the left shoe." Why does Russell's statement mention infinitely many pairs? Well, if we only have finitely many pairs of socks, then AC is not needed -- we can choose one member of each pair using the definition of "nonempty," and we can repeat an operation finitely many times using the rules of formal logic (not discussed here). Reduce spacing between subequations How can I make a gameObject "stick" to another gameObject after it has collided with it? How can I make a gameObject "stick" to another gameObject after it has collided with it? Right now the gameObject just passes through! [C#] Grub not loading after Windows 8 Install Is there software on Macintosh for adding GPS data to RAW files? Why did JJ Abrams recreate the Star Trek Timeline? In the 2009 version of Star Trek, Nero and the Romulans come back through time via Blackhole and kill Kirk's dad and the original Star Trek timeline is altered  creating a whole new reality.  Why would Abrams not just stick to the timeline given by Roddenberry instead of altering it? Setup SunFire 440 Raid Configuration What is the longest word you can come up with that the letters are all in alphabetical order? It's Friday again, how about some fun to get us into the weekend?  What is the longest word you can come up with for which all the letters in that word are in alphabetical order?   Rules:   English words only    Can't be a name of a place, person or other proper noun.   if it contains the same letter twice in a row, that does not disqualify it.   No fair looking it up on Google!   Update: One more rule to help you guys out.   The word can be in either ascending or descending alphabetical order. What will happen to my reputation when the Community Wiki status of a post is reversed? How do I stop sharing call history between two iPhones? My husband and I both just upgraded to iOS 8.3.  Now I notice that if I have a missed call it shows up on his notice screen and all my calls show up in his recent call history (and vice versa).  Both phones don't ring and they don't need to be near each other or connected by Wi-Fi.  We do share an iTunes account.  How do I stop sharing call history between the two phones? How to modify the system default background image I am about to ship a new 10.04 installed system to a customer. This is the 1st system that we are shipping with our preinstalled software and an additional hardware test platform, so I thought it would be a nice idea to have the desktop wallpaper include our company's logo.  What I want to do is just to add the logo to the default background image. the questions are:   Where are the set of backgrounds stored? What are the rules for creating a custom background from scratch? If I create a background from scratch, how do I add it to the system's background set (i.e., not just save it in the user's Pictures directory - I want it to be available to all future users of the machine)? Does the output bypass capacitor of an LM7805 double as a decoupling capacitor? I'm using a 5v linear regulator (specifically an LM7805) that outputs directly to an ATMEGA328P. According to the  (page 23) input and output bypass capacitors should be used, as seen below, to tame peaks and ensure stability.    It is good practice to also include a decoupling capacitor in front of an IC, in this case an ATMEGA328. Does the 0.1μF capacitor on the output side of the LM7805 act as a decoupling capacitor if the regulator feeds into the IC directly after the output bypass capacitor? Painter's Servant vs Emrakul What happens in the following situation?  My opponents got the  and  lock going on but I have a  in my deck that keeps me shuffling my graveyard back into my deck when it gets milled.  DO I just keep on shuffling untill the 45 minutes is up and the games end in a draw? How is this situation resolved?