I have a Windows software with a GUI that does cool things but too quickly (I cannot figure see all the editing it does in realtime because it goes too fast).  How to reduce the CPU speed to 1% of actual CPU speed for a specific Windows process myprogram.exe ?
I am using an old laptop and doing heavy processing that needs high CPU usage for a long time (~30mins - 2hours). When the process puts heavy load on CPU for a long time, CPU overheats and computer shuts down. I don't want to use a cooler/stand because I am carrying this laptop around and working outside home.  Is there a way/application that I can limit CPU usage of a process in Windows?  Note: Setting the priority of the process from task manager does not work.  Note 2: Fans are clean.
Real Analysis - Prove a set is countable I am asked to prove the following question:  For each finite set of real numbers, $F$, define $\sum F$ to be the sum of all the numbers in $F$.  For each set $P$ of positive real numbers, define $\sum P=\sup\{\sum F: F\text{ is a finite subset of } P\}$.  Suppose $P$ is a set of positive real numbers such that $\sum P &lt; \infty$. Prove that $P$ is a countable set.  My attempt (just a sketch proof):  Suppose $P$ is uncountable, $\exists \epsilon_1 &gt; 0$, s.t. $$ P_1 = [\inf P + \epsilon_1, \sup P]\cap P $$ is uncountable. Pick $a_1 \in [\inf P, \inf P + \epsilon_1] \cap P \in P$, such a $P$ must exists due to greatest lower bound property.  Now $P_1$ is uncountable, $\exists \epsilon_2 &gt; 0$, s.t. $$ P_2 = [\inf P_1 + \epsilon_2, \sup P_1]\cap P_1  $$  is uncountable. Pick $a_2 \in [\inf P_1, \inf P_1 + \epsilon_2]\cap P_1 \in P$. Carry on this process (this should be formalized using induction), we can find  $$ a_1 \leq a_2 \leq a_3 \leq ... $$ with $a_n &gt; 0$ and $a_n \in P$ for all $n$.  Now $\sup\{\sum F_n: F_n = \{a_1,...,a_n\}, n \in \mathbb{N}^+\} = \lim_{n \to \infty}\sum_{i = 1}^n a_i &gt; \lim_{n \to \infty}na_1 = \infty$. This means that $\sum P = \infty$ since $\{\sum F_n: F_n = \{a_1,...,a_n\}, n \in \mathbb{N}^+\} \subset \{\sum F: F\text{ is a finite subset of } P\}$.  I think my proof is a bit clumsy but is it correct? Let $a_n$ be a sequence s.t $a_1 > 0 \land a_{n+1} = a_n + \dfrac{1}{a_n}$. Prove that $a_n$ is increasing and tends to infinity Let $a_n$ be a sequence s.t $a_1 &gt; 0 \land a_{n+1} = a_n + \frac{1}{a_n}$. Prove that $a_n$ is increasing and tends to infinity.  Proof:   Consider $a_{n+1} - a_n$:  $a_{n+1} - a_n = a_n + \frac{1}{a_n} - a_n = \frac{1}{a_n}$ This is greater than $0$. Thus, $a_n$ is increasing.  Now this is where I need some help. I would like to say that $a_n$ is unbounded and then conclude that monotone and unbounded implies tending to infinity.  Maybe by contradiction? How can we prove charge invariance under Lorentz Transformation? We have gravitational force between two massive particles and we have electromagnetic force between two charged particles. When special relativity suggests that mass is not an invariant quantity why we have electric charge as an invariant quantity ? Should we use 'Title Case' or 'Sentence case' for headlines and buttons? I am wondering if we should use  or  for buttons and headings in websites and web/mobile apps? Title Case: Manage my Account Delete my Account  Sentence case: Manage my account Delete my account  In  I found the recommendation 'choose your style and be consistent'. This is it? Aren't there any other (additional) recommendations or sources. Like for specific use cases or apps where the one style would be preferred over the other? Edit: The question refers primarily to English, but differences in other languages are also good to know. What is the purpose of the /etc/shadow file in Linux Operating system?  Also, is it same for SUSE clients? There is one shadow cache file is maintained what is purpose of that? Suppose that $5\leq q\leq p$ are both prime. Prove that $24|(p^2-q^2)$.   This is what I got so far. I figured that since $p,q$ are bigger than $5$, there are only odd primes for this conjecture. Then I can rename $p=2m+1,q=2n+1,m,n∈Z$.  We want to show $(p^2-q^2 )=24k,k∈Z$. By substituting $2m+1$ for $p$ and $2n+1$ for $q$, we get  $((2m+1)^2-(2n+1)^2)$. If we expand it, we get $4(m^2+n^2+m-n)$ Q. I think I can make $4(m^2+n^2+m-n)$ look like $24k$. How should I approach ?  And my prof. commented that "I would take this proof in small steps.  Rather than trying initially to prove that $24 | p^2-q^2$, look at the progress you already have.  You proved $4 | p^2-q^2$.  Can you prove 8 is a factor?  What about 3?  Then see if you can put together what you have to get 24 as a factor."  I am stuck here. Any helps? If $\lim_{n\rightarrow\infty} f(n+1) - f(n) = L$, prove that $\lim_{n\rightarrow\infty} f(n)/n = L$ Here's the problem in full. I've stared at it for hours and can't get anywhere, so a hint would be nice.  Suppose that $f:\mathbb N\rightarrow\mathbb R$. If $$\lim_{n\rightarrow\infty}f(n+1)-f(n) = L$$ prove that $\lim_{n\rightarrow\infty}f(n)/n$ exists and equals $L$.  This problem is marked with the word "Cauchy", so I'm guessing Cauchy sequences or something related to them will be necessary, but I can't figure out what.  Edit: It appears as if the Stolz-Cesaro Theorem makes this quite easy. Unfortunately though, we have not discussed this, so I won't be able to use this. A weighted version of random.choice Custom script "invoked too many times" error Credit:   function getDirection(city1, city2, unit) {   var directions = Maps.newDirectionFinder()     .setOrigin(city1).setDestination(city2)     .setMode(Maps.DirectionFinder.Mode.DRIVING)     .getDirections();   var d = directions.routes[0].legs[0].distance.text;    var distance, value = d.split(" ")[0].replace(",", ""), text = d.split(" ")[1];   if(text == unit) {     distance = value;   } else if(text == "km" &amp;&amp; unit == "mi") {     distance = value / 1.6;   } else {     distance = value * 1.6;   }   return Math.round(distance); }   I have used this code snippet in one of my sheets. I am working on a dataset with roughly 6000 entries and I am getting some errors because of the large volume.      Script invoked too many times per second for this Google user account. (line 0).      Service invoked too many times for one day: route. (line 4).   I considered purchasing a Google Apps business account to increase my quota, but that might not even help. Do you maybe have any advice for me in this regard? I would like to create a minecraft server for me and and my boyfriend to play on.  How do I set it up? Do I need any additional software? Do you have some links to walkthroughs or tutorials?  I have tried to set this up a few times but have failed every time. Which tag is used in the title of a question?   It does not seem to be the most popular It does not seem to be the first in the tagging order:   This question   is prefixed with NGINX (which is actually completely fine)  And it is tagged with "php nginx fastcgi magento" in the order of popularity.  Can we choose the tag to use in the title manually? How to perform Stream functions on an Iterable? What is the "Install this third-party software" box in the installer and what third-party software is installed? Implementing support for nested transactions using JDBC 3.0 our legacy application uses JDBC 3.0. it supports transactions by implementing its own transaction manager that is capable of returning the same JDBC connection for each thread. The problem I recently discovered is that it doesn't support nested transactions: if a transaction is started inside an another transaction, then every SQLs running in the context of the inner transaction will be executed using the same db connection, and when it's commited or rolled back it will automatically commit or roll back all the changes starting from the outer transaction.  As far as I understand I can implement the support for nested transaction using JDBC 3.0 savepoints: whenever a nested transaction is started, I can set a new savepoint for the current connection. Afterward, if the nested transaction is rolled back, I will just rollback to this savepoint. If, on the other hand, it is commited, I will just do nothing. Only the commit of the most outer transaction will save the changes to the db.  Is this correct? Does this approach have any flaws? If yes, what are my possibilities?  Thanks. Why do some tests have a (nonzero) minimum score? How can I disable animation when switching desktops in Lion? I would very much like to disable the sliding animation that occurs when switching desktops via ctrl+&#x2192;/&#x2190; or ctrl+[number] in Lion.   This was previously accomplished in previous versions with this command:  defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES &amp;&amp; killall Dock   This new animation is even more slow than in Snow Leopard - nearly 1 second to switch - a real productivity killer.  Any help greatly appreciated! Correct use of will & would? What would be the correct use of will &amp; would in these sentences?  1) What will happen if I say to my boss that I will not come tomorrow?  2) What will happen if I would say to my boss that I will not come tomorrow?  3) What will happen if I will say to my boss that I will not come tomorrow?  4) What would happen if I would say to my boss that I will not come tomorrow?  There are four sentences which one should I use and in which situation? I'm runing 15.04 on a dell xps 13 bluetooth recognises devices when i  try to add them but won't let me connect to them Here is the results from my terminal.  ~ $ uname -a; lspci -nnk | grep -iA2 net; lsusb; dmesg | grep -i bluetooth; dmesg | grep -i firmware; lsmod | grep bluetooth  Linux aaron-XPS-13 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux 02:00.0 Network controller [0280]: Broadcom Corporation BCM4352 802.11ac Wireless Network Adapter [14e4:43b1] (rev 03)     Subsystem: Dell Device [1028:0019]     Kernel driver in use: wl Bus 003 Device 002: ID 8087:8001 Intel Corp.  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0bda:5682 Realtek Semiconductor Corp.  Bus 001 Device 002: ID 0a5c:216f Broadcom Corp.  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub [    8.164048] Bluetooth: Core ver 2.20 [    8.164065] Bluetooth: HCI device and connection manager initialized [    8.164069] Bluetooth: HCI socket layer initialized [    8.164073] Bluetooth: L2CAP socket layer initialized [    8.164079] Bluetooth: SCO socket layer initialized [    8.353160] bluetooth hci0: Direct firmware load for brcm/BCM20702A0-0a5c-216f.hcd failed with error -2 [    8.353166] Bluetooth: hci0: BCM: patch brcm/BCM20702A0-0a5c-216f.hcd not found [   20.289452] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [   20.289455] Bluetooth: BNEP filters: protocol multicast [   20.289459] Bluetooth: BNEP socket layer initialized [   20.310897] Bluetooth: RFCOMM TTY layer initialized [   20.310907] Bluetooth: RFCOMM socket layer initialized [   20.310912] Bluetooth: RFCOMM ver 1.11 [  886.399085] Bluetooth: hci0 urb ffff8800d8c15e40 failed to resubmit (2) [  895.471190] Bluetooth: hci0: BCM: patching hci_ver=06 hci_rev=1000 lmp_ver=06 lmp_subver=220e [  896.113983] Bluetooth: hci0: BCM: firmware hci_ver=06 hci_rev=1624 lmp_ver=06 lmp_subver=220e [    8.353160] bluetooth hci0: Direct firmware load for brcm/BCM20702A0-0a5c-216f.hcd failed with error -2 [  896.113983] Bluetooth: hci0: BCM: firmware hci_ver=06 hci_rev=1624 lmp_ver=06 lmp_subver=220e bluetooth             491520  22 bnep,btusb,rfcomm ~ $ Is there a quick way to get the control that's under the mouse? I need to find the control under the mouse, within an event of another control.  I could start with GetTopLevel and iterate down using GetChildAtPoint, but is there a quicker way? Can Git hook scripts be managed along with the repository? We'd like to make a few basic hook scripts that we can all share -- for things like pre-formatting commit messages.  Git has hook scripts for that that are normally stored under &lt;project&gt;/.git/hooks/.  However, those scripts are not propagated when people do a clone and they are not version controlled.    Is there a good way to help everyone get the right hook scripts?  Can I just make those hook scripts point to version controlled scripts in my repo?