Record Type Name in Test Class
What would be the best approach to get the recordtype id
Difference between Unity and GNOME I often come across the terms Unity and GNOME while reading about Ubuntu. I understand that Unity is the default desktop environment for Ubuntu. What is GNOME and how is it related to/different from Unity? UIActionSheet is not showing separator on the last item on iOS 7 GM If $A$ and $B$ are nonempty sets, prove that $A \times B = B \times A$ if and only if $A = B$.   Proving the first direction of this is easy. That is, if $A = B$ then it is obvious that $A^2 = A^2$. I am wondering how to prove the other direction now. Maybe proving it by contradiction will be easier than directly. Related:   This is a subtly different question because I'm not asking whether there's a historical relationship between the two lineages.  I am asking this question because answers to these questions:      are making assumptions about the appearance of Padme while pregnant, the period of gestation, and appearance of newborn babies.  All of these presuppose that the "humans" of the Star Wars Galaxy are 100% biologically equivalent to us.   In fact, as far as I know, we don't actually know any of those facts from canon.   (Do we?)   All we know is that "human" children and adults look like us.  So, do we have any canon or out-of-universe commentary that tells us that Star Wars humans and Earth humans are biologically equivalent?  Another way to put this would be  If presented with a Star Wars human and a Milky Way human, would the best doctors or the best medical droids be able to distinguish them? What is the acceptable similarity in a mathematics PhD dissertation when checking by Turnitin? I have checked the originality of my PhD thesis in mathematics using . The similarity was 31%. Is this percentage acceptable by most committees? Overriding !important style Title pretty much sums it up.  The external style sheet has the following code:  td.EvenRow a {   display: none !important; }   I have tried using:  element.style.display = "inline";   and  element.style.display = "inline !important";   but neither works. Is it possible to override an !important style using javascript.  This is for a greasemonkey extension, if that makes a difference. Consider a sequence of $n$ Bernoulli trials with $P(\text{success})=p$. Let $X_i$ and $X_j$ be indicator variables of the number of "success" in $i$th and $j$th runs. Given the total number of success was $m$, $m&lt;n$. I am asked to compute the correlation coefficient for $X_i$ and $X_j$.  Now I know the formula for correlation coefficient, but to compute the co-variance I will need to find $E(X_i)$ and $E(X_j)$ first. By definition does $E(X_i)=p_i$ and $E(X_j)=p_j$? I feel this seems a bit too easy but I can't see whats wrong with it. How can I reset my menus? proof that every finite matrix has an annihilating polynomial Since the final Black Hole (BH) had 3 solar masses less of mass than the original binary BH, it seems the 2 BHs lost mass, and with it event surface area, entropy, and information. If that came from inside the BHs it seems that it would be a contradiction of what a BH is --'nothing escapes its event horizon'. Some may say that came from the rotational energy of the pair, but the new BH now seems to have less than the two original ones summed. So, did some of that escape the horizons? Call C++ library in C# I have a lot of libraries written in C++. I want to call these libraries from C#, however, I have met many problems. I want to know if there is a book or guideline to tell me how to do that. Why does demand for stock rise when a company appears to have high future value? So a company decides to raise money by selling shares of its stock. The stock is offered at an initial price of their determination. The stock is then traded in a market where forces of supply and demand, as well as speculation, affect its price.  When a company performs well (or makes decisions that will likely increase the company's earnings in the future), more people want to buy that stock than do people wanting to sell it. This creates demand for that stock which causes its sell/bid prices rise. When a company performs poorly, the opposite occurs; more people want to sell the stock than want to buy. This creates a surplus that causes sell/bid prices to fall.  Understanding this, people speculate over company performance to determine the future behavior of a stock, and attempt to "buy low, sell high" or "borrow high, return low" in order to make a profit.  But my question is regarding the first part of that process. What is it about company performance that causes the perceived value of its stock to rise? This is especially perplexing since I would guess that most people don't exercise their voting rights, and many stocks don't pay dividends.  It's not like a shareholder has any direct financial gains from increased company earnings (speculative stock pricing notwithstanding).  What is the intrinsic value of the stock?  It seems to me that all participants in a stock market tacitly agree that stock price will have a direct correlation with company performance. So another way of asking the question is, would an opposite agreement hold? What financially (this isn't a question about logistics, communication, or feasibility) stops all participants in a market from agreeing to value a particular company's stock inversely with respect to the company's performance?  Since I feel like I can't quite nail down my question, another form of it would be, why is stock market behavior driven by company performance? I have an unused copy of Mass Effect 2 Collector's Edition bought via Amazon.com in the US, including a special code for Inferno Armour (also unused).  Will it work fine if I install and start playing the game in the UK? Does geographical location matter?  Thanks! What's the difference between "speak" and "talk", grammatically speaking? There are a number of questions e.g.  and  that deal with the slightly different connotations of the words "speak" and "talk". However, there also seem to be some grammatical differences between the two words. This question is about whether there's a way to formally pin down these differences, or whether they're just contingent features of the two words having different histories.  Some examples of grammatical differences are as follows:   be talkative ... be speakative speak French ... talk French give a talk ... give a speech (as opposed to a speak) speak up ... talk up (the meanings of the two phrases being completely different, with "up" being a preposition only in the latter case) speaking of which ... talking of which grammatically speaking ... grammatically talking   On the other hand, many other constructions work just as well with either (though they might have subtly different meanings), for example   speak to ... talk to speak with ... talk with speak about ... talk about   I'm interested in whether there's a way to pin down these differences (e.g. are the two words classified as different types of verb in some way?), or whether they're essentially just arbitrary. I'm also interested in why we have these two different words with subtly different meanings. Is the distinction between “speak” and “talk” a feature of many languages, or is it just a peculiarity of English?  Etymologically, both words are from Germanic origins. “Talk” seems to have been formed from the Middle English tale, even though “speak” already existed in the English language by then (as far as I can tell). This makes it even more mysterious: Why did we form a new word as a synonym of one that was already established? Or were the meanings different at that time? What are good out of the box alternative geocoding solutions to Esri's services? Esri's  will retire at the end of the year, what are good GIS services that can replace the North American and US Streets geocoders?  I have totally excluded Esri's replacement, the  as it is a subscription service. Lightning QuickAction (API) without modal I am attempting to replace JS buttons with quick actions. These button simply call a web service method and alert the result and need no user interaction.  With quick action a modal always seems to appear and this is not desirable.   I am calling the Webservice method in the doInit function and  firing a toast event with the results and have no need for the modal popup.  Seems an oversight maybe? But is there a way to accomplish this without the modal to closely mimic the JS button functionality?  Ideally we could show the spinner without the modal   Right now I am simply calling   $A.get("e.force:closeQuickAction").fire();   at the end of the doInit but it is not the most ideal in way of a UI to do this IMHO as it flashes the modal on the screen briefly. You start flipping cards over one at a time and holding them in one hand. When you have two cards of the same suit that are separated by two other cards (e.g. 4♣ 2♦ 7♥ 10♣), you discard the middle two. When two cards of the same value are separated by two other cards (e.g. 4♣ 2♦ 7♥ 4♥), you discard all four.  This game is neither Accordion nor Royal Marriage, but bears similarities to both. Somebody else  on Yahoo Answers five years ago and the response was unsatisfactory.  If someone can identify this game, I would also like to know what happens when you finish with two cards left: do you win, as in Royal Marriage, or not? Bernoulli maximum likelihood Suppose $X_1, X_2, \dots, X_n$ are iid Bernoulli(p) random variables. How do you find the restricted maximum likelihood for p where $0&lt;p&lt;0.5$?  My work so far:  Write out the likelihood: $L=p^{\sum x} (1-p)^{n-\sum x}$  Take the log: $\ln(L) = \sum x\ln(p)+(n-\sum x)\ln(1-p)$  Take the derivative and set equal to zero: $\frac{\sum x-np}{p(1-p)}=0$.  Now I'm stuck. I don't know how to incorporate the restrictions for $p$. On the canonical isomorphism between $V$ and $V^{**}$ Hello everyone interested. Here's a seemingly simple problem.  Suppose $G$ is a complete, simple graph with vertices $\{1,2,..,n\}$, $n\geq k\geq 3$.  How many cycles of length $k$ can we have on $G$?  The statement seems simple but I have trouble putting everything together.  So I say fix a vertex and start forming cycles with length k. But I get nowhere... What is the proper approach to this problem since counting is not easy? Is there a relevant theorem that I am unaware of?  Thanks for any help...