Plot CPU time vs iteration?
Graphing the amount of time a function takes
How we can compare two coefficients of one linear regression? Find this integral $$\operatorname I=\int\limits_{0}^{1}\dfrac{\arcsin{\sqrt{x}}}{x^4-2x^3+2x^2-x+1}\operatorname d\!x$$  My try: let $$f(x)=x^4-2x^3+2x^2-x+1$$ I found  $$f(1-x)=(1-x)^4-2(1-x)^3+2(1-x)^2-x+1=x^4-2x^3+2x^2-x+1=f(x)$$ so $$I=\int_{0}^{1}\dfrac{\arcsin{\sqrt{(1-x)}}}{x^4-2x^3+2x^2-x+1}dx$$ so $$2I=\int_{0}^{1}\dfrac{\arcsin{\sqrt{x}}+\arcsin{\sqrt{(1-x)}}}{x^4-2x^3+2x^2-x+1}dx$$ then I can't,Thank you very much Is there a word for two persons dodging each other on the street? I need to create an edit component for an SObject from which I do not know the objectApiName at design time. I only know the Id of the SObject. objectApiName could be any valid SObject-name.  Now I want to use lightning:inputField   This needs to be wrapped by lightning:recordEditForm  In case I hardcode it to "Order", provide a vaild Order Id and let the controller load the order and assign it to the Parent-attribute, this works flawlessly:  &lt;aura:attribute name="recordId" type="String" default="" /&gt; &lt;aura:attribute name="Parent" type="SObject" default="{}" /&gt; &lt;aura:attribute name="ParentType" type="String" default="" /&gt; &lt;b&gt;{!v.ParentType}({!v.recordId})&lt;/b&gt; &lt;br/&gt; &lt;lightning:recordEditForm recordId="{!v.recordId}"  objectApiName="Order"&gt;     &lt;lightning:messages /&gt;     &lt;lightning:inputField fieldName="Name" /&gt;     &lt;lightning:button class="slds-m-top_small" variant="brand" type="submit" name="update" label="Update" /&gt; &lt;/lightning:recordEditForm&gt;   It looks like below and even the Update-button works as expected and saves the record:    But what I really want is  &lt;lightning:recordEditForm recordId="{!v.recordId}"  objectApiName="{!v.ParentType}"&gt;   Note the {!v.ParentType} instead of the hardcoded "Order"  As an great unfortunate, this only collapses to that error-popup    In the screenshot you see, that the ParentType is correctly bound to v.ParentType (right above the button) which a I also verify in the console  Suspicion  I set the ParentType-attribute as a result of APEX call (asynchronously). This seems to be too late for the lightning:recordEditForm. It tries to render with objectApiName at a time where it is still blank, hence it crashes during initialization...  Question  Is there a clean way to avoid this and get something to fly with an dynamic objectApiName?  Trying to use $A.createComponents()  As @sfdcfox suggested I jump on the $A.createComponents() which turned indeed out to be tricky, exactly as sfdcfox has predicted. Im following this .  Added a button to the markup    Added a handler to the js-controller:  makeEdit : function(cmp, evt, hlp) {      console.log('ParentId :: ', cmp.get("v.ParentId") );      console.log('ParentType :: ', cmp.get("v.ParentType") );      $A.createComponents([             ["lightning:recordEditForm",{                 "recordId"          : cmp.get("v.ParentId"),                 "objectApiName"     : cmp.get("v.ParentType"),             }],             ["lightning:inputField",{                 "fieldName" : "Name"             }]         ]         ,function(components, status, errorMessage){             if (status === "SUCCESS") {                 var wrapper         = components[0];                 var inner           = components[1];                 wrapper.set("v.body", inner);             }             else if (status === "INCOMPLETE") {                 console.log("No response from server or client is offline.")                 // Show offline error             }             else if (status === "ERROR") {                 console.log("Error: " + errorMessage);                 // Show error message             }         }     ); },   Now I can press the button - but nothing - I repeat: n o t h i n g - gets rendered at all. What is my fault here? Note that the console.log get output and the attribute are holding good values. Proving that if $G$ has a Hamiltonian circuit, then the line graph $L(G)$ also has a Hamiltonian Circuit I have a graph G = (V, E). I know that the line graph L(G) of G is defined as follows: each vertex in L(G) corresponds to an edge in G, and two vertices are connected by an edge in L(G) if and only if the corresponding edges in G are adjacent.  Now I am trying to (a) prove that if G has a Hamiltonian circuit, then L(G) also has a Hamiltonian circuit, and (b) give an example of a graph G such that G does not have a Hamiltonian circuit but L(G) does.  However, I'm extremely stuck on how to do this, and any help would be greatly appreciated. Thanks so much! I just received a decision letter from a journal editor (after three rounds of major revision). The letter shows that the reviewers "have asked for some other minor revisions". After getting the minor revision letter, I immediately completed the revision in accordance with the feedback from the reviewers (the suggested changes just involve adding a few sentences) and immediately resubmitted the revision to ScholarOne. A week has passed since I submitted the revision, but the status in ScholarOne remains unchanged. Is this normal? Can I assume that this basically means "acceptance with minor revision"? Thanks for your insight and sharing. What does Geordi see on the holodeck? We've seen how he interprets people and things with his VISOR, but if the holodeck is all force-fields and holographic imaging, how does he interact in a similar way to other members?   What does the holodeck look like to Geordi LaForge using his VISOR? How to make a film in black and white and add color to some objects? How is a movie made to show selective colors. For instance, in  a sister and brother are transported to the universe of an old black and white TV show, and the movie switches to being B&amp;W. Then, as the protagonists cause the inhabitants to have 'real' emotions, like fright, anger, or love, things (people, places, etc.) start having color. In the middle of the movie, many objects are still B&amp;W, yet many more are now colorized.   also used this effect (the whole film was initially shot in full color, and was converted to black-and-white. Colorization is used on certain subjects in a scene), for example.  How is this effect achieved? Is it post-production editing? What techniques might a director employ to do this? It is well known that confidence intervals and testing statistical hypothesis are strongly related. My questions is focused on comparison of means for two groups based on a numerical variable. Let's assume that such hypothesis is tested using t-test. On the other side, one can compute confidence intervals for means of both groups. Is there any relation between overlapping of confidence intervals and the rejection of the null hypothesis that means are equal (in favor of the alternative that means differ - two-sided test)? For example, a test could reject the null hypothesis iff the confidence intervals do not overlap. $X$ is a Hausdorff space and $\sim$ is an equivalence relation.  If the quotient map is open, then $X/{\sim}$ is a Hausdorff space if and only if $\sim$ is a closed subset of the product space $X \times X$.  Necessity is obvious, but I don't know how to prove the other side. That is, $\sim$ is a closed subset of the product space $X \times X$ $\Rightarrow$ $X/{\sim}$ is a Hausdorff space. Any advices and comments will be appreciated. Graphing y=x^2 and y=x Comparing $\pi^e$ and $e^\pi$ without calculating them How to prevent a background process from being stopped after closing SSH client in Linux I'm working on a Linux machine through SSH (Putty). I need to leave a process running during the night, so I thought I could do that by starting the process in background (with an ampersand at the end of the command) and redirecting stdout to a file.  To my surprise, that doesn't work. As soon as I close the Putty window, the process is stopped.  How can I prevent that from happening?? Canon claims that EOS 6D has special capability to focus in low light, but it has only one cross-type sensor and overall only 11 focus points. Does only one cross-type focus point in the Canon EOS 6D affect its ability to focus in low light? Is it correct to assume that more cross-type focus points produce more accurate and sharper focus? Prove equality between binomial coefficients. Gnome-shell seems to like to leave one monitor as "fixed" when you switch workspaces.  Additionally, there is no preview in the Activities view of my secondary monitor.  Also, on the second monitor, where there should be either empty desktop space, or a copy of the panel, I just have a white bar.  How can I get gnome-shell to treat my secondary monitor like the primary one? Fraleigh(7ed) Theorem33.12. Let $p$ be a prime and let $n\in\mathbb{Z}^+$. If $E$ and $E&#39;$ are fields of order $p^n$, then $E \simeq E&#39;$.   Proof in the text: Both $E$ and $E&#39;$ have $\mathbb{Z}_p$ as prime field, up to isomorphism. By Corollary 33.6(A finite extension $E$ of a finite field $F$ is a simple extension of $F$), $E$ is a simple extension of $\mathbb{Z}_p$ of degree $n$, so there exists an irreducible polynomial $f(x)$ of degree $n$ in $\mathbb{Z}_p[x]$ such that $E\simeq \mathbb{Z}_p[x]/ \langle f(x) \rangle$. Because the elements of $E$ are zeros of $x^{p^n}-x$, *we see that $f(x)$ is a factor of $x^{p^n}-x$ in $\mathbb{Z}_p[x]$*. Because $E&#39;$ also consists of zeros of  $x^{p^n}-x$, we see that $E&#39;$ also contains zeros of irreducible $f(x)$ in $\mathbb{Z}_p[x]$. Thus, because $E&#39;$ also contains exactly $p^n$ elements, $E&#39;$ is also isomorphic to $E\simeq \mathbb{Z}_p[x]/\langle f(x) \rangle$.  I don't know why $f(x)$ divides $x^{p^n}-x$. $E$ has a zero $\alpha$ of $f(x)$, but it doesn't need to have all the zeros of $f(x)$. So $f(x)=(x-\alpha)g(x)$ in $E[x]$ and $g(x)$ need not be splitted into linear factors. How can $f(x)$ divide $x^{p^n}-x$? Why does the C++ map type argument require an empty constructor when using []? How to understand the Ubuntu file system layout? In Windows there’re perhaps only a couple of important folders (by important I mean important in my logical picture of the Windows file system) in the installation drive (in my case C:\). Namely Program Files and Windows. I simply stay away from Windows folder and the “add remove program files” is good enough to handle the program files folder of Windows. Of course there’s a folder named Users where the users (who are not admins) can access only their folders.  Thus there’s a clear picture at some level in my mind of the Windows file system. In Ubuntu, when I reach the location /, there’s a huge list of folders, most of which I have no clue as to what they contain. The /bin folder seems to be the equivalent of the Windows folder in windows. The /usr folder seems like it’s the equivalent of the Users folder in Windows. But even the /home folder looks like it can fit the bill.  Please understand that I do understand, that Ubuntu (Linux) has a different character than that of Windows, i.e., there need not be exact equivalent of Windows functions, in Ubuntu. All I am looking for is a bit more clearer picture of the Ubuntu file system.   This question is a part of a bigger question which I am splitting up to make it more answerable. The original question can be found here: VPN server on Google Compute Engine with OpenVPN