Will Increased amount of Amps affect dc motors
Choosing power supply, how to get the voltage and current ratings?
What is the best way to save values (like strings) for later use? I'm fairly new to LaTeX and I'm struggling with something apparently simple, but for which I can't find a fair solution. The problem (simplified) is as follows (please take care terms used may not have the traditional meaning in LaTeX):  I need to references to files (many) throughout a text. As example, the files:  "C:/Work/this_file1.c", "C:/MoreWork/this_file1.c" and "D:/MoreWork/another_file2.h".  So, now I would like to create an "alias" to each directory and each name file so I can reference them. A "pseudocode" could be:  % Definition \alias \c_dir = C:/Work/ \alias \d_dir = D:/MoreWork/ \alias \file1 = this_file1.c \alias \file2 = another_file2.h  % Reference in text \c_dir\file1    % For referencing C:/Work/this_file1.c \d_dir\file1    % For referencing D:/MoreWork/this_file1.c \c_dir\file2    % For referencing C:/Work/another_file2.h   My first approach was using \newcommand, but that caused numerous problems due to naming limitations. (I also tried other methods like pgfkeys, but it always gets stuck somewhere!)  Can you suggest a method? NIST randomness test p values I have a binary sequence of length $2^{20}$. I am using the NIST statistical test, assess.   What should be taken for ./assess and  How many bitstreams? in this test? In the final Analysis report, what p-values should be there to pass this test? Why do shields in Star Trek "wear out"? Storing datetime values in Shapefiles using QGIS? I have a shapefile with date in a string field. I create a new field with date type and use the calculator to make the conversion. But the result only provide the date part, the time part is removed. Even when the preview show the correct conversion.  Here you can see the original string field time and the result date time2. And the use of the conversion function to_datetime() and the preview result at the end    If you go to the layer properties you can change the edit mode to date/time. Then if go to the data and try to edit time2 you get the current date/time. So is possible save date and time in the same field. But the update tool still doesn't work as expected      As J.R said. Even when you can change QGIS edit to allow Date/Time the save to shapefile will discard the time. Value of Vandermonde type determinant I'm messing around with python for the first time.  I'm making my own changes to the interface, just because..  How can I move the text inside the buttons down and to the left? The left image is what I have now and the right one it's what I want to do..  Please have in mind that I have zero python knowledge. But I'm willing to learn.. I'm installing a brand new motion activated security light to an existing box on my garage. After removing the old light, I notice it only has white/black wiring while the new light fixture has of course white/black/green (ground) wires to attach. What do I do if no ground wire is available with the old box? If $\lambda_{max} = n$, then $n\times n$ positive, reciprocal matrix A is consistent At the end of . the author states that  Suppose we have $n \times n$ matrix $A$ having only positive elements and satisfying the property $a_{ij}=1/a_{ji}$ (a matrix satisfying this property is called a reciprocal matrix).  If its largest eigenvalue $\lambda_{max}$ is equal to $n$, then the matrix $A$ satisfies the property (consistency property) $a_{ij} a_{jk} = a_{ik}$ where $i,j,k=1,2,...,n$.  I'm not convinced this theorem is true. Could anyone help? English equivalent for the Persian proverb "The mountain just gave birth to a mouse" I'm looking for an idiom or expression to describe a well-known person/ organization/ politician/ government  whose achievements in a given situation are smaller than what they had claimed or promised to be.  We Iranians have a proverb that literally means      The (roaring) mountain just gave birth to a mouse!    Its  etymology is like this:  Once a volcanic mountain started roaring, hissing, and bursting bubbles. The people were waiting to see what would happen after all those huge roarings and loud booms. Finally, the volcano activity stopped and the people saw just a tiny mouse came out of there! (rather than a monster that was expected to come). So they said mockingly:     "Heh! After all those huge roarings, the (big) mountain just gave birth to a (tiny) mouse!"    Notes:   The (roaring) mountain -symbol for an apparently big(=important) and strong person-here is figured like a woman who is screaming and shouting while is delivering her baby. We use this proverb for mocking an important person/organization/ government, etc ironically when they have used broad advertisements or have spent much money or resources over doing something noticeable, but the result/ achievement is less noticeable than it was claimed or promised to be.   Is there any equivalent for this Persian proverb?  I just found ; would it convey the same connotation? Adding admin-ajax.php to the frontend. Good or bad idea? I love admin-ajax.php. But I hate having to localize in order to point frontend scripts to it, and I wish there was an equivalent, easy-to-find file for themes. (It also just bothers me to see frontend requests go through "/wp-admin/". No practical reason, just looks ugly IMO.)  So I've simply copied admin-ajax.php to the root dir at "/ajax.php", adjusted the include paths and removed the WP_ADMIN constant definition. Seems to work like gangbusters (I can now just direct all my frontend AJAX requests to /ajax.php! And I can still use the normal wp_ajax hooks in my plugins!).  But is this safe? What might go wrong? Since this isn't built into core, I assume there's a good reason as to why not. But looking through the code, I can't see any immediate problems.   You're smart--tell me if this approach is crazy. Or if there's a simpler method that I'm overlooking. I'd like to output a list of all installed packages into a text file so that I can review it and bulk-install on another system.  How would I do this? completing the square for Gaussian multivariate estimation I have been trying to derive the posterior distribution in the case of weighted Bayesian regression in the case of multivariate normal distribution for a few days and have been stuck. I am not sure if this is due to lack of my linear algebra skills or if I have done something really wrong.  In my case, the distributional assumptions are:  $$ y = N (B x, W^{-1} \nabla) $$  The parameters $B$ have a normal prior.   $$ P(B) = N (B_0, \Sigma_{B}) $$  The conditional posterior distribution for $B$ is proportional to $P(y|B) P(B)$. This is proportional to:  $$ \exp \big((B - B_0)^T \Sigma (B - B_0) + (y - Bx)^T \nabla (y - Bx)\big) $$  I have seen the textbooks mention something called completing the square which as far as I can tell equates to matching like terms. Even though I could work out for scalar variance terms, I am having trouble figuring out how to deal with the precision matrices and how this can be decoupled.   [EDIT]:  So, I tried to make a run with Glen_b's suggestion and came this far:  Original expression without the exponential (I will simplify notation slightly):  $$ (B - B_0)^T \Sigma (B - B_0) + ( y - Bx)^T \nabla (y - Bx) $$ Expanding:  $$ B^T\Sigma B - 2 B_0^T \Sigma B + B_0^T \Sigma B_0 + y^T \nabla y - 2 y^T \nabla B x + (Bx)^T \nabla Bx $$  $$ = B^T(\Sigma + x^T \nabla x)B - 2 (B_0^T \Sigma B + y^T \nabla B x) + C $$  So I am not sure how to make further progress with the second term. I guess I have to make it in the form 2(some_term)B but not sure how that can be done. How do I check OS with a preprocessor directive? What is numeric promotion? When to use LinkedList over ArrayList in Java? I've always been one to simply use:  List&lt;String&gt; names = new ArrayList&lt;&gt;();   I use the interface as the type name for portability, so that when I ask questions such as these I can rework my code.    When should  be used over  and vice-versa? What is the relationship between regression and linear discriminant analysis (LDA)? Is there a relationship between regression and linear discriminant analysis (LDA)? What are their similarities and differences? Does it make any difference if there are two classes or more than two classes? Conflict between tkz-fct and thmtools? Sum of reciprocals of numbers with certain terms omitted I know that the harmonic series $1 + \frac12 + \frac13 + \frac14 + \cdots$ diverges. I also know that the sum of the inverse of prime numbers $\frac12 + \frac13 + \frac15 + \frac17 + \frac1{11} + \cdots$ diverges too, even if really slowly since it's $O(\log \log n)$.  But I think I read that if we consider the numbers whose decimal representation does not have a certain digit (say, 7) and sum the inverse of these numbers, the sum is finite (usually between 19 and 20, it depends from the missing digit). Does anybody know the result, and some way to prove that the sum is finite? So I get a square matrix $A$ is idempotent when $A^2 = A$.  How can you prove that if $A$ is an $n \times n$ matrix that is idempotent and invertible, then  $A = I$??  I'm quite confused on this.  Any help much appreciated, Thanks. How to run scripts every 5 seconds?