I want to know that in PCA analysis or FAMD the lengths of arrows in correlation circle plot(which can be plotted by bellow code) is equal to which parameter(coefficient estimates,cos2,contribution,...) while their coordinates represent their loadings?   fviz_pca_var(res.pca)   res.pca is the result of fitting PCA analysis on our data.  Any help would be greatly appreciated.
I am looking to implement a biplot for principal component analysis (PCA) in JavaScript. My question is, how do I determine the coordinates of the arrows from the $U,V,D$ output of the singular vector decomposition (SVD) of the data matrix?  Here is an example biplot produced by R:  biplot(prcomp(iris[,1:4]))     I tried looking it up in the  but it's not very useful. Or correct. Not sure which.
Making holes in an object using an image as a reference I have an object already created in blender, a tree, or a human, or a pipe.. and I need this to be drilled with multiple holes.   The holes are painted in an image, that is, it is an image that has a repeating an images pattern (they can be circles, squares, or any form).  Here are some examples for drilling-pattern: I have installed GCC compiler by installing the build-essential package.  After the installation I wrote a simple C program. I tried to run it with the following command:  gcc First.c ./a.out   but I'm getting a bash: ./a.out: Permission denied message. I don't know what to do now. Trace map from finite surjective morphism of normal irreducible varieties How should a user's death be handled? It is a bit of a morbid concept, but having recently had a friend die unexpectedly and having to deal with the online repercussions of this event has gotten me to thinking about what should happen to my accounts when I kick the bucket.  I haven't had any great insights yet, but here are some things I think are worth thinking about:   an entry in the FAQ telling the person's loved ones what to do with respect to the account would be extremely helpful, specifically who to contact, how to contact them, and what proof is necessary some form of optional date of death on the user account screen some way to mark the user as no longer being able to generate content and blocking any attempt to login as the user.   The danger I see in implementing such features is the possibility of someone faking another person's death and thereby locking a user out of his or her account or worrying his or her friends. Do spell targets know they were targeted? Assuming a target of a Pathfinder spell did not see/hear/notice a caster casting the spell, do they know/feel they were targeted?  Is it relevant if the spell worked or not, if a save was involved (either successful nor not)? Does it depend on the spell?  Example: A cleric casts detect evil through a door. What do the NPCs on the other side know now? what is the general definition for some partial differential equation being called elliptic, parabolic or hyperbolic - in particular, if the PDE is nonlinear and above second-order.  So far, I have not found any precise definition in literature. Generating correlated binomial random variables I was wondering if it might be possible to generate correlated random binomial variables following a linear transformation approach?  Below, I tried something simple in R and it produces some correlation. But I was wondering if there is a principled way to do this?  X1 = rbinom(1e4, 6, .5) ; X2 = rbinom(1e4, 6, .5) ;  X3 = rbinom(1e4, 6, .5) ; a = .5  Y1 = X1 + (a*X2) ; Y2 = X2 + (a*X3) ## Y1 and Y2 are supposed to be correlated  cor(Y1, Y2) I am trying to figure out how can I disable/hide the App Name in MacOS X Lion dock. I've also attached an image so you can see what I mean.    Someone has any idea about how can I hide that? Evaluate the following limit of finite sum Is the matrix diagonalizable for all values of t? I currently have a setup where I send a char using a Tx of 434MHz and an Uno to a Mega with a Rx. The Mega counts how many times it receives the char and then if it falls below a certain number it triggers an alarm. Is this a viable way to measure the distance between two microcontrollers while indoors or is there a better way.  Transmitter (Mega)  #include &lt;SoftwareSerial.h&gt;  int rxPin=2; //Goes to the Receiver Pin int txPin=5; //Make sure it is set to pin 5 going to input of receiver  SoftwareSerial txSerial = SoftwareSerial(rxPin, txPin); SoftwareSerial rxSerial = SoftwareSerial(txPin, rxPin); char sendChar ='H';  void setup() {   pinMode(rxPin, INPUT);   pinMode(txPin,OUTPUT);   txSerial.begin(2400);   rxSerial.begin(2400); }  void loop() {   txSerial.println(sendChar);   Serial.print(sendChar); }   Receiver  #include &lt;SoftwareSerial.h&gt;  //Make sure it is set to pin 5 going to the data input of the transmitter int rxPin=5;  int txPin=3; //Don't need to make connections int LED=13; int BUZZ=9; int t=0;  char incomingChar = 0; int counter = 0;  SoftwareSerial rxSerial = SoftwareSerial(rxPin, txPin);  void setup() {   pinMode(rxPin, INPUT); //initilize rxpin as input   pinMode(BUZZ, OUTPUT); //initilize buzz for output   pinMode(LED, OUTPUT); //initilize led for output   rxSerial.begin(2400); //set baud rate for transmission   Serial.begin(2400); //see above }  void loop() {   for(int i=0; i&lt;200; i++) {     incomingChar = rxSerial.read(); //read incoming msg from tx      if (incomingChar =='H') {       counter++; //if we get bit "h" count it       }     delay(5); //delay of 10 secs   }   Serial.println(incomingChar);   Serial.println(counter); //prints the the bits we recieved    if(counter&lt;55) {     //if we receive less than 100 bits than print out of range triggers alarm     Serial.println("out of range");      tone(BUZZ,5000,500);digitalWrite(LED,HIGH);   }   else {     noTone(BUZZ);digitalWrite(LED, LOW);     //if we get more than 100 bits than we are within range turn off alarm     Serial.println("in range");    }    counter = 0;   incomingChar=0; } Mysterious Windows 7 Autorun Location I have Acer Aspire One A521 with brand new SSD disk, on which I've just installed brand new Windows 7 HE 64. After installing system I installed all drivers, including Conexant audio driver. Starting from that moment, after each system restart I see Windows prompt asking me, if I really want to run application C:\Program Files\CONEXANT\cAudioFilterAgent\cAudioFilterAgent64.exe.  Situation like that is quite normal to me, and I always use some "startup scanner" to find such software and purge system out of it. I have very, very old Startup Control Panel 2.8 by Mike Lin. It can have even ten years, but it has never disappointed me, so I continue using it. It scans Startup folders for current user and common one, HKLM Run, HKCU Run and Run Once sections of Windows Registry. For past ten years I thought that these are all locations where application, that is being autorun during system startup can coexist. Turns out, I was wrong.  Since this is brand new Windows, just installed, its autorun locations are empty. The only entry I do have is ATI graphic card driver manager startup string in HKLM Run. I have checked that fact ten times (but only with above mentioned program and manually) and I'm 100% sure, that in none of known to me autorun locations there are no traces of Conexant program startup string.  What do I miss? Does Windows 7 introduces some new startup location or a new method of autorunning programs, that is beyond, what I know and what Startup Control Panel scans?  Solving this problem is a snap for me. I can use brute-force method of removing manually that file or renaming it or I can uninstall Conexant audio driver at all (for the very, very limited use of audio in my laptop, that I have, Windows driver will for sure be enough, I've installed Conexant one "just in case"). But I'm really, really curious, how Windows is possible to run this program each time I restart it? Where autorun string for it can exists? If $A^{2n}=I$, then $A^n=\pm I$ where $A\in M_n(\mathbb{R})$ Let $A\in M_n(\mathbb{R})$be a matrix. Then, if we have $A^{2n}=I$, can we say that $A^n=\pm I$?  I think yes, because the annihilating polynomial is $x^{2n}-1$. Therefore the characteristic polynomial should be one of $x^n-1$ or $x^n+1$. Thus, since the matrix consists of real numbers, therefore, the matrix $A^n=\pm I$. Am I wrong?Thanks beforehand. Prove that $f'(a)=\lim_{x\rightarrow a}f'(x)$. Let $f$ be a real-valued function continuous on $[a,b]$ and differentiable on $(a,b)$. Suppose that $\lim_{x\rightarrow a}f'(x)$ exists. Then, prove that $f$ is differentiable at $a$ and $f'(a)=\lim_{x\rightarrow a}f'(x)$.    It seems like an easy example, but a little bit tricky. I'm not sure which theorems should be used in here.    ==============================================================  Using @David Mitra's advice and @Pete L. Clark's notes I tried to solve this proof. I want to know my proof is correct or not.  By MVT, for $h&gt;0$ and $c_h \in (a,a+h)$ $$\frac{f(a+h)-f(a)}{h}=f'(c_h)$$ and $\lim_{h \rightarrow 0^+}c_h=a$.    Then $$\lim_{h \rightarrow 0^+}\frac{f(a+h)-f(a)}{h}=\lim_{h \rightarrow 0^+}f'(c_h)=\lim_{h \rightarrow 0^+}f'(a)$$   But that's enough? I think I should show something more, but don't know what it is. Given a collection of sets $\mathcal{C}$ and $E$ an element in the $\sigma$-algebra generated by $\mathcal{C}$, how do I show that $\exists$ a countable subcollection $\mathcal{C_0} \subset \mathcal{C}$ such that $E$ is an element of the $\sigma$-algebra, $\mathcal{A}$ generated by $\mathcal{C_0}$?    The hint says to let $H$ be the union of all $\sigma$-algebras generated by countable subsets of $\mathcal{C}$....although I don't know why. Show that $11^{10} \equiv 1 (\mod 100)$ $11^{10} \equiv 1 \pmod{100}$  I tried to solve by using euler's theorem, But I got stuck.  $\gcd(11, 100) = 1$  $11^{φ(100)} \equiv 1 \pmod{100}$  $11^{40} \equiv 1 \pmod{100}$  I don't know how to go on as $11^{40}$ is bigger than $11^{10}$ 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. Can't update because the word prox* is blocked Rsync filter: copying one pattern only Unable to stylize raster data as pseudocolor render type on MAC OSX In a raster layer's Style Properties, I can choose pseudocolor render type, and choose a color ramp and classify the raster.      However, when I click the 'Apply' button, or click 'OK', the visualization of the raster never changes.  I was able to output a 'colorized' version of the same raster using GRASS plugin.  I also reinstalled QGIS 2.8, and was able to adjust and see a raster stylings using the steps I outlined above.  So, can anyone confirm this as an issue, or confirm that there's a mistake somewhere in my process?  I should note that I'm on a Mac, 10.10.4, and I'm using the QGIS provided by , 2.10.1-1 .  Update 1: Here's a screenshot of the rest of my settings.      I have Grayscale set to off in the Style setting.  Also, I don't believe grayscale/color-blind Preview is available on the Mac version of QGIS.  They're does't appear to be the option where it , in the Menu Bar under View / Preview / Photocopy (grayscale) etc.  Either way-- I added a shapefile to show color.  Update 2: I've experimented with setting color interpolation to discrete, linear, and exact, but still am not able stylize using Singleband pseudocolor.  I've also confirmed that the 'Render' box on the the main map view is checked.  Also, I am able to adjust Color Rendering settings, like Hue, Blending Mode, etc., and see the results when clicking 'Apply' or 'OK'.  Update 3: As other Mac users are confirming this, I think it may be a bug. I've created a bug report at the official .