In Trailhead we have the query to get the Contacts for the Account named "SFDC Computing", with an inner query.   SELECT Name, (SELECT LastName FROM Contacts) FROM Account WHERE Name = 'SFDC Computing'   It works fine for my purposes.  "Contacts" is the name of the relationship, per Trailhead. So, I went to Object Manager and examined the Account object's "Fields and Relationships". There is nothing named "Contacts"!   In general, how do I get the name of the relationship, for use in similar SOQL queries?
I have a many-to many relationship between three objects. LGFProducts, PartsinProducts, and Parts. PartsinProducts is the junction object. I want to be able to get data like the names of the parts that are related to the selected LGFProduct.   I understand that parent-child relationship can only traverse one level down while grandchild-grandpa can travel 5 levels at most. What is the parent-child or child-parent in a many-to-many relationship?  I assumed that I should be traversing upwards from Parts to the junction object partsinproduct and then LGFProducts? But my friend who is not a Salesforce expert but has knowledge in CS said that I should do a parent-child query (of LGFProducts to partsinproduct) to child-parent relationship query (PartsinProduct to Parts). Or perhaps both of these options are wrong and another is appropriate.   Also, I am having a little trouble traversing for custom objects. I understand that I need to append the letter r instead of c but get confused. For example, this is my attempt at a three level upward traversal that fails.   SELECT Id, Name, Parts__r.PartsinProducts__r,LGFProducts__r.Name FROM Parts__c   Also if three levels of upward traversal are needed, could one provide an example with custom relationships? As seen above, I am having difficulty successfully querying a three level upward traversal statement for custom objects.  This is my attempt at the parent-child relationship query of LGFProduct to PartsinProducts:  SELECT Name,   (     SELECT Name     FROM PartsinProduct__r   ) FROM LGFProduct__c    I am then given this error:
Parse JSON in JavaScript? $\frac{1}{99989999} = 1.00010002000300050008001300210034005500890144... \times 10^{-8}$    (), which includes the Fibonacci sequence $(1\ 1\ 2\ 3\ 5\ 8\ 13\ 21\ 55\ 89\ 144\ldots )$.  This is fascinating to me but I can't figure out how this works, and a Google search doesn't seem to reveal anything. How to store and preserve film negatives and slides? I bought 35mm dedicated film scanner (Nikon CoolScan III) and I'm planning to digitize old negatives and slides I found at home.  How should I store and preserve these slides and films after I cut them and scan? How to choose best negative pages/sleeves, binders etc. and what to avoid? Alternate property name while deserializing When is a clause not essential? I am having trouble figuring out when to use commas to set off &quot;nonessential&quot; information.  Sometimes it's obvious:  Bob, who is thirty years old, is an alcoholic.  But other times I'm not sure:  The day he quits drinking * he will start a llama farm He has his heart set on owning El Duderino ranch * in New Mexico.  In the first case, my ear says that there should be a comma at *, even though information before it seems essential to me.  In the second case, the stuff after * is not essential, and yet it seems a little much to use a comma. Even that last sentence I wrote confuses me.  &quot;In the second case&quot; seems essential but I used a comma.  Is this correct? Does it depend on personal style and the length of the clause?  Or perhaps I'm misinterpreting the meaning of &quot;essential&quot; in this context? Why isn't .profile sourced when opening a terminal? Just installed Ubuntu 14.04.1 LTS.  According to .profile,  # ~/.profile: executed by the command interpreter for login shells.  # This file is not read by bash, if ~/.bash_profile or ~/.bash_login exists.   There is no ~/.bash_profile or ~/.bash_login.  It does not seem to source .profile when opening a terminal.   Why doesn't it source .profile when opening a terminal? Why is .profile there if it is not sourced? How do I know/control what is sourced when a new terminal is opened? When a new terminal is opened, does it do a "login"? Where is a good place to add $HOME/bin to my path? .bashrc? Will that cause a problem because .profile has the same code? Using Leibniz Integral Rule on infinite region I am trying to take the derivative with respect to $a$ of some function $I(a)=\int_{0}^{\infty}f(a,x)dx$.  I would like to make sure that I am using the  correctly.  Various web sources indicate a set of conditions that must hold for $f(x,a)$ and $\frac{\partial f(x,a)}{\partial a}$ when integration is done over infinite region.  From reading  (see Theorem 10.3 on page 13) the conditions that $f(x,a)$ and $\frac{\partial f(x,a)}{\partial a}$ must obey are:   $f(x,a)$ and $\frac{\partial f(x,a)}{\partial a}$ are continuous over $x\in[0,\infty)$ and around $a$ that we are interested in. There exists an integrable function (over $x$) $g(x)$ such that $|\frac{\partial f(x,a)}{\partial a}|\leq g(x)$. There exists an integrable function (over $x$) $h(x)$ such that $|f(x,a)|\leq h(x)$.   Integrable here means $\int_{-\infty}^{\infty}g(x)dx&lt;\infty$.  However,  seems to omit condition 3 above.  I am wondering which source is correct.  If there are "both correct", when is condition 3 necessary? How can I ensure my trip to the UK will not have to be cancelled because of Brexit? I've got a trip planned to the UK in June. Due to brexit, I'm worried what changes may be introduced before my arrival.  I'm traveling on a EU / Polish passport. I'm going for a couple weeks of holiday.  Is there anything I can do right now to make it less likely any changes won't stop me at the immigration? For example, applying for some tourist visa which does not rely on the EU status? Most people know the famous equation:    What were his steps of thinking for this equation that helped us discover so much about our world? Schengen visa refused from German embassy Let $S$ be a finite collection of real numbers (not necessarily distinct). If any element of $S$ is removed then the remaining real numbers can be divided into two collections with same size and same sum ; then is it true that all elements of $S$ are equal ?  (I know the result is true if the &quot;reals&quot; are replaced by &quot;integers&quot;.) Prove: $\gcd(a,b) = \gcd(a, b + at)$. I know that $\gcd(a,b)$ divides $a$ and $b$, and must also then divide $(a)(t)$ ($t$ being some integer).  This makes sense to me, but how do I prove it?  It seems that the addition of $(a)(t)$ is a continuation of the linear combination of $\gcd(a,b) = av + bu$ for some $v$, $u$ being elements of $\mathbb{Z}$.    Any help? Advanced statistics books recommendation There are several threads on this site for book recommendations on  and  but I am looking for a text on advanced statistics including, in order of priority: maximum likelihood, generalized linear models, principal component analysis, non-linear models. I've tried  by A.C. Davison but frankly I had to put it down after 2 chapters. The text is encyclopedic in its coverage and mathematical treats but, as a practitioner, I like to approach subjects by understanding the intuition first, and then delve into the mathematical background.   These are some texts that I consider outstanding for their pedagogical value. I would like to find an equivalent for the more advanced subjects I mentioned.   , D. Freedman, R. Pisani, R. Purves. , R. Hyndman et al. , T. Z. Keith , Rand R. Wilcox , Gareth James, Daniela Witten, Trevor Hastie and Robert Tibshirani , Hastie, Tibshirani and Friedman (2009) How should I budget for ally/third party NPCs in 4e combats? I've done a few combats recently where the PCs and their enemies were not the only participants in the fight.  I wasn't sure how to budget XP in this case.  In the case of an NPC ally to the PCs, I see two options.     Draw the NPC up as a PC and increase the number of members in the party.    Draw the NPC up as an NPC and take its XP into account when budgeting.   I'm not sure if either option is correct, or if there are others.  But the ambiguity doesn't end there - what about if there's more than one side in the fight and nobody wants to team up?  I'd rather not treat it as one combat budget divided over two factions.  Unless the factions immediately unite, it's going to be an absurdly easy combat.  Would I be better off budgeting for two encounters than happen at the same time, and hoping that no PC gets ganged up on too much?  In general, how is XP budgeting done in complex combats with NPC allies and/or more than two factions? Question: For every polynomial $P(x)$ of degree at n we have $$\sum_{i=0}^{n+1}(-1)^i\binom{n+1}{i}P(i)=0$$  Well I was inducting on degree of the polynomial, for $n=0$ its true and I got a bit confused in the inductive step, actually I cant figure the inductive step.   Is this property (if true) a famous one?  Thank you for your help. How to match all occurrences of a regex Is there a quick way to find every match of a regular expression in Ruby? I've looked through the Regex object in the Ruby STL and searched on Google to no avail. I read this book a few years back (around 5?). It was part of a multibook series but I have only read one book.  It's about this teenager who I think had been programmed to be an assassin but then somehow retained his conscience and was out to get the people responsible for that.  I briefly remember a girl, and this one part where he realizes he can ride a horse and then there's a chase too. I think the guy's name was Jim or Jimmy, but not quite. I'm also quite sure he was either part computer, or had a chip or something in his brain which had been programmed to give him a host of mental and physical abilities which he retained and used as well as the series progressed. Given a string of JSON data, how can I safely turn that string into a JavaScript object?  Obviously I can do this unsafely with something like:  var obj = eval("(" + json + ')');   but that leaves me vulnerable to the JSON string containing other code, which it seems very dangerous to simply eval. Using an NSString in a switch statement Continuous function on R which tends to infinity on open interval must have a minimum Suppose we have $f : \mathbb{R} \to \mathbb{R}$ continuous and $$\lim\limits_{x \to \pm \infty} f(x) = \infty.$$  Then must $f$ have a minimum on $\mathbb{R}$?  Intuitively it seems so, and it's easy to prove for some arbitrary closed interval in $\mathbb{R}$ with the Extreme Value Theorem, but how can we apply that to an open interval like $(-\infty, \infty)$?