It really frustrates me and I can't disable it! Automatic Maintenance seems to take forever and reaches 80% in CPU usage or more, if it's ran automatically it stops as soon as I touch the Touchpad but if I run it manually it'll never finishes!  What does it do exactly and is it necessary for it to be enabled to let Windows 8.1 Pro's Optimize Drive feature TRIM my SSD regularly ? I hope Automatic Maintenance does not try to Defragment anyway, because that'd be stupid considering Optimize Drive (previously called : Disk Defrag) is AWARE that I'm using an SSD and uses TRIM instead.  Also, is there a way to disable Automatic Maintenance anyway, it really frustrates me in the night when the fan starts spinning too loud when I leave the computer on. I'm a power user and I run Windows Update and can clean my computer manually.  UPDATE: I'm also asking whether one of Automatic Maintenance tasks is defragmenting directly or it'll execute the "Optimize Drive" application ? this is an important thing.  UPDATE: I am still looking for an answer and solution to this problem! I believe it's not a duplicate because I "Disable “automatic maintenance” in Windows 8" does NOT work, therefore a solution has yet to be found for disabling this "Automatic Maintenance" thing, which is still annoying me everyday when I leave my computer standby for lunch.
I'm running a few VMs, and suddenly I noticed my CPU fan was spinning louder than usual. I tracked it down to Windows 8 doing some "automatic maintenance":      How can I turn this completely off? I found a way to set the time, but not a way to turn it off completely.
What is the limit of:  $$\lim_{n\to \infty} \frac{n^1+\dots+n^n}{1^n+\dots+n^n} = ?$$  I did some computation with big numbers, I guess it is in the interval $\left(\frac{1}{2},1\right)$. How do moving charges produce magnetic fields? I'm tutoring high school students. I've always taught them that:     A charged particle moving without acceleration produces an electric as well as a magnetic field.   It produces an electric field because it's a charge particle. But when it is at rest, it doesn't produce a magnetic field. All of a sudden when it starts moving, it starts producing a magnetic field. Why? What happens to it when it starts moving? What makes it produce a magnetic field when it starts moving? How does centrifugal force work? Let $A$ be a diagonalizable matrix and $\lambda$ be an eigenvalue of A. Prove that rank($\lambda I - A$) = rank(($\lambda I - A)^2$). Let $A$ be a diagonalizable matrix and $\lambda$ be an eigenvalue of A. Prove that rank($\lambda I - A$) = rank(($\lambda I - A)^2$).  The hint they provided is that for any invertible matrix B, rank(AB) = rank (A) and rank(BA) = rank(A). How many squares on a 5-foot grid does a 5-foot radius spell affect? We had a situation come up regarding this term and how it affected spells.  In the spell Moonbeam, for example, it says a 5-foot radius cylinder appears. Does this mean that from the center of square it extends 2.5 feet into the next square hypothetically hitting up three squares or does this mean from the edge of one the target square to the five feet and five feet the other direction effectively covering only two squares for a total of 10 feet between total range of both squares?  I understand that radius means half the distance of a circle from the center point. The spell is not the issue but the understanding of radius as it pertains to the spell, as there are other spells that are worded similarly such as Fireball, etc.  Essentially we are asking, does the spell in the example effect one square or three? This would be saying the edge of the initial square is the point of origin and not the center of the square for the total distance of ten feet.  I had been working under the understanding that the radius is half of the distance and therefore dragging a ruler from the center of where I want the spell to take effect would get me the area of effect.  It's much easier to do this with Fireball, due to the larger area to effect, but this one has such a small area and therefore sparked the debate. We are using a grid system to mark the distance, etc. We play within the digital realm of roll20.com. How do I serialize a C# anonymous type to a JSON string? I'm attempting to use the following code to serialize an anonymous type to JSON:  var serializer = new DataContractJsonSerializer(thing.GetType()); var ms = new MemoryStream(); serializer.WriteObject(ms, thing); var json = Encoding.Default.GetString(ms.ToArray());    However, I get the following exception when this is executed:     Type   '&lt;>f__AnonymousType1`3[System.Int32,System.Int32,System.Object[]]'   cannot be serialized. Consider marking   it with the DataContractAttribute   attribute, and marking all of its   members you want serialized with the   DataMemberAttribute attribute.  See   the Microsoft .NET Framework   documentation for other supported   types.   I can't apply attributes to an anonymous type (as far as I know).  Is there another way to do this serialization or am I missing something? Shell Script for logging into a ssh server I tried writing a shell script which can do automatic login into a ssh server using password which is mentioned in the script. I have written the following code:  set timeout 30 /usr/bin/ssh -p 8484 root@172.31.72.103 expect  {    "root@172.31.72.103's password"     {       send "password\r"     } }   This code is not running properly, still it is asking for the password. Can somebody please help me in solving this The meaning of various equality symbols I am getting this message every time I do something like starting or stopping a service.  perl: warning: Setting locale failed.    perl: warning: Please check that your locale settings:            LANGUAGE = "en_US:en",            LC_ALL = (unset),            LC_MESSAGES = "en_US.UTF-8",            LANG = "en_US.UTF-8"        are supported and installed on your system.    perl: warning: Falling back to the standard locale ("C").    locale: Cannot set LC_CTYPE to default locale: No such file or directory    locale: Cannot set LC_MESSAGES to default locale: No such file or directory    locale: Cannot set LC_ALL to default locale: No such file or directory    (Reading database ... 21173 files and directories currently installed.)   Removing bind9 ...    * Stopping domain name service... bind9                                        [ OK ] Processing triggers for man-db ...    locale: Cannot set LC_CTYPE to default locale: No such file or directory    locale: Cannot set LC_MESSAGES to default locale: No such file or directory    locale: Cannot set LC_ALL to default locale: No such file or directory      How do I fix this error ? How do I rotate an object along it's own axis (windmill) I'm trying to rotate the blades of a windmill for an animation but the windmill is already at an angle. When I keyframe it on it's own axis (after pressing control + alt + space) and rotate it the blades spin inwards during the animation before coming back at the end. I've tried locking the other axis but that keeps the blades from rotating back to the right orientation. Also, whenever I rotate the object 360 degrees it turns the 360 into a really small number (0.0001) so it plays forward hallway then backwards (with a 180 degree keyframe halfway). Any help would be appreciated!. Uniform convergence of $\sum_{n=1}^{\infty}\frac{1}{n(1+(x-n)^2)}$ Is $$\sum_{n=1}^{\infty}\frac{1}{n(1+(x-n)^2)}$$ uniformly convergent on $(0,+\infty)$? Sadly, Weierstrass' criterion nor Cauchy's condition don't seem to work here and I just ran out of ideas. Change MAC address in OS X Yosemite If $k$ is a positive integer, how to prove that there is no solution for $n$ in positive integers except $n = 1$ for $2^n = nk + 1$ I have a  and I connected it to my servo () per these details:   PIC pin 1 to positive pin 8 to negative pin 2 to servo red wire (signal) servo brown wire to negative servo orange to positive (servo has three colors: brown, red and orange wires)   I programmed PIC with this code:      #include &lt;xc.h&gt;     #define _XTAL_FREQ 20000000     #pragma config WDTE=OFF , BOREN=OFF , PWRTE=ON , MCLRE=OFF , FOSC=INTRCIO      void main(){     TRISIO = 0b0000000;     GPIO = 0b000000;         while(1==1){             GPIO = 0b000000;             __delay_ms(1);             GPIO = 0b111111;             __delay_ms(19);         }  }   But servo does not move a bit. What is the problem?  Edit: i found out it rotate servo arm very fast to its end(the point it couldn't rotate any more then it sound like tick tick tick .....)  i changed my code to this(to reverse it back):              GPIO = 0b000000;             __delay_ms(1);             GPIO = 0b111111;             __delay_ms(19);             GPIO = 0b000000;             __delay_ms(2);             GPIO = 0b111111;             __delay_ms(18);   but it behave the same. Solving $x^p + y^p = p^z$ in positive integers $x,y,z$ and a prime $p$ The question is from Zeitz's ''The Art and Craft of Problem Solving:"      Find all positive integer solutions $x,y,z,p$, with $p$ a prime, of the equation $x^p + y^p = p^z$.   One thing I noticed is that   $$ \frac{x^p + y^p}{x + y} = \sum_{i=0}^{p-1}x^{(p-1)-i}(-y)^i \implies (x+y) |p^z \implies x + y = p^n, \text{ }n &lt; z   $$  It is also not hard to determine all solutions for $p =2$. After this, however, I am at a loss. I don't know what restrictions I can impose to try to narrow down the solution set; for example, the class of solutions  $$ p=3, x = 3^n, y = 2\cdot3^n, z = 2 + 3n $$  for $n \ge 0$ show that $x+y = p^n$ cannot be sharpened. (Let me note that these are the only other solutions I have found besides the ones for $p = 2$.)  Could anybody give me a push in the right direction on this problem? Listings: text highlighting based on prefix How can I apply different styles to keywords depending on their prefix?  Here is some sample code:  (-2,0,0) (2,1,1) op-registerbox !box1 ;box1 /Blue op-setproperties   I'd like to typeset   words starting with ! and ; in color red, words starting with / in color green, words starting with cp- in bold.   So far, this is what I've got:  \lstdefinelanguage{XX} { basicstyle=\small\sffamily\fontseries{c}, emphstyle=\underbar, keywordsprefix=[2]{/}, alsoletter={/}, keywordstyle=\textbf, keywordstyle=[2]\color{green}, morekeywords={op,registerbox, ...}, morestring=[b][\color{green}]", columns=flexible, escapechar=\%, numbersep=6pt, numberstyle=\scriptsize }   I'm aware that only one keywordsprefix can be defined at the moment: specifying more than one class of prefix (keywordsprefix=[2]{/}) is currently not supported. I'd like to avoid having to list all the words that match my description into morekeywords. Is that possible? How? As far as I can tell downvoting is mostly useless.     For questions the only people who get downvoted are lower rep users, or incredibly stupid questions    most questions that are downvoted get closed anyway which should be sufficient downvoting doesn't have too much affect on your rep anyway a negative comment is more useful and more of a push too change or delete the question  For answers downvoting is often used incorrectly as well   people commonly competitively downvote (downvoting another answer to a question that you also answered) obviously not a good behavior downvoting (and upvoting) are contagious, meaning one downvote leads to a bunch of others even though downvotes don't effect rep that much they create a negative environment, no one wants their post downvoted, on the other hand criticizing comments, I think, are far more welcome      So basically in a nutshell a downvote serves no real purpose even if a post deserves it. Flagging, closing and commenting are much more useful to everyone including the poster than downvoting so why have it.    I now see from the answers and comments that downvotes do serve a purpose and would like to retract my request. I define $X_i$ as a random variable that is uniformly distributed between (0,1). What is the expected number of such variables I require to make the sum go just higher than 1.  Thanks How can I resize a partition with Disk Utility? I have 2 partitions, I reduced the size of one and want to expand the other to fill the now available space.   How do I expand the Lion Partition into the empty grey space beneath Macintosh HD partition? $\|h(x)-h(y)\|\geq 3\|x-y\|$ prove that image of open is open